@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/sheerid.js
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Mon Sep 21 2026
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.291.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1790031320700
|
|
5
|
+
* BUILD_DATE: Mon Sep 21 2026 22:55:20 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: be7cd0d3fb5ee01f15a63a6669da3dfe86723b27
|
|
7
7
|
*/
|
|
8
|
-
import { D as e,
|
|
9
|
-
import { c as ee, i as
|
|
10
|
-
import { A as
|
|
11
|
-
import { S as N, b as P, h as
|
|
12
|
-
import { a as
|
|
13
|
-
import { S as
|
|
14
|
-
import { C as
|
|
15
|
-
import { a as
|
|
16
|
-
import { i as
|
|
17
|
-
import { t as
|
|
18
|
-
import { t as
|
|
19
|
-
import { t as
|
|
8
|
+
import { D as e, Dt as t, E as n, O as r, S as i, T as a, _t as o, at as s, b as c, c as l, d as u, dt as d, g as f, h as p, i as m, kt as h, l as g, lt as _, m as v, n as y, p as b, r as x, s as S, t as C, u as w, ut as T, y as E } from "./chunk/options-CbyxEsS6.js";
|
|
9
|
+
import { c as ee, i as D, n as O, t as k } from "./chunk/jsx-runtime-Dztc5pGe.js";
|
|
10
|
+
import { A as te, D as A, O as j, P as ne, S as re, T as ie, a as ae, c as oe, d as se, f as ce, g as le, i as ue, k as de, m as fe, o as pe, p as me, r as he, s as ge, t as M, u as _e, w as ve, x as ye } from "./chunk/Message-CbU7t2F7.js";
|
|
11
|
+
import { S as N, b as P, h as be, x as xe } from "./chunk/runtimeTypes-B2AGNJMT.js";
|
|
12
|
+
import { a as Se, i as Ce, r as we, s as Te, t as Ee } from "./chunk/TestingRouteOverrides-CteVovkM.js";
|
|
13
|
+
import { S as De, T as Oe, i as ke, w as Ae } from "./chunk/programThemeGetters-BzTM_4ke.js";
|
|
14
|
+
import { C as je, S as Me, _ as Ne, a as Pe, b as Fe, c as Ie, d as Le, f as Re, g as ze, h as Be, i as Ve, l as He, m as Ue, n as We, o as Ge, p as Ke, r as qe, s as Je, t as Ye, u as Xe, v as Ze, w as Qe, x as $e, y as et } from "./chunk/FormFooterComponent-DN_aTukK.js";
|
|
15
|
+
import { a as tt, i as nt, n as rt, r as it, t as at } from "./chunk/hooks-CAAVVsC2.js";
|
|
16
|
+
import { i as ot, s as st, t as ct } from "./chunk/refs-Mq0rtW9K.js";
|
|
17
|
+
import { t as lt } from "./chunk/LogoComponent-BBiqSSo-.js";
|
|
18
|
+
import { t as ut } from "./chunk/strings-DWLVdUcm.js";
|
|
19
|
+
import { t as dt } from "./chunk/AnnouncingHeader-B6cTB52p.js";
|
|
20
20
|
//#region ../node_modules/react-i18next/dist/es/I18nextProvider.js
|
|
21
|
-
var F = /* @__PURE__ */
|
|
22
|
-
function
|
|
21
|
+
var F = /* @__PURE__ */ h(ee());
|
|
22
|
+
function ft({ i18n: e, defaultNS: t, children: n }) {
|
|
23
23
|
let r = (0, F.useMemo)(() => ({
|
|
24
24
|
i18n: e,
|
|
25
25
|
defaultNS: t
|
|
26
26
|
}), [e, t]);
|
|
27
|
-
return (0, F.createElement)(
|
|
27
|
+
return (0, F.createElement)(j.Provider, { value: r }, n);
|
|
28
28
|
}
|
|
29
29
|
//#endregion
|
|
30
30
|
//#region src/components/LoadingSpinner/LoadingSpinnerComponent.tsx
|
|
31
|
-
var
|
|
31
|
+
var pt = /* @__PURE__ */ h(ne(), 1), mt = /* @__PURE__ */ h(T(), 1), I = k(), ht = () => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
32
32
|
className: "sid-spinner",
|
|
33
33
|
"data-testid": "sid-spinner",
|
|
34
34
|
children: [
|
|
@@ -37,26 +37,26 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
37
37
|
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-spinner__frame" }),
|
|
38
38
|
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-spinner__frame" })
|
|
39
39
|
]
|
|
40
|
-
}),
|
|
40
|
+
}), gt = ({ step: e }) => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
41
41
|
className: "sid-loading-screen__message",
|
|
42
|
-
children: [
|
|
42
|
+
children: [xe(e) && /* @__PURE__ */ (0, I.jsx)("div", {
|
|
43
43
|
className: "sid-loading-screen__message-header",
|
|
44
44
|
role: "alert",
|
|
45
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
45
|
+
children: /* @__PURE__ */ (0, I.jsx)(O, {
|
|
46
46
|
id: "step.personalInfo.verifyingTitle",
|
|
47
47
|
defaultMessage: "Verifying your status"
|
|
48
48
|
})
|
|
49
49
|
}), /* @__PURE__ */ (0, I.jsx)("div", {
|
|
50
50
|
className: "sid-loading-screen__message-subhead",
|
|
51
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
51
|
+
children: /* @__PURE__ */ (0, I.jsx)(O, {
|
|
52
52
|
id: "step.personalInfo.verifyingSubtitle",
|
|
53
53
|
defaultMessage: "This should only take a minute"
|
|
54
54
|
})
|
|
55
55
|
})]
|
|
56
|
-
}),
|
|
56
|
+
}), _t = ({ step: e = Ee() }) => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
57
57
|
className: "sid-loading-screen",
|
|
58
|
-
children: [/* @__PURE__ */ (0, I.jsx)(
|
|
59
|
-
}),
|
|
58
|
+
children: [/* @__PURE__ */ (0, I.jsx)(ht, {}), e && /* @__PURE__ */ (0, I.jsx)(gt, { step: e })]
|
|
59
|
+
}), vt = /* @__PURE__ */ t(((e, t) => {
|
|
60
60
|
var n, r = n = {
|
|
61
61
|
_regexEscape: /([\.\*\+\^\$\[\]\\\(\)\|\{\}\,\-\:\?])/g,
|
|
62
62
|
_regexParseLocale: /^([a-zA-Z]*)([_\-a-zA-Z]*)$/,
|
|
@@ -123,13 +123,13 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
123
123
|
enumerable: !0,
|
|
124
124
|
configurable: !1
|
|
125
125
|
}), t.exports = r;
|
|
126
|
-
})),
|
|
127
|
-
var n =
|
|
126
|
+
})), yt = /* @__PURE__ */ t(((e, t) => {
|
|
127
|
+
var n = vt();
|
|
128
128
|
t.exports = {
|
|
129
129
|
isRtlLang: n.isRtlLang,
|
|
130
130
|
getLangDir: n.getLangDir
|
|
131
131
|
};
|
|
132
|
-
})),
|
|
132
|
+
})), bt = /* @__PURE__ */ h(A(), 1), xt = /* @__PURE__ */ h(yt(), 1), L = {
|
|
133
133
|
landingBackgroundColor: "#fff",
|
|
134
134
|
landingPrimaryFontColor: "#000",
|
|
135
135
|
landingBackgroundImage: "none",
|
|
@@ -143,7 +143,7 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
143
143
|
formFont: "var(--sheerid-font-family-sans)",
|
|
144
144
|
cssVariables: null,
|
|
145
145
|
customStyles: null
|
|
146
|
-
},
|
|
146
|
+
}, St = F.createContext(L), R = {
|
|
147
147
|
landingBackgroundColor: "--sheerid-landing-background-color",
|
|
148
148
|
landingPrimaryFontColor: "--sheerid-landing-primary-font-color",
|
|
149
149
|
landingBackgroundImage: "--sheerid-landing-background-image-url",
|
|
@@ -157,7 +157,7 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
157
157
|
formFont: "--sheerid-font-family-body",
|
|
158
158
|
cssVariables: null,
|
|
159
159
|
customStyles: null
|
|
160
|
-
},
|
|
160
|
+
}, Ct = {
|
|
161
161
|
"--sheerid-color-fg-05": {
|
|
162
162
|
from: "--sheerid-color-bg",
|
|
163
163
|
to: "--sheerid-color-fg",
|
|
@@ -268,7 +268,7 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
268
268
|
to: "--sheerid-color-fg",
|
|
269
269
|
percentage: 3
|
|
270
270
|
}
|
|
271
|
-
},
|
|
271
|
+
}, wt = ({ themeChoices: e, customCssFromOptions: t, children: n }) => {
|
|
272
272
|
let r = (e) => window.self === window.top ? e.replace(/body,/g, "").replace(/label,/g, "").replace(/button\[type=('|")submit('|")\]\s*?\{[\s\S]*?\}\n?/g, "").replace(/a:link,\s+a:visited,\s+a:hover,\s+a:active\s*?\{[\s\S]*?\}\n?/g, "").replace(/h1\s*?\{[\s\S]*?\}\n?/g, "") : e, i = t || e?.customCss || "", a = i ? r(i) : null, o = e?.landingPage, s = o?.backgroundColor || L.landingBackgroundColor, c = o?.primaryFontColor || L.landingPrimaryFontColor, l = o?.backgroundImageUrl || L.landingBackgroundImage, u = e?.backgroundColor || L.formBackgroundColor, d = e?.primaryFontColor || L.formPrimaryFontColor, f = e?.buttonColor || L.formButtonColor, p = e?.buttonFontColor || L.formButtonFontColor, m = e?.linkColor || L.formLinkColor, h = e?.h1FontColor || L.formH1FontColor, g = e?.helperFontColor || L.formHelperFontColor, _ = e?.font || L.formFont, v = {
|
|
273
273
|
[R.landingBackgroundColor]: s,
|
|
274
274
|
[R.landingPrimaryFontColor]: c,
|
|
@@ -281,12 +281,12 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
281
281
|
[R.formH1FontColor]: h,
|
|
282
282
|
[R.formHelperFontColor]: g,
|
|
283
283
|
[R.formFont]: _ === L.formFont ? L.formFont : `${_}, var(--sheerid-font-family-sans)`,
|
|
284
|
-
...Object.entries(
|
|
284
|
+
...Object.entries(Ct).reduce((e, [t, n]) => {
|
|
285
285
|
let r = n.from.startsWith("--") ? `var(${n.from})` : n.from, i = n.to.startsWith("--") ? `var(${n.to})` : n.to;
|
|
286
286
|
return e[t] = `color-mix(in oklab, ${r} ${100 - n.percentage}%, ${i} ${n.percentage}%)`, e;
|
|
287
287
|
}, {})
|
|
288
|
-
}, y = F.useRef(null), b =
|
|
289
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
288
|
+
}, y = F.useRef(null), b = Oe() === Ae.cdnInlineIframe, x = Oe() === Ae.cdnModalIframe;
|
|
289
|
+
return /* @__PURE__ */ (0, I.jsx)(St.Provider, {
|
|
290
290
|
value: {
|
|
291
291
|
landingBackgroundColor: s,
|
|
292
292
|
landingPrimaryFontColor: c,
|
|
@@ -310,7 +310,7 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
310
310
|
children: [a && /* @__PURE__ */ (0, I.jsx)("style", { children: a }), n]
|
|
311
311
|
})
|
|
312
312
|
});
|
|
313
|
-
},
|
|
313
|
+
}, Tt = (e, t, n) => ({
|
|
314
314
|
minAge: t?.minAge || e?.config?.minAge,
|
|
315
315
|
maxAge: t?.maxAge || e?.config?.maxAge,
|
|
316
316
|
smsLoopEnabled: e?.smsLoopEnabled,
|
|
@@ -318,33 +318,33 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
318
318
|
transitionalMilitaryValidityDays: e?.transitionalMilitaryValidityDays,
|
|
319
319
|
currentStep: t?.currentStep,
|
|
320
320
|
viewModel: n
|
|
321
|
-
}),
|
|
322
|
-
N.log(`overrideComponent registering ${e}`),
|
|
323
|
-
},
|
|
324
|
-
|
|
325
|
-
},
|
|
321
|
+
}), Et = {}, Dt = (e, t) => {
|
|
322
|
+
N.log(`overrideComponent registering ${e}`), Et[e] = t;
|
|
323
|
+
}, Ot = (e) => Et[e] ? (N.log(`getOverridenComponent returning ${e}`), Et[e]) : null, kt = () => {
|
|
324
|
+
Et = {};
|
|
325
|
+
}, At = ({ verificationService: e, linkText: t }) => {
|
|
326
326
|
let { segment: n } = e.verificationResponse, { programId: r, programTheme: i } = e;
|
|
327
|
-
return n ? /* @__PURE__ */ (0, I.jsx)(
|
|
327
|
+
return n ? /* @__PURE__ */ (0, I.jsx)(he, {
|
|
328
328
|
className: "sid-faq sid-link",
|
|
329
|
-
href:
|
|
330
|
-
children: t || /* @__PURE__ */ (0, I.jsx)(
|
|
329
|
+
href: ke(i, n, r, a(e.viewModel), e.verificationResponse),
|
|
330
|
+
children: t || /* @__PURE__ */ (0, I.jsx)(O, {
|
|
331
331
|
id: "getHelp",
|
|
332
332
|
defaultMessage: "Get help"
|
|
333
333
|
})
|
|
334
334
|
}) : null;
|
|
335
|
-
},
|
|
335
|
+
}, jt = /* @__PURE__ */ (0, I.jsx)(O, {
|
|
336
336
|
id: "poweredBy",
|
|
337
337
|
defaultMessage: "Verification services powered by SheerID."
|
|
338
|
-
}),
|
|
338
|
+
}), Mt = ({ verificationService: e, isCentered: t, variant: n = "default", hideFaqLink: r = !1 }) => {
|
|
339
339
|
switch (n) {
|
|
340
340
|
case "poweredby": return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
341
341
|
className: "sid-footer__powered-by-container-experiment",
|
|
342
342
|
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
343
343
|
className: "sid-footer__powered-by_powerby-experiment",
|
|
344
|
-
children:
|
|
344
|
+
children: jt
|
|
345
345
|
}), !r && /* @__PURE__ */ (0, I.jsx)("div", {
|
|
346
346
|
className: "sid-footer__powered-by_powerby-experiment",
|
|
347
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
347
|
+
children: /* @__PURE__ */ (0, I.jsx)(At, { verificationService: e })
|
|
348
348
|
})]
|
|
349
349
|
});
|
|
350
350
|
case "verificationby": return /* @__PURE__ */ (0, I.jsx)("div", {
|
|
@@ -357,28 +357,28 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
357
357
|
alt: "",
|
|
358
358
|
src: "https://com-sheerid-resources.s3.us-east-1.amazonaws.com/common/images/2018/icons/sheerid_logo.svg"
|
|
359
359
|
})
|
|
360
|
-
}),
|
|
360
|
+
}), jt]
|
|
361
361
|
})
|
|
362
362
|
});
|
|
363
363
|
default: return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
364
364
|
className: t ? "sid-footer__powered-by-container--stacked sid-l-horz-center" : "sid-footer__powered-by-container",
|
|
365
365
|
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
366
366
|
className: t ? "sid-footer__powered-by--stacked sid-l-horz-center" : "sid-footer__powered-by",
|
|
367
|
-
children:
|
|
367
|
+
children: jt
|
|
368
368
|
}), !r && /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
369
369
|
className: t ? "sid-l-space-top-sm" : "",
|
|
370
|
-
children: ["\xA0", /* @__PURE__ */ (0, I.jsx)(
|
|
370
|
+
children: ["\xA0", /* @__PURE__ */ (0, I.jsx)(At, { verificationService: e })]
|
|
371
371
|
})]
|
|
372
372
|
});
|
|
373
373
|
}
|
|
374
|
-
},
|
|
374
|
+
}, Nt = (e, t) => {
|
|
375
375
|
let n = F.useRef(null);
|
|
376
376
|
function r() {
|
|
377
377
|
clearInterval(n.current);
|
|
378
378
|
}
|
|
379
379
|
return F.useEffect(() => (n.current = setInterval(e, t), () => r()), [e, t]), r;
|
|
380
|
-
},
|
|
381
|
-
let a =
|
|
380
|
+
}, Pt = ({ stepName: e, messages: t, logo: n, cancelSingleSignOn: r, cancelButtonType: i = Lt.PRIMARY }) => {
|
|
381
|
+
let a = ut(e);
|
|
382
382
|
return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
383
383
|
className: "sid-header sid-l-horz-center",
|
|
384
384
|
children: [
|
|
@@ -386,7 +386,7 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
386
386
|
className: "sid-pending-logo-container sid-l-horz-center",
|
|
387
387
|
children: n
|
|
388
388
|
}),
|
|
389
|
-
/* @__PURE__ */ (0, I.jsx)(
|
|
389
|
+
/* @__PURE__ */ (0, I.jsx)(dt, {
|
|
390
390
|
align: "center",
|
|
391
391
|
children: t.title
|
|
392
392
|
}),
|
|
@@ -402,7 +402,7 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
402
402
|
children: /* @__PURE__ */ (0, I.jsx)("button", {
|
|
403
403
|
onClick: r,
|
|
404
404
|
type: "submit",
|
|
405
|
-
className: `sid-btn sid-${a}-pending-submit-btn ${i ===
|
|
405
|
+
className: `sid-btn sid-${a}-pending-submit-btn ${i === Lt.SECONDARY ? "sid-btn-light" : "sid-btn--dark"} sid-l-full-width`,
|
|
406
406
|
"aria-label": "submit",
|
|
407
407
|
children: t.cancel
|
|
408
408
|
})
|
|
@@ -411,20 +411,20 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
411
411
|
t?.subtitle2 ? /* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-xl" }) : /* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-lg" })
|
|
412
412
|
]
|
|
413
413
|
});
|
|
414
|
-
},
|
|
414
|
+
}, Ft = ({ stepName: e, messages: t, logo: n, cancelSingleSignOn: r, cancelButtonType: i = Lt.PRIMARY }) => /* @__PURE__ */ (0, I.jsx)(Pt, {
|
|
415
415
|
messages: t,
|
|
416
416
|
stepName: e,
|
|
417
417
|
logo: n,
|
|
418
418
|
cancelSingleSignOn: r,
|
|
419
419
|
cancelButtonType: i
|
|
420
|
-
}),
|
|
421
|
-
let i =
|
|
420
|
+
}), It = ({ messages: e, verificationService: t, updateViewModelAndOpenLoginTab: n, dashedStepName: r }) => {
|
|
421
|
+
let i = at("hc-my-sheer-id-theme-builder");
|
|
422
422
|
return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
423
423
|
className: "sid-header sid-l-horz-center",
|
|
424
424
|
children: [
|
|
425
425
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
426
426
|
className: `sid-${r}-logo-container sid-l-horz-center`,
|
|
427
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
427
|
+
children: /* @__PURE__ */ (0, I.jsx)(lt, {
|
|
428
428
|
verificationService: t,
|
|
429
429
|
fallbackLogo: !i && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
430
430
|
className: `sid-${r}-logo-default sid-l-lead-image`,
|
|
@@ -433,7 +433,7 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
433
433
|
})
|
|
434
434
|
})
|
|
435
435
|
}),
|
|
436
|
-
/* @__PURE__ */ (0, I.jsx)(
|
|
436
|
+
/* @__PURE__ */ (0, I.jsx)(dt, {
|
|
437
437
|
align: "center",
|
|
438
438
|
children: e.title
|
|
439
439
|
}),
|
|
@@ -454,88 +454,92 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
454
454
|
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-lg" })
|
|
455
455
|
]
|
|
456
456
|
});
|
|
457
|
-
},
|
|
457
|
+
}, Lt = /* @__PURE__ */ function(e) {
|
|
458
458
|
return e.PRIMARY = "primary", e.SECONDARY = "secondary", e;
|
|
459
|
-
}({}),
|
|
460
|
-
let { programId: i } = e, a = e.viewModel, o = e.previousViewModel || void 0, s = e.verificationResponse, c = e.previousVerificationResponse || void 0, { verificationId: d, locale: f } = e.verificationResponse, p =
|
|
459
|
+
}({}), Rt = ({ verificationService: e, stepName: t, messages: n, cancelButtonType: r = "primary" }) => {
|
|
460
|
+
let { programId: i } = e, a = e.viewModel, o = e.previousViewModel || void 0, s = e.verificationResponse, c = e.previousVerificationResponse || void 0, { verificationId: d, locale: f } = e.verificationResponse, p = Se(), m = ut(t), h = at("hc-my-sheer-id-theme-builder"), g, y = /* @__PURE__ */ (0, I.jsx)(lt, {
|
|
461
461
|
verificationService: e,
|
|
462
462
|
fallbackLogo: !h && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
463
463
|
className: `sid-${m}-logo-default sid-l-lead-image`,
|
|
464
464
|
alt: "",
|
|
465
465
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg"
|
|
466
466
|
})
|
|
467
|
-
}),
|
|
467
|
+
}), b = () => setTimeout(() => {
|
|
468
468
|
e.fetchExistingVerificationRequest(i, d, c, o);
|
|
469
|
-
}, 1e3),
|
|
469
|
+
}, 1e3), x = (t, n) => {
|
|
470
470
|
let r = l(a, (e) => {
|
|
471
471
|
e[t] = n;
|
|
472
472
|
});
|
|
473
473
|
e.updateViewModel(r);
|
|
474
|
-
},
|
|
475
|
-
|
|
474
|
+
}, S = () => {
|
|
475
|
+
v(u.SSO_CANCEL_CLICKED, {
|
|
476
476
|
programId: i,
|
|
477
477
|
locale: f,
|
|
478
478
|
verificationId: d
|
|
479
|
-
}),
|
|
479
|
+
}), ct();
|
|
480
480
|
let n = l(a, () => {});
|
|
481
481
|
N.info("SingleSignOnComponent submitting cancel request"), clearTimeout(g), e.submitStep(t, n, e.verificationResponse);
|
|
482
|
-
},
|
|
483
|
-
|
|
482
|
+
}, C = (e, t) => {
|
|
483
|
+
v(u.SSO_SIGN_IN_CLICKED, {
|
|
484
484
|
programId: i,
|
|
485
485
|
locale: f,
|
|
486
486
|
verificationId: d
|
|
487
|
-
}),
|
|
488
|
-
},
|
|
489
|
-
let e = t === P.sso ?
|
|
490
|
-
|
|
487
|
+
}), x(e, t), w();
|
|
488
|
+
}, w = () => {
|
|
489
|
+
let e = t === P.sso ? ye(s.loginUrl) : s.loginUrl;
|
|
490
|
+
if (!_(e)) {
|
|
491
|
+
N.error("Invalid loginUrl - must be an absolute http(s) URL. Not opening the login tab.", "sso loginUrl");
|
|
492
|
+
return;
|
|
493
|
+
}
|
|
494
|
+
st(window.open(e, "_blank")), ot().focus();
|
|
491
495
|
};
|
|
492
|
-
return a.isSingleSignOnActive && !p && (g =
|
|
496
|
+
return a.isSingleSignOnActive && !p && (g = b()), !a.countryChoice && o && o.countryChoice && x("countryChoice", o.countryChoice), /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
493
497
|
id: `sid-step-${m}`,
|
|
494
498
|
className: `sid-${m}-container sid-l-container`,
|
|
495
499
|
"data-testid": `sid-step-${m}`,
|
|
496
500
|
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
497
501
|
role: "main",
|
|
498
|
-
children: a.isSingleSignOnActive ? /* @__PURE__ */ (0, I.jsx)(
|
|
502
|
+
children: a.isSingleSignOnActive ? /* @__PURE__ */ (0, I.jsx)(Ft, {
|
|
499
503
|
stepName: t,
|
|
500
504
|
messages: n,
|
|
501
|
-
logo:
|
|
502
|
-
cancelSingleSignOn:
|
|
505
|
+
logo: y,
|
|
506
|
+
cancelSingleSignOn: S,
|
|
503
507
|
cancelButtonType: r
|
|
504
|
-
}) : /* @__PURE__ */ (0, I.jsx)(
|
|
508
|
+
}) : /* @__PURE__ */ (0, I.jsx)(It, {
|
|
505
509
|
verificationService: e,
|
|
506
510
|
messages: n,
|
|
507
|
-
updateViewModelAndOpenLoginTab:
|
|
511
|
+
updateViewModelAndOpenLoginTab: C,
|
|
508
512
|
dashedStepName: m
|
|
509
513
|
})
|
|
510
|
-
}), /* @__PURE__ */ (0, I.jsx)(
|
|
514
|
+
}), /* @__PURE__ */ (0, I.jsx)(Ye, { verificationService: e })]
|
|
511
515
|
});
|
|
512
|
-
},
|
|
513
|
-
title: /* @__PURE__ */ (0, I.jsx)(
|
|
516
|
+
}, zt = {
|
|
517
|
+
title: /* @__PURE__ */ (0, I.jsx)(O, {
|
|
514
518
|
id: "step.sso.title",
|
|
515
519
|
defaultMessage: "Verify using your school credentials",
|
|
516
520
|
tagName: "h1"
|
|
517
521
|
}),
|
|
518
|
-
subtitle: /* @__PURE__ */ (0, I.jsx)(
|
|
522
|
+
subtitle: /* @__PURE__ */ (0, I.jsx)(O, {
|
|
519
523
|
id: "step.sso.subtitle",
|
|
520
524
|
defaultMessage: "Please sign in to your school's web portal. It will open in a new tab."
|
|
521
525
|
}),
|
|
522
|
-
login: /* @__PURE__ */ (0, I.jsx)(
|
|
526
|
+
login: /* @__PURE__ */ (0, I.jsx)(O, {
|
|
523
527
|
id: "step.sso.login",
|
|
524
528
|
defaultMessage: "Sign in to my school"
|
|
525
529
|
}),
|
|
526
|
-
cancel: /* @__PURE__ */ (0, I.jsx)(
|
|
530
|
+
cancel: /* @__PURE__ */ (0, I.jsx)(O, {
|
|
527
531
|
id: "step.sso.cancel",
|
|
528
532
|
defaultMessage: "Upload Proof of Enrollment"
|
|
529
533
|
}),
|
|
530
|
-
subtitle2: /* @__PURE__ */ (0, I.jsx)(
|
|
534
|
+
subtitle2: /* @__PURE__ */ (0, I.jsx)(O, {
|
|
531
535
|
id: "step.sso.subtitle2",
|
|
532
536
|
defaultMessage: "Can't sign in to your school?"
|
|
533
537
|
})
|
|
534
|
-
},
|
|
538
|
+
}, Bt = ({ verificationService: e }) => /* @__PURE__ */ (0, I.jsx)(Rt, {
|
|
535
539
|
verificationService: e,
|
|
536
540
|
stepName: P.sso,
|
|
537
|
-
messages:
|
|
538
|
-
}),
|
|
541
|
+
messages: zt
|
|
542
|
+
}), Vt = ({ logo: e }) => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
539
543
|
className: "sid-header sid-l-horz-center",
|
|
540
544
|
"data-testid": "sid-review-pending",
|
|
541
545
|
children: [
|
|
@@ -543,15 +547,15 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
543
547
|
className: "sid-l-horz-center",
|
|
544
548
|
children: e
|
|
545
549
|
}),
|
|
546
|
-
/* @__PURE__ */ (0, I.jsx)(
|
|
550
|
+
/* @__PURE__ */ (0, I.jsx)(dt, {
|
|
547
551
|
align: "center",
|
|
548
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
552
|
+
children: /* @__PURE__ */ (0, I.jsx)(O, {
|
|
549
553
|
id: "step.pending.titleReview",
|
|
550
554
|
defaultMessage: "Reviewing",
|
|
551
555
|
tagName: "h1"
|
|
552
556
|
})
|
|
553
557
|
}),
|
|
554
|
-
/* @__PURE__ */ (0, I.jsx)("div", { children: /* @__PURE__ */ (0, I.jsx)(
|
|
558
|
+
/* @__PURE__ */ (0, I.jsx)("div", { children: /* @__PURE__ */ (0, I.jsx)(O, {
|
|
555
559
|
id: "step.pending.uploadedDocument",
|
|
556
560
|
defaultMessage: "Your document was uploaded successfully and is being reviewed."
|
|
557
561
|
}) }),
|
|
@@ -561,21 +565,21 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
561
565
|
}),
|
|
562
566
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
563
567
|
className: "sid-header__subtitle-two sid-l-space-top-md",
|
|
564
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
568
|
+
children: /* @__PURE__ */ (0, I.jsx)(O, {
|
|
565
569
|
id: "step.pending.subtitle2",
|
|
566
570
|
defaultMessage: "Wait here or let us notify you of the outcome."
|
|
567
571
|
})
|
|
568
572
|
}),
|
|
569
573
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
570
574
|
className: "sid-header__subtitle-three sid-l-space-top-md",
|
|
571
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
575
|
+
children: /* @__PURE__ */ (0, I.jsx)(O, {
|
|
572
576
|
id: "step.pending.subtitle3",
|
|
573
577
|
defaultMessage: "You will be contacted via email."
|
|
574
578
|
})
|
|
575
579
|
}),
|
|
576
580
|
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-xl" })
|
|
577
581
|
]
|
|
578
|
-
}),
|
|
582
|
+
}), Ht = ({ logo: e }) => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
579
583
|
className: "sid-header sid-l-horz-center",
|
|
580
584
|
"data-testid": "sid-review-pending",
|
|
581
585
|
children: [
|
|
@@ -583,9 +587,9 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
583
587
|
className: "sid-l-horz-center",
|
|
584
588
|
children: e
|
|
585
589
|
}),
|
|
586
|
-
/* @__PURE__ */ (0, I.jsx)(
|
|
590
|
+
/* @__PURE__ */ (0, I.jsx)(dt, {
|
|
587
591
|
align: "center",
|
|
588
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
592
|
+
children: /* @__PURE__ */ (0, I.jsx)(O, {
|
|
589
593
|
id: "step.pending.idCheckLoop.title",
|
|
590
594
|
defaultMessage: "We're reviewing your documents",
|
|
591
595
|
tagName: "h1"
|
|
@@ -593,39 +597,39 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
593
597
|
}),
|
|
594
598
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
595
599
|
className: "sid-header__subtitle-one",
|
|
596
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
600
|
+
children: /* @__PURE__ */ (0, I.jsx)(O, {
|
|
597
601
|
id: "step.pending.idCheckLoop.subtitle",
|
|
598
602
|
defaultMessage: "Hold tight, turnaround time is typically a few minutes or less."
|
|
599
603
|
})
|
|
600
604
|
}),
|
|
601
605
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
602
606
|
className: "sid-header__subtitle-two sid-l-space-top-md sid-h-bold-text",
|
|
603
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
607
|
+
children: /* @__PURE__ */ (0, I.jsx)(O, {
|
|
604
608
|
id: "step.pending.idCheckLoop.subtitle2",
|
|
605
609
|
defaultMessage: "We'll send you an email when we're finished reviewing."
|
|
606
610
|
})
|
|
607
611
|
}),
|
|
608
612
|
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-xl" })
|
|
609
613
|
]
|
|
610
|
-
}),
|
|
611
|
-
title: /* @__PURE__ */ (0, I.jsx)(
|
|
614
|
+
}), Ut = { [be.SIGNZY]: {
|
|
615
|
+
title: /* @__PURE__ */ (0, I.jsx)(O, {
|
|
612
616
|
id: "step.thirdPartyLoop.signzy.title",
|
|
613
617
|
tagName: "h1",
|
|
614
618
|
defaultMessage: "Verify using DigiLocker"
|
|
615
619
|
}),
|
|
616
|
-
subtitle: /* @__PURE__ */ (0, I.jsx)(
|
|
620
|
+
subtitle: /* @__PURE__ */ (0, I.jsx)(O, {
|
|
617
621
|
id: "step.thirdPartyLoop.signzy.subtitle",
|
|
618
622
|
defaultMessage: "Verify using your DigiLocker login information"
|
|
619
623
|
}),
|
|
620
|
-
login: /* @__PURE__ */ (0, I.jsx)(
|
|
624
|
+
login: /* @__PURE__ */ (0, I.jsx)(O, {
|
|
621
625
|
id: "step.thirdPartyLoop.signzy.login",
|
|
622
626
|
defaultMessage: "Sign in to DigiLocker"
|
|
623
627
|
}),
|
|
624
|
-
cancel: /* @__PURE__ */ (0, I.jsx)(
|
|
628
|
+
cancel: /* @__PURE__ */ (0, I.jsx)(O, {
|
|
625
629
|
id: "step.thirdPartyLoop.signzy.cancel",
|
|
626
630
|
defaultMessage: "Upload Proof of Identity"
|
|
627
631
|
})
|
|
628
|
-
} },
|
|
632
|
+
} }, Wt = ({ logo: e, isStepRoot: t = !1 }) => {
|
|
629
633
|
let n = /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
630
634
|
className: "sid-header sid-l-horz-center",
|
|
631
635
|
children: [
|
|
@@ -633,9 +637,9 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
633
637
|
className: "sid-error-logo-container sid-l-horz-center",
|
|
634
638
|
children: e
|
|
635
639
|
}),
|
|
636
|
-
/* @__PURE__ */ (0, I.jsx)(
|
|
640
|
+
/* @__PURE__ */ (0, I.jsx)(dt, {
|
|
637
641
|
align: "center",
|
|
638
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
642
|
+
children: /* @__PURE__ */ (0, I.jsx)(O, {
|
|
639
643
|
id: "error",
|
|
640
644
|
tagName: "h1"
|
|
641
645
|
})
|
|
@@ -644,7 +648,7 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
644
648
|
className: "sid-header__subtitle sid-l-horz-center sid-l-space-top-md",
|
|
645
649
|
children: /* @__PURE__ */ (0, I.jsx)("div", {
|
|
646
650
|
className: "sid-error-msg sid-l-horz-center",
|
|
647
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
651
|
+
children: /* @__PURE__ */ (0, I.jsx)(O, {
|
|
648
652
|
id: "step.thirdPartyLoop.error",
|
|
649
653
|
defaultMessage: "Provider not supported"
|
|
650
654
|
})
|
|
@@ -661,16 +665,16 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
661
665
|
children: n
|
|
662
666
|
}) : n
|
|
663
667
|
});
|
|
664
|
-
},
|
|
665
|
-
let t =
|
|
666
|
-
return t ? /* @__PURE__ */ (0, I.jsx)(
|
|
668
|
+
}, Gt = ({ verificationService: e }) => {
|
|
669
|
+
let t = Ut[e.verificationResponse.thirdPartyLoopProvider] || void 0, n = at("hc-my-sheer-id-theme-builder");
|
|
670
|
+
return t ? /* @__PURE__ */ (0, I.jsx)(Rt, {
|
|
667
671
|
verificationService: e,
|
|
668
672
|
stepName: P.thirdPartyLoop,
|
|
669
673
|
messages: t,
|
|
670
|
-
cancelButtonType:
|
|
671
|
-
}) : /* @__PURE__ */ (0, I.jsx)(
|
|
674
|
+
cancelButtonType: Lt.SECONDARY
|
|
675
|
+
}) : /* @__PURE__ */ (0, I.jsx)(Wt, {
|
|
672
676
|
isStepRoot: !0,
|
|
673
|
-
logo: /* @__PURE__ */ (0, I.jsx)(
|
|
677
|
+
logo: /* @__PURE__ */ (0, I.jsx)(lt, {
|
|
674
678
|
verificationService: e,
|
|
675
679
|
fallbackLogo: !n && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
676
680
|
className: "sid-error-logo sid-l-lead-image",
|
|
@@ -679,28 +683,28 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
679
683
|
})
|
|
680
684
|
})
|
|
681
685
|
});
|
|
682
|
-
},
|
|
683
|
-
let i =
|
|
684
|
-
return i ? /* @__PURE__ */ (0, I.jsx)(
|
|
686
|
+
}, Kt = ({ logo: e, verificationLastResponse: t, cancelThirdPartyLoop: n, isMockingPreviousStepThirdPartyLoop: r }) => {
|
|
687
|
+
let i = Ut[r ? Ce("thirdPartyLoopProvider") : t?.thirdPartyLoopProvider] || void 0;
|
|
688
|
+
return i ? /* @__PURE__ */ (0, I.jsx)(Ft, {
|
|
685
689
|
stepName: P.thirdPartyLoop,
|
|
686
690
|
messages: i,
|
|
687
691
|
logo: e,
|
|
688
692
|
cancelSingleSignOn: n,
|
|
689
|
-
cancelButtonType:
|
|
690
|
-
}) : /* @__PURE__ */ (0, I.jsx)(
|
|
691
|
-
},
|
|
692
|
-
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 =
|
|
693
|
+
cancelButtonType: Lt.SECONDARY
|
|
694
|
+
}) : /* @__PURE__ */ (0, I.jsx)(Wt, { logo: e });
|
|
695
|
+
}, qt = 5e3, Jt = 2e4, Yt = 2e4, Xt = 2e3, Zt = ({ verificationService: e }) => {
|
|
696
|
+
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 = Se(), s = we() && we() === P.sso, c = we() && we() === P.thirdPartyLoop, u = we() && we() === P.idCheckLoop, d = at("hc-my-sheer-id-theme-builder"), f = () => i?.currentStep === P.sso, p = () => i?.currentStep === P.thirdPartyLoop, m = () => i?.currentStep === P.idCheckLoop, h = f() || p() || s || c, g = m() || u, _ = !h && !g, [v, y] = F.useState(() => h ? Xt : g ? Yt : qt);
|
|
693
697
|
F.useEffect(() => {
|
|
694
698
|
if (!_) return;
|
|
695
|
-
let e = setTimeout(() => y(
|
|
699
|
+
let e = setTimeout(() => y(Yt), Jt);
|
|
696
700
|
return () => clearTimeout(e);
|
|
697
701
|
}, [_]);
|
|
698
|
-
let b = !o &&
|
|
702
|
+
let b = !o && Nt(() => {
|
|
699
703
|
e.fetchExistingVerificationRequest(t, a, i, r, !1);
|
|
700
704
|
}, v), x = (t) => {
|
|
701
705
|
let r = l(n, () => {});
|
|
702
|
-
N.info("StepSingleSignOnComponent submitting cancel request, step:", t), b(),
|
|
703
|
-
}, S = /* @__PURE__ */ (0, I.jsx)(
|
|
706
|
+
N.info("StepSingleSignOnComponent submitting cancel request, step:", t), b(), ct(), e.submitStep(t, r, i);
|
|
707
|
+
}, S = /* @__PURE__ */ (0, I.jsx)(lt, {
|
|
704
708
|
verificationService: e,
|
|
705
709
|
fallbackLogo: !d && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
706
710
|
className: "sid-l-lead-image",
|
|
@@ -715,35 +719,35 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
715
719
|
role: "main",
|
|
716
720
|
children: (() => {
|
|
717
721
|
let e = f() || s, t = p() || c, n = m() || u;
|
|
718
|
-
return e ? /* @__PURE__ */ (0, I.jsx)(
|
|
722
|
+
return e ? /* @__PURE__ */ (0, I.jsx)(Ft, {
|
|
719
723
|
stepName: P.sso,
|
|
720
|
-
messages:
|
|
724
|
+
messages: zt,
|
|
721
725
|
logo: S,
|
|
722
726
|
cancelSingleSignOn: () => x(P.sso)
|
|
723
|
-
}) : t ? /* @__PURE__ */ (0, I.jsx)(
|
|
727
|
+
}) : t ? /* @__PURE__ */ (0, I.jsx)(Kt, {
|
|
724
728
|
logo: S,
|
|
725
729
|
cancelThirdPartyLoop: () => x(P.thirdPartyLoop),
|
|
726
730
|
verificationLastResponse: i,
|
|
727
731
|
isMockingPreviousStepThirdPartyLoop: c
|
|
728
|
-
}) : n ? /* @__PURE__ */ (0, I.jsx)(
|
|
732
|
+
}) : n ? /* @__PURE__ */ (0, I.jsx)(Ht, { logo: S }) : /* @__PURE__ */ (0, I.jsx)(Vt, { logo: S });
|
|
729
733
|
})()
|
|
730
|
-
}), g ? /* @__PURE__ */ (0, I.jsx)(
|
|
734
|
+
}), g ? /* @__PURE__ */ (0, I.jsx)(Mt, {
|
|
731
735
|
verificationService: e,
|
|
732
736
|
isCentered: !0
|
|
733
|
-
}) : /* @__PURE__ */ (0, I.jsxs)(
|
|
737
|
+
}) : /* @__PURE__ */ (0, I.jsxs)(Ye, {
|
|
734
738
|
verificationService: e,
|
|
735
739
|
children: [/* @__PURE__ */ (0, I.jsx)("div", {}), " "]
|
|
736
740
|
})]
|
|
737
741
|
});
|
|
738
|
-
},
|
|
739
|
-
let e =
|
|
742
|
+
}, Qt = () => {
|
|
743
|
+
let e = ue(), t = ae(), n = oe(), r = d(() => n.segment), i = F.useCallback(() => {
|
|
740
744
|
if (window.self !== window.top) {
|
|
741
745
|
let e = new URL(window.location.href);
|
|
742
746
|
e.searchParams.delete("verificationId"), window.location.replace(e);
|
|
743
747
|
return;
|
|
744
748
|
}
|
|
745
749
|
(async () => {
|
|
746
|
-
|
|
750
|
+
He(e)(), await Ie(e)(t, r, void 0, void 0, !0);
|
|
747
751
|
})();
|
|
748
752
|
}, [
|
|
749
753
|
e,
|
|
@@ -757,13 +761,13 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
757
761
|
onKeyPress: i,
|
|
758
762
|
children: /* @__PURE__ */ (0, I.jsx)(M, { id: "tryAgain" })
|
|
759
763
|
});
|
|
760
|
-
},
|
|
764
|
+
}, $t = {
|
|
761
765
|
NONE: "none",
|
|
762
766
|
RESET: "reset",
|
|
763
767
|
POSTMESSAGE: "postMessage",
|
|
764
768
|
REDIRECT: "redirect"
|
|
765
|
-
},
|
|
766
|
-
let e =
|
|
769
|
+
}, en = () => {
|
|
770
|
+
let e = oe(), t = () => ie({
|
|
767
771
|
action: "tryAgain",
|
|
768
772
|
verificationResponse: e
|
|
769
773
|
});
|
|
@@ -774,52 +778,54 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
774
778
|
onKeyPress: t,
|
|
775
779
|
children: /* @__PURE__ */ (0, I.jsx)(M, { id: "tryAgain" })
|
|
776
780
|
});
|
|
777
|
-
},
|
|
781
|
+
}, tn = ({ redirectUrl: e, target: t = "_blank" }) => /* @__PURE__ */ (0, I.jsx)(he, {
|
|
778
782
|
target: t,
|
|
779
783
|
href: e.toString(),
|
|
780
784
|
className: "sid-btn sid-btn--dark",
|
|
781
785
|
children: /* @__PURE__ */ (0, I.jsx)(M, { id: "seeOtherOffers" })
|
|
782
|
-
}),
|
|
783
|
-
if (!(typeof e == "object" && "type" in e && Object.values(
|
|
784
|
-
},
|
|
785
|
-
let e =
|
|
786
|
+
}), nn = (e) => {
|
|
787
|
+
if (!(typeof e == "object" && "type" in e && Object.values($t).includes(e.type))) throw RangeError("Invalid tryAgainAction option type - using default TryAgainButton.");
|
|
788
|
+
}, rn = () => {
|
|
789
|
+
let e = C("tryAgainAction");
|
|
786
790
|
try {
|
|
787
|
-
switch (
|
|
788
|
-
case
|
|
789
|
-
case
|
|
790
|
-
case
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
791
|
+
switch (nn(e), e.type) {
|
|
792
|
+
case $t.NONE: return null;
|
|
793
|
+
case $t.POSTMESSAGE: return window.self === window.top ? (N.error(`Invalid tryAgainAction option type "${e.type}" - page must be embedded in an iframe.`), null) : /* @__PURE__ */ (0, I.jsx)(en, {});
|
|
794
|
+
case $t.REDIRECT:
|
|
795
|
+
if (!_(e.url)) throw RangeError("Invalid tryAgainAction redirect url - must be an absolute http(s) URL. Using default TryAgainButton.");
|
|
796
|
+
return /* @__PURE__ */ (0, I.jsx)(tn, {
|
|
797
|
+
redirectUrl: e.url,
|
|
798
|
+
target: e.target
|
|
799
|
+
});
|
|
800
|
+
case $t.RESET: return /* @__PURE__ */ (0, I.jsx)(Qt, {});
|
|
795
801
|
default: throw RangeError("Invalid tryAgainAction option type - using default TryAgainButton.");
|
|
796
802
|
}
|
|
797
803
|
} catch (e) {
|
|
798
|
-
return N.error(e.message), /* @__PURE__ */ (0, I.jsx)(
|
|
804
|
+
return N.error(e.message), /* @__PURE__ */ (0, I.jsx)(Qt, {});
|
|
799
805
|
}
|
|
800
|
-
},
|
|
806
|
+
}, an = [
|
|
801
807
|
"docReviewLimitExceeded",
|
|
802
808
|
"verificationLimitExceeded",
|
|
803
809
|
"fraudRulesReject"
|
|
804
|
-
],
|
|
810
|
+
], on = ({ verificationService: e, errorIds: t }) => {
|
|
805
811
|
let n = t[0];
|
|
806
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
812
|
+
return /* @__PURE__ */ (0, I.jsx)(dt, {
|
|
807
813
|
align: "center",
|
|
808
814
|
children: /* @__PURE__ */ (0, I.jsx)("h1", { children: /* @__PURE__ */ (0, I.jsx)(M, { id: e?.messages[`step.error.errorId.${n}.title`] ? `step.error.errorId.${n}.title` : "step.error.title" }) })
|
|
809
815
|
});
|
|
810
|
-
},
|
|
816
|
+
}, sn = ({ errorIds: e, errorDetailId: t }) => {
|
|
811
817
|
let n = /* @__PURE__ */ new Map();
|
|
812
818
|
return t ? n.set(t, `errorDetailId.${t}`) : e?.forEach((e) => n.set(e, `errorId.${e}`)), n.size > 0 ? /* @__PURE__ */ (0, I.jsx)("p", { children: Array.from(n).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(M, { id: t }, t)) }) : null;
|
|
813
|
-
},
|
|
819
|
+
}, cn = ({ verificationService: e, errorIds: t }) => {
|
|
814
820
|
let n = `step.error.errorId.${t[0]}.note`;
|
|
815
821
|
return e.messages?.[n] ? /* @__PURE__ */ (0, I.jsx)("p", {
|
|
816
822
|
className: "sid-error-note sid-h-small-text",
|
|
817
823
|
children: /* @__PURE__ */ (0, I.jsx)(M, { id: n })
|
|
818
824
|
}) : null;
|
|
819
|
-
},
|
|
825
|
+
}, ln = ({ verificationService: e, errorIds: t, redirectUrl: n }) => {
|
|
820
826
|
if (t.includes("unauthorizedAccountStatus")) {
|
|
821
|
-
let t =
|
|
822
|
-
return t ? /* @__PURE__ */ (0, I.jsx)(
|
|
827
|
+
let t = d(() => e.programTheme.config.brandInfo.faqUrl);
|
|
828
|
+
return t ? /* @__PURE__ */ (0, I.jsx)(he, {
|
|
823
829
|
href: t,
|
|
824
830
|
onClick: () => p(P.error, t),
|
|
825
831
|
className: "sid-btn sid-faq-btn sid-btn-light",
|
|
@@ -827,18 +833,18 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
827
833
|
}) : null;
|
|
828
834
|
}
|
|
829
835
|
if (t.includes("verificationLimitExceeded")) return null;
|
|
830
|
-
if (t.includes("missingRequiredMetadata") || t.includes("missingRequiredExternalId")) return
|
|
836
|
+
if (t.includes("missingRequiredMetadata") || t.includes("missingRequiredExternalId")) return C("tryAgainAction").type === "reset" ? null : /* @__PURE__ */ (0, I.jsx)(rn, {});
|
|
831
837
|
let r = t[0];
|
|
832
|
-
return e.messages?.[`step.error.errorId.${r}.buttonText`] && n ? /* @__PURE__ */ (0, I.jsx)(
|
|
838
|
+
return e.messages?.[`step.error.errorId.${r}.buttonText`] && _(n) ? /* @__PURE__ */ (0, I.jsx)(he, {
|
|
833
839
|
href: n,
|
|
834
840
|
onClick: () => p(P.error, n),
|
|
835
841
|
className: "sid-btn sid-error-btn sid-btn-light",
|
|
836
842
|
children: /* @__PURE__ */ (0, I.jsx)(M, { id: `step.error.errorId.${r}.buttonText` })
|
|
837
|
-
}) : /* @__PURE__ */ (0, I.jsx)(
|
|
838
|
-
},
|
|
839
|
-
let { errorIds: n, redirectUrl: r, errorDetailId: i } = e.verificationResponse, a =
|
|
843
|
+
}) : /* @__PURE__ */ (0, I.jsx)(rn, {});
|
|
844
|
+
}, un = ({ verificationService: e, errorId: t }) => {
|
|
845
|
+
let { errorIds: n, redirectUrl: r, errorDetailId: i } = e.verificationResponse, a = at("hc-my-sheer-id-theme-builder"), o = /* @__PURE__ */ new Set();
|
|
840
846
|
t && o.add(t), Array.isArray(n) && n.forEach((e) => o.add(e));
|
|
841
|
-
let s = Array.from(o), c = s.some((e) =>
|
|
847
|
+
let s = Array.from(o), c = s.some((e) => an.includes(e));
|
|
842
848
|
return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
843
849
|
id: "sid-step-error",
|
|
844
850
|
className: "sid-error-container sid-l-container",
|
|
@@ -848,7 +854,7 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
848
854
|
children: [
|
|
849
855
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
850
856
|
className: "sid-error-logo-container sid-l-horz-center",
|
|
851
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
857
|
+
children: /* @__PURE__ */ (0, I.jsx)(lt, {
|
|
852
858
|
verificationService: e,
|
|
853
859
|
fallbackLogo: !a && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
854
860
|
className: "sid-error-logo sid-l-lead-image",
|
|
@@ -857,7 +863,7 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
857
863
|
})
|
|
858
864
|
})
|
|
859
865
|
}),
|
|
860
|
-
/* @__PURE__ */ (0, I.jsx)(
|
|
866
|
+
/* @__PURE__ */ (0, I.jsx)(on, {
|
|
861
867
|
verificationService: e,
|
|
862
868
|
errorIds: s
|
|
863
869
|
}),
|
|
@@ -866,10 +872,10 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
866
872
|
children: [
|
|
867
873
|
/* @__PURE__ */ (0, I.jsxs)("div", {
|
|
868
874
|
className: "sid-error-msg sid-l-horz-center",
|
|
869
|
-
children: [/* @__PURE__ */ (0, I.jsx)(
|
|
875
|
+
children: [/* @__PURE__ */ (0, I.jsx)(sn, {
|
|
870
876
|
errorIds: s,
|
|
871
877
|
errorDetailId: i
|
|
872
|
-
}), /* @__PURE__ */ (0, I.jsx)(
|
|
878
|
+
}), /* @__PURE__ */ (0, I.jsx)(cn, {
|
|
873
879
|
verificationService: e,
|
|
874
880
|
errorIds: s
|
|
875
881
|
})]
|
|
@@ -880,7 +886,7 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
880
886
|
}),
|
|
881
887
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
882
888
|
className: "sid-l-space-top-lg sid-error-button-container sid-l-horz-center",
|
|
883
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
889
|
+
children: /* @__PURE__ */ (0, I.jsx)(ln, {
|
|
884
890
|
verificationService: e,
|
|
885
891
|
errorIds: s,
|
|
886
892
|
redirectUrl: r
|
|
@@ -891,58 +897,58 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
891
897
|
]
|
|
892
898
|
}), /* @__PURE__ */ (0, I.jsx)("div", {
|
|
893
899
|
className: "sid-footer sid-powered-by-container sid-l-horz-center sid-l-space-top-xl sid-h-small-text",
|
|
894
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
900
|
+
children: /* @__PURE__ */ (0, I.jsx)(Mt, {
|
|
895
901
|
verificationService: e,
|
|
896
902
|
isCentered: !0,
|
|
897
903
|
hideFaqLink: c
|
|
898
904
|
})
|
|
899
905
|
})]
|
|
900
906
|
});
|
|
901
|
-
},
|
|
902
|
-
StepPendingComponent:
|
|
903
|
-
StepErrorComponent:
|
|
904
|
-
StepStudentPersonalInfoComponent: F.lazy(() => import("./chunk/StepStudentPersonalInfo-
|
|
905
|
-
StepOverrideComponent: F.lazy(() => import("./chunk/StepOverrideComponent-
|
|
906
|
-
StepAgePersonalInfoComponent: F.lazy(() => import("./chunk/StepAgePersonalInfo-
|
|
907
|
-
StepSeniorPersonalInfoComponent: F.lazy(() => import("./chunk/StepAgePersonalInfo-
|
|
908
|
-
StepCollectMilitaryPersonalInfoComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-
|
|
909
|
-
StepCollectMilitaryStatusComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-
|
|
910
|
-
StepActiveMilitaryPersonalInfoComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-
|
|
911
|
-
StepInactiveMilitaryPersonalInfoComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-
|
|
912
|
-
StepDriverLicensePersonalInfoComponent: F.lazy(() => import("./chunk/StepDriverLicensePersonalInfoComponent-
|
|
913
|
-
StepEmploymentPersonalInfoComponent: F.lazy(() => import("./chunk/StepEmploymentPersonalInfo-
|
|
914
|
-
StepFirstResponderPersonalInfoComponent: F.lazy(() => import("./chunk/StepFirstResponderPersonalInfo-
|
|
915
|
-
StepGeneralIdentityPersonalInfoComponent: F.lazy(() => import("./chunk/StepGeneralIdentityPersonalInfoComponent-
|
|
916
|
-
StepHybridIdentityPersonalInfoComponent: F.lazy(() => import("./chunk/StepHybridIdentityPersonalInfoComponent-
|
|
917
|
-
StepIDCheckLoopComponent: F.lazy(() => import("./chunk/StepIDCheckLoop-
|
|
918
|
-
StepLicensedProfessionalPersonalInfoComponent: F.lazy(() => import("./chunk/StepLicensedProfessionalPersonalInfo-
|
|
919
|
-
StepLowIncomePersonalInfoComponent: F.lazy(() => import("./chunk/StepLowIncomePersonalInfo-
|
|
920
|
-
StepMedicalProfessionalPersonalInfoComponent: F.lazy(() => import("./chunk/StepMedicalProfessionalPersonalInfo-
|
|
921
|
-
StepMemberPersonalInfoComponent: F.lazy(() => import("./chunk/StepMemberPersonalInfo-
|
|
922
|
-
StepConsolationComponent: F.lazy(() => import("./chunk/StepConsolation-
|
|
923
|
-
StepDocUploadComponent: F.lazy(() => import("./chunk/StepDocUpload-
|
|
924
|
-
StepEmailLoopComponent: F.lazy(() => import("./chunk/StepEmailLoop-
|
|
925
|
-
StepPendingEmailLoopComponent: F.lazy(() => import("./chunk/EmailLoopPending-
|
|
926
|
-
StepMoverPersonalInfoComponent: F.lazy(() => import("./chunk/StepMoverPersonalInfo-
|
|
927
|
-
StepSMSLoopComponent: F.lazy(() => import("./chunk/StepSMSLoop-
|
|
928
|
-
StepSocialSecurity: F.lazy(() => import("./chunk/StepSocialSecurityNumber-
|
|
907
|
+
}, dn = {
|
|
908
|
+
StepPendingComponent: Zt,
|
|
909
|
+
StepErrorComponent: un,
|
|
910
|
+
StepStudentPersonalInfoComponent: F.lazy(() => import("./chunk/StepStudentPersonalInfo-BXgbCDPU.js")),
|
|
911
|
+
StepOverrideComponent: F.lazy(() => import("./chunk/StepOverrideComponent-Db2qbG7p.js")),
|
|
912
|
+
StepAgePersonalInfoComponent: F.lazy(() => import("./chunk/StepAgePersonalInfo-Cd2H3W4S.js")),
|
|
913
|
+
StepSeniorPersonalInfoComponent: F.lazy(() => import("./chunk/StepAgePersonalInfo-Cd2H3W4S.js")),
|
|
914
|
+
StepCollectMilitaryPersonalInfoComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-0gI8ebUM.js")),
|
|
915
|
+
StepCollectMilitaryStatusComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-0gI8ebUM.js")),
|
|
916
|
+
StepActiveMilitaryPersonalInfoComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-0gI8ebUM.js")),
|
|
917
|
+
StepInactiveMilitaryPersonalInfoComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-0gI8ebUM.js")),
|
|
918
|
+
StepDriverLicensePersonalInfoComponent: F.lazy(() => import("./chunk/StepDriverLicensePersonalInfoComponent-CPOFMRp_.js")),
|
|
919
|
+
StepEmploymentPersonalInfoComponent: F.lazy(() => import("./chunk/StepEmploymentPersonalInfo-Yib6xGXV.js")),
|
|
920
|
+
StepFirstResponderPersonalInfoComponent: F.lazy(() => import("./chunk/StepFirstResponderPersonalInfo-B4tL9MhD.js")),
|
|
921
|
+
StepGeneralIdentityPersonalInfoComponent: F.lazy(() => import("./chunk/StepGeneralIdentityPersonalInfoComponent-8oj9G0T1.js")),
|
|
922
|
+
StepHybridIdentityPersonalInfoComponent: F.lazy(() => import("./chunk/StepHybridIdentityPersonalInfoComponent-CjQ0foYf.js")),
|
|
923
|
+
StepIDCheckLoopComponent: F.lazy(() => import("./chunk/StepIDCheckLoop-D4zeYY-d.js")),
|
|
924
|
+
StepLicensedProfessionalPersonalInfoComponent: F.lazy(() => import("./chunk/StepLicensedProfessionalPersonalInfo-CIUHCkK-.js")),
|
|
925
|
+
StepLowIncomePersonalInfoComponent: F.lazy(() => import("./chunk/StepLowIncomePersonalInfo-jV2FDRyA.js")),
|
|
926
|
+
StepMedicalProfessionalPersonalInfoComponent: F.lazy(() => import("./chunk/StepMedicalProfessionalPersonalInfo-2T8NjAkS.js")),
|
|
927
|
+
StepMemberPersonalInfoComponent: F.lazy(() => import("./chunk/StepMemberPersonalInfo-BLfVdTS4.js")),
|
|
928
|
+
StepConsolationComponent: F.lazy(() => import("./chunk/StepConsolation-BYJrzPhb.js")),
|
|
929
|
+
StepDocUploadComponent: F.lazy(() => import("./chunk/StepDocUpload-UWDCjeCP.js")),
|
|
930
|
+
StepEmailLoopComponent: F.lazy(() => import("./chunk/StepEmailLoop-CS2KUPEU.js")),
|
|
931
|
+
StepPendingEmailLoopComponent: F.lazy(() => import("./chunk/EmailLoopPending-BVOXk0TZ.js").then((e) => e.n)),
|
|
932
|
+
StepMoverPersonalInfoComponent: F.lazy(() => import("./chunk/StepMoverPersonalInfo-BBL0N0po.js")),
|
|
933
|
+
StepSMSLoopComponent: F.lazy(() => import("./chunk/StepSMSLoop-B5pvxGza.js")),
|
|
934
|
+
StepSocialSecurity: F.lazy(() => import("./chunk/StepSocialSecurityNumber-BScMW4aa.js")),
|
|
929
935
|
StepSSOComponent: F.lazy(() => import("./chunk/StepSSO-ZHByQpHa.js")),
|
|
930
|
-
StepSuccessComponent: F.lazy(() => import("./chunk/StepSuccess-
|
|
931
|
-
StepTeacherPersonalInfoComponent: F.lazy(() => import("./chunk/StepTeacherPersonalInfo-
|
|
932
|
-
StepCompleteAuthentication: F.lazy(() => import("./chunk/StepCompleteAuthentication-
|
|
933
|
-
StepCollectIdentifierComponent: F.lazy(() => import("./chunk/StepCollectIdentifier-
|
|
934
|
-
StepCollectPersonalInfo: F.lazy(() => import("./chunk/StepCollectPersonalInfo-
|
|
936
|
+
StepSuccessComponent: F.lazy(() => import("./chunk/StepSuccess-D0GQexPa.js")),
|
|
937
|
+
StepTeacherPersonalInfoComponent: F.lazy(() => import("./chunk/StepTeacherPersonalInfo-DZ4924qb.js")),
|
|
938
|
+
StepCompleteAuthentication: F.lazy(() => import("./chunk/StepCompleteAuthentication-BtaBmTdY.js")),
|
|
939
|
+
StepCollectIdentifierComponent: F.lazy(() => import("./chunk/StepCollectIdentifier-DpxG8Qao.js")),
|
|
940
|
+
StepCollectPersonalInfo: F.lazy(() => import("./chunk/StepCollectPersonalInfo-DGCHonaO.js")),
|
|
935
941
|
StepThirdPartyLoopComponent: F.lazy(() => import("./chunk/StepThirdPartyLoop-BrKuZcYb.js"))
|
|
936
|
-
}, z = (e) => (N.info("getComponent", e),
|
|
942
|
+
}, z = (e) => (N.info("getComponent", e), Ot(e) || dn[e]), fn = () => /* @__PURE__ */ (0, I.jsx)(_t, {}), pn = ({ stepToLoad: e, verificationService: t }) => {
|
|
937
943
|
N.info(`LoadStepComponent: rendering step: ${e}`);
|
|
938
944
|
let n;
|
|
939
945
|
switch ((0, F.useEffect)(() => {
|
|
940
946
|
try {
|
|
941
|
-
performance.mark(
|
|
947
|
+
performance.mark(w.INITIAL_STEP_LOAD);
|
|
942
948
|
} catch {}
|
|
943
949
|
}, []), F.useEffect(() => {
|
|
944
950
|
if (!["pending", "error"].includes(e)) try {
|
|
945
|
-
performance.mark(u.STEP_SEEN),
|
|
951
|
+
performance.mark(u.STEP_SEEN), f({
|
|
946
952
|
eventName: u.STEP_SEEN,
|
|
947
953
|
params: { step: e }
|
|
948
954
|
});
|
|
@@ -1061,37 +1067,37 @@ var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt
|
|
|
1061
1067
|
case "cancelEmailLoop":
|
|
1062
1068
|
case "cancelSocialSecurityNumber":
|
|
1063
1069
|
case "docReviewLimitExceeded":
|
|
1064
|
-
case "emailLoopCollectOrganizationEmail": return N.error("Attempted to load unexpected step", e), /* @__PURE__ */ (0, I.jsx)(
|
|
1070
|
+
case "emailLoopCollectOrganizationEmail": return N.error("Attempted to load unexpected step", e), /* @__PURE__ */ (0, I.jsx)(un, {
|
|
1065
1071
|
verificationService: t,
|
|
1066
1072
|
errorId: "invalidStep"
|
|
1067
1073
|
});
|
|
1068
|
-
default: return N.error("Unable to load step", e), /* @__PURE__ */ (0, I.jsx)(
|
|
1074
|
+
default: return N.error("Unable to load step", e), /* @__PURE__ */ (0, I.jsx)(un, {
|
|
1069
1075
|
verificationService: t,
|
|
1070
1076
|
errorId: "invalidStep"
|
|
1071
1077
|
});
|
|
1072
1078
|
}
|
|
1073
1079
|
return /* @__PURE__ */ (0, I.jsx)(F.Suspense, {
|
|
1074
|
-
fallback:
|
|
1080
|
+
fallback: fn(),
|
|
1075
1081
|
children: /* @__PURE__ */ (0, I.jsx)(n, { verificationService: t })
|
|
1076
1082
|
});
|
|
1077
|
-
},
|
|
1083
|
+
}, mn = ({ dangerouslySetInnerHTML: e, ...t }) => e ? /* @__PURE__ */ (0, I.jsx)("span", {
|
|
1078
1084
|
dangerouslySetInnerHTML: e,
|
|
1079
1085
|
...t
|
|
1080
|
-
}) : /* @__PURE__ */ (0, I.jsx)(F.Fragment, { ...t }),
|
|
1086
|
+
}) : /* @__PURE__ */ (0, I.jsx)(F.Fragment, { ...t }), hn = ({ verificationService: e }) => e.programTheme?.isTestMode ? /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
1081
1087
|
className: "sid-test-mode-flag sid-l-container sid-l-horz-center",
|
|
1082
1088
|
role: "note",
|
|
1083
|
-
children: ["Test Mode", /* @__PURE__ */ (0, I.jsx)(
|
|
1089
|
+
children: ["Test Mode", /* @__PURE__ */ (0, I.jsx)(he, {
|
|
1084
1090
|
className: "sid-test-mode-flag__link",
|
|
1085
1091
|
href: "https://developer.sheerid.com/getting-started#test-program",
|
|
1086
1092
|
"aria-label": "learn more about a sheerid test mode program",
|
|
1087
1093
|
children: "(learn more)"
|
|
1088
1094
|
})]
|
|
1089
|
-
}) : null,
|
|
1095
|
+
}) : null, gn = ({ verificationService: e, title: t, children: n, fallbackLogo: r, classNameIdentifier: i = void 0 }) => /* @__PURE__ */ (0, I.jsxs)("header", {
|
|
1090
1096
|
className: "sid-header",
|
|
1091
1097
|
children: [
|
|
1092
1098
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
1093
1099
|
className: `sid-logo-container sid-l-horz-center ${i ? `sid-${i}-logo-container` : ""}`,
|
|
1094
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
1100
|
+
children: /* @__PURE__ */ (0, I.jsx)(lt, {
|
|
1095
1101
|
verificationService: e,
|
|
1096
1102
|
fallbackLogo: r
|
|
1097
1103
|
})
|
|
@@ -1111,30 +1117,30 @@ function B(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
|
|
|
1111
1117
|
}
|
|
1112
1118
|
//#endregion
|
|
1113
1119
|
//#region ../node_modules/@radix-ui/react-compose-refs/dist/index.mjs
|
|
1114
|
-
function
|
|
1120
|
+
function _n(e, t) {
|
|
1115
1121
|
if (typeof e == "function") return e(t);
|
|
1116
1122
|
e != null && (e.current = t);
|
|
1117
1123
|
}
|
|
1118
|
-
function
|
|
1124
|
+
function vn(...e) {
|
|
1119
1125
|
return (t) => {
|
|
1120
1126
|
let n = !1, r = e.map((e) => {
|
|
1121
|
-
let r =
|
|
1127
|
+
let r = _n(e, t);
|
|
1122
1128
|
return !n && typeof r == "function" && (n = !0), r;
|
|
1123
1129
|
});
|
|
1124
1130
|
if (n) return () => {
|
|
1125
1131
|
for (let t = 0; t < r.length; t++) {
|
|
1126
1132
|
let n = r[t];
|
|
1127
|
-
typeof n == "function" ? n() :
|
|
1133
|
+
typeof n == "function" ? n() : _n(e[t], null);
|
|
1128
1134
|
}
|
|
1129
1135
|
};
|
|
1130
1136
|
};
|
|
1131
1137
|
}
|
|
1132
1138
|
function V(...e) {
|
|
1133
|
-
return F.useCallback(
|
|
1139
|
+
return F.useCallback(vn(...e), e);
|
|
1134
1140
|
}
|
|
1135
1141
|
//#endregion
|
|
1136
1142
|
//#region ../node_modules/@radix-ui/react-context/dist/index.mjs
|
|
1137
|
-
function
|
|
1143
|
+
function yn(e, t = []) {
|
|
1138
1144
|
let n = [];
|
|
1139
1145
|
function r(t, r) {
|
|
1140
1146
|
let i = F.createContext(r), a = n.length;
|
|
@@ -1165,9 +1171,9 @@ function vn(e, t = []) {
|
|
|
1165
1171
|
} }), [n, r]);
|
|
1166
1172
|
};
|
|
1167
1173
|
};
|
|
1168
|
-
return i.scopeName = e, [r,
|
|
1174
|
+
return i.scopeName = e, [r, bn(i, ...t)];
|
|
1169
1175
|
}
|
|
1170
|
-
function
|
|
1176
|
+
function bn(...e) {
|
|
1171
1177
|
let t = e[0];
|
|
1172
1178
|
if (e.length === 1) return t;
|
|
1173
1179
|
let n = () => {
|
|
@@ -1191,9 +1197,9 @@ function yn(...e) {
|
|
|
1191
1197
|
//#endregion
|
|
1192
1198
|
//#region ../node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
1193
1199
|
// @__NO_SIDE_EFFECTS__
|
|
1194
|
-
function
|
|
1195
|
-
let t = /* @__PURE__ */
|
|
1196
|
-
let { children: r, ...i } = e, a = F.Children.toArray(r), o = a.find(
|
|
1200
|
+
function xn(e) {
|
|
1201
|
+
let t = /* @__PURE__ */ Sn(e), n = F.forwardRef((e, n) => {
|
|
1202
|
+
let { children: r, ...i } = e, a = F.Children.toArray(r), o = a.find(wn);
|
|
1197
1203
|
if (o) {
|
|
1198
1204
|
let e = o.props.children, r = a.map((t) => t === o ? F.Children.count(e) > 1 ? F.Children.only(null) : F.isValidElement(e) ? e.props.children : null : t);
|
|
1199
1205
|
return /* @__PURE__ */ (0, I.jsx)(t, {
|
|
@@ -1211,22 +1217,22 @@ function bn(e) {
|
|
|
1211
1217
|
return n.displayName = `${e}.Slot`, n;
|
|
1212
1218
|
}
|
|
1213
1219
|
// @__NO_SIDE_EFFECTS__
|
|
1214
|
-
function
|
|
1220
|
+
function Sn(e) {
|
|
1215
1221
|
let t = F.forwardRef((e, t) => {
|
|
1216
1222
|
let { children: n, ...r } = e;
|
|
1217
1223
|
if (F.isValidElement(n)) {
|
|
1218
|
-
let e =
|
|
1219
|
-
return n.type !== F.Fragment && (i.ref = t ?
|
|
1224
|
+
let e = En(n), i = Tn(r, n.props);
|
|
1225
|
+
return n.type !== F.Fragment && (i.ref = t ? vn(t, e) : e), F.cloneElement(n, i);
|
|
1220
1226
|
}
|
|
1221
1227
|
return F.Children.count(n) > 1 ? F.Children.only(null) : null;
|
|
1222
1228
|
});
|
|
1223
1229
|
return t.displayName = `${e}.SlotClone`, t;
|
|
1224
1230
|
}
|
|
1225
|
-
var
|
|
1226
|
-
function
|
|
1227
|
-
return F.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId ===
|
|
1231
|
+
var Cn = Symbol("radix.slottable");
|
|
1232
|
+
function wn(e) {
|
|
1233
|
+
return F.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === Cn;
|
|
1228
1234
|
}
|
|
1229
|
-
function
|
|
1235
|
+
function Tn(e, t) {
|
|
1230
1236
|
let n = { ...t };
|
|
1231
1237
|
for (let r in t) {
|
|
1232
1238
|
let i = e[r], a = t[r];
|
|
@@ -1243,7 +1249,7 @@ function wn(e, t) {
|
|
|
1243
1249
|
...n
|
|
1244
1250
|
};
|
|
1245
1251
|
}
|
|
1246
|
-
function
|
|
1252
|
+
function En(e) {
|
|
1247
1253
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
1248
1254
|
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);
|
|
1249
1255
|
}
|
|
@@ -1268,7 +1274,7 @@ var H = [
|
|
|
1268
1274
|
"svg",
|
|
1269
1275
|
"ul"
|
|
1270
1276
|
].reduce((e, t) => {
|
|
1271
|
-
let n = /* @__PURE__ */
|
|
1277
|
+
let n = /* @__PURE__ */ xn(`Primitive.${t}`), r = F.forwardRef((e, r) => {
|
|
1272
1278
|
let { asChild: i, ...a } = e, o = i ? n : t;
|
|
1273
1279
|
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ (0, I.jsx)(o, {
|
|
1274
1280
|
...a,
|
|
@@ -1280,12 +1286,12 @@ var H = [
|
|
|
1280
1286
|
[t]: r
|
|
1281
1287
|
};
|
|
1282
1288
|
}, {});
|
|
1283
|
-
function
|
|
1284
|
-
e &&
|
|
1289
|
+
function Dn(e, t) {
|
|
1290
|
+
e && pt.flushSync(() => e.dispatchEvent(t));
|
|
1285
1291
|
}
|
|
1286
1292
|
//#endregion
|
|
1287
1293
|
//#region ../node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
|
|
1288
|
-
function
|
|
1294
|
+
function On(e) {
|
|
1289
1295
|
let t = F.useRef(e);
|
|
1290
1296
|
return F.useEffect(() => {
|
|
1291
1297
|
t.current = e;
|
|
@@ -1293,8 +1299,8 @@ function Dn(e) {
|
|
|
1293
1299
|
}
|
|
1294
1300
|
//#endregion
|
|
1295
1301
|
//#region ../node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs
|
|
1296
|
-
function
|
|
1297
|
-
let n =
|
|
1302
|
+
function kn(e, t = globalThis?.document) {
|
|
1303
|
+
let n = On(e);
|
|
1298
1304
|
F.useEffect(() => {
|
|
1299
1305
|
let e = (e) => {
|
|
1300
1306
|
e.key === "Escape" && n(e);
|
|
@@ -1304,23 +1310,23 @@ function On(e, t = globalThis?.document) {
|
|
|
1304
1310
|
}
|
|
1305
1311
|
//#endregion
|
|
1306
1312
|
//#region ../node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
|
|
1307
|
-
var
|
|
1313
|
+
var An = "DismissableLayer", jn = "dismissableLayer.update", Mn = "dismissableLayer.pointerDownOutside", Nn = "dismissableLayer.focusOutside", Pn, Fn = F.createContext({
|
|
1308
1314
|
layers: /* @__PURE__ */ new Set(),
|
|
1309
1315
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
1310
1316
|
branches: /* @__PURE__ */ new Set()
|
|
1311
|
-
}),
|
|
1312
|
-
let { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: o, onDismiss: s, ...c } = e, l = F.useContext(
|
|
1317
|
+
}), In = F.forwardRef((e, t) => {
|
|
1318
|
+
let { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: o, onDismiss: s, ...c } = e, l = F.useContext(Fn), [u, d] = F.useState(null), f = u?.ownerDocument ?? globalThis?.document, [, p] = F.useState({}), m = V(t, (e) => d(e)), h = Array.from(l.layers), [g] = [...l.layersWithOutsidePointerEventsDisabled].slice(-1), _ = h.indexOf(g), v = u ? h.indexOf(u) : -1, y = l.layersWithOutsidePointerEventsDisabled.size > 0, b = v >= _, x = zn((e) => {
|
|
1313
1319
|
let t = e.target, n = [...l.branches].some((e) => e.contains(t));
|
|
1314
1320
|
!b || n || (i?.(e), o?.(e), e.defaultPrevented || s?.());
|
|
1315
|
-
}, f), S =
|
|
1321
|
+
}, f), S = Bn((e) => {
|
|
1316
1322
|
let t = e.target;
|
|
1317
1323
|
[...l.branches].some((e) => e.contains(t)) || (a?.(e), o?.(e), e.defaultPrevented || s?.());
|
|
1318
1324
|
}, f);
|
|
1319
|
-
return
|
|
1325
|
+
return kn((e) => {
|
|
1320
1326
|
v === l.layers.size - 1 && (r?.(e), !e.defaultPrevented && s && (e.preventDefault(), s()));
|
|
1321
1327
|
}, f), F.useEffect(() => {
|
|
1322
|
-
if (u) return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (
|
|
1323
|
-
n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (f.body.style.pointerEvents =
|
|
1328
|
+
if (u) return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (Pn = f.body.style.pointerEvents, f.body.style.pointerEvents = "none"), l.layersWithOutsidePointerEventsDisabled.add(u)), l.layers.add(u), Vn(), () => {
|
|
1329
|
+
n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (f.body.style.pointerEvents = Pn);
|
|
1324
1330
|
};
|
|
1325
1331
|
}, [
|
|
1326
1332
|
u,
|
|
@@ -1328,10 +1334,10 @@ var kn = "DismissableLayer", An = "dismissableLayer.update", jn = "dismissableLa
|
|
|
1328
1334
|
n,
|
|
1329
1335
|
l
|
|
1330
1336
|
]), F.useEffect(() => () => {
|
|
1331
|
-
u && (l.layers.delete(u), l.layersWithOutsidePointerEventsDisabled.delete(u),
|
|
1337
|
+
u && (l.layers.delete(u), l.layersWithOutsidePointerEventsDisabled.delete(u), Vn());
|
|
1332
1338
|
}, [u, l]), F.useEffect(() => {
|
|
1333
1339
|
let e = () => p({});
|
|
1334
|
-
return document.addEventListener(
|
|
1340
|
+
return document.addEventListener(jn, e), () => document.removeEventListener(jn, e);
|
|
1335
1341
|
}, []), /* @__PURE__ */ (0, I.jsx)(H.div, {
|
|
1336
1342
|
...c,
|
|
1337
1343
|
ref: m,
|
|
@@ -1344,9 +1350,9 @@ var kn = "DismissableLayer", An = "dismissableLayer.update", jn = "dismissableLa
|
|
|
1344
1350
|
onPointerDownCapture: B(e.onPointerDownCapture, x.onPointerDownCapture)
|
|
1345
1351
|
});
|
|
1346
1352
|
});
|
|
1347
|
-
|
|
1348
|
-
var
|
|
1349
|
-
let n = F.useContext(
|
|
1353
|
+
In.displayName = An;
|
|
1354
|
+
var Ln = "DismissableLayerBranch", Rn = F.forwardRef((e, t) => {
|
|
1355
|
+
let n = F.useContext(Fn), r = F.useRef(null), i = V(t, r);
|
|
1350
1356
|
return F.useEffect(() => {
|
|
1351
1357
|
let e = r.current;
|
|
1352
1358
|
if (e) return n.branches.add(e), () => {
|
|
@@ -1357,14 +1363,14 @@ var In = "DismissableLayerBranch", Ln = F.forwardRef((e, t) => {
|
|
|
1357
1363
|
ref: i
|
|
1358
1364
|
});
|
|
1359
1365
|
});
|
|
1360
|
-
|
|
1361
|
-
function
|
|
1362
|
-
let n =
|
|
1366
|
+
Rn.displayName = Ln;
|
|
1367
|
+
function zn(e, t = globalThis?.document) {
|
|
1368
|
+
let n = On(e), r = F.useRef(!1), i = F.useRef(() => {});
|
|
1363
1369
|
return F.useEffect(() => {
|
|
1364
1370
|
let e = (e) => {
|
|
1365
1371
|
if (e.target && !r.current) {
|
|
1366
1372
|
let r = function() {
|
|
1367
|
-
|
|
1373
|
+
Hn(Mn, n, a, { discrete: !0 });
|
|
1368
1374
|
}, a = { originalEvent: e };
|
|
1369
1375
|
e.pointerType === "touch" ? (t.removeEventListener("click", i.current), i.current = r, t.addEventListener("click", i.current, { once: !0 })) : r();
|
|
1370
1376
|
} else t.removeEventListener("click", i.current);
|
|
@@ -1377,11 +1383,11 @@ function Rn(e, t = globalThis?.document) {
|
|
|
1377
1383
|
};
|
|
1378
1384
|
}, [t, n]), { onPointerDownCapture: () => r.current = !0 };
|
|
1379
1385
|
}
|
|
1380
|
-
function
|
|
1381
|
-
let n =
|
|
1386
|
+
function Bn(e, t = globalThis?.document) {
|
|
1387
|
+
let n = On(e), r = F.useRef(!1);
|
|
1382
1388
|
return F.useEffect(() => {
|
|
1383
1389
|
let e = (e) => {
|
|
1384
|
-
e.target && !r.current &&
|
|
1390
|
+
e.target && !r.current && Hn(Nn, n, { originalEvent: e }, { discrete: !1 });
|
|
1385
1391
|
};
|
|
1386
1392
|
return t.addEventListener("focusin", e), () => t.removeEventListener("focusin", e);
|
|
1387
1393
|
}, [t, n]), {
|
|
@@ -1389,40 +1395,40 @@ function zn(e, t = globalThis?.document) {
|
|
|
1389
1395
|
onBlurCapture: () => r.current = !1
|
|
1390
1396
|
};
|
|
1391
1397
|
}
|
|
1392
|
-
function
|
|
1393
|
-
let e = new CustomEvent(
|
|
1398
|
+
function Vn() {
|
|
1399
|
+
let e = new CustomEvent(jn);
|
|
1394
1400
|
document.dispatchEvent(e);
|
|
1395
1401
|
}
|
|
1396
|
-
function
|
|
1402
|
+
function Hn(e, t, n, { discrete: r }) {
|
|
1397
1403
|
let i = n.originalEvent.target, a = new CustomEvent(e, {
|
|
1398
1404
|
bubbles: !1,
|
|
1399
1405
|
cancelable: !0,
|
|
1400
1406
|
detail: n
|
|
1401
1407
|
});
|
|
1402
|
-
t && i.addEventListener(e, t, { once: !0 }), r ?
|
|
1408
|
+
t && i.addEventListener(e, t, { once: !0 }), r ? Dn(i, a) : i.dispatchEvent(a);
|
|
1403
1409
|
}
|
|
1404
1410
|
//#endregion
|
|
1405
1411
|
//#region ../node_modules/@radix-ui/react-focus-guards/dist/index.mjs
|
|
1406
|
-
var
|
|
1407
|
-
function
|
|
1412
|
+
var Un = 0;
|
|
1413
|
+
function Wn() {
|
|
1408
1414
|
F.useEffect(() => {
|
|
1409
1415
|
let e = document.querySelectorAll("[data-radix-focus-guard]");
|
|
1410
|
-
return document.body.insertAdjacentElement("afterbegin", e[0] ??
|
|
1411
|
-
|
|
1416
|
+
return document.body.insertAdjacentElement("afterbegin", e[0] ?? Gn()), document.body.insertAdjacentElement("beforeend", e[1] ?? Gn()), Un++, () => {
|
|
1417
|
+
Un === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((e) => e.remove()), Un--;
|
|
1412
1418
|
};
|
|
1413
1419
|
}, []);
|
|
1414
1420
|
}
|
|
1415
|
-
function
|
|
1421
|
+
function Gn() {
|
|
1416
1422
|
let e = document.createElement("span");
|
|
1417
1423
|
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;
|
|
1418
1424
|
}
|
|
1419
1425
|
//#endregion
|
|
1420
1426
|
//#region ../node_modules/@radix-ui/react-focus-scope/dist/index.mjs
|
|
1421
|
-
var
|
|
1427
|
+
var Kn = "focusScope.autoFocusOnMount", qn = "focusScope.autoFocusOnUnmount", Jn = {
|
|
1422
1428
|
bubbles: !1,
|
|
1423
1429
|
cancelable: !0
|
|
1424
|
-
},
|
|
1425
|
-
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [s, c] = F.useState(null), l =
|
|
1430
|
+
}, Yn = "FocusScope", Xn = F.forwardRef((e, t) => {
|
|
1431
|
+
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [s, c] = F.useState(null), l = On(i), u = On(a), d = F.useRef(null), f = V(t, (e) => c(e)), p = F.useRef({
|
|
1426
1432
|
paused: !1,
|
|
1427
1433
|
pause() {
|
|
1428
1434
|
this.paused = !0;
|
|
@@ -1436,13 +1442,13 @@ var Gn = "focusScope.autoFocusOnMount", Kn = "focusScope.autoFocusOnUnmount", qn
|
|
|
1436
1442
|
let e = function(e) {
|
|
1437
1443
|
if (p.paused || !s) return;
|
|
1438
1444
|
let t = e.target;
|
|
1439
|
-
s.contains(t) ? d.current = t :
|
|
1445
|
+
s.contains(t) ? d.current = t : rr(d.current, { select: !0 });
|
|
1440
1446
|
}, t = function(e) {
|
|
1441
1447
|
if (p.paused || !s) return;
|
|
1442
1448
|
let t = e.relatedTarget;
|
|
1443
|
-
t !== null && (s.contains(t) ||
|
|
1449
|
+
t !== null && (s.contains(t) || rr(d.current, { select: !0 }));
|
|
1444
1450
|
}, n = function(e) {
|
|
1445
|
-
if (document.activeElement === document.body) for (let t of e) t.removedNodes.length > 0 &&
|
|
1451
|
+
if (document.activeElement === document.body) for (let t of e) t.removedNodes.length > 0 && rr(s);
|
|
1446
1452
|
};
|
|
1447
1453
|
document.addEventListener("focusin", e), document.addEventListener("focusout", t);
|
|
1448
1454
|
let r = new MutationObserver(n);
|
|
@@ -1459,16 +1465,16 @@ var Gn = "focusScope.autoFocusOnMount", Kn = "focusScope.autoFocusOnUnmount", qn
|
|
|
1459
1465
|
p.paused
|
|
1460
1466
|
]), F.useEffect(() => {
|
|
1461
1467
|
if (s) {
|
|
1462
|
-
|
|
1468
|
+
ir.add(p);
|
|
1463
1469
|
let e = document.activeElement;
|
|
1464
1470
|
if (!s.contains(e)) {
|
|
1465
|
-
let t = new CustomEvent(
|
|
1466
|
-
s.addEventListener(
|
|
1471
|
+
let t = new CustomEvent(Kn, Jn);
|
|
1472
|
+
s.addEventListener(Kn, l), s.dispatchEvent(t), t.defaultPrevented || (Zn(sr($n(s)), { select: !0 }), document.activeElement === e && rr(s));
|
|
1467
1473
|
}
|
|
1468
1474
|
return () => {
|
|
1469
|
-
s.removeEventListener(
|
|
1470
|
-
let t = new CustomEvent(
|
|
1471
|
-
s.addEventListener(
|
|
1475
|
+
s.removeEventListener(Kn, l), setTimeout(() => {
|
|
1476
|
+
let t = new CustomEvent(qn, Jn);
|
|
1477
|
+
s.addEventListener(qn, u), s.dispatchEvent(t), t.defaultPrevented || rr(e ?? document.body, { select: !0 }), s.removeEventListener(qn, u), ir.remove(p);
|
|
1472
1478
|
}, 0);
|
|
1473
1479
|
};
|
|
1474
1480
|
}
|
|
@@ -1482,8 +1488,8 @@ var Gn = "focusScope.autoFocusOnMount", Kn = "focusScope.autoFocusOnUnmount", qn
|
|
|
1482
1488
|
if (!n && !r || p.paused) return;
|
|
1483
1489
|
let t = e.key === "Tab" && !e.altKey && !e.ctrlKey && !e.metaKey, i = document.activeElement;
|
|
1484
1490
|
if (t && i) {
|
|
1485
|
-
let t = e.currentTarget, [r, a] =
|
|
1486
|
-
r && a ? !e.shiftKey && i === a ? (e.preventDefault(), n &&
|
|
1491
|
+
let t = e.currentTarget, [r, a] = Qn(t);
|
|
1492
|
+
r && a ? !e.shiftKey && i === a ? (e.preventDefault(), n && rr(r, { select: !0 })) : e.shiftKey && i === r && (e.preventDefault(), n && rr(a, { select: !0 })) : i === t && e.preventDefault();
|
|
1487
1493
|
}
|
|
1488
1494
|
}, [
|
|
1489
1495
|
n,
|
|
@@ -1497,16 +1503,16 @@ var Gn = "focusScope.autoFocusOnMount", Kn = "focusScope.autoFocusOnUnmount", qn
|
|
|
1497
1503
|
onKeyDown: m
|
|
1498
1504
|
});
|
|
1499
1505
|
});
|
|
1500
|
-
|
|
1501
|
-
function
|
|
1506
|
+
Xn.displayName = Yn;
|
|
1507
|
+
function Zn(e, { select: t = !1 } = {}) {
|
|
1502
1508
|
let n = document.activeElement;
|
|
1503
|
-
for (let r of e) if (
|
|
1504
|
-
}
|
|
1505
|
-
function Zn(e) {
|
|
1506
|
-
let t = Qn(e);
|
|
1507
|
-
return [$n(t, e), $n(t.reverse(), e)];
|
|
1509
|
+
for (let r of e) if (rr(r, { select: t }), document.activeElement !== n) return;
|
|
1508
1510
|
}
|
|
1509
1511
|
function Qn(e) {
|
|
1512
|
+
let t = $n(e);
|
|
1513
|
+
return [er(t, e), er(t.reverse(), e)];
|
|
1514
|
+
}
|
|
1515
|
+
function $n(e) {
|
|
1510
1516
|
let t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, { acceptNode: (e) => {
|
|
1511
1517
|
let t = e.tagName === "INPUT" && e.type === "hidden";
|
|
1512
1518
|
return e.disabled || e.hidden || t ? NodeFilter.FILTER_SKIP : e.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
|
|
@@ -1514,10 +1520,10 @@ function Qn(e) {
|
|
|
1514
1520
|
for (; n.nextNode();) t.push(n.currentNode);
|
|
1515
1521
|
return t;
|
|
1516
1522
|
}
|
|
1517
|
-
function
|
|
1518
|
-
for (let n of e) if (!
|
|
1523
|
+
function er(e, t) {
|
|
1524
|
+
for (let n of e) if (!tr(n, { upTo: t })) return n;
|
|
1519
1525
|
}
|
|
1520
|
-
function
|
|
1526
|
+
function tr(e, { upTo: t }) {
|
|
1521
1527
|
if (getComputedStyle(e).visibility === "hidden") return !0;
|
|
1522
1528
|
for (; e;) {
|
|
1523
1529
|
if (t !== void 0 && e === t) return !1;
|
|
@@ -1526,62 +1532,62 @@ function er(e, { upTo: t }) {
|
|
|
1526
1532
|
}
|
|
1527
1533
|
return !1;
|
|
1528
1534
|
}
|
|
1529
|
-
function
|
|
1535
|
+
function nr(e) {
|
|
1530
1536
|
return e instanceof HTMLInputElement && "select" in e;
|
|
1531
1537
|
}
|
|
1532
|
-
function
|
|
1538
|
+
function rr(e, { select: t = !1 } = {}) {
|
|
1533
1539
|
if (e && e.focus) {
|
|
1534
1540
|
let n = document.activeElement;
|
|
1535
|
-
e.focus({ preventScroll: !0 }), e !== n &&
|
|
1541
|
+
e.focus({ preventScroll: !0 }), e !== n && nr(e) && t && e.select();
|
|
1536
1542
|
}
|
|
1537
1543
|
}
|
|
1538
|
-
var
|
|
1539
|
-
function
|
|
1544
|
+
var ir = ar();
|
|
1545
|
+
function ar() {
|
|
1540
1546
|
let e = [];
|
|
1541
1547
|
return {
|
|
1542
1548
|
add(t) {
|
|
1543
1549
|
let n = e[0];
|
|
1544
|
-
t !== n && n?.pause(), e =
|
|
1550
|
+
t !== n && n?.pause(), e = or(e, t), e.unshift(t);
|
|
1545
1551
|
},
|
|
1546
1552
|
remove(t) {
|
|
1547
|
-
e =
|
|
1553
|
+
e = or(e, t), e[0]?.resume();
|
|
1548
1554
|
}
|
|
1549
1555
|
};
|
|
1550
1556
|
}
|
|
1551
|
-
function
|
|
1557
|
+
function or(e, t) {
|
|
1552
1558
|
let n = [...e], r = n.indexOf(t);
|
|
1553
1559
|
return r !== -1 && n.splice(r, 1), n;
|
|
1554
1560
|
}
|
|
1555
|
-
function
|
|
1561
|
+
function sr(e) {
|
|
1556
1562
|
return e.filter((e) => e.tagName !== "A");
|
|
1557
1563
|
}
|
|
1558
1564
|
//#endregion
|
|
1559
1565
|
//#region ../node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
|
|
1560
|
-
var
|
|
1561
|
-
function
|
|
1562
|
-
let [t, n] = F.useState(
|
|
1563
|
-
return
|
|
1564
|
-
e || n((e) => e ?? String(
|
|
1566
|
+
var cr = globalThis?.document ? F.useLayoutEffect : () => {}, lr = F.useId || (() => void 0), ur = 0;
|
|
1567
|
+
function dr(e) {
|
|
1568
|
+
let [t, n] = F.useState(lr());
|
|
1569
|
+
return cr(() => {
|
|
1570
|
+
e || n((e) => e ?? String(ur++));
|
|
1565
1571
|
}, [e]), e || (t ? `radix-${t}` : "");
|
|
1566
1572
|
}
|
|
1567
1573
|
//#endregion
|
|
1568
1574
|
//#region ../node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
|
|
1569
|
-
var
|
|
1575
|
+
var fr = [
|
|
1570
1576
|
"top",
|
|
1571
1577
|
"right",
|
|
1572
1578
|
"bottom",
|
|
1573
1579
|
"left"
|
|
1574
|
-
],
|
|
1580
|
+
], pr = Math.min, U = Math.max, mr = Math.round, hr = Math.floor, W = (e) => ({
|
|
1575
1581
|
x: e,
|
|
1576
1582
|
y: e
|
|
1577
|
-
}),
|
|
1583
|
+
}), gr = {
|
|
1578
1584
|
left: "right",
|
|
1579
1585
|
right: "left",
|
|
1580
1586
|
bottom: "top",
|
|
1581
1587
|
top: "bottom"
|
|
1582
1588
|
};
|
|
1583
|
-
function
|
|
1584
|
-
return U(e,
|
|
1589
|
+
function _r(e, t, n) {
|
|
1590
|
+
return U(e, pr(t, n));
|
|
1585
1591
|
}
|
|
1586
1592
|
function G(e, t) {
|
|
1587
1593
|
return typeof e == "function" ? e(t) : e;
|
|
@@ -1589,57 +1595,57 @@ function G(e, t) {
|
|
|
1589
1595
|
function K(e) {
|
|
1590
1596
|
return e.split("-")[0];
|
|
1591
1597
|
}
|
|
1592
|
-
function
|
|
1598
|
+
function vr(e) {
|
|
1593
1599
|
return e.split("-")[1];
|
|
1594
1600
|
}
|
|
1595
|
-
function
|
|
1601
|
+
function yr(e) {
|
|
1596
1602
|
return e === "x" ? "y" : "x";
|
|
1597
1603
|
}
|
|
1598
|
-
function
|
|
1604
|
+
function br(e) {
|
|
1599
1605
|
return e === "y" ? "height" : "width";
|
|
1600
1606
|
}
|
|
1601
1607
|
function q(e) {
|
|
1602
1608
|
let t = e[0];
|
|
1603
1609
|
return t === "t" || t === "b" ? "y" : "x";
|
|
1604
1610
|
}
|
|
1605
|
-
function
|
|
1606
|
-
return
|
|
1611
|
+
function xr(e) {
|
|
1612
|
+
return yr(q(e));
|
|
1607
1613
|
}
|
|
1608
|
-
function
|
|
1614
|
+
function Sr(e, t, n) {
|
|
1609
1615
|
n === void 0 && (n = !1);
|
|
1610
|
-
let r =
|
|
1611
|
-
return t.reference[a] > t.floating[a] && (o =
|
|
1616
|
+
let r = vr(e), i = xr(e), a = br(i), o = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
|
|
1617
|
+
return t.reference[a] > t.floating[a] && (o = jr(o)), [o, jr(o)];
|
|
1612
1618
|
}
|
|
1613
|
-
function
|
|
1614
|
-
let t =
|
|
1619
|
+
function Cr(e) {
|
|
1620
|
+
let t = jr(e);
|
|
1615
1621
|
return [
|
|
1616
|
-
|
|
1622
|
+
wr(e),
|
|
1617
1623
|
t,
|
|
1618
|
-
|
|
1624
|
+
wr(t)
|
|
1619
1625
|
];
|
|
1620
1626
|
}
|
|
1621
|
-
function
|
|
1627
|
+
function wr(e) {
|
|
1622
1628
|
return e.includes("start") ? e.replace("start", "end") : e.replace("end", "start");
|
|
1623
1629
|
}
|
|
1624
|
-
var
|
|
1625
|
-
function
|
|
1630
|
+
var Tr = ["left", "right"], Er = ["right", "left"], Dr = ["top", "bottom"], Or = ["bottom", "top"];
|
|
1631
|
+
function kr(e, t, n) {
|
|
1626
1632
|
switch (e) {
|
|
1627
1633
|
case "top":
|
|
1628
|
-
case "bottom": return n ? t ?
|
|
1634
|
+
case "bottom": return n ? t ? Er : Tr : t ? Tr : Er;
|
|
1629
1635
|
case "left":
|
|
1630
|
-
case "right": return t ?
|
|
1636
|
+
case "right": return t ? Dr : Or;
|
|
1631
1637
|
default: return [];
|
|
1632
1638
|
}
|
|
1633
1639
|
}
|
|
1634
|
-
function
|
|
1635
|
-
let i =
|
|
1636
|
-
return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(
|
|
1640
|
+
function Ar(e, t, n, r) {
|
|
1641
|
+
let i = vr(e), a = kr(K(e), n === "start", r);
|
|
1642
|
+
return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(wr)))), a;
|
|
1637
1643
|
}
|
|
1638
|
-
function
|
|
1644
|
+
function jr(e) {
|
|
1639
1645
|
let t = K(e);
|
|
1640
|
-
return
|
|
1646
|
+
return gr[t] + e.slice(t.length);
|
|
1641
1647
|
}
|
|
1642
|
-
function
|
|
1648
|
+
function Mr(e) {
|
|
1643
1649
|
return {
|
|
1644
1650
|
top: 0,
|
|
1645
1651
|
right: 0,
|
|
@@ -1648,15 +1654,15 @@ function jr(e) {
|
|
|
1648
1654
|
...e
|
|
1649
1655
|
};
|
|
1650
1656
|
}
|
|
1651
|
-
function
|
|
1657
|
+
function Nr(e) {
|
|
1652
1658
|
return typeof e == "number" ? {
|
|
1653
1659
|
top: e,
|
|
1654
1660
|
right: e,
|
|
1655
1661
|
bottom: e,
|
|
1656
1662
|
left: e
|
|
1657
|
-
} :
|
|
1663
|
+
} : Mr(e);
|
|
1658
1664
|
}
|
|
1659
|
-
function
|
|
1665
|
+
function Pr(e) {
|
|
1660
1666
|
let { x: t, y: n, width: r, height: i } = e;
|
|
1661
1667
|
return {
|
|
1662
1668
|
width: r,
|
|
@@ -1671,8 +1677,8 @@ function Nr(e) {
|
|
|
1671
1677
|
}
|
|
1672
1678
|
//#endregion
|
|
1673
1679
|
//#region ../node_modules/@floating-ui/core/dist/floating-ui.core.mjs
|
|
1674
|
-
function
|
|
1675
|
-
let { reference: r, floating: i } = e, a = q(t), o =
|
|
1680
|
+
function Fr(e, t, n) {
|
|
1681
|
+
let { reference: r, floating: i } = e, a = q(t), o = xr(t), s = br(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;
|
|
1676
1682
|
switch (c) {
|
|
1677
1683
|
case "top":
|
|
1678
1684
|
p = {
|
|
@@ -1703,7 +1709,7 @@ function Pr(e, t, n) {
|
|
|
1703
1709
|
y: r.y
|
|
1704
1710
|
};
|
|
1705
1711
|
}
|
|
1706
|
-
switch (
|
|
1712
|
+
switch (vr(t)) {
|
|
1707
1713
|
case "start":
|
|
1708
1714
|
p[o] -= f * (n && l ? -1 : 1);
|
|
1709
1715
|
break;
|
|
@@ -1713,9 +1719,9 @@ function Pr(e, t, n) {
|
|
|
1713
1719
|
}
|
|
1714
1720
|
return p;
|
|
1715
1721
|
}
|
|
1716
|
-
async function
|
|
1722
|
+
async function Ir(e, t) {
|
|
1717
1723
|
t === void 0 && (t = {});
|
|
1718
|
-
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 =
|
|
1724
|
+
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 = Nr(f), m = o[d ? u === "floating" ? "reference" : "floating" : u], h = Pr(await i.getClippingRect({
|
|
1719
1725
|
element: await (i.isElement == null ? void 0 : i.isElement(m)) ?? !0 ? m : m.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(o.floating)),
|
|
1720
1726
|
boundary: c,
|
|
1721
1727
|
rootBoundary: l,
|
|
@@ -1728,7 +1734,7 @@ async function Fr(e, t) {
|
|
|
1728
1734
|
} : 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(_)) || {
|
|
1729
1735
|
x: 1,
|
|
1730
1736
|
y: 1
|
|
1731
|
-
}, y =
|
|
1737
|
+
}, y = Pr(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
1732
1738
|
elements: o,
|
|
1733
1739
|
rect: g,
|
|
1734
1740
|
offsetParent: _,
|
|
@@ -1741,15 +1747,15 @@ async function Fr(e, t) {
|
|
|
1741
1747
|
right: (y.right - h.right + p.right) / v.x
|
|
1742
1748
|
};
|
|
1743
1749
|
}
|
|
1744
|
-
var
|
|
1750
|
+
var Lr = 50, Rr = async (e, t, n) => {
|
|
1745
1751
|
let { placement: r = "bottom", strategy: i = "absolute", middleware: a = [], platform: o } = n, s = o.detectOverflow ? o : {
|
|
1746
1752
|
...o,
|
|
1747
|
-
detectOverflow:
|
|
1753
|
+
detectOverflow: Ir
|
|
1748
1754
|
}, c = await (o.isRTL == null ? void 0 : o.isRTL(t)), l = await o.getElementRects({
|
|
1749
1755
|
reference: e,
|
|
1750
1756
|
floating: t,
|
|
1751
1757
|
strategy: i
|
|
1752
|
-
}), { x: u, y: d } =
|
|
1758
|
+
}), { x: u, y: d } = Fr(l, r, c), f = r, p = 0, m = {};
|
|
1753
1759
|
for (let n = 0; n < a.length; n++) {
|
|
1754
1760
|
let h = a[n];
|
|
1755
1761
|
if (!h) continue;
|
|
@@ -1770,11 +1776,11 @@ var Ir = 50, Lr = async (e, t, n) => {
|
|
|
1770
1776
|
u = v ?? u, d = y ?? d, m[g] = {
|
|
1771
1777
|
...m[g],
|
|
1772
1778
|
...b
|
|
1773
|
-
}, x && p <
|
|
1779
|
+
}, x && p < Lr && (p++, typeof x == "object" && (x.placement && (f = x.placement), x.rects && (l = x.rects === !0 ? await o.getElementRects({
|
|
1774
1780
|
reference: e,
|
|
1775
1781
|
floating: t,
|
|
1776
1782
|
strategy: i
|
|
1777
|
-
}) : x.rects), {x: u, y: d} =
|
|
1783
|
+
}) : x.rects), {x: u, y: d} = Fr(l, f, c)), n = -1);
|
|
1778
1784
|
}
|
|
1779
1785
|
return {
|
|
1780
1786
|
x: u,
|
|
@@ -1783,18 +1789,18 @@ var Ir = 50, Lr = async (e, t, n) => {
|
|
|
1783
1789
|
strategy: i,
|
|
1784
1790
|
middlewareData: m
|
|
1785
1791
|
};
|
|
1786
|
-
},
|
|
1792
|
+
}, zr = (e) => ({
|
|
1787
1793
|
name: "arrow",
|
|
1788
1794
|
options: e,
|
|
1789
1795
|
async fn(t) {
|
|
1790
1796
|
let { x: n, y: r, placement: i, rects: a, platform: o, elements: s, middlewareData: c } = t, { element: l, padding: u = 0 } = G(e, t) || {};
|
|
1791
1797
|
if (l == null) return {};
|
|
1792
|
-
let d =
|
|
1798
|
+
let d = Nr(u), f = {
|
|
1793
1799
|
x: n,
|
|
1794
1800
|
y: r
|
|
1795
|
-
}, p =
|
|
1801
|
+
}, p = xr(i), m = br(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;
|
|
1796
1802
|
(!C || !await (o.isElement == null ? void 0 : o.isElement(S))) && (C = s.floating[y] || a.floating[m]);
|
|
1797
|
-
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1,
|
|
1803
|
+
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1, E = pr(d[_], T), ee = pr(d[v], T), D = E, O = C - h[m] - ee, k = C / 2 - h[m] / 2 + w, te = _r(D, k, O), A = !c.arrow && vr(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;
|
|
1798
1804
|
return {
|
|
1799
1805
|
[p]: f[p] + j,
|
|
1800
1806
|
data: {
|
|
@@ -1805,7 +1811,7 @@ var Ir = 50, Lr = async (e, t, n) => {
|
|
|
1805
1811
|
reset: A
|
|
1806
1812
|
};
|
|
1807
1813
|
}
|
|
1808
|
-
}),
|
|
1814
|
+
}), Br = function(e) {
|
|
1809
1815
|
return e === void 0 && (e = {}), {
|
|
1810
1816
|
name: "flip",
|
|
1811
1817
|
options: e,
|
|
@@ -1813,11 +1819,11 @@ var Ir = 50, Lr = async (e, t, n) => {
|
|
|
1813
1819
|
var n;
|
|
1814
1820
|
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);
|
|
1815
1821
|
if ((n = i.arrow) != null && n.alignmentOffset) return {};
|
|
1816
|
-
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 ? [
|
|
1817
|
-
!d && x && b.push(...
|
|
1822
|
+
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 ? [jr(o)] : Cr(o)), x = p !== "none";
|
|
1823
|
+
!d && x && b.push(...Ar(o, m, p, y));
|
|
1818
1824
|
let S = [o, ...b], C = await s.detectOverflow(t, h), w = [], T = i.flip?.overflows || [];
|
|
1819
1825
|
if (l && w.push(C[g]), u) {
|
|
1820
|
-
let e =
|
|
1826
|
+
let e = Sr(r, a, y);
|
|
1821
1827
|
w.push(C[e[0]], C[e[1]]);
|
|
1822
1828
|
}
|
|
1823
1829
|
if (T = [...T, {
|
|
@@ -1855,7 +1861,7 @@ var Ir = 50, Lr = async (e, t, n) => {
|
|
|
1855
1861
|
}
|
|
1856
1862
|
};
|
|
1857
1863
|
};
|
|
1858
|
-
function
|
|
1864
|
+
function Vr(e, t) {
|
|
1859
1865
|
return {
|
|
1860
1866
|
top: e.top - t.height,
|
|
1861
1867
|
right: e.right - t.width,
|
|
@@ -1863,10 +1869,10 @@ function Br(e, t) {
|
|
|
1863
1869
|
left: e.left - t.width
|
|
1864
1870
|
};
|
|
1865
1871
|
}
|
|
1866
|
-
function
|
|
1867
|
-
return
|
|
1872
|
+
function Hr(e) {
|
|
1873
|
+
return fr.some((t) => e[t] >= 0);
|
|
1868
1874
|
}
|
|
1869
|
-
var
|
|
1875
|
+
var Ur = function(e) {
|
|
1870
1876
|
return e === void 0 && (e = {}), {
|
|
1871
1877
|
name: "hide",
|
|
1872
1878
|
options: e,
|
|
@@ -1874,32 +1880,32 @@ var Hr = function(e) {
|
|
|
1874
1880
|
let { rects: n, platform: r } = t, { strategy: i = "referenceHidden", ...a } = G(e, t);
|
|
1875
1881
|
switch (i) {
|
|
1876
1882
|
case "referenceHidden": {
|
|
1877
|
-
let e =
|
|
1883
|
+
let e = Vr(await r.detectOverflow(t, {
|
|
1878
1884
|
...a,
|
|
1879
1885
|
elementContext: "reference"
|
|
1880
1886
|
}), n.reference);
|
|
1881
1887
|
return { data: {
|
|
1882
1888
|
referenceHiddenOffsets: e,
|
|
1883
|
-
referenceHidden:
|
|
1889
|
+
referenceHidden: Hr(e)
|
|
1884
1890
|
} };
|
|
1885
1891
|
}
|
|
1886
1892
|
case "escaped": {
|
|
1887
|
-
let e =
|
|
1893
|
+
let e = Vr(await r.detectOverflow(t, {
|
|
1888
1894
|
...a,
|
|
1889
1895
|
altBoundary: !0
|
|
1890
1896
|
}), n.floating);
|
|
1891
1897
|
return { data: {
|
|
1892
1898
|
escapedOffsets: e,
|
|
1893
|
-
escaped:
|
|
1899
|
+
escaped: Hr(e)
|
|
1894
1900
|
} };
|
|
1895
1901
|
}
|
|
1896
1902
|
default: return {};
|
|
1897
1903
|
}
|
|
1898
1904
|
}
|
|
1899
1905
|
};
|
|
1900
|
-
},
|
|
1901
|
-
async function
|
|
1902
|
-
let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = K(n), s =
|
|
1906
|
+
}, Wr = /*#__PURE__*/ new Set(["left", "top"]);
|
|
1907
|
+
async function Gr(e, t) {
|
|
1908
|
+
let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = K(n), s = vr(n), c = q(n) === "y", l = Wr.has(o) ? -1 : 1, u = a && c ? -1 : 1, d = G(t, e), { mainAxis: f, crossAxis: p, alignmentAxis: m } = typeof d == "number" ? {
|
|
1903
1909
|
mainAxis: d,
|
|
1904
1910
|
crossAxis: 0,
|
|
1905
1911
|
alignmentAxis: null
|
|
@@ -1916,13 +1922,13 @@ async function Wr(e, t) {
|
|
|
1916
1922
|
y: p * u
|
|
1917
1923
|
};
|
|
1918
1924
|
}
|
|
1919
|
-
var
|
|
1925
|
+
var Kr = function(e) {
|
|
1920
1926
|
return e === void 0 && (e = 0), {
|
|
1921
1927
|
name: "offset",
|
|
1922
1928
|
options: e,
|
|
1923
1929
|
async fn(t) {
|
|
1924
1930
|
var n;
|
|
1925
|
-
let { x: r, y: i, placement: a, middlewareData: o } = t, s = await
|
|
1931
|
+
let { x: r, y: i, placement: a, middlewareData: o } = t, s = await Gr(t, e);
|
|
1926
1932
|
return a === o.offset?.placement && (n = o.arrow) != null && n.alignmentOffset ? {} : {
|
|
1927
1933
|
x: r + s.x,
|
|
1928
1934
|
y: i + s.y,
|
|
@@ -1933,7 +1939,7 @@ var Gr = function(e) {
|
|
|
1933
1939
|
};
|
|
1934
1940
|
}
|
|
1935
1941
|
};
|
|
1936
|
-
},
|
|
1942
|
+
}, qr = function(e) {
|
|
1937
1943
|
return e === void 0 && (e = {}), {
|
|
1938
1944
|
name: "shift",
|
|
1939
1945
|
options: e,
|
|
@@ -1947,14 +1953,14 @@ var Gr = function(e) {
|
|
|
1947
1953
|
} }, ...l } = G(e, t), u = {
|
|
1948
1954
|
x: n,
|
|
1949
1955
|
y: r
|
|
1950
|
-
}, d = await a.detectOverflow(t, l), f = q(K(i)), p =
|
|
1956
|
+
}, d = await a.detectOverflow(t, l), f = q(K(i)), p = yr(f), m = u[p], h = u[f];
|
|
1951
1957
|
if (o) {
|
|
1952
1958
|
let e = p === "y" ? "top" : "left", t = p === "y" ? "bottom" : "right", n = m + d[e], r = m - d[t];
|
|
1953
|
-
m =
|
|
1959
|
+
m = _r(n, m, r);
|
|
1954
1960
|
}
|
|
1955
1961
|
if (s) {
|
|
1956
1962
|
let e = f === "y" ? "top" : "left", t = f === "y" ? "bottom" : "right", n = h + d[e], r = h - d[t];
|
|
1957
|
-
h =
|
|
1963
|
+
h = _r(n, h, r);
|
|
1958
1964
|
}
|
|
1959
1965
|
let g = c.fn({
|
|
1960
1966
|
...t,
|
|
@@ -1974,14 +1980,14 @@ var Gr = function(e) {
|
|
|
1974
1980
|
};
|
|
1975
1981
|
}
|
|
1976
1982
|
};
|
|
1977
|
-
},
|
|
1983
|
+
}, Jr = function(e) {
|
|
1978
1984
|
return e === void 0 && (e = {}), {
|
|
1979
1985
|
options: e,
|
|
1980
1986
|
fn(t) {
|
|
1981
1987
|
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 = {
|
|
1982
1988
|
x: n,
|
|
1983
1989
|
y: r
|
|
1984
|
-
}, d = q(i), f =
|
|
1990
|
+
}, d = q(i), f = yr(d), p = u[f], m = u[d], h = G(s, t), g = typeof h == "number" ? {
|
|
1985
1991
|
mainAxis: h,
|
|
1986
1992
|
crossAxis: 0
|
|
1987
1993
|
} : {
|
|
@@ -1994,7 +2000,7 @@ var Gr = function(e) {
|
|
|
1994
2000
|
p < t ? p = t : p > n && (p = n);
|
|
1995
2001
|
}
|
|
1996
2002
|
if (l) {
|
|
1997
|
-
let e = f === "y" ? "width" : "height", t =
|
|
2003
|
+
let e = f === "y" ? "width" : "height", t = Wr.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);
|
|
1998
2004
|
m < n ? m = n : m > r && (m = r);
|
|
1999
2005
|
}
|
|
2000
2006
|
return {
|
|
@@ -2003,15 +2009,15 @@ var Gr = function(e) {
|
|
|
2003
2009
|
};
|
|
2004
2010
|
}
|
|
2005
2011
|
};
|
|
2006
|
-
},
|
|
2012
|
+
}, Yr = function(e) {
|
|
2007
2013
|
return e === void 0 && (e = {}), {
|
|
2008
2014
|
name: "size",
|
|
2009
2015
|
options: e,
|
|
2010
2016
|
async fn(t) {
|
|
2011
2017
|
var n, r;
|
|
2012
|
-
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 =
|
|
2018
|
+
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 = vr(i), p = q(i) === "y", { width: m, height: h } = a.floating, g, _;
|
|
2013
2019
|
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");
|
|
2014
|
-
let v = h - u.top - u.bottom, y = m - u.left - u.right, b =
|
|
2020
|
+
let v = h - u.top - u.bottom, y = m - u.left - u.right, b = pr(h - u[g], v), x = pr(m - u[_], y), S = !t.middlewareData.shift, C = b, w = x;
|
|
2015
2021
|
if ((n = t.middlewareData.shift) != null && n.enabled.x && (w = y), (r = t.middlewareData.shift) != null && r.enabled.y && (C = v), S && !f) {
|
|
2016
2022
|
let e = U(u.left, 0), t = U(u.right, 0), n = U(u.top, 0), r = U(u.bottom, 0);
|
|
2017
2023
|
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));
|
|
@@ -2028,39 +2034,39 @@ var Gr = function(e) {
|
|
|
2028
2034
|
};
|
|
2029
2035
|
//#endregion
|
|
2030
2036
|
//#region ../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
|
|
2031
|
-
function
|
|
2037
|
+
function Xr() {
|
|
2032
2038
|
return typeof window < "u";
|
|
2033
2039
|
}
|
|
2034
|
-
function
|
|
2035
|
-
return
|
|
2040
|
+
function Zr(e) {
|
|
2041
|
+
return Qr(e) ? (e.nodeName || "").toLowerCase() : "#document";
|
|
2036
2042
|
}
|
|
2037
2043
|
function J(e) {
|
|
2038
2044
|
var t;
|
|
2039
2045
|
return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
|
|
2040
2046
|
}
|
|
2041
2047
|
function Y(e) {
|
|
2042
|
-
return ((
|
|
2048
|
+
return ((Qr(e) ? e.ownerDocument : e.document) || window.document)?.documentElement;
|
|
2043
2049
|
}
|
|
2044
|
-
function
|
|
2045
|
-
return
|
|
2050
|
+
function Qr(e) {
|
|
2051
|
+
return Xr() ? e instanceof Node || e instanceof J(e).Node : !1;
|
|
2046
2052
|
}
|
|
2047
2053
|
function X(e) {
|
|
2048
|
-
return
|
|
2054
|
+
return Xr() ? e instanceof Element || e instanceof J(e).Element : !1;
|
|
2049
2055
|
}
|
|
2050
2056
|
function Z(e) {
|
|
2051
|
-
return
|
|
2052
|
-
}
|
|
2053
|
-
function Qr(e) {
|
|
2054
|
-
return !Yr() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof J(e).ShadowRoot;
|
|
2057
|
+
return Xr() ? e instanceof HTMLElement || e instanceof J(e).HTMLElement : !1;
|
|
2055
2058
|
}
|
|
2056
2059
|
function $r(e) {
|
|
2057
|
-
|
|
2058
|
-
return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
|
|
2060
|
+
return !Xr() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof J(e).ShadowRoot;
|
|
2059
2061
|
}
|
|
2060
2062
|
function ei(e) {
|
|
2061
|
-
|
|
2063
|
+
let { overflow: t, overflowX: n, overflowY: r, display: i } = Q(e);
|
|
2064
|
+
return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
|
|
2062
2065
|
}
|
|
2063
2066
|
function ti(e) {
|
|
2067
|
+
return /^(table|td|th)$/.test(Zr(e));
|
|
2068
|
+
}
|
|
2069
|
+
function ni(e) {
|
|
2064
2070
|
try {
|
|
2065
2071
|
if (e.matches(":popover-open")) return !0;
|
|
2066
2072
|
} catch {}
|
|
@@ -2070,30 +2076,30 @@ function ti(e) {
|
|
|
2070
2076
|
return !1;
|
|
2071
2077
|
}
|
|
2072
2078
|
}
|
|
2073
|
-
var
|
|
2074
|
-
function oi(e) {
|
|
2075
|
-
let t = X(e) ? Q(e) : e;
|
|
2076
|
-
return ii(t.transform) || ii(t.translate) || ii(t.scale) || ii(t.rotate) || ii(t.perspective) || !ci() && (ii(t.backdropFilter) || ii(t.filter)) || ni.test(t.willChange || "") || ri.test(t.contain || "");
|
|
2077
|
-
}
|
|
2079
|
+
var ri = /transform|translate|scale|rotate|perspective|filter/, ii = /paint|layout|strict|content/, ai = (e) => !!e && e !== "none", oi;
|
|
2078
2080
|
function si(e) {
|
|
2079
|
-
let t =
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2081
|
+
let t = X(e) ? Q(e) : e;
|
|
2082
|
+
return ai(t.transform) || ai(t.translate) || ai(t.scale) || ai(t.rotate) || ai(t.perspective) || !li() && (ai(t.backdropFilter) || ai(t.filter)) || ri.test(t.willChange || "") || ii.test(t.contain || "");
|
|
2083
|
+
}
|
|
2084
|
+
function ci(e) {
|
|
2085
|
+
let t = fi(e);
|
|
2086
|
+
for (; Z(t) && !ui(t);) {
|
|
2087
|
+
if (si(t)) return t;
|
|
2088
|
+
if (ni(t)) return null;
|
|
2089
|
+
t = fi(t);
|
|
2084
2090
|
}
|
|
2085
2091
|
return null;
|
|
2086
2092
|
}
|
|
2087
|
-
function
|
|
2088
|
-
return
|
|
2093
|
+
function li() {
|
|
2094
|
+
return oi ??= typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none"), oi;
|
|
2089
2095
|
}
|
|
2090
|
-
function
|
|
2091
|
-
return /^(html|body|#document)$/.test(
|
|
2096
|
+
function ui(e) {
|
|
2097
|
+
return /^(html|body|#document)$/.test(Zr(e));
|
|
2092
2098
|
}
|
|
2093
2099
|
function Q(e) {
|
|
2094
2100
|
return J(e).getComputedStyle(e);
|
|
2095
2101
|
}
|
|
2096
|
-
function
|
|
2102
|
+
function di(e) {
|
|
2097
2103
|
return X(e) ? {
|
|
2098
2104
|
scrollLeft: e.scrollLeft,
|
|
2099
2105
|
scrollTop: e.scrollTop
|
|
@@ -2102,101 +2108,101 @@ function ui(e) {
|
|
|
2102
2108
|
scrollTop: e.scrollY
|
|
2103
2109
|
};
|
|
2104
2110
|
}
|
|
2105
|
-
function di(e) {
|
|
2106
|
-
if (Xr(e) === "html") return e;
|
|
2107
|
-
let t = e.assignedSlot || e.parentNode || Qr(e) && e.host || Y(e);
|
|
2108
|
-
return Qr(t) ? t.host : t;
|
|
2109
|
-
}
|
|
2110
2111
|
function fi(e) {
|
|
2111
|
-
|
|
2112
|
-
|
|
2112
|
+
if (Zr(e) === "html") return e;
|
|
2113
|
+
let t = e.assignedSlot || e.parentNode || $r(e) && e.host || Y(e);
|
|
2114
|
+
return $r(t) ? t.host : t;
|
|
2113
2115
|
}
|
|
2114
|
-
function pi(e
|
|
2116
|
+
function pi(e) {
|
|
2117
|
+
let t = fi(e);
|
|
2118
|
+
return ui(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : Z(t) && ei(t) ? t : pi(t);
|
|
2119
|
+
}
|
|
2120
|
+
function mi(e, t, n) {
|
|
2115
2121
|
t === void 0 && (t = []), n === void 0 && (n = !0);
|
|
2116
|
-
let r =
|
|
2122
|
+
let r = pi(e), i = r === e.ownerDocument?.body, a = J(r);
|
|
2117
2123
|
if (i) {
|
|
2118
|
-
let e =
|
|
2119
|
-
return t.concat(a, a.visualViewport || [],
|
|
2120
|
-
} else return t.concat(r,
|
|
2124
|
+
let e = hi(a);
|
|
2125
|
+
return t.concat(a, a.visualViewport || [], ei(r) ? r : [], e && n ? mi(e) : []);
|
|
2126
|
+
} else return t.concat(r, mi(r, [], n));
|
|
2121
2127
|
}
|
|
2122
|
-
function
|
|
2128
|
+
function hi(e) {
|
|
2123
2129
|
return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
|
|
2124
2130
|
}
|
|
2125
2131
|
//#endregion
|
|
2126
2132
|
//#region ../node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
|
|
2127
|
-
function
|
|
2128
|
-
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 =
|
|
2133
|
+
function gi(e) {
|
|
2134
|
+
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 = mr(n) !== a || mr(r) !== o;
|
|
2129
2135
|
return s && (n = a, r = o), {
|
|
2130
2136
|
width: n,
|
|
2131
2137
|
height: r,
|
|
2132
2138
|
$: s
|
|
2133
2139
|
};
|
|
2134
2140
|
}
|
|
2135
|
-
function
|
|
2141
|
+
function _i(e) {
|
|
2136
2142
|
return X(e) ? e : e.contextElement;
|
|
2137
2143
|
}
|
|
2138
|
-
function
|
|
2139
|
-
let t =
|
|
2144
|
+
function vi(e) {
|
|
2145
|
+
let t = _i(e);
|
|
2140
2146
|
if (!Z(t)) return W(1);
|
|
2141
|
-
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } =
|
|
2147
|
+
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = gi(t), o = (a ? mr(n.width) : n.width) / r, s = (a ? mr(n.height) : n.height) / i;
|
|
2142
2148
|
return (!o || !Number.isFinite(o)) && (o = 1), (!s || !Number.isFinite(s)) && (s = 1), {
|
|
2143
2149
|
x: o,
|
|
2144
2150
|
y: s
|
|
2145
2151
|
};
|
|
2146
2152
|
}
|
|
2147
|
-
var
|
|
2148
|
-
function
|
|
2153
|
+
var yi = /*#__PURE__*/ W(0);
|
|
2154
|
+
function bi(e) {
|
|
2149
2155
|
let t = J(e);
|
|
2150
|
-
return !
|
|
2156
|
+
return !li() || !t.visualViewport ? yi : {
|
|
2151
2157
|
x: t.visualViewport.offsetLeft,
|
|
2152
2158
|
y: t.visualViewport.offsetTop
|
|
2153
2159
|
};
|
|
2154
2160
|
}
|
|
2155
|
-
function
|
|
2161
|
+
function xi(e, t, n) {
|
|
2156
2162
|
return t === void 0 && (t = !1), !n || t && n !== J(e) ? !1 : t;
|
|
2157
2163
|
}
|
|
2158
|
-
function
|
|
2164
|
+
function Si(e, t, n, r) {
|
|
2159
2165
|
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
|
2160
|
-
let i = e.getBoundingClientRect(), a =
|
|
2161
|
-
t && (r ? X(r) && (o =
|
|
2162
|
-
let s =
|
|
2166
|
+
let i = e.getBoundingClientRect(), a = _i(e), o = W(1);
|
|
2167
|
+
t && (r ? X(r) && (o = vi(r)) : o = vi(e));
|
|
2168
|
+
let s = xi(a, n, r) ? bi(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;
|
|
2163
2169
|
if (a) {
|
|
2164
|
-
let e = J(a), t = r && X(r) ? J(r) : r, n = e, i =
|
|
2170
|
+
let e = J(a), t = r && X(r) ? J(r) : r, n = e, i = hi(n);
|
|
2165
2171
|
for (; i && r && t !== n;) {
|
|
2166
|
-
let e =
|
|
2167
|
-
c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = J(i), i =
|
|
2172
|
+
let e = vi(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;
|
|
2173
|
+
c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = J(i), i = hi(n);
|
|
2168
2174
|
}
|
|
2169
2175
|
}
|
|
2170
|
-
return
|
|
2176
|
+
return Pr({
|
|
2171
2177
|
width: u,
|
|
2172
2178
|
height: d,
|
|
2173
2179
|
x: c,
|
|
2174
2180
|
y: l
|
|
2175
2181
|
});
|
|
2176
2182
|
}
|
|
2177
|
-
function Si(e, t) {
|
|
2178
|
-
let n = ui(e).scrollLeft;
|
|
2179
|
-
return t ? t.left + n : xi(Y(e)).left + n;
|
|
2180
|
-
}
|
|
2181
2183
|
function Ci(e, t) {
|
|
2184
|
+
let n = di(e).scrollLeft;
|
|
2185
|
+
return t ? t.left + n : Si(Y(e)).left + n;
|
|
2186
|
+
}
|
|
2187
|
+
function wi(e, t) {
|
|
2182
2188
|
let n = e.getBoundingClientRect();
|
|
2183
2189
|
return {
|
|
2184
|
-
x: n.left + t.scrollLeft -
|
|
2190
|
+
x: n.left + t.scrollLeft - Ci(e, n),
|
|
2185
2191
|
y: n.top + t.scrollTop
|
|
2186
2192
|
};
|
|
2187
2193
|
}
|
|
2188
|
-
function
|
|
2189
|
-
let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = Y(r), s = t ?
|
|
2194
|
+
function Ti(e) {
|
|
2195
|
+
let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = Y(r), s = t ? ni(t.floating) : !1;
|
|
2190
2196
|
if (r === o || s && a) return n;
|
|
2191
2197
|
let c = {
|
|
2192
2198
|
scrollLeft: 0,
|
|
2193
2199
|
scrollTop: 0
|
|
2194
2200
|
}, l = W(1), u = W(0), d = Z(r);
|
|
2195
|
-
if ((d || !d && !a) && ((
|
|
2196
|
-
let e =
|
|
2197
|
-
l =
|
|
2201
|
+
if ((d || !d && !a) && ((Zr(r) !== "body" || ei(o)) && (c = di(r)), d)) {
|
|
2202
|
+
let e = Si(r);
|
|
2203
|
+
l = vi(r), u.x = e.x + r.clientLeft, u.y = e.y + r.clientTop;
|
|
2198
2204
|
}
|
|
2199
|
-
let f = o && !d && !a ?
|
|
2205
|
+
let f = o && !d && !a ? wi(o, c) : W(0);
|
|
2200
2206
|
return {
|
|
2201
2207
|
width: n.width * l.x,
|
|
2202
2208
|
height: n.height * l.y,
|
|
@@ -2204,11 +2210,11 @@ function wi(e) {
|
|
|
2204
2210
|
y: n.y * l.y - c.scrollTop * l.y + u.y + f.y
|
|
2205
2211
|
};
|
|
2206
2212
|
}
|
|
2207
|
-
function
|
|
2213
|
+
function Ei(e) {
|
|
2208
2214
|
return Array.from(e.getClientRects());
|
|
2209
2215
|
}
|
|
2210
|
-
function
|
|
2211
|
-
let t = Y(e), n =
|
|
2216
|
+
function Di(e) {
|
|
2217
|
+
let t = Y(e), n = di(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 + Ci(e), s = -n.scrollTop;
|
|
2212
2218
|
return Q(r).direction === "rtl" && (o += U(t.clientWidth, r.clientWidth) - i), {
|
|
2213
2219
|
width: i,
|
|
2214
2220
|
height: a,
|
|
@@ -2216,19 +2222,19 @@ function Ei(e) {
|
|
|
2216
2222
|
y: s
|
|
2217
2223
|
};
|
|
2218
2224
|
}
|
|
2219
|
-
var
|
|
2220
|
-
function
|
|
2225
|
+
var Oi = 25;
|
|
2226
|
+
function ki(e, t) {
|
|
2221
2227
|
let n = J(e), r = Y(e), i = n.visualViewport, a = r.clientWidth, o = r.clientHeight, s = 0, c = 0;
|
|
2222
2228
|
if (i) {
|
|
2223
2229
|
a = i.width, o = i.height;
|
|
2224
|
-
let e =
|
|
2230
|
+
let e = li();
|
|
2225
2231
|
(!e || e && t === "fixed") && (s = i.offsetLeft, c = i.offsetTop);
|
|
2226
2232
|
}
|
|
2227
|
-
let l =
|
|
2233
|
+
let l = Ci(r);
|
|
2228
2234
|
if (l <= 0) {
|
|
2229
2235
|
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);
|
|
2230
|
-
o <=
|
|
2231
|
-
} else l <=
|
|
2236
|
+
o <= Oi && (a -= o);
|
|
2237
|
+
} else l <= Oi && (a += l);
|
|
2232
2238
|
return {
|
|
2233
2239
|
width: a,
|
|
2234
2240
|
height: o,
|
|
@@ -2236,8 +2242,8 @@ function Oi(e, t) {
|
|
|
2236
2242
|
y: c
|
|
2237
2243
|
};
|
|
2238
2244
|
}
|
|
2239
|
-
function
|
|
2240
|
-
let n =
|
|
2245
|
+
function Ai(e, t) {
|
|
2246
|
+
let n = Si(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = Z(e) ? vi(e) : W(1);
|
|
2241
2247
|
return {
|
|
2242
2248
|
width: e.clientWidth * a.x,
|
|
2243
2249
|
height: e.clientHeight * a.y,
|
|
@@ -2245,13 +2251,13 @@ function ki(e, t) {
|
|
|
2245
2251
|
y: r * a.y
|
|
2246
2252
|
};
|
|
2247
2253
|
}
|
|
2248
|
-
function
|
|
2254
|
+
function ji(e, t, n) {
|
|
2249
2255
|
let r;
|
|
2250
|
-
if (t === "viewport") r =
|
|
2251
|
-
else if (t === "document") r =
|
|
2252
|
-
else if (X(t)) r =
|
|
2256
|
+
if (t === "viewport") r = ki(e, n);
|
|
2257
|
+
else if (t === "document") r = Di(Y(e));
|
|
2258
|
+
else if (X(t)) r = Ai(t, n);
|
|
2253
2259
|
else {
|
|
2254
|
-
let n =
|
|
2260
|
+
let n = bi(e);
|
|
2255
2261
|
r = {
|
|
2256
2262
|
x: t.x - n.x,
|
|
2257
2263
|
y: t.y - n.y,
|
|
@@ -2259,27 +2265,27 @@ function Ai(e, t, n) {
|
|
|
2259
2265
|
height: t.height
|
|
2260
2266
|
};
|
|
2261
2267
|
}
|
|
2262
|
-
return
|
|
2263
|
-
}
|
|
2264
|
-
function ji(e, t) {
|
|
2265
|
-
let n = di(e);
|
|
2266
|
-
return n === t || !X(n) || li(n) ? !1 : Q(n).position === "fixed" || ji(n, t);
|
|
2268
|
+
return Pr(r);
|
|
2267
2269
|
}
|
|
2268
2270
|
function Mi(e, t) {
|
|
2271
|
+
let n = fi(e);
|
|
2272
|
+
return n === t || !X(n) || ui(n) ? !1 : Q(n).position === "fixed" || Mi(n, t);
|
|
2273
|
+
}
|
|
2274
|
+
function Ni(e, t) {
|
|
2269
2275
|
let n = t.get(e);
|
|
2270
2276
|
if (n) return n;
|
|
2271
|
-
let r =
|
|
2272
|
-
for (; X(o) && !
|
|
2273
|
-
let t = Q(o), n =
|
|
2274
|
-
!n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") ||
|
|
2277
|
+
let r = mi(e, [], !1).filter((e) => X(e) && Zr(e) !== "body"), i = null, a = Q(e).position === "fixed", o = a ? fi(e) : e;
|
|
2278
|
+
for (; X(o) && !ui(o);) {
|
|
2279
|
+
let t = Q(o), n = si(o);
|
|
2280
|
+
!n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") || ei(o) && !n && Mi(e, o)) ? r = r.filter((e) => e !== o) : i = t, o = fi(o);
|
|
2275
2281
|
}
|
|
2276
2282
|
return t.set(e, r), r;
|
|
2277
2283
|
}
|
|
2278
|
-
function
|
|
2279
|
-
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ?
|
|
2284
|
+
function Pi(e) {
|
|
2285
|
+
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? ni(t) ? [] : Ni(t, this._c) : [].concat(n), r], o = ji(t, a[0], i), s = o.top, c = o.right, l = o.bottom, u = o.left;
|
|
2280
2286
|
for (let e = 1; e < a.length; e++) {
|
|
2281
|
-
let n =
|
|
2282
|
-
s = U(n.top, s), c =
|
|
2287
|
+
let n = ji(t, a[e], i);
|
|
2288
|
+
s = U(n.top, s), c = pr(n.right, c), l = pr(n.bottom, l), u = U(n.left, u);
|
|
2283
2289
|
}
|
|
2284
2290
|
return {
|
|
2285
2291
|
width: c - u,
|
|
@@ -2288,27 +2294,27 @@ function Ni(e) {
|
|
|
2288
2294
|
y: s
|
|
2289
2295
|
};
|
|
2290
2296
|
}
|
|
2291
|
-
function
|
|
2292
|
-
let { width: t, height: n } =
|
|
2297
|
+
function Fi(e) {
|
|
2298
|
+
let { width: t, height: n } = gi(e);
|
|
2293
2299
|
return {
|
|
2294
2300
|
width: t,
|
|
2295
2301
|
height: n
|
|
2296
2302
|
};
|
|
2297
2303
|
}
|
|
2298
|
-
function
|
|
2299
|
-
let r = Z(t), i = Y(t), a = n === "fixed", o =
|
|
2304
|
+
function Ii(e, t, n) {
|
|
2305
|
+
let r = Z(t), i = Y(t), a = n === "fixed", o = Si(e, !0, a, t), s = {
|
|
2300
2306
|
scrollLeft: 0,
|
|
2301
2307
|
scrollTop: 0
|
|
2302
2308
|
}, c = W(0);
|
|
2303
2309
|
function l() {
|
|
2304
|
-
c.x =
|
|
2310
|
+
c.x = Ci(i);
|
|
2305
2311
|
}
|
|
2306
|
-
if (r || !r && !a) if ((
|
|
2307
|
-
let e =
|
|
2312
|
+
if (r || !r && !a) if ((Zr(t) !== "body" || ei(i)) && (s = di(t)), r) {
|
|
2313
|
+
let e = Si(t, !0, a, t);
|
|
2308
2314
|
c.x = e.x + t.clientLeft, c.y = e.y + t.clientTop;
|
|
2309
2315
|
} else i && l();
|
|
2310
2316
|
a && !r && i && l();
|
|
2311
|
-
let u = i && !r && !a ?
|
|
2317
|
+
let u = i && !r && !a ? wi(i, s) : W(0);
|
|
2312
2318
|
return {
|
|
2313
2319
|
x: o.left + s.scrollLeft - c.x - u.x,
|
|
2314
2320
|
y: o.top + s.scrollTop - c.y - u.y,
|
|
@@ -2316,34 +2322,34 @@ function Fi(e, t, n) {
|
|
|
2316
2322
|
height: o.height
|
|
2317
2323
|
};
|
|
2318
2324
|
}
|
|
2319
|
-
function
|
|
2325
|
+
function Li(e) {
|
|
2320
2326
|
return Q(e).position === "static";
|
|
2321
2327
|
}
|
|
2322
|
-
function
|
|
2328
|
+
function Ri(e, t) {
|
|
2323
2329
|
if (!Z(e) || Q(e).position === "fixed") return null;
|
|
2324
2330
|
if (t) return t(e);
|
|
2325
2331
|
let n = e.offsetParent;
|
|
2326
2332
|
return Y(e) === n && (n = n.ownerDocument.body), n;
|
|
2327
2333
|
}
|
|
2328
|
-
function
|
|
2334
|
+
function zi(e, t) {
|
|
2329
2335
|
let n = J(e);
|
|
2330
|
-
if (
|
|
2336
|
+
if (ni(e)) return n;
|
|
2331
2337
|
if (!Z(e)) {
|
|
2332
|
-
let t =
|
|
2333
|
-
for (; t && !
|
|
2334
|
-
if (X(t) && !
|
|
2335
|
-
t =
|
|
2338
|
+
let t = fi(e);
|
|
2339
|
+
for (; t && !ui(t);) {
|
|
2340
|
+
if (X(t) && !Li(t)) return t;
|
|
2341
|
+
t = fi(t);
|
|
2336
2342
|
}
|
|
2337
2343
|
return n;
|
|
2338
2344
|
}
|
|
2339
|
-
let r =
|
|
2340
|
-
for (; r &&
|
|
2341
|
-
return r &&
|
|
2345
|
+
let r = Ri(e, t);
|
|
2346
|
+
for (; r && ti(r) && Li(r);) r = Ri(r, t);
|
|
2347
|
+
return r && ui(r) && Li(r) && !si(r) ? n : r || ci(e) || n;
|
|
2342
2348
|
}
|
|
2343
|
-
var
|
|
2344
|
-
let t = this.getOffsetParent ||
|
|
2349
|
+
var Bi = async function(e) {
|
|
2350
|
+
let t = this.getOffsetParent || zi, n = this.getDimensions, r = await n(e.floating);
|
|
2345
2351
|
return {
|
|
2346
|
-
reference:
|
|
2352
|
+
reference: Ii(e.reference, await t(e.floating), e.strategy),
|
|
2347
2353
|
floating: {
|
|
2348
2354
|
x: 0,
|
|
2349
2355
|
y: 0,
|
|
@@ -2352,25 +2358,25 @@ var zi = async function(e) {
|
|
|
2352
2358
|
}
|
|
2353
2359
|
};
|
|
2354
2360
|
};
|
|
2355
|
-
function
|
|
2361
|
+
function Vi(e) {
|
|
2356
2362
|
return Q(e).direction === "rtl";
|
|
2357
2363
|
}
|
|
2358
|
-
var
|
|
2359
|
-
convertOffsetParentRelativeRectToViewportRelativeRect:
|
|
2364
|
+
var Hi = {
|
|
2365
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: Ti,
|
|
2360
2366
|
getDocumentElement: Y,
|
|
2361
|
-
getClippingRect:
|
|
2362
|
-
getOffsetParent:
|
|
2363
|
-
getElementRects:
|
|
2364
|
-
getClientRects:
|
|
2365
|
-
getDimensions:
|
|
2366
|
-
getScale:
|
|
2367
|
+
getClippingRect: Pi,
|
|
2368
|
+
getOffsetParent: zi,
|
|
2369
|
+
getElementRects: Bi,
|
|
2370
|
+
getClientRects: Ei,
|
|
2371
|
+
getDimensions: Fi,
|
|
2372
|
+
getScale: vi,
|
|
2367
2373
|
isElement: X,
|
|
2368
|
-
isRTL:
|
|
2374
|
+
isRTL: Vi
|
|
2369
2375
|
};
|
|
2370
|
-
function
|
|
2376
|
+
function Ui(e, t) {
|
|
2371
2377
|
return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
|
|
2372
2378
|
}
|
|
2373
|
-
function
|
|
2379
|
+
function Wi(e, t) {
|
|
2374
2380
|
let n = null, r, i = Y(e);
|
|
2375
2381
|
function a() {
|
|
2376
2382
|
var e;
|
|
@@ -2380,9 +2386,9 @@ function Ui(e, t) {
|
|
|
2380
2386
|
s === void 0 && (s = !1), c === void 0 && (c = 1), a();
|
|
2381
2387
|
let l = e.getBoundingClientRect(), { left: u, top: d, width: f, height: p } = l;
|
|
2382
2388
|
if (s || t(), !f || !p) return;
|
|
2383
|
-
let m =
|
|
2389
|
+
let m = hr(d), h = hr(i.clientWidth - (u + f)), g = hr(i.clientHeight - (d + p)), _ = hr(u), v = {
|
|
2384
2390
|
rootMargin: -m + "px " + -h + "px " + -g + "px " + -_ + "px",
|
|
2385
|
-
threshold: U(0,
|
|
2391
|
+
threshold: U(0, pr(1, c)) || 1
|
|
2386
2392
|
}, y = !0;
|
|
2387
2393
|
function b(t) {
|
|
2388
2394
|
let n = t[0].intersectionRatio;
|
|
@@ -2392,7 +2398,7 @@ function Ui(e, t) {
|
|
|
2392
2398
|
o(!1, 1e-7);
|
|
2393
2399
|
}, 1e3);
|
|
2394
2400
|
}
|
|
2395
|
-
n === 1 && !
|
|
2401
|
+
n === 1 && !Ui(l, e.getBoundingClientRect()) && o(), y = !1;
|
|
2396
2402
|
}
|
|
2397
2403
|
try {
|
|
2398
2404
|
n = new IntersectionObserver(b, {
|
|
@@ -2406,13 +2412,13 @@ function Ui(e, t) {
|
|
|
2406
2412
|
}
|
|
2407
2413
|
return o(!0), a;
|
|
2408
2414
|
}
|
|
2409
|
-
function
|
|
2415
|
+
function Gi(e, t, n, r) {
|
|
2410
2416
|
r === void 0 && (r = {});
|
|
2411
|
-
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l =
|
|
2417
|
+
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l = _i(e), u = i || a ? [...l ? mi(l) : [], ...t ? mi(t) : []] : [];
|
|
2412
2418
|
u.forEach((e) => {
|
|
2413
2419
|
i && e.addEventListener("scroll", n, { passive: !0 }), a && e.addEventListener("resize", n);
|
|
2414
2420
|
});
|
|
2415
|
-
let d = l && s ?
|
|
2421
|
+
let d = l && s ? Wi(l, n) : null, f = -1, p = null;
|
|
2416
2422
|
o && (p = new ResizeObserver((e) => {
|
|
2417
2423
|
let [r] = e;
|
|
2418
2424
|
r && r.target === l && p && t && (p.unobserve(t), cancelAnimationFrame(f), f = requestAnimationFrame(() => {
|
|
@@ -2420,11 +2426,11 @@ function Wi(e, t, n, r) {
|
|
|
2420
2426
|
(e = p) == null || e.observe(t);
|
|
2421
2427
|
})), n();
|
|
2422
2428
|
}), l && !c && p.observe(l), t && p.observe(t));
|
|
2423
|
-
let m, h = c ?
|
|
2429
|
+
let m, h = c ? Si(e) : null;
|
|
2424
2430
|
c && g();
|
|
2425
2431
|
function g() {
|
|
2426
|
-
let t =
|
|
2427
|
-
h && !
|
|
2432
|
+
let t = Si(e);
|
|
2433
|
+
h && !Ui(h, t) && n(), h = t, m = requestAnimationFrame(g);
|
|
2428
2434
|
}
|
|
2429
2435
|
return n(), () => {
|
|
2430
2436
|
var e;
|
|
@@ -2433,20 +2439,20 @@ function Wi(e, t, n, r) {
|
|
|
2433
2439
|
}), d?.(), (e = p) == null || e.disconnect(), p = null, c && cancelAnimationFrame(m);
|
|
2434
2440
|
};
|
|
2435
2441
|
}
|
|
2436
|
-
var
|
|
2442
|
+
var Ki = Kr, qi = qr, Ji = Br, Yi = Yr, Xi = Ur, Zi = zr, Qi = Jr, $i = (e, t, n) => {
|
|
2437
2443
|
let r = /* @__PURE__ */ new Map(), i = {
|
|
2438
|
-
platform:
|
|
2444
|
+
platform: Hi,
|
|
2439
2445
|
...n
|
|
2440
2446
|
}, a = {
|
|
2441
2447
|
...i.platform,
|
|
2442
2448
|
_c: r
|
|
2443
2449
|
};
|
|
2444
|
-
return
|
|
2450
|
+
return Rr(e, t, {
|
|
2445
2451
|
...i,
|
|
2446
2452
|
platform: a
|
|
2447
2453
|
});
|
|
2448
|
-
},
|
|
2449
|
-
function
|
|
2454
|
+
}, ea = typeof document < "u" ? F.useLayoutEffect : function() {};
|
|
2455
|
+
function ta(e, t) {
|
|
2450
2456
|
if (e === t) return !0;
|
|
2451
2457
|
if (typeof e != typeof t) return !1;
|
|
2452
2458
|
if (typeof e == "function" && e.toString() === t.toString()) return !0;
|
|
@@ -2454,33 +2460,33 @@ function ea(e, t) {
|
|
|
2454
2460
|
if (e && t && typeof e == "object") {
|
|
2455
2461
|
if (Array.isArray(e)) {
|
|
2456
2462
|
if (n = e.length, n !== t.length) return !1;
|
|
2457
|
-
for (r = n; r-- !== 0;) if (!
|
|
2463
|
+
for (r = n; r-- !== 0;) if (!ta(e[r], t[r])) return !1;
|
|
2458
2464
|
return !0;
|
|
2459
2465
|
}
|
|
2460
2466
|
if (i = Object.keys(e), n = i.length, n !== Object.keys(t).length) return !1;
|
|
2461
2467
|
for (r = n; r-- !== 0;) if (!{}.hasOwnProperty.call(t, i[r])) return !1;
|
|
2462
2468
|
for (r = n; r-- !== 0;) {
|
|
2463
2469
|
let n = i[r];
|
|
2464
|
-
if (!(n === "_owner" && e.$$typeof) && !
|
|
2470
|
+
if (!(n === "_owner" && e.$$typeof) && !ta(e[n], t[n])) return !1;
|
|
2465
2471
|
}
|
|
2466
2472
|
return !0;
|
|
2467
2473
|
}
|
|
2468
2474
|
return e !== e && t !== t;
|
|
2469
2475
|
}
|
|
2470
|
-
function
|
|
2476
|
+
function na(e) {
|
|
2471
2477
|
return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
2472
2478
|
}
|
|
2473
|
-
function
|
|
2474
|
-
let n =
|
|
2479
|
+
function ra(e, t) {
|
|
2480
|
+
let n = na(e);
|
|
2475
2481
|
return Math.round(t * n) / n;
|
|
2476
2482
|
}
|
|
2477
|
-
function
|
|
2483
|
+
function ia(e) {
|
|
2478
2484
|
let t = F.useRef(e);
|
|
2479
|
-
return
|
|
2485
|
+
return ea(() => {
|
|
2480
2486
|
t.current = e;
|
|
2481
2487
|
}), t;
|
|
2482
2488
|
}
|
|
2483
|
-
function
|
|
2489
|
+
function aa(e) {
|
|
2484
2490
|
e === void 0 && (e = {});
|
|
2485
2491
|
let { placement: t = "bottom", strategy: n = "absolute", middleware: r = [], platform: i, elements: { reference: a, floating: o } = {}, transform: s = !0, whileElementsMounted: c, open: l } = e, [u, d] = F.useState({
|
|
2486
2492
|
x: 0,
|
|
@@ -2490,24 +2496,24 @@ function ia(e) {
|
|
|
2490
2496
|
middlewareData: {},
|
|
2491
2497
|
isPositioned: !1
|
|
2492
2498
|
}), [f, p] = F.useState(r);
|
|
2493
|
-
|
|
2499
|
+
ta(f, r) || p(r);
|
|
2494
2500
|
let [m, h] = F.useState(null), [g, _] = F.useState(null), v = F.useCallback((e) => {
|
|
2495
2501
|
e !== S.current && (S.current = e, h(e));
|
|
2496
2502
|
}, []), y = F.useCallback((e) => {
|
|
2497
2503
|
e !== C.current && (C.current = e, _(e));
|
|
2498
|
-
}, []), b = a || m, x = o || g, S = F.useRef(null), C = F.useRef(null), w = F.useRef(u), T = c != null,
|
|
2504
|
+
}, []), b = a || m, x = o || g, S = F.useRef(null), C = F.useRef(null), w = F.useRef(u), T = c != null, E = ia(c), ee = ia(i), D = ia(l), O = F.useCallback(() => {
|
|
2499
2505
|
if (!S.current || !C.current) return;
|
|
2500
2506
|
let e = {
|
|
2501
2507
|
placement: t,
|
|
2502
2508
|
strategy: n,
|
|
2503
2509
|
middleware: f
|
|
2504
2510
|
};
|
|
2505
|
-
|
|
2511
|
+
ee.current && (e.platform = ee.current), $i(S.current, C.current, e).then((e) => {
|
|
2506
2512
|
let t = {
|
|
2507
2513
|
...e,
|
|
2508
2514
|
isPositioned: D.current !== !1
|
|
2509
2515
|
};
|
|
2510
|
-
k.current && !
|
|
2516
|
+
k.current && !ta(w.current, t) && (w.current = t, pt.flushSync(() => {
|
|
2511
2517
|
d(t);
|
|
2512
2518
|
}));
|
|
2513
2519
|
});
|
|
@@ -2515,28 +2521,28 @@ function ia(e) {
|
|
|
2515
2521
|
f,
|
|
2516
2522
|
t,
|
|
2517
2523
|
n,
|
|
2518
|
-
|
|
2524
|
+
ee,
|
|
2519
2525
|
D
|
|
2520
2526
|
]);
|
|
2521
|
-
|
|
2527
|
+
ea(() => {
|
|
2522
2528
|
l === !1 && w.current.isPositioned && (w.current.isPositioned = !1, d((e) => ({
|
|
2523
2529
|
...e,
|
|
2524
2530
|
isPositioned: !1
|
|
2525
2531
|
})));
|
|
2526
2532
|
}, [l]);
|
|
2527
2533
|
let k = F.useRef(!1);
|
|
2528
|
-
|
|
2534
|
+
ea(() => (k.current = !0, () => {
|
|
2529
2535
|
k.current = !1;
|
|
2530
|
-
}), []),
|
|
2536
|
+
}), []), ea(() => {
|
|
2531
2537
|
if (b && (S.current = b), x && (C.current = x), b && x) {
|
|
2532
|
-
if (
|
|
2538
|
+
if (E.current) return E.current(b, x, O);
|
|
2533
2539
|
O();
|
|
2534
2540
|
}
|
|
2535
2541
|
}, [
|
|
2536
2542
|
b,
|
|
2537
2543
|
x,
|
|
2538
2544
|
O,
|
|
2539
|
-
|
|
2545
|
+
E,
|
|
2540
2546
|
T
|
|
2541
2547
|
]);
|
|
2542
2548
|
let te = F.useMemo(() => ({
|
|
@@ -2554,11 +2560,11 @@ function ia(e) {
|
|
|
2554
2560
|
top: 0
|
|
2555
2561
|
};
|
|
2556
2562
|
if (!A.floating) return e;
|
|
2557
|
-
let t =
|
|
2563
|
+
let t = ra(A.floating, u.x), r = ra(A.floating, u.y);
|
|
2558
2564
|
return s ? {
|
|
2559
2565
|
...e,
|
|
2560
2566
|
transform: "translate(" + t + "px, " + r + "px)",
|
|
2561
|
-
...
|
|
2567
|
+
...na(A.floating) >= 1.5 && { willChange: "transform" }
|
|
2562
2568
|
} : {
|
|
2563
2569
|
position: n,
|
|
2564
2570
|
left: t,
|
|
@@ -2585,7 +2591,7 @@ function ia(e) {
|
|
|
2585
2591
|
j
|
|
2586
2592
|
]);
|
|
2587
2593
|
}
|
|
2588
|
-
var
|
|
2594
|
+
var oa = (e) => {
|
|
2589
2595
|
function t(e) {
|
|
2590
2596
|
return {}.hasOwnProperty.call(e, "current");
|
|
2591
2597
|
}
|
|
@@ -2594,22 +2600,15 @@ var aa = (e) => {
|
|
|
2594
2600
|
options: e,
|
|
2595
2601
|
fn(n) {
|
|
2596
2602
|
let { element: r, padding: i } = typeof e == "function" ? e(n) : e;
|
|
2597
|
-
return r && t(r) ? r.current == null ? {} :
|
|
2603
|
+
return r && t(r) ? r.current == null ? {} : Zi({
|
|
2598
2604
|
element: r.current,
|
|
2599
2605
|
padding: i
|
|
2600
|
-
}).fn(n) : r ?
|
|
2606
|
+
}).fn(n) : r ? Zi({
|
|
2601
2607
|
element: r,
|
|
2602
2608
|
padding: i
|
|
2603
2609
|
}).fn(n) : {};
|
|
2604
2610
|
}
|
|
2605
2611
|
};
|
|
2606
|
-
}, oa = (e, t) => {
|
|
2607
|
-
let n = Gi(e);
|
|
2608
|
-
return {
|
|
2609
|
-
name: n.name,
|
|
2610
|
-
fn: n.fn,
|
|
2611
|
-
options: [e, t]
|
|
2612
|
-
};
|
|
2613
2612
|
}, sa = (e, t) => {
|
|
2614
2613
|
let n = Ki(e);
|
|
2615
2614
|
return {
|
|
@@ -2617,17 +2616,17 @@ var aa = (e) => {
|
|
|
2617
2616
|
fn: n.fn,
|
|
2618
2617
|
options: [e, t]
|
|
2619
2618
|
};
|
|
2620
|
-
}, ca = (e, t) =>
|
|
2621
|
-
fn: Zi(e).fn,
|
|
2622
|
-
options: [e, t]
|
|
2623
|
-
}), la = (e, t) => {
|
|
2619
|
+
}, ca = (e, t) => {
|
|
2624
2620
|
let n = qi(e);
|
|
2625
2621
|
return {
|
|
2626
2622
|
name: n.name,
|
|
2627
2623
|
fn: n.fn,
|
|
2628
2624
|
options: [e, t]
|
|
2629
2625
|
};
|
|
2630
|
-
},
|
|
2626
|
+
}, la = (e, t) => ({
|
|
2627
|
+
fn: Qi(e).fn,
|
|
2628
|
+
options: [e, t]
|
|
2629
|
+
}), ua = (e, t) => {
|
|
2631
2630
|
let n = Ji(e);
|
|
2632
2631
|
return {
|
|
2633
2632
|
name: n.name,
|
|
@@ -2642,13 +2641,20 @@ var aa = (e) => {
|
|
|
2642
2641
|
options: [e, t]
|
|
2643
2642
|
};
|
|
2644
2643
|
}, fa = (e, t) => {
|
|
2645
|
-
let n =
|
|
2644
|
+
let n = Xi(e);
|
|
2645
|
+
return {
|
|
2646
|
+
name: n.name,
|
|
2647
|
+
fn: n.fn,
|
|
2648
|
+
options: [e, t]
|
|
2649
|
+
};
|
|
2650
|
+
}, pa = (e, t) => {
|
|
2651
|
+
let n = oa(e);
|
|
2646
2652
|
return {
|
|
2647
2653
|
name: n.name,
|
|
2648
2654
|
fn: n.fn,
|
|
2649
2655
|
options: [e, t]
|
|
2650
2656
|
};
|
|
2651
|
-
},
|
|
2657
|
+
}, ma = "Arrow", ha = F.forwardRef((e, t) => {
|
|
2652
2658
|
let { children: n, width: r = 10, height: i = 5, ...a } = e;
|
|
2653
2659
|
return /* @__PURE__ */ (0, I.jsx)(H.svg, {
|
|
2654
2660
|
...a,
|
|
@@ -2660,13 +2666,13 @@ var aa = (e) => {
|
|
|
2660
2666
|
children: e.asChild ? n : /* @__PURE__ */ (0, I.jsx)("polygon", { points: "0,0 30,0 15,10" })
|
|
2661
2667
|
});
|
|
2662
2668
|
});
|
|
2663
|
-
|
|
2664
|
-
var
|
|
2669
|
+
ha.displayName = ma;
|
|
2670
|
+
var ga = ha;
|
|
2665
2671
|
//#endregion
|
|
2666
2672
|
//#region ../node_modules/@radix-ui/react-use-size/dist/index.mjs
|
|
2667
|
-
function
|
|
2673
|
+
function _a(e) {
|
|
2668
2674
|
let [t, n] = F.useState(void 0);
|
|
2669
|
-
return
|
|
2675
|
+
return cr(() => {
|
|
2670
2676
|
if (e) {
|
|
2671
2677
|
n({
|
|
2672
2678
|
width: e.offsetWidth,
|
|
@@ -2690,18 +2696,18 @@ function ga(e) {
|
|
|
2690
2696
|
}
|
|
2691
2697
|
//#endregion
|
|
2692
2698
|
//#region ../node_modules/@radix-ui/react-popper/dist/index.mjs
|
|
2693
|
-
var
|
|
2699
|
+
var va = "Popper", [ya, ba] = yn(va), [xa, Sa] = ya(va), Ca = (e) => {
|
|
2694
2700
|
let { __scopePopper: t, children: n } = e, [r, i] = F.useState(null);
|
|
2695
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
2701
|
+
return /* @__PURE__ */ (0, I.jsx)(xa, {
|
|
2696
2702
|
scope: t,
|
|
2697
2703
|
anchor: r,
|
|
2698
2704
|
onAnchorChange: i,
|
|
2699
2705
|
children: n
|
|
2700
2706
|
});
|
|
2701
2707
|
};
|
|
2702
|
-
|
|
2703
|
-
var
|
|
2704
|
-
let { __scopePopper: n, virtualRef: r, ...i } = e, a =
|
|
2708
|
+
Ca.displayName = va;
|
|
2709
|
+
var wa = "PopperAnchor", Ta = F.forwardRef((e, t) => {
|
|
2710
|
+
let { __scopePopper: n, virtualRef: r, ...i } = e, a = Sa(wa, n), o = F.useRef(null), s = V(t, o), c = F.useRef(null);
|
|
2705
2711
|
return F.useEffect(() => {
|
|
2706
2712
|
let e = c.current;
|
|
2707
2713
|
c.current = r?.current || o.current, e !== c.current && a.onAnchorChange(c.current);
|
|
@@ -2710,61 +2716,61 @@ var Ca = "PopperAnchor", wa = F.forwardRef((e, t) => {
|
|
|
2710
2716
|
ref: s
|
|
2711
2717
|
});
|
|
2712
2718
|
});
|
|
2713
|
-
|
|
2714
|
-
var
|
|
2715
|
-
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 =
|
|
2719
|
+
Ta.displayName = wa;
|
|
2720
|
+
var Ea = "PopperContent", [Da, Oa] = ya(Ea), ka = F.forwardRef((e, t) => {
|
|
2721
|
+
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 = Sa(Ea, n), [_, v] = F.useState(null), y = V(t, (e) => v(e)), [b, x] = F.useState(null), S = _a(b), C = S?.width ?? 0, w = S?.height ?? 0, T = r + (a === "center" ? "" : "-" + a), E = typeof u == "number" ? u : {
|
|
2716
2722
|
top: 0,
|
|
2717
2723
|
right: 0,
|
|
2718
2724
|
bottom: 0,
|
|
2719
2725
|
left: 0,
|
|
2720
2726
|
...u
|
|
2721
|
-
},
|
|
2722
|
-
padding:
|
|
2723
|
-
boundary:
|
|
2727
|
+
}, ee = Array.isArray(l) ? l : [l], D = ee.length > 0, O = {
|
|
2728
|
+
padding: E,
|
|
2729
|
+
boundary: ee.filter(Na),
|
|
2724
2730
|
altBoundary: D
|
|
2725
|
-
}, { refs: k, floatingStyles: te, placement: A, isPositioned: j, middlewareData: ne } =
|
|
2731
|
+
}, { refs: k, floatingStyles: te, placement: A, isPositioned: j, middlewareData: ne } = aa({
|
|
2726
2732
|
strategy: "fixed",
|
|
2727
2733
|
placement: T,
|
|
2728
|
-
whileElementsMounted: (...e) =>
|
|
2734
|
+
whileElementsMounted: (...e) => Gi(...e, { animationFrame: p === "always" }),
|
|
2729
2735
|
elements: { reference: g.anchor },
|
|
2730
2736
|
middleware: [
|
|
2731
|
-
|
|
2737
|
+
sa({
|
|
2732
2738
|
mainAxis: i + w,
|
|
2733
2739
|
alignmentAxis: o
|
|
2734
2740
|
}),
|
|
2735
|
-
c &&
|
|
2741
|
+
c && ca({
|
|
2736
2742
|
mainAxis: !0,
|
|
2737
2743
|
crossAxis: !1,
|
|
2738
|
-
limiter: d === "partial" ?
|
|
2744
|
+
limiter: d === "partial" ? la() : void 0,
|
|
2739
2745
|
...O
|
|
2740
2746
|
}),
|
|
2741
|
-
c &&
|
|
2742
|
-
|
|
2747
|
+
c && ua({ ...O }),
|
|
2748
|
+
da({
|
|
2743
2749
|
...O,
|
|
2744
2750
|
apply: ({ elements: e, rects: t, availableWidth: n, availableHeight: r }) => {
|
|
2745
2751
|
let { width: i, height: a } = t.reference, o = e.floating.style;
|
|
2746
2752
|
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`);
|
|
2747
2753
|
}
|
|
2748
2754
|
}),
|
|
2749
|
-
b &&
|
|
2755
|
+
b && pa({
|
|
2750
2756
|
element: b,
|
|
2751
2757
|
padding: s
|
|
2752
2758
|
}),
|
|
2753
|
-
|
|
2759
|
+
Pa({
|
|
2754
2760
|
arrowWidth: C,
|
|
2755
2761
|
arrowHeight: w
|
|
2756
2762
|
}),
|
|
2757
|
-
f &&
|
|
2763
|
+
f && fa({
|
|
2758
2764
|
strategy: "referenceHidden",
|
|
2759
2765
|
...O
|
|
2760
2766
|
})
|
|
2761
2767
|
]
|
|
2762
|
-
}), [re, ie] =
|
|
2763
|
-
|
|
2768
|
+
}), [re, ie] = Fa(A), ae = On(m);
|
|
2769
|
+
cr(() => {
|
|
2764
2770
|
j && ae?.();
|
|
2765
2771
|
}, [j, ae]);
|
|
2766
2772
|
let oe = ne.arrow?.x, se = ne.arrow?.y, ce = ne.arrow?.centerOffset !== 0, [le, ue] = F.useState();
|
|
2767
|
-
return
|
|
2773
|
+
return cr(() => {
|
|
2768
2774
|
_ && ue(window.getComputedStyle(_).zIndex);
|
|
2769
2775
|
}, [_]), /* @__PURE__ */ (0, I.jsx)("div", {
|
|
2770
2776
|
ref: k.setFloating,
|
|
@@ -2781,7 +2787,7 @@ var Ta = "PopperContent", [Ea, Da] = va(Ta), Oa = F.forwardRef((e, t) => {
|
|
|
2781
2787
|
}
|
|
2782
2788
|
},
|
|
2783
2789
|
dir: e.dir,
|
|
2784
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
2790
|
+
children: /* @__PURE__ */ (0, I.jsx)(Da, {
|
|
2785
2791
|
scope: n,
|
|
2786
2792
|
placedSide: re,
|
|
2787
2793
|
onArrowChange: x,
|
|
@@ -2801,14 +2807,14 @@ var Ta = "PopperContent", [Ea, Da] = va(Ta), Oa = F.forwardRef((e, t) => {
|
|
|
2801
2807
|
})
|
|
2802
2808
|
});
|
|
2803
2809
|
});
|
|
2804
|
-
|
|
2805
|
-
var
|
|
2810
|
+
ka.displayName = Ea;
|
|
2811
|
+
var Aa = "PopperArrow", ja = {
|
|
2806
2812
|
top: "bottom",
|
|
2807
2813
|
right: "left",
|
|
2808
2814
|
bottom: "top",
|
|
2809
2815
|
left: "right"
|
|
2810
|
-
},
|
|
2811
|
-
let { __scopePopper: n, ...r } = e, i =
|
|
2816
|
+
}, Ma = F.forwardRef(function(e, t) {
|
|
2817
|
+
let { __scopePopper: n, ...r } = e, i = Oa(Aa, n), a = ja[i.placedSide];
|
|
2812
2818
|
return /* @__PURE__ */ (0, I.jsx)("span", {
|
|
2813
2819
|
ref: i.onArrowChange,
|
|
2814
2820
|
style: {
|
|
@@ -2830,7 +2836,7 @@ var ka = "PopperArrow", Aa = {
|
|
|
2830
2836
|
}[i.placedSide],
|
|
2831
2837
|
visibility: i.shouldHideArrow ? "hidden" : void 0
|
|
2832
2838
|
},
|
|
2833
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
2839
|
+
children: /* @__PURE__ */ (0, I.jsx)(ga, {
|
|
2834
2840
|
...r,
|
|
2835
2841
|
ref: t,
|
|
2836
2842
|
style: {
|
|
@@ -2840,15 +2846,15 @@ var ka = "PopperArrow", Aa = {
|
|
|
2840
2846
|
})
|
|
2841
2847
|
});
|
|
2842
2848
|
});
|
|
2843
|
-
|
|
2844
|
-
function
|
|
2849
|
+
Ma.displayName = Aa;
|
|
2850
|
+
function Na(e) {
|
|
2845
2851
|
return e !== null;
|
|
2846
2852
|
}
|
|
2847
|
-
var
|
|
2853
|
+
var Pa = (e) => ({
|
|
2848
2854
|
name: "transformOrigin",
|
|
2849
2855
|
options: e,
|
|
2850
2856
|
fn(t) {
|
|
2851
|
-
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] =
|
|
2857
|
+
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] = Fa(n), u = {
|
|
2852
2858
|
start: "0%",
|
|
2853
2859
|
center: "50%",
|
|
2854
2860
|
end: "100%"
|
|
@@ -2859,32 +2865,32 @@ var Na = (e) => ({
|
|
|
2859
2865
|
} };
|
|
2860
2866
|
}
|
|
2861
2867
|
});
|
|
2862
|
-
function
|
|
2868
|
+
function Fa(e) {
|
|
2863
2869
|
let [t, n = "center"] = e.split("-");
|
|
2864
2870
|
return [t, n];
|
|
2865
2871
|
}
|
|
2866
|
-
var
|
|
2872
|
+
var Ia = Ca, La = Ta, Ra = ka, za = Ma, Ba = "Portal", Va = F.forwardRef((e, t) => {
|
|
2867
2873
|
let { container: n, ...r } = e, [i, a] = F.useState(!1);
|
|
2868
|
-
|
|
2874
|
+
cr(() => a(!0), []);
|
|
2869
2875
|
let o = n || i && globalThis?.document?.body;
|
|
2870
|
-
return o ?
|
|
2876
|
+
return o ? pt.createPortal(/* @__PURE__ */ (0, I.jsx)(H.div, {
|
|
2871
2877
|
...r,
|
|
2872
2878
|
ref: t
|
|
2873
2879
|
}), o) : null;
|
|
2874
2880
|
});
|
|
2875
|
-
|
|
2881
|
+
Va.displayName = Ba;
|
|
2876
2882
|
//#endregion
|
|
2877
2883
|
//#region ../node_modules/@radix-ui/react-presence/dist/index.mjs
|
|
2878
|
-
function
|
|
2884
|
+
function Ha(e, t) {
|
|
2879
2885
|
return F.useReducer((e, n) => t[e][n] ?? e, e);
|
|
2880
2886
|
}
|
|
2881
|
-
var
|
|
2882
|
-
let { present: t, children: n } = e, r =
|
|
2887
|
+
var Ua = (e) => {
|
|
2888
|
+
let { present: t, children: n } = e, r = Wa(t), i = typeof n == "function" ? n({ present: r.isPresent }) : F.Children.only(n), a = V(r.ref, Ka(i));
|
|
2883
2889
|
return typeof n == "function" || r.isPresent ? F.cloneElement(i, { ref: a }) : null;
|
|
2884
2890
|
};
|
|
2885
|
-
|
|
2886
|
-
function
|
|
2887
|
-
let [t, n] = F.useState(), r = F.useRef(null), i = F.useRef(e), a = F.useRef("none"), [o, s] =
|
|
2891
|
+
Ua.displayName = "Presence";
|
|
2892
|
+
function Wa(e) {
|
|
2893
|
+
let [t, n] = F.useState(), r = F.useRef(null), i = F.useRef(e), a = F.useRef("none"), [o, s] = Ha(e ? "mounted" : "unmounted", {
|
|
2888
2894
|
mounted: {
|
|
2889
2895
|
UNMOUNT: "unmounted",
|
|
2890
2896
|
ANIMATION_OUT: "unmountSuspended"
|
|
@@ -2896,18 +2902,18 @@ function Ua(e) {
|
|
|
2896
2902
|
unmounted: { MOUNT: "mounted" }
|
|
2897
2903
|
});
|
|
2898
2904
|
return F.useEffect(() => {
|
|
2899
|
-
let e =
|
|
2905
|
+
let e = Ga(r.current);
|
|
2900
2906
|
a.current = o === "mounted" ? e : "none";
|
|
2901
|
-
}, [o]),
|
|
2907
|
+
}, [o]), cr(() => {
|
|
2902
2908
|
let t = r.current, n = i.current;
|
|
2903
2909
|
if (n !== e) {
|
|
2904
|
-
let r = a.current, o =
|
|
2910
|
+
let r = a.current, o = Ga(t);
|
|
2905
2911
|
e ? s("MOUNT") : o === "none" || t?.display === "none" ? s("UNMOUNT") : s(n && r !== o ? "ANIMATION_OUT" : "UNMOUNT"), i.current = e;
|
|
2906
2912
|
}
|
|
2907
|
-
}, [e, s]),
|
|
2913
|
+
}, [e, s]), cr(() => {
|
|
2908
2914
|
if (t) {
|
|
2909
2915
|
let e, n = t.ownerDocument.defaultView ?? window, o = (a) => {
|
|
2910
|
-
let o =
|
|
2916
|
+
let o = Ga(r.current).includes(CSS.escape(a.animationName));
|
|
2911
2917
|
if (a.target === t && o && (s("ANIMATION_END"), !i.current)) {
|
|
2912
2918
|
let r = t.style.animationFillMode;
|
|
2913
2919
|
t.style.animationFillMode = "forwards", e = n.setTimeout(() => {
|
|
@@ -2915,7 +2921,7 @@ function Ua(e) {
|
|
|
2915
2921
|
});
|
|
2916
2922
|
}
|
|
2917
2923
|
}, c = (e) => {
|
|
2918
|
-
e.target === t && (a.current =
|
|
2924
|
+
e.target === t && (a.current = Ga(r.current));
|
|
2919
2925
|
};
|
|
2920
2926
|
return t.addEventListener("animationstart", c), t.addEventListener("animationcancel", o), t.addEventListener("animationend", o), () => {
|
|
2921
2927
|
n.clearTimeout(e), t.removeEventListener("animationstart", c), t.removeEventListener("animationcancel", o), t.removeEventListener("animationend", o);
|
|
@@ -2928,18 +2934,18 @@ function Ua(e) {
|
|
|
2928
2934
|
}, [])
|
|
2929
2935
|
};
|
|
2930
2936
|
}
|
|
2931
|
-
function
|
|
2937
|
+
function Ga(e) {
|
|
2932
2938
|
return e?.animationName || "none";
|
|
2933
2939
|
}
|
|
2934
|
-
function
|
|
2940
|
+
function Ka(e) {
|
|
2935
2941
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
2936
2942
|
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);
|
|
2937
2943
|
}
|
|
2938
2944
|
//#endregion
|
|
2939
2945
|
//#region ../node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
|
|
2940
|
-
var
|
|
2941
|
-
function
|
|
2942
|
-
let [i, a, o] =
|
|
2946
|
+
var qa = F.useInsertionEffect || cr;
|
|
2947
|
+
function Ja({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
2948
|
+
let [i, a, o] = Ya({
|
|
2943
2949
|
defaultProp: t,
|
|
2944
2950
|
onChange: n
|
|
2945
2951
|
}), s = e !== void 0, c = s ? e : i;
|
|
@@ -2952,7 +2958,7 @@ function qa({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
|
2952
2958
|
}
|
|
2953
2959
|
return [c, F.useCallback((t) => {
|
|
2954
2960
|
if (s) {
|
|
2955
|
-
let n =
|
|
2961
|
+
let n = Xa(t) ? t(e) : t;
|
|
2956
2962
|
n !== e && o.current?.(n);
|
|
2957
2963
|
} else a(t);
|
|
2958
2964
|
}, [
|
|
@@ -2962,9 +2968,9 @@ function qa({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
|
2962
2968
|
o
|
|
2963
2969
|
])];
|
|
2964
2970
|
}
|
|
2965
|
-
function
|
|
2971
|
+
function Ya({ defaultProp: e, onChange: t }) {
|
|
2966
2972
|
let [n, r] = F.useState(e), i = F.useRef(n), a = F.useRef(t);
|
|
2967
|
-
return
|
|
2973
|
+
return qa(() => {
|
|
2968
2974
|
a.current = t;
|
|
2969
2975
|
}, [t]), F.useEffect(() => {
|
|
2970
2976
|
i.current !== n && (a.current?.(n), i.current = n);
|
|
@@ -2974,27 +2980,27 @@ function Ja({ defaultProp: e, onChange: t }) {
|
|
|
2974
2980
|
a
|
|
2975
2981
|
];
|
|
2976
2982
|
}
|
|
2977
|
-
function
|
|
2983
|
+
function Xa(e) {
|
|
2978
2984
|
return typeof e == "function";
|
|
2979
2985
|
}
|
|
2980
2986
|
//#endregion
|
|
2981
2987
|
//#region ../node_modules/aria-hidden/dist/es2015/index.js
|
|
2982
|
-
var
|
|
2988
|
+
var Za = function(e) {
|
|
2983
2989
|
return typeof document > "u" ? null : (Array.isArray(e) ? e[0] : e).ownerDocument.body;
|
|
2984
|
-
},
|
|
2985
|
-
return e && (e.host ||
|
|
2986
|
-
},
|
|
2990
|
+
}, Qa = /* @__PURE__ */ new WeakMap(), $a = /* @__PURE__ */ new WeakMap(), eo = {}, to = 0, no = function(e) {
|
|
2991
|
+
return e && (e.host || no(e.parentNode));
|
|
2992
|
+
}, ro = function(e, t) {
|
|
2987
2993
|
return t.map(function(t) {
|
|
2988
2994
|
if (e.contains(t)) return t;
|
|
2989
|
-
var n =
|
|
2995
|
+
var n = no(t);
|
|
2990
2996
|
return n && e.contains(n) ? n : (console.error("aria-hidden", t, "in not contained inside", e, ". Doing nothing"), null);
|
|
2991
2997
|
}).filter(function(e) {
|
|
2992
2998
|
return !!e;
|
|
2993
2999
|
});
|
|
2994
|
-
},
|
|
2995
|
-
var i =
|
|
2996
|
-
|
|
2997
|
-
var a =
|
|
3000
|
+
}, io = function(e, t, n, r) {
|
|
3001
|
+
var i = ro(t, Array.isArray(e) ? e : [e]);
|
|
3002
|
+
eo[n] || (eo[n] = /* @__PURE__ */ new WeakMap());
|
|
3003
|
+
var a = eo[n], o = [], s = /* @__PURE__ */ new Set(), c = new Set(i), l = function(e) {
|
|
2998
3004
|
!e || s.has(e) || (s.add(e), l(e.parentNode));
|
|
2999
3005
|
};
|
|
3000
3006
|
i.forEach(l);
|
|
@@ -3002,23 +3008,23 @@ var Xa = function(e) {
|
|
|
3002
3008
|
!e || c.has(e) || Array.prototype.forEach.call(e.children, function(e) {
|
|
3003
3009
|
if (s.has(e)) u(e);
|
|
3004
3010
|
else try {
|
|
3005
|
-
var t = e.getAttribute(r), i = t !== null && t !== "false", c = (
|
|
3006
|
-
|
|
3011
|
+
var t = e.getAttribute(r), i = t !== null && t !== "false", c = (Qa.get(e) || 0) + 1, l = (a.get(e) || 0) + 1;
|
|
3012
|
+
Qa.set(e, c), a.set(e, l), o.push(e), c === 1 && i && $a.set(e, !0), l === 1 && e.setAttribute(n, "true"), i || e.setAttribute(r, "true");
|
|
3007
3013
|
} catch (t) {
|
|
3008
3014
|
console.error("aria-hidden: cannot operate on ", e, t);
|
|
3009
3015
|
}
|
|
3010
3016
|
});
|
|
3011
3017
|
};
|
|
3012
|
-
return u(t), s.clear(),
|
|
3018
|
+
return u(t), s.clear(), to++, function() {
|
|
3013
3019
|
o.forEach(function(e) {
|
|
3014
|
-
var t =
|
|
3015
|
-
|
|
3016
|
-
}),
|
|
3020
|
+
var t = Qa.get(e) - 1, i = a.get(e) - 1;
|
|
3021
|
+
Qa.set(e, t), a.set(e, i), t || ($a.has(e) || e.removeAttribute(r), $a.delete(e)), i || e.removeAttribute(n);
|
|
3022
|
+
}), to--, to || (Qa = /* @__PURE__ */ new WeakMap(), Qa = /* @__PURE__ */ new WeakMap(), $a = /* @__PURE__ */ new WeakMap(), eo = {});
|
|
3017
3023
|
};
|
|
3018
|
-
},
|
|
3024
|
+
}, ao = function(e, t, n) {
|
|
3019
3025
|
n === void 0 && (n = "data-aria-hidden");
|
|
3020
|
-
var r = Array.from(Array.isArray(e) ? e : [e]), i = t ||
|
|
3021
|
-
return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live], script"))),
|
|
3026
|
+
var r = Array.from(Array.isArray(e) ? e : [e]), i = t || Za(e);
|
|
3027
|
+
return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live], script"))), io(r, i, n, "aria-hidden")) : function() {
|
|
3022
3028
|
return null;
|
|
3023
3029
|
};
|
|
3024
3030
|
}, $ = function() {
|
|
@@ -3027,13 +3033,13 @@ var Xa = function(e) {
|
|
|
3027
3033
|
return e;
|
|
3028
3034
|
}, $.apply(this, arguments);
|
|
3029
3035
|
};
|
|
3030
|
-
function
|
|
3036
|
+
function oo(e, t) {
|
|
3031
3037
|
var n = {};
|
|
3032
3038
|
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
3033
3039
|
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]]);
|
|
3034
3040
|
return n;
|
|
3035
3041
|
}
|
|
3036
|
-
function
|
|
3042
|
+
function so(e, t, n, r) {
|
|
3037
3043
|
function i(e) {
|
|
3038
3044
|
return e instanceof n ? e : new n(function(t) {
|
|
3039
3045
|
t(e);
|
|
@@ -3060,7 +3066,7 @@ function oo(e, t, n, r) {
|
|
|
3060
3066
|
c((r = r.apply(e, t || [])).next());
|
|
3061
3067
|
});
|
|
3062
3068
|
}
|
|
3063
|
-
function
|
|
3069
|
+
function co(e, t) {
|
|
3064
3070
|
var n = {
|
|
3065
3071
|
label: 0,
|
|
3066
3072
|
sent: function() {
|
|
@@ -3130,7 +3136,7 @@ function so(e, t) {
|
|
|
3130
3136
|
};
|
|
3131
3137
|
}
|
|
3132
3138
|
}
|
|
3133
|
-
function
|
|
3139
|
+
function lo(e, t) {
|
|
3134
3140
|
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
3135
3141
|
if (!n) return e;
|
|
3136
3142
|
var r = n.call(e), i, a = [], o;
|
|
@@ -3147,25 +3153,25 @@ function co(e, t) {
|
|
|
3147
3153
|
}
|
|
3148
3154
|
return a;
|
|
3149
3155
|
}
|
|
3150
|
-
function
|
|
3151
|
-
for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(
|
|
3156
|
+
function uo() {
|
|
3157
|
+
for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(lo(arguments[t]));
|
|
3152
3158
|
return e;
|
|
3153
3159
|
}
|
|
3154
|
-
function
|
|
3160
|
+
function fo(e, t, n) {
|
|
3155
3161
|
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]);
|
|
3156
3162
|
return e.concat(a || Array.prototype.slice.call(t));
|
|
3157
3163
|
}
|
|
3158
3164
|
//#endregion
|
|
3159
3165
|
//#region ../node_modules/react-remove-scroll-bar/dist/es2015/constants.js
|
|
3160
|
-
var
|
|
3166
|
+
var po = "right-scroll-bar-position", mo = "width-before-scroll-bar", ho = "with-scroll-bars-hidden", go = "--removed-body-scroll-bar-size";
|
|
3161
3167
|
//#endregion
|
|
3162
3168
|
//#region ../node_modules/use-callback-ref/dist/es2015/assignRef.js
|
|
3163
|
-
function
|
|
3169
|
+
function _o(e, t) {
|
|
3164
3170
|
return typeof e == "function" ? e(t) : e && (e.current = t), e;
|
|
3165
3171
|
}
|
|
3166
3172
|
//#endregion
|
|
3167
3173
|
//#region ../node_modules/use-callback-ref/dist/es2015/useRef.js
|
|
3168
|
-
function
|
|
3174
|
+
function vo(e, t) {
|
|
3169
3175
|
var n = (0, F.useState)(function() {
|
|
3170
3176
|
return {
|
|
3171
3177
|
value: e,
|
|
@@ -3185,33 +3191,33 @@ function _o(e, t) {
|
|
|
3185
3191
|
}
|
|
3186
3192
|
//#endregion
|
|
3187
3193
|
//#region ../node_modules/use-callback-ref/dist/es2015/useMergeRef.js
|
|
3188
|
-
var
|
|
3189
|
-
function
|
|
3190
|
-
var n =
|
|
3194
|
+
var yo = typeof window < "u" ? F.useLayoutEffect : F.useEffect, bo = /* @__PURE__ */ new WeakMap();
|
|
3195
|
+
function xo(e, t) {
|
|
3196
|
+
var n = vo(t || null, function(t) {
|
|
3191
3197
|
return e.forEach(function(e) {
|
|
3192
|
-
return
|
|
3198
|
+
return _o(e, t);
|
|
3193
3199
|
});
|
|
3194
3200
|
});
|
|
3195
|
-
return
|
|
3196
|
-
var t =
|
|
3201
|
+
return yo(function() {
|
|
3202
|
+
var t = bo.get(n);
|
|
3197
3203
|
if (t) {
|
|
3198
3204
|
var r = new Set(t), i = new Set(e), a = n.current;
|
|
3199
3205
|
r.forEach(function(e) {
|
|
3200
|
-
i.has(e) ||
|
|
3206
|
+
i.has(e) || _o(e, null);
|
|
3201
3207
|
}), i.forEach(function(e) {
|
|
3202
|
-
r.has(e) ||
|
|
3208
|
+
r.has(e) || _o(e, a);
|
|
3203
3209
|
});
|
|
3204
3210
|
}
|
|
3205
|
-
|
|
3211
|
+
bo.set(n, e);
|
|
3206
3212
|
}, [e]), n;
|
|
3207
3213
|
}
|
|
3208
3214
|
//#endregion
|
|
3209
3215
|
//#region ../node_modules/use-sidecar/dist/es2015/medium.js
|
|
3210
|
-
function
|
|
3216
|
+
function So(e) {
|
|
3211
3217
|
return e;
|
|
3212
3218
|
}
|
|
3213
|
-
function
|
|
3214
|
-
t === void 0 && (t =
|
|
3219
|
+
function Co(e, t) {
|
|
3220
|
+
t === void 0 && (t = So);
|
|
3215
3221
|
var n = [], r = !1;
|
|
3216
3222
|
return {
|
|
3217
3223
|
read: function() {
|
|
@@ -3264,9 +3270,9 @@ function So(e, t) {
|
|
|
3264
3270
|
}
|
|
3265
3271
|
};
|
|
3266
3272
|
}
|
|
3267
|
-
function
|
|
3273
|
+
function wo(e) {
|
|
3268
3274
|
e === void 0 && (e = {});
|
|
3269
|
-
var t =
|
|
3275
|
+
var t = Co(null);
|
|
3270
3276
|
return t.options = $({
|
|
3271
3277
|
async: !0,
|
|
3272
3278
|
ssr: !1
|
|
@@ -3274,25 +3280,25 @@ function Co(e) {
|
|
|
3274
3280
|
}
|
|
3275
3281
|
//#endregion
|
|
3276
3282
|
//#region ../node_modules/use-sidecar/dist/es2015/exports.js
|
|
3277
|
-
var
|
|
3278
|
-
var t = e.sideCar, n =
|
|
3283
|
+
var To = function(e) {
|
|
3284
|
+
var t = e.sideCar, n = oo(e, ["sideCar"]);
|
|
3279
3285
|
if (!t) throw Error("Sidecar: please provide `sideCar` property to import the right car");
|
|
3280
3286
|
var r = t.read();
|
|
3281
3287
|
if (!r) throw Error("Sidecar medium not found");
|
|
3282
3288
|
return F.createElement(r, $({}, n));
|
|
3283
3289
|
};
|
|
3284
|
-
|
|
3285
|
-
function
|
|
3286
|
-
return e.useMedium(t),
|
|
3290
|
+
To.isSideCarExport = !0;
|
|
3291
|
+
function Eo(e, t) {
|
|
3292
|
+
return e.useMedium(t), To;
|
|
3287
3293
|
}
|
|
3288
3294
|
//#endregion
|
|
3289
3295
|
//#region ../node_modules/react-remove-scroll/dist/es2015/medium.js
|
|
3290
|
-
var
|
|
3296
|
+
var Do = wo(), Oo = function() {}, ko = F.forwardRef(function(e, t) {
|
|
3291
3297
|
var n = F.useRef(null), r = F.useState({
|
|
3292
|
-
onScrollCapture:
|
|
3293
|
-
onWheelCapture:
|
|
3294
|
-
onTouchMoveCapture:
|
|
3295
|
-
}), 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 =
|
|
3298
|
+
onScrollCapture: Oo,
|
|
3299
|
+
onWheelCapture: Oo,
|
|
3300
|
+
onTouchMoveCapture: Oo
|
|
3301
|
+
}), 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 = oo(e, [
|
|
3296
3302
|
"forwardProps",
|
|
3297
3303
|
"children",
|
|
3298
3304
|
"className",
|
|
@@ -3306,9 +3312,9 @@ var Eo = Co(), Do = function() {}, Oo = F.forwardRef(function(e, t) {
|
|
|
3306
3312
|
"allowPinchZoom",
|
|
3307
3313
|
"as",
|
|
3308
3314
|
"gapMode"
|
|
3309
|
-
]), x = f, S =
|
|
3315
|
+
]), x = f, S = xo([n, t]), C = $($({}, b), i);
|
|
3310
3316
|
return F.createElement(F.Fragment, null, u && F.createElement(x, {
|
|
3311
|
-
sideCar:
|
|
3317
|
+
sideCar: Do,
|
|
3312
3318
|
removeScrollBar: l,
|
|
3313
3319
|
shards: d,
|
|
3314
3320
|
noRelative: p,
|
|
@@ -3323,47 +3329,47 @@ var Eo = Co(), Do = function() {}, Oo = F.forwardRef(function(e, t) {
|
|
|
3323
3329
|
ref: S
|
|
3324
3330
|
}), s));
|
|
3325
3331
|
});
|
|
3326
|
-
|
|
3332
|
+
ko.defaultProps = {
|
|
3327
3333
|
enabled: !0,
|
|
3328
3334
|
removeScrollBar: !0,
|
|
3329
3335
|
inert: !1
|
|
3330
|
-
},
|
|
3331
|
-
fullWidth:
|
|
3332
|
-
zeroRight:
|
|
3336
|
+
}, ko.classNames = {
|
|
3337
|
+
fullWidth: mo,
|
|
3338
|
+
zeroRight: po
|
|
3333
3339
|
};
|
|
3334
3340
|
//#endregion
|
|
3335
3341
|
//#region ../node_modules/get-nonce/dist/es2015/index.js
|
|
3336
|
-
var
|
|
3337
|
-
if (
|
|
3342
|
+
var Ao, jo = function() {
|
|
3343
|
+
if (Ao) return Ao;
|
|
3338
3344
|
if (typeof __webpack_nonce__ < "u") return __webpack_nonce__;
|
|
3339
3345
|
};
|
|
3340
3346
|
//#endregion
|
|
3341
3347
|
//#region ../node_modules/react-style-singleton/dist/es2015/singleton.js
|
|
3342
|
-
function
|
|
3348
|
+
function Mo() {
|
|
3343
3349
|
if (!document) return null;
|
|
3344
3350
|
var e = document.createElement("style");
|
|
3345
3351
|
e.type = "text/css";
|
|
3346
|
-
var t =
|
|
3352
|
+
var t = jo();
|
|
3347
3353
|
return t && e.setAttribute("nonce", t), e;
|
|
3348
3354
|
}
|
|
3349
|
-
function
|
|
3355
|
+
function No(e, t) {
|
|
3350
3356
|
e.styleSheet ? e.styleSheet.cssText = t : e.appendChild(document.createTextNode(t));
|
|
3351
3357
|
}
|
|
3352
|
-
function
|
|
3358
|
+
function Po(e) {
|
|
3353
3359
|
(document.head || document.getElementsByTagName("head")[0]).appendChild(e);
|
|
3354
3360
|
}
|
|
3355
|
-
var
|
|
3361
|
+
var Fo = function() {
|
|
3356
3362
|
var e = 0, t = null;
|
|
3357
3363
|
return {
|
|
3358
3364
|
add: function(n) {
|
|
3359
|
-
e == 0 && (t =
|
|
3365
|
+
e == 0 && (t = Mo()) && (No(t, n), Po(t)), e++;
|
|
3360
3366
|
},
|
|
3361
3367
|
remove: function() {
|
|
3362
3368
|
e--, !e && t && (t.parentNode && t.parentNode.removeChild(t), t = null);
|
|
3363
3369
|
}
|
|
3364
3370
|
};
|
|
3365
|
-
},
|
|
3366
|
-
var e =
|
|
3371
|
+
}, Io = function() {
|
|
3372
|
+
var e = Fo();
|
|
3367
3373
|
return function(t, n) {
|
|
3368
3374
|
F.useEffect(function() {
|
|
3369
3375
|
return e.add(t), function() {
|
|
@@ -3371,43 +3377,43 @@ var Po = function() {
|
|
|
3371
3377
|
};
|
|
3372
3378
|
}, [t && n]);
|
|
3373
3379
|
};
|
|
3374
|
-
},
|
|
3375
|
-
var e =
|
|
3380
|
+
}, Lo = function() {
|
|
3381
|
+
var e = Io();
|
|
3376
3382
|
return function(t) {
|
|
3377
3383
|
var n = t.styles, r = t.dynamic;
|
|
3378
3384
|
return e(n, r), null;
|
|
3379
3385
|
};
|
|
3380
|
-
},
|
|
3386
|
+
}, Ro = {
|
|
3381
3387
|
left: 0,
|
|
3382
3388
|
top: 0,
|
|
3383
3389
|
right: 0,
|
|
3384
3390
|
gap: 0
|
|
3385
|
-
}, Ro = function(e) {
|
|
3386
|
-
return parseInt(e || "", 10) || 0;
|
|
3387
3391
|
}, zo = function(e) {
|
|
3392
|
+
return parseInt(e || "", 10) || 0;
|
|
3393
|
+
}, Bo = function(e) {
|
|
3388
3394
|
var t = window.getComputedStyle(document.body), n = t[e === "padding" ? "paddingLeft" : "marginLeft"], r = t[e === "padding" ? "paddingTop" : "marginTop"], i = t[e === "padding" ? "paddingRight" : "marginRight"];
|
|
3389
3395
|
return [
|
|
3390
|
-
|
|
3391
|
-
|
|
3392
|
-
|
|
3396
|
+
zo(n),
|
|
3397
|
+
zo(r),
|
|
3398
|
+
zo(i)
|
|
3393
3399
|
];
|
|
3394
|
-
},
|
|
3395
|
-
if (e === void 0 && (e = "margin"), typeof window > "u") return
|
|
3396
|
-
var t =
|
|
3400
|
+
}, Vo = function(e) {
|
|
3401
|
+
if (e === void 0 && (e = "margin"), typeof window > "u") return Ro;
|
|
3402
|
+
var t = Bo(e), n = document.documentElement.clientWidth, r = window.innerWidth;
|
|
3397
3403
|
return {
|
|
3398
3404
|
left: t[0],
|
|
3399
3405
|
top: t[1],
|
|
3400
3406
|
right: t[2],
|
|
3401
3407
|
gap: Math.max(0, r - n + t[2] - t[0])
|
|
3402
3408
|
};
|
|
3403
|
-
},
|
|
3409
|
+
}, Ho = Lo(), Uo = "data-scroll-locked", Wo = function(e, t, n, r) {
|
|
3404
3410
|
var i = e.left, a = e.top, o = e.right, s = e.gap;
|
|
3405
3411
|
return n === void 0 && (n = "margin"), `
|
|
3406
|
-
.${
|
|
3412
|
+
.${ho} {
|
|
3407
3413
|
overflow: hidden ${r};
|
|
3408
3414
|
padding-right: ${s}px ${r};
|
|
3409
3415
|
}
|
|
3410
|
-
body[${
|
|
3416
|
+
body[${Uo}] {
|
|
3411
3417
|
overflow: hidden ${r};
|
|
3412
3418
|
overscroll-behavior: contain;
|
|
3413
3419
|
${[
|
|
@@ -3424,122 +3430,122 @@ var Po = function() {
|
|
|
3424
3430
|
].filter(Boolean).join("")}
|
|
3425
3431
|
}
|
|
3426
3432
|
|
|
3427
|
-
.${
|
|
3433
|
+
.${po} {
|
|
3428
3434
|
right: ${s}px ${r};
|
|
3429
3435
|
}
|
|
3430
3436
|
|
|
3431
|
-
.${
|
|
3437
|
+
.${mo} {
|
|
3432
3438
|
margin-right: ${s}px ${r};
|
|
3433
3439
|
}
|
|
3434
3440
|
|
|
3435
|
-
.${
|
|
3441
|
+
.${po} .${po} {
|
|
3436
3442
|
right: 0 ${r};
|
|
3437
3443
|
}
|
|
3438
3444
|
|
|
3439
|
-
.${
|
|
3445
|
+
.${mo} .${mo} {
|
|
3440
3446
|
margin-right: 0 ${r};
|
|
3441
3447
|
}
|
|
3442
3448
|
|
|
3443
|
-
body[${
|
|
3444
|
-
${
|
|
3449
|
+
body[${Uo}] {
|
|
3450
|
+
${go}: ${s}px;
|
|
3445
3451
|
}
|
|
3446
3452
|
`;
|
|
3447
|
-
},
|
|
3453
|
+
}, Go = function() {
|
|
3448
3454
|
var e = parseInt(document.body.getAttribute("data-scroll-locked") || "0", 10);
|
|
3449
3455
|
return isFinite(e) ? e : 0;
|
|
3450
|
-
},
|
|
3456
|
+
}, Ko = function() {
|
|
3451
3457
|
F.useEffect(function() {
|
|
3452
|
-
return document.body.setAttribute(
|
|
3453
|
-
var e =
|
|
3454
|
-
e <= 0 ? document.body.removeAttribute(
|
|
3458
|
+
return document.body.setAttribute(Uo, (Go() + 1).toString()), function() {
|
|
3459
|
+
var e = Go() - 1;
|
|
3460
|
+
e <= 0 ? document.body.removeAttribute(Uo) : document.body.setAttribute(Uo, e.toString());
|
|
3455
3461
|
};
|
|
3456
3462
|
}, []);
|
|
3457
|
-
},
|
|
3463
|
+
}, qo = function(e) {
|
|
3458
3464
|
var t = e.noRelative, n = e.noImportant, r = e.gapMode, i = r === void 0 ? "margin" : r;
|
|
3459
|
-
|
|
3465
|
+
Ko();
|
|
3460
3466
|
var a = F.useMemo(function() {
|
|
3461
|
-
return
|
|
3467
|
+
return Vo(i);
|
|
3462
3468
|
}, [i]);
|
|
3463
|
-
return F.createElement(
|
|
3464
|
-
},
|
|
3469
|
+
return F.createElement(Ho, { styles: Wo(a, !t, i, n ? "" : "!important") });
|
|
3470
|
+
}, Jo = !1;
|
|
3465
3471
|
if (typeof window < "u") try {
|
|
3466
|
-
var
|
|
3467
|
-
return
|
|
3472
|
+
var Yo = Object.defineProperty({}, "passive", { get: function() {
|
|
3473
|
+
return Jo = !0, !0;
|
|
3468
3474
|
} });
|
|
3469
|
-
window.addEventListener("test",
|
|
3475
|
+
window.addEventListener("test", Yo, Yo), window.removeEventListener("test", Yo, Yo);
|
|
3470
3476
|
} catch {
|
|
3471
|
-
|
|
3477
|
+
Jo = !1;
|
|
3472
3478
|
}
|
|
3473
|
-
var
|
|
3479
|
+
var Xo = Jo ? { passive: !1 } : !1, Zo = function(e) {
|
|
3474
3480
|
return e.tagName === "TEXTAREA";
|
|
3475
|
-
},
|
|
3481
|
+
}, Qo = function(e, t) {
|
|
3476
3482
|
if (!(e instanceof Element)) return !1;
|
|
3477
3483
|
var n = window.getComputedStyle(e);
|
|
3478
|
-
return n[t] !== "hidden" && !(n.overflowY === n.overflowX && !
|
|
3479
|
-
}, Qo = function(e) {
|
|
3480
|
-
return Zo(e, "overflowY");
|
|
3484
|
+
return n[t] !== "hidden" && !(n.overflowY === n.overflowX && !Zo(e) && n[t] === "visible");
|
|
3481
3485
|
}, $o = function(e) {
|
|
3482
|
-
return
|
|
3483
|
-
}, es = function(e
|
|
3486
|
+
return Qo(e, "overflowY");
|
|
3487
|
+
}, es = function(e) {
|
|
3488
|
+
return Qo(e, "overflowX");
|
|
3489
|
+
}, ts = function(e, t) {
|
|
3484
3490
|
var n = t.ownerDocument, r = t;
|
|
3485
3491
|
do {
|
|
3486
|
-
if (typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host),
|
|
3487
|
-
var i =
|
|
3492
|
+
if (typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host), is(e, r)) {
|
|
3493
|
+
var i = as(e, r);
|
|
3488
3494
|
if (i[1] > i[2]) return !0;
|
|
3489
3495
|
}
|
|
3490
3496
|
r = r.parentNode;
|
|
3491
3497
|
} while (r && r !== n.body);
|
|
3492
3498
|
return !1;
|
|
3493
|
-
},
|
|
3499
|
+
}, ns = function(e) {
|
|
3494
3500
|
return [
|
|
3495
3501
|
e.scrollTop,
|
|
3496
3502
|
e.scrollHeight,
|
|
3497
3503
|
e.clientHeight
|
|
3498
3504
|
];
|
|
3499
|
-
},
|
|
3505
|
+
}, rs = function(e) {
|
|
3500
3506
|
return [
|
|
3501
3507
|
e.scrollLeft,
|
|
3502
3508
|
e.scrollWidth,
|
|
3503
3509
|
e.clientWidth
|
|
3504
3510
|
];
|
|
3505
|
-
}, rs = function(e, t) {
|
|
3506
|
-
return e === "v" ? Qo(t) : $o(t);
|
|
3507
3511
|
}, is = function(e, t) {
|
|
3508
|
-
return e === "v" ?
|
|
3512
|
+
return e === "v" ? $o(t) : es(t);
|
|
3509
3513
|
}, as = function(e, t) {
|
|
3514
|
+
return e === "v" ? ns(t) : rs(t);
|
|
3515
|
+
}, os = function(e, t) {
|
|
3510
3516
|
return e === "h" && t === "rtl" ? -1 : 1;
|
|
3511
|
-
},
|
|
3512
|
-
var a =
|
|
3517
|
+
}, ss = function(e, t, n, r, i) {
|
|
3518
|
+
var a = os(e, window.getComputedStyle(t).direction), o = a * r, s = n.target, c = t.contains(s), l = !1, u = o > 0, d = 0, f = 0;
|
|
3513
3519
|
do {
|
|
3514
3520
|
if (!s) break;
|
|
3515
|
-
var p =
|
|
3516
|
-
(m || h) &&
|
|
3521
|
+
var p = as(e, s), m = p[0], h = p[1] - p[2] - a * m;
|
|
3522
|
+
(m || h) && is(e, s) && (d += h, f += m);
|
|
3517
3523
|
var g = s.parentNode;
|
|
3518
3524
|
s = g && g.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? g.host : g;
|
|
3519
3525
|
} while (!c && s !== document.body || c && (t.contains(s) || t === s));
|
|
3520
3526
|
return (u && (i && Math.abs(d) < 1 || !i && o > d) || !u && (i && Math.abs(f) < 1 || !i && -o > f)) && (l = !0), l;
|
|
3521
|
-
}, ss = function(e) {
|
|
3522
|
-
return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
|
|
3523
3527
|
}, cs = function(e) {
|
|
3524
|
-
return [e.
|
|
3528
|
+
return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
|
|
3525
3529
|
}, ls = function(e) {
|
|
3530
|
+
return [e.deltaX, e.deltaY];
|
|
3531
|
+
}, us = function(e) {
|
|
3526
3532
|
return e && "current" in e ? e.current : e;
|
|
3527
|
-
},
|
|
3533
|
+
}, ds = function(e, t) {
|
|
3528
3534
|
return e[0] === t[0] && e[1] === t[1];
|
|
3529
|
-
},
|
|
3535
|
+
}, fs = function(e) {
|
|
3530
3536
|
return `
|
|
3531
3537
|
.block-interactivity-${e} {pointer-events: none;}
|
|
3532
3538
|
.allow-interactivity-${e} {pointer-events: all;}
|
|
3533
3539
|
`;
|
|
3534
|
-
},
|
|
3535
|
-
function
|
|
3536
|
-
var t = F.useRef([]), n = F.useRef([0, 0]), r = F.useRef(), i = F.useState(
|
|
3540
|
+
}, ps = 0, ms = [];
|
|
3541
|
+
function hs(e) {
|
|
3542
|
+
var t = F.useRef([]), n = F.useRef([0, 0]), r = F.useRef(), i = F.useState(ps++)[0], a = F.useState(Lo)[0], o = F.useRef(e);
|
|
3537
3543
|
F.useEffect(function() {
|
|
3538
3544
|
o.current = e;
|
|
3539
3545
|
}, [e]), F.useEffect(function() {
|
|
3540
3546
|
if (e.inert) {
|
|
3541
3547
|
document.body.classList.add(`block-interactivity-${i}`);
|
|
3542
|
-
var t =
|
|
3548
|
+
var t = fo([e.lockRef.current], (e.shards || []).map(us), !0).filter(Boolean);
|
|
3543
3549
|
return t.forEach(function(e) {
|
|
3544
3550
|
return e.classList.add(`allow-interactivity-${i}`);
|
|
3545
3551
|
}), function() {
|
|
@@ -3555,28 +3561,28 @@ function ms(e) {
|
|
|
3555
3561
|
]);
|
|
3556
3562
|
var s = F.useCallback(function(e, t) {
|
|
3557
3563
|
if ("touches" in e && e.touches.length === 2 || e.type === "wheel" && e.ctrlKey) return !o.current.allowPinchZoom;
|
|
3558
|
-
var i =
|
|
3564
|
+
var i = cs(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";
|
|
3559
3565
|
if ("touches" in e && d === "h" && u.type === "range") return !1;
|
|
3560
3566
|
var f = window.getSelection(), p = f && f.anchorNode;
|
|
3561
3567
|
if (p && (p === u || p.contains(u))) return !1;
|
|
3562
|
-
var m =
|
|
3568
|
+
var m = ts(d, u);
|
|
3563
3569
|
if (!m) return !0;
|
|
3564
|
-
if (m ? l = d : (l = d === "v" ? "h" : "v", m =
|
|
3570
|
+
if (m ? l = d : (l = d === "v" ? "h" : "v", m = ts(d, u)), !m) return !1;
|
|
3565
3571
|
if (!r.current && "changedTouches" in e && (s || c) && (r.current = l), !l) return !0;
|
|
3566
3572
|
var h = r.current || l;
|
|
3567
|
-
return
|
|
3573
|
+
return ss(h, t, e, h === "h" ? s : c, !0);
|
|
3568
3574
|
}, []), c = F.useCallback(function(e) {
|
|
3569
3575
|
var n = e;
|
|
3570
|
-
if (!(!
|
|
3571
|
-
var r = "deltaY" in n ?
|
|
3572
|
-
return e.name === n.type && (e.target === n.target || n.target === e.shadowParent) &&
|
|
3576
|
+
if (!(!ms.length || ms[ms.length - 1] !== a)) {
|
|
3577
|
+
var r = "deltaY" in n ? ls(n) : cs(n), i = t.current.filter(function(e) {
|
|
3578
|
+
return e.name === n.type && (e.target === n.target || n.target === e.shadowParent) && ds(e.delta, r);
|
|
3573
3579
|
})[0];
|
|
3574
3580
|
if (i && i.should) {
|
|
3575
3581
|
n.cancelable && n.preventDefault();
|
|
3576
3582
|
return;
|
|
3577
3583
|
}
|
|
3578
3584
|
if (!i) {
|
|
3579
|
-
var c = (o.current.shards || []).map(
|
|
3585
|
+
var c = (o.current.shards || []).map(us).filter(Boolean).filter(function(e) {
|
|
3580
3586
|
return e.contains(n.target);
|
|
3581
3587
|
});
|
|
3582
3588
|
(c.length > 0 ? s(n, c[0]) : !o.current.noIsolation) && n.cancelable && n.preventDefault();
|
|
@@ -3588,7 +3594,7 @@ function ms(e) {
|
|
|
3588
3594
|
delta: n,
|
|
3589
3595
|
target: r,
|
|
3590
3596
|
should: i,
|
|
3591
|
-
shadowParent:
|
|
3597
|
+
shadowParent: gs(r)
|
|
3592
3598
|
};
|
|
3593
3599
|
t.current.push(a), setTimeout(function() {
|
|
3594
3600
|
t.current = t.current.filter(function(e) {
|
|
@@ -3596,56 +3602,56 @@ function ms(e) {
|
|
|
3596
3602
|
});
|
|
3597
3603
|
}, 1);
|
|
3598
3604
|
}, []), u = F.useCallback(function(e) {
|
|
3599
|
-
n.current =
|
|
3605
|
+
n.current = cs(e), r.current = void 0;
|
|
3600
3606
|
}, []), d = F.useCallback(function(t) {
|
|
3601
|
-
l(t.type,
|
|
3607
|
+
l(t.type, ls(t), t.target, s(t, e.lockRef.current));
|
|
3602
3608
|
}, []), f = F.useCallback(function(t) {
|
|
3603
|
-
l(t.type,
|
|
3609
|
+
l(t.type, cs(t), t.target, s(t, e.lockRef.current));
|
|
3604
3610
|
}, []);
|
|
3605
3611
|
F.useEffect(function() {
|
|
3606
|
-
return
|
|
3612
|
+
return ms.push(a), e.setCallbacks({
|
|
3607
3613
|
onScrollCapture: d,
|
|
3608
3614
|
onWheelCapture: d,
|
|
3609
3615
|
onTouchMoveCapture: f
|
|
3610
|
-
}), document.addEventListener("wheel", c,
|
|
3611
|
-
|
|
3616
|
+
}), document.addEventListener("wheel", c, Xo), document.addEventListener("touchmove", c, Xo), document.addEventListener("touchstart", u, Xo), function() {
|
|
3617
|
+
ms = ms.filter(function(e) {
|
|
3612
3618
|
return e !== a;
|
|
3613
|
-
}), document.removeEventListener("wheel", c,
|
|
3619
|
+
}), document.removeEventListener("wheel", c, Xo), document.removeEventListener("touchmove", c, Xo), document.removeEventListener("touchstart", u, Xo);
|
|
3614
3620
|
};
|
|
3615
3621
|
}, []);
|
|
3616
3622
|
var p = e.removeScrollBar, m = e.inert;
|
|
3617
|
-
return F.createElement(F.Fragment, null, m ? F.createElement(a, { styles:
|
|
3623
|
+
return F.createElement(F.Fragment, null, m ? F.createElement(a, { styles: fs(i) }) : null, p ? F.createElement(qo, {
|
|
3618
3624
|
noRelative: e.noRelative,
|
|
3619
3625
|
gapMode: e.gapMode
|
|
3620
3626
|
}) : null);
|
|
3621
3627
|
}
|
|
3622
|
-
function
|
|
3628
|
+
function gs(e) {
|
|
3623
3629
|
for (var t = null; e !== null;) e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
|
|
3624
3630
|
return t;
|
|
3625
3631
|
}
|
|
3626
3632
|
//#endregion
|
|
3627
3633
|
//#region ../node_modules/react-remove-scroll/dist/es2015/sidecar.js
|
|
3628
|
-
var
|
|
3629
|
-
return F.createElement(
|
|
3634
|
+
var _s = Eo(Do, hs), vs = F.forwardRef(function(e, t) {
|
|
3635
|
+
return F.createElement(ko, $({}, e, {
|
|
3630
3636
|
ref: t,
|
|
3631
|
-
sideCar:
|
|
3637
|
+
sideCar: _s
|
|
3632
3638
|
}));
|
|
3633
3639
|
});
|
|
3634
|
-
|
|
3640
|
+
vs.classNames = ko.classNames;
|
|
3635
3641
|
//#endregion
|
|
3636
3642
|
//#region ../node_modules/@radix-ui/react-popover/dist/index.mjs
|
|
3637
|
-
var
|
|
3638
|
-
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, s =
|
|
3643
|
+
var ys = "Popover", [bs, xs] = yn(ys, [ba]), Ss = ba(), [Cs, ws] = bs(ys), Ts = (e) => {
|
|
3644
|
+
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, s = Ss(t), c = F.useRef(null), [l, u] = F.useState(!1), [d, f] = Ja({
|
|
3639
3645
|
prop: r,
|
|
3640
3646
|
defaultProp: i ?? !1,
|
|
3641
3647
|
onChange: a,
|
|
3642
|
-
caller:
|
|
3648
|
+
caller: ys
|
|
3643
3649
|
});
|
|
3644
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
3650
|
+
return /* @__PURE__ */ (0, I.jsx)(Ia, {
|
|
3645
3651
|
...s,
|
|
3646
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3652
|
+
children: /* @__PURE__ */ (0, I.jsx)(Cs, {
|
|
3647
3653
|
scope: t,
|
|
3648
|
-
contentId:
|
|
3654
|
+
contentId: dr(),
|
|
3649
3655
|
triggerRef: c,
|
|
3650
3656
|
open: d,
|
|
3651
3657
|
onOpenChange: f,
|
|
@@ -3658,42 +3664,42 @@ var vs = "Popover", [ys, bs] = vn(vs, [ya]), xs = ya(), [Ss, Cs] = ys(vs), ws =
|
|
|
3658
3664
|
})
|
|
3659
3665
|
});
|
|
3660
3666
|
};
|
|
3661
|
-
|
|
3662
|
-
var
|
|
3663
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3664
|
-
return F.useEffect(() => (o(), () => s()), [o, s]), /* @__PURE__ */ (0, I.jsx)(
|
|
3667
|
+
Ts.displayName = ys;
|
|
3668
|
+
var Es = "PopoverAnchor", Ds = F.forwardRef((e, t) => {
|
|
3669
|
+
let { __scopePopover: n, ...r } = e, i = ws(Es, n), a = Ss(n), { onCustomAnchorAdd: o, onCustomAnchorRemove: s } = i;
|
|
3670
|
+
return F.useEffect(() => (o(), () => s()), [o, s]), /* @__PURE__ */ (0, I.jsx)(La, {
|
|
3665
3671
|
...a,
|
|
3666
3672
|
...r,
|
|
3667
3673
|
ref: t
|
|
3668
3674
|
});
|
|
3669
3675
|
});
|
|
3670
|
-
|
|
3671
|
-
var
|
|
3672
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3676
|
+
Ds.displayName = Es;
|
|
3677
|
+
var Os = "PopoverTrigger", ks = F.forwardRef((e, t) => {
|
|
3678
|
+
let { __scopePopover: n, ...r } = e, i = ws(Os, n), a = Ss(n), o = V(t, i.triggerRef), s = /* @__PURE__ */ (0, I.jsx)(H.button, {
|
|
3673
3679
|
type: "button",
|
|
3674
3680
|
"aria-haspopup": "dialog",
|
|
3675
3681
|
"aria-expanded": i.open,
|
|
3676
3682
|
"aria-controls": i.contentId,
|
|
3677
|
-
"data-state":
|
|
3683
|
+
"data-state": Ws(i.open),
|
|
3678
3684
|
...r,
|
|
3679
3685
|
ref: o,
|
|
3680
3686
|
onClick: B(e.onClick, i.onOpenToggle)
|
|
3681
3687
|
});
|
|
3682
|
-
return i.hasCustomAnchor ? s : /* @__PURE__ */ (0, I.jsx)(
|
|
3688
|
+
return i.hasCustomAnchor ? s : /* @__PURE__ */ (0, I.jsx)(La, {
|
|
3683
3689
|
asChild: !0,
|
|
3684
3690
|
...a,
|
|
3685
3691
|
children: s
|
|
3686
3692
|
});
|
|
3687
3693
|
});
|
|
3688
|
-
|
|
3689
|
-
var
|
|
3690
|
-
let { __scopePopover: t, forceMount: n, children: r, container: i } = e, a =
|
|
3691
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
3694
|
+
ks.displayName = Os;
|
|
3695
|
+
var As = "PopoverPortal", [js, Ms] = bs(As, { forceMount: void 0 }), Ns = (e) => {
|
|
3696
|
+
let { __scopePopover: t, forceMount: n, children: r, container: i } = e, a = ws(As, t);
|
|
3697
|
+
return /* @__PURE__ */ (0, I.jsx)(js, {
|
|
3692
3698
|
scope: t,
|
|
3693
3699
|
forceMount: n,
|
|
3694
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3700
|
+
children: /* @__PURE__ */ (0, I.jsx)(Ua, {
|
|
3695
3701
|
present: n || a.open,
|
|
3696
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3702
|
+
children: /* @__PURE__ */ (0, I.jsx)(Va, {
|
|
3697
3703
|
asChild: !0,
|
|
3698
3704
|
container: i,
|
|
3699
3705
|
children: r
|
|
@@ -3701,30 +3707,30 @@ var ks = "PopoverPortal", [As, js] = ys(ks, { forceMount: void 0 }), Ms = (e) =>
|
|
|
3701
3707
|
})
|
|
3702
3708
|
});
|
|
3703
3709
|
};
|
|
3704
|
-
|
|
3705
|
-
var
|
|
3706
|
-
let n =
|
|
3707
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
3710
|
+
Ns.displayName = As;
|
|
3711
|
+
var Ps = "PopoverContent", Fs = F.forwardRef((e, t) => {
|
|
3712
|
+
let n = Ms(Ps, e.__scopePopover), { forceMount: r = n.forceMount, ...i } = e, a = ws(Ps, e.__scopePopover);
|
|
3713
|
+
return /* @__PURE__ */ (0, I.jsx)(Ua, {
|
|
3708
3714
|
present: r || a.open,
|
|
3709
|
-
children: a.modal ? /* @__PURE__ */ (0, I.jsx)(
|
|
3715
|
+
children: a.modal ? /* @__PURE__ */ (0, I.jsx)(Ls, {
|
|
3710
3716
|
...i,
|
|
3711
3717
|
ref: t
|
|
3712
|
-
}) : /* @__PURE__ */ (0, I.jsx)(
|
|
3718
|
+
}) : /* @__PURE__ */ (0, I.jsx)(Rs, {
|
|
3713
3719
|
...i,
|
|
3714
3720
|
ref: t
|
|
3715
3721
|
})
|
|
3716
3722
|
});
|
|
3717
3723
|
});
|
|
3718
|
-
|
|
3719
|
-
var
|
|
3720
|
-
let n =
|
|
3724
|
+
Fs.displayName = Ps;
|
|
3725
|
+
var Is = /* @__PURE__ */ xn("PopoverContent.RemoveScroll"), Ls = F.forwardRef((e, t) => {
|
|
3726
|
+
let n = ws(Ps, e.__scopePopover), r = F.useRef(null), i = V(t, r), a = F.useRef(!1);
|
|
3721
3727
|
return F.useEffect(() => {
|
|
3722
3728
|
let e = r.current;
|
|
3723
|
-
if (e) return
|
|
3724
|
-
}, []), /* @__PURE__ */ (0, I.jsx)(
|
|
3725
|
-
as:
|
|
3729
|
+
if (e) return ao(e);
|
|
3730
|
+
}, []), /* @__PURE__ */ (0, I.jsx)(vs, {
|
|
3731
|
+
as: Is,
|
|
3726
3732
|
allowPinchZoom: !0,
|
|
3727
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3733
|
+
children: /* @__PURE__ */ (0, I.jsx)(zs, {
|
|
3728
3734
|
...e,
|
|
3729
3735
|
ref: i,
|
|
3730
3736
|
trapFocus: n.open,
|
|
@@ -3739,9 +3745,9 @@ var Fs = /* @__PURE__ */ bn("PopoverContent.RemoveScroll"), Is = F.forwardRef((e
|
|
|
3739
3745
|
onFocusOutside: B(e.onFocusOutside, (e) => e.preventDefault(), { checkForDefaultPrevented: !1 })
|
|
3740
3746
|
})
|
|
3741
3747
|
});
|
|
3742
|
-
}),
|
|
3743
|
-
let n =
|
|
3744
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
3748
|
+
}), Rs = F.forwardRef((e, t) => {
|
|
3749
|
+
let n = ws(Ps, e.__scopePopover), r = F.useRef(!1), i = F.useRef(!1);
|
|
3750
|
+
return /* @__PURE__ */ (0, I.jsx)(zs, {
|
|
3745
3751
|
...e,
|
|
3746
3752
|
ref: t,
|
|
3747
3753
|
trapFocus: !1,
|
|
@@ -3755,15 +3761,15 @@ var Fs = /* @__PURE__ */ bn("PopoverContent.RemoveScroll"), Is = F.forwardRef((e
|
|
|
3755
3761
|
n.triggerRef.current?.contains(a) && t.preventDefault(), t.detail.originalEvent.type === "focusin" && i.current && t.preventDefault();
|
|
3756
3762
|
}
|
|
3757
3763
|
});
|
|
3758
|
-
}),
|
|
3759
|
-
let { __scopePopover: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, disableOutsidePointerEvents: o, onEscapeKeyDown: s, onPointerDownOutside: c, onFocusOutside: l, onInteractOutside: u, ...d } = e, f =
|
|
3760
|
-
return
|
|
3764
|
+
}), zs = F.forwardRef((e, t) => {
|
|
3765
|
+
let { __scopePopover: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, disableOutsidePointerEvents: o, onEscapeKeyDown: s, onPointerDownOutside: c, onFocusOutside: l, onInteractOutside: u, ...d } = e, f = ws(Ps, n), p = Ss(n);
|
|
3766
|
+
return Wn(), /* @__PURE__ */ (0, I.jsx)(Xn, {
|
|
3761
3767
|
asChild: !0,
|
|
3762
3768
|
loop: !0,
|
|
3763
3769
|
trapped: r,
|
|
3764
3770
|
onMountAutoFocus: i,
|
|
3765
3771
|
onUnmountAutoFocus: a,
|
|
3766
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3772
|
+
children: /* @__PURE__ */ (0, I.jsx)(In, {
|
|
3767
3773
|
asChild: !0,
|
|
3768
3774
|
disableOutsidePointerEvents: o,
|
|
3769
3775
|
onInteractOutside: u,
|
|
@@ -3771,8 +3777,8 @@ var Fs = /* @__PURE__ */ bn("PopoverContent.RemoveScroll"), Is = F.forwardRef((e
|
|
|
3771
3777
|
onPointerDownOutside: c,
|
|
3772
3778
|
onFocusOutside: l,
|
|
3773
3779
|
onDismiss: () => f.onOpenChange(!1),
|
|
3774
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3775
|
-
"data-state":
|
|
3780
|
+
children: /* @__PURE__ */ (0, I.jsx)(Ra, {
|
|
3781
|
+
"data-state": Ws(f.open),
|
|
3776
3782
|
role: "dialog",
|
|
3777
3783
|
id: f.contentId,
|
|
3778
3784
|
...p,
|
|
@@ -3789,8 +3795,8 @@ var Fs = /* @__PURE__ */ bn("PopoverContent.RemoveScroll"), Is = F.forwardRef((e
|
|
|
3789
3795
|
})
|
|
3790
3796
|
})
|
|
3791
3797
|
});
|
|
3792
|
-
}),
|
|
3793
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3798
|
+
}), Bs = "PopoverClose", Vs = F.forwardRef((e, t) => {
|
|
3799
|
+
let { __scopePopover: n, ...r } = e, i = ws(Bs, n);
|
|
3794
3800
|
return /* @__PURE__ */ (0, I.jsx)(H.button, {
|
|
3795
3801
|
type: "button",
|
|
3796
3802
|
...r,
|
|
@@ -3798,36 +3804,36 @@ var Fs = /* @__PURE__ */ bn("PopoverContent.RemoveScroll"), Is = F.forwardRef((e
|
|
|
3798
3804
|
onClick: B(e.onClick, () => i.onOpenChange(!1))
|
|
3799
3805
|
});
|
|
3800
3806
|
});
|
|
3801
|
-
|
|
3802
|
-
var
|
|
3803
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3804
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
3807
|
+
Vs.displayName = Bs;
|
|
3808
|
+
var Hs = "PopoverArrow", Us = F.forwardRef((e, t) => {
|
|
3809
|
+
let { __scopePopover: n, ...r } = e, i = Ss(n);
|
|
3810
|
+
return /* @__PURE__ */ (0, I.jsx)(za, {
|
|
3805
3811
|
...i,
|
|
3806
3812
|
...r,
|
|
3807
3813
|
ref: t
|
|
3808
3814
|
});
|
|
3809
3815
|
});
|
|
3810
|
-
|
|
3811
|
-
function
|
|
3816
|
+
Us.displayName = Hs;
|
|
3817
|
+
function Ws(e) {
|
|
3812
3818
|
return e ? "open" : "closed";
|
|
3813
3819
|
}
|
|
3814
|
-
var
|
|
3820
|
+
var Gs = Ts, Ks = ks, qs = Fs, Js = Us, Ys = ({ message: e, trigger: t, initialVisibility: n = !1 }) => /* @__PURE__ */ (0, I.jsxs)(Gs, {
|
|
3815
3821
|
defaultOpen: n,
|
|
3816
3822
|
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
3817
3823
|
className: "flex justify-center",
|
|
3818
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3824
|
+
children: /* @__PURE__ */ (0, I.jsx)(Ks, {
|
|
3819
3825
|
asChild: !0,
|
|
3820
3826
|
children: t
|
|
3821
3827
|
})
|
|
3822
|
-
}), /* @__PURE__ */ (0, I.jsxs)(
|
|
3828
|
+
}), /* @__PURE__ */ (0, I.jsxs)(qs, {
|
|
3823
3829
|
className: "sid-popover__container",
|
|
3824
3830
|
sideOffset: 10,
|
|
3825
3831
|
side: "bottom",
|
|
3826
|
-
children: [e, /* @__PURE__ */ (0, I.jsx)(
|
|
3832
|
+
children: [e, /* @__PURE__ */ (0, I.jsx)(Js, { className: "sid-popover__caret" })]
|
|
3827
3833
|
})]
|
|
3828
|
-
}),
|
|
3829
|
-
let n =
|
|
3830
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
3834
|
+
}), Xs = ({ verificationService: e, initialVisibility: t = !1 }) => {
|
|
3835
|
+
let n = ge();
|
|
3836
|
+
return /* @__PURE__ */ (0, I.jsx)(Ys, {
|
|
3831
3837
|
initialVisibility: t,
|
|
3832
3838
|
trigger: /* @__PURE__ */ (0, I.jsx)("button", {
|
|
3833
3839
|
type: "button",
|
|
@@ -3840,17 +3846,17 @@ var Ws = ws, Gs = Os, Ks = Ps, qs = Hs, Js = ({ message: e, trigger: t, initialV
|
|
|
3840
3846
|
context: n
|
|
3841
3847
|
}),
|
|
3842
3848
|
"\xA0",
|
|
3843
|
-
/* @__PURE__ */ (0, I.jsx)(
|
|
3849
|
+
/* @__PURE__ */ (0, I.jsx)(At, { verificationService: e })
|
|
3844
3850
|
] })
|
|
3845
3851
|
});
|
|
3846
|
-
},
|
|
3847
|
-
let t =
|
|
3852
|
+
}, Zs = ({ verificationService: e }) => {
|
|
3853
|
+
let t = d(() => e.programTheme.remainingRewardCodes, null);
|
|
3848
3854
|
return typeof t == "number" && t > 0 ? /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
3849
3855
|
className: "sid-rewards-remaining",
|
|
3850
3856
|
role: "note",
|
|
3851
3857
|
children: [
|
|
3852
3858
|
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-md" }),
|
|
3853
|
-
/* @__PURE__ */ (0, I.jsx)(
|
|
3859
|
+
/* @__PURE__ */ (0, I.jsx)(O, {
|
|
3854
3860
|
id: "lowRewardPool",
|
|
3855
3861
|
defaultMessage: e.messages.lowRewardPool,
|
|
3856
3862
|
values: { offersRemaining: t }
|
|
@@ -3858,11 +3864,11 @@ var Ws = ws, Gs = Os, Ks = Ps, qs = Hs, Js = ({ message: e, trigger: t, initialV
|
|
|
3858
3864
|
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-sm" })
|
|
3859
3865
|
]
|
|
3860
3866
|
}) : null;
|
|
3861
|
-
},
|
|
3862
|
-
let { verificationResponse: n } = e, r =
|
|
3867
|
+
}, Qs = (e) => e !== void 0, $s = ({ verificationService: e, classNameIdentifier: t = void 0 }) => {
|
|
3868
|
+
let { verificationResponse: n } = e, r = Qs(n) ? Be(n) : !1, i = r ? "step.personalInfo.tryAgain.title" : "step.personalInfo.title", a = r ? "step.personalInfo.tryAgain.subtitle" : "step.personalInfo.subtitle";
|
|
3863
3869
|
return /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3864
3870
|
className: "sid-personal-info-header",
|
|
3865
|
-
children: /* @__PURE__ */ (0, I.jsxs)(
|
|
3871
|
+
children: /* @__PURE__ */ (0, I.jsxs)(gn, {
|
|
3866
3872
|
verificationService: e,
|
|
3867
3873
|
title: /* @__PURE__ */ (0, I.jsx)(M, {
|
|
3868
3874
|
id: i,
|
|
@@ -3872,28 +3878,28 @@ var Ws = ws, Gs = Os, Ks = Ps, qs = Hs, Js = ({ message: e, trigger: t, initialV
|
|
|
3872
3878
|
children: [
|
|
3873
3879
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
3874
3880
|
className: `sid-header__subtitle sid-l-horz-center ${r ? "sid-header__subtitle--error" : ""}`,
|
|
3875
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3881
|
+
children: /* @__PURE__ */ (0, I.jsx)(O, { id: a })
|
|
3876
3882
|
}),
|
|
3877
3883
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
3878
3884
|
className: "sid-header__how-verifying-works sid-l-horz-center",
|
|
3879
|
-
children: !r && /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(
|
|
3885
|
+
children: !r && /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Xs, { verificationService: e }), /* @__PURE__ */ (0, I.jsx)(Zs, { verificationService: e })] })
|
|
3880
3886
|
}),
|
|
3881
3887
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
3882
3888
|
className: "sid-h-medium-text sid-l-space-btm-sm sid-l-space-top-sm",
|
|
3883
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3889
|
+
children: /* @__PURE__ */ (0, I.jsx)(O, { id: "requiredFields" })
|
|
3884
3890
|
})
|
|
3885
3891
|
]
|
|
3886
3892
|
})
|
|
3887
3893
|
});
|
|
3888
|
-
},
|
|
3889
|
-
let { isEmbedded: i } =
|
|
3894
|
+
}, ec = () => ({ isEmbedded: !!s("verificationIframeUid") }), tc = ({ layout: e, children: t, verificationService: n, renderAsLandingPage: r }) => {
|
|
3895
|
+
let { isEmbedded: i } = ec();
|
|
3890
3896
|
return !r || i ? /* @__PURE__ */ (0, I.jsx)(I.Fragment, { children: t }) : /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3891
3897
|
className: `sid-layout sid-layout--${e}`,
|
|
3892
3898
|
children: /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
3893
3899
|
className: "sid-layout__container",
|
|
3894
3900
|
children: [e === "fullRight" && /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3895
3901
|
className: "sid-layout__content",
|
|
3896
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3902
|
+
children: /* @__PURE__ */ (0, I.jsx)($s, {
|
|
3897
3903
|
verificationService: n,
|
|
3898
3904
|
classNameIdentifier: "landing"
|
|
3899
3905
|
})
|
|
@@ -3906,28 +3912,28 @@ var Ws = ws, Gs = Os, Ks = Ps, qs = Hs, Js = ({ message: e, trigger: t, initialV
|
|
|
3906
3912
|
})]
|
|
3907
3913
|
})
|
|
3908
3914
|
});
|
|
3909
|
-
},
|
|
3915
|
+
}, nc = ({ children: e }) => /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3910
3916
|
className: "sid sid-form-wrapper",
|
|
3911
3917
|
children: e
|
|
3912
|
-
}),
|
|
3913
|
-
let s =
|
|
3918
|
+
}), rc = ({ locale: t, messages: n, programTheme: i, verificationService: a, programId: o }) => {
|
|
3919
|
+
let s = tt(), u = y(), d = pe() ?? i, f = _e(ce, fe), p = (0, F.useMemo)(() => f ? {
|
|
3914
3920
|
...a.verificationResponse,
|
|
3915
3921
|
...f
|
|
3916
3922
|
} : a.verificationResponse, [f, a.verificationResponse]), m = (0, F.useMemo)(() => ({
|
|
3917
3923
|
...a,
|
|
3918
3924
|
programTheme: d,
|
|
3919
3925
|
verificationResponse: p,
|
|
3920
|
-
formValidationOptions:
|
|
3926
|
+
formValidationOptions: Tt(d, p, a.viewModel)
|
|
3921
3927
|
}), [
|
|
3922
3928
|
a,
|
|
3923
3929
|
d,
|
|
3924
3930
|
p
|
|
3925
|
-
]),
|
|
3931
|
+
]), h = d.themeChoices?.landingPage?.layout || "center", { renderAs: _ } = u, v = rt();
|
|
3926
3932
|
F.useEffect(() => {
|
|
3927
3933
|
try {
|
|
3928
|
-
if (
|
|
3929
|
-
let e = (0,
|
|
3930
|
-
|
|
3934
|
+
if (v && m && m.viewModel) {
|
|
3935
|
+
let e = (0, bt.default)(v);
|
|
3936
|
+
E(g.flags, e);
|
|
3931
3937
|
let t = l(m.viewModel.metadata || {}, (t) => {
|
|
3932
3938
|
t.flags = e;
|
|
3933
3939
|
}), n = l(m.viewModel, (e) => {
|
|
@@ -3946,7 +3952,7 @@ var Ws = ws, Gs = Os, Ks = Ps, qs = Hs, Js = ({ message: e, trigger: t, initialV
|
|
|
3946
3952
|
key: m.verificationResponse.verificationId,
|
|
3947
3953
|
locale: m.verificationResponse.locale,
|
|
3948
3954
|
segment: m.verificationResponse.segment,
|
|
3949
|
-
installType:
|
|
3955
|
+
installType: Oe()
|
|
3950
3956
|
},
|
|
3951
3957
|
program: { key: o }
|
|
3952
3958
|
};
|
|
@@ -3954,32 +3960,32 @@ var Ws = ws, Gs = Os, Ks = Ps, qs = Hs, Js = ({ message: e, trigger: t, initialV
|
|
|
3954
3960
|
}
|
|
3955
3961
|
}, [m.verificationResponse.verificationId, s]), F.useEffect(() => {
|
|
3956
3962
|
try {
|
|
3957
|
-
|
|
3963
|
+
y()._launchDarklyFlagCb(v);
|
|
3958
3964
|
} catch {}
|
|
3959
|
-
}, [
|
|
3960
|
-
let b =
|
|
3961
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
3965
|
+
}, [v]);
|
|
3966
|
+
let b = _e(ce, me);
|
|
3967
|
+
return /* @__PURE__ */ (0, I.jsx)(D, {
|
|
3962
3968
|
locale: "en",
|
|
3963
3969
|
messages: {
|
|
3964
3970
|
...n,
|
|
3965
|
-
...(0,
|
|
3966
|
-
...(0,
|
|
3971
|
+
...(0, mt.default)(e(t)),
|
|
3972
|
+
...(0, mt.default)(b?.[t] ?? {})
|
|
3967
3973
|
},
|
|
3968
|
-
textComponent:
|
|
3969
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3974
|
+
textComponent: mn,
|
|
3975
|
+
children: /* @__PURE__ */ (0, I.jsx)(wt, {
|
|
3970
3976
|
themeChoices: d.themeChoices,
|
|
3971
|
-
customCssFromOptions:
|
|
3977
|
+
customCssFromOptions: y().customCss,
|
|
3972
3978
|
children: /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3973
|
-
className: `${
|
|
3974
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3975
|
-
layout:
|
|
3979
|
+
className: `${xt.default.isRtlLang(r(t)) ? "sid-rtl" : "sid-ltr"} sid-locale-${t}`,
|
|
3980
|
+
children: /* @__PURE__ */ (0, I.jsx)(nc, { children: /* @__PURE__ */ (0, I.jsx)(tc, {
|
|
3981
|
+
layout: h,
|
|
3976
3982
|
verificationService: m,
|
|
3977
3983
|
renderAsLandingPage: _ === "landingPage",
|
|
3978
3984
|
children: /* @__PURE__ */ (0, I.jsx)(F.Suspense, {
|
|
3979
|
-
fallback: /* @__PURE__ */ (0, I.jsx)(
|
|
3980
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3985
|
+
fallback: /* @__PURE__ */ (0, I.jsx)(_t, { step: m.loadingStep }),
|
|
3986
|
+
children: /* @__PURE__ */ (0, I.jsx)(ft, {
|
|
3981
3987
|
i18n: c,
|
|
3982
|
-
children: m.isLoading ? /* @__PURE__ */ (0, I.jsx)(
|
|
3988
|
+
children: m.isLoading ? /* @__PURE__ */ (0, I.jsx)(_t, { step: m.loadingStep }) : /* @__PURE__ */ (0, I.jsxs)("div", { children: [!y().hideTestModeFlag && /* @__PURE__ */ (0, I.jsx)(hn, { verificationService: m }), /* @__PURE__ */ (0, I.jsx)(pn, {
|
|
3983
3989
|
stepToLoad: m.overrideStep || m.verificationResponse.currentStep,
|
|
3984
3990
|
verificationService: m
|
|
3985
3991
|
})] })
|
|
@@ -3989,35 +3995,35 @@ var Ws = ws, Gs = Os, Ks = Ps, qs = Hs, Js = ({ message: e, trigger: t, initialV
|
|
|
3989
3995
|
})
|
|
3990
3996
|
})
|
|
3991
3997
|
}, t);
|
|
3992
|
-
},
|
|
3998
|
+
}, ic = () => {
|
|
3993
3999
|
let e = null;
|
|
3994
4000
|
document.addEventListener("keydown", (t) => {
|
|
3995
4001
|
if (t.key !== "Tab") return;
|
|
3996
4002
|
let n = document.querySelectorAll("button, .sid-link, input, select, textarea, [tabindex]:not([tabindex=\"-1\"]");
|
|
3997
|
-
e = n[n.length - 1], e && !t.shiftKey && document.activeElement === e && (
|
|
4003
|
+
e = n[n.length - 1], e && !t.shiftKey && document.activeElement === e && (je({
|
|
3998
4004
|
type: "focus",
|
|
3999
4005
|
focusOn: "firstElement"
|
|
4000
4006
|
}), t.preventDefault());
|
|
4001
4007
|
}), window.addEventListener("message", (t) => {
|
|
4002
4008
|
t.data.focusOn === "lastElement" && e && e.focus();
|
|
4003
|
-
}),
|
|
4009
|
+
}), je({
|
|
4004
4010
|
type: "focus",
|
|
4005
4011
|
focusOn: "firstElement"
|
|
4006
4012
|
});
|
|
4007
|
-
},
|
|
4013
|
+
}, ac = () => {
|
|
4008
4014
|
window.addEventListener("message", (e) => {
|
|
4009
|
-
e.data.isInLightBox === "true" &&
|
|
4015
|
+
e.data.isInLightBox === "true" && ic();
|
|
4010
4016
|
});
|
|
4011
|
-
},
|
|
4017
|
+
}, oc = class extends F.Component {
|
|
4012
4018
|
verificationService;
|
|
4013
4019
|
constructor(e) {
|
|
4014
4020
|
super(e), N.info("NewVerificationComponent: constructing"), this.props.trackingId && this.props.trackingId.length ? N.info(`Attaching a trackingId to this verification request ${this.props.trackingId}`) : N.info("No trackingId to associate with the verification request");
|
|
4015
4021
|
}
|
|
4016
4022
|
componentDidMount() {
|
|
4017
|
-
if (
|
|
4023
|
+
if (S(), ac(), ve((e) => {
|
|
4018
4024
|
switch (e.data.action) {
|
|
4019
4025
|
case "setViewModel":
|
|
4020
|
-
|
|
4026
|
+
qe(e.data.viewModel, {
|
|
4021
4027
|
partial: !0,
|
|
4022
4028
|
metadataCheck: !0,
|
|
4023
4029
|
externalUserIdCheck: !0
|
|
@@ -4028,92 +4034,92 @@ var Ws = ws, Gs = Os, Ks = Ps, qs = Hs, Js = ({ message: e, trigger: t, initialV
|
|
|
4028
4034
|
break;
|
|
4029
4035
|
default:
|
|
4030
4036
|
}
|
|
4031
|
-
}),
|
|
4037
|
+
}), Te()) N.info("Mocking loading screen. Not fetching new verification request.");
|
|
4032
4038
|
else {
|
|
4033
4039
|
N.info("NewVerificationComponent: fetchNewVerificationRequest");
|
|
4034
|
-
let e =
|
|
4040
|
+
let e = d(() => this.props.verificationService.verificationResponse.segment);
|
|
4035
4041
|
this.props.verificationService.fetchNewVerificationRequest(this.props.programId, e, this.props.verificationService.previousViewModel, this.props.trackingId);
|
|
4036
4042
|
}
|
|
4037
4043
|
}
|
|
4038
4044
|
render() {
|
|
4039
|
-
let { viewModel: t } = this.props.verificationService, n =
|
|
4045
|
+
let { viewModel: t } = this.props.verificationService, n = a(t), r;
|
|
4040
4046
|
this.props.messages && (r = this.props.messages);
|
|
4041
4047
|
let i = {
|
|
4042
4048
|
...r,
|
|
4043
|
-
...(0,
|
|
4049
|
+
...(0, mt.default)(e(n))
|
|
4044
4050
|
};
|
|
4045
|
-
if (this.props.verificationService.isLoading && !this.props.verificationService.loadingStep) return N.info("NewVerificationComponent: VerificationService is loading"), /* @__PURE__ */ (0, I.jsx)(
|
|
4051
|
+
if (this.props.verificationService.isLoading && !this.props.verificationService.loadingStep) return N.info("NewVerificationComponent: VerificationService is loading"), /* @__PURE__ */ (0, I.jsx)(D, {
|
|
4046
4052
|
locale: "en",
|
|
4047
4053
|
messages: i,
|
|
4048
|
-
textComponent:
|
|
4049
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
4054
|
+
textComponent: mn,
|
|
4055
|
+
children: /* @__PURE__ */ (0, I.jsx)(_t, {})
|
|
4050
4056
|
}, n);
|
|
4051
|
-
let { programTheme:
|
|
4052
|
-
return N.info("NewVerificationComponent: verificationResponse, viewModel", s, t), N.info(`NewVerificationComponent: locale: ${n}, currentStep: ${s.currentStep}, messages: `, r), /* @__PURE__ */ (0, I.jsx)(
|
|
4057
|
+
let { programTheme: o } = this.props.verificationService, { verificationResponse: s } = this.props.verificationService;
|
|
4058
|
+
return N.info("NewVerificationComponent: verificationResponse, viewModel", s, t), N.info(`NewVerificationComponent: locale: ${n}, currentStep: ${s.currentStep}, messages: `, r), /* @__PURE__ */ (0, I.jsx)(rc, {
|
|
4053
4059
|
locale: n,
|
|
4054
4060
|
messages: r,
|
|
4055
|
-
programTheme:
|
|
4061
|
+
programTheme: o,
|
|
4056
4062
|
verificationService: this.props.verificationService,
|
|
4057
4063
|
programId: this.props.programId
|
|
4058
4064
|
});
|
|
4059
4065
|
}
|
|
4060
|
-
},
|
|
4066
|
+
}, sc = te((e, t) => ({ ...e }), (e, t) => ({
|
|
4061
4067
|
dispatch: e,
|
|
4062
|
-
fetchNewVerificationRequest:
|
|
4063
|
-
fetchExistingVerificationRequest:
|
|
4064
|
-
updateViewModel:
|
|
4065
|
-
updateLocale:
|
|
4066
|
-
updateProgramTheme:
|
|
4067
|
-
updateFieldValidationErrors:
|
|
4068
|
-
resetState:
|
|
4068
|
+
fetchNewVerificationRequest: Ie(e),
|
|
4069
|
+
fetchExistingVerificationRequest: Je(e),
|
|
4070
|
+
updateViewModel: Ue(e),
|
|
4071
|
+
updateLocale: Re(e, t.programId),
|
|
4072
|
+
updateProgramTheme: Ke(e),
|
|
4073
|
+
updateFieldValidationErrors: Le(e),
|
|
4074
|
+
resetState: He(e)
|
|
4069
4075
|
}), (e, t, n) => {
|
|
4070
4076
|
let { dispatch: r, ...i } = t, { programTheme: a } = e;
|
|
4071
4077
|
return {
|
|
4072
4078
|
verificationService: {
|
|
4073
4079
|
...e,
|
|
4074
4080
|
...i,
|
|
4075
|
-
submitStep:
|
|
4081
|
+
submitStep: Xe(r, a)
|
|
4076
4082
|
},
|
|
4077
4083
|
messages: e.messages,
|
|
4078
4084
|
...n
|
|
4079
4085
|
};
|
|
4080
|
-
})(
|
|
4086
|
+
})(oc), cc = (e) => ({
|
|
4081
4087
|
kind: "program",
|
|
4082
4088
|
key: e
|
|
4083
|
-
}),
|
|
4089
|
+
}), lc = ({ programId: e, children: t }) => /* @__PURE__ */ (0, I.jsx)(nt, {
|
|
4084
4090
|
clientSideID: "6530161f9ff41712a2eef741",
|
|
4085
|
-
context:
|
|
4086
|
-
flags:
|
|
4091
|
+
context: cc(e),
|
|
4092
|
+
flags: it,
|
|
4087
4093
|
reactOptions: { useCamelCaseFlagKeys: !1 },
|
|
4088
4094
|
options: { streaming: !1 },
|
|
4089
4095
|
children: t
|
|
4090
|
-
}),
|
|
4091
|
-
|
|
4092
|
-
var
|
|
4096
|
+
}), uc = Ve();
|
|
4097
|
+
E(g.jslibVersionActual, d(() => De(), "?")), E(g.clientVersion, d(() => De(), "?"));
|
|
4098
|
+
var dc = F.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
4093
4099
|
try {
|
|
4094
|
-
|
|
4100
|
+
$e();
|
|
4095
4101
|
} catch (e) {
|
|
4096
4102
|
N.warn("Failed to add predefined hooks", e);
|
|
4097
4103
|
}
|
|
4098
4104
|
return (0, F.useEffect)(() => {
|
|
4099
|
-
|
|
4100
|
-
}),
|
|
4105
|
+
b();
|
|
4106
|
+
}), uc.dispatch({
|
|
4101
4107
|
programId: e,
|
|
4102
4108
|
type: "PROGRAM_ID"
|
|
4103
4109
|
}), n && (n.current = {
|
|
4104
|
-
refresh: F.useCallback(() =>
|
|
4105
|
-
reset: F.useCallback(() =>
|
|
4106
|
-
}), /* @__PURE__ */ (0, I.jsx)(
|
|
4107
|
-
store:
|
|
4108
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
4110
|
+
refresh: F.useCallback(() => uc.dispatch({ type: "FORCE_UPDATE" }), []),
|
|
4111
|
+
reset: F.useCallback(() => uc.dispatch({ type: "RESET_STATE" }), [])
|
|
4112
|
+
}), /* @__PURE__ */ (0, I.jsx)(de, {
|
|
4113
|
+
store: uc,
|
|
4114
|
+
children: /* @__PURE__ */ (0, I.jsx)(lc, {
|
|
4109
4115
|
programId: e,
|
|
4110
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
4116
|
+
children: /* @__PURE__ */ (0, I.jsx)(sc, {
|
|
4111
4117
|
programId: e,
|
|
4112
4118
|
trackingId: t
|
|
4113
4119
|
})
|
|
4114
4120
|
})
|
|
4115
4121
|
});
|
|
4116
|
-
}),
|
|
4122
|
+
}), fc = class e {
|
|
4117
4123
|
element;
|
|
4118
4124
|
programId;
|
|
4119
4125
|
trackingId;
|
|
@@ -4121,7 +4127,7 @@ var uc = F.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
4121
4127
|
ref;
|
|
4122
4128
|
constructor(t, n, r) {
|
|
4123
4129
|
if (!(this instanceof e)) throw Error("Method \"render\" not found. Did you use the \"new\" keyword when instantiating VerificationForm?");
|
|
4124
|
-
N.info(`Constructing VerificationFormEs5 ${n}`),
|
|
4130
|
+
N.info(`Constructing VerificationFormEs5 ${n}`), o(t), this.element = t, this.programId = n, this.trackingId = r, this.ref = F.createRef(), this.render();
|
|
4125
4131
|
}
|
|
4126
4132
|
refresh() {
|
|
4127
4133
|
this.ref.current.refresh();
|
|
@@ -4130,32 +4136,32 @@ var uc = F.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
4130
4136
|
this.ref.current.reset();
|
|
4131
4137
|
}
|
|
4132
4138
|
render() {
|
|
4133
|
-
|
|
4139
|
+
pt.render(/* @__PURE__ */ (0, I.jsx)(dc, {
|
|
4134
4140
|
programId: this.programId,
|
|
4135
4141
|
trackingId: this.trackingId,
|
|
4136
4142
|
ref: this.ref
|
|
4137
4143
|
}), this.element);
|
|
4138
4144
|
}
|
|
4139
4145
|
unmount() {
|
|
4140
|
-
|
|
4146
|
+
pt.unmountComponentAtNode(this.element);
|
|
4141
4147
|
}
|
|
4142
|
-
},
|
|
4148
|
+
}, pc = async () => {
|
|
4143
4149
|
if (!document.getElementById("ipqs")) return new Promise((e) => {
|
|
4144
4150
|
let t = document.createElement("script");
|
|
4145
4151
|
t.src = "https://fd.sheerid.com/api/*/BJOvvIiNpZnA9XHXIHVc0S4FO87k4eub6NLOfmShTU7nRqamLKTzQixwD7XETz7bvtNHmicHNx9hEtOJ9NPo3kUJBl7o1jpwcbcXeOMDJjvulAWSrRnO7WYq9gxL6xNT0xnfou5UlshUGWQ2g68qBuWajMWbxZ25JELntxaP0neiVUbephG5E79ES89qBo4uIGBDvykdJb75hpo0URvJ0Fm1j6fuEqHQBq64Mi390KC9XoQwiFxyboxQ5lSooY4p/learn.js", t.async = !0, t.id = "ipqs", document.body.appendChild(t), t.onload = () => {
|
|
4146
4152
|
e();
|
|
4147
4153
|
};
|
|
4148
4154
|
});
|
|
4149
|
-
},
|
|
4150
|
-
if (
|
|
4151
|
-
await
|
|
4155
|
+
}, mc = async (e, t) => {
|
|
4156
|
+
if (d(() => e.ipqsDeviceFingerprintEnabled, !1)) try {
|
|
4157
|
+
await pc(), window.IPQ = { Callback: () => {
|
|
4152
4158
|
window.Startup.Store("transactionID", t), window.Startup.Init();
|
|
4153
4159
|
} };
|
|
4154
4160
|
} catch (e) {
|
|
4155
4161
|
N.error(e, "Failed to collect IPQS device data");
|
|
4156
4162
|
}
|
|
4157
|
-
},
|
|
4158
|
-
if (!
|
|
4163
|
+
}, hc = async (e, t) => {
|
|
4164
|
+
if (!d(() => e.threatMetrixEnabled, !1)) return;
|
|
4159
4165
|
let n = e.threatMetrixOrgId || "cnl2my47";
|
|
4160
4166
|
try {
|
|
4161
4167
|
let { ThreatMetrix: e } = await import(
|
|
@@ -4166,49 +4172,49 @@ var uc = F.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
4166
4172
|
} catch (e) {
|
|
4167
4173
|
N.error(e, "Failed to collect ThreatMetrix device data");
|
|
4168
4174
|
}
|
|
4169
|
-
},
|
|
4170
|
-
let n =
|
|
4175
|
+
}, gc = /* @__PURE__ */ new Map(), _c = (e, t) => {
|
|
4176
|
+
let n = gc.get(t);
|
|
4171
4177
|
if (n) return n;
|
|
4172
4178
|
let r = (async () => {
|
|
4173
4179
|
let [, , n] = await Promise.all([
|
|
4180
|
+
hc(e, t),
|
|
4174
4181
|
mc(e, t),
|
|
4175
|
-
|
|
4176
|
-
$e(e, t)
|
|
4182
|
+
et(e, t)
|
|
4177
4183
|
]);
|
|
4178
4184
|
return n ? { fpSessionId: n } : {};
|
|
4179
4185
|
})();
|
|
4180
|
-
return
|
|
4181
|
-
},
|
|
4182
|
-
getMessages:
|
|
4183
|
-
setViewModel:
|
|
4184
|
-
resetViewModel:
|
|
4186
|
+
return gc.set(t, r), r;
|
|
4187
|
+
}, vc = {
|
|
4188
|
+
getMessages: n,
|
|
4189
|
+
setViewModel: qe,
|
|
4190
|
+
resetViewModel: We,
|
|
4185
4191
|
setOptions: m,
|
|
4186
|
-
resetOptions:
|
|
4187
|
-
refreshStore:
|
|
4188
|
-
setMetadata:
|
|
4189
|
-
getMetadata:
|
|
4190
|
-
resetMetadata:
|
|
4191
|
-
conversion:
|
|
4192
|
-
overrideComponent:
|
|
4193
|
-
resetOverriddenComponents:
|
|
4194
|
-
postVerificationSizeUpdates:
|
|
4195
|
-
addHook:
|
|
4196
|
-
hooks:
|
|
4197
|
-
VerificationForm:
|
|
4198
|
-
collectDeviceProfile: async (e, t) =>
|
|
4199
|
-
resetStore:
|
|
4192
|
+
resetOptions: x,
|
|
4193
|
+
refreshStore: Pe,
|
|
4194
|
+
setMetadata: Ze,
|
|
4195
|
+
getMetadata: ze,
|
|
4196
|
+
resetMetadata: Ne,
|
|
4197
|
+
conversion: re,
|
|
4198
|
+
overrideComponent: Dt,
|
|
4199
|
+
resetOverriddenComponents: kt,
|
|
4200
|
+
postVerificationSizeUpdates: Qe,
|
|
4201
|
+
addHook: Fe,
|
|
4202
|
+
hooks: Me,
|
|
4203
|
+
VerificationForm: fc,
|
|
4204
|
+
collectDeviceProfile: async (e, t) => _c(await le.fetchProgramTheme(t), e),
|
|
4205
|
+
resetStore: Ge,
|
|
4200
4206
|
setProgramTheme: (e, t = { partial: !0 }) => {
|
|
4201
|
-
let n =
|
|
4202
|
-
let r =
|
|
4203
|
-
N.info("Setting programTheme", r),
|
|
4207
|
+
let n = Ve(), r = n.getState(), a = () => {
|
|
4208
|
+
let r = i(e);
|
|
4209
|
+
N.info("Setting programTheme", r), Ke(n.dispatch)(r, t.partial), se(r, t.partial);
|
|
4204
4210
|
};
|
|
4205
|
-
r.isLoading ?
|
|
4211
|
+
r.isLoading ? Fe({
|
|
4206
4212
|
name: "ON_VERIFICATION_READY",
|
|
4207
4213
|
callback: () => {
|
|
4208
|
-
|
|
4214
|
+
a();
|
|
4209
4215
|
}
|
|
4210
|
-
}) :
|
|
4216
|
+
}) : a();
|
|
4211
4217
|
}
|
|
4212
4218
|
};
|
|
4213
4219
|
//#endregion
|
|
4214
|
-
export {
|
|
4220
|
+
export { Bt as A, Dn as C, V as D, vn as E, ht as F, At as M, St as N, B as O, _t as P, H as S, yn as T, dr as _, so as a, In as b, ao as c, Va as d, vc as default, La as f, ba as g, Ia as h, vs as i, Nt as j, Gt as k, Ja as l, Ra as m, $s as n, co as o, za as p, Zs as r, uo as s, _c as t, Ua as u, Xn as v, xn as w, On as x, Wn as y };
|