@sheerid/jslib 2.279.0 → 2.280.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 +808 -808
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/{AddressComponent-BXt3LO3L.js → AddressComponent-Dt6V7nTl.js} +8 -8
- package/chunk/{AddressComponent-BXt3LO3L.js.map → AddressComponent-Dt6V7nTl.js.map} +1 -1
- package/chunk/{AddressComponent-lF-v0RZf.js → AddressComponent-jYt6u6Og.js} +8 -8
- package/chunk/{AddressComponent-lF-v0RZf.js.map → AddressComponent-jYt6u6Og.js.map} +1 -1
- package/chunk/{AnnouncingHeader-YPjBYzsZ.js → AnnouncingHeader-DXfeQFzD.js} +6 -6
- package/chunk/{AnnouncingHeader-CCVSQeQR.js.map → AnnouncingHeader-DXfeQFzD.js.map} +1 -1
- package/chunk/{AnnouncingHeader-CCVSQeQR.js → AnnouncingHeader-DgKb4Oci.js} +6 -6
- package/chunk/{AnnouncingHeader-YPjBYzsZ.js.map → AnnouncingHeader-DgKb4Oci.js.map} +1 -1
- package/chunk/{ApiUrls-K7CaWewT.js → ApiUrls-DU5mINxc.js} +13 -13
- package/chunk/{ApiUrls-K7CaWewT.js.map → ApiUrls-DU5mINxc.js.map} +1 -1
- package/chunk/{ApiUrls-CKbVuRAx.js → ApiUrls-iC5Epdhr.js} +13 -13
- package/chunk/{ApiUrls-CKbVuRAx.js.map → ApiUrls-iC5Epdhr.js.map} +1 -1
- package/chunk/{BirthDateComponent-CD4M-BN9.js → BirthDateComponent-C31Jxnf9.js} +8 -8
- package/chunk/{BirthDateComponent-CD4M-BN9.js.map → BirthDateComponent-C31Jxnf9.js.map} +1 -1
- package/chunk/{BirthDateComponent-D3HhW2Lq.js → BirthDateComponent-J3GXZush.js} +8 -8
- package/chunk/{BirthDateComponent-D3HhW2Lq.js.map → BirthDateComponent-J3GXZush.js.map} +1 -1
- package/chunk/{CaptchaComponent-_azicSSq.js → CaptchaComponent-BrH791mU.js} +136 -136
- package/chunk/{CaptchaComponent-DlgV116k.js.map → CaptchaComponent-BrH791mU.js.map} +1 -1
- package/chunk/{CaptchaComponent-DlgV116k.js → CaptchaComponent-D3gR_wiv.js} +123 -123
- package/chunk/{CaptchaComponent-_azicSSq.js.map → CaptchaComponent-D3gR_wiv.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-DaswLDgf.js → ChangeLocaleComponent-4lrBj9C8.js} +9 -9
- package/chunk/{ChangeLocaleComponent-DaswLDgf.js.map → ChangeLocaleComponent-4lrBj9C8.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-oYqC5rPO.js → ChangeLocaleComponent-mFvHcArW.js} +9 -9
- package/chunk/{ChangeLocaleComponent-oYqC5rPO.js.map → ChangeLocaleComponent-mFvHcArW.js.map} +1 -1
- package/chunk/{City-DT_jbaQV.js → City-4Y-JSMns.js} +8 -8
- package/chunk/{City-Ca92IEBF.js.map → City-4Y-JSMns.js.map} +1 -1
- package/chunk/{City-Ca92IEBF.js → City-C9ODgW6J.js} +8 -8
- package/chunk/{City-DT_jbaQV.js.map → City-C9ODgW6J.js.map} +1 -1
- package/chunk/{CollegeNameComponent-BPwD0IZd.js → CollegeNameComponent-Bx67cbxR.js} +9 -9
- package/chunk/{CollegeNameComponent-BPwD0IZd.js.map → CollegeNameComponent-Bx67cbxR.js.map} +1 -1
- package/chunk/{CollegeNameComponent-CPHVzAfn.js → CollegeNameComponent-DERbwtnk.js} +9 -9
- package/chunk/{CollegeNameComponent-CPHVzAfn.js.map → CollegeNameComponent-DERbwtnk.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-DGi3bxV2.js → CopyToClipboardComponent-B1sjjnah.js} +9 -9
- package/chunk/{CopyToClipboardComponent-DGi3bxV2.js.map → CopyToClipboardComponent-B1sjjnah.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-cLuyXFes.js → CopyToClipboardComponent-kC3bs3Rs.js} +9 -9
- package/chunk/{CopyToClipboardComponent-cLuyXFes.js.map → CopyToClipboardComponent-kC3bs3Rs.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-DziHrBMX.js → CountryComponentWrapper-CR9HrOiD.js} +12 -12
- package/chunk/{CountryComponentWrapper-BfX4aqM2.js.map → CountryComponentWrapper-CR9HrOiD.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-BfX4aqM2.js → CountryComponentWrapper-Dp_Lw4Jz.js} +12 -12
- package/chunk/{CountryComponentWrapper-DziHrBMX.js.map → CountryComponentWrapper-Dp_Lw4Jz.js.map} +1 -1
- package/chunk/{DischargeDateComponent-BrNcDHcj.js → DischargeDateComponent-CVzCNByg.js} +18 -18
- package/chunk/{DischargeDateComponent-BrNcDHcj.js.map → DischargeDateComponent-CVzCNByg.js.map} +1 -1
- package/chunk/{DischargeDateComponent-Caq0MbSz.js → DischargeDateComponent-CwuBWpWv.js} +15 -15
- package/chunk/{DischargeDateComponent-Caq0MbSz.js.map → DischargeDateComponent-CwuBWpWv.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-BeJbl-IS.js → DriverLicenseNumberComponent-Bc6KjLgw.js} +8 -8
- package/chunk/{DriverLicenseNumberComponent-BeJbl-IS.js.map → DriverLicenseNumberComponent-Bc6KjLgw.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-DqHVF2Mw.js → DriverLicenseNumberComponent-Dc0IOI_1.js} +8 -8
- package/chunk/{DriverLicenseNumberComponent-DqHVF2Mw.js.map → DriverLicenseNumberComponent-Dc0IOI_1.js.map} +1 -1
- package/chunk/{EmailLoopPending-i9SDmULt.js → EmailLoopPending-CgRp0qIE.js} +22 -22
- package/chunk/{EmailLoopPending-Dc_6ANLw.js.map → EmailLoopPending-CgRp0qIE.js.map} +1 -1
- package/chunk/{EmailLoopPending-Dc_6ANLw.js → EmailLoopPending-k272doKR.js} +20 -20
- package/chunk/{EmailLoopPending-i9SDmULt.js.map → EmailLoopPending-k272doKR.js.map} +1 -1
- package/chunk/{ExtraMessage-owvdVH7U.js → ExtraMessage-BqOf0zRz.js} +7 -7
- package/chunk/{ExtraMessage-BCHypT6I.js.map → ExtraMessage-BqOf0zRz.js.map} +1 -1
- package/chunk/{ExtraMessage-BCHypT6I.js → ExtraMessage-DNaGfjEE.js} +7 -7
- package/chunk/{ExtraMessage-owvdVH7U.js.map → ExtraMessage-DNaGfjEE.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-Cq8brgQb.js → FirstResponderOrganizationComponent-C4O8PWXy.js} +9 -9
- package/chunk/{FirstResponderOrganizationComponent-Cq8brgQb.js.map → FirstResponderOrganizationComponent-C4O8PWXy.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-zm8038ks.js → FirstResponderOrganizationComponent-CmNIF2iC.js} +9 -9
- package/chunk/{FirstResponderOrganizationComponent-zm8038ks.js.map → FirstResponderOrganizationComponent-CmNIF2iC.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-CTkrJXtl.js → FormFieldInputSelect-BaYOGEm0.js} +7 -7
- package/chunk/{FormFieldInputSelect-B56HjXNt.js.map → FormFieldInputSelect-BaYOGEm0.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-B56HjXNt.js → FormFieldInputSelect-DDcenZW0.js} +7 -7
- package/chunk/{FormFieldInputSelect-CTkrJXtl.js.map → FormFieldInputSelect-DDcenZW0.js.map} +1 -1
- package/chunk/{FormFieldLayout-C4SCdGBC.js → FormFieldLayout-B0rAKucV.js} +6 -6
- package/chunk/{FormFieldLayout-C4SCdGBC.js.map → FormFieldLayout-B0rAKucV.js.map} +1 -1
- package/chunk/{FormFieldLayout-Cj_v9kYa.js → FormFieldLayout-CRoiILDA.js} +6 -6
- package/chunk/{FormFieldLayout-Cj_v9kYa.js.map → FormFieldLayout-CRoiILDA.js.map} +1 -1
- package/chunk/{FormFieldText-BbdrtNh_.js → FormFieldText-4HZU3C1Z.js} +7 -7
- package/chunk/{FormFieldText-BbdrtNh_.js.map → FormFieldText-4HZU3C1Z.js.map} +1 -1
- package/chunk/{FormFieldText-Gf13Luq7.js → FormFieldText-hOha2vTr.js} +7 -7
- package/chunk/{FormFieldText-Gf13Luq7.js.map → FormFieldText-hOha2vTr.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-DV-Vbq4P.js → FormFieldTypeahead-BCZ6Nsns.js} +115 -115
- package/chunk/{FormFieldTypeahead-DV-Vbq4P.js.map → FormFieldTypeahead-BCZ6Nsns.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-rknI__Ge.js → FormFieldTypeahead-Cv1WXfhF.js} +118 -118
- package/chunk/{FormFieldTypeahead-rknI__Ge.js.map → FormFieldTypeahead-Cv1WXfhF.js.map} +1 -1
- package/chunk/{FormFooterComponent-CKDwnyg2.js → FormFooterComponent-D9mEMiRZ.js} +494 -498
- package/chunk/FormFooterComponent-D9mEMiRZ.js.map +1 -0
- package/chunk/{FormFooterComponent-DEFTsR2L.js → FormFooterComponent-oaSe-Xzj.js} +459 -463
- package/chunk/FormFooterComponent-oaSe-Xzj.js.map +1 -0
- package/chunk/{FormSelectChoice-CNxt_oMb.js → FormSelectChoice-C8zbGNXM.js} +16 -16
- package/chunk/{FormSelectChoice-BLwNcyNA.js.map → FormSelectChoice-C8zbGNXM.js.map} +1 -1
- package/chunk/{FormSelectChoice-BLwNcyNA.js → FormSelectChoice-DhgV7HJV.js} +16 -16
- package/chunk/{FormSelectChoice-CNxt_oMb.js.map → FormSelectChoice-DhgV7HJV.js.map} +1 -1
- package/chunk/{InputText-BXPuBlPq.js → InputText-BZv5j2AC.js} +7 -7
- package/chunk/{InputText-BXPuBlPq.js.map → InputText-BZv5j2AC.js.map} +1 -1
- package/chunk/{InputText-h_myNeHr.js → InputText-CeC4vzEI.js} +7 -7
- package/chunk/{InputText-h_myNeHr.js.map → InputText-CeC4vzEI.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-BbKzyFwo.js → LicensedProfessionalOrganizationComponent-BXcQ9OAk.js} +9 -9
- package/chunk/{LicensedProfessionalOrganizationComponent-BbKzyFwo.js.map → LicensedProfessionalOrganizationComponent-BXcQ9OAk.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-MO7F0SpQ.js → LicensedProfessionalOrganizationComponent-BY-_49Un.js} +9 -9
- package/chunk/{LicensedProfessionalOrganizationComponent-MO7F0SpQ.js.map → LicensedProfessionalOrganizationComponent-BY-_49Un.js.map} +1 -1
- package/chunk/{LogoComponent-Do8K5ydz.js → LogoComponent-DIcMbBgg.js} +6 -6
- package/chunk/{LogoComponent-Do8K5ydz.js.map → LogoComponent-DIcMbBgg.js.map} +1 -1
- package/chunk/{LogoComponent-Dx1G-rzE.js → LogoComponent-U1dLeCEh.js} +6 -6
- package/chunk/{LogoComponent-Dx1G-rzE.js.map → LogoComponent-U1dLeCEh.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-eipgmum9.js → LowIncomeOrganizationComponent-BRvt-ulP.js} +17 -17
- package/chunk/{LowIncomeOrganizationComponent-DjlrreR8.js.map → LowIncomeOrganizationComponent-BRvt-ulP.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-DjlrreR8.js → LowIncomeOrganizationComponent-DGK9gkyA.js} +17 -17
- package/chunk/{LowIncomeOrganizationComponent-eipgmum9.js.map → LowIncomeOrganizationComponent-DGK9gkyA.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-BCYOuT46.js → MedicalProfessionalOrganizationComponent-CTJ3FmrY.js} +9 -9
- package/chunk/{MedicalProfessionalOrganizationComponent-BTlqVGFC.js.map → MedicalProfessionalOrganizationComponent-CTJ3FmrY.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-BTlqVGFC.js → MedicalProfessionalOrganizationComponent-DH5zW7H6.js} +9 -9
- package/chunk/{MedicalProfessionalOrganizationComponent-BCYOuT46.js.map → MedicalProfessionalOrganizationComponent-DH5zW7H6.js.map} +1 -1
- package/chunk/{MemberIdComponent-BRu3zJYi.js → MemberIdComponent-BAFAN1PO.js} +8 -8
- package/chunk/{MemberIdComponent-BRu3zJYi.js.map → MemberIdComponent-BAFAN1PO.js.map} +1 -1
- package/chunk/{MemberIdComponent-DDoGHydu.js → MemberIdComponent-DFE0KKa8.js} +8 -8
- package/chunk/{MemberIdComponent-DDoGHydu.js.map → MemberIdComponent-DFE0KKa8.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-CPvwsgGQ.js → MembershipOrganizationComponent-Bqfrzd_X.js} +9 -9
- package/chunk/{MembershipOrganizationComponent-CPvwsgGQ.js.map → MembershipOrganizationComponent-Bqfrzd_X.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-E2KnhazB.js → MembershipOrganizationComponent-CmgEVqRQ.js} +9 -9
- package/chunk/{MembershipOrganizationComponent-E2KnhazB.js.map → MembershipOrganizationComponent-CmgEVqRQ.js.map} +1 -1
- package/chunk/{Message-C8RQk5lc.js → Message-8LvAVwXZ.js} +2001 -2001
- package/chunk/{Message-C8RQk5lc.js.map → Message-8LvAVwXZ.js.map} +1 -1
- package/chunk/{Message-Sbek6JOj.js → Message-C8ZwB4H_.js} +533 -533
- package/chunk/{Message-Sbek6JOj.js.map → Message-C8ZwB4H_.js.map} +1 -1
- package/chunk/Onfido-CTCgAwnB.js +4 -4
- package/chunk/{PersonalInfoStepSubmitButton-DGdDk2n_.js → PersonalInfoStepSubmitButton-CaE4yvTG.js} +18 -18
- package/chunk/{PersonalInfoStepSubmitButton-DGdDk2n_.js.map → PersonalInfoStepSubmitButton-CaE4yvTG.js.map} +1 -1
- package/chunk/{PersonalInfoStepSubmitButton-ksVF3h1P.js → PersonalInfoStepSubmitButton-huS5DiV5.js} +18 -18
- package/chunk/{PersonalInfoStepSubmitButton-ksVF3h1P.js.map → PersonalInfoStepSubmitButton-huS5DiV5.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-BUOcq-Sb.js → PersonalInfoStepWrapper-CoL68lv9.js} +20 -20
- package/chunk/{PersonalInfoStepWrapper-BUOcq-Sb.js.map → PersonalInfoStepWrapper-CoL68lv9.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-bFDtj-hV.js → PersonalInfoStepWrapper-D6RA9ErC.js} +7 -7
- package/chunk/{PersonalInfoStepWrapper-bFDtj-hV.js.map → PersonalInfoStepWrapper-D6RA9ErC.js.map} +1 -1
- package/chunk/{PostalCodeComponent-C6gU75E3.js → PostalCodeComponent-BJJkLSwH.js} +8 -8
- package/chunk/{PostalCodeComponent-C6gU75E3.js.map → PostalCodeComponent-BJJkLSwH.js.map} +1 -1
- package/chunk/{PostalCodeComponent-DShP_eiB.js → PostalCodeComponent-gktdA05J.js} +8 -8
- package/chunk/{PostalCodeComponent-DShP_eiB.js.map → PostalCodeComponent-gktdA05J.js.map} +1 -1
- package/chunk/{SSN-X45bqqG5.js → SSN-D32o5tdz.js} +9 -9
- package/chunk/{SSN-BF8VH8xi.js.map → SSN-D32o5tdz.js.map} +1 -1
- package/chunk/{SSN-BF8VH8xi.js → SSN-RI7wGUeN.js} +9 -9
- package/chunk/{SSN-X45bqqG5.js.map → SSN-RI7wGUeN.js.map} +1 -1
- package/chunk/{StateSelectComponent-DEsJPcGo.js → StateSelectComponent-CUkPmdgD.js} +7 -7
- package/chunk/{StateSelectComponent-DEsJPcGo.js.map → StateSelectComponent-CUkPmdgD.js.map} +1 -1
- package/chunk/{StateSelectComponent-MEcusWyr.js → StateSelectComponent-IqnD_yvb.js} +7 -7
- package/chunk/{StateSelectComponent-MEcusWyr.js.map → StateSelectComponent-IqnD_yvb.js.map} +1 -1
- package/chunk/{StatusComponent-DP2VlynN.js → StatusComponent-B9rfe8oP.js} +8 -8
- package/chunk/{StatusComponent-BlVRLPOR.js.map → StatusComponent-B9rfe8oP.js.map} +1 -1
- package/chunk/{StatusComponent-BlVRLPOR.js → StatusComponent-Domycxys.js} +8 -8
- package/chunk/{StatusComponent-DP2VlynN.js.map → StatusComponent-Domycxys.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-BfVe24h1.js → StepAgePersonalInfo-CkvJUnK6.js} +58 -58
- package/chunk/{StepAgePersonalInfo-BfVe24h1.js.map → StepAgePersonalInfo-CkvJUnK6.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-BsftVg7L.js → StepAgePersonalInfo-DYee4Bdk.js} +58 -58
- package/chunk/{StepAgePersonalInfo-BsftVg7L.js.map → StepAgePersonalInfo-DYee4Bdk.js.map} +1 -1
- package/chunk/{StepCard-CWT2BiAH.js → StepCard-BgkQO1Vv.js} +5 -5
- package/chunk/{StepCard-B0o7IN6g.js.map → StepCard-BgkQO1Vv.js.map} +1 -1
- package/chunk/{StepCard-B0o7IN6g.js → StepCard-CdjikmfN.js} +5 -5
- package/chunk/{StepCard-CWT2BiAH.js.map → StepCard-CdjikmfN.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-DWxYhtYJ.js → StepCollectIdentifier-CZPgIiri.js} +9 -9
- package/chunk/{StepCollectIdentifier-DWxYhtYJ.js.map → StepCollectIdentifier-CZPgIiri.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-BbSr7Z9A.js → StepCollectIdentifier-z7v0uFVo.js} +9 -9
- package/chunk/{StepCollectIdentifier-BbSr7Z9A.js.map → StepCollectIdentifier-z7v0uFVo.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-Bf8Y4oMV.js → StepCollectMilitaryPersonalInfoComponent-aLezCfcI.js} +24 -24
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-Bf8Y4oMV.js.map → StepCollectMilitaryPersonalInfoComponent-aLezCfcI.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-CXBsaj89.js → StepCollectMilitaryPersonalInfoComponent-eHNUb4js.js} +24 -24
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-CXBsaj89.js.map → StepCollectMilitaryPersonalInfoComponent-eHNUb4js.js.map} +1 -1
- package/chunk/StepCollectPersonalInfo-BH2TbclC.js +372 -0
- package/chunk/{StepCollectPersonalInfo-Dl1oW7u9.js.map → StepCollectPersonalInfo-BH2TbclC.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-CpZ03KDD.js → StepCollectPersonalInfo-mmn3gr1x.js} +53 -53
- package/chunk/{StepCollectPersonalInfo-CpZ03KDD.js.map → StepCollectPersonalInfo-mmn3gr1x.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-mYpzxp_K.js → StepCompleteAuthentication-aZqH2zX2.js} +21 -21
- package/chunk/{StepCompleteAuthentication-BZrnQ5_y.js.map → StepCompleteAuthentication-aZqH2zX2.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-BZrnQ5_y.js → StepCompleteAuthentication-wMkyc86t.js} +21 -21
- package/chunk/{StepCompleteAuthentication-mYpzxp_K.js.map → StepCompleteAuthentication-wMkyc86t.js.map} +1 -1
- package/chunk/{StepConsolation-CyFzsf7D.js → StepConsolation-DRnpaPIB.js} +9 -9
- package/chunk/{StepConsolation-B-89ZSSf.js.map → StepConsolation-DRnpaPIB.js.map} +1 -1
- package/chunk/{StepConsolation-B-89ZSSf.js → StepConsolation-Dv1D8Kkg.js} +9 -9
- package/chunk/{StepConsolation-CyFzsf7D.js.map → StepConsolation-Dv1D8Kkg.js.map} +1 -1
- package/chunk/{StepDocUpload-Da23Nac7.js → StepDocUpload-CyqOFprF.js} +219 -219
- package/chunk/{StepDocUpload-Da23Nac7.js.map → StepDocUpload-CyqOFprF.js.map} +1 -1
- package/chunk/{StepDocUpload-BhSHl2xg.js → StepDocUpload-DALptUyS.js} +507 -507
- package/chunk/{StepDocUpload-BhSHl2xg.js.map → StepDocUpload-DALptUyS.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-DZREXMwQ.js → StepDriverLicensePersonalInfoComponent-BxHNa8Y6.js} +16 -16
- package/chunk/{StepDriverLicensePersonalInfoComponent-BzzPdAKT.js.map → StepDriverLicensePersonalInfoComponent-BxHNa8Y6.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-BzzPdAKT.js → StepDriverLicensePersonalInfoComponent-vwgnq6DB.js} +16 -16
- package/chunk/{StepDriverLicensePersonalInfoComponent-DZREXMwQ.js.map → StepDriverLicensePersonalInfoComponent-vwgnq6DB.js.map} +1 -1
- package/chunk/{StepEmailLoop-DROpnxge.js → StepEmailLoop-BEIC15oF.js} +16 -16
- package/chunk/{StepEmailLoop-D84khZXV.js.map → StepEmailLoop-BEIC15oF.js.map} +1 -1
- package/chunk/{StepEmailLoop-D84khZXV.js → StepEmailLoop-CDFx1DYG.js} +16 -16
- package/chunk/{StepEmailLoop-DROpnxge.js.map → StepEmailLoop-CDFx1DYG.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-D7RPMyzC.js → StepEmploymentPersonalInfo-BdPNUH_U.js} +20 -20
- package/chunk/{StepEmploymentPersonalInfo-BGr1Yvq_.js.map → StepEmploymentPersonalInfo-BdPNUH_U.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-BGr1Yvq_.js → StepEmploymentPersonalInfo-WW3m6eci.js} +20 -20
- package/chunk/{StepEmploymentPersonalInfo-D7RPMyzC.js.map → StepEmploymentPersonalInfo-WW3m6eci.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-DQCaR_hD.js → StepFirstResponderPersonalInfo-CtkSlAqn.js} +30 -30
- package/chunk/{StepFirstResponderPersonalInfo-CjNdy_IK.js.map → StepFirstResponderPersonalInfo-CtkSlAqn.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-CjNdy_IK.js → StepFirstResponderPersonalInfo-duACveZS.js} +26 -26
- package/chunk/{StepFirstResponderPersonalInfo-DQCaR_hD.js.map → StepFirstResponderPersonalInfo-duACveZS.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-DRxMlfke.js → StepGeneralIdentityPersonalInfoComponent-BsZXHtwX.js} +19 -19
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-BsDZlyGG.js.map → StepGeneralIdentityPersonalInfoComponent-BsZXHtwX.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-BsDZlyGG.js → StepGeneralIdentityPersonalInfoComponent-D9svwHkN.js} +19 -19
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-DRxMlfke.js.map → StepGeneralIdentityPersonalInfoComponent-D9svwHkN.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-DmXgxIAw.js → StepHybridIdentityPersonalInfoComponent-BBXGkQ13.js} +20 -20
- package/chunk/{StepHybridIdentityPersonalInfoComponent-BGVL9sDI.js.map → StepHybridIdentityPersonalInfoComponent-BBXGkQ13.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-BGVL9sDI.js → StepHybridIdentityPersonalInfoComponent-ClebDHVj.js} +20 -20
- package/chunk/{StepHybridIdentityPersonalInfoComponent-DmXgxIAw.js.map → StepHybridIdentityPersonalInfoComponent-ClebDHVj.js.map} +1 -1
- package/chunk/StepIDCheckLoop-B1ZBa2cL.js +24 -0
- package/chunk/{StepIDCheckLoop-DTIF9BCb.js.map → StepIDCheckLoop-B1ZBa2cL.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-DTIF9BCb.js → StepIDCheckLoop-DYhoRoFm.js} +8 -8
- package/chunk/{StepIDCheckLoop-9dhIxbuJ.js.map → StepIDCheckLoop-DYhoRoFm.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-DEwJWvD5.js → StepIDCheckLoopOnfido-XnkRtW2L.js} +44 -44
- package/chunk/{StepIDCheckLoopOnfido-BxY2wBPp.js.map → StepIDCheckLoopOnfido-XnkRtW2L.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-BxY2wBPp.js → StepIDCheckLoopOnfido-aRk8hzdK.js} +43 -43
- package/chunk/{StepIDCheckLoopOnfido-DEwJWvD5.js.map → StepIDCheckLoopOnfido-aRk8hzdK.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-CnxabsF_.js → StepIDCheckLoopRegula-BljVwImZ.js} +22 -22
- package/chunk/{StepIDCheckLoopRegula-B6NsjTDL.js.map → StepIDCheckLoopRegula-BljVwImZ.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-B6NsjTDL.js → StepIDCheckLoopRegula-Cf7ASD1i.js} +22 -22
- package/chunk/{StepIDCheckLoopRegula-CnxabsF_.js.map → StepIDCheckLoopRegula-Cf7ASD1i.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-Bxh1PYd4.js → StepLicensedProfessionalPersonalInfo-D6n29Iss.js} +20 -20
- package/chunk/{StepLicensedProfessionalPersonalInfo-Bxh1PYd4.js.map → StepLicensedProfessionalPersonalInfo-D6n29Iss.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-avWn-HsU.js → StepLicensedProfessionalPersonalInfo-hXd4L7zJ.js} +20 -20
- package/chunk/{StepLicensedProfessionalPersonalInfo-avWn-HsU.js.map → StepLicensedProfessionalPersonalInfo-hXd4L7zJ.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-Du_sG7Xc.js → StepLowIncomePersonalInfo-B9rvMh5D.js} +32 -32
- package/chunk/{StepLowIncomePersonalInfo-Du_sG7Xc.js.map → StepLowIncomePersonalInfo-B9rvMh5D.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-qYLCAzKx.js → StepLowIncomePersonalInfo-Dt3q7Wto.js} +32 -32
- package/chunk/{StepLowIncomePersonalInfo-qYLCAzKx.js.map → StepLowIncomePersonalInfo-Dt3q7Wto.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-B9f28oQh.js → StepMedicalProfessionalPersonalInfo-Dj00ow88.js} +26 -26
- package/chunk/{StepMedicalProfessionalPersonalInfo-B9f28oQh.js.map → StepMedicalProfessionalPersonalInfo-Dj00ow88.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-C9owmZP4.js → StepMedicalProfessionalPersonalInfo-bFiCwH3X.js} +26 -26
- package/chunk/{StepMedicalProfessionalPersonalInfo-C9owmZP4.js.map → StepMedicalProfessionalPersonalInfo-bFiCwH3X.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-B3abjYzP.js → StepMemberPersonalInfo-D5G1Esfb.js} +58 -58
- package/chunk/{StepMemberPersonalInfo-B3abjYzP.js.map → StepMemberPersonalInfo-D5G1Esfb.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-BjwgnTyJ.js → StepMemberPersonalInfo-DXQDbgye.js} +58 -58
- package/chunk/{StepMemberPersonalInfo-BjwgnTyJ.js.map → StepMemberPersonalInfo-DXQDbgye.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-BuAttGuv.js → StepMoverPersonalInfo-BoV-SR2Q.js} +49 -49
- package/chunk/{StepMoverPersonalInfo-BuAttGuv.js.map → StepMoverPersonalInfo-BoV-SR2Q.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-DHQ4lFop.js → StepMoverPersonalInfo-C4dW2U-w.js} +49 -49
- package/chunk/{StepMoverPersonalInfo-DHQ4lFop.js.map → StepMoverPersonalInfo-C4dW2U-w.js.map} +1 -1
- package/chunk/{StepOverrideComponent-BECVh2YW.js → StepOverrideComponent-BLPmVFvp.js} +21 -21
- package/chunk/{StepOverrideComponent-BbflJqAn.js.map → StepOverrideComponent-BLPmVFvp.js.map} +1 -1
- package/chunk/{StepOverrideComponent-BbflJqAn.js → StepOverrideComponent-jBI8dQE7.js} +21 -21
- package/chunk/{StepOverrideComponent-BECVh2YW.js.map → StepOverrideComponent-jBI8dQE7.js.map} +1 -1
- package/chunk/{StepSMSLoop-DaWjEr_v.js → StepSMSLoop-BN32oj1H.js} +20 -20
- package/chunk/{StepSMSLoop-DBLKaJge.js.map → StepSMSLoop-BN32oj1H.js.map} +1 -1
- package/chunk/{StepSMSLoop-DBLKaJge.js → StepSMSLoop-Cyus2TEa.js} +22 -22
- package/chunk/{StepSMSLoop-DaWjEr_v.js.map → StepSMSLoop-Cyus2TEa.js.map} +1 -1
- package/chunk/StepSSO-BGHCbduX.js +4 -4
- package/chunk/StepSSO-ZHByQpHa.js +4 -4
- package/chunk/{StepSocialSecurityNumber-O1UZ-5U6.js → StepSocialSecurityNumber-BlzVBYtJ.js} +31 -27
- package/chunk/{StepSocialSecurityNumber-O1UZ-5U6.js.map → StepSocialSecurityNumber-BlzVBYtJ.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-rJXiboT7.js → StepSocialSecurityNumber-DSnFbXs9.js} +16 -20
- package/chunk/{StepSocialSecurityNumber-rJXiboT7.js.map → StepSocialSecurityNumber-DSnFbXs9.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-CDJ5MqYn.js → StepStudentPersonalInfo-03QpIWkq.js} +66 -66
- package/chunk/{StepStudentPersonalInfo-CDJ5MqYn.js.map → StepStudentPersonalInfo-03QpIWkq.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-tgT5jO54.js → StepStudentPersonalInfo-BxyMqSGg.js} +67 -67
- package/chunk/{StepStudentPersonalInfo-tgT5jO54.js.map → StepStudentPersonalInfo-BxyMqSGg.js.map} +1 -1
- package/chunk/{StepSuccess-CLv_-kPd.js → StepSuccess--jHHRqxE.js} +31 -31
- package/chunk/{StepSuccess-C1pgML90.js.map → StepSuccess--jHHRqxE.js.map} +1 -1
- package/chunk/{StepSuccess-C1pgML90.js → StepSuccess-CY2liqnE.js} +31 -31
- package/chunk/{StepSuccess-CLv_-kPd.js.map → StepSuccess-CY2liqnE.js.map} +1 -1
- package/chunk/StepTeacherPersonalInfo-C8Limyv9.js +150 -0
- package/chunk/{StepTeacherPersonalInfo-BndXbwZz.js.map → StepTeacherPersonalInfo-C8Limyv9.js.map} +1 -1
- package/chunk/StepTeacherPersonalInfo-CDiyDDoq.js +154 -0
- package/chunk/{StepTeacherPersonalInfo-DttiAJyO.js.map → StepTeacherPersonalInfo-CDiyDDoq.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BrKuZcYb.js +4 -4
- package/chunk/StepThirdPartyLoop-CbFTIlwP.js +4 -4
- package/chunk/{TeacherSchoolComponent-CnBfquOO.js → TeacherSchoolComponent-Bau63Qxf.js} +9 -9
- package/chunk/{TeacherSchoolComponent-CnBfquOO.js.map → TeacherSchoolComponent-Bau63Qxf.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-DOAXb1sf.js → TeacherSchoolComponent-DgOYDpYq.js} +9 -9
- package/chunk/{TeacherSchoolComponent-DOAXb1sf.js.map → TeacherSchoolComponent-DgOYDpYq.js.map} +1 -1
- package/chunk/TestingRouteOverrides-CVTgdIFf.js +77 -0
- package/chunk/{TestingRouteOverrides-CAGESMw9.js.map → TestingRouteOverrides-CVTgdIFf.js.map} +1 -1
- package/chunk/TestingRouteOverrides-CfhNQg5b.js +81 -0
- package/chunk/{TestingRouteOverrides-CrhfSmLr.js.map → TestingRouteOverrides-CfhNQg5b.js.map} +1 -1
- package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
- package/chunk/ar-Dh-2G5c3.js +4 -4
- package/chunk/bg-BbAhdJRh.js +4 -4
- package/chunk/bn-IN-Cx3Q5Utp.js +4 -4
- package/chunk/{countryUtils-AR9k3KRg.js → countryUtils-D3poSBsN.js} +5 -5
- package/chunk/{countryUtils-AR9k3KRg.js.map → countryUtils-D3poSBsN.js.map} +1 -1
- package/chunk/countryUtils-DhafHNJu.js +12 -0
- package/chunk/{countryUtils-DWqId-zY.js.map → countryUtils-DhafHNJu.js.map} +1 -1
- package/chunk/cs-CYGsmvju.js +4 -4
- package/chunk/da-COZWvvUD.js +4 -4
- package/chunk/de-BHclNQGr.js +4 -4
- package/chunk/{downshift.esm-GP9lYKvI.js → downshift.esm-CP7HkAFI.js} +7 -7
- package/chunk/{downshift.esm-CljItZH3.js.map → downshift.esm-CP7HkAFI.js.map} +1 -1
- package/chunk/{downshift.esm-CljItZH3.js → downshift.esm-DiHkspCQ.js} +7 -7
- package/chunk/{downshift.esm-GP9lYKvI.js.map → downshift.esm-DiHkspCQ.js.map} +1 -1
- package/chunk/el-Bv_XQ0FX.js +4 -4
- package/chunk/{empties-B6naRhes.js → empties-BAB8wNt9.js} +5 -5
- package/chunk/{empties-Crmkxudi.js.map → empties-BAB8wNt9.js.map} +1 -1
- package/chunk/{empties-Crmkxudi.js → empties-Tz4MgFii.js} +49 -49
- package/chunk/{empties-B6naRhes.js.map → empties-Tz4MgFii.js.map} +1 -1
- package/chunk/en-GB-CkENrh2I.js +4 -4
- package/chunk/es-BRKAFTKN.js +4 -4
- package/chunk/es-ES-BWfAbWbQ.js +4 -4
- package/chunk/et-CxMgVbW2.js +4 -4
- package/chunk/eventEmitter-CSG6jR7V.js +4 -4
- package/chunk/fa-BEC3aNBF.js +4 -4
- package/chunk/fi-BaP3FR15.js +4 -4
- package/chunk/fr-CA-CS4SuM-m.js +4 -4
- package/chunk/fr-DSU2B7p2.js +4 -4
- package/chunk/ga-DZEr9X_A.js +4 -4
- package/chunk/hi-IN-DvBVpWNQ.js +4 -4
- package/chunk/{hooks-ChQrxN58.js → hooks-C64fd9ZU.js} +80 -80
- package/chunk/{hooks-C15H5pD-.js.map → hooks-C64fd9ZU.js.map} +1 -1
- package/chunk/{hooks-C15H5pD-.js → hooks-DuYcWWea.js} +75 -75
- package/chunk/{hooks-ChQrxN58.js.map → hooks-DuYcWWea.js.map} +1 -1
- package/chunk/hr-CL1lHDbu.js +4 -4
- package/chunk/hu-Cf5Uq9R_.js +4 -4
- package/chunk/id-ay9yilKx.js +4 -4
- package/chunk/{intl-e5WHiYfA.js → intl-COP5OPN0.js} +322 -319
- package/chunk/intl-COP5OPN0.js.map +1 -0
- package/chunk/is-tpzRyIZi.js +4 -4
- package/chunk/it-C3-BupR4.js +4 -4
- package/chunk/iw-CBna3XPT.js +4 -4
- package/chunk/ja-DvXOkZRn.js +4 -4
- package/chunk/{jsx-runtime-LqzCS-0D.js → jsx-runtime-CCEfa_da.js} +18 -18
- package/chunk/{jsx-runtime-Ini3eO9_.js.map → jsx-runtime-CCEfa_da.js.map} +1 -1
- package/chunk/{jsx-runtime-Ini3eO9_.js → jsx-runtime-CeCA46f-.js} +18 -18
- package/chunk/{jsx-runtime-LqzCS-0D.js.map → jsx-runtime-CeCA46f-.js.map} +1 -1
- package/chunk/kk-DGXgY6Uw.js +4 -4
- package/chunk/ko-BlUGwGxN.js +4 -4
- package/chunk/lo-DT6wxwS1.js +4 -4
- package/chunk/lt-CT5-H4ci.js +4 -4
- package/chunk/lv-CBMD1XRp.js +4 -4
- package/chunk/{mocks-DGc1byho.js → mocks-CeB2B-__.js} +6 -6
- package/chunk/{mocks-DGc1byho.js.map → mocks-CeB2B-__.js.map} +1 -1
- package/chunk/{mocks-RU9BGNOn.js → mocks-R7IOaaBN.js} +9 -9
- package/chunk/{mocks-RU9BGNOn.js.map → mocks-R7IOaaBN.js.map} +1 -1
- package/chunk/ms-DuxNeOgk.js +4 -4
- package/chunk/nl-BE-D028qM7-.js +4 -4
- package/chunk/nl-DEuaat_s.js +4 -4
- package/chunk/no-CjeRjD1D.js +4 -4
- package/chunk/{options-pBCAJBwS.js → options-sWzacjlS.js} +309 -306
- package/chunk/{options-pBCAJBwS.js.map → options-sWzacjlS.js.map} +1 -1
- package/chunk/pl-X0qJw7IS.js +4 -4
- package/chunk/{programThemeGetters-C9Sw0RZq.js → programThemeGetters-BnS5Q93M.js} +29 -25
- package/chunk/{programThemeGetters-C9Sw0RZq.js.map → programThemeGetters-BnS5Q93M.js.map} +1 -1
- package/chunk/programThemeGetters-D44jbcz5.js +149 -0
- package/chunk/{programThemeGetters-uLsgGat1.js.map → programThemeGetters-D44jbcz5.js.map} +1 -1
- package/chunk/pt-BR-C6XmLn3o.js +4 -4
- package/chunk/pt-o7v4iOVx.js +4 -4
- package/chunk/{refs-CGvEbCaw.js → refs-CYbzNJIm.js} +5 -5
- package/chunk/{refs-CGvEbCaw.js.map → refs-CYbzNJIm.js.map} +1 -1
- package/chunk/{refs-CI3K5ndt.js → refs-DiYh48lF.js} +5 -5
- package/chunk/{refs-CI3K5ndt.js.map → refs-DiYh48lF.js.map} +1 -1
- package/chunk/ro-C74ZR3HS.js +4 -4
- package/chunk/ru-BA9P3RVu.js +4 -4
- package/chunk/sk-DmyizV49.js +4 -4
- package/chunk/sl-Cxm3YoWE.js +4 -4
- package/chunk/sr-gOtgEOlP.js +4 -4
- package/chunk/{stepComponentHelpers-Cm0-8yXr.js → stepComponentHelpers-CEcpJGQG.js} +24 -24
- package/chunk/{stepComponentHelpers-BOwTk6Tq.js.map → stepComponentHelpers-CEcpJGQG.js.map} +1 -1
- package/chunk/{stepComponentHelpers-BOwTk6Tq.js → stepComponentHelpers-DoMfmu_O.js} +34 -34
- package/chunk/{stepComponentHelpers-Cm0-8yXr.js.map → stepComponentHelpers-DoMfmu_O.js.map} +1 -1
- package/chunk/strings-DWLVdUcm.js +4 -4
- package/chunk/sv-DnCUWo1-.js +4 -4
- package/chunk/sw-BY7XXvUU.js +4 -4
- package/chunk/ta-CVL0b6Hh.js +4 -4
- package/chunk/th-CyU0RW3x.js +4 -4
- package/chunk/tl-BfgQ0irB.js +4 -4
- package/chunk/tr-BPg_L4bY.js +4 -4
- package/chunk/uk-CNaioa7V.js +4 -4
- package/chunk/ur-Ht1Mcpm0.js +4 -4
- package/chunk/{useCollectFieldsEndpoint-D_Qf33n2.js → useCollectFieldsEndpoint-Ce16y3_V.js} +19 -19
- package/chunk/{useCollectFieldsEndpoint-D_Qf33n2.js.map → useCollectFieldsEndpoint-Ce16y3_V.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-jY0agtQB.js → useCollectFieldsEndpoint-DZRtkBor.js} +19 -19
- package/chunk/{useCollectFieldsEndpoint-jY0agtQB.js.map → useCollectFieldsEndpoint-DZRtkBor.js.map} +1 -1
- package/chunk/{useMetrics-O5xTFm6y.js → useMetrics-Bqc9pEAl.js} +19 -19
- package/chunk/{useMetrics-O5xTFm6y.js.map → useMetrics-Bqc9pEAl.js.map} +1 -1
- package/chunk/{useMetrics-BrHWTzbP.js → useMetrics-Lk6qCoTA.js} +19 -19
- package/chunk/{useMetrics-BrHWTzbP.js.map → useMetrics-Lk6qCoTA.js.map} +1 -1
- package/chunk/vi-sI1BYLXG.js +4 -4
- package/chunk/zh-DNG4VB8r.js +4 -4
- package/chunk/zh-HK-5Y3ROXEm.js +4 -4
- package/chunk/zu-DNMG8Idu.js +4 -4
- package/package.json +1 -1
- package/sheerid-install.css +4 -4
- package/sheerid-install.js +4 -4
- package/sheerid.css +4 -4
- package/sheerid.js +262 -262
- package/sheerid.js.map +1 -1
- package/chunk/FormFooterComponent-CKDwnyg2.js.map +0 -1
- package/chunk/FormFooterComponent-DEFTsR2L.js.map +0 -1
- package/chunk/StepCollectPersonalInfo-Dl1oW7u9.js +0 -372
- package/chunk/StepIDCheckLoop-9dhIxbuJ.js +0 -24
- package/chunk/StepTeacherPersonalInfo-BndXbwZz.js +0 -150
- package/chunk/StepTeacherPersonalInfo-DttiAJyO.js +0 -154
- package/chunk/TestingRouteOverrides-CAGESMw9.js +0 -81
- package/chunk/TestingRouteOverrides-CrhfSmLr.js +0 -77
- package/chunk/countryUtils-DWqId-zY.js +0 -12
- package/chunk/intl-e5WHiYfA.js.map +0 -1
- package/chunk/programThemeGetters-uLsgGat1.js +0 -153
package/_mysheerid-preview.js
CHANGED
|
@@ -4,74 +4,74 @@
|
|
|
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.280.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1789074204977
|
|
9
|
+
* BUILD_DATE: Thu Sep 10 2026 21:03:24 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 0337262e7e7380640882a11e0184fba716c38a59
|
|
11
11
|
*/
|
|
12
|
-
import { Bt as e, D as t, E as n,
|
|
13
|
-
import { f as
|
|
14
|
-
import { c as
|
|
15
|
-
import { F as
|
|
16
|
-
import { a as
|
|
17
|
-
import { _ as
|
|
18
|
-
import { i as
|
|
19
|
-
import { a as
|
|
20
|
-
import { i as
|
|
21
|
-
import { t as
|
|
22
|
-
import { t as
|
|
23
|
-
import { t as
|
|
12
|
+
import { Bt as e, D as t, E as n, Ft as r, Gt as i, Mt as a, Pt as o, T as s, Ut as c, Vt as l, b as u, c as d, f, g as p, h as m, i as h, k as g, l as _, m as v, mt as y, n as b, o as x, p as S, r as C, s as w, st as T, t as ee, v as te, w as E, x as D, y as O, zt as k } from "./chunk/intl-COP5OPN0.js";
|
|
13
|
+
import { f as A, m as j, p as M, u as ne } from "./chunk/ApiUrls-DU5mINxc.js";
|
|
14
|
+
import { c as re, i as ie, n as N, t as ae } from "./chunk/jsx-runtime-CCEfa_da.js";
|
|
15
|
+
import { F as oe, M as se, P as ce, S as le, _ as ue, a as de, b as fe, c as pe, d as me, f as he, g as ge, i as _e, j as ve, k as ye, o as be, r as xe, s as Se, t as P, u as Ce, v as we, x as Te, y as Ee } from "./chunk/Message-C8ZwB4H_.js";
|
|
16
|
+
import { a as De, i as Oe, n as ke, r as Ae, s as je, t as Me } from "./chunk/TestingRouteOverrides-CfhNQg5b.js";
|
|
17
|
+
import { _ as Ne, a as Pe, c as Fe, d as Ie, f as Le, g as Re, h as ze, i as Be, l as Ve, n as He, o as Ue, p as We, r as Ge, s as Ke, t as qe, u as Je } from "./chunk/FormFooterComponent-oaSe-Xzj.js";
|
|
18
|
+
import { i as Ye } from "./chunk/programThemeGetters-BnS5Q93M.js";
|
|
19
|
+
import { a as Xe, i as Ze, n as Qe, r as $e, t as et } from "./chunk/hooks-DuYcWWea.js";
|
|
20
|
+
import { i as tt, s as nt, t as rt } from "./chunk/refs-DiYh48lF.js";
|
|
21
|
+
import { t as it } from "./chunk/LogoComponent-U1dLeCEh.js";
|
|
22
|
+
import { t as at } from "./chunk/strings-DWLVdUcm.js";
|
|
23
|
+
import { t as ot } from "./chunk/AnnouncingHeader-DXfeQFzD.js";
|
|
24
24
|
//#region ../node_modules/react-i18next/dist/es/I18nextProvider.js
|
|
25
|
-
var
|
|
26
|
-
function
|
|
27
|
-
let r = (0,
|
|
25
|
+
var F = /* @__PURE__ */ i(re());
|
|
26
|
+
function st({ i18n: e, defaultNS: t, children: n }) {
|
|
27
|
+
let r = (0, F.useMemo)(() => ({
|
|
28
28
|
i18n: e,
|
|
29
29
|
defaultNS: t
|
|
30
30
|
}), [e, t]);
|
|
31
|
-
return (0,
|
|
31
|
+
return (0, F.createElement)(oe.Provider, { value: r }, n);
|
|
32
32
|
}
|
|
33
33
|
//#endregion
|
|
34
34
|
//#region src/lib/VerificationService/ProgramTheme/ProgramTheme.ts
|
|
35
|
-
var
|
|
36
|
-
let
|
|
37
|
-
let
|
|
38
|
-
|
|
35
|
+
var ct = (e, t = { partial: !0 }) => {
|
|
36
|
+
let n = Ge(), r = n.getState(), i = () => {
|
|
37
|
+
let r = g(e);
|
|
38
|
+
l.info("Setting programTheme", r), Ie(n.dispatch)(r, t.partial), we(r, t.partial);
|
|
39
39
|
};
|
|
40
|
-
|
|
40
|
+
r.isLoading ? ze({
|
|
41
41
|
name: "ON_VERIFICATION_READY",
|
|
42
42
|
callback: () => {
|
|
43
|
-
|
|
43
|
+
i();
|
|
44
44
|
}
|
|
45
|
-
}) :
|
|
46
|
-
},
|
|
45
|
+
}) : i();
|
|
46
|
+
}, lt = /* @__PURE__ */ i(e(), 1), ut = /* @__PURE__ */ i(ge(), 1), I = ae(), dt = () => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
47
47
|
className: "sid-spinner",
|
|
48
48
|
"data-testid": "sid-spinner",
|
|
49
49
|
children: [
|
|
50
|
-
/* @__PURE__ */ (0,
|
|
51
|
-
/* @__PURE__ */ (0,
|
|
52
|
-
/* @__PURE__ */ (0,
|
|
53
|
-
/* @__PURE__ */ (0,
|
|
50
|
+
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-spinner__frame" }),
|
|
51
|
+
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-spinner__frame" }),
|
|
52
|
+
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-spinner__frame" }),
|
|
53
|
+
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-spinner__frame" })
|
|
54
54
|
]
|
|
55
|
-
}),
|
|
55
|
+
}), ft = ({ step: e }) => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
56
56
|
className: "sid-loading-screen__message",
|
|
57
|
-
children: [
|
|
57
|
+
children: [r(e) && /* @__PURE__ */ (0, I.jsx)("div", {
|
|
58
58
|
className: "sid-loading-screen__message-header",
|
|
59
59
|
role: "alert",
|
|
60
|
-
children: /* @__PURE__ */ (0,
|
|
60
|
+
children: /* @__PURE__ */ (0, I.jsx)(N, {
|
|
61
61
|
id: "step.personalInfo.verifyingTitle",
|
|
62
62
|
defaultMessage: "Verifying your status"
|
|
63
63
|
})
|
|
64
|
-
}), /* @__PURE__ */ (0,
|
|
64
|
+
}), /* @__PURE__ */ (0, I.jsx)("div", {
|
|
65
65
|
className: "sid-loading-screen__message-subhead",
|
|
66
|
-
children: /* @__PURE__ */ (0,
|
|
66
|
+
children: /* @__PURE__ */ (0, I.jsx)(N, {
|
|
67
67
|
id: "step.personalInfo.verifyingSubtitle",
|
|
68
68
|
defaultMessage: "This should only take a minute"
|
|
69
69
|
})
|
|
70
70
|
})]
|
|
71
|
-
}),
|
|
71
|
+
}), pt = ({ step: e = Me() }) => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
72
72
|
className: "sid-loading-screen",
|
|
73
|
-
children: [/* @__PURE__ */ (0,
|
|
74
|
-
}),
|
|
73
|
+
children: [/* @__PURE__ */ (0, I.jsx)(dt, {}), e && /* @__PURE__ */ (0, I.jsx)(ft, { step: e })]
|
|
74
|
+
}), mt = /* @__PURE__ */ c(((e, t) => {
|
|
75
75
|
var n, r = n = {
|
|
76
76
|
_regexEscape: /([\.\*\+\^\$\[\]\\\(\)\|\{\}\,\-\:\?])/g,
|
|
77
77
|
_regexParseLocale: /^([a-zA-Z]*)([_\-a-zA-Z]*)$/,
|
|
@@ -138,13 +138,13 @@ var lt = (t, n = { partial: !0 }) => {
|
|
|
138
138
|
enumerable: !0,
|
|
139
139
|
configurable: !1
|
|
140
140
|
}), t.exports = r;
|
|
141
|
-
})),
|
|
142
|
-
var n =
|
|
141
|
+
})), ht = /* @__PURE__ */ c(((e, t) => {
|
|
142
|
+
var n = mt();
|
|
143
143
|
t.exports = {
|
|
144
144
|
isRtlLang: n.isRtlLang,
|
|
145
145
|
getLangDir: n.getLangDir
|
|
146
146
|
};
|
|
147
|
-
})),
|
|
147
|
+
})), gt = /* @__PURE__ */ i(ce(), 1), _t = /* @__PURE__ */ i(ht(), 1), L = {
|
|
148
148
|
landingBackgroundColor: "#fff",
|
|
149
149
|
landingPrimaryFontColor: "#000",
|
|
150
150
|
landingBackgroundImage: "none",
|
|
@@ -158,7 +158,7 @@ var lt = (t, n = { partial: !0 }) => {
|
|
|
158
158
|
formFont: "var(--sheerid-font-family-sans)",
|
|
159
159
|
cssVariables: null,
|
|
160
160
|
customStyles: null
|
|
161
|
-
},
|
|
161
|
+
}, vt = F.createContext(L), R = {
|
|
162
162
|
landingBackgroundColor: "--sheerid-landing-background-color",
|
|
163
163
|
landingPrimaryFontColor: "--sheerid-landing-primary-font-color",
|
|
164
164
|
landingBackgroundImage: "--sheerid-landing-background-image-url",
|
|
@@ -172,7 +172,7 @@ var lt = (t, n = { partial: !0 }) => {
|
|
|
172
172
|
formFont: "--sheerid-font-family-body",
|
|
173
173
|
cssVariables: null,
|
|
174
174
|
customStyles: null
|
|
175
|
-
},
|
|
175
|
+
}, yt = {
|
|
176
176
|
"--sheerid-color-fg-05": {
|
|
177
177
|
from: "--sheerid-color-bg",
|
|
178
178
|
to: "--sheerid-color-fg",
|
|
@@ -283,25 +283,25 @@ var lt = (t, n = { partial: !0 }) => {
|
|
|
283
283
|
to: "--sheerid-color-fg",
|
|
284
284
|
percentage: 3
|
|
285
285
|
}
|
|
286
|
-
},
|
|
287
|
-
let r = (e) => window.self === window.top ? e.replace(/body,/g, "").replace(/label,/g, "").replace(/button\[type=('|")submit('|")\]\s*?\{[\s\S]*?\}\n?/g, "").replace(/a:link,\s+a:visited,\s+a:hover,\s+a:active\s*?\{[\s\S]*?\}\n?/g, "").replace(/h1\s*?\{[\s\S]*?\}\n?/g, "") : e, i = t || e?.customCss || "", a = i ? r(i) : null, o = e?.landingPage, s = o?.backgroundColor ||
|
|
288
|
-
[
|
|
289
|
-
[
|
|
290
|
-
[
|
|
291
|
-
[
|
|
292
|
-
[
|
|
293
|
-
[
|
|
294
|
-
[
|
|
295
|
-
[
|
|
296
|
-
[
|
|
297
|
-
[
|
|
298
|
-
[
|
|
299
|
-
...Object.entries(
|
|
286
|
+
}, bt = ({ themeChoices: e, customCssFromOptions: t, children: n }) => {
|
|
287
|
+
let r = (e) => window.self === window.top ? e.replace(/body,/g, "").replace(/label,/g, "").replace(/button\[type=('|")submit('|")\]\s*?\{[\s\S]*?\}\n?/g, "").replace(/a:link,\s+a:visited,\s+a:hover,\s+a:active\s*?\{[\s\S]*?\}\n?/g, "").replace(/h1\s*?\{[\s\S]*?\}\n?/g, "") : e, i = t || e?.customCss || "", a = i ? r(i) : null, o = e?.landingPage, s = o?.backgroundColor || L.landingBackgroundColor, c = o?.primaryFontColor || L.landingPrimaryFontColor, l = o?.backgroundImageUrl || L.landingBackgroundImage, u = e?.backgroundColor || L.formBackgroundColor, d = e?.primaryFontColor || L.formPrimaryFontColor, f = e?.buttonColor || L.formButtonColor, p = e?.buttonFontColor || L.formButtonFontColor, m = e?.linkColor || L.formLinkColor, h = e?.h1FontColor || L.formH1FontColor, g = e?.helperFontColor || L.formHelperFontColor, _ = e?.font || L.formFont, v = {
|
|
288
|
+
[R.landingBackgroundColor]: s,
|
|
289
|
+
[R.landingPrimaryFontColor]: c,
|
|
290
|
+
[R.landingBackgroundImage]: l === L.landingBackgroundImage ? L.landingBackgroundImage : `url(${l})`,
|
|
291
|
+
[R.formBackgroundColor]: u,
|
|
292
|
+
[R.formPrimaryFontColor]: d,
|
|
293
|
+
[R.formButtonColor]: f,
|
|
294
|
+
[R.formButtonFontColor]: p,
|
|
295
|
+
[R.formLinkColor]: m,
|
|
296
|
+
[R.formH1FontColor]: h,
|
|
297
|
+
[R.formHelperFontColor]: g,
|
|
298
|
+
[R.formFont]: _ === L.formFont ? L.formFont : `${_}, var(--sheerid-font-family-sans)`,
|
|
299
|
+
...Object.entries(yt).reduce((e, [t, n]) => {
|
|
300
300
|
let r = n.from.startsWith("--") ? `var(${n.from})` : n.from, i = n.to.startsWith("--") ? `var(${n.to})` : n.to;
|
|
301
301
|
return e[t] = `color-mix(in oklab, ${r} ${100 - n.percentage}%, ${i} ${n.percentage}%)`, e;
|
|
302
302
|
}, {})
|
|
303
|
-
}, y =
|
|
304
|
-
return /* @__PURE__ */ (0,
|
|
303
|
+
}, y = F.useRef(null), b = M() === A.cdnInlineIframe, x = M() === A.cdnModalIframe;
|
|
304
|
+
return /* @__PURE__ */ (0, I.jsx)(vt.Provider, {
|
|
305
305
|
value: {
|
|
306
306
|
landingBackgroundColor: s,
|
|
307
307
|
landingPrimaryFontColor: c,
|
|
@@ -317,15 +317,15 @@ var lt = (t, n = { partial: !0 }) => {
|
|
|
317
317
|
cssVariables: v,
|
|
318
318
|
customStyles: a
|
|
319
319
|
},
|
|
320
|
-
children: /* @__PURE__ */ (0,
|
|
320
|
+
children: /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
321
321
|
style: v,
|
|
322
322
|
ref: y,
|
|
323
323
|
"data-in-iframe": b,
|
|
324
324
|
"data-in-modal": x,
|
|
325
|
-
children: [a && /* @__PURE__ */ (0,
|
|
325
|
+
children: [a && /* @__PURE__ */ (0, I.jsx)("style", { children: a }), n]
|
|
326
326
|
})
|
|
327
327
|
});
|
|
328
|
-
},
|
|
328
|
+
}, xt = (e, t, n) => ({
|
|
329
329
|
minAge: t?.minAge || e?.config?.minAge,
|
|
330
330
|
maxAge: t?.maxAge || e?.config?.maxAge,
|
|
331
331
|
smsLoopEnabled: e?.smsLoopEnabled,
|
|
@@ -333,128 +333,128 @@ var lt = (t, n = { partial: !0 }) => {
|
|
|
333
333
|
transitionalMilitaryValidityDays: e?.transitionalMilitaryValidityDays,
|
|
334
334
|
currentStep: t?.currentStep,
|
|
335
335
|
viewModel: n
|
|
336
|
-
}),
|
|
336
|
+
}), St = {}, Ct = (e) => St[e] ? (l.log(`getOverridenComponent returning ${e}`), St[e]) : null, wt = ({ verificationService: e, linkText: t }) => {
|
|
337
337
|
let { segment: n } = e.verificationResponse, { programId: r, programTheme: i } = e;
|
|
338
|
-
return n ? /* @__PURE__ */ (0,
|
|
338
|
+
return n ? /* @__PURE__ */ (0, I.jsx)(xe, {
|
|
339
339
|
className: "sid-faq sid-link",
|
|
340
|
-
href:
|
|
341
|
-
children: t || /* @__PURE__ */ (0,
|
|
340
|
+
href: Ye(i, n, r, ee(e.viewModel), e.verificationResponse),
|
|
341
|
+
children: t || /* @__PURE__ */ (0, I.jsx)(N, {
|
|
342
342
|
id: "getHelp",
|
|
343
343
|
defaultMessage: "Get help"
|
|
344
344
|
})
|
|
345
345
|
}) : null;
|
|
346
|
-
},
|
|
346
|
+
}, Tt = /* @__PURE__ */ (0, I.jsx)(N, {
|
|
347
347
|
id: "poweredBy",
|
|
348
348
|
defaultMessage: "Verification services powered by SheerID."
|
|
349
|
-
}),
|
|
349
|
+
}), Et = ({ verificationService: e, isCentered: t, variant: n = "default", hideFaqLink: r = !1 }) => {
|
|
350
350
|
switch (n) {
|
|
351
|
-
case "poweredby": return /* @__PURE__ */ (0,
|
|
351
|
+
case "poweredby": return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
352
352
|
className: "sid-footer__powered-by-container-experiment",
|
|
353
|
-
children: [/* @__PURE__ */ (0,
|
|
353
|
+
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
354
354
|
className: "sid-footer__powered-by_powerby-experiment",
|
|
355
|
-
children:
|
|
356
|
-
}), !r && /* @__PURE__ */ (0,
|
|
355
|
+
children: Tt
|
|
356
|
+
}), !r && /* @__PURE__ */ (0, I.jsx)("div", {
|
|
357
357
|
className: "sid-footer__powered-by_powerby-experiment",
|
|
358
|
-
children: /* @__PURE__ */ (0,
|
|
358
|
+
children: /* @__PURE__ */ (0, I.jsx)(wt, { verificationService: e })
|
|
359
359
|
})]
|
|
360
360
|
});
|
|
361
|
-
case "verificationby": return /* @__PURE__ */ (0,
|
|
361
|
+
case "verificationby": return /* @__PURE__ */ (0, I.jsx)("div", {
|
|
362
362
|
className: "sid-footer__powered-by-container--stacked sid-l-horz-center sid-footer__powered-by-experiment",
|
|
363
|
-
children: /* @__PURE__ */ (0,
|
|
363
|
+
children: /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
364
364
|
className: "sid-footer__powered-by-verificationby-experiment",
|
|
365
|
-
children: [/* @__PURE__ */ (0,
|
|
365
|
+
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
366
366
|
className: "sid-footer__powered-by-icon-experiment",
|
|
367
|
-
children: /* @__PURE__ */ (0,
|
|
367
|
+
children: /* @__PURE__ */ (0, I.jsx)("img", {
|
|
368
368
|
alt: "",
|
|
369
369
|
src: "https://com-sheerid-resources.s3.us-east-1.amazonaws.com/common/images/2018/icons/sheerid_logo.svg"
|
|
370
370
|
})
|
|
371
|
-
}),
|
|
371
|
+
}), Tt]
|
|
372
372
|
})
|
|
373
373
|
});
|
|
374
|
-
default: return /* @__PURE__ */ (0,
|
|
374
|
+
default: return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
375
375
|
className: t ? "sid-footer__powered-by-container--stacked sid-l-horz-center" : "sid-footer__powered-by-container",
|
|
376
|
-
children: [/* @__PURE__ */ (0,
|
|
376
|
+
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
377
377
|
className: t ? "sid-footer__powered-by--stacked sid-l-horz-center" : "sid-footer__powered-by",
|
|
378
|
-
children:
|
|
379
|
-
}), !r && /* @__PURE__ */ (0,
|
|
378
|
+
children: Tt
|
|
379
|
+
}), !r && /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
380
380
|
className: t ? "sid-l-space-top-sm" : "",
|
|
381
|
-
children: ["\xA0", /* @__PURE__ */ (0,
|
|
381
|
+
children: ["\xA0", /* @__PURE__ */ (0, I.jsx)(wt, { verificationService: e })]
|
|
382
382
|
})]
|
|
383
383
|
});
|
|
384
384
|
}
|
|
385
|
-
},
|
|
386
|
-
let n =
|
|
385
|
+
}, Dt = (e, t) => {
|
|
386
|
+
let n = F.useRef(null);
|
|
387
387
|
function r() {
|
|
388
388
|
clearInterval(n.current);
|
|
389
389
|
}
|
|
390
|
-
return
|
|
391
|
-
},
|
|
392
|
-
let a =
|
|
393
|
-
return /* @__PURE__ */ (0,
|
|
390
|
+
return F.useEffect(() => (n.current = setInterval(e, t), () => r()), [e, t]), r;
|
|
391
|
+
}, Ot = ({ stepName: e, messages: t, logo: n, cancelSingleSignOn: r, cancelButtonType: i = jt.PRIMARY }) => {
|
|
392
|
+
let a = at(e);
|
|
393
|
+
return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
394
394
|
className: "sid-header sid-l-horz-center",
|
|
395
395
|
children: [
|
|
396
|
-
/* @__PURE__ */ (0,
|
|
396
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
397
397
|
className: "sid-pending-logo-container sid-l-horz-center",
|
|
398
398
|
children: n
|
|
399
399
|
}),
|
|
400
|
-
/* @__PURE__ */ (0,
|
|
400
|
+
/* @__PURE__ */ (0, I.jsx)(ot, {
|
|
401
401
|
align: "center",
|
|
402
402
|
children: t.title
|
|
403
403
|
}),
|
|
404
|
-
/* @__PURE__ */ (0,
|
|
404
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
405
405
|
className: "sid-header__subtitle-one",
|
|
406
406
|
children: t.subtitle
|
|
407
407
|
}),
|
|
408
|
-
t?.subtitle2 && /* @__PURE__ */ (0,
|
|
409
|
-
/* @__PURE__ */ (0,
|
|
408
|
+
t?.subtitle2 && /* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-xl" }),
|
|
409
|
+
/* @__PURE__ */ (0, I.jsxs)("div", {
|
|
410
410
|
className: "sid-header__subtitle-two sid-h-small-text sid-l-space-top-md",
|
|
411
|
-
children: [t?.subtitle2 && t.subtitle2, /* @__PURE__ */ (0,
|
|
411
|
+
children: [t?.subtitle2 && t.subtitle2, /* @__PURE__ */ (0, I.jsx)("div", {
|
|
412
412
|
className: `sid-form-region sid-${a}-pending-submit sid-submit-wrapper sid-l-space-top-md`,
|
|
413
|
-
children: /* @__PURE__ */ (0,
|
|
413
|
+
children: /* @__PURE__ */ (0, I.jsx)("button", {
|
|
414
414
|
onClick: r,
|
|
415
415
|
type: "submit",
|
|
416
|
-
className: `sid-btn sid-${a}-pending-submit-btn ${i ===
|
|
416
|
+
className: `sid-btn sid-${a}-pending-submit-btn ${i === jt.SECONDARY ? "sid-btn-light" : "sid-btn--dark"} sid-l-full-width`,
|
|
417
417
|
"aria-label": "submit",
|
|
418
418
|
children: t.cancel
|
|
419
419
|
})
|
|
420
420
|
})]
|
|
421
421
|
}),
|
|
422
|
-
t?.subtitle2 ? /* @__PURE__ */ (0,
|
|
422
|
+
t?.subtitle2 ? /* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-xl" }) : /* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-lg" })
|
|
423
423
|
]
|
|
424
424
|
});
|
|
425
|
-
},
|
|
425
|
+
}, kt = ({ stepName: e, messages: t, logo: n, cancelSingleSignOn: r, cancelButtonType: i = jt.PRIMARY }) => /* @__PURE__ */ (0, I.jsx)(Ot, {
|
|
426
426
|
messages: t,
|
|
427
427
|
stepName: e,
|
|
428
428
|
logo: n,
|
|
429
429
|
cancelSingleSignOn: r,
|
|
430
430
|
cancelButtonType: i
|
|
431
|
-
}),
|
|
432
|
-
let i =
|
|
433
|
-
return /* @__PURE__ */ (0,
|
|
431
|
+
}), At = ({ messages: e, verificationService: t, updateViewModelAndOpenLoginTab: n, dashedStepName: r }) => {
|
|
432
|
+
let i = et("hc-my-sheer-id-theme-builder");
|
|
433
|
+
return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
434
434
|
className: "sid-header sid-l-horz-center",
|
|
435
435
|
children: [
|
|
436
|
-
/* @__PURE__ */ (0,
|
|
436
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
437
437
|
className: `sid-${r}-logo-container sid-l-horz-center`,
|
|
438
|
-
children: /* @__PURE__ */ (0,
|
|
438
|
+
children: /* @__PURE__ */ (0, I.jsx)(it, {
|
|
439
439
|
verificationService: t,
|
|
440
|
-
fallbackLogo: !i && /* @__PURE__ */ (0,
|
|
440
|
+
fallbackLogo: !i && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
441
441
|
className: `sid-${r}-logo-default sid-l-lead-image`,
|
|
442
442
|
alt: "",
|
|
443
443
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/sso-step.svg"
|
|
444
444
|
})
|
|
445
445
|
})
|
|
446
446
|
}),
|
|
447
|
-
/* @__PURE__ */ (0,
|
|
447
|
+
/* @__PURE__ */ (0, I.jsx)(ot, {
|
|
448
448
|
align: "center",
|
|
449
449
|
children: e.title
|
|
450
450
|
}),
|
|
451
|
-
/* @__PURE__ */ (0,
|
|
451
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
452
452
|
className: "sid-header__subtitle-one",
|
|
453
453
|
children: e.subtitle
|
|
454
454
|
}),
|
|
455
|
-
/* @__PURE__ */ (0,
|
|
455
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
456
456
|
className: `sid-form-region sid-${r}-submit sid-submit-wrapper sid-l-space-top-md`,
|
|
457
|
-
children: /* @__PURE__ */ (0,
|
|
457
|
+
children: /* @__PURE__ */ (0, I.jsx)("button", {
|
|
458
458
|
id: `sid-submit-btn-${r}`,
|
|
459
459
|
onClick: () => n("isSingleSignOnActive", !0),
|
|
460
460
|
type: "submit",
|
|
@@ -462,200 +462,200 @@ var lt = (t, n = { partial: !0 }) => {
|
|
|
462
462
|
children: e.login
|
|
463
463
|
})
|
|
464
464
|
}),
|
|
465
|
-
/* @__PURE__ */ (0,
|
|
465
|
+
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-lg" })
|
|
466
466
|
]
|
|
467
467
|
});
|
|
468
|
-
},
|
|
468
|
+
}, jt = /* @__PURE__ */ function(e) {
|
|
469
469
|
return e.PRIMARY = "primary", e.SECONDARY = "secondary", e;
|
|
470
|
-
}({}),
|
|
471
|
-
let { programId:
|
|
472
|
-
verificationService:
|
|
473
|
-
fallbackLogo: !g && /* @__PURE__ */ (0,
|
|
470
|
+
}({}), Mt = ({ verificationService: e, stepName: t, messages: n, cancelButtonType: r = "primary" }) => {
|
|
471
|
+
let { programId: i } = e, a = e.viewModel, s = e.previousViewModel || void 0, c = e.verificationResponse, u = e.previousVerificationResponse || void 0, { verificationId: d, locale: f } = e.verificationResponse, m = De(), h = at(t), g = et("hc-my-sheer-id-theme-builder"), _, v = /* @__PURE__ */ (0, I.jsx)(it, {
|
|
472
|
+
verificationService: e,
|
|
473
|
+
fallbackLogo: !g && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
474
474
|
className: `sid-${h}-logo-default sid-l-lead-image`,
|
|
475
475
|
alt: "",
|
|
476
476
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg"
|
|
477
477
|
})
|
|
478
478
|
}), y = () => setTimeout(() => {
|
|
479
|
-
|
|
480
|
-
}, 1e3), b = (
|
|
481
|
-
let r = S(
|
|
482
|
-
t
|
|
479
|
+
e.fetchExistingVerificationRequest(i, d, u, s);
|
|
480
|
+
}, 1e3), b = (t, n) => {
|
|
481
|
+
let r = S(a, (e) => {
|
|
482
|
+
e[t] = n;
|
|
483
483
|
});
|
|
484
|
-
|
|
484
|
+
e.updateViewModel(r);
|
|
485
485
|
}, x = () => {
|
|
486
486
|
O(p.SSO_CANCEL_CLICKED, {
|
|
487
|
-
programId:
|
|
487
|
+
programId: i,
|
|
488
488
|
locale: f,
|
|
489
489
|
verificationId: d
|
|
490
|
-
}),
|
|
491
|
-
let
|
|
492
|
-
|
|
490
|
+
}), rt();
|
|
491
|
+
let n = S(a, () => {});
|
|
492
|
+
l.info("SingleSignOnComponent submitting cancel request"), clearTimeout(_), e.submitStep(t, n, e.verificationResponse);
|
|
493
493
|
}, C = (e, t) => {
|
|
494
494
|
O(p.SSO_SIGN_IN_CLICKED, {
|
|
495
|
-
programId:
|
|
495
|
+
programId: i,
|
|
496
496
|
locale: f,
|
|
497
497
|
verificationId: d
|
|
498
498
|
}), b(e, t), w();
|
|
499
499
|
}, w = () => {
|
|
500
|
-
let e =
|
|
501
|
-
|
|
500
|
+
let e = t === o.sso ? ye(c.loginUrl) : c.loginUrl;
|
|
501
|
+
nt(window.open(e, "_blank")), tt().focus();
|
|
502
502
|
};
|
|
503
|
-
return
|
|
503
|
+
return a.isSingleSignOnActive && !m && (_ = y()), !a.countryChoice && s && s.countryChoice && b("countryChoice", s.countryChoice), /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
504
504
|
id: `sid-step-${h}`,
|
|
505
505
|
className: `sid-${h}-container sid-l-container`,
|
|
506
506
|
"data-testid": `sid-step-${h}`,
|
|
507
|
-
children: [/* @__PURE__ */ (0,
|
|
507
|
+
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
508
508
|
role: "main",
|
|
509
|
-
children:
|
|
510
|
-
stepName:
|
|
511
|
-
messages:
|
|
509
|
+
children: a.isSingleSignOnActive ? /* @__PURE__ */ (0, I.jsx)(kt, {
|
|
510
|
+
stepName: t,
|
|
511
|
+
messages: n,
|
|
512
512
|
logo: v,
|
|
513
513
|
cancelSingleSignOn: x,
|
|
514
|
-
cancelButtonType:
|
|
515
|
-
}) : /* @__PURE__ */ (0,
|
|
516
|
-
verificationService:
|
|
517
|
-
messages:
|
|
514
|
+
cancelButtonType: r
|
|
515
|
+
}) : /* @__PURE__ */ (0, I.jsx)(At, {
|
|
516
|
+
verificationService: e,
|
|
517
|
+
messages: n,
|
|
518
518
|
updateViewModelAndOpenLoginTab: C,
|
|
519
519
|
dashedStepName: h
|
|
520
520
|
})
|
|
521
|
-
}), /* @__PURE__ */ (0,
|
|
521
|
+
}), /* @__PURE__ */ (0, I.jsx)(qe, { verificationService: e })]
|
|
522
522
|
});
|
|
523
|
-
},
|
|
524
|
-
title: /* @__PURE__ */ (0,
|
|
523
|
+
}, Nt = {
|
|
524
|
+
title: /* @__PURE__ */ (0, I.jsx)(N, {
|
|
525
525
|
id: "step.sso.title",
|
|
526
526
|
defaultMessage: "Verify using your school credentials",
|
|
527
527
|
tagName: "h1"
|
|
528
528
|
}),
|
|
529
|
-
subtitle: /* @__PURE__ */ (0,
|
|
529
|
+
subtitle: /* @__PURE__ */ (0, I.jsx)(N, {
|
|
530
530
|
id: "step.sso.subtitle",
|
|
531
531
|
defaultMessage: "Please sign in to your school's web portal. It will open in a new tab."
|
|
532
532
|
}),
|
|
533
|
-
login: /* @__PURE__ */ (0,
|
|
533
|
+
login: /* @__PURE__ */ (0, I.jsx)(N, {
|
|
534
534
|
id: "step.sso.login",
|
|
535
535
|
defaultMessage: "Sign in to my school"
|
|
536
536
|
}),
|
|
537
|
-
cancel: /* @__PURE__ */ (0,
|
|
537
|
+
cancel: /* @__PURE__ */ (0, I.jsx)(N, {
|
|
538
538
|
id: "step.sso.cancel",
|
|
539
539
|
defaultMessage: "Upload Proof of Enrollment"
|
|
540
540
|
}),
|
|
541
|
-
subtitle2: /* @__PURE__ */ (0,
|
|
541
|
+
subtitle2: /* @__PURE__ */ (0, I.jsx)(N, {
|
|
542
542
|
id: "step.sso.subtitle2",
|
|
543
543
|
defaultMessage: "Can't sign in to your school?"
|
|
544
544
|
})
|
|
545
|
-
},
|
|
545
|
+
}, Pt = ({ verificationService: e }) => /* @__PURE__ */ (0, I.jsx)(Mt, {
|
|
546
546
|
verificationService: e,
|
|
547
|
-
stepName:
|
|
548
|
-
messages:
|
|
549
|
-
}),
|
|
547
|
+
stepName: o.sso,
|
|
548
|
+
messages: Nt
|
|
549
|
+
}), Ft = ({ logo: e }) => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
550
550
|
className: "sid-header sid-l-horz-center",
|
|
551
551
|
"data-testid": "sid-review-pending",
|
|
552
552
|
children: [
|
|
553
|
-
/* @__PURE__ */ (0,
|
|
553
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
554
554
|
className: "sid-l-horz-center",
|
|
555
555
|
children: e
|
|
556
556
|
}),
|
|
557
|
-
/* @__PURE__ */ (0,
|
|
557
|
+
/* @__PURE__ */ (0, I.jsx)(ot, {
|
|
558
558
|
align: "center",
|
|
559
|
-
children: /* @__PURE__ */ (0,
|
|
559
|
+
children: /* @__PURE__ */ (0, I.jsx)(N, {
|
|
560
560
|
id: "step.pending.titleReview",
|
|
561
561
|
defaultMessage: "Reviewing",
|
|
562
562
|
tagName: "h1"
|
|
563
563
|
})
|
|
564
564
|
}),
|
|
565
|
-
/* @__PURE__ */ (0,
|
|
565
|
+
/* @__PURE__ */ (0, I.jsx)("div", { children: /* @__PURE__ */ (0, I.jsx)(N, {
|
|
566
566
|
id: "step.pending.uploadedDocument",
|
|
567
567
|
defaultMessage: "Your document was uploaded successfully and is being reviewed."
|
|
568
568
|
}) }),
|
|
569
|
-
/* @__PURE__ */ (0,
|
|
569
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
570
570
|
className: "sid-header__subtitle-one sid-l-space-top-md",
|
|
571
|
-
children: /* @__PURE__ */ (0,
|
|
571
|
+
children: /* @__PURE__ */ (0, I.jsx)(P, { id: "step.pending.turnaroundTime" })
|
|
572
572
|
}),
|
|
573
|
-
/* @__PURE__ */ (0,
|
|
573
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
574
574
|
className: "sid-header__subtitle-two sid-l-space-top-md",
|
|
575
|
-
children: /* @__PURE__ */ (0,
|
|
575
|
+
children: /* @__PURE__ */ (0, I.jsx)(N, {
|
|
576
576
|
id: "step.pending.subtitle2",
|
|
577
577
|
defaultMessage: "Wait here or let us notify you of the outcome."
|
|
578
578
|
})
|
|
579
579
|
}),
|
|
580
|
-
/* @__PURE__ */ (0,
|
|
580
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
581
581
|
className: "sid-header__subtitle-three sid-l-space-top-md",
|
|
582
|
-
children: /* @__PURE__ */ (0,
|
|
582
|
+
children: /* @__PURE__ */ (0, I.jsx)(N, {
|
|
583
583
|
id: "step.pending.subtitle3",
|
|
584
584
|
defaultMessage: "You will be contacted via email."
|
|
585
585
|
})
|
|
586
586
|
}),
|
|
587
|
-
/* @__PURE__ */ (0,
|
|
587
|
+
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-xl" })
|
|
588
588
|
]
|
|
589
|
-
}),
|
|
589
|
+
}), It = ({ logo: e }) => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
590
590
|
className: "sid-header sid-l-horz-center",
|
|
591
591
|
"data-testid": "sid-review-pending",
|
|
592
592
|
children: [
|
|
593
|
-
/* @__PURE__ */ (0,
|
|
593
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
594
594
|
className: "sid-l-horz-center",
|
|
595
595
|
children: e
|
|
596
596
|
}),
|
|
597
|
-
/* @__PURE__ */ (0,
|
|
597
|
+
/* @__PURE__ */ (0, I.jsx)(ot, {
|
|
598
598
|
align: "center",
|
|
599
|
-
children: /* @__PURE__ */ (0,
|
|
599
|
+
children: /* @__PURE__ */ (0, I.jsx)(N, {
|
|
600
600
|
id: "step.pending.idCheckLoop.title",
|
|
601
601
|
defaultMessage: "We're reviewing your documents",
|
|
602
602
|
tagName: "h1"
|
|
603
603
|
})
|
|
604
604
|
}),
|
|
605
|
-
/* @__PURE__ */ (0,
|
|
605
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
606
606
|
className: "sid-header__subtitle-one",
|
|
607
|
-
children: /* @__PURE__ */ (0,
|
|
607
|
+
children: /* @__PURE__ */ (0, I.jsx)(N, {
|
|
608
608
|
id: "step.pending.idCheckLoop.subtitle",
|
|
609
609
|
defaultMessage: "Hold tight, turnaround time is typically a few minutes or less."
|
|
610
610
|
})
|
|
611
611
|
}),
|
|
612
|
-
/* @__PURE__ */ (0,
|
|
612
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
613
613
|
className: "sid-header__subtitle-two sid-l-space-top-md sid-h-bold-text",
|
|
614
|
-
children: /* @__PURE__ */ (0,
|
|
614
|
+
children: /* @__PURE__ */ (0, I.jsx)(N, {
|
|
615
615
|
id: "step.pending.idCheckLoop.subtitle2",
|
|
616
616
|
defaultMessage: "We'll send you an email when we're finished reviewing."
|
|
617
617
|
})
|
|
618
618
|
}),
|
|
619
|
-
/* @__PURE__ */ (0,
|
|
619
|
+
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-xl" })
|
|
620
620
|
]
|
|
621
|
-
}),
|
|
622
|
-
title: /* @__PURE__ */ (0,
|
|
621
|
+
}), Lt = { [a.SIGNZY]: {
|
|
622
|
+
title: /* @__PURE__ */ (0, I.jsx)(N, {
|
|
623
623
|
id: "step.thirdPartyLoop.signzy.title",
|
|
624
624
|
tagName: "h1",
|
|
625
625
|
defaultMessage: "Verify using DigiLocker"
|
|
626
626
|
}),
|
|
627
|
-
subtitle: /* @__PURE__ */ (0,
|
|
627
|
+
subtitle: /* @__PURE__ */ (0, I.jsx)(N, {
|
|
628
628
|
id: "step.thirdPartyLoop.signzy.subtitle",
|
|
629
629
|
defaultMessage: "Verify using your DigiLocker login information"
|
|
630
630
|
}),
|
|
631
|
-
login: /* @__PURE__ */ (0,
|
|
631
|
+
login: /* @__PURE__ */ (0, I.jsx)(N, {
|
|
632
632
|
id: "step.thirdPartyLoop.signzy.login",
|
|
633
633
|
defaultMessage: "Sign in to DigiLocker"
|
|
634
634
|
}),
|
|
635
|
-
cancel: /* @__PURE__ */ (0,
|
|
635
|
+
cancel: /* @__PURE__ */ (0, I.jsx)(N, {
|
|
636
636
|
id: "step.thirdPartyLoop.signzy.cancel",
|
|
637
637
|
defaultMessage: "Upload Proof of Identity"
|
|
638
638
|
})
|
|
639
|
-
} },
|
|
640
|
-
let n = /* @__PURE__ */ (0,
|
|
639
|
+
} }, Rt = ({ logo: e, isStepRoot: t = !1 }) => {
|
|
640
|
+
let n = /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
641
641
|
className: "sid-header sid-l-horz-center",
|
|
642
642
|
children: [
|
|
643
|
-
/* @__PURE__ */ (0,
|
|
643
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
644
644
|
className: "sid-error-logo-container sid-l-horz-center",
|
|
645
645
|
children: e
|
|
646
646
|
}),
|
|
647
|
-
/* @__PURE__ */ (0,
|
|
647
|
+
/* @__PURE__ */ (0, I.jsx)(ot, {
|
|
648
648
|
align: "center",
|
|
649
|
-
children: /* @__PURE__ */ (0,
|
|
649
|
+
children: /* @__PURE__ */ (0, I.jsx)(N, {
|
|
650
650
|
id: "error",
|
|
651
651
|
tagName: "h1"
|
|
652
652
|
})
|
|
653
653
|
}),
|
|
654
|
-
/* @__PURE__ */ (0,
|
|
654
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
655
655
|
className: "sid-header__subtitle sid-l-horz-center sid-l-space-top-md",
|
|
656
|
-
children: /* @__PURE__ */ (0,
|
|
656
|
+
children: /* @__PURE__ */ (0, I.jsx)("div", {
|
|
657
657
|
className: "sid-error-msg sid-l-horz-center",
|
|
658
|
-
children: /* @__PURE__ */ (0,
|
|
658
|
+
children: /* @__PURE__ */ (0, I.jsx)(N, {
|
|
659
659
|
id: "step.thirdPartyLoop.error",
|
|
660
660
|
defaultMessage: "Provider not supported"
|
|
661
661
|
})
|
|
@@ -663,226 +663,226 @@ var lt = (t, n = { partial: !0 }) => {
|
|
|
663
663
|
})
|
|
664
664
|
]
|
|
665
665
|
});
|
|
666
|
-
return /* @__PURE__ */ (0,
|
|
666
|
+
return /* @__PURE__ */ (0, I.jsx)("div", {
|
|
667
667
|
id: "sid-step-third-party-loop",
|
|
668
668
|
className: "sid-step-third-party-loop-container sid-l-container",
|
|
669
669
|
"data-testid": "sid-step-third-party-loop-error",
|
|
670
|
-
children: t ? /* @__PURE__ */ (0,
|
|
670
|
+
children: t ? /* @__PURE__ */ (0, I.jsx)("div", {
|
|
671
671
|
role: "main",
|
|
672
672
|
children: n
|
|
673
673
|
}) : n
|
|
674
674
|
});
|
|
675
|
-
},
|
|
676
|
-
let t =
|
|
677
|
-
return t ? /* @__PURE__ */ (0,
|
|
675
|
+
}, zt = ({ verificationService: e }) => {
|
|
676
|
+
let t = Lt[e.verificationResponse.thirdPartyLoopProvider] || void 0, n = et("hc-my-sheer-id-theme-builder");
|
|
677
|
+
return t ? /* @__PURE__ */ (0, I.jsx)(Mt, {
|
|
678
678
|
verificationService: e,
|
|
679
|
-
stepName:
|
|
679
|
+
stepName: o.thirdPartyLoop,
|
|
680
680
|
messages: t,
|
|
681
|
-
cancelButtonType:
|
|
682
|
-
}) : /* @__PURE__ */ (0,
|
|
681
|
+
cancelButtonType: jt.SECONDARY
|
|
682
|
+
}) : /* @__PURE__ */ (0, I.jsx)(Rt, {
|
|
683
683
|
isStepRoot: !0,
|
|
684
|
-
logo: /* @__PURE__ */ (0,
|
|
684
|
+
logo: /* @__PURE__ */ (0, I.jsx)(it, {
|
|
685
685
|
verificationService: e,
|
|
686
|
-
fallbackLogo: !n && /* @__PURE__ */ (0,
|
|
686
|
+
fallbackLogo: !n && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
687
687
|
className: "sid-error-logo sid-l-lead-image",
|
|
688
688
|
alt: "",
|
|
689
689
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/circle-exclamation.svg"
|
|
690
690
|
})
|
|
691
691
|
})
|
|
692
692
|
});
|
|
693
|
-
},
|
|
694
|
-
let
|
|
695
|
-
return
|
|
696
|
-
stepName:
|
|
697
|
-
messages:
|
|
693
|
+
}, Bt = ({ logo: e, verificationLastResponse: t, cancelThirdPartyLoop: n, isMockingPreviousStepThirdPartyLoop: r }) => {
|
|
694
|
+
let i = Lt[r ? Oe("thirdPartyLoopProvider") : t?.thirdPartyLoopProvider] || void 0;
|
|
695
|
+
return i ? /* @__PURE__ */ (0, I.jsx)(kt, {
|
|
696
|
+
stepName: o.thirdPartyLoop,
|
|
697
|
+
messages: i,
|
|
698
698
|
logo: e,
|
|
699
699
|
cancelSingleSignOn: n,
|
|
700
|
-
cancelButtonType:
|
|
701
|
-
}) : /* @__PURE__ */ (0,
|
|
702
|
-
},
|
|
703
|
-
let { programId:
|
|
704
|
-
|
|
700
|
+
cancelButtonType: jt.SECONDARY
|
|
701
|
+
}) : /* @__PURE__ */ (0, I.jsx)(Rt, { logo: e });
|
|
702
|
+
}, Vt = 5e3, Ht = 2e4, Ut = 2e4, Wt = 2e3, Gt = ({ verificationService: e }) => {
|
|
703
|
+
let { programId: t } = e, { viewModel: n } = e, r = e.previousViewModel || void 0, i = e.verificationResponse.lastResponse || e.previousVerificationResponse || void 0, { verificationId: a } = e.verificationResponse, s = De(), c = Ae() && Ae() === o.sso, u = Ae() && Ae() === o.thirdPartyLoop, d = Ae() && Ae() === o.idCheckLoop, f = et("hc-my-sheer-id-theme-builder"), p = () => i?.currentStep === o.sso, m = () => i?.currentStep === o.thirdPartyLoop, h = () => i?.currentStep === o.idCheckLoop, g = p() || m() || c || u, _ = h() || d, v = !g && !_, [y, b] = F.useState(() => g ? Wt : _ ? Ut : Vt);
|
|
704
|
+
F.useEffect(() => {
|
|
705
705
|
if (!v) return;
|
|
706
|
-
let e = setTimeout(() => b(
|
|
706
|
+
let e = setTimeout(() => b(Ut), Ht);
|
|
707
707
|
return () => clearTimeout(e);
|
|
708
708
|
}, [v]);
|
|
709
|
-
let x = !
|
|
710
|
-
|
|
711
|
-
}, y), C = (
|
|
712
|
-
let
|
|
713
|
-
|
|
714
|
-
}, w = /* @__PURE__ */ (0,
|
|
715
|
-
verificationService:
|
|
716
|
-
fallbackLogo: !f && /* @__PURE__ */ (0,
|
|
709
|
+
let x = !s && Dt(() => {
|
|
710
|
+
e.fetchExistingVerificationRequest(t, a, i, r, !1);
|
|
711
|
+
}, y), C = (t) => {
|
|
712
|
+
let r = S(n, () => {});
|
|
713
|
+
l.info("StepSingleSignOnComponent submitting cancel request, step:", t), x(), rt(), e.submitStep(t, r, i);
|
|
714
|
+
}, w = /* @__PURE__ */ (0, I.jsx)(it, {
|
|
715
|
+
verificationService: e,
|
|
716
|
+
fallbackLogo: !f && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
717
717
|
className: "sid-l-lead-image",
|
|
718
718
|
alt: "",
|
|
719
719
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg"
|
|
720
720
|
})
|
|
721
721
|
});
|
|
722
|
-
return /* @__PURE__ */ (0,
|
|
722
|
+
return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
723
723
|
id: "sid-step-pending",
|
|
724
724
|
className: "sid-l-container",
|
|
725
|
-
children: [/* @__PURE__ */ (0,
|
|
725
|
+
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
726
726
|
role: "main",
|
|
727
727
|
children: (() => {
|
|
728
|
-
let e = p() ||
|
|
729
|
-
return e ? /* @__PURE__ */ (0,
|
|
730
|
-
stepName:
|
|
731
|
-
messages:
|
|
728
|
+
let e = p() || c, t = m() || u, n = h() || d;
|
|
729
|
+
return e ? /* @__PURE__ */ (0, I.jsx)(kt, {
|
|
730
|
+
stepName: o.sso,
|
|
731
|
+
messages: Nt,
|
|
732
732
|
logo: w,
|
|
733
|
-
cancelSingleSignOn: () => C(
|
|
734
|
-
}) : t ? /* @__PURE__ */ (0,
|
|
733
|
+
cancelSingleSignOn: () => C(o.sso)
|
|
734
|
+
}) : t ? /* @__PURE__ */ (0, I.jsx)(Bt, {
|
|
735
735
|
logo: w,
|
|
736
|
-
cancelThirdPartyLoop: () => C(
|
|
737
|
-
verificationLastResponse:
|
|
736
|
+
cancelThirdPartyLoop: () => C(o.thirdPartyLoop),
|
|
737
|
+
verificationLastResponse: i,
|
|
738
738
|
isMockingPreviousStepThirdPartyLoop: u
|
|
739
|
-
}) : n ? /* @__PURE__ */ (0,
|
|
739
|
+
}) : n ? /* @__PURE__ */ (0, I.jsx)(It, { logo: w }) : /* @__PURE__ */ (0, I.jsx)(Ft, { logo: w });
|
|
740
740
|
})()
|
|
741
|
-
}), _ ? /* @__PURE__ */ (0,
|
|
742
|
-
verificationService:
|
|
741
|
+
}), _ ? /* @__PURE__ */ (0, I.jsx)(Et, {
|
|
742
|
+
verificationService: e,
|
|
743
743
|
isCentered: !0
|
|
744
|
-
}) : /* @__PURE__ */ (0,
|
|
745
|
-
verificationService:
|
|
746
|
-
children: [/* @__PURE__ */ (0,
|
|
744
|
+
}) : /* @__PURE__ */ (0, I.jsxs)(qe, {
|
|
745
|
+
verificationService: e,
|
|
746
|
+
children: [/* @__PURE__ */ (0, I.jsx)("div", {}), " "]
|
|
747
747
|
})]
|
|
748
748
|
});
|
|
749
|
-
},
|
|
750
|
-
let e =
|
|
749
|
+
}, Kt = () => {
|
|
750
|
+
let e = _e(), t = de(), n = pe(), r = k(() => n.segment), i = F.useCallback(() => {
|
|
751
751
|
if (window.self !== window.top) {
|
|
752
752
|
let e = new URL(window.location.href);
|
|
753
753
|
e.searchParams.delete("verificationId"), window.location.replace(e);
|
|
754
754
|
return;
|
|
755
755
|
}
|
|
756
756
|
(async () => {
|
|
757
|
-
|
|
757
|
+
Ke(e)(), await Ue(e)(t, r, void 0, void 0, !0);
|
|
758
758
|
})();
|
|
759
759
|
}, [
|
|
760
760
|
e,
|
|
761
761
|
t,
|
|
762
762
|
r
|
|
763
763
|
]);
|
|
764
|
-
return /* @__PURE__ */ (0,
|
|
764
|
+
return /* @__PURE__ */ (0, I.jsx)("button", {
|
|
765
765
|
type: "button",
|
|
766
766
|
className: "sid-btn sid-btn-light sid-btn__try-again",
|
|
767
767
|
onClick: i,
|
|
768
768
|
onKeyPress: i,
|
|
769
|
-
children: /* @__PURE__ */ (0,
|
|
769
|
+
children: /* @__PURE__ */ (0, I.jsx)(P, { id: "tryAgain" })
|
|
770
770
|
});
|
|
771
|
-
},
|
|
771
|
+
}, qt = {
|
|
772
772
|
NONE: "none",
|
|
773
773
|
RESET: "reset",
|
|
774
774
|
POSTMESSAGE: "postMessage",
|
|
775
775
|
REDIRECT: "redirect"
|
|
776
|
-
},
|
|
777
|
-
let e =
|
|
776
|
+
}, Jt = () => {
|
|
777
|
+
let e = pe(), t = () => se({
|
|
778
778
|
action: "tryAgain",
|
|
779
779
|
verificationResponse: e
|
|
780
780
|
});
|
|
781
|
-
return /* @__PURE__ */ (0,
|
|
781
|
+
return /* @__PURE__ */ (0, I.jsx)("button", {
|
|
782
782
|
type: "button",
|
|
783
783
|
className: "sid-btn sid-btn-light sid-btn__try-again",
|
|
784
784
|
onClick: t,
|
|
785
785
|
onKeyPress: t,
|
|
786
|
-
children: /* @__PURE__ */ (0,
|
|
786
|
+
children: /* @__PURE__ */ (0, I.jsx)(P, { id: "tryAgain" })
|
|
787
787
|
});
|
|
788
|
-
},
|
|
788
|
+
}, Yt = ({ redirectUrl: e, target: t = "_blank" }) => /* @__PURE__ */ (0, I.jsx)(xe, {
|
|
789
789
|
target: t,
|
|
790
790
|
href: e.toString(),
|
|
791
791
|
className: "sid-btn sid-btn--dark",
|
|
792
|
-
children: /* @__PURE__ */ (0,
|
|
793
|
-
}),
|
|
794
|
-
if (!(typeof e == "object" && "type" in e && Object.values(
|
|
795
|
-
},
|
|
796
|
-
let
|
|
792
|
+
children: /* @__PURE__ */ (0, I.jsx)(P, { id: "seeOtherOffers" })
|
|
793
|
+
}), Xt = (e) => {
|
|
794
|
+
if (!(typeof e == "object" && "type" in e && Object.values(qt).includes(e.type))) throw RangeError("Invalid tryAgainAction option type - using default TryAgainButton.");
|
|
795
|
+
}, Zt = () => {
|
|
796
|
+
let e = x("tryAgainAction");
|
|
797
797
|
try {
|
|
798
|
-
switch (
|
|
799
|
-
case
|
|
800
|
-
case
|
|
801
|
-
case
|
|
802
|
-
redirectUrl:
|
|
803
|
-
target:
|
|
798
|
+
switch (Xt(e), e.type) {
|
|
799
|
+
case qt.NONE: return null;
|
|
800
|
+
case qt.POSTMESSAGE: return window.self === window.top ? (l.error(`Invalid tryAgainAction option type "${e.type}" - page must be embedded in an iframe.`), null) : /* @__PURE__ */ (0, I.jsx)(Jt, {});
|
|
801
|
+
case qt.REDIRECT: return /* @__PURE__ */ (0, I.jsx)(Yt, {
|
|
802
|
+
redirectUrl: e.url,
|
|
803
|
+
target: e.target
|
|
804
804
|
});
|
|
805
|
-
case
|
|
805
|
+
case qt.RESET: return /* @__PURE__ */ (0, I.jsx)(Kt, {});
|
|
806
806
|
default: throw RangeError("Invalid tryAgainAction option type - using default TryAgainButton.");
|
|
807
807
|
}
|
|
808
|
-
} catch (
|
|
809
|
-
return
|
|
808
|
+
} catch (e) {
|
|
809
|
+
return l.error(e.message), /* @__PURE__ */ (0, I.jsx)(Kt, {});
|
|
810
810
|
}
|
|
811
|
-
},
|
|
811
|
+
}, Qt = [
|
|
812
812
|
"docReviewLimitExceeded",
|
|
813
813
|
"verificationLimitExceeded",
|
|
814
814
|
"fraudRulesReject"
|
|
815
|
-
],
|
|
815
|
+
], $t = ({ verificationService: e, errorIds: t }) => {
|
|
816
816
|
let n = t[0];
|
|
817
|
-
return /* @__PURE__ */ (0,
|
|
817
|
+
return /* @__PURE__ */ (0, I.jsx)(ot, {
|
|
818
818
|
align: "center",
|
|
819
|
-
children: /* @__PURE__ */ (0,
|
|
819
|
+
children: /* @__PURE__ */ (0, I.jsx)("h1", { children: /* @__PURE__ */ (0, I.jsx)(P, { id: e?.messages[`step.error.errorId.${n}.title`] ? `step.error.errorId.${n}.title` : "step.error.title" }) })
|
|
820
820
|
});
|
|
821
|
-
},
|
|
821
|
+
}, en = ({ errorIds: e, errorDetailId: t }) => {
|
|
822
822
|
let n = /* @__PURE__ */ new Map();
|
|
823
|
-
return t ? n.set(t, `errorDetailId.${t}`) : e?.forEach((e) => n.set(e, `errorId.${e}`)), n.size > 0 ? /* @__PURE__ */ (0,
|
|
824
|
-
},
|
|
823
|
+
return t ? n.set(t, `errorDetailId.${t}`) : e?.forEach((e) => n.set(e, `errorId.${e}`)), n.size > 0 ? /* @__PURE__ */ (0, I.jsx)("p", { children: Array.from(n).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(P, { id: t }, t)) }) : null;
|
|
824
|
+
}, tn = ({ verificationService: e, errorIds: t, redirectUrl: n }) => {
|
|
825
825
|
if (t.includes("unauthorizedAccountStatus")) {
|
|
826
|
-
let t =
|
|
827
|
-
return t ? /* @__PURE__ */ (0,
|
|
826
|
+
let t = k(() => e.programTheme.config.brandInfo.faqUrl);
|
|
827
|
+
return t ? /* @__PURE__ */ (0, I.jsx)(xe, {
|
|
828
828
|
href: t,
|
|
829
|
-
onClick: () => u(
|
|
829
|
+
onClick: () => u(o.error, t),
|
|
830
830
|
className: "sid-btn sid-faq-btn sid-btn-light",
|
|
831
|
-
children: /* @__PURE__ */ (0,
|
|
831
|
+
children: /* @__PURE__ */ (0, I.jsx)(P, { id: "step.error.errorId.unauthorizedAccountStatus.buttonText" })
|
|
832
832
|
}) : null;
|
|
833
833
|
}
|
|
834
834
|
if (t.includes("verificationLimitExceeded")) return null;
|
|
835
|
-
if (t.includes("missingRequiredMetadata") || t.includes("missingRequiredExternalId")) return
|
|
835
|
+
if (t.includes("missingRequiredMetadata") || t.includes("missingRequiredExternalId")) return x("tryAgainAction").type === "reset" ? null : /* @__PURE__ */ (0, I.jsx)(Zt, {});
|
|
836
836
|
let r = t[0];
|
|
837
|
-
return e.messages?.[`step.error.errorId.${r}.buttonText`] && n ? /* @__PURE__ */ (0,
|
|
837
|
+
return e.messages?.[`step.error.errorId.${r}.buttonText`] && n ? /* @__PURE__ */ (0, I.jsx)(xe, {
|
|
838
838
|
href: n,
|
|
839
|
-
onClick: () => u(
|
|
839
|
+
onClick: () => u(o.error, n),
|
|
840
840
|
className: "sid-btn sid-error-btn sid-btn-light",
|
|
841
|
-
children: /* @__PURE__ */ (0,
|
|
842
|
-
}) : /* @__PURE__ */ (0,
|
|
843
|
-
},
|
|
844
|
-
let { errorIds: n, redirectUrl: r, errorDetailId: i } = e.verificationResponse, a =
|
|
841
|
+
children: /* @__PURE__ */ (0, I.jsx)(P, { id: `step.error.errorId.${r}.buttonText` })
|
|
842
|
+
}) : /* @__PURE__ */ (0, I.jsx)(Zt, {});
|
|
843
|
+
}, nn = ({ verificationService: e, errorId: t }) => {
|
|
844
|
+
let { errorIds: n, redirectUrl: r, errorDetailId: i } = e.verificationResponse, a = et("hc-my-sheer-id-theme-builder"), o = /* @__PURE__ */ new Set();
|
|
845
845
|
t && o.add(t), Array.isArray(n) && n.forEach((e) => o.add(e));
|
|
846
|
-
let s = Array.from(o), c = s.some((e) =>
|
|
847
|
-
return /* @__PURE__ */ (0,
|
|
846
|
+
let s = Array.from(o), c = s.some((e) => Qt.includes(e));
|
|
847
|
+
return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
848
848
|
id: "sid-step-error",
|
|
849
849
|
className: "sid-error-container sid-l-container",
|
|
850
|
-
children: [/* @__PURE__ */ (0,
|
|
850
|
+
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
|
|
851
851
|
className: "sid-header sid-l-horz-center",
|
|
852
852
|
role: "banner",
|
|
853
853
|
children: [
|
|
854
|
-
/* @__PURE__ */ (0,
|
|
854
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
855
855
|
className: "sid-error-logo-container sid-l-horz-center",
|
|
856
|
-
children: /* @__PURE__ */ (0,
|
|
856
|
+
children: /* @__PURE__ */ (0, I.jsx)(it, {
|
|
857
857
|
verificationService: e,
|
|
858
|
-
fallbackLogo: !a && /* @__PURE__ */ (0,
|
|
858
|
+
fallbackLogo: !a && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
859
859
|
className: "sid-error-logo sid-l-lead-image",
|
|
860
860
|
alt: "",
|
|
861
861
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/circle-exclamation.svg"
|
|
862
862
|
})
|
|
863
863
|
})
|
|
864
864
|
}),
|
|
865
|
-
/* @__PURE__ */ (0,
|
|
865
|
+
/* @__PURE__ */ (0, I.jsx)($t, {
|
|
866
866
|
verificationService: e,
|
|
867
867
|
errorIds: s
|
|
868
868
|
}),
|
|
869
|
-
/* @__PURE__ */ (0,
|
|
869
|
+
/* @__PURE__ */ (0, I.jsxs)("div", {
|
|
870
870
|
className: "sid-header__subtitle sid-l-horz-center sid-l-space-top-md",
|
|
871
871
|
children: [
|
|
872
|
-
/* @__PURE__ */ (0,
|
|
872
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
873
873
|
className: "sid-error-msg sid-l-horz-center",
|
|
874
|
-
children: /* @__PURE__ */ (0,
|
|
874
|
+
children: /* @__PURE__ */ (0, I.jsx)(en, {
|
|
875
875
|
errorIds: s,
|
|
876
876
|
errorDetailId: i
|
|
877
877
|
})
|
|
878
878
|
}),
|
|
879
|
-
c && /* @__PURE__ */ (0,
|
|
879
|
+
c && /* @__PURE__ */ (0, I.jsx)("p", {
|
|
880
880
|
className: "sid-error-contact-support sid-l-space-top-md",
|
|
881
|
-
children: /* @__PURE__ */ (0,
|
|
881
|
+
children: /* @__PURE__ */ (0, I.jsx)(P, { id: "contactSupport" })
|
|
882
882
|
}),
|
|
883
|
-
/* @__PURE__ */ (0,
|
|
883
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
884
884
|
className: "sid-l-space-top-lg sid-error-button-container sid-l-horz-center",
|
|
885
|
-
children: /* @__PURE__ */ (0,
|
|
885
|
+
children: /* @__PURE__ */ (0, I.jsx)(tn, {
|
|
886
886
|
verificationService: e,
|
|
887
887
|
errorIds: s,
|
|
888
888
|
redirectUrl: r
|
|
@@ -891,266 +891,266 @@ var lt = (t, n = { partial: !0 }) => {
|
|
|
891
891
|
]
|
|
892
892
|
})
|
|
893
893
|
]
|
|
894
|
-
}), /* @__PURE__ */ (0,
|
|
894
|
+
}), /* @__PURE__ */ (0, I.jsx)("div", {
|
|
895
895
|
className: "sid-footer sid-powered-by-container sid-l-horz-center sid-l-space-top-xl sid-h-small-text",
|
|
896
|
-
children: /* @__PURE__ */ (0,
|
|
896
|
+
children: /* @__PURE__ */ (0, I.jsx)(Et, {
|
|
897
897
|
verificationService: e,
|
|
898
898
|
isCentered: !0,
|
|
899
899
|
hideFaqLink: c
|
|
900
900
|
})
|
|
901
901
|
})]
|
|
902
902
|
});
|
|
903
|
-
},
|
|
904
|
-
StepPendingComponent:
|
|
905
|
-
StepErrorComponent:
|
|
906
|
-
StepStudentPersonalInfoComponent:
|
|
907
|
-
StepOverrideComponent:
|
|
908
|
-
StepAgePersonalInfoComponent:
|
|
909
|
-
StepSeniorPersonalInfoComponent:
|
|
910
|
-
StepCollectMilitaryPersonalInfoComponent:
|
|
911
|
-
StepCollectMilitaryStatusComponent:
|
|
912
|
-
StepActiveMilitaryPersonalInfoComponent:
|
|
913
|
-
StepInactiveMilitaryPersonalInfoComponent:
|
|
914
|
-
StepDriverLicensePersonalInfoComponent:
|
|
915
|
-
StepEmploymentPersonalInfoComponent:
|
|
916
|
-
StepFirstResponderPersonalInfoComponent:
|
|
917
|
-
StepGeneralIdentityPersonalInfoComponent:
|
|
918
|
-
StepHybridIdentityPersonalInfoComponent:
|
|
919
|
-
StepIDCheckLoopComponent:
|
|
920
|
-
StepLicensedProfessionalPersonalInfoComponent:
|
|
921
|
-
StepLowIncomePersonalInfoComponent:
|
|
922
|
-
StepMedicalProfessionalPersonalInfoComponent:
|
|
923
|
-
StepMemberPersonalInfoComponent:
|
|
924
|
-
StepConsolationComponent:
|
|
925
|
-
StepDocUploadComponent:
|
|
926
|
-
StepEmailLoopComponent:
|
|
927
|
-
StepPendingEmailLoopComponent:
|
|
928
|
-
StepMoverPersonalInfoComponent:
|
|
929
|
-
StepSMSLoopComponent:
|
|
930
|
-
StepSocialSecurity:
|
|
931
|
-
StepSSOComponent:
|
|
932
|
-
StepSuccessComponent:
|
|
933
|
-
StepTeacherPersonalInfoComponent:
|
|
934
|
-
StepCompleteAuthentication:
|
|
935
|
-
StepCollectIdentifierComponent:
|
|
936
|
-
StepCollectPersonalInfo:
|
|
937
|
-
StepThirdPartyLoopComponent:
|
|
938
|
-
},
|
|
939
|
-
|
|
940
|
-
let
|
|
941
|
-
switch ((0,
|
|
903
|
+
}, rn = {
|
|
904
|
+
StepPendingComponent: Gt,
|
|
905
|
+
StepErrorComponent: nn,
|
|
906
|
+
StepStudentPersonalInfoComponent: F.lazy(() => import("./chunk/StepStudentPersonalInfo-03QpIWkq.js")),
|
|
907
|
+
StepOverrideComponent: F.lazy(() => import("./chunk/StepOverrideComponent-BLPmVFvp.js")),
|
|
908
|
+
StepAgePersonalInfoComponent: F.lazy(() => import("./chunk/StepAgePersonalInfo-CkvJUnK6.js")),
|
|
909
|
+
StepSeniorPersonalInfoComponent: F.lazy(() => import("./chunk/StepAgePersonalInfo-CkvJUnK6.js")),
|
|
910
|
+
StepCollectMilitaryPersonalInfoComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-eHNUb4js.js")),
|
|
911
|
+
StepCollectMilitaryStatusComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-eHNUb4js.js")),
|
|
912
|
+
StepActiveMilitaryPersonalInfoComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-eHNUb4js.js")),
|
|
913
|
+
StepInactiveMilitaryPersonalInfoComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-eHNUb4js.js")),
|
|
914
|
+
StepDriverLicensePersonalInfoComponent: F.lazy(() => import("./chunk/StepDriverLicensePersonalInfoComponent-BxHNa8Y6.js")),
|
|
915
|
+
StepEmploymentPersonalInfoComponent: F.lazy(() => import("./chunk/StepEmploymentPersonalInfo-BdPNUH_U.js")),
|
|
916
|
+
StepFirstResponderPersonalInfoComponent: F.lazy(() => import("./chunk/StepFirstResponderPersonalInfo-CtkSlAqn.js")),
|
|
917
|
+
StepGeneralIdentityPersonalInfoComponent: F.lazy(() => import("./chunk/StepGeneralIdentityPersonalInfoComponent-BsZXHtwX.js")),
|
|
918
|
+
StepHybridIdentityPersonalInfoComponent: F.lazy(() => import("./chunk/StepHybridIdentityPersonalInfoComponent-BBXGkQ13.js")),
|
|
919
|
+
StepIDCheckLoopComponent: F.lazy(() => import("./chunk/StepIDCheckLoop-DYhoRoFm.js")),
|
|
920
|
+
StepLicensedProfessionalPersonalInfoComponent: F.lazy(() => import("./chunk/StepLicensedProfessionalPersonalInfo-hXd4L7zJ.js")),
|
|
921
|
+
StepLowIncomePersonalInfoComponent: F.lazy(() => import("./chunk/StepLowIncomePersonalInfo-B9rvMh5D.js")),
|
|
922
|
+
StepMedicalProfessionalPersonalInfoComponent: F.lazy(() => import("./chunk/StepMedicalProfessionalPersonalInfo-Dj00ow88.js")),
|
|
923
|
+
StepMemberPersonalInfoComponent: F.lazy(() => import("./chunk/StepMemberPersonalInfo-DXQDbgye.js")),
|
|
924
|
+
StepConsolationComponent: F.lazy(() => import("./chunk/StepConsolation-DRnpaPIB.js")),
|
|
925
|
+
StepDocUploadComponent: F.lazy(() => import("./chunk/StepDocUpload-CyqOFprF.js")),
|
|
926
|
+
StepEmailLoopComponent: F.lazy(() => import("./chunk/StepEmailLoop-BEIC15oF.js")),
|
|
927
|
+
StepPendingEmailLoopComponent: F.lazy(() => import("./chunk/EmailLoopPending-CgRp0qIE.js").then((e) => e.n)),
|
|
928
|
+
StepMoverPersonalInfoComponent: F.lazy(() => import("./chunk/StepMoverPersonalInfo-C4dW2U-w.js")),
|
|
929
|
+
StepSMSLoopComponent: F.lazy(() => import("./chunk/StepSMSLoop-Cyus2TEa.js")),
|
|
930
|
+
StepSocialSecurity: F.lazy(() => import("./chunk/StepSocialSecurityNumber-BlzVBYtJ.js")),
|
|
931
|
+
StepSSOComponent: F.lazy(() => import("./chunk/StepSSO-BGHCbduX.js")),
|
|
932
|
+
StepSuccessComponent: F.lazy(() => import("./chunk/StepSuccess--jHHRqxE.js")),
|
|
933
|
+
StepTeacherPersonalInfoComponent: F.lazy(() => import("./chunk/StepTeacherPersonalInfo-CDiyDDoq.js")),
|
|
934
|
+
StepCompleteAuthentication: F.lazy(() => import("./chunk/StepCompleteAuthentication-aZqH2zX2.js")),
|
|
935
|
+
StepCollectIdentifierComponent: F.lazy(() => import("./chunk/StepCollectIdentifier-CZPgIiri.js")),
|
|
936
|
+
StepCollectPersonalInfo: F.lazy(() => import("./chunk/StepCollectPersonalInfo-BH2TbclC.js")),
|
|
937
|
+
StepThirdPartyLoopComponent: F.lazy(() => import("./chunk/StepThirdPartyLoop-CbFTIlwP.js"))
|
|
938
|
+
}, z = (e) => (l.info("getComponent", e), Ct(e) || rn[e]), an = () => /* @__PURE__ */ (0, I.jsx)(pt, {}), on = ({ stepToLoad: e, verificationService: t }) => {
|
|
939
|
+
l.info(`LoadStepComponent: rendering step: ${e}`);
|
|
940
|
+
let n;
|
|
941
|
+
switch ((0, F.useEffect)(() => {
|
|
942
942
|
try {
|
|
943
943
|
performance.mark(m.INITIAL_STEP_LOAD);
|
|
944
944
|
} catch {}
|
|
945
|
-
}, []),
|
|
946
|
-
if (!["pending", "error"].includes(
|
|
945
|
+
}, []), F.useEffect(() => {
|
|
946
|
+
if (!["pending", "error"].includes(e)) try {
|
|
947
947
|
performance.mark(p.STEP_SEEN), D({
|
|
948
948
|
eventName: p.STEP_SEEN,
|
|
949
|
-
params: { step:
|
|
949
|
+
params: { step: e }
|
|
950
950
|
});
|
|
951
|
-
} catch (
|
|
952
|
-
|
|
951
|
+
} catch (e) {
|
|
952
|
+
l.error(e);
|
|
953
953
|
}
|
|
954
|
-
}, [
|
|
954
|
+
}, [e]), e) {
|
|
955
955
|
case "collectPersonalInfo":
|
|
956
|
-
|
|
956
|
+
n = z("StepCollectPersonalInfo");
|
|
957
957
|
break;
|
|
958
958
|
case "collectStudentPersonalInfo":
|
|
959
|
-
|
|
959
|
+
n = z("StepStudentPersonalInfoComponent");
|
|
960
960
|
break;
|
|
961
961
|
case "collectSeniorPersonalInfo":
|
|
962
|
-
|
|
962
|
+
n = z("StepSeniorPersonalInfoComponent");
|
|
963
963
|
break;
|
|
964
964
|
case "collectAgePersonalInfo":
|
|
965
|
-
|
|
965
|
+
n = z("StepAgePersonalInfoComponent");
|
|
966
966
|
break;
|
|
967
967
|
case "collectTeacherPersonalInfo":
|
|
968
|
-
|
|
968
|
+
n = z("StepTeacherPersonalInfoComponent");
|
|
969
969
|
break;
|
|
970
970
|
case "collectMemberPersonalInfo":
|
|
971
|
-
|
|
971
|
+
n = z("StepMemberPersonalInfoComponent");
|
|
972
972
|
break;
|
|
973
973
|
case "collectMilitaryStatus":
|
|
974
|
-
|
|
974
|
+
n = z("StepCollectMilitaryStatusComponent");
|
|
975
975
|
break;
|
|
976
976
|
case "collectActiveMilitaryPersonalInfo":
|
|
977
|
-
|
|
977
|
+
n = z("StepActiveMilitaryPersonalInfoComponent");
|
|
978
978
|
break;
|
|
979
979
|
case "collectInactiveMilitaryPersonalInfo":
|
|
980
|
-
|
|
980
|
+
n = z("StepInactiveMilitaryPersonalInfoComponent");
|
|
981
981
|
break;
|
|
982
982
|
case "collectMilitaryPersonalInfo":
|
|
983
|
-
|
|
983
|
+
n = z("StepCollectMilitaryPersonalInfoComponent");
|
|
984
984
|
break;
|
|
985
985
|
case "collectFirstResponderPersonalInfo":
|
|
986
|
-
|
|
986
|
+
n = z("StepFirstResponderPersonalInfoComponent");
|
|
987
987
|
break;
|
|
988
988
|
case "collectMedicalProfessionalPersonalInfo":
|
|
989
|
-
|
|
989
|
+
n = z("StepMedicalProfessionalPersonalInfoComponent");
|
|
990
990
|
break;
|
|
991
991
|
case "collectEmployeePersonalInfo":
|
|
992
|
-
|
|
992
|
+
n = z("StepEmploymentPersonalInfoComponent");
|
|
993
993
|
break;
|
|
994
994
|
case "collectDriverLicensePersonalInfo":
|
|
995
|
-
|
|
995
|
+
n = z("StepDriverLicensePersonalInfoComponent");
|
|
996
996
|
break;
|
|
997
997
|
case "collectGeneralIdentityPersonalInfo":
|
|
998
|
-
|
|
998
|
+
n = z("StepGeneralIdentityPersonalInfoComponent");
|
|
999
999
|
break;
|
|
1000
1000
|
case "collectHybridIdentityPersonalInfo":
|
|
1001
|
-
|
|
1001
|
+
n = z("StepHybridIdentityPersonalInfoComponent");
|
|
1002
1002
|
break;
|
|
1003
1003
|
case "collectLicensedProfessionalPersonalInfo":
|
|
1004
|
-
|
|
1004
|
+
n = z("StepLicensedProfessionalPersonalInfoComponent");
|
|
1005
1005
|
break;
|
|
1006
1006
|
case "collectMoverPersonalInfo":
|
|
1007
|
-
|
|
1007
|
+
n = z("StepMoverPersonalInfoComponent");
|
|
1008
1008
|
break;
|
|
1009
1009
|
case "collectLowIncomePersonalInfo":
|
|
1010
|
-
|
|
1010
|
+
n = z("StepLowIncomePersonalInfoComponent");
|
|
1011
1011
|
break;
|
|
1012
1012
|
case "collectSocialSecurityNumber":
|
|
1013
|
-
|
|
1013
|
+
n = z("StepSocialSecurity");
|
|
1014
1014
|
break;
|
|
1015
1015
|
case "success":
|
|
1016
|
-
|
|
1016
|
+
n = z("StepSuccessComponent");
|
|
1017
1017
|
break;
|
|
1018
1018
|
case "consolation":
|
|
1019
|
-
|
|
1019
|
+
n = z("StepConsolationComponent");
|
|
1020
1020
|
break;
|
|
1021
1021
|
case "override":
|
|
1022
|
-
|
|
1022
|
+
n = z("StepOverrideComponent");
|
|
1023
1023
|
break;
|
|
1024
1024
|
case "docUpload":
|
|
1025
|
-
|
|
1025
|
+
n = z("StepDocUploadComponent");
|
|
1026
1026
|
break;
|
|
1027
1027
|
case "pending":
|
|
1028
|
-
|
|
1028
|
+
n = z("StepPendingComponent");
|
|
1029
1029
|
break;
|
|
1030
1030
|
case "sso":
|
|
1031
|
-
|
|
1031
|
+
n = z("StepSSOComponent");
|
|
1032
1032
|
break;
|
|
1033
1033
|
case "thirdPartyLoop":
|
|
1034
|
-
|
|
1034
|
+
n = z("StepThirdPartyLoopComponent");
|
|
1035
1035
|
break;
|
|
1036
1036
|
case "smsLoop":
|
|
1037
|
-
|
|
1037
|
+
n = z("StepSMSLoopComponent");
|
|
1038
1038
|
break;
|
|
1039
1039
|
case "emailLoop":
|
|
1040
|
-
|
|
1040
|
+
n = z("StepEmailLoopComponent");
|
|
1041
1041
|
break;
|
|
1042
1042
|
case "idCheckLoop":
|
|
1043
|
-
|
|
1043
|
+
n = z("StepIDCheckLoopComponent");
|
|
1044
1044
|
break;
|
|
1045
1045
|
case "collectIdentifier":
|
|
1046
|
-
|
|
1046
|
+
n = z("StepCollectIdentifierComponent");
|
|
1047
1047
|
break;
|
|
1048
1048
|
case "completeAuthentication":
|
|
1049
|
-
|
|
1049
|
+
n = z("StepCompleteAuthentication");
|
|
1050
1050
|
break;
|
|
1051
|
-
case "missingRequiredMetadata": return
|
|
1052
|
-
verificationService:
|
|
1051
|
+
case "missingRequiredMetadata": return n = z("StepErrorComponent"), /* @__PURE__ */ (0, I.jsx)(n, {
|
|
1052
|
+
verificationService: t,
|
|
1053
1053
|
errorId: "missingRequiredMetadata"
|
|
1054
1054
|
});
|
|
1055
|
-
case "missingRequiredExternalId": return
|
|
1056
|
-
verificationService:
|
|
1055
|
+
case "missingRequiredExternalId": return n = z("StepErrorComponent"), /* @__PURE__ */ (0, I.jsx)(n, {
|
|
1056
|
+
verificationService: t,
|
|
1057
1057
|
errorId: "missingRequiredExternalId"
|
|
1058
1058
|
});
|
|
1059
1059
|
case "error":
|
|
1060
|
-
|
|
1060
|
+
n = z("StepErrorComponent");
|
|
1061
1061
|
break;
|
|
1062
1062
|
case "cancelDocUpload":
|
|
1063
1063
|
case "cancelEmailLoop":
|
|
1064
1064
|
case "cancelSocialSecurityNumber":
|
|
1065
1065
|
case "docReviewLimitExceeded":
|
|
1066
|
-
case "emailLoopCollectOrganizationEmail": return
|
|
1067
|
-
verificationService:
|
|
1066
|
+
case "emailLoopCollectOrganizationEmail": return l.error("Attempted to load unexpected step", e), /* @__PURE__ */ (0, I.jsx)(nn, {
|
|
1067
|
+
verificationService: t,
|
|
1068
1068
|
errorId: "invalidStep"
|
|
1069
1069
|
});
|
|
1070
|
-
default: return
|
|
1071
|
-
verificationService:
|
|
1070
|
+
default: return l.error("Unable to load step", e), /* @__PURE__ */ (0, I.jsx)(nn, {
|
|
1071
|
+
verificationService: t,
|
|
1072
1072
|
errorId: "invalidStep"
|
|
1073
1073
|
});
|
|
1074
1074
|
}
|
|
1075
|
-
return /* @__PURE__ */ (0,
|
|
1076
|
-
fallback:
|
|
1077
|
-
children: /* @__PURE__ */ (0,
|
|
1075
|
+
return /* @__PURE__ */ (0, I.jsx)(F.Suspense, {
|
|
1076
|
+
fallback: an(),
|
|
1077
|
+
children: /* @__PURE__ */ (0, I.jsx)(n, { verificationService: t })
|
|
1078
1078
|
});
|
|
1079
|
-
},
|
|
1079
|
+
}, sn = ({ dangerouslySetInnerHTML: e, ...t }) => e ? /* @__PURE__ */ (0, I.jsx)("span", {
|
|
1080
1080
|
dangerouslySetInnerHTML: e,
|
|
1081
1081
|
...t
|
|
1082
|
-
}) : /* @__PURE__ */ (0,
|
|
1082
|
+
}) : /* @__PURE__ */ (0, I.jsx)(F.Fragment, { ...t }), cn = ({ verificationService: e }) => e.programTheme?.isTestMode ? /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
1083
1083
|
className: "sid-test-mode-flag sid-l-container sid-l-horz-center",
|
|
1084
1084
|
role: "note",
|
|
1085
|
-
children: ["Test Mode", /* @__PURE__ */ (0,
|
|
1085
|
+
children: ["Test Mode", /* @__PURE__ */ (0, I.jsx)(xe, {
|
|
1086
1086
|
className: "sid-test-mode-flag__link",
|
|
1087
1087
|
href: "https://developer.sheerid.com/getting-started#test-program",
|
|
1088
1088
|
"aria-label": "learn more about a sheerid test mode program",
|
|
1089
1089
|
children: "(learn more)"
|
|
1090
1090
|
})]
|
|
1091
|
-
}) : null,
|
|
1091
|
+
}) : null, ln = ({ verificationService: e, title: t, children: n, fallbackLogo: r, classNameIdentifier: i = void 0 }) => /* @__PURE__ */ (0, I.jsxs)("header", {
|
|
1092
1092
|
className: "sid-header",
|
|
1093
1093
|
children: [
|
|
1094
|
-
/* @__PURE__ */ (0,
|
|
1094
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
1095
1095
|
className: `sid-logo-container sid-l-horz-center ${i ? `sid-${i}-logo-container` : ""}`,
|
|
1096
|
-
children: /* @__PURE__ */ (0,
|
|
1096
|
+
children: /* @__PURE__ */ (0, I.jsx)(it, {
|
|
1097
1097
|
verificationService: e,
|
|
1098
1098
|
fallbackLogo: r
|
|
1099
1099
|
})
|
|
1100
1100
|
}),
|
|
1101
|
-
/* @__PURE__ */ (0,
|
|
1101
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
1102
1102
|
className: `sid-header__title sid-l-horz-center ${i ? `sid-${i}-header` : ""}`,
|
|
1103
|
-
children: /* @__PURE__ */ (0,
|
|
1103
|
+
children: /* @__PURE__ */ (0, I.jsx)("h1", { children: t })
|
|
1104
1104
|
}),
|
|
1105
1105
|
n
|
|
1106
1106
|
]
|
|
1107
1107
|
});
|
|
1108
1108
|
typeof window < "u" && window.document && window.document.createElement;
|
|
1109
|
-
function
|
|
1109
|
+
function B(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
|
|
1110
1110
|
return function(r) {
|
|
1111
1111
|
if (e?.(r), n === !1 || !r.defaultPrevented) return t?.(r);
|
|
1112
1112
|
};
|
|
1113
1113
|
}
|
|
1114
1114
|
//#endregion
|
|
1115
1115
|
//#region ../node_modules/@radix-ui/react-compose-refs/dist/index.mjs
|
|
1116
|
-
function
|
|
1116
|
+
function un(e, t) {
|
|
1117
1117
|
if (typeof e == "function") return e(t);
|
|
1118
1118
|
e != null && (e.current = t);
|
|
1119
1119
|
}
|
|
1120
|
-
function
|
|
1120
|
+
function dn(...e) {
|
|
1121
1121
|
return (t) => {
|
|
1122
1122
|
let n = !1, r = e.map((e) => {
|
|
1123
|
-
let r =
|
|
1123
|
+
let r = un(e, t);
|
|
1124
1124
|
return !n && typeof r == "function" && (n = !0), r;
|
|
1125
1125
|
});
|
|
1126
1126
|
if (n) return () => {
|
|
1127
1127
|
for (let t = 0; t < r.length; t++) {
|
|
1128
1128
|
let n = r[t];
|
|
1129
|
-
typeof n == "function" ? n() :
|
|
1129
|
+
typeof n == "function" ? n() : un(e[t], null);
|
|
1130
1130
|
}
|
|
1131
1131
|
};
|
|
1132
1132
|
};
|
|
1133
1133
|
}
|
|
1134
|
-
function
|
|
1135
|
-
return
|
|
1134
|
+
function V(...e) {
|
|
1135
|
+
return F.useCallback(dn(...e), e);
|
|
1136
1136
|
}
|
|
1137
1137
|
//#endregion
|
|
1138
1138
|
//#region ../node_modules/@radix-ui/react-context/dist/index.mjs
|
|
1139
|
-
function
|
|
1139
|
+
function fn(e, t = []) {
|
|
1140
1140
|
let n = [];
|
|
1141
1141
|
function r(t, r) {
|
|
1142
|
-
let i =
|
|
1142
|
+
let i = F.createContext(r), a = n.length;
|
|
1143
1143
|
n = [...n, r];
|
|
1144
1144
|
let o = (t) => {
|
|
1145
|
-
let { scope: n, children: r, ...o } = t, s = n?.[e]?.[a] || i, c =
|
|
1146
|
-
return /* @__PURE__ */ (0,
|
|
1145
|
+
let { scope: n, children: r, ...o } = t, s = n?.[e]?.[a] || i, c = F.useMemo(() => o, Object.values(o));
|
|
1146
|
+
return /* @__PURE__ */ (0, I.jsx)(s.Provider, {
|
|
1147
1147
|
value: c,
|
|
1148
1148
|
children: r
|
|
1149
1149
|
});
|
|
1150
1150
|
};
|
|
1151
1151
|
o.displayName = t + "Provider";
|
|
1152
1152
|
function s(n, o) {
|
|
1153
|
-
let s = o?.[e]?.[a] || i, c =
|
|
1153
|
+
let s = o?.[e]?.[a] || i, c = F.useContext(s);
|
|
1154
1154
|
if (c) return c;
|
|
1155
1155
|
if (r !== void 0) return r;
|
|
1156
1156
|
throw Error(`\`${n}\` must be used within \`${t}\``);
|
|
@@ -1158,18 +1158,18 @@ function pn(e, t = []) {
|
|
|
1158
1158
|
return [o, s];
|
|
1159
1159
|
}
|
|
1160
1160
|
let i = () => {
|
|
1161
|
-
let t = n.map((e) =>
|
|
1161
|
+
let t = n.map((e) => F.createContext(e));
|
|
1162
1162
|
return function(n) {
|
|
1163
1163
|
let r = n?.[e] || t;
|
|
1164
|
-
return
|
|
1164
|
+
return F.useMemo(() => ({ [`__scope${e}`]: {
|
|
1165
1165
|
...n,
|
|
1166
1166
|
[e]: r
|
|
1167
1167
|
} }), [n, r]);
|
|
1168
1168
|
};
|
|
1169
1169
|
};
|
|
1170
|
-
return i.scopeName = e, [r,
|
|
1170
|
+
return i.scopeName = e, [r, pn(i, ...t)];
|
|
1171
1171
|
}
|
|
1172
|
-
function
|
|
1172
|
+
function pn(...e) {
|
|
1173
1173
|
let t = e[0];
|
|
1174
1174
|
if (e.length === 1) return t;
|
|
1175
1175
|
let n = () => {
|
|
@@ -1185,7 +1185,7 @@ function mn(...e) {
|
|
|
1185
1185
|
...i
|
|
1186
1186
|
};
|
|
1187
1187
|
}, {});
|
|
1188
|
-
return
|
|
1188
|
+
return F.useMemo(() => ({ [`__scope${t.scopeName}`]: r }), [r]);
|
|
1189
1189
|
};
|
|
1190
1190
|
};
|
|
1191
1191
|
return n.scopeName = t.scopeName, n;
|
|
@@ -1193,18 +1193,18 @@ function mn(...e) {
|
|
|
1193
1193
|
//#endregion
|
|
1194
1194
|
//#region ../node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
1195
1195
|
// @__NO_SIDE_EFFECTS__
|
|
1196
|
-
function
|
|
1197
|
-
let t = /* @__PURE__ */
|
|
1198
|
-
let { children: r, ...i } = e, a =
|
|
1196
|
+
function mn(e) {
|
|
1197
|
+
let t = /* @__PURE__ */ hn(e), n = F.forwardRef((e, n) => {
|
|
1198
|
+
let { children: r, ...i } = e, a = F.Children.toArray(r), o = a.find(_n);
|
|
1199
1199
|
if (o) {
|
|
1200
|
-
let e = o.props.children, r = a.map((t) => t === o ?
|
|
1201
|
-
return /* @__PURE__ */ (0,
|
|
1200
|
+
let e = o.props.children, r = a.map((t) => t === o ? F.Children.count(e) > 1 ? F.Children.only(null) : F.isValidElement(e) ? e.props.children : null : t);
|
|
1201
|
+
return /* @__PURE__ */ (0, I.jsx)(t, {
|
|
1202
1202
|
...i,
|
|
1203
1203
|
ref: n,
|
|
1204
|
-
children:
|
|
1204
|
+
children: F.isValidElement(e) ? F.cloneElement(e, void 0, r) : null
|
|
1205
1205
|
});
|
|
1206
1206
|
}
|
|
1207
|
-
return /* @__PURE__ */ (0,
|
|
1207
|
+
return /* @__PURE__ */ (0, I.jsx)(t, {
|
|
1208
1208
|
...i,
|
|
1209
1209
|
ref: n,
|
|
1210
1210
|
children: r
|
|
@@ -1213,22 +1213,22 @@ function hn(e) {
|
|
|
1213
1213
|
return n.displayName = `${e}.Slot`, n;
|
|
1214
1214
|
}
|
|
1215
1215
|
// @__NO_SIDE_EFFECTS__
|
|
1216
|
-
function
|
|
1217
|
-
let t =
|
|
1216
|
+
function hn(e) {
|
|
1217
|
+
let t = F.forwardRef((e, t) => {
|
|
1218
1218
|
let { children: n, ...r } = e;
|
|
1219
|
-
if (
|
|
1220
|
-
let e =
|
|
1221
|
-
return n.type !==
|
|
1219
|
+
if (F.isValidElement(n)) {
|
|
1220
|
+
let e = yn(n), i = vn(r, n.props);
|
|
1221
|
+
return n.type !== F.Fragment && (i.ref = t ? dn(t, e) : e), F.cloneElement(n, i);
|
|
1222
1222
|
}
|
|
1223
|
-
return
|
|
1223
|
+
return F.Children.count(n) > 1 ? F.Children.only(null) : null;
|
|
1224
1224
|
});
|
|
1225
1225
|
return t.displayName = `${e}.SlotClone`, t;
|
|
1226
1226
|
}
|
|
1227
|
-
var
|
|
1228
|
-
function
|
|
1229
|
-
return
|
|
1227
|
+
var gn = Symbol("radix.slottable");
|
|
1228
|
+
function _n(e) {
|
|
1229
|
+
return F.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === gn;
|
|
1230
1230
|
}
|
|
1231
|
-
function
|
|
1231
|
+
function vn(e, t) {
|
|
1232
1232
|
let n = { ...t };
|
|
1233
1233
|
for (let r in t) {
|
|
1234
1234
|
let i = e[r], a = t[r];
|
|
@@ -1245,13 +1245,13 @@ function yn(e, t) {
|
|
|
1245
1245
|
...n
|
|
1246
1246
|
};
|
|
1247
1247
|
}
|
|
1248
|
-
function
|
|
1248
|
+
function yn(e) {
|
|
1249
1249
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
1250
1250
|
return n ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
|
|
1251
1251
|
}
|
|
1252
1252
|
//#endregion
|
|
1253
1253
|
//#region ../node_modules/@radix-ui/react-primitive/dist/index.mjs
|
|
1254
|
-
var
|
|
1254
|
+
var H = [
|
|
1255
1255
|
"a",
|
|
1256
1256
|
"button",
|
|
1257
1257
|
"div",
|
|
@@ -1270,9 +1270,9 @@ var V = [
|
|
|
1270
1270
|
"svg",
|
|
1271
1271
|
"ul"
|
|
1272
1272
|
].reduce((e, t) => {
|
|
1273
|
-
let n = /* @__PURE__ */
|
|
1273
|
+
let n = /* @__PURE__ */ mn(`Primitive.${t}`), r = F.forwardRef((e, r) => {
|
|
1274
1274
|
let { asChild: i, ...a } = e, o = i ? n : t;
|
|
1275
|
-
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ (0,
|
|
1275
|
+
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ (0, I.jsx)(o, {
|
|
1276
1276
|
...a,
|
|
1277
1277
|
ref: r
|
|
1278
1278
|
});
|
|
@@ -1282,22 +1282,22 @@ var V = [
|
|
|
1282
1282
|
[t]: r
|
|
1283
1283
|
};
|
|
1284
1284
|
}, {});
|
|
1285
|
-
function
|
|
1286
|
-
e &&
|
|
1285
|
+
function bn(e, t) {
|
|
1286
|
+
e && ut.flushSync(() => e.dispatchEvent(t));
|
|
1287
1287
|
}
|
|
1288
1288
|
//#endregion
|
|
1289
1289
|
//#region ../node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
|
|
1290
|
-
function
|
|
1291
|
-
let t =
|
|
1292
|
-
return
|
|
1290
|
+
function xn(e) {
|
|
1291
|
+
let t = F.useRef(e);
|
|
1292
|
+
return F.useEffect(() => {
|
|
1293
1293
|
t.current = e;
|
|
1294
|
-
}),
|
|
1294
|
+
}), F.useMemo(() => (...e) => t.current?.(...e), []);
|
|
1295
1295
|
}
|
|
1296
1296
|
//#endregion
|
|
1297
1297
|
//#region ../node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs
|
|
1298
|
-
function
|
|
1299
|
-
let n =
|
|
1300
|
-
|
|
1298
|
+
function Sn(e, t = globalThis?.document) {
|
|
1299
|
+
let n = xn(e);
|
|
1300
|
+
F.useEffect(() => {
|
|
1301
1301
|
let e = (e) => {
|
|
1302
1302
|
e.key === "Escape" && n(e);
|
|
1303
1303
|
};
|
|
@@ -1306,67 +1306,67 @@ function Cn(e, t = globalThis?.document) {
|
|
|
1306
1306
|
}
|
|
1307
1307
|
//#endregion
|
|
1308
1308
|
//#region ../node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
|
|
1309
|
-
var
|
|
1309
|
+
var Cn = "DismissableLayer", wn = "dismissableLayer.update", Tn = "dismissableLayer.pointerDownOutside", En = "dismissableLayer.focusOutside", Dn, On = F.createContext({
|
|
1310
1310
|
layers: /* @__PURE__ */ new Set(),
|
|
1311
1311
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
1312
1312
|
branches: /* @__PURE__ */ new Set()
|
|
1313
|
-
}),
|
|
1314
|
-
let { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: o, onDismiss: s, ...c } = e, l =
|
|
1313
|
+
}), kn = F.forwardRef((e, t) => {
|
|
1314
|
+
let { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: o, onDismiss: s, ...c } = e, l = F.useContext(On), [u, d] = F.useState(null), f = u?.ownerDocument ?? globalThis?.document, [, p] = F.useState({}), m = V(t, (e) => d(e)), h = Array.from(l.layers), [g] = [...l.layersWithOutsidePointerEventsDisabled].slice(-1), _ = h.indexOf(g), v = u ? h.indexOf(u) : -1, y = l.layersWithOutsidePointerEventsDisabled.size > 0, b = v >= _, x = Mn((e) => {
|
|
1315
1315
|
let t = e.target, n = [...l.branches].some((e) => e.contains(t));
|
|
1316
1316
|
!b || n || (i?.(e), o?.(e), e.defaultPrevented || s?.());
|
|
1317
|
-
}, f), S =
|
|
1317
|
+
}, f), S = Nn((e) => {
|
|
1318
1318
|
let t = e.target;
|
|
1319
1319
|
[...l.branches].some((e) => e.contains(t)) || (a?.(e), o?.(e), e.defaultPrevented || s?.());
|
|
1320
1320
|
}, f);
|
|
1321
|
-
return
|
|
1321
|
+
return Sn((e) => {
|
|
1322
1322
|
v === l.layers.size - 1 && (r?.(e), !e.defaultPrevented && s && (e.preventDefault(), s()));
|
|
1323
|
-
}, f),
|
|
1324
|
-
if (u) return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (
|
|
1325
|
-
n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (f.body.style.pointerEvents =
|
|
1323
|
+
}, f), F.useEffect(() => {
|
|
1324
|
+
if (u) return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (Dn = f.body.style.pointerEvents, f.body.style.pointerEvents = "none"), l.layersWithOutsidePointerEventsDisabled.add(u)), l.layers.add(u), Pn(), () => {
|
|
1325
|
+
n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (f.body.style.pointerEvents = Dn);
|
|
1326
1326
|
};
|
|
1327
1327
|
}, [
|
|
1328
1328
|
u,
|
|
1329
1329
|
f,
|
|
1330
1330
|
n,
|
|
1331
1331
|
l
|
|
1332
|
-
]),
|
|
1333
|
-
u && (l.layers.delete(u), l.layersWithOutsidePointerEventsDisabled.delete(u),
|
|
1334
|
-
}, [u, l]),
|
|
1332
|
+
]), F.useEffect(() => () => {
|
|
1333
|
+
u && (l.layers.delete(u), l.layersWithOutsidePointerEventsDisabled.delete(u), Pn());
|
|
1334
|
+
}, [u, l]), F.useEffect(() => {
|
|
1335
1335
|
let e = () => p({});
|
|
1336
|
-
return document.addEventListener(
|
|
1337
|
-
}, []), /* @__PURE__ */ (0,
|
|
1336
|
+
return document.addEventListener(wn, e), () => document.removeEventListener(wn, e);
|
|
1337
|
+
}, []), /* @__PURE__ */ (0, I.jsx)(H.div, {
|
|
1338
1338
|
...c,
|
|
1339
1339
|
ref: m,
|
|
1340
1340
|
style: {
|
|
1341
1341
|
pointerEvents: y ? b ? "auto" : "none" : void 0,
|
|
1342
1342
|
...e.style
|
|
1343
1343
|
},
|
|
1344
|
-
onFocusCapture:
|
|
1345
|
-
onBlurCapture:
|
|
1346
|
-
onPointerDownCapture:
|
|
1344
|
+
onFocusCapture: B(e.onFocusCapture, S.onFocusCapture),
|
|
1345
|
+
onBlurCapture: B(e.onBlurCapture, S.onBlurCapture),
|
|
1346
|
+
onPointerDownCapture: B(e.onPointerDownCapture, x.onPointerDownCapture)
|
|
1347
1347
|
});
|
|
1348
1348
|
});
|
|
1349
|
-
|
|
1350
|
-
var
|
|
1351
|
-
let n =
|
|
1352
|
-
return
|
|
1349
|
+
kn.displayName = Cn;
|
|
1350
|
+
var An = "DismissableLayerBranch", jn = F.forwardRef((e, t) => {
|
|
1351
|
+
let n = F.useContext(On), r = F.useRef(null), i = V(t, r);
|
|
1352
|
+
return F.useEffect(() => {
|
|
1353
1353
|
let e = r.current;
|
|
1354
1354
|
if (e) return n.branches.add(e), () => {
|
|
1355
1355
|
n.branches.delete(e);
|
|
1356
1356
|
};
|
|
1357
|
-
}, [n.branches]), /* @__PURE__ */ (0,
|
|
1357
|
+
}, [n.branches]), /* @__PURE__ */ (0, I.jsx)(H.div, {
|
|
1358
1358
|
...e,
|
|
1359
1359
|
ref: i
|
|
1360
1360
|
});
|
|
1361
1361
|
});
|
|
1362
|
-
|
|
1363
|
-
function
|
|
1364
|
-
let n =
|
|
1365
|
-
return
|
|
1362
|
+
jn.displayName = An;
|
|
1363
|
+
function Mn(e, t = globalThis?.document) {
|
|
1364
|
+
let n = xn(e), r = F.useRef(!1), i = F.useRef(() => {});
|
|
1365
|
+
return F.useEffect(() => {
|
|
1366
1366
|
let e = (e) => {
|
|
1367
1367
|
if (e.target && !r.current) {
|
|
1368
1368
|
let r = function() {
|
|
1369
|
-
|
|
1369
|
+
Fn(Tn, n, a, { discrete: !0 });
|
|
1370
1370
|
}, a = { originalEvent: e };
|
|
1371
1371
|
e.pointerType === "touch" ? (t.removeEventListener("click", i.current), i.current = r, t.addEventListener("click", i.current, { once: !0 })) : r();
|
|
1372
1372
|
} else t.removeEventListener("click", i.current);
|
|
@@ -1379,11 +1379,11 @@ function Nn(e, t = globalThis?.document) {
|
|
|
1379
1379
|
};
|
|
1380
1380
|
}, [t, n]), { onPointerDownCapture: () => r.current = !0 };
|
|
1381
1381
|
}
|
|
1382
|
-
function
|
|
1383
|
-
let n =
|
|
1384
|
-
return
|
|
1382
|
+
function Nn(e, t = globalThis?.document) {
|
|
1383
|
+
let n = xn(e), r = F.useRef(!1);
|
|
1384
|
+
return F.useEffect(() => {
|
|
1385
1385
|
let e = (e) => {
|
|
1386
|
-
e.target && !r.current &&
|
|
1386
|
+
e.target && !r.current && Fn(En, n, { originalEvent: e }, { discrete: !1 });
|
|
1387
1387
|
};
|
|
1388
1388
|
return t.addEventListener("focusin", e), () => t.removeEventListener("focusin", e);
|
|
1389
1389
|
}, [t, n]), {
|
|
@@ -1391,40 +1391,40 @@ function Pn(e, t = globalThis?.document) {
|
|
|
1391
1391
|
onBlurCapture: () => r.current = !1
|
|
1392
1392
|
};
|
|
1393
1393
|
}
|
|
1394
|
-
function
|
|
1395
|
-
let e = new CustomEvent(
|
|
1394
|
+
function Pn() {
|
|
1395
|
+
let e = new CustomEvent(wn);
|
|
1396
1396
|
document.dispatchEvent(e);
|
|
1397
1397
|
}
|
|
1398
|
-
function
|
|
1398
|
+
function Fn(e, t, n, { discrete: r }) {
|
|
1399
1399
|
let i = n.originalEvent.target, a = new CustomEvent(e, {
|
|
1400
1400
|
bubbles: !1,
|
|
1401
1401
|
cancelable: !0,
|
|
1402
1402
|
detail: n
|
|
1403
1403
|
});
|
|
1404
|
-
t && i.addEventListener(e, t, { once: !0 }), r ?
|
|
1404
|
+
t && i.addEventListener(e, t, { once: !0 }), r ? bn(i, a) : i.dispatchEvent(a);
|
|
1405
1405
|
}
|
|
1406
1406
|
//#endregion
|
|
1407
1407
|
//#region ../node_modules/@radix-ui/react-focus-guards/dist/index.mjs
|
|
1408
|
-
var
|
|
1409
|
-
function
|
|
1410
|
-
|
|
1408
|
+
var In = 0;
|
|
1409
|
+
function Ln() {
|
|
1410
|
+
F.useEffect(() => {
|
|
1411
1411
|
let e = document.querySelectorAll("[data-radix-focus-guard]");
|
|
1412
|
-
return document.body.insertAdjacentElement("afterbegin", e[0] ??
|
|
1413
|
-
|
|
1412
|
+
return document.body.insertAdjacentElement("afterbegin", e[0] ?? Rn()), document.body.insertAdjacentElement("beforeend", e[1] ?? Rn()), In++, () => {
|
|
1413
|
+
In === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((e) => e.remove()), In--;
|
|
1414
1414
|
};
|
|
1415
1415
|
}, []);
|
|
1416
1416
|
}
|
|
1417
|
-
function
|
|
1417
|
+
function Rn() {
|
|
1418
1418
|
let e = document.createElement("span");
|
|
1419
1419
|
return e.setAttribute("data-radix-focus-guard", ""), e.tabIndex = 0, e.style.outline = "none", e.style.opacity = "0", e.style.position = "fixed", e.style.pointerEvents = "none", e;
|
|
1420
1420
|
}
|
|
1421
1421
|
//#endregion
|
|
1422
1422
|
//#region ../node_modules/@radix-ui/react-focus-scope/dist/index.mjs
|
|
1423
|
-
var
|
|
1423
|
+
var zn = "focusScope.autoFocusOnMount", Bn = "focusScope.autoFocusOnUnmount", Vn = {
|
|
1424
1424
|
bubbles: !1,
|
|
1425
1425
|
cancelable: !0
|
|
1426
|
-
},
|
|
1427
|
-
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [s, c] =
|
|
1426
|
+
}, Hn = "FocusScope", Un = F.forwardRef((e, t) => {
|
|
1427
|
+
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [s, c] = F.useState(null), l = xn(i), u = xn(a), d = F.useRef(null), f = V(t, (e) => c(e)), p = F.useRef({
|
|
1428
1428
|
paused: !1,
|
|
1429
1429
|
pause() {
|
|
1430
1430
|
this.paused = !0;
|
|
@@ -1433,18 +1433,18 @@ var Bn = "focusScope.autoFocusOnMount", Vn = "focusScope.autoFocusOnUnmount", Hn
|
|
|
1433
1433
|
this.paused = !1;
|
|
1434
1434
|
}
|
|
1435
1435
|
}).current;
|
|
1436
|
-
|
|
1436
|
+
F.useEffect(() => {
|
|
1437
1437
|
if (r) {
|
|
1438
1438
|
let e = function(e) {
|
|
1439
1439
|
if (p.paused || !s) return;
|
|
1440
1440
|
let t = e.target;
|
|
1441
|
-
s.contains(t) ? d.current = t :
|
|
1441
|
+
s.contains(t) ? d.current = t : Xn(d.current, { select: !0 });
|
|
1442
1442
|
}, t = function(e) {
|
|
1443
1443
|
if (p.paused || !s) return;
|
|
1444
1444
|
let t = e.relatedTarget;
|
|
1445
|
-
t !== null && (s.contains(t) ||
|
|
1445
|
+
t !== null && (s.contains(t) || Xn(d.current, { select: !0 }));
|
|
1446
1446
|
}, n = function(e) {
|
|
1447
|
-
if (document.activeElement === document.body) for (let t of e) t.removedNodes.length > 0 &&
|
|
1447
|
+
if (document.activeElement === document.body) for (let t of e) t.removedNodes.length > 0 && Xn(s);
|
|
1448
1448
|
};
|
|
1449
1449
|
document.addEventListener("focusin", e), document.addEventListener("focusout", t);
|
|
1450
1450
|
let r = new MutationObserver(n);
|
|
@@ -1459,18 +1459,18 @@ var Bn = "focusScope.autoFocusOnMount", Vn = "focusScope.autoFocusOnUnmount", Hn
|
|
|
1459
1459
|
r,
|
|
1460
1460
|
s,
|
|
1461
1461
|
p.paused
|
|
1462
|
-
]),
|
|
1462
|
+
]), F.useEffect(() => {
|
|
1463
1463
|
if (s) {
|
|
1464
|
-
|
|
1464
|
+
Zn.add(p);
|
|
1465
1465
|
let e = document.activeElement;
|
|
1466
1466
|
if (!s.contains(e)) {
|
|
1467
|
-
let t = new CustomEvent(
|
|
1468
|
-
s.addEventListener(
|
|
1467
|
+
let t = new CustomEvent(zn, Vn);
|
|
1468
|
+
s.addEventListener(zn, l), s.dispatchEvent(t), t.defaultPrevented || (Wn(er(Kn(s)), { select: !0 }), document.activeElement === e && Xn(s));
|
|
1469
1469
|
}
|
|
1470
1470
|
return () => {
|
|
1471
|
-
s.removeEventListener(
|
|
1472
|
-
let t = new CustomEvent(
|
|
1473
|
-
s.addEventListener(
|
|
1471
|
+
s.removeEventListener(zn, l), setTimeout(() => {
|
|
1472
|
+
let t = new CustomEvent(Bn, Vn);
|
|
1473
|
+
s.addEventListener(Bn, u), s.dispatchEvent(t), t.defaultPrevented || Xn(e ?? document.body, { select: !0 }), s.removeEventListener(Bn, u), Zn.remove(p);
|
|
1474
1474
|
}, 0);
|
|
1475
1475
|
};
|
|
1476
1476
|
}
|
|
@@ -1480,35 +1480,35 @@ var Bn = "focusScope.autoFocusOnMount", Vn = "focusScope.autoFocusOnUnmount", Hn
|
|
|
1480
1480
|
u,
|
|
1481
1481
|
p
|
|
1482
1482
|
]);
|
|
1483
|
-
let m =
|
|
1483
|
+
let m = F.useCallback((e) => {
|
|
1484
1484
|
if (!n && !r || p.paused) return;
|
|
1485
1485
|
let t = e.key === "Tab" && !e.altKey && !e.ctrlKey && !e.metaKey, i = document.activeElement;
|
|
1486
1486
|
if (t && i) {
|
|
1487
|
-
let t = e.currentTarget, [r, a] =
|
|
1488
|
-
r && a ? !e.shiftKey && i === a ? (e.preventDefault(), n &&
|
|
1487
|
+
let t = e.currentTarget, [r, a] = Gn(t);
|
|
1488
|
+
r && a ? !e.shiftKey && i === a ? (e.preventDefault(), n && Xn(r, { select: !0 })) : e.shiftKey && i === r && (e.preventDefault(), n && Xn(a, { select: !0 })) : i === t && e.preventDefault();
|
|
1489
1489
|
}
|
|
1490
1490
|
}, [
|
|
1491
1491
|
n,
|
|
1492
1492
|
r,
|
|
1493
1493
|
p.paused
|
|
1494
1494
|
]);
|
|
1495
|
-
return /* @__PURE__ */ (0,
|
|
1495
|
+
return /* @__PURE__ */ (0, I.jsx)(H.div, {
|
|
1496
1496
|
tabIndex: -1,
|
|
1497
1497
|
...o,
|
|
1498
1498
|
ref: f,
|
|
1499
1499
|
onKeyDown: m
|
|
1500
1500
|
});
|
|
1501
1501
|
});
|
|
1502
|
-
|
|
1503
|
-
function
|
|
1502
|
+
Un.displayName = Hn;
|
|
1503
|
+
function Wn(e, { select: t = !1 } = {}) {
|
|
1504
1504
|
let n = document.activeElement;
|
|
1505
|
-
for (let r of e) if (
|
|
1505
|
+
for (let r of e) if (Xn(r, { select: t }), document.activeElement !== n) return;
|
|
1506
1506
|
}
|
|
1507
|
-
function
|
|
1508
|
-
let t =
|
|
1509
|
-
return [
|
|
1507
|
+
function Gn(e) {
|
|
1508
|
+
let t = Kn(e);
|
|
1509
|
+
return [qn(t, e), qn(t.reverse(), e)];
|
|
1510
1510
|
}
|
|
1511
|
-
function
|
|
1511
|
+
function Kn(e) {
|
|
1512
1512
|
let t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, { acceptNode: (e) => {
|
|
1513
1513
|
let t = e.tagName === "INPUT" && e.type === "hidden";
|
|
1514
1514
|
return e.disabled || e.hidden || t ? NodeFilter.FILTER_SKIP : e.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
|
|
@@ -1516,10 +1516,10 @@ function qn(e) {
|
|
|
1516
1516
|
for (; n.nextNode();) t.push(n.currentNode);
|
|
1517
1517
|
return t;
|
|
1518
1518
|
}
|
|
1519
|
-
function
|
|
1520
|
-
for (let n of e) if (!
|
|
1519
|
+
function qn(e, t) {
|
|
1520
|
+
for (let n of e) if (!Jn(n, { upTo: t })) return n;
|
|
1521
1521
|
}
|
|
1522
|
-
function
|
|
1522
|
+
function Jn(e, { upTo: t }) {
|
|
1523
1523
|
if (getComputedStyle(e).visibility === "hidden") return !0;
|
|
1524
1524
|
for (; e;) {
|
|
1525
1525
|
if (t !== void 0 && e === t) return !1;
|
|
@@ -1528,41 +1528,41 @@ function Yn(e, { upTo: t }) {
|
|
|
1528
1528
|
}
|
|
1529
1529
|
return !1;
|
|
1530
1530
|
}
|
|
1531
|
-
function
|
|
1531
|
+
function Yn(e) {
|
|
1532
1532
|
return e instanceof HTMLInputElement && "select" in e;
|
|
1533
1533
|
}
|
|
1534
|
-
function
|
|
1534
|
+
function Xn(e, { select: t = !1 } = {}) {
|
|
1535
1535
|
if (e && e.focus) {
|
|
1536
1536
|
let n = document.activeElement;
|
|
1537
|
-
e.focus({ preventScroll: !0 }), e !== n &&
|
|
1537
|
+
e.focus({ preventScroll: !0 }), e !== n && Yn(e) && t && e.select();
|
|
1538
1538
|
}
|
|
1539
1539
|
}
|
|
1540
|
-
var
|
|
1541
|
-
function
|
|
1540
|
+
var Zn = Qn();
|
|
1541
|
+
function Qn() {
|
|
1542
1542
|
let e = [];
|
|
1543
1543
|
return {
|
|
1544
1544
|
add(t) {
|
|
1545
1545
|
let n = e[0];
|
|
1546
|
-
t !== n && n?.pause(), e =
|
|
1546
|
+
t !== n && n?.pause(), e = $n(e, t), e.unshift(t);
|
|
1547
1547
|
},
|
|
1548
1548
|
remove(t) {
|
|
1549
|
-
e =
|
|
1549
|
+
e = $n(e, t), e[0]?.resume();
|
|
1550
1550
|
}
|
|
1551
1551
|
};
|
|
1552
1552
|
}
|
|
1553
|
-
function
|
|
1553
|
+
function $n(e, t) {
|
|
1554
1554
|
let n = [...e], r = n.indexOf(t);
|
|
1555
1555
|
return r !== -1 && n.splice(r, 1), n;
|
|
1556
1556
|
}
|
|
1557
|
-
function
|
|
1557
|
+
function er(e) {
|
|
1558
1558
|
return e.filter((e) => e.tagName !== "A");
|
|
1559
1559
|
}
|
|
1560
1560
|
//#endregion
|
|
1561
1561
|
//#region ../node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
|
|
1562
|
-
var
|
|
1562
|
+
var tr = globalThis?.document ? F.useLayoutEffect : () => {}, nr = F.useId || (() => void 0), rr = 0;
|
|
1563
1563
|
function ir(e) {
|
|
1564
|
-
let [t, n] =
|
|
1565
|
-
return
|
|
1564
|
+
let [t, n] = F.useState(nr());
|
|
1565
|
+
return tr(() => {
|
|
1566
1566
|
e || n((e) => e ?? String(rr++));
|
|
1567
1567
|
}, [e]), e || (t ? `radix-${t}` : "");
|
|
1568
1568
|
}
|
|
@@ -1796,15 +1796,15 @@ var Ar = 50, jr = async (e, t, n) => {
|
|
|
1796
1796
|
y: r
|
|
1797
1797
|
}, p = mr(i), m = pr(p), h = await o.getDimensions(l), g = p === "y", _ = g ? "top" : "left", v = g ? "bottom" : "right", y = g ? "clientHeight" : "clientWidth", b = a.reference[m] + a.reference[p] - f[p] - a.floating[m], x = f[p] - a.reference[p], S = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(l)), C = S ? S[y] : 0;
|
|
1798
1798
|
(!C || !await (o.isElement == null ? void 0 : o.isElement(S))) && (C = s.floating[y] || a.floating[m]);
|
|
1799
|
-
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1, ee = or(d[_], T), te = or(d[v], T), E = ee, D = C - h[m] - te, O = C / 2 - h[m] / 2 + w,
|
|
1799
|
+
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1, ee = or(d[_], T), te = or(d[v], T), E = ee, D = C - h[m] - te, O = C / 2 - h[m] / 2 + w, k = ur(E, O, D), A = !c.arrow && dr(i) != null && O !== k && a.reference[m] / 2 - (O < E ? ee : te) - h[m] / 2 < 0, j = A ? O < E ? O - E : O - D : 0;
|
|
1800
1800
|
return {
|
|
1801
|
-
[p]: f[p] +
|
|
1801
|
+
[p]: f[p] + j,
|
|
1802
1802
|
data: {
|
|
1803
|
-
[p]:
|
|
1804
|
-
centerOffset: O -
|
|
1805
|
-
...
|
|
1803
|
+
[p]: k,
|
|
1804
|
+
centerOffset: O - k - j,
|
|
1805
|
+
...A && { alignmentOffset: j }
|
|
1806
1806
|
},
|
|
1807
|
-
reset:
|
|
1807
|
+
reset: A
|
|
1808
1808
|
};
|
|
1809
1809
|
}
|
|
1810
1810
|
}), Nr = function(e) {
|
|
@@ -2447,7 +2447,7 @@ var zi = zr, Bi = Br, Vi = Nr, Hi = Hr, Ui = Ir, Wi = Mr, Gi = Vr, Ki = (e, t, n
|
|
|
2447
2447
|
...i,
|
|
2448
2448
|
platform: a
|
|
2449
2449
|
});
|
|
2450
|
-
}, qi = typeof document < "u" ?
|
|
2450
|
+
}, qi = typeof document < "u" ? F.useLayoutEffect : function() {};
|
|
2451
2451
|
function Ji(e, t) {
|
|
2452
2452
|
if (e === t) return !0;
|
|
2453
2453
|
if (typeof e != typeof t) return !1;
|
|
@@ -2477,27 +2477,27 @@ function Xi(e, t) {
|
|
|
2477
2477
|
return Math.round(t * n) / n;
|
|
2478
2478
|
}
|
|
2479
2479
|
function Zi(e) {
|
|
2480
|
-
let t =
|
|
2480
|
+
let t = F.useRef(e);
|
|
2481
2481
|
return qi(() => {
|
|
2482
2482
|
t.current = e;
|
|
2483
2483
|
}), t;
|
|
2484
2484
|
}
|
|
2485
2485
|
function Qi(e) {
|
|
2486
2486
|
e === void 0 && (e = {});
|
|
2487
|
-
let { placement: t = "bottom", strategy: n = "absolute", middleware: r = [], platform: i, elements: { reference: a, floating: o } = {}, transform: s = !0, whileElementsMounted: c, open: l } = e, [u, d] =
|
|
2487
|
+
let { placement: t = "bottom", strategy: n = "absolute", middleware: r = [], platform: i, elements: { reference: a, floating: o } = {}, transform: s = !0, whileElementsMounted: c, open: l } = e, [u, d] = F.useState({
|
|
2488
2488
|
x: 0,
|
|
2489
2489
|
y: 0,
|
|
2490
2490
|
strategy: n,
|
|
2491
2491
|
placement: t,
|
|
2492
2492
|
middlewareData: {},
|
|
2493
2493
|
isPositioned: !1
|
|
2494
|
-
}), [f, p] =
|
|
2494
|
+
}), [f, p] = F.useState(r);
|
|
2495
2495
|
Ji(f, r) || p(r);
|
|
2496
|
-
let [m, h] =
|
|
2496
|
+
let [m, h] = F.useState(null), [g, _] = F.useState(null), v = F.useCallback((e) => {
|
|
2497
2497
|
e !== S.current && (S.current = e, h(e));
|
|
2498
|
-
}, []), y =
|
|
2498
|
+
}, []), y = F.useCallback((e) => {
|
|
2499
2499
|
e !== C.current && (C.current = e, _(e));
|
|
2500
|
-
}, []), b = a || m, x = o || g, S =
|
|
2500
|
+
}, []), b = a || m, x = o || g, S = F.useRef(null), C = F.useRef(null), w = F.useRef(u), T = c != null, ee = Zi(c), te = Zi(i), E = Zi(l), D = F.useCallback(() => {
|
|
2501
2501
|
if (!S.current || !C.current) return;
|
|
2502
2502
|
let e = {
|
|
2503
2503
|
placement: t,
|
|
@@ -2509,7 +2509,7 @@ function Qi(e) {
|
|
|
2509
2509
|
...e,
|
|
2510
2510
|
isPositioned: E.current !== !1
|
|
2511
2511
|
};
|
|
2512
|
-
O.current && !Ji(w.current, t) && (w.current = t,
|
|
2512
|
+
O.current && !Ji(w.current, t) && (w.current = t, ut.flushSync(() => {
|
|
2513
2513
|
d(t);
|
|
2514
2514
|
}));
|
|
2515
2515
|
});
|
|
@@ -2526,7 +2526,7 @@ function Qi(e) {
|
|
|
2526
2526
|
isPositioned: !1
|
|
2527
2527
|
})));
|
|
2528
2528
|
}, [l]);
|
|
2529
|
-
let O =
|
|
2529
|
+
let O = F.useRef(!1);
|
|
2530
2530
|
qi(() => (O.current = !0, () => {
|
|
2531
2531
|
O.current = !1;
|
|
2532
2532
|
}), []), qi(() => {
|
|
@@ -2541,26 +2541,26 @@ function Qi(e) {
|
|
|
2541
2541
|
ee,
|
|
2542
2542
|
T
|
|
2543
2543
|
]);
|
|
2544
|
-
let
|
|
2544
|
+
let k = F.useMemo(() => ({
|
|
2545
2545
|
reference: S,
|
|
2546
2546
|
floating: C,
|
|
2547
2547
|
setReference: v,
|
|
2548
2548
|
setFloating: y
|
|
2549
|
-
}), [v, y]),
|
|
2549
|
+
}), [v, y]), A = F.useMemo(() => ({
|
|
2550
2550
|
reference: b,
|
|
2551
2551
|
floating: x
|
|
2552
|
-
}), [b, x]),
|
|
2552
|
+
}), [b, x]), j = F.useMemo(() => {
|
|
2553
2553
|
let e = {
|
|
2554
2554
|
position: n,
|
|
2555
2555
|
left: 0,
|
|
2556
2556
|
top: 0
|
|
2557
2557
|
};
|
|
2558
|
-
if (!
|
|
2559
|
-
let t = Xi(
|
|
2558
|
+
if (!A.floating) return e;
|
|
2559
|
+
let t = Xi(A.floating, u.x), r = Xi(A.floating, u.y);
|
|
2560
2560
|
return s ? {
|
|
2561
2561
|
...e,
|
|
2562
2562
|
transform: "translate(" + t + "px, " + r + "px)",
|
|
2563
|
-
...Yi(
|
|
2563
|
+
...Yi(A.floating) >= 1.5 && { willChange: "transform" }
|
|
2564
2564
|
} : {
|
|
2565
2565
|
position: n,
|
|
2566
2566
|
left: t,
|
|
@@ -2569,22 +2569,22 @@ function Qi(e) {
|
|
|
2569
2569
|
}, [
|
|
2570
2570
|
n,
|
|
2571
2571
|
s,
|
|
2572
|
-
|
|
2572
|
+
A.floating,
|
|
2573
2573
|
u.x,
|
|
2574
2574
|
u.y
|
|
2575
2575
|
]);
|
|
2576
|
-
return
|
|
2576
|
+
return F.useMemo(() => ({
|
|
2577
2577
|
...u,
|
|
2578
2578
|
update: D,
|
|
2579
|
-
refs:
|
|
2580
|
-
elements:
|
|
2581
|
-
floatingStyles:
|
|
2579
|
+
refs: k,
|
|
2580
|
+
elements: A,
|
|
2581
|
+
floatingStyles: j
|
|
2582
2582
|
}), [
|
|
2583
2583
|
u,
|
|
2584
2584
|
D,
|
|
2585
|
-
ne,
|
|
2586
2585
|
k,
|
|
2587
|
-
A
|
|
2586
|
+
A,
|
|
2587
|
+
j
|
|
2588
2588
|
]);
|
|
2589
2589
|
}
|
|
2590
2590
|
var $i = (e) => {
|
|
@@ -2650,16 +2650,16 @@ var $i = (e) => {
|
|
|
2650
2650
|
fn: n.fn,
|
|
2651
2651
|
options: [e, t]
|
|
2652
2652
|
};
|
|
2653
|
-
}, sa = "Arrow", ca =
|
|
2653
|
+
}, sa = "Arrow", ca = F.forwardRef((e, t) => {
|
|
2654
2654
|
let { children: n, width: r = 10, height: i = 5, ...a } = e;
|
|
2655
|
-
return /* @__PURE__ */ (0,
|
|
2655
|
+
return /* @__PURE__ */ (0, I.jsx)(H.svg, {
|
|
2656
2656
|
...a,
|
|
2657
2657
|
ref: t,
|
|
2658
2658
|
width: r,
|
|
2659
2659
|
height: i,
|
|
2660
2660
|
viewBox: "0 0 30 10",
|
|
2661
2661
|
preserveAspectRatio: "none",
|
|
2662
|
-
children: e.asChild ? n : /* @__PURE__ */ (0,
|
|
2662
|
+
children: e.asChild ? n : /* @__PURE__ */ (0, I.jsx)("polygon", { points: "0,0 30,0 15,10" })
|
|
2663
2663
|
});
|
|
2664
2664
|
});
|
|
2665
2665
|
ca.displayName = sa;
|
|
@@ -2667,8 +2667,8 @@ var la = ca;
|
|
|
2667
2667
|
//#endregion
|
|
2668
2668
|
//#region ../node_modules/@radix-ui/react-use-size/dist/index.mjs
|
|
2669
2669
|
function ua(e) {
|
|
2670
|
-
let [t, n] =
|
|
2671
|
-
return
|
|
2670
|
+
let [t, n] = F.useState(void 0);
|
|
2671
|
+
return tr(() => {
|
|
2672
2672
|
if (e) {
|
|
2673
2673
|
n({
|
|
2674
2674
|
width: e.offsetWidth,
|
|
@@ -2692,9 +2692,9 @@ function ua(e) {
|
|
|
2692
2692
|
}
|
|
2693
2693
|
//#endregion
|
|
2694
2694
|
//#region ../node_modules/@radix-ui/react-popper/dist/index.mjs
|
|
2695
|
-
var da = "Popper", [fa, pa] =
|
|
2696
|
-
let { __scopePopper: t, children: n } = e, [r, i] =
|
|
2697
|
-
return /* @__PURE__ */ (0,
|
|
2695
|
+
var da = "Popper", [fa, pa] = fn(da), [ma, ha] = fa(da), ga = (e) => {
|
|
2696
|
+
let { __scopePopper: t, children: n } = e, [r, i] = F.useState(null);
|
|
2697
|
+
return /* @__PURE__ */ (0, I.jsx)(ma, {
|
|
2698
2698
|
scope: t,
|
|
2699
2699
|
anchor: r,
|
|
2700
2700
|
onAnchorChange: i,
|
|
@@ -2702,19 +2702,19 @@ var da = "Popper", [fa, pa] = pn(da), [ma, ha] = fa(da), ga = (e) => {
|
|
|
2702
2702
|
});
|
|
2703
2703
|
};
|
|
2704
2704
|
ga.displayName = da;
|
|
2705
|
-
var _a = "PopperAnchor", va =
|
|
2706
|
-
let { __scopePopper: n, virtualRef: r, ...i } = e, a = ha(_a, n), o =
|
|
2707
|
-
return
|
|
2705
|
+
var _a = "PopperAnchor", va = F.forwardRef((e, t) => {
|
|
2706
|
+
let { __scopePopper: n, virtualRef: r, ...i } = e, a = ha(_a, n), o = F.useRef(null), s = V(t, o), c = F.useRef(null);
|
|
2707
|
+
return F.useEffect(() => {
|
|
2708
2708
|
let e = c.current;
|
|
2709
2709
|
c.current = r?.current || o.current, e !== c.current && a.onAnchorChange(c.current);
|
|
2710
|
-
}), r ? null : /* @__PURE__ */ (0,
|
|
2710
|
+
}), r ? null : /* @__PURE__ */ (0, I.jsx)(H.div, {
|
|
2711
2711
|
...i,
|
|
2712
2712
|
ref: s
|
|
2713
2713
|
});
|
|
2714
2714
|
});
|
|
2715
2715
|
va.displayName = _a;
|
|
2716
|
-
var ya = "PopperContent", [ba, xa] = fa(ya), Sa =
|
|
2717
|
-
let { __scopePopper: n, side: r = "bottom", sideOffset: i = 0, align: a = "center", alignOffset: o = 0, arrowPadding: s = 0, avoidCollisions: c = !0, collisionBoundary: l = [], collisionPadding: u = 0, sticky: d = "partial", hideWhenDetached: f = !1, updatePositionStrategy: p = "optimized", onPlaced: m, ...h } = e, g = ha(ya, n), [_, v] =
|
|
2716
|
+
var ya = "PopperContent", [ba, xa] = fa(ya), Sa = F.forwardRef((e, t) => {
|
|
2717
|
+
let { __scopePopper: n, side: r = "bottom", sideOffset: i = 0, align: a = "center", alignOffset: o = 0, arrowPadding: s = 0, avoidCollisions: c = !0, collisionBoundary: l = [], collisionPadding: u = 0, sticky: d = "partial", hideWhenDetached: f = !1, updatePositionStrategy: p = "optimized", onPlaced: m, ...h } = e, g = ha(ya, n), [_, v] = F.useState(null), y = V(t, (e) => v(e)), [b, x] = F.useState(null), S = ua(b), C = S?.width ?? 0, w = S?.height ?? 0, T = r + (a === "center" ? "" : "-" + a), ee = typeof u == "number" ? u : {
|
|
2718
2718
|
top: 0,
|
|
2719
2719
|
right: 0,
|
|
2720
2720
|
bottom: 0,
|
|
@@ -2724,7 +2724,7 @@ var ya = "PopperContent", [ba, xa] = fa(ya), Sa = P.forwardRef((e, t) => {
|
|
|
2724
2724
|
padding: ee,
|
|
2725
2725
|
boundary: te.filter(Ea),
|
|
2726
2726
|
altBoundary: E
|
|
2727
|
-
}, { refs: O, floatingStyles:
|
|
2727
|
+
}, { refs: O, floatingStyles: k, placement: A, isPositioned: j, middlewareData: M } = Qi({
|
|
2728
2728
|
strategy: "fixed",
|
|
2729
2729
|
placement: T,
|
|
2730
2730
|
whileElementsMounted: (...e) => Ri(...e, { animationFrame: p === "always" }),
|
|
@@ -2761,43 +2761,43 @@ var ya = "PopperContent", [ba, xa] = fa(ya), Sa = P.forwardRef((e, t) => {
|
|
|
2761
2761
|
...D
|
|
2762
2762
|
})
|
|
2763
2763
|
]
|
|
2764
|
-
}), [
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
}, [
|
|
2768
|
-
let
|
|
2769
|
-
return
|
|
2770
|
-
_ &&
|
|
2771
|
-
}, [_]), /* @__PURE__ */ (0,
|
|
2764
|
+
}), [ne, re] = Oa(A), ie = xn(m);
|
|
2765
|
+
tr(() => {
|
|
2766
|
+
j && ie?.();
|
|
2767
|
+
}, [j, ie]);
|
|
2768
|
+
let N = M.arrow?.x, ae = M.arrow?.y, oe = M.arrow?.centerOffset !== 0, [se, ce] = F.useState();
|
|
2769
|
+
return tr(() => {
|
|
2770
|
+
_ && ce(window.getComputedStyle(_).zIndex);
|
|
2771
|
+
}, [_]), /* @__PURE__ */ (0, I.jsx)("div", {
|
|
2772
2772
|
ref: O.setFloating,
|
|
2773
2773
|
"data-radix-popper-content-wrapper": "",
|
|
2774
2774
|
style: {
|
|
2775
|
-
...
|
|
2776
|
-
transform:
|
|
2775
|
+
...k,
|
|
2776
|
+
transform: j ? k.transform : "translate(0, -200%)",
|
|
2777
2777
|
minWidth: "max-content",
|
|
2778
|
-
zIndex:
|
|
2779
|
-
"--radix-popper-transform-origin": [
|
|
2780
|
-
...
|
|
2778
|
+
zIndex: se,
|
|
2779
|
+
"--radix-popper-transform-origin": [M.transformOrigin?.x, M.transformOrigin?.y].join(" "),
|
|
2780
|
+
...M.hide?.referenceHidden && {
|
|
2781
2781
|
visibility: "hidden",
|
|
2782
2782
|
pointerEvents: "none"
|
|
2783
2783
|
}
|
|
2784
2784
|
},
|
|
2785
2785
|
dir: e.dir,
|
|
2786
|
-
children: /* @__PURE__ */ (0,
|
|
2786
|
+
children: /* @__PURE__ */ (0, I.jsx)(ba, {
|
|
2787
2787
|
scope: n,
|
|
2788
|
-
placedSide:
|
|
2788
|
+
placedSide: ne,
|
|
2789
2789
|
onArrowChange: x,
|
|
2790
|
-
arrowX:
|
|
2791
|
-
arrowY:
|
|
2792
|
-
shouldHideArrow:
|
|
2793
|
-
children: /* @__PURE__ */ (0,
|
|
2794
|
-
"data-side":
|
|
2795
|
-
"data-align":
|
|
2790
|
+
arrowX: N,
|
|
2791
|
+
arrowY: ae,
|
|
2792
|
+
shouldHideArrow: oe,
|
|
2793
|
+
children: /* @__PURE__ */ (0, I.jsx)(H.div, {
|
|
2794
|
+
"data-side": ne,
|
|
2795
|
+
"data-align": re,
|
|
2796
2796
|
...h,
|
|
2797
2797
|
ref: y,
|
|
2798
2798
|
style: {
|
|
2799
2799
|
...h.style,
|
|
2800
|
-
animation:
|
|
2800
|
+
animation: j ? void 0 : "none"
|
|
2801
2801
|
}
|
|
2802
2802
|
})
|
|
2803
2803
|
})
|
|
@@ -2809,9 +2809,9 @@ var Ca = "PopperArrow", wa = {
|
|
|
2809
2809
|
right: "left",
|
|
2810
2810
|
bottom: "top",
|
|
2811
2811
|
left: "right"
|
|
2812
|
-
}, Ta =
|
|
2812
|
+
}, Ta = F.forwardRef(function(e, t) {
|
|
2813
2813
|
let { __scopePopper: n, ...r } = e, i = xa(Ca, n), a = wa[i.placedSide];
|
|
2814
|
-
return /* @__PURE__ */ (0,
|
|
2814
|
+
return /* @__PURE__ */ (0, I.jsx)("span", {
|
|
2815
2815
|
ref: i.onArrowChange,
|
|
2816
2816
|
style: {
|
|
2817
2817
|
position: "absolute",
|
|
@@ -2832,7 +2832,7 @@ var Ca = "PopperArrow", wa = {
|
|
|
2832
2832
|
}[i.placedSide],
|
|
2833
2833
|
visibility: i.shouldHideArrow ? "hidden" : void 0
|
|
2834
2834
|
},
|
|
2835
|
-
children: /* @__PURE__ */ (0,
|
|
2835
|
+
children: /* @__PURE__ */ (0, I.jsx)(la, {
|
|
2836
2836
|
...r,
|
|
2837
2837
|
ref: t,
|
|
2838
2838
|
style: {
|
|
@@ -2865,11 +2865,11 @@ function Oa(e) {
|
|
|
2865
2865
|
let [t, n = "center"] = e.split("-");
|
|
2866
2866
|
return [t, n];
|
|
2867
2867
|
}
|
|
2868
|
-
var ka = ga, Aa = va, ja = Sa, Ma = Ta, Na = "Portal", Pa =
|
|
2869
|
-
let { container: n, ...r } = e, [i, a] =
|
|
2870
|
-
|
|
2868
|
+
var ka = ga, Aa = va, ja = Sa, Ma = Ta, Na = "Portal", Pa = F.forwardRef((e, t) => {
|
|
2869
|
+
let { container: n, ...r } = e, [i, a] = F.useState(!1);
|
|
2870
|
+
tr(() => a(!0), []);
|
|
2871
2871
|
let o = n || i && globalThis?.document?.body;
|
|
2872
|
-
return o ?
|
|
2872
|
+
return o ? ut.createPortal(/* @__PURE__ */ (0, I.jsx)(H.div, {
|
|
2873
2873
|
...r,
|
|
2874
2874
|
ref: t
|
|
2875
2875
|
}), o) : null;
|
|
@@ -2878,15 +2878,15 @@ Pa.displayName = Na;
|
|
|
2878
2878
|
//#endregion
|
|
2879
2879
|
//#region ../node_modules/@radix-ui/react-presence/dist/index.mjs
|
|
2880
2880
|
function Fa(e, t) {
|
|
2881
|
-
return
|
|
2881
|
+
return F.useReducer((e, n) => t[e][n] ?? e, e);
|
|
2882
2882
|
}
|
|
2883
2883
|
var Ia = (e) => {
|
|
2884
|
-
let { present: t, children: n } = e, r = La(t), i = typeof n == "function" ? n({ present: r.isPresent }) :
|
|
2885
|
-
return typeof n == "function" || r.isPresent ?
|
|
2884
|
+
let { present: t, children: n } = e, r = La(t), i = typeof n == "function" ? n({ present: r.isPresent }) : F.Children.only(n), a = V(r.ref, za(i));
|
|
2885
|
+
return typeof n == "function" || r.isPresent ? F.cloneElement(i, { ref: a }) : null;
|
|
2886
2886
|
};
|
|
2887
2887
|
Ia.displayName = "Presence";
|
|
2888
2888
|
function La(e) {
|
|
2889
|
-
let [t, n] =
|
|
2889
|
+
let [t, n] = F.useState(), r = F.useRef(null), i = F.useRef(e), a = F.useRef("none"), [o, s] = Fa(e ? "mounted" : "unmounted", {
|
|
2890
2890
|
mounted: {
|
|
2891
2891
|
UNMOUNT: "unmounted",
|
|
2892
2892
|
ANIMATION_OUT: "unmountSuspended"
|
|
@@ -2897,16 +2897,16 @@ function La(e) {
|
|
|
2897
2897
|
},
|
|
2898
2898
|
unmounted: { MOUNT: "mounted" }
|
|
2899
2899
|
});
|
|
2900
|
-
return
|
|
2900
|
+
return F.useEffect(() => {
|
|
2901
2901
|
let e = Ra(r.current);
|
|
2902
2902
|
a.current = o === "mounted" ? e : "none";
|
|
2903
|
-
}, [o]),
|
|
2903
|
+
}, [o]), tr(() => {
|
|
2904
2904
|
let t = r.current, n = i.current;
|
|
2905
2905
|
if (n !== e) {
|
|
2906
2906
|
let r = a.current, o = Ra(t);
|
|
2907
2907
|
e ? s("MOUNT") : o === "none" || t?.display === "none" ? s("UNMOUNT") : s(n && r !== o ? "ANIMATION_OUT" : "UNMOUNT"), i.current = e;
|
|
2908
2908
|
}
|
|
2909
|
-
}, [e, s]),
|
|
2909
|
+
}, [e, s]), tr(() => {
|
|
2910
2910
|
if (t) {
|
|
2911
2911
|
let e, n = t.ownerDocument.defaultView ?? window, o = (a) => {
|
|
2912
2912
|
let o = Ra(r.current).includes(CSS.escape(a.animationName));
|
|
@@ -2925,7 +2925,7 @@ function La(e) {
|
|
|
2925
2925
|
} else s("ANIMATION_END");
|
|
2926
2926
|
}, [t, s]), {
|
|
2927
2927
|
isPresent: ["mounted", "unmountSuspended"].includes(o),
|
|
2928
|
-
ref:
|
|
2928
|
+
ref: F.useCallback((e) => {
|
|
2929
2929
|
r.current = e ? getComputedStyle(e) : null, n(e);
|
|
2930
2930
|
}, [])
|
|
2931
2931
|
};
|
|
@@ -2939,20 +2939,20 @@ function za(e) {
|
|
|
2939
2939
|
}
|
|
2940
2940
|
//#endregion
|
|
2941
2941
|
//#region ../node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
|
|
2942
|
-
var Ba =
|
|
2942
|
+
var Ba = F.useInsertionEffect || tr;
|
|
2943
2943
|
function Va({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
2944
2944
|
let [i, a, o] = Ha({
|
|
2945
2945
|
defaultProp: t,
|
|
2946
2946
|
onChange: n
|
|
2947
2947
|
}), s = e !== void 0, c = s ? e : i;
|
|
2948
2948
|
{
|
|
2949
|
-
let t =
|
|
2950
|
-
|
|
2949
|
+
let t = F.useRef(e !== void 0);
|
|
2950
|
+
F.useEffect(() => {
|
|
2951
2951
|
let e = t.current;
|
|
2952
2952
|
e !== s && console.warn(`${r} is changing from ${e ? "controlled" : "uncontrolled"} to ${s ? "controlled" : "uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`), t.current = s;
|
|
2953
2953
|
}, [s, r]);
|
|
2954
2954
|
}
|
|
2955
|
-
return [c,
|
|
2955
|
+
return [c, F.useCallback((t) => {
|
|
2956
2956
|
if (s) {
|
|
2957
2957
|
let n = Ua(t) ? t(e) : t;
|
|
2958
2958
|
n !== e && o.current?.(n);
|
|
@@ -2965,10 +2965,10 @@ function Va({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
|
2965
2965
|
])];
|
|
2966
2966
|
}
|
|
2967
2967
|
function Ha({ defaultProp: e, onChange: t }) {
|
|
2968
|
-
let [n, r] =
|
|
2968
|
+
let [n, r] = F.useState(e), i = F.useRef(n), a = F.useRef(t);
|
|
2969
2969
|
return Ba(() => {
|
|
2970
2970
|
a.current = t;
|
|
2971
|
-
}, [t]),
|
|
2971
|
+
}, [t]), F.useEffect(() => {
|
|
2972
2972
|
i.current !== n && (a.current?.(n), i.current = n);
|
|
2973
2973
|
}, [n, i]), [
|
|
2974
2974
|
n,
|
|
@@ -3168,7 +3168,7 @@ function lo(e, t) {
|
|
|
3168
3168
|
//#endregion
|
|
3169
3169
|
//#region ../node_modules/use-callback-ref/dist/es2015/useRef.js
|
|
3170
3170
|
function uo(e, t) {
|
|
3171
|
-
var n = (0,
|
|
3171
|
+
var n = (0, F.useState)(function() {
|
|
3172
3172
|
return {
|
|
3173
3173
|
value: e,
|
|
3174
3174
|
callback: t,
|
|
@@ -3187,7 +3187,7 @@ function uo(e, t) {
|
|
|
3187
3187
|
}
|
|
3188
3188
|
//#endregion
|
|
3189
3189
|
//#region ../node_modules/use-callback-ref/dist/es2015/useMergeRef.js
|
|
3190
|
-
var fo = typeof window < "u" ?
|
|
3190
|
+
var fo = typeof window < "u" ? F.useLayoutEffect : F.useEffect, po = /* @__PURE__ */ new WeakMap();
|
|
3191
3191
|
function mo(e, t) {
|
|
3192
3192
|
var n = uo(t || null, function(t) {
|
|
3193
3193
|
return e.forEach(function(e) {
|
|
@@ -3281,7 +3281,7 @@ var vo = function(e) {
|
|
|
3281
3281
|
if (!t) throw Error("Sidecar: please provide `sideCar` property to import the right car");
|
|
3282
3282
|
var r = t.read();
|
|
3283
3283
|
if (!r) throw Error("Sidecar medium not found");
|
|
3284
|
-
return
|
|
3284
|
+
return F.createElement(r, $({}, n));
|
|
3285
3285
|
};
|
|
3286
3286
|
vo.isSideCarExport = !0;
|
|
3287
3287
|
function yo(e, t) {
|
|
@@ -3289,8 +3289,8 @@ function yo(e, t) {
|
|
|
3289
3289
|
}
|
|
3290
3290
|
//#endregion
|
|
3291
3291
|
//#region ../node_modules/react-remove-scroll/dist/es2015/medium.js
|
|
3292
|
-
var bo = _o(), xo = function() {}, So =
|
|
3293
|
-
var n =
|
|
3292
|
+
var bo = _o(), xo = function() {}, So = F.forwardRef(function(e, t) {
|
|
3293
|
+
var n = F.useRef(null), r = F.useState({
|
|
3294
3294
|
onScrollCapture: xo,
|
|
3295
3295
|
onWheelCapture: xo,
|
|
3296
3296
|
onTouchMoveCapture: xo
|
|
@@ -3309,7 +3309,7 @@ var bo = _o(), xo = function() {}, So = P.forwardRef(function(e, t) {
|
|
|
3309
3309
|
"as",
|
|
3310
3310
|
"gapMode"
|
|
3311
3311
|
]), x = f, S = mo([n, t]), C = $($({}, b), i);
|
|
3312
|
-
return
|
|
3312
|
+
return F.createElement(F.Fragment, null, u && F.createElement(x, {
|
|
3313
3313
|
sideCar: bo,
|
|
3314
3314
|
removeScrollBar: l,
|
|
3315
3315
|
shards: d,
|
|
@@ -3320,7 +3320,7 @@ var bo = _o(), xo = function() {}, So = P.forwardRef(function(e, t) {
|
|
|
3320
3320
|
allowPinchZoom: !!g,
|
|
3321
3321
|
lockRef: n,
|
|
3322
3322
|
gapMode: y
|
|
3323
|
-
}), o ?
|
|
3323
|
+
}), o ? F.cloneElement(F.Children.only(s), $($({}, C), { ref: S })) : F.createElement(v, $({}, C, {
|
|
3324
3324
|
className: c,
|
|
3325
3325
|
ref: S
|
|
3326
3326
|
}), s));
|
|
@@ -3367,7 +3367,7 @@ var Oo = function() {
|
|
|
3367
3367
|
}, ko = function() {
|
|
3368
3368
|
var e = Oo();
|
|
3369
3369
|
return function(t, n) {
|
|
3370
|
-
|
|
3370
|
+
F.useEffect(function() {
|
|
3371
3371
|
return e.add(t), function() {
|
|
3372
3372
|
e.remove();
|
|
3373
3373
|
};
|
|
@@ -3450,7 +3450,7 @@ var Oo = function() {
|
|
|
3450
3450
|
var e = parseInt(document.body.getAttribute("data-scroll-locked") || "0", 10);
|
|
3451
3451
|
return isFinite(e) ? e : 0;
|
|
3452
3452
|
}, zo = function() {
|
|
3453
|
-
|
|
3453
|
+
F.useEffect(function() {
|
|
3454
3454
|
return document.body.setAttribute(Io, (Ro() + 1).toString()), function() {
|
|
3455
3455
|
var e = Ro() - 1;
|
|
3456
3456
|
e <= 0 ? document.body.removeAttribute(Io) : document.body.setAttribute(Io, e.toString());
|
|
@@ -3459,10 +3459,10 @@ var Oo = function() {
|
|
|
3459
3459
|
}, Bo = function(e) {
|
|
3460
3460
|
var t = e.noRelative, n = e.noImportant, r = e.gapMode, i = r === void 0 ? "margin" : r;
|
|
3461
3461
|
zo();
|
|
3462
|
-
var a =
|
|
3462
|
+
var a = F.useMemo(function() {
|
|
3463
3463
|
return Po(i);
|
|
3464
3464
|
}, [i]);
|
|
3465
|
-
return
|
|
3465
|
+
return F.createElement(Fo, { styles: Lo(a, !t, i, n ? "" : "!important") });
|
|
3466
3466
|
}, Vo = !1;
|
|
3467
3467
|
if (typeof window < "u") try {
|
|
3468
3468
|
var Ho = Object.defineProperty({}, "passive", { get: function() {
|
|
@@ -3535,10 +3535,10 @@ var Uo = Vo ? { passive: !1 } : !1, Wo = function(e) {
|
|
|
3535
3535
|
`;
|
|
3536
3536
|
}, os = 0, ss = [];
|
|
3537
3537
|
function cs(e) {
|
|
3538
|
-
var t =
|
|
3539
|
-
|
|
3538
|
+
var t = F.useRef([]), n = F.useRef([0, 0]), r = F.useRef(), i = F.useState(os++)[0], a = F.useState(Ao)[0], o = F.useRef(e);
|
|
3539
|
+
F.useEffect(function() {
|
|
3540
3540
|
o.current = e;
|
|
3541
|
-
}, [e]),
|
|
3541
|
+
}, [e]), F.useEffect(function() {
|
|
3542
3542
|
if (e.inert) {
|
|
3543
3543
|
document.body.classList.add(`block-interactivity-${i}`);
|
|
3544
3544
|
var t = io([e.lockRef.current], (e.shards || []).map(rs), !0).filter(Boolean);
|
|
@@ -3555,7 +3555,7 @@ function cs(e) {
|
|
|
3555
3555
|
e.lockRef.current,
|
|
3556
3556
|
e.shards
|
|
3557
3557
|
]);
|
|
3558
|
-
var s =
|
|
3558
|
+
var s = F.useCallback(function(e, t) {
|
|
3559
3559
|
if ("touches" in e && e.touches.length === 2 || e.type === "wheel" && e.ctrlKey) return !o.current.allowPinchZoom;
|
|
3560
3560
|
var i = ts(e), a = n.current, s = "deltaX" in e ? e.deltaX : a[0] - i[0], c = "deltaY" in e ? e.deltaY : a[1] - i[1], l, u = e.target, d = Math.abs(s) > Math.abs(c) ? "h" : "v";
|
|
3561
3561
|
if ("touches" in e && d === "h" && u.type === "range") return !1;
|
|
@@ -3567,7 +3567,7 @@ function cs(e) {
|
|
|
3567
3567
|
if (!r.current && "changedTouches" in e && (s || c) && (r.current = l), !l) return !0;
|
|
3568
3568
|
var h = r.current || l;
|
|
3569
3569
|
return es(h, t, e, h === "h" ? s : c, !0);
|
|
3570
|
-
}, []), c =
|
|
3570
|
+
}, []), c = F.useCallback(function(e) {
|
|
3571
3571
|
var n = e;
|
|
3572
3572
|
if (!(!ss.length || ss[ss.length - 1] !== a)) {
|
|
3573
3573
|
var r = "deltaY" in n ? ns(n) : ts(n), i = t.current.filter(function(e) {
|
|
@@ -3584,7 +3584,7 @@ function cs(e) {
|
|
|
3584
3584
|
(c.length > 0 ? s(n, c[0]) : !o.current.noIsolation) && n.cancelable && n.preventDefault();
|
|
3585
3585
|
}
|
|
3586
3586
|
}
|
|
3587
|
-
}, []), l =
|
|
3587
|
+
}, []), l = F.useCallback(function(e, n, r, i) {
|
|
3588
3588
|
var a = {
|
|
3589
3589
|
name: e,
|
|
3590
3590
|
delta: n,
|
|
@@ -3597,14 +3597,14 @@ function cs(e) {
|
|
|
3597
3597
|
return e !== a;
|
|
3598
3598
|
});
|
|
3599
3599
|
}, 1);
|
|
3600
|
-
}, []), u =
|
|
3600
|
+
}, []), u = F.useCallback(function(e) {
|
|
3601
3601
|
n.current = ts(e), r.current = void 0;
|
|
3602
|
-
}, []), d =
|
|
3602
|
+
}, []), d = F.useCallback(function(t) {
|
|
3603
3603
|
l(t.type, ns(t), t.target, s(t, e.lockRef.current));
|
|
3604
|
-
}, []), f =
|
|
3604
|
+
}, []), f = F.useCallback(function(t) {
|
|
3605
3605
|
l(t.type, ts(t), t.target, s(t, e.lockRef.current));
|
|
3606
3606
|
}, []);
|
|
3607
|
-
|
|
3607
|
+
F.useEffect(function() {
|
|
3608
3608
|
return ss.push(a), e.setCallbacks({
|
|
3609
3609
|
onScrollCapture: d,
|
|
3610
3610
|
onWheelCapture: d,
|
|
@@ -3616,7 +3616,7 @@ function cs(e) {
|
|
|
3616
3616
|
};
|
|
3617
3617
|
}, []);
|
|
3618
3618
|
var p = e.removeScrollBar, m = e.inert;
|
|
3619
|
-
return
|
|
3619
|
+
return F.createElement(F.Fragment, null, m ? F.createElement(a, { styles: as(i) }) : null, p ? F.createElement(Bo, {
|
|
3620
3620
|
noRelative: e.noRelative,
|
|
3621
3621
|
gapMode: e.gapMode
|
|
3622
3622
|
}) : null);
|
|
@@ -3627,8 +3627,8 @@ function ls(e) {
|
|
|
3627
3627
|
}
|
|
3628
3628
|
//#endregion
|
|
3629
3629
|
//#region ../node_modules/react-remove-scroll/dist/es2015/sidecar.js
|
|
3630
|
-
var us = yo(bo, cs), ds =
|
|
3631
|
-
return
|
|
3630
|
+
var us = yo(bo, cs), ds = F.forwardRef(function(e, t) {
|
|
3631
|
+
return F.createElement(So, $({}, e, {
|
|
3632
3632
|
ref: t,
|
|
3633
3633
|
sideCar: us
|
|
3634
3634
|
}));
|
|
@@ -3636,42 +3636,42 @@ var us = yo(bo, cs), ds = P.forwardRef(function(e, t) {
|
|
|
3636
3636
|
ds.classNames = So.classNames;
|
|
3637
3637
|
//#endregion
|
|
3638
3638
|
//#region ../node_modules/@radix-ui/react-popover/dist/index.mjs
|
|
3639
|
-
var fs = "Popover", [ps, ms] =
|
|
3640
|
-
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, s = hs(t), c =
|
|
3639
|
+
var fs = "Popover", [ps, ms] = fn(fs, [pa]), hs = pa(), [gs, _s] = ps(fs), vs = (e) => {
|
|
3640
|
+
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, s = hs(t), c = F.useRef(null), [l, u] = F.useState(!1), [d, f] = Va({
|
|
3641
3641
|
prop: r,
|
|
3642
3642
|
defaultProp: i ?? !1,
|
|
3643
3643
|
onChange: a,
|
|
3644
3644
|
caller: fs
|
|
3645
3645
|
});
|
|
3646
|
-
return /* @__PURE__ */ (0,
|
|
3646
|
+
return /* @__PURE__ */ (0, I.jsx)(ka, {
|
|
3647
3647
|
...s,
|
|
3648
|
-
children: /* @__PURE__ */ (0,
|
|
3648
|
+
children: /* @__PURE__ */ (0, I.jsx)(gs, {
|
|
3649
3649
|
scope: t,
|
|
3650
3650
|
contentId: ir(),
|
|
3651
3651
|
triggerRef: c,
|
|
3652
3652
|
open: d,
|
|
3653
3653
|
onOpenChange: f,
|
|
3654
|
-
onOpenToggle:
|
|
3654
|
+
onOpenToggle: F.useCallback(() => f((e) => !e), [f]),
|
|
3655
3655
|
hasCustomAnchor: l,
|
|
3656
|
-
onCustomAnchorAdd:
|
|
3657
|
-
onCustomAnchorRemove:
|
|
3656
|
+
onCustomAnchorAdd: F.useCallback(() => u(!0), []),
|
|
3657
|
+
onCustomAnchorRemove: F.useCallback(() => u(!1), []),
|
|
3658
3658
|
modal: o,
|
|
3659
3659
|
children: n
|
|
3660
3660
|
})
|
|
3661
3661
|
});
|
|
3662
3662
|
};
|
|
3663
3663
|
vs.displayName = fs;
|
|
3664
|
-
var ys = "PopoverAnchor", bs =
|
|
3664
|
+
var ys = "PopoverAnchor", bs = F.forwardRef((e, t) => {
|
|
3665
3665
|
let { __scopePopover: n, ...r } = e, i = _s(ys, n), a = hs(n), { onCustomAnchorAdd: o, onCustomAnchorRemove: s } = i;
|
|
3666
|
-
return
|
|
3666
|
+
return F.useEffect(() => (o(), () => s()), [o, s]), /* @__PURE__ */ (0, I.jsx)(Aa, {
|
|
3667
3667
|
...a,
|
|
3668
3668
|
...r,
|
|
3669
3669
|
ref: t
|
|
3670
3670
|
});
|
|
3671
3671
|
});
|
|
3672
3672
|
bs.displayName = ys;
|
|
3673
|
-
var xs = "PopoverTrigger", Ss =
|
|
3674
|
-
let { __scopePopover: n, ...r } = e, i = _s(xs, n), a = hs(n), o =
|
|
3673
|
+
var xs = "PopoverTrigger", Ss = F.forwardRef((e, t) => {
|
|
3674
|
+
let { __scopePopover: n, ...r } = e, i = _s(xs, n), a = hs(n), o = V(t, i.triggerRef), s = /* @__PURE__ */ (0, I.jsx)(H.button, {
|
|
3675
3675
|
type: "button",
|
|
3676
3676
|
"aria-haspopup": "dialog",
|
|
3677
3677
|
"aria-expanded": i.open,
|
|
@@ -3679,9 +3679,9 @@ var xs = "PopoverTrigger", Ss = P.forwardRef((e, t) => {
|
|
|
3679
3679
|
"data-state": Ls(i.open),
|
|
3680
3680
|
...r,
|
|
3681
3681
|
ref: o,
|
|
3682
|
-
onClick:
|
|
3682
|
+
onClick: B(e.onClick, i.onOpenToggle)
|
|
3683
3683
|
});
|
|
3684
|
-
return i.hasCustomAnchor ? s : /* @__PURE__ */ (0,
|
|
3684
|
+
return i.hasCustomAnchor ? s : /* @__PURE__ */ (0, I.jsx)(Aa, {
|
|
3685
3685
|
asChild: !0,
|
|
3686
3686
|
...a,
|
|
3687
3687
|
children: s
|
|
@@ -3690,12 +3690,12 @@ var xs = "PopoverTrigger", Ss = P.forwardRef((e, t) => {
|
|
|
3690
3690
|
Ss.displayName = xs;
|
|
3691
3691
|
var Cs = "PopoverPortal", [ws, Ts] = ps(Cs, { forceMount: void 0 }), Es = (e) => {
|
|
3692
3692
|
let { __scopePopover: t, forceMount: n, children: r, container: i } = e, a = _s(Cs, t);
|
|
3693
|
-
return /* @__PURE__ */ (0,
|
|
3693
|
+
return /* @__PURE__ */ (0, I.jsx)(ws, {
|
|
3694
3694
|
scope: t,
|
|
3695
3695
|
forceMount: n,
|
|
3696
|
-
children: /* @__PURE__ */ (0,
|
|
3696
|
+
children: /* @__PURE__ */ (0, I.jsx)(Ia, {
|
|
3697
3697
|
present: n || a.open,
|
|
3698
|
-
children: /* @__PURE__ */ (0,
|
|
3698
|
+
children: /* @__PURE__ */ (0, I.jsx)(Pa, {
|
|
3699
3699
|
asChild: !0,
|
|
3700
3700
|
container: i,
|
|
3701
3701
|
children: r
|
|
@@ -3704,46 +3704,46 @@ var Cs = "PopoverPortal", [ws, Ts] = ps(Cs, { forceMount: void 0 }), Es = (e) =>
|
|
|
3704
3704
|
});
|
|
3705
3705
|
};
|
|
3706
3706
|
Es.displayName = Cs;
|
|
3707
|
-
var Ds = "PopoverContent", Os =
|
|
3707
|
+
var Ds = "PopoverContent", Os = F.forwardRef((e, t) => {
|
|
3708
3708
|
let n = Ts(Ds, e.__scopePopover), { forceMount: r = n.forceMount, ...i } = e, a = _s(Ds, e.__scopePopover);
|
|
3709
|
-
return /* @__PURE__ */ (0,
|
|
3709
|
+
return /* @__PURE__ */ (0, I.jsx)(Ia, {
|
|
3710
3710
|
present: r || a.open,
|
|
3711
|
-
children: a.modal ? /* @__PURE__ */ (0,
|
|
3711
|
+
children: a.modal ? /* @__PURE__ */ (0, I.jsx)(As, {
|
|
3712
3712
|
...i,
|
|
3713
3713
|
ref: t
|
|
3714
|
-
}) : /* @__PURE__ */ (0,
|
|
3714
|
+
}) : /* @__PURE__ */ (0, I.jsx)(js, {
|
|
3715
3715
|
...i,
|
|
3716
3716
|
ref: t
|
|
3717
3717
|
})
|
|
3718
3718
|
});
|
|
3719
3719
|
});
|
|
3720
3720
|
Os.displayName = Ds;
|
|
3721
|
-
var ks = /* @__PURE__ */
|
|
3722
|
-
let n = _s(Ds, e.__scopePopover), r =
|
|
3723
|
-
return
|
|
3721
|
+
var ks = /* @__PURE__ */ mn("PopoverContent.RemoveScroll"), As = F.forwardRef((e, t) => {
|
|
3722
|
+
let n = _s(Ds, e.__scopePopover), r = F.useRef(null), i = V(t, r), a = F.useRef(!1);
|
|
3723
|
+
return F.useEffect(() => {
|
|
3724
3724
|
let e = r.current;
|
|
3725
3725
|
if (e) return Qa(e);
|
|
3726
|
-
}, []), /* @__PURE__ */ (0,
|
|
3726
|
+
}, []), /* @__PURE__ */ (0, I.jsx)(ds, {
|
|
3727
3727
|
as: ks,
|
|
3728
3728
|
allowPinchZoom: !0,
|
|
3729
|
-
children: /* @__PURE__ */ (0,
|
|
3729
|
+
children: /* @__PURE__ */ (0, I.jsx)(Ms, {
|
|
3730
3730
|
...e,
|
|
3731
3731
|
ref: i,
|
|
3732
3732
|
trapFocus: n.open,
|
|
3733
3733
|
disableOutsidePointerEvents: !0,
|
|
3734
|
-
onCloseAutoFocus:
|
|
3734
|
+
onCloseAutoFocus: B(e.onCloseAutoFocus, (e) => {
|
|
3735
3735
|
e.preventDefault(), a.current || n.triggerRef.current?.focus();
|
|
3736
3736
|
}),
|
|
3737
|
-
onPointerDownOutside:
|
|
3737
|
+
onPointerDownOutside: B(e.onPointerDownOutside, (e) => {
|
|
3738
3738
|
let t = e.detail.originalEvent, n = t.button === 0 && t.ctrlKey === !0;
|
|
3739
3739
|
a.current = t.button === 2 || n;
|
|
3740
3740
|
}, { checkForDefaultPrevented: !1 }),
|
|
3741
|
-
onFocusOutside:
|
|
3741
|
+
onFocusOutside: B(e.onFocusOutside, (e) => e.preventDefault(), { checkForDefaultPrevented: !1 })
|
|
3742
3742
|
})
|
|
3743
3743
|
});
|
|
3744
|
-
}), js =
|
|
3745
|
-
let n = _s(Ds, e.__scopePopover), r =
|
|
3746
|
-
return /* @__PURE__ */ (0,
|
|
3744
|
+
}), js = F.forwardRef((e, t) => {
|
|
3745
|
+
let n = _s(Ds, e.__scopePopover), r = F.useRef(!1), i = F.useRef(!1);
|
|
3746
|
+
return /* @__PURE__ */ (0, I.jsx)(Ms, {
|
|
3747
3747
|
...e,
|
|
3748
3748
|
ref: t,
|
|
3749
3749
|
trapFocus: !1,
|
|
@@ -3757,15 +3757,15 @@ var ks = /* @__PURE__ */ hn("PopoverContent.RemoveScroll"), As = P.forwardRef((e
|
|
|
3757
3757
|
n.triggerRef.current?.contains(a) && t.preventDefault(), t.detail.originalEvent.type === "focusin" && i.current && t.preventDefault();
|
|
3758
3758
|
}
|
|
3759
3759
|
});
|
|
3760
|
-
}), Ms =
|
|
3760
|
+
}), Ms = F.forwardRef((e, t) => {
|
|
3761
3761
|
let { __scopePopover: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, disableOutsidePointerEvents: o, onEscapeKeyDown: s, onPointerDownOutside: c, onFocusOutside: l, onInteractOutside: u, ...d } = e, f = _s(Ds, n), p = hs(n);
|
|
3762
|
-
return
|
|
3762
|
+
return Ln(), /* @__PURE__ */ (0, I.jsx)(Un, {
|
|
3763
3763
|
asChild: !0,
|
|
3764
3764
|
loop: !0,
|
|
3765
3765
|
trapped: r,
|
|
3766
3766
|
onMountAutoFocus: i,
|
|
3767
3767
|
onUnmountAutoFocus: a,
|
|
3768
|
-
children: /* @__PURE__ */ (0,
|
|
3768
|
+
children: /* @__PURE__ */ (0, I.jsx)(kn, {
|
|
3769
3769
|
asChild: !0,
|
|
3770
3770
|
disableOutsidePointerEvents: o,
|
|
3771
3771
|
onInteractOutside: u,
|
|
@@ -3773,7 +3773,7 @@ var ks = /* @__PURE__ */ hn("PopoverContent.RemoveScroll"), As = P.forwardRef((e
|
|
|
3773
3773
|
onPointerDownOutside: c,
|
|
3774
3774
|
onFocusOutside: l,
|
|
3775
3775
|
onDismiss: () => f.onOpenChange(!1),
|
|
3776
|
-
children: /* @__PURE__ */ (0,
|
|
3776
|
+
children: /* @__PURE__ */ (0, I.jsx)(ja, {
|
|
3777
3777
|
"data-state": Ls(f.open),
|
|
3778
3778
|
role: "dialog",
|
|
3779
3779
|
id: f.contentId,
|
|
@@ -3791,19 +3791,19 @@ var ks = /* @__PURE__ */ hn("PopoverContent.RemoveScroll"), As = P.forwardRef((e
|
|
|
3791
3791
|
})
|
|
3792
3792
|
})
|
|
3793
3793
|
});
|
|
3794
|
-
}), Ns = "PopoverClose", Ps =
|
|
3794
|
+
}), Ns = "PopoverClose", Ps = F.forwardRef((e, t) => {
|
|
3795
3795
|
let { __scopePopover: n, ...r } = e, i = _s(Ns, n);
|
|
3796
|
-
return /* @__PURE__ */ (0,
|
|
3796
|
+
return /* @__PURE__ */ (0, I.jsx)(H.button, {
|
|
3797
3797
|
type: "button",
|
|
3798
3798
|
...r,
|
|
3799
3799
|
ref: t,
|
|
3800
|
-
onClick:
|
|
3800
|
+
onClick: B(e.onClick, () => i.onOpenChange(!1))
|
|
3801
3801
|
});
|
|
3802
3802
|
});
|
|
3803
3803
|
Ps.displayName = Ns;
|
|
3804
|
-
var Fs = "PopoverArrow", Is =
|
|
3804
|
+
var Fs = "PopoverArrow", Is = F.forwardRef((e, t) => {
|
|
3805
3805
|
let { __scopePopover: n, ...r } = e, i = hs(n);
|
|
3806
|
-
return /* @__PURE__ */ (0,
|
|
3806
|
+
return /* @__PURE__ */ (0, I.jsx)(Ma, {
|
|
3807
3807
|
...i,
|
|
3808
3808
|
...r,
|
|
3809
3809
|
ref: t
|
|
@@ -3813,122 +3813,122 @@ Is.displayName = Fs;
|
|
|
3813
3813
|
function Ls(e) {
|
|
3814
3814
|
return e ? "open" : "closed";
|
|
3815
3815
|
}
|
|
3816
|
-
var Rs = vs, zs = Ss, Bs = Os, Vs = Is, Hs = ({ message: e, trigger: t, initialVisibility: n = !1 }) => /* @__PURE__ */ (0,
|
|
3816
|
+
var Rs = vs, zs = Ss, Bs = Os, Vs = Is, Hs = ({ message: e, trigger: t, initialVisibility: n = !1 }) => /* @__PURE__ */ (0, I.jsxs)(Rs, {
|
|
3817
3817
|
defaultOpen: n,
|
|
3818
|
-
children: [/* @__PURE__ */ (0,
|
|
3818
|
+
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
3819
3819
|
className: "flex justify-center",
|
|
3820
|
-
children: /* @__PURE__ */ (0,
|
|
3820
|
+
children: /* @__PURE__ */ (0, I.jsx)(zs, {
|
|
3821
3821
|
asChild: !0,
|
|
3822
3822
|
children: t
|
|
3823
3823
|
})
|
|
3824
|
-
}), /* @__PURE__ */ (0,
|
|
3824
|
+
}), /* @__PURE__ */ (0, I.jsxs)(Bs, {
|
|
3825
3825
|
className: "sid-popover__container",
|
|
3826
3826
|
sideOffset: 10,
|
|
3827
3827
|
side: "bottom",
|
|
3828
|
-
children: [e, /* @__PURE__ */ (0,
|
|
3828
|
+
children: [e, /* @__PURE__ */ (0, I.jsx)(Vs, { className: "sid-popover__caret" })]
|
|
3829
3829
|
})]
|
|
3830
3830
|
}), Us = ({ verificationService: e, initialVisibility: t = !1 }) => {
|
|
3831
|
-
let n =
|
|
3832
|
-
return /* @__PURE__ */ (0,
|
|
3831
|
+
let n = Se();
|
|
3832
|
+
return /* @__PURE__ */ (0, I.jsx)(Hs, {
|
|
3833
3833
|
initialVisibility: t,
|
|
3834
|
-
trigger: /* @__PURE__ */ (0,
|
|
3834
|
+
trigger: /* @__PURE__ */ (0, I.jsx)("button", {
|
|
3835
3835
|
type: "button",
|
|
3836
3836
|
className: "sid-h-btn-link-like sid-link sid-how-does-verifying-work-hoverable",
|
|
3837
|
-
children: /* @__PURE__ */ (0,
|
|
3837
|
+
children: /* @__PURE__ */ (0, I.jsx)(P, { id: "howDoesVerifyingWork" })
|
|
3838
3838
|
}),
|
|
3839
|
-
message: /* @__PURE__ */ (0,
|
|
3840
|
-
/* @__PURE__ */ (0,
|
|
3839
|
+
message: /* @__PURE__ */ (0, I.jsxs)("div", { children: [
|
|
3840
|
+
/* @__PURE__ */ (0, I.jsx)(P, {
|
|
3841
3841
|
id: "step.personalInfo.howDoesVerifyingWorkDetails",
|
|
3842
3842
|
context: n
|
|
3843
3843
|
}),
|
|
3844
3844
|
"\xA0",
|
|
3845
|
-
/* @__PURE__ */ (0,
|
|
3845
|
+
/* @__PURE__ */ (0, I.jsx)(wt, { verificationService: e })
|
|
3846
3846
|
] })
|
|
3847
3847
|
});
|
|
3848
3848
|
}, Ws = ({ verificationService: e }) => {
|
|
3849
|
-
let t =
|
|
3850
|
-
return typeof t == "number" && t > 0 ? /* @__PURE__ */ (0,
|
|
3849
|
+
let t = k(() => e.programTheme.remainingRewardCodes, null);
|
|
3850
|
+
return typeof t == "number" && t > 0 ? /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
3851
3851
|
className: "sid-rewards-remaining",
|
|
3852
3852
|
role: "note",
|
|
3853
3853
|
children: [
|
|
3854
|
-
/* @__PURE__ */ (0,
|
|
3855
|
-
/* @__PURE__ */ (0,
|
|
3854
|
+
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-md" }),
|
|
3855
|
+
/* @__PURE__ */ (0, I.jsx)(N, {
|
|
3856
3856
|
id: "lowRewardPool",
|
|
3857
3857
|
defaultMessage: e.messages.lowRewardPool,
|
|
3858
3858
|
values: { offersRemaining: t }
|
|
3859
3859
|
}),
|
|
3860
|
-
/* @__PURE__ */ (0,
|
|
3860
|
+
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-sm" })
|
|
3861
3861
|
]
|
|
3862
3862
|
}) : null;
|
|
3863
3863
|
}, Gs = (e) => e !== void 0, Ks = ({ verificationService: e, classNameIdentifier: t = void 0 }) => {
|
|
3864
|
-
let { verificationResponse: n } = e, r = Gs(n) ?
|
|
3865
|
-
return /* @__PURE__ */ (0,
|
|
3864
|
+
let { verificationResponse: n } = e, r = Gs(n) ? We(n) : !1, i = r ? "step.personalInfo.tryAgain.title" : "step.personalInfo.title", a = r ? "step.personalInfo.tryAgain.subtitle" : "step.personalInfo.subtitle";
|
|
3865
|
+
return /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3866
3866
|
className: "sid-personal-info-header",
|
|
3867
|
-
children: /* @__PURE__ */ (0,
|
|
3867
|
+
children: /* @__PURE__ */ (0, I.jsxs)(ln, {
|
|
3868
3868
|
verificationService: e,
|
|
3869
|
-
title: /* @__PURE__ */ (0,
|
|
3869
|
+
title: /* @__PURE__ */ (0, I.jsx)(P, {
|
|
3870
3870
|
id: i,
|
|
3871
3871
|
context: n.segment
|
|
3872
3872
|
}),
|
|
3873
3873
|
classNameIdentifier: t,
|
|
3874
3874
|
children: [
|
|
3875
|
-
/* @__PURE__ */ (0,
|
|
3875
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
3876
3876
|
className: `sid-header__subtitle sid-l-horz-center ${r ? "sid-header__subtitle--error" : ""}`,
|
|
3877
|
-
children: /* @__PURE__ */ (0,
|
|
3877
|
+
children: /* @__PURE__ */ (0, I.jsx)(N, { id: a })
|
|
3878
3878
|
}),
|
|
3879
|
-
/* @__PURE__ */ (0,
|
|
3879
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
3880
3880
|
className: "sid-header__how-verifying-works sid-l-horz-center",
|
|
3881
|
-
children: !r && /* @__PURE__ */ (0,
|
|
3881
|
+
children: !r && /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Us, { verificationService: e }), /* @__PURE__ */ (0, I.jsx)(Ws, { verificationService: e })] })
|
|
3882
3882
|
}),
|
|
3883
|
-
/* @__PURE__ */ (0,
|
|
3883
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
3884
3884
|
className: "sid-h-medium-text sid-l-space-btm-sm sid-l-space-top-sm",
|
|
3885
|
-
children: /* @__PURE__ */ (0,
|
|
3885
|
+
children: /* @__PURE__ */ (0, I.jsx)(N, { id: "requiredFields" })
|
|
3886
3886
|
})
|
|
3887
3887
|
]
|
|
3888
3888
|
})
|
|
3889
3889
|
});
|
|
3890
|
-
}, qs = () => ({ isEmbedded: !!
|
|
3890
|
+
}, qs = () => ({ isEmbedded: !!T("verificationIframeUid") }), Js = ({ layout: e, children: t, verificationService: n, renderAsLandingPage: r }) => {
|
|
3891
3891
|
let { isEmbedded: i } = qs();
|
|
3892
|
-
return !r || i ? /* @__PURE__ */ (0,
|
|
3892
|
+
return !r || i ? /* @__PURE__ */ (0, I.jsx)(I.Fragment, { children: t }) : /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3893
3893
|
className: `sid-layout sid-layout--${e}`,
|
|
3894
|
-
children: /* @__PURE__ */ (0,
|
|
3894
|
+
children: /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
3895
3895
|
className: "sid-layout__container",
|
|
3896
|
-
children: [e === "fullRight" && /* @__PURE__ */ (0,
|
|
3896
|
+
children: [e === "fullRight" && /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3897
3897
|
className: "sid-layout__content",
|
|
3898
|
-
children: /* @__PURE__ */ (0,
|
|
3898
|
+
children: /* @__PURE__ */ (0, I.jsx)(Ks, {
|
|
3899
3899
|
verificationService: n,
|
|
3900
3900
|
classNameIdentifier: "landing"
|
|
3901
3901
|
})
|
|
3902
|
-
}), /* @__PURE__ */ (0,
|
|
3902
|
+
}), /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3903
3903
|
className: "sid-layout__form-container",
|
|
3904
|
-
children: /* @__PURE__ */ (0,
|
|
3904
|
+
children: /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3905
3905
|
className: "sid-layout__form",
|
|
3906
3906
|
children: t
|
|
3907
3907
|
})
|
|
3908
3908
|
})]
|
|
3909
3909
|
})
|
|
3910
3910
|
});
|
|
3911
|
-
}, Ys = ({ children: e }) => /* @__PURE__ */ (0,
|
|
3911
|
+
}, Ys = ({ children: e }) => /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3912
3912
|
className: "sid sid-form-wrapper",
|
|
3913
3913
|
children: e
|
|
3914
|
-
}), Xs = ({ locale:
|
|
3915
|
-
let
|
|
3916
|
-
...
|
|
3914
|
+
}), Xs = ({ locale: e, messages: n, programTheme: r, verificationService: i, programId: a }) => {
|
|
3915
|
+
let o = Xe(), s = w(), c = be() ?? r, u = Ce(Ee, Te), d = (0, F.useMemo)(() => u ? {
|
|
3916
|
+
...i.verificationResponse,
|
|
3917
3917
|
...u
|
|
3918
|
-
} :
|
|
3919
|
-
...
|
|
3920
|
-
programTheme:
|
|
3918
|
+
} : i.verificationResponse, [u, i.verificationResponse]), f = (0, F.useMemo)(() => ({
|
|
3919
|
+
...i,
|
|
3920
|
+
programTheme: c,
|
|
3921
3921
|
verificationResponse: d,
|
|
3922
|
-
formValidationOptions:
|
|
3922
|
+
formValidationOptions: xt(c, d, i.viewModel)
|
|
3923
3923
|
}), [
|
|
3924
|
-
|
|
3925
|
-
|
|
3924
|
+
i,
|
|
3925
|
+
c,
|
|
3926
3926
|
d
|
|
3927
|
-
]), p =
|
|
3928
|
-
|
|
3927
|
+
]), p = c.themeChoices?.landingPage.layout || "center", { renderAs: m } = s, g = Qe();
|
|
3928
|
+
F.useEffect(() => {
|
|
3929
3929
|
try {
|
|
3930
3930
|
if (g && f && f.viewModel) {
|
|
3931
|
-
let e = (0,
|
|
3931
|
+
let e = (0, gt.default)(g);
|
|
3932
3932
|
E(v.flags, e);
|
|
3933
3933
|
let t = S(f.viewModel.metadata || {}, (t) => {
|
|
3934
3934
|
t.flags = e;
|
|
@@ -3937,51 +3937,51 @@ var Rs = vs, zs = Ss, Bs = Os, Vs = Is, Hs = ({ message: e, trigger: t, initialV
|
|
|
3937
3937
|
});
|
|
3938
3938
|
f.updateViewModel(n);
|
|
3939
3939
|
}
|
|
3940
|
-
} catch (
|
|
3941
|
-
|
|
3940
|
+
} catch (e) {
|
|
3941
|
+
l.error(e);
|
|
3942
3942
|
}
|
|
3943
|
-
}, []),
|
|
3944
|
-
if (f.verificationResponse.verificationId &&
|
|
3943
|
+
}, []), F.useEffect(() => {
|
|
3944
|
+
if (f.verificationResponse.verificationId && s._launchDarklyUserTargeting && o) {
|
|
3945
3945
|
let e = {
|
|
3946
3946
|
kind: "multi",
|
|
3947
3947
|
user: {
|
|
3948
3948
|
key: f.verificationResponse.verificationId,
|
|
3949
3949
|
locale: f.verificationResponse.locale,
|
|
3950
3950
|
segment: f.verificationResponse.segment,
|
|
3951
|
-
installType:
|
|
3951
|
+
installType: M()
|
|
3952
3952
|
},
|
|
3953
|
-
program: { key:
|
|
3953
|
+
program: { key: a }
|
|
3954
3954
|
};
|
|
3955
|
-
|
|
3955
|
+
c.accountId && (e.account = { key: c.accountId }), o.identify(e);
|
|
3956
3956
|
}
|
|
3957
|
-
}, [f.verificationResponse.verificationId,
|
|
3957
|
+
}, [f.verificationResponse.verificationId, o]), F.useEffect(() => {
|
|
3958
3958
|
try {
|
|
3959
|
-
|
|
3959
|
+
w()._launchDarklyFlagCb(g);
|
|
3960
3960
|
} catch {}
|
|
3961
3961
|
}, [g]);
|
|
3962
|
-
let _ =
|
|
3963
|
-
return /* @__PURE__ */ (0,
|
|
3962
|
+
let _ = Ce(Ee, fe);
|
|
3963
|
+
return /* @__PURE__ */ (0, I.jsx)(ie, {
|
|
3964
3964
|
locale: "en",
|
|
3965
3965
|
messages: {
|
|
3966
|
-
...
|
|
3967
|
-
...(0,
|
|
3968
|
-
...(0,
|
|
3966
|
+
...n,
|
|
3967
|
+
...(0, lt.default)(C(e)),
|
|
3968
|
+
...(0, lt.default)(_?.[e] ?? {})
|
|
3969
3969
|
},
|
|
3970
|
-
textComponent:
|
|
3971
|
-
children: /* @__PURE__ */ (0,
|
|
3972
|
-
themeChoices:
|
|
3973
|
-
customCssFromOptions:
|
|
3974
|
-
children: /* @__PURE__ */ (0,
|
|
3975
|
-
className: `${
|
|
3976
|
-
children: /* @__PURE__ */ (0,
|
|
3970
|
+
textComponent: sn,
|
|
3971
|
+
children: /* @__PURE__ */ (0, I.jsx)(bt, {
|
|
3972
|
+
themeChoices: c.themeChoices,
|
|
3973
|
+
customCssFromOptions: w().customCss,
|
|
3974
|
+
children: /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3975
|
+
className: `${_t.default.isRtlLang(h(e)) ? "sid-rtl" : "sid-ltr"} sid-locale-${e}`,
|
|
3976
|
+
children: /* @__PURE__ */ (0, I.jsx)(Ys, { children: /* @__PURE__ */ (0, I.jsx)(Js, {
|
|
3977
3977
|
layout: p,
|
|
3978
3978
|
verificationService: f,
|
|
3979
3979
|
renderAsLandingPage: m === "landingPage",
|
|
3980
|
-
children: /* @__PURE__ */ (0,
|
|
3981
|
-
fallback: /* @__PURE__ */ (0,
|
|
3982
|
-
children: /* @__PURE__ */ (0,
|
|
3980
|
+
children: /* @__PURE__ */ (0, I.jsx)(F.Suspense, {
|
|
3981
|
+
fallback: /* @__PURE__ */ (0, I.jsx)(pt, { step: f.loadingStep }),
|
|
3982
|
+
children: /* @__PURE__ */ (0, I.jsx)(st, {
|
|
3983
3983
|
i18n: t,
|
|
3984
|
-
children: f.isLoading ? /* @__PURE__ */ (0,
|
|
3984
|
+
children: f.isLoading ? /* @__PURE__ */ (0, I.jsx)(pt, { step: f.loadingStep }) : /* @__PURE__ */ (0, I.jsxs)("div", { children: [!w().hideTestModeFlag && /* @__PURE__ */ (0, I.jsx)(cn, { verificationService: f }), /* @__PURE__ */ (0, I.jsx)(on, {
|
|
3985
3985
|
stepToLoad: f.overrideStep || f.verificationResponse.currentStep,
|
|
3986
3986
|
verificationService: f
|
|
3987
3987
|
})] })
|
|
@@ -3990,19 +3990,19 @@ var Rs = vs, zs = Ss, Bs = Os, Vs = Is, Hs = ({ message: e, trigger: t, initialV
|
|
|
3990
3990
|
}) })
|
|
3991
3991
|
})
|
|
3992
3992
|
})
|
|
3993
|
-
},
|
|
3993
|
+
}, e);
|
|
3994
3994
|
}, Zs = () => {
|
|
3995
3995
|
let e = null;
|
|
3996
3996
|
document.addEventListener("keydown", (t) => {
|
|
3997
3997
|
if (t.key !== "Tab") return;
|
|
3998
3998
|
let n = document.querySelectorAll("button, .sid-link, input, select, textarea, [tabindex]:not([tabindex=\"-1\"]");
|
|
3999
|
-
e = n[n.length - 1], e && !t.shiftKey && document.activeElement === e && (
|
|
3999
|
+
e = n[n.length - 1], e && !t.shiftKey && document.activeElement === e && (Ne({
|
|
4000
4000
|
type: "focus",
|
|
4001
4001
|
focusOn: "firstElement"
|
|
4002
4002
|
}), t.preventDefault());
|
|
4003
4003
|
}), window.addEventListener("message", (t) => {
|
|
4004
4004
|
t.data.focusOn === "lastElement" && e && e.focus();
|
|
4005
|
-
}),
|
|
4005
|
+
}), Ne({
|
|
4006
4006
|
type: "focus",
|
|
4007
4007
|
focusOn: "firstElement"
|
|
4008
4008
|
});
|
|
@@ -4010,16 +4010,16 @@ var Rs = vs, zs = Ss, Bs = Os, Vs = Is, Hs = ({ message: e, trigger: t, initialV
|
|
|
4010
4010
|
window.addEventListener("message", (e) => {
|
|
4011
4011
|
e.data.isInLightBox === "true" && Zs();
|
|
4012
4012
|
});
|
|
4013
|
-
}, $s = class extends
|
|
4013
|
+
}, $s = class extends F.Component {
|
|
4014
4014
|
verificationService;
|
|
4015
|
-
constructor(
|
|
4016
|
-
super(
|
|
4015
|
+
constructor(e) {
|
|
4016
|
+
super(e), l.info("NewVerificationComponent: constructing"), this.props.trackingId && this.props.trackingId.length ? l.info(`Attaching a trackingId to this verification request ${this.props.trackingId}`) : l.info("No trackingId to associate with the verification request");
|
|
4017
4017
|
}
|
|
4018
4018
|
componentDidMount() {
|
|
4019
|
-
if (f(), Qs(),
|
|
4019
|
+
if (f(), Qs(), ve((e) => {
|
|
4020
4020
|
switch (e.data.action) {
|
|
4021
4021
|
case "setViewModel":
|
|
4022
|
-
|
|
4022
|
+
He(e.data.viewModel, {
|
|
4023
4023
|
partial: !0,
|
|
4024
4024
|
metadataCheck: !0,
|
|
4025
4025
|
externalUserIdCheck: !0
|
|
@@ -4030,51 +4030,51 @@ var Rs = vs, zs = Ss, Bs = Os, Vs = Is, Hs = ({ message: e, trigger: t, initialV
|
|
|
4030
4030
|
break;
|
|
4031
4031
|
default:
|
|
4032
4032
|
}
|
|
4033
|
-
}),
|
|
4033
|
+
}), je()) l.info("Mocking loading screen. Not fetching new verification request.");
|
|
4034
4034
|
else {
|
|
4035
|
-
|
|
4036
|
-
let
|
|
4037
|
-
this.props.verificationService.fetchNewVerificationRequest(this.props.programId,
|
|
4035
|
+
l.info("NewVerificationComponent: fetchNewVerificationRequest");
|
|
4036
|
+
let e = k(() => this.props.verificationService.verificationResponse.segment);
|
|
4037
|
+
this.props.verificationService.fetchNewVerificationRequest(this.props.programId, e, this.props.verificationService.previousViewModel, this.props.trackingId);
|
|
4038
4038
|
}
|
|
4039
4039
|
}
|
|
4040
4040
|
render() {
|
|
4041
|
-
let { viewModel:
|
|
4042
|
-
this.props.messages && (
|
|
4043
|
-
let
|
|
4044
|
-
...
|
|
4045
|
-
...(0,
|
|
4041
|
+
let { viewModel: e } = this.props.verificationService, t = ee(e), n;
|
|
4042
|
+
this.props.messages && (n = this.props.messages);
|
|
4043
|
+
let r = {
|
|
4044
|
+
...n,
|
|
4045
|
+
...(0, lt.default)(C(t))
|
|
4046
4046
|
};
|
|
4047
|
-
if (this.props.verificationService.isLoading && !this.props.verificationService.loadingStep) return
|
|
4047
|
+
if (this.props.verificationService.isLoading && !this.props.verificationService.loadingStep) return l.info("NewVerificationComponent: VerificationService is loading"), /* @__PURE__ */ (0, I.jsx)(ie, {
|
|
4048
4048
|
locale: "en",
|
|
4049
|
-
messages: i,
|
|
4050
|
-
textComponent: cn,
|
|
4051
|
-
children: /* @__PURE__ */ (0, F.jsx)(mt, {})
|
|
4052
|
-
}, n);
|
|
4053
|
-
let { programTheme: a } = this.props.verificationService, { verificationResponse: o } = this.props.verificationService;
|
|
4054
|
-
return e.info("NewVerificationComponent: verificationResponse, viewModel", o, t), e.info(`NewVerificationComponent: locale: ${n}, currentStep: ${o.currentStep}, messages: `, r), /* @__PURE__ */ (0, F.jsx)(Xs, {
|
|
4055
|
-
locale: n,
|
|
4056
4049
|
messages: r,
|
|
4057
|
-
|
|
4050
|
+
textComponent: sn,
|
|
4051
|
+
children: /* @__PURE__ */ (0, I.jsx)(pt, {})
|
|
4052
|
+
}, t);
|
|
4053
|
+
let { programTheme: i } = this.props.verificationService, { verificationResponse: a } = this.props.verificationService;
|
|
4054
|
+
return l.info("NewVerificationComponent: verificationResponse, viewModel", a, e), l.info(`NewVerificationComponent: locale: ${t}, currentStep: ${a.currentStep}, messages: `, n), /* @__PURE__ */ (0, I.jsx)(Xs, {
|
|
4055
|
+
locale: t,
|
|
4056
|
+
messages: n,
|
|
4057
|
+
programTheme: i,
|
|
4058
4058
|
verificationService: this.props.verificationService,
|
|
4059
4059
|
programId: this.props.programId
|
|
4060
4060
|
});
|
|
4061
4061
|
}
|
|
4062
|
-
}, ec =
|
|
4062
|
+
}, ec = he((e, t) => ({ ...e }), (e, t) => ({
|
|
4063
4063
|
dispatch: e,
|
|
4064
|
-
fetchNewVerificationRequest:
|
|
4065
|
-
fetchExistingVerificationRequest:
|
|
4066
|
-
updateViewModel:
|
|
4067
|
-
updateLocale:
|
|
4068
|
-
updateProgramTheme:
|
|
4069
|
-
updateFieldValidationErrors:
|
|
4070
|
-
resetState:
|
|
4064
|
+
fetchNewVerificationRequest: Ue(e),
|
|
4065
|
+
fetchExistingVerificationRequest: Pe(e),
|
|
4066
|
+
updateViewModel: Le(e),
|
|
4067
|
+
updateLocale: Je(e, t.programId),
|
|
4068
|
+
updateProgramTheme: Ie(e),
|
|
4069
|
+
updateFieldValidationErrors: Ve(e),
|
|
4070
|
+
resetState: Ke(e)
|
|
4071
4071
|
}), (e, t, n) => {
|
|
4072
4072
|
let { dispatch: r, ...i } = t, { programTheme: a } = e;
|
|
4073
4073
|
return {
|
|
4074
4074
|
verificationService: {
|
|
4075
4075
|
...e,
|
|
4076
4076
|
...i,
|
|
4077
|
-
submitStep:
|
|
4077
|
+
submitStep: Fe(r, a)
|
|
4078
4078
|
},
|
|
4079
4079
|
messages: e.messages,
|
|
4080
4080
|
...n
|
|
@@ -4082,48 +4082,48 @@ var Rs = vs, zs = Ss, Bs = Os, Vs = Is, Hs = ({ message: e, trigger: t, initialV
|
|
|
4082
4082
|
})($s), tc = (e) => ({
|
|
4083
4083
|
kind: "program",
|
|
4084
4084
|
key: e
|
|
4085
|
-
}), nc = ({ programId: e, children: t }) => /* @__PURE__ */ (0,
|
|
4085
|
+
}), nc = ({ programId: e, children: t }) => /* @__PURE__ */ (0, I.jsx)(Ze, {
|
|
4086
4086
|
clientSideID: "6530161f9ff41712a2eef741",
|
|
4087
4087
|
context: tc(e),
|
|
4088
|
-
flags:
|
|
4088
|
+
flags: $e,
|
|
4089
4089
|
reactOptions: { useCamelCaseFlagKeys: !1 },
|
|
4090
4090
|
options: { streaming: !1 },
|
|
4091
4091
|
children: t
|
|
4092
|
-
}), rc =
|
|
4093
|
-
E(v.jslibVersionActual,
|
|
4094
|
-
var ic =
|
|
4092
|
+
}), rc = Ge();
|
|
4093
|
+
E(v.jslibVersionActual, k(() => ne(), "?")), E(v.clientVersion, k(() => ne(), "?"));
|
|
4094
|
+
var ic = F.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
4095
4095
|
try {
|
|
4096
|
-
|
|
4097
|
-
} catch (
|
|
4098
|
-
|
|
4096
|
+
Re();
|
|
4097
|
+
} catch (e) {
|
|
4098
|
+
l.warn("Failed to add predefined hooks", e);
|
|
4099
4099
|
}
|
|
4100
|
-
return (0,
|
|
4100
|
+
return (0, F.useEffect)(() => {
|
|
4101
4101
|
te();
|
|
4102
4102
|
}), rc.dispatch({
|
|
4103
|
-
programId:
|
|
4103
|
+
programId: e,
|
|
4104
4104
|
type: "PROGRAM_ID"
|
|
4105
|
-
}),
|
|
4106
|
-
refresh:
|
|
4107
|
-
reset:
|
|
4108
|
-
}), /* @__PURE__ */ (0,
|
|
4105
|
+
}), n && (n.current = {
|
|
4106
|
+
refresh: F.useCallback(() => rc.dispatch({ type: "FORCE_UPDATE" }), []),
|
|
4107
|
+
reset: F.useCallback(() => rc.dispatch({ type: "RESET_STATE" }), [])
|
|
4108
|
+
}), /* @__PURE__ */ (0, I.jsx)(me, {
|
|
4109
4109
|
store: rc,
|
|
4110
|
-
children: /* @__PURE__ */ (0,
|
|
4111
|
-
programId:
|
|
4112
|
-
children: /* @__PURE__ */ (0,
|
|
4113
|
-
programId:
|
|
4114
|
-
trackingId:
|
|
4110
|
+
children: /* @__PURE__ */ (0, I.jsx)(nc, {
|
|
4111
|
+
programId: e,
|
|
4112
|
+
children: /* @__PURE__ */ (0, I.jsx)(ec, {
|
|
4113
|
+
programId: e,
|
|
4114
|
+
trackingId: t
|
|
4115
4115
|
})
|
|
4116
4116
|
})
|
|
4117
4117
|
});
|
|
4118
|
-
}), ac = class
|
|
4118
|
+
}), ac = class e {
|
|
4119
4119
|
element;
|
|
4120
4120
|
programId;
|
|
4121
4121
|
trackingId;
|
|
4122
4122
|
viewModel;
|
|
4123
4123
|
ref;
|
|
4124
|
-
constructor(n, r
|
|
4125
|
-
if (!(this instanceof
|
|
4126
|
-
|
|
4124
|
+
constructor(t, n, r) {
|
|
4125
|
+
if (!(this instanceof e)) throw Error("Method \"render\" not found. Did you use the \"new\" keyword when instantiating VerificationForm?");
|
|
4126
|
+
l.info(`Constructing VerificationFormEs5 ${n}`), y(t), this.element = t, this.programId = n, this.trackingId = r, this.ref = F.createRef(), this.render();
|
|
4127
4127
|
}
|
|
4128
4128
|
refresh() {
|
|
4129
4129
|
this.ref.current.refresh();
|
|
@@ -4132,20 +4132,20 @@ var ic = P.forwardRef(({ programId: t, trackingId: n = void 0 }, r) => {
|
|
|
4132
4132
|
this.ref.current.reset();
|
|
4133
4133
|
}
|
|
4134
4134
|
render() {
|
|
4135
|
-
|
|
4135
|
+
ut.render(/* @__PURE__ */ (0, I.jsx)(ic, {
|
|
4136
4136
|
programId: this.programId,
|
|
4137
4137
|
trackingId: this.trackingId,
|
|
4138
4138
|
ref: this.ref
|
|
4139
4139
|
}), this.element);
|
|
4140
4140
|
}
|
|
4141
4141
|
unmount() {
|
|
4142
|
-
|
|
4142
|
+
ut.unmountComponentAtNode(this.element);
|
|
4143
4143
|
}
|
|
4144
4144
|
};
|
|
4145
4145
|
//#endregion
|
|
4146
4146
|
//#region src/lib/state/previewMessages.ts
|
|
4147
4147
|
function oc(e, t) {
|
|
4148
|
-
|
|
4148
|
+
Ee.set((n) => ({
|
|
4149
4149
|
...n,
|
|
4150
4150
|
overrides: {
|
|
4151
4151
|
...n.overrides,
|
|
@@ -4160,7 +4160,7 @@ function oc(e, t) {
|
|
|
4160
4160
|
})), n({ [e]: t });
|
|
4161
4161
|
}
|
|
4162
4162
|
function sc(e) {
|
|
4163
|
-
e.forEach((e) => t.removeResourceBundle(e,
|
|
4163
|
+
e.forEach((e) => t.removeResourceBundle(e, s.OPTIONS)), n(w().messagesWithLocale);
|
|
4164
4164
|
}
|
|
4165
4165
|
//#endregion
|
|
4166
4166
|
//#region src/lib/state/previewResponse.ts
|
|
@@ -4184,8 +4184,8 @@ async function lc(e) {
|
|
|
4184
4184
|
let r = cc[n];
|
|
4185
4185
|
r && (t[r] = e[n]);
|
|
4186
4186
|
}), _(t);
|
|
4187
|
-
let n = e.step ??
|
|
4188
|
-
|
|
4187
|
+
let n = e.step ?? Ee.get().overrides.mock?.step, r = n ? await ke(n, Ge().getState().verificationResponse) : void 0;
|
|
4188
|
+
Ee.set((t) => ({
|
|
4189
4189
|
...t,
|
|
4190
4190
|
overrides: {
|
|
4191
4191
|
...t.overrides,
|
|
@@ -4200,33 +4200,33 @@ async function lc(e) {
|
|
|
4200
4200
|
//#endregion
|
|
4201
4201
|
//#region src/lib/state/previewApi.ts
|
|
4202
4202
|
function uc(e) {
|
|
4203
|
-
|
|
4203
|
+
le({ programTheme: e });
|
|
4204
4204
|
}
|
|
4205
4205
|
function dc(e) {
|
|
4206
|
-
|
|
4206
|
+
le({ programTheme: e });
|
|
4207
4207
|
}
|
|
4208
4208
|
function fc(e) {
|
|
4209
|
-
|
|
4209
|
+
le({ response: e });
|
|
4210
4210
|
}
|
|
4211
4211
|
function pc(e) {
|
|
4212
|
-
let t =
|
|
4213
|
-
return
|
|
4212
|
+
let t = Ge(), { programId: n, verificationResponse: r } = t.getState();
|
|
4213
|
+
return Je(t.dispatch, n)(e, r?.segment);
|
|
4214
4214
|
}
|
|
4215
4215
|
function mc() {
|
|
4216
|
-
let e = Object.keys(
|
|
4217
|
-
|
|
4216
|
+
let e = Object.keys(Ee.get().overrides.messages ?? {});
|
|
4217
|
+
ue(), sc(e);
|
|
4218
4218
|
}
|
|
4219
4219
|
//#endregion
|
|
4220
4220
|
//#region src/lib/installScript/_mysheerid-preview.ts
|
|
4221
|
-
A
|
|
4221
|
+
j(A.programBuilderPreview);
|
|
4222
4222
|
function hc(e, t) {
|
|
4223
4223
|
return new ac(e, t);
|
|
4224
4224
|
}
|
|
4225
4225
|
function gc(e) {
|
|
4226
|
-
|
|
4226
|
+
ct(e);
|
|
4227
4227
|
}
|
|
4228
4228
|
function _c(e) {
|
|
4229
|
-
|
|
4229
|
+
Be(), _(e);
|
|
4230
4230
|
}
|
|
4231
4231
|
function vc() {
|
|
4232
4232
|
d();
|
|
@@ -4235,7 +4235,7 @@ function yc(e) {
|
|
|
4235
4235
|
_({ _launchDarklyFlagCb: e });
|
|
4236
4236
|
}
|
|
4237
4237
|
function bc(e, t, n) {
|
|
4238
|
-
return
|
|
4238
|
+
return b(e, t, n);
|
|
4239
4239
|
}
|
|
4240
4240
|
var xc = {
|
|
4241
4241
|
loadInElement: hc,
|
|
@@ -4253,4 +4253,4 @@ var xc = {
|
|
|
4253
4253
|
clearPreview: mc
|
|
4254
4254
|
};
|
|
4255
4255
|
//#endregion
|
|
4256
|
-
export {
|
|
4256
|
+
export { Dt as A, mn as C, B as D, V as E, vt as M, pt as N, zt as O, dt as P, bn as S, dn as T, Un as _, to as a, xn as b, Va as c, mc as clearPreview, Aa as d, xc as default, Ma as f, ir as g, yc as getFeatureFlags, bc as getProgramMessages, pa as h, eo as i, wt as j, Pt as k, Ia as l, hc as loadInElement, ka as m, Ws as n, ro as o, ja as p, ds as r, vc as resetProgramOptions, Qa as s, uc as setPreviewBranding, dc as setPreviewConfiguration, pc as setPreviewLocale, oc as setPreviewMessages, lc as setPreviewMock, fc as setPreviewResponse, _c as setProgramOptions, gc as setProgramThemeChoices, Ks as t, Pa as u, Ln as v, fn as w, H as x, kn as y };
|