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