@sheerid/jslib 2.290.0 → 2.291.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 +1295 -1289
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/{AddressComponent-DD8h728z.js → AddressComponent-CXsUFn4e.js} +8 -8
- package/chunk/{AddressComponent-DD8h728z.js.map → AddressComponent-CXsUFn4e.js.map} +1 -1
- package/chunk/{AddressComponent-DKfHQAHW.js → AddressComponent-DFMtL5Ji.js} +8 -8
- package/chunk/{AddressComponent-DKfHQAHW.js.map → AddressComponent-DFMtL5Ji.js.map} +1 -1
- package/chunk/{AnnouncingHeader-CXTQdbKG.js → AnnouncingHeader-B6cTB52p.js} +6 -6
- package/chunk/{AnnouncingHeader-B0Ku-xl_.js.map → AnnouncingHeader-B6cTB52p.js.map} +1 -1
- package/chunk/{AnnouncingHeader-B0Ku-xl_.js → AnnouncingHeader-DtYf-VWN.js} +6 -6
- package/chunk/{AnnouncingHeader-CXTQdbKG.js.map → AnnouncingHeader-DtYf-VWN.js.map} +1 -1
- package/chunk/{BirthDateComponent-2PEmSvVv.js → BirthDateComponent-DAa17IR4.js} +8 -8
- package/chunk/{BirthDateComponent-2PEmSvVv.js.map → BirthDateComponent-DAa17IR4.js.map} +1 -1
- package/chunk/{BirthDateComponent-Cd0cMZrO.js → BirthDateComponent-DOJ2Eu4P.js} +8 -8
- package/chunk/{BirthDateComponent-Cd0cMZrO.js.map → BirthDateComponent-DOJ2Eu4P.js.map} +1 -1
- package/chunk/{CaptchaComponent-CeJZh2AO.js → CaptchaComponent-CHOmB72u.js} +35 -35
- package/chunk/{CaptchaComponent-CeJZh2AO.js.map → CaptchaComponent-CHOmB72u.js.map} +1 -1
- package/chunk/{CaptchaComponent-D84uhigA.js → CaptchaComponent-CUbOXmiG.js} +42 -42
- package/chunk/{CaptchaComponent-D84uhigA.js.map → CaptchaComponent-CUbOXmiG.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-LlVAEjO9.js → ChangeLocaleComponent-D4HiJy2E.js} +9 -9
- package/chunk/{ChangeLocaleComponent-LlVAEjO9.js.map → ChangeLocaleComponent-D4HiJy2E.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-Slt2XjmB.js → ChangeLocaleComponent-D4pBfPkg.js} +9 -9
- package/chunk/{ChangeLocaleComponent-Slt2XjmB.js.map → ChangeLocaleComponent-D4pBfPkg.js.map} +1 -1
- package/chunk/{City-DzE-sIfb.js → City-BryCbKPP.js} +8 -8
- package/chunk/{City-DeTr-l8T.js.map → City-BryCbKPP.js.map} +1 -1
- package/chunk/{City-DeTr-l8T.js → City-CdWBe7HL.js} +8 -8
- package/chunk/{City-DzE-sIfb.js.map → City-CdWBe7HL.js.map} +1 -1
- package/chunk/{CollegeNameComponent-BIelwnwZ.js → CollegeNameComponent-CWAO3I4R.js} +10 -10
- package/chunk/{CollegeNameComponent-BIelwnwZ.js.map → CollegeNameComponent-CWAO3I4R.js.map} +1 -1
- package/chunk/{CollegeNameComponent-BLK9LM4N.js → CollegeNameComponent-DzyMYXew.js} +10 -10
- package/chunk/{CollegeNameComponent-BLK9LM4N.js.map → CollegeNameComponent-DzyMYXew.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-BejK3fLR.js → CopyToClipboardComponent-BxP-eIzM.js} +6 -6
- package/chunk/{CopyToClipboardComponent-BAOwMLHJ.js.map → CopyToClipboardComponent-BxP-eIzM.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-BAOwMLHJ.js → CopyToClipboardComponent-Dd5ZDKCz.js} +6 -6
- package/chunk/{CopyToClipboardComponent-BejK3fLR.js.map → CopyToClipboardComponent-Dd5ZDKCz.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-DQW_P5GI.js → CountryComponentWrapper-DGqTUeJ9.js} +12 -12
- package/chunk/{CountryComponentWrapper-DQW_P5GI.js.map → CountryComponentWrapper-DGqTUeJ9.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-D_v3ee4V.js → CountryComponentWrapper-DfWex-GH.js} +29 -29
- package/chunk/{CountryComponentWrapper-D_v3ee4V.js.map → CountryComponentWrapper-DfWex-GH.js.map} +1 -1
- package/chunk/{DischargeDateComponent-Dlm6t88Y.js → DischargeDateComponent-2sdFQFak.js} +14 -14
- package/chunk/{DischargeDateComponent-CDWiw0-D.js.map → DischargeDateComponent-2sdFQFak.js.map} +1 -1
- package/chunk/{DischargeDateComponent-CDWiw0-D.js → DischargeDateComponent-DsWFEkse.js} +14 -14
- package/chunk/{DischargeDateComponent-Dlm6t88Y.js.map → DischargeDateComponent-DsWFEkse.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-XVb7vgi3.js → DriverLicenseNumberComponent-CJmYTF0r.js} +8 -8
- package/chunk/{DriverLicenseNumberComponent-DpCVs8n_.js.map → DriverLicenseNumberComponent-CJmYTF0r.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-DpCVs8n_.js → DriverLicenseNumberComponent-w-Wpm0fk.js} +8 -8
- package/chunk/{DriverLicenseNumberComponent-XVb7vgi3.js.map → DriverLicenseNumberComponent-w-Wpm0fk.js.map} +1 -1
- package/chunk/{EmailLoopPending-Dz4TsQy4.js → EmailLoopPending-B2Ok4wQ5.js} +16 -16
- package/chunk/{EmailLoopPending-CMiOTpOJ.js.map → EmailLoopPending-B2Ok4wQ5.js.map} +1 -1
- package/chunk/{EmailLoopPending-CMiOTpOJ.js → EmailLoopPending-BVOXk0TZ.js} +17 -17
- package/chunk/{EmailLoopPending-Dz4TsQy4.js.map → EmailLoopPending-BVOXk0TZ.js.map} +1 -1
- package/chunk/{ExtraMessage-Bhmq_Waj.js → ExtraMessage-C31_qJNI.js} +7 -7
- package/chunk/{ExtraMessage-Bhmq_Waj.js.map → ExtraMessage-C31_qJNI.js.map} +1 -1
- package/chunk/{ExtraMessage-CgELJLpn.js → ExtraMessage-nnzMgwxs.js} +7 -7
- package/chunk/{ExtraMessage-CgELJLpn.js.map → ExtraMessage-nnzMgwxs.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-CEBS72Sm.js → FirstResponderOrganizationComponent-B_SXFEXh.js} +9 -9
- package/chunk/{FirstResponderOrganizationComponent-CC5-PDrK.js.map → FirstResponderOrganizationComponent-B_SXFEXh.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-CC5-PDrK.js → FirstResponderOrganizationComponent-B_ePUlXr.js} +9 -9
- package/chunk/{FirstResponderOrganizationComponent-CEBS72Sm.js.map → FirstResponderOrganizationComponent-B_ePUlXr.js.map} +1 -1
- package/chunk/{FormFieldInputSelect--mO3jmU8.js → FormFieldInputSelect-B4Q9e9yJ.js} +7 -7
- package/chunk/{FormFieldInputSelect--mO3jmU8.js.map → FormFieldInputSelect-B4Q9e9yJ.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-CPeFv22D.js → FormFieldInputSelect-CijRsSql.js} +7 -7
- package/chunk/{FormFieldInputSelect-CPeFv22D.js.map → FormFieldInputSelect-CijRsSql.js.map} +1 -1
- package/chunk/{FormFieldLayout-NkmhFC9B.js → FormFieldLayout-23VdEPCo.js} +6 -6
- package/chunk/{FormFieldLayout-DEKIQK2R.js.map → FormFieldLayout-23VdEPCo.js.map} +1 -1
- package/chunk/{FormFieldLayout-DEKIQK2R.js → FormFieldLayout-TnxaO2D9.js} +6 -6
- package/chunk/{FormFieldLayout-NkmhFC9B.js.map → FormFieldLayout-TnxaO2D9.js.map} +1 -1
- package/chunk/{FormFieldText-Bn9WIKiI.js → FormFieldText-Cm6HS8da.js} +7 -7
- package/chunk/{FormFieldText-Bn9WIKiI.js.map → FormFieldText-Cm6HS8da.js.map} +1 -1
- package/chunk/{FormFieldText-Py7x4EZ6.js → FormFieldText-g6knOdgq.js} +7 -7
- package/chunk/{FormFieldText-Py7x4EZ6.js.map → FormFieldText-g6knOdgq.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-Cy-3RAew.js → FormFieldTypeahead-CHRZZqMu.js} +56 -56
- package/chunk/{FormFieldTypeahead-Cy-3RAew.js.map → FormFieldTypeahead-CHRZZqMu.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-LSYbrfBP.js → FormFieldTypeahead-ZVvnLWqG.js} +58 -58
- package/chunk/{FormFieldTypeahead-LSYbrfBP.js.map → FormFieldTypeahead-ZVvnLWqG.js.map} +1 -1
- package/chunk/{FormFooterComponent-Db94BTNT.js → FormFooterComponent-DN_aTukK.js} +73 -73
- package/chunk/{FormFooterComponent-Db94BTNT.js.map → FormFooterComponent-DN_aTukK.js.map} +1 -1
- package/chunk/{FormFooterComponent-D4QJJ-El.js → FormFooterComponent-UodGb8EG.js} +54 -54
- package/chunk/{FormFooterComponent-D4QJJ-El.js.map → FormFooterComponent-UodGb8EG.js.map} +1 -1
- package/chunk/{FormSelectChoice-Zw3pKb9v.js → FormSelectChoice-BIk2v_ij.js} +8 -8
- package/chunk/{FormSelectChoice-BoTIc5oD.js.map → FormSelectChoice-BIk2v_ij.js.map} +1 -1
- package/chunk/{FormSelectChoice-BoTIc5oD.js → FormSelectChoice-XZsvJdSa.js} +8 -8
- package/chunk/{FormSelectChoice-Zw3pKb9v.js.map → FormSelectChoice-XZsvJdSa.js.map} +1 -1
- package/chunk/{InputText-dflyPe3J.js → InputText-DjaVf2dX.js} +6 -6
- package/chunk/{InputText-CMu4ei8e.js.map → InputText-DjaVf2dX.js.map} +1 -1
- package/chunk/{InputText-CMu4ei8e.js → InputText-kW_kzMjm.js} +6 -6
- package/chunk/{InputText-dflyPe3J.js.map → InputText-kW_kzMjm.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-y5azOwHV.js → LicensedProfessionalOrganizationComponent-BU2SZvkL.js} +9 -9
- package/chunk/{LicensedProfessionalOrganizationComponent-BUtMTAkk.js.map → LicensedProfessionalOrganizationComponent-BU2SZvkL.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-BUtMTAkk.js → LicensedProfessionalOrganizationComponent-mcCaNV-R.js} +9 -9
- package/chunk/{LicensedProfessionalOrganizationComponent-y5azOwHV.js.map → LicensedProfessionalOrganizationComponent-mcCaNV-R.js.map} +1 -1
- package/chunk/{LogoComponent-DRlUkzL5.js → LogoComponent-BBiqSSo-.js} +6 -6
- package/chunk/{LogoComponent-CJcMDzxn.js.map → LogoComponent-BBiqSSo-.js.map} +1 -1
- package/chunk/{LogoComponent-CJcMDzxn.js → LogoComponent-WMEJyDHA.js} +6 -6
- package/chunk/{LogoComponent-DRlUkzL5.js.map → LogoComponent-WMEJyDHA.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-XE645g9w.js → LowIncomeOrganizationComponent-BsAyEpcL.js} +12 -12
- package/chunk/{LowIncomeOrganizationComponent-CMLS_6f7.js.map → LowIncomeOrganizationComponent-BsAyEpcL.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-CMLS_6f7.js → LowIncomeOrganizationComponent-DaAfsxyz.js} +15 -15
- package/chunk/{LowIncomeOrganizationComponent-XE645g9w.js.map → LowIncomeOrganizationComponent-DaAfsxyz.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-CEfnIdC3.js → MedicalProfessionalOrganizationComponent-D-OSmGVW.js} +9 -9
- package/chunk/{MedicalProfessionalOrganizationComponent-B6hySwWt.js.map → MedicalProfessionalOrganizationComponent-D-OSmGVW.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-B6hySwWt.js → MedicalProfessionalOrganizationComponent-j7YyHlZF.js} +9 -9
- package/chunk/{MedicalProfessionalOrganizationComponent-CEfnIdC3.js.map → MedicalProfessionalOrganizationComponent-j7YyHlZF.js.map} +1 -1
- package/chunk/{MemberIdComponent-CPlvhVZ8.js → MemberIdComponent-BZoHhg8k.js} +8 -8
- package/chunk/{MemberIdComponent-BnJLiVV-.js.map → MemberIdComponent-BZoHhg8k.js.map} +1 -1
- package/chunk/{MemberIdComponent-BnJLiVV-.js → MemberIdComponent-UKnA68zE.js} +8 -8
- package/chunk/{MemberIdComponent-CPlvhVZ8.js.map → MemberIdComponent-UKnA68zE.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-CEU4TQuO.js → MembershipOrganizationComponent-CNeWeHzI.js} +9 -9
- package/chunk/{MembershipOrganizationComponent-CEU4TQuO.js.map → MembershipOrganizationComponent-CNeWeHzI.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-D0YorDhu.js → MembershipOrganizationComponent-Du-uDZEG.js} +9 -9
- package/chunk/{MembershipOrganizationComponent-D0YorDhu.js.map → MembershipOrganizationComponent-Du-uDZEG.js.map} +1 -1
- package/chunk/{Message-BgJQKz_x.js → Message-CbU7t2F7.js} +1346 -1345
- package/chunk/{Message-BgJQKz_x.js.map → Message-CbU7t2F7.js.map} +1 -1
- package/chunk/{Message-C8hwqDr2.js → Message-Dh1_V9dt.js} +730 -729
- package/chunk/{Message-C8hwqDr2.js.map → Message-Dh1_V9dt.js.map} +1 -1
- package/chunk/Onfido-CTCgAwnB.js +4 -4
- package/chunk/{PersonalInfoStepSubmitButton-CJYeNqbu.js → PersonalInfoStepSubmitButton-B-M8eKpG.js} +19 -19
- package/chunk/{PersonalInfoStepSubmitButton-CJYeNqbu.js.map → PersonalInfoStepSubmitButton-B-M8eKpG.js.map} +1 -1
- package/chunk/{PersonalInfoStepSubmitButton-CdZymKZb.js → PersonalInfoStepSubmitButton-C67UOzbu.js} +20 -20
- package/chunk/{PersonalInfoStepSubmitButton-CdZymKZb.js.map → PersonalInfoStepSubmitButton-C67UOzbu.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-BIbUswfn.js → PersonalInfoStepWrapper-CJporV1L.js} +7 -7
- package/chunk/{PersonalInfoStepWrapper-BIbUswfn.js.map → PersonalInfoStepWrapper-CJporV1L.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-DQ75PRWo.js → PersonalInfoStepWrapper-Can2a6R_.js} +17 -17
- package/chunk/{PersonalInfoStepWrapper-DQ75PRWo.js.map → PersonalInfoStepWrapper-Can2a6R_.js.map} +1 -1
- package/chunk/{PostalCodeComponent-DNdUR9Xg.js → PostalCodeComponent-S8EMzjKA.js} +8 -8
- package/chunk/{PostalCodeComponent-DNdUR9Xg.js.map → PostalCodeComponent-S8EMzjKA.js.map} +1 -1
- package/chunk/{PostalCodeComponent-zteosCwv.js → PostalCodeComponent-S8f2lhPF.js} +8 -8
- package/chunk/{PostalCodeComponent-zteosCwv.js.map → PostalCodeComponent-S8f2lhPF.js.map} +1 -1
- package/chunk/{SSN-BKPNF7cg.js → SSN-CqHnWpBl.js} +8 -8
- package/chunk/{SSN-BKPNF7cg.js.map → SSN-CqHnWpBl.js.map} +1 -1
- package/chunk/{SSN-CTR6jwEC.js → SSN-Dt_cpKLM.js} +8 -8
- package/chunk/{SSN-CTR6jwEC.js.map → SSN-Dt_cpKLM.js.map} +1 -1
- package/chunk/{StateSelectComponent-Dt-vsjau.js → StateSelectComponent-CinTEErP.js} +8 -8
- package/chunk/{StateSelectComponent-CpGuzW45.js.map → StateSelectComponent-CinTEErP.js.map} +1 -1
- package/chunk/{StateSelectComponent-CpGuzW45.js → StateSelectComponent-DUZtpcwe.js} +8 -8
- package/chunk/{StateSelectComponent-Dt-vsjau.js.map → StateSelectComponent-DUZtpcwe.js.map} +1 -1
- package/chunk/{StatusComponent-8j96MYEP.js → StatusComponent-CwwsRQmS.js} +9 -9
- package/chunk/{StatusComponent-8j96MYEP.js.map → StatusComponent-CwwsRQmS.js.map} +1 -1
- package/chunk/{StatusComponent-DZu1lz0O.js → StatusComponent-D3J57l9V.js} +9 -9
- package/chunk/{StatusComponent-DZu1lz0O.js.map → StatusComponent-D3J57l9V.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-DFv4SYcW.js → StepAgePersonalInfo-Cd2H3W4S.js} +58 -58
- package/chunk/{StepAgePersonalInfo-BqALUq2Z.js.map → StepAgePersonalInfo-Cd2H3W4S.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-BqALUq2Z.js → StepAgePersonalInfo-bff8TmYc.js} +58 -58
- package/chunk/{StepAgePersonalInfo-DFv4SYcW.js.map → StepAgePersonalInfo-bff8TmYc.js.map} +1 -1
- package/chunk/{StepCard-EHeqFY3Y.js → StepCard-A7CfdiZx.js} +5 -5
- package/chunk/{StepCard-DQ9JkAjb.js.map → StepCard-A7CfdiZx.js.map} +1 -1
- package/chunk/{StepCard-DQ9JkAjb.js → StepCard-TuSPjGQj.js} +5 -5
- package/chunk/{StepCard-EHeqFY3Y.js.map → StepCard-TuSPjGQj.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-DAwDOBzU.js → StepCollectIdentifier-DhHTccOW.js} +9 -9
- package/chunk/{StepCollectIdentifier-7VdLmT7J.js.map → StepCollectIdentifier-DhHTccOW.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-7VdLmT7J.js → StepCollectIdentifier-DpxG8Qao.js} +9 -9
- package/chunk/{StepCollectIdentifier-DAwDOBzU.js.map → StepCollectIdentifier-DpxG8Qao.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-CXmxwwfG.js → StepCollectMilitaryPersonalInfoComponent-0gI8ebUM.js} +23 -23
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-CKUjV6kM.js.map → StepCollectMilitaryPersonalInfoComponent-0gI8ebUM.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-CKUjV6kM.js → StepCollectMilitaryPersonalInfoComponent-DQCRukuB.js} +23 -23
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-CXmxwwfG.js.map → StepCollectMilitaryPersonalInfoComponent-DQCRukuB.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-DZlzAIxw.js → StepCollectPersonalInfo-0D43XcYg.js} +44 -44
- package/chunk/{StepCollectPersonalInfo-DZlzAIxw.js.map → StepCollectPersonalInfo-0D43XcYg.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-CXurqlAa.js → StepCollectPersonalInfo-DGCHonaO.js} +44 -44
- package/chunk/{StepCollectPersonalInfo-CXurqlAa.js.map → StepCollectPersonalInfo-DGCHonaO.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-BY_5AqX4.js → StepCompleteAuthentication-9IO15InM.js} +9 -9
- package/chunk/{StepCompleteAuthentication-BY_5AqX4.js.map → StepCompleteAuthentication-9IO15InM.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-DMwS3S6i.js → StepCompleteAuthentication-BtaBmTdY.js} +20 -20
- package/chunk/{StepCompleteAuthentication-DMwS3S6i.js.map → StepCompleteAuthentication-BtaBmTdY.js.map} +1 -1
- package/chunk/{StepConsolation-yUao3Y71.js → StepConsolation-BYJrzPhb.js} +8 -8
- package/chunk/{StepConsolation-yUao3Y71.js.map → StepConsolation-BYJrzPhb.js.map} +1 -1
- package/chunk/{StepConsolation-f1mq8nYz.js → StepConsolation-BlyaWmH0.js} +8 -8
- package/chunk/{StepConsolation-f1mq8nYz.js.map → StepConsolation-BlyaWmH0.js.map} +1 -1
- package/chunk/{StepDocUpload-D8IflMYV.js → StepDocUpload-Dt9BXXEb.js} +28 -28
- package/chunk/{StepDocUpload-D8IflMYV.js.map → StepDocUpload-Dt9BXXEb.js.map} +1 -1
- package/chunk/{StepDocUpload-D5CXzeAU.js → StepDocUpload-UWDCjeCP.js} +30 -30
- package/chunk/{StepDocUpload-D5CXzeAU.js.map → StepDocUpload-UWDCjeCP.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-aUQdYB_b.js → StepDriverLicensePersonalInfoComponent-BefsBTXA.js} +15 -15
- package/chunk/{StepDriverLicensePersonalInfoComponent-TSQaq3Ek.js.map → StepDriverLicensePersonalInfoComponent-BefsBTXA.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-TSQaq3Ek.js → StepDriverLicensePersonalInfoComponent-CPOFMRp_.js} +15 -15
- package/chunk/{StepDriverLicensePersonalInfoComponent-aUQdYB_b.js.map → StepDriverLicensePersonalInfoComponent-CPOFMRp_.js.map} +1 -1
- package/chunk/{StepEmailLoop--xNmysns.js → StepEmailLoop-B0oRiGz0.js} +13 -13
- package/chunk/{StepEmailLoop--xNmysns.js.map → StepEmailLoop-B0oRiGz0.js.map} +1 -1
- package/chunk/{StepEmailLoop-BLT6aG-Y.js → StepEmailLoop-CS2KUPEU.js} +13 -13
- package/chunk/{StepEmailLoop-BLT6aG-Y.js.map → StepEmailLoop-CS2KUPEU.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-9DG4e6iW.js → StepEmploymentPersonalInfo-B4Q_Vmn1.js} +20 -20
- package/chunk/{StepEmploymentPersonalInfo-9DG4e6iW.js.map → StepEmploymentPersonalInfo-B4Q_Vmn1.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-DX3Ax6NO.js → StepEmploymentPersonalInfo-Yib6xGXV.js} +20 -20
- package/chunk/{StepEmploymentPersonalInfo-DX3Ax6NO.js.map → StepEmploymentPersonalInfo-Yib6xGXV.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-Ds1kO5m6.js → StepFirstResponderPersonalInfo-B4tL9MhD.js} +30 -30
- package/chunk/{StepFirstResponderPersonalInfo-CRF48sc2.js.map → StepFirstResponderPersonalInfo-B4tL9MhD.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-CRF48sc2.js → StepFirstResponderPersonalInfo-B9PC3Jng.js} +35 -35
- package/chunk/{StepFirstResponderPersonalInfo-Ds1kO5m6.js.map → StepFirstResponderPersonalInfo-B9PC3Jng.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-D8mnMCVb.js → StepGeneralIdentityPersonalInfoComponent--PJYfPS9.js} +18 -18
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-D8mnMCVb.js.map → StepGeneralIdentityPersonalInfoComponent--PJYfPS9.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-DUsAZ0Xk.js → StepGeneralIdentityPersonalInfoComponent-8oj9G0T1.js} +18 -18
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-DUsAZ0Xk.js.map → StepGeneralIdentityPersonalInfoComponent-8oj9G0T1.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-BqBc1AZg.js → StepHybridIdentityPersonalInfoComponent-CjQ0foYf.js} +19 -19
- package/chunk/{StepHybridIdentityPersonalInfoComponent-BqBc1AZg.js.map → StepHybridIdentityPersonalInfoComponent-CjQ0foYf.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-D8LGDNFl.js → StepHybridIdentityPersonalInfoComponent-D0Bo9WQP.js} +19 -19
- package/chunk/{StepHybridIdentityPersonalInfoComponent-D8LGDNFl.js.map → StepHybridIdentityPersonalInfoComponent-D0Bo9WQP.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-YpZuox49.js → StepIDCheckLoop-D4zeYY-d.js} +8 -8
- package/chunk/{StepIDCheckLoop-Cwm6IPWs.js.map → StepIDCheckLoop-D4zeYY-d.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-Cwm6IPWs.js → StepIDCheckLoop-DuWYhW6n.js} +8 -8
- package/chunk/{StepIDCheckLoop-YpZuox49.js.map → StepIDCheckLoop-DuWYhW6n.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-L6oHneIc.js → StepIDCheckLoopOnfido-Rcx5dDBJ.js} +25 -25
- package/chunk/{StepIDCheckLoopOnfido-L6oHneIc.js.map → StepIDCheckLoopOnfido-Rcx5dDBJ.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-CldFXtGX.js → StepIDCheckLoopOnfido-hmgOrSYi.js} +25 -25
- package/chunk/{StepIDCheckLoopOnfido-CldFXtGX.js.map → StepIDCheckLoopOnfido-hmgOrSYi.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-8pxLMKE0.js → StepIDCheckLoopRegula-D4uRVHpI.js} +11 -11
- package/chunk/{StepIDCheckLoopRegula-8pxLMKE0.js.map → StepIDCheckLoopRegula-D4uRVHpI.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-B0Yv__kO.js → StepIDCheckLoopRegula-DNfiiZQR.js} +11 -11
- package/chunk/{StepIDCheckLoopRegula-B0Yv__kO.js.map → StepIDCheckLoopRegula-DNfiiZQR.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-oKQFxnEJ.js → StepLicensedProfessionalPersonalInfo-CIUHCkK-.js} +20 -20
- package/chunk/{StepLicensedProfessionalPersonalInfo-Bzrr0g4R.js.map → StepLicensedProfessionalPersonalInfo-CIUHCkK-.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-Bzrr0g4R.js → StepLicensedProfessionalPersonalInfo-CdejPwI2.js} +20 -20
- package/chunk/{StepLicensedProfessionalPersonalInfo-oKQFxnEJ.js.map → StepLicensedProfessionalPersonalInfo-CdejPwI2.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-qaRKPwSk.js → StepLowIncomePersonalInfo-Bhg26pJ9.js} +24 -24
- package/chunk/{StepLowIncomePersonalInfo-DOB6gFAS.js.map → StepLowIncomePersonalInfo-Bhg26pJ9.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-DOB6gFAS.js → StepLowIncomePersonalInfo-jV2FDRyA.js} +32 -32
- package/chunk/{StepLowIncomePersonalInfo-qaRKPwSk.js.map → StepLowIncomePersonalInfo-jV2FDRyA.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-D9k7ENlE.js → StepMedicalProfessionalPersonalInfo-2T8NjAkS.js} +21 -21
- package/chunk/{StepMedicalProfessionalPersonalInfo-D9k7ENlE.js.map → StepMedicalProfessionalPersonalInfo-2T8NjAkS.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-RPKhaZPl.js → StepMedicalProfessionalPersonalInfo-5gdyRLPb.js} +21 -21
- package/chunk/{StepMedicalProfessionalPersonalInfo-RPKhaZPl.js.map → StepMedicalProfessionalPersonalInfo-5gdyRLPb.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-Bza2nmdJ.js → StepMemberPersonalInfo-49h2IL56.js} +17 -17
- package/chunk/{StepMemberPersonalInfo-2IUwBn6z.js.map → StepMemberPersonalInfo-49h2IL56.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-2IUwBn6z.js → StepMemberPersonalInfo-BLfVdTS4.js} +56 -56
- package/chunk/{StepMemberPersonalInfo-Bza2nmdJ.js.map → StepMemberPersonalInfo-BLfVdTS4.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-D_lsPua4.js → StepMoverPersonalInfo-BBL0N0po.js} +47 -47
- package/chunk/{StepMoverPersonalInfo-BfN-eiIO.js.map → StepMoverPersonalInfo-BBL0N0po.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-BfN-eiIO.js → StepMoverPersonalInfo-Bn4baYdo.js} +15 -15
- package/chunk/{StepMoverPersonalInfo-D_lsPua4.js.map → StepMoverPersonalInfo-Bn4baYdo.js.map} +1 -1
- package/chunk/{StepOverrideComponent-Ld6S6tQi.js → StepOverrideComponent-D1Yt52PA.js} +21 -21
- package/chunk/{StepOverrideComponent-Ld6S6tQi.js.map → StepOverrideComponent-D1Yt52PA.js.map} +1 -1
- package/chunk/{StepOverrideComponent-Mf03I7W7.js → StepOverrideComponent-Db2qbG7p.js} +21 -21
- package/chunk/{StepOverrideComponent-Mf03I7W7.js.map → StepOverrideComponent-Db2qbG7p.js.map} +1 -1
- package/chunk/{StepSMSLoop-Bcx24Ycx.js → StepSMSLoop-B5pvxGza.js} +22 -22
- package/chunk/{StepSMSLoop-9sxMk7gX.js.map → StepSMSLoop-B5pvxGza.js.map} +1 -1
- package/chunk/{StepSMSLoop-9sxMk7gX.js → StepSMSLoop-DyFk46pS.js} +22 -22
- package/chunk/{StepSMSLoop-Bcx24Ycx.js.map → StepSMSLoop-DyFk46pS.js.map} +1 -1
- package/chunk/StepSSO-BGHCbduX.js +4 -4
- package/chunk/StepSSO-ZHByQpHa.js +4 -4
- package/chunk/{StepSocialSecurityNumber-DruKpXOw.js → StepSocialSecurityNumber-BScMW4aa.js} +24 -24
- package/chunk/{StepSocialSecurityNumber-7clvuQce.js.map → StepSocialSecurityNumber-BScMW4aa.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-7clvuQce.js → StepSocialSecurityNumber-BXTFTRtU.js} +12 -12
- package/chunk/{StepSocialSecurityNumber-DruKpXOw.js.map → StepSocialSecurityNumber-BXTFTRtU.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-BzMOGhN1.js → StepStudentPersonalInfo-BXgbCDPU.js} +63 -63
- package/chunk/{StepStudentPersonalInfo-BzMOGhN1.js.map → StepStudentPersonalInfo-BXgbCDPU.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-Dw1ljSGU.js → StepStudentPersonalInfo-C_Gwr1pT.js} +20 -20
- package/chunk/{StepStudentPersonalInfo-Dw1ljSGU.js.map → StepStudentPersonalInfo-C_Gwr1pT.js.map} +1 -1
- package/chunk/{StepSuccess-DTqu9PmR.js → StepSuccess-BWigRqmh.js} +94 -94
- package/chunk/StepSuccess-BWigRqmh.js.map +1 -0
- package/chunk/{StepSuccess-ICuC7CFW.js → StepSuccess-D0GQexPa.js} +92 -92
- package/chunk/StepSuccess-D0GQexPa.js.map +1 -0
- package/chunk/{StepTeacherPersonalInfo-Ds2sDRzl.js → StepTeacherPersonalInfo-Bv9DB_Lt.js} +18 -18
- package/chunk/{StepTeacherPersonalInfo-BhvBqRYQ.js.map → StepTeacherPersonalInfo-Bv9DB_Lt.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-BhvBqRYQ.js → StepTeacherPersonalInfo-DZ4924qb.js} +18 -18
- package/chunk/{StepTeacherPersonalInfo-Ds2sDRzl.js.map → StepTeacherPersonalInfo-DZ4924qb.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BrKuZcYb.js +4 -4
- package/chunk/StepThirdPartyLoop-CbFTIlwP.js +4 -4
- package/chunk/{TeacherSchoolComponent-CzT9PLGe.js → TeacherSchoolComponent-DE9AiCxY.js} +10 -10
- package/chunk/{TeacherSchoolComponent-CzT9PLGe.js.map → TeacherSchoolComponent-DE9AiCxY.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-D9M32gJE.js → TeacherSchoolComponent-DmGbff9I.js} +10 -10
- package/chunk/{TeacherSchoolComponent-D9M32gJE.js.map → TeacherSchoolComponent-DmGbff9I.js.map} +1 -1
- package/chunk/{TestingRouteOverrides-ipf_F-iY.js → TestingRouteOverrides-A7CajDc2.js} +20 -20
- package/chunk/{TestingRouteOverrides-EggQSvgh.js.map → TestingRouteOverrides-A7CajDc2.js.map} +1 -1
- package/chunk/{TestingRouteOverrides-EggQSvgh.js → TestingRouteOverrides-CteVovkM.js} +12 -12
- package/chunk/{TestingRouteOverrides-ipf_F-iY.js.map → TestingRouteOverrides-CteVovkM.js.map} +1 -1
- package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
- package/chunk/ar-D5CO913q.js +4 -4
- package/chunk/bg-1mhA5kYF.js +4 -4
- package/chunk/bn-IN-CpDqyRb_.js +4 -4
- package/chunk/clsx-CB5rauS5.js +4 -4
- package/chunk/{countryUtils-CM4nPYrB.js → countryUtils-Cm0CKgKH.js} +5 -5
- package/chunk/{countryUtils-CM4nPYrB.js.map → countryUtils-Cm0CKgKH.js.map} +1 -1
- package/chunk/countryUtils-tSyfKDmf.js +12 -0
- package/chunk/{countryUtils-Df3Rcr8q.js.map → countryUtils-tSyfKDmf.js.map} +1 -1
- package/chunk/cs-Chh7FAGt.js +4 -4
- package/chunk/da-DwrVoxto.js +4 -4
- package/chunk/de-IWGZLhgY.js +4 -4
- package/chunk/{downshift.esm-BUyxJQSO.js → downshift.esm-DW1n73ef.js} +7 -7
- package/chunk/{downshift.esm-CQ910rwo.js.map → downshift.esm-DW1n73ef.js.map} +1 -1
- package/chunk/{downshift.esm-CQ910rwo.js → downshift.esm-DdyoD_BK.js} +7 -7
- package/chunk/{downshift.esm-BUyxJQSO.js.map → downshift.esm-DdyoD_BK.js.map} +1 -1
- package/chunk/el-DbDcvSPJ.js +4 -4
- package/chunk/{empties-Dhc64eA5.js → empties-CuzjzEsL.js} +5 -5
- package/chunk/{empties-DHI3R7ys.js.map → empties-CuzjzEsL.js.map} +1 -1
- package/chunk/{empties-DHI3R7ys.js → empties-vS2Us_U5.js} +5 -5
- package/chunk/{empties-Dhc64eA5.js.map → empties-vS2Us_U5.js.map} +1 -1
- package/chunk/en-GB-BBkjjtqq.js +4 -4
- package/chunk/es-ES-DWimqEZ_.js +4 -4
- package/chunk/es-qhC-seq5.js +4 -4
- package/chunk/et-yF9G-Mym.js +4 -4
- package/chunk/eventEmitter-CSG6jR7V.js +4 -4
- package/chunk/fa-BcdSf7og.js +4 -4
- package/chunk/fi-D-IP_KHm.js +4 -4
- package/chunk/fr-BmUuYxk0.js +4 -4
- package/chunk/fr-CA-DVQ4xmzZ.js +4 -4
- package/chunk/ga-DuZycND3.js +4 -4
- package/chunk/hi-IN-l6Rn5Ewm.js +4 -4
- package/chunk/{hooks-BlwolTIT.js → hooks-BqfaxVbh.js} +45 -45
- package/chunk/{hooks-BlwolTIT.js.map → hooks-BqfaxVbh.js.map} +1 -1
- package/chunk/{hooks-gC9DtNY1.js → hooks-CAAVVsC2.js} +47 -47
- package/chunk/{hooks-gC9DtNY1.js.map → hooks-CAAVVsC2.js.map} +1 -1
- package/chunk/hr-BtqyDzDB.js +4 -4
- package/chunk/hu-C6syKJfb.js +4 -4
- package/chunk/id-GgI-Z2a5.js +4 -4
- package/chunk/{intl-CvSmE54g.js → intl-8IwAIXoJ.js} +438 -430
- package/chunk/intl-8IwAIXoJ.js.map +1 -0
- package/chunk/is-CvmKEON9.js +4 -4
- package/chunk/it-CnmveGgC.js +4 -4
- package/chunk/iw-DFUYHkxF.js +4 -4
- package/chunk/ja-CjVb2tWW.js +4 -4
- package/chunk/{jsx-runtime-JSlXFmKD.js → jsx-runtime-DOcXt_NQ.js} +5 -5
- package/chunk/{jsx-runtime-JSlXFmKD.js.map → jsx-runtime-DOcXt_NQ.js.map} +1 -1
- package/chunk/{jsx-runtime-CyXcV_93.js → jsx-runtime-Dztc5pGe.js} +5 -5
- package/chunk/{jsx-runtime-CyXcV_93.js.map → jsx-runtime-Dztc5pGe.js.map} +1 -1
- package/chunk/kk-Dvz4nK6K.js +4 -4
- package/chunk/ko-DzOqBMGC.js +4 -4
- package/chunk/lo-C2WPq55d.js +4 -4
- package/chunk/lt-BSDYvjTF.js +4 -4
- package/chunk/lv-CefDPT-M.js +4 -4
- package/chunk/mockProgramTheme-CBqgtg7A.js +4 -4
- package/chunk/{mocks-Dpf6dNc6.js → mocks-B63gxlSj.js} +5 -5
- package/chunk/{mocks-DrV8NINc.js.map → mocks-B63gxlSj.js.map} +1 -1
- package/chunk/{mocks-DrV8NINc.js → mocks-DPa4hUmN.js} +5 -5
- package/chunk/{mocks-Dpf6dNc6.js.map → mocks-DPa4hUmN.js.map} +1 -1
- package/chunk/ms-BjestZxy.js +4 -4
- package/chunk/nl-B1FyUfCT.js +4 -4
- package/chunk/nl-BE-CbeAd3nq.js +4 -4
- package/chunk/no-Dr633Ddi.js +4 -4
- package/chunk/{options-CRzdSTAR.js → options-CbyxEsS6.js} +331 -323
- package/chunk/options-CbyxEsS6.js.map +1 -0
- package/chunk/pl-UYTjMIq_.js +4 -4
- package/chunk/{programThemeGetters-DhVXOl92.js → programThemeGetters-BzTM_4ke.js} +22 -22
- package/chunk/{programThemeGetters-DhVXOl92.js.map → programThemeGetters-BzTM_4ke.js.map} +1 -1
- package/chunk/{programThemeGetters-CdBaEHVT.js → programThemeGetters-Dz1mfptL.js} +34 -34
- package/chunk/{programThemeGetters-CdBaEHVT.js.map → programThemeGetters-Dz1mfptL.js.map} +1 -1
- package/chunk/pt-BR-C8SYMT-J.js +4 -4
- package/chunk/pt-uH-M3GdN.js +4 -4
- package/chunk/refs-Mq0rtW9K.js +4 -4
- package/chunk/ro-CAOSXZ7h.js +4 -4
- package/chunk/ru-iwYoEydL.js +4 -4
- package/chunk/runtimeTypes-B2AGNJMT.js +4 -4
- package/chunk/sk-DYYNV3zw.js +4 -4
- package/chunk/sl-D_-eeM5N.js +4 -4
- package/chunk/sr-BTi9_anL.js +4 -4
- package/chunk/{stepComponentHelpers-CLUoIwIK.js → stepComponentHelpers-CuO5tLTB.js} +7 -7
- package/chunk/{stepComponentHelpers-C6PguBPd.js.map → stepComponentHelpers-CuO5tLTB.js.map} +1 -1
- package/chunk/{stepComponentHelpers-C6PguBPd.js → stepComponentHelpers-JFXsrK-K.js} +7 -7
- package/chunk/{stepComponentHelpers-CLUoIwIK.js.map → stepComponentHelpers-JFXsrK-K.js.map} +1 -1
- package/chunk/strings-DWLVdUcm.js +4 -4
- package/chunk/sv-DRwY4shG.js +4 -4
- package/chunk/sw-Bvj2mYmM.js +4 -4
- package/chunk/ta-CmtaYoNe.js +4 -4
- package/chunk/th-12r2yKkJ.js +4 -4
- package/chunk/tl-BGNfO7md.js +4 -4
- package/chunk/tr-DH2ZSJhs.js +4 -4
- package/chunk/uk-CELBZlTd.js +4 -4
- package/chunk/ur-MR8DTbmd.js +4 -4
- package/chunk/{useCollectFieldsEndpoint-DhEB0r4Q.js → useCollectFieldsEndpoint-B3-jkSlI.js} +12 -12
- package/chunk/{useCollectFieldsEndpoint-DhEB0r4Q.js.map → useCollectFieldsEndpoint-B3-jkSlI.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-C0RomFpQ.js → useCollectFieldsEndpoint-DnZkFvvB.js} +12 -12
- package/chunk/{useCollectFieldsEndpoint-C0RomFpQ.js.map → useCollectFieldsEndpoint-DnZkFvvB.js.map} +1 -1
- package/chunk/{useMetrics-C3KNudJk.js → useMetrics-BtncAWgP.js} +7 -7
- package/chunk/{useMetrics-C3KNudJk.js.map → useMetrics-BtncAWgP.js.map} +1 -1
- package/chunk/{useMetrics-Cjo0Vkjx.js → useMetrics-DRKq3hnJ.js} +7 -7
- package/chunk/{useMetrics-Cjo0Vkjx.js.map → useMetrics-DRKq3hnJ.js.map} +1 -1
- package/chunk/vi-DtZ-SqD5.js +4 -4
- package/chunk/zh-DjyVyYac.js +4 -4
- package/chunk/zh-HK-CN1HarHq.js +4 -4
- package/chunk/zu-DPhgIh1z.js +4 -4
- package/package.json +1 -1
- package/sheerid-install.css +4 -4
- package/sheerid-install.js +4 -4
- package/sheerid.css +4 -4
- package/sheerid.js +966 -960
- package/sheerid.js.map +1 -1
- package/chunk/StepSuccess-DTqu9PmR.js.map +0 -1
- package/chunk/StepSuccess-ICuC7CFW.js.map +0 -1
- package/chunk/countryUtils-Df3Rcr8q.js +0 -12
- package/chunk/intl-CvSmE54g.js.map +0 -1
- package/chunk/options-CRzdSTAR.js.map +0 -1
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: Mon Sep 21 2026
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.291.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1790031324838
|
|
9
|
+
* BUILD_DATE: Mon Sep 21 2026 22:55:24 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: be7cd0d3fb5ee01f15a63a6669da3dfe86723b27
|
|
11
11
|
*/
|
|
12
|
-
import { D as e,
|
|
13
|
-
import { S as
|
|
14
|
-
import { E as
|
|
15
|
-
import { c as
|
|
16
|
-
import { F as
|
|
17
|
-
import { a as
|
|
18
|
-
import { _ as
|
|
19
|
-
import { a as
|
|
20
|
-
import { i as
|
|
21
|
-
import { t as
|
|
22
|
-
import { t as
|
|
23
|
-
import { t as
|
|
12
|
+
import { D as e, Dt as t, E as n, Et as r, T as i, Tt as a, b as o, c as s, dt as c, f as l, g as u, h as d, ht as f, i as p, k as m, kt as h, l as g, m as _, n as v, o as y, p as b, r as x, s as S, st as C, t as w, v as T, w as E, x as ee, y as D } from "./chunk/intl-8IwAIXoJ.js";
|
|
13
|
+
import { S as O, b as k, h as te, x as A } from "./chunk/runtimeTypes-B2AGNJMT.js";
|
|
14
|
+
import { E as j, S as ne, T as re, i as ie, w as ae } from "./chunk/programThemeGetters-Dz1mfptL.js";
|
|
15
|
+
import { c as oe, i as se, n as M, t as ce } from "./chunk/jsx-runtime-DOcXt_NQ.js";
|
|
16
|
+
import { F as le, I as ue, L as de, M as fe, P as pe, S as me, _ as he, a as ge, b as _e, c as ve, d as ye, f as be, g as xe, i as Se, j as Ce, k as we, o as Te, r as Ee, s as De, t as N, u as Oe, v as ke, x as Ae, y as je } from "./chunk/Message-Dh1_V9dt.js";
|
|
17
|
+
import { a as Me, i as Ne, n as Pe, r as Fe, s as Ie, t as Le } from "./chunk/TestingRouteOverrides-A7CajDc2.js";
|
|
18
|
+
import { _ as Re, a as ze, c as Be, d as Ve, f as He, g as Ue, h as We, i as Ge, l as Ke, n as qe, o as Je, p as Ye, r as Xe, s as Ze, t as Qe, u as $e } from "./chunk/FormFooterComponent-UodGb8EG.js";
|
|
19
|
+
import { a as et, i as tt, n as nt, r as rt, t as it } from "./chunk/hooks-BqfaxVbh.js";
|
|
20
|
+
import { i as at, s as ot, t as st } from "./chunk/refs-Mq0rtW9K.js";
|
|
21
|
+
import { t as ct } from "./chunk/LogoComponent-WMEJyDHA.js";
|
|
22
|
+
import { t as lt } from "./chunk/strings-DWLVdUcm.js";
|
|
23
|
+
import { t as ut } from "./chunk/AnnouncingHeader-DtYf-VWN.js";
|
|
24
24
|
//#region ../node_modules/react-i18next/dist/es/I18nextProvider.js
|
|
25
|
-
var
|
|
26
|
-
function
|
|
27
|
-
let r = (0,
|
|
25
|
+
var P = /* @__PURE__ */ h(oe());
|
|
26
|
+
function dt({ i18n: e, defaultNS: t, children: n }) {
|
|
27
|
+
let r = (0, P.useMemo)(() => ({
|
|
28
28
|
i18n: e,
|
|
29
29
|
defaultNS: t
|
|
30
30
|
}), [e, t]);
|
|
31
|
-
return (0,
|
|
31
|
+
return (0, P.createElement)(de.Provider, { value: r }, n);
|
|
32
32
|
}
|
|
33
33
|
//#endregion
|
|
34
34
|
//#region src/lib/VerificationService/ProgramTheme/ProgramTheme.ts
|
|
35
|
-
var
|
|
36
|
-
let n =
|
|
37
|
-
let r =
|
|
38
|
-
|
|
35
|
+
var ft = (e, t = { partial: !0 }) => {
|
|
36
|
+
let n = Xe(), r = n.getState(), i = () => {
|
|
37
|
+
let r = m(e);
|
|
38
|
+
O.info("Setting programTheme", r), Ve(n.dispatch)(r, t.partial), ke(r, t.partial);
|
|
39
39
|
};
|
|
40
|
-
r.isLoading ?
|
|
40
|
+
r.isLoading ? We({
|
|
41
41
|
name: "ON_VERIFICATION_READY",
|
|
42
42
|
callback: () => {
|
|
43
43
|
i();
|
|
44
44
|
}
|
|
45
45
|
}) : i();
|
|
46
|
-
},
|
|
46
|
+
}, pt = /* @__PURE__ */ h(r(), 1), mt = /* @__PURE__ */ h(xe(), 1), F = ce(), ht = () => /* @__PURE__ */ (0, F.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, F.jsx)("div", { className: "sid-spinner__frame" }),
|
|
51
|
+
/* @__PURE__ */ (0, F.jsx)("div", { className: "sid-spinner__frame" }),
|
|
52
|
+
/* @__PURE__ */ (0, F.jsx)("div", { className: "sid-spinner__frame" }),
|
|
53
|
+
/* @__PURE__ */ (0, F.jsx)("div", { className: "sid-spinner__frame" })
|
|
54
54
|
]
|
|
55
|
-
}),
|
|
55
|
+
}), gt = ({ step: e }) => /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
56
56
|
className: "sid-loading-screen__message",
|
|
57
|
-
children: [
|
|
57
|
+
children: [A(e) && /* @__PURE__ */ (0, F.jsx)("div", {
|
|
58
58
|
className: "sid-loading-screen__message-header",
|
|
59
59
|
role: "alert",
|
|
60
|
-
children: /* @__PURE__ */ (0,
|
|
60
|
+
children: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
61
61
|
id: "step.personalInfo.verifyingTitle",
|
|
62
62
|
defaultMessage: "Verifying your status"
|
|
63
63
|
})
|
|
64
|
-
}), /* @__PURE__ */ (0,
|
|
64
|
+
}), /* @__PURE__ */ (0, F.jsx)("div", {
|
|
65
65
|
className: "sid-loading-screen__message-subhead",
|
|
66
|
-
children: /* @__PURE__ */ (0,
|
|
66
|
+
children: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
67
67
|
id: "step.personalInfo.verifyingSubtitle",
|
|
68
68
|
defaultMessage: "This should only take a minute"
|
|
69
69
|
})
|
|
70
70
|
})]
|
|
71
|
-
}),
|
|
71
|
+
}), _t = ({ step: e = Le() }) => /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
72
72
|
className: "sid-loading-screen",
|
|
73
|
-
children: [/* @__PURE__ */ (0,
|
|
74
|
-
}),
|
|
73
|
+
children: [/* @__PURE__ */ (0, F.jsx)(ht, {}), e && /* @__PURE__ */ (0, F.jsx)(gt, { step: e })]
|
|
74
|
+
}), vt = /* @__PURE__ */ t(((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 ut = (e, t = { partial: !0 }) => {
|
|
|
138
138
|
enumerable: !0,
|
|
139
139
|
configurable: !1
|
|
140
140
|
}), t.exports = r;
|
|
141
|
-
})),
|
|
142
|
-
var n =
|
|
141
|
+
})), yt = /* @__PURE__ */ t(((e, t) => {
|
|
142
|
+
var n = vt();
|
|
143
143
|
t.exports = {
|
|
144
144
|
isRtlLang: n.isRtlLang,
|
|
145
145
|
getLangDir: n.getLangDir
|
|
146
146
|
};
|
|
147
|
-
})),
|
|
147
|
+
})), bt = /* @__PURE__ */ h(pe(), 1), xt = /* @__PURE__ */ h(yt(), 1), I = {
|
|
148
148
|
landingBackgroundColor: "#fff",
|
|
149
149
|
landingPrimaryFontColor: "#000",
|
|
150
150
|
landingBackgroundImage: "none",
|
|
@@ -158,7 +158,7 @@ var ut = (e, t = { partial: !0 }) => {
|
|
|
158
158
|
formFont: "var(--sheerid-font-family-sans)",
|
|
159
159
|
cssVariables: null,
|
|
160
160
|
customStyles: null
|
|
161
|
-
},
|
|
161
|
+
}, St = P.createContext(I), L = {
|
|
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 ut = (e, t = { partial: !0 }) => {
|
|
|
172
172
|
formFont: "--sheerid-font-family-body",
|
|
173
173
|
cssVariables: null,
|
|
174
174
|
customStyles: null
|
|
175
|
-
},
|
|
175
|
+
}, Ct = {
|
|
176
176
|
"--sheerid-color-fg-05": {
|
|
177
177
|
from: "--sheerid-color-bg",
|
|
178
178
|
to: "--sheerid-color-fg",
|
|
@@ -283,25 +283,25 @@ var ut = (e, t = { 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
|
+
}, wt = ({ 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 || I.landingBackgroundColor, c = o?.primaryFontColor || I.landingPrimaryFontColor, l = o?.backgroundImageUrl || I.landingBackgroundImage, u = e?.backgroundColor || I.formBackgroundColor, d = e?.primaryFontColor || I.formPrimaryFontColor, f = e?.buttonColor || I.formButtonColor, p = e?.buttonFontColor || I.formButtonFontColor, m = e?.linkColor || I.formLinkColor, h = e?.h1FontColor || I.formH1FontColor, g = e?.helperFontColor || I.formHelperFontColor, _ = e?.font || I.formFont, v = {
|
|
288
|
+
[L.landingBackgroundColor]: s,
|
|
289
|
+
[L.landingPrimaryFontColor]: c,
|
|
290
|
+
[L.landingBackgroundImage]: l === I.landingBackgroundImage ? I.landingBackgroundImage : `url(${l})`,
|
|
291
|
+
[L.formBackgroundColor]: u,
|
|
292
|
+
[L.formPrimaryFontColor]: d,
|
|
293
|
+
[L.formButtonColor]: f,
|
|
294
|
+
[L.formButtonFontColor]: p,
|
|
295
|
+
[L.formLinkColor]: m,
|
|
296
|
+
[L.formH1FontColor]: h,
|
|
297
|
+
[L.formHelperFontColor]: g,
|
|
298
|
+
[L.formFont]: _ === I.formFont ? I.formFont : `${_}, var(--sheerid-font-family-sans)`,
|
|
299
|
+
...Object.entries(Ct).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 = P.useRef(null), b = re() === ae.cdnInlineIframe, x = re() === ae.cdnModalIframe;
|
|
304
|
+
return /* @__PURE__ */ (0, F.jsx)(St.Provider, {
|
|
305
305
|
value: {
|
|
306
306
|
landingBackgroundColor: s,
|
|
307
307
|
landingPrimaryFontColor: c,
|
|
@@ -317,15 +317,15 @@ var ut = (e, t = { partial: !0 }) => {
|
|
|
317
317
|
cssVariables: v,
|
|
318
318
|
customStyles: a
|
|
319
319
|
},
|
|
320
|
-
children: /* @__PURE__ */ (0,
|
|
320
|
+
children: /* @__PURE__ */ (0, F.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, F.jsx)("style", { children: a }), n]
|
|
326
326
|
})
|
|
327
327
|
});
|
|
328
|
-
},
|
|
328
|
+
}, Tt = (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 ut = (e, t = { partial: !0 }) => {
|
|
|
333
333
|
transitionalMilitaryValidityDays: e?.transitionalMilitaryValidityDays,
|
|
334
334
|
currentStep: t?.currentStep,
|
|
335
335
|
viewModel: n
|
|
336
|
-
}),
|
|
336
|
+
}), Et = {}, Dt = (e) => Et[e] ? (O.log(`getOverridenComponent returning ${e}`), Et[e]) : null, Ot = ({ 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, F.jsx)(Ee, {
|
|
339
339
|
className: "sid-faq sid-link",
|
|
340
|
-
href:
|
|
341
|
-
children: t || /* @__PURE__ */ (0,
|
|
340
|
+
href: ie(i, n, r, w(e.viewModel), e.verificationResponse),
|
|
341
|
+
children: t || /* @__PURE__ */ (0, F.jsx)(M, {
|
|
342
342
|
id: "getHelp",
|
|
343
343
|
defaultMessage: "Get help"
|
|
344
344
|
})
|
|
345
345
|
}) : null;
|
|
346
|
-
},
|
|
346
|
+
}, kt = /* @__PURE__ */ (0, F.jsx)(M, {
|
|
347
347
|
id: "poweredBy",
|
|
348
348
|
defaultMessage: "Verification services powered by SheerID."
|
|
349
|
-
}),
|
|
349
|
+
}), At = ({ 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, F.jsxs)("div", {
|
|
352
352
|
className: "sid-footer__powered-by-container-experiment",
|
|
353
|
-
children: [/* @__PURE__ */ (0,
|
|
353
|
+
children: [/* @__PURE__ */ (0, F.jsx)("div", {
|
|
354
354
|
className: "sid-footer__powered-by_powerby-experiment",
|
|
355
|
-
children:
|
|
356
|
-
}), !r && /* @__PURE__ */ (0,
|
|
355
|
+
children: kt
|
|
356
|
+
}), !r && /* @__PURE__ */ (0, F.jsx)("div", {
|
|
357
357
|
className: "sid-footer__powered-by_powerby-experiment",
|
|
358
|
-
children: /* @__PURE__ */ (0,
|
|
358
|
+
children: /* @__PURE__ */ (0, F.jsx)(Ot, { verificationService: e })
|
|
359
359
|
})]
|
|
360
360
|
});
|
|
361
|
-
case "verificationby": return /* @__PURE__ */ (0,
|
|
361
|
+
case "verificationby": return /* @__PURE__ */ (0, F.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, F.jsxs)("div", {
|
|
364
364
|
className: "sid-footer__powered-by-verificationby-experiment",
|
|
365
|
-
children: [/* @__PURE__ */ (0,
|
|
365
|
+
children: [/* @__PURE__ */ (0, F.jsx)("div", {
|
|
366
366
|
className: "sid-footer__powered-by-icon-experiment",
|
|
367
|
-
children: /* @__PURE__ */ (0,
|
|
367
|
+
children: /* @__PURE__ */ (0, F.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
|
+
}), kt]
|
|
372
372
|
})
|
|
373
373
|
});
|
|
374
|
-
default: return /* @__PURE__ */ (0,
|
|
374
|
+
default: return /* @__PURE__ */ (0, F.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, F.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: kt
|
|
379
|
+
}), !r && /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
380
380
|
className: t ? "sid-l-space-top-sm" : "",
|
|
381
|
-
children: ["\xA0", /* @__PURE__ */ (0,
|
|
381
|
+
children: ["\xA0", /* @__PURE__ */ (0, F.jsx)(Ot, { verificationService: e })]
|
|
382
382
|
})]
|
|
383
383
|
});
|
|
384
384
|
}
|
|
385
|
-
},
|
|
386
|
-
let n =
|
|
385
|
+
}, jt = (e, t) => {
|
|
386
|
+
let n = P.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 P.useEffect(() => (n.current = setInterval(e, t), () => r()), [e, t]), r;
|
|
391
|
+
}, Mt = ({ stepName: e, messages: t, logo: n, cancelSingleSignOn: r, cancelButtonType: i = Ft.PRIMARY }) => {
|
|
392
|
+
let a = lt(e);
|
|
393
|
+
return /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
394
394
|
className: "sid-header sid-l-horz-center",
|
|
395
395
|
children: [
|
|
396
|
-
/* @__PURE__ */ (0,
|
|
396
|
+
/* @__PURE__ */ (0, F.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, F.jsx)(ut, {
|
|
401
401
|
align: "center",
|
|
402
402
|
children: t.title
|
|
403
403
|
}),
|
|
404
|
-
/* @__PURE__ */ (0,
|
|
404
|
+
/* @__PURE__ */ (0, F.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, F.jsx)("div", { className: "sid-l-space-top-xl" }),
|
|
409
|
+
/* @__PURE__ */ (0, F.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, F.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, F.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 === Ft.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, F.jsx)("div", { className: "sid-l-space-top-xl" }) : /* @__PURE__ */ (0, F.jsx)("div", { className: "sid-l-space-top-lg" })
|
|
423
423
|
]
|
|
424
424
|
});
|
|
425
|
-
},
|
|
425
|
+
}, Nt = ({ stepName: e, messages: t, logo: n, cancelSingleSignOn: r, cancelButtonType: i = Ft.PRIMARY }) => /* @__PURE__ */ (0, F.jsx)(Mt, {
|
|
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
|
+
}), Pt = ({ messages: e, verificationService: t, updateViewModelAndOpenLoginTab: n, dashedStepName: r }) => {
|
|
432
|
+
let i = it("hc-my-sheer-id-theme-builder");
|
|
433
|
+
return /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
434
434
|
className: "sid-header sid-l-horz-center",
|
|
435
435
|
children: [
|
|
436
|
-
/* @__PURE__ */ (0,
|
|
436
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
437
437
|
className: `sid-${r}-logo-container sid-l-horz-center`,
|
|
438
|
-
children: /* @__PURE__ */ (0,
|
|
438
|
+
children: /* @__PURE__ */ (0, F.jsx)(ct, {
|
|
439
439
|
verificationService: t,
|
|
440
|
-
fallbackLogo: !i && /* @__PURE__ */ (0,
|
|
440
|
+
fallbackLogo: !i && /* @__PURE__ */ (0, F.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, F.jsx)(ut, {
|
|
448
448
|
align: "center",
|
|
449
449
|
children: e.title
|
|
450
450
|
}),
|
|
451
|
-
/* @__PURE__ */ (0,
|
|
451
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
452
452
|
className: "sid-header__subtitle-one",
|
|
453
453
|
children: e.subtitle
|
|
454
454
|
}),
|
|
455
|
-
/* @__PURE__ */ (0,
|
|
455
|
+
/* @__PURE__ */ (0, F.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, F.jsx)("button", {
|
|
458
458
|
id: `sid-submit-btn-${r}`,
|
|
459
459
|
onClick: () => n("isSingleSignOnActive", !0),
|
|
460
460
|
type: "submit",
|
|
@@ -462,200 +462,204 @@ var ut = (e, t = { partial: !0 }) => {
|
|
|
462
462
|
children: e.login
|
|
463
463
|
})
|
|
464
464
|
}),
|
|
465
|
-
/* @__PURE__ */ (0,
|
|
465
|
+
/* @__PURE__ */ (0, F.jsx)("div", { className: "sid-l-space-top-lg" })
|
|
466
466
|
]
|
|
467
467
|
});
|
|
468
|
-
},
|
|
468
|
+
}, Ft = /* @__PURE__ */ function(e) {
|
|
469
469
|
return e.PRIMARY = "primary", e.SECONDARY = "secondary", e;
|
|
470
|
-
}({}),
|
|
471
|
-
let { programId: i } = e, a = e.viewModel, o = e.previousViewModel || void 0, s = e.verificationResponse,
|
|
470
|
+
}({}), It = ({ verificationService: e, stepName: t, messages: n, cancelButtonType: r = "primary" }) => {
|
|
471
|
+
let { programId: i } = e, a = e.viewModel, o = e.previousViewModel || void 0, s = e.verificationResponse, l = e.previousVerificationResponse || void 0, { verificationId: d, locale: f } = e.verificationResponse, p = Me(), m = lt(t), h = it("hc-my-sheer-id-theme-builder"), g, _ = /* @__PURE__ */ (0, F.jsx)(ct, {
|
|
472
472
|
verificationService: e,
|
|
473
|
-
fallbackLogo: !
|
|
474
|
-
className: `sid-${
|
|
473
|
+
fallbackLogo: !h && /* @__PURE__ */ (0, F.jsx)("img", {
|
|
474
|
+
className: `sid-${m}-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
|
-
}),
|
|
479
|
-
e.fetchExistingVerificationRequest(i,
|
|
478
|
+
}), v = () => setTimeout(() => {
|
|
479
|
+
e.fetchExistingVerificationRequest(i, d, l, o);
|
|
480
480
|
}, 1e3), y = (t, n) => {
|
|
481
|
-
let r =
|
|
481
|
+
let r = b(a, (e) => {
|
|
482
482
|
e[t] = n;
|
|
483
483
|
});
|
|
484
484
|
e.updateViewModel(r);
|
|
485
|
-
},
|
|
486
|
-
|
|
485
|
+
}, x = () => {
|
|
486
|
+
D(u.SSO_CANCEL_CLICKED, {
|
|
487
487
|
programId: i,
|
|
488
|
-
locale:
|
|
489
|
-
verificationId:
|
|
490
|
-
}),
|
|
491
|
-
let n =
|
|
492
|
-
|
|
493
|
-
},
|
|
494
|
-
|
|
488
|
+
locale: f,
|
|
489
|
+
verificationId: d
|
|
490
|
+
}), st();
|
|
491
|
+
let n = b(a, () => {});
|
|
492
|
+
O.info("SingleSignOnComponent submitting cancel request"), clearTimeout(g), e.submitStep(t, n, e.verificationResponse);
|
|
493
|
+
}, S = (e, t) => {
|
|
494
|
+
D(u.SSO_SIGN_IN_CLICKED, {
|
|
495
495
|
programId: i,
|
|
496
|
-
locale:
|
|
497
|
-
verificationId:
|
|
498
|
-
}), y(e, t),
|
|
499
|
-
},
|
|
500
|
-
let e = t ===
|
|
501
|
-
|
|
496
|
+
locale: f,
|
|
497
|
+
verificationId: d
|
|
498
|
+
}), y(e, t), C();
|
|
499
|
+
}, C = () => {
|
|
500
|
+
let e = t === k.sso ? we(s.loginUrl) : s.loginUrl;
|
|
501
|
+
if (!c(e)) {
|
|
502
|
+
O.error("Invalid loginUrl - must be an absolute http(s) URL. Not opening the login tab.", "sso loginUrl");
|
|
503
|
+
return;
|
|
504
|
+
}
|
|
505
|
+
ot(window.open(e, "_blank")), at().focus();
|
|
502
506
|
};
|
|
503
|
-
return a.isSingleSignOnActive && !
|
|
504
|
-
id: `sid-step-${
|
|
505
|
-
className: `sid-${
|
|
506
|
-
"data-testid": `sid-step-${
|
|
507
|
-
children: [/* @__PURE__ */ (0,
|
|
507
|
+
return a.isSingleSignOnActive && !p && (g = v()), !a.countryChoice && o && o.countryChoice && y("countryChoice", o.countryChoice), /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
508
|
+
id: `sid-step-${m}`,
|
|
509
|
+
className: `sid-${m}-container sid-l-container`,
|
|
510
|
+
"data-testid": `sid-step-${m}`,
|
|
511
|
+
children: [/* @__PURE__ */ (0, F.jsx)("div", {
|
|
508
512
|
role: "main",
|
|
509
|
-
children: a.isSingleSignOnActive ? /* @__PURE__ */ (0,
|
|
513
|
+
children: a.isSingleSignOnActive ? /* @__PURE__ */ (0, F.jsx)(Nt, {
|
|
510
514
|
stepName: t,
|
|
511
515
|
messages: n,
|
|
512
|
-
logo:
|
|
513
|
-
cancelSingleSignOn:
|
|
516
|
+
logo: _,
|
|
517
|
+
cancelSingleSignOn: x,
|
|
514
518
|
cancelButtonType: r
|
|
515
|
-
}) : /* @__PURE__ */ (0,
|
|
519
|
+
}) : /* @__PURE__ */ (0, F.jsx)(Pt, {
|
|
516
520
|
verificationService: e,
|
|
517
521
|
messages: n,
|
|
518
|
-
updateViewModelAndOpenLoginTab:
|
|
519
|
-
dashedStepName:
|
|
522
|
+
updateViewModelAndOpenLoginTab: S,
|
|
523
|
+
dashedStepName: m
|
|
520
524
|
})
|
|
521
|
-
}), /* @__PURE__ */ (0,
|
|
525
|
+
}), /* @__PURE__ */ (0, F.jsx)(Qe, { verificationService: e })]
|
|
522
526
|
});
|
|
523
|
-
},
|
|
524
|
-
title: /* @__PURE__ */ (0,
|
|
527
|
+
}, Lt = {
|
|
528
|
+
title: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
525
529
|
id: "step.sso.title",
|
|
526
530
|
defaultMessage: "Verify using your school credentials",
|
|
527
531
|
tagName: "h1"
|
|
528
532
|
}),
|
|
529
|
-
subtitle: /* @__PURE__ */ (0,
|
|
533
|
+
subtitle: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
530
534
|
id: "step.sso.subtitle",
|
|
531
535
|
defaultMessage: "Please sign in to your school's web portal. It will open in a new tab."
|
|
532
536
|
}),
|
|
533
|
-
login: /* @__PURE__ */ (0,
|
|
537
|
+
login: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
534
538
|
id: "step.sso.login",
|
|
535
539
|
defaultMessage: "Sign in to my school"
|
|
536
540
|
}),
|
|
537
|
-
cancel: /* @__PURE__ */ (0,
|
|
541
|
+
cancel: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
538
542
|
id: "step.sso.cancel",
|
|
539
543
|
defaultMessage: "Upload Proof of Enrollment"
|
|
540
544
|
}),
|
|
541
|
-
subtitle2: /* @__PURE__ */ (0,
|
|
545
|
+
subtitle2: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
542
546
|
id: "step.sso.subtitle2",
|
|
543
547
|
defaultMessage: "Can't sign in to your school?"
|
|
544
548
|
})
|
|
545
|
-
},
|
|
549
|
+
}, Rt = ({ verificationService: e }) => /* @__PURE__ */ (0, F.jsx)(It, {
|
|
546
550
|
verificationService: e,
|
|
547
|
-
stepName:
|
|
548
|
-
messages:
|
|
549
|
-
}),
|
|
551
|
+
stepName: k.sso,
|
|
552
|
+
messages: Lt
|
|
553
|
+
}), zt = ({ logo: e }) => /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
550
554
|
className: "sid-header sid-l-horz-center",
|
|
551
555
|
"data-testid": "sid-review-pending",
|
|
552
556
|
children: [
|
|
553
|
-
/* @__PURE__ */ (0,
|
|
557
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
554
558
|
className: "sid-l-horz-center",
|
|
555
559
|
children: e
|
|
556
560
|
}),
|
|
557
|
-
/* @__PURE__ */ (0,
|
|
561
|
+
/* @__PURE__ */ (0, F.jsx)(ut, {
|
|
558
562
|
align: "center",
|
|
559
|
-
children: /* @__PURE__ */ (0,
|
|
563
|
+
children: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
560
564
|
id: "step.pending.titleReview",
|
|
561
565
|
defaultMessage: "Reviewing",
|
|
562
566
|
tagName: "h1"
|
|
563
567
|
})
|
|
564
568
|
}),
|
|
565
|
-
/* @__PURE__ */ (0,
|
|
569
|
+
/* @__PURE__ */ (0, F.jsx)("div", { children: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
566
570
|
id: "step.pending.uploadedDocument",
|
|
567
571
|
defaultMessage: "Your document was uploaded successfully and is being reviewed."
|
|
568
572
|
}) }),
|
|
569
|
-
/* @__PURE__ */ (0,
|
|
573
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
570
574
|
className: "sid-header__subtitle-one sid-l-space-top-md",
|
|
571
|
-
children: /* @__PURE__ */ (0,
|
|
575
|
+
children: /* @__PURE__ */ (0, F.jsx)(N, { id: "step.pending.turnaroundTime" })
|
|
572
576
|
}),
|
|
573
|
-
/* @__PURE__ */ (0,
|
|
577
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
574
578
|
className: "sid-header__subtitle-two sid-l-space-top-md",
|
|
575
|
-
children: /* @__PURE__ */ (0,
|
|
579
|
+
children: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
576
580
|
id: "step.pending.subtitle2",
|
|
577
581
|
defaultMessage: "Wait here or let us notify you of the outcome."
|
|
578
582
|
})
|
|
579
583
|
}),
|
|
580
|
-
/* @__PURE__ */ (0,
|
|
584
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
581
585
|
className: "sid-header__subtitle-three sid-l-space-top-md",
|
|
582
|
-
children: /* @__PURE__ */ (0,
|
|
586
|
+
children: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
583
587
|
id: "step.pending.subtitle3",
|
|
584
588
|
defaultMessage: "You will be contacted via email."
|
|
585
589
|
})
|
|
586
590
|
}),
|
|
587
|
-
/* @__PURE__ */ (0,
|
|
591
|
+
/* @__PURE__ */ (0, F.jsx)("div", { className: "sid-l-space-top-xl" })
|
|
588
592
|
]
|
|
589
|
-
}),
|
|
593
|
+
}), Bt = ({ logo: e }) => /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
590
594
|
className: "sid-header sid-l-horz-center",
|
|
591
595
|
"data-testid": "sid-review-pending",
|
|
592
596
|
children: [
|
|
593
|
-
/* @__PURE__ */ (0,
|
|
597
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
594
598
|
className: "sid-l-horz-center",
|
|
595
599
|
children: e
|
|
596
600
|
}),
|
|
597
|
-
/* @__PURE__ */ (0,
|
|
601
|
+
/* @__PURE__ */ (0, F.jsx)(ut, {
|
|
598
602
|
align: "center",
|
|
599
|
-
children: /* @__PURE__ */ (0,
|
|
603
|
+
children: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
600
604
|
id: "step.pending.idCheckLoop.title",
|
|
601
605
|
defaultMessage: "We're reviewing your documents",
|
|
602
606
|
tagName: "h1"
|
|
603
607
|
})
|
|
604
608
|
}),
|
|
605
|
-
/* @__PURE__ */ (0,
|
|
609
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
606
610
|
className: "sid-header__subtitle-one",
|
|
607
|
-
children: /* @__PURE__ */ (0,
|
|
611
|
+
children: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
608
612
|
id: "step.pending.idCheckLoop.subtitle",
|
|
609
613
|
defaultMessage: "Hold tight, turnaround time is typically a few minutes or less."
|
|
610
614
|
})
|
|
611
615
|
}),
|
|
612
|
-
/* @__PURE__ */ (0,
|
|
616
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
613
617
|
className: "sid-header__subtitle-two sid-l-space-top-md sid-h-bold-text",
|
|
614
|
-
children: /* @__PURE__ */ (0,
|
|
618
|
+
children: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
615
619
|
id: "step.pending.idCheckLoop.subtitle2",
|
|
616
620
|
defaultMessage: "We'll send you an email when we're finished reviewing."
|
|
617
621
|
})
|
|
618
622
|
}),
|
|
619
|
-
/* @__PURE__ */ (0,
|
|
623
|
+
/* @__PURE__ */ (0, F.jsx)("div", { className: "sid-l-space-top-xl" })
|
|
620
624
|
]
|
|
621
|
-
}),
|
|
622
|
-
title: /* @__PURE__ */ (0,
|
|
625
|
+
}), Vt = { [te.SIGNZY]: {
|
|
626
|
+
title: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
623
627
|
id: "step.thirdPartyLoop.signzy.title",
|
|
624
628
|
tagName: "h1",
|
|
625
629
|
defaultMessage: "Verify using DigiLocker"
|
|
626
630
|
}),
|
|
627
|
-
subtitle: /* @__PURE__ */ (0,
|
|
631
|
+
subtitle: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
628
632
|
id: "step.thirdPartyLoop.signzy.subtitle",
|
|
629
633
|
defaultMessage: "Verify using your DigiLocker login information"
|
|
630
634
|
}),
|
|
631
|
-
login: /* @__PURE__ */ (0,
|
|
635
|
+
login: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
632
636
|
id: "step.thirdPartyLoop.signzy.login",
|
|
633
637
|
defaultMessage: "Sign in to DigiLocker"
|
|
634
638
|
}),
|
|
635
|
-
cancel: /* @__PURE__ */ (0,
|
|
639
|
+
cancel: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
636
640
|
id: "step.thirdPartyLoop.signzy.cancel",
|
|
637
641
|
defaultMessage: "Upload Proof of Identity"
|
|
638
642
|
})
|
|
639
|
-
} },
|
|
640
|
-
let n = /* @__PURE__ */ (0,
|
|
643
|
+
} }, Ht = ({ logo: e, isStepRoot: t = !1 }) => {
|
|
644
|
+
let n = /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
641
645
|
className: "sid-header sid-l-horz-center",
|
|
642
646
|
children: [
|
|
643
|
-
/* @__PURE__ */ (0,
|
|
647
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
644
648
|
className: "sid-error-logo-container sid-l-horz-center",
|
|
645
649
|
children: e
|
|
646
650
|
}),
|
|
647
|
-
/* @__PURE__ */ (0,
|
|
651
|
+
/* @__PURE__ */ (0, F.jsx)(ut, {
|
|
648
652
|
align: "center",
|
|
649
|
-
children: /* @__PURE__ */ (0,
|
|
653
|
+
children: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
650
654
|
id: "error",
|
|
651
655
|
tagName: "h1"
|
|
652
656
|
})
|
|
653
657
|
}),
|
|
654
|
-
/* @__PURE__ */ (0,
|
|
658
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
655
659
|
className: "sid-header__subtitle sid-l-horz-center sid-l-space-top-md",
|
|
656
|
-
children: /* @__PURE__ */ (0,
|
|
660
|
+
children: /* @__PURE__ */ (0, F.jsx)("div", {
|
|
657
661
|
className: "sid-error-msg sid-l-horz-center",
|
|
658
|
-
children: /* @__PURE__ */ (0,
|
|
662
|
+
children: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
659
663
|
id: "step.thirdPartyLoop.error",
|
|
660
664
|
defaultMessage: "Provider not supported"
|
|
661
665
|
})
|
|
@@ -663,235 +667,237 @@ var ut = (e, t = { partial: !0 }) => {
|
|
|
663
667
|
})
|
|
664
668
|
]
|
|
665
669
|
});
|
|
666
|
-
return /* @__PURE__ */ (0,
|
|
670
|
+
return /* @__PURE__ */ (0, F.jsx)("div", {
|
|
667
671
|
id: "sid-step-third-party-loop",
|
|
668
672
|
className: "sid-step-third-party-loop-container sid-l-container",
|
|
669
673
|
"data-testid": "sid-step-third-party-loop-error",
|
|
670
|
-
children: t ? /* @__PURE__ */ (0,
|
|
674
|
+
children: t ? /* @__PURE__ */ (0, F.jsx)("div", {
|
|
671
675
|
role: "main",
|
|
672
676
|
children: n
|
|
673
677
|
}) : n
|
|
674
678
|
});
|
|
675
|
-
},
|
|
676
|
-
let t =
|
|
677
|
-
return t ? /* @__PURE__ */ (0,
|
|
679
|
+
}, Ut = ({ verificationService: e }) => {
|
|
680
|
+
let t = Vt[e.verificationResponse.thirdPartyLoopProvider] || void 0, n = it("hc-my-sheer-id-theme-builder");
|
|
681
|
+
return t ? /* @__PURE__ */ (0, F.jsx)(It, {
|
|
678
682
|
verificationService: e,
|
|
679
|
-
stepName:
|
|
683
|
+
stepName: k.thirdPartyLoop,
|
|
680
684
|
messages: t,
|
|
681
|
-
cancelButtonType:
|
|
682
|
-
}) : /* @__PURE__ */ (0,
|
|
685
|
+
cancelButtonType: Ft.SECONDARY
|
|
686
|
+
}) : /* @__PURE__ */ (0, F.jsx)(Ht, {
|
|
683
687
|
isStepRoot: !0,
|
|
684
|
-
logo: /* @__PURE__ */ (0,
|
|
688
|
+
logo: /* @__PURE__ */ (0, F.jsx)(ct, {
|
|
685
689
|
verificationService: e,
|
|
686
|
-
fallbackLogo: !n && /* @__PURE__ */ (0,
|
|
690
|
+
fallbackLogo: !n && /* @__PURE__ */ (0, F.jsx)("img", {
|
|
687
691
|
className: "sid-error-logo sid-l-lead-image",
|
|
688
692
|
alt: "",
|
|
689
693
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/circle-exclamation.svg"
|
|
690
694
|
})
|
|
691
695
|
})
|
|
692
696
|
});
|
|
693
|
-
},
|
|
694
|
-
let i =
|
|
695
|
-
return i ? /* @__PURE__ */ (0,
|
|
696
|
-
stepName:
|
|
697
|
+
}, Wt = ({ logo: e, verificationLastResponse: t, cancelThirdPartyLoop: n, isMockingPreviousStepThirdPartyLoop: r }) => {
|
|
698
|
+
let i = Vt[r ? Ne("thirdPartyLoopProvider") : t?.thirdPartyLoopProvider] || void 0;
|
|
699
|
+
return i ? /* @__PURE__ */ (0, F.jsx)(Nt, {
|
|
700
|
+
stepName: k.thirdPartyLoop,
|
|
697
701
|
messages: i,
|
|
698
702
|
logo: e,
|
|
699
703
|
cancelSingleSignOn: n,
|
|
700
|
-
cancelButtonType:
|
|
701
|
-
}) : /* @__PURE__ */ (0,
|
|
702
|
-
},
|
|
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, o =
|
|
704
|
-
|
|
704
|
+
cancelButtonType: Ft.SECONDARY
|
|
705
|
+
}) : /* @__PURE__ */ (0, F.jsx)(Ht, { logo: e });
|
|
706
|
+
}, Gt = 5e3, Kt = 2e4, qt = 2e4, Jt = 2e3, Yt = ({ verificationService: e }) => {
|
|
707
|
+
let { programId: t } = e, { viewModel: n } = e, r = e.previousViewModel || void 0, i = e.verificationResponse.lastResponse || e.previousVerificationResponse || void 0, { verificationId: a } = e.verificationResponse, o = Me(), s = Fe() && Fe() === k.sso, c = Fe() && Fe() === k.thirdPartyLoop, l = Fe() && Fe() === k.idCheckLoop, u = it("hc-my-sheer-id-theme-builder"), d = () => i?.currentStep === k.sso, f = () => i?.currentStep === k.thirdPartyLoop, p = () => i?.currentStep === k.idCheckLoop, m = d() || f() || s || c, h = p() || l, g = !m && !h, [_, v] = P.useState(() => m ? Jt : h ? qt : Gt);
|
|
708
|
+
P.useEffect(() => {
|
|
705
709
|
if (!g) return;
|
|
706
|
-
let e = setTimeout(() =>
|
|
710
|
+
let e = setTimeout(() => v(qt), Kt);
|
|
707
711
|
return () => clearTimeout(e);
|
|
708
712
|
}, [g]);
|
|
709
|
-
let
|
|
713
|
+
let y = !o && jt(() => {
|
|
710
714
|
e.fetchExistingVerificationRequest(t, a, i, r, !1);
|
|
711
715
|
}, _), x = (t) => {
|
|
712
|
-
let r =
|
|
713
|
-
|
|
714
|
-
}, S = /* @__PURE__ */ (0,
|
|
716
|
+
let r = b(n, () => {});
|
|
717
|
+
O.info("StepSingleSignOnComponent submitting cancel request, step:", t), y(), st(), e.submitStep(t, r, i);
|
|
718
|
+
}, S = /* @__PURE__ */ (0, F.jsx)(ct, {
|
|
715
719
|
verificationService: e,
|
|
716
|
-
fallbackLogo: !u && /* @__PURE__ */ (0,
|
|
720
|
+
fallbackLogo: !u && /* @__PURE__ */ (0, F.jsx)("img", {
|
|
717
721
|
className: "sid-l-lead-image",
|
|
718
722
|
alt: "",
|
|
719
723
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg"
|
|
720
724
|
})
|
|
721
725
|
});
|
|
722
|
-
return /* @__PURE__ */ (0,
|
|
726
|
+
return /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
723
727
|
id: "sid-step-pending",
|
|
724
728
|
className: "sid-l-container",
|
|
725
|
-
children: [/* @__PURE__ */ (0,
|
|
729
|
+
children: [/* @__PURE__ */ (0, F.jsx)("div", {
|
|
726
730
|
role: "main",
|
|
727
731
|
children: (() => {
|
|
728
732
|
let e = d() || s, t = f() || c, n = p() || l;
|
|
729
|
-
return e ? /* @__PURE__ */ (0,
|
|
730
|
-
stepName:
|
|
731
|
-
messages:
|
|
733
|
+
return e ? /* @__PURE__ */ (0, F.jsx)(Nt, {
|
|
734
|
+
stepName: k.sso,
|
|
735
|
+
messages: Lt,
|
|
732
736
|
logo: S,
|
|
733
|
-
cancelSingleSignOn: () => x(
|
|
734
|
-
}) : t ? /* @__PURE__ */ (0,
|
|
737
|
+
cancelSingleSignOn: () => x(k.sso)
|
|
738
|
+
}) : t ? /* @__PURE__ */ (0, F.jsx)(Wt, {
|
|
735
739
|
logo: S,
|
|
736
|
-
cancelThirdPartyLoop: () => x(
|
|
740
|
+
cancelThirdPartyLoop: () => x(k.thirdPartyLoop),
|
|
737
741
|
verificationLastResponse: i,
|
|
738
742
|
isMockingPreviousStepThirdPartyLoop: c
|
|
739
|
-
}) : n ? /* @__PURE__ */ (0,
|
|
743
|
+
}) : n ? /* @__PURE__ */ (0, F.jsx)(Bt, { logo: S }) : /* @__PURE__ */ (0, F.jsx)(zt, { logo: S });
|
|
740
744
|
})()
|
|
741
|
-
}), h ? /* @__PURE__ */ (0,
|
|
745
|
+
}), h ? /* @__PURE__ */ (0, F.jsx)(At, {
|
|
742
746
|
verificationService: e,
|
|
743
747
|
isCentered: !0
|
|
744
|
-
}) : /* @__PURE__ */ (0,
|
|
748
|
+
}) : /* @__PURE__ */ (0, F.jsxs)(Qe, {
|
|
745
749
|
verificationService: e,
|
|
746
|
-
children: [/* @__PURE__ */ (0,
|
|
750
|
+
children: [/* @__PURE__ */ (0, F.jsx)("div", {}), " "]
|
|
747
751
|
})]
|
|
748
752
|
});
|
|
749
|
-
},
|
|
750
|
-
let e =
|
|
753
|
+
}, Xt = () => {
|
|
754
|
+
let e = Se(), t = ge(), n = ve(), r = a(() => n.segment), i = P.useCallback(() => {
|
|
751
755
|
if (window.self !== window.top) {
|
|
752
756
|
let e = new URL(window.location.href);
|
|
753
757
|
e.searchParams.delete("verificationId"), window.location.replace(e);
|
|
754
758
|
return;
|
|
755
759
|
}
|
|
756
760
|
(async () => {
|
|
757
|
-
|
|
761
|
+
Ze(e)(), await Je(e)(t, r, void 0, void 0, !0);
|
|
758
762
|
})();
|
|
759
763
|
}, [
|
|
760
764
|
e,
|
|
761
765
|
t,
|
|
762
766
|
r
|
|
763
767
|
]);
|
|
764
|
-
return /* @__PURE__ */ (0,
|
|
768
|
+
return /* @__PURE__ */ (0, F.jsx)("button", {
|
|
765
769
|
type: "button",
|
|
766
770
|
className: "sid-btn sid-btn-light sid-btn__try-again",
|
|
767
771
|
onClick: i,
|
|
768
772
|
onKeyPress: i,
|
|
769
|
-
children: /* @__PURE__ */ (0,
|
|
773
|
+
children: /* @__PURE__ */ (0, F.jsx)(N, { id: "tryAgain" })
|
|
770
774
|
});
|
|
771
|
-
},
|
|
775
|
+
}, Zt = {
|
|
772
776
|
NONE: "none",
|
|
773
777
|
RESET: "reset",
|
|
774
778
|
POSTMESSAGE: "postMessage",
|
|
775
779
|
REDIRECT: "redirect"
|
|
776
|
-
},
|
|
777
|
-
let e =
|
|
780
|
+
}, Qt = () => {
|
|
781
|
+
let e = ve(), t = () => fe({
|
|
778
782
|
action: "tryAgain",
|
|
779
783
|
verificationResponse: e
|
|
780
784
|
});
|
|
781
|
-
return /* @__PURE__ */ (0,
|
|
785
|
+
return /* @__PURE__ */ (0, F.jsx)("button", {
|
|
782
786
|
type: "button",
|
|
783
787
|
className: "sid-btn sid-btn-light sid-btn__try-again",
|
|
784
788
|
onClick: t,
|
|
785
789
|
onKeyPress: t,
|
|
786
|
-
children: /* @__PURE__ */ (0,
|
|
790
|
+
children: /* @__PURE__ */ (0, F.jsx)(N, { id: "tryAgain" })
|
|
787
791
|
});
|
|
788
|
-
},
|
|
792
|
+
}, $t = ({ redirectUrl: e, target: t = "_blank" }) => /* @__PURE__ */ (0, F.jsx)(Ee, {
|
|
789
793
|
target: t,
|
|
790
794
|
href: e.toString(),
|
|
791
795
|
className: "sid-btn sid-btn--dark",
|
|
792
|
-
children: /* @__PURE__ */ (0,
|
|
793
|
-
}),
|
|
794
|
-
if (!(typeof e == "object" && "type" in e && Object.values(
|
|
795
|
-
},
|
|
796
|
-
let e =
|
|
796
|
+
children: /* @__PURE__ */ (0, F.jsx)(N, { id: "seeOtherOffers" })
|
|
797
|
+
}), en = (e) => {
|
|
798
|
+
if (!(typeof e == "object" && "type" in e && Object.values(Zt).includes(e.type))) throw RangeError("Invalid tryAgainAction option type - using default TryAgainButton.");
|
|
799
|
+
}, tn = () => {
|
|
800
|
+
let e = y("tryAgainAction");
|
|
797
801
|
try {
|
|
798
|
-
switch (
|
|
799
|
-
case
|
|
800
|
-
case
|
|
801
|
-
case
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
802
|
+
switch (en(e), e.type) {
|
|
803
|
+
case Zt.NONE: return null;
|
|
804
|
+
case Zt.POSTMESSAGE: return window.self === window.top ? (O.error(`Invalid tryAgainAction option type "${e.type}" - page must be embedded in an iframe.`), null) : /* @__PURE__ */ (0, F.jsx)(Qt, {});
|
|
805
|
+
case Zt.REDIRECT:
|
|
806
|
+
if (!c(e.url)) throw RangeError("Invalid tryAgainAction redirect url - must be an absolute http(s) URL. Using default TryAgainButton.");
|
|
807
|
+
return /* @__PURE__ */ (0, F.jsx)($t, {
|
|
808
|
+
redirectUrl: e.url,
|
|
809
|
+
target: e.target
|
|
810
|
+
});
|
|
811
|
+
case Zt.RESET: return /* @__PURE__ */ (0, F.jsx)(Xt, {});
|
|
806
812
|
default: throw RangeError("Invalid tryAgainAction option type - using default TryAgainButton.");
|
|
807
813
|
}
|
|
808
814
|
} catch (e) {
|
|
809
|
-
return
|
|
815
|
+
return O.error(e.message), /* @__PURE__ */ (0, F.jsx)(Xt, {});
|
|
810
816
|
}
|
|
811
|
-
},
|
|
817
|
+
}, nn = [
|
|
812
818
|
"docReviewLimitExceeded",
|
|
813
819
|
"verificationLimitExceeded",
|
|
814
820
|
"fraudRulesReject"
|
|
815
|
-
],
|
|
821
|
+
], rn = ({ verificationService: e, errorIds: t }) => {
|
|
816
822
|
let n = t[0];
|
|
817
|
-
return /* @__PURE__ */ (0,
|
|
823
|
+
return /* @__PURE__ */ (0, F.jsx)(ut, {
|
|
818
824
|
align: "center",
|
|
819
|
-
children: /* @__PURE__ */ (0,
|
|
825
|
+
children: /* @__PURE__ */ (0, F.jsx)("h1", { children: /* @__PURE__ */ (0, F.jsx)(N, { id: e?.messages[`step.error.errorId.${n}.title`] ? `step.error.errorId.${n}.title` : "step.error.title" }) })
|
|
820
826
|
});
|
|
821
|
-
},
|
|
827
|
+
}, an = ({ errorIds: e, errorDetailId: t }) => {
|
|
822
828
|
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
|
-
},
|
|
829
|
+
return t ? n.set(t, `errorDetailId.${t}`) : e?.forEach((e) => n.set(e, `errorId.${e}`)), n.size > 0 ? /* @__PURE__ */ (0, F.jsx)("p", { children: Array.from(n).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(N, { id: t }, t)) }) : null;
|
|
830
|
+
}, on = ({ verificationService: e, errorIds: t }) => {
|
|
825
831
|
let n = `step.error.errorId.${t[0]}.note`;
|
|
826
|
-
return e.messages?.[n] ? /* @__PURE__ */ (0,
|
|
832
|
+
return e.messages?.[n] ? /* @__PURE__ */ (0, F.jsx)("p", {
|
|
827
833
|
className: "sid-error-note sid-h-small-text",
|
|
828
|
-
children: /* @__PURE__ */ (0,
|
|
834
|
+
children: /* @__PURE__ */ (0, F.jsx)(N, { id: n })
|
|
829
835
|
}) : null;
|
|
830
|
-
},
|
|
836
|
+
}, sn = ({ verificationService: e, errorIds: t, redirectUrl: n }) => {
|
|
831
837
|
if (t.includes("unauthorizedAccountStatus")) {
|
|
832
|
-
let t =
|
|
833
|
-
return t ? /* @__PURE__ */ (0,
|
|
838
|
+
let t = a(() => e.programTheme.config.brandInfo.faqUrl);
|
|
839
|
+
return t ? /* @__PURE__ */ (0, F.jsx)(Ee, {
|
|
834
840
|
href: t,
|
|
835
|
-
onClick: () => o(
|
|
841
|
+
onClick: () => o(k.error, t),
|
|
836
842
|
className: "sid-btn sid-faq-btn sid-btn-light",
|
|
837
|
-
children: /* @__PURE__ */ (0,
|
|
843
|
+
children: /* @__PURE__ */ (0, F.jsx)(N, { id: "step.error.errorId.unauthorizedAccountStatus.buttonText" })
|
|
838
844
|
}) : null;
|
|
839
845
|
}
|
|
840
846
|
if (t.includes("verificationLimitExceeded")) return null;
|
|
841
|
-
if (t.includes("missingRequiredMetadata") || t.includes("missingRequiredExternalId")) return
|
|
847
|
+
if (t.includes("missingRequiredMetadata") || t.includes("missingRequiredExternalId")) return y("tryAgainAction").type === "reset" ? null : /* @__PURE__ */ (0, F.jsx)(tn, {});
|
|
842
848
|
let r = t[0];
|
|
843
|
-
return e.messages?.[`step.error.errorId.${r}.buttonText`] && n ? /* @__PURE__ */ (0,
|
|
849
|
+
return e.messages?.[`step.error.errorId.${r}.buttonText`] && c(n) ? /* @__PURE__ */ (0, F.jsx)(Ee, {
|
|
844
850
|
href: n,
|
|
845
|
-
onClick: () => o(
|
|
851
|
+
onClick: () => o(k.error, n),
|
|
846
852
|
className: "sid-btn sid-error-btn sid-btn-light",
|
|
847
|
-
children: /* @__PURE__ */ (0,
|
|
848
|
-
}) : /* @__PURE__ */ (0,
|
|
849
|
-
},
|
|
850
|
-
let { errorIds: n, redirectUrl: r, errorDetailId: i } = e.verificationResponse, a =
|
|
853
|
+
children: /* @__PURE__ */ (0, F.jsx)(N, { id: `step.error.errorId.${r}.buttonText` })
|
|
854
|
+
}) : /* @__PURE__ */ (0, F.jsx)(tn, {});
|
|
855
|
+
}, cn = ({ verificationService: e, errorId: t }) => {
|
|
856
|
+
let { errorIds: n, redirectUrl: r, errorDetailId: i } = e.verificationResponse, a = it("hc-my-sheer-id-theme-builder"), o = /* @__PURE__ */ new Set();
|
|
851
857
|
t && o.add(t), Array.isArray(n) && n.forEach((e) => o.add(e));
|
|
852
|
-
let s = Array.from(o), c = s.some((e) =>
|
|
853
|
-
return /* @__PURE__ */ (0,
|
|
858
|
+
let s = Array.from(o), c = s.some((e) => nn.includes(e));
|
|
859
|
+
return /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
854
860
|
id: "sid-step-error",
|
|
855
861
|
className: "sid-error-container sid-l-container",
|
|
856
|
-
children: [/* @__PURE__ */ (0,
|
|
862
|
+
children: [/* @__PURE__ */ (0, F.jsxs)("div", {
|
|
857
863
|
className: "sid-header sid-l-horz-center",
|
|
858
864
|
role: "banner",
|
|
859
865
|
children: [
|
|
860
|
-
/* @__PURE__ */ (0,
|
|
866
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
861
867
|
className: "sid-error-logo-container sid-l-horz-center",
|
|
862
|
-
children: /* @__PURE__ */ (0,
|
|
868
|
+
children: /* @__PURE__ */ (0, F.jsx)(ct, {
|
|
863
869
|
verificationService: e,
|
|
864
|
-
fallbackLogo: !a && /* @__PURE__ */ (0,
|
|
870
|
+
fallbackLogo: !a && /* @__PURE__ */ (0, F.jsx)("img", {
|
|
865
871
|
className: "sid-error-logo sid-l-lead-image",
|
|
866
872
|
alt: "",
|
|
867
873
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/circle-exclamation.svg"
|
|
868
874
|
})
|
|
869
875
|
})
|
|
870
876
|
}),
|
|
871
|
-
/* @__PURE__ */ (0,
|
|
877
|
+
/* @__PURE__ */ (0, F.jsx)(rn, {
|
|
872
878
|
verificationService: e,
|
|
873
879
|
errorIds: s
|
|
874
880
|
}),
|
|
875
|
-
/* @__PURE__ */ (0,
|
|
881
|
+
/* @__PURE__ */ (0, F.jsxs)("div", {
|
|
876
882
|
className: "sid-header__subtitle sid-l-horz-center sid-l-space-top-md",
|
|
877
883
|
children: [
|
|
878
|
-
/* @__PURE__ */ (0,
|
|
884
|
+
/* @__PURE__ */ (0, F.jsxs)("div", {
|
|
879
885
|
className: "sid-error-msg sid-l-horz-center",
|
|
880
|
-
children: [/* @__PURE__ */ (0,
|
|
886
|
+
children: [/* @__PURE__ */ (0, F.jsx)(an, {
|
|
881
887
|
errorIds: s,
|
|
882
888
|
errorDetailId: i
|
|
883
|
-
}), /* @__PURE__ */ (0,
|
|
889
|
+
}), /* @__PURE__ */ (0, F.jsx)(on, {
|
|
884
890
|
verificationService: e,
|
|
885
891
|
errorIds: s
|
|
886
892
|
})]
|
|
887
893
|
}),
|
|
888
|
-
c && /* @__PURE__ */ (0,
|
|
894
|
+
c && /* @__PURE__ */ (0, F.jsx)("p", {
|
|
889
895
|
className: "sid-error-contact-support sid-l-space-top-md",
|
|
890
|
-
children: /* @__PURE__ */ (0,
|
|
896
|
+
children: /* @__PURE__ */ (0, F.jsx)(N, { id: "contactSupport" })
|
|
891
897
|
}),
|
|
892
|
-
/* @__PURE__ */ (0,
|
|
898
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
893
899
|
className: "sid-l-space-top-lg sid-error-button-container sid-l-horz-center",
|
|
894
|
-
children: /* @__PURE__ */ (0,
|
|
900
|
+
children: /* @__PURE__ */ (0, F.jsx)(sn, {
|
|
895
901
|
verificationService: e,
|
|
896
902
|
errorIds: s,
|
|
897
903
|
redirectUrl: r
|
|
@@ -900,266 +906,266 @@ var ut = (e, t = { partial: !0 }) => {
|
|
|
900
906
|
]
|
|
901
907
|
})
|
|
902
908
|
]
|
|
903
|
-
}), /* @__PURE__ */ (0,
|
|
909
|
+
}), /* @__PURE__ */ (0, F.jsx)("div", {
|
|
904
910
|
className: "sid-footer sid-powered-by-container sid-l-horz-center sid-l-space-top-xl sid-h-small-text",
|
|
905
|
-
children: /* @__PURE__ */ (0,
|
|
911
|
+
children: /* @__PURE__ */ (0, F.jsx)(At, {
|
|
906
912
|
verificationService: e,
|
|
907
913
|
isCentered: !0,
|
|
908
914
|
hideFaqLink: c
|
|
909
915
|
})
|
|
910
916
|
})]
|
|
911
917
|
});
|
|
912
|
-
},
|
|
913
|
-
StepPendingComponent:
|
|
914
|
-
StepErrorComponent:
|
|
915
|
-
StepStudentPersonalInfoComponent:
|
|
916
|
-
StepOverrideComponent:
|
|
917
|
-
StepAgePersonalInfoComponent:
|
|
918
|
-
StepSeniorPersonalInfoComponent:
|
|
919
|
-
StepCollectMilitaryPersonalInfoComponent:
|
|
920
|
-
StepCollectMilitaryStatusComponent:
|
|
921
|
-
StepActiveMilitaryPersonalInfoComponent:
|
|
922
|
-
StepInactiveMilitaryPersonalInfoComponent:
|
|
923
|
-
StepDriverLicensePersonalInfoComponent:
|
|
924
|
-
StepEmploymentPersonalInfoComponent:
|
|
925
|
-
StepFirstResponderPersonalInfoComponent:
|
|
926
|
-
StepGeneralIdentityPersonalInfoComponent:
|
|
927
|
-
StepHybridIdentityPersonalInfoComponent:
|
|
928
|
-
StepIDCheckLoopComponent:
|
|
929
|
-
StepLicensedProfessionalPersonalInfoComponent:
|
|
930
|
-
StepLowIncomePersonalInfoComponent:
|
|
931
|
-
StepMedicalProfessionalPersonalInfoComponent:
|
|
932
|
-
StepMemberPersonalInfoComponent:
|
|
933
|
-
StepConsolationComponent:
|
|
934
|
-
StepDocUploadComponent:
|
|
935
|
-
StepEmailLoopComponent:
|
|
936
|
-
StepPendingEmailLoopComponent:
|
|
937
|
-
StepMoverPersonalInfoComponent:
|
|
938
|
-
StepSMSLoopComponent:
|
|
939
|
-
StepSocialSecurity:
|
|
940
|
-
StepSSOComponent:
|
|
941
|
-
StepSuccessComponent:
|
|
942
|
-
StepTeacherPersonalInfoComponent:
|
|
943
|
-
StepCompleteAuthentication:
|
|
944
|
-
StepCollectIdentifierComponent:
|
|
945
|
-
StepCollectPersonalInfo:
|
|
946
|
-
StepThirdPartyLoopComponent:
|
|
947
|
-
},
|
|
948
|
-
|
|
918
|
+
}, ln = {
|
|
919
|
+
StepPendingComponent: Yt,
|
|
920
|
+
StepErrorComponent: cn,
|
|
921
|
+
StepStudentPersonalInfoComponent: P.lazy(() => import("./chunk/StepStudentPersonalInfo-C_Gwr1pT.js")),
|
|
922
|
+
StepOverrideComponent: P.lazy(() => import("./chunk/StepOverrideComponent-D1Yt52PA.js")),
|
|
923
|
+
StepAgePersonalInfoComponent: P.lazy(() => import("./chunk/StepAgePersonalInfo-bff8TmYc.js")),
|
|
924
|
+
StepSeniorPersonalInfoComponent: P.lazy(() => import("./chunk/StepAgePersonalInfo-bff8TmYc.js")),
|
|
925
|
+
StepCollectMilitaryPersonalInfoComponent: P.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-DQCRukuB.js")),
|
|
926
|
+
StepCollectMilitaryStatusComponent: P.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-DQCRukuB.js")),
|
|
927
|
+
StepActiveMilitaryPersonalInfoComponent: P.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-DQCRukuB.js")),
|
|
928
|
+
StepInactiveMilitaryPersonalInfoComponent: P.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-DQCRukuB.js")),
|
|
929
|
+
StepDriverLicensePersonalInfoComponent: P.lazy(() => import("./chunk/StepDriverLicensePersonalInfoComponent-BefsBTXA.js")),
|
|
930
|
+
StepEmploymentPersonalInfoComponent: P.lazy(() => import("./chunk/StepEmploymentPersonalInfo-B4Q_Vmn1.js")),
|
|
931
|
+
StepFirstResponderPersonalInfoComponent: P.lazy(() => import("./chunk/StepFirstResponderPersonalInfo-B9PC3Jng.js")),
|
|
932
|
+
StepGeneralIdentityPersonalInfoComponent: P.lazy(() => import("./chunk/StepGeneralIdentityPersonalInfoComponent--PJYfPS9.js")),
|
|
933
|
+
StepHybridIdentityPersonalInfoComponent: P.lazy(() => import("./chunk/StepHybridIdentityPersonalInfoComponent-D0Bo9WQP.js")),
|
|
934
|
+
StepIDCheckLoopComponent: P.lazy(() => import("./chunk/StepIDCheckLoop-DuWYhW6n.js")),
|
|
935
|
+
StepLicensedProfessionalPersonalInfoComponent: P.lazy(() => import("./chunk/StepLicensedProfessionalPersonalInfo-CdejPwI2.js")),
|
|
936
|
+
StepLowIncomePersonalInfoComponent: P.lazy(() => import("./chunk/StepLowIncomePersonalInfo-Bhg26pJ9.js")),
|
|
937
|
+
StepMedicalProfessionalPersonalInfoComponent: P.lazy(() => import("./chunk/StepMedicalProfessionalPersonalInfo-5gdyRLPb.js")),
|
|
938
|
+
StepMemberPersonalInfoComponent: P.lazy(() => import("./chunk/StepMemberPersonalInfo-49h2IL56.js")),
|
|
939
|
+
StepConsolationComponent: P.lazy(() => import("./chunk/StepConsolation-BlyaWmH0.js")),
|
|
940
|
+
StepDocUploadComponent: P.lazy(() => import("./chunk/StepDocUpload-Dt9BXXEb.js")),
|
|
941
|
+
StepEmailLoopComponent: P.lazy(() => import("./chunk/StepEmailLoop-B0oRiGz0.js")),
|
|
942
|
+
StepPendingEmailLoopComponent: P.lazy(() => import("./chunk/EmailLoopPending-B2Ok4wQ5.js").then((e) => e.n)),
|
|
943
|
+
StepMoverPersonalInfoComponent: P.lazy(() => import("./chunk/StepMoverPersonalInfo-Bn4baYdo.js")),
|
|
944
|
+
StepSMSLoopComponent: P.lazy(() => import("./chunk/StepSMSLoop-DyFk46pS.js")),
|
|
945
|
+
StepSocialSecurity: P.lazy(() => import("./chunk/StepSocialSecurityNumber-BXTFTRtU.js")),
|
|
946
|
+
StepSSOComponent: P.lazy(() => import("./chunk/StepSSO-BGHCbduX.js")),
|
|
947
|
+
StepSuccessComponent: P.lazy(() => import("./chunk/StepSuccess-BWigRqmh.js")),
|
|
948
|
+
StepTeacherPersonalInfoComponent: P.lazy(() => import("./chunk/StepTeacherPersonalInfo-Bv9DB_Lt.js")),
|
|
949
|
+
StepCompleteAuthentication: P.lazy(() => import("./chunk/StepCompleteAuthentication-9IO15InM.js")),
|
|
950
|
+
StepCollectIdentifierComponent: P.lazy(() => import("./chunk/StepCollectIdentifier-DhHTccOW.js")),
|
|
951
|
+
StepCollectPersonalInfo: P.lazy(() => import("./chunk/StepCollectPersonalInfo-0D43XcYg.js")),
|
|
952
|
+
StepThirdPartyLoopComponent: P.lazy(() => import("./chunk/StepThirdPartyLoop-CbFTIlwP.js"))
|
|
953
|
+
}, R = (e) => (O.info("getComponent", e), Dt(e) || ln[e]), un = () => /* @__PURE__ */ (0, F.jsx)(_t, {}), dn = ({ stepToLoad: e, verificationService: t }) => {
|
|
954
|
+
O.info(`LoadStepComponent: rendering step: ${e}`);
|
|
949
955
|
let n;
|
|
950
|
-
switch ((0,
|
|
956
|
+
switch ((0, P.useEffect)(() => {
|
|
951
957
|
try {
|
|
952
|
-
performance.mark(
|
|
958
|
+
performance.mark(d.INITIAL_STEP_LOAD);
|
|
953
959
|
} catch {}
|
|
954
|
-
}, []),
|
|
960
|
+
}, []), P.useEffect(() => {
|
|
955
961
|
if (!["pending", "error"].includes(e)) try {
|
|
956
|
-
performance.mark(
|
|
957
|
-
eventName:
|
|
962
|
+
performance.mark(u.STEP_SEEN), ee({
|
|
963
|
+
eventName: u.STEP_SEEN,
|
|
958
964
|
params: { step: e }
|
|
959
965
|
});
|
|
960
966
|
} catch (e) {
|
|
961
|
-
|
|
967
|
+
O.error(e);
|
|
962
968
|
}
|
|
963
969
|
}, [e]), e) {
|
|
964
970
|
case "collectPersonalInfo":
|
|
965
|
-
n =
|
|
971
|
+
n = R("StepCollectPersonalInfo");
|
|
966
972
|
break;
|
|
967
973
|
case "collectStudentPersonalInfo":
|
|
968
|
-
n =
|
|
974
|
+
n = R("StepStudentPersonalInfoComponent");
|
|
969
975
|
break;
|
|
970
976
|
case "collectSeniorPersonalInfo":
|
|
971
|
-
n =
|
|
977
|
+
n = R("StepSeniorPersonalInfoComponent");
|
|
972
978
|
break;
|
|
973
979
|
case "collectAgePersonalInfo":
|
|
974
|
-
n =
|
|
980
|
+
n = R("StepAgePersonalInfoComponent");
|
|
975
981
|
break;
|
|
976
982
|
case "collectTeacherPersonalInfo":
|
|
977
|
-
n =
|
|
983
|
+
n = R("StepTeacherPersonalInfoComponent");
|
|
978
984
|
break;
|
|
979
985
|
case "collectMemberPersonalInfo":
|
|
980
|
-
n =
|
|
986
|
+
n = R("StepMemberPersonalInfoComponent");
|
|
981
987
|
break;
|
|
982
988
|
case "collectMilitaryStatus":
|
|
983
|
-
n =
|
|
989
|
+
n = R("StepCollectMilitaryStatusComponent");
|
|
984
990
|
break;
|
|
985
991
|
case "collectActiveMilitaryPersonalInfo":
|
|
986
|
-
n =
|
|
992
|
+
n = R("StepActiveMilitaryPersonalInfoComponent");
|
|
987
993
|
break;
|
|
988
994
|
case "collectInactiveMilitaryPersonalInfo":
|
|
989
|
-
n =
|
|
995
|
+
n = R("StepInactiveMilitaryPersonalInfoComponent");
|
|
990
996
|
break;
|
|
991
997
|
case "collectMilitaryPersonalInfo":
|
|
992
|
-
n =
|
|
998
|
+
n = R("StepCollectMilitaryPersonalInfoComponent");
|
|
993
999
|
break;
|
|
994
1000
|
case "collectFirstResponderPersonalInfo":
|
|
995
|
-
n =
|
|
1001
|
+
n = R("StepFirstResponderPersonalInfoComponent");
|
|
996
1002
|
break;
|
|
997
1003
|
case "collectMedicalProfessionalPersonalInfo":
|
|
998
|
-
n =
|
|
1004
|
+
n = R("StepMedicalProfessionalPersonalInfoComponent");
|
|
999
1005
|
break;
|
|
1000
1006
|
case "collectEmployeePersonalInfo":
|
|
1001
|
-
n =
|
|
1007
|
+
n = R("StepEmploymentPersonalInfoComponent");
|
|
1002
1008
|
break;
|
|
1003
1009
|
case "collectDriverLicensePersonalInfo":
|
|
1004
|
-
n =
|
|
1010
|
+
n = R("StepDriverLicensePersonalInfoComponent");
|
|
1005
1011
|
break;
|
|
1006
1012
|
case "collectGeneralIdentityPersonalInfo":
|
|
1007
|
-
n =
|
|
1013
|
+
n = R("StepGeneralIdentityPersonalInfoComponent");
|
|
1008
1014
|
break;
|
|
1009
1015
|
case "collectHybridIdentityPersonalInfo":
|
|
1010
|
-
n =
|
|
1016
|
+
n = R("StepHybridIdentityPersonalInfoComponent");
|
|
1011
1017
|
break;
|
|
1012
1018
|
case "collectLicensedProfessionalPersonalInfo":
|
|
1013
|
-
n =
|
|
1019
|
+
n = R("StepLicensedProfessionalPersonalInfoComponent");
|
|
1014
1020
|
break;
|
|
1015
1021
|
case "collectMoverPersonalInfo":
|
|
1016
|
-
n =
|
|
1022
|
+
n = R("StepMoverPersonalInfoComponent");
|
|
1017
1023
|
break;
|
|
1018
1024
|
case "collectLowIncomePersonalInfo":
|
|
1019
|
-
n =
|
|
1025
|
+
n = R("StepLowIncomePersonalInfoComponent");
|
|
1020
1026
|
break;
|
|
1021
1027
|
case "collectSocialSecurityNumber":
|
|
1022
|
-
n =
|
|
1028
|
+
n = R("StepSocialSecurity");
|
|
1023
1029
|
break;
|
|
1024
1030
|
case "success":
|
|
1025
|
-
n =
|
|
1031
|
+
n = R("StepSuccessComponent");
|
|
1026
1032
|
break;
|
|
1027
1033
|
case "consolation":
|
|
1028
|
-
n =
|
|
1034
|
+
n = R("StepConsolationComponent");
|
|
1029
1035
|
break;
|
|
1030
1036
|
case "override":
|
|
1031
|
-
n =
|
|
1037
|
+
n = R("StepOverrideComponent");
|
|
1032
1038
|
break;
|
|
1033
1039
|
case "docUpload":
|
|
1034
|
-
n =
|
|
1040
|
+
n = R("StepDocUploadComponent");
|
|
1035
1041
|
break;
|
|
1036
1042
|
case "pending":
|
|
1037
|
-
n =
|
|
1043
|
+
n = R("StepPendingComponent");
|
|
1038
1044
|
break;
|
|
1039
1045
|
case "sso":
|
|
1040
|
-
n =
|
|
1046
|
+
n = R("StepSSOComponent");
|
|
1041
1047
|
break;
|
|
1042
1048
|
case "thirdPartyLoop":
|
|
1043
|
-
n =
|
|
1049
|
+
n = R("StepThirdPartyLoopComponent");
|
|
1044
1050
|
break;
|
|
1045
1051
|
case "smsLoop":
|
|
1046
|
-
n =
|
|
1052
|
+
n = R("StepSMSLoopComponent");
|
|
1047
1053
|
break;
|
|
1048
1054
|
case "emailLoop":
|
|
1049
|
-
n =
|
|
1055
|
+
n = R("StepEmailLoopComponent");
|
|
1050
1056
|
break;
|
|
1051
1057
|
case "idCheckLoop":
|
|
1052
|
-
n =
|
|
1058
|
+
n = R("StepIDCheckLoopComponent");
|
|
1053
1059
|
break;
|
|
1054
1060
|
case "collectIdentifier":
|
|
1055
|
-
n =
|
|
1061
|
+
n = R("StepCollectIdentifierComponent");
|
|
1056
1062
|
break;
|
|
1057
1063
|
case "completeAuthentication":
|
|
1058
|
-
n =
|
|
1064
|
+
n = R("StepCompleteAuthentication");
|
|
1059
1065
|
break;
|
|
1060
|
-
case "missingRequiredMetadata": return n =
|
|
1066
|
+
case "missingRequiredMetadata": return n = R("StepErrorComponent"), /* @__PURE__ */ (0, F.jsx)(n, {
|
|
1061
1067
|
verificationService: t,
|
|
1062
1068
|
errorId: "missingRequiredMetadata"
|
|
1063
1069
|
});
|
|
1064
|
-
case "missingRequiredExternalId": return n =
|
|
1070
|
+
case "missingRequiredExternalId": return n = R("StepErrorComponent"), /* @__PURE__ */ (0, F.jsx)(n, {
|
|
1065
1071
|
verificationService: t,
|
|
1066
1072
|
errorId: "missingRequiredExternalId"
|
|
1067
1073
|
});
|
|
1068
1074
|
case "error":
|
|
1069
|
-
n =
|
|
1075
|
+
n = R("StepErrorComponent");
|
|
1070
1076
|
break;
|
|
1071
1077
|
case "cancelDocUpload":
|
|
1072
1078
|
case "cancelEmailLoop":
|
|
1073
1079
|
case "cancelSocialSecurityNumber":
|
|
1074
1080
|
case "docReviewLimitExceeded":
|
|
1075
|
-
case "emailLoopCollectOrganizationEmail": return
|
|
1081
|
+
case "emailLoopCollectOrganizationEmail": return O.error("Attempted to load unexpected step", e), /* @__PURE__ */ (0, F.jsx)(cn, {
|
|
1076
1082
|
verificationService: t,
|
|
1077
1083
|
errorId: "invalidStep"
|
|
1078
1084
|
});
|
|
1079
|
-
default: return
|
|
1085
|
+
default: return O.error("Unable to load step", e), /* @__PURE__ */ (0, F.jsx)(cn, {
|
|
1080
1086
|
verificationService: t,
|
|
1081
1087
|
errorId: "invalidStep"
|
|
1082
1088
|
});
|
|
1083
1089
|
}
|
|
1084
|
-
return /* @__PURE__ */ (0,
|
|
1085
|
-
fallback:
|
|
1086
|
-
children: /* @__PURE__ */ (0,
|
|
1090
|
+
return /* @__PURE__ */ (0, F.jsx)(P.Suspense, {
|
|
1091
|
+
fallback: un(),
|
|
1092
|
+
children: /* @__PURE__ */ (0, F.jsx)(n, { verificationService: t })
|
|
1087
1093
|
});
|
|
1088
|
-
},
|
|
1094
|
+
}, fn = ({ dangerouslySetInnerHTML: e, ...t }) => e ? /* @__PURE__ */ (0, F.jsx)("span", {
|
|
1089
1095
|
dangerouslySetInnerHTML: e,
|
|
1090
1096
|
...t
|
|
1091
|
-
}) : /* @__PURE__ */ (0,
|
|
1097
|
+
}) : /* @__PURE__ */ (0, F.jsx)(P.Fragment, { ...t }), pn = ({ verificationService: e }) => e.programTheme?.isTestMode ? /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
1092
1098
|
className: "sid-test-mode-flag sid-l-container sid-l-horz-center",
|
|
1093
1099
|
role: "note",
|
|
1094
|
-
children: ["Test Mode", /* @__PURE__ */ (0,
|
|
1100
|
+
children: ["Test Mode", /* @__PURE__ */ (0, F.jsx)(Ee, {
|
|
1095
1101
|
className: "sid-test-mode-flag__link",
|
|
1096
1102
|
href: "https://developer.sheerid.com/getting-started#test-program",
|
|
1097
1103
|
"aria-label": "learn more about a sheerid test mode program",
|
|
1098
1104
|
children: "(learn more)"
|
|
1099
1105
|
})]
|
|
1100
|
-
}) : null,
|
|
1106
|
+
}) : null, mn = ({ verificationService: e, title: t, children: n, fallbackLogo: r, classNameIdentifier: i = void 0 }) => /* @__PURE__ */ (0, F.jsxs)("header", {
|
|
1101
1107
|
className: "sid-header",
|
|
1102
1108
|
children: [
|
|
1103
|
-
/* @__PURE__ */ (0,
|
|
1109
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
1104
1110
|
className: `sid-logo-container sid-l-horz-center ${i ? `sid-${i}-logo-container` : ""}`,
|
|
1105
|
-
children: /* @__PURE__ */ (0,
|
|
1111
|
+
children: /* @__PURE__ */ (0, F.jsx)(ct, {
|
|
1106
1112
|
verificationService: e,
|
|
1107
1113
|
fallbackLogo: r
|
|
1108
1114
|
})
|
|
1109
1115
|
}),
|
|
1110
|
-
/* @__PURE__ */ (0,
|
|
1116
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
1111
1117
|
className: `sid-header__title sid-l-horz-center ${i ? `sid-${i}-header` : ""}`,
|
|
1112
|
-
children: /* @__PURE__ */ (0,
|
|
1118
|
+
children: /* @__PURE__ */ (0, F.jsx)("h1", { children: t })
|
|
1113
1119
|
}),
|
|
1114
1120
|
n
|
|
1115
1121
|
]
|
|
1116
1122
|
});
|
|
1117
1123
|
typeof window < "u" && window.document && window.document.createElement;
|
|
1118
|
-
function
|
|
1124
|
+
function z(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
|
|
1119
1125
|
return function(r) {
|
|
1120
1126
|
if (e?.(r), n === !1 || !r.defaultPrevented) return t?.(r);
|
|
1121
1127
|
};
|
|
1122
1128
|
}
|
|
1123
1129
|
//#endregion
|
|
1124
1130
|
//#region ../node_modules/@radix-ui/react-compose-refs/dist/index.mjs
|
|
1125
|
-
function
|
|
1131
|
+
function hn(e, t) {
|
|
1126
1132
|
if (typeof e == "function") return e(t);
|
|
1127
1133
|
e != null && (e.current = t);
|
|
1128
1134
|
}
|
|
1129
|
-
function
|
|
1135
|
+
function gn(...e) {
|
|
1130
1136
|
return (t) => {
|
|
1131
1137
|
let n = !1, r = e.map((e) => {
|
|
1132
|
-
let r =
|
|
1138
|
+
let r = hn(e, t);
|
|
1133
1139
|
return !n && typeof r == "function" && (n = !0), r;
|
|
1134
1140
|
});
|
|
1135
1141
|
if (n) return () => {
|
|
1136
1142
|
for (let t = 0; t < r.length; t++) {
|
|
1137
1143
|
let n = r[t];
|
|
1138
|
-
typeof n == "function" ? n() :
|
|
1144
|
+
typeof n == "function" ? n() : hn(e[t], null);
|
|
1139
1145
|
}
|
|
1140
1146
|
};
|
|
1141
1147
|
};
|
|
1142
1148
|
}
|
|
1143
|
-
function
|
|
1144
|
-
return
|
|
1149
|
+
function B(...e) {
|
|
1150
|
+
return P.useCallback(gn(...e), e);
|
|
1145
1151
|
}
|
|
1146
1152
|
//#endregion
|
|
1147
1153
|
//#region ../node_modules/@radix-ui/react-context/dist/index.mjs
|
|
1148
|
-
function
|
|
1154
|
+
function _n(e, t = []) {
|
|
1149
1155
|
let n = [];
|
|
1150
1156
|
function r(t, r) {
|
|
1151
|
-
let i =
|
|
1157
|
+
let i = P.createContext(r), a = n.length;
|
|
1152
1158
|
n = [...n, r];
|
|
1153
1159
|
let o = (t) => {
|
|
1154
|
-
let { scope: n, children: r, ...o } = t, s = n?.[e]?.[a] || i, c =
|
|
1155
|
-
return /* @__PURE__ */ (0,
|
|
1160
|
+
let { scope: n, children: r, ...o } = t, s = n?.[e]?.[a] || i, c = P.useMemo(() => o, Object.values(o));
|
|
1161
|
+
return /* @__PURE__ */ (0, F.jsx)(s.Provider, {
|
|
1156
1162
|
value: c,
|
|
1157
1163
|
children: r
|
|
1158
1164
|
});
|
|
1159
1165
|
};
|
|
1160
1166
|
o.displayName = t + "Provider";
|
|
1161
1167
|
function s(n, o) {
|
|
1162
|
-
let s = o?.[e]?.[a] || i, c =
|
|
1168
|
+
let s = o?.[e]?.[a] || i, c = P.useContext(s);
|
|
1163
1169
|
if (c) return c;
|
|
1164
1170
|
if (r !== void 0) return r;
|
|
1165
1171
|
throw Error(`\`${n}\` must be used within \`${t}\``);
|
|
@@ -1167,18 +1173,18 @@ function hn(e, t = []) {
|
|
|
1167
1173
|
return [o, s];
|
|
1168
1174
|
}
|
|
1169
1175
|
let i = () => {
|
|
1170
|
-
let t = n.map((e) =>
|
|
1176
|
+
let t = n.map((e) => P.createContext(e));
|
|
1171
1177
|
return function(n) {
|
|
1172
1178
|
let r = n?.[e] || t;
|
|
1173
|
-
return
|
|
1179
|
+
return P.useMemo(() => ({ [`__scope${e}`]: {
|
|
1174
1180
|
...n,
|
|
1175
1181
|
[e]: r
|
|
1176
1182
|
} }), [n, r]);
|
|
1177
1183
|
};
|
|
1178
1184
|
};
|
|
1179
|
-
return i.scopeName = e, [r,
|
|
1185
|
+
return i.scopeName = e, [r, vn(i, ...t)];
|
|
1180
1186
|
}
|
|
1181
|
-
function
|
|
1187
|
+
function vn(...e) {
|
|
1182
1188
|
let t = e[0];
|
|
1183
1189
|
if (e.length === 1) return t;
|
|
1184
1190
|
let n = () => {
|
|
@@ -1194,7 +1200,7 @@ function gn(...e) {
|
|
|
1194
1200
|
...i
|
|
1195
1201
|
};
|
|
1196
1202
|
}, {});
|
|
1197
|
-
return
|
|
1203
|
+
return P.useMemo(() => ({ [`__scope${t.scopeName}`]: r }), [r]);
|
|
1198
1204
|
};
|
|
1199
1205
|
};
|
|
1200
1206
|
return n.scopeName = t.scopeName, n;
|
|
@@ -1202,18 +1208,18 @@ function gn(...e) {
|
|
|
1202
1208
|
//#endregion
|
|
1203
1209
|
//#region ../node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
1204
1210
|
// @__NO_SIDE_EFFECTS__
|
|
1205
|
-
function
|
|
1206
|
-
let t = /* @__PURE__ */
|
|
1207
|
-
let { children: r, ...i } = e, a =
|
|
1211
|
+
function yn(e) {
|
|
1212
|
+
let t = /* @__PURE__ */ bn(e), n = P.forwardRef((e, n) => {
|
|
1213
|
+
let { children: r, ...i } = e, a = P.Children.toArray(r), o = a.find(Sn);
|
|
1208
1214
|
if (o) {
|
|
1209
|
-
let e = o.props.children, r = a.map((t) => t === o ?
|
|
1210
|
-
return /* @__PURE__ */ (0,
|
|
1215
|
+
let e = o.props.children, r = a.map((t) => t === o ? P.Children.count(e) > 1 ? P.Children.only(null) : P.isValidElement(e) ? e.props.children : null : t);
|
|
1216
|
+
return /* @__PURE__ */ (0, F.jsx)(t, {
|
|
1211
1217
|
...i,
|
|
1212
1218
|
ref: n,
|
|
1213
|
-
children:
|
|
1219
|
+
children: P.isValidElement(e) ? P.cloneElement(e, void 0, r) : null
|
|
1214
1220
|
});
|
|
1215
1221
|
}
|
|
1216
|
-
return /* @__PURE__ */ (0,
|
|
1222
|
+
return /* @__PURE__ */ (0, F.jsx)(t, {
|
|
1217
1223
|
...i,
|
|
1218
1224
|
ref: n,
|
|
1219
1225
|
children: r
|
|
@@ -1222,22 +1228,22 @@ function _n(e) {
|
|
|
1222
1228
|
return n.displayName = `${e}.Slot`, n;
|
|
1223
1229
|
}
|
|
1224
1230
|
// @__NO_SIDE_EFFECTS__
|
|
1225
|
-
function
|
|
1226
|
-
let t =
|
|
1231
|
+
function bn(e) {
|
|
1232
|
+
let t = P.forwardRef((e, t) => {
|
|
1227
1233
|
let { children: n, ...r } = e;
|
|
1228
|
-
if (
|
|
1229
|
-
let e =
|
|
1230
|
-
return n.type !==
|
|
1234
|
+
if (P.isValidElement(n)) {
|
|
1235
|
+
let e = wn(n), i = Cn(r, n.props);
|
|
1236
|
+
return n.type !== P.Fragment && (i.ref = t ? gn(t, e) : e), P.cloneElement(n, i);
|
|
1231
1237
|
}
|
|
1232
|
-
return
|
|
1238
|
+
return P.Children.count(n) > 1 ? P.Children.only(null) : null;
|
|
1233
1239
|
});
|
|
1234
1240
|
return t.displayName = `${e}.SlotClone`, t;
|
|
1235
1241
|
}
|
|
1236
|
-
var
|
|
1237
|
-
function
|
|
1238
|
-
return
|
|
1242
|
+
var xn = Symbol("radix.slottable");
|
|
1243
|
+
function Sn(e) {
|
|
1244
|
+
return P.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === xn;
|
|
1239
1245
|
}
|
|
1240
|
-
function
|
|
1246
|
+
function Cn(e, t) {
|
|
1241
1247
|
let n = { ...t };
|
|
1242
1248
|
for (let r in t) {
|
|
1243
1249
|
let i = e[r], a = t[r];
|
|
@@ -1254,13 +1260,13 @@ function xn(e, t) {
|
|
|
1254
1260
|
...n
|
|
1255
1261
|
};
|
|
1256
1262
|
}
|
|
1257
|
-
function
|
|
1263
|
+
function wn(e) {
|
|
1258
1264
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
1259
1265
|
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);
|
|
1260
1266
|
}
|
|
1261
1267
|
//#endregion
|
|
1262
1268
|
//#region ../node_modules/@radix-ui/react-primitive/dist/index.mjs
|
|
1263
|
-
var
|
|
1269
|
+
var V = [
|
|
1264
1270
|
"a",
|
|
1265
1271
|
"button",
|
|
1266
1272
|
"div",
|
|
@@ -1279,9 +1285,9 @@ var H = [
|
|
|
1279
1285
|
"svg",
|
|
1280
1286
|
"ul"
|
|
1281
1287
|
].reduce((e, t) => {
|
|
1282
|
-
let n = /* @__PURE__ */
|
|
1288
|
+
let n = /* @__PURE__ */ yn(`Primitive.${t}`), r = P.forwardRef((e, r) => {
|
|
1283
1289
|
let { asChild: i, ...a } = e, o = i ? n : t;
|
|
1284
|
-
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ (0,
|
|
1290
|
+
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ (0, F.jsx)(o, {
|
|
1285
1291
|
...a,
|
|
1286
1292
|
ref: r
|
|
1287
1293
|
});
|
|
@@ -1291,22 +1297,22 @@ var H = [
|
|
|
1291
1297
|
[t]: r
|
|
1292
1298
|
};
|
|
1293
1299
|
}, {});
|
|
1294
|
-
function
|
|
1295
|
-
e &&
|
|
1300
|
+
function Tn(e, t) {
|
|
1301
|
+
e && mt.flushSync(() => e.dispatchEvent(t));
|
|
1296
1302
|
}
|
|
1297
1303
|
//#endregion
|
|
1298
1304
|
//#region ../node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
|
|
1299
|
-
function
|
|
1300
|
-
let t =
|
|
1301
|
-
return
|
|
1305
|
+
function En(e) {
|
|
1306
|
+
let t = P.useRef(e);
|
|
1307
|
+
return P.useEffect(() => {
|
|
1302
1308
|
t.current = e;
|
|
1303
|
-
}),
|
|
1309
|
+
}), P.useMemo(() => (...e) => t.current?.(...e), []);
|
|
1304
1310
|
}
|
|
1305
1311
|
//#endregion
|
|
1306
1312
|
//#region ../node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs
|
|
1307
|
-
function
|
|
1308
|
-
let n =
|
|
1309
|
-
|
|
1313
|
+
function Dn(e, t = globalThis?.document) {
|
|
1314
|
+
let n = En(e);
|
|
1315
|
+
P.useEffect(() => {
|
|
1310
1316
|
let e = (e) => {
|
|
1311
1317
|
e.key === "Escape" && n(e);
|
|
1312
1318
|
};
|
|
@@ -1315,67 +1321,67 @@ function Tn(e, t = globalThis?.document) {
|
|
|
1315
1321
|
}
|
|
1316
1322
|
//#endregion
|
|
1317
1323
|
//#region ../node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
|
|
1318
|
-
var
|
|
1324
|
+
var On = "DismissableLayer", kn = "dismissableLayer.update", An = "dismissableLayer.pointerDownOutside", jn = "dismissableLayer.focusOutside", Mn, Nn = P.createContext({
|
|
1319
1325
|
layers: /* @__PURE__ */ new Set(),
|
|
1320
1326
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
1321
1327
|
branches: /* @__PURE__ */ new Set()
|
|
1322
|
-
}),
|
|
1323
|
-
let { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: o, onDismiss: s, ...c } = e, l =
|
|
1328
|
+
}), Pn = P.forwardRef((e, t) => {
|
|
1329
|
+
let { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: o, onDismiss: s, ...c } = e, l = P.useContext(Nn), [u, d] = P.useState(null), f = u?.ownerDocument ?? globalThis?.document, [, p] = P.useState({}), m = B(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 = Ln((e) => {
|
|
1324
1330
|
let t = e.target, n = [...l.branches].some((e) => e.contains(t));
|
|
1325
1331
|
!b || n || (i?.(e), o?.(e), e.defaultPrevented || s?.());
|
|
1326
|
-
}, f), S =
|
|
1332
|
+
}, f), S = Rn((e) => {
|
|
1327
1333
|
let t = e.target;
|
|
1328
1334
|
[...l.branches].some((e) => e.contains(t)) || (a?.(e), o?.(e), e.defaultPrevented || s?.());
|
|
1329
1335
|
}, f);
|
|
1330
|
-
return
|
|
1336
|
+
return Dn((e) => {
|
|
1331
1337
|
v === l.layers.size - 1 && (r?.(e), !e.defaultPrevented && s && (e.preventDefault(), s()));
|
|
1332
|
-
}, f),
|
|
1333
|
-
if (u) return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (
|
|
1334
|
-
n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (f.body.style.pointerEvents =
|
|
1338
|
+
}, f), P.useEffect(() => {
|
|
1339
|
+
if (u) return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (Mn = f.body.style.pointerEvents, f.body.style.pointerEvents = "none"), l.layersWithOutsidePointerEventsDisabled.add(u)), l.layers.add(u), zn(), () => {
|
|
1340
|
+
n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (f.body.style.pointerEvents = Mn);
|
|
1335
1341
|
};
|
|
1336
1342
|
}, [
|
|
1337
1343
|
u,
|
|
1338
1344
|
f,
|
|
1339
1345
|
n,
|
|
1340
1346
|
l
|
|
1341
|
-
]),
|
|
1342
|
-
u && (l.layers.delete(u), l.layersWithOutsidePointerEventsDisabled.delete(u),
|
|
1343
|
-
}, [u, l]),
|
|
1347
|
+
]), P.useEffect(() => () => {
|
|
1348
|
+
u && (l.layers.delete(u), l.layersWithOutsidePointerEventsDisabled.delete(u), zn());
|
|
1349
|
+
}, [u, l]), P.useEffect(() => {
|
|
1344
1350
|
let e = () => p({});
|
|
1345
|
-
return document.addEventListener(
|
|
1346
|
-
}, []), /* @__PURE__ */ (0,
|
|
1351
|
+
return document.addEventListener(kn, e), () => document.removeEventListener(kn, e);
|
|
1352
|
+
}, []), /* @__PURE__ */ (0, F.jsx)(V.div, {
|
|
1347
1353
|
...c,
|
|
1348
1354
|
ref: m,
|
|
1349
1355
|
style: {
|
|
1350
1356
|
pointerEvents: y ? b ? "auto" : "none" : void 0,
|
|
1351
1357
|
...e.style
|
|
1352
1358
|
},
|
|
1353
|
-
onFocusCapture:
|
|
1354
|
-
onBlurCapture:
|
|
1355
|
-
onPointerDownCapture:
|
|
1359
|
+
onFocusCapture: z(e.onFocusCapture, S.onFocusCapture),
|
|
1360
|
+
onBlurCapture: z(e.onBlurCapture, S.onBlurCapture),
|
|
1361
|
+
onPointerDownCapture: z(e.onPointerDownCapture, x.onPointerDownCapture)
|
|
1356
1362
|
});
|
|
1357
1363
|
});
|
|
1358
|
-
|
|
1359
|
-
var
|
|
1360
|
-
let n =
|
|
1361
|
-
return
|
|
1364
|
+
Pn.displayName = On;
|
|
1365
|
+
var Fn = "DismissableLayerBranch", In = P.forwardRef((e, t) => {
|
|
1366
|
+
let n = P.useContext(Nn), r = P.useRef(null), i = B(t, r);
|
|
1367
|
+
return P.useEffect(() => {
|
|
1362
1368
|
let e = r.current;
|
|
1363
1369
|
if (e) return n.branches.add(e), () => {
|
|
1364
1370
|
n.branches.delete(e);
|
|
1365
1371
|
};
|
|
1366
|
-
}, [n.branches]), /* @__PURE__ */ (0,
|
|
1372
|
+
}, [n.branches]), /* @__PURE__ */ (0, F.jsx)(V.div, {
|
|
1367
1373
|
...e,
|
|
1368
1374
|
ref: i
|
|
1369
1375
|
});
|
|
1370
1376
|
});
|
|
1371
|
-
|
|
1372
|
-
function
|
|
1373
|
-
let n =
|
|
1374
|
-
return
|
|
1377
|
+
In.displayName = Fn;
|
|
1378
|
+
function Ln(e, t = globalThis?.document) {
|
|
1379
|
+
let n = En(e), r = P.useRef(!1), i = P.useRef(() => {});
|
|
1380
|
+
return P.useEffect(() => {
|
|
1375
1381
|
let e = (e) => {
|
|
1376
1382
|
if (e.target && !r.current) {
|
|
1377
1383
|
let r = function() {
|
|
1378
|
-
|
|
1384
|
+
Bn(An, n, a, { discrete: !0 });
|
|
1379
1385
|
}, a = { originalEvent: e };
|
|
1380
1386
|
e.pointerType === "touch" ? (t.removeEventListener("click", i.current), i.current = r, t.addEventListener("click", i.current, { once: !0 })) : r();
|
|
1381
1387
|
} else t.removeEventListener("click", i.current);
|
|
@@ -1388,11 +1394,11 @@ function Fn(e, t = globalThis?.document) {
|
|
|
1388
1394
|
};
|
|
1389
1395
|
}, [t, n]), { onPointerDownCapture: () => r.current = !0 };
|
|
1390
1396
|
}
|
|
1391
|
-
function
|
|
1392
|
-
let n =
|
|
1393
|
-
return
|
|
1397
|
+
function Rn(e, t = globalThis?.document) {
|
|
1398
|
+
let n = En(e), r = P.useRef(!1);
|
|
1399
|
+
return P.useEffect(() => {
|
|
1394
1400
|
let e = (e) => {
|
|
1395
|
-
e.target && !r.current &&
|
|
1401
|
+
e.target && !r.current && Bn(jn, n, { originalEvent: e }, { discrete: !1 });
|
|
1396
1402
|
};
|
|
1397
1403
|
return t.addEventListener("focusin", e), () => t.removeEventListener("focusin", e);
|
|
1398
1404
|
}, [t, n]), {
|
|
@@ -1400,40 +1406,40 @@ function In(e, t = globalThis?.document) {
|
|
|
1400
1406
|
onBlurCapture: () => r.current = !1
|
|
1401
1407
|
};
|
|
1402
1408
|
}
|
|
1403
|
-
function
|
|
1404
|
-
let e = new CustomEvent(
|
|
1409
|
+
function zn() {
|
|
1410
|
+
let e = new CustomEvent(kn);
|
|
1405
1411
|
document.dispatchEvent(e);
|
|
1406
1412
|
}
|
|
1407
|
-
function
|
|
1413
|
+
function Bn(e, t, n, { discrete: r }) {
|
|
1408
1414
|
let i = n.originalEvent.target, a = new CustomEvent(e, {
|
|
1409
1415
|
bubbles: !1,
|
|
1410
1416
|
cancelable: !0,
|
|
1411
1417
|
detail: n
|
|
1412
1418
|
});
|
|
1413
|
-
t && i.addEventListener(e, t, { once: !0 }), r ?
|
|
1419
|
+
t && i.addEventListener(e, t, { once: !0 }), r ? Tn(i, a) : i.dispatchEvent(a);
|
|
1414
1420
|
}
|
|
1415
1421
|
//#endregion
|
|
1416
1422
|
//#region ../node_modules/@radix-ui/react-focus-guards/dist/index.mjs
|
|
1417
|
-
var
|
|
1418
|
-
function
|
|
1419
|
-
|
|
1423
|
+
var Vn = 0;
|
|
1424
|
+
function Hn() {
|
|
1425
|
+
P.useEffect(() => {
|
|
1420
1426
|
let e = document.querySelectorAll("[data-radix-focus-guard]");
|
|
1421
|
-
return document.body.insertAdjacentElement("afterbegin", e[0] ??
|
|
1422
|
-
|
|
1427
|
+
return document.body.insertAdjacentElement("afterbegin", e[0] ?? Un()), document.body.insertAdjacentElement("beforeend", e[1] ?? Un()), Vn++, () => {
|
|
1428
|
+
Vn === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((e) => e.remove()), Vn--;
|
|
1423
1429
|
};
|
|
1424
1430
|
}, []);
|
|
1425
1431
|
}
|
|
1426
|
-
function
|
|
1432
|
+
function Un() {
|
|
1427
1433
|
let e = document.createElement("span");
|
|
1428
1434
|
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;
|
|
1429
1435
|
}
|
|
1430
1436
|
//#endregion
|
|
1431
1437
|
//#region ../node_modules/@radix-ui/react-focus-scope/dist/index.mjs
|
|
1432
|
-
var
|
|
1438
|
+
var Wn = "focusScope.autoFocusOnMount", Gn = "focusScope.autoFocusOnUnmount", Kn = {
|
|
1433
1439
|
bubbles: !1,
|
|
1434
1440
|
cancelable: !0
|
|
1435
|
-
},
|
|
1436
|
-
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [s, c] =
|
|
1441
|
+
}, qn = "FocusScope", Jn = P.forwardRef((e, t) => {
|
|
1442
|
+
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [s, c] = P.useState(null), l = En(i), u = En(a), d = P.useRef(null), f = B(t, (e) => c(e)), p = P.useRef({
|
|
1437
1443
|
paused: !1,
|
|
1438
1444
|
pause() {
|
|
1439
1445
|
this.paused = !0;
|
|
@@ -1442,18 +1448,18 @@ var Hn = "focusScope.autoFocusOnMount", Un = "focusScope.autoFocusOnUnmount", Wn
|
|
|
1442
1448
|
this.paused = !1;
|
|
1443
1449
|
}
|
|
1444
1450
|
}).current;
|
|
1445
|
-
|
|
1451
|
+
P.useEffect(() => {
|
|
1446
1452
|
if (r) {
|
|
1447
1453
|
let e = function(e) {
|
|
1448
1454
|
if (p.paused || !s) return;
|
|
1449
1455
|
let t = e.target;
|
|
1450
|
-
s.contains(t) ? d.current = t :
|
|
1456
|
+
s.contains(t) ? d.current = t : tr(d.current, { select: !0 });
|
|
1451
1457
|
}, t = function(e) {
|
|
1452
1458
|
if (p.paused || !s) return;
|
|
1453
1459
|
let t = e.relatedTarget;
|
|
1454
|
-
t !== null && (s.contains(t) ||
|
|
1460
|
+
t !== null && (s.contains(t) || tr(d.current, { select: !0 }));
|
|
1455
1461
|
}, n = function(e) {
|
|
1456
|
-
if (document.activeElement === document.body) for (let t of e) t.removedNodes.length > 0 &&
|
|
1462
|
+
if (document.activeElement === document.body) for (let t of e) t.removedNodes.length > 0 && tr(s);
|
|
1457
1463
|
};
|
|
1458
1464
|
document.addEventListener("focusin", e), document.addEventListener("focusout", t);
|
|
1459
1465
|
let r = new MutationObserver(n);
|
|
@@ -1468,18 +1474,18 @@ var Hn = "focusScope.autoFocusOnMount", Un = "focusScope.autoFocusOnUnmount", Wn
|
|
|
1468
1474
|
r,
|
|
1469
1475
|
s,
|
|
1470
1476
|
p.paused
|
|
1471
|
-
]),
|
|
1477
|
+
]), P.useEffect(() => {
|
|
1472
1478
|
if (s) {
|
|
1473
|
-
|
|
1479
|
+
nr.add(p);
|
|
1474
1480
|
let e = document.activeElement;
|
|
1475
1481
|
if (!s.contains(e)) {
|
|
1476
|
-
let t = new CustomEvent(
|
|
1477
|
-
s.addEventListener(
|
|
1482
|
+
let t = new CustomEvent(Wn, Kn);
|
|
1483
|
+
s.addEventListener(Wn, l), s.dispatchEvent(t), t.defaultPrevented || (Yn(ar(Zn(s)), { select: !0 }), document.activeElement === e && tr(s));
|
|
1478
1484
|
}
|
|
1479
1485
|
return () => {
|
|
1480
|
-
s.removeEventListener(
|
|
1481
|
-
let t = new CustomEvent(
|
|
1482
|
-
s.addEventListener(
|
|
1486
|
+
s.removeEventListener(Wn, l), setTimeout(() => {
|
|
1487
|
+
let t = new CustomEvent(Gn, Kn);
|
|
1488
|
+
s.addEventListener(Gn, u), s.dispatchEvent(t), t.defaultPrevented || tr(e ?? document.body, { select: !0 }), s.removeEventListener(Gn, u), nr.remove(p);
|
|
1483
1489
|
}, 0);
|
|
1484
1490
|
};
|
|
1485
1491
|
}
|
|
@@ -1489,35 +1495,35 @@ var Hn = "focusScope.autoFocusOnMount", Un = "focusScope.autoFocusOnUnmount", Wn
|
|
|
1489
1495
|
u,
|
|
1490
1496
|
p
|
|
1491
1497
|
]);
|
|
1492
|
-
let m =
|
|
1498
|
+
let m = P.useCallback((e) => {
|
|
1493
1499
|
if (!n && !r || p.paused) return;
|
|
1494
1500
|
let t = e.key === "Tab" && !e.altKey && !e.ctrlKey && !e.metaKey, i = document.activeElement;
|
|
1495
1501
|
if (t && i) {
|
|
1496
|
-
let t = e.currentTarget, [r, a] =
|
|
1497
|
-
r && a ? !e.shiftKey && i === a ? (e.preventDefault(), n &&
|
|
1502
|
+
let t = e.currentTarget, [r, a] = Xn(t);
|
|
1503
|
+
r && a ? !e.shiftKey && i === a ? (e.preventDefault(), n && tr(r, { select: !0 })) : e.shiftKey && i === r && (e.preventDefault(), n && tr(a, { select: !0 })) : i === t && e.preventDefault();
|
|
1498
1504
|
}
|
|
1499
1505
|
}, [
|
|
1500
1506
|
n,
|
|
1501
1507
|
r,
|
|
1502
1508
|
p.paused
|
|
1503
1509
|
]);
|
|
1504
|
-
return /* @__PURE__ */ (0,
|
|
1510
|
+
return /* @__PURE__ */ (0, F.jsx)(V.div, {
|
|
1505
1511
|
tabIndex: -1,
|
|
1506
1512
|
...o,
|
|
1507
1513
|
ref: f,
|
|
1508
1514
|
onKeyDown: m
|
|
1509
1515
|
});
|
|
1510
1516
|
});
|
|
1511
|
-
|
|
1512
|
-
function
|
|
1517
|
+
Jn.displayName = qn;
|
|
1518
|
+
function Yn(e, { select: t = !1 } = {}) {
|
|
1513
1519
|
let n = document.activeElement;
|
|
1514
|
-
for (let r of e) if (
|
|
1520
|
+
for (let r of e) if (tr(r, { select: t }), document.activeElement !== n) return;
|
|
1515
1521
|
}
|
|
1516
|
-
function
|
|
1517
|
-
let t =
|
|
1518
|
-
return [
|
|
1522
|
+
function Xn(e) {
|
|
1523
|
+
let t = Zn(e);
|
|
1524
|
+
return [Qn(t, e), Qn(t.reverse(), e)];
|
|
1519
1525
|
}
|
|
1520
|
-
function
|
|
1526
|
+
function Zn(e) {
|
|
1521
1527
|
let t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, { acceptNode: (e) => {
|
|
1522
1528
|
let t = e.tagName === "INPUT" && e.type === "hidden";
|
|
1523
1529
|
return e.disabled || e.hidden || t ? NodeFilter.FILTER_SKIP : e.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
|
|
@@ -1525,10 +1531,10 @@ function Yn(e) {
|
|
|
1525
1531
|
for (; n.nextNode();) t.push(n.currentNode);
|
|
1526
1532
|
return t;
|
|
1527
1533
|
}
|
|
1528
|
-
function
|
|
1529
|
-
for (let n of e) if (
|
|
1534
|
+
function Qn(e, t) {
|
|
1535
|
+
for (let n of e) if (!$n(n, { upTo: t })) return n;
|
|
1530
1536
|
}
|
|
1531
|
-
function
|
|
1537
|
+
function $n(e, { upTo: t }) {
|
|
1532
1538
|
if (getComputedStyle(e).visibility === "hidden") return !0;
|
|
1533
1539
|
for (; e;) {
|
|
1534
1540
|
if (t !== void 0 && e === t) return !1;
|
|
@@ -1537,62 +1543,62 @@ function Zn(e, { upTo: t }) {
|
|
|
1537
1543
|
}
|
|
1538
1544
|
return !1;
|
|
1539
1545
|
}
|
|
1540
|
-
function
|
|
1546
|
+
function er(e) {
|
|
1541
1547
|
return e instanceof HTMLInputElement && "select" in e;
|
|
1542
1548
|
}
|
|
1543
|
-
function
|
|
1549
|
+
function tr(e, { select: t = !1 } = {}) {
|
|
1544
1550
|
if (e && e.focus) {
|
|
1545
1551
|
let n = document.activeElement;
|
|
1546
|
-
e.focus({ preventScroll: !0 }), e !== n &&
|
|
1552
|
+
e.focus({ preventScroll: !0 }), e !== n && er(e) && t && e.select();
|
|
1547
1553
|
}
|
|
1548
1554
|
}
|
|
1549
|
-
var
|
|
1550
|
-
function
|
|
1555
|
+
var nr = rr();
|
|
1556
|
+
function rr() {
|
|
1551
1557
|
let e = [];
|
|
1552
1558
|
return {
|
|
1553
1559
|
add(t) {
|
|
1554
1560
|
let n = e[0];
|
|
1555
|
-
t !== n && n?.pause(), e =
|
|
1561
|
+
t !== n && n?.pause(), e = ir(e, t), e.unshift(t);
|
|
1556
1562
|
},
|
|
1557
1563
|
remove(t) {
|
|
1558
|
-
e =
|
|
1564
|
+
e = ir(e, t), e[0]?.resume();
|
|
1559
1565
|
}
|
|
1560
1566
|
};
|
|
1561
1567
|
}
|
|
1562
|
-
function
|
|
1568
|
+
function ir(e, t) {
|
|
1563
1569
|
let n = [...e], r = n.indexOf(t);
|
|
1564
1570
|
return r !== -1 && n.splice(r, 1), n;
|
|
1565
1571
|
}
|
|
1566
|
-
function
|
|
1572
|
+
function ar(e) {
|
|
1567
1573
|
return e.filter((e) => e.tagName !== "A");
|
|
1568
1574
|
}
|
|
1569
1575
|
//#endregion
|
|
1570
1576
|
//#region ../node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
|
|
1571
|
-
var
|
|
1572
|
-
function
|
|
1573
|
-
let [t, n] =
|
|
1574
|
-
return
|
|
1575
|
-
e || n((e) => e ?? String(
|
|
1577
|
+
var or = globalThis?.document ? P.useLayoutEffect : () => {}, sr = P.useId || (() => void 0), cr = 0;
|
|
1578
|
+
function lr(e) {
|
|
1579
|
+
let [t, n] = P.useState(sr());
|
|
1580
|
+
return or(() => {
|
|
1581
|
+
e || n((e) => e ?? String(cr++));
|
|
1576
1582
|
}, [e]), e || (t ? `radix-${t}` : "");
|
|
1577
1583
|
}
|
|
1578
1584
|
//#endregion
|
|
1579
1585
|
//#region ../node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
|
|
1580
|
-
var
|
|
1586
|
+
var ur = [
|
|
1581
1587
|
"top",
|
|
1582
1588
|
"right",
|
|
1583
1589
|
"bottom",
|
|
1584
1590
|
"left"
|
|
1585
|
-
],
|
|
1591
|
+
], H = Math.min, U = Math.max, dr = Math.round, fr = Math.floor, W = (e) => ({
|
|
1586
1592
|
x: e,
|
|
1587
1593
|
y: e
|
|
1588
|
-
}),
|
|
1594
|
+
}), pr = {
|
|
1589
1595
|
left: "right",
|
|
1590
1596
|
right: "left",
|
|
1591
1597
|
bottom: "top",
|
|
1592
1598
|
top: "bottom"
|
|
1593
1599
|
};
|
|
1594
|
-
function
|
|
1595
|
-
return U(e,
|
|
1600
|
+
function mr(e, t, n) {
|
|
1601
|
+
return U(e, H(t, n));
|
|
1596
1602
|
}
|
|
1597
1603
|
function G(e, t) {
|
|
1598
1604
|
return typeof e == "function" ? e(t) : e;
|
|
@@ -1600,57 +1606,57 @@ function G(e, t) {
|
|
|
1600
1606
|
function K(e) {
|
|
1601
1607
|
return e.split("-")[0];
|
|
1602
1608
|
}
|
|
1603
|
-
function
|
|
1609
|
+
function hr(e) {
|
|
1604
1610
|
return e.split("-")[1];
|
|
1605
1611
|
}
|
|
1606
|
-
function
|
|
1612
|
+
function gr(e) {
|
|
1607
1613
|
return e === "x" ? "y" : "x";
|
|
1608
1614
|
}
|
|
1609
|
-
function
|
|
1615
|
+
function _r(e) {
|
|
1610
1616
|
return e === "y" ? "height" : "width";
|
|
1611
1617
|
}
|
|
1612
1618
|
function q(e) {
|
|
1613
1619
|
let t = e[0];
|
|
1614
1620
|
return t === "t" || t === "b" ? "y" : "x";
|
|
1615
1621
|
}
|
|
1616
|
-
function
|
|
1617
|
-
return
|
|
1622
|
+
function vr(e) {
|
|
1623
|
+
return gr(q(e));
|
|
1618
1624
|
}
|
|
1619
|
-
function
|
|
1625
|
+
function yr(e, t, n) {
|
|
1620
1626
|
n === void 0 && (n = !1);
|
|
1621
|
-
let r =
|
|
1622
|
-
return t.reference[a] > t.floating[a] && (o =
|
|
1627
|
+
let r = hr(e), i = vr(e), a = _r(i), o = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
|
|
1628
|
+
return t.reference[a] > t.floating[a] && (o = Or(o)), [o, Or(o)];
|
|
1623
1629
|
}
|
|
1624
|
-
function
|
|
1625
|
-
let t =
|
|
1630
|
+
function br(e) {
|
|
1631
|
+
let t = Or(e);
|
|
1626
1632
|
return [
|
|
1627
|
-
|
|
1633
|
+
xr(e),
|
|
1628
1634
|
t,
|
|
1629
|
-
|
|
1635
|
+
xr(t)
|
|
1630
1636
|
];
|
|
1631
1637
|
}
|
|
1632
|
-
function
|
|
1638
|
+
function xr(e) {
|
|
1633
1639
|
return e.includes("start") ? e.replace("start", "end") : e.replace("end", "start");
|
|
1634
1640
|
}
|
|
1635
|
-
var
|
|
1636
|
-
function
|
|
1641
|
+
var Sr = ["left", "right"], Cr = ["right", "left"], wr = ["top", "bottom"], Tr = ["bottom", "top"];
|
|
1642
|
+
function Er(e, t, n) {
|
|
1637
1643
|
switch (e) {
|
|
1638
1644
|
case "top":
|
|
1639
|
-
case "bottom": return n ? t ?
|
|
1645
|
+
case "bottom": return n ? t ? Cr : Sr : t ? Sr : Cr;
|
|
1640
1646
|
case "left":
|
|
1641
|
-
case "right": return t ?
|
|
1647
|
+
case "right": return t ? wr : Tr;
|
|
1642
1648
|
default: return [];
|
|
1643
1649
|
}
|
|
1644
1650
|
}
|
|
1645
|
-
function
|
|
1646
|
-
let i =
|
|
1647
|
-
return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(
|
|
1651
|
+
function Dr(e, t, n, r) {
|
|
1652
|
+
let i = hr(e), a = Er(K(e), n === "start", r);
|
|
1653
|
+
return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(xr)))), a;
|
|
1648
1654
|
}
|
|
1649
|
-
function
|
|
1655
|
+
function Or(e) {
|
|
1650
1656
|
let t = K(e);
|
|
1651
|
-
return
|
|
1657
|
+
return pr[t] + e.slice(t.length);
|
|
1652
1658
|
}
|
|
1653
|
-
function
|
|
1659
|
+
function kr(e) {
|
|
1654
1660
|
return {
|
|
1655
1661
|
top: 0,
|
|
1656
1662
|
right: 0,
|
|
@@ -1659,15 +1665,15 @@ function Or(e) {
|
|
|
1659
1665
|
...e
|
|
1660
1666
|
};
|
|
1661
1667
|
}
|
|
1662
|
-
function
|
|
1668
|
+
function Ar(e) {
|
|
1663
1669
|
return typeof e == "number" ? {
|
|
1664
1670
|
top: e,
|
|
1665
1671
|
right: e,
|
|
1666
1672
|
bottom: e,
|
|
1667
1673
|
left: e
|
|
1668
|
-
} :
|
|
1674
|
+
} : kr(e);
|
|
1669
1675
|
}
|
|
1670
|
-
function
|
|
1676
|
+
function jr(e) {
|
|
1671
1677
|
let { x: t, y: n, width: r, height: i } = e;
|
|
1672
1678
|
return {
|
|
1673
1679
|
width: r,
|
|
@@ -1682,8 +1688,8 @@ function Ar(e) {
|
|
|
1682
1688
|
}
|
|
1683
1689
|
//#endregion
|
|
1684
1690
|
//#region ../node_modules/@floating-ui/core/dist/floating-ui.core.mjs
|
|
1685
|
-
function
|
|
1686
|
-
let { reference: r, floating: i } = e, a = q(t), o =
|
|
1691
|
+
function Mr(e, t, n) {
|
|
1692
|
+
let { reference: r, floating: i } = e, a = q(t), o = vr(t), s = _r(o), c = K(t), l = a === "y", u = r.x + r.width / 2 - i.width / 2, d = r.y + r.height / 2 - i.height / 2, f = r[s] / 2 - i[s] / 2, p;
|
|
1687
1693
|
switch (c) {
|
|
1688
1694
|
case "top":
|
|
1689
1695
|
p = {
|
|
@@ -1714,7 +1720,7 @@ function jr(e, t, n) {
|
|
|
1714
1720
|
y: r.y
|
|
1715
1721
|
};
|
|
1716
1722
|
}
|
|
1717
|
-
switch (
|
|
1723
|
+
switch (hr(t)) {
|
|
1718
1724
|
case "start":
|
|
1719
1725
|
p[o] -= f * (n && l ? -1 : 1);
|
|
1720
1726
|
break;
|
|
@@ -1724,9 +1730,9 @@ function jr(e, t, n) {
|
|
|
1724
1730
|
}
|
|
1725
1731
|
return p;
|
|
1726
1732
|
}
|
|
1727
|
-
async function
|
|
1733
|
+
async function Nr(e, t) {
|
|
1728
1734
|
t === void 0 && (t = {});
|
|
1729
|
-
let { x: n, y: r, platform: i, rects: a, elements: o, strategy: s } = e, { boundary: c = "clippingAncestors", rootBoundary: l = "viewport", elementContext: u = "floating", altBoundary: d = !1, padding: f = 0 } = G(t, e), p =
|
|
1735
|
+
let { x: n, y: r, platform: i, rects: a, elements: o, strategy: s } = e, { boundary: c = "clippingAncestors", rootBoundary: l = "viewport", elementContext: u = "floating", altBoundary: d = !1, padding: f = 0 } = G(t, e), p = Ar(f), m = o[d ? u === "floating" ? "reference" : "floating" : u], h = jr(await i.getClippingRect({
|
|
1730
1736
|
element: await (i.isElement == null ? void 0 : i.isElement(m)) ?? !0 ? m : m.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(o.floating)),
|
|
1731
1737
|
boundary: c,
|
|
1732
1738
|
rootBoundary: l,
|
|
@@ -1739,7 +1745,7 @@ async function Mr(e, t) {
|
|
|
1739
1745
|
} : a.reference, _ = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(o.floating)), v = await (i.isElement == null ? void 0 : i.isElement(_)) && await (i.getScale == null ? void 0 : i.getScale(_)) || {
|
|
1740
1746
|
x: 1,
|
|
1741
1747
|
y: 1
|
|
1742
|
-
}, y =
|
|
1748
|
+
}, y = jr(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
1743
1749
|
elements: o,
|
|
1744
1750
|
rect: g,
|
|
1745
1751
|
offsetParent: _,
|
|
@@ -1752,15 +1758,15 @@ async function Mr(e, t) {
|
|
|
1752
1758
|
right: (y.right - h.right + p.right) / v.x
|
|
1753
1759
|
};
|
|
1754
1760
|
}
|
|
1755
|
-
var
|
|
1761
|
+
var Pr = 50, Fr = async (e, t, n) => {
|
|
1756
1762
|
let { placement: r = "bottom", strategy: i = "absolute", middleware: a = [], platform: o } = n, s = o.detectOverflow ? o : {
|
|
1757
1763
|
...o,
|
|
1758
|
-
detectOverflow:
|
|
1764
|
+
detectOverflow: Nr
|
|
1759
1765
|
}, c = await (o.isRTL == null ? void 0 : o.isRTL(t)), l = await o.getElementRects({
|
|
1760
1766
|
reference: e,
|
|
1761
1767
|
floating: t,
|
|
1762
1768
|
strategy: i
|
|
1763
|
-
}), { x: u, y: d } =
|
|
1769
|
+
}), { x: u, y: d } = Mr(l, r, c), f = r, p = 0, m = {};
|
|
1764
1770
|
for (let n = 0; n < a.length; n++) {
|
|
1765
1771
|
let h = a[n];
|
|
1766
1772
|
if (!h) continue;
|
|
@@ -1781,11 +1787,11 @@ var Nr = 50, Pr = async (e, t, n) => {
|
|
|
1781
1787
|
u = v ?? u, d = y ?? d, m[g] = {
|
|
1782
1788
|
...m[g],
|
|
1783
1789
|
...b
|
|
1784
|
-
}, x && p <
|
|
1790
|
+
}, x && p < Pr && (p++, typeof x == "object" && (x.placement && (f = x.placement), x.rects && (l = x.rects === !0 ? await o.getElementRects({
|
|
1785
1791
|
reference: e,
|
|
1786
1792
|
floating: t,
|
|
1787
1793
|
strategy: i
|
|
1788
|
-
}) : x.rects), {x: u, y: d} =
|
|
1794
|
+
}) : x.rects), {x: u, y: d} = Mr(l, f, c)), n = -1);
|
|
1789
1795
|
}
|
|
1790
1796
|
return {
|
|
1791
1797
|
x: u,
|
|
@@ -1794,18 +1800,18 @@ var Nr = 50, Pr = async (e, t, n) => {
|
|
|
1794
1800
|
strategy: i,
|
|
1795
1801
|
middlewareData: m
|
|
1796
1802
|
};
|
|
1797
|
-
},
|
|
1803
|
+
}, Ir = (e) => ({
|
|
1798
1804
|
name: "arrow",
|
|
1799
1805
|
options: e,
|
|
1800
1806
|
async fn(t) {
|
|
1801
1807
|
let { x: n, y: r, placement: i, rects: a, platform: o, elements: s, middlewareData: c } = t, { element: l, padding: u = 0 } = G(e, t) || {};
|
|
1802
1808
|
if (l == null) return {};
|
|
1803
|
-
let d =
|
|
1809
|
+
let d = Ar(u), f = {
|
|
1804
1810
|
x: n,
|
|
1805
1811
|
y: r
|
|
1806
|
-
}, p =
|
|
1812
|
+
}, p = vr(i), m = _r(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;
|
|
1807
1813
|
(!C || !await (o.isElement == null ? void 0 : o.isElement(S))) && (C = s.floating[y] || a.floating[m]);
|
|
1808
|
-
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1,
|
|
1814
|
+
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1, E = H(d[_], T), ee = H(d[v], T), D = E, O = C - h[m] - ee, k = C / 2 - h[m] / 2 + w, te = mr(D, k, O), A = !c.arrow && hr(i) != null && k !== te && a.reference[m] / 2 - (k < D ? E : ee) - h[m] / 2 < 0, j = A ? k < D ? k - D : k - O : 0;
|
|
1809
1815
|
return {
|
|
1810
1816
|
[p]: f[p] + j,
|
|
1811
1817
|
data: {
|
|
@@ -1816,7 +1822,7 @@ var Nr = 50, Pr = async (e, t, n) => {
|
|
|
1816
1822
|
reset: A
|
|
1817
1823
|
};
|
|
1818
1824
|
}
|
|
1819
|
-
}),
|
|
1825
|
+
}), Lr = function(e) {
|
|
1820
1826
|
return e === void 0 && (e = {}), {
|
|
1821
1827
|
name: "flip",
|
|
1822
1828
|
options: e,
|
|
@@ -1824,11 +1830,11 @@ var Nr = 50, Pr = async (e, t, n) => {
|
|
|
1824
1830
|
var n;
|
|
1825
1831
|
let { placement: r, middlewareData: i, rects: a, initialPlacement: o, platform: s, elements: c } = t, { mainAxis: l = !0, crossAxis: u = !0, fallbackPlacements: d, fallbackStrategy: f = "bestFit", fallbackAxisSideDirection: p = "none", flipAlignment: m = !0, ...h } = G(e, t);
|
|
1826
1832
|
if ((n = i.arrow) != null && n.alignmentOffset) return {};
|
|
1827
|
-
let g = K(r), _ = q(o), v = K(o) === o, y = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), b = d || (v || !m ? [
|
|
1828
|
-
!d && x && b.push(...
|
|
1833
|
+
let g = K(r), _ = q(o), v = K(o) === o, y = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), b = d || (v || !m ? [Or(o)] : br(o)), x = p !== "none";
|
|
1834
|
+
!d && x && b.push(...Dr(o, m, p, y));
|
|
1829
1835
|
let S = [o, ...b], C = await s.detectOverflow(t, h), w = [], T = i.flip?.overflows || [];
|
|
1830
1836
|
if (l && w.push(C[g]), u) {
|
|
1831
|
-
let e =
|
|
1837
|
+
let e = yr(r, a, y);
|
|
1832
1838
|
w.push(C[e[0]], C[e[1]]);
|
|
1833
1839
|
}
|
|
1834
1840
|
if (T = [...T, {
|
|
@@ -1866,7 +1872,7 @@ var Nr = 50, Pr = async (e, t, n) => {
|
|
|
1866
1872
|
}
|
|
1867
1873
|
};
|
|
1868
1874
|
};
|
|
1869
|
-
function
|
|
1875
|
+
function Rr(e, t) {
|
|
1870
1876
|
return {
|
|
1871
1877
|
top: e.top - t.height,
|
|
1872
1878
|
right: e.right - t.width,
|
|
@@ -1874,10 +1880,10 @@ function Lr(e, t) {
|
|
|
1874
1880
|
left: e.left - t.width
|
|
1875
1881
|
};
|
|
1876
1882
|
}
|
|
1877
|
-
function
|
|
1878
|
-
return
|
|
1883
|
+
function zr(e) {
|
|
1884
|
+
return ur.some((t) => e[t] >= 0);
|
|
1879
1885
|
}
|
|
1880
|
-
var
|
|
1886
|
+
var Br = function(e) {
|
|
1881
1887
|
return e === void 0 && (e = {}), {
|
|
1882
1888
|
name: "hide",
|
|
1883
1889
|
options: e,
|
|
@@ -1885,32 +1891,32 @@ var zr = function(e) {
|
|
|
1885
1891
|
let { rects: n, platform: r } = t, { strategy: i = "referenceHidden", ...a } = G(e, t);
|
|
1886
1892
|
switch (i) {
|
|
1887
1893
|
case "referenceHidden": {
|
|
1888
|
-
let e =
|
|
1894
|
+
let e = Rr(await r.detectOverflow(t, {
|
|
1889
1895
|
...a,
|
|
1890
1896
|
elementContext: "reference"
|
|
1891
1897
|
}), n.reference);
|
|
1892
1898
|
return { data: {
|
|
1893
1899
|
referenceHiddenOffsets: e,
|
|
1894
|
-
referenceHidden:
|
|
1900
|
+
referenceHidden: zr(e)
|
|
1895
1901
|
} };
|
|
1896
1902
|
}
|
|
1897
1903
|
case "escaped": {
|
|
1898
|
-
let e =
|
|
1904
|
+
let e = Rr(await r.detectOverflow(t, {
|
|
1899
1905
|
...a,
|
|
1900
1906
|
altBoundary: !0
|
|
1901
1907
|
}), n.floating);
|
|
1902
1908
|
return { data: {
|
|
1903
1909
|
escapedOffsets: e,
|
|
1904
|
-
escaped:
|
|
1910
|
+
escaped: zr(e)
|
|
1905
1911
|
} };
|
|
1906
1912
|
}
|
|
1907
1913
|
default: return {};
|
|
1908
1914
|
}
|
|
1909
1915
|
}
|
|
1910
1916
|
};
|
|
1911
|
-
},
|
|
1912
|
-
async function
|
|
1913
|
-
let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = K(n), s =
|
|
1917
|
+
}, Vr = /*#__PURE__*/ new Set(["left", "top"]);
|
|
1918
|
+
async function Hr(e, t) {
|
|
1919
|
+
let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = K(n), s = hr(n), c = q(n) === "y", l = Vr.has(o) ? -1 : 1, u = a && c ? -1 : 1, d = G(t, e), { mainAxis: f, crossAxis: p, alignmentAxis: m } = typeof d == "number" ? {
|
|
1914
1920
|
mainAxis: d,
|
|
1915
1921
|
crossAxis: 0,
|
|
1916
1922
|
alignmentAxis: null
|
|
@@ -1927,13 +1933,13 @@ async function Vr(e, t) {
|
|
|
1927
1933
|
y: p * u
|
|
1928
1934
|
};
|
|
1929
1935
|
}
|
|
1930
|
-
var
|
|
1936
|
+
var Ur = function(e) {
|
|
1931
1937
|
return e === void 0 && (e = 0), {
|
|
1932
1938
|
name: "offset",
|
|
1933
1939
|
options: e,
|
|
1934
1940
|
async fn(t) {
|
|
1935
1941
|
var n;
|
|
1936
|
-
let { x: r, y: i, placement: a, middlewareData: o } = t, s = await
|
|
1942
|
+
let { x: r, y: i, placement: a, middlewareData: o } = t, s = await Hr(t, e);
|
|
1937
1943
|
return a === o.offset?.placement && (n = o.arrow) != null && n.alignmentOffset ? {} : {
|
|
1938
1944
|
x: r + s.x,
|
|
1939
1945
|
y: i + s.y,
|
|
@@ -1944,7 +1950,7 @@ var Hr = function(e) {
|
|
|
1944
1950
|
};
|
|
1945
1951
|
}
|
|
1946
1952
|
};
|
|
1947
|
-
},
|
|
1953
|
+
}, Wr = function(e) {
|
|
1948
1954
|
return e === void 0 && (e = {}), {
|
|
1949
1955
|
name: "shift",
|
|
1950
1956
|
options: e,
|
|
@@ -1958,14 +1964,14 @@ var Hr = function(e) {
|
|
|
1958
1964
|
} }, ...l } = G(e, t), u = {
|
|
1959
1965
|
x: n,
|
|
1960
1966
|
y: r
|
|
1961
|
-
}, d = await a.detectOverflow(t, l), f = q(K(i)), p =
|
|
1967
|
+
}, d = await a.detectOverflow(t, l), f = q(K(i)), p = gr(f), m = u[p], h = u[f];
|
|
1962
1968
|
if (o) {
|
|
1963
1969
|
let e = p === "y" ? "top" : "left", t = p === "y" ? "bottom" : "right", n = m + d[e], r = m - d[t];
|
|
1964
|
-
m =
|
|
1970
|
+
m = mr(n, m, r);
|
|
1965
1971
|
}
|
|
1966
1972
|
if (s) {
|
|
1967
1973
|
let e = f === "y" ? "top" : "left", t = f === "y" ? "bottom" : "right", n = h + d[e], r = h - d[t];
|
|
1968
|
-
h =
|
|
1974
|
+
h = mr(n, h, r);
|
|
1969
1975
|
}
|
|
1970
1976
|
let g = c.fn({
|
|
1971
1977
|
...t,
|
|
@@ -1985,14 +1991,14 @@ var Hr = function(e) {
|
|
|
1985
1991
|
};
|
|
1986
1992
|
}
|
|
1987
1993
|
};
|
|
1988
|
-
},
|
|
1994
|
+
}, Gr = function(e) {
|
|
1989
1995
|
return e === void 0 && (e = {}), {
|
|
1990
1996
|
options: e,
|
|
1991
1997
|
fn(t) {
|
|
1992
1998
|
let { x: n, y: r, placement: i, rects: a, middlewareData: o } = t, { offset: s = 0, mainAxis: c = !0, crossAxis: l = !0 } = G(e, t), u = {
|
|
1993
1999
|
x: n,
|
|
1994
2000
|
y: r
|
|
1995
|
-
}, d = q(i), f =
|
|
2001
|
+
}, d = q(i), f = gr(d), p = u[f], m = u[d], h = G(s, t), g = typeof h == "number" ? {
|
|
1996
2002
|
mainAxis: h,
|
|
1997
2003
|
crossAxis: 0
|
|
1998
2004
|
} : {
|
|
@@ -2005,7 +2011,7 @@ var Hr = function(e) {
|
|
|
2005
2011
|
p < t ? p = t : p > n && (p = n);
|
|
2006
2012
|
}
|
|
2007
2013
|
if (l) {
|
|
2008
|
-
let e = f === "y" ? "width" : "height", t =
|
|
2014
|
+
let e = f === "y" ? "width" : "height", t = Vr.has(K(i)), n = a.reference[d] - a.floating[e] + (t && o.offset?.[d] || 0) + (t ? 0 : g.crossAxis), r = a.reference[d] + a.reference[e] + (t ? 0 : o.offset?.[d] || 0) - (t ? g.crossAxis : 0);
|
|
2009
2015
|
m < n ? m = n : m > r && (m = r);
|
|
2010
2016
|
}
|
|
2011
2017
|
return {
|
|
@@ -2014,15 +2020,15 @@ var Hr = function(e) {
|
|
|
2014
2020
|
};
|
|
2015
2021
|
}
|
|
2016
2022
|
};
|
|
2017
|
-
},
|
|
2023
|
+
}, Kr = function(e) {
|
|
2018
2024
|
return e === void 0 && (e = {}), {
|
|
2019
2025
|
name: "size",
|
|
2020
2026
|
options: e,
|
|
2021
2027
|
async fn(t) {
|
|
2022
2028
|
var n, r;
|
|
2023
|
-
let { placement: i, rects: a, platform: o, elements: s } = t, { apply: c = () => {}, ...l } = G(e, t), u = await o.detectOverflow(t, l), d = K(i), f =
|
|
2029
|
+
let { placement: i, rects: a, platform: o, elements: s } = t, { apply: c = () => {}, ...l } = G(e, t), u = await o.detectOverflow(t, l), d = K(i), f = hr(i), p = q(i) === "y", { width: m, height: h } = a.floating, g, _;
|
|
2024
2030
|
d === "top" || d === "bottom" ? (g = d, _ = f === (await (o.isRTL == null ? void 0 : o.isRTL(s.floating)) ? "start" : "end") ? "left" : "right") : (_ = d, g = f === "end" ? "top" : "bottom");
|
|
2025
|
-
let v = h - u.top - u.bottom, y = m - u.left - u.right, b =
|
|
2031
|
+
let v = h - u.top - u.bottom, y = m - u.left - u.right, b = H(h - u[g], v), x = H(m - u[_], y), S = !t.middlewareData.shift, C = b, w = x;
|
|
2026
2032
|
if ((n = t.middlewareData.shift) != null && n.enabled.x && (w = y), (r = t.middlewareData.shift) != null && r.enabled.y && (C = v), S && !f) {
|
|
2027
2033
|
let e = U(u.left, 0), t = U(u.right, 0), n = U(u.top, 0), r = U(u.bottom, 0);
|
|
2028
2034
|
p ? w = m - 2 * (e !== 0 || t !== 0 ? e + t : U(u.left, u.right)) : C = h - 2 * (n !== 0 || r !== 0 ? n + r : U(u.top, u.bottom));
|
|
@@ -2039,39 +2045,39 @@ var Hr = function(e) {
|
|
|
2039
2045
|
};
|
|
2040
2046
|
//#endregion
|
|
2041
2047
|
//#region ../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
|
|
2042
|
-
function
|
|
2048
|
+
function qr() {
|
|
2043
2049
|
return typeof window < "u";
|
|
2044
2050
|
}
|
|
2045
|
-
function
|
|
2046
|
-
return
|
|
2051
|
+
function Jr(e) {
|
|
2052
|
+
return Yr(e) ? (e.nodeName || "").toLowerCase() : "#document";
|
|
2047
2053
|
}
|
|
2048
2054
|
function J(e) {
|
|
2049
2055
|
var t;
|
|
2050
2056
|
return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
|
|
2051
2057
|
}
|
|
2052
2058
|
function Y(e) {
|
|
2053
|
-
return ((
|
|
2059
|
+
return ((Yr(e) ? e.ownerDocument : e.document) || window.document)?.documentElement;
|
|
2054
2060
|
}
|
|
2055
|
-
function
|
|
2056
|
-
return
|
|
2061
|
+
function Yr(e) {
|
|
2062
|
+
return qr() ? e instanceof Node || e instanceof J(e).Node : !1;
|
|
2057
2063
|
}
|
|
2058
2064
|
function X(e) {
|
|
2059
|
-
return
|
|
2065
|
+
return qr() ? e instanceof Element || e instanceof J(e).Element : !1;
|
|
2060
2066
|
}
|
|
2061
2067
|
function Z(e) {
|
|
2062
|
-
return
|
|
2063
|
-
}
|
|
2064
|
-
function Yr(e) {
|
|
2065
|
-
return !Kr() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof J(e).ShadowRoot;
|
|
2068
|
+
return qr() ? e instanceof HTMLElement || e instanceof J(e).HTMLElement : !1;
|
|
2066
2069
|
}
|
|
2067
2070
|
function Xr(e) {
|
|
2068
|
-
|
|
2069
|
-
return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
|
|
2071
|
+
return !qr() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof J(e).ShadowRoot;
|
|
2070
2072
|
}
|
|
2071
2073
|
function Zr(e) {
|
|
2072
|
-
|
|
2074
|
+
let { overflow: t, overflowX: n, overflowY: r, display: i } = Q(e);
|
|
2075
|
+
return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
|
|
2073
2076
|
}
|
|
2074
2077
|
function Qr(e) {
|
|
2078
|
+
return /^(table|td|th)$/.test(Jr(e));
|
|
2079
|
+
}
|
|
2080
|
+
function $r(e) {
|
|
2075
2081
|
try {
|
|
2076
2082
|
if (e.matches(":popover-open")) return !0;
|
|
2077
2083
|
} catch {}
|
|
@@ -2081,30 +2087,30 @@ function Qr(e) {
|
|
|
2081
2087
|
return !1;
|
|
2082
2088
|
}
|
|
2083
2089
|
}
|
|
2084
|
-
var
|
|
2085
|
-
function ri(e) {
|
|
2086
|
-
let t = X(e) ? Q(e) : e;
|
|
2087
|
-
return ti(t.transform) || ti(t.translate) || ti(t.scale) || ti(t.rotate) || ti(t.perspective) || !ai() && (ti(t.backdropFilter) || ti(t.filter)) || $r.test(t.willChange || "") || ei.test(t.contain || "");
|
|
2088
|
-
}
|
|
2090
|
+
var ei = /transform|translate|scale|rotate|perspective|filter/, ti = /paint|layout|strict|content/, ni = (e) => !!e && e !== "none", ri;
|
|
2089
2091
|
function ii(e) {
|
|
2090
|
-
let t =
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2092
|
+
let t = X(e) ? Q(e) : e;
|
|
2093
|
+
return ni(t.transform) || ni(t.translate) || ni(t.scale) || ni(t.rotate) || ni(t.perspective) || !oi() && (ni(t.backdropFilter) || ni(t.filter)) || ei.test(t.willChange || "") || ti.test(t.contain || "");
|
|
2094
|
+
}
|
|
2095
|
+
function ai(e) {
|
|
2096
|
+
let t = li(e);
|
|
2097
|
+
for (; Z(t) && !si(t);) {
|
|
2098
|
+
if (ii(t)) return t;
|
|
2099
|
+
if ($r(t)) return null;
|
|
2100
|
+
t = li(t);
|
|
2095
2101
|
}
|
|
2096
2102
|
return null;
|
|
2097
2103
|
}
|
|
2098
|
-
function
|
|
2099
|
-
return
|
|
2104
|
+
function oi() {
|
|
2105
|
+
return ri ??= typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none"), ri;
|
|
2100
2106
|
}
|
|
2101
|
-
function
|
|
2102
|
-
return /^(html|body|#document)$/.test(
|
|
2107
|
+
function si(e) {
|
|
2108
|
+
return /^(html|body|#document)$/.test(Jr(e));
|
|
2103
2109
|
}
|
|
2104
2110
|
function Q(e) {
|
|
2105
2111
|
return J(e).getComputedStyle(e);
|
|
2106
2112
|
}
|
|
2107
|
-
function
|
|
2113
|
+
function ci(e) {
|
|
2108
2114
|
return X(e) ? {
|
|
2109
2115
|
scrollLeft: e.scrollLeft,
|
|
2110
2116
|
scrollTop: e.scrollTop
|
|
@@ -2113,101 +2119,101 @@ function si(e) {
|
|
|
2113
2119
|
scrollTop: e.scrollY
|
|
2114
2120
|
};
|
|
2115
2121
|
}
|
|
2116
|
-
function ci(e) {
|
|
2117
|
-
if (qr(e) === "html") return e;
|
|
2118
|
-
let t = e.assignedSlot || e.parentNode || Yr(e) && e.host || Y(e);
|
|
2119
|
-
return Yr(t) ? t.host : t;
|
|
2120
|
-
}
|
|
2121
2122
|
function li(e) {
|
|
2122
|
-
|
|
2123
|
-
|
|
2123
|
+
if (Jr(e) === "html") return e;
|
|
2124
|
+
let t = e.assignedSlot || e.parentNode || Xr(e) && e.host || Y(e);
|
|
2125
|
+
return Xr(t) ? t.host : t;
|
|
2126
|
+
}
|
|
2127
|
+
function ui(e) {
|
|
2128
|
+
let t = li(e);
|
|
2129
|
+
return si(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : Z(t) && Zr(t) ? t : ui(t);
|
|
2124
2130
|
}
|
|
2125
|
-
function
|
|
2131
|
+
function di(e, t, n) {
|
|
2126
2132
|
t === void 0 && (t = []), n === void 0 && (n = !0);
|
|
2127
|
-
let r =
|
|
2133
|
+
let r = ui(e), i = r === e.ownerDocument?.body, a = J(r);
|
|
2128
2134
|
if (i) {
|
|
2129
|
-
let e =
|
|
2130
|
-
return t.concat(a, a.visualViewport || [],
|
|
2131
|
-
} else return t.concat(r,
|
|
2135
|
+
let e = fi(a);
|
|
2136
|
+
return t.concat(a, a.visualViewport || [], Zr(r) ? r : [], e && n ? di(e) : []);
|
|
2137
|
+
} else return t.concat(r, di(r, [], n));
|
|
2132
2138
|
}
|
|
2133
|
-
function
|
|
2139
|
+
function fi(e) {
|
|
2134
2140
|
return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
|
|
2135
2141
|
}
|
|
2136
2142
|
//#endregion
|
|
2137
2143
|
//#region ../node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
|
|
2138
|
-
function
|
|
2139
|
-
let t = Q(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = Z(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s =
|
|
2144
|
+
function pi(e) {
|
|
2145
|
+
let t = Q(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = Z(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s = dr(n) !== a || dr(r) !== o;
|
|
2140
2146
|
return s && (n = a, r = o), {
|
|
2141
2147
|
width: n,
|
|
2142
2148
|
height: r,
|
|
2143
2149
|
$: s
|
|
2144
2150
|
};
|
|
2145
2151
|
}
|
|
2146
|
-
function
|
|
2152
|
+
function mi(e) {
|
|
2147
2153
|
return X(e) ? e : e.contextElement;
|
|
2148
2154
|
}
|
|
2149
|
-
function
|
|
2150
|
-
let t =
|
|
2155
|
+
function hi(e) {
|
|
2156
|
+
let t = mi(e);
|
|
2151
2157
|
if (!Z(t)) return W(1);
|
|
2152
|
-
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } =
|
|
2158
|
+
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = pi(t), o = (a ? dr(n.width) : n.width) / r, s = (a ? dr(n.height) : n.height) / i;
|
|
2153
2159
|
return (!o || !Number.isFinite(o)) && (o = 1), (!s || !Number.isFinite(s)) && (s = 1), {
|
|
2154
2160
|
x: o,
|
|
2155
2161
|
y: s
|
|
2156
2162
|
};
|
|
2157
2163
|
}
|
|
2158
|
-
var
|
|
2159
|
-
function
|
|
2164
|
+
var gi = /*#__PURE__*/ W(0);
|
|
2165
|
+
function _i(e) {
|
|
2160
2166
|
let t = J(e);
|
|
2161
|
-
return !
|
|
2167
|
+
return !oi() || !t.visualViewport ? gi : {
|
|
2162
2168
|
x: t.visualViewport.offsetLeft,
|
|
2163
2169
|
y: t.visualViewport.offsetTop
|
|
2164
2170
|
};
|
|
2165
2171
|
}
|
|
2166
|
-
function
|
|
2172
|
+
function vi(e, t, n) {
|
|
2167
2173
|
return t === void 0 && (t = !1), !n || t && n !== J(e) ? !1 : t;
|
|
2168
2174
|
}
|
|
2169
|
-
function
|
|
2175
|
+
function yi(e, t, n, r) {
|
|
2170
2176
|
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
|
2171
|
-
let i = e.getBoundingClientRect(), a =
|
|
2172
|
-
t && (r ? X(r) && (o =
|
|
2173
|
-
let s =
|
|
2177
|
+
let i = e.getBoundingClientRect(), a = mi(e), o = W(1);
|
|
2178
|
+
t && (r ? X(r) && (o = hi(r)) : o = hi(e));
|
|
2179
|
+
let s = vi(a, n, r) ? _i(a) : W(0), c = (i.left + s.x) / o.x, l = (i.top + s.y) / o.y, u = i.width / o.x, d = i.height / o.y;
|
|
2174
2180
|
if (a) {
|
|
2175
|
-
let e = J(a), t = r && X(r) ? J(r) : r, n = e, i =
|
|
2181
|
+
let e = J(a), t = r && X(r) ? J(r) : r, n = e, i = fi(n);
|
|
2176
2182
|
for (; i && r && t !== n;) {
|
|
2177
|
-
let e =
|
|
2178
|
-
c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = J(i), i =
|
|
2183
|
+
let e = hi(i), t = i.getBoundingClientRect(), r = Q(i), a = t.left + (i.clientLeft + parseFloat(r.paddingLeft)) * e.x, o = t.top + (i.clientTop + parseFloat(r.paddingTop)) * e.y;
|
|
2184
|
+
c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = J(i), i = fi(n);
|
|
2179
2185
|
}
|
|
2180
2186
|
}
|
|
2181
|
-
return
|
|
2187
|
+
return jr({
|
|
2182
2188
|
width: u,
|
|
2183
2189
|
height: d,
|
|
2184
2190
|
x: c,
|
|
2185
2191
|
y: l
|
|
2186
2192
|
});
|
|
2187
2193
|
}
|
|
2188
|
-
function yi(e, t) {
|
|
2189
|
-
let n = si(e).scrollLeft;
|
|
2190
|
-
return t ? t.left + n : vi(Y(e)).left + n;
|
|
2191
|
-
}
|
|
2192
2194
|
function bi(e, t) {
|
|
2195
|
+
let n = ci(e).scrollLeft;
|
|
2196
|
+
return t ? t.left + n : yi(Y(e)).left + n;
|
|
2197
|
+
}
|
|
2198
|
+
function xi(e, t) {
|
|
2193
2199
|
let n = e.getBoundingClientRect();
|
|
2194
2200
|
return {
|
|
2195
|
-
x: n.left + t.scrollLeft -
|
|
2201
|
+
x: n.left + t.scrollLeft - bi(e, n),
|
|
2196
2202
|
y: n.top + t.scrollTop
|
|
2197
2203
|
};
|
|
2198
2204
|
}
|
|
2199
|
-
function
|
|
2200
|
-
let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = Y(r), s = t ?
|
|
2205
|
+
function Si(e) {
|
|
2206
|
+
let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = Y(r), s = t ? $r(t.floating) : !1;
|
|
2201
2207
|
if (r === o || s && a) return n;
|
|
2202
2208
|
let c = {
|
|
2203
2209
|
scrollLeft: 0,
|
|
2204
2210
|
scrollTop: 0
|
|
2205
2211
|
}, l = W(1), u = W(0), d = Z(r);
|
|
2206
|
-
if ((d || !d && !a) && ((
|
|
2207
|
-
let e =
|
|
2208
|
-
l =
|
|
2212
|
+
if ((d || !d && !a) && ((Jr(r) !== "body" || Zr(o)) && (c = ci(r)), d)) {
|
|
2213
|
+
let e = yi(r);
|
|
2214
|
+
l = hi(r), u.x = e.x + r.clientLeft, u.y = e.y + r.clientTop;
|
|
2209
2215
|
}
|
|
2210
|
-
let f = o && !d && !a ?
|
|
2216
|
+
let f = o && !d && !a ? xi(o, c) : W(0);
|
|
2211
2217
|
return {
|
|
2212
2218
|
width: n.width * l.x,
|
|
2213
2219
|
height: n.height * l.y,
|
|
@@ -2215,11 +2221,11 @@ function xi(e) {
|
|
|
2215
2221
|
y: n.y * l.y - c.scrollTop * l.y + u.y + f.y
|
|
2216
2222
|
};
|
|
2217
2223
|
}
|
|
2218
|
-
function
|
|
2224
|
+
function Ci(e) {
|
|
2219
2225
|
return Array.from(e.getClientRects());
|
|
2220
2226
|
}
|
|
2221
|
-
function
|
|
2222
|
-
let t = Y(e), n =
|
|
2227
|
+
function wi(e) {
|
|
2228
|
+
let t = Y(e), n = ci(e), r = e.ownerDocument.body, i = U(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), a = U(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight), o = -n.scrollLeft + bi(e), s = -n.scrollTop;
|
|
2223
2229
|
return Q(r).direction === "rtl" && (o += U(t.clientWidth, r.clientWidth) - i), {
|
|
2224
2230
|
width: i,
|
|
2225
2231
|
height: a,
|
|
@@ -2227,19 +2233,19 @@ function Ci(e) {
|
|
|
2227
2233
|
y: s
|
|
2228
2234
|
};
|
|
2229
2235
|
}
|
|
2230
|
-
var
|
|
2231
|
-
function
|
|
2236
|
+
var Ti = 25;
|
|
2237
|
+
function Ei(e, t) {
|
|
2232
2238
|
let n = J(e), r = Y(e), i = n.visualViewport, a = r.clientWidth, o = r.clientHeight, s = 0, c = 0;
|
|
2233
2239
|
if (i) {
|
|
2234
2240
|
a = i.width, o = i.height;
|
|
2235
|
-
let e =
|
|
2241
|
+
let e = oi();
|
|
2236
2242
|
(!e || e && t === "fixed") && (s = i.offsetLeft, c = i.offsetTop);
|
|
2237
2243
|
}
|
|
2238
|
-
let l =
|
|
2244
|
+
let l = bi(r);
|
|
2239
2245
|
if (l <= 0) {
|
|
2240
2246
|
let e = r.ownerDocument, t = e.body, n = getComputedStyle(t), i = e.compatMode === "CSS1Compat" && parseFloat(n.marginLeft) + parseFloat(n.marginRight) || 0, o = Math.abs(r.clientWidth - t.clientWidth - i);
|
|
2241
|
-
o <=
|
|
2242
|
-
} else l <=
|
|
2247
|
+
o <= Ti && (a -= o);
|
|
2248
|
+
} else l <= Ti && (a += l);
|
|
2243
2249
|
return {
|
|
2244
2250
|
width: a,
|
|
2245
2251
|
height: o,
|
|
@@ -2247,8 +2253,8 @@ function Ti(e, t) {
|
|
|
2247
2253
|
y: c
|
|
2248
2254
|
};
|
|
2249
2255
|
}
|
|
2250
|
-
function
|
|
2251
|
-
let n =
|
|
2256
|
+
function Di(e, t) {
|
|
2257
|
+
let n = yi(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = Z(e) ? hi(e) : W(1);
|
|
2252
2258
|
return {
|
|
2253
2259
|
width: e.clientWidth * a.x,
|
|
2254
2260
|
height: e.clientHeight * a.y,
|
|
@@ -2256,13 +2262,13 @@ function Ei(e, t) {
|
|
|
2256
2262
|
y: r * a.y
|
|
2257
2263
|
};
|
|
2258
2264
|
}
|
|
2259
|
-
function
|
|
2265
|
+
function Oi(e, t, n) {
|
|
2260
2266
|
let r;
|
|
2261
|
-
if (t === "viewport") r =
|
|
2262
|
-
else if (t === "document") r =
|
|
2263
|
-
else if (X(t)) r =
|
|
2267
|
+
if (t === "viewport") r = Ei(e, n);
|
|
2268
|
+
else if (t === "document") r = wi(Y(e));
|
|
2269
|
+
else if (X(t)) r = Di(t, n);
|
|
2264
2270
|
else {
|
|
2265
|
-
let n =
|
|
2271
|
+
let n = _i(e);
|
|
2266
2272
|
r = {
|
|
2267
2273
|
x: t.x - n.x,
|
|
2268
2274
|
y: t.y - n.y,
|
|
@@ -2270,27 +2276,27 @@ function Di(e, t, n) {
|
|
|
2270
2276
|
height: t.height
|
|
2271
2277
|
};
|
|
2272
2278
|
}
|
|
2273
|
-
return
|
|
2274
|
-
}
|
|
2275
|
-
function Oi(e, t) {
|
|
2276
|
-
let n = ci(e);
|
|
2277
|
-
return n === t || !X(n) || oi(n) ? !1 : Q(n).position === "fixed" || Oi(n, t);
|
|
2279
|
+
return jr(r);
|
|
2278
2280
|
}
|
|
2279
2281
|
function ki(e, t) {
|
|
2282
|
+
let n = li(e);
|
|
2283
|
+
return n === t || !X(n) || si(n) ? !1 : Q(n).position === "fixed" || ki(n, t);
|
|
2284
|
+
}
|
|
2285
|
+
function Ai(e, t) {
|
|
2280
2286
|
let n = t.get(e);
|
|
2281
2287
|
if (n) return n;
|
|
2282
|
-
let r =
|
|
2283
|
-
for (; X(o) && !
|
|
2284
|
-
let t = Q(o), n =
|
|
2285
|
-
!n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") ||
|
|
2288
|
+
let r = di(e, [], !1).filter((e) => X(e) && Jr(e) !== "body"), i = null, a = Q(e).position === "fixed", o = a ? li(e) : e;
|
|
2289
|
+
for (; X(o) && !si(o);) {
|
|
2290
|
+
let t = Q(o), n = ii(o);
|
|
2291
|
+
!n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") || Zr(o) && !n && ki(e, o)) ? r = r.filter((e) => e !== o) : i = t, o = li(o);
|
|
2286
2292
|
}
|
|
2287
2293
|
return t.set(e, r), r;
|
|
2288
2294
|
}
|
|
2289
|
-
function
|
|
2290
|
-
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ?
|
|
2295
|
+
function ji(e) {
|
|
2296
|
+
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? $r(t) ? [] : Ai(t, this._c) : [].concat(n), r], o = Oi(t, a[0], i), s = o.top, c = o.right, l = o.bottom, u = o.left;
|
|
2291
2297
|
for (let e = 1; e < a.length; e++) {
|
|
2292
|
-
let n =
|
|
2293
|
-
s = U(n.top, s), c =
|
|
2298
|
+
let n = Oi(t, a[e], i);
|
|
2299
|
+
s = U(n.top, s), c = H(n.right, c), l = H(n.bottom, l), u = U(n.left, u);
|
|
2294
2300
|
}
|
|
2295
2301
|
return {
|
|
2296
2302
|
width: c - u,
|
|
@@ -2299,27 +2305,27 @@ function Ai(e) {
|
|
|
2299
2305
|
y: s
|
|
2300
2306
|
};
|
|
2301
2307
|
}
|
|
2302
|
-
function
|
|
2303
|
-
let { width: t, height: n } =
|
|
2308
|
+
function Mi(e) {
|
|
2309
|
+
let { width: t, height: n } = pi(e);
|
|
2304
2310
|
return {
|
|
2305
2311
|
width: t,
|
|
2306
2312
|
height: n
|
|
2307
2313
|
};
|
|
2308
2314
|
}
|
|
2309
|
-
function
|
|
2310
|
-
let r = Z(t), i = Y(t), a = n === "fixed", o =
|
|
2315
|
+
function Ni(e, t, n) {
|
|
2316
|
+
let r = Z(t), i = Y(t), a = n === "fixed", o = yi(e, !0, a, t), s = {
|
|
2311
2317
|
scrollLeft: 0,
|
|
2312
2318
|
scrollTop: 0
|
|
2313
2319
|
}, c = W(0);
|
|
2314
2320
|
function l() {
|
|
2315
|
-
c.x =
|
|
2321
|
+
c.x = bi(i);
|
|
2316
2322
|
}
|
|
2317
|
-
if (r || !r && !a) if ((
|
|
2318
|
-
let e =
|
|
2323
|
+
if (r || !r && !a) if ((Jr(t) !== "body" || Zr(i)) && (s = ci(t)), r) {
|
|
2324
|
+
let e = yi(t, !0, a, t);
|
|
2319
2325
|
c.x = e.x + t.clientLeft, c.y = e.y + t.clientTop;
|
|
2320
2326
|
} else i && l();
|
|
2321
2327
|
a && !r && i && l();
|
|
2322
|
-
let u = i && !r && !a ?
|
|
2328
|
+
let u = i && !r && !a ? xi(i, s) : W(0);
|
|
2323
2329
|
return {
|
|
2324
2330
|
x: o.left + s.scrollLeft - c.x - u.x,
|
|
2325
2331
|
y: o.top + s.scrollTop - c.y - u.y,
|
|
@@ -2327,34 +2333,34 @@ function Mi(e, t, n) {
|
|
|
2327
2333
|
height: o.height
|
|
2328
2334
|
};
|
|
2329
2335
|
}
|
|
2330
|
-
function
|
|
2336
|
+
function Pi(e) {
|
|
2331
2337
|
return Q(e).position === "static";
|
|
2332
2338
|
}
|
|
2333
|
-
function
|
|
2339
|
+
function Fi(e, t) {
|
|
2334
2340
|
if (!Z(e) || Q(e).position === "fixed") return null;
|
|
2335
2341
|
if (t) return t(e);
|
|
2336
2342
|
let n = e.offsetParent;
|
|
2337
2343
|
return Y(e) === n && (n = n.ownerDocument.body), n;
|
|
2338
2344
|
}
|
|
2339
|
-
function
|
|
2345
|
+
function Ii(e, t) {
|
|
2340
2346
|
let n = J(e);
|
|
2341
|
-
if (
|
|
2347
|
+
if ($r(e)) return n;
|
|
2342
2348
|
if (!Z(e)) {
|
|
2343
|
-
let t =
|
|
2344
|
-
for (; t && !
|
|
2345
|
-
if (X(t) && !
|
|
2346
|
-
t =
|
|
2349
|
+
let t = li(e);
|
|
2350
|
+
for (; t && !si(t);) {
|
|
2351
|
+
if (X(t) && !Pi(t)) return t;
|
|
2352
|
+
t = li(t);
|
|
2347
2353
|
}
|
|
2348
2354
|
return n;
|
|
2349
2355
|
}
|
|
2350
|
-
let r =
|
|
2351
|
-
for (; r &&
|
|
2352
|
-
return r &&
|
|
2356
|
+
let r = Fi(e, t);
|
|
2357
|
+
for (; r && Qr(r) && Pi(r);) r = Fi(r, t);
|
|
2358
|
+
return r && si(r) && Pi(r) && !ii(r) ? n : r || ai(e) || n;
|
|
2353
2359
|
}
|
|
2354
|
-
var
|
|
2355
|
-
let t = this.getOffsetParent ||
|
|
2360
|
+
var Li = async function(e) {
|
|
2361
|
+
let t = this.getOffsetParent || Ii, n = this.getDimensions, r = await n(e.floating);
|
|
2356
2362
|
return {
|
|
2357
|
-
reference:
|
|
2363
|
+
reference: Ni(e.reference, await t(e.floating), e.strategy),
|
|
2358
2364
|
floating: {
|
|
2359
2365
|
x: 0,
|
|
2360
2366
|
y: 0,
|
|
@@ -2363,25 +2369,25 @@ var Ii = async function(e) {
|
|
|
2363
2369
|
}
|
|
2364
2370
|
};
|
|
2365
2371
|
};
|
|
2366
|
-
function
|
|
2372
|
+
function Ri(e) {
|
|
2367
2373
|
return Q(e).direction === "rtl";
|
|
2368
2374
|
}
|
|
2369
|
-
var
|
|
2370
|
-
convertOffsetParentRelativeRectToViewportRelativeRect:
|
|
2375
|
+
var zi = {
|
|
2376
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: Si,
|
|
2371
2377
|
getDocumentElement: Y,
|
|
2372
|
-
getClippingRect:
|
|
2373
|
-
getOffsetParent:
|
|
2374
|
-
getElementRects:
|
|
2375
|
-
getClientRects:
|
|
2376
|
-
getDimensions:
|
|
2377
|
-
getScale:
|
|
2378
|
+
getClippingRect: ji,
|
|
2379
|
+
getOffsetParent: Ii,
|
|
2380
|
+
getElementRects: Li,
|
|
2381
|
+
getClientRects: Ci,
|
|
2382
|
+
getDimensions: Mi,
|
|
2383
|
+
getScale: hi,
|
|
2378
2384
|
isElement: X,
|
|
2379
|
-
isRTL:
|
|
2385
|
+
isRTL: Ri
|
|
2380
2386
|
};
|
|
2381
|
-
function
|
|
2387
|
+
function Bi(e, t) {
|
|
2382
2388
|
return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
|
|
2383
2389
|
}
|
|
2384
|
-
function
|
|
2390
|
+
function Vi(e, t) {
|
|
2385
2391
|
let n = null, r, i = Y(e);
|
|
2386
2392
|
function a() {
|
|
2387
2393
|
var e;
|
|
@@ -2391,9 +2397,9 @@ function Bi(e, t) {
|
|
|
2391
2397
|
s === void 0 && (s = !1), c === void 0 && (c = 1), a();
|
|
2392
2398
|
let l = e.getBoundingClientRect(), { left: u, top: d, width: f, height: p } = l;
|
|
2393
2399
|
if (s || t(), !f || !p) return;
|
|
2394
|
-
let m =
|
|
2400
|
+
let m = fr(d), h = fr(i.clientWidth - (u + f)), g = fr(i.clientHeight - (d + p)), _ = fr(u), v = {
|
|
2395
2401
|
rootMargin: -m + "px " + -h + "px " + -g + "px " + -_ + "px",
|
|
2396
|
-
threshold: U(0,
|
|
2402
|
+
threshold: U(0, H(1, c)) || 1
|
|
2397
2403
|
}, y = !0;
|
|
2398
2404
|
function b(t) {
|
|
2399
2405
|
let n = t[0].intersectionRatio;
|
|
@@ -2403,7 +2409,7 @@ function Bi(e, t) {
|
|
|
2403
2409
|
o(!1, 1e-7);
|
|
2404
2410
|
}, 1e3);
|
|
2405
2411
|
}
|
|
2406
|
-
n === 1 && !
|
|
2412
|
+
n === 1 && !Bi(l, e.getBoundingClientRect()) && o(), y = !1;
|
|
2407
2413
|
}
|
|
2408
2414
|
try {
|
|
2409
2415
|
n = new IntersectionObserver(b, {
|
|
@@ -2417,13 +2423,13 @@ function Bi(e, t) {
|
|
|
2417
2423
|
}
|
|
2418
2424
|
return o(!0), a;
|
|
2419
2425
|
}
|
|
2420
|
-
function
|
|
2426
|
+
function Hi(e, t, n, r) {
|
|
2421
2427
|
r === void 0 && (r = {});
|
|
2422
|
-
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l =
|
|
2428
|
+
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l = mi(e), u = i || a ? [...l ? di(l) : [], ...t ? di(t) : []] : [];
|
|
2423
2429
|
u.forEach((e) => {
|
|
2424
2430
|
i && e.addEventListener("scroll", n, { passive: !0 }), a && e.addEventListener("resize", n);
|
|
2425
2431
|
});
|
|
2426
|
-
let d = l && s ?
|
|
2432
|
+
let d = l && s ? Vi(l, n) : null, f = -1, p = null;
|
|
2427
2433
|
o && (p = new ResizeObserver((e) => {
|
|
2428
2434
|
let [r] = e;
|
|
2429
2435
|
r && r.target === l && p && t && (p.unobserve(t), cancelAnimationFrame(f), f = requestAnimationFrame(() => {
|
|
@@ -2431,11 +2437,11 @@ function Vi(e, t, n, r) {
|
|
|
2431
2437
|
(e = p) == null || e.observe(t);
|
|
2432
2438
|
})), n();
|
|
2433
2439
|
}), l && !c && p.observe(l), t && p.observe(t));
|
|
2434
|
-
let m, h = c ?
|
|
2440
|
+
let m, h = c ? yi(e) : null;
|
|
2435
2441
|
c && g();
|
|
2436
2442
|
function g() {
|
|
2437
|
-
let t =
|
|
2438
|
-
h && !
|
|
2443
|
+
let t = yi(e);
|
|
2444
|
+
h && !Bi(h, t) && n(), h = t, m = requestAnimationFrame(g);
|
|
2439
2445
|
}
|
|
2440
2446
|
return n(), () => {
|
|
2441
2447
|
var e;
|
|
@@ -2444,20 +2450,20 @@ function Vi(e, t, n, r) {
|
|
|
2444
2450
|
}), d?.(), (e = p) == null || e.disconnect(), p = null, c && cancelAnimationFrame(m);
|
|
2445
2451
|
};
|
|
2446
2452
|
}
|
|
2447
|
-
var
|
|
2453
|
+
var Ui = Ur, Wi = Wr, Gi = Lr, Ki = Kr, qi = Br, Ji = Ir, Yi = Gr, Xi = (e, t, n) => {
|
|
2448
2454
|
let r = /* @__PURE__ */ new Map(), i = {
|
|
2449
|
-
platform:
|
|
2455
|
+
platform: zi,
|
|
2450
2456
|
...n
|
|
2451
2457
|
}, a = {
|
|
2452
2458
|
...i.platform,
|
|
2453
2459
|
_c: r
|
|
2454
2460
|
};
|
|
2455
|
-
return
|
|
2461
|
+
return Fr(e, t, {
|
|
2456
2462
|
...i,
|
|
2457
2463
|
platform: a
|
|
2458
2464
|
});
|
|
2459
|
-
},
|
|
2460
|
-
function
|
|
2465
|
+
}, Zi = typeof document < "u" ? P.useLayoutEffect : function() {};
|
|
2466
|
+
function Qi(e, t) {
|
|
2461
2467
|
if (e === t) return !0;
|
|
2462
2468
|
if (typeof e != typeof t) return !1;
|
|
2463
2469
|
if (typeof e == "function" && e.toString() === t.toString()) return !0;
|
|
@@ -2465,60 +2471,60 @@ function Zi(e, t) {
|
|
|
2465
2471
|
if (e && t && typeof e == "object") {
|
|
2466
2472
|
if (Array.isArray(e)) {
|
|
2467
2473
|
if (n = e.length, n !== t.length) return !1;
|
|
2468
|
-
for (r = n; r-- !== 0;) if (!
|
|
2474
|
+
for (r = n; r-- !== 0;) if (!Qi(e[r], t[r])) return !1;
|
|
2469
2475
|
return !0;
|
|
2470
2476
|
}
|
|
2471
2477
|
if (i = Object.keys(e), n = i.length, n !== Object.keys(t).length) return !1;
|
|
2472
2478
|
for (r = n; r-- !== 0;) if (!{}.hasOwnProperty.call(t, i[r])) return !1;
|
|
2473
2479
|
for (r = n; r-- !== 0;) {
|
|
2474
2480
|
let n = i[r];
|
|
2475
|
-
if (!(n === "_owner" && e.$$typeof) && !
|
|
2481
|
+
if (!(n === "_owner" && e.$$typeof) && !Qi(e[n], t[n])) return !1;
|
|
2476
2482
|
}
|
|
2477
2483
|
return !0;
|
|
2478
2484
|
}
|
|
2479
2485
|
return e !== e && t !== t;
|
|
2480
2486
|
}
|
|
2481
|
-
function
|
|
2487
|
+
function $i(e) {
|
|
2482
2488
|
return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
2483
2489
|
}
|
|
2484
|
-
function
|
|
2485
|
-
let n =
|
|
2490
|
+
function ea(e, t) {
|
|
2491
|
+
let n = $i(e);
|
|
2486
2492
|
return Math.round(t * n) / n;
|
|
2487
2493
|
}
|
|
2488
|
-
function
|
|
2489
|
-
let t =
|
|
2490
|
-
return
|
|
2494
|
+
function ta(e) {
|
|
2495
|
+
let t = P.useRef(e);
|
|
2496
|
+
return Zi(() => {
|
|
2491
2497
|
t.current = e;
|
|
2492
2498
|
}), t;
|
|
2493
2499
|
}
|
|
2494
|
-
function
|
|
2500
|
+
function na(e) {
|
|
2495
2501
|
e === void 0 && (e = {});
|
|
2496
|
-
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] =
|
|
2502
|
+
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] = P.useState({
|
|
2497
2503
|
x: 0,
|
|
2498
2504
|
y: 0,
|
|
2499
2505
|
strategy: n,
|
|
2500
2506
|
placement: t,
|
|
2501
2507
|
middlewareData: {},
|
|
2502
2508
|
isPositioned: !1
|
|
2503
|
-
}), [f, p] =
|
|
2504
|
-
|
|
2505
|
-
let [m, h] =
|
|
2509
|
+
}), [f, p] = P.useState(r);
|
|
2510
|
+
Qi(f, r) || p(r);
|
|
2511
|
+
let [m, h] = P.useState(null), [g, _] = P.useState(null), v = P.useCallback((e) => {
|
|
2506
2512
|
e !== S.current && (S.current = e, h(e));
|
|
2507
|
-
}, []), y =
|
|
2513
|
+
}, []), y = P.useCallback((e) => {
|
|
2508
2514
|
e !== C.current && (C.current = e, _(e));
|
|
2509
|
-
}, []), b = a || m, x = o || g, S =
|
|
2515
|
+
}, []), b = a || m, x = o || g, S = P.useRef(null), C = P.useRef(null), w = P.useRef(u), T = c != null, E = ta(c), ee = ta(i), D = ta(l), O = P.useCallback(() => {
|
|
2510
2516
|
if (!S.current || !C.current) return;
|
|
2511
2517
|
let e = {
|
|
2512
2518
|
placement: t,
|
|
2513
2519
|
strategy: n,
|
|
2514
2520
|
middleware: f
|
|
2515
2521
|
};
|
|
2516
|
-
|
|
2522
|
+
ee.current && (e.platform = ee.current), Xi(S.current, C.current, e).then((e) => {
|
|
2517
2523
|
let t = {
|
|
2518
2524
|
...e,
|
|
2519
2525
|
isPositioned: D.current !== !1
|
|
2520
2526
|
};
|
|
2521
|
-
k.current && !
|
|
2527
|
+
k.current && !Qi(w.current, t) && (w.current = t, mt.flushSync(() => {
|
|
2522
2528
|
d(t);
|
|
2523
2529
|
}));
|
|
2524
2530
|
});
|
|
@@ -2526,50 +2532,50 @@ function ta(e) {
|
|
|
2526
2532
|
f,
|
|
2527
2533
|
t,
|
|
2528
2534
|
n,
|
|
2529
|
-
|
|
2535
|
+
ee,
|
|
2530
2536
|
D
|
|
2531
2537
|
]);
|
|
2532
|
-
|
|
2538
|
+
Zi(() => {
|
|
2533
2539
|
l === !1 && w.current.isPositioned && (w.current.isPositioned = !1, d((e) => ({
|
|
2534
2540
|
...e,
|
|
2535
2541
|
isPositioned: !1
|
|
2536
2542
|
})));
|
|
2537
2543
|
}, [l]);
|
|
2538
|
-
let k =
|
|
2539
|
-
|
|
2544
|
+
let k = P.useRef(!1);
|
|
2545
|
+
Zi(() => (k.current = !0, () => {
|
|
2540
2546
|
k.current = !1;
|
|
2541
|
-
}), []),
|
|
2547
|
+
}), []), Zi(() => {
|
|
2542
2548
|
if (b && (S.current = b), x && (C.current = x), b && x) {
|
|
2543
|
-
if (
|
|
2549
|
+
if (E.current) return E.current(b, x, O);
|
|
2544
2550
|
O();
|
|
2545
2551
|
}
|
|
2546
2552
|
}, [
|
|
2547
2553
|
b,
|
|
2548
2554
|
x,
|
|
2549
2555
|
O,
|
|
2550
|
-
|
|
2556
|
+
E,
|
|
2551
2557
|
T
|
|
2552
2558
|
]);
|
|
2553
|
-
let te =
|
|
2559
|
+
let te = P.useMemo(() => ({
|
|
2554
2560
|
reference: S,
|
|
2555
2561
|
floating: C,
|
|
2556
2562
|
setReference: v,
|
|
2557
2563
|
setFloating: y
|
|
2558
|
-
}), [v, y]), A =
|
|
2564
|
+
}), [v, y]), A = P.useMemo(() => ({
|
|
2559
2565
|
reference: b,
|
|
2560
2566
|
floating: x
|
|
2561
|
-
}), [b, x]), j =
|
|
2567
|
+
}), [b, x]), j = P.useMemo(() => {
|
|
2562
2568
|
let e = {
|
|
2563
2569
|
position: n,
|
|
2564
2570
|
left: 0,
|
|
2565
2571
|
top: 0
|
|
2566
2572
|
};
|
|
2567
2573
|
if (!A.floating) return e;
|
|
2568
|
-
let t =
|
|
2574
|
+
let t = ea(A.floating, u.x), r = ea(A.floating, u.y);
|
|
2569
2575
|
return s ? {
|
|
2570
2576
|
...e,
|
|
2571
2577
|
transform: "translate(" + t + "px, " + r + "px)",
|
|
2572
|
-
|
|
2578
|
+
...$i(A.floating) >= 1.5 && { willChange: "transform" }
|
|
2573
2579
|
} : {
|
|
2574
2580
|
position: n,
|
|
2575
2581
|
left: t,
|
|
@@ -2582,7 +2588,7 @@ function ta(e) {
|
|
|
2582
2588
|
u.x,
|
|
2583
2589
|
u.y
|
|
2584
2590
|
]);
|
|
2585
|
-
return
|
|
2591
|
+
return P.useMemo(() => ({
|
|
2586
2592
|
...u,
|
|
2587
2593
|
update: O,
|
|
2588
2594
|
refs: te,
|
|
@@ -2596,7 +2602,7 @@ function ta(e) {
|
|
|
2596
2602
|
j
|
|
2597
2603
|
]);
|
|
2598
2604
|
}
|
|
2599
|
-
var
|
|
2605
|
+
var ra = (e) => {
|
|
2600
2606
|
function t(e) {
|
|
2601
2607
|
return {}.hasOwnProperty.call(e, "current");
|
|
2602
2608
|
}
|
|
@@ -2605,22 +2611,15 @@ var na = (e) => {
|
|
|
2605
2611
|
options: e,
|
|
2606
2612
|
fn(n) {
|
|
2607
2613
|
let { element: r, padding: i } = typeof e == "function" ? e(n) : e;
|
|
2608
|
-
return r && t(r) ? r.current == null ? {} :
|
|
2614
|
+
return r && t(r) ? r.current == null ? {} : Ji({
|
|
2609
2615
|
element: r.current,
|
|
2610
2616
|
padding: i
|
|
2611
|
-
}).fn(n) : r ?
|
|
2617
|
+
}).fn(n) : r ? Ji({
|
|
2612
2618
|
element: r,
|
|
2613
2619
|
padding: i
|
|
2614
2620
|
}).fn(n) : {};
|
|
2615
2621
|
}
|
|
2616
2622
|
};
|
|
2617
|
-
}, ra = (e, t) => {
|
|
2618
|
-
let n = Hi(e);
|
|
2619
|
-
return {
|
|
2620
|
-
name: n.name,
|
|
2621
|
-
fn: n.fn,
|
|
2622
|
-
options: [e, t]
|
|
2623
|
-
};
|
|
2624
2623
|
}, ia = (e, t) => {
|
|
2625
2624
|
let n = Ui(e);
|
|
2626
2625
|
return {
|
|
@@ -2628,17 +2627,17 @@ var na = (e) => {
|
|
|
2628
2627
|
fn: n.fn,
|
|
2629
2628
|
options: [e, t]
|
|
2630
2629
|
};
|
|
2631
|
-
}, aa = (e, t) =>
|
|
2632
|
-
fn: Ji(e).fn,
|
|
2633
|
-
options: [e, t]
|
|
2634
|
-
}), oa = (e, t) => {
|
|
2630
|
+
}, aa = (e, t) => {
|
|
2635
2631
|
let n = Wi(e);
|
|
2636
2632
|
return {
|
|
2637
2633
|
name: n.name,
|
|
2638
2634
|
fn: n.fn,
|
|
2639
2635
|
options: [e, t]
|
|
2640
2636
|
};
|
|
2641
|
-
},
|
|
2637
|
+
}, oa = (e, t) => ({
|
|
2638
|
+
fn: Yi(e).fn,
|
|
2639
|
+
options: [e, t]
|
|
2640
|
+
}), sa = (e, t) => {
|
|
2642
2641
|
let n = Gi(e);
|
|
2643
2642
|
return {
|
|
2644
2643
|
name: n.name,
|
|
@@ -2653,31 +2652,38 @@ var na = (e) => {
|
|
|
2653
2652
|
options: [e, t]
|
|
2654
2653
|
};
|
|
2655
2654
|
}, la = (e, t) => {
|
|
2656
|
-
let n =
|
|
2655
|
+
let n = qi(e);
|
|
2657
2656
|
return {
|
|
2658
2657
|
name: n.name,
|
|
2659
2658
|
fn: n.fn,
|
|
2660
2659
|
options: [e, t]
|
|
2661
2660
|
};
|
|
2662
|
-
}, ua =
|
|
2661
|
+
}, ua = (e, t) => {
|
|
2662
|
+
let n = ra(e);
|
|
2663
|
+
return {
|
|
2664
|
+
name: n.name,
|
|
2665
|
+
fn: n.fn,
|
|
2666
|
+
options: [e, t]
|
|
2667
|
+
};
|
|
2668
|
+
}, da = "Arrow", fa = P.forwardRef((e, t) => {
|
|
2663
2669
|
let { children: n, width: r = 10, height: i = 5, ...a } = e;
|
|
2664
|
-
return /* @__PURE__ */ (0,
|
|
2670
|
+
return /* @__PURE__ */ (0, F.jsx)(V.svg, {
|
|
2665
2671
|
...a,
|
|
2666
2672
|
ref: t,
|
|
2667
2673
|
width: r,
|
|
2668
2674
|
height: i,
|
|
2669
2675
|
viewBox: "0 0 30 10",
|
|
2670
2676
|
preserveAspectRatio: "none",
|
|
2671
|
-
children: e.asChild ? n : /* @__PURE__ */ (0,
|
|
2677
|
+
children: e.asChild ? n : /* @__PURE__ */ (0, F.jsx)("polygon", { points: "0,0 30,0 15,10" })
|
|
2672
2678
|
});
|
|
2673
2679
|
});
|
|
2674
|
-
|
|
2675
|
-
var
|
|
2680
|
+
fa.displayName = da;
|
|
2681
|
+
var pa = fa;
|
|
2676
2682
|
//#endregion
|
|
2677
2683
|
//#region ../node_modules/@radix-ui/react-use-size/dist/index.mjs
|
|
2678
|
-
function
|
|
2679
|
-
let [t, n] =
|
|
2680
|
-
return
|
|
2684
|
+
function ma(e) {
|
|
2685
|
+
let [t, n] = P.useState(void 0);
|
|
2686
|
+
return or(() => {
|
|
2681
2687
|
if (e) {
|
|
2682
2688
|
n({
|
|
2683
2689
|
width: e.offsetWidth,
|
|
@@ -2701,107 +2707,107 @@ function pa(e) {
|
|
|
2701
2707
|
}
|
|
2702
2708
|
//#endregion
|
|
2703
2709
|
//#region ../node_modules/@radix-ui/react-popper/dist/index.mjs
|
|
2704
|
-
var
|
|
2705
|
-
let { __scopePopper: t, children: n } = e, [r, i] =
|
|
2706
|
-
return /* @__PURE__ */ (0,
|
|
2710
|
+
var ha = "Popper", [ga, _a] = _n(ha), [va, ya] = ga(ha), ba = (e) => {
|
|
2711
|
+
let { __scopePopper: t, children: n } = e, [r, i] = P.useState(null);
|
|
2712
|
+
return /* @__PURE__ */ (0, F.jsx)(va, {
|
|
2707
2713
|
scope: t,
|
|
2708
2714
|
anchor: r,
|
|
2709
2715
|
onAnchorChange: i,
|
|
2710
2716
|
children: n
|
|
2711
2717
|
});
|
|
2712
2718
|
};
|
|
2713
|
-
|
|
2714
|
-
var
|
|
2715
|
-
let { __scopePopper: n, virtualRef: r, ...i } = e, a =
|
|
2716
|
-
return
|
|
2719
|
+
ba.displayName = ha;
|
|
2720
|
+
var xa = "PopperAnchor", Sa = P.forwardRef((e, t) => {
|
|
2721
|
+
let { __scopePopper: n, virtualRef: r, ...i } = e, a = ya(xa, n), o = P.useRef(null), s = B(t, o), c = P.useRef(null);
|
|
2722
|
+
return P.useEffect(() => {
|
|
2717
2723
|
let e = c.current;
|
|
2718
2724
|
c.current = r?.current || o.current, e !== c.current && a.onAnchorChange(c.current);
|
|
2719
|
-
}), r ? null : /* @__PURE__ */ (0,
|
|
2725
|
+
}), r ? null : /* @__PURE__ */ (0, F.jsx)(V.div, {
|
|
2720
2726
|
...i,
|
|
2721
2727
|
ref: s
|
|
2722
2728
|
});
|
|
2723
2729
|
});
|
|
2724
|
-
|
|
2725
|
-
var
|
|
2726
|
-
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 =
|
|
2730
|
+
Sa.displayName = xa;
|
|
2731
|
+
var Ca = "PopperContent", [wa, Ta] = ga(Ca), Ea = P.forwardRef((e, t) => {
|
|
2732
|
+
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 = ya(Ca, n), [_, v] = P.useState(null), y = B(t, (e) => v(e)), [b, x] = P.useState(null), S = ma(b), C = S?.width ?? 0, w = S?.height ?? 0, T = r + (a === "center" ? "" : "-" + a), E = typeof u == "number" ? u : {
|
|
2727
2733
|
top: 0,
|
|
2728
2734
|
right: 0,
|
|
2729
2735
|
bottom: 0,
|
|
2730
2736
|
left: 0,
|
|
2731
2737
|
...u
|
|
2732
|
-
},
|
|
2733
|
-
padding:
|
|
2734
|
-
boundary:
|
|
2738
|
+
}, ee = Array.isArray(l) ? l : [l], D = ee.length > 0, O = {
|
|
2739
|
+
padding: E,
|
|
2740
|
+
boundary: ee.filter(Aa),
|
|
2735
2741
|
altBoundary: D
|
|
2736
|
-
}, { refs: k, floatingStyles: te, placement: A, isPositioned: j, middlewareData:
|
|
2742
|
+
}, { refs: k, floatingStyles: te, placement: A, isPositioned: j, middlewareData: ne } = na({
|
|
2737
2743
|
strategy: "fixed",
|
|
2738
2744
|
placement: T,
|
|
2739
|
-
whileElementsMounted: (...e) =>
|
|
2745
|
+
whileElementsMounted: (...e) => Hi(...e, { animationFrame: p === "always" }),
|
|
2740
2746
|
elements: { reference: g.anchor },
|
|
2741
2747
|
middleware: [
|
|
2742
|
-
|
|
2748
|
+
ia({
|
|
2743
2749
|
mainAxis: i + w,
|
|
2744
2750
|
alignmentAxis: o
|
|
2745
2751
|
}),
|
|
2746
|
-
c &&
|
|
2752
|
+
c && aa({
|
|
2747
2753
|
mainAxis: !0,
|
|
2748
2754
|
crossAxis: !1,
|
|
2749
|
-
limiter: d === "partial" ?
|
|
2755
|
+
limiter: d === "partial" ? oa() : void 0,
|
|
2750
2756
|
...O
|
|
2751
2757
|
}),
|
|
2752
|
-
c &&
|
|
2753
|
-
|
|
2758
|
+
c && sa({ ...O }),
|
|
2759
|
+
ca({
|
|
2754
2760
|
...O,
|
|
2755
2761
|
apply: ({ elements: e, rects: t, availableWidth: n, availableHeight: r }) => {
|
|
2756
2762
|
let { width: i, height: a } = t.reference, o = e.floating.style;
|
|
2757
2763
|
o.setProperty("--radix-popper-available-width", `${n}px`), o.setProperty("--radix-popper-available-height", `${r}px`), o.setProperty("--radix-popper-anchor-width", `${i}px`), o.setProperty("--radix-popper-anchor-height", `${a}px`);
|
|
2758
2764
|
}
|
|
2759
2765
|
}),
|
|
2760
|
-
b &&
|
|
2766
|
+
b && ua({
|
|
2761
2767
|
element: b,
|
|
2762
2768
|
padding: s
|
|
2763
2769
|
}),
|
|
2764
|
-
|
|
2770
|
+
ja({
|
|
2765
2771
|
arrowWidth: C,
|
|
2766
2772
|
arrowHeight: w
|
|
2767
2773
|
}),
|
|
2768
|
-
f &&
|
|
2774
|
+
f && la({
|
|
2769
2775
|
strategy: "referenceHidden",
|
|
2770
2776
|
...O
|
|
2771
2777
|
})
|
|
2772
2778
|
]
|
|
2773
|
-
}), [
|
|
2774
|
-
|
|
2775
|
-
j &&
|
|
2776
|
-
}, [j,
|
|
2777
|
-
let
|
|
2778
|
-
return
|
|
2779
|
-
_ &&
|
|
2780
|
-
}, [_]), /* @__PURE__ */ (0,
|
|
2779
|
+
}), [re, ie] = Ma(A), ae = En(m);
|
|
2780
|
+
or(() => {
|
|
2781
|
+
j && ae?.();
|
|
2782
|
+
}, [j, ae]);
|
|
2783
|
+
let oe = ne.arrow?.x, se = ne.arrow?.y, M = ne.arrow?.centerOffset !== 0, [ce, le] = P.useState();
|
|
2784
|
+
return or(() => {
|
|
2785
|
+
_ && le(window.getComputedStyle(_).zIndex);
|
|
2786
|
+
}, [_]), /* @__PURE__ */ (0, F.jsx)("div", {
|
|
2781
2787
|
ref: k.setFloating,
|
|
2782
2788
|
"data-radix-popper-content-wrapper": "",
|
|
2783
2789
|
style: {
|
|
2784
2790
|
...te,
|
|
2785
2791
|
transform: j ? te.transform : "translate(0, -200%)",
|
|
2786
2792
|
minWidth: "max-content",
|
|
2787
|
-
zIndex:
|
|
2788
|
-
"--radix-popper-transform-origin": [
|
|
2789
|
-
...
|
|
2793
|
+
zIndex: ce,
|
|
2794
|
+
"--radix-popper-transform-origin": [ne.transformOrigin?.x, ne.transformOrigin?.y].join(" "),
|
|
2795
|
+
...ne.hide?.referenceHidden && {
|
|
2790
2796
|
visibility: "hidden",
|
|
2791
2797
|
pointerEvents: "none"
|
|
2792
2798
|
}
|
|
2793
2799
|
},
|
|
2794
2800
|
dir: e.dir,
|
|
2795
|
-
children: /* @__PURE__ */ (0,
|
|
2801
|
+
children: /* @__PURE__ */ (0, F.jsx)(wa, {
|
|
2796
2802
|
scope: n,
|
|
2797
|
-
placedSide:
|
|
2803
|
+
placedSide: re,
|
|
2798
2804
|
onArrowChange: x,
|
|
2799
|
-
arrowX:
|
|
2800
|
-
arrowY:
|
|
2801
|
-
shouldHideArrow:
|
|
2802
|
-
children: /* @__PURE__ */ (0,
|
|
2803
|
-
"data-side":
|
|
2804
|
-
"data-align":
|
|
2805
|
+
arrowX: oe,
|
|
2806
|
+
arrowY: se,
|
|
2807
|
+
shouldHideArrow: M,
|
|
2808
|
+
children: /* @__PURE__ */ (0, F.jsx)(V.div, {
|
|
2809
|
+
"data-side": re,
|
|
2810
|
+
"data-align": ie,
|
|
2805
2811
|
...h,
|
|
2806
2812
|
ref: y,
|
|
2807
2813
|
style: {
|
|
@@ -2812,15 +2818,15 @@ var Sa = "PopperContent", [Ca, wa] = ha(Sa), Ta = F.forwardRef((e, t) => {
|
|
|
2812
2818
|
})
|
|
2813
2819
|
});
|
|
2814
2820
|
});
|
|
2815
|
-
|
|
2816
|
-
var
|
|
2821
|
+
Ea.displayName = Ca;
|
|
2822
|
+
var Da = "PopperArrow", Oa = {
|
|
2817
2823
|
top: "bottom",
|
|
2818
2824
|
right: "left",
|
|
2819
2825
|
bottom: "top",
|
|
2820
2826
|
left: "right"
|
|
2821
|
-
},
|
|
2822
|
-
let { __scopePopper: n, ...r } = e, i =
|
|
2823
|
-
return /* @__PURE__ */ (0,
|
|
2827
|
+
}, ka = P.forwardRef(function(e, t) {
|
|
2828
|
+
let { __scopePopper: n, ...r } = e, i = Ta(Da, n), a = Oa[i.placedSide];
|
|
2829
|
+
return /* @__PURE__ */ (0, F.jsx)("span", {
|
|
2824
2830
|
ref: i.onArrowChange,
|
|
2825
2831
|
style: {
|
|
2826
2832
|
position: "absolute",
|
|
@@ -2841,7 +2847,7 @@ var Ea = "PopperArrow", Da = {
|
|
|
2841
2847
|
}[i.placedSide],
|
|
2842
2848
|
visibility: i.shouldHideArrow ? "hidden" : void 0
|
|
2843
2849
|
},
|
|
2844
|
-
children: /* @__PURE__ */ (0,
|
|
2850
|
+
children: /* @__PURE__ */ (0, F.jsx)(pa, {
|
|
2845
2851
|
...r,
|
|
2846
2852
|
ref: t,
|
|
2847
2853
|
style: {
|
|
@@ -2851,15 +2857,15 @@ var Ea = "PopperArrow", Da = {
|
|
|
2851
2857
|
})
|
|
2852
2858
|
});
|
|
2853
2859
|
});
|
|
2854
|
-
|
|
2855
|
-
function
|
|
2860
|
+
ka.displayName = Da;
|
|
2861
|
+
function Aa(e) {
|
|
2856
2862
|
return e !== null;
|
|
2857
2863
|
}
|
|
2858
|
-
var
|
|
2864
|
+
var ja = (e) => ({
|
|
2859
2865
|
name: "transformOrigin",
|
|
2860
2866
|
options: e,
|
|
2861
2867
|
fn(t) {
|
|
2862
|
-
let { placement: n, rects: r, middlewareData: i } = t, a = i.arrow?.centerOffset !== 0, o = a ? 0 : e.arrowWidth, s = a ? 0 : e.arrowHeight, [c, l] =
|
|
2868
|
+
let { placement: n, rects: r, middlewareData: i } = t, a = i.arrow?.centerOffset !== 0, o = a ? 0 : e.arrowWidth, s = a ? 0 : e.arrowHeight, [c, l] = Ma(n), u = {
|
|
2863
2869
|
start: "0%",
|
|
2864
2870
|
center: "50%",
|
|
2865
2871
|
end: "100%"
|
|
@@ -2870,32 +2876,32 @@ var Aa = (e) => ({
|
|
|
2870
2876
|
} };
|
|
2871
2877
|
}
|
|
2872
2878
|
});
|
|
2873
|
-
function
|
|
2879
|
+
function Ma(e) {
|
|
2874
2880
|
let [t, n = "center"] = e.split("-");
|
|
2875
2881
|
return [t, n];
|
|
2876
2882
|
}
|
|
2877
|
-
var
|
|
2878
|
-
let { container: n, ...r } = e, [i, a] =
|
|
2879
|
-
|
|
2883
|
+
var Na = ba, Pa = Sa, Fa = Ea, Ia = ka, La = "Portal", Ra = P.forwardRef((e, t) => {
|
|
2884
|
+
let { container: n, ...r } = e, [i, a] = P.useState(!1);
|
|
2885
|
+
or(() => a(!0), []);
|
|
2880
2886
|
let o = n || i && globalThis?.document?.body;
|
|
2881
|
-
return o ?
|
|
2887
|
+
return o ? mt.createPortal(/* @__PURE__ */ (0, F.jsx)(V.div, {
|
|
2882
2888
|
...r,
|
|
2883
2889
|
ref: t
|
|
2884
2890
|
}), o) : null;
|
|
2885
2891
|
});
|
|
2886
|
-
|
|
2892
|
+
Ra.displayName = La;
|
|
2887
2893
|
//#endregion
|
|
2888
2894
|
//#region ../node_modules/@radix-ui/react-presence/dist/index.mjs
|
|
2889
|
-
function
|
|
2890
|
-
return
|
|
2895
|
+
function za(e, t) {
|
|
2896
|
+
return P.useReducer((e, n) => t[e][n] ?? e, e);
|
|
2891
2897
|
}
|
|
2892
|
-
var
|
|
2893
|
-
let { present: t, children: n } = e, r =
|
|
2894
|
-
return typeof n == "function" || r.isPresent ?
|
|
2898
|
+
var Ba = (e) => {
|
|
2899
|
+
let { present: t, children: n } = e, r = Va(t), i = typeof n == "function" ? n({ present: r.isPresent }) : P.Children.only(n), a = B(r.ref, Ua(i));
|
|
2900
|
+
return typeof n == "function" || r.isPresent ? P.cloneElement(i, { ref: a }) : null;
|
|
2895
2901
|
};
|
|
2896
|
-
|
|
2897
|
-
function
|
|
2898
|
-
let [t, n] =
|
|
2902
|
+
Ba.displayName = "Presence";
|
|
2903
|
+
function Va(e) {
|
|
2904
|
+
let [t, n] = P.useState(), r = P.useRef(null), i = P.useRef(e), a = P.useRef("none"), [o, s] = za(e ? "mounted" : "unmounted", {
|
|
2899
2905
|
mounted: {
|
|
2900
2906
|
UNMOUNT: "unmounted",
|
|
2901
2907
|
ANIMATION_OUT: "unmountSuspended"
|
|
@@ -2906,19 +2912,19 @@ function Ba(e) {
|
|
|
2906
2912
|
},
|
|
2907
2913
|
unmounted: { MOUNT: "mounted" }
|
|
2908
2914
|
});
|
|
2909
|
-
return
|
|
2910
|
-
let e =
|
|
2915
|
+
return P.useEffect(() => {
|
|
2916
|
+
let e = Ha(r.current);
|
|
2911
2917
|
a.current = o === "mounted" ? e : "none";
|
|
2912
|
-
}, [o]),
|
|
2918
|
+
}, [o]), or(() => {
|
|
2913
2919
|
let t = r.current, n = i.current;
|
|
2914
2920
|
if (n !== e) {
|
|
2915
|
-
let r = a.current, o =
|
|
2921
|
+
let r = a.current, o = Ha(t);
|
|
2916
2922
|
e ? s("MOUNT") : o === "none" || t?.display === "none" ? s("UNMOUNT") : s(n && r !== o ? "ANIMATION_OUT" : "UNMOUNT"), i.current = e;
|
|
2917
2923
|
}
|
|
2918
|
-
}, [e, s]),
|
|
2924
|
+
}, [e, s]), or(() => {
|
|
2919
2925
|
if (t) {
|
|
2920
2926
|
let e, n = t.ownerDocument.defaultView ?? window, o = (a) => {
|
|
2921
|
-
let o =
|
|
2927
|
+
let o = Ha(r.current).includes(CSS.escape(a.animationName));
|
|
2922
2928
|
if (a.target === t && o && (s("ANIMATION_END"), !i.current)) {
|
|
2923
2929
|
let r = t.style.animationFillMode;
|
|
2924
2930
|
t.style.animationFillMode = "forwards", e = n.setTimeout(() => {
|
|
@@ -2926,7 +2932,7 @@ function Ba(e) {
|
|
|
2926
2932
|
});
|
|
2927
2933
|
}
|
|
2928
2934
|
}, c = (e) => {
|
|
2929
|
-
e.target === t && (a.current =
|
|
2935
|
+
e.target === t && (a.current = Ha(r.current));
|
|
2930
2936
|
};
|
|
2931
2937
|
return t.addEventListener("animationstart", c), t.addEventListener("animationcancel", o), t.addEventListener("animationend", o), () => {
|
|
2932
2938
|
n.clearTimeout(e), t.removeEventListener("animationstart", c), t.removeEventListener("animationcancel", o), t.removeEventListener("animationend", o);
|
|
@@ -2934,36 +2940,36 @@ function Ba(e) {
|
|
|
2934
2940
|
} else s("ANIMATION_END");
|
|
2935
2941
|
}, [t, s]), {
|
|
2936
2942
|
isPresent: ["mounted", "unmountSuspended"].includes(o),
|
|
2937
|
-
ref:
|
|
2943
|
+
ref: P.useCallback((e) => {
|
|
2938
2944
|
r.current = e ? getComputedStyle(e) : null, n(e);
|
|
2939
2945
|
}, [])
|
|
2940
2946
|
};
|
|
2941
2947
|
}
|
|
2942
|
-
function
|
|
2948
|
+
function Ha(e) {
|
|
2943
2949
|
return e?.animationName || "none";
|
|
2944
2950
|
}
|
|
2945
|
-
function
|
|
2951
|
+
function Ua(e) {
|
|
2946
2952
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
2947
2953
|
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);
|
|
2948
2954
|
}
|
|
2949
2955
|
//#endregion
|
|
2950
2956
|
//#region ../node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
|
|
2951
|
-
var
|
|
2952
|
-
function
|
|
2953
|
-
let [i, a, o] =
|
|
2957
|
+
var Wa = P.useInsertionEffect || or;
|
|
2958
|
+
function Ga({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
2959
|
+
let [i, a, o] = Ka({
|
|
2954
2960
|
defaultProp: t,
|
|
2955
2961
|
onChange: n
|
|
2956
2962
|
}), s = e !== void 0, c = s ? e : i;
|
|
2957
2963
|
{
|
|
2958
|
-
let t =
|
|
2959
|
-
|
|
2964
|
+
let t = P.useRef(e !== void 0);
|
|
2965
|
+
P.useEffect(() => {
|
|
2960
2966
|
let e = t.current;
|
|
2961
2967
|
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;
|
|
2962
2968
|
}, [s, r]);
|
|
2963
2969
|
}
|
|
2964
|
-
return [c,
|
|
2970
|
+
return [c, P.useCallback((t) => {
|
|
2965
2971
|
if (s) {
|
|
2966
|
-
let n =
|
|
2972
|
+
let n = qa(t) ? t(e) : t;
|
|
2967
2973
|
n !== e && o.current?.(n);
|
|
2968
2974
|
} else a(t);
|
|
2969
2975
|
}, [
|
|
@@ -2973,11 +2979,11 @@ function Wa({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
|
2973
2979
|
o
|
|
2974
2980
|
])];
|
|
2975
2981
|
}
|
|
2976
|
-
function
|
|
2977
|
-
let [n, r] =
|
|
2978
|
-
return
|
|
2982
|
+
function Ka({ defaultProp: e, onChange: t }) {
|
|
2983
|
+
let [n, r] = P.useState(e), i = P.useRef(n), a = P.useRef(t);
|
|
2984
|
+
return Wa(() => {
|
|
2979
2985
|
a.current = t;
|
|
2980
|
-
}, [t]),
|
|
2986
|
+
}, [t]), P.useEffect(() => {
|
|
2981
2987
|
i.current !== n && (a.current?.(n), i.current = n);
|
|
2982
2988
|
}, [n, i]), [
|
|
2983
2989
|
n,
|
|
@@ -2985,27 +2991,27 @@ function Ga({ defaultProp: e, onChange: t }) {
|
|
|
2985
2991
|
a
|
|
2986
2992
|
];
|
|
2987
2993
|
}
|
|
2988
|
-
function
|
|
2994
|
+
function qa(e) {
|
|
2989
2995
|
return typeof e == "function";
|
|
2990
2996
|
}
|
|
2991
2997
|
//#endregion
|
|
2992
2998
|
//#region ../node_modules/aria-hidden/dist/es2015/index.js
|
|
2993
|
-
var
|
|
2999
|
+
var Ja = function(e) {
|
|
2994
3000
|
return typeof document > "u" ? null : (Array.isArray(e) ? e[0] : e).ownerDocument.body;
|
|
2995
|
-
},
|
|
2996
|
-
return e && (e.host ||
|
|
2997
|
-
},
|
|
3001
|
+
}, Ya = /* @__PURE__ */ new WeakMap(), Xa = /* @__PURE__ */ new WeakMap(), Za = {}, Qa = 0, $a = function(e) {
|
|
3002
|
+
return e && (e.host || $a(e.parentNode));
|
|
3003
|
+
}, eo = function(e, t) {
|
|
2998
3004
|
return t.map(function(t) {
|
|
2999
3005
|
if (e.contains(t)) return t;
|
|
3000
|
-
var n =
|
|
3006
|
+
var n = $a(t);
|
|
3001
3007
|
return n && e.contains(n) ? n : (console.error("aria-hidden", t, "in not contained inside", e, ". Doing nothing"), null);
|
|
3002
3008
|
}).filter(function(e) {
|
|
3003
3009
|
return !!e;
|
|
3004
3010
|
});
|
|
3005
|
-
},
|
|
3006
|
-
var i =
|
|
3007
|
-
|
|
3008
|
-
var a =
|
|
3011
|
+
}, to = function(e, t, n, r) {
|
|
3012
|
+
var i = eo(t, Array.isArray(e) ? e : [e]);
|
|
3013
|
+
Za[n] || (Za[n] = /* @__PURE__ */ new WeakMap());
|
|
3014
|
+
var a = Za[n], o = [], s = /* @__PURE__ */ new Set(), c = new Set(i), l = function(e) {
|
|
3009
3015
|
!e || s.has(e) || (s.add(e), l(e.parentNode));
|
|
3010
3016
|
};
|
|
3011
3017
|
i.forEach(l);
|
|
@@ -3013,23 +3019,23 @@ var qa = function(e) {
|
|
|
3013
3019
|
!e || c.has(e) || Array.prototype.forEach.call(e.children, function(e) {
|
|
3014
3020
|
if (s.has(e)) u(e);
|
|
3015
3021
|
else try {
|
|
3016
|
-
var t = e.getAttribute(r), i = t !== null && t !== "false", c = (
|
|
3017
|
-
|
|
3022
|
+
var t = e.getAttribute(r), i = t !== null && t !== "false", c = (Ya.get(e) || 0) + 1, l = (a.get(e) || 0) + 1;
|
|
3023
|
+
Ya.set(e, c), a.set(e, l), o.push(e), c === 1 && i && Xa.set(e, !0), l === 1 && e.setAttribute(n, "true"), i || e.setAttribute(r, "true");
|
|
3018
3024
|
} catch (t) {
|
|
3019
3025
|
console.error("aria-hidden: cannot operate on ", e, t);
|
|
3020
3026
|
}
|
|
3021
3027
|
});
|
|
3022
3028
|
};
|
|
3023
|
-
return u(t), s.clear(),
|
|
3029
|
+
return u(t), s.clear(), Qa++, function() {
|
|
3024
3030
|
o.forEach(function(e) {
|
|
3025
|
-
var t =
|
|
3026
|
-
|
|
3027
|
-
}),
|
|
3031
|
+
var t = Ya.get(e) - 1, i = a.get(e) - 1;
|
|
3032
|
+
Ya.set(e, t), a.set(e, i), t || (Xa.has(e) || e.removeAttribute(r), Xa.delete(e)), i || e.removeAttribute(n);
|
|
3033
|
+
}), Qa--, Qa || (Ya = /* @__PURE__ */ new WeakMap(), Ya = /* @__PURE__ */ new WeakMap(), Xa = /* @__PURE__ */ new WeakMap(), Za = {});
|
|
3028
3034
|
};
|
|
3029
|
-
},
|
|
3035
|
+
}, no = function(e, t, n) {
|
|
3030
3036
|
n === void 0 && (n = "data-aria-hidden");
|
|
3031
|
-
var r = Array.from(Array.isArray(e) ? e : [e]), i = t ||
|
|
3032
|
-
return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live], script"))),
|
|
3037
|
+
var r = Array.from(Array.isArray(e) ? e : [e]), i = t || Ja(e);
|
|
3038
|
+
return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live], script"))), to(r, i, n, "aria-hidden")) : function() {
|
|
3033
3039
|
return null;
|
|
3034
3040
|
};
|
|
3035
3041
|
}, $ = function() {
|
|
@@ -3038,13 +3044,13 @@ var qa = function(e) {
|
|
|
3038
3044
|
return e;
|
|
3039
3045
|
}, $.apply(this, arguments);
|
|
3040
3046
|
};
|
|
3041
|
-
function
|
|
3047
|
+
function ro(e, t) {
|
|
3042
3048
|
var n = {};
|
|
3043
3049
|
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
3044
3050
|
if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++) t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
|
|
3045
3051
|
return n;
|
|
3046
3052
|
}
|
|
3047
|
-
function
|
|
3053
|
+
function io(e, t, n, r) {
|
|
3048
3054
|
function i(e) {
|
|
3049
3055
|
return e instanceof n ? e : new n(function(t) {
|
|
3050
3056
|
t(e);
|
|
@@ -3071,7 +3077,7 @@ function ro(e, t, n, r) {
|
|
|
3071
3077
|
c((r = r.apply(e, t || [])).next());
|
|
3072
3078
|
});
|
|
3073
3079
|
}
|
|
3074
|
-
function
|
|
3080
|
+
function ao(e, t) {
|
|
3075
3081
|
var n = {
|
|
3076
3082
|
label: 0,
|
|
3077
3083
|
sent: function() {
|
|
@@ -3141,7 +3147,7 @@ function io(e, t) {
|
|
|
3141
3147
|
};
|
|
3142
3148
|
}
|
|
3143
3149
|
}
|
|
3144
|
-
function
|
|
3150
|
+
function oo(e, t) {
|
|
3145
3151
|
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
3146
3152
|
if (!n) return e;
|
|
3147
3153
|
var r = n.call(e), i, a = [], o;
|
|
@@ -3158,26 +3164,26 @@ function ao(e, t) {
|
|
|
3158
3164
|
}
|
|
3159
3165
|
return a;
|
|
3160
3166
|
}
|
|
3161
|
-
function
|
|
3162
|
-
for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(
|
|
3167
|
+
function so() {
|
|
3168
|
+
for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(oo(arguments[t]));
|
|
3163
3169
|
return e;
|
|
3164
3170
|
}
|
|
3165
|
-
function
|
|
3171
|
+
function co(e, t, n) {
|
|
3166
3172
|
if (n || arguments.length === 2) for (var r = 0, i = t.length, a; r < i; r++) (a || !(r in t)) && (a ||= Array.prototype.slice.call(t, 0, r), a[r] = t[r]);
|
|
3167
3173
|
return e.concat(a || Array.prototype.slice.call(t));
|
|
3168
3174
|
}
|
|
3169
3175
|
//#endregion
|
|
3170
3176
|
//#region ../node_modules/react-remove-scroll-bar/dist/es2015/constants.js
|
|
3171
|
-
var
|
|
3177
|
+
var lo = "right-scroll-bar-position", uo = "width-before-scroll-bar", fo = "with-scroll-bars-hidden", po = "--removed-body-scroll-bar-size";
|
|
3172
3178
|
//#endregion
|
|
3173
3179
|
//#region ../node_modules/use-callback-ref/dist/es2015/assignRef.js
|
|
3174
|
-
function
|
|
3180
|
+
function mo(e, t) {
|
|
3175
3181
|
return typeof e == "function" ? e(t) : e && (e.current = t), e;
|
|
3176
3182
|
}
|
|
3177
3183
|
//#endregion
|
|
3178
3184
|
//#region ../node_modules/use-callback-ref/dist/es2015/useRef.js
|
|
3179
|
-
function
|
|
3180
|
-
var n = (0,
|
|
3185
|
+
function ho(e, t) {
|
|
3186
|
+
var n = (0, P.useState)(function() {
|
|
3181
3187
|
return {
|
|
3182
3188
|
value: e,
|
|
3183
3189
|
callback: t,
|
|
@@ -3196,33 +3202,33 @@ function mo(e, t) {
|
|
|
3196
3202
|
}
|
|
3197
3203
|
//#endregion
|
|
3198
3204
|
//#region ../node_modules/use-callback-ref/dist/es2015/useMergeRef.js
|
|
3199
|
-
var
|
|
3200
|
-
function
|
|
3201
|
-
var n =
|
|
3205
|
+
var go = typeof window < "u" ? P.useLayoutEffect : P.useEffect, _o = /* @__PURE__ */ new WeakMap();
|
|
3206
|
+
function vo(e, t) {
|
|
3207
|
+
var n = ho(t || null, function(t) {
|
|
3202
3208
|
return e.forEach(function(e) {
|
|
3203
|
-
return
|
|
3209
|
+
return mo(e, t);
|
|
3204
3210
|
});
|
|
3205
3211
|
});
|
|
3206
|
-
return
|
|
3207
|
-
var t =
|
|
3212
|
+
return go(function() {
|
|
3213
|
+
var t = _o.get(n);
|
|
3208
3214
|
if (t) {
|
|
3209
3215
|
var r = new Set(t), i = new Set(e), a = n.current;
|
|
3210
3216
|
r.forEach(function(e) {
|
|
3211
|
-
i.has(e) ||
|
|
3217
|
+
i.has(e) || mo(e, null);
|
|
3212
3218
|
}), i.forEach(function(e) {
|
|
3213
|
-
r.has(e) ||
|
|
3219
|
+
r.has(e) || mo(e, a);
|
|
3214
3220
|
});
|
|
3215
3221
|
}
|
|
3216
|
-
|
|
3222
|
+
_o.set(n, e);
|
|
3217
3223
|
}, [e]), n;
|
|
3218
3224
|
}
|
|
3219
3225
|
//#endregion
|
|
3220
3226
|
//#region ../node_modules/use-sidecar/dist/es2015/medium.js
|
|
3221
|
-
function
|
|
3227
|
+
function yo(e) {
|
|
3222
3228
|
return e;
|
|
3223
3229
|
}
|
|
3224
|
-
function
|
|
3225
|
-
t === void 0 && (t =
|
|
3230
|
+
function bo(e, t) {
|
|
3231
|
+
t === void 0 && (t = yo);
|
|
3226
3232
|
var n = [], r = !1;
|
|
3227
3233
|
return {
|
|
3228
3234
|
read: function() {
|
|
@@ -3275,9 +3281,9 @@ function yo(e, t) {
|
|
|
3275
3281
|
}
|
|
3276
3282
|
};
|
|
3277
3283
|
}
|
|
3278
|
-
function
|
|
3284
|
+
function xo(e) {
|
|
3279
3285
|
e === void 0 && (e = {});
|
|
3280
|
-
var t =
|
|
3286
|
+
var t = bo(null);
|
|
3281
3287
|
return t.options = $({
|
|
3282
3288
|
async: !0,
|
|
3283
3289
|
ssr: !1
|
|
@@ -3285,25 +3291,25 @@ function bo(e) {
|
|
|
3285
3291
|
}
|
|
3286
3292
|
//#endregion
|
|
3287
3293
|
//#region ../node_modules/use-sidecar/dist/es2015/exports.js
|
|
3288
|
-
var
|
|
3289
|
-
var t = e.sideCar, n =
|
|
3294
|
+
var So = function(e) {
|
|
3295
|
+
var t = e.sideCar, n = ro(e, ["sideCar"]);
|
|
3290
3296
|
if (!t) throw Error("Sidecar: please provide `sideCar` property to import the right car");
|
|
3291
3297
|
var r = t.read();
|
|
3292
3298
|
if (!r) throw Error("Sidecar medium not found");
|
|
3293
|
-
return
|
|
3299
|
+
return P.createElement(r, $({}, n));
|
|
3294
3300
|
};
|
|
3295
|
-
|
|
3296
|
-
function
|
|
3297
|
-
return e.useMedium(t),
|
|
3301
|
+
So.isSideCarExport = !0;
|
|
3302
|
+
function Co(e, t) {
|
|
3303
|
+
return e.useMedium(t), So;
|
|
3298
3304
|
}
|
|
3299
3305
|
//#endregion
|
|
3300
3306
|
//#region ../node_modules/react-remove-scroll/dist/es2015/medium.js
|
|
3301
|
-
var
|
|
3302
|
-
var n =
|
|
3303
|
-
onScrollCapture:
|
|
3304
|
-
onWheelCapture:
|
|
3305
|
-
onTouchMoveCapture:
|
|
3306
|
-
}), i = r[0], a = r[1], o = e.forwardProps, s = e.children, c = e.className, l = e.removeScrollBar, u = e.enabled, d = e.shards, f = e.sideCar, p = e.noRelative, m = e.noIsolation, h = e.inert, g = e.allowPinchZoom, _ = e.as, v = _ === void 0 ? "div" : _, y = e.gapMode, b =
|
|
3307
|
+
var wo = xo(), To = function() {}, Eo = P.forwardRef(function(e, t) {
|
|
3308
|
+
var n = P.useRef(null), r = P.useState({
|
|
3309
|
+
onScrollCapture: To,
|
|
3310
|
+
onWheelCapture: To,
|
|
3311
|
+
onTouchMoveCapture: To
|
|
3312
|
+
}), i = r[0], a = r[1], o = e.forwardProps, s = e.children, c = e.className, l = e.removeScrollBar, u = e.enabled, d = e.shards, f = e.sideCar, p = e.noRelative, m = e.noIsolation, h = e.inert, g = e.allowPinchZoom, _ = e.as, v = _ === void 0 ? "div" : _, y = e.gapMode, b = ro(e, [
|
|
3307
3313
|
"forwardProps",
|
|
3308
3314
|
"children",
|
|
3309
3315
|
"className",
|
|
@@ -3317,9 +3323,9 @@ var Co = bo(), wo = function() {}, To = F.forwardRef(function(e, t) {
|
|
|
3317
3323
|
"allowPinchZoom",
|
|
3318
3324
|
"as",
|
|
3319
3325
|
"gapMode"
|
|
3320
|
-
]), x = f, S =
|
|
3321
|
-
return
|
|
3322
|
-
sideCar:
|
|
3326
|
+
]), x = f, S = vo([n, t]), C = $($({}, b), i);
|
|
3327
|
+
return P.createElement(P.Fragment, null, u && P.createElement(x, {
|
|
3328
|
+
sideCar: wo,
|
|
3323
3329
|
removeScrollBar: l,
|
|
3324
3330
|
shards: d,
|
|
3325
3331
|
noRelative: p,
|
|
@@ -3329,96 +3335,96 @@ var Co = bo(), wo = function() {}, To = F.forwardRef(function(e, t) {
|
|
|
3329
3335
|
allowPinchZoom: !!g,
|
|
3330
3336
|
lockRef: n,
|
|
3331
3337
|
gapMode: y
|
|
3332
|
-
}), o ?
|
|
3338
|
+
}), o ? P.cloneElement(P.Children.only(s), $($({}, C), { ref: S })) : P.createElement(v, $({}, C, {
|
|
3333
3339
|
className: c,
|
|
3334
3340
|
ref: S
|
|
3335
3341
|
}), s));
|
|
3336
3342
|
});
|
|
3337
|
-
|
|
3343
|
+
Eo.defaultProps = {
|
|
3338
3344
|
enabled: !0,
|
|
3339
3345
|
removeScrollBar: !0,
|
|
3340
3346
|
inert: !1
|
|
3341
|
-
},
|
|
3342
|
-
fullWidth:
|
|
3343
|
-
zeroRight:
|
|
3347
|
+
}, Eo.classNames = {
|
|
3348
|
+
fullWidth: uo,
|
|
3349
|
+
zeroRight: lo
|
|
3344
3350
|
};
|
|
3345
3351
|
//#endregion
|
|
3346
3352
|
//#region ../node_modules/get-nonce/dist/es2015/index.js
|
|
3347
|
-
var
|
|
3348
|
-
if (
|
|
3353
|
+
var Do, Oo = function() {
|
|
3354
|
+
if (Do) return Do;
|
|
3349
3355
|
if (typeof __webpack_nonce__ < "u") return __webpack_nonce__;
|
|
3350
3356
|
};
|
|
3351
3357
|
//#endregion
|
|
3352
3358
|
//#region ../node_modules/react-style-singleton/dist/es2015/singleton.js
|
|
3353
|
-
function
|
|
3359
|
+
function ko() {
|
|
3354
3360
|
if (!document) return null;
|
|
3355
3361
|
var e = document.createElement("style");
|
|
3356
3362
|
e.type = "text/css";
|
|
3357
|
-
var t =
|
|
3363
|
+
var t = Oo();
|
|
3358
3364
|
return t && e.setAttribute("nonce", t), e;
|
|
3359
3365
|
}
|
|
3360
|
-
function
|
|
3366
|
+
function Ao(e, t) {
|
|
3361
3367
|
e.styleSheet ? e.styleSheet.cssText = t : e.appendChild(document.createTextNode(t));
|
|
3362
3368
|
}
|
|
3363
|
-
function
|
|
3369
|
+
function jo(e) {
|
|
3364
3370
|
(document.head || document.getElementsByTagName("head")[0]).appendChild(e);
|
|
3365
3371
|
}
|
|
3366
|
-
var
|
|
3372
|
+
var Mo = function() {
|
|
3367
3373
|
var e = 0, t = null;
|
|
3368
3374
|
return {
|
|
3369
3375
|
add: function(n) {
|
|
3370
|
-
e == 0 && (t =
|
|
3376
|
+
e == 0 && (t = ko()) && (Ao(t, n), jo(t)), e++;
|
|
3371
3377
|
},
|
|
3372
3378
|
remove: function() {
|
|
3373
3379
|
e--, !e && t && (t.parentNode && t.parentNode.removeChild(t), t = null);
|
|
3374
3380
|
}
|
|
3375
3381
|
};
|
|
3376
|
-
},
|
|
3377
|
-
var e =
|
|
3382
|
+
}, No = function() {
|
|
3383
|
+
var e = Mo();
|
|
3378
3384
|
return function(t, n) {
|
|
3379
|
-
|
|
3385
|
+
P.useEffect(function() {
|
|
3380
3386
|
return e.add(t), function() {
|
|
3381
3387
|
e.remove();
|
|
3382
3388
|
};
|
|
3383
3389
|
}, [t && n]);
|
|
3384
3390
|
};
|
|
3385
|
-
},
|
|
3386
|
-
var e =
|
|
3391
|
+
}, Po = function() {
|
|
3392
|
+
var e = No();
|
|
3387
3393
|
return function(t) {
|
|
3388
3394
|
var n = t.styles, r = t.dynamic;
|
|
3389
3395
|
return e(n, r), null;
|
|
3390
3396
|
};
|
|
3391
|
-
},
|
|
3397
|
+
}, Fo = {
|
|
3392
3398
|
left: 0,
|
|
3393
3399
|
top: 0,
|
|
3394
3400
|
right: 0,
|
|
3395
3401
|
gap: 0
|
|
3396
|
-
}, Fo = function(e) {
|
|
3397
|
-
return parseInt(e || "", 10) || 0;
|
|
3398
3402
|
}, Io = function(e) {
|
|
3403
|
+
return parseInt(e || "", 10) || 0;
|
|
3404
|
+
}, Lo = function(e) {
|
|
3399
3405
|
var t = window.getComputedStyle(document.body), n = t[e === "padding" ? "paddingLeft" : "marginLeft"], r = t[e === "padding" ? "paddingTop" : "marginTop"], i = t[e === "padding" ? "paddingRight" : "marginRight"];
|
|
3400
3406
|
return [
|
|
3401
|
-
|
|
3402
|
-
|
|
3403
|
-
|
|
3407
|
+
Io(n),
|
|
3408
|
+
Io(r),
|
|
3409
|
+
Io(i)
|
|
3404
3410
|
];
|
|
3405
|
-
},
|
|
3406
|
-
if (e === void 0 && (e = "margin"), typeof window > "u") return
|
|
3407
|
-
var t =
|
|
3411
|
+
}, Ro = function(e) {
|
|
3412
|
+
if (e === void 0 && (e = "margin"), typeof window > "u") return Fo;
|
|
3413
|
+
var t = Lo(e), n = document.documentElement.clientWidth, r = window.innerWidth;
|
|
3408
3414
|
return {
|
|
3409
3415
|
left: t[0],
|
|
3410
3416
|
top: t[1],
|
|
3411
3417
|
right: t[2],
|
|
3412
3418
|
gap: Math.max(0, r - n + t[2] - t[0])
|
|
3413
3419
|
};
|
|
3414
|
-
},
|
|
3420
|
+
}, zo = Po(), Bo = "data-scroll-locked", Vo = function(e, t, n, r) {
|
|
3415
3421
|
var i = e.left, a = e.top, o = e.right, s = e.gap;
|
|
3416
3422
|
return n === void 0 && (n = "margin"), `
|
|
3417
|
-
.${
|
|
3423
|
+
.${fo} {
|
|
3418
3424
|
overflow: hidden ${r};
|
|
3419
3425
|
padding-right: ${s}px ${r};
|
|
3420
3426
|
}
|
|
3421
|
-
body[${
|
|
3427
|
+
body[${Bo}] {
|
|
3422
3428
|
overflow: hidden ${r};
|
|
3423
3429
|
overscroll-behavior: contain;
|
|
3424
3430
|
${[
|
|
@@ -3435,122 +3441,122 @@ var jo = function() {
|
|
|
3435
3441
|
].filter(Boolean).join("")}
|
|
3436
3442
|
}
|
|
3437
3443
|
|
|
3438
|
-
.${
|
|
3444
|
+
.${lo} {
|
|
3439
3445
|
right: ${s}px ${r};
|
|
3440
3446
|
}
|
|
3441
3447
|
|
|
3442
|
-
.${
|
|
3448
|
+
.${uo} {
|
|
3443
3449
|
margin-right: ${s}px ${r};
|
|
3444
3450
|
}
|
|
3445
3451
|
|
|
3446
|
-
.${
|
|
3452
|
+
.${lo} .${lo} {
|
|
3447
3453
|
right: 0 ${r};
|
|
3448
3454
|
}
|
|
3449
3455
|
|
|
3450
|
-
.${
|
|
3456
|
+
.${uo} .${uo} {
|
|
3451
3457
|
margin-right: 0 ${r};
|
|
3452
3458
|
}
|
|
3453
3459
|
|
|
3454
|
-
body[${
|
|
3455
|
-
${
|
|
3460
|
+
body[${Bo}] {
|
|
3461
|
+
${po}: ${s}px;
|
|
3456
3462
|
}
|
|
3457
3463
|
`;
|
|
3458
|
-
},
|
|
3464
|
+
}, Ho = function() {
|
|
3459
3465
|
var e = parseInt(document.body.getAttribute("data-scroll-locked") || "0", 10);
|
|
3460
3466
|
return isFinite(e) ? e : 0;
|
|
3461
|
-
},
|
|
3462
|
-
|
|
3463
|
-
return document.body.setAttribute(
|
|
3464
|
-
var e =
|
|
3465
|
-
e <= 0 ? document.body.removeAttribute(
|
|
3467
|
+
}, Uo = function() {
|
|
3468
|
+
P.useEffect(function() {
|
|
3469
|
+
return document.body.setAttribute(Bo, (Ho() + 1).toString()), function() {
|
|
3470
|
+
var e = Ho() - 1;
|
|
3471
|
+
e <= 0 ? document.body.removeAttribute(Bo) : document.body.setAttribute(Bo, e.toString());
|
|
3466
3472
|
};
|
|
3467
3473
|
}, []);
|
|
3468
|
-
},
|
|
3474
|
+
}, Wo = function(e) {
|
|
3469
3475
|
var t = e.noRelative, n = e.noImportant, r = e.gapMode, i = r === void 0 ? "margin" : r;
|
|
3470
|
-
|
|
3471
|
-
var a =
|
|
3472
|
-
return
|
|
3476
|
+
Uo();
|
|
3477
|
+
var a = P.useMemo(function() {
|
|
3478
|
+
return Ro(i);
|
|
3473
3479
|
}, [i]);
|
|
3474
|
-
return
|
|
3475
|
-
},
|
|
3480
|
+
return P.createElement(zo, { styles: Vo(a, !t, i, n ? "" : "!important") });
|
|
3481
|
+
}, Go = !1;
|
|
3476
3482
|
if (typeof window < "u") try {
|
|
3477
|
-
var
|
|
3478
|
-
return
|
|
3483
|
+
var Ko = Object.defineProperty({}, "passive", { get: function() {
|
|
3484
|
+
return Go = !0, !0;
|
|
3479
3485
|
} });
|
|
3480
|
-
window.addEventListener("test",
|
|
3486
|
+
window.addEventListener("test", Ko, Ko), window.removeEventListener("test", Ko, Ko);
|
|
3481
3487
|
} catch {
|
|
3482
|
-
|
|
3488
|
+
Go = !1;
|
|
3483
3489
|
}
|
|
3484
|
-
var
|
|
3490
|
+
var qo = Go ? { passive: !1 } : !1, Jo = function(e) {
|
|
3485
3491
|
return e.tagName === "TEXTAREA";
|
|
3486
|
-
},
|
|
3492
|
+
}, Yo = function(e, t) {
|
|
3487
3493
|
if (!(e instanceof Element)) return !1;
|
|
3488
3494
|
var n = window.getComputedStyle(e);
|
|
3489
|
-
return n[t] !== "hidden" && !(n.overflowY === n.overflowX && !
|
|
3490
|
-
}, Yo = function(e) {
|
|
3491
|
-
return Jo(e, "overflowY");
|
|
3495
|
+
return n[t] !== "hidden" && !(n.overflowY === n.overflowX && !Jo(e) && n[t] === "visible");
|
|
3492
3496
|
}, Xo = function(e) {
|
|
3493
|
-
return
|
|
3494
|
-
}, Zo = function(e
|
|
3497
|
+
return Yo(e, "overflowY");
|
|
3498
|
+
}, Zo = function(e) {
|
|
3499
|
+
return Yo(e, "overflowX");
|
|
3500
|
+
}, Qo = function(e, t) {
|
|
3495
3501
|
var n = t.ownerDocument, r = t;
|
|
3496
3502
|
do {
|
|
3497
|
-
if (typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host),
|
|
3498
|
-
var i =
|
|
3503
|
+
if (typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host), ts(e, r)) {
|
|
3504
|
+
var i = ns(e, r);
|
|
3499
3505
|
if (i[1] > i[2]) return !0;
|
|
3500
3506
|
}
|
|
3501
3507
|
r = r.parentNode;
|
|
3502
3508
|
} while (r && r !== n.body);
|
|
3503
3509
|
return !1;
|
|
3504
|
-
},
|
|
3510
|
+
}, $o = function(e) {
|
|
3505
3511
|
return [
|
|
3506
3512
|
e.scrollTop,
|
|
3507
3513
|
e.scrollHeight,
|
|
3508
3514
|
e.clientHeight
|
|
3509
3515
|
];
|
|
3510
|
-
},
|
|
3516
|
+
}, es = function(e) {
|
|
3511
3517
|
return [
|
|
3512
3518
|
e.scrollLeft,
|
|
3513
3519
|
e.scrollWidth,
|
|
3514
3520
|
e.clientWidth
|
|
3515
3521
|
];
|
|
3516
|
-
}, es = function(e, t) {
|
|
3517
|
-
return e === "v" ? Yo(t) : Xo(t);
|
|
3518
3522
|
}, ts = function(e, t) {
|
|
3519
|
-
return e === "v" ?
|
|
3523
|
+
return e === "v" ? Xo(t) : Zo(t);
|
|
3520
3524
|
}, ns = function(e, t) {
|
|
3525
|
+
return e === "v" ? $o(t) : es(t);
|
|
3526
|
+
}, rs = function(e, t) {
|
|
3521
3527
|
return e === "h" && t === "rtl" ? -1 : 1;
|
|
3522
|
-
},
|
|
3523
|
-
var a =
|
|
3528
|
+
}, is = function(e, t, n, r, i) {
|
|
3529
|
+
var a = rs(e, window.getComputedStyle(t).direction), o = a * r, s = n.target, c = t.contains(s), l = !1, u = o > 0, d = 0, f = 0;
|
|
3524
3530
|
do {
|
|
3525
3531
|
if (!s) break;
|
|
3526
|
-
var p =
|
|
3527
|
-
(m || h) &&
|
|
3532
|
+
var p = ns(e, s), m = p[0], h = p[1] - p[2] - a * m;
|
|
3533
|
+
(m || h) && ts(e, s) && (d += h, f += m);
|
|
3528
3534
|
var g = s.parentNode;
|
|
3529
3535
|
s = g && g.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? g.host : g;
|
|
3530
3536
|
} while (!c && s !== document.body || c && (t.contains(s) || t === s));
|
|
3531
3537
|
return (u && (i && Math.abs(d) < 1 || !i && o > d) || !u && (i && Math.abs(f) < 1 || !i && -o > f)) && (l = !0), l;
|
|
3532
|
-
}, is = function(e) {
|
|
3533
|
-
return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
|
|
3534
3538
|
}, as = function(e) {
|
|
3535
|
-
return [e.
|
|
3539
|
+
return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
|
|
3536
3540
|
}, os = function(e) {
|
|
3541
|
+
return [e.deltaX, e.deltaY];
|
|
3542
|
+
}, ss = function(e) {
|
|
3537
3543
|
return e && "current" in e ? e.current : e;
|
|
3538
|
-
},
|
|
3544
|
+
}, cs = function(e, t) {
|
|
3539
3545
|
return e[0] === t[0] && e[1] === t[1];
|
|
3540
|
-
},
|
|
3546
|
+
}, ls = function(e) {
|
|
3541
3547
|
return `
|
|
3542
3548
|
.block-interactivity-${e} {pointer-events: none;}
|
|
3543
3549
|
.allow-interactivity-${e} {pointer-events: all;}
|
|
3544
3550
|
`;
|
|
3545
|
-
},
|
|
3546
|
-
function
|
|
3547
|
-
var t =
|
|
3548
|
-
|
|
3551
|
+
}, us = 0, ds = [];
|
|
3552
|
+
function fs(e) {
|
|
3553
|
+
var t = P.useRef([]), n = P.useRef([0, 0]), r = P.useRef(), i = P.useState(us++)[0], a = P.useState(Po)[0], o = P.useRef(e);
|
|
3554
|
+
P.useEffect(function() {
|
|
3549
3555
|
o.current = e;
|
|
3550
|
-
}, [e]),
|
|
3556
|
+
}, [e]), P.useEffect(function() {
|
|
3551
3557
|
if (e.inert) {
|
|
3552
3558
|
document.body.classList.add(`block-interactivity-${i}`);
|
|
3553
|
-
var t =
|
|
3559
|
+
var t = co([e.lockRef.current], (e.shards || []).map(ss), !0).filter(Boolean);
|
|
3554
3560
|
return t.forEach(function(e) {
|
|
3555
3561
|
return e.classList.add(`allow-interactivity-${i}`);
|
|
3556
3562
|
}), function() {
|
|
@@ -3564,147 +3570,147 @@ function ds(e) {
|
|
|
3564
3570
|
e.lockRef.current,
|
|
3565
3571
|
e.shards
|
|
3566
3572
|
]);
|
|
3567
|
-
var s =
|
|
3573
|
+
var s = P.useCallback(function(e, t) {
|
|
3568
3574
|
if ("touches" in e && e.touches.length === 2 || e.type === "wheel" && e.ctrlKey) return !o.current.allowPinchZoom;
|
|
3569
|
-
var i =
|
|
3575
|
+
var i = as(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";
|
|
3570
3576
|
if ("touches" in e && d === "h" && u.type === "range") return !1;
|
|
3571
3577
|
var f = window.getSelection(), p = f && f.anchorNode;
|
|
3572
3578
|
if (p && (p === u || p.contains(u))) return !1;
|
|
3573
|
-
var m =
|
|
3579
|
+
var m = Qo(d, u);
|
|
3574
3580
|
if (!m) return !0;
|
|
3575
|
-
if (m ? l = d : (l = d === "v" ? "h" : "v", m =
|
|
3581
|
+
if (m ? l = d : (l = d === "v" ? "h" : "v", m = Qo(d, u)), !m) return !1;
|
|
3576
3582
|
if (!r.current && "changedTouches" in e && (s || c) && (r.current = l), !l) return !0;
|
|
3577
3583
|
var h = r.current || l;
|
|
3578
|
-
return
|
|
3579
|
-
}, []), c =
|
|
3584
|
+
return is(h, t, e, h === "h" ? s : c, !0);
|
|
3585
|
+
}, []), c = P.useCallback(function(e) {
|
|
3580
3586
|
var n = e;
|
|
3581
|
-
if (!(!
|
|
3582
|
-
var r = "deltaY" in n ?
|
|
3583
|
-
return e.name === n.type && (e.target === n.target || n.target === e.shadowParent) &&
|
|
3587
|
+
if (!(!ds.length || ds[ds.length - 1] !== a)) {
|
|
3588
|
+
var r = "deltaY" in n ? os(n) : as(n), i = t.current.filter(function(e) {
|
|
3589
|
+
return e.name === n.type && (e.target === n.target || n.target === e.shadowParent) && cs(e.delta, r);
|
|
3584
3590
|
})[0];
|
|
3585
3591
|
if (i && i.should) {
|
|
3586
3592
|
n.cancelable && n.preventDefault();
|
|
3587
3593
|
return;
|
|
3588
3594
|
}
|
|
3589
3595
|
if (!i) {
|
|
3590
|
-
var c = (o.current.shards || []).map(
|
|
3596
|
+
var c = (o.current.shards || []).map(ss).filter(Boolean).filter(function(e) {
|
|
3591
3597
|
return e.contains(n.target);
|
|
3592
3598
|
});
|
|
3593
3599
|
(c.length > 0 ? s(n, c[0]) : !o.current.noIsolation) && n.cancelable && n.preventDefault();
|
|
3594
3600
|
}
|
|
3595
3601
|
}
|
|
3596
|
-
}, []), l =
|
|
3602
|
+
}, []), l = P.useCallback(function(e, n, r, i) {
|
|
3597
3603
|
var a = {
|
|
3598
3604
|
name: e,
|
|
3599
3605
|
delta: n,
|
|
3600
3606
|
target: r,
|
|
3601
3607
|
should: i,
|
|
3602
|
-
shadowParent:
|
|
3608
|
+
shadowParent: ps(r)
|
|
3603
3609
|
};
|
|
3604
3610
|
t.current.push(a), setTimeout(function() {
|
|
3605
3611
|
t.current = t.current.filter(function(e) {
|
|
3606
3612
|
return e !== a;
|
|
3607
3613
|
});
|
|
3608
3614
|
}, 1);
|
|
3609
|
-
}, []), u =
|
|
3610
|
-
n.current =
|
|
3611
|
-
}, []), d =
|
|
3615
|
+
}, []), u = P.useCallback(function(e) {
|
|
3616
|
+
n.current = as(e), r.current = void 0;
|
|
3617
|
+
}, []), d = P.useCallback(function(t) {
|
|
3618
|
+
l(t.type, os(t), t.target, s(t, e.lockRef.current));
|
|
3619
|
+
}, []), f = P.useCallback(function(t) {
|
|
3612
3620
|
l(t.type, as(t), t.target, s(t, e.lockRef.current));
|
|
3613
|
-
}, []), f = F.useCallback(function(t) {
|
|
3614
|
-
l(t.type, is(t), t.target, s(t, e.lockRef.current));
|
|
3615
3621
|
}, []);
|
|
3616
|
-
|
|
3617
|
-
return
|
|
3622
|
+
P.useEffect(function() {
|
|
3623
|
+
return ds.push(a), e.setCallbacks({
|
|
3618
3624
|
onScrollCapture: d,
|
|
3619
3625
|
onWheelCapture: d,
|
|
3620
3626
|
onTouchMoveCapture: f
|
|
3621
|
-
}), document.addEventListener("wheel", c,
|
|
3622
|
-
|
|
3627
|
+
}), document.addEventListener("wheel", c, qo), document.addEventListener("touchmove", c, qo), document.addEventListener("touchstart", u, qo), function() {
|
|
3628
|
+
ds = ds.filter(function(e) {
|
|
3623
3629
|
return e !== a;
|
|
3624
|
-
}), document.removeEventListener("wheel", c,
|
|
3630
|
+
}), document.removeEventListener("wheel", c, qo), document.removeEventListener("touchmove", c, qo), document.removeEventListener("touchstart", u, qo);
|
|
3625
3631
|
};
|
|
3626
3632
|
}, []);
|
|
3627
3633
|
var p = e.removeScrollBar, m = e.inert;
|
|
3628
|
-
return
|
|
3634
|
+
return P.createElement(P.Fragment, null, m ? P.createElement(a, { styles: ls(i) }) : null, p ? P.createElement(Wo, {
|
|
3629
3635
|
noRelative: e.noRelative,
|
|
3630
3636
|
gapMode: e.gapMode
|
|
3631
3637
|
}) : null);
|
|
3632
3638
|
}
|
|
3633
|
-
function
|
|
3639
|
+
function ps(e) {
|
|
3634
3640
|
for (var t = null; e !== null;) e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
|
|
3635
3641
|
return t;
|
|
3636
3642
|
}
|
|
3637
3643
|
//#endregion
|
|
3638
3644
|
//#region ../node_modules/react-remove-scroll/dist/es2015/sidecar.js
|
|
3639
|
-
var
|
|
3640
|
-
return
|
|
3645
|
+
var ms = Co(wo, fs), hs = P.forwardRef(function(e, t) {
|
|
3646
|
+
return P.createElement(Eo, $({}, e, {
|
|
3641
3647
|
ref: t,
|
|
3642
|
-
sideCar:
|
|
3648
|
+
sideCar: ms
|
|
3643
3649
|
}));
|
|
3644
3650
|
});
|
|
3645
|
-
|
|
3651
|
+
hs.classNames = Eo.classNames;
|
|
3646
3652
|
//#endregion
|
|
3647
3653
|
//#region ../node_modules/@radix-ui/react-popover/dist/index.mjs
|
|
3648
|
-
var
|
|
3649
|
-
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, s =
|
|
3654
|
+
var gs = "Popover", [_s, vs] = _n(gs, [_a]), ys = _a(), [bs, xs] = _s(gs), Ss = (e) => {
|
|
3655
|
+
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, s = ys(t), c = P.useRef(null), [l, u] = P.useState(!1), [d, f] = Ga({
|
|
3650
3656
|
prop: r,
|
|
3651
3657
|
defaultProp: i ?? !1,
|
|
3652
3658
|
onChange: a,
|
|
3653
|
-
caller:
|
|
3659
|
+
caller: gs
|
|
3654
3660
|
});
|
|
3655
|
-
return /* @__PURE__ */ (0,
|
|
3661
|
+
return /* @__PURE__ */ (0, F.jsx)(Na, {
|
|
3656
3662
|
...s,
|
|
3657
|
-
children: /* @__PURE__ */ (0,
|
|
3663
|
+
children: /* @__PURE__ */ (0, F.jsx)(bs, {
|
|
3658
3664
|
scope: t,
|
|
3659
|
-
contentId:
|
|
3665
|
+
contentId: lr(),
|
|
3660
3666
|
triggerRef: c,
|
|
3661
3667
|
open: d,
|
|
3662
3668
|
onOpenChange: f,
|
|
3663
|
-
onOpenToggle:
|
|
3669
|
+
onOpenToggle: P.useCallback(() => f((e) => !e), [f]),
|
|
3664
3670
|
hasCustomAnchor: l,
|
|
3665
|
-
onCustomAnchorAdd:
|
|
3666
|
-
onCustomAnchorRemove:
|
|
3671
|
+
onCustomAnchorAdd: P.useCallback(() => u(!0), []),
|
|
3672
|
+
onCustomAnchorRemove: P.useCallback(() => u(!1), []),
|
|
3667
3673
|
modal: o,
|
|
3668
3674
|
children: n
|
|
3669
3675
|
})
|
|
3670
3676
|
});
|
|
3671
3677
|
};
|
|
3672
|
-
|
|
3673
|
-
var
|
|
3674
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3675
|
-
return
|
|
3678
|
+
Ss.displayName = gs;
|
|
3679
|
+
var Cs = "PopoverAnchor", ws = P.forwardRef((e, t) => {
|
|
3680
|
+
let { __scopePopover: n, ...r } = e, i = xs(Cs, n), a = ys(n), { onCustomAnchorAdd: o, onCustomAnchorRemove: s } = i;
|
|
3681
|
+
return P.useEffect(() => (o(), () => s()), [o, s]), /* @__PURE__ */ (0, F.jsx)(Pa, {
|
|
3676
3682
|
...a,
|
|
3677
3683
|
...r,
|
|
3678
3684
|
ref: t
|
|
3679
3685
|
});
|
|
3680
3686
|
});
|
|
3681
|
-
|
|
3682
|
-
var
|
|
3683
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3687
|
+
ws.displayName = Cs;
|
|
3688
|
+
var Ts = "PopoverTrigger", Es = P.forwardRef((e, t) => {
|
|
3689
|
+
let { __scopePopover: n, ...r } = e, i = xs(Ts, n), a = ys(n), o = B(t, i.triggerRef), s = /* @__PURE__ */ (0, F.jsx)(V.button, {
|
|
3684
3690
|
type: "button",
|
|
3685
3691
|
"aria-haspopup": "dialog",
|
|
3686
3692
|
"aria-expanded": i.open,
|
|
3687
3693
|
"aria-controls": i.contentId,
|
|
3688
|
-
"data-state":
|
|
3694
|
+
"data-state": Vs(i.open),
|
|
3689
3695
|
...r,
|
|
3690
3696
|
ref: o,
|
|
3691
|
-
onClick:
|
|
3697
|
+
onClick: z(e.onClick, i.onOpenToggle)
|
|
3692
3698
|
});
|
|
3693
|
-
return i.hasCustomAnchor ? s : /* @__PURE__ */ (0,
|
|
3699
|
+
return i.hasCustomAnchor ? s : /* @__PURE__ */ (0, F.jsx)(Pa, {
|
|
3694
3700
|
asChild: !0,
|
|
3695
3701
|
...a,
|
|
3696
3702
|
children: s
|
|
3697
3703
|
});
|
|
3698
3704
|
});
|
|
3699
|
-
|
|
3700
|
-
var
|
|
3701
|
-
let { __scopePopover: t, forceMount: n, children: r, container: i } = e, a =
|
|
3702
|
-
return /* @__PURE__ */ (0,
|
|
3705
|
+
Es.displayName = Ts;
|
|
3706
|
+
var Ds = "PopoverPortal", [Os, ks] = _s(Ds, { forceMount: void 0 }), As = (e) => {
|
|
3707
|
+
let { __scopePopover: t, forceMount: n, children: r, container: i } = e, a = xs(Ds, t);
|
|
3708
|
+
return /* @__PURE__ */ (0, F.jsx)(Os, {
|
|
3703
3709
|
scope: t,
|
|
3704
3710
|
forceMount: n,
|
|
3705
|
-
children: /* @__PURE__ */ (0,
|
|
3711
|
+
children: /* @__PURE__ */ (0, F.jsx)(Ba, {
|
|
3706
3712
|
present: n || a.open,
|
|
3707
|
-
children: /* @__PURE__ */ (0,
|
|
3713
|
+
children: /* @__PURE__ */ (0, F.jsx)(Ra, {
|
|
3708
3714
|
asChild: !0,
|
|
3709
3715
|
container: i,
|
|
3710
3716
|
children: r
|
|
@@ -3712,47 +3718,47 @@ var Es = "PopoverPortal", [Ds, Os] = gs(Es, { forceMount: void 0 }), ks = (e) =>
|
|
|
3712
3718
|
})
|
|
3713
3719
|
});
|
|
3714
3720
|
};
|
|
3715
|
-
|
|
3716
|
-
var
|
|
3717
|
-
let n =
|
|
3718
|
-
return /* @__PURE__ */ (0,
|
|
3721
|
+
As.displayName = Ds;
|
|
3722
|
+
var js = "PopoverContent", Ms = P.forwardRef((e, t) => {
|
|
3723
|
+
let n = ks(js, e.__scopePopover), { forceMount: r = n.forceMount, ...i } = e, a = xs(js, e.__scopePopover);
|
|
3724
|
+
return /* @__PURE__ */ (0, F.jsx)(Ba, {
|
|
3719
3725
|
present: r || a.open,
|
|
3720
|
-
children: a.modal ? /* @__PURE__ */ (0,
|
|
3726
|
+
children: a.modal ? /* @__PURE__ */ (0, F.jsx)(Ps, {
|
|
3721
3727
|
...i,
|
|
3722
3728
|
ref: t
|
|
3723
|
-
}) : /* @__PURE__ */ (0,
|
|
3729
|
+
}) : /* @__PURE__ */ (0, F.jsx)(Fs, {
|
|
3724
3730
|
...i,
|
|
3725
3731
|
ref: t
|
|
3726
3732
|
})
|
|
3727
3733
|
});
|
|
3728
3734
|
});
|
|
3729
|
-
|
|
3730
|
-
var
|
|
3731
|
-
let n =
|
|
3732
|
-
return
|
|
3735
|
+
Ms.displayName = js;
|
|
3736
|
+
var Ns = /* @__PURE__ */ yn("PopoverContent.RemoveScroll"), Ps = P.forwardRef((e, t) => {
|
|
3737
|
+
let n = xs(js, e.__scopePopover), r = P.useRef(null), i = B(t, r), a = P.useRef(!1);
|
|
3738
|
+
return P.useEffect(() => {
|
|
3733
3739
|
let e = r.current;
|
|
3734
|
-
if (e) return
|
|
3735
|
-
}, []), /* @__PURE__ */ (0,
|
|
3736
|
-
as:
|
|
3740
|
+
if (e) return no(e);
|
|
3741
|
+
}, []), /* @__PURE__ */ (0, F.jsx)(hs, {
|
|
3742
|
+
as: Ns,
|
|
3737
3743
|
allowPinchZoom: !0,
|
|
3738
|
-
children: /* @__PURE__ */ (0,
|
|
3744
|
+
children: /* @__PURE__ */ (0, F.jsx)(Is, {
|
|
3739
3745
|
...e,
|
|
3740
3746
|
ref: i,
|
|
3741
3747
|
trapFocus: n.open,
|
|
3742
3748
|
disableOutsidePointerEvents: !0,
|
|
3743
|
-
onCloseAutoFocus:
|
|
3749
|
+
onCloseAutoFocus: z(e.onCloseAutoFocus, (e) => {
|
|
3744
3750
|
e.preventDefault(), a.current || n.triggerRef.current?.focus();
|
|
3745
3751
|
}),
|
|
3746
|
-
onPointerDownOutside:
|
|
3752
|
+
onPointerDownOutside: z(e.onPointerDownOutside, (e) => {
|
|
3747
3753
|
let t = e.detail.originalEvent, n = t.button === 0 && t.ctrlKey === !0;
|
|
3748
3754
|
a.current = t.button === 2 || n;
|
|
3749
3755
|
}, { checkForDefaultPrevented: !1 }),
|
|
3750
|
-
onFocusOutside:
|
|
3756
|
+
onFocusOutside: z(e.onFocusOutside, (e) => e.preventDefault(), { checkForDefaultPrevented: !1 })
|
|
3751
3757
|
})
|
|
3752
3758
|
});
|
|
3753
|
-
}),
|
|
3754
|
-
let n =
|
|
3755
|
-
return /* @__PURE__ */ (0,
|
|
3759
|
+
}), Fs = P.forwardRef((e, t) => {
|
|
3760
|
+
let n = xs(js, e.__scopePopover), r = P.useRef(!1), i = P.useRef(!1);
|
|
3761
|
+
return /* @__PURE__ */ (0, F.jsx)(Is, {
|
|
3756
3762
|
...e,
|
|
3757
3763
|
ref: t,
|
|
3758
3764
|
trapFocus: !1,
|
|
@@ -3766,15 +3772,15 @@ var Ms = /* @__PURE__ */ _n("PopoverContent.RemoveScroll"), Ns = F.forwardRef((e
|
|
|
3766
3772
|
n.triggerRef.current?.contains(a) && t.preventDefault(), t.detail.originalEvent.type === "focusin" && i.current && t.preventDefault();
|
|
3767
3773
|
}
|
|
3768
3774
|
});
|
|
3769
|
-
}),
|
|
3770
|
-
let { __scopePopover: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, disableOutsidePointerEvents: o, onEscapeKeyDown: s, onPointerDownOutside: c, onFocusOutside: l, onInteractOutside: u, ...d } = e, f =
|
|
3771
|
-
return
|
|
3775
|
+
}), Is = P.forwardRef((e, t) => {
|
|
3776
|
+
let { __scopePopover: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, disableOutsidePointerEvents: o, onEscapeKeyDown: s, onPointerDownOutside: c, onFocusOutside: l, onInteractOutside: u, ...d } = e, f = xs(js, n), p = ys(n);
|
|
3777
|
+
return Hn(), /* @__PURE__ */ (0, F.jsx)(Jn, {
|
|
3772
3778
|
asChild: !0,
|
|
3773
3779
|
loop: !0,
|
|
3774
3780
|
trapped: r,
|
|
3775
3781
|
onMountAutoFocus: i,
|
|
3776
3782
|
onUnmountAutoFocus: a,
|
|
3777
|
-
children: /* @__PURE__ */ (0,
|
|
3783
|
+
children: /* @__PURE__ */ (0, F.jsx)(Pn, {
|
|
3778
3784
|
asChild: !0,
|
|
3779
3785
|
disableOutsidePointerEvents: o,
|
|
3780
3786
|
onInteractOutside: u,
|
|
@@ -3782,8 +3788,8 @@ var Ms = /* @__PURE__ */ _n("PopoverContent.RemoveScroll"), Ns = F.forwardRef((e
|
|
|
3782
3788
|
onPointerDownOutside: c,
|
|
3783
3789
|
onFocusOutside: l,
|
|
3784
3790
|
onDismiss: () => f.onOpenChange(!1),
|
|
3785
|
-
children: /* @__PURE__ */ (0,
|
|
3786
|
-
"data-state":
|
|
3791
|
+
children: /* @__PURE__ */ (0, F.jsx)(Fa, {
|
|
3792
|
+
"data-state": Vs(f.open),
|
|
3787
3793
|
role: "dialog",
|
|
3788
3794
|
id: f.contentId,
|
|
3789
3795
|
...p,
|
|
@@ -3800,199 +3806,199 @@ var Ms = /* @__PURE__ */ _n("PopoverContent.RemoveScroll"), Ns = F.forwardRef((e
|
|
|
3800
3806
|
})
|
|
3801
3807
|
})
|
|
3802
3808
|
});
|
|
3803
|
-
}),
|
|
3804
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3805
|
-
return /* @__PURE__ */ (0,
|
|
3809
|
+
}), Ls = "PopoverClose", Rs = P.forwardRef((e, t) => {
|
|
3810
|
+
let { __scopePopover: n, ...r } = e, i = xs(Ls, n);
|
|
3811
|
+
return /* @__PURE__ */ (0, F.jsx)(V.button, {
|
|
3806
3812
|
type: "button",
|
|
3807
3813
|
...r,
|
|
3808
3814
|
ref: t,
|
|
3809
|
-
onClick:
|
|
3815
|
+
onClick: z(e.onClick, () => i.onOpenChange(!1))
|
|
3810
3816
|
});
|
|
3811
3817
|
});
|
|
3812
|
-
|
|
3813
|
-
var
|
|
3814
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3815
|
-
return /* @__PURE__ */ (0,
|
|
3818
|
+
Rs.displayName = Ls;
|
|
3819
|
+
var zs = "PopoverArrow", Bs = P.forwardRef((e, t) => {
|
|
3820
|
+
let { __scopePopover: n, ...r } = e, i = ys(n);
|
|
3821
|
+
return /* @__PURE__ */ (0, F.jsx)(Ia, {
|
|
3816
3822
|
...i,
|
|
3817
3823
|
...r,
|
|
3818
3824
|
ref: t
|
|
3819
3825
|
});
|
|
3820
3826
|
});
|
|
3821
|
-
|
|
3822
|
-
function
|
|
3827
|
+
Bs.displayName = zs;
|
|
3828
|
+
function Vs(e) {
|
|
3823
3829
|
return e ? "open" : "closed";
|
|
3824
3830
|
}
|
|
3825
|
-
var
|
|
3831
|
+
var Hs = Ss, Us = Es, Ws = Ms, Gs = Bs, Ks = ({ message: e, trigger: t, initialVisibility: n = !1 }) => /* @__PURE__ */ (0, F.jsxs)(Hs, {
|
|
3826
3832
|
defaultOpen: n,
|
|
3827
|
-
children: [/* @__PURE__ */ (0,
|
|
3833
|
+
children: [/* @__PURE__ */ (0, F.jsx)("div", {
|
|
3828
3834
|
className: "flex justify-center",
|
|
3829
|
-
children: /* @__PURE__ */ (0,
|
|
3835
|
+
children: /* @__PURE__ */ (0, F.jsx)(Us, {
|
|
3830
3836
|
asChild: !0,
|
|
3831
3837
|
children: t
|
|
3832
3838
|
})
|
|
3833
|
-
}), /* @__PURE__ */ (0,
|
|
3839
|
+
}), /* @__PURE__ */ (0, F.jsxs)(Ws, {
|
|
3834
3840
|
className: "sid-popover__container",
|
|
3835
3841
|
sideOffset: 10,
|
|
3836
3842
|
side: "bottom",
|
|
3837
|
-
children: [e, /* @__PURE__ */ (0,
|
|
3843
|
+
children: [e, /* @__PURE__ */ (0, F.jsx)(Gs, { className: "sid-popover__caret" })]
|
|
3838
3844
|
})]
|
|
3839
|
-
}),
|
|
3840
|
-
let n =
|
|
3841
|
-
return /* @__PURE__ */ (0,
|
|
3845
|
+
}), qs = ({ verificationService: e, initialVisibility: t = !1 }) => {
|
|
3846
|
+
let n = De();
|
|
3847
|
+
return /* @__PURE__ */ (0, F.jsx)(Ks, {
|
|
3842
3848
|
initialVisibility: t,
|
|
3843
|
-
trigger: /* @__PURE__ */ (0,
|
|
3849
|
+
trigger: /* @__PURE__ */ (0, F.jsx)("button", {
|
|
3844
3850
|
type: "button",
|
|
3845
3851
|
className: "sid-h-btn-link-like sid-link sid-how-does-verifying-work-hoverable",
|
|
3846
|
-
children: /* @__PURE__ */ (0,
|
|
3852
|
+
children: /* @__PURE__ */ (0, F.jsx)(N, { id: "howDoesVerifyingWork" })
|
|
3847
3853
|
}),
|
|
3848
|
-
message: /* @__PURE__ */ (0,
|
|
3849
|
-
/* @__PURE__ */ (0,
|
|
3854
|
+
message: /* @__PURE__ */ (0, F.jsxs)("div", { children: [
|
|
3855
|
+
/* @__PURE__ */ (0, F.jsx)(N, {
|
|
3850
3856
|
id: "step.personalInfo.howDoesVerifyingWorkDetails",
|
|
3851
3857
|
context: n
|
|
3852
3858
|
}),
|
|
3853
3859
|
"\xA0",
|
|
3854
|
-
/* @__PURE__ */ (0,
|
|
3860
|
+
/* @__PURE__ */ (0, F.jsx)(Ot, { verificationService: e })
|
|
3855
3861
|
] })
|
|
3856
3862
|
});
|
|
3857
|
-
},
|
|
3858
|
-
let t =
|
|
3859
|
-
return typeof t == "number" && t > 0 ? /* @__PURE__ */ (0,
|
|
3863
|
+
}, Js = ({ verificationService: e }) => {
|
|
3864
|
+
let t = a(() => e.programTheme.remainingRewardCodes, null);
|
|
3865
|
+
return typeof t == "number" && t > 0 ? /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
3860
3866
|
className: "sid-rewards-remaining",
|
|
3861
3867
|
role: "note",
|
|
3862
3868
|
children: [
|
|
3863
|
-
/* @__PURE__ */ (0,
|
|
3864
|
-
/* @__PURE__ */ (0,
|
|
3869
|
+
/* @__PURE__ */ (0, F.jsx)("div", { className: "sid-l-space-top-md" }),
|
|
3870
|
+
/* @__PURE__ */ (0, F.jsx)(M, {
|
|
3865
3871
|
id: "lowRewardPool",
|
|
3866
3872
|
defaultMessage: e.messages.lowRewardPool,
|
|
3867
3873
|
values: { offersRemaining: t }
|
|
3868
3874
|
}),
|
|
3869
|
-
/* @__PURE__ */ (0,
|
|
3875
|
+
/* @__PURE__ */ (0, F.jsx)("div", { className: "sid-l-space-top-sm" })
|
|
3870
3876
|
]
|
|
3871
3877
|
}) : null;
|
|
3872
|
-
},
|
|
3873
|
-
let { verificationResponse: n } = e, r =
|
|
3874
|
-
return /* @__PURE__ */ (0,
|
|
3878
|
+
}, Ys = (e) => e !== void 0, Xs = ({ verificationService: e, classNameIdentifier: t = void 0 }) => {
|
|
3879
|
+
let { verificationResponse: n } = e, r = Ys(n) ? Ye(n) : !1, i = r ? "step.personalInfo.tryAgain.title" : "step.personalInfo.title", a = r ? "step.personalInfo.tryAgain.subtitle" : "step.personalInfo.subtitle";
|
|
3880
|
+
return /* @__PURE__ */ (0, F.jsx)("div", {
|
|
3875
3881
|
className: "sid-personal-info-header",
|
|
3876
|
-
children: /* @__PURE__ */ (0,
|
|
3882
|
+
children: /* @__PURE__ */ (0, F.jsxs)(mn, {
|
|
3877
3883
|
verificationService: e,
|
|
3878
|
-
title: /* @__PURE__ */ (0,
|
|
3884
|
+
title: /* @__PURE__ */ (0, F.jsx)(N, {
|
|
3879
3885
|
id: i,
|
|
3880
3886
|
context: n.segment
|
|
3881
3887
|
}),
|
|
3882
3888
|
classNameIdentifier: t,
|
|
3883
3889
|
children: [
|
|
3884
|
-
/* @__PURE__ */ (0,
|
|
3890
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
3885
3891
|
className: `sid-header__subtitle sid-l-horz-center ${r ? "sid-header__subtitle--error" : ""}`,
|
|
3886
|
-
children: /* @__PURE__ */ (0,
|
|
3892
|
+
children: /* @__PURE__ */ (0, F.jsx)(M, { id: a })
|
|
3887
3893
|
}),
|
|
3888
|
-
/* @__PURE__ */ (0,
|
|
3894
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
3889
3895
|
className: "sid-header__how-verifying-works sid-l-horz-center",
|
|
3890
|
-
children: !r && /* @__PURE__ */ (0,
|
|
3896
|
+
children: !r && /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(qs, { verificationService: e }), /* @__PURE__ */ (0, F.jsx)(Js, { verificationService: e })] })
|
|
3891
3897
|
}),
|
|
3892
|
-
/* @__PURE__ */ (0,
|
|
3898
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
3893
3899
|
className: "sid-h-medium-text sid-l-space-btm-sm sid-l-space-top-sm",
|
|
3894
|
-
children: /* @__PURE__ */ (0,
|
|
3900
|
+
children: /* @__PURE__ */ (0, F.jsx)(M, { id: "requiredFields" })
|
|
3895
3901
|
})
|
|
3896
3902
|
]
|
|
3897
3903
|
})
|
|
3898
3904
|
});
|
|
3899
|
-
},
|
|
3900
|
-
let { isEmbedded: i } =
|
|
3901
|
-
return !r || i ? /* @__PURE__ */ (0,
|
|
3905
|
+
}, Zs = () => ({ isEmbedded: !!C("verificationIframeUid") }), Qs = ({ layout: e, children: t, verificationService: n, renderAsLandingPage: r }) => {
|
|
3906
|
+
let { isEmbedded: i } = Zs();
|
|
3907
|
+
return !r || i ? /* @__PURE__ */ (0, F.jsx)(F.Fragment, { children: t }) : /* @__PURE__ */ (0, F.jsx)("div", {
|
|
3902
3908
|
className: `sid-layout sid-layout--${e}`,
|
|
3903
|
-
children: /* @__PURE__ */ (0,
|
|
3909
|
+
children: /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
3904
3910
|
className: "sid-layout__container",
|
|
3905
|
-
children: [e === "fullRight" && /* @__PURE__ */ (0,
|
|
3911
|
+
children: [e === "fullRight" && /* @__PURE__ */ (0, F.jsx)("div", {
|
|
3906
3912
|
className: "sid-layout__content",
|
|
3907
|
-
children: /* @__PURE__ */ (0,
|
|
3913
|
+
children: /* @__PURE__ */ (0, F.jsx)(Xs, {
|
|
3908
3914
|
verificationService: n,
|
|
3909
3915
|
classNameIdentifier: "landing"
|
|
3910
3916
|
})
|
|
3911
|
-
}), /* @__PURE__ */ (0,
|
|
3917
|
+
}), /* @__PURE__ */ (0, F.jsx)("div", {
|
|
3912
3918
|
className: "sid-layout__form-container",
|
|
3913
|
-
children: /* @__PURE__ */ (0,
|
|
3919
|
+
children: /* @__PURE__ */ (0, F.jsx)("div", {
|
|
3914
3920
|
className: "sid-layout__form",
|
|
3915
3921
|
children: t
|
|
3916
3922
|
})
|
|
3917
3923
|
})]
|
|
3918
3924
|
})
|
|
3919
3925
|
});
|
|
3920
|
-
},
|
|
3926
|
+
}, $s = ({ children: e }) => /* @__PURE__ */ (0, F.jsx)("div", {
|
|
3921
3927
|
className: "sid sid-form-wrapper",
|
|
3922
3928
|
children: e
|
|
3923
|
-
}),
|
|
3924
|
-
let o =
|
|
3929
|
+
}), ec = ({ locale: t, messages: n, programTheme: r, verificationService: i, programId: a }) => {
|
|
3930
|
+
let o = et(), s = S(), c = Te() ?? r, l = Oe(je, Ae), u = (0, P.useMemo)(() => l ? {
|
|
3925
3931
|
...i.verificationResponse,
|
|
3926
3932
|
...l
|
|
3927
|
-
} : i.verificationResponse, [l, i.verificationResponse]),
|
|
3933
|
+
} : i.verificationResponse, [l, i.verificationResponse]), d = (0, P.useMemo)(() => ({
|
|
3928
3934
|
...i,
|
|
3929
3935
|
programTheme: c,
|
|
3930
3936
|
verificationResponse: u,
|
|
3931
|
-
formValidationOptions:
|
|
3937
|
+
formValidationOptions: Tt(c, u, i.viewModel)
|
|
3932
3938
|
}), [
|
|
3933
3939
|
i,
|
|
3934
3940
|
c,
|
|
3935
3941
|
u
|
|
3936
|
-
]),
|
|
3937
|
-
|
|
3942
|
+
]), f = c.themeChoices?.landingPage?.layout || "center", { renderAs: m } = s, h = nt();
|
|
3943
|
+
P.useEffect(() => {
|
|
3938
3944
|
try {
|
|
3939
|
-
if (
|
|
3940
|
-
let e = (0,
|
|
3941
|
-
|
|
3942
|
-
let t =
|
|
3945
|
+
if (h && d && d.viewModel) {
|
|
3946
|
+
let e = (0, bt.default)(h);
|
|
3947
|
+
E(_.flags, e);
|
|
3948
|
+
let t = b(d.viewModel.metadata || {}, (t) => {
|
|
3943
3949
|
t.flags = e;
|
|
3944
|
-
}), n =
|
|
3950
|
+
}), n = b(d.viewModel, (e) => {
|
|
3945
3951
|
e.metadata = t;
|
|
3946
3952
|
});
|
|
3947
|
-
|
|
3953
|
+
d.updateViewModel(n);
|
|
3948
3954
|
}
|
|
3949
3955
|
} catch (e) {
|
|
3950
|
-
|
|
3956
|
+
O.error(e);
|
|
3951
3957
|
}
|
|
3952
|
-
}, []),
|
|
3953
|
-
if (
|
|
3958
|
+
}, []), P.useEffect(() => {
|
|
3959
|
+
if (d.verificationResponse.verificationId && s._launchDarklyUserTargeting && o) {
|
|
3954
3960
|
let e = {
|
|
3955
3961
|
kind: "multi",
|
|
3956
3962
|
user: {
|
|
3957
|
-
key:
|
|
3958
|
-
locale:
|
|
3959
|
-
segment:
|
|
3960
|
-
installType:
|
|
3963
|
+
key: d.verificationResponse.verificationId,
|
|
3964
|
+
locale: d.verificationResponse.locale,
|
|
3965
|
+
segment: d.verificationResponse.segment,
|
|
3966
|
+
installType: re()
|
|
3961
3967
|
},
|
|
3962
3968
|
program: { key: a }
|
|
3963
3969
|
};
|
|
3964
3970
|
c.accountId && (e.account = { key: c.accountId }), o.identify(e);
|
|
3965
3971
|
}
|
|
3966
|
-
}, [
|
|
3972
|
+
}, [d.verificationResponse.verificationId, o]), P.useEffect(() => {
|
|
3967
3973
|
try {
|
|
3968
|
-
|
|
3974
|
+
S()._launchDarklyFlagCb(h);
|
|
3969
3975
|
} catch {}
|
|
3970
|
-
}, [
|
|
3971
|
-
let
|
|
3972
|
-
return /* @__PURE__ */ (0,
|
|
3976
|
+
}, [h]);
|
|
3977
|
+
let g = Oe(je, _e);
|
|
3978
|
+
return /* @__PURE__ */ (0, F.jsx)(se, {
|
|
3973
3979
|
locale: "en",
|
|
3974
3980
|
messages: {
|
|
3975
3981
|
...n,
|
|
3976
|
-
...(0,
|
|
3977
|
-
...(0,
|
|
3982
|
+
...(0, pt.default)(x(t)),
|
|
3983
|
+
...(0, pt.default)(g?.[t] ?? {})
|
|
3978
3984
|
},
|
|
3979
|
-
textComponent:
|
|
3980
|
-
children: /* @__PURE__ */ (0,
|
|
3985
|
+
textComponent: fn,
|
|
3986
|
+
children: /* @__PURE__ */ (0, F.jsx)(wt, {
|
|
3981
3987
|
themeChoices: c.themeChoices,
|
|
3982
|
-
customCssFromOptions:
|
|
3983
|
-
children: /* @__PURE__ */ (0,
|
|
3984
|
-
className: `${
|
|
3985
|
-
children: /* @__PURE__ */ (0,
|
|
3986
|
-
layout:
|
|
3987
|
-
verificationService:
|
|
3988
|
-
renderAsLandingPage:
|
|
3989
|
-
children: /* @__PURE__ */ (0,
|
|
3990
|
-
fallback: /* @__PURE__ */ (0,
|
|
3991
|
-
children: /* @__PURE__ */ (0,
|
|
3988
|
+
customCssFromOptions: S().customCss,
|
|
3989
|
+
children: /* @__PURE__ */ (0, F.jsx)("div", {
|
|
3990
|
+
className: `${xt.default.isRtlLang(p(t)) ? "sid-rtl" : "sid-ltr"} sid-locale-${t}`,
|
|
3991
|
+
children: /* @__PURE__ */ (0, F.jsx)($s, { children: /* @__PURE__ */ (0, F.jsx)(Qs, {
|
|
3992
|
+
layout: f,
|
|
3993
|
+
verificationService: d,
|
|
3994
|
+
renderAsLandingPage: m === "landingPage",
|
|
3995
|
+
children: /* @__PURE__ */ (0, F.jsx)(P.Suspense, {
|
|
3996
|
+
fallback: /* @__PURE__ */ (0, F.jsx)(_t, { step: d.loadingStep }),
|
|
3997
|
+
children: /* @__PURE__ */ (0, F.jsx)(dt, {
|
|
3992
3998
|
i18n: e,
|
|
3993
|
-
children:
|
|
3994
|
-
stepToLoad:
|
|
3995
|
-
verificationService:
|
|
3999
|
+
children: d.isLoading ? /* @__PURE__ */ (0, F.jsx)(_t, { step: d.loadingStep }) : /* @__PURE__ */ (0, F.jsxs)("div", { children: [!S().hideTestModeFlag && /* @__PURE__ */ (0, F.jsx)(pn, { verificationService: d }), /* @__PURE__ */ (0, F.jsx)(dn, {
|
|
4000
|
+
stepToLoad: d.overrideStep || d.verificationResponse.currentStep,
|
|
4001
|
+
verificationService: d
|
|
3996
4002
|
})] })
|
|
3997
4003
|
})
|
|
3998
4004
|
})
|
|
@@ -4000,67 +4006,67 @@ var Vs = xs, Hs = Ts, Us = js, Ws = zs, Gs = ({ message: e, trigger: t, initialV
|
|
|
4000
4006
|
})
|
|
4001
4007
|
})
|
|
4002
4008
|
}, t);
|
|
4003
|
-
},
|
|
4009
|
+
}, tc = () => {
|
|
4004
4010
|
let e = null;
|
|
4005
4011
|
document.addEventListener("keydown", (t) => {
|
|
4006
4012
|
if (t.key !== "Tab") return;
|
|
4007
4013
|
let n = document.querySelectorAll("button, .sid-link, input, select, textarea, [tabindex]:not([tabindex=\"-1\"]");
|
|
4008
|
-
e = n[n.length - 1], e && !t.shiftKey && document.activeElement === e && (
|
|
4014
|
+
e = n[n.length - 1], e && !t.shiftKey && document.activeElement === e && (Re({
|
|
4009
4015
|
type: "focus",
|
|
4010
4016
|
focusOn: "firstElement"
|
|
4011
4017
|
}), t.preventDefault());
|
|
4012
4018
|
}), window.addEventListener("message", (t) => {
|
|
4013
4019
|
t.data.focusOn === "lastElement" && e && e.focus();
|
|
4014
|
-
}),
|
|
4020
|
+
}), Re({
|
|
4015
4021
|
type: "focus",
|
|
4016
4022
|
focusOn: "firstElement"
|
|
4017
4023
|
});
|
|
4018
|
-
},
|
|
4024
|
+
}, nc = () => {
|
|
4019
4025
|
window.addEventListener("message", (e) => {
|
|
4020
|
-
e.data.isInLightBox === "true" &&
|
|
4026
|
+
e.data.isInLightBox === "true" && tc();
|
|
4021
4027
|
});
|
|
4022
|
-
},
|
|
4028
|
+
}, rc = class extends P.Component {
|
|
4023
4029
|
verificationService;
|
|
4024
4030
|
constructor(e) {
|
|
4025
|
-
super(e),
|
|
4031
|
+
super(e), O.info("NewVerificationComponent: constructing"), this.props.trackingId && this.props.trackingId.length ? O.info(`Attaching a trackingId to this verification request ${this.props.trackingId}`) : O.info("No trackingId to associate with the verification request");
|
|
4026
4032
|
}
|
|
4027
4033
|
componentDidMount() {
|
|
4028
|
-
if (
|
|
4034
|
+
if (l(), nc(), Ce((e) => {
|
|
4029
4035
|
switch (e.data.action) {
|
|
4030
4036
|
case "setViewModel":
|
|
4031
|
-
|
|
4037
|
+
qe(e.data.viewModel, {
|
|
4032
4038
|
partial: !0,
|
|
4033
4039
|
metadataCheck: !0,
|
|
4034
4040
|
externalUserIdCheck: !0
|
|
4035
4041
|
});
|
|
4036
4042
|
break;
|
|
4037
4043
|
case "setOptions":
|
|
4038
|
-
|
|
4044
|
+
g(e.data.options);
|
|
4039
4045
|
break;
|
|
4040
4046
|
default:
|
|
4041
4047
|
}
|
|
4042
|
-
}),
|
|
4048
|
+
}), Ie()) O.info("Mocking loading screen. Not fetching new verification request.");
|
|
4043
4049
|
else {
|
|
4044
|
-
|
|
4045
|
-
let e =
|
|
4050
|
+
O.info("NewVerificationComponent: fetchNewVerificationRequest");
|
|
4051
|
+
let e = a(() => this.props.verificationService.verificationResponse.segment);
|
|
4046
4052
|
this.props.verificationService.fetchNewVerificationRequest(this.props.programId, e, this.props.verificationService.previousViewModel, this.props.trackingId);
|
|
4047
4053
|
}
|
|
4048
4054
|
}
|
|
4049
4055
|
render() {
|
|
4050
|
-
let { viewModel: e } = this.props.verificationService, t =
|
|
4056
|
+
let { viewModel: e } = this.props.verificationService, t = w(e), n;
|
|
4051
4057
|
this.props.messages && (n = this.props.messages);
|
|
4052
4058
|
let r = {
|
|
4053
4059
|
...n,
|
|
4054
|
-
...(0,
|
|
4060
|
+
...(0, pt.default)(x(t))
|
|
4055
4061
|
};
|
|
4056
|
-
if (this.props.verificationService.isLoading && !this.props.verificationService.loadingStep) return
|
|
4062
|
+
if (this.props.verificationService.isLoading && !this.props.verificationService.loadingStep) return O.info("NewVerificationComponent: VerificationService is loading"), /* @__PURE__ */ (0, F.jsx)(se, {
|
|
4057
4063
|
locale: "en",
|
|
4058
4064
|
messages: r,
|
|
4059
|
-
textComponent:
|
|
4060
|
-
children: /* @__PURE__ */ (0,
|
|
4065
|
+
textComponent: fn,
|
|
4066
|
+
children: /* @__PURE__ */ (0, F.jsx)(_t, {})
|
|
4061
4067
|
}, t);
|
|
4062
4068
|
let { programTheme: i } = this.props.verificationService, { verificationResponse: a } = this.props.verificationService;
|
|
4063
|
-
return
|
|
4069
|
+
return O.info("NewVerificationComponent: verificationResponse, viewModel", a, e), O.info(`NewVerificationComponent: locale: ${t}, currentStep: ${a.currentStep}, messages: `, n), /* @__PURE__ */ (0, F.jsx)(ec, {
|
|
4064
4070
|
locale: t,
|
|
4065
4071
|
messages: n,
|
|
4066
4072
|
programTheme: i,
|
|
@@ -4068,63 +4074,63 @@ var Vs = xs, Hs = Ts, Us = js, Ws = zs, Gs = ({ message: e, trigger: t, initialV
|
|
|
4068
4074
|
programId: this.props.programId
|
|
4069
4075
|
});
|
|
4070
4076
|
}
|
|
4071
|
-
},
|
|
4077
|
+
}, ic = be((e, t) => ({ ...e }), (e, t) => ({
|
|
4072
4078
|
dispatch: e,
|
|
4073
|
-
fetchNewVerificationRequest:
|
|
4074
|
-
fetchExistingVerificationRequest:
|
|
4075
|
-
updateViewModel:
|
|
4076
|
-
updateLocale:
|
|
4077
|
-
updateProgramTheme:
|
|
4078
|
-
updateFieldValidationErrors:
|
|
4079
|
-
resetState:
|
|
4079
|
+
fetchNewVerificationRequest: Je(e),
|
|
4080
|
+
fetchExistingVerificationRequest: ze(e),
|
|
4081
|
+
updateViewModel: He(e),
|
|
4082
|
+
updateLocale: $e(e, t.programId),
|
|
4083
|
+
updateProgramTheme: Ve(e),
|
|
4084
|
+
updateFieldValidationErrors: Ke(e),
|
|
4085
|
+
resetState: Ze(e)
|
|
4080
4086
|
}), (e, t, n) => {
|
|
4081
4087
|
let { dispatch: r, ...i } = t, { programTheme: a } = e;
|
|
4082
4088
|
return {
|
|
4083
4089
|
verificationService: {
|
|
4084
4090
|
...e,
|
|
4085
4091
|
...i,
|
|
4086
|
-
submitStep:
|
|
4092
|
+
submitStep: Be(r, a)
|
|
4087
4093
|
},
|
|
4088
4094
|
messages: e.messages,
|
|
4089
4095
|
...n
|
|
4090
4096
|
};
|
|
4091
|
-
})(
|
|
4097
|
+
})(rc), ac = (e) => ({
|
|
4092
4098
|
kind: "program",
|
|
4093
4099
|
key: e
|
|
4094
|
-
}),
|
|
4100
|
+
}), oc = ({ programId: e, children: t }) => /* @__PURE__ */ (0, F.jsx)(tt, {
|
|
4095
4101
|
clientSideID: "6530161f9ff41712a2eef741",
|
|
4096
|
-
context:
|
|
4097
|
-
flags:
|
|
4102
|
+
context: ac(e),
|
|
4103
|
+
flags: rt,
|
|
4098
4104
|
reactOptions: { useCamelCaseFlagKeys: !1 },
|
|
4099
4105
|
options: { streaming: !1 },
|
|
4100
4106
|
children: t
|
|
4101
|
-
}),
|
|
4102
|
-
|
|
4103
|
-
var
|
|
4107
|
+
}), sc = Xe();
|
|
4108
|
+
E(_.jslibVersionActual, a(() => ne(), "?")), E(_.clientVersion, a(() => ne(), "?"));
|
|
4109
|
+
var cc = P.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
4104
4110
|
try {
|
|
4105
|
-
|
|
4111
|
+
Ue();
|
|
4106
4112
|
} catch (e) {
|
|
4107
|
-
|
|
4113
|
+
O.warn("Failed to add predefined hooks", e);
|
|
4108
4114
|
}
|
|
4109
|
-
return (0,
|
|
4110
|
-
|
|
4111
|
-
}),
|
|
4115
|
+
return (0, P.useEffect)(() => {
|
|
4116
|
+
T();
|
|
4117
|
+
}), sc.dispatch({
|
|
4112
4118
|
programId: e,
|
|
4113
4119
|
type: "PROGRAM_ID"
|
|
4114
4120
|
}), n && (n.current = {
|
|
4115
|
-
refresh:
|
|
4116
|
-
reset:
|
|
4117
|
-
}), /* @__PURE__ */ (0,
|
|
4118
|
-
store:
|
|
4119
|
-
children: /* @__PURE__ */ (0,
|
|
4121
|
+
refresh: P.useCallback(() => sc.dispatch({ type: "FORCE_UPDATE" }), []),
|
|
4122
|
+
reset: P.useCallback(() => sc.dispatch({ type: "RESET_STATE" }), [])
|
|
4123
|
+
}), /* @__PURE__ */ (0, F.jsx)(ye, {
|
|
4124
|
+
store: sc,
|
|
4125
|
+
children: /* @__PURE__ */ (0, F.jsx)(oc, {
|
|
4120
4126
|
programId: e,
|
|
4121
|
-
children: /* @__PURE__ */ (0,
|
|
4127
|
+
children: /* @__PURE__ */ (0, F.jsx)(ic, {
|
|
4122
4128
|
programId: e,
|
|
4123
4129
|
trackingId: t
|
|
4124
4130
|
})
|
|
4125
4131
|
})
|
|
4126
4132
|
});
|
|
4127
|
-
}),
|
|
4133
|
+
}), lc = class e {
|
|
4128
4134
|
element;
|
|
4129
4135
|
programId;
|
|
4130
4136
|
trackingId;
|
|
@@ -4132,7 +4138,7 @@ var sc = F.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
4132
4138
|
ref;
|
|
4133
4139
|
constructor(t, n, r) {
|
|
4134
4140
|
if (!(this instanceof e)) throw Error("Method \"render\" not found. Did you use the \"new\" keyword when instantiating VerificationForm?");
|
|
4135
|
-
|
|
4141
|
+
O.info(`Constructing VerificationFormEs5 ${n}`), f(t), this.element = t, this.programId = n, this.trackingId = r, this.ref = P.createRef(), this.render();
|
|
4136
4142
|
}
|
|
4137
4143
|
refresh() {
|
|
4138
4144
|
this.ref.current.refresh();
|
|
@@ -4141,39 +4147,39 @@ var sc = F.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
4141
4147
|
this.ref.current.reset();
|
|
4142
4148
|
}
|
|
4143
4149
|
render() {
|
|
4144
|
-
|
|
4150
|
+
mt.render(/* @__PURE__ */ (0, F.jsx)(cc, {
|
|
4145
4151
|
programId: this.programId,
|
|
4146
4152
|
trackingId: this.trackingId,
|
|
4147
4153
|
ref: this.ref
|
|
4148
4154
|
}), this.element);
|
|
4149
4155
|
}
|
|
4150
4156
|
unmount() {
|
|
4151
|
-
|
|
4157
|
+
mt.unmountComponentAtNode(this.element);
|
|
4152
4158
|
}
|
|
4153
4159
|
};
|
|
4154
4160
|
//#endregion
|
|
4155
4161
|
//#region src/lib/state/previewMessages.ts
|
|
4156
|
-
function
|
|
4157
|
-
|
|
4158
|
-
...
|
|
4162
|
+
function uc(e, t) {
|
|
4163
|
+
je.set((n) => ({
|
|
4164
|
+
...n,
|
|
4159
4165
|
overrides: {
|
|
4160
|
-
...
|
|
4166
|
+
...n.overrides,
|
|
4161
4167
|
messages: {
|
|
4162
|
-
...
|
|
4168
|
+
...n.overrides.messages,
|
|
4163
4169
|
[e]: {
|
|
4164
|
-
...
|
|
4165
|
-
...
|
|
4170
|
+
...n.overrides.messages?.[e],
|
|
4171
|
+
...t
|
|
4166
4172
|
}
|
|
4167
4173
|
}
|
|
4168
4174
|
}
|
|
4169
|
-
})),
|
|
4175
|
+
})), n({ [e]: t });
|
|
4170
4176
|
}
|
|
4171
|
-
function
|
|
4172
|
-
|
|
4177
|
+
function dc(t) {
|
|
4178
|
+
t.forEach((t) => e.removeResourceBundle(t, i.OPTIONS)), n(S().messagesWithLocale);
|
|
4173
4179
|
}
|
|
4174
4180
|
//#endregion
|
|
4175
4181
|
//#region src/lib/state/previewResponse.ts
|
|
4176
|
-
var
|
|
4182
|
+
var fc = {
|
|
4177
4183
|
step: "mockStep",
|
|
4178
4184
|
previousStep: "mockPreviousStep",
|
|
4179
4185
|
segment: "mockSegment",
|
|
@@ -4187,14 +4193,14 @@ var dc = {
|
|
|
4187
4193
|
idCheckLoopServiceType: "mockIdCheckLoopServiceType",
|
|
4188
4194
|
docSelected: "mockDocSelected"
|
|
4189
4195
|
};
|
|
4190
|
-
async function
|
|
4196
|
+
async function pc(e) {
|
|
4191
4197
|
let t = {};
|
|
4192
4198
|
Object.keys(e).forEach((n) => {
|
|
4193
|
-
let r =
|
|
4199
|
+
let r = fc[n];
|
|
4194
4200
|
r && (t[r] = e[n]);
|
|
4195
|
-
}),
|
|
4196
|
-
let n = e.step ??
|
|
4197
|
-
|
|
4201
|
+
}), g(t);
|
|
4202
|
+
let n = e.step ?? je.get().overrides.mock?.step, r = n ? await Pe(n, Xe().getState().verificationResponse) : void 0;
|
|
4203
|
+
je.set((t) => ({
|
|
4198
4204
|
...t,
|
|
4199
4205
|
overrides: {
|
|
4200
4206
|
...t.overrides,
|
|
@@ -4208,65 +4214,65 @@ async function fc(e) {
|
|
|
4208
4214
|
}
|
|
4209
4215
|
//#endregion
|
|
4210
4216
|
//#region src/lib/state/previewApi.ts
|
|
4211
|
-
function pc(e) {
|
|
4212
|
-
fe({ programTheme: e });
|
|
4213
|
-
}
|
|
4214
4217
|
function mc(e) {
|
|
4215
|
-
|
|
4218
|
+
me({ programTheme: e });
|
|
4216
4219
|
}
|
|
4217
4220
|
function hc(e) {
|
|
4218
|
-
|
|
4221
|
+
me({ programTheme: e });
|
|
4219
4222
|
}
|
|
4220
4223
|
function gc(e) {
|
|
4221
|
-
|
|
4222
|
-
|
|
4224
|
+
me({ response: e });
|
|
4225
|
+
}
|
|
4226
|
+
function _c(e) {
|
|
4227
|
+
let t = Xe(), { programId: n, verificationResponse: r } = t.getState();
|
|
4228
|
+
return $e(t.dispatch, n)(e, r?.segment);
|
|
4223
4229
|
}
|
|
4224
|
-
function
|
|
4225
|
-
let e = Object.keys(
|
|
4226
|
-
|
|
4230
|
+
function vc() {
|
|
4231
|
+
let e = Object.keys(je.get().overrides.messages ?? {});
|
|
4232
|
+
he(), dc(e), le();
|
|
4227
4233
|
}
|
|
4228
4234
|
//#endregion
|
|
4229
4235
|
//#region src/lib/installScript/_mysheerid-preview.ts
|
|
4230
|
-
|
|
4231
|
-
function vc(e, t) {
|
|
4232
|
-
return new cc(e, t);
|
|
4233
|
-
}
|
|
4236
|
+
j(ae.programBuilderPreview);
|
|
4234
4237
|
function yc(e, t) {
|
|
4235
|
-
return
|
|
4238
|
+
return new lc(e, t);
|
|
4239
|
+
}
|
|
4240
|
+
function bc(e, t) {
|
|
4241
|
+
return ue(), g({
|
|
4236
4242
|
mockStep: t.step,
|
|
4237
4243
|
mockSegment: "student"
|
|
4238
|
-
}), new
|
|
4239
|
-
}
|
|
4240
|
-
function bc(e) {
|
|
4241
|
-
ut(e);
|
|
4244
|
+
}), new lc(e, void 0);
|
|
4242
4245
|
}
|
|
4243
4246
|
function xc(e) {
|
|
4244
|
-
|
|
4247
|
+
ft(e);
|
|
4248
|
+
}
|
|
4249
|
+
function Sc(e) {
|
|
4250
|
+
Ge(), g(e);
|
|
4245
4251
|
}
|
|
4246
|
-
function
|
|
4252
|
+
function Cc() {
|
|
4247
4253
|
s();
|
|
4248
4254
|
}
|
|
4249
|
-
function
|
|
4250
|
-
|
|
4251
|
-
}
|
|
4252
|
-
function
|
|
4253
|
-
return
|
|
4254
|
-
}
|
|
4255
|
-
var
|
|
4256
|
-
loadInElement:
|
|
4257
|
-
renderMockProgram:
|
|
4258
|
-
getProgramMessages:
|
|
4259
|
-
getFeatureFlags:
|
|
4260
|
-
setProgramThemeChoices:
|
|
4261
|
-
setProgramOptions:
|
|
4262
|
-
resetProgramOptions:
|
|
4263
|
-
setPreviewBranding:
|
|
4264
|
-
setPreviewConfiguration:
|
|
4265
|
-
setPreviewMessages:
|
|
4266
|
-
setPreviewResponse:
|
|
4267
|
-
setPreviewMock:
|
|
4268
|
-
setPreviewLocale:
|
|
4269
|
-
clearPreview:
|
|
4255
|
+
function wc(e) {
|
|
4256
|
+
g({ _launchDarklyFlagCb: e });
|
|
4257
|
+
}
|
|
4258
|
+
function Tc(e, t, n) {
|
|
4259
|
+
return v(e, t, n);
|
|
4260
|
+
}
|
|
4261
|
+
var Ec = {
|
|
4262
|
+
loadInElement: yc,
|
|
4263
|
+
renderMockProgram: bc,
|
|
4264
|
+
getProgramMessages: Tc,
|
|
4265
|
+
getFeatureFlags: wc,
|
|
4266
|
+
setProgramThemeChoices: xc,
|
|
4267
|
+
setProgramOptions: Sc,
|
|
4268
|
+
resetProgramOptions: Cc,
|
|
4269
|
+
setPreviewBranding: mc,
|
|
4270
|
+
setPreviewConfiguration: hc,
|
|
4271
|
+
setPreviewMessages: uc,
|
|
4272
|
+
setPreviewResponse: gc,
|
|
4273
|
+
setPreviewMock: pc,
|
|
4274
|
+
setPreviewLocale: _c,
|
|
4275
|
+
clearPreview: vc
|
|
4270
4276
|
};
|
|
4271
4277
|
//#endregion
|
|
4272
|
-
export {
|
|
4278
|
+
export { jt as A, yn as C, z as D, B as E, St as M, _t as N, Ut as O, ht as P, Tn as S, gn as T, Jn as _, ao as a, En as b, Ga as c, vc as clearPreview, Pa as d, Ec as default, Ia as f, lr as g, wc as getFeatureFlags, Tc as getProgramMessages, _a as h, io as i, Ot as j, Rt as k, Ba as l, yc as loadInElement, Na as m, Js as n, so as o, Fa as p, hs as r, bc as renderMockProgram, Cc as resetProgramOptions, no as s, mc as setPreviewBranding, hc as setPreviewConfiguration, _c as setPreviewLocale, uc as setPreviewMessages, pc as setPreviewMock, gc as setPreviewResponse, Sc as setProgramOptions, xc as setProgramThemeChoices, Xs as t, Ra as u, Hn as v, _n as w, V as x, Pn as y };
|