@sheerid/jslib-nightly 3.0.0-preview.1619 → 3.0.0-preview.1621
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 +1025 -1163
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/{AddressComponent-DGtYPhcI.js → AddressComponent-CicgG-Ap.js} +6 -6
- package/chunk/{AddressComponent-CFuGCYl2.js.map → AddressComponent-CicgG-Ap.js.map} +1 -1
- package/chunk/{AddressComponent-CFuGCYl2.js → AddressComponent-SyKsvFCQ.js} +6 -6
- package/chunk/{AddressComponent-DGtYPhcI.js.map → AddressComponent-SyKsvFCQ.js.map} +1 -1
- package/chunk/AnnouncingHeader-CNUB901t.js +25 -0
- package/chunk/AnnouncingHeader-CNUB901t.js.map +1 -0
- package/chunk/AnnouncingHeader-DCiZuMUz.js +21 -0
- package/chunk/AnnouncingHeader-DCiZuMUz.js.map +1 -0
- package/chunk/{ApiUrls-BjZPbId6.js → ApiUrls-2RecghDh.js} +5 -5
- package/chunk/{ApiUrls-BjZPbId6.js.map → ApiUrls-2RecghDh.js.map} +1 -1
- package/chunk/{ApiUrls-ByZire1D.js → ApiUrls-B4z1Ry3u.js} +5 -5
- package/chunk/{ApiUrls-ByZire1D.js.map → ApiUrls-B4z1Ry3u.js.map} +1 -1
- package/chunk/{BirthDateComponent-DYJWN-KM.js → BirthDateComponent-BvW3thf7.js} +5 -5
- package/chunk/{BirthDateComponent-DYJWN-KM.js.map → BirthDateComponent-BvW3thf7.js.map} +1 -1
- package/chunk/{BirthDateComponent-Dsw4f8ju.js → BirthDateComponent-R-9mMaGu.js} +5 -5
- package/chunk/{BirthDateComponent-Dsw4f8ju.js.map → BirthDateComponent-R-9mMaGu.js.map} +1 -1
- package/chunk/{CaptchaComponent-C0SeuCEu.js → CaptchaComponent-CELn5byp.js} +319 -317
- package/chunk/CaptchaComponent-CELn5byp.js.map +1 -0
- package/chunk/{CaptchaComponent-DMhb6kOi.js → CaptchaComponent-jgmYS8PD.js} +325 -323
- package/chunk/{CaptchaComponent-DMhb6kOi.js.map → CaptchaComponent-jgmYS8PD.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-D4Z5_a3T.js → ChangeLocaleComponent-Dp2emhBO.js} +8 -8
- package/chunk/{ChangeLocaleComponent-D4Z5_a3T.js.map → ChangeLocaleComponent-Dp2emhBO.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-CRSTDexQ.js → ChangeLocaleComponent-H3FlQ3cA.js} +8 -8
- package/chunk/{ChangeLocaleComponent-CRSTDexQ.js.map → ChangeLocaleComponent-H3FlQ3cA.js.map} +1 -1
- package/chunk/{City-DW58RlA9.js → City-BQKUXtCs.js} +6 -6
- package/chunk/{City-DW58RlA9.js.map → City-BQKUXtCs.js.map} +1 -1
- package/chunk/{City-p3FdfjeW.js → City-BawrEn1_.js} +6 -6
- package/chunk/{City-p3FdfjeW.js.map → City-BawrEn1_.js.map} +1 -1
- package/chunk/{CollegeNameComponent-CEO8l2BQ.js → CollegeNameComponent-BZ2MjvAc.js} +7 -7
- package/chunk/{CollegeNameComponent-CEO8l2BQ.js.map → CollegeNameComponent-BZ2MjvAc.js.map} +1 -1
- package/chunk/{CollegeNameComponent-C_4Woft7.js → CollegeNameComponent-CAIRXL5p.js} +7 -7
- package/chunk/{CollegeNameComponent-C_4Woft7.js.map → CollegeNameComponent-CAIRXL5p.js.map} +1 -1
- package/chunk/CopyToClipboardComponent-BrWPnNPn.js +4 -4
- package/chunk/CopyToClipboardComponent-uJ-6jBXB.js +4 -4
- package/chunk/{CountryComponentWrapper-C31qWRqx.js → CountryComponentWrapper-C20l0Hp9.js} +7 -7
- package/chunk/{CountryComponentWrapper-C31qWRqx.js.map → CountryComponentWrapper-C20l0Hp9.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-Bmx0Qc0u.js → CountryComponentWrapper-Cbo3tE2x.js} +7 -7
- package/chunk/{CountryComponentWrapper-Bmx0Qc0u.js.map → CountryComponentWrapper-Cbo3tE2x.js.map} +1 -1
- package/chunk/{DischargeDateComponent-Dg98GqDT.js → DischargeDateComponent-DYymcxuK.js} +9 -9
- package/chunk/{DischargeDateComponent-Dg98GqDT.js.map → DischargeDateComponent-DYymcxuK.js.map} +1 -1
- package/chunk/{DischargeDateComponent-DC2htjWC.js → DischargeDateComponent-H6vRxx9K.js} +9 -9
- package/chunk/{DischargeDateComponent-DC2htjWC.js.map → DischargeDateComponent-H6vRxx9K.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-NwU8Itng.js → DriverLicenseNumberComponent-BTXjrzCy.js} +6 -6
- package/chunk/{DriverLicenseNumberComponent-BOdcLEau.js.map → DriverLicenseNumberComponent-BTXjrzCy.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-BOdcLEau.js → DriverLicenseNumberComponent-GeE_vJ-6.js} +6 -6
- package/chunk/{DriverLicenseNumberComponent-NwU8Itng.js.map → DriverLicenseNumberComponent-GeE_vJ-6.js.map} +1 -1
- package/chunk/{EmailLoopPending-Bql66OkE.js → EmailLoopPending-8SpBGanx.js} +8 -8
- package/chunk/{EmailLoopPending-Bql66OkE.js.map → EmailLoopPending-8SpBGanx.js.map} +1 -1
- package/chunk/{EmailLoopPending-sEZUKuYy.js → EmailLoopPending-cFuBbba2.js} +8 -8
- package/chunk/{EmailLoopPending-sEZUKuYy.js.map → EmailLoopPending-cFuBbba2.js.map} +1 -1
- package/chunk/{ExtraMessage-2vZ81E7X.js → ExtraMessage-At4-m1_R.js} +5 -5
- package/chunk/{ExtraMessage-2vZ81E7X.js.map → ExtraMessage-At4-m1_R.js.map} +1 -1
- package/chunk/{ExtraMessage-BIcXwQAu.js → ExtraMessage-WH33nlul.js} +5 -5
- package/chunk/{ExtraMessage-BIcXwQAu.js.map → ExtraMessage-WH33nlul.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-Dv7eA8vG.js → FirstResponderOrganizationComponent-B6Kpl__I.js} +7 -7
- package/chunk/{FirstResponderOrganizationComponent-Dv7eA8vG.js.map → FirstResponderOrganizationComponent-B6Kpl__I.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-CKdDeNko.js → FirstResponderOrganizationComponent-HZN2oyQe.js} +7 -7
- package/chunk/{FirstResponderOrganizationComponent-CKdDeNko.js.map → FirstResponderOrganizationComponent-HZN2oyQe.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-D00Fam09.js → FormFieldInputSelect-BkP4JViC.js} +6 -6
- package/chunk/{FormFieldInputSelect-D00Fam09.js.map → FormFieldInputSelect-BkP4JViC.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-mcyQh34T.js → FormFieldInputSelect-D6KB_lSA.js} +6 -6
- package/chunk/{FormFieldInputSelect-mcyQh34T.js.map → FormFieldInputSelect-D6KB_lSA.js.map} +1 -1
- package/chunk/{FormFieldLayout-DurQviUl.js → FormFieldLayout-B6UWlgPZ.js} +48 -76
- package/chunk/FormFieldLayout-B6UWlgPZ.js.map +1 -0
- package/chunk/{FormFieldLayout-CKBj8qa6.js → FormFieldLayout-CdAF5eOb.js} +48 -76
- package/chunk/FormFieldLayout-CdAF5eOb.js.map +1 -0
- package/chunk/{FormFieldText-BpxZZuGe.js → FormFieldText-C95_VXFp.js} +6 -6
- package/chunk/{FormFieldText-B-0e2wl-.js.map → FormFieldText-C95_VXFp.js.map} +1 -1
- package/chunk/{FormFieldText-B-0e2wl-.js → FormFieldText-DF4JNdNJ.js} +6 -6
- package/chunk/{FormFieldText-BpxZZuGe.js.map → FormFieldText-DF4JNdNJ.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-BMvGO7Fh.js → FormFieldTypeahead-BWO62nSf.js} +371 -366
- package/chunk/{FormFieldTypeahead-BMvGO7Fh.js.map → FormFieldTypeahead-BWO62nSf.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-CGWK2Kgs.js → FormFieldTypeahead-BbMRLwcq.js} +691 -694
- package/chunk/{FormFieldTypeahead-CGWK2Kgs.js.map → FormFieldTypeahead-BbMRLwcq.js.map} +1 -1
- package/chunk/FormFooterComponent-C4nUMHpv.js +30 -0
- package/chunk/FormFooterComponent-C4nUMHpv.js.map +1 -0
- package/chunk/FormFooterComponent-T4dnyYOP.js +34 -0
- package/chunk/FormFooterComponent-T4dnyYOP.js.map +1 -0
- package/chunk/FormSelectChoice-Da11OJMy.js +4 -4
- package/chunk/{InputSelectComponent-BubhLJec.js → InputSelectComponent-DFomMBKx.js} +1877 -2216
- package/chunk/InputSelectComponent-DFomMBKx.js.map +1 -0
- package/chunk/{InputSelectComponent-CcE1_INr.js → InputSelectComponent-xKOg0Mfy.js} +1820 -2151
- package/chunk/InputSelectComponent-xKOg0Mfy.js.map +1 -0
- package/chunk/{InputText-DOnYW4S6.js → InputText-DO36IbjF.js} +5 -5
- package/chunk/{InputText-DOnYW4S6.js.map → InputText-DO36IbjF.js.map} +1 -1
- package/chunk/{InputText-DeqJekZp.js → InputText-XskZSQrt.js} +5 -5
- package/chunk/{InputText-DeqJekZp.js.map → InputText-XskZSQrt.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-DTG2qBMN.js → LicensedProfessionalOrganizationComponent-B79SU_Ho.js} +7 -7
- package/chunk/{LicensedProfessionalOrganizationComponent-DTG2qBMN.js.map → LicensedProfessionalOrganizationComponent-B79SU_Ho.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-5nDW4BQV.js → LicensedProfessionalOrganizationComponent-Bh2HJaux.js} +7 -7
- package/chunk/{LicensedProfessionalOrganizationComponent-5nDW4BQV.js.map → LicensedProfessionalOrganizationComponent-Bh2HJaux.js.map} +1 -1
- package/chunk/LogoComponent-D3p_K04d.js +4 -4
- package/chunk/LogoComponent-waBbF_Hz.js +4 -4
- package/chunk/{LowIncomeOrganizationComponent-EQFsmL5a.js → LowIncomeOrganizationComponent-B7nmTUWV.js} +14 -14
- package/chunk/{LowIncomeOrganizationComponent-EQFsmL5a.js.map → LowIncomeOrganizationComponent-B7nmTUWV.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-C3vRmHEP.js → LowIncomeOrganizationComponent-BAf5x0-f.js} +14 -14
- package/chunk/{LowIncomeOrganizationComponent-C3vRmHEP.js.map → LowIncomeOrganizationComponent-BAf5x0-f.js.map} +1 -1
- package/chunk/LowRewardPoolNote-CAcUOjXU.js +105 -0
- package/chunk/LowRewardPoolNote-CAcUOjXU.js.map +1 -0
- package/chunk/LowRewardPoolNote-D53DGp7d.js +101 -0
- package/chunk/LowRewardPoolNote-D53DGp7d.js.map +1 -0
- package/chunk/{MedicalProfessionalOrganizationComponent-C2eqeofi.js → MedicalProfessionalOrganizationComponent-BnURpR77.js} +7 -7
- package/chunk/{MedicalProfessionalOrganizationComponent-C2eqeofi.js.map → MedicalProfessionalOrganizationComponent-BnURpR77.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-CEtYi4KO.js → MedicalProfessionalOrganizationComponent-CIPYgOg7.js} +7 -7
- package/chunk/{MedicalProfessionalOrganizationComponent-CEtYi4KO.js.map → MedicalProfessionalOrganizationComponent-CIPYgOg7.js.map} +1 -1
- package/chunk/{MemberIdComponent-BbD-74bU.js → MemberIdComponent-CYJuZbZS.js} +6 -6
- package/chunk/{MemberIdComponent-BbD-74bU.js.map → MemberIdComponent-CYJuZbZS.js.map} +1 -1
- package/chunk/{MemberIdComponent-C2DdZNE4.js → MemberIdComponent-CvBccNKk.js} +6 -6
- package/chunk/{MemberIdComponent-C2DdZNE4.js.map → MemberIdComponent-CvBccNKk.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-BRQE8szv.js → MembershipOrganizationComponent-CgwT1kz9.js} +7 -7
- package/chunk/{MembershipOrganizationComponent-BRQE8szv.js.map → MembershipOrganizationComponent-CgwT1kz9.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-zjgPOxtd.js → MembershipOrganizationComponent-Hyvx9XaK.js} +7 -7
- package/chunk/{MembershipOrganizationComponent-zjgPOxtd.js.map → MembershipOrganizationComponent-Hyvx9XaK.js.map} +1 -1
- package/chunk/{Message-C3-hqY4Y.js → Message-BJpuZuCw.js} +6 -6
- package/chunk/Message-BJpuZuCw.js.map +1 -0
- package/chunk/{Message-CN1hFJq1.js → Message-CCPUNbvb.js} +6 -6
- package/chunk/Message-CCPUNbvb.js.map +1 -0
- package/chunk/Onfido-CTCgAwnB.js +4 -4
- package/chunk/{PersonalInfoStepSubmitButton-DbqLQIRs.js → PersonalInfoStepSubmitButton-Bkfehzde.js} +8 -8
- package/chunk/{PersonalInfoStepSubmitButton-DbqLQIRs.js.map → PersonalInfoStepSubmitButton-Bkfehzde.js.map} +1 -1
- package/chunk/{PersonalInfoStepSubmitButton-DHRe5lOb.js → PersonalInfoStepSubmitButton-vKWA-7OM.js} +8 -8
- package/chunk/{PersonalInfoStepSubmitButton-DHRe5lOb.js.map → PersonalInfoStepSubmitButton-vKWA-7OM.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-BUrS0J4p.js → PersonalInfoStepWrapper-CO1Ai4CL.js} +5 -5
- package/chunk/{PersonalInfoStepWrapper-BUrS0J4p.js.map → PersonalInfoStepWrapper-CO1Ai4CL.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-ghw2jBZD.js → PersonalInfoStepWrapper-XIy5r6WD.js} +9 -8
- package/chunk/{PersonalInfoStepWrapper-ghw2jBZD.js.map → PersonalInfoStepWrapper-XIy5r6WD.js.map} +1 -1
- package/chunk/{PostalCodeComponent-BYKM06Cz.js → PostalCodeComponent-Bfyrs-OS.js} +6 -6
- package/chunk/{PostalCodeComponent-5aW92oQ3.js.map → PostalCodeComponent-Bfyrs-OS.js.map} +1 -1
- package/chunk/{PostalCodeComponent-5aW92oQ3.js → PostalCodeComponent-D-Wlqd3h.js} +6 -6
- package/chunk/{PostalCodeComponent-BYKM06Cz.js.map → PostalCodeComponent-D-Wlqd3h.js.map} +1 -1
- package/chunk/{SSN-S1swy6-Y.js → SSN-CpZKLMZh.js} +6 -6
- package/chunk/{SSN-S1swy6-Y.js.map → SSN-CpZKLMZh.js.map} +1 -1
- package/chunk/{SSN-DXt8ek9Z.js → SSN-DfQKic30.js} +6 -6
- package/chunk/{SSN-DXt8ek9Z.js.map → SSN-DfQKic30.js.map} +1 -1
- package/chunk/{StateSelectComponent-D63iCoHL.js → StateSelectComponent-B0vfzaHI.js} +6 -6
- package/chunk/{StateSelectComponent-D63iCoHL.js.map → StateSelectComponent-B0vfzaHI.js.map} +1 -1
- package/chunk/{StateSelectComponent-C40Ffn8C.js → StateSelectComponent-uRb4CZto.js} +6 -6
- package/chunk/{StateSelectComponent-C40Ffn8C.js.map → StateSelectComponent-uRb4CZto.js.map} +1 -1
- package/chunk/{StatusComponent-BN4lXhi-.js → StatusComponent-RqqyyDyR.js} +6 -6
- package/chunk/{StatusComponent-BN4lXhi-.js.map → StatusComponent-RqqyyDyR.js.map} +1 -1
- package/chunk/{StatusComponent-jshtxUSk.js → StatusComponent-ZjAfp6D1.js} +6 -6
- package/chunk/{StatusComponent-jshtxUSk.js.map → StatusComponent-ZjAfp6D1.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-jJ-gl3uH.js → StepAgePersonalInfo-B_rJGRgX.js} +16 -16
- package/chunk/{StepAgePersonalInfo-jJ-gl3uH.js.map → StepAgePersonalInfo-B_rJGRgX.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-fSDjHb3E.js → StepAgePersonalInfo-DJPM2PJz.js} +17 -17
- package/chunk/{StepAgePersonalInfo-fSDjHb3E.js.map → StepAgePersonalInfo-DJPM2PJz.js.map} +1 -1
- package/chunk/StepCard-ELVyeUE5.js +4 -4
- package/chunk/StepCard-wwdNHa6o.js +4 -4
- package/chunk/{StepCollectIdentifier-xHjwuhT1.js → StepCollectIdentifier-D3Enfb3G.js} +11 -10
- package/chunk/{StepCollectIdentifier-xHjwuhT1.js.map → StepCollectIdentifier-D3Enfb3G.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-CAUqtr82.js → StepCollectIdentifier-DJsPPf_t.js} +11 -10
- package/chunk/{StepCollectIdentifier-CAUqtr82.js.map → StepCollectIdentifier-DJsPPf_t.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-C3K_7C37.js → StepCollectMilitaryPersonalInfoComponent-CZaentAm.js} +21 -21
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-C3K_7C37.js.map → StepCollectMilitaryPersonalInfoComponent-CZaentAm.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-BlwwJFsV.js → StepCollectMilitaryPersonalInfoComponent-Cd25YUFV.js} +21 -21
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-BlwwJFsV.js.map → StepCollectMilitaryPersonalInfoComponent-Cd25YUFV.js.map} +1 -1
- package/chunk/StepCollectPersonalInfo-BPw22iU2.js +380 -0
- package/chunk/StepCollectPersonalInfo-BPw22iU2.js.map +1 -0
- package/chunk/StepCollectPersonalInfo-PbZ_Lh5v.js +384 -0
- package/chunk/StepCollectPersonalInfo-PbZ_Lh5v.js.map +1 -0
- package/chunk/{StepCompleteAuthentication-C-dkHoi4.js → StepCompleteAuthentication-B3iM05Rm.js} +5 -5
- package/chunk/{StepCompleteAuthentication-C-dkHoi4.js.map → StepCompleteAuthentication-B3iM05Rm.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-CUzxPlLE.js → StepCompleteAuthentication-DmURi_hs.js} +5 -5
- package/chunk/{StepCompleteAuthentication-CUzxPlLE.js.map → StepCompleteAuthentication-DmURi_hs.js.map} +1 -1
- package/chunk/{StepConsolation-CHAEmowO.js → StepConsolation-CFWMHxRq.js} +5 -5
- package/chunk/{StepConsolation-CHAEmowO.js.map → StepConsolation-CFWMHxRq.js.map} +1 -1
- package/chunk/{StepConsolation-DlfgKZar.js → StepConsolation-nN23KvH2.js} +5 -5
- package/chunk/{StepConsolation-DlfgKZar.js.map → StepConsolation-nN23KvH2.js.map} +1 -1
- package/chunk/StepDocUpload-DAI4hd-K.js +2005 -0
- package/chunk/StepDocUpload-DAI4hd-K.js.map +1 -0
- package/chunk/StepDocUpload-DXj4mEM6.js +2009 -0
- package/chunk/StepDocUpload-DXj4mEM6.js.map +1 -0
- package/chunk/{StepDriverLicensePersonalInfoComponent-Z3aZSd93.js → StepDriverLicensePersonalInfoComponent-CyWd-3C8.js} +12 -12
- package/chunk/{StepDriverLicensePersonalInfoComponent-Z3aZSd93.js.map → StepDriverLicensePersonalInfoComponent-CyWd-3C8.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-CNKf5tR8.js → StepDriverLicensePersonalInfoComponent-DQzI18NJ.js} +12 -12
- package/chunk/{StepDriverLicensePersonalInfoComponent-CNKf5tR8.js.map → StepDriverLicensePersonalInfoComponent-DQzI18NJ.js.map} +1 -1
- package/chunk/{StepEmailLoop-Q3bNcTGe.js → StepEmailLoop-C490ilfk.js} +24 -24
- package/chunk/{StepEmailLoop-Q3bNcTGe.js.map → StepEmailLoop-C490ilfk.js.map} +1 -1
- package/chunk/{StepEmailLoop-BRIYDAOc.js → StepEmailLoop-CuaFZ_b2.js} +24 -24
- package/chunk/{StepEmailLoop-BRIYDAOc.js.map → StepEmailLoop-CuaFZ_b2.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-s-gcKW0F.js → StepEmploymentPersonalInfo-BVeVxEtT.js} +17 -17
- package/chunk/{StepEmploymentPersonalInfo-s-gcKW0F.js.map → StepEmploymentPersonalInfo-BVeVxEtT.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-DptZDT4R.js → StepEmploymentPersonalInfo-DRdFErAM.js} +17 -17
- package/chunk/{StepEmploymentPersonalInfo-DptZDT4R.js.map → StepEmploymentPersonalInfo-DRdFErAM.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-BoJ3BkAa.js → StepFirstResponderPersonalInfo-DYbPTeIq.js} +18 -18
- package/chunk/{StepFirstResponderPersonalInfo-BoJ3BkAa.js.map → StepFirstResponderPersonalInfo-DYbPTeIq.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-DosMV8mv.js → StepFirstResponderPersonalInfo-kH-D-gpm.js} +18 -18
- package/chunk/{StepFirstResponderPersonalInfo-DosMV8mv.js.map → StepFirstResponderPersonalInfo-kH-D-gpm.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-DihZBtJh.js → StepGeneralIdentityPersonalInfoComponent-BF7dYmjn.js} +15 -15
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-DihZBtJh.js.map → StepGeneralIdentityPersonalInfoComponent-BF7dYmjn.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-Dth0Rc84.js → StepGeneralIdentityPersonalInfoComponent-DjEZH38x.js} +15 -15
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-Dth0Rc84.js.map → StepGeneralIdentityPersonalInfoComponent-DjEZH38x.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-izsQUdN0.js → StepHybridIdentityPersonalInfoComponent-8Om7yEMT.js} +16 -16
- package/chunk/{StepHybridIdentityPersonalInfoComponent-izsQUdN0.js.map → StepHybridIdentityPersonalInfoComponent-8Om7yEMT.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-DCIdDoxr.js → StepHybridIdentityPersonalInfoComponent-D9Je6yj-.js} +16 -16
- package/chunk/{StepHybridIdentityPersonalInfoComponent-DCIdDoxr.js.map → StepHybridIdentityPersonalInfoComponent-D9Je6yj-.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-lva4f-aj.js → StepIDCheckLoop-CGuZberW.js} +6 -6
- package/chunk/{StepIDCheckLoop-lva4f-aj.js.map → StepIDCheckLoop-CGuZberW.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-vR-8BIP8.js → StepIDCheckLoop-DDNgoWKs.js} +6 -6
- package/chunk/{StepIDCheckLoop-vR-8BIP8.js.map → StepIDCheckLoop-DDNgoWKs.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-BKxGM7Rf.js → StepIDCheckLoopOnfido-2fSt4PC7.js} +38 -38
- package/chunk/{StepIDCheckLoopOnfido-BKxGM7Rf.js.map → StepIDCheckLoopOnfido-2fSt4PC7.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-B3NJW5aZ.js → StepIDCheckLoopOnfido-BajgwcIU.js} +38 -38
- package/chunk/{StepIDCheckLoopOnfido-B3NJW5aZ.js.map → StepIDCheckLoopOnfido-BajgwcIU.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-Bf3-UNkl.js → StepIDCheckLoopRegula-BWkVIExj.js} +30 -30
- package/chunk/{StepIDCheckLoopRegula-Bf3-UNkl.js.map → StepIDCheckLoopRegula-BWkVIExj.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-FylsmGXy.js → StepIDCheckLoopRegula-DBEhCcOx.js} +30 -30
- package/chunk/{StepIDCheckLoopRegula-FylsmGXy.js.map → StepIDCheckLoopRegula-DBEhCcOx.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-CBT96n4x.js → StepLicensedProfessionalPersonalInfo-AGQwXrgt.js} +18 -18
- package/chunk/{StepLicensedProfessionalPersonalInfo-CBT96n4x.js.map → StepLicensedProfessionalPersonalInfo-AGQwXrgt.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-B6KBYkuq.js → StepLicensedProfessionalPersonalInfo-ChdI7Jgm.js} +18 -18
- package/chunk/{StepLicensedProfessionalPersonalInfo-B6KBYkuq.js.map → StepLicensedProfessionalPersonalInfo-ChdI7Jgm.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-7gotMsrO.js → StepLowIncomePersonalInfo-Cl_eJwaC.js} +23 -23
- package/chunk/{StepLowIncomePersonalInfo-7gotMsrO.js.map → StepLowIncomePersonalInfo-Cl_eJwaC.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-CEpZqZS7.js → StepLowIncomePersonalInfo-DJjuE6iI.js} +23 -23
- package/chunk/{StepLowIncomePersonalInfo-CEpZqZS7.js.map → StepLowIncomePersonalInfo-DJjuE6iI.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-DM-C1MbG.js → StepMedicalProfessionalPersonalInfo-CmAOUKJB.js} +19 -19
- package/chunk/{StepMedicalProfessionalPersonalInfo-DM-C1MbG.js.map → StepMedicalProfessionalPersonalInfo-CmAOUKJB.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-meK7GCBZ.js → StepMedicalProfessionalPersonalInfo-snvlB1q5.js} +19 -19
- package/chunk/{StepMedicalProfessionalPersonalInfo-meK7GCBZ.js.map → StepMedicalProfessionalPersonalInfo-snvlB1q5.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-CKeM_64v.js → StepMemberPersonalInfo-CdX8LAGC.js} +14 -14
- package/chunk/{StepMemberPersonalInfo-CKeM_64v.js.map → StepMemberPersonalInfo-CdX8LAGC.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-DacnraPw.js → StepMemberPersonalInfo-PxKH7YN4.js} +14 -14
- package/chunk/{StepMemberPersonalInfo-DacnraPw.js.map → StepMemberPersonalInfo-PxKH7YN4.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-DvT5ABIo.js → StepMoverPersonalInfo-MYGnyYc-.js} +12 -12
- package/chunk/{StepMoverPersonalInfo-DvT5ABIo.js.map → StepMoverPersonalInfo-MYGnyYc-.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-owcgLP70.js → StepMoverPersonalInfo-u_-Eve-G.js} +12 -12
- package/chunk/{StepMoverPersonalInfo-owcgLP70.js.map → StepMoverPersonalInfo-u_-Eve-G.js.map} +1 -1
- package/chunk/{StepOverrideComponent-ChNLsOjQ.js → StepOverrideComponent-Df7suQby.js} +22 -21
- package/chunk/{StepOverrideComponent-ChNLsOjQ.js.map → StepOverrideComponent-Df7suQby.js.map} +1 -1
- package/chunk/{StepOverrideComponent-B-8vXmx4.js → StepOverrideComponent-_2tBwss0.js} +22 -21
- package/chunk/{StepOverrideComponent-B-8vXmx4.js.map → StepOverrideComponent-_2tBwss0.js.map} +1 -1
- package/chunk/{StepSMSLoop-m570zb72.js → StepSMSLoop-BVbQi9Eq.js} +8 -8
- package/chunk/{StepSMSLoop-m570zb72.js.map → StepSMSLoop-BVbQi9Eq.js.map} +1 -1
- package/chunk/{StepSMSLoop-DAWZaFJ_.js → StepSMSLoop-DJdI9NJ-.js} +8 -8
- package/chunk/{StepSMSLoop-DAWZaFJ_.js.map → StepSMSLoop-DJdI9NJ-.js.map} +1 -1
- package/chunk/StepSSO-CybtMBjF.js +12 -0
- package/chunk/StepSSO-pglHGWRO.js +8 -0
- package/chunk/{StepSocialSecurityNumber-BoEHK75t.js → StepSocialSecurityNumber-CBmG_7kt.js} +22 -22
- package/chunk/{StepSocialSecurityNumber-BoEHK75t.js.map → StepSocialSecurityNumber-CBmG_7kt.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-Bp0r32No.js → StepSocialSecurityNumber-CKW8pUck.js} +22 -22
- package/chunk/{StepSocialSecurityNumber-Bp0r32No.js.map → StepSocialSecurityNumber-CKW8pUck.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-B7hXPqEi.js → StepStudentPersonalInfo-Bb2UFiSf.js} +18 -18
- package/chunk/{StepStudentPersonalInfo-B7hXPqEi.js.map → StepStudentPersonalInfo-Bb2UFiSf.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-BERaFoG2.js → StepStudentPersonalInfo-BrV5nUQm.js} +18 -18
- package/chunk/{StepStudentPersonalInfo-BERaFoG2.js.map → StepStudentPersonalInfo-BrV5nUQm.js.map} +1 -1
- package/chunk/{StepSuccess-BUAvlIPO.js → StepSuccess-B_b_cLvk.js} +6 -6
- package/chunk/{StepSuccess-BUAvlIPO.js.map → StepSuccess-B_b_cLvk.js.map} +1 -1
- package/chunk/{StepSuccess-OpwRN1Fk.js → StepSuccess-lXDU9RzB.js} +6 -6
- package/chunk/{StepSuccess-OpwRN1Fk.js.map → StepSuccess-lXDU9RzB.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-CWEQecas.js → StepTeacherPersonalInfo-8xYbzOQu.js} +15 -15
- package/chunk/{StepTeacherPersonalInfo-CWEQecas.js.map → StepTeacherPersonalInfo-8xYbzOQu.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-JMlK7FAn.js → StepTeacherPersonalInfo-aiSuLSkE.js} +15 -15
- package/chunk/{StepTeacherPersonalInfo-JMlK7FAn.js.map → StepTeacherPersonalInfo-aiSuLSkE.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-Bl9PW1-v.js +8 -0
- package/chunk/StepThirdPartyLoop-Cs_tIVeY.js +12 -0
- package/chunk/{TeacherSchoolComponent-qJz_3thw.js → TeacherSchoolComponent-BFiJ7Wq2.js} +7 -7
- package/chunk/{TeacherSchoolComponent-qJz_3thw.js.map → TeacherSchoolComponent-BFiJ7Wq2.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-CeSPJdM2.js → TeacherSchoolComponent-DpNEEKfb.js} +7 -7
- package/chunk/{TeacherSchoolComponent-CeSPJdM2.js.map → TeacherSchoolComponent-DpNEEKfb.js.map} +1 -1
- package/chunk/TestingRouteOverrides-BEm8Sf8D.js +4 -4
- package/chunk/TestingRouteOverrides-CY6cZruo.js +4 -4
- package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
- package/chunk/{VerificationApiClient-CWRK0gqX.js → VerificationApiClient-BeOvbT_t.js} +5 -5
- package/chunk/{VerificationApiClient-CWRK0gqX.js.map → VerificationApiClient-BeOvbT_t.js.map} +1 -1
- package/chunk/{VerificationApiClient-BvB2Nn7K.js → VerificationApiClient-BvR36fUk.js} +5 -5
- package/chunk/{VerificationApiClient-BvB2Nn7K.js.map → VerificationApiClient-BvR36fUk.js.map} +1 -1
- package/chunk/addEventListener-CjrfonA-.js +352 -0
- package/chunk/addEventListener-CjrfonA-.js.map +1 -0
- package/chunk/addEventListener-DuM7oJdm.js +356 -0
- package/chunk/addEventListener-DuM7oJdm.js.map +1 -0
- package/chunk/ar-D5CO913q.js +4 -4
- package/chunk/bg-1mhA5kYF.js +4 -4
- package/chunk/bn-IN-CpDqyRb_.js +4 -4
- package/chunk/{button-D-XJi9Jr.js → button-BlkqJX_E.js} +36 -33
- package/chunk/button-BlkqJX_E.js.map +1 -0
- package/chunk/{button-DA3-irnX.js → button-DIPXKy0a.js} +33 -30
- package/chunk/button-DIPXKy0a.js.map +1 -0
- package/chunk/clsx-DC8twM4t.js +4 -4
- package/chunk/{countryUtils-BBvXJbea.js → countryUtils-DKwoRV2T.js} +5 -5
- package/chunk/{countryUtils-BBvXJbea.js.map → countryUtils-DKwoRV2T.js.map} +1 -1
- package/chunk/countryUtils-SAP2nHeP.js +12 -0
- package/chunk/{countryUtils-C7NzWy-p.js.map → countryUtils-SAP2nHeP.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/dist-In8P1UpN.js +44 -0
- package/chunk/dist-In8P1UpN.js.map +1 -0
- package/chunk/el-DbDcvSPJ.js +4 -4
- package/chunk/empties-CJE5It5a.js +4 -4
- package/chunk/empties-D2KXGsVY.js +4 -4
- package/chunk/en-GB-CNQ8Ww2j.js +4 -4
- package/chunk/es-ES-DWimqEZ_.js +4 -4
- package/chunk/es-qhC-seq5.js +4 -4
- package/chunk/et-yF9G-Mym.js +4 -4
- package/chunk/eventEmitter-CSG6jR7V.js +4 -4
- package/chunk/fa-BcdSf7og.js +4 -4
- package/chunk/fi-D-IP_KHm.js +4 -4
- package/chunk/fr-BmUuYxk0.js +4 -4
- package/chunk/fr-CA-DVQ4xmzZ.js +4 -4
- package/chunk/ga-DuZycND3.js +4 -4
- package/chunk/getInstallType-BRxisNNY.js +4 -4
- package/chunk/getInstallType-DlS_DNKt.js +4 -4
- package/chunk/hi-IN-l6Rn5Ewm.js +4 -4
- package/chunk/hooks-Cjcd--GE.js +4 -4
- package/chunk/hooks-D72YoqAe.js +4 -4
- package/chunk/hr-BtqyDzDB.js +4 -4
- package/chunk/hu-C6syKJfb.js +4 -4
- package/chunk/id-GgI-Z2a5.js +4 -4
- package/chunk/index.es-0Ly0eUxm.js +4 -4
- package/chunk/index.es-C_UCMoRU.js +4 -4
- package/chunk/input-Bnmror_i.js +308 -0
- package/chunk/input-Bnmror_i.js.map +1 -0
- package/chunk/input-CbFmDZR4.js +304 -0
- package/chunk/input-CbFmDZR4.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-B5jXYl8q.js +4 -4
- package/chunk/jsx-runtime-BnRn7GM8.js +4 -4
- package/chunk/kk-Dvz4nK6K.js +4 -4
- package/chunk/ko-DzOqBMGC.js +4 -4
- package/chunk/lo-C2WPq55d.js +4 -4
- package/chunk/lt-BSDYvjTF.js +4 -4
- package/chunk/lv-CefDPT-M.js +4 -4
- package/chunk/mockProgramBranding-C9Ysu3Mp.js +4 -4
- package/chunk/mockProgramConfiguration-BNqSCrMG.js +4 -4
- package/chunk/mockProgramI18n-CgYx_1_a.js +4 -4
- package/chunk/mockProgramTheme-Cfk2dzF3.js +4 -4
- package/chunk/mocks-BuI-FNT-.js +4 -4
- package/chunk/mocks-C6Bm8r6i.js +4 -4
- package/chunk/ms-BjestZxy.js +4 -4
- package/chunk/nl-B1FyUfCT.js +4 -4
- package/chunk/nl-BE-CbeAd3nq.js +4 -4
- package/chunk/no-Dr633Ddi.js +4 -4
- package/chunk/pl-UYTjMIq_.js +4 -4
- package/chunk/programThemeGetters-CLeOiedB.js +4 -4
- package/chunk/programThemeGetters-TRIvr7Go.js +4 -4
- 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-CzsNPyXM.js +4 -4
- package/chunk/stepComponentHelpers-IolnFznH.js +4 -4
- 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/tslib.es6-BjMMQAso.js +149 -0
- package/chunk/tslib.es6-BjMMQAso.js.map +1 -0
- package/chunk/tslib.es6-DBUmCTli.js +153 -0
- package/chunk/tslib.es6-DBUmCTli.js.map +1 -0
- package/chunk/uk-CELBZlTd.js +4 -4
- package/chunk/ur-MR8DTbmd.js +4 -4
- package/chunk/{useCollectFieldsEndpoint-C_LS0UBT.js → useCollectFieldsEndpoint-CvBJD-m5.js} +6 -6
- package/chunk/{useCollectFieldsEndpoint-C_LS0UBT.js.map → useCollectFieldsEndpoint-CvBJD-m5.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-NuYJbs4Y.js → useCollectFieldsEndpoint-olPOcYoz.js} +6 -6
- package/chunk/{useCollectFieldsEndpoint-NuYJbs4Y.js.map → useCollectFieldsEndpoint-olPOcYoz.js.map} +1 -1
- package/chunk/useFocusOnMount-B4gVB2JN.js +22 -0
- package/chunk/useFocusOnMount-B4gVB2JN.js.map +1 -0
- package/chunk/useFocusOnMount-CoKIEDuF.js +18 -0
- package/chunk/useFocusOnMount-CoKIEDuF.js.map +1 -0
- package/chunk/{FormFooterComponent-OsOc6ysJ.js → useFooterShieldSrc-CWTHh0Mk.js} +10 -27
- package/chunk/useFooterShieldSrc-CWTHh0Mk.js.map +1 -0
- package/chunk/{FormFooterComponent-DqJ7_maV.js → useFooterShieldSrc-CmKqak9A.js} +10 -27
- package/chunk/useFooterShieldSrc-CmKqak9A.js.map +1 -0
- package/chunk/useMetrics-CK1qxUD4.js +4 -4
- package/chunk/useMetrics-DKU_qdJm.js +4 -4
- package/chunk/{input-lABb7wXr.js → useOnMount-B3CK3L_o.js} +396 -691
- package/chunk/useOnMount-B3CK3L_o.js.map +1 -0
- package/chunk/{input-DNopAmTN.js → useOnMount-DTplONXt.js} +396 -691
- package/chunk/useOnMount-DTplONXt.js.map +1 -0
- 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 +6 -5
- package/sheerid.js +1343 -1481
- package/sheerid.js.map +1 -1
- package/chunk/AnnouncingHeader-BYiI4pXb.js +0 -23
- package/chunk/AnnouncingHeader-BYiI4pXb.js.map +0 -1
- package/chunk/AnnouncingHeader-DXvkebb9.js +0 -27
- package/chunk/AnnouncingHeader-DXvkebb9.js.map +0 -1
- package/chunk/CaptchaComponent-C0SeuCEu.js.map +0 -1
- package/chunk/FormFieldLayout-CKBj8qa6.js.map +0 -1
- package/chunk/FormFieldLayout-DurQviUl.js.map +0 -1
- package/chunk/FormFooterComponent-DqJ7_maV.js.map +0 -1
- package/chunk/FormFooterComponent-OsOc6ysJ.js.map +0 -1
- package/chunk/InputSelectComponent-BubhLJec.js.map +0 -1
- package/chunk/InputSelectComponent-CcE1_INr.js.map +0 -1
- package/chunk/Message-C3-hqY4Y.js.map +0 -1
- package/chunk/Message-CN1hFJq1.js.map +0 -1
- package/chunk/StepCollectPersonalInfo-0PUTrr99.js +0 -373
- package/chunk/StepCollectPersonalInfo-0PUTrr99.js.map +0 -1
- package/chunk/StepCollectPersonalInfo-DKIHTk_y.js +0 -369
- package/chunk/StepCollectPersonalInfo-DKIHTk_y.js.map +0 -1
- package/chunk/StepDocUpload-C_o9FqpJ.js +0 -1677
- package/chunk/StepDocUpload-C_o9FqpJ.js.map +0 -1
- package/chunk/StepDocUpload-DAa3UUIZ.js +0 -1673
- package/chunk/StepDocUpload-DAa3UUIZ.js.map +0 -1
- package/chunk/StepSSO-CVwwDxgB.js +0 -8
- package/chunk/StepSSO-DSR38vO8.js +0 -12
- package/chunk/StepThirdPartyLoop-BY7ytJrS.js +0 -12
- package/chunk/StepThirdPartyLoop-B__GCNlS.js +0 -8
- package/chunk/button-D-XJi9Jr.js.map +0 -1
- package/chunk/button-DA3-irnX.js.map +0 -1
- package/chunk/countryUtils-C7NzWy-p.js +0 -12
- package/chunk/input-DNopAmTN.js.map +0 -1
- package/chunk/input-lABb7wXr.js.map +0 -1
package/_mysheerid-preview.js
CHANGED
|
@@ -4,30 +4,32 @@
|
|
|
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: 3.0.0-preview.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE: Fri Nov 06 2026
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 3.0.0-preview.1621
|
|
8
|
+
* BUILD_TIMESTAMP: 1794001748969
|
|
9
|
+
* BUILD_DATE: Fri Nov 06 2026 21:49:08 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 2e868a8ba33bfeb6de927ff96be1d3b40d95110c
|
|
11
11
|
*/
|
|
12
12
|
import { C as e, D as t, E as n, F as r, Ft as i, I as a, M as o, N as s, O as c, P as l, Pt as u, R as d, Rt as f, S as p, _ as m, at as h, b as g, bt as _, c as v, d as y, f as b, g as x, gt as S, h as C, k as w, m as T, pt as ee, u as E, w as D, wt as O, x as k } from "./chunk/empties-D2KXGsVY.js";
|
|
13
13
|
import { S as A, b as j, h as M, o as te, x as ne } from "./chunk/runtimeTypes-B2AGNJMT.js";
|
|
14
14
|
import { n as re, r as ie, t as ae } from "./chunk/getInstallType-BRxisNNY.js";
|
|
15
15
|
import { r as oe, t as se } from "./chunk/jsx-runtime-BnRn7GM8.js";
|
|
16
|
-
import { i as ce, r as le, t as N } from "./chunk/Message-
|
|
17
|
-
import { B as ue, D as de, G as fe, H as pe, N as me, O as he, P as ge, R as _e, T as ve, U as ye, V as be, _ as xe, a as Se, b as Ce, c as we, d as Te, f as Ee, g as De, h as Oe, i as ke, l as Ae, m as je, o as Me, s as Ne,
|
|
18
|
-
import { c as
|
|
19
|
-
import { p as
|
|
20
|
-
import { i as
|
|
21
|
-
import { D as Ze,
|
|
22
|
-
import { a as
|
|
23
|
-
import { i as
|
|
24
|
-
import { r as
|
|
25
|
-
import { t as
|
|
26
|
-
import {
|
|
27
|
-
import { t as
|
|
16
|
+
import { i as ce, r as le, t as N } from "./chunk/Message-CCPUNbvb.js";
|
|
17
|
+
import { B as ue, D as de, G as fe, H as pe, N as me, O as he, P as ge, R as _e, T as ve, U as ye, V as be, _ as xe, a as Se, b as Ce, c as we, d as Te, f as Ee, g as De, h as Oe, i as ke, l as Ae, m as je, o as Me, s as Ne, v as Pe, y as Fe, z as Ie } from "./chunk/programThemeGetters-TRIvr7Go.js";
|
|
18
|
+
import { c as Le, d as Re, f as ze, l as Be, m as Ve, o as He, p as Ue, t as We } from "./chunk/VerificationApiClient-BvR36fUk.js";
|
|
19
|
+
import { p as Ge } from "./chunk/ApiUrls-2RecghDh.js";
|
|
20
|
+
import { i as Ke, n as qe, r as Je, t as Ye } from "./chunk/TestingRouteOverrides-CY6cZruo.js";
|
|
21
|
+
import { A as Xe, D as Ze, O as Qe, _ as $e, a as et, c as tt, d as nt, f as rt, g as it, h as at, k as ot, l as st, m as ct, o as lt, p as ut, r as dt, s as ft, u as pt, w as mt } from "./chunk/useFooterShieldSrc-CmKqak9A.js";
|
|
22
|
+
import { a as ht, i as gt, n as _t, r as vt, t as yt } from "./chunk/hooks-Cjcd--GE.js";
|
|
23
|
+
import { i as bt, s as xt, t as St } from "./chunk/refs-Mq0rtW9K.js";
|
|
24
|
+
import { r as Ct, t as P } from "./chunk/index.es-C_UCMoRU.js";
|
|
25
|
+
import { t as wt } from "./chunk/LogoComponent-waBbF_Hz.js";
|
|
26
|
+
import { i as Tt, o as Et, s as Dt, t as Ot } from "./chunk/tslib.es6-DBUmCTli.js";
|
|
27
|
+
import { t as kt } from "./chunk/FormFooterComponent-T4dnyYOP.js";
|
|
28
|
+
import { t as At } from "./chunk/strings-DWLVdUcm.js";
|
|
29
|
+
import { t as jt } from "./chunk/AnnouncingHeader-CNUB901t.js";
|
|
28
30
|
//#region ../node_modules/react-i18next/dist/es/I18nextProvider.js
|
|
29
31
|
var F = /* @__PURE__ */ f(oe());
|
|
30
|
-
function
|
|
32
|
+
function Mt({ i18n: e, defaultNS: t, children: n }) {
|
|
31
33
|
let r = (0, F.useMemo)(() => ({
|
|
32
34
|
i18n: e,
|
|
33
35
|
defaultNS: t
|
|
@@ -36,20 +38,20 @@ function kt({ i18n: e, defaultNS: t, children: n }) {
|
|
|
36
38
|
}
|
|
37
39
|
//#endregion
|
|
38
40
|
//#region src/lib/VerificationService/ProgramTheme/ProgramTheme.ts
|
|
39
|
-
var
|
|
41
|
+
var Nt = (e, t) => {
|
|
40
42
|
e.locale && e.messages && r(e), ge(e, t);
|
|
41
|
-
},
|
|
42
|
-
let n =
|
|
43
|
-
let { programTheme: r, programConfiguration: i, programI18n: a } =
|
|
44
|
-
A.info("Setting programTheme", r), a &&
|
|
43
|
+
}, Pt = (e, t = { partial: !0 }) => {
|
|
44
|
+
let n = et(), r = n.getState(), i = () => {
|
|
45
|
+
let { programTheme: r, programConfiguration: i, programI18n: a } = ze(d(e));
|
|
46
|
+
A.info("Setting programTheme", r), a && Nt(a, t.partial), i && he(i, t.partial), ut(n.dispatch)(r, t.partial), Ie(r, t.partial);
|
|
45
47
|
};
|
|
46
|
-
r.isLoading ?
|
|
48
|
+
r.isLoading ? Ze({
|
|
47
49
|
name: "ON_VERIFICATION_READY",
|
|
48
50
|
callback: () => {
|
|
49
51
|
i();
|
|
50
52
|
}
|
|
51
53
|
}) : i();
|
|
52
|
-
},
|
|
54
|
+
}, Ft = /* @__PURE__ */ f(i(), 1), It = /* @__PURE__ */ f(Re(), 1), Lt = /* @__PURE__ */ f(ve(), 1), I = {
|
|
53
55
|
landingBackgroundColor: "#fff",
|
|
54
56
|
landingPrimaryFontColor: "#000",
|
|
55
57
|
landingBackgroundImage: "none",
|
|
@@ -63,7 +65,7 @@ var At = (e, t) => {
|
|
|
63
65
|
formFont: "var(--sheerid-font-family-sans)",
|
|
64
66
|
cssVariables: null,
|
|
65
67
|
customStyles: null
|
|
66
|
-
},
|
|
68
|
+
}, Rt = F.createContext(I), L = se(), zt = {
|
|
67
69
|
landingBackgroundColor: "--sheerid-landing-background-color",
|
|
68
70
|
landingPrimaryFontColor: "--sheerid-landing-primary-font-color",
|
|
69
71
|
landingBackgroundImage: "--sheerid-landing-background-image-url",
|
|
@@ -77,7 +79,7 @@ var At = (e, t) => {
|
|
|
77
79
|
formFont: "--sheerid-font-family-body",
|
|
78
80
|
cssVariables: null,
|
|
79
81
|
customStyles: null
|
|
80
|
-
},
|
|
82
|
+
}, Bt = {
|
|
81
83
|
"--sheerid-color-fg-05": {
|
|
82
84
|
from: "--sheerid-color-bg",
|
|
83
85
|
to: "--sheerid-color-fg",
|
|
@@ -188,18 +190,18 @@ var At = (e, t) => {
|
|
|
188
190
|
to: "--sheerid-color-fg",
|
|
189
191
|
percentage: 3
|
|
190
192
|
}
|
|
191
|
-
},
|
|
193
|
+
}, Vt = ({ themeChoices: e, customCssFromOptions: t, children: n }) => {
|
|
192
194
|
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 = {
|
|
193
|
-
[
|
|
194
|
-
[
|
|
195
|
-
[
|
|
196
|
-
[
|
|
197
|
-
...Object.entries(
|
|
195
|
+
[zt.landingBackgroundColor]: s,
|
|
196
|
+
[zt.landingPrimaryFontColor]: c,
|
|
197
|
+
[zt.landingBackgroundImage]: l === I.landingBackgroundImage ? I.landingBackgroundImage : `url(${l})`,
|
|
198
|
+
[zt.formFont]: _ === I.formFont ? I.formFont : `${_}, var(--sheerid-font-family-sans)`,
|
|
199
|
+
...Object.entries(Bt).reduce((e, [t, n]) => {
|
|
198
200
|
let r = n.from.startsWith("--") ? `var(${n.from})` : n.from, i = n.to.startsWith("--") ? `var(${n.to})` : n.to;
|
|
199
201
|
return e[t] = `color-mix(in oklab, ${r} ${100 - n.percentage}%, ${i} ${n.percentage}%)`, e;
|
|
200
202
|
}, {})
|
|
201
203
|
}, y = F.useRef(null), b = re() === ae.cdnInlineIframe, x = re() === ae.cdnModalIframe;
|
|
202
|
-
return /* @__PURE__ */ (0, L.jsx)(
|
|
204
|
+
return /* @__PURE__ */ (0, L.jsx)(Rt.Provider, {
|
|
203
205
|
value: {
|
|
204
206
|
landingBackgroundColor: s,
|
|
205
207
|
landingPrimaryFontColor: c,
|
|
@@ -223,26 +225,26 @@ var At = (e, t) => {
|
|
|
223
225
|
children: [a && /* @__PURE__ */ (0, L.jsx)("style", { children: a }), n]
|
|
224
226
|
})
|
|
225
227
|
});
|
|
226
|
-
},
|
|
227
|
-
function
|
|
228
|
-
return F.useContext(
|
|
228
|
+
}, Ht = /*#__PURE__*/ F.createContext(void 0);
|
|
229
|
+
function Ut() {
|
|
230
|
+
return F.useContext(Ht)?.direction ?? "ltr";
|
|
229
231
|
}
|
|
230
232
|
//#endregion
|
|
231
233
|
//#region ../node_modules/@base-ui/react/direction-provider/DirectionProvider.mjs
|
|
232
|
-
var
|
|
234
|
+
var Wt = function(e) {
|
|
233
235
|
let { direction: t = "ltr" } = e, n = F.useMemo(() => ({ direction: t }), [t]);
|
|
234
|
-
return /*#__PURE__*/ (0, L.jsx)(
|
|
236
|
+
return /*#__PURE__*/ (0, L.jsx)(Ht.Provider, {
|
|
235
237
|
value: n,
|
|
236
238
|
children: e.children
|
|
237
239
|
});
|
|
238
|
-
},
|
|
240
|
+
}, Gt = ({ direction: e, className: t, children: n }) => /* @__PURE__ */ (0, L.jsx)("div", {
|
|
239
241
|
dir: e,
|
|
240
242
|
className: t,
|
|
241
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
243
|
+
children: /* @__PURE__ */ (0, L.jsx)(Wt, {
|
|
242
244
|
direction: e,
|
|
243
245
|
children: n
|
|
244
246
|
})
|
|
245
|
-
}),
|
|
247
|
+
}), Kt = (e, t, n) => ({
|
|
246
248
|
minAge: t?.minAge || e?.minAge,
|
|
247
249
|
maxAge: t?.maxAge || e?.maxAge,
|
|
248
250
|
smsLoopEnabled: e?.smsLoopEnabled,
|
|
@@ -250,13 +252,13 @@ var Vt = function(e) {
|
|
|
250
252
|
transitionalMilitaryValidityDays: e?.transitionalMilitaryValidityDays,
|
|
251
253
|
currentStep: t?.currentStep,
|
|
252
254
|
viewModel: n
|
|
253
|
-
}),
|
|
254
|
-
function
|
|
255
|
-
return
|
|
255
|
+
}), qt = fe(void 0);
|
|
256
|
+
function Jt() {
|
|
257
|
+
return Pe(qt);
|
|
256
258
|
}
|
|
257
259
|
//#endregion
|
|
258
260
|
//#region src/lib/theme/themeChoicesToBrandTheme.ts
|
|
259
|
-
var
|
|
261
|
+
var Yt = (e) => ({
|
|
260
262
|
brandTheme: {
|
|
261
263
|
basics: {
|
|
262
264
|
logoUrl: e?.logoUrl || "",
|
|
@@ -273,7 +275,7 @@ var Kt = (e) => ({
|
|
|
273
275
|
inputs: { helper: { textColor: e?.helperFontColor || I.formHelperFontColor } }
|
|
274
276
|
},
|
|
275
277
|
tokenOptions: { hasBrandColor: !!e?.buttonColor }
|
|
276
|
-
}),
|
|
278
|
+
}), Xt = () => /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
277
279
|
className: "sid-spinner",
|
|
278
280
|
"data-testid": "sid-spinner",
|
|
279
281
|
children: [
|
|
@@ -285,7 +287,7 @@ var Kt = (e) => ({
|
|
|
285
287
|
});
|
|
286
288
|
//#endregion
|
|
287
289
|
//#region src/components/LoadingScreen/LoadingScreenMessage.tsx
|
|
288
|
-
function
|
|
290
|
+
function Zt({ step: e }) {
|
|
289
291
|
return /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
290
292
|
className: "sid-loading-screen__message",
|
|
291
293
|
children: [ne(e) && /* @__PURE__ */ (0, L.jsx)("div", {
|
|
@@ -300,36 +302,32 @@ function Jt({ step: e }) {
|
|
|
300
302
|
}
|
|
301
303
|
//#endregion
|
|
302
304
|
//#region src/components/LoadingScreen/LoadingScreenComponent.tsx
|
|
303
|
-
var
|
|
305
|
+
var Qt = ({ step: e }) => /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
304
306
|
className: "sid-loading-screen",
|
|
305
|
-
children: [/* @__PURE__ */ (0, L.jsx)(
|
|
306
|
-
}),
|
|
307
|
-
let
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
});
|
|
318
|
-
}
|
|
319
|
-
return null;
|
|
320
|
-
}, Zt = /* @__PURE__ */ (0, L.jsx)(P, {
|
|
307
|
+
children: [/* @__PURE__ */ (0, L.jsx)(Xt, {}), e && /* @__PURE__ */ (0, L.jsx)(Zt, { step: e })]
|
|
308
|
+
}), $t = ({ verificationService: e, linkText: t }) => {
|
|
309
|
+
let n = Dt(e);
|
|
310
|
+
return n === void 0 ? null : /* @__PURE__ */ (0, L.jsx)(le, {
|
|
311
|
+
className: "sid-faq sid-link",
|
|
312
|
+
href: n,
|
|
313
|
+
children: t || /* @__PURE__ */ (0, L.jsx)(P, {
|
|
314
|
+
id: "getHelp",
|
|
315
|
+
defaultMessage: "Get help"
|
|
316
|
+
})
|
|
317
|
+
});
|
|
318
|
+
}, en = /* @__PURE__ */ (0, L.jsx)(P, {
|
|
321
319
|
id: "poweredBy",
|
|
322
320
|
defaultMessage: "Verification services powered by SheerID."
|
|
323
|
-
}),
|
|
321
|
+
}), tn = ({ verificationService: e, isCentered: t, variant: n = "default", hideFaqLink: r = !1 }) => {
|
|
324
322
|
switch (n) {
|
|
325
323
|
case "poweredby": return /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
326
324
|
className: "sid-footer__powered-by-container-experiment",
|
|
327
325
|
children: [/* @__PURE__ */ (0, L.jsx)("div", {
|
|
328
326
|
className: "sid-footer__powered-by_powerby-experiment",
|
|
329
|
-
children:
|
|
327
|
+
children: en
|
|
330
328
|
}), !r && /* @__PURE__ */ (0, L.jsx)("div", {
|
|
331
329
|
className: "sid-footer__powered-by_powerby-experiment",
|
|
332
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
330
|
+
children: /* @__PURE__ */ (0, L.jsx)($t, { verificationService: e })
|
|
333
331
|
})]
|
|
334
332
|
});
|
|
335
333
|
case "verificationby": return /* @__PURE__ */ (0, L.jsx)("div", {
|
|
@@ -342,28 +340,28 @@ var Yt = ({ step: e }) => /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
|
342
340
|
alt: "",
|
|
343
341
|
src: "https://com-sheerid-resources.s3.us-east-1.amazonaws.com/common/images/2018/icons/sheerid_logo.svg"
|
|
344
342
|
})
|
|
345
|
-
}),
|
|
343
|
+
}), en]
|
|
346
344
|
})
|
|
347
345
|
});
|
|
348
346
|
default: return /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
349
347
|
className: t ? "sid-footer__powered-by-container--stacked sid-l-horz-center" : "sid-footer__powered-by-container",
|
|
350
348
|
children: [/* @__PURE__ */ (0, L.jsx)("div", {
|
|
351
349
|
className: t ? "sid-footer__powered-by--stacked sid-l-horz-center" : "sid-footer__powered-by",
|
|
352
|
-
children:
|
|
350
|
+
children: en
|
|
353
351
|
}), !r && /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
354
352
|
className: t ? "sid-l-space-top-sm" : "",
|
|
355
|
-
children: ["\xA0", /* @__PURE__ */ (0, L.jsx)(
|
|
353
|
+
children: ["\xA0", /* @__PURE__ */ (0, L.jsx)($t, { verificationService: e })]
|
|
356
354
|
})]
|
|
357
355
|
});
|
|
358
356
|
}
|
|
359
|
-
},
|
|
357
|
+
}, nn = (e, t) => {
|
|
360
358
|
let n = F.useRef(null);
|
|
361
359
|
function r() {
|
|
362
360
|
clearInterval(n.current);
|
|
363
361
|
}
|
|
364
362
|
return F.useEffect(() => (n.current = setInterval(e, t), () => r()), [e, t]), r;
|
|
365
|
-
},
|
|
366
|
-
let a =
|
|
363
|
+
}, rn = ({ stepName: e, messages: t, logo: n, cancelSingleSignOn: r, cancelButtonType: i = sn.PRIMARY }) => {
|
|
364
|
+
let a = At(e);
|
|
367
365
|
return /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
368
366
|
className: "sid-header sid-l-horz-center",
|
|
369
367
|
children: [
|
|
@@ -371,7 +369,7 @@ var Yt = ({ step: e }) => /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
|
371
369
|
className: "sid-pending-logo-container sid-l-horz-center",
|
|
372
370
|
children: n
|
|
373
371
|
}),
|
|
374
|
-
/* @__PURE__ */ (0, L.jsx)(
|
|
372
|
+
/* @__PURE__ */ (0, L.jsx)(jt, {
|
|
375
373
|
align: "center",
|
|
376
374
|
children: t.title
|
|
377
375
|
}),
|
|
@@ -387,7 +385,7 @@ var Yt = ({ step: e }) => /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
|
387
385
|
children: /* @__PURE__ */ (0, L.jsx)("button", {
|
|
388
386
|
onClick: r,
|
|
389
387
|
type: "submit",
|
|
390
|
-
className: `sid-btn sid-${a}-pending-submit-btn ${i ===
|
|
388
|
+
className: `sid-btn sid-${a}-pending-submit-btn ${i === sn.SECONDARY ? "sid-btn-light" : "sid-btn--dark"} sid-l-full-width`,
|
|
391
389
|
"aria-label": "submit",
|
|
392
390
|
children: t.cancel
|
|
393
391
|
})
|
|
@@ -396,20 +394,20 @@ var Yt = ({ step: e }) => /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
|
396
394
|
t?.subtitle2 ? /* @__PURE__ */ (0, L.jsx)("div", { className: "sid-l-space-top-xl" }) : /* @__PURE__ */ (0, L.jsx)("div", { className: "sid-l-space-top-lg" })
|
|
397
395
|
]
|
|
398
396
|
});
|
|
399
|
-
},
|
|
397
|
+
}, an = ({ stepName: e, messages: t, logo: n, cancelSingleSignOn: r, cancelButtonType: i = sn.PRIMARY }) => /* @__PURE__ */ (0, L.jsx)(rn, {
|
|
400
398
|
messages: t,
|
|
401
399
|
stepName: e,
|
|
402
400
|
logo: n,
|
|
403
401
|
cancelSingleSignOn: r,
|
|
404
402
|
cancelButtonType: i
|
|
405
|
-
}),
|
|
406
|
-
let i =
|
|
403
|
+
}), on = ({ messages: e, verificationService: t, updateViewModelAndOpenLoginTab: n, dashedStepName: r }) => {
|
|
404
|
+
let i = yt("hc-my-sheer-id-theme-builder");
|
|
407
405
|
return /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
408
406
|
className: "sid-header sid-l-horz-center",
|
|
409
407
|
children: [
|
|
410
408
|
/* @__PURE__ */ (0, L.jsx)("div", {
|
|
411
409
|
className: `sid-${r}-logo-container sid-l-horz-center`,
|
|
412
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
410
|
+
children: /* @__PURE__ */ (0, L.jsx)(wt, {
|
|
413
411
|
verificationService: t,
|
|
414
412
|
fallbackLogo: !i && /* @__PURE__ */ (0, L.jsx)("img", {
|
|
415
413
|
className: `sid-${r}-logo-default sid-l-lead-image`,
|
|
@@ -418,7 +416,7 @@ var Yt = ({ step: e }) => /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
|
418
416
|
})
|
|
419
417
|
})
|
|
420
418
|
}),
|
|
421
|
-
/* @__PURE__ */ (0, L.jsx)(
|
|
419
|
+
/* @__PURE__ */ (0, L.jsx)(jt, {
|
|
422
420
|
align: "center",
|
|
423
421
|
children: e.title
|
|
424
422
|
}),
|
|
@@ -439,10 +437,10 @@ var Yt = ({ step: e }) => /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
|
439
437
|
/* @__PURE__ */ (0, L.jsx)("div", { className: "sid-l-space-top-lg" })
|
|
440
438
|
]
|
|
441
439
|
});
|
|
442
|
-
},
|
|
440
|
+
}, sn = /* @__PURE__ */ function(e) {
|
|
443
441
|
return e.PRIMARY = "primary", e.SECONDARY = "secondary", e;
|
|
444
|
-
}({}),
|
|
445
|
-
let { programId: a } = e, o = e.viewModel, s = e.previousViewModel || void 0, c = e.verificationResponse, l = e.previousVerificationResponse || void 0, { verificationId: u, locale: d } = e.verificationResponse, f =
|
|
442
|
+
}({}), cn = ({ verificationService: e, stepName: n, messages: r, cancelButtonType: i = "primary" }) => {
|
|
443
|
+
let { programId: a } = e, o = e.viewModel, s = e.previousViewModel || void 0, c = e.verificationResponse, l = e.previousVerificationResponse || void 0, { verificationId: u, locale: d } = e.verificationResponse, f = Ke(), p = At(n), m = yt("hc-my-sheer-id-theme-builder"), h, g = /* @__PURE__ */ (0, L.jsx)(wt, {
|
|
446
444
|
verificationService: e,
|
|
447
445
|
fallbackLogo: !m && /* @__PURE__ */ (0, L.jsx)("img", {
|
|
448
446
|
className: `sid-${p}-logo-default sid-l-lead-image`,
|
|
@@ -461,7 +459,7 @@ var Yt = ({ step: e }) => /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
|
461
459
|
programId: a,
|
|
462
460
|
locale: d,
|
|
463
461
|
verificationId: u
|
|
464
|
-
}),
|
|
462
|
+
}), St();
|
|
465
463
|
let r = k(o, () => {});
|
|
466
464
|
A.info("SingleSignOnComponent submitting cancel request"), clearTimeout(h), e.submitStep(n, r, e.verificationResponse);
|
|
467
465
|
}, x = (e, n) => {
|
|
@@ -471,8 +469,8 @@ var Yt = ({ step: e }) => /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
|
471
469
|
verificationId: u
|
|
472
470
|
}), y(e, n), S();
|
|
473
471
|
}, S = () => {
|
|
474
|
-
let e = n === j.sso ?
|
|
475
|
-
_(e) ? (
|
|
472
|
+
let e = n === j.sso ? He(c.loginUrl) : c.loginUrl;
|
|
473
|
+
_(e) ? (xt(window.open(e, "_blank")), bt().focus()) : A.error("Invalid loginUrl - must be an absolute http(s) URL. Not opening the login tab.", "sso loginUrl");
|
|
476
474
|
};
|
|
477
475
|
return o.isSingleSignOnActive && !f && (h = v()), !o.countryChoice && s && s.countryChoice && y("countryChoice", s.countryChoice), /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
478
476
|
id: `sid-step-${p}`,
|
|
@@ -480,21 +478,21 @@ var Yt = ({ step: e }) => /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
|
480
478
|
"data-testid": `sid-step-${p}`,
|
|
481
479
|
children: [/* @__PURE__ */ (0, L.jsx)("div", {
|
|
482
480
|
role: "main",
|
|
483
|
-
children: o.isSingleSignOnActive ? /* @__PURE__ */ (0, L.jsx)(
|
|
481
|
+
children: o.isSingleSignOnActive ? /* @__PURE__ */ (0, L.jsx)(an, {
|
|
484
482
|
stepName: n,
|
|
485
483
|
messages: r,
|
|
486
484
|
logo: g,
|
|
487
485
|
cancelSingleSignOn: b,
|
|
488
486
|
cancelButtonType: i
|
|
489
|
-
}) : /* @__PURE__ */ (0, L.jsx)(
|
|
487
|
+
}) : /* @__PURE__ */ (0, L.jsx)(on, {
|
|
490
488
|
verificationService: e,
|
|
491
489
|
messages: r,
|
|
492
490
|
updateViewModelAndOpenLoginTab: x,
|
|
493
491
|
dashedStepName: p
|
|
494
492
|
})
|
|
495
|
-
}), /* @__PURE__ */ (0, L.jsx)(
|
|
493
|
+
}), /* @__PURE__ */ (0, L.jsx)(kt, { verificationService: e })]
|
|
496
494
|
});
|
|
497
|
-
},
|
|
495
|
+
}, ln = {
|
|
498
496
|
title: /* @__PURE__ */ (0, L.jsx)(P, {
|
|
499
497
|
id: "step.sso.title",
|
|
500
498
|
defaultMessage: "Verify using your school credentials",
|
|
@@ -516,11 +514,11 @@ var Yt = ({ step: e }) => /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
|
516
514
|
id: "step.sso.subtitle2",
|
|
517
515
|
defaultMessage: "Can't sign in to your school?"
|
|
518
516
|
})
|
|
519
|
-
},
|
|
517
|
+
}, un = ({ verificationService: e }) => /* @__PURE__ */ (0, L.jsx)(cn, {
|
|
520
518
|
verificationService: e,
|
|
521
519
|
stepName: j.sso,
|
|
522
|
-
messages:
|
|
523
|
-
}),
|
|
520
|
+
messages: ln
|
|
521
|
+
}), dn = ({ logo: e }) => /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
524
522
|
className: "sid-header sid-l-horz-center",
|
|
525
523
|
"data-testid": "sid-review-pending",
|
|
526
524
|
children: [
|
|
@@ -528,7 +526,7 @@ var Yt = ({ step: e }) => /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
|
528
526
|
className: "sid-l-horz-center",
|
|
529
527
|
children: e
|
|
530
528
|
}),
|
|
531
|
-
/* @__PURE__ */ (0, L.jsx)(
|
|
529
|
+
/* @__PURE__ */ (0, L.jsx)(jt, {
|
|
532
530
|
align: "center",
|
|
533
531
|
children: /* @__PURE__ */ (0, L.jsx)(P, {
|
|
534
532
|
id: "step.pending.titleReview",
|
|
@@ -560,7 +558,7 @@ var Yt = ({ step: e }) => /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
|
560
558
|
}),
|
|
561
559
|
/* @__PURE__ */ (0, L.jsx)("div", { className: "sid-l-space-top-xl" })
|
|
562
560
|
]
|
|
563
|
-
}),
|
|
561
|
+
}), fn = ({ logo: e }) => /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
564
562
|
className: "sid-header sid-l-horz-center",
|
|
565
563
|
"data-testid": "sid-review-pending",
|
|
566
564
|
children: [
|
|
@@ -568,7 +566,7 @@ var Yt = ({ step: e }) => /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
|
568
566
|
className: "sid-l-horz-center",
|
|
569
567
|
children: e
|
|
570
568
|
}),
|
|
571
|
-
/* @__PURE__ */ (0, L.jsx)(
|
|
569
|
+
/* @__PURE__ */ (0, L.jsx)(jt, {
|
|
572
570
|
align: "center",
|
|
573
571
|
children: /* @__PURE__ */ (0, L.jsx)(P, {
|
|
574
572
|
id: "step.pending.idCheckLoop.title",
|
|
@@ -592,7 +590,7 @@ var Yt = ({ step: e }) => /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
|
592
590
|
}),
|
|
593
591
|
/* @__PURE__ */ (0, L.jsx)("div", { className: "sid-l-space-top-xl" })
|
|
594
592
|
]
|
|
595
|
-
}),
|
|
593
|
+
}), pn = { [M.SIGNZY]: {
|
|
596
594
|
title: /* @__PURE__ */ (0, L.jsx)(P, {
|
|
597
595
|
id: "step.thirdPartyLoop.signzy.title",
|
|
598
596
|
tagName: "h1",
|
|
@@ -610,7 +608,7 @@ var Yt = ({ step: e }) => /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
|
610
608
|
id: "step.thirdPartyLoop.signzy.cancel",
|
|
611
609
|
defaultMessage: "Upload Proof of Identity"
|
|
612
610
|
})
|
|
613
|
-
} },
|
|
611
|
+
} }, mn = ({ logo: e, isStepRoot: t = !1 }) => {
|
|
614
612
|
let n = /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
615
613
|
className: "sid-header sid-l-horz-center",
|
|
616
614
|
children: [
|
|
@@ -618,7 +616,7 @@ var Yt = ({ step: e }) => /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
|
618
616
|
className: "sid-error-logo-container sid-l-horz-center",
|
|
619
617
|
children: e
|
|
620
618
|
}),
|
|
621
|
-
/* @__PURE__ */ (0, L.jsx)(
|
|
619
|
+
/* @__PURE__ */ (0, L.jsx)(jt, {
|
|
622
620
|
align: "center",
|
|
623
621
|
children: /* @__PURE__ */ (0, L.jsx)(P, {
|
|
624
622
|
id: "error",
|
|
@@ -646,16 +644,16 @@ var Yt = ({ step: e }) => /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
|
646
644
|
children: n
|
|
647
645
|
}) : n
|
|
648
646
|
});
|
|
649
|
-
},
|
|
650
|
-
let t =
|
|
651
|
-
return t ? /* @__PURE__ */ (0, L.jsx)(
|
|
647
|
+
}, hn = ({ verificationService: e }) => {
|
|
648
|
+
let t = pn[e.verificationResponse.thirdPartyLoopProvider] || void 0, n = yt("hc-my-sheer-id-theme-builder");
|
|
649
|
+
return t ? /* @__PURE__ */ (0, L.jsx)(cn, {
|
|
652
650
|
verificationService: e,
|
|
653
651
|
stepName: j.thirdPartyLoop,
|
|
654
652
|
messages: t,
|
|
655
|
-
cancelButtonType:
|
|
656
|
-
}) : /* @__PURE__ */ (0, L.jsx)(
|
|
653
|
+
cancelButtonType: sn.SECONDARY
|
|
654
|
+
}) : /* @__PURE__ */ (0, L.jsx)(mn, {
|
|
657
655
|
isStepRoot: !0,
|
|
658
|
-
logo: /* @__PURE__ */ (0, L.jsx)(
|
|
656
|
+
logo: /* @__PURE__ */ (0, L.jsx)(wt, {
|
|
659
657
|
verificationService: e,
|
|
660
658
|
fallbackLogo: !n && /* @__PURE__ */ (0, L.jsx)("img", {
|
|
661
659
|
className: "sid-error-logo sid-l-lead-image",
|
|
@@ -664,28 +662,28 @@ var Yt = ({ step: e }) => /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
|
664
662
|
})
|
|
665
663
|
})
|
|
666
664
|
});
|
|
667
|
-
},
|
|
668
|
-
let i =
|
|
669
|
-
return i ? /* @__PURE__ */ (0, L.jsx)(
|
|
665
|
+
}, gn = ({ logo: e, verificationLastResponse: t, cancelThirdPartyLoop: n, isMockingPreviousStepThirdPartyLoop: r }) => {
|
|
666
|
+
let i = pn[r ? Je(ee) : t?.thirdPartyLoopProvider] || void 0;
|
|
667
|
+
return i ? /* @__PURE__ */ (0, L.jsx)(an, {
|
|
670
668
|
stepName: j.thirdPartyLoop,
|
|
671
669
|
messages: i,
|
|
672
670
|
logo: e,
|
|
673
671
|
cancelSingleSignOn: n,
|
|
674
|
-
cancelButtonType:
|
|
675
|
-
}) : /* @__PURE__ */ (0, L.jsx)(
|
|
676
|
-
},
|
|
677
|
-
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 =
|
|
672
|
+
cancelButtonType: sn.SECONDARY
|
|
673
|
+
}) : /* @__PURE__ */ (0, L.jsx)(mn, { logo: e });
|
|
674
|
+
}, _n = 5e3, vn = 2e4, yn = 2e4, bn = 2e3, xn = ({ verificationService: e }) => {
|
|
675
|
+
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 = Ke(), s = qe() && qe() === j.sso, c = qe() && qe() === j.thirdPartyLoop, l = qe() && qe() === j.idCheckLoop, u = yt("hc-my-sheer-id-theme-builder"), d = () => i?.currentStep === j.sso, f = () => i?.currentStep === j.thirdPartyLoop, p = () => i?.currentStep === j.idCheckLoop, m = d() || f() || s || c, h = p() || l, g = !m && !h, [_, v] = F.useState(() => m ? bn : h ? yn : _n);
|
|
678
676
|
F.useEffect(() => {
|
|
679
677
|
if (!g) return;
|
|
680
|
-
let e = setTimeout(() => v(
|
|
678
|
+
let e = setTimeout(() => v(yn), vn);
|
|
681
679
|
return () => clearTimeout(e);
|
|
682
680
|
}, [g]);
|
|
683
|
-
let y = !o &&
|
|
681
|
+
let y = !o && nn(() => {
|
|
684
682
|
e.fetchExistingVerificationRequest(t, a, i, r, !1);
|
|
685
683
|
}, _), b = (t) => {
|
|
686
684
|
let r = k(n, () => {});
|
|
687
|
-
A.info("StepSingleSignOnComponent submitting cancel request, step:", t), y(),
|
|
688
|
-
}, x = /* @__PURE__ */ (0, L.jsx)(
|
|
685
|
+
A.info("StepSingleSignOnComponent submitting cancel request, step:", t), y(), St(), e.submitStep(t, r, i);
|
|
686
|
+
}, x = /* @__PURE__ */ (0, L.jsx)(wt, {
|
|
689
687
|
verificationService: e,
|
|
690
688
|
fallbackLogo: !u && /* @__PURE__ */ (0, L.jsx)("img", {
|
|
691
689
|
className: "sid-l-lead-image",
|
|
@@ -700,33 +698,33 @@ var Yt = ({ step: e }) => /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
|
700
698
|
role: "main",
|
|
701
699
|
children: (() => {
|
|
702
700
|
let e = d() || s, t = f() || c, n = p() || l;
|
|
703
|
-
return e ? /* @__PURE__ */ (0, L.jsx)(
|
|
701
|
+
return e ? /* @__PURE__ */ (0, L.jsx)(an, {
|
|
704
702
|
stepName: j.sso,
|
|
705
|
-
messages:
|
|
703
|
+
messages: ln,
|
|
706
704
|
logo: x,
|
|
707
705
|
cancelSingleSignOn: () => b(j.sso)
|
|
708
|
-
}) : t ? /* @__PURE__ */ (0, L.jsx)(
|
|
706
|
+
}) : t ? /* @__PURE__ */ (0, L.jsx)(gn, {
|
|
709
707
|
logo: x,
|
|
710
708
|
cancelThirdPartyLoop: () => b(j.thirdPartyLoop),
|
|
711
709
|
verificationLastResponse: i,
|
|
712
710
|
isMockingPreviousStepThirdPartyLoop: c
|
|
713
|
-
}) : n ? /* @__PURE__ */ (0, L.jsx)(
|
|
711
|
+
}) : n ? /* @__PURE__ */ (0, L.jsx)(fn, { logo: x }) : /* @__PURE__ */ (0, L.jsx)(dn, { logo: x });
|
|
714
712
|
})()
|
|
715
|
-
}), h ? /* @__PURE__ */ (0, L.jsx)(
|
|
713
|
+
}), h ? /* @__PURE__ */ (0, L.jsx)(tn, {
|
|
716
714
|
verificationService: e,
|
|
717
715
|
isCentered: !0
|
|
718
|
-
}) : /* @__PURE__ */ (0, L.jsxs)(
|
|
716
|
+
}) : /* @__PURE__ */ (0, L.jsxs)(kt, {
|
|
719
717
|
verificationService: e,
|
|
720
718
|
children: [/* @__PURE__ */ (0, L.jsx)("div", {}), " "]
|
|
721
719
|
})]
|
|
722
720
|
});
|
|
723
|
-
},
|
|
721
|
+
}, Sn = () => {
|
|
724
722
|
let e = ke(), t = Ne(), n = Ee(), r = u(() => n.segment), i = F.useCallback(() => {
|
|
725
723
|
if (window.self !== window.top) {
|
|
726
724
|
let e = new URL(window.location.href);
|
|
727
725
|
e.searchParams.delete("verificationId"), window.location.replace(e);
|
|
728
726
|
} else (async () => {
|
|
729
|
-
|
|
727
|
+
st(e)(), await tt(e)(t, r, void 0, void 0, !0);
|
|
730
728
|
})();
|
|
731
729
|
}, [
|
|
732
730
|
e,
|
|
@@ -740,10 +738,10 @@ var Yt = ({ step: e }) => /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
|
740
738
|
onKeyPress: i,
|
|
741
739
|
children: /* @__PURE__ */ (0, L.jsx)(N, { id: "tryAgain" })
|
|
742
740
|
});
|
|
743
|
-
},
|
|
741
|
+
}, Cn = ({ allowReset: e = !0 }) => {
|
|
744
742
|
let t = Me()?.tryAgainButton;
|
|
745
743
|
switch (t?.mode) {
|
|
746
|
-
case "RESET": return e ? /* @__PURE__ */ (0, L.jsx)(
|
|
744
|
+
case "RESET": return e ? /* @__PURE__ */ (0, L.jsx)(Sn, {}) : null;
|
|
747
745
|
case "REDIRECT": return _(t.url) ? /* @__PURE__ */ (0, L.jsx)(le, {
|
|
748
746
|
href: t.url,
|
|
749
747
|
target: "_top",
|
|
@@ -752,13 +750,13 @@ var Yt = ({ step: e }) => /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
|
752
750
|
}) : (A.error("Invalid tryAgainButton redirect url - must be an absolute http(s) URL."), null);
|
|
753
751
|
default: return null;
|
|
754
752
|
}
|
|
755
|
-
},
|
|
753
|
+
}, wn = {
|
|
756
754
|
NONE: "none",
|
|
757
755
|
RESET: "reset",
|
|
758
756
|
POSTMESSAGE: "postMessage",
|
|
759
757
|
REDIRECT: "redirect"
|
|
760
|
-
},
|
|
761
|
-
let e = Ee(), t = () =>
|
|
758
|
+
}, Tn = () => {
|
|
759
|
+
let e = Ee(), t = () => Be({
|
|
762
760
|
action: "tryAgain",
|
|
763
761
|
verificationResponse: e
|
|
764
762
|
});
|
|
@@ -769,52 +767,52 @@ var Yt = ({ step: e }) => /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
|
769
767
|
onKeyPress: t,
|
|
770
768
|
children: /* @__PURE__ */ (0, L.jsx)(N, { id: "tryAgain" })
|
|
771
769
|
});
|
|
772
|
-
},
|
|
770
|
+
}, En = ({ redirectUrl: e, target: t = "_blank" }) => /* @__PURE__ */ (0, L.jsx)(le, {
|
|
773
771
|
target: t,
|
|
774
772
|
href: e.toString(),
|
|
775
773
|
className: "sid-btn sid-btn--dark",
|
|
776
774
|
children: /* @__PURE__ */ (0, L.jsx)(N, { id: "seeOtherOffers" })
|
|
777
|
-
}),
|
|
778
|
-
if (!(typeof e == "object" && "type" in e && Object.values(
|
|
779
|
-
},
|
|
775
|
+
}), Dn = (e) => {
|
|
776
|
+
if (!(typeof e == "object" && "type" in e && Object.values(wn).includes(e.type))) throw RangeError("Invalid tryAgainAction option type - using default TryAgainButton.");
|
|
777
|
+
}, On = ({ allowReset: e = !0 }) => {
|
|
780
778
|
let t = T("tryAgainAction");
|
|
781
|
-
if (!e && t?.type ===
|
|
779
|
+
if (!e && t?.type === wn.RESET) return null;
|
|
782
780
|
try {
|
|
783
|
-
switch (
|
|
784
|
-
case
|
|
785
|
-
case
|
|
786
|
-
case
|
|
781
|
+
switch (Dn(t), t.type) {
|
|
782
|
+
case wn.NONE: return null;
|
|
783
|
+
case wn.POSTMESSAGE: return window.self === window.top ? (A.error(`Invalid tryAgainAction option type "${t.type}" - page must be embedded in an iframe.`), null) : /* @__PURE__ */ (0, L.jsx)(Tn, {});
|
|
784
|
+
case wn.REDIRECT:
|
|
787
785
|
if (!_(t.url)) throw RangeError("Invalid tryAgainAction redirect url - must be an absolute http(s) URL. Using default TryAgainButton.");
|
|
788
|
-
return /* @__PURE__ */ (0, L.jsx)(
|
|
786
|
+
return /* @__PURE__ */ (0, L.jsx)(En, {
|
|
789
787
|
redirectUrl: t.url,
|
|
790
788
|
target: t.target
|
|
791
789
|
});
|
|
792
|
-
case
|
|
790
|
+
case wn.RESET: return /* @__PURE__ */ (0, L.jsx)(Sn, {});
|
|
793
791
|
default: throw RangeError("Invalid tryAgainAction option type - using default TryAgainButton.");
|
|
794
792
|
}
|
|
795
793
|
} catch (e) {
|
|
796
|
-
return A.error(e.message), /* @__PURE__ */ (0, L.jsx)(
|
|
794
|
+
return A.error(e.message), /* @__PURE__ */ (0, L.jsx)(Sn, {});
|
|
797
795
|
}
|
|
798
|
-
},
|
|
796
|
+
}, kn = ({ allowReset: e = !0 }) => yt("hc-my-sheer-id-theme-builder") === !0 ? /* @__PURE__ */ (0, L.jsx)(Cn, { allowReset: e }) : /* @__PURE__ */ (0, L.jsx)(On, { allowReset: e }), An = [
|
|
799
797
|
"docReviewLimitExceeded",
|
|
800
798
|
"verificationLimitExceeded",
|
|
801
799
|
"fraudRulesReject"
|
|
802
|
-
],
|
|
800
|
+
], jn = ({ errorIds: e }) => {
|
|
803
801
|
let t = we(), n = e[0], r = t?.[`step.error.errorId.${n}.title`] ? `step.error.errorId.${n}.title` : "step.error.title";
|
|
804
|
-
return /* @__PURE__ */ (0, L.jsx)(
|
|
802
|
+
return /* @__PURE__ */ (0, L.jsx)(jt, {
|
|
805
803
|
align: "center",
|
|
806
804
|
children: /* @__PURE__ */ (0, L.jsx)("h1", { children: /* @__PURE__ */ (0, L.jsx)(N, { id: r }) })
|
|
807
805
|
});
|
|
808
|
-
},
|
|
806
|
+
}, Mn = ({ errorIds: e, errorDetailId: t }) => {
|
|
809
807
|
let n = /* @__PURE__ */ new Map();
|
|
810
808
|
return t ? n.set(t, `errorDetailId.${t}`) : e?.forEach((e) => n.set(e, `errorId.${e}`)), n.size > 0 ? /* @__PURE__ */ (0, L.jsx)("p", { children: Array.from(n).map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(N, { id: t }, t)) }) : null;
|
|
811
|
-
},
|
|
809
|
+
}, Nn = ({ errorIds: e }) => {
|
|
812
810
|
let t = we(), n = `step.error.errorId.${e[0]}.note`;
|
|
813
811
|
return t?.[n] ? /* @__PURE__ */ (0, L.jsx)("p", {
|
|
814
812
|
className: "sid-error-note sid-h-small-text",
|
|
815
813
|
children: /* @__PURE__ */ (0, L.jsx)(N, { id: n })
|
|
816
814
|
}) : null;
|
|
817
|
-
},
|
|
815
|
+
}, Pn = ({ verificationService: e, errorIds: t, redirectUrl: n }) => {
|
|
818
816
|
let r = we();
|
|
819
817
|
if (t.includes("unauthorizedAccountStatus")) {
|
|
820
818
|
let t = u(() => e.programTheme.config.brandInfo.faqUrl);
|
|
@@ -826,18 +824,18 @@ var Yt = ({ step: e }) => /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
|
826
824
|
}) : null;
|
|
827
825
|
}
|
|
828
826
|
if (t.includes("verificationLimitExceeded")) return null;
|
|
829
|
-
if (t.includes("missingRequiredMetadata") || t.includes("missingRequiredExternalId")) return /* @__PURE__ */ (0, L.jsx)(
|
|
827
|
+
if (t.includes("missingRequiredMetadata") || t.includes("missingRequiredExternalId")) return /* @__PURE__ */ (0, L.jsx)(kn, { allowReset: !1 });
|
|
830
828
|
let i = t[0];
|
|
831
829
|
return r?.[`step.error.errorId.${i}.buttonText`] && _(n) ? /* @__PURE__ */ (0, L.jsx)(le, {
|
|
832
830
|
href: n,
|
|
833
831
|
onClick: () => c(j.error, n),
|
|
834
832
|
className: "sid-btn sid-error-btn sid-btn-light",
|
|
835
833
|
children: /* @__PURE__ */ (0, L.jsx)(N, { id: `step.error.errorId.${i}.buttonText` })
|
|
836
|
-
}) : /* @__PURE__ */ (0, L.jsx)(
|
|
837
|
-
},
|
|
838
|
-
let { errorIds: n, redirectUrl: r, errorDetailId: i } = e.verificationResponse, a =
|
|
834
|
+
}) : /* @__PURE__ */ (0, L.jsx)(kn, {});
|
|
835
|
+
}, Fn = ({ verificationService: e, errorId: t }) => {
|
|
836
|
+
let { errorIds: n, redirectUrl: r, errorDetailId: i } = e.verificationResponse, a = yt("hc-my-sheer-id-theme-builder"), o = /* @__PURE__ */ new Set();
|
|
839
837
|
t && o.add(t), Array.isArray(n) && n.forEach((e) => o.add(e));
|
|
840
|
-
let s = Array.from(o), c = s.some((e) =>
|
|
838
|
+
let s = Array.from(o), c = s.some((e) => An.includes(e));
|
|
841
839
|
return /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
842
840
|
id: "sid-step-error",
|
|
843
841
|
className: "sid-error-container sid-l-container",
|
|
@@ -847,7 +845,7 @@ var Yt = ({ step: e }) => /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
|
847
845
|
children: [
|
|
848
846
|
/* @__PURE__ */ (0, L.jsx)("div", {
|
|
849
847
|
className: "sid-error-logo-container sid-l-horz-center",
|
|
850
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
848
|
+
children: /* @__PURE__ */ (0, L.jsx)(wt, {
|
|
851
849
|
verificationService: e,
|
|
852
850
|
fallbackLogo: !a && /* @__PURE__ */ (0, L.jsx)("img", {
|
|
853
851
|
className: "sid-error-logo sid-l-lead-image",
|
|
@@ -856,16 +854,16 @@ var Yt = ({ step: e }) => /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
|
856
854
|
})
|
|
857
855
|
})
|
|
858
856
|
}),
|
|
859
|
-
/* @__PURE__ */ (0, L.jsx)(
|
|
857
|
+
/* @__PURE__ */ (0, L.jsx)(jn, { errorIds: s }),
|
|
860
858
|
/* @__PURE__ */ (0, L.jsxs)("div", {
|
|
861
859
|
className: "sid-header__subtitle sid-l-horz-center sid-l-space-top-md",
|
|
862
860
|
children: [
|
|
863
861
|
/* @__PURE__ */ (0, L.jsxs)("div", {
|
|
864
862
|
className: "sid-error-msg sid-l-horz-center",
|
|
865
|
-
children: [/* @__PURE__ */ (0, L.jsx)(
|
|
863
|
+
children: [/* @__PURE__ */ (0, L.jsx)(Mn, {
|
|
866
864
|
errorIds: s,
|
|
867
865
|
errorDetailId: i
|
|
868
|
-
}), /* @__PURE__ */ (0, L.jsx)(
|
|
866
|
+
}), /* @__PURE__ */ (0, L.jsx)(Nn, { errorIds: s })]
|
|
869
867
|
}),
|
|
870
868
|
c && /* @__PURE__ */ (0, L.jsx)("p", {
|
|
871
869
|
className: "sid-error-contact-support sid-l-space-top-md",
|
|
@@ -873,7 +871,7 @@ var Yt = ({ step: e }) => /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
|
873
871
|
}),
|
|
874
872
|
/* @__PURE__ */ (0, L.jsx)("div", {
|
|
875
873
|
className: "sid-l-space-top-lg sid-error-button-container sid-l-horz-center",
|
|
876
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
874
|
+
children: /* @__PURE__ */ (0, L.jsx)(Pn, {
|
|
877
875
|
verificationService: e,
|
|
878
876
|
errorIds: s,
|
|
879
877
|
redirectUrl: r
|
|
@@ -884,49 +882,49 @@ var Yt = ({ step: e }) => /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
|
884
882
|
]
|
|
885
883
|
}), /* @__PURE__ */ (0, L.jsx)("div", {
|
|
886
884
|
className: "sid-footer sid-powered-by-container sid-l-horz-center sid-l-space-top-xl sid-h-small-text",
|
|
887
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
885
|
+
children: /* @__PURE__ */ (0, L.jsx)(tn, {
|
|
888
886
|
verificationService: e,
|
|
889
887
|
isCentered: !0,
|
|
890
888
|
hideFaqLink: c
|
|
891
889
|
})
|
|
892
890
|
})]
|
|
893
891
|
});
|
|
894
|
-
},
|
|
895
|
-
StepPendingComponent:
|
|
896
|
-
StepErrorComponent:
|
|
897
|
-
StepStudentPersonalInfoComponent: F.lazy(() => import("./chunk/StepStudentPersonalInfo-
|
|
898
|
-
StepOverrideComponent: F.lazy(() => import("./chunk/StepOverrideComponent-
|
|
899
|
-
StepAgePersonalInfoComponent: F.lazy(() => import("./chunk/StepAgePersonalInfo-
|
|
900
|
-
StepSeniorPersonalInfoComponent: F.lazy(() => import("./chunk/StepAgePersonalInfo-
|
|
901
|
-
StepCollectMilitaryPersonalInfoComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-
|
|
902
|
-
StepCollectMilitaryStatusComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-
|
|
903
|
-
StepActiveMilitaryPersonalInfoComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-
|
|
904
|
-
StepInactiveMilitaryPersonalInfoComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-
|
|
905
|
-
StepDriverLicensePersonalInfoComponent: F.lazy(() => import("./chunk/StepDriverLicensePersonalInfoComponent-
|
|
906
|
-
StepEmploymentPersonalInfoComponent: F.lazy(() => import("./chunk/StepEmploymentPersonalInfo-
|
|
907
|
-
StepFirstResponderPersonalInfoComponent: F.lazy(() => import("./chunk/StepFirstResponderPersonalInfo-
|
|
908
|
-
StepGeneralIdentityPersonalInfoComponent: F.lazy(() => import("./chunk/StepGeneralIdentityPersonalInfoComponent-
|
|
909
|
-
StepHybridIdentityPersonalInfoComponent: F.lazy(() => import("./chunk/StepHybridIdentityPersonalInfoComponent-
|
|
910
|
-
StepIDCheckLoopComponent: F.lazy(() => import("./chunk/StepIDCheckLoop-
|
|
911
|
-
StepLicensedProfessionalPersonalInfoComponent: F.lazy(() => import("./chunk/StepLicensedProfessionalPersonalInfo-
|
|
912
|
-
StepLowIncomePersonalInfoComponent: F.lazy(() => import("./chunk/StepLowIncomePersonalInfo-
|
|
913
|
-
StepMedicalProfessionalPersonalInfoComponent: F.lazy(() => import("./chunk/StepMedicalProfessionalPersonalInfo-
|
|
914
|
-
StepMemberPersonalInfoComponent: F.lazy(() => import("./chunk/StepMemberPersonalInfo-
|
|
915
|
-
StepConsolationComponent: F.lazy(() => import("./chunk/StepConsolation-
|
|
916
|
-
StepDocUploadComponent: F.lazy(() => import("./chunk/StepDocUpload-
|
|
917
|
-
StepEmailLoopComponent: F.lazy(() => import("./chunk/StepEmailLoop-
|
|
918
|
-
StepPendingEmailLoopComponent: F.lazy(() => import("./chunk/EmailLoopPending-
|
|
919
|
-
StepMoverPersonalInfoComponent: F.lazy(() => import("./chunk/StepMoverPersonalInfo-
|
|
920
|
-
StepSMSLoopComponent: F.lazy(() => import("./chunk/StepSMSLoop-
|
|
921
|
-
StepSocialSecurity: F.lazy(() => import("./chunk/StepSocialSecurityNumber-
|
|
922
|
-
StepSSOComponent: F.lazy(() => import("./chunk/StepSSO-
|
|
923
|
-
StepSuccessComponent: F.lazy(() => import("./chunk/StepSuccess-
|
|
924
|
-
StepTeacherPersonalInfoComponent: F.lazy(() => import("./chunk/StepTeacherPersonalInfo-
|
|
925
|
-
StepCompleteAuthentication: F.lazy(() => import("./chunk/StepCompleteAuthentication-
|
|
926
|
-
StepCollectIdentifierComponent: F.lazy(() => import("./chunk/StepCollectIdentifier-
|
|
927
|
-
StepCollectPersonalInfo: F.lazy(() => import("./chunk/StepCollectPersonalInfo-
|
|
928
|
-
StepThirdPartyLoopComponent: F.lazy(() => import("./chunk/StepThirdPartyLoop-
|
|
929
|
-
}, R = (e) => (A.info("getComponent", e),
|
|
892
|
+
}, In = {
|
|
893
|
+
StepPendingComponent: xn,
|
|
894
|
+
StepErrorComponent: Fn,
|
|
895
|
+
StepStudentPersonalInfoComponent: F.lazy(() => import("./chunk/StepStudentPersonalInfo-Bb2UFiSf.js")),
|
|
896
|
+
StepOverrideComponent: F.lazy(() => import("./chunk/StepOverrideComponent-Df7suQby.js")),
|
|
897
|
+
StepAgePersonalInfoComponent: F.lazy(() => import("./chunk/StepAgePersonalInfo-B_rJGRgX.js")),
|
|
898
|
+
StepSeniorPersonalInfoComponent: F.lazy(() => import("./chunk/StepAgePersonalInfo-B_rJGRgX.js")),
|
|
899
|
+
StepCollectMilitaryPersonalInfoComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-CZaentAm.js")),
|
|
900
|
+
StepCollectMilitaryStatusComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-CZaentAm.js")),
|
|
901
|
+
StepActiveMilitaryPersonalInfoComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-CZaentAm.js")),
|
|
902
|
+
StepInactiveMilitaryPersonalInfoComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-CZaentAm.js")),
|
|
903
|
+
StepDriverLicensePersonalInfoComponent: F.lazy(() => import("./chunk/StepDriverLicensePersonalInfoComponent-DQzI18NJ.js")),
|
|
904
|
+
StepEmploymentPersonalInfoComponent: F.lazy(() => import("./chunk/StepEmploymentPersonalInfo-BVeVxEtT.js")),
|
|
905
|
+
StepFirstResponderPersonalInfoComponent: F.lazy(() => import("./chunk/StepFirstResponderPersonalInfo-DYbPTeIq.js")),
|
|
906
|
+
StepGeneralIdentityPersonalInfoComponent: F.lazy(() => import("./chunk/StepGeneralIdentityPersonalInfoComponent-DjEZH38x.js")),
|
|
907
|
+
StepHybridIdentityPersonalInfoComponent: F.lazy(() => import("./chunk/StepHybridIdentityPersonalInfoComponent-D9Je6yj-.js")),
|
|
908
|
+
StepIDCheckLoopComponent: F.lazy(() => import("./chunk/StepIDCheckLoop-DDNgoWKs.js")),
|
|
909
|
+
StepLicensedProfessionalPersonalInfoComponent: F.lazy(() => import("./chunk/StepLicensedProfessionalPersonalInfo-AGQwXrgt.js")),
|
|
910
|
+
StepLowIncomePersonalInfoComponent: F.lazy(() => import("./chunk/StepLowIncomePersonalInfo-Cl_eJwaC.js")),
|
|
911
|
+
StepMedicalProfessionalPersonalInfoComponent: F.lazy(() => import("./chunk/StepMedicalProfessionalPersonalInfo-snvlB1q5.js")),
|
|
912
|
+
StepMemberPersonalInfoComponent: F.lazy(() => import("./chunk/StepMemberPersonalInfo-CdX8LAGC.js")),
|
|
913
|
+
StepConsolationComponent: F.lazy(() => import("./chunk/StepConsolation-nN23KvH2.js")),
|
|
914
|
+
StepDocUploadComponent: F.lazy(() => import("./chunk/StepDocUpload-DXj4mEM6.js")),
|
|
915
|
+
StepEmailLoopComponent: F.lazy(() => import("./chunk/StepEmailLoop-C490ilfk.js")),
|
|
916
|
+
StepPendingEmailLoopComponent: F.lazy(() => import("./chunk/EmailLoopPending-8SpBGanx.js").then((e) => e.n)),
|
|
917
|
+
StepMoverPersonalInfoComponent: F.lazy(() => import("./chunk/StepMoverPersonalInfo-MYGnyYc-.js")),
|
|
918
|
+
StepSMSLoopComponent: F.lazy(() => import("./chunk/StepSMSLoop-DJdI9NJ-.js")),
|
|
919
|
+
StepSocialSecurity: F.lazy(() => import("./chunk/StepSocialSecurityNumber-CKW8pUck.js")),
|
|
920
|
+
StepSSOComponent: F.lazy(() => import("./chunk/StepSSO-CybtMBjF.js")),
|
|
921
|
+
StepSuccessComponent: F.lazy(() => import("./chunk/StepSuccess-lXDU9RzB.js")),
|
|
922
|
+
StepTeacherPersonalInfoComponent: F.lazy(() => import("./chunk/StepTeacherPersonalInfo-aiSuLSkE.js")),
|
|
923
|
+
StepCompleteAuthentication: F.lazy(() => import("./chunk/StepCompleteAuthentication-B3iM05Rm.js")),
|
|
924
|
+
StepCollectIdentifierComponent: F.lazy(() => import("./chunk/StepCollectIdentifier-DJsPPf_t.js")),
|
|
925
|
+
StepCollectPersonalInfo: F.lazy(() => import("./chunk/StepCollectPersonalInfo-PbZ_Lh5v.js")),
|
|
926
|
+
StepThirdPartyLoopComponent: F.lazy(() => import("./chunk/StepThirdPartyLoop-Cs_tIVeY.js"))
|
|
927
|
+
}, R = (e) => (A.info("getComponent", e), In[e]), Ln = () => /* @__PURE__ */ (0, L.jsx)(Qt, {}), Rn = ({ stepToLoad: t, verificationService: n }) => {
|
|
930
928
|
A.info(`LoadStepComponent: rendering step: ${t}`);
|
|
931
929
|
let r;
|
|
932
930
|
switch ((0, F.useEffect)(() => {
|
|
@@ -1054,23 +1052,23 @@ var Yt = ({ step: e }) => /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
|
1054
1052
|
case "cancelEmailLoop":
|
|
1055
1053
|
case "cancelSocialSecurityNumber":
|
|
1056
1054
|
case "docReviewLimitExceeded":
|
|
1057
|
-
case "emailLoopCollectOrganizationEmail": return A.error("Attempted to load unexpected step", t), /* @__PURE__ */ (0, L.jsx)(
|
|
1055
|
+
case "emailLoopCollectOrganizationEmail": return A.error("Attempted to load unexpected step", t), /* @__PURE__ */ (0, L.jsx)(Fn, {
|
|
1058
1056
|
verificationService: n,
|
|
1059
1057
|
errorId: "invalidStep"
|
|
1060
1058
|
});
|
|
1061
|
-
default: return A.error("Unable to load step", t), /* @__PURE__ */ (0, L.jsx)(
|
|
1059
|
+
default: return A.error("Unable to load step", t), /* @__PURE__ */ (0, L.jsx)(Fn, {
|
|
1062
1060
|
verificationService: n,
|
|
1063
1061
|
errorId: "invalidStep"
|
|
1064
1062
|
});
|
|
1065
1063
|
}
|
|
1066
1064
|
return /* @__PURE__ */ (0, L.jsx)(F.Suspense, {
|
|
1067
|
-
fallback:
|
|
1065
|
+
fallback: Ln(),
|
|
1068
1066
|
children: /* @__PURE__ */ (0, L.jsx)(r, { verificationService: n })
|
|
1069
1067
|
});
|
|
1070
|
-
},
|
|
1068
|
+
}, zn = ({ dangerouslySetInnerHTML: e, ...t }) => e ? /* @__PURE__ */ (0, L.jsx)("span", {
|
|
1071
1069
|
dangerouslySetInnerHTML: e,
|
|
1072
1070
|
...t
|
|
1073
|
-
}) : /* @__PURE__ */ (0, L.jsx)(F.Fragment, { ...t }),
|
|
1071
|
+
}) : /* @__PURE__ */ (0, L.jsx)(F.Fragment, { ...t }), Bn = (e) => Me()?.isTestMode ? /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
1074
1072
|
className: "sid-test-mode-flag sid-l-container sid-l-horz-center",
|
|
1075
1073
|
role: "note",
|
|
1076
1074
|
children: ["Test Mode", /* @__PURE__ */ (0, L.jsx)(le, {
|
|
@@ -1079,12 +1077,12 @@ var Yt = ({ step: e }) => /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
|
1079
1077
|
"aria-label": "learn more about a sheerid test mode program",
|
|
1080
1078
|
children: "(learn more)"
|
|
1081
1079
|
})]
|
|
1082
|
-
}) : null,
|
|
1080
|
+
}) : null, Vn = ({ verificationService: e, title: t, children: n, fallbackLogo: r, classNameIdentifier: i = void 0 }) => /* @__PURE__ */ (0, L.jsxs)("header", {
|
|
1083
1081
|
className: "sid-header",
|
|
1084
1082
|
children: [
|
|
1085
1083
|
/* @__PURE__ */ (0, L.jsx)("div", {
|
|
1086
1084
|
className: `sid-logo-container sid-l-horz-center ${i ? `sid-${i}-logo-container` : ""}`,
|
|
1087
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
1085
|
+
children: /* @__PURE__ */ (0, L.jsx)(wt, {
|
|
1088
1086
|
verificationService: e,
|
|
1089
1087
|
fallbackLogo: r
|
|
1090
1088
|
})
|
|
@@ -1104,30 +1102,30 @@ function z(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
|
|
|
1104
1102
|
}
|
|
1105
1103
|
//#endregion
|
|
1106
1104
|
//#region ../node_modules/@radix-ui/react-compose-refs/dist/index.mjs
|
|
1107
|
-
function
|
|
1105
|
+
function Hn(e, t) {
|
|
1108
1106
|
if (typeof e == "function") return e(t);
|
|
1109
1107
|
e != null && (e.current = t);
|
|
1110
1108
|
}
|
|
1111
|
-
function
|
|
1109
|
+
function Un(...e) {
|
|
1112
1110
|
return (t) => {
|
|
1113
1111
|
let n = !1, r = e.map((e) => {
|
|
1114
|
-
let r =
|
|
1112
|
+
let r = Hn(e, t);
|
|
1115
1113
|
return !n && typeof r == "function" && (n = !0), r;
|
|
1116
1114
|
});
|
|
1117
1115
|
if (n) return () => {
|
|
1118
1116
|
for (let t = 0; t < r.length; t++) {
|
|
1119
1117
|
let n = r[t];
|
|
1120
|
-
typeof n == "function" ? n() :
|
|
1118
|
+
typeof n == "function" ? n() : Hn(e[t], null);
|
|
1121
1119
|
}
|
|
1122
1120
|
};
|
|
1123
1121
|
};
|
|
1124
1122
|
}
|
|
1125
1123
|
function B(...e) {
|
|
1126
|
-
return F.useCallback(
|
|
1124
|
+
return F.useCallback(Un(...e), e);
|
|
1127
1125
|
}
|
|
1128
1126
|
//#endregion
|
|
1129
1127
|
//#region ../node_modules/@radix-ui/react-context/dist/index.mjs
|
|
1130
|
-
function
|
|
1128
|
+
function Wn(e, t = []) {
|
|
1131
1129
|
let n = [];
|
|
1132
1130
|
function r(t, r) {
|
|
1133
1131
|
let i = F.createContext(r), a = n.length;
|
|
@@ -1158,9 +1156,9 @@ function Vn(e, t = []) {
|
|
|
1158
1156
|
} }), [n, r]);
|
|
1159
1157
|
};
|
|
1160
1158
|
};
|
|
1161
|
-
return i.scopeName = e, [r,
|
|
1159
|
+
return i.scopeName = e, [r, Gn(i, ...t)];
|
|
1162
1160
|
}
|
|
1163
|
-
function
|
|
1161
|
+
function Gn(...e) {
|
|
1164
1162
|
let t = e[0];
|
|
1165
1163
|
if (e.length === 1) return t;
|
|
1166
1164
|
let n = () => {
|
|
@@ -1184,9 +1182,9 @@ function Hn(...e) {
|
|
|
1184
1182
|
//#endregion
|
|
1185
1183
|
//#region ../node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
1186
1184
|
// @__NO_SIDE_EFFECTS__
|
|
1187
|
-
function
|
|
1188
|
-
let t = /* @__PURE__ */
|
|
1189
|
-
let { children: r, ...i } = e, a = F.Children.toArray(r), o = a.find(
|
|
1185
|
+
function Kn(e) {
|
|
1186
|
+
let t = /* @__PURE__ */ qn(e), n = F.forwardRef((e, n) => {
|
|
1187
|
+
let { children: r, ...i } = e, a = F.Children.toArray(r), o = a.find(Yn);
|
|
1190
1188
|
if (o) {
|
|
1191
1189
|
let e = o.props.children, r = a.map((t) => t === o ? F.Children.count(e) > 1 ? F.Children.only(null) : F.isValidElement(e) ? e.props.children : null : t);
|
|
1192
1190
|
return /* @__PURE__ */ (0, L.jsx)(t, {
|
|
@@ -1204,22 +1202,22 @@ function Un(e) {
|
|
|
1204
1202
|
return n.displayName = `${e}.Slot`, n;
|
|
1205
1203
|
}
|
|
1206
1204
|
// @__NO_SIDE_EFFECTS__
|
|
1207
|
-
function
|
|
1205
|
+
function qn(e) {
|
|
1208
1206
|
let t = F.forwardRef((e, t) => {
|
|
1209
1207
|
let { children: n, ...r } = e;
|
|
1210
1208
|
if (F.isValidElement(n)) {
|
|
1211
|
-
let e =
|
|
1212
|
-
return n.type !== F.Fragment && (i.ref = t ?
|
|
1209
|
+
let e = Zn(n), i = Xn(r, n.props);
|
|
1210
|
+
return n.type !== F.Fragment && (i.ref = t ? Un(t, e) : e), F.cloneElement(n, i);
|
|
1213
1211
|
}
|
|
1214
1212
|
return F.Children.count(n) > 1 ? F.Children.only(null) : null;
|
|
1215
1213
|
});
|
|
1216
1214
|
return t.displayName = `${e}.SlotClone`, t;
|
|
1217
1215
|
}
|
|
1218
|
-
var
|
|
1219
|
-
function
|
|
1220
|
-
return F.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId ===
|
|
1216
|
+
var Jn = Symbol("radix.slottable");
|
|
1217
|
+
function Yn(e) {
|
|
1218
|
+
return F.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === Jn;
|
|
1221
1219
|
}
|
|
1222
|
-
function
|
|
1220
|
+
function Xn(e, t) {
|
|
1223
1221
|
let n = { ...t };
|
|
1224
1222
|
for (let r in t) {
|
|
1225
1223
|
let i = e[r], a = t[r];
|
|
@@ -1236,7 +1234,7 @@ function qn(e, t) {
|
|
|
1236
1234
|
...n
|
|
1237
1235
|
};
|
|
1238
1236
|
}
|
|
1239
|
-
function
|
|
1237
|
+
function Zn(e) {
|
|
1240
1238
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
1241
1239
|
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);
|
|
1242
1240
|
}
|
|
@@ -1261,7 +1259,7 @@ var V = [
|
|
|
1261
1259
|
"svg",
|
|
1262
1260
|
"ul"
|
|
1263
1261
|
].reduce((e, t) => {
|
|
1264
|
-
let n = /* @__PURE__ */
|
|
1262
|
+
let n = /* @__PURE__ */ Kn(`Primitive.${t}`), r = F.forwardRef((e, r) => {
|
|
1265
1263
|
let { asChild: i, ...a } = e, o = i ? n : t;
|
|
1266
1264
|
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ (0, L.jsx)(o, {
|
|
1267
1265
|
...a,
|
|
@@ -1273,12 +1271,12 @@ var V = [
|
|
|
1273
1271
|
[t]: r
|
|
1274
1272
|
};
|
|
1275
1273
|
}, {});
|
|
1276
|
-
function
|
|
1277
|
-
e &&
|
|
1274
|
+
function Qn(e, t) {
|
|
1275
|
+
e && Lt.flushSync(() => e.dispatchEvent(t));
|
|
1278
1276
|
}
|
|
1279
1277
|
//#endregion
|
|
1280
1278
|
//#region ../node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
|
|
1281
|
-
function
|
|
1279
|
+
function $n(e) {
|
|
1282
1280
|
let t = F.useRef(e);
|
|
1283
1281
|
return F.useEffect(() => {
|
|
1284
1282
|
t.current = e;
|
|
@@ -1286,8 +1284,8 @@ function Xn(e) {
|
|
|
1286
1284
|
}
|
|
1287
1285
|
//#endregion
|
|
1288
1286
|
//#region ../node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs
|
|
1289
|
-
function
|
|
1290
|
-
let n =
|
|
1287
|
+
function er(e, t = globalThis?.document) {
|
|
1288
|
+
let n = $n(e);
|
|
1291
1289
|
F.useEffect(() => {
|
|
1292
1290
|
let e = (e) => {
|
|
1293
1291
|
e.key === "Escape" && n(e);
|
|
@@ -1297,23 +1295,23 @@ function Zn(e, t = globalThis?.document) {
|
|
|
1297
1295
|
}
|
|
1298
1296
|
//#endregion
|
|
1299
1297
|
//#region ../node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
|
|
1300
|
-
var
|
|
1298
|
+
var tr = "DismissableLayer", nr = "dismissableLayer.update", rr = "dismissableLayer.pointerDownOutside", ir = "dismissableLayer.focusOutside", ar, or = F.createContext({
|
|
1301
1299
|
layers: /* @__PURE__ */ new Set(),
|
|
1302
1300
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
1303
1301
|
branches: /* @__PURE__ */ new Set()
|
|
1304
|
-
}),
|
|
1305
|
-
let { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: o, onDismiss: s, ...c } = e, l = F.useContext(
|
|
1302
|
+
}), sr = F.forwardRef((e, t) => {
|
|
1303
|
+
let { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: o, onDismiss: s, ...c } = e, l = F.useContext(or), [u, d] = F.useState(null), f = u?.ownerDocument ?? globalThis?.document, [, p] = F.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 = ur((e) => {
|
|
1306
1304
|
let t = e.target, n = [...l.branches].some((e) => e.contains(t));
|
|
1307
1305
|
b && !n && (i?.(e), o?.(e), e.defaultPrevented || s?.());
|
|
1308
|
-
}, f), S =
|
|
1306
|
+
}, f), S = dr((e) => {
|
|
1309
1307
|
let t = e.target;
|
|
1310
1308
|
[...l.branches].some((e) => e.contains(t)) || (a?.(e), o?.(e), e.defaultPrevented || s?.());
|
|
1311
1309
|
}, f);
|
|
1312
|
-
return
|
|
1310
|
+
return er((e) => {
|
|
1313
1311
|
v === l.layers.size - 1 && (r?.(e), !e.defaultPrevented && s && (e.preventDefault(), s()));
|
|
1314
1312
|
}, f), F.useEffect(() => {
|
|
1315
|
-
if (u) return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (
|
|
1316
|
-
n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (f.body.style.pointerEvents =
|
|
1313
|
+
if (u) return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (ar = f.body.style.pointerEvents, f.body.style.pointerEvents = "none"), l.layersWithOutsidePointerEventsDisabled.add(u)), l.layers.add(u), fr(), () => {
|
|
1314
|
+
n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (f.body.style.pointerEvents = ar);
|
|
1317
1315
|
};
|
|
1318
1316
|
}, [
|
|
1319
1317
|
u,
|
|
@@ -1321,10 +1319,10 @@ var Qn = "DismissableLayer", $n = "dismissableLayer.update", er = "dismissableLa
|
|
|
1321
1319
|
n,
|
|
1322
1320
|
l
|
|
1323
1321
|
]), F.useEffect(() => () => {
|
|
1324
|
-
u && (l.layers.delete(u), l.layersWithOutsidePointerEventsDisabled.delete(u),
|
|
1322
|
+
u && (l.layers.delete(u), l.layersWithOutsidePointerEventsDisabled.delete(u), fr());
|
|
1325
1323
|
}, [u, l]), F.useEffect(() => {
|
|
1326
1324
|
let e = () => p({});
|
|
1327
|
-
return document.addEventListener(
|
|
1325
|
+
return document.addEventListener(nr, e), () => document.removeEventListener(nr, e);
|
|
1328
1326
|
}, []), /* @__PURE__ */ (0, L.jsx)(V.div, {
|
|
1329
1327
|
...c,
|
|
1330
1328
|
ref: m,
|
|
@@ -1337,9 +1335,9 @@ var Qn = "DismissableLayer", $n = "dismissableLayer.update", er = "dismissableLa
|
|
|
1337
1335
|
onPointerDownCapture: z(e.onPointerDownCapture, x.onPointerDownCapture)
|
|
1338
1336
|
});
|
|
1339
1337
|
});
|
|
1340
|
-
|
|
1341
|
-
var
|
|
1342
|
-
let n = F.useContext(
|
|
1338
|
+
sr.displayName = tr;
|
|
1339
|
+
var cr = "DismissableLayerBranch", lr = F.forwardRef((e, t) => {
|
|
1340
|
+
let n = F.useContext(or), r = F.useRef(null), i = B(t, r);
|
|
1343
1341
|
return F.useEffect(() => {
|
|
1344
1342
|
let e = r.current;
|
|
1345
1343
|
if (e) return n.branches.add(e), () => {
|
|
@@ -1350,14 +1348,14 @@ var ar = "DismissableLayerBranch", or = F.forwardRef((e, t) => {
|
|
|
1350
1348
|
ref: i
|
|
1351
1349
|
});
|
|
1352
1350
|
});
|
|
1353
|
-
|
|
1354
|
-
function
|
|
1355
|
-
let n =
|
|
1351
|
+
lr.displayName = cr;
|
|
1352
|
+
function ur(e, t = globalThis?.document) {
|
|
1353
|
+
let n = $n(e), r = F.useRef(!1), i = F.useRef(() => {});
|
|
1356
1354
|
return F.useEffect(() => {
|
|
1357
1355
|
let e = (e) => {
|
|
1358
1356
|
if (e.target && !r.current) {
|
|
1359
1357
|
let r = function() {
|
|
1360
|
-
|
|
1358
|
+
pr(rr, n, a, { discrete: !0 });
|
|
1361
1359
|
}, a = { originalEvent: e };
|
|
1362
1360
|
e.pointerType === "touch" ? (t.removeEventListener("click", i.current), i.current = r, t.addEventListener("click", i.current, { once: !0 })) : r();
|
|
1363
1361
|
} else t.removeEventListener("click", i.current);
|
|
@@ -1370,11 +1368,11 @@ function sr(e, t = globalThis?.document) {
|
|
|
1370
1368
|
};
|
|
1371
1369
|
}, [t, n]), { onPointerDownCapture: () => r.current = !0 };
|
|
1372
1370
|
}
|
|
1373
|
-
function
|
|
1374
|
-
let n =
|
|
1371
|
+
function dr(e, t = globalThis?.document) {
|
|
1372
|
+
let n = $n(e), r = F.useRef(!1);
|
|
1375
1373
|
return F.useEffect(() => {
|
|
1376
1374
|
let e = (e) => {
|
|
1377
|
-
e.target && !r.current &&
|
|
1375
|
+
e.target && !r.current && pr(ir, n, { originalEvent: e }, { discrete: !1 });
|
|
1378
1376
|
};
|
|
1379
1377
|
return t.addEventListener("focusin", e), () => t.removeEventListener("focusin", e);
|
|
1380
1378
|
}, [t, n]), {
|
|
@@ -1382,40 +1380,40 @@ function cr(e, t = globalThis?.document) {
|
|
|
1382
1380
|
onBlurCapture: () => r.current = !1
|
|
1383
1381
|
};
|
|
1384
1382
|
}
|
|
1385
|
-
function
|
|
1386
|
-
let e = new CustomEvent(
|
|
1383
|
+
function fr() {
|
|
1384
|
+
let e = new CustomEvent(nr);
|
|
1387
1385
|
document.dispatchEvent(e);
|
|
1388
1386
|
}
|
|
1389
|
-
function
|
|
1387
|
+
function pr(e, t, n, { discrete: r }) {
|
|
1390
1388
|
let i = n.originalEvent.target, a = new CustomEvent(e, {
|
|
1391
1389
|
bubbles: !1,
|
|
1392
1390
|
cancelable: !0,
|
|
1393
1391
|
detail: n
|
|
1394
1392
|
});
|
|
1395
|
-
t && i.addEventListener(e, t, { once: !0 }), r ?
|
|
1393
|
+
t && i.addEventListener(e, t, { once: !0 }), r ? Qn(i, a) : i.dispatchEvent(a);
|
|
1396
1394
|
}
|
|
1397
1395
|
//#endregion
|
|
1398
1396
|
//#region ../node_modules/@radix-ui/react-focus-guards/dist/index.mjs
|
|
1399
|
-
var
|
|
1400
|
-
function
|
|
1397
|
+
var mr = 0;
|
|
1398
|
+
function hr() {
|
|
1401
1399
|
F.useEffect(() => {
|
|
1402
1400
|
let e = document.querySelectorAll("[data-radix-focus-guard]");
|
|
1403
|
-
return document.body.insertAdjacentElement("afterbegin", e[0] ??
|
|
1404
|
-
|
|
1401
|
+
return document.body.insertAdjacentElement("afterbegin", e[0] ?? gr()), document.body.insertAdjacentElement("beforeend", e[1] ?? gr()), mr++, () => {
|
|
1402
|
+
mr === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((e) => e.remove()), mr--;
|
|
1405
1403
|
};
|
|
1406
1404
|
}, []);
|
|
1407
1405
|
}
|
|
1408
|
-
function
|
|
1406
|
+
function gr() {
|
|
1409
1407
|
let e = document.createElement("span");
|
|
1410
1408
|
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;
|
|
1411
1409
|
}
|
|
1412
1410
|
//#endregion
|
|
1413
1411
|
//#region ../node_modules/@radix-ui/react-focus-scope/dist/index.mjs
|
|
1414
|
-
var
|
|
1412
|
+
var _r = "focusScope.autoFocusOnMount", vr = "focusScope.autoFocusOnUnmount", yr = {
|
|
1415
1413
|
bubbles: !1,
|
|
1416
1414
|
cancelable: !0
|
|
1417
|
-
},
|
|
1418
|
-
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [s, c] = F.useState(null), l =
|
|
1415
|
+
}, br = "FocusScope", xr = F.forwardRef((e, t) => {
|
|
1416
|
+
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [s, c] = F.useState(null), l = $n(i), u = $n(a), d = F.useRef(null), f = B(t, (e) => c(e)), p = F.useRef({
|
|
1419
1417
|
paused: !1,
|
|
1420
1418
|
pause() {
|
|
1421
1419
|
this.paused = !0;
|
|
@@ -1429,13 +1427,13 @@ var mr = "focusScope.autoFocusOnMount", hr = "focusScope.autoFocusOnUnmount", gr
|
|
|
1429
1427
|
let e = function(e) {
|
|
1430
1428
|
if (p.paused || !s) return;
|
|
1431
1429
|
let t = e.target;
|
|
1432
|
-
s.contains(t) ? d.current = t :
|
|
1430
|
+
s.contains(t) ? d.current = t : Or(d.current, { select: !0 });
|
|
1433
1431
|
}, t = function(e) {
|
|
1434
1432
|
if (p.paused || !s) return;
|
|
1435
1433
|
let t = e.relatedTarget;
|
|
1436
|
-
t !== null && (s.contains(t) ||
|
|
1434
|
+
t !== null && (s.contains(t) || Or(d.current, { select: !0 }));
|
|
1437
1435
|
}, n = function(e) {
|
|
1438
|
-
if (document.activeElement === document.body) for (let t of e) t.removedNodes.length > 0 &&
|
|
1436
|
+
if (document.activeElement === document.body) for (let t of e) t.removedNodes.length > 0 && Or(s);
|
|
1439
1437
|
};
|
|
1440
1438
|
document.addEventListener("focusin", e), document.addEventListener("focusout", t);
|
|
1441
1439
|
let r = new MutationObserver(n);
|
|
@@ -1452,16 +1450,16 @@ var mr = "focusScope.autoFocusOnMount", hr = "focusScope.autoFocusOnUnmount", gr
|
|
|
1452
1450
|
p.paused
|
|
1453
1451
|
]), F.useEffect(() => {
|
|
1454
1452
|
if (s) {
|
|
1455
|
-
|
|
1453
|
+
kr.add(p);
|
|
1456
1454
|
let e = document.activeElement;
|
|
1457
1455
|
if (!s.contains(e)) {
|
|
1458
|
-
let t = new CustomEvent(
|
|
1459
|
-
s.addEventListener(
|
|
1456
|
+
let t = new CustomEvent(_r, yr);
|
|
1457
|
+
s.addEventListener(_r, l), s.dispatchEvent(t), t.defaultPrevented || (Sr(Mr(wr(s)), { select: !0 }), document.activeElement === e && Or(s));
|
|
1460
1458
|
}
|
|
1461
1459
|
return () => {
|
|
1462
|
-
s.removeEventListener(
|
|
1463
|
-
let t = new CustomEvent(
|
|
1464
|
-
s.addEventListener(
|
|
1460
|
+
s.removeEventListener(_r, l), setTimeout(() => {
|
|
1461
|
+
let t = new CustomEvent(vr, yr);
|
|
1462
|
+
s.addEventListener(vr, u), s.dispatchEvent(t), t.defaultPrevented || Or(e ?? document.body, { select: !0 }), s.removeEventListener(vr, u), kr.remove(p);
|
|
1465
1463
|
}, 0);
|
|
1466
1464
|
};
|
|
1467
1465
|
}
|
|
@@ -1475,8 +1473,8 @@ var mr = "focusScope.autoFocusOnMount", hr = "focusScope.autoFocusOnUnmount", gr
|
|
|
1475
1473
|
if (!n && !r || p.paused) return;
|
|
1476
1474
|
let t = e.key === "Tab" && !e.altKey && !e.ctrlKey && !e.metaKey, i = document.activeElement;
|
|
1477
1475
|
if (t && i) {
|
|
1478
|
-
let t = e.currentTarget, [r, a] =
|
|
1479
|
-
r && a ? !e.shiftKey && i === a ? (e.preventDefault(), n &&
|
|
1476
|
+
let t = e.currentTarget, [r, a] = Cr(t);
|
|
1477
|
+
r && a ? !e.shiftKey && i === a ? (e.preventDefault(), n && Or(r, { select: !0 })) : e.shiftKey && i === r && (e.preventDefault(), n && Or(a, { select: !0 })) : i === t && e.preventDefault();
|
|
1480
1478
|
}
|
|
1481
1479
|
}, [
|
|
1482
1480
|
n,
|
|
@@ -1490,16 +1488,16 @@ var mr = "focusScope.autoFocusOnMount", hr = "focusScope.autoFocusOnUnmount", gr
|
|
|
1490
1488
|
onKeyDown: m
|
|
1491
1489
|
});
|
|
1492
1490
|
});
|
|
1493
|
-
|
|
1494
|
-
function
|
|
1491
|
+
xr.displayName = br;
|
|
1492
|
+
function Sr(e, { select: t = !1 } = {}) {
|
|
1495
1493
|
let n = document.activeElement;
|
|
1496
|
-
for (let r of e) if (
|
|
1494
|
+
for (let r of e) if (Or(r, { select: t }), document.activeElement !== n) return;
|
|
1497
1495
|
}
|
|
1498
|
-
function
|
|
1499
|
-
let t =
|
|
1500
|
-
return [
|
|
1496
|
+
function Cr(e) {
|
|
1497
|
+
let t = wr(e);
|
|
1498
|
+
return [Tr(t, e), Tr(t.reverse(), e)];
|
|
1501
1499
|
}
|
|
1502
|
-
function
|
|
1500
|
+
function wr(e) {
|
|
1503
1501
|
let t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, { acceptNode: (e) => {
|
|
1504
1502
|
let t = e.tagName === "INPUT" && e.type === "hidden";
|
|
1505
1503
|
return e.disabled || e.hidden || t ? NodeFilter.FILTER_SKIP : e.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
|
|
@@ -1507,10 +1505,10 @@ function xr(e) {
|
|
|
1507
1505
|
for (; n.nextNode();) t.push(n.currentNode);
|
|
1508
1506
|
return t;
|
|
1509
1507
|
}
|
|
1510
|
-
function
|
|
1511
|
-
for (let n of e) if (!
|
|
1508
|
+
function Tr(e, t) {
|
|
1509
|
+
for (let n of e) if (!Er(n, { upTo: t })) return n;
|
|
1512
1510
|
}
|
|
1513
|
-
function
|
|
1511
|
+
function Er(e, { upTo: t }) {
|
|
1514
1512
|
if (getComputedStyle(e).visibility === "hidden") return !0;
|
|
1515
1513
|
for (; e;) {
|
|
1516
1514
|
if (t !== void 0 && e === t) return !1;
|
|
@@ -1519,120 +1517,120 @@ function Cr(e, { upTo: t }) {
|
|
|
1519
1517
|
}
|
|
1520
1518
|
return !1;
|
|
1521
1519
|
}
|
|
1522
|
-
function
|
|
1520
|
+
function Dr(e) {
|
|
1523
1521
|
return e instanceof HTMLInputElement && "select" in e;
|
|
1524
1522
|
}
|
|
1525
|
-
function
|
|
1523
|
+
function Or(e, { select: t = !1 } = {}) {
|
|
1526
1524
|
if (e && e.focus) {
|
|
1527
1525
|
let n = document.activeElement;
|
|
1528
|
-
e.focus({ preventScroll: !0 }), e !== n &&
|
|
1526
|
+
e.focus({ preventScroll: !0 }), e !== n && Dr(e) && t && e.select();
|
|
1529
1527
|
}
|
|
1530
1528
|
}
|
|
1531
|
-
var
|
|
1532
|
-
function
|
|
1529
|
+
var kr = Ar();
|
|
1530
|
+
function Ar() {
|
|
1533
1531
|
let e = [];
|
|
1534
1532
|
return {
|
|
1535
1533
|
add(t) {
|
|
1536
1534
|
let n = e[0];
|
|
1537
|
-
t !== n && n?.pause(), e =
|
|
1535
|
+
t !== n && n?.pause(), e = jr(e, t), e.unshift(t);
|
|
1538
1536
|
},
|
|
1539
1537
|
remove(t) {
|
|
1540
|
-
e =
|
|
1538
|
+
e = jr(e, t), e[0]?.resume();
|
|
1541
1539
|
}
|
|
1542
1540
|
};
|
|
1543
1541
|
}
|
|
1544
|
-
function
|
|
1542
|
+
function jr(e, t) {
|
|
1545
1543
|
let n = [...e], r = n.indexOf(t);
|
|
1546
1544
|
return r !== -1 && n.splice(r, 1), n;
|
|
1547
1545
|
}
|
|
1548
|
-
function
|
|
1546
|
+
function Mr(e) {
|
|
1549
1547
|
return e.filter((e) => e.tagName !== "A");
|
|
1550
1548
|
}
|
|
1551
1549
|
//#endregion
|
|
1552
1550
|
//#region ../node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
|
|
1553
|
-
var
|
|
1554
|
-
function
|
|
1555
|
-
let [t, n] = F.useState(
|
|
1556
|
-
return
|
|
1557
|
-
e || n((e) => e ?? String(
|
|
1551
|
+
var Nr = globalThis?.document ? F.useLayoutEffect : () => {}, Pr = F.useId || (() => void 0), Fr = 0;
|
|
1552
|
+
function Ir(e) {
|
|
1553
|
+
let [t, n] = F.useState(Pr());
|
|
1554
|
+
return Nr(() => {
|
|
1555
|
+
e || n((e) => e ?? String(Fr++));
|
|
1558
1556
|
}, [e]), e || (t ? `radix-${t}` : "");
|
|
1559
1557
|
}
|
|
1560
1558
|
//#endregion
|
|
1561
1559
|
//#region ../node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
|
|
1562
|
-
var
|
|
1560
|
+
var Lr = [
|
|
1563
1561
|
"top",
|
|
1564
1562
|
"right",
|
|
1565
1563
|
"bottom",
|
|
1566
1564
|
"left"
|
|
1567
|
-
],
|
|
1565
|
+
], H = Math.min, U = Math.max, Rr = Math.round, zr = Math.floor, W = (e) => ({
|
|
1568
1566
|
x: e,
|
|
1569
1567
|
y: e
|
|
1570
|
-
}),
|
|
1568
|
+
}), Br = {
|
|
1571
1569
|
left: "right",
|
|
1572
1570
|
right: "left",
|
|
1573
1571
|
bottom: "top",
|
|
1574
1572
|
top: "bottom"
|
|
1575
1573
|
};
|
|
1576
|
-
function
|
|
1577
|
-
return
|
|
1574
|
+
function Vr(e, t, n) {
|
|
1575
|
+
return U(e, H(t, n));
|
|
1578
1576
|
}
|
|
1579
|
-
function
|
|
1577
|
+
function G(e, t) {
|
|
1580
1578
|
return typeof e == "function" ? e(t) : e;
|
|
1581
1579
|
}
|
|
1582
|
-
function
|
|
1580
|
+
function K(e) {
|
|
1583
1581
|
return e.split("-")[0];
|
|
1584
1582
|
}
|
|
1585
|
-
function
|
|
1583
|
+
function Hr(e) {
|
|
1586
1584
|
return e.split("-")[1];
|
|
1587
1585
|
}
|
|
1588
|
-
function
|
|
1586
|
+
function Ur(e) {
|
|
1589
1587
|
return e === "x" ? "y" : "x";
|
|
1590
1588
|
}
|
|
1591
|
-
function
|
|
1589
|
+
function Wr(e) {
|
|
1592
1590
|
return e === "y" ? "height" : "width";
|
|
1593
1591
|
}
|
|
1594
|
-
function
|
|
1592
|
+
function q(e) {
|
|
1595
1593
|
let t = e[0];
|
|
1596
1594
|
return t === "t" || t === "b" ? "y" : "x";
|
|
1597
1595
|
}
|
|
1598
|
-
function
|
|
1599
|
-
return
|
|
1596
|
+
function Gr(e) {
|
|
1597
|
+
return Ur(q(e));
|
|
1600
1598
|
}
|
|
1601
|
-
function
|
|
1599
|
+
function Kr(e, t, n) {
|
|
1602
1600
|
n === void 0 && (n = !1);
|
|
1603
|
-
let r =
|
|
1604
|
-
return t.reference[a] > t.floating[a] && (o =
|
|
1601
|
+
let r = Hr(e), i = Gr(e), a = Wr(i), o = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
|
|
1602
|
+
return t.reference[a] > t.floating[a] && (o = ti(o)), [o, ti(o)];
|
|
1605
1603
|
}
|
|
1606
|
-
function
|
|
1607
|
-
let t =
|
|
1604
|
+
function qr(e) {
|
|
1605
|
+
let t = ti(e);
|
|
1608
1606
|
return [
|
|
1609
|
-
|
|
1607
|
+
Jr(e),
|
|
1610
1608
|
t,
|
|
1611
|
-
|
|
1609
|
+
Jr(t)
|
|
1612
1610
|
];
|
|
1613
1611
|
}
|
|
1614
|
-
function
|
|
1612
|
+
function Jr(e) {
|
|
1615
1613
|
return e.includes("start") ? e.replace("start", "end") : e.replace("end", "start");
|
|
1616
1614
|
}
|
|
1617
|
-
var
|
|
1618
|
-
function
|
|
1615
|
+
var Yr = ["left", "right"], Xr = ["right", "left"], Zr = ["top", "bottom"], Qr = ["bottom", "top"];
|
|
1616
|
+
function $r(e, t, n) {
|
|
1619
1617
|
switch (e) {
|
|
1620
1618
|
case "top":
|
|
1621
|
-
case "bottom": return n ? t ?
|
|
1619
|
+
case "bottom": return n ? t ? Xr : Yr : t ? Yr : Xr;
|
|
1622
1620
|
case "left":
|
|
1623
|
-
case "right": return t ?
|
|
1621
|
+
case "right": return t ? Zr : Qr;
|
|
1624
1622
|
default: return [];
|
|
1625
1623
|
}
|
|
1626
1624
|
}
|
|
1627
|
-
function
|
|
1628
|
-
let i =
|
|
1629
|
-
return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(
|
|
1625
|
+
function ei(e, t, n, r) {
|
|
1626
|
+
let i = Hr(e), a = $r(K(e), n === "start", r);
|
|
1627
|
+
return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(Jr)))), a;
|
|
1630
1628
|
}
|
|
1631
|
-
function
|
|
1632
|
-
let t =
|
|
1633
|
-
return
|
|
1629
|
+
function ti(e) {
|
|
1630
|
+
let t = K(e);
|
|
1631
|
+
return Br[t] + e.slice(t.length);
|
|
1634
1632
|
}
|
|
1635
|
-
function
|
|
1633
|
+
function ni(e) {
|
|
1636
1634
|
return {
|
|
1637
1635
|
top: e.top ?? 0,
|
|
1638
1636
|
right: e.right ?? 0,
|
|
@@ -1640,15 +1638,15 @@ function ei(e) {
|
|
|
1640
1638
|
left: e.left ?? 0
|
|
1641
1639
|
};
|
|
1642
1640
|
}
|
|
1643
|
-
function
|
|
1641
|
+
function ri(e) {
|
|
1644
1642
|
return typeof e == "number" ? {
|
|
1645
1643
|
top: e,
|
|
1646
1644
|
right: e,
|
|
1647
1645
|
bottom: e,
|
|
1648
1646
|
left: e
|
|
1649
|
-
} :
|
|
1647
|
+
} : ni(e);
|
|
1650
1648
|
}
|
|
1651
|
-
function
|
|
1649
|
+
function ii(e) {
|
|
1652
1650
|
let { x: t, y: n, width: r, height: i } = e;
|
|
1653
1651
|
return {
|
|
1654
1652
|
width: r,
|
|
@@ -1663,8 +1661,8 @@ function ni(e) {
|
|
|
1663
1661
|
}
|
|
1664
1662
|
//#endregion
|
|
1665
1663
|
//#region ../node_modules/@floating-ui/core/dist/floating-ui.core.mjs
|
|
1666
|
-
function
|
|
1667
|
-
let { reference: r, floating: i } = e, a =
|
|
1664
|
+
function ai(e, t, n) {
|
|
1665
|
+
let { reference: r, floating: i } = e, a = q(t), o = Gr(t), s = Wr(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;
|
|
1668
1666
|
switch (c) {
|
|
1669
1667
|
case "top":
|
|
1670
1668
|
p = {
|
|
@@ -1695,7 +1693,7 @@ function ri(e, t, n) {
|
|
|
1695
1693
|
y: r.y
|
|
1696
1694
|
};
|
|
1697
1695
|
}
|
|
1698
|
-
switch (
|
|
1696
|
+
switch (Hr(t)) {
|
|
1699
1697
|
case "start":
|
|
1700
1698
|
p[o] -= f * (n && l ? -1 : 1);
|
|
1701
1699
|
break;
|
|
@@ -1703,9 +1701,9 @@ function ri(e, t, n) {
|
|
|
1703
1701
|
}
|
|
1704
1702
|
return p;
|
|
1705
1703
|
}
|
|
1706
|
-
async function
|
|
1704
|
+
async function oi(e, t) {
|
|
1707
1705
|
t === void 0 && (t = {});
|
|
1708
|
-
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 } =
|
|
1706
|
+
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 = ri(f), m = o[d ? u === "floating" ? "reference" : "floating" : u], h = ii(await i.getClippingRect({
|
|
1709
1707
|
element: await (i.isElement == null ? void 0 : i.isElement(m)) ?? !0 ? m : m.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(o.floating)),
|
|
1710
1708
|
boundary: c,
|
|
1711
1709
|
rootBoundary: l,
|
|
@@ -1718,7 +1716,7 @@ async function ii(e, t) {
|
|
|
1718
1716
|
} : 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(_)) || {
|
|
1719
1717
|
x: 1,
|
|
1720
1718
|
y: 1
|
|
1721
|
-
}, y =
|
|
1719
|
+
}, y = ii(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
1722
1720
|
elements: o,
|
|
1723
1721
|
rect: g,
|
|
1724
1722
|
offsetParent: _,
|
|
@@ -1731,15 +1729,15 @@ async function ii(e, t) {
|
|
|
1731
1729
|
right: (y.right - h.right + p.right) / v.x
|
|
1732
1730
|
};
|
|
1733
1731
|
}
|
|
1734
|
-
var
|
|
1732
|
+
var si = 50, ci = async (e, t, n) => {
|
|
1735
1733
|
let { placement: r = "bottom", strategy: i = "absolute", middleware: a = [], platform: o } = n, s = o.detectOverflow ? o : {
|
|
1736
1734
|
...o,
|
|
1737
|
-
detectOverflow:
|
|
1735
|
+
detectOverflow: oi
|
|
1738
1736
|
}, c = await (o.isRTL == null ? void 0 : o.isRTL(t)), l = await o.getElementRects({
|
|
1739
1737
|
reference: e,
|
|
1740
1738
|
floating: t,
|
|
1741
1739
|
strategy: i
|
|
1742
|
-
}), { x: u, y: d } =
|
|
1740
|
+
}), { x: u, y: d } = ai(l, r, c), f = r, p = 0, m = {};
|
|
1743
1741
|
for (let n = 0; n < a.length; n++) {
|
|
1744
1742
|
let h = a[n];
|
|
1745
1743
|
if (!h) continue;
|
|
@@ -1760,11 +1758,11 @@ var ai = 50, oi = async (e, t, n) => {
|
|
|
1760
1758
|
u = v ?? u, d = y ?? d, m[g] = {
|
|
1761
1759
|
...m[g],
|
|
1762
1760
|
...b
|
|
1763
|
-
}, x && p <
|
|
1761
|
+
}, x && p < si && (p++, typeof x == "object" && (x.placement && (f = x.placement), x.rects && (l = x.rects === !0 ? await o.getElementRects({
|
|
1764
1762
|
reference: e,
|
|
1765
1763
|
floating: t,
|
|
1766
1764
|
strategy: i
|
|
1767
|
-
}) : x.rects), {x: u, y: d} =
|
|
1765
|
+
}) : x.rects), {x: u, y: d} = ai(l, f, c)), n = -1);
|
|
1768
1766
|
}
|
|
1769
1767
|
return {
|
|
1770
1768
|
x: u,
|
|
@@ -1773,18 +1771,18 @@ var ai = 50, oi = async (e, t, n) => {
|
|
|
1773
1771
|
strategy: i,
|
|
1774
1772
|
middlewareData: m
|
|
1775
1773
|
};
|
|
1776
|
-
},
|
|
1774
|
+
}, li = (e) => ({
|
|
1777
1775
|
name: "arrow",
|
|
1778
1776
|
options: e,
|
|
1779
1777
|
async fn(t) {
|
|
1780
|
-
let { x: n, y: r, placement: i, rects: a, platform: o, elements: s, middlewareData: c } = t, { element: l, padding: u = 0 } =
|
|
1778
|
+
let { x: n, y: r, placement: i, rects: a, platform: o, elements: s, middlewareData: c } = t, { element: l, padding: u = 0 } = G(e, t) || {};
|
|
1781
1779
|
if (l == null) return {};
|
|
1782
|
-
let d =
|
|
1780
|
+
let d = ri(u), f = {
|
|
1783
1781
|
x: n,
|
|
1784
1782
|
y: r
|
|
1785
|
-
}, p =
|
|
1783
|
+
}, p = Gr(i), m = Wr(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;
|
|
1786
1784
|
(!C || !await (o.isElement == null ? void 0 : o.isElement(S))) && (C = s.floating[y] || a.floating[m]);
|
|
1787
|
-
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1, ee =
|
|
1785
|
+
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1, ee = H(d[_], T), E = H(d[v], T), D = ee, O = C - h[m] - E, k = C / 2 - h[m] / 2 + w, A = Vr(D, k, O), j = !c.arrow && Hr(i) != null && k !== A && a.reference[m] / 2 - (k < D ? ee : E) - h[m] / 2 < 0, M = j ? k < D ? k - D : k - O : 0;
|
|
1788
1786
|
return {
|
|
1789
1787
|
[p]: f[p] + M,
|
|
1790
1788
|
data: {
|
|
@@ -1795,19 +1793,19 @@ var ai = 50, oi = async (e, t, n) => {
|
|
|
1795
1793
|
reset: j
|
|
1796
1794
|
};
|
|
1797
1795
|
}
|
|
1798
|
-
}),
|
|
1796
|
+
}), ui = function(e) {
|
|
1799
1797
|
return e === void 0 && (e = {}), {
|
|
1800
1798
|
name: "flip",
|
|
1801
1799
|
options: e,
|
|
1802
1800
|
async fn(t) {
|
|
1803
1801
|
var n;
|
|
1804
|
-
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 } =
|
|
1802
|
+
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);
|
|
1805
1803
|
if ((n = i.arrow) != null && n.alignmentOffset) return {};
|
|
1806
|
-
let g =
|
|
1807
|
-
!d && x && b.push(...
|
|
1804
|
+
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 ? [ti(o)] : qr(o)), x = p !== "none";
|
|
1805
|
+
!d && x && b.push(...ei(o, m, p, y));
|
|
1808
1806
|
let S = [o, ...b], C = await s.detectOverflow(t, h), w = [], T = i.flip?.overflows || [];
|
|
1809
1807
|
if (l && w.push(C[g]), u) {
|
|
1810
|
-
let e =
|
|
1808
|
+
let e = Kr(r, a, y);
|
|
1811
1809
|
w.push(C[e[0]], C[e[1]]);
|
|
1812
1810
|
}
|
|
1813
1811
|
if (T = [...T, {
|
|
@@ -1815,7 +1813,7 @@ var ai = 50, oi = async (e, t, n) => {
|
|
|
1815
1813
|
overflows: w
|
|
1816
1814
|
}], !w.every((e) => e <= 0)) {
|
|
1817
1815
|
let e = (i.flip?.index || 0) + 1, t = S[e];
|
|
1818
|
-
if (t && (u !== "alignment" || _ ===
|
|
1816
|
+
if (t && (u !== "alignment" || _ === q(t) || T.every((e) => q(e.placement) !== _ || e.overflows[0] > 0))) return {
|
|
1819
1817
|
data: {
|
|
1820
1818
|
index: e,
|
|
1821
1819
|
overflows: T
|
|
@@ -1827,7 +1825,7 @@ var ai = 50, oi = async (e, t, n) => {
|
|
|
1827
1825
|
case "bestFit": {
|
|
1828
1826
|
let e = T.filter((e) => {
|
|
1829
1827
|
if (x) {
|
|
1830
|
-
let t =
|
|
1828
|
+
let t = q(e.placement);
|
|
1831
1829
|
return t === _ || t === "y";
|
|
1832
1830
|
}
|
|
1833
1831
|
return !0;
|
|
@@ -1843,7 +1841,7 @@ var ai = 50, oi = async (e, t, n) => {
|
|
|
1843
1841
|
}
|
|
1844
1842
|
};
|
|
1845
1843
|
};
|
|
1846
|
-
function
|
|
1844
|
+
function di(e, t) {
|
|
1847
1845
|
return {
|
|
1848
1846
|
top: e.top - t.height,
|
|
1849
1847
|
right: e.right - t.width,
|
|
@@ -1851,43 +1849,43 @@ function li(e, t) {
|
|
|
1851
1849
|
left: e.left - t.width
|
|
1852
1850
|
};
|
|
1853
1851
|
}
|
|
1854
|
-
function
|
|
1855
|
-
return
|
|
1852
|
+
function fi(e) {
|
|
1853
|
+
return Lr.some((t) => e[t] >= 0);
|
|
1856
1854
|
}
|
|
1857
|
-
var
|
|
1855
|
+
var pi = function(e) {
|
|
1858
1856
|
return e === void 0 && (e = {}), {
|
|
1859
1857
|
name: "hide",
|
|
1860
1858
|
options: e,
|
|
1861
1859
|
async fn(t) {
|
|
1862
|
-
let { rects: n, platform: r } = t, { strategy: i = "referenceHidden", ...a } =
|
|
1860
|
+
let { rects: n, platform: r } = t, { strategy: i = "referenceHidden", ...a } = G(e, t);
|
|
1863
1861
|
switch (i) {
|
|
1864
1862
|
case "referenceHidden": {
|
|
1865
|
-
let e =
|
|
1863
|
+
let e = di(await r.detectOverflow(t, {
|
|
1866
1864
|
...a,
|
|
1867
1865
|
elementContext: "reference"
|
|
1868
1866
|
}), n.reference);
|
|
1869
1867
|
return { data: {
|
|
1870
1868
|
referenceHiddenOffsets: e,
|
|
1871
|
-
referenceHidden:
|
|
1869
|
+
referenceHidden: fi(e)
|
|
1872
1870
|
} };
|
|
1873
1871
|
}
|
|
1874
1872
|
case "escaped": {
|
|
1875
|
-
let e =
|
|
1873
|
+
let e = di(await r.detectOverflow(t, {
|
|
1876
1874
|
...a,
|
|
1877
1875
|
altBoundary: !0
|
|
1878
1876
|
}), n.floating);
|
|
1879
1877
|
return { data: {
|
|
1880
1878
|
escapedOffsets: e,
|
|
1881
|
-
escaped:
|
|
1879
|
+
escaped: fi(e)
|
|
1882
1880
|
} };
|
|
1883
1881
|
}
|
|
1884
1882
|
default: return {};
|
|
1885
1883
|
}
|
|
1886
1884
|
}
|
|
1887
1885
|
};
|
|
1888
|
-
},
|
|
1889
|
-
async function
|
|
1890
|
-
let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o =
|
|
1886
|
+
}, mi = /*#__PURE__*/ new Set(["left", "top"]);
|
|
1887
|
+
async function hi(e, t) {
|
|
1888
|
+
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 = mi.has(o) ? -1 : 1, u = a && c ? -1 : 1, d = G(t, e), { mainAxis: f, crossAxis: p, alignmentAxis: m } = typeof d == "number" ? {
|
|
1891
1889
|
mainAxis: d,
|
|
1892
1890
|
crossAxis: 0,
|
|
1893
1891
|
alignmentAxis: null
|
|
@@ -1904,13 +1902,13 @@ async function pi(e, t) {
|
|
|
1904
1902
|
y: p * u
|
|
1905
1903
|
};
|
|
1906
1904
|
}
|
|
1907
|
-
var
|
|
1905
|
+
var gi = function(e) {
|
|
1908
1906
|
return e === void 0 && (e = 0), {
|
|
1909
1907
|
name: "offset",
|
|
1910
1908
|
options: e,
|
|
1911
1909
|
async fn(t) {
|
|
1912
1910
|
var n;
|
|
1913
|
-
let { x: r, y: i, placement: a, middlewareData: o } = t, s = await
|
|
1911
|
+
let { x: r, y: i, placement: a, middlewareData: o } = t, s = await hi(t, e);
|
|
1914
1912
|
return a === o.offset?.placement && (n = o.arrow) != null && n.alignmentOffset ? {} : {
|
|
1915
1913
|
x: r + s.x,
|
|
1916
1914
|
y: i + s.y,
|
|
@@ -1921,7 +1919,7 @@ var mi = function(e) {
|
|
|
1921
1919
|
};
|
|
1922
1920
|
}
|
|
1923
1921
|
};
|
|
1924
|
-
},
|
|
1922
|
+
}, _i = function(e) {
|
|
1925
1923
|
return e === void 0 && (e = {}), {
|
|
1926
1924
|
name: "shift",
|
|
1927
1925
|
options: e,
|
|
@@ -1932,17 +1930,17 @@ var mi = function(e) {
|
|
|
1932
1930
|
x: t,
|
|
1933
1931
|
y: n
|
|
1934
1932
|
};
|
|
1935
|
-
} }, ...l } =
|
|
1933
|
+
} }, ...l } = G(e, t), u = {
|
|
1936
1934
|
x: n,
|
|
1937
1935
|
y: r
|
|
1938
|
-
}, d = await a.detectOverflow(t, l), f = K(
|
|
1936
|
+
}, d = await a.detectOverflow(t, l), f = q(K(i)), p = Ur(f), m = u[p], h = u[f];
|
|
1939
1937
|
if (o) {
|
|
1940
1938
|
let e = p === "y" ? "top" : "left", t = p === "y" ? "bottom" : "right", n = m + d[e], r = m - d[t];
|
|
1941
|
-
m =
|
|
1939
|
+
m = Vr(n, m, r);
|
|
1942
1940
|
}
|
|
1943
1941
|
if (s) {
|
|
1944
1942
|
let e = f === "y" ? "top" : "left", t = f === "y" ? "bottom" : "right", n = h + d[e], r = h - d[t];
|
|
1945
|
-
h =
|
|
1943
|
+
h = Vr(n, h, r);
|
|
1946
1944
|
}
|
|
1947
1945
|
let g = c.fn({
|
|
1948
1946
|
...t,
|
|
@@ -1962,14 +1960,14 @@ var mi = function(e) {
|
|
|
1962
1960
|
};
|
|
1963
1961
|
}
|
|
1964
1962
|
};
|
|
1965
|
-
},
|
|
1963
|
+
}, vi = function(e) {
|
|
1966
1964
|
return e === void 0 && (e = {}), {
|
|
1967
1965
|
options: e,
|
|
1968
1966
|
fn(t) {
|
|
1969
|
-
let { x: n, y: r, placement: i, rects: a, middlewareData: o } = t, { offset: s = 0, mainAxis: c = !0, crossAxis: l = !0 } =
|
|
1967
|
+
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 = {
|
|
1970
1968
|
x: n,
|
|
1971
1969
|
y: r
|
|
1972
|
-
}, d =
|
|
1970
|
+
}, d = q(i), f = Ur(d), p = u[f], m = u[d], h = G(s, t), g = typeof h == "number" ? {
|
|
1973
1971
|
mainAxis: h,
|
|
1974
1972
|
crossAxis: 0
|
|
1975
1973
|
} : {
|
|
@@ -1982,7 +1980,7 @@ var mi = function(e) {
|
|
|
1982
1980
|
p < t ? p = t : p > n && (p = n);
|
|
1983
1981
|
}
|
|
1984
1982
|
if (l) {
|
|
1985
|
-
let e = f === "y" ? "width" : "height", t =
|
|
1983
|
+
let e = f === "y" ? "width" : "height", t = mi.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);
|
|
1986
1984
|
m < n ? m = n : m > r && (m = r);
|
|
1987
1985
|
}
|
|
1988
1986
|
return {
|
|
@@ -1991,18 +1989,18 @@ var mi = function(e) {
|
|
|
1991
1989
|
};
|
|
1992
1990
|
}
|
|
1993
1991
|
};
|
|
1994
|
-
},
|
|
1992
|
+
}, yi = function(e) {
|
|
1995
1993
|
return e === void 0 && (e = {}), {
|
|
1996
1994
|
name: "size",
|
|
1997
1995
|
options: e,
|
|
1998
1996
|
async fn(t) {
|
|
1999
1997
|
var n, r;
|
|
2000
|
-
let { placement: i, rects: a, platform: o, elements: s } = t, { apply: c = () => {}, ...l } =
|
|
1998
|
+
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, _;
|
|
2001
1999
|
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");
|
|
2002
|
-
let v = h - u.top - u.bottom, y = m - u.left - u.right, b =
|
|
2000
|
+
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;
|
|
2003
2001
|
if ((n = t.middlewareData.shift) != null && n.enabled.x && (w = y), (r = t.middlewareData.shift) != null && r.enabled.y && (C = v), S && !f) {
|
|
2004
|
-
let e =
|
|
2005
|
-
p ? w = m - 2 * (e !== 0 || t !== 0 ? e + t :
|
|
2002
|
+
let e = U(u.left, 0), t = U(u.right, 0), n = U(u.top, 0), r = U(u.bottom, 0);
|
|
2003
|
+
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));
|
|
2006
2004
|
}
|
|
2007
2005
|
await c({
|
|
2008
2006
|
...t,
|
|
@@ -2016,39 +2014,39 @@ var mi = function(e) {
|
|
|
2016
2014
|
};
|
|
2017
2015
|
//#endregion
|
|
2018
2016
|
//#region ../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
|
|
2019
|
-
function
|
|
2017
|
+
function bi() {
|
|
2020
2018
|
return typeof window < "u";
|
|
2021
2019
|
}
|
|
2022
|
-
function
|
|
2023
|
-
return
|
|
2020
|
+
function xi(e) {
|
|
2021
|
+
return Si(e) ? (e.nodeName || "").toLowerCase() : "#document";
|
|
2024
2022
|
}
|
|
2025
|
-
function
|
|
2023
|
+
function J(e) {
|
|
2026
2024
|
var t;
|
|
2027
2025
|
return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
|
|
2028
2026
|
}
|
|
2029
|
-
function J(e) {
|
|
2030
|
-
return ((bi(e) ? e.ownerDocument : e.document) || window.document)?.documentElement;
|
|
2031
|
-
}
|
|
2032
|
-
function bi(e) {
|
|
2033
|
-
return vi() ? e instanceof Node || e instanceof q(e).Node : !1;
|
|
2034
|
-
}
|
|
2035
2027
|
function Y(e) {
|
|
2036
|
-
return
|
|
2028
|
+
return ((Si(e) ? e.ownerDocument : e.document) || window.document)?.documentElement;
|
|
2037
2029
|
}
|
|
2038
|
-
function
|
|
2039
|
-
return
|
|
2030
|
+
function Si(e) {
|
|
2031
|
+
return bi() ? e instanceof Node || e instanceof J(e).Node : !1;
|
|
2040
2032
|
}
|
|
2041
|
-
function
|
|
2042
|
-
return
|
|
2033
|
+
function X(e) {
|
|
2034
|
+
return bi() ? e instanceof Element || e instanceof J(e).Element : !1;
|
|
2043
2035
|
}
|
|
2044
|
-
function
|
|
2045
|
-
|
|
2046
|
-
return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
|
|
2036
|
+
function Z(e) {
|
|
2037
|
+
return bi() ? e instanceof HTMLElement || e instanceof J(e).HTMLElement : !1;
|
|
2047
2038
|
}
|
|
2048
2039
|
function Ci(e) {
|
|
2049
|
-
return
|
|
2040
|
+
return !bi() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof J(e).ShadowRoot;
|
|
2050
2041
|
}
|
|
2051
2042
|
function wi(e) {
|
|
2043
|
+
let { overflow: t, overflowX: n, overflowY: r, display: i } = Q(e);
|
|
2044
|
+
return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
|
|
2045
|
+
}
|
|
2046
|
+
function Ti(e) {
|
|
2047
|
+
return /^(table|td|th)$/.test(xi(e));
|
|
2048
|
+
}
|
|
2049
|
+
function Ei(e) {
|
|
2052
2050
|
try {
|
|
2053
2051
|
if (e.matches(":popover-open")) return !0;
|
|
2054
2052
|
} catch {}
|
|
@@ -2058,31 +2056,31 @@ function wi(e) {
|
|
|
2058
2056
|
return !1;
|
|
2059
2057
|
}
|
|
2060
2058
|
}
|
|
2061
|
-
var
|
|
2062
|
-
function
|
|
2063
|
-
let t =
|
|
2064
|
-
return
|
|
2065
|
-
}
|
|
2066
|
-
function
|
|
2067
|
-
let t =
|
|
2068
|
-
for (;
|
|
2069
|
-
if (
|
|
2070
|
-
if (
|
|
2071
|
-
t =
|
|
2059
|
+
var Di = /transform|translate|scale|rotate|perspective|filter/, Oi = /paint|layout|strict|content/, ki = (e) => !!e && e !== "none", Ai;
|
|
2060
|
+
function ji(e) {
|
|
2061
|
+
let t = X(e) ? Q(e) : e;
|
|
2062
|
+
return ki(t.transform) || ki(t.translate) || ki(t.scale) || ki(t.rotate) || ki(t.perspective) || !Ni() && (ki(t.backdropFilter) || ki(t.filter)) || Di.test(t.willChange || "") || Oi.test(t.contain || "");
|
|
2063
|
+
}
|
|
2064
|
+
function Mi(e) {
|
|
2065
|
+
let t = Ii(e);
|
|
2066
|
+
for (; Z(t) && !Pi(t);) {
|
|
2067
|
+
if (ji(t)) return t;
|
|
2068
|
+
if (Ei(t)) return null;
|
|
2069
|
+
t = Ii(t);
|
|
2072
2070
|
}
|
|
2073
2071
|
return null;
|
|
2074
2072
|
}
|
|
2075
|
-
function
|
|
2076
|
-
return
|
|
2073
|
+
function Ni() {
|
|
2074
|
+
return Ai ??= typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none"), Ai;
|
|
2077
2075
|
}
|
|
2078
|
-
function
|
|
2079
|
-
return /^(html|body|#document)$/.test(
|
|
2076
|
+
function Pi(e) {
|
|
2077
|
+
return /^(html|body|#document)$/.test(xi(e));
|
|
2080
2078
|
}
|
|
2081
|
-
function
|
|
2082
|
-
return
|
|
2079
|
+
function Q(e) {
|
|
2080
|
+
return J(e).getComputedStyle(e);
|
|
2083
2081
|
}
|
|
2084
|
-
function
|
|
2085
|
-
return
|
|
2082
|
+
function Fi(e) {
|
|
2083
|
+
return X(e) ? {
|
|
2086
2084
|
scrollLeft: e.scrollLeft,
|
|
2087
2085
|
scrollTop: e.scrollTop
|
|
2088
2086
|
} : {
|
|
@@ -2090,102 +2088,102 @@ function Ni(e) {
|
|
|
2090
2088
|
scrollTop: e.scrollY
|
|
2091
2089
|
};
|
|
2092
2090
|
}
|
|
2093
|
-
function
|
|
2094
|
-
if (
|
|
2095
|
-
let t = e.assignedSlot || e.parentNode ||
|
|
2096
|
-
return
|
|
2091
|
+
function Ii(e) {
|
|
2092
|
+
if (xi(e) === "html") return e;
|
|
2093
|
+
let t = e.assignedSlot || e.parentNode || Ci(e) && e.host || Y(e);
|
|
2094
|
+
return Ci(t) ? t.host : t;
|
|
2097
2095
|
}
|
|
2098
|
-
function
|
|
2099
|
-
let t =
|
|
2100
|
-
return
|
|
2096
|
+
function Li(e) {
|
|
2097
|
+
let t = Ii(e);
|
|
2098
|
+
return Pi(t) ? (e.ownerDocument || e).body : Z(t) && wi(t) ? t : Li(t);
|
|
2101
2099
|
}
|
|
2102
|
-
function
|
|
2100
|
+
function Ri(e, t, n) {
|
|
2103
2101
|
t === void 0 && (t = []), n === void 0 && (n = !0);
|
|
2104
|
-
let r =
|
|
2102
|
+
let r = Li(e), i = r === e.ownerDocument?.body, a = J(r);
|
|
2105
2103
|
if (i) {
|
|
2106
|
-
let e =
|
|
2107
|
-
return t.concat(a, a.visualViewport || [],
|
|
2104
|
+
let e = zi(a);
|
|
2105
|
+
return t.concat(a, a.visualViewport || [], wi(r) ? r : [], e && n ? Ri(e) : []);
|
|
2108
2106
|
}
|
|
2109
|
-
return t.concat(r,
|
|
2107
|
+
return t.concat(r, Ri(r, [], n));
|
|
2110
2108
|
}
|
|
2111
|
-
function
|
|
2109
|
+
function zi(e) {
|
|
2112
2110
|
return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
|
|
2113
2111
|
}
|
|
2114
2112
|
//#endregion
|
|
2115
2113
|
//#region ../node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
|
|
2116
|
-
function
|
|
2117
|
-
let t =
|
|
2114
|
+
function Bi(e) {
|
|
2115
|
+
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 = Rr(n) !== a || Rr(r) !== o;
|
|
2118
2116
|
return s && (n = a, r = o), {
|
|
2119
2117
|
width: n,
|
|
2120
2118
|
height: r,
|
|
2121
2119
|
$: s
|
|
2122
2120
|
};
|
|
2123
2121
|
}
|
|
2124
|
-
function
|
|
2125
|
-
return
|
|
2122
|
+
function Vi(e) {
|
|
2123
|
+
return X(e) ? e : e.contextElement;
|
|
2126
2124
|
}
|
|
2127
|
-
function
|
|
2128
|
-
let t =
|
|
2129
|
-
if (!
|
|
2130
|
-
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } =
|
|
2125
|
+
function Hi(e) {
|
|
2126
|
+
let t = Vi(e);
|
|
2127
|
+
if (!Z(t)) return W(1);
|
|
2128
|
+
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = Bi(t), o = (a ? Rr(n.width) : n.width) / r, s = (a ? Rr(n.height) : n.height) / i;
|
|
2131
2129
|
return (!o || !Number.isFinite(o)) && (o = 1), (!s || !Number.isFinite(s)) && (s = 1), {
|
|
2132
2130
|
x: o,
|
|
2133
2131
|
y: s
|
|
2134
2132
|
};
|
|
2135
2133
|
}
|
|
2136
|
-
var
|
|
2137
|
-
function
|
|
2138
|
-
let t =
|
|
2139
|
-
return !
|
|
2134
|
+
var Ui = /*#__PURE__*/ W(0);
|
|
2135
|
+
function Wi(e) {
|
|
2136
|
+
let t = J(e);
|
|
2137
|
+
return !Ni() || !t.visualViewport ? Ui : {
|
|
2140
2138
|
x: t.visualViewport.offsetLeft,
|
|
2141
2139
|
y: t.visualViewport.offsetTop
|
|
2142
2140
|
};
|
|
2143
2141
|
}
|
|
2144
|
-
function
|
|
2145
|
-
return t === void 0 && (t = !1), !n || t && n !==
|
|
2142
|
+
function Gi(e, t, n) {
|
|
2143
|
+
return t === void 0 && (t = !1), !n || t && n !== J(e) ? !1 : t;
|
|
2146
2144
|
}
|
|
2147
|
-
function
|
|
2145
|
+
function Ki(e, t, n, r) {
|
|
2148
2146
|
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
|
2149
|
-
let i = e.getBoundingClientRect(), a =
|
|
2150
|
-
t && (r ?
|
|
2151
|
-
let s =
|
|
2147
|
+
let i = e.getBoundingClientRect(), a = Vi(e), o = W(1);
|
|
2148
|
+
t && (r ? X(r) && (o = Hi(r)) : o = Hi(e));
|
|
2149
|
+
let s = Gi(a, n, r) ? Wi(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;
|
|
2152
2150
|
if (a) {
|
|
2153
|
-
let e =
|
|
2151
|
+
let e = J(a), t = r && X(r) ? J(r) : r, n = e, i = zi(n);
|
|
2154
2152
|
for (; i && r && t !== n;) {
|
|
2155
|
-
let e =
|
|
2156
|
-
c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n =
|
|
2153
|
+
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;
|
|
2154
|
+
c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = J(i), i = zi(n);
|
|
2157
2155
|
}
|
|
2158
2156
|
}
|
|
2159
|
-
return
|
|
2157
|
+
return ii({
|
|
2160
2158
|
width: u,
|
|
2161
2159
|
height: d,
|
|
2162
2160
|
x: c,
|
|
2163
2161
|
y: l
|
|
2164
2162
|
});
|
|
2165
2163
|
}
|
|
2166
|
-
function
|
|
2167
|
-
let n =
|
|
2168
|
-
return t ? t.left + n :
|
|
2164
|
+
function qi(e, t) {
|
|
2165
|
+
let n = Fi(e).scrollLeft;
|
|
2166
|
+
return t ? t.left + n : Ki(Y(e)).left + n;
|
|
2169
2167
|
}
|
|
2170
|
-
function
|
|
2168
|
+
function Ji(e, t) {
|
|
2171
2169
|
let n = e.getBoundingClientRect();
|
|
2172
2170
|
return {
|
|
2173
|
-
x: n.left + t.scrollLeft -
|
|
2171
|
+
x: n.left + t.scrollLeft - qi(e, n),
|
|
2174
2172
|
y: n.top + t.scrollTop
|
|
2175
2173
|
};
|
|
2176
2174
|
}
|
|
2177
|
-
function
|
|
2178
|
-
let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o =
|
|
2175
|
+
function Yi(e) {
|
|
2176
|
+
let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = Y(r), s = t ? Ei(t.floating) : !1;
|
|
2179
2177
|
if (r === o || s && a) return n;
|
|
2180
2178
|
let c = {
|
|
2181
2179
|
scrollLeft: 0,
|
|
2182
2180
|
scrollTop: 0
|
|
2183
|
-
}, l =
|
|
2184
|
-
if ((d || !d && !a) && ((
|
|
2185
|
-
let e =
|
|
2186
|
-
l =
|
|
2181
|
+
}, l = W(1), u = W(0), d = Z(r);
|
|
2182
|
+
if ((d || !d && !a) && ((xi(r) !== "body" || wi(o)) && (c = Fi(r)), d)) {
|
|
2183
|
+
let e = Ki(r);
|
|
2184
|
+
l = Hi(r), u.x = e.x + r.clientLeft, u.y = e.y + r.clientTop;
|
|
2187
2185
|
}
|
|
2188
|
-
let f = o && !d && !a ?
|
|
2186
|
+
let f = o && !d && !a ? Ji(o, c) : W(0);
|
|
2189
2187
|
return {
|
|
2190
2188
|
width: n.width * l.x,
|
|
2191
2189
|
height: n.height * l.y,
|
|
@@ -2193,31 +2191,31 @@ function qi(e) {
|
|
|
2193
2191
|
y: n.y * l.y - c.scrollTop * l.y + u.y + f.y
|
|
2194
2192
|
};
|
|
2195
2193
|
}
|
|
2196
|
-
function
|
|
2194
|
+
function Xi(e) {
|
|
2197
2195
|
return Array.from(e.getClientRects());
|
|
2198
2196
|
}
|
|
2199
|
-
function
|
|
2200
|
-
let t =
|
|
2201
|
-
return
|
|
2197
|
+
function Zi(e) {
|
|
2198
|
+
let t = Y(e), n = Fi(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 + qi(e), s = -n.scrollTop;
|
|
2199
|
+
return Q(r).direction === "rtl" && (o += U(t.clientWidth, r.clientWidth) - i), {
|
|
2202
2200
|
width: i,
|
|
2203
2201
|
height: a,
|
|
2204
2202
|
x: o,
|
|
2205
2203
|
y: s
|
|
2206
2204
|
};
|
|
2207
2205
|
}
|
|
2208
|
-
var
|
|
2209
|
-
function
|
|
2210
|
-
let n =
|
|
2206
|
+
var Qi = 25;
|
|
2207
|
+
function $i(e, t) {
|
|
2208
|
+
let n = J(e), r = Y(e), i = n.visualViewport, a = r.clientWidth, o = r.clientHeight, s = 0, c = 0;
|
|
2211
2209
|
if (i) {
|
|
2212
2210
|
a = i.width, o = i.height;
|
|
2213
|
-
let e =
|
|
2211
|
+
let e = Ni();
|
|
2214
2212
|
(!e || e && t === "fixed") && (s = i.offsetLeft, c = i.offsetTop);
|
|
2215
2213
|
}
|
|
2216
|
-
let l =
|
|
2214
|
+
let l = qi(r);
|
|
2217
2215
|
if (l <= 0) {
|
|
2218
2216
|
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);
|
|
2219
|
-
o <=
|
|
2220
|
-
} else l <=
|
|
2217
|
+
o <= Qi && (a -= o);
|
|
2218
|
+
} else l <= Qi && (a += l);
|
|
2221
2219
|
return {
|
|
2222
2220
|
width: a,
|
|
2223
2221
|
height: o,
|
|
@@ -2225,8 +2223,8 @@ function Zi(e, t) {
|
|
|
2225
2223
|
y: c
|
|
2226
2224
|
};
|
|
2227
2225
|
}
|
|
2228
|
-
function
|
|
2229
|
-
let n =
|
|
2226
|
+
function ea(e, t) {
|
|
2227
|
+
let n = Ki(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = Z(e) ? Hi(e) : W(1);
|
|
2230
2228
|
return {
|
|
2231
2229
|
width: e.clientWidth * a.x,
|
|
2232
2230
|
height: e.clientHeight * a.y,
|
|
@@ -2234,13 +2232,13 @@ function Qi(e, t) {
|
|
|
2234
2232
|
y: r * a.y
|
|
2235
2233
|
};
|
|
2236
2234
|
}
|
|
2237
|
-
function
|
|
2235
|
+
function ta(e, t, n) {
|
|
2238
2236
|
let r;
|
|
2239
|
-
if (t === "viewport") r =
|
|
2240
|
-
else if (t === "document") r =
|
|
2241
|
-
else if (
|
|
2237
|
+
if (t === "viewport") r = $i(e, n);
|
|
2238
|
+
else if (t === "document") r = Zi(Y(e));
|
|
2239
|
+
else if (X(t)) r = ea(t, n);
|
|
2242
2240
|
else {
|
|
2243
|
-
let n =
|
|
2241
|
+
let n = Wi(e);
|
|
2244
2242
|
r = {
|
|
2245
2243
|
x: t.x - n.x,
|
|
2246
2244
|
y: t.y - n.y,
|
|
@@ -2248,27 +2246,27 @@ function $i(e, t, n) {
|
|
|
2248
2246
|
height: t.height
|
|
2249
2247
|
};
|
|
2250
2248
|
}
|
|
2251
|
-
return
|
|
2249
|
+
return ii(r);
|
|
2252
2250
|
}
|
|
2253
|
-
function
|
|
2254
|
-
let n =
|
|
2255
|
-
return n === t || !
|
|
2251
|
+
function na(e, t) {
|
|
2252
|
+
let n = Ii(e);
|
|
2253
|
+
return n === t || !X(n) || Pi(n) ? !1 : Q(n).position === "fixed" || na(n, t);
|
|
2256
2254
|
}
|
|
2257
|
-
function
|
|
2255
|
+
function ra(e, t) {
|
|
2258
2256
|
let n = t.get(e);
|
|
2259
2257
|
if (n) return n;
|
|
2260
|
-
let r =
|
|
2261
|
-
for (;
|
|
2262
|
-
let t =
|
|
2263
|
-
!n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") ||
|
|
2258
|
+
let r = Ri(e, [], !1).filter((e) => X(e) && xi(e) !== "body"), i = null, a = Q(e).position === "fixed", o = a ? Ii(e) : e;
|
|
2259
|
+
for (; X(o) && !Pi(o);) {
|
|
2260
|
+
let t = Q(o), n = ji(o);
|
|
2261
|
+
!n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") || wi(o) && !n && na(e, o)) ? r = r.filter((e) => e !== o) : i = t, o = Ii(o);
|
|
2264
2262
|
}
|
|
2265
2263
|
return t.set(e, r), r;
|
|
2266
2264
|
}
|
|
2267
|
-
function
|
|
2268
|
-
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ?
|
|
2265
|
+
function ia(e) {
|
|
2266
|
+
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? Ei(t) ? [] : ra(t, this._c) : [].concat(n), r], o = ta(t, a[0], i), s = o.top, c = o.right, l = o.bottom, u = o.left;
|
|
2269
2267
|
for (let e = 1; e < a.length; e++) {
|
|
2270
|
-
let n =
|
|
2271
|
-
s =
|
|
2268
|
+
let n = ta(t, a[e], i);
|
|
2269
|
+
s = U(n.top, s), c = H(n.right, c), l = H(n.bottom, l), u = U(n.left, u);
|
|
2272
2270
|
}
|
|
2273
2271
|
return {
|
|
2274
2272
|
width: c - u,
|
|
@@ -2277,29 +2275,29 @@ function na(e) {
|
|
|
2277
2275
|
y: s
|
|
2278
2276
|
};
|
|
2279
2277
|
}
|
|
2280
|
-
function
|
|
2281
|
-
let { width: t, height: n } =
|
|
2278
|
+
function aa(e) {
|
|
2279
|
+
let { width: t, height: n } = Bi(e);
|
|
2282
2280
|
return {
|
|
2283
2281
|
width: t,
|
|
2284
2282
|
height: n
|
|
2285
2283
|
};
|
|
2286
2284
|
}
|
|
2287
|
-
function
|
|
2288
|
-
let r =
|
|
2285
|
+
function oa(e, t, n) {
|
|
2286
|
+
let r = Z(t), i = Y(t), a = n === "fixed", o = Ki(e, !0, a, t), s = {
|
|
2289
2287
|
scrollLeft: 0,
|
|
2290
2288
|
scrollTop: 0
|
|
2291
|
-
}, c =
|
|
2289
|
+
}, c = W(0);
|
|
2292
2290
|
function l() {
|
|
2293
|
-
c.x =
|
|
2291
|
+
c.x = qi(i);
|
|
2294
2292
|
}
|
|
2295
2293
|
if (r || !r && !a) {
|
|
2296
|
-
if ((
|
|
2297
|
-
let e =
|
|
2294
|
+
if ((xi(t) !== "body" || wi(i)) && (s = Fi(t)), r) {
|
|
2295
|
+
let e = Ki(t, !0, a, t);
|
|
2298
2296
|
c.x = e.x + t.clientLeft, c.y = e.y + t.clientTop;
|
|
2299
2297
|
} else i && l();
|
|
2300
2298
|
}
|
|
2301
2299
|
a && !r && i && l();
|
|
2302
|
-
let u = i && !r && !a ?
|
|
2300
|
+
let u = i && !r && !a ? Ji(i, s) : W(0);
|
|
2303
2301
|
return {
|
|
2304
2302
|
x: o.left + s.scrollLeft - c.x - u.x,
|
|
2305
2303
|
y: o.top + s.scrollTop - c.y - u.y,
|
|
@@ -2307,34 +2305,34 @@ function ia(e, t, n) {
|
|
|
2307
2305
|
height: o.height
|
|
2308
2306
|
};
|
|
2309
2307
|
}
|
|
2310
|
-
function
|
|
2311
|
-
return
|
|
2308
|
+
function sa(e) {
|
|
2309
|
+
return Q(e).position === "static";
|
|
2312
2310
|
}
|
|
2313
|
-
function
|
|
2314
|
-
if (!
|
|
2311
|
+
function ca(e, t) {
|
|
2312
|
+
if (!Z(e) || Q(e).position === "fixed") return null;
|
|
2315
2313
|
if (t) return t(e);
|
|
2316
2314
|
let n = e.offsetParent;
|
|
2317
|
-
return
|
|
2318
|
-
}
|
|
2319
|
-
function
|
|
2320
|
-
let n =
|
|
2321
|
-
if (
|
|
2322
|
-
if (!
|
|
2323
|
-
let t =
|
|
2324
|
-
for (; t && !
|
|
2325
|
-
if (
|
|
2326
|
-
t =
|
|
2315
|
+
return Y(e) === n && (n = n.ownerDocument.body), n;
|
|
2316
|
+
}
|
|
2317
|
+
function la(e, t) {
|
|
2318
|
+
let n = J(e);
|
|
2319
|
+
if (Ei(e)) return n;
|
|
2320
|
+
if (!Z(e)) {
|
|
2321
|
+
let t = Ii(e);
|
|
2322
|
+
for (; t && !Pi(t);) {
|
|
2323
|
+
if (X(t) && !sa(t)) return t;
|
|
2324
|
+
t = Ii(t);
|
|
2327
2325
|
}
|
|
2328
2326
|
return n;
|
|
2329
2327
|
}
|
|
2330
|
-
let r =
|
|
2331
|
-
for (; r &&
|
|
2332
|
-
return r &&
|
|
2328
|
+
let r = ca(e, t);
|
|
2329
|
+
for (; r && Ti(r) && sa(r);) r = ca(r, t);
|
|
2330
|
+
return r && Pi(r) && sa(r) && !ji(r) ? n : r || Mi(e) || n;
|
|
2333
2331
|
}
|
|
2334
|
-
var
|
|
2335
|
-
let t = this.getOffsetParent ||
|
|
2332
|
+
var ua = async function(e) {
|
|
2333
|
+
let t = this.getOffsetParent || la, n = this.getDimensions, r = await n(e.floating);
|
|
2336
2334
|
return {
|
|
2337
|
-
reference:
|
|
2335
|
+
reference: oa(e.reference, await t(e.floating), e.strategy),
|
|
2338
2336
|
floating: {
|
|
2339
2337
|
x: 0,
|
|
2340
2338
|
y: 0,
|
|
@@ -2343,26 +2341,26 @@ var ca = async function(e) {
|
|
|
2343
2341
|
}
|
|
2344
2342
|
};
|
|
2345
2343
|
};
|
|
2346
|
-
function
|
|
2347
|
-
return
|
|
2348
|
-
}
|
|
2349
|
-
var
|
|
2350
|
-
convertOffsetParentRelativeRectToViewportRelativeRect:
|
|
2351
|
-
getDocumentElement:
|
|
2352
|
-
getClippingRect:
|
|
2353
|
-
getOffsetParent:
|
|
2354
|
-
getElementRects:
|
|
2355
|
-
getClientRects:
|
|
2356
|
-
getDimensions:
|
|
2357
|
-
getScale:
|
|
2358
|
-
isElement:
|
|
2359
|
-
isRTL:
|
|
2344
|
+
function da(e) {
|
|
2345
|
+
return Q(e).direction === "rtl";
|
|
2346
|
+
}
|
|
2347
|
+
var fa = {
|
|
2348
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: Yi,
|
|
2349
|
+
getDocumentElement: Y,
|
|
2350
|
+
getClippingRect: ia,
|
|
2351
|
+
getOffsetParent: la,
|
|
2352
|
+
getElementRects: ua,
|
|
2353
|
+
getClientRects: Xi,
|
|
2354
|
+
getDimensions: aa,
|
|
2355
|
+
getScale: Hi,
|
|
2356
|
+
isElement: X,
|
|
2357
|
+
isRTL: da
|
|
2360
2358
|
};
|
|
2361
|
-
function
|
|
2359
|
+
function pa(e, t) {
|
|
2362
2360
|
return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
|
|
2363
2361
|
}
|
|
2364
|
-
function
|
|
2365
|
-
let n = null, r, i =
|
|
2362
|
+
function ma(e, t) {
|
|
2363
|
+
let n = null, r, i = Y(e);
|
|
2366
2364
|
function a() {
|
|
2367
2365
|
var e;
|
|
2368
2366
|
clearTimeout(r), (e = n) == null || e.disconnect(), n = null;
|
|
@@ -2371,9 +2369,9 @@ function fa(e, t) {
|
|
|
2371
2369
|
s === void 0 && (s = !1), c === void 0 && (c = 1), a();
|
|
2372
2370
|
let l = e.getBoundingClientRect(), { left: u, top: d, width: f, height: p } = l;
|
|
2373
2371
|
if (s || t(), !f || !p) return;
|
|
2374
|
-
let m =
|
|
2372
|
+
let m = zr(d), h = zr(i.clientWidth - (u + f)), g = zr(i.clientHeight - (d + p)), _ = zr(u), v = {
|
|
2375
2373
|
rootMargin: -m + "px " + -h + "px " + -g + "px " + -_ + "px",
|
|
2376
|
-
threshold:
|
|
2374
|
+
threshold: U(0, H(1, c)) || 1
|
|
2377
2375
|
}, y = !0;
|
|
2378
2376
|
function b(t) {
|
|
2379
2377
|
let n = t[0].intersectionRatio;
|
|
@@ -2383,7 +2381,7 @@ function fa(e, t) {
|
|
|
2383
2381
|
o(!1, 1e-7);
|
|
2384
2382
|
}, 1e3);
|
|
2385
2383
|
}
|
|
2386
|
-
n === 1 && !
|
|
2384
|
+
n === 1 && !pa(l, e.getBoundingClientRect()) && o(), y = !1;
|
|
2387
2385
|
}
|
|
2388
2386
|
try {
|
|
2389
2387
|
n = new IntersectionObserver(b, {
|
|
@@ -2397,13 +2395,13 @@ function fa(e, t) {
|
|
|
2397
2395
|
}
|
|
2398
2396
|
return o(!0), a;
|
|
2399
2397
|
}
|
|
2400
|
-
function
|
|
2398
|
+
function ha(e, t, n, r) {
|
|
2401
2399
|
r === void 0 && (r = {});
|
|
2402
|
-
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l =
|
|
2400
|
+
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l = Vi(e), u = i || a ? [...l ? Ri(l) : [], ...t ? Ri(t) : []] : [];
|
|
2403
2401
|
u.forEach((e) => {
|
|
2404
2402
|
i && e.addEventListener("scroll", n, { passive: !0 }), a && e.addEventListener("resize", n);
|
|
2405
2403
|
});
|
|
2406
|
-
let d = l && s ?
|
|
2404
|
+
let d = l && s ? ma(l, n) : null, f = -1, p = null;
|
|
2407
2405
|
o && (p = new ResizeObserver((e) => {
|
|
2408
2406
|
let [r] = e;
|
|
2409
2407
|
r && r.target === l && p && t && (p.unobserve(t), cancelAnimationFrame(f), f = requestAnimationFrame(() => {
|
|
@@ -2411,11 +2409,11 @@ function pa(e, t, n, r) {
|
|
|
2411
2409
|
(e = p) == null || e.observe(t);
|
|
2412
2410
|
})), n();
|
|
2413
2411
|
}), l && !c && p.observe(l), t && p.observe(t));
|
|
2414
|
-
let m, h = c ?
|
|
2412
|
+
let m, h = c ? Ki(e) : null;
|
|
2415
2413
|
c && g();
|
|
2416
2414
|
function g() {
|
|
2417
|
-
let t =
|
|
2418
|
-
h && !
|
|
2415
|
+
let t = Ki(e);
|
|
2416
|
+
h && !pa(h, t) && n(), h = t, m = requestAnimationFrame(g);
|
|
2419
2417
|
}
|
|
2420
2418
|
return n(), () => {
|
|
2421
2419
|
var e;
|
|
@@ -2424,20 +2422,20 @@ function pa(e, t, n, r) {
|
|
|
2424
2422
|
}), d?.(), (e = p) == null || e.disconnect(), p = null, c && cancelAnimationFrame(m);
|
|
2425
2423
|
};
|
|
2426
2424
|
}
|
|
2427
|
-
var
|
|
2425
|
+
var ga = gi, _a = _i, va = ui, ya = yi, ba = pi, xa = li, Sa = vi, Ca = (e, t, n) => {
|
|
2428
2426
|
let r = /* @__PURE__ */ new Map(), i = {
|
|
2429
|
-
platform:
|
|
2427
|
+
platform: fa,
|
|
2430
2428
|
...n
|
|
2431
2429
|
}, a = {
|
|
2432
2430
|
...i.platform,
|
|
2433
2431
|
_c: r
|
|
2434
2432
|
};
|
|
2435
|
-
return
|
|
2433
|
+
return ci(e, t, {
|
|
2436
2434
|
...i,
|
|
2437
2435
|
platform: a
|
|
2438
2436
|
});
|
|
2439
|
-
},
|
|
2440
|
-
function
|
|
2437
|
+
}, wa = typeof document < "u" ? F.useLayoutEffect : function() {};
|
|
2438
|
+
function Ta(e, t) {
|
|
2441
2439
|
if (e === t) return !0;
|
|
2442
2440
|
if (typeof e != typeof t) return !1;
|
|
2443
2441
|
if (typeof e == "function" && e.toString() === t.toString()) return !0;
|
|
@@ -2445,33 +2443,33 @@ function Ca(e, t) {
|
|
|
2445
2443
|
if (e && t && typeof e == "object") {
|
|
2446
2444
|
if (Array.isArray(e)) {
|
|
2447
2445
|
if (n = e.length, n !== t.length) return !1;
|
|
2448
|
-
for (r = n; r-- !== 0;) if (!
|
|
2446
|
+
for (r = n; r-- !== 0;) if (!Ta(e[r], t[r])) return !1;
|
|
2449
2447
|
return !0;
|
|
2450
2448
|
}
|
|
2451
2449
|
if (i = Object.keys(e), n = i.length, n !== Object.keys(t).length) return !1;
|
|
2452
2450
|
for (r = n; r-- !== 0;) if (!{}.hasOwnProperty.call(t, i[r])) return !1;
|
|
2453
2451
|
for (r = n; r-- !== 0;) {
|
|
2454
2452
|
let n = i[r];
|
|
2455
|
-
if (!(n === "_owner" && e.$$typeof) && !
|
|
2453
|
+
if (!(n === "_owner" && e.$$typeof) && !Ta(e[n], t[n])) return !1;
|
|
2456
2454
|
}
|
|
2457
2455
|
return !0;
|
|
2458
2456
|
}
|
|
2459
2457
|
return e !== e && t !== t;
|
|
2460
2458
|
}
|
|
2461
|
-
function
|
|
2459
|
+
function Ea(e) {
|
|
2462
2460
|
return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
2463
2461
|
}
|
|
2464
|
-
function
|
|
2465
|
-
let n =
|
|
2462
|
+
function Da(e, t) {
|
|
2463
|
+
let n = Ea(e);
|
|
2466
2464
|
return Math.round(t * n) / n;
|
|
2467
2465
|
}
|
|
2468
|
-
function
|
|
2466
|
+
function Oa(e) {
|
|
2469
2467
|
let t = F.useRef(e);
|
|
2470
|
-
return
|
|
2468
|
+
return wa(() => {
|
|
2471
2469
|
t.current = e;
|
|
2472
2470
|
}), t;
|
|
2473
2471
|
}
|
|
2474
|
-
function
|
|
2472
|
+
function ka(e) {
|
|
2475
2473
|
e === void 0 && (e = {});
|
|
2476
2474
|
let { placement: t = "bottom", strategy: n = "absolute", middleware: r = [], platform: i, elements: { reference: a, floating: o } = {}, transform: s = !0, whileElementsMounted: c, open: l } = e, [u, d] = F.useState({
|
|
2477
2475
|
x: 0,
|
|
@@ -2481,24 +2479,24 @@ function Da(e) {
|
|
|
2481
2479
|
middlewareData: {},
|
|
2482
2480
|
isPositioned: !1
|
|
2483
2481
|
}), [f, p] = F.useState(r);
|
|
2484
|
-
|
|
2482
|
+
Ta(f, r) || p(r);
|
|
2485
2483
|
let [m, h] = F.useState(null), [g, _] = F.useState(null), v = F.useCallback((e) => {
|
|
2486
2484
|
e !== S.current && (S.current = e, h(e));
|
|
2487
2485
|
}, []), y = F.useCallback((e) => {
|
|
2488
2486
|
e !== C.current && (C.current = e, _(e));
|
|
2489
|
-
}, []), b = a || m, x = o || g, S = F.useRef(null), C = F.useRef(null), w = F.useRef(u), T = c != null, ee =
|
|
2487
|
+
}, []), b = a || m, x = o || g, S = F.useRef(null), C = F.useRef(null), w = F.useRef(u), T = c != null, ee = Oa(c), E = Oa(i), D = Oa(l), O = F.useCallback(() => {
|
|
2490
2488
|
if (!S.current || !C.current) return;
|
|
2491
2489
|
let e = {
|
|
2492
2490
|
placement: t,
|
|
2493
2491
|
strategy: n,
|
|
2494
2492
|
middleware: f
|
|
2495
2493
|
};
|
|
2496
|
-
E.current && (e.platform = E.current),
|
|
2494
|
+
E.current && (e.platform = E.current), Ca(S.current, C.current, e).then((e) => {
|
|
2497
2495
|
let t = {
|
|
2498
2496
|
...e,
|
|
2499
2497
|
isPositioned: D.current !== !1
|
|
2500
2498
|
};
|
|
2501
|
-
k.current && !
|
|
2499
|
+
k.current && !Ta(w.current, t) && (w.current = t, Lt.flushSync(() => {
|
|
2502
2500
|
d(t);
|
|
2503
2501
|
}));
|
|
2504
2502
|
});
|
|
@@ -2509,16 +2507,16 @@ function Da(e) {
|
|
|
2509
2507
|
E,
|
|
2510
2508
|
D
|
|
2511
2509
|
]);
|
|
2512
|
-
|
|
2510
|
+
wa(() => {
|
|
2513
2511
|
l === !1 && w.current.isPositioned && (w.current.isPositioned = !1, d((e) => ({
|
|
2514
2512
|
...e,
|
|
2515
2513
|
isPositioned: !1
|
|
2516
2514
|
})));
|
|
2517
2515
|
}, [l]);
|
|
2518
2516
|
let k = F.useRef(!1);
|
|
2519
|
-
|
|
2517
|
+
wa(() => (k.current = !0, () => {
|
|
2520
2518
|
k.current = !1;
|
|
2521
|
-
}), []),
|
|
2519
|
+
}), []), wa(() => {
|
|
2522
2520
|
if (b && (S.current = b), x && (C.current = x), b && x) {
|
|
2523
2521
|
if (ee.current) return ee.current(b, x, O);
|
|
2524
2522
|
O();
|
|
@@ -2545,11 +2543,11 @@ function Da(e) {
|
|
|
2545
2543
|
top: 0
|
|
2546
2544
|
};
|
|
2547
2545
|
if (!j.floating) return e;
|
|
2548
|
-
let t =
|
|
2546
|
+
let t = Da(j.floating, u.x), r = Da(j.floating, u.y);
|
|
2549
2547
|
return s ? {
|
|
2550
2548
|
...e,
|
|
2551
2549
|
transform: "translate(" + t + "px, " + r + "px)",
|
|
2552
|
-
...
|
|
2550
|
+
...Ea(j.floating) >= 1.5 && { willChange: "transform" }
|
|
2553
2551
|
} : {
|
|
2554
2552
|
position: n,
|
|
2555
2553
|
left: t,
|
|
@@ -2576,7 +2574,7 @@ function Da(e) {
|
|
|
2576
2574
|
M
|
|
2577
2575
|
]);
|
|
2578
2576
|
}
|
|
2579
|
-
var
|
|
2577
|
+
var Aa = (e) => {
|
|
2580
2578
|
function t(e) {
|
|
2581
2579
|
return {}.hasOwnProperty.call(e, "current");
|
|
2582
2580
|
}
|
|
@@ -2585,61 +2583,61 @@ var Oa = (e) => {
|
|
|
2585
2583
|
options: e,
|
|
2586
2584
|
fn(n) {
|
|
2587
2585
|
let { element: r, padding: i } = typeof e == "function" ? e(n) : e;
|
|
2588
|
-
return r && t(r) ? r.current == null ? {} :
|
|
2586
|
+
return r && t(r) ? r.current == null ? {} : xa({
|
|
2589
2587
|
element: r.current,
|
|
2590
2588
|
padding: i
|
|
2591
|
-
}).fn(n) : r ?
|
|
2589
|
+
}).fn(n) : r ? xa({
|
|
2592
2590
|
element: r,
|
|
2593
2591
|
padding: i
|
|
2594
2592
|
}).fn(n) : {};
|
|
2595
2593
|
}
|
|
2596
2594
|
};
|
|
2597
|
-
},
|
|
2598
|
-
let n =
|
|
2595
|
+
}, ja = (e, t) => {
|
|
2596
|
+
let n = ga(e);
|
|
2599
2597
|
return {
|
|
2600
2598
|
name: n.name,
|
|
2601
2599
|
fn: n.fn,
|
|
2602
2600
|
options: [e, t]
|
|
2603
2601
|
};
|
|
2604
|
-
},
|
|
2605
|
-
let n =
|
|
2602
|
+
}, Ma = (e, t) => {
|
|
2603
|
+
let n = _a(e);
|
|
2606
2604
|
return {
|
|
2607
2605
|
name: n.name,
|
|
2608
2606
|
fn: n.fn,
|
|
2609
2607
|
options: [e, t]
|
|
2610
2608
|
};
|
|
2611
|
-
},
|
|
2612
|
-
fn:
|
|
2609
|
+
}, Na = (e, t) => ({
|
|
2610
|
+
fn: Sa(e).fn,
|
|
2613
2611
|
options: [e, t]
|
|
2614
|
-
}),
|
|
2615
|
-
let n =
|
|
2612
|
+
}), Pa = (e, t) => {
|
|
2613
|
+
let n = va(e);
|
|
2616
2614
|
return {
|
|
2617
2615
|
name: n.name,
|
|
2618
2616
|
fn: n.fn,
|
|
2619
2617
|
options: [e, t]
|
|
2620
2618
|
};
|
|
2621
|
-
},
|
|
2622
|
-
let n =
|
|
2619
|
+
}, Fa = (e, t) => {
|
|
2620
|
+
let n = ya(e);
|
|
2623
2621
|
return {
|
|
2624
2622
|
name: n.name,
|
|
2625
2623
|
fn: n.fn,
|
|
2626
2624
|
options: [e, t]
|
|
2627
2625
|
};
|
|
2628
|
-
},
|
|
2629
|
-
let n =
|
|
2626
|
+
}, Ia = (e, t) => {
|
|
2627
|
+
let n = ba(e);
|
|
2630
2628
|
return {
|
|
2631
2629
|
name: n.name,
|
|
2632
2630
|
fn: n.fn,
|
|
2633
2631
|
options: [e, t]
|
|
2634
2632
|
};
|
|
2635
|
-
},
|
|
2636
|
-
let n =
|
|
2633
|
+
}, La = (e, t) => {
|
|
2634
|
+
let n = Aa(e);
|
|
2637
2635
|
return {
|
|
2638
2636
|
name: n.name,
|
|
2639
2637
|
fn: n.fn,
|
|
2640
2638
|
options: [e, t]
|
|
2641
2639
|
};
|
|
2642
|
-
},
|
|
2640
|
+
}, Ra = "Arrow", za = F.forwardRef((e, t) => {
|
|
2643
2641
|
let { children: n, width: r = 10, height: i = 5, ...a } = e;
|
|
2644
2642
|
return /* @__PURE__ */ (0, L.jsx)(V.svg, {
|
|
2645
2643
|
...a,
|
|
@@ -2651,13 +2649,13 @@ var Oa = (e) => {
|
|
|
2651
2649
|
children: e.asChild ? n : /* @__PURE__ */ (0, L.jsx)("polygon", { points: "0,0 30,0 15,10" })
|
|
2652
2650
|
});
|
|
2653
2651
|
});
|
|
2654
|
-
|
|
2655
|
-
var
|
|
2652
|
+
za.displayName = Ra;
|
|
2653
|
+
var Ba = za;
|
|
2656
2654
|
//#endregion
|
|
2657
2655
|
//#region ../node_modules/@radix-ui/react-use-size/dist/index.mjs
|
|
2658
|
-
function
|
|
2656
|
+
function Va(e) {
|
|
2659
2657
|
let [t, n] = F.useState(void 0);
|
|
2660
|
-
return
|
|
2658
|
+
return Nr(() => {
|
|
2661
2659
|
if (e) {
|
|
2662
2660
|
n({
|
|
2663
2661
|
width: e.offsetWidth,
|
|
@@ -2682,18 +2680,18 @@ function za(e) {
|
|
|
2682
2680
|
}
|
|
2683
2681
|
//#endregion
|
|
2684
2682
|
//#region ../node_modules/@radix-ui/react-popper/dist/index.mjs
|
|
2685
|
-
var
|
|
2683
|
+
var Ha = "Popper", [Ua, Wa] = Wn(Ha), [Ga, Ka] = Ua(Ha), qa = (e) => {
|
|
2686
2684
|
let { __scopePopper: t, children: n } = e, [r, i] = F.useState(null);
|
|
2687
|
-
return /* @__PURE__ */ (0, L.jsx)(
|
|
2685
|
+
return /* @__PURE__ */ (0, L.jsx)(Ga, {
|
|
2688
2686
|
scope: t,
|
|
2689
2687
|
anchor: r,
|
|
2690
2688
|
onAnchorChange: i,
|
|
2691
2689
|
children: n
|
|
2692
2690
|
});
|
|
2693
2691
|
};
|
|
2694
|
-
|
|
2695
|
-
var
|
|
2696
|
-
let { __scopePopper: n, virtualRef: r, ...i } = e, a =
|
|
2692
|
+
qa.displayName = Ha;
|
|
2693
|
+
var Ja = "PopperAnchor", Ya = F.forwardRef((e, t) => {
|
|
2694
|
+
let { __scopePopper: n, virtualRef: r, ...i } = e, a = Ka(Ja, n), o = F.useRef(null), s = B(t, o), c = F.useRef(null);
|
|
2697
2695
|
return F.useEffect(() => {
|
|
2698
2696
|
let e = c.current;
|
|
2699
2697
|
c.current = r?.current || o.current, e !== c.current && a.onAnchorChange(c.current);
|
|
@@ -2702,9 +2700,9 @@ var Ka = "PopperAnchor", qa = F.forwardRef((e, t) => {
|
|
|
2702
2700
|
ref: s
|
|
2703
2701
|
});
|
|
2704
2702
|
});
|
|
2705
|
-
|
|
2706
|
-
var
|
|
2707
|
-
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 =
|
|
2703
|
+
Ya.displayName = Ja;
|
|
2704
|
+
var Xa = "PopperContent", [Za, Qa] = Ua(Xa), $a = F.forwardRef((e, t) => {
|
|
2705
|
+
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 = Ka(Xa, n), [_, v] = F.useState(null), y = B(t, (e) => v(e)), [b, x] = F.useState(null), S = Va(b), C = S?.width ?? 0, w = S?.height ?? 0, T = r + (a === "center" ? "" : "-" + a), ee = typeof u == "number" ? u : {
|
|
2708
2706
|
top: 0,
|
|
2709
2707
|
right: 0,
|
|
2710
2708
|
bottom: 0,
|
|
@@ -2712,51 +2710,51 @@ var Ja = "PopperContent", [Ya, Xa] = Va(Ja), Za = F.forwardRef((e, t) => {
|
|
|
2712
2710
|
...u
|
|
2713
2711
|
}, E = Array.isArray(l) ? l : [l], D = E.length > 0, O = {
|
|
2714
2712
|
padding: ee,
|
|
2715
|
-
boundary: E.filter(
|
|
2713
|
+
boundary: E.filter(ro),
|
|
2716
2714
|
altBoundary: D
|
|
2717
|
-
}, { refs: k, floatingStyles: A, placement: j, isPositioned: M, middlewareData: te } =
|
|
2715
|
+
}, { refs: k, floatingStyles: A, placement: j, isPositioned: M, middlewareData: te } = ka({
|
|
2718
2716
|
strategy: "fixed",
|
|
2719
2717
|
placement: T,
|
|
2720
|
-
whileElementsMounted: (...e) =>
|
|
2718
|
+
whileElementsMounted: (...e) => ha(...e, { animationFrame: p === "always" }),
|
|
2721
2719
|
elements: { reference: g.anchor },
|
|
2722
2720
|
middleware: [
|
|
2723
|
-
|
|
2721
|
+
ja({
|
|
2724
2722
|
mainAxis: i + w,
|
|
2725
2723
|
alignmentAxis: o
|
|
2726
2724
|
}),
|
|
2727
|
-
c &&
|
|
2725
|
+
c && Ma({
|
|
2728
2726
|
mainAxis: !0,
|
|
2729
2727
|
crossAxis: !1,
|
|
2730
|
-
limiter: d === "partial" ?
|
|
2728
|
+
limiter: d === "partial" ? Na() : void 0,
|
|
2731
2729
|
...O
|
|
2732
2730
|
}),
|
|
2733
|
-
c &&
|
|
2734
|
-
|
|
2731
|
+
c && Pa({ ...O }),
|
|
2732
|
+
Fa({
|
|
2735
2733
|
...O,
|
|
2736
2734
|
apply: ({ elements: e, rects: t, availableWidth: n, availableHeight: r }) => {
|
|
2737
2735
|
let { width: i, height: a } = t.reference, o = e.floating.style;
|
|
2738
2736
|
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`);
|
|
2739
2737
|
}
|
|
2740
2738
|
}),
|
|
2741
|
-
b &&
|
|
2739
|
+
b && La({
|
|
2742
2740
|
element: b,
|
|
2743
2741
|
padding: s
|
|
2744
2742
|
}),
|
|
2745
|
-
|
|
2743
|
+
io({
|
|
2746
2744
|
arrowWidth: C,
|
|
2747
2745
|
arrowHeight: w
|
|
2748
2746
|
}),
|
|
2749
|
-
f &&
|
|
2747
|
+
f && Ia({
|
|
2750
2748
|
strategy: "referenceHidden",
|
|
2751
2749
|
...O
|
|
2752
2750
|
})
|
|
2753
2751
|
]
|
|
2754
|
-
}), [ne, re] =
|
|
2755
|
-
|
|
2752
|
+
}), [ne, re] = ao(j), ie = $n(m);
|
|
2753
|
+
Nr(() => {
|
|
2756
2754
|
M && ie?.();
|
|
2757
2755
|
}, [M, ie]);
|
|
2758
2756
|
let ae = te.arrow?.x, oe = te.arrow?.y, se = te.arrow?.centerOffset !== 0, [ce, le] = F.useState();
|
|
2759
|
-
return
|
|
2757
|
+
return Nr(() => {
|
|
2760
2758
|
_ && le(window.getComputedStyle(_).zIndex);
|
|
2761
2759
|
}, [_]), /* @__PURE__ */ (0, L.jsx)("div", {
|
|
2762
2760
|
ref: k.setFloating,
|
|
@@ -2773,7 +2771,7 @@ var Ja = "PopperContent", [Ya, Xa] = Va(Ja), Za = F.forwardRef((e, t) => {
|
|
|
2773
2771
|
}
|
|
2774
2772
|
},
|
|
2775
2773
|
dir: e.dir,
|
|
2776
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
2774
|
+
children: /* @__PURE__ */ (0, L.jsx)(Za, {
|
|
2777
2775
|
scope: n,
|
|
2778
2776
|
placedSide: ne,
|
|
2779
2777
|
onArrowChange: x,
|
|
@@ -2793,14 +2791,14 @@ var Ja = "PopperContent", [Ya, Xa] = Va(Ja), Za = F.forwardRef((e, t) => {
|
|
|
2793
2791
|
})
|
|
2794
2792
|
});
|
|
2795
2793
|
});
|
|
2796
|
-
|
|
2797
|
-
var
|
|
2794
|
+
$a.displayName = Xa;
|
|
2795
|
+
var eo = "PopperArrow", to = {
|
|
2798
2796
|
top: "bottom",
|
|
2799
2797
|
right: "left",
|
|
2800
2798
|
bottom: "top",
|
|
2801
2799
|
left: "right"
|
|
2802
|
-
},
|
|
2803
|
-
let { __scopePopper: n, ...r } = e, i =
|
|
2800
|
+
}, no = F.forwardRef(function(e, t) {
|
|
2801
|
+
let { __scopePopper: n, ...r } = e, i = Qa(eo, n), a = to[i.placedSide];
|
|
2804
2802
|
return /* @__PURE__ */ (0, L.jsx)("span", {
|
|
2805
2803
|
ref: i.onArrowChange,
|
|
2806
2804
|
style: {
|
|
@@ -2822,7 +2820,7 @@ var Qa = "PopperArrow", $a = {
|
|
|
2822
2820
|
}[i.placedSide],
|
|
2823
2821
|
visibility: i.shouldHideArrow ? "hidden" : void 0
|
|
2824
2822
|
},
|
|
2825
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
2823
|
+
children: /* @__PURE__ */ (0, L.jsx)(Ba, {
|
|
2826
2824
|
...r,
|
|
2827
2825
|
ref: t,
|
|
2828
2826
|
style: {
|
|
@@ -2832,15 +2830,15 @@ var Qa = "PopperArrow", $a = {
|
|
|
2832
2830
|
})
|
|
2833
2831
|
});
|
|
2834
2832
|
});
|
|
2835
|
-
|
|
2836
|
-
function
|
|
2833
|
+
no.displayName = eo;
|
|
2834
|
+
function ro(e) {
|
|
2837
2835
|
return e !== null;
|
|
2838
2836
|
}
|
|
2839
|
-
var
|
|
2837
|
+
var io = (e) => ({
|
|
2840
2838
|
name: "transformOrigin",
|
|
2841
2839
|
options: e,
|
|
2842
2840
|
fn(t) {
|
|
2843
|
-
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] =
|
|
2841
|
+
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] = ao(n), u = {
|
|
2844
2842
|
start: "0%",
|
|
2845
2843
|
center: "50%",
|
|
2846
2844
|
end: "100%"
|
|
@@ -2851,32 +2849,32 @@ var no = (e) => ({
|
|
|
2851
2849
|
} };
|
|
2852
2850
|
}
|
|
2853
2851
|
});
|
|
2854
|
-
function
|
|
2852
|
+
function ao(e) {
|
|
2855
2853
|
let [t, n = "center"] = e.split("-");
|
|
2856
2854
|
return [t, n];
|
|
2857
2855
|
}
|
|
2858
|
-
var
|
|
2856
|
+
var oo = qa, so = Ya, co = $a, lo = no, uo = "Portal", fo = F.forwardRef((e, t) => {
|
|
2859
2857
|
let { container: n, ...r } = e, [i, a] = F.useState(!1);
|
|
2860
|
-
|
|
2858
|
+
Nr(() => a(!0), []);
|
|
2861
2859
|
let o = n || i && globalThis?.document?.body;
|
|
2862
|
-
return o ?
|
|
2860
|
+
return o ? Lt.createPortal(/* @__PURE__ */ (0, L.jsx)(V.div, {
|
|
2863
2861
|
...r,
|
|
2864
2862
|
ref: t
|
|
2865
2863
|
}), o) : null;
|
|
2866
2864
|
});
|
|
2867
|
-
|
|
2865
|
+
fo.displayName = uo;
|
|
2868
2866
|
//#endregion
|
|
2869
2867
|
//#region ../node_modules/@radix-ui/react-presence/dist/index.mjs
|
|
2870
|
-
function
|
|
2868
|
+
function po(e, t) {
|
|
2871
2869
|
return F.useReducer((e, n) => t[e][n] ?? e, e);
|
|
2872
2870
|
}
|
|
2873
|
-
var
|
|
2874
|
-
let { present: t, children: n } = e, r =
|
|
2871
|
+
var mo = (e) => {
|
|
2872
|
+
let { present: t, children: n } = e, r = ho(t), i = typeof n == "function" ? n({ present: r.isPresent }) : F.Children.only(n), a = B(r.ref, _o(i));
|
|
2875
2873
|
return typeof n == "function" || r.isPresent ? F.cloneElement(i, { ref: a }) : null;
|
|
2876
2874
|
};
|
|
2877
|
-
|
|
2878
|
-
function
|
|
2879
|
-
let [t, n] = F.useState(), r = F.useRef(null), i = F.useRef(e), a = F.useRef("none"), [o, s] =
|
|
2875
|
+
mo.displayName = "Presence";
|
|
2876
|
+
function ho(e) {
|
|
2877
|
+
let [t, n] = F.useState(), r = F.useRef(null), i = F.useRef(e), a = F.useRef("none"), [o, s] = po(e ? "mounted" : "unmounted", {
|
|
2880
2878
|
mounted: {
|
|
2881
2879
|
UNMOUNT: "unmounted",
|
|
2882
2880
|
ANIMATION_OUT: "unmountSuspended"
|
|
@@ -2888,18 +2886,18 @@ function po(e) {
|
|
|
2888
2886
|
unmounted: { MOUNT: "mounted" }
|
|
2889
2887
|
});
|
|
2890
2888
|
return F.useEffect(() => {
|
|
2891
|
-
let e =
|
|
2889
|
+
let e = go(r.current);
|
|
2892
2890
|
a.current = o === "mounted" ? e : "none";
|
|
2893
|
-
}, [o]),
|
|
2891
|
+
}, [o]), Nr(() => {
|
|
2894
2892
|
let t = r.current, n = i.current;
|
|
2895
2893
|
if (n !== e) {
|
|
2896
|
-
let r = a.current, o =
|
|
2894
|
+
let r = a.current, o = go(t);
|
|
2897
2895
|
e ? s("MOUNT") : o === "none" || t?.display === "none" ? s("UNMOUNT") : s(n && r !== o ? "ANIMATION_OUT" : "UNMOUNT"), i.current = e;
|
|
2898
2896
|
}
|
|
2899
|
-
}, [e, s]),
|
|
2897
|
+
}, [e, s]), Nr(() => {
|
|
2900
2898
|
if (t) {
|
|
2901
2899
|
let e, n = t.ownerDocument.defaultView ?? window, o = (a) => {
|
|
2902
|
-
let o =
|
|
2900
|
+
let o = go(r.current).includes(CSS.escape(a.animationName));
|
|
2903
2901
|
if (a.target === t && o && (s("ANIMATION_END"), !i.current)) {
|
|
2904
2902
|
let r = t.style.animationFillMode;
|
|
2905
2903
|
t.style.animationFillMode = "forwards", e = n.setTimeout(() => {
|
|
@@ -2907,7 +2905,7 @@ function po(e) {
|
|
|
2907
2905
|
});
|
|
2908
2906
|
}
|
|
2909
2907
|
}, c = (e) => {
|
|
2910
|
-
e.target === t && (a.current =
|
|
2908
|
+
e.target === t && (a.current = go(r.current));
|
|
2911
2909
|
};
|
|
2912
2910
|
return t.addEventListener("animationstart", c), t.addEventListener("animationcancel", o), t.addEventListener("animationend", o), () => {
|
|
2913
2911
|
n.clearTimeout(e), t.removeEventListener("animationstart", c), t.removeEventListener("animationcancel", o), t.removeEventListener("animationend", o);
|
|
@@ -2921,18 +2919,18 @@ function po(e) {
|
|
|
2921
2919
|
}, [])
|
|
2922
2920
|
};
|
|
2923
2921
|
}
|
|
2924
|
-
function
|
|
2922
|
+
function go(e) {
|
|
2925
2923
|
return e?.animationName || "none";
|
|
2926
2924
|
}
|
|
2927
|
-
function
|
|
2925
|
+
function _o(e) {
|
|
2928
2926
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
2929
2927
|
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);
|
|
2930
2928
|
}
|
|
2931
2929
|
//#endregion
|
|
2932
2930
|
//#region ../node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
|
|
2933
|
-
var
|
|
2934
|
-
function
|
|
2935
|
-
let [i, a, o] =
|
|
2931
|
+
var vo = F.useInsertionEffect || Nr;
|
|
2932
|
+
function yo({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
2933
|
+
let [i, a, o] = bo({
|
|
2936
2934
|
defaultProp: t,
|
|
2937
2935
|
onChange: n
|
|
2938
2936
|
}), s = e !== void 0, c = s ? e : i;
|
|
@@ -2945,7 +2943,7 @@ function _o({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
|
2945
2943
|
}
|
|
2946
2944
|
return [c, F.useCallback((t) => {
|
|
2947
2945
|
if (s) {
|
|
2948
|
-
let n =
|
|
2946
|
+
let n = xo(t) ? t(e) : t;
|
|
2949
2947
|
n !== e && o.current?.(n);
|
|
2950
2948
|
} else a(t);
|
|
2951
2949
|
}, [
|
|
@@ -2955,9 +2953,9 @@ function _o({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
|
2955
2953
|
o
|
|
2956
2954
|
])];
|
|
2957
2955
|
}
|
|
2958
|
-
function
|
|
2956
|
+
function bo({ defaultProp: e, onChange: t }) {
|
|
2959
2957
|
let [n, r] = F.useState(e), i = F.useRef(n), a = F.useRef(t);
|
|
2960
|
-
return
|
|
2958
|
+
return vo(() => {
|
|
2961
2959
|
a.current = t;
|
|
2962
2960
|
}, [t]), F.useEffect(() => {
|
|
2963
2961
|
i.current !== n && (a.current?.(n), i.current = n);
|
|
@@ -2967,27 +2965,27 @@ function vo({ defaultProp: e, onChange: t }) {
|
|
|
2967
2965
|
a
|
|
2968
2966
|
];
|
|
2969
2967
|
}
|
|
2970
|
-
function
|
|
2968
|
+
function xo(e) {
|
|
2971
2969
|
return typeof e == "function";
|
|
2972
2970
|
}
|
|
2973
2971
|
//#endregion
|
|
2974
2972
|
//#region ../node_modules/aria-hidden/dist/es2015/index.js
|
|
2975
|
-
var
|
|
2973
|
+
var So = function(e) {
|
|
2976
2974
|
return typeof document > "u" ? null : (Array.isArray(e) ? e[0] : e).ownerDocument.body;
|
|
2977
|
-
},
|
|
2978
|
-
return e && (e.host ||
|
|
2979
|
-
},
|
|
2975
|
+
}, Co = /* @__PURE__ */ new WeakMap(), wo = /* @__PURE__ */ new WeakMap(), To = {}, Eo = 0, Do = function(e) {
|
|
2976
|
+
return e && (e.host || Do(e.parentNode));
|
|
2977
|
+
}, Oo = function(e, t) {
|
|
2980
2978
|
return t.map(function(t) {
|
|
2981
2979
|
if (e.contains(t)) return t;
|
|
2982
|
-
var n =
|
|
2980
|
+
var n = Do(t);
|
|
2983
2981
|
return n && e.contains(n) ? n : (console.error("aria-hidden", t, "in not contained inside", e, ". Doing nothing"), null);
|
|
2984
2982
|
}).filter(function(e) {
|
|
2985
2983
|
return !!e;
|
|
2986
2984
|
});
|
|
2987
|
-
},
|
|
2988
|
-
var i =
|
|
2989
|
-
|
|
2990
|
-
var a =
|
|
2985
|
+
}, ko = function(e, t, n, r) {
|
|
2986
|
+
var i = Oo(t, Array.isArray(e) ? e : [e]);
|
|
2987
|
+
To[n] || (To[n] = /* @__PURE__ */ new WeakMap());
|
|
2988
|
+
var a = To[n], o = [], s = /* @__PURE__ */ new Set(), c = new Set(i), l = function(e) {
|
|
2991
2989
|
e && !s.has(e) && (s.add(e), l(e.parentNode));
|
|
2992
2990
|
};
|
|
2993
2991
|
i.forEach(l);
|
|
@@ -2995,170 +2993,34 @@ var bo = function(e) {
|
|
|
2995
2993
|
e && !c.has(e) && Array.prototype.forEach.call(e.children, function(e) {
|
|
2996
2994
|
if (s.has(e)) u(e);
|
|
2997
2995
|
else try {
|
|
2998
|
-
var t = e.getAttribute(r), i = t !== null && t !== "false", c = (
|
|
2999
|
-
|
|
2996
|
+
var t = e.getAttribute(r), i = t !== null && t !== "false", c = (Co.get(e) || 0) + 1, l = (a.get(e) || 0) + 1;
|
|
2997
|
+
Co.set(e, c), a.set(e, l), o.push(e), c === 1 && i && wo.set(e, !0), l === 1 && e.setAttribute(n, "true"), i || e.setAttribute(r, "true");
|
|
3000
2998
|
} catch (t) {
|
|
3001
2999
|
console.error("aria-hidden: cannot operate on ", e, t);
|
|
3002
3000
|
}
|
|
3003
3001
|
});
|
|
3004
3002
|
};
|
|
3005
|
-
return u(t), s.clear(),
|
|
3003
|
+
return u(t), s.clear(), Eo++, function() {
|
|
3006
3004
|
o.forEach(function(e) {
|
|
3007
|
-
var t =
|
|
3008
|
-
|
|
3009
|
-
}),
|
|
3005
|
+
var t = Co.get(e) - 1, i = a.get(e) - 1;
|
|
3006
|
+
Co.set(e, t), a.set(e, i), t || (wo.has(e) || e.removeAttribute(r), wo.delete(e)), i || e.removeAttribute(n);
|
|
3007
|
+
}), Eo--, Eo || (Co = /* @__PURE__ */ new WeakMap(), Co = /* @__PURE__ */ new WeakMap(), wo = /* @__PURE__ */ new WeakMap(), To = {});
|
|
3010
3008
|
};
|
|
3011
|
-
},
|
|
3009
|
+
}, Ao = function(e, t, n) {
|
|
3012
3010
|
n === void 0 && (n = "data-aria-hidden");
|
|
3013
|
-
var r = Array.from(Array.isArray(e) ? e : [e]), i = t ||
|
|
3014
|
-
return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live], script"))),
|
|
3011
|
+
var r = Array.from(Array.isArray(e) ? e : [e]), i = t || So(e);
|
|
3012
|
+
return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live], script"))), ko(r, i, n, "aria-hidden")) : function() {
|
|
3015
3013
|
return null;
|
|
3016
3014
|
};
|
|
3017
|
-
},
|
|
3018
|
-
return Q = Object.assign || function(e) {
|
|
3019
|
-
for (var t, n = 1, r = arguments.length; n < r; n++) for (var i in t = arguments[n], t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
|
|
3020
|
-
return e;
|
|
3021
|
-
}, Q.apply(this, arguments);
|
|
3022
|
-
};
|
|
3023
|
-
function ko(e, t) {
|
|
3024
|
-
var n = {};
|
|
3025
|
-
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
3026
|
-
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]]);
|
|
3027
|
-
return n;
|
|
3028
|
-
}
|
|
3029
|
-
function Ao(e, t, n, r) {
|
|
3030
|
-
function i(e) {
|
|
3031
|
-
return e instanceof n ? e : new n(function(t) {
|
|
3032
|
-
t(e);
|
|
3033
|
-
});
|
|
3034
|
-
}
|
|
3035
|
-
return new (n ||= Promise)(function(n, a) {
|
|
3036
|
-
function o(e) {
|
|
3037
|
-
try {
|
|
3038
|
-
c(r.next(e));
|
|
3039
|
-
} catch (e) {
|
|
3040
|
-
a(e);
|
|
3041
|
-
}
|
|
3042
|
-
}
|
|
3043
|
-
function s(e) {
|
|
3044
|
-
try {
|
|
3045
|
-
c(r.throw(e));
|
|
3046
|
-
} catch (e) {
|
|
3047
|
-
a(e);
|
|
3048
|
-
}
|
|
3049
|
-
}
|
|
3050
|
-
function c(e) {
|
|
3051
|
-
e.done ? n(e.value) : i(e.value).then(o, s);
|
|
3052
|
-
}
|
|
3053
|
-
c((r = r.apply(e, t || [])).next());
|
|
3054
|
-
});
|
|
3055
|
-
}
|
|
3056
|
-
function jo(e, t) {
|
|
3057
|
-
var n = {
|
|
3058
|
-
label: 0,
|
|
3059
|
-
sent: function() {
|
|
3060
|
-
if (a[0] & 1) throw a[1];
|
|
3061
|
-
return a[1];
|
|
3062
|
-
},
|
|
3063
|
-
trys: [],
|
|
3064
|
-
ops: []
|
|
3065
|
-
}, r, i, a, o = Object.create((typeof Iterator == "function" ? Iterator : Object).prototype);
|
|
3066
|
-
return o.next = s(0), o.throw = s(1), o.return = s(2), typeof Symbol == "function" && (o[Symbol.iterator] = function() {
|
|
3067
|
-
return this;
|
|
3068
|
-
}), o;
|
|
3069
|
-
function s(e) {
|
|
3070
|
-
return function(t) {
|
|
3071
|
-
return c([e, t]);
|
|
3072
|
-
};
|
|
3073
|
-
}
|
|
3074
|
-
function c(s) {
|
|
3075
|
-
if (r) throw TypeError("Generator is already executing.");
|
|
3076
|
-
for (; o && (o = 0, s[0] && (n = 0)), n;) try {
|
|
3077
|
-
if (r = 1, i && (a = s[0] & 2 ? i.return : s[0] ? i.throw || ((a = i.return) && a.call(i), 0) : i.next) && !(a = a.call(i, s[1])).done) return a;
|
|
3078
|
-
switch (i = 0, a && (s = [s[0] & 2, a.value]), s[0]) {
|
|
3079
|
-
case 0:
|
|
3080
|
-
case 1:
|
|
3081
|
-
a = s;
|
|
3082
|
-
break;
|
|
3083
|
-
case 4: return n.label++, {
|
|
3084
|
-
value: s[1],
|
|
3085
|
-
done: !1
|
|
3086
|
-
};
|
|
3087
|
-
case 5:
|
|
3088
|
-
n.label++, i = s[1], s = [0];
|
|
3089
|
-
continue;
|
|
3090
|
-
case 7:
|
|
3091
|
-
s = n.ops.pop(), n.trys.pop();
|
|
3092
|
-
continue;
|
|
3093
|
-
default:
|
|
3094
|
-
if (a = n.trys, !(a = a.length > 0 && a[a.length - 1]) && (s[0] === 6 || s[0] === 2)) {
|
|
3095
|
-
n = 0;
|
|
3096
|
-
continue;
|
|
3097
|
-
}
|
|
3098
|
-
if (s[0] === 3 && (!a || s[1] > a[0] && s[1] < a[3])) {
|
|
3099
|
-
n.label = s[1];
|
|
3100
|
-
break;
|
|
3101
|
-
}
|
|
3102
|
-
if (s[0] === 6 && n.label < a[1]) {
|
|
3103
|
-
n.label = a[1], a = s;
|
|
3104
|
-
break;
|
|
3105
|
-
}
|
|
3106
|
-
if (a && n.label < a[2]) {
|
|
3107
|
-
n.label = a[2], n.ops.push(s);
|
|
3108
|
-
break;
|
|
3109
|
-
}
|
|
3110
|
-
a[2] && n.ops.pop(), n.trys.pop();
|
|
3111
|
-
continue;
|
|
3112
|
-
}
|
|
3113
|
-
s = t.call(e, n);
|
|
3114
|
-
} catch (e) {
|
|
3115
|
-
s = [6, e], i = 0;
|
|
3116
|
-
} finally {
|
|
3117
|
-
r = a = 0;
|
|
3118
|
-
}
|
|
3119
|
-
if (s[0] & 5) throw s[1];
|
|
3120
|
-
return {
|
|
3121
|
-
value: s[0] ? s[1] : void 0,
|
|
3122
|
-
done: !0
|
|
3123
|
-
};
|
|
3124
|
-
}
|
|
3125
|
-
}
|
|
3126
|
-
function Mo(e, t) {
|
|
3127
|
-
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
3128
|
-
if (!n) return e;
|
|
3129
|
-
var r = n.call(e), i, a = [], o;
|
|
3130
|
-
try {
|
|
3131
|
-
for (; (t === void 0 || t-- > 0) && !(i = r.next()).done;) a.push(i.value);
|
|
3132
|
-
} catch (e) {
|
|
3133
|
-
o = { error: e };
|
|
3134
|
-
} finally {
|
|
3135
|
-
try {
|
|
3136
|
-
i && !i.done && (n = r.return) && n.call(r);
|
|
3137
|
-
} finally {
|
|
3138
|
-
if (o) throw o.error;
|
|
3139
|
-
}
|
|
3140
|
-
}
|
|
3141
|
-
return a;
|
|
3142
|
-
}
|
|
3143
|
-
function No() {
|
|
3144
|
-
for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(Mo(arguments[t]));
|
|
3145
|
-
return e;
|
|
3146
|
-
}
|
|
3147
|
-
function Po(e, t, n) {
|
|
3148
|
-
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]);
|
|
3149
|
-
return e.concat(a || Array.prototype.slice.call(t));
|
|
3150
|
-
}
|
|
3151
|
-
//#endregion
|
|
3152
|
-
//#region ../node_modules/react-remove-scroll-bar/dist/es2015/constants.js
|
|
3153
|
-
var Fo = "right-scroll-bar-position", Io = "width-before-scroll-bar", Lo = "with-scroll-bars-hidden", Ro = "--removed-body-scroll-bar-size";
|
|
3015
|
+
}, jo = "right-scroll-bar-position", Mo = "width-before-scroll-bar", No = "with-scroll-bars-hidden", Po = "--removed-body-scroll-bar-size";
|
|
3154
3016
|
//#endregion
|
|
3155
3017
|
//#region ../node_modules/use-callback-ref/dist/es2015/assignRef.js
|
|
3156
|
-
function
|
|
3018
|
+
function Fo(e, t) {
|
|
3157
3019
|
return typeof e == "function" ? e(t) : e && (e.current = t), e;
|
|
3158
3020
|
}
|
|
3159
3021
|
//#endregion
|
|
3160
3022
|
//#region ../node_modules/use-callback-ref/dist/es2015/useRef.js
|
|
3161
|
-
function
|
|
3023
|
+
function Io(e, t) {
|
|
3162
3024
|
var n = (0, F.useState)(function() {
|
|
3163
3025
|
return {
|
|
3164
3026
|
value: e,
|
|
@@ -3178,33 +3040,33 @@ function Bo(e, t) {
|
|
|
3178
3040
|
}
|
|
3179
3041
|
//#endregion
|
|
3180
3042
|
//#region ../node_modules/use-callback-ref/dist/es2015/useMergeRef.js
|
|
3181
|
-
var
|
|
3182
|
-
function
|
|
3183
|
-
var n =
|
|
3043
|
+
var Lo = typeof window < "u" ? F.useLayoutEffect : F.useEffect, Ro = /* @__PURE__ */ new WeakMap();
|
|
3044
|
+
function zo(e, t) {
|
|
3045
|
+
var n = Io(t || null, function(t) {
|
|
3184
3046
|
return e.forEach(function(e) {
|
|
3185
|
-
return
|
|
3047
|
+
return Fo(e, t);
|
|
3186
3048
|
});
|
|
3187
3049
|
});
|
|
3188
|
-
return
|
|
3189
|
-
var t =
|
|
3050
|
+
return Lo(function() {
|
|
3051
|
+
var t = Ro.get(n);
|
|
3190
3052
|
if (t) {
|
|
3191
3053
|
var r = new Set(t), i = new Set(e), a = n.current;
|
|
3192
3054
|
r.forEach(function(e) {
|
|
3193
|
-
i.has(e) ||
|
|
3055
|
+
i.has(e) || Fo(e, null);
|
|
3194
3056
|
}), i.forEach(function(e) {
|
|
3195
|
-
r.has(e) ||
|
|
3057
|
+
r.has(e) || Fo(e, a);
|
|
3196
3058
|
});
|
|
3197
3059
|
}
|
|
3198
|
-
|
|
3060
|
+
Ro.set(n, e);
|
|
3199
3061
|
}, [e]), n;
|
|
3200
3062
|
}
|
|
3201
3063
|
//#endregion
|
|
3202
3064
|
//#region ../node_modules/use-sidecar/dist/es2015/medium.js
|
|
3203
|
-
function
|
|
3065
|
+
function Bo(e) {
|
|
3204
3066
|
return e;
|
|
3205
3067
|
}
|
|
3206
|
-
function
|
|
3207
|
-
t === void 0 && (t =
|
|
3068
|
+
function Vo(e, t) {
|
|
3069
|
+
t === void 0 && (t = Bo);
|
|
3208
3070
|
var n = [], r = !1;
|
|
3209
3071
|
return {
|
|
3210
3072
|
read: function() {
|
|
@@ -3257,35 +3119,35 @@ function Go(e, t) {
|
|
|
3257
3119
|
}
|
|
3258
3120
|
};
|
|
3259
3121
|
}
|
|
3260
|
-
function
|
|
3122
|
+
function Ho(e) {
|
|
3261
3123
|
e === void 0 && (e = {});
|
|
3262
|
-
var t =
|
|
3263
|
-
return t.options =
|
|
3124
|
+
var t = Vo(null);
|
|
3125
|
+
return t.options = Ot({
|
|
3264
3126
|
async: !0,
|
|
3265
3127
|
ssr: !1
|
|
3266
3128
|
}, e), t;
|
|
3267
3129
|
}
|
|
3268
3130
|
//#endregion
|
|
3269
3131
|
//#region ../node_modules/use-sidecar/dist/es2015/exports.js
|
|
3270
|
-
var
|
|
3271
|
-
var t = e.sideCar, n =
|
|
3132
|
+
var Uo = function(e) {
|
|
3133
|
+
var t = e.sideCar, n = Tt(e, ["sideCar"]);
|
|
3272
3134
|
if (!t) throw Error("Sidecar: please provide `sideCar` property to import the right car");
|
|
3273
3135
|
var r = t.read();
|
|
3274
3136
|
if (!r) throw Error("Sidecar medium not found");
|
|
3275
|
-
return F.createElement(r,
|
|
3137
|
+
return F.createElement(r, Ot({}, n));
|
|
3276
3138
|
};
|
|
3277
|
-
|
|
3278
|
-
function
|
|
3279
|
-
return e.useMedium(t),
|
|
3139
|
+
Uo.isSideCarExport = !0;
|
|
3140
|
+
function Wo(e, t) {
|
|
3141
|
+
return e.useMedium(t), Uo;
|
|
3280
3142
|
}
|
|
3281
3143
|
//#endregion
|
|
3282
3144
|
//#region ../node_modules/react-remove-scroll/dist/es2015/medium.js
|
|
3283
|
-
var
|
|
3145
|
+
var Go = Ho(), Ko = function() {}, qo = F.forwardRef(function(e, t) {
|
|
3284
3146
|
var n = F.useRef(null), r = F.useState({
|
|
3285
|
-
onScrollCapture:
|
|
3286
|
-
onWheelCapture:
|
|
3287
|
-
onTouchMoveCapture:
|
|
3288
|
-
}), 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 =
|
|
3147
|
+
onScrollCapture: Ko,
|
|
3148
|
+
onWheelCapture: Ko,
|
|
3149
|
+
onTouchMoveCapture: Ko
|
|
3150
|
+
}), 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 = Tt(e, [
|
|
3289
3151
|
"forwardProps",
|
|
3290
3152
|
"children",
|
|
3291
3153
|
"className",
|
|
@@ -3299,9 +3161,9 @@ var Yo = Ko(), Xo = function() {}, Zo = F.forwardRef(function(e, t) {
|
|
|
3299
3161
|
"allowPinchZoom",
|
|
3300
3162
|
"as",
|
|
3301
3163
|
"gapMode"
|
|
3302
|
-
]), x = f, S =
|
|
3164
|
+
]), x = f, S = zo([n, t]), C = Ot(Ot({}, b), i);
|
|
3303
3165
|
return F.createElement(F.Fragment, null, u && F.createElement(x, {
|
|
3304
|
-
sideCar:
|
|
3166
|
+
sideCar: Go,
|
|
3305
3167
|
removeScrollBar: l,
|
|
3306
3168
|
shards: d,
|
|
3307
3169
|
noRelative: p,
|
|
@@ -3311,51 +3173,51 @@ var Yo = Ko(), Xo = function() {}, Zo = F.forwardRef(function(e, t) {
|
|
|
3311
3173
|
allowPinchZoom: !!g,
|
|
3312
3174
|
lockRef: n,
|
|
3313
3175
|
gapMode: y
|
|
3314
|
-
}), o ? F.cloneElement(F.Children.only(s),
|
|
3176
|
+
}), o ? F.cloneElement(F.Children.only(s), Ot(Ot({}, C), { ref: S })) : F.createElement(v, Ot({}, C, {
|
|
3315
3177
|
className: c,
|
|
3316
3178
|
ref: S
|
|
3317
3179
|
}), s));
|
|
3318
3180
|
});
|
|
3319
|
-
|
|
3181
|
+
qo.defaultProps = {
|
|
3320
3182
|
enabled: !0,
|
|
3321
3183
|
removeScrollBar: !0,
|
|
3322
3184
|
inert: !1
|
|
3323
|
-
},
|
|
3324
|
-
fullWidth:
|
|
3325
|
-
zeroRight:
|
|
3185
|
+
}, qo.classNames = {
|
|
3186
|
+
fullWidth: Mo,
|
|
3187
|
+
zeroRight: jo
|
|
3326
3188
|
};
|
|
3327
3189
|
//#endregion
|
|
3328
3190
|
//#region ../node_modules/get-nonce/dist/es2015/index.js
|
|
3329
|
-
var
|
|
3191
|
+
var Jo = function() {
|
|
3330
3192
|
if (typeof __webpack_nonce__ < "u") return __webpack_nonce__;
|
|
3331
3193
|
};
|
|
3332
3194
|
//#endregion
|
|
3333
3195
|
//#region ../node_modules/react-style-singleton/dist/es2015/singleton.js
|
|
3334
|
-
function
|
|
3196
|
+
function Yo() {
|
|
3335
3197
|
if (!document) return null;
|
|
3336
3198
|
var e = document.createElement("style");
|
|
3337
3199
|
e.type = "text/css";
|
|
3338
|
-
var t =
|
|
3200
|
+
var t = Jo();
|
|
3339
3201
|
return t && e.setAttribute("nonce", t), e;
|
|
3340
3202
|
}
|
|
3341
|
-
function
|
|
3203
|
+
function Xo(e, t) {
|
|
3342
3204
|
e.styleSheet ? e.styleSheet.cssText = t : e.appendChild(document.createTextNode(t));
|
|
3343
3205
|
}
|
|
3344
|
-
function
|
|
3206
|
+
function Zo(e) {
|
|
3345
3207
|
(document.head || document.getElementsByTagName("head")[0]).appendChild(e);
|
|
3346
3208
|
}
|
|
3347
|
-
var
|
|
3209
|
+
var Qo = function() {
|
|
3348
3210
|
var e = 0, t = null;
|
|
3349
3211
|
return {
|
|
3350
3212
|
add: function(n) {
|
|
3351
|
-
e == 0 && (t =
|
|
3213
|
+
e == 0 && (t = Yo()) && (Xo(t, n), Zo(t)), e++;
|
|
3352
3214
|
},
|
|
3353
3215
|
remove: function() {
|
|
3354
3216
|
e--, !e && t && (t.parentNode && t.parentNode.removeChild(t), t = null);
|
|
3355
3217
|
}
|
|
3356
3218
|
};
|
|
3357
|
-
},
|
|
3358
|
-
var e =
|
|
3219
|
+
}, $o = function() {
|
|
3220
|
+
var e = Qo();
|
|
3359
3221
|
return function(t, n) {
|
|
3360
3222
|
F.useEffect(function() {
|
|
3361
3223
|
return e.add(t), function() {
|
|
@@ -3363,43 +3225,43 @@ var ns = function() {
|
|
|
3363
3225
|
};
|
|
3364
3226
|
}, [t && n]);
|
|
3365
3227
|
};
|
|
3366
|
-
},
|
|
3367
|
-
var e =
|
|
3228
|
+
}, es = function() {
|
|
3229
|
+
var e = $o();
|
|
3368
3230
|
return function(t) {
|
|
3369
3231
|
var n = t.styles, r = t.dynamic;
|
|
3370
3232
|
return e(n, r), null;
|
|
3371
3233
|
};
|
|
3372
|
-
},
|
|
3234
|
+
}, ts = {
|
|
3373
3235
|
left: 0,
|
|
3374
3236
|
top: 0,
|
|
3375
3237
|
right: 0,
|
|
3376
3238
|
gap: 0
|
|
3377
|
-
},
|
|
3239
|
+
}, ns = function(e) {
|
|
3378
3240
|
return parseInt(e || "", 10) || 0;
|
|
3379
|
-
},
|
|
3241
|
+
}, rs = function(e) {
|
|
3380
3242
|
var t = window.getComputedStyle(document.body), n = t[e === "padding" ? "paddingLeft" : "marginLeft"], r = t[e === "padding" ? "paddingTop" : "marginTop"], i = t[e === "padding" ? "paddingRight" : "marginRight"];
|
|
3381
3243
|
return [
|
|
3382
|
-
|
|
3383
|
-
|
|
3384
|
-
|
|
3244
|
+
ns(n),
|
|
3245
|
+
ns(r),
|
|
3246
|
+
ns(i)
|
|
3385
3247
|
];
|
|
3386
|
-
},
|
|
3387
|
-
if (e === void 0 && (e = "margin"), typeof window > "u") return
|
|
3388
|
-
var t =
|
|
3248
|
+
}, is = function(e) {
|
|
3249
|
+
if (e === void 0 && (e = "margin"), typeof window > "u") return ts;
|
|
3250
|
+
var t = rs(e), n = document.documentElement.clientWidth, r = window.innerWidth;
|
|
3389
3251
|
return {
|
|
3390
3252
|
left: t[0],
|
|
3391
3253
|
top: t[1],
|
|
3392
3254
|
right: t[2],
|
|
3393
3255
|
gap: Math.max(0, r - n + t[2] - t[0])
|
|
3394
3256
|
};
|
|
3395
|
-
},
|
|
3257
|
+
}, as = es(), os = "data-scroll-locked", ss = function(e, t, n, r) {
|
|
3396
3258
|
var i = e.left, a = e.top, o = e.right, s = e.gap;
|
|
3397
3259
|
return n === void 0 && (n = "margin"), `
|
|
3398
|
-
.${
|
|
3260
|
+
.${No} {
|
|
3399
3261
|
overflow: hidden ${r};
|
|
3400
3262
|
padding-right: ${s}px ${r};
|
|
3401
3263
|
}
|
|
3402
|
-
body[${
|
|
3264
|
+
body[${os}] {
|
|
3403
3265
|
overflow: hidden ${r};
|
|
3404
3266
|
overscroll-behavior: contain;
|
|
3405
3267
|
${[
|
|
@@ -3416,122 +3278,122 @@ var ns = function() {
|
|
|
3416
3278
|
].filter(Boolean).join("")}
|
|
3417
3279
|
}
|
|
3418
3280
|
|
|
3419
|
-
.${
|
|
3281
|
+
.${jo} {
|
|
3420
3282
|
right: ${s}px ${r};
|
|
3421
3283
|
}
|
|
3422
3284
|
|
|
3423
|
-
.${
|
|
3285
|
+
.${Mo} {
|
|
3424
3286
|
margin-right: ${s}px ${r};
|
|
3425
3287
|
}
|
|
3426
3288
|
|
|
3427
|
-
.${
|
|
3289
|
+
.${jo} .${jo} {
|
|
3428
3290
|
right: 0 ${r};
|
|
3429
3291
|
}
|
|
3430
3292
|
|
|
3431
|
-
.${
|
|
3293
|
+
.${Mo} .${Mo} {
|
|
3432
3294
|
margin-right: 0 ${r};
|
|
3433
3295
|
}
|
|
3434
3296
|
|
|
3435
|
-
body[${
|
|
3436
|
-
${
|
|
3297
|
+
body[${os}] {
|
|
3298
|
+
${Po}: ${s}px;
|
|
3437
3299
|
}
|
|
3438
3300
|
`;
|
|
3439
|
-
},
|
|
3301
|
+
}, cs = function() {
|
|
3440
3302
|
var e = parseInt(document.body.getAttribute("data-scroll-locked") || "0", 10);
|
|
3441
3303
|
return isFinite(e) ? e : 0;
|
|
3442
|
-
},
|
|
3304
|
+
}, ls = function() {
|
|
3443
3305
|
F.useEffect(function() {
|
|
3444
|
-
return document.body.setAttribute(
|
|
3445
|
-
var e =
|
|
3446
|
-
e <= 0 ? document.body.removeAttribute(
|
|
3306
|
+
return document.body.setAttribute(os, (cs() + 1).toString()), function() {
|
|
3307
|
+
var e = cs() - 1;
|
|
3308
|
+
e <= 0 ? document.body.removeAttribute(os) : document.body.setAttribute(os, e.toString());
|
|
3447
3309
|
};
|
|
3448
3310
|
}, []);
|
|
3449
|
-
},
|
|
3311
|
+
}, us = function(e) {
|
|
3450
3312
|
var t = e.noRelative, n = e.noImportant, r = e.gapMode, i = r === void 0 ? "margin" : r;
|
|
3451
|
-
|
|
3313
|
+
ls();
|
|
3452
3314
|
var a = F.useMemo(function() {
|
|
3453
|
-
return
|
|
3315
|
+
return is(i);
|
|
3454
3316
|
}, [i]);
|
|
3455
|
-
return F.createElement(
|
|
3456
|
-
},
|
|
3317
|
+
return F.createElement(as, { styles: ss(a, !t, i, n ? "" : "!important") });
|
|
3318
|
+
}, ds = !1;
|
|
3457
3319
|
if (typeof window < "u") try {
|
|
3458
|
-
var
|
|
3459
|
-
return
|
|
3320
|
+
var fs = Object.defineProperty({}, "passive", { get: function() {
|
|
3321
|
+
return ds = !0, !0;
|
|
3460
3322
|
} });
|
|
3461
|
-
window.addEventListener("test",
|
|
3323
|
+
window.addEventListener("test", fs, fs), window.removeEventListener("test", fs, fs);
|
|
3462
3324
|
} catch {
|
|
3463
|
-
|
|
3325
|
+
ds = !1;
|
|
3464
3326
|
}
|
|
3465
|
-
var
|
|
3327
|
+
var ps = ds ? { passive: !1 } : !1, ms = function(e) {
|
|
3466
3328
|
return e.tagName === "TEXTAREA";
|
|
3467
|
-
},
|
|
3329
|
+
}, hs = function(e, t) {
|
|
3468
3330
|
if (!(e instanceof Element)) return !1;
|
|
3469
3331
|
var n = window.getComputedStyle(e);
|
|
3470
|
-
return n[t] !== "hidden" && !(n.overflowY === n.overflowX && !
|
|
3471
|
-
},
|
|
3472
|
-
return
|
|
3473
|
-
},
|
|
3474
|
-
return
|
|
3475
|
-
},
|
|
3332
|
+
return n[t] !== "hidden" && !(n.overflowY === n.overflowX && !ms(e) && n[t] === "visible");
|
|
3333
|
+
}, gs = function(e) {
|
|
3334
|
+
return hs(e, "overflowY");
|
|
3335
|
+
}, _s = function(e) {
|
|
3336
|
+
return hs(e, "overflowX");
|
|
3337
|
+
}, vs = function(e, t) {
|
|
3476
3338
|
var n = t.ownerDocument, r = t;
|
|
3477
3339
|
do {
|
|
3478
|
-
if (typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host),
|
|
3479
|
-
var i =
|
|
3340
|
+
if (typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host), xs(e, r)) {
|
|
3341
|
+
var i = Ss(e, r);
|
|
3480
3342
|
if (i[1] > i[2]) return !0;
|
|
3481
3343
|
}
|
|
3482
3344
|
r = r.parentNode;
|
|
3483
3345
|
} while (r && r !== n.body);
|
|
3484
3346
|
return !1;
|
|
3485
|
-
},
|
|
3347
|
+
}, ys = function(e) {
|
|
3486
3348
|
return [
|
|
3487
3349
|
e.scrollTop,
|
|
3488
3350
|
e.scrollHeight,
|
|
3489
3351
|
e.clientHeight
|
|
3490
3352
|
];
|
|
3491
|
-
},
|
|
3353
|
+
}, bs = function(e) {
|
|
3492
3354
|
return [
|
|
3493
3355
|
e.scrollLeft,
|
|
3494
3356
|
e.scrollWidth,
|
|
3495
3357
|
e.clientWidth
|
|
3496
3358
|
];
|
|
3497
|
-
},
|
|
3498
|
-
return e === "v" ?
|
|
3499
|
-
},
|
|
3500
|
-
return e === "v" ?
|
|
3501
|
-
},
|
|
3359
|
+
}, xs = function(e, t) {
|
|
3360
|
+
return e === "v" ? gs(t) : _s(t);
|
|
3361
|
+
}, Ss = function(e, t) {
|
|
3362
|
+
return e === "v" ? ys(t) : bs(t);
|
|
3363
|
+
}, Cs = function(e, t) {
|
|
3502
3364
|
return e === "h" && t === "rtl" ? -1 : 1;
|
|
3503
|
-
},
|
|
3504
|
-
var a =
|
|
3365
|
+
}, ws = function(e, t, n, r, i) {
|
|
3366
|
+
var a = Cs(e, window.getComputedStyle(t).direction), o = a * r, s = n.target, c = t.contains(s), l = !1, u = o > 0, d = 0, f = 0;
|
|
3505
3367
|
do {
|
|
3506
3368
|
if (!s) break;
|
|
3507
|
-
var p =
|
|
3508
|
-
(m || h) &&
|
|
3369
|
+
var p = Ss(e, s), m = p[0], h = p[1] - p[2] - a * m;
|
|
3370
|
+
(m || h) && xs(e, s) && (d += h, f += m);
|
|
3509
3371
|
var g = s.parentNode;
|
|
3510
3372
|
s = g && g.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? g.host : g;
|
|
3511
3373
|
} while (!c && s !== document.body || c && (t.contains(s) || t === s));
|
|
3512
3374
|
return (u && (i && Math.abs(d) < 1 || !i && o > d) || !u && (i && Math.abs(f) < 1 || !i && -o > f)) && (l = !0), l;
|
|
3513
|
-
},
|
|
3375
|
+
}, Ts = function(e) {
|
|
3514
3376
|
return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
|
|
3515
|
-
},
|
|
3377
|
+
}, Es = function(e) {
|
|
3516
3378
|
return [e.deltaX, e.deltaY];
|
|
3517
|
-
},
|
|
3379
|
+
}, Ds = function(e) {
|
|
3518
3380
|
return e && "current" in e ? e.current : e;
|
|
3519
|
-
},
|
|
3381
|
+
}, Os = function(e, t) {
|
|
3520
3382
|
return e[0] === t[0] && e[1] === t[1];
|
|
3521
|
-
},
|
|
3383
|
+
}, ks = function(e) {
|
|
3522
3384
|
return `
|
|
3523
3385
|
.block-interactivity-${e} {pointer-events: none;}
|
|
3524
3386
|
.allow-interactivity-${e} {pointer-events: all;}
|
|
3525
3387
|
`;
|
|
3526
|
-
},
|
|
3527
|
-
function
|
|
3528
|
-
var t = F.useRef([]), n = F.useRef([0, 0]), r = F.useRef(), i = F.useState(
|
|
3388
|
+
}, As = 0, js = [];
|
|
3389
|
+
function Ms(e) {
|
|
3390
|
+
var t = F.useRef([]), n = F.useRef([0, 0]), r = F.useRef(), i = F.useState(As++)[0], a = F.useState(es)[0], o = F.useRef(e);
|
|
3529
3391
|
F.useEffect(function() {
|
|
3530
3392
|
o.current = e;
|
|
3531
3393
|
}, [e]), F.useEffect(function() {
|
|
3532
3394
|
if (e.inert) {
|
|
3533
3395
|
document.body.classList.add(`block-interactivity-${i}`);
|
|
3534
|
-
var t =
|
|
3396
|
+
var t = Et([e.lockRef.current], (e.shards || []).map(Ds), !0).filter(Boolean);
|
|
3535
3397
|
return t.forEach(function(e) {
|
|
3536
3398
|
return e.classList.add(`allow-interactivity-${i}`);
|
|
3537
3399
|
}), function() {
|
|
@@ -3547,25 +3409,25 @@ function Is(e) {
|
|
|
3547
3409
|
]);
|
|
3548
3410
|
var s = F.useCallback(function(e, t) {
|
|
3549
3411
|
if ("touches" in e && e.touches.length === 2 || e.type === "wheel" && e.ctrlKey) return !o.current.allowPinchZoom;
|
|
3550
|
-
var i =
|
|
3412
|
+
var i = Ts(e), a = n.current, s = "deltaX" in e ? e.deltaX : a[0] - i[0], c = "deltaY" in e ? e.deltaY : a[1] - i[1], l, u = e.target, d = Math.abs(s) > Math.abs(c) ? "h" : "v";
|
|
3551
3413
|
if ("touches" in e && d === "h" && u.type === "range") return !1;
|
|
3552
3414
|
var f = window.getSelection(), p = f && f.anchorNode;
|
|
3553
3415
|
if (p && (p === u || p.contains(u))) return !1;
|
|
3554
|
-
var m =
|
|
3416
|
+
var m = vs(d, u);
|
|
3555
3417
|
if (!m) return !0;
|
|
3556
|
-
if (m ? l = d : (l = d === "v" ? "h" : "v", m =
|
|
3418
|
+
if (m ? l = d : (l = d === "v" ? "h" : "v", m = vs(d, u)), !m) return !1;
|
|
3557
3419
|
if (!r.current && "changedTouches" in e && (s || c) && (r.current = l), !l) return !0;
|
|
3558
3420
|
var h = r.current || l;
|
|
3559
|
-
return
|
|
3421
|
+
return ws(h, t, e, h === "h" ? s : c, !0);
|
|
3560
3422
|
}, []), c = F.useCallback(function(e) {
|
|
3561
3423
|
var n = e;
|
|
3562
|
-
if (
|
|
3563
|
-
var r = "deltaY" in n ?
|
|
3564
|
-
return e.name === n.type && (e.target === n.target || n.target === e.shadowParent) &&
|
|
3424
|
+
if (js.length && js[js.length - 1] === a) {
|
|
3425
|
+
var r = "deltaY" in n ? Es(n) : Ts(n), i = t.current.filter(function(e) {
|
|
3426
|
+
return e.name === n.type && (e.target === n.target || n.target === e.shadowParent) && Os(e.delta, r);
|
|
3565
3427
|
})[0];
|
|
3566
3428
|
if (i && i.should) n.cancelable && n.preventDefault();
|
|
3567
3429
|
else if (!i) {
|
|
3568
|
-
var c = (o.current.shards || []).map(
|
|
3430
|
+
var c = (o.current.shards || []).map(Ds).filter(Boolean).filter(function(e) {
|
|
3569
3431
|
return e.contains(n.target);
|
|
3570
3432
|
});
|
|
3571
3433
|
(c.length > 0 ? s(n, c[0]) : !o.current.noIsolation) && n.cancelable && n.preventDefault();
|
|
@@ -3577,7 +3439,7 @@ function Is(e) {
|
|
|
3577
3439
|
delta: n,
|
|
3578
3440
|
target: r,
|
|
3579
3441
|
should: i,
|
|
3580
|
-
shadowParent:
|
|
3442
|
+
shadowParent: Ns(r)
|
|
3581
3443
|
};
|
|
3582
3444
|
t.current.push(a), setTimeout(function() {
|
|
3583
3445
|
t.current = t.current.filter(function(e) {
|
|
@@ -3585,56 +3447,56 @@ function Is(e) {
|
|
|
3585
3447
|
});
|
|
3586
3448
|
}, 1);
|
|
3587
3449
|
}, []), u = F.useCallback(function(e) {
|
|
3588
|
-
n.current =
|
|
3450
|
+
n.current = Ts(e), r.current = void 0;
|
|
3589
3451
|
}, []), d = F.useCallback(function(t) {
|
|
3590
|
-
l(t.type,
|
|
3452
|
+
l(t.type, Es(t), t.target, s(t, e.lockRef.current));
|
|
3591
3453
|
}, []), f = F.useCallback(function(t) {
|
|
3592
|
-
l(t.type,
|
|
3454
|
+
l(t.type, Ts(t), t.target, s(t, e.lockRef.current));
|
|
3593
3455
|
}, []);
|
|
3594
3456
|
F.useEffect(function() {
|
|
3595
|
-
return
|
|
3457
|
+
return js.push(a), e.setCallbacks({
|
|
3596
3458
|
onScrollCapture: d,
|
|
3597
3459
|
onWheelCapture: d,
|
|
3598
3460
|
onTouchMoveCapture: f
|
|
3599
|
-
}), document.addEventListener("wheel", c,
|
|
3600
|
-
|
|
3461
|
+
}), document.addEventListener("wheel", c, ps), document.addEventListener("touchmove", c, ps), document.addEventListener("touchstart", u, ps), function() {
|
|
3462
|
+
js = js.filter(function(e) {
|
|
3601
3463
|
return e !== a;
|
|
3602
|
-
}), document.removeEventListener("wheel", c,
|
|
3464
|
+
}), document.removeEventListener("wheel", c, ps), document.removeEventListener("touchmove", c, ps), document.removeEventListener("touchstart", u, ps);
|
|
3603
3465
|
};
|
|
3604
3466
|
}, []);
|
|
3605
3467
|
var p = e.removeScrollBar, m = e.inert;
|
|
3606
|
-
return F.createElement(F.Fragment, null, m ? F.createElement(a, { styles:
|
|
3468
|
+
return F.createElement(F.Fragment, null, m ? F.createElement(a, { styles: ks(i) }) : null, p ? F.createElement(us, {
|
|
3607
3469
|
noRelative: e.noRelative,
|
|
3608
3470
|
gapMode: e.gapMode
|
|
3609
3471
|
}) : null);
|
|
3610
3472
|
}
|
|
3611
|
-
function
|
|
3473
|
+
function Ns(e) {
|
|
3612
3474
|
for (var t = null; e !== null;) e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
|
|
3613
3475
|
return t;
|
|
3614
3476
|
}
|
|
3615
3477
|
//#endregion
|
|
3616
3478
|
//#region ../node_modules/react-remove-scroll/dist/es2015/sidecar.js
|
|
3617
|
-
var
|
|
3618
|
-
return F.createElement(
|
|
3479
|
+
var Ps = Wo(Go, Ms), Fs = F.forwardRef(function(e, t) {
|
|
3480
|
+
return F.createElement(qo, Ot({}, e, {
|
|
3619
3481
|
ref: t,
|
|
3620
|
-
sideCar:
|
|
3482
|
+
sideCar: Ps
|
|
3621
3483
|
}));
|
|
3622
3484
|
});
|
|
3623
|
-
|
|
3485
|
+
Fs.classNames = qo.classNames;
|
|
3624
3486
|
//#endregion
|
|
3625
3487
|
//#region ../node_modules/@radix-ui/react-popover/dist/index.mjs
|
|
3626
|
-
var
|
|
3627
|
-
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, s =
|
|
3488
|
+
var Is = "Popover", [Ls, Rs] = Wn(Is, [Wa]), zs = Wa(), [Bs, Vs] = Ls(Is), Hs = (e) => {
|
|
3489
|
+
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, s = zs(t), c = F.useRef(null), [l, u] = F.useState(!1), [d, f] = yo({
|
|
3628
3490
|
prop: r,
|
|
3629
3491
|
defaultProp: i ?? !1,
|
|
3630
3492
|
onChange: a,
|
|
3631
|
-
caller:
|
|
3493
|
+
caller: Is
|
|
3632
3494
|
});
|
|
3633
|
-
return /* @__PURE__ */ (0, L.jsx)(
|
|
3495
|
+
return /* @__PURE__ */ (0, L.jsx)(oo, {
|
|
3634
3496
|
...s,
|
|
3635
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
3497
|
+
children: /* @__PURE__ */ (0, L.jsx)(Bs, {
|
|
3636
3498
|
scope: t,
|
|
3637
|
-
contentId:
|
|
3499
|
+
contentId: Ir(),
|
|
3638
3500
|
triggerRef: c,
|
|
3639
3501
|
open: d,
|
|
3640
3502
|
onOpenChange: f,
|
|
@@ -3647,57 +3509,57 @@ var Bs = "Popover", [Vs, Hs] = Vn(Bs, [Ha]), Us = Ha(), [Ws, Gs] = Vs(Bs), Ks =
|
|
|
3647
3509
|
})
|
|
3648
3510
|
});
|
|
3649
3511
|
};
|
|
3650
|
-
|
|
3651
|
-
var
|
|
3652
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3653
|
-
return F.useEffect(() => (o(), () => s()), [o, s]), /* @__PURE__ */ (0, L.jsx)(
|
|
3512
|
+
Hs.displayName = Is;
|
|
3513
|
+
var Us = "PopoverAnchor", Ws = F.forwardRef((e, t) => {
|
|
3514
|
+
let { __scopePopover: n, ...r } = e, i = Vs(Us, n), a = zs(n), { onCustomAnchorAdd: o, onCustomAnchorRemove: s } = i;
|
|
3515
|
+
return F.useEffect(() => (o(), () => s()), [o, s]), /* @__PURE__ */ (0, L.jsx)(so, {
|
|
3654
3516
|
...a,
|
|
3655
3517
|
...r,
|
|
3656
3518
|
ref: t
|
|
3657
3519
|
});
|
|
3658
3520
|
});
|
|
3659
|
-
|
|
3660
|
-
var
|
|
3661
|
-
let { __scopePopover: n, ...r } = e, i = Gs
|
|
3521
|
+
Ws.displayName = Us;
|
|
3522
|
+
var Gs = "PopoverTrigger", Ks = F.forwardRef((e, t) => {
|
|
3523
|
+
let { __scopePopover: n, ...r } = e, i = Vs(Gs, n), a = zs(n), o = B(t, i.triggerRef), s = /* @__PURE__ */ (0, L.jsx)(V.button, {
|
|
3662
3524
|
type: "button",
|
|
3663
3525
|
"aria-haspopup": "dialog",
|
|
3664
3526
|
"aria-expanded": i.open,
|
|
3665
3527
|
"aria-controls": i.contentId,
|
|
3666
|
-
"data-state":
|
|
3528
|
+
"data-state": ac(i.open),
|
|
3667
3529
|
...r,
|
|
3668
3530
|
ref: o,
|
|
3669
3531
|
onClick: z(e.onClick, i.onOpenToggle)
|
|
3670
3532
|
});
|
|
3671
|
-
return i.hasCustomAnchor ? s : /* @__PURE__ */ (0, L.jsx)(
|
|
3533
|
+
return i.hasCustomAnchor ? s : /* @__PURE__ */ (0, L.jsx)(so, {
|
|
3672
3534
|
asChild: !0,
|
|
3673
3535
|
...a,
|
|
3674
3536
|
children: s
|
|
3675
3537
|
});
|
|
3676
3538
|
});
|
|
3677
|
-
|
|
3678
|
-
var [
|
|
3679
|
-
let n =
|
|
3680
|
-
return /* @__PURE__ */ (0, L.jsx)(
|
|
3539
|
+
Ks.displayName = Gs;
|
|
3540
|
+
var [qs, Js] = Ls("PopoverPortal", { forceMount: void 0 }), Ys = "PopoverContent", Xs = F.forwardRef((e, t) => {
|
|
3541
|
+
let n = Js(Ys, e.__scopePopover), { forceMount: r = n.forceMount, ...i } = e, a = Vs(Ys, e.__scopePopover);
|
|
3542
|
+
return /* @__PURE__ */ (0, L.jsx)(mo, {
|
|
3681
3543
|
present: r || a.open,
|
|
3682
|
-
children: a.modal ? /* @__PURE__ */ (0, L.jsx)(
|
|
3544
|
+
children: a.modal ? /* @__PURE__ */ (0, L.jsx)(Qs, {
|
|
3683
3545
|
...i,
|
|
3684
3546
|
ref: t
|
|
3685
|
-
}) : /* @__PURE__ */ (0, L.jsx)(
|
|
3547
|
+
}) : /* @__PURE__ */ (0, L.jsx)($s, {
|
|
3686
3548
|
...i,
|
|
3687
3549
|
ref: t
|
|
3688
3550
|
})
|
|
3689
3551
|
});
|
|
3690
3552
|
});
|
|
3691
|
-
|
|
3692
|
-
var
|
|
3693
|
-
let n =
|
|
3553
|
+
Xs.displayName = Ys;
|
|
3554
|
+
var Zs = /* @__PURE__ */ Kn("PopoverContent.RemoveScroll"), Qs = F.forwardRef((e, t) => {
|
|
3555
|
+
let n = Vs(Ys, e.__scopePopover), r = F.useRef(null), i = B(t, r), a = F.useRef(!1);
|
|
3694
3556
|
return F.useEffect(() => {
|
|
3695
3557
|
let e = r.current;
|
|
3696
|
-
if (e) return
|
|
3697
|
-
}, []), /* @__PURE__ */ (0, L.jsx)(
|
|
3698
|
-
as:
|
|
3558
|
+
if (e) return Ao(e);
|
|
3559
|
+
}, []), /* @__PURE__ */ (0, L.jsx)(Fs, {
|
|
3560
|
+
as: Zs,
|
|
3699
3561
|
allowPinchZoom: !0,
|
|
3700
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
3562
|
+
children: /* @__PURE__ */ (0, L.jsx)(ec, {
|
|
3701
3563
|
...e,
|
|
3702
3564
|
ref: i,
|
|
3703
3565
|
trapFocus: n.open,
|
|
@@ -3712,9 +3574,9 @@ var tc = /* @__PURE__ */ Un("PopoverContent.RemoveScroll"), nc = F.forwardRef((e
|
|
|
3712
3574
|
onFocusOutside: z(e.onFocusOutside, (e) => e.preventDefault(), { checkForDefaultPrevented: !1 })
|
|
3713
3575
|
})
|
|
3714
3576
|
});
|
|
3715
|
-
}),
|
|
3716
|
-
let n =
|
|
3717
|
-
return /* @__PURE__ */ (0, L.jsx)(
|
|
3577
|
+
}), $s = F.forwardRef((e, t) => {
|
|
3578
|
+
let n = Vs(Ys, e.__scopePopover), r = F.useRef(!1), i = F.useRef(!1);
|
|
3579
|
+
return /* @__PURE__ */ (0, L.jsx)(ec, {
|
|
3718
3580
|
...e,
|
|
3719
3581
|
ref: t,
|
|
3720
3582
|
trapFocus: !1,
|
|
@@ -3728,15 +3590,15 @@ var tc = /* @__PURE__ */ Un("PopoverContent.RemoveScroll"), nc = F.forwardRef((e
|
|
|
3728
3590
|
n.triggerRef.current?.contains(a) && t.preventDefault(), t.detail.originalEvent.type === "focusin" && i.current && t.preventDefault();
|
|
3729
3591
|
}
|
|
3730
3592
|
});
|
|
3731
|
-
}),
|
|
3732
|
-
let { __scopePopover: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, disableOutsidePointerEvents: o, onEscapeKeyDown: s, onPointerDownOutside: c, onFocusOutside: l, onInteractOutside: u, ...d } = e, f =
|
|
3733
|
-
return
|
|
3593
|
+
}), ec = F.forwardRef((e, t) => {
|
|
3594
|
+
let { __scopePopover: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, disableOutsidePointerEvents: o, onEscapeKeyDown: s, onPointerDownOutside: c, onFocusOutside: l, onInteractOutside: u, ...d } = e, f = Vs(Ys, n), p = zs(n);
|
|
3595
|
+
return hr(), /* @__PURE__ */ (0, L.jsx)(xr, {
|
|
3734
3596
|
asChild: !0,
|
|
3735
3597
|
loop: !0,
|
|
3736
3598
|
trapped: r,
|
|
3737
3599
|
onMountAutoFocus: i,
|
|
3738
3600
|
onUnmountAutoFocus: a,
|
|
3739
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
3601
|
+
children: /* @__PURE__ */ (0, L.jsx)(sr, {
|
|
3740
3602
|
asChild: !0,
|
|
3741
3603
|
disableOutsidePointerEvents: o,
|
|
3742
3604
|
onInteractOutside: u,
|
|
@@ -3744,8 +3606,8 @@ var tc = /* @__PURE__ */ Un("PopoverContent.RemoveScroll"), nc = F.forwardRef((e
|
|
|
3744
3606
|
onPointerDownOutside: c,
|
|
3745
3607
|
onFocusOutside: l,
|
|
3746
3608
|
onDismiss: () => f.onOpenChange(!1),
|
|
3747
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
3748
|
-
"data-state":
|
|
3609
|
+
children: /* @__PURE__ */ (0, L.jsx)(co, {
|
|
3610
|
+
"data-state": ac(f.open),
|
|
3749
3611
|
role: "dialog",
|
|
3750
3612
|
id: f.contentId,
|
|
3751
3613
|
...p,
|
|
@@ -3762,8 +3624,8 @@ var tc = /* @__PURE__ */ Un("PopoverContent.RemoveScroll"), nc = F.forwardRef((e
|
|
|
3762
3624
|
})
|
|
3763
3625
|
})
|
|
3764
3626
|
});
|
|
3765
|
-
}),
|
|
3766
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3627
|
+
}), tc = "PopoverClose", nc = F.forwardRef((e, t) => {
|
|
3628
|
+
let { __scopePopover: n, ...r } = e, i = Vs(tc, n);
|
|
3767
3629
|
return /* @__PURE__ */ (0, L.jsx)(V.button, {
|
|
3768
3630
|
type: "button",
|
|
3769
3631
|
...r,
|
|
@@ -3771,31 +3633,31 @@ var tc = /* @__PURE__ */ Un("PopoverContent.RemoveScroll"), nc = F.forwardRef((e
|
|
|
3771
3633
|
onClick: z(e.onClick, () => i.onOpenChange(!1))
|
|
3772
3634
|
});
|
|
3773
3635
|
});
|
|
3774
|
-
|
|
3775
|
-
var
|
|
3776
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3777
|
-
return /* @__PURE__ */ (0, L.jsx)(
|
|
3636
|
+
nc.displayName = tc;
|
|
3637
|
+
var rc = "PopoverArrow", ic = F.forwardRef((e, t) => {
|
|
3638
|
+
let { __scopePopover: n, ...r } = e, i = zs(n);
|
|
3639
|
+
return /* @__PURE__ */ (0, L.jsx)(lo, {
|
|
3778
3640
|
...i,
|
|
3779
3641
|
...r,
|
|
3780
3642
|
ref: t
|
|
3781
3643
|
});
|
|
3782
3644
|
});
|
|
3783
|
-
|
|
3784
|
-
function
|
|
3645
|
+
ic.displayName = rc;
|
|
3646
|
+
function ac(e) {
|
|
3785
3647
|
return e ? "open" : "closed";
|
|
3786
3648
|
}
|
|
3787
|
-
var
|
|
3649
|
+
var oc = Hs, sc = Ks, cc = Xs, lc = ic, uc = ({ message: e, trigger: t, initialVisibility: n = !1 }) => /* @__PURE__ */ (0, L.jsxs)(oc, {
|
|
3788
3650
|
defaultOpen: n,
|
|
3789
|
-
children: [/* @__PURE__ */ (0, L.jsx)("div", { children: /* @__PURE__ */ (0, L.jsx)(
|
|
3651
|
+
children: [/* @__PURE__ */ (0, L.jsx)("div", { children: /* @__PURE__ */ (0, L.jsx)(sc, {
|
|
3790
3652
|
asChild: !0,
|
|
3791
3653
|
children: t
|
|
3792
|
-
}) }), /* @__PURE__ */ (0, L.jsxs)(
|
|
3654
|
+
}) }), /* @__PURE__ */ (0, L.jsxs)(cc, {
|
|
3793
3655
|
className: "sid-popover__container",
|
|
3794
3656
|
sideOffset: 10,
|
|
3795
3657
|
side: "bottom",
|
|
3796
|
-
children: [e, /* @__PURE__ */ (0, L.jsx)(
|
|
3658
|
+
children: [e, /* @__PURE__ */ (0, L.jsx)(lc, { className: "sid-popover__caret" })]
|
|
3797
3659
|
})]
|
|
3798
|
-
}),
|
|
3660
|
+
}), dc = ({ verificationService: e, initialVisibility: t = !1 }) => /* @__PURE__ */ (0, L.jsx)(uc, {
|
|
3799
3661
|
initialVisibility: t,
|
|
3800
3662
|
trigger: /* @__PURE__ */ (0, L.jsx)("button", {
|
|
3801
3663
|
type: "button",
|
|
@@ -3805,10 +3667,10 @@ var uc = Ks, dc = Xs, fc = ec, pc = cc, mc = ({ message: e, trigger: t, initialV
|
|
|
3805
3667
|
message: /* @__PURE__ */ (0, L.jsxs)("div", { children: [
|
|
3806
3668
|
/* @__PURE__ */ (0, L.jsx)(N, { id: "step.personalInfo.howDoesVerifyingWorkDetails" }),
|
|
3807
3669
|
"\xA0",
|
|
3808
|
-
/* @__PURE__ */ (0, L.jsx)(
|
|
3670
|
+
/* @__PURE__ */ (0, L.jsx)($t, { verificationService: e })
|
|
3809
3671
|
] })
|
|
3810
|
-
}),
|
|
3811
|
-
let t = we(), n =
|
|
3672
|
+
}), fc = (e) => {
|
|
3673
|
+
let t = we(), n = mt(Me());
|
|
3812
3674
|
return n === null ? null : /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
3813
3675
|
className: "sid-rewards-remaining",
|
|
3814
3676
|
role: "note",
|
|
@@ -3822,11 +3684,11 @@ var uc = Ks, dc = Xs, fc = ec, pc = cc, mc = ({ message: e, trigger: t, initialV
|
|
|
3822
3684
|
/* @__PURE__ */ (0, L.jsx)("div", { className: "sid-l-space-top-sm" })
|
|
3823
3685
|
]
|
|
3824
3686
|
});
|
|
3825
|
-
},
|
|
3826
|
-
let { verificationResponse: n } = e, r =
|
|
3687
|
+
}, pc = (e) => e !== void 0, mc = ({ verificationService: e, classNameIdentifier: t = void 0 }) => {
|
|
3688
|
+
let { verificationResponse: n } = e, r = pc(n) ? it(n) : !1;
|
|
3827
3689
|
return /* @__PURE__ */ (0, L.jsx)("div", {
|
|
3828
3690
|
className: "sid-personal-info-header",
|
|
3829
|
-
children: /* @__PURE__ */ (0, L.jsxs)(
|
|
3691
|
+
children: /* @__PURE__ */ (0, L.jsxs)(Vn, {
|
|
3830
3692
|
verificationService: e,
|
|
3831
3693
|
title: /* @__PURE__ */ (0, L.jsx)(N, { id: r ? "step.personalInfo.tryAgain.title" : "step.personalInfo.title" }),
|
|
3832
3694
|
classNameIdentifier: t,
|
|
@@ -3837,7 +3699,7 @@ var uc = Ks, dc = Xs, fc = ec, pc = cc, mc = ({ message: e, trigger: t, initialV
|
|
|
3837
3699
|
}),
|
|
3838
3700
|
/* @__PURE__ */ (0, L.jsx)("div", {
|
|
3839
3701
|
className: "sid-header__how-verifying-works sid-l-horz-center",
|
|
3840
|
-
children: !r && /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(
|
|
3702
|
+
children: !r && /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(dc, { verificationService: e }), /* @__PURE__ */ (0, L.jsx)(fc, { verificationService: e })] })
|
|
3841
3703
|
}),
|
|
3842
3704
|
/* @__PURE__ */ (0, L.jsx)("div", {
|
|
3843
3705
|
className: "sid-h-medium-text sid-l-space-btm-sm sid-l-space-top-sm",
|
|
@@ -3846,15 +3708,15 @@ var uc = Ks, dc = Xs, fc = ec, pc = cc, mc = ({ message: e, trigger: t, initialV
|
|
|
3846
3708
|
]
|
|
3847
3709
|
})
|
|
3848
3710
|
});
|
|
3849
|
-
},
|
|
3850
|
-
let { isEmbedded: i } =
|
|
3711
|
+
}, hc = () => ({ isEmbedded: !!S("verificationIframeUid") }), gc = ({ layout: e, children: t, verificationService: n, renderAsLandingPage: r }) => {
|
|
3712
|
+
let { isEmbedded: i } = hc();
|
|
3851
3713
|
return !r || i ? /* @__PURE__ */ (0, L.jsx)(L.Fragment, { children: t }) : /* @__PURE__ */ (0, L.jsx)("div", {
|
|
3852
3714
|
className: `sid-layout sid-layout--${e}`,
|
|
3853
3715
|
children: /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
3854
3716
|
className: "sid-layout__container",
|
|
3855
3717
|
children: [e === "fullRight" && /* @__PURE__ */ (0, L.jsx)("div", {
|
|
3856
3718
|
className: "sid-layout__content",
|
|
3857
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
3719
|
+
children: /* @__PURE__ */ (0, L.jsx)(mc, {
|
|
3858
3720
|
verificationService: n,
|
|
3859
3721
|
classNameIdentifier: "landing"
|
|
3860
3722
|
})
|
|
@@ -3867,9 +3729,9 @@ var uc = Ks, dc = Xs, fc = ec, pc = cc, mc = ({ message: e, trigger: t, initialV
|
|
|
3867
3729
|
})]
|
|
3868
3730
|
})
|
|
3869
3731
|
});
|
|
3870
|
-
},
|
|
3732
|
+
}, _c = (0, F.createContext)(void 0), vc = () => (0, F.useContext)(_c), yc = ({ children: e }) => {
|
|
3871
3733
|
let [t, n] = (0, F.useState)(null);
|
|
3872
|
-
return /* @__PURE__ */ (0, L.jsxs)(
|
|
3734
|
+
return /* @__PURE__ */ (0, L.jsxs)(_c.Provider, {
|
|
3873
3735
|
value: t,
|
|
3874
3736
|
children: [e, /* @__PURE__ */ (0, L.jsx)("div", {
|
|
3875
3737
|
className: "sid-ui",
|
|
@@ -3877,14 +3739,14 @@ var uc = Ks, dc = Xs, fc = ec, pc = cc, mc = ({ message: e, trigger: t, initialV
|
|
|
3877
3739
|
ref: n
|
|
3878
3740
|
})]
|
|
3879
3741
|
});
|
|
3880
|
-
},
|
|
3742
|
+
}, bc = ({ children: e }) => /* @__PURE__ */ (0, L.jsx)("div", {
|
|
3881
3743
|
className: "sid sid-form-wrapper",
|
|
3882
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
3883
|
-
}), $ = (e, t) => `color-mix(in oklab, color-mix(in oklab, var(--background), var(--brand) ${e}%), var(--foreground) ${t}%)`,
|
|
3744
|
+
children: /* @__PURE__ */ (0, L.jsx)(yc, { children: e })
|
|
3745
|
+
}), $ = (e, t) => `color-mix(in oklab, color-mix(in oklab, var(--background), var(--brand) ${e}%), var(--foreground) ${t}%)`, xc = (e) => {
|
|
3884
3746
|
let t = e.replace("#", "");
|
|
3885
3747
|
return t.length === 3 ? t.split("").map((e) => e + e).join("") : t;
|
|
3886
|
-
},
|
|
3887
|
-
let t =
|
|
3748
|
+
}, Sc = (e) => {
|
|
3749
|
+
let t = xc(e), [n, r, i] = [
|
|
3888
3750
|
0,
|
|
3889
3751
|
2,
|
|
3890
3752
|
4
|
|
@@ -3893,24 +3755,24 @@ var uc = Ks, dc = Xs, fc = ec, pc = cc, mc = ({ message: e, trigger: t, initialV
|
|
|
3893
3755
|
return n <= .04045 ? n / 12.92 : ((n + .055) / 1.055) ** 2.4;
|
|
3894
3756
|
});
|
|
3895
3757
|
return .2126 * n + .7152 * r + .0722 * i;
|
|
3896
|
-
},
|
|
3897
|
-
let [n, r] = [
|
|
3758
|
+
}, Cc = (e, t) => {
|
|
3759
|
+
let [n, r] = [Sc(e), Sc(t)].sort((e, t) => t - e);
|
|
3898
3760
|
return (n + .05) / (r + .05);
|
|
3899
|
-
},
|
|
3761
|
+
}, wc = (e, t) => Cc(e, t.formBackgroundColor) >= Cc(e, t.textColor) ? "var(--background)" : "var(--foreground)", Tc = {
|
|
3900
3762
|
square: "0px",
|
|
3901
3763
|
soft: "6px",
|
|
3902
3764
|
round: "1rem"
|
|
3903
|
-
},
|
|
3765
|
+
}, Ec = {
|
|
3904
3766
|
small: "0.875rem",
|
|
3905
3767
|
medium: "1rem",
|
|
3906
3768
|
large: "1.125rem"
|
|
3907
|
-
},
|
|
3769
|
+
}, Dc = {
|
|
3908
3770
|
full: "100%",
|
|
3909
3771
|
hug: "fit-content"
|
|
3910
|
-
},
|
|
3772
|
+
}, Oc = {
|
|
3911
3773
|
full: "100%",
|
|
3912
3774
|
fixed: "var(--form-max-width)"
|
|
3913
|
-
},
|
|
3775
|
+
}, kc = "#e12046", Ac = 73.84, jc = 8, Mc = "color-mix(in srgb, var(--primary) 80%, transparent)", Nc = "#475569", Pc = "36rem", Fc = "0.25rem", Ic = 16, Lc = 4, Rc = {
|
|
3914
3776
|
"--neutral-50": $(3, 2),
|
|
3915
3777
|
"--neutral-100": $(3, 7),
|
|
3916
3778
|
"--neutral-200": $(8, 10),
|
|
@@ -3922,11 +3784,11 @@ var uc = Ks, dc = Xs, fc = ec, pc = cc, mc = ({ message: e, trigger: t, initialV
|
|
|
3922
3784
|
"--neutral-800": $(30, 70),
|
|
3923
3785
|
"--neutral-900": $(30, 85),
|
|
3924
3786
|
"--neutral-950": $(30, 93)
|
|
3925
|
-
},
|
|
3926
|
-
if (!e) return
|
|
3787
|
+
}, zc = ({ value: e, unit: t }) => `${e}${t}`, Bc = (e) => {
|
|
3788
|
+
if (!e) return Fc;
|
|
3927
3789
|
let { value: t, unit: n } = e;
|
|
3928
|
-
return n === "px" ? `${t /
|
|
3929
|
-
},
|
|
3790
|
+
return n === "px" ? `${t / Ic / Lc}rem` : n === "rem" || n === "em" ? `${t / Lc}${n}` : Fc;
|
|
3791
|
+
}, Vc = (e) => e ? zc(e) : "var(--text-base)", Hc = (e, t) => String(e ?? t), Uc = (e, { hasBrandColor: t = !0 } = {}) => {
|
|
3930
3792
|
let { basics: n, header: r, body: i, reward: a, links: o, footer: s, buttons: c, inputs: l, form: u } = e, d = c?.primary, f = c?.secondary, p = l?.borderColor;
|
|
3931
3793
|
return {
|
|
3932
3794
|
"--brand": n.brandColor,
|
|
@@ -3940,13 +3802,13 @@ var uc = Ks, dc = Xs, fc = ec, pc = cc, mc = ({ message: e, trigger: t, initialV
|
|
|
3940
3802
|
"--heading-foreground": r?.textColor ?? "var(--foreground)",
|
|
3941
3803
|
"--reward-foreground": a?.textColor ?? "var(--foreground)",
|
|
3942
3804
|
"--primary": d?.backgroundColor ?? "var(--brand)",
|
|
3943
|
-
"--primary-foreground": d?.textColor ??
|
|
3805
|
+
"--primary-foreground": d?.textColor ?? wc(d?.backgroundColor ?? n.brandColor, n),
|
|
3944
3806
|
"--primary-border": d?.outlineColor ?? "var(--primary)",
|
|
3945
|
-
"--primary-disabled": t ?
|
|
3807
|
+
"--primary-disabled": t ? Mc : Nc,
|
|
3946
3808
|
"--secondary": f?.backgroundColor ?? "var(--neutral-50)",
|
|
3947
3809
|
"--secondary-foreground": f?.textColor ?? "var(--foreground)",
|
|
3948
3810
|
"--secondary-border": f?.outlineColor ?? "var(--border)",
|
|
3949
|
-
...
|
|
3811
|
+
...Rc,
|
|
3950
3812
|
"--muted": "var(--neutral-50)",
|
|
3951
3813
|
"--accent": "var(--neutral-100)",
|
|
3952
3814
|
"--accent-foreground": "var(--foreground)",
|
|
@@ -3958,41 +3820,41 @@ var uc = Ks, dc = Xs, fc = ec, pc = cc, mc = ({ message: e, trigger: t, initialV
|
|
|
3958
3820
|
"--placeholder": l?.placeholderColor ?? "var(--muted-foreground)",
|
|
3959
3821
|
"--muted-foreground": l?.helper?.textColor ?? "var(--neutral-500)",
|
|
3960
3822
|
"--label-foreground": l?.label?.textColor ?? "var(--neutral-700)",
|
|
3961
|
-
"--destructive": l?.errorColor ??
|
|
3962
|
-
"--warning": `color-mix(in oklch, oklch(from var(--destructive) l c ${
|
|
3823
|
+
"--destructive": l?.errorColor ?? kc,
|
|
3824
|
+
"--warning": `color-mix(in oklch, oklch(from var(--destructive) l c ${Ac}), var(--foreground) ${jc}%)`,
|
|
3963
3825
|
"--link": o?.color ?? "var(--brand)",
|
|
3964
3826
|
"--footer-foreground": s?.textColor ?? "var(--muted-foreground)",
|
|
3965
3827
|
"--spinner": u?.loadingSpinnerColor ?? "var(--brand)",
|
|
3966
3828
|
"--ring": "var(--primary)"
|
|
3967
3829
|
};
|
|
3968
|
-
},
|
|
3830
|
+
}, Wc = (e, t = {}) => {
|
|
3969
3831
|
let { basics: n, header: r, body: i, reward: a, links: o, buttons: s, inputs: c, form: l } = e, u = o?.underline ?? !0, d = {
|
|
3970
|
-
...
|
|
3971
|
-
"--radius":
|
|
3832
|
+
...Uc(e, t),
|
|
3833
|
+
"--radius": Tc[n.corners],
|
|
3972
3834
|
"--radius-sm": "calc(var(--radius) * 0.6)",
|
|
3973
3835
|
"--radius-md": "calc(var(--radius) * 0.8)",
|
|
3974
|
-
"--button-radius": s?.borderRadius ?
|
|
3975
|
-
"--input-radius": c?.borderRadius ?
|
|
3976
|
-
"--text-base":
|
|
3977
|
-
"--heading-size": r?.textSize ?
|
|
3978
|
-
"--body-size":
|
|
3979
|
-
"--reward-size":
|
|
3980
|
-
"--button-text-size":
|
|
3981
|
-
"--input-text-size":
|
|
3982
|
-
"--label-text-size":
|
|
3983
|
-
"--spacing":
|
|
3984
|
-
"--form-max-width": l?.maxWidth ?
|
|
3985
|
-
"--heading-weight":
|
|
3986
|
-
"--body-weight":
|
|
3987
|
-
"--reward-weight":
|
|
3988
|
-
"--button-weight":
|
|
3989
|
-
"--input-weight":
|
|
3990
|
-
"--label-weight":
|
|
3836
|
+
"--button-radius": s?.borderRadius ? zc(s.borderRadius) : "var(--radius)",
|
|
3837
|
+
"--input-radius": c?.borderRadius ? zc(c.borderRadius) : "var(--radius)",
|
|
3838
|
+
"--text-base": Ec[n.textSize],
|
|
3839
|
+
"--heading-size": r?.textSize ? zc(r.textSize) : "calc(var(--text-base) * 1.5)",
|
|
3840
|
+
"--body-size": Vc(i?.textSize),
|
|
3841
|
+
"--reward-size": Vc(a?.textSize),
|
|
3842
|
+
"--button-text-size": Vc(s?.textSize),
|
|
3843
|
+
"--input-text-size": Vc(c?.textSize),
|
|
3844
|
+
"--label-text-size": Vc(c?.label?.textSize),
|
|
3845
|
+
"--spacing": Bc(l?.elementPadding),
|
|
3846
|
+
"--form-max-width": l?.maxWidth ? zc(l.maxWidth) : Pc,
|
|
3847
|
+
"--heading-weight": Hc(r?.fontWeight, 700),
|
|
3848
|
+
"--body-weight": Hc(i?.fontWeight, 400),
|
|
3849
|
+
"--reward-weight": Hc(a?.fontWeight, 800),
|
|
3850
|
+
"--button-weight": Hc(s?.fontWeight, 400),
|
|
3851
|
+
"--input-weight": Hc(c?.fontWeight, 400),
|
|
3852
|
+
"--label-weight": Hc(c?.label?.fontWeight, 600),
|
|
3991
3853
|
"--link-decoration": u ? "underline" : "none",
|
|
3992
3854
|
"--link-hover-decoration": u ? "none" : "underline"
|
|
3993
3855
|
};
|
|
3994
|
-
return s?.width && (d["--button-width"] =
|
|
3995
|
-
},
|
|
3856
|
+
return s?.width && (d["--button-width"] = Dc[s.width]), l?.width && (d["--form-width"] = Oc[l.width]), d;
|
|
3857
|
+
}, Gc = {
|
|
3996
3858
|
"--sheerid-color-bg": "var(--background)",
|
|
3997
3859
|
"--sheerid-color-fg": "var(--foreground)",
|
|
3998
3860
|
"--sheerid-form-button-color": "var(--primary)",
|
|
@@ -4001,9 +3863,9 @@ var uc = Ks, dc = Xs, fc = ec, pc = cc, mc = ({ message: e, trigger: t, initialV
|
|
|
4001
3863
|
"--sheerid-form-h1-font-color": "var(--heading-foreground)",
|
|
4002
3864
|
"--sheerid-form-helper-font-color": "var(--muted-foreground)",
|
|
4003
3865
|
"--sheerid-font-size-body": "var(--text-base)"
|
|
4004
|
-
},
|
|
3866
|
+
}, Kc = (0, F.createContext)(void 0), qc = ({ brandTheme: e, tokenOptions: t, children: n }) => {
|
|
4005
3867
|
let { value: r, style: i } = (0, F.useMemo)(() => {
|
|
4006
|
-
let n =
|
|
3868
|
+
let n = Wc(e, t);
|
|
4007
3869
|
return {
|
|
4008
3870
|
value: {
|
|
4009
3871
|
brandTheme: e,
|
|
@@ -4011,11 +3873,11 @@ var uc = Ks, dc = Xs, fc = ec, pc = cc, mc = ({ message: e, trigger: t, initialV
|
|
|
4011
3873
|
},
|
|
4012
3874
|
style: {
|
|
4013
3875
|
...n,
|
|
4014
|
-
...
|
|
3876
|
+
...Gc
|
|
4015
3877
|
}
|
|
4016
3878
|
};
|
|
4017
3879
|
}, [e, t]);
|
|
4018
|
-
return /* @__PURE__ */ (0, L.jsx)(
|
|
3880
|
+
return /* @__PURE__ */ (0, L.jsx)(Kc.Provider, {
|
|
4019
3881
|
value: r,
|
|
4020
3882
|
children: /* @__PURE__ */ (0, L.jsx)("div", {
|
|
4021
3883
|
className: "sid-theme",
|
|
@@ -4023,25 +3885,25 @@ var uc = Ks, dc = Xs, fc = ec, pc = cc, mc = ({ message: e, trigger: t, initialV
|
|
|
4023
3885
|
children: n
|
|
4024
3886
|
})
|
|
4025
3887
|
});
|
|
4026
|
-
},
|
|
4027
|
-
let i =
|
|
3888
|
+
}, Jc = ({ locale: e, programTheme: t, verificationService: n, programId: r }) => {
|
|
3889
|
+
let i = ht(), { renderAs: s, _launchDarklyUserTargeting: c } = C(), l = Ae() ?? t, u = Me(), d = Te(), { isLoading: f, loadingStep: m } = Se(), g = Pe(ue, pe), _ = (0, F.useMemo)(() => g ? {
|
|
4028
3890
|
...n.verificationResponse,
|
|
4029
3891
|
...g
|
|
4030
3892
|
} : n.verificationResponse, [g, n.verificationResponse]), v = (0, F.useMemo)(() => ({
|
|
4031
3893
|
...n,
|
|
4032
3894
|
programTheme: l,
|
|
4033
3895
|
verificationResponse: _,
|
|
4034
|
-
formValidationOptions:
|
|
3896
|
+
formValidationOptions: Kt(u, _, n.viewModel)
|
|
4035
3897
|
}), [
|
|
4036
3898
|
n,
|
|
4037
3899
|
l,
|
|
4038
3900
|
u,
|
|
4039
3901
|
_
|
|
4040
|
-
]), y =
|
|
3902
|
+
]), y = Jt(), x = (0, F.useMemo)(() => Yt(l?.themeChoices), [l?.themeChoices]), S = l?.themeChoices?.landingPage?.layout || "center", w = _t();
|
|
4041
3903
|
F.useEffect(() => {
|
|
4042
3904
|
try {
|
|
4043
3905
|
if (w && v && v.viewModel) {
|
|
4044
|
-
let e = (0,
|
|
3906
|
+
let e = (0, It.default)(w);
|
|
4045
3907
|
o(p.flags, e);
|
|
4046
3908
|
let t = v.viewModel.metadata || {}, n = k(t, (t) => {
|
|
4047
3909
|
t.flags = e;
|
|
@@ -4072,33 +3934,33 @@ var uc = Ks, dc = Xs, fc = ec, pc = cc, mc = ({ message: e, trigger: t, initialV
|
|
|
4072
3934
|
C()._launchDarklyFlagCb(w);
|
|
4073
3935
|
} catch {}
|
|
4074
3936
|
}, [w]);
|
|
4075
|
-
let T = we(), ee =
|
|
3937
|
+
let T = we(), ee = Pe(ue, be), E = {
|
|
4076
3938
|
...T,
|
|
4077
|
-
...(0,
|
|
4078
|
-
...(0,
|
|
3939
|
+
...(0, Ft.default)(b(e)),
|
|
3940
|
+
...(0, Ft.default)(ee?.[e] ?? {})
|
|
4079
3941
|
}, D = a.dir(e);
|
|
4080
|
-
return /* @__PURE__ */ (0, L.jsx)(
|
|
3942
|
+
return /* @__PURE__ */ (0, L.jsx)(Ct, {
|
|
4081
3943
|
locale: "en",
|
|
4082
3944
|
messages: E,
|
|
4083
|
-
textComponent:
|
|
4084
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
3945
|
+
textComponent: zn,
|
|
3946
|
+
children: /* @__PURE__ */ (0, L.jsx)(qc, {
|
|
4085
3947
|
brandTheme: y ?? x.brandTheme,
|
|
4086
3948
|
tokenOptions: y ? void 0 : x.tokenOptions,
|
|
4087
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
3949
|
+
children: /* @__PURE__ */ (0, L.jsx)(Vt, {
|
|
4088
3950
|
themeChoices: l?.themeChoices,
|
|
4089
3951
|
customCssFromOptions: C().customCss,
|
|
4090
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
3952
|
+
children: /* @__PURE__ */ (0, L.jsx)(Gt, {
|
|
4091
3953
|
direction: D,
|
|
4092
3954
|
className: `sid-${D} sid-locale-${e}`,
|
|
4093
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
3955
|
+
children: /* @__PURE__ */ (0, L.jsx)(bc, { children: /* @__PURE__ */ (0, L.jsx)(gc, {
|
|
4094
3956
|
layout: S,
|
|
4095
3957
|
verificationService: v,
|
|
4096
3958
|
renderAsLandingPage: s === "landingPage",
|
|
4097
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
3959
|
+
children: /* @__PURE__ */ (0, L.jsx)(Mt, {
|
|
4098
3960
|
i18n: a,
|
|
4099
3961
|
children: /* @__PURE__ */ (0, L.jsx)(F.Suspense, {
|
|
4100
|
-
fallback: /* @__PURE__ */ (0, L.jsx)(
|
|
4101
|
-
children: f ? /* @__PURE__ */ (0, L.jsx)(
|
|
3962
|
+
fallback: /* @__PURE__ */ (0, L.jsx)(Qt, { step: m }),
|
|
3963
|
+
children: f ? /* @__PURE__ */ (0, L.jsx)(Qt, { step: m }) : Je("mockStep") === te.loading ? /* @__PURE__ */ (0, L.jsx)(Qt, { step: Je(h) }) : /* @__PURE__ */ (0, L.jsxs)("div", { children: [!C().hideTestModeFlag && /* @__PURE__ */ (0, L.jsx)(Bn, { verificationService: v }), /* @__PURE__ */ (0, L.jsx)(Rn, {
|
|
4102
3964
|
stepToLoad: v.overrideStep || v.verificationResponse?.currentStep,
|
|
4103
3965
|
verificationService: v
|
|
4104
3966
|
})] })
|
|
@@ -4109,35 +3971,35 @@ var uc = Ks, dc = Xs, fc = ec, pc = cc, mc = ({ message: e, trigger: t, initialV
|
|
|
4109
3971
|
})
|
|
4110
3972
|
})
|
|
4111
3973
|
}, e);
|
|
4112
|
-
},
|
|
3974
|
+
}, Yc = () => {
|
|
4113
3975
|
let e = null;
|
|
4114
3976
|
document.addEventListener("keydown", (t) => {
|
|
4115
3977
|
if (t.key !== "Tab") return;
|
|
4116
3978
|
let n = document.querySelectorAll("button, .sid-link, input, select, textarea, [tabindex]:not([tabindex=\"-1\"]");
|
|
4117
|
-
e = n[n.length - 1], e && !t.shiftKey && document.activeElement === e && (
|
|
3979
|
+
e = n[n.length - 1], e && !t.shiftKey && document.activeElement === e && (Xe({
|
|
4118
3980
|
type: "focus",
|
|
4119
3981
|
focusOn: "firstElement"
|
|
4120
3982
|
}), t.preventDefault());
|
|
4121
3983
|
}), window.addEventListener("message", (t) => {
|
|
4122
3984
|
t.data.focusOn === "lastElement" && e && e.focus();
|
|
4123
|
-
}),
|
|
3985
|
+
}), Xe({
|
|
4124
3986
|
type: "focus",
|
|
4125
3987
|
focusOn: "firstElement"
|
|
4126
3988
|
});
|
|
4127
|
-
},
|
|
3989
|
+
}, Xc = () => {
|
|
4128
3990
|
window.addEventListener("message", (e) => {
|
|
4129
|
-
e.data.isInLightBox === "true" &&
|
|
3991
|
+
e.data.isInLightBox === "true" && Yc();
|
|
4130
3992
|
});
|
|
4131
|
-
},
|
|
3993
|
+
}, Zc = class extends F.Component {
|
|
4132
3994
|
verificationService;
|
|
4133
3995
|
constructor(e) {
|
|
4134
3996
|
super(e), A.info("NewVerificationComponent: constructing"), this.props.trackingId && this.props.trackingId.length ? A.info(`Attaching a trackingId to this verification request ${this.props.trackingId}`) : A.info("No trackingId to associate with the verification request");
|
|
4135
3997
|
}
|
|
4136
3998
|
componentDidMount() {
|
|
4137
|
-
g(),
|
|
3999
|
+
g(), Xc(), Le((e) => {
|
|
4138
4000
|
switch (e.data.action) {
|
|
4139
4001
|
case "setViewModel":
|
|
4140
|
-
|
|
4002
|
+
dt(e.data.viewModel, {
|
|
4141
4003
|
partial: !0,
|
|
4142
4004
|
metadataCheck: !0,
|
|
4143
4005
|
externalUserIdCheck: !0
|
|
@@ -4151,56 +4013,56 @@ var uc = Ks, dc = Xs, fc = ec, pc = cc, mc = ({ message: e, trigger: t, initialV
|
|
|
4151
4013
|
}
|
|
4152
4014
|
render() {
|
|
4153
4015
|
let { viewModel: e } = this.props.verificationService, t = E(e), { programTheme: n } = this.props.verificationService, { verificationResponse: r } = this.props.verificationService;
|
|
4154
|
-
return A.info("NewVerificationComponent: verificationResponse, viewModel", r, e), A.info(`NewVerificationComponent: locale: ${t}, currentStep: ${r?.currentStep}`), /* @__PURE__ */ (0, L.jsx)(
|
|
4016
|
+
return A.info("NewVerificationComponent: verificationResponse, viewModel", r, e), A.info(`NewVerificationComponent: locale: ${t}, currentStep: ${r?.currentStep}`), /* @__PURE__ */ (0, L.jsx)(Jc, {
|
|
4155
4017
|
locale: t,
|
|
4156
4018
|
programTheme: n,
|
|
4157
4019
|
verificationService: this.props.verificationService,
|
|
4158
4020
|
programId: this.props.programId
|
|
4159
4021
|
});
|
|
4160
4022
|
}
|
|
4161
|
-
},
|
|
4023
|
+
}, Qc = Ce((e, t) => ({ ...e }), (e, t) => ({
|
|
4162
4024
|
dispatch: e,
|
|
4163
|
-
fetchNewVerificationRequest:
|
|
4164
|
-
fetchExistingVerificationRequest:
|
|
4165
|
-
updateViewModel:
|
|
4166
|
-
updateLocale:
|
|
4167
|
-
updateProgramTheme:
|
|
4168
|
-
updateFieldValidationErrors:
|
|
4169
|
-
resetState:
|
|
4025
|
+
fetchNewVerificationRequest: tt(e),
|
|
4026
|
+
fetchExistingVerificationRequest: ft(e),
|
|
4027
|
+
updateViewModel: ct(e),
|
|
4028
|
+
updateLocale: rt(e, t.programId),
|
|
4029
|
+
updateProgramTheme: ut(e),
|
|
4030
|
+
updateFieldValidationErrors: nt(e),
|
|
4031
|
+
resetState: st(e)
|
|
4170
4032
|
}), (e, t, n) => {
|
|
4171
4033
|
let { dispatch: r, ...i } = t, { programTheme: a } = e;
|
|
4172
4034
|
return {
|
|
4173
4035
|
verificationService: {
|
|
4174
4036
|
...e,
|
|
4175
4037
|
...i,
|
|
4176
|
-
submitStep:
|
|
4038
|
+
submitStep: pt(r, a)
|
|
4177
4039
|
},
|
|
4178
4040
|
...n
|
|
4179
4041
|
};
|
|
4180
|
-
})(
|
|
4042
|
+
})(Zc), $c = (e) => ({
|
|
4181
4043
|
kind: "program",
|
|
4182
4044
|
key: e
|
|
4183
|
-
}),
|
|
4045
|
+
}), el = ({ programId: e, children: t }) => /* @__PURE__ */ (0, L.jsx)(gt, {
|
|
4184
4046
|
clientSideID: "6530161f9ff41712a2eef741",
|
|
4185
|
-
context:
|
|
4186
|
-
flags:
|
|
4047
|
+
context: $c(e),
|
|
4048
|
+
flags: vt,
|
|
4187
4049
|
reactOptions: { useCamelCaseFlagKeys: !1 },
|
|
4188
4050
|
options: { streaming: !1 },
|
|
4189
4051
|
children: t
|
|
4190
|
-
}),
|
|
4191
|
-
let t =
|
|
4052
|
+
}), tl = ({ programId: e }) => {
|
|
4053
|
+
let t = yt("hc-my-sheer-id-theme-builder") === !0;
|
|
4192
4054
|
return (0, F.useEffect)(() => {
|
|
4193
4055
|
if (!t || !e) return;
|
|
4194
4056
|
let n = !0;
|
|
4195
|
-
return
|
|
4057
|
+
return We.fetchProgramBranding(e).then((e) => {
|
|
4196
4058
|
n && De(e);
|
|
4197
4059
|
}).catch(() => void 0), () => {
|
|
4198
4060
|
n = !1, Oe();
|
|
4199
4061
|
};
|
|
4200
4062
|
}, [t, e]), null;
|
|
4201
|
-
},
|
|
4202
|
-
o(p.jslibVersionActual, u(() =>
|
|
4203
|
-
var
|
|
4063
|
+
}, nl = et();
|
|
4064
|
+
o(p.jslibVersionActual, u(() => Ge(), "?")), o(p.clientVersion, u(() => Ge(), "?"));
|
|
4065
|
+
var rl = F.forwardRef(({ programId: e, trackingId: t = void 0 }, r) => {
|
|
4204
4066
|
try {
|
|
4205
4067
|
Qe();
|
|
4206
4068
|
} catch (e) {
|
|
@@ -4208,23 +4070,23 @@ var sl = F.forwardRef(({ programId: e, trackingId: t = void 0 }, r) => {
|
|
|
4208
4070
|
}
|
|
4209
4071
|
return (0, F.useEffect)(() => {
|
|
4210
4072
|
n();
|
|
4211
|
-
}),
|
|
4073
|
+
}), nl.dispatch({
|
|
4212
4074
|
programId: e,
|
|
4213
4075
|
type: "PROGRAM_ID"
|
|
4214
4076
|
}), r && (r.current = {
|
|
4215
|
-
refresh: F.useCallback(() =>
|
|
4216
|
-
reset: F.useCallback(() =>
|
|
4217
|
-
}), /* @__PURE__ */ (0, L.jsx)(
|
|
4218
|
-
store:
|
|
4219
|
-
children: /* @__PURE__ */ (0, L.jsxs)(
|
|
4077
|
+
refresh: F.useCallback(() => nl.dispatch({ type: "FORCE_UPDATE" }), []),
|
|
4078
|
+
reset: F.useCallback(() => nl.dispatch({ type: "RESET_STATE" }), [])
|
|
4079
|
+
}), /* @__PURE__ */ (0, L.jsx)(Fe, {
|
|
4080
|
+
store: nl,
|
|
4081
|
+
children: /* @__PURE__ */ (0, L.jsxs)(el, {
|
|
4220
4082
|
programId: e,
|
|
4221
|
-
children: [/* @__PURE__ */ (0, L.jsx)(
|
|
4083
|
+
children: [/* @__PURE__ */ (0, L.jsx)(tl, { programId: e }), /* @__PURE__ */ (0, L.jsx)(Qc, {
|
|
4222
4084
|
programId: e,
|
|
4223
4085
|
trackingId: t
|
|
4224
4086
|
})]
|
|
4225
4087
|
})
|
|
4226
4088
|
});
|
|
4227
|
-
}),
|
|
4089
|
+
}), il = class e {
|
|
4228
4090
|
element;
|
|
4229
4091
|
programId;
|
|
4230
4092
|
trackingId;
|
|
@@ -4241,16 +4103,16 @@ var sl = F.forwardRef(({ programId: e, trackingId: t = void 0 }, r) => {
|
|
|
4241
4103
|
this.ref.current.reset();
|
|
4242
4104
|
}
|
|
4243
4105
|
render() {
|
|
4244
|
-
|
|
4106
|
+
Lt.render(/* @__PURE__ */ (0, L.jsx)(rl, {
|
|
4245
4107
|
programId: this.programId,
|
|
4246
4108
|
trackingId: this.trackingId,
|
|
4247
4109
|
ref: this.ref
|
|
4248
4110
|
}), this.element);
|
|
4249
4111
|
}
|
|
4250
4112
|
unmount() {
|
|
4251
|
-
|
|
4113
|
+
Lt.unmountComponentAtNode(this.element);
|
|
4252
4114
|
}
|
|
4253
|
-
},
|
|
4115
|
+
}, al = fe({ formState: void 0 }), ol = { collectStudentPersonalInfo: {
|
|
4254
4116
|
firstName: "Jane",
|
|
4255
4117
|
lastName: "Doe",
|
|
4256
4118
|
email: "jane.doe@example.edu",
|
|
@@ -4260,37 +4122,37 @@ var sl = F.forwardRef(({ programId: e, trackingId: t = void 0 }, r) => {
|
|
|
4260
4122
|
id: 1,
|
|
4261
4123
|
name: "Example University"
|
|
4262
4124
|
}
|
|
4263
|
-
} },
|
|
4125
|
+
} }, sl = () => {
|
|
4264
4126
|
let e = v();
|
|
4265
|
-
return
|
|
4127
|
+
return at.forEach((t, n) => {
|
|
4266
4128
|
e[t] = n;
|
|
4267
4129
|
}), e.marketConsentValue = "marketConsentRequired", e;
|
|
4268
|
-
},
|
|
4269
|
-
let t = e ?
|
|
4130
|
+
}, cl = (e) => {
|
|
4131
|
+
let t = e ? ol[e] : void 0;
|
|
4270
4132
|
if (!t) return;
|
|
4271
|
-
let { formState: n } =
|
|
4272
|
-
if (n === "filled")
|
|
4133
|
+
let { formState: n } = al.get();
|
|
4134
|
+
if (n === "filled") dt(t);
|
|
4273
4135
|
else {
|
|
4274
|
-
let n =
|
|
4275
|
-
|
|
4136
|
+
let n = $e(e);
|
|
4137
|
+
dt(Object.fromEntries(Object.keys(t).map((e) => [e, n[e]])));
|
|
4276
4138
|
}
|
|
4277
|
-
|
|
4278
|
-
},
|
|
4279
|
-
let { isLoading: t, verificationResponse: n } =
|
|
4280
|
-
t ?
|
|
4139
|
+
nt(et().dispatch)(n === "errors" ? sl() : v());
|
|
4140
|
+
}, ll = (e) => {
|
|
4141
|
+
let { isLoading: t, verificationResponse: n } = et().getState();
|
|
4142
|
+
t ? ot.once("ON_VERIFICATION_READY", (t) => e(t?.currentStep)) : e(n?.currentStep);
|
|
4281
4143
|
};
|
|
4282
|
-
function
|
|
4283
|
-
|
|
4144
|
+
function ul(e) {
|
|
4145
|
+
al.set((t) => t.formState === e ? t : { formState: e }), ll(cl);
|
|
4284
4146
|
}
|
|
4285
|
-
function
|
|
4286
|
-
|
|
4147
|
+
function dl() {
|
|
4148
|
+
al.get().formState !== void 0 && (al.set({ formState: void 0 }), ll(cl));
|
|
4287
4149
|
}
|
|
4288
|
-
function
|
|
4289
|
-
|
|
4150
|
+
function fl() {
|
|
4151
|
+
al.get().formState !== void 0 && ll(cl);
|
|
4290
4152
|
}
|
|
4291
4153
|
//#endregion
|
|
4292
4154
|
//#region src/lib/state/previewMessages.ts
|
|
4293
|
-
function
|
|
4155
|
+
function pl(e, t) {
|
|
4294
4156
|
ue.set((n) => ({
|
|
4295
4157
|
...n,
|
|
4296
4158
|
overrides: {
|
|
@@ -4305,12 +4167,12 @@ function _l(e, t) {
|
|
|
4305
4167
|
}
|
|
4306
4168
|
})), l({ [e]: t });
|
|
4307
4169
|
}
|
|
4308
|
-
function
|
|
4170
|
+
function ml(e) {
|
|
4309
4171
|
e.forEach((e) => a.removeResourceBundle(e, s.OPTIONS)), l(C().messagesWithLocale);
|
|
4310
4172
|
}
|
|
4311
4173
|
//#endregion
|
|
4312
4174
|
//#region src/lib/state/previewResponse.ts
|
|
4313
|
-
var
|
|
4175
|
+
var hl = {
|
|
4314
4176
|
step: "mockStep",
|
|
4315
4177
|
previousStep: "mockPreviousStep",
|
|
4316
4178
|
segment: "mockSegment",
|
|
@@ -4324,13 +4186,13 @@ var yl = {
|
|
|
4324
4186
|
idCheckLoopServiceType: "mockIdCheckLoopServiceType",
|
|
4325
4187
|
docSelected: "mockDocSelected"
|
|
4326
4188
|
};
|
|
4327
|
-
async function
|
|
4189
|
+
async function gl(e) {
|
|
4328
4190
|
let t = {};
|
|
4329
4191
|
Object.keys(e).forEach((n) => {
|
|
4330
|
-
let r =
|
|
4192
|
+
let r = hl[n];
|
|
4331
4193
|
r && (t[r] = e[n]);
|
|
4332
4194
|
}), m(t);
|
|
4333
|
-
let n = e.step ?? ue.get().overrides.mock?.step, r = n ? await
|
|
4195
|
+
let n = e.step ?? ue.get().overrides.mock?.step, r = n ? await Ye(n, et().getState().verificationResponse) : void 0;
|
|
4334
4196
|
ue.set((t) => ({
|
|
4335
4197
|
...t,
|
|
4336
4198
|
overrides: {
|
|
@@ -4345,68 +4207,68 @@ async function bl(e) {
|
|
|
4345
4207
|
}
|
|
4346
4208
|
//#endregion
|
|
4347
4209
|
//#region src/lib/state/previewApi.ts
|
|
4348
|
-
function
|
|
4210
|
+
function _l(e) {
|
|
4349
4211
|
xe(e);
|
|
4350
4212
|
}
|
|
4351
|
-
function
|
|
4213
|
+
function vl(e) {
|
|
4352
4214
|
me(e);
|
|
4353
4215
|
}
|
|
4354
|
-
function
|
|
4216
|
+
function yl(e) {
|
|
4355
4217
|
ye({ response: e });
|
|
4356
4218
|
}
|
|
4357
|
-
function
|
|
4358
|
-
let t =
|
|
4359
|
-
return
|
|
4219
|
+
function bl(e) {
|
|
4220
|
+
let t = et(), { programId: n, verificationResponse: r } = t.getState();
|
|
4221
|
+
return rt(t.dispatch, n)(e, r?.segment);
|
|
4360
4222
|
}
|
|
4361
|
-
function
|
|
4223
|
+
function xl() {
|
|
4362
4224
|
let e = Object.keys(ue.get().overrides.messages ?? {});
|
|
4363
|
-
_e(), de(), je(),
|
|
4225
|
+
_e(), de(), je(), ml(e), dl(), Ue();
|
|
4364
4226
|
}
|
|
4365
4227
|
//#endregion
|
|
4366
4228
|
//#region src/lib/installScript/_mysheerid-preview.ts
|
|
4367
4229
|
ie(ae.programBuilderPreview);
|
|
4368
|
-
function
|
|
4369
|
-
return new
|
|
4230
|
+
function Sl(e, t) {
|
|
4231
|
+
return new il(e, t);
|
|
4370
4232
|
}
|
|
4371
|
-
function
|
|
4372
|
-
|
|
4233
|
+
function Cl(e, t) {
|
|
4234
|
+
Ve(), m({
|
|
4373
4235
|
mockStep: t.step,
|
|
4374
4236
|
mockSegment: "student"
|
|
4375
4237
|
});
|
|
4376
|
-
let n = new
|
|
4377
|
-
return
|
|
4238
|
+
let n = new il(e, void 0);
|
|
4239
|
+
return fl(), n;
|
|
4378
4240
|
}
|
|
4379
|
-
function
|
|
4380
|
-
|
|
4241
|
+
function wl(e) {
|
|
4242
|
+
Pt(e);
|
|
4381
4243
|
}
|
|
4382
|
-
function
|
|
4383
|
-
|
|
4244
|
+
function Tl(e) {
|
|
4245
|
+
lt(), m(e);
|
|
4384
4246
|
}
|
|
4385
|
-
function
|
|
4247
|
+
function El() {
|
|
4386
4248
|
x();
|
|
4387
4249
|
}
|
|
4388
|
-
function
|
|
4250
|
+
function Dl(e) {
|
|
4389
4251
|
m({ _launchDarklyFlagCb: e });
|
|
4390
4252
|
}
|
|
4391
|
-
function
|
|
4253
|
+
function Ol(e, t, n) {
|
|
4392
4254
|
return y(e, t, n);
|
|
4393
4255
|
}
|
|
4394
|
-
var
|
|
4395
|
-
loadInElement:
|
|
4396
|
-
renderMockProgram:
|
|
4397
|
-
getProgramMessages:
|
|
4398
|
-
getFeatureFlags:
|
|
4399
|
-
setProgramThemeChoices:
|
|
4400
|
-
setProgramOptions:
|
|
4401
|
-
resetProgramOptions:
|
|
4402
|
-
setPreviewBranding:
|
|
4403
|
-
setPreviewConfiguration:
|
|
4404
|
-
setPreviewMessages:
|
|
4405
|
-
setPreviewResponse:
|
|
4406
|
-
setPreviewMock:
|
|
4407
|
-
setPreviewLocale:
|
|
4408
|
-
setPreviewFormState:
|
|
4409
|
-
clearPreview:
|
|
4256
|
+
var kl = {
|
|
4257
|
+
loadInElement: Sl,
|
|
4258
|
+
renderMockProgram: Cl,
|
|
4259
|
+
getProgramMessages: Ol,
|
|
4260
|
+
getFeatureFlags: Dl,
|
|
4261
|
+
setProgramThemeChoices: wl,
|
|
4262
|
+
setProgramOptions: Tl,
|
|
4263
|
+
resetProgramOptions: El,
|
|
4264
|
+
setPreviewBranding: _l,
|
|
4265
|
+
setPreviewConfiguration: vl,
|
|
4266
|
+
setPreviewMessages: pl,
|
|
4267
|
+
setPreviewResponse: yl,
|
|
4268
|
+
setPreviewMock: gl,
|
|
4269
|
+
setPreviewLocale: bl,
|
|
4270
|
+
setPreviewFormState: ul,
|
|
4271
|
+
clearPreview: xl
|
|
4410
4272
|
};
|
|
4411
4273
|
//#endregion
|
|
4412
|
-
export {
|
|
4274
|
+
export { xr as $, Ti as A, Wr as B, ji as C, Si as D, Pi as E, G as F, ri as G, Ur as H, zr as I, U as J, K, Hr as L, Ni as M, Vr as N, wi as O, W as P, Ir as Q, Gr as R, J as S, Z as T, ei as U, qr as V, ti as W, ii as X, H as Y, Rr as Z, zi as _, Ao as a, Kn as at, Ri as b, fo as c, xl as clearPreview, B as ct, co as d, kl as default, un as dt, hr as et, oo as f, nn as ft, Y as g, Dl as getFeatureFlags, Ol as getProgramMessages, Rt as gt, Mi as h, Ut as ht, Fs as i, Qn as it, Ei as j, Ci as k, so as l, Sl as loadInElement, z as lt, Q as m, Xt as mt, mc as n, $n as nt, yo as o, Wn as ot, Wa as p, Qt as pt, q, dc as r, Cl as renderMockProgram, El as resetProgramOptions, V as rt, mo as s, _l as setPreviewBranding, vl as setPreviewConfiguration, ul as setPreviewFormState, bl as setPreviewLocale, pl as setPreviewMessages, gl as setPreviewMock, yl as setPreviewResponse, Tl as setProgramOptions, wl as setProgramThemeChoices, Un as st, vc as t, sr as tt, lo as u, hn as ut, xi as v, X as w, Ii as x, Fi as y, Kr as z };
|