@sheerid/jslib 2.297.0 → 2.298.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_mysheerid-preview.css +4 -4
- package/_mysheerid-preview.js +56 -56
- package/chunk/{AddressComponent-CdwQsL7v.js → AddressComponent-BO8uwD81.js} +5 -5
- package/chunk/{AddressComponent-0k1NF_KY.js.map → AddressComponent-BO8uwD81.js.map} +1 -1
- package/chunk/{AddressComponent-0k1NF_KY.js → AddressComponent-CKeSDYEP.js} +5 -5
- package/chunk/{AddressComponent-CdwQsL7v.js.map → AddressComponent-CKeSDYEP.js.map} +1 -1
- package/chunk/AnnouncingHeader-CnV2m0Ak.js +4 -4
- package/chunk/AnnouncingHeader-zH7WLU2-.js +4 -4
- package/chunk/{BirthDateComponent-Dvb6lKmI.js → BirthDateComponent-CpaSjzp1.js} +5 -5
- package/chunk/{BirthDateComponent-CHHstyyj.js.map → BirthDateComponent-CpaSjzp1.js.map} +1 -1
- package/chunk/{BirthDateComponent-CHHstyyj.js → BirthDateComponent-Cvyvrvy9.js} +5 -5
- package/chunk/{BirthDateComponent-Dvb6lKmI.js.map → BirthDateComponent-Cvyvrvy9.js.map} +1 -1
- package/chunk/{CaptchaComponent-DbPdhlAS.js → CaptchaComponent-DThVKBq5.js} +8 -8
- package/chunk/{CaptchaComponent-DbPdhlAS.js.map → CaptchaComponent-DThVKBq5.js.map} +1 -1
- package/chunk/{CaptchaComponent-DozS1WnN.js → CaptchaComponent-uOeIRRjG.js} +8 -8
- package/chunk/{CaptchaComponent-DozS1WnN.js.map → CaptchaComponent-uOeIRRjG.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-HFXDiCM-.js → ChangeLocaleComponent-Bxg8pz-l.js} +7 -7
- package/chunk/{ChangeLocaleComponent-BCSP6utA.js.map → ChangeLocaleComponent-Bxg8pz-l.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-BCSP6utA.js → ChangeLocaleComponent-pXywcmDe.js} +7 -7
- package/chunk/{ChangeLocaleComponent-HFXDiCM-.js.map → ChangeLocaleComponent-pXywcmDe.js.map} +1 -1
- package/chunk/{City-CfXPJin8.js → City-BTxg-kpr.js} +5 -5
- package/chunk/{City-CfXPJin8.js.map → City-BTxg-kpr.js.map} +1 -1
- package/chunk/{City-DS4thSuO.js → City-DGBDV237.js} +5 -5
- package/chunk/{City-DS4thSuO.js.map → City-DGBDV237.js.map} +1 -1
- package/chunk/{CollegeNameComponent-uWtQskEa.js → CollegeNameComponent-CT3HA393.js} +7 -7
- package/chunk/{CollegeNameComponent-C-jBNGzt.js.map → CollegeNameComponent-CT3HA393.js.map} +1 -1
- package/chunk/{CollegeNameComponent-C-jBNGzt.js → CollegeNameComponent-MILlBqzV.js} +7 -7
- package/chunk/{CollegeNameComponent-uWtQskEa.js.map → CollegeNameComponent-MILlBqzV.js.map} +1 -1
- package/chunk/CopyToClipboardComponent-BdrpxpHJ.js +4 -4
- package/chunk/CopyToClipboardComponent-Dm3-3x4b.js +4 -4
- package/chunk/{CountryComponentWrapper-DMK4mXyj.js → CountryComponentWrapper-CkTDmoY7.js} +7 -7
- package/chunk/{CountryComponentWrapper-DMK4mXyj.js.map → CountryComponentWrapper-CkTDmoY7.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-u1uEGSoo.js → CountryComponentWrapper-D6RGDNNk.js} +7 -7
- package/chunk/{CountryComponentWrapper-u1uEGSoo.js.map → CountryComponentWrapper-D6RGDNNk.js.map} +1 -1
- package/chunk/{DischargeDateComponent-CWm_rfrf.js → DischargeDateComponent-G_UwgiLj.js} +8 -8
- package/chunk/{DischargeDateComponent-ByMd4z06.js.map → DischargeDateComponent-G_UwgiLj.js.map} +1 -1
- package/chunk/{DischargeDateComponent-ByMd4z06.js → DischargeDateComponent-aioJq4wN.js} +8 -8
- package/chunk/{DischargeDateComponent-CWm_rfrf.js.map → DischargeDateComponent-aioJq4wN.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-BH2PgBlR.js → DriverLicenseNumberComponent-D8oSCASJ.js} +5 -5
- package/chunk/{DriverLicenseNumberComponent-BH2PgBlR.js.map → DriverLicenseNumberComponent-D8oSCASJ.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-D-JmObdn.js → DriverLicenseNumberComponent-eTJwYLrq.js} +5 -5
- package/chunk/{DriverLicenseNumberComponent-D-JmObdn.js.map → DriverLicenseNumberComponent-eTJwYLrq.js.map} +1 -1
- package/chunk/{EmailLoopPending-pEFU9RKD.js → EmailLoopPending-D-sQeRXY.js} +6 -6
- package/chunk/{EmailLoopPending-CIFjLuY_.js.map → EmailLoopPending-D-sQeRXY.js.map} +1 -1
- package/chunk/{EmailLoopPending-CIFjLuY_.js → EmailLoopPending-DLP9xs7Y.js} +6 -6
- package/chunk/{EmailLoopPending-pEFU9RKD.js.map → EmailLoopPending-DLP9xs7Y.js.map} +1 -1
- package/chunk/{ExtraMessage-wNLR13qq.js → ExtraMessage-BWxjX8XN.js} +5 -5
- package/chunk/{ExtraMessage-CXxx3n3y.js.map → ExtraMessage-BWxjX8XN.js.map} +1 -1
- package/chunk/{ExtraMessage-CXxx3n3y.js → ExtraMessage-rDmm4BJe.js} +5 -5
- package/chunk/{ExtraMessage-wNLR13qq.js.map → ExtraMessage-rDmm4BJe.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-ndZeO7z0.js → FirstResponderOrganizationComponent-C8KYk1hI.js} +7 -7
- package/chunk/{FirstResponderOrganizationComponent-hF8jNkY-.js.map → FirstResponderOrganizationComponent-C8KYk1hI.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-hF8jNkY-.js → FirstResponderOrganizationComponent-DCpiZhrL.js} +7 -7
- package/chunk/{FirstResponderOrganizationComponent-ndZeO7z0.js.map → FirstResponderOrganizationComponent-DCpiZhrL.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-CqFLZK6n.js → FormFieldInputSelect-Bb9YTOUQ.js} +5 -5
- package/chunk/{FormFieldInputSelect-CqFLZK6n.js.map → FormFieldInputSelect-Bb9YTOUQ.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-DmHsyDSa.js → FormFieldInputSelect-CNmlpO1G.js} +5 -5
- package/chunk/{FormFieldInputSelect-DmHsyDSa.js.map → FormFieldInputSelect-CNmlpO1G.js.map} +1 -1
- package/chunk/FormFieldLayout-D1tb5nAu.js +4 -4
- package/chunk/FormFieldLayout-Dt_dMiDh.js +4 -4
- package/chunk/FormFieldText-BU2NBm1H.js +4 -4
- package/chunk/FormFieldText-CsFISbyw.js +4 -4
- package/chunk/{FormFieldTypeahead-D7JwAbCt.js → FormFieldTypeahead-CNjO6cZl.js} +7 -7
- package/chunk/{FormFieldTypeahead-D7JwAbCt.js.map → FormFieldTypeahead-CNjO6cZl.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-C_leSJVU.js → FormFieldTypeahead-CfsHQ5Ci.js} +7 -7
- package/chunk/{FormFieldTypeahead-C_leSJVU.js.map → FormFieldTypeahead-CfsHQ5Ci.js.map} +1 -1
- package/chunk/{FormFooterComponent-CjKa0nmR.js → FormFooterComponent-CHYYNzQm.js} +449 -419
- package/chunk/FormFooterComponent-CHYYNzQm.js.map +1 -0
- package/chunk/{FormFooterComponent-Hqjhhq4x.js → FormFooterComponent-DtOlZ88b.js} +382 -352
- package/chunk/FormFooterComponent-DtOlZ88b.js.map +1 -0
- package/chunk/{FormSelectChoice-D3vZ9YLa.js → FormSelectChoice-DMkiqagN.js} +6 -6
- package/chunk/{FormSelectChoice-8y034X39.js.map → FormSelectChoice-DMkiqagN.js.map} +1 -1
- package/chunk/{FormSelectChoice-8y034X39.js → FormSelectChoice-hWkVj5bu.js} +6 -6
- package/chunk/{FormSelectChoice-D3vZ9YLa.js.map → FormSelectChoice-hWkVj5bu.js.map} +1 -1
- package/chunk/InputText-CuBi-ytU.js +4 -4
- package/chunk/InputText-DMztCQmi.js +4 -4
- package/chunk/{LicensedProfessionalOrganizationComponent-Ws1z-TNj.js → LicensedProfessionalOrganizationComponent-5EOEEmwH.js} +7 -7
- package/chunk/{LicensedProfessionalOrganizationComponent-BwVTep9P.js.map → LicensedProfessionalOrganizationComponent-5EOEEmwH.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-BwVTep9P.js → LicensedProfessionalOrganizationComponent-DYEcEcSW.js} +7 -7
- package/chunk/{LicensedProfessionalOrganizationComponent-Ws1z-TNj.js.map → LicensedProfessionalOrganizationComponent-DYEcEcSW.js.map} +1 -1
- package/chunk/{LogoComponent-CNDQdB3O.js → LogoComponent-DzNFW-I7.js} +5 -5
- package/chunk/{LogoComponent-CNDQdB3O.js.map → LogoComponent-DzNFW-I7.js.map} +1 -1
- package/chunk/{LogoComponent-Dg9CMeQ7.js → LogoComponent-Q7DFRDlh.js} +5 -5
- package/chunk/{LogoComponent-Dg9CMeQ7.js.map → LogoComponent-Q7DFRDlh.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-BH6GOXvO.js → LowIncomeOrganizationComponent-BsrJwp_s.js} +8 -8
- package/chunk/{LowIncomeOrganizationComponent-BH6GOXvO.js.map → LowIncomeOrganizationComponent-BsrJwp_s.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-B5HBYyEd.js → LowIncomeOrganizationComponent-CsRFm_Ot.js} +8 -8
- package/chunk/{LowIncomeOrganizationComponent-B5HBYyEd.js.map → LowIncomeOrganizationComponent-CsRFm_Ot.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-Dl7Hiief.js → MedicalProfessionalOrganizationComponent-2UM8oA2_.js} +7 -7
- package/chunk/{MedicalProfessionalOrganizationComponent-Dl7Hiief.js.map → MedicalProfessionalOrganizationComponent-2UM8oA2_.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-rLwSwSVP.js → MedicalProfessionalOrganizationComponent-D0jDfTIo.js} +7 -7
- package/chunk/{MedicalProfessionalOrganizationComponent-rLwSwSVP.js.map → MedicalProfessionalOrganizationComponent-D0jDfTIo.js.map} +1 -1
- package/chunk/{MemberIdComponent-Cl8SJqe1.js → MemberIdComponent-LS4ANgFM.js} +5 -5
- package/chunk/{MemberIdComponent-BS6_Ck5F.js.map → MemberIdComponent-LS4ANgFM.js.map} +1 -1
- package/chunk/{MemberIdComponent-BS6_Ck5F.js → MemberIdComponent-i1znPIaH.js} +5 -5
- package/chunk/{MemberIdComponent-Cl8SJqe1.js.map → MemberIdComponent-i1znPIaH.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-Bia4eOXq.js → MembershipOrganizationComponent-CRziDBjW.js} +7 -7
- package/chunk/{MembershipOrganizationComponent-4fmNyvHc.js.map → MembershipOrganizationComponent-CRziDBjW.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-4fmNyvHc.js → MembershipOrganizationComponent-CoMe9z2g.js} +7 -7
- package/chunk/{MembershipOrganizationComponent-Bia4eOXq.js.map → MembershipOrganizationComponent-CoMe9z2g.js.map} +1 -1
- package/chunk/{Message-BKx1mJx9.js → Message-BOsEnoih.js} +5 -5
- package/chunk/{Message-BKx1mJx9.js.map → Message-BOsEnoih.js.map} +1 -1
- package/chunk/{Message-DrsL5cWg.js → Message-FIogbOPV.js} +5 -5
- package/chunk/{Message-DrsL5cWg.js.map → Message-FIogbOPV.js.map} +1 -1
- package/chunk/Onfido-CTCgAwnB.js +4 -4
- package/chunk/{PersonalInfoStepSubmitButton-uJnMrhRD.js → PersonalInfoStepSubmitButton-CRsmGAN-.js} +5 -5
- package/chunk/{PersonalInfoStepSubmitButton-CEd1YF_s.js.map → PersonalInfoStepSubmitButton-CRsmGAN-.js.map} +1 -1
- package/chunk/{PersonalInfoStepSubmitButton-CEd1YF_s.js → PersonalInfoStepSubmitButton-zgFCp1DS.js} +5 -5
- package/chunk/{PersonalInfoStepSubmitButton-uJnMrhRD.js.map → PersonalInfoStepSubmitButton-zgFCp1DS.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-BXYJWMhY.js → PersonalInfoStepWrapper-ClOkee_U.js} +5 -5
- package/chunk/{PersonalInfoStepWrapper-BXYJWMhY.js.map → PersonalInfoStepWrapper-ClOkee_U.js.map} +1 -1
- package/chunk/PersonalInfoStepWrapper-DYF8hIJa.js +80 -0
- package/chunk/PersonalInfoStepWrapper-DYF8hIJa.js.map +1 -0
- package/chunk/{PostalCodeComponent-htsoPASM.js → PostalCodeComponent-CvdEHmWZ.js} +5 -5
- package/chunk/{PostalCodeComponent-C8lhzleL.js.map → PostalCodeComponent-CvdEHmWZ.js.map} +1 -1
- package/chunk/{PostalCodeComponent-C8lhzleL.js → PostalCodeComponent-mxwAMaWJ.js} +5 -5
- package/chunk/{PostalCodeComponent-htsoPASM.js.map → PostalCodeComponent-mxwAMaWJ.js.map} +1 -1
- package/chunk/{SSN-C9UaWSOT.js → SSN-C68wNSJ-.js} +5 -5
- package/chunk/{SSN-C9UaWSOT.js.map → SSN-C68wNSJ-.js.map} +1 -1
- package/chunk/{SSN-CVQqNHlQ.js → SSN-Dd_eKrCY.js} +5 -5
- package/chunk/{SSN-CVQqNHlQ.js.map → SSN-Dd_eKrCY.js.map} +1 -1
- package/chunk/{StateSelectComponent-F8_noHFk.js → StateSelectComponent-BCEo6pOV.js} +7 -7
- package/chunk/{StateSelectComponent-B7ts5wz_.js.map → StateSelectComponent-BCEo6pOV.js.map} +1 -1
- package/chunk/{StateSelectComponent-B7ts5wz_.js → StateSelectComponent-C_AaWQr4.js} +7 -7
- package/chunk/{StateSelectComponent-F8_noHFk.js.map → StateSelectComponent-C_AaWQr4.js.map} +1 -1
- package/chunk/{StatusComponent-CaMmhM9a.js → StatusComponent-7b2HtFP_.js} +6 -6
- package/chunk/{StatusComponent-CaMmhM9a.js.map → StatusComponent-7b2HtFP_.js.map} +1 -1
- package/chunk/{StatusComponent-CewDc6v7.js → StatusComponent-CRCP5Ck3.js} +6 -6
- package/chunk/{StatusComponent-CewDc6v7.js.map → StatusComponent-CRCP5Ck3.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-Dsq6eekA.js → StepAgePersonalInfo-CbMVCM-G.js} +17 -17
- package/chunk/{StepAgePersonalInfo-CAIDFrDE.js.map → StepAgePersonalInfo-CbMVCM-G.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-CAIDFrDE.js → StepAgePersonalInfo-Cs4T_WGW.js} +17 -17
- package/chunk/{StepAgePersonalInfo-Dsq6eekA.js.map → StepAgePersonalInfo-Cs4T_WGW.js.map} +1 -1
- package/chunk/StepCard-DJR-l3sW.js +4 -4
- package/chunk/StepCard-wwTRGIhn.js +4 -4
- package/chunk/{StepCollectIdentifier--DcPBqzY.js → StepCollectIdentifier-Bfeyh9Fw.js} +6 -6
- package/chunk/{StepCollectIdentifier-Ck4mVen9.js.map → StepCollectIdentifier-Bfeyh9Fw.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-Ck4mVen9.js → StepCollectIdentifier-CMTQfeOl.js} +6 -6
- package/chunk/{StepCollectIdentifier--DcPBqzY.js.map → StepCollectIdentifier-CMTQfeOl.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-CoBXICwm.js → StepCollectMilitaryPersonalInfoComponent-CFsbiu_Q.js} +21 -21
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-CoBXICwm.js.map → StepCollectMilitaryPersonalInfoComponent-CFsbiu_Q.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-D6T97dgm.js → StepCollectMilitaryPersonalInfoComponent-CY_gyXGN.js} +21 -21
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-D6T97dgm.js.map → StepCollectMilitaryPersonalInfoComponent-CY_gyXGN.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-DcLIZ7K7.js → StepCollectPersonalInfo-BB-pDnx6.js} +31 -31
- package/chunk/{StepCollectPersonalInfo-Daz6gwsR.js.map → StepCollectPersonalInfo-BB-pDnx6.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-Daz6gwsR.js → StepCollectPersonalInfo-ZtXdYWLn.js} +31 -31
- package/chunk/{StepCollectPersonalInfo-DcLIZ7K7.js.map → StepCollectPersonalInfo-ZtXdYWLn.js.map} +1 -1
- package/chunk/StepCompleteAuthentication-BawnNriI.js +4 -4
- package/chunk/StepCompleteAuthentication-VpE4-5vs.js +4 -4
- package/chunk/{StepConsolation-CByemu8y.js → StepConsolation-DJIHMPuH.js} +6 -6
- package/chunk/{StepConsolation-CByemu8y.js.map → StepConsolation-DJIHMPuH.js.map} +1 -1
- package/chunk/{StepConsolation-VI5aE9Ff.js → StepConsolation-Dhz8bOzv.js} +6 -6
- package/chunk/{StepConsolation-VI5aE9Ff.js.map → StepConsolation-Dhz8bOzv.js.map} +1 -1
- package/chunk/{StepDocUpload-BHhuxyj8.js → StepDocUpload-CjhDGgG9.js} +7 -7
- package/chunk/{StepDocUpload-BHhuxyj8.js.map → StepDocUpload-CjhDGgG9.js.map} +1 -1
- package/chunk/{StepDocUpload-B2Ato7tg.js → StepDocUpload-bwspfxED.js} +7 -7
- package/chunk/{StepDocUpload-B2Ato7tg.js.map → StepDocUpload-bwspfxED.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-YQti7kE2.js → StepDriverLicensePersonalInfoComponent-Blj27dgj.js} +12 -12
- package/chunk/{StepDriverLicensePersonalInfoComponent-C8acsDEU.js.map → StepDriverLicensePersonalInfoComponent-Blj27dgj.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-C8acsDEU.js → StepDriverLicensePersonalInfoComponent-Cs3_HYep.js} +12 -12
- package/chunk/{StepDriverLicensePersonalInfoComponent-YQti7kE2.js.map → StepDriverLicensePersonalInfoComponent-Cs3_HYep.js.map} +1 -1
- package/chunk/{StepEmailLoop-DAcnY3JC.js → StepEmailLoop-BEk39hVN.js} +7 -7
- package/chunk/{StepEmailLoop-7CKgLe_b.js.map → StepEmailLoop-BEk39hVN.js.map} +1 -1
- package/chunk/{StepEmailLoop-7CKgLe_b.js → StepEmailLoop-DyQb2WX7.js} +7 -7
- package/chunk/{StepEmailLoop-DAcnY3JC.js.map → StepEmailLoop-DyQb2WX7.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-DVwyE-Yr.js → StepEmploymentPersonalInfo-B8vbykFr.js} +17 -17
- package/chunk/{StepEmploymentPersonalInfo-CZcQrgZ1.js.map → StepEmploymentPersonalInfo-B8vbykFr.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-CZcQrgZ1.js → StepEmploymentPersonalInfo-be5QXB1h.js} +17 -17
- package/chunk/{StepEmploymentPersonalInfo-DVwyE-Yr.js.map → StepEmploymentPersonalInfo-be5QXB1h.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-iEfxgt18.js → StepFirstResponderPersonalInfo-C4eENws-.js} +18 -18
- package/chunk/{StepFirstResponderPersonalInfo-Bj8MmUcv.js.map → StepFirstResponderPersonalInfo-C4eENws-.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-Bj8MmUcv.js → StepFirstResponderPersonalInfo-CuYa4EuR.js} +18 -18
- package/chunk/{StepFirstResponderPersonalInfo-iEfxgt18.js.map → StepFirstResponderPersonalInfo-CuYa4EuR.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-B71tWz0y.js → StepGeneralIdentityPersonalInfoComponent-BG4skokC.js} +15 -15
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-BGkXLgCj.js.map → StepGeneralIdentityPersonalInfoComponent-BG4skokC.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-BGkXLgCj.js → StepGeneralIdentityPersonalInfoComponent-DXyAdBts.js} +15 -15
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-B71tWz0y.js.map → StepGeneralIdentityPersonalInfoComponent-DXyAdBts.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-BYH7Mblt.js → StepHybridIdentityPersonalInfoComponent-DLt5aNNO.js} +16 -16
- package/chunk/{StepHybridIdentityPersonalInfoComponent-4IFVA64R.js.map → StepHybridIdentityPersonalInfoComponent-DLt5aNNO.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-4IFVA64R.js → StepHybridIdentityPersonalInfoComponent-GXsjq4pb.js} +16 -16
- package/chunk/{StepHybridIdentityPersonalInfoComponent-BYH7Mblt.js.map → StepHybridIdentityPersonalInfoComponent-GXsjq4pb.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-ui0FC3b2.js → StepIDCheckLoop-BuMIVJ2Y.js} +5 -5
- package/chunk/{StepIDCheckLoop-C_0Hefcj.js.map → StepIDCheckLoop-BuMIVJ2Y.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-C_0Hefcj.js → StepIDCheckLoop-aUdbkaXK.js} +5 -5
- package/chunk/{StepIDCheckLoop-ui0FC3b2.js.map → StepIDCheckLoop-aUdbkaXK.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-Bz9Idbty.js → StepIDCheckLoopOnfido-Cr36MKuM.js} +7 -7
- package/chunk/{StepIDCheckLoopOnfido-Bz9Idbty.js.map → StepIDCheckLoopOnfido-Cr36MKuM.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-B3sipKmy.js → StepIDCheckLoopOnfido-Cs_Dh6Vm.js} +7 -7
- package/chunk/{StepIDCheckLoopOnfido-B3sipKmy.js.map → StepIDCheckLoopOnfido-Cs_Dh6Vm.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-CaGnqRzd.js → StepIDCheckLoopRegula-D_mQMGOf.js} +7 -7
- package/chunk/{StepIDCheckLoopRegula-C-c-2SdO.js.map → StepIDCheckLoopRegula-D_mQMGOf.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-C-c-2SdO.js → StepIDCheckLoopRegula-KNHewCNp.js} +7 -7
- package/chunk/{StepIDCheckLoopRegula-CaGnqRzd.js.map → StepIDCheckLoopRegula-KNHewCNp.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-CDynSBlS.js → StepLicensedProfessionalPersonalInfo-Cl9IVtaQ.js} +18 -18
- package/chunk/{StepLicensedProfessionalPersonalInfo-CDynSBlS.js.map → StepLicensedProfessionalPersonalInfo-Cl9IVtaQ.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-CFI2NO-r.js → StepLicensedProfessionalPersonalInfo-of9Aj3XG.js} +18 -18
- package/chunk/{StepLicensedProfessionalPersonalInfo-CFI2NO-r.js.map → StepLicensedProfessionalPersonalInfo-of9Aj3XG.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-DBMFpp9P.js → StepLowIncomePersonalInfo-2TtDvD5f.js} +21 -21
- package/chunk/{StepLowIncomePersonalInfo-DBMFpp9P.js.map → StepLowIncomePersonalInfo-2TtDvD5f.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-Nlccep8k.js → StepLowIncomePersonalInfo-DVqeKiOv.js} +21 -21
- package/chunk/{StepLowIncomePersonalInfo-Nlccep8k.js.map → StepLowIncomePersonalInfo-DVqeKiOv.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-D8mGJQE6.js → StepMedicalProfessionalPersonalInfo-Dehwiifn.js} +19 -19
- package/chunk/{StepMedicalProfessionalPersonalInfo-CX8Kdi38.js.map → StepMedicalProfessionalPersonalInfo-Dehwiifn.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-CX8Kdi38.js → StepMedicalProfessionalPersonalInfo-h9-5S5NM.js} +19 -19
- package/chunk/{StepMedicalProfessionalPersonalInfo-D8mGJQE6.js.map → StepMedicalProfessionalPersonalInfo-h9-5S5NM.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-ZYOKLtlx.js → StepMemberPersonalInfo-BcdHa-P5.js} +14 -14
- package/chunk/{StepMemberPersonalInfo-BH5mmkWH.js.map → StepMemberPersonalInfo-BcdHa-P5.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-BH5mmkWH.js → StepMemberPersonalInfo-CDdvWxeJ.js} +14 -14
- package/chunk/{StepMemberPersonalInfo-ZYOKLtlx.js.map → StepMemberPersonalInfo-CDdvWxeJ.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-C0QTvowi.js → StepMoverPersonalInfo-BP5hekVe.js} +12 -12
- package/chunk/{StepMoverPersonalInfo-C0QTvowi.js.map → StepMoverPersonalInfo-BP5hekVe.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-CWVP0DZ3.js → StepMoverPersonalInfo-BhPghrWu.js} +12 -12
- package/chunk/{StepMoverPersonalInfo-CWVP0DZ3.js.map → StepMoverPersonalInfo-BhPghrWu.js.map} +1 -1
- package/chunk/{StepOverrideComponent-rGX9RQRf.js → StepOverrideComponent-CpOO6E0N.js} +7 -7
- package/chunk/{StepOverrideComponent-rGX9RQRf.js.map → StepOverrideComponent-CpOO6E0N.js.map} +1 -1
- package/chunk/{StepOverrideComponent-26qhuhSy.js → StepOverrideComponent-DoLNPdpp.js} +7 -7
- package/chunk/{StepOverrideComponent-26qhuhSy.js.map → StepOverrideComponent-DoLNPdpp.js.map} +1 -1
- package/chunk/{StepSMSLoop-iU3B6jRs.js → StepSMSLoop-Bkqpb_5n.js} +5 -5
- package/chunk/{StepSMSLoop-8bT0iiE_.js.map → StepSMSLoop-Bkqpb_5n.js.map} +1 -1
- package/chunk/{StepSMSLoop-8bT0iiE_.js → StepSMSLoop-Du2-zSZf.js} +5 -5
- package/chunk/{StepSMSLoop-iU3B6jRs.js.map → StepSMSLoop-Du2-zSZf.js.map} +1 -1
- package/chunk/StepSSO-BGHCbduX.js +4 -4
- package/chunk/StepSSO-ZHByQpHa.js +4 -4
- package/chunk/{StepSocialSecurityNumber-TR-_BNnt.js → StepSocialSecurityNumber-0JnSlFJa.js} +8 -8
- package/chunk/{StepSocialSecurityNumber-BmdQcIkT.js.map → StepSocialSecurityNumber-0JnSlFJa.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-BmdQcIkT.js → StepSocialSecurityNumber-DS-VcGNr.js} +8 -8
- package/chunk/{StepSocialSecurityNumber-TR-_BNnt.js.map → StepSocialSecurityNumber-DS-VcGNr.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-BWv-PNZV.js → StepStudentPersonalInfo-BrQ9Hgs2.js} +16 -16
- package/chunk/{StepStudentPersonalInfo-BF5qeKVa.js.map → StepStudentPersonalInfo-BrQ9Hgs2.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-BF5qeKVa.js → StepStudentPersonalInfo-CTeaVeHg.js} +16 -16
- package/chunk/{StepStudentPersonalInfo-BWv-PNZV.js.map → StepStudentPersonalInfo-CTeaVeHg.js.map} +1 -1
- package/chunk/{StepSuccess-DipyaSAH.js → StepSuccess-BQEdDXRG.js} +6 -6
- package/chunk/{StepSuccess-D1-3dfsQ.js.map → StepSuccess-BQEdDXRG.js.map} +1 -1
- package/chunk/{StepSuccess-D1-3dfsQ.js → StepSuccess-C4PlFXll.js} +6 -6
- package/chunk/{StepSuccess-DipyaSAH.js.map → StepSuccess-C4PlFXll.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-DlzNmBFm.js → StepTeacherPersonalInfo-BLYc_KIx.js} +15 -15
- package/chunk/{StepTeacherPersonalInfo-CXr8cpYW.js.map → StepTeacherPersonalInfo-BLYc_KIx.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-CXr8cpYW.js → StepTeacherPersonalInfo-CxvlqjH2.js} +15 -15
- package/chunk/{StepTeacherPersonalInfo-DlzNmBFm.js.map → StepTeacherPersonalInfo-CxvlqjH2.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BrKuZcYb.js +4 -4
- package/chunk/StepThirdPartyLoop-CbFTIlwP.js +4 -4
- package/chunk/{TeacherSchoolComponent-DXUQHUIt.js → TeacherSchoolComponent-BRQ6YlBG.js} +7 -7
- package/chunk/{TeacherSchoolComponent-DRKDABFa.js.map → TeacherSchoolComponent-BRQ6YlBG.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-DRKDABFa.js → TeacherSchoolComponent-Di-VEsl7.js} +7 -7
- package/chunk/{TeacherSchoolComponent-DXUQHUIt.js.map → TeacherSchoolComponent-Di-VEsl7.js.map} +1 -1
- package/chunk/TestingRouteOverrides-BbCY31VT.js +4 -4
- package/chunk/TestingRouteOverrides-DEu_4afz.js +4 -4
- package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
- package/chunk/ar-D5CO913q.js +4 -4
- package/chunk/bg-1mhA5kYF.js +4 -4
- package/chunk/bn-IN-CpDqyRb_.js +4 -4
- package/chunk/clsx-CB5rauS5.js +4 -4
- package/chunk/countryUtils-Cr5eEsvc.js +12 -0
- package/chunk/{countryUtils-DEqx7X1F.js.map → countryUtils-Cr5eEsvc.js.map} +1 -1
- package/chunk/{countryUtils-DGhKkc1P.js → countryUtils-HKXAP5-W.js} +5 -5
- package/chunk/{countryUtils-DGhKkc1P.js.map → countryUtils-HKXAP5-W.js.map} +1 -1
- package/chunk/cs-Chh7FAGt.js +4 -4
- package/chunk/da-DwrVoxto.js +4 -4
- package/chunk/de-IWGZLhgY.js +4 -4
- package/chunk/{downshift.esm-D_RaSClH.js → downshift.esm-CQRDgGac.js} +5 -5
- package/chunk/{downshift.esm-Be63aT-_.js.map → downshift.esm-CQRDgGac.js.map} +1 -1
- package/chunk/{downshift.esm-Be63aT-_.js → downshift.esm-DqYe997a.js} +5 -5
- package/chunk/{downshift.esm-D_RaSClH.js.map → downshift.esm-DqYe997a.js.map} +1 -1
- package/chunk/el-DbDcvSPJ.js +4 -4
- package/chunk/empties-B034wwK_.js +4 -4
- package/chunk/empties-lrCPA-9V.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/hi-IN-l6Rn5Ewm.js +4 -4
- package/chunk/hooks-DtYEjP2m.js +4 -4
- package/chunk/hooks-QCx6OZlb.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/intl-DYOqmiaL.js +4 -4
- 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-DQO6A867.js +4 -4
- package/chunk/jsx-runtime-DtApx7WX.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/mockProgramTheme-CBqgtg7A.js +4 -4
- package/chunk/mocks-BQNtP7qW.js +4 -4
- package/chunk/mocks-DC7WJf5c.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/options-DsRV5fwh.js +4 -4
- package/chunk/pl-UYTjMIq_.js +4 -4
- package/chunk/{programThemeGetters-BlMeCwyW.js → programThemeGetters-1awbZc_9.js} +5 -5
- package/chunk/{programThemeGetters-BlMeCwyW.js.map → programThemeGetters-1awbZc_9.js.map} +1 -1
- package/chunk/{programThemeGetters-zfJ5vzCG.js → programThemeGetters-DEFn8PSa.js} +5 -5
- package/chunk/{programThemeGetters-zfJ5vzCG.js.map → programThemeGetters-DEFn8PSa.js.map} +1 -1
- package/chunk/pt-BR-C8SYMT-J.js +4 -4
- package/chunk/pt-uH-M3GdN.js +4 -4
- package/chunk/refs-Mq0rtW9K.js +4 -4
- package/chunk/ro-CAOSXZ7h.js +4 -4
- package/chunk/ru-iwYoEydL.js +4 -4
- package/chunk/runtimeTypes-B2AGNJMT.js +4 -4
- package/chunk/sk-DYYNV3zw.js +4 -4
- package/chunk/sl-D_-eeM5N.js +4 -4
- package/chunk/sr-BTi9_anL.js +4 -4
- package/chunk/stepComponentHelpers-C-r8qzyD.js +4 -4
- package/chunk/stepComponentHelpers-CDj3don1.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/uk-CELBZlTd.js +4 -4
- package/chunk/ur-MR8DTbmd.js +4 -4
- package/chunk/{useCollectFieldsEndpoint-nnWmHVWb.js → useCollectFieldsEndpoint-1vI8LGMe.js} +6 -6
- package/chunk/{useCollectFieldsEndpoint-nnWmHVWb.js.map → useCollectFieldsEndpoint-1vI8LGMe.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-mH1ldSpQ.js → useCollectFieldsEndpoint-DvUIaNH0.js} +6 -6
- package/chunk/{useCollectFieldsEndpoint-mH1ldSpQ.js.map → useCollectFieldsEndpoint-DvUIaNH0.js.map} +1 -1
- package/chunk/useMetrics-D6LU4c5p.js +4 -4
- package/chunk/useMetrics-DGl7Sxfe.js +4 -4
- package/chunk/vi-DtZ-SqD5.js +4 -4
- package/chunk/zh-DjyVyYac.js +4 -4
- package/chunk/zh-HK-CN1HarHq.js +4 -4
- package/chunk/zu-DPhgIh1z.js +4 -4
- package/package.json +1 -1
- package/sheerid-install.css +4 -4
- package/sheerid-install.js +4 -4
- package/sheerid.css +4 -4
- package/sheerid.js +874 -888
- package/sheerid.js.map +1 -1
- package/chunk/FormFooterComponent-CjKa0nmR.js.map +0 -1
- package/chunk/FormFooterComponent-Hqjhhq4x.js.map +0 -1
- package/chunk/PersonalInfoStepWrapper-DBae9z3B.js +0 -94
- package/chunk/PersonalInfoStepWrapper-DBae9z3B.js.map +0 -1
- package/chunk/countryUtils-DEqx7X1F.js +0 -12
package/sheerid.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Thu
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.298.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1790871839660
|
|
5
|
+
* BUILD_DATE: Thu Oct 01 2026 16:23:59 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: e6e25f96021c9b1079fa55c41e0a808e1fc908d7
|
|
7
7
|
*/
|
|
8
8
|
import { D as e, Dt as t, E as n, O as r, S as i, T as a, _t as o, at as s, b as c, c as l, d as u, dt as d, g as f, h as p, i as m, kt as h, l as g, lt as _, m as v, n as y, p as b, r as x, s as S, t as C, u as w, ut as T, y as E } from "./chunk/options-DsRV5fwh.js";
|
|
9
9
|
import { i as D, n as O, s as k, t as A } from "./chunk/jsx-runtime-DQO6A867.js";
|
|
10
|
-
import { A as ee, D as j, O as M, P as te, S as ne, T as re, a as ie, c as ae, d as oe, f as se, g as ce, i as le, k as ue, m as de, o as fe, p as pe, r as me, s as he, t as N, u as ge, w as _e, x as ve } from "./chunk/Message-
|
|
10
|
+
import { A as ee, D as j, O as M, P as te, S as ne, T as re, a as ie, c as ae, d as oe, f as se, g as ce, i as le, k as ue, m as de, o as fe, p as pe, r as me, s as he, t as N, u as ge, w as _e, x as ve } from "./chunk/Message-BOsEnoih.js";
|
|
11
11
|
import { S as P, b as F, h as ye, x as be } from "./chunk/runtimeTypes-B2AGNJMT.js";
|
|
12
12
|
import { a as xe, i as Se, r as Ce, s as we, t as Te } from "./chunk/TestingRouteOverrides-DEu_4afz.js";
|
|
13
|
-
import { S as Ee, T as De, i as Oe, w as ke } from "./chunk/programThemeGetters-
|
|
14
|
-
import { C as Ae, S as je,
|
|
15
|
-
import { a as
|
|
16
|
-
import { i as
|
|
17
|
-
import { t as
|
|
18
|
-
import { t as
|
|
19
|
-
import { t as
|
|
13
|
+
import { S as Ee, T as De, i as Oe, w as ke } from "./chunk/programThemeGetters-DEFn8PSa.js";
|
|
14
|
+
import { C as Ae, S as je, T as Me, _ as Ne, a as Pe, b as Fe, c as Ie, d as Le, f as Re, g as ze, h as Be, i as Ve, l as He, m as Ue, n as We, o as Ge, p as Ke, r as qe, s as Je, t as Ye, u as Xe, v as Ze, w as Qe, x as $e, y as et } from "./chunk/FormFooterComponent-CHYYNzQm.js";
|
|
15
|
+
import { a as tt, i as nt, n as rt, r as it, t as at } from "./chunk/hooks-QCx6OZlb.js";
|
|
16
|
+
import { i as ot, s as st, t as ct } from "./chunk/refs-Mq0rtW9K.js";
|
|
17
|
+
import { t as lt } from "./chunk/LogoComponent-Q7DFRDlh.js";
|
|
18
|
+
import { t as ut } from "./chunk/strings-DWLVdUcm.js";
|
|
19
|
+
import { t as dt } from "./chunk/AnnouncingHeader-zH7WLU2-.js";
|
|
20
20
|
//#region ../node_modules/react-i18next/dist/es/I18nextProvider.js
|
|
21
21
|
var I = /* @__PURE__ */ h(k());
|
|
22
|
-
function
|
|
22
|
+
function ft({ i18n: e, defaultNS: t, children: n }) {
|
|
23
23
|
let r = (0, I.useMemo)(() => ({
|
|
24
24
|
i18n: e,
|
|
25
25
|
defaultNS: t
|
|
@@ -28,7 +28,7 @@ function dt({ i18n: e, defaultNS: t, children: n }) {
|
|
|
28
28
|
}
|
|
29
29
|
//#endregion
|
|
30
30
|
//#region src/components/LoadingSpinner/LoadingSpinnerComponent.tsx
|
|
31
|
-
var
|
|
31
|
+
var pt = /* @__PURE__ */ h(te(), 1), mt = /* @__PURE__ */ h(T(), 1), L = A(), ht = () => /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
32
32
|
className: "sid-spinner",
|
|
33
33
|
"data-testid": "sid-spinner",
|
|
34
34
|
children: [
|
|
@@ -37,7 +37,7 @@ var ft = /* @__PURE__ */ h(te(), 1), pt = /* @__PURE__ */ h(T(), 1), L = A(), mt
|
|
|
37
37
|
/* @__PURE__ */ (0, L.jsx)("div", { className: "sid-spinner__frame" }),
|
|
38
38
|
/* @__PURE__ */ (0, L.jsx)("div", { className: "sid-spinner__frame" })
|
|
39
39
|
]
|
|
40
|
-
}),
|
|
40
|
+
}), gt = ({ step: e }) => /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
41
41
|
className: "sid-loading-screen__message",
|
|
42
42
|
children: [be(e) && /* @__PURE__ */ (0, L.jsx)("div", {
|
|
43
43
|
className: "sid-loading-screen__message-header",
|
|
@@ -53,10 +53,10 @@ var ft = /* @__PURE__ */ h(te(), 1), pt = /* @__PURE__ */ h(T(), 1), L = A(), mt
|
|
|
53
53
|
defaultMessage: "This should only take a minute"
|
|
54
54
|
})
|
|
55
55
|
})]
|
|
56
|
-
}),
|
|
56
|
+
}), _t = ({ step: e = Te() }) => /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
57
57
|
className: "sid-loading-screen",
|
|
58
|
-
children: [/* @__PURE__ */ (0, L.jsx)(
|
|
59
|
-
}),
|
|
58
|
+
children: [/* @__PURE__ */ (0, L.jsx)(ht, {}), e && /* @__PURE__ */ (0, L.jsx)(gt, { step: e })]
|
|
59
|
+
}), vt = /* @__PURE__ */ t(((e, t) => {
|
|
60
60
|
var n, r = n = {
|
|
61
61
|
_regexEscape: /([\.\*\+\^\$\[\]\\\(\)\|\{\}\,\-\:\?])/g,
|
|
62
62
|
_regexParseLocale: /^([a-zA-Z]*)([_\-a-zA-Z]*)$/,
|
|
@@ -123,13 +123,13 @@ var ft = /* @__PURE__ */ h(te(), 1), pt = /* @__PURE__ */ h(T(), 1), L = A(), mt
|
|
|
123
123
|
enumerable: !0,
|
|
124
124
|
configurable: !1
|
|
125
125
|
}), t.exports = r;
|
|
126
|
-
})),
|
|
127
|
-
var n =
|
|
126
|
+
})), yt = /* @__PURE__ */ t(((e, t) => {
|
|
127
|
+
var n = vt();
|
|
128
128
|
t.exports = {
|
|
129
129
|
isRtlLang: n.isRtlLang,
|
|
130
130
|
getLangDir: n.getLangDir
|
|
131
131
|
};
|
|
132
|
-
})),
|
|
132
|
+
})), bt = /* @__PURE__ */ h(j(), 1), xt = /* @__PURE__ */ h(yt(), 1), R = {
|
|
133
133
|
landingBackgroundColor: "#fff",
|
|
134
134
|
landingPrimaryFontColor: "#000",
|
|
135
135
|
landingBackgroundImage: "none",
|
|
@@ -143,7 +143,7 @@ var ft = /* @__PURE__ */ h(te(), 1), pt = /* @__PURE__ */ h(T(), 1), L = A(), mt
|
|
|
143
143
|
formFont: "var(--sheerid-font-family-sans)",
|
|
144
144
|
cssVariables: null,
|
|
145
145
|
customStyles: null
|
|
146
|
-
},
|
|
146
|
+
}, St = I.createContext(R), z = {
|
|
147
147
|
landingBackgroundColor: "--sheerid-landing-background-color",
|
|
148
148
|
landingPrimaryFontColor: "--sheerid-landing-primary-font-color",
|
|
149
149
|
landingBackgroundImage: "--sheerid-landing-background-image-url",
|
|
@@ -157,7 +157,7 @@ var ft = /* @__PURE__ */ h(te(), 1), pt = /* @__PURE__ */ h(T(), 1), L = A(), mt
|
|
|
157
157
|
formFont: "--sheerid-font-family-body",
|
|
158
158
|
cssVariables: null,
|
|
159
159
|
customStyles: null
|
|
160
|
-
},
|
|
160
|
+
}, Ct = {
|
|
161
161
|
"--sheerid-color-fg-05": {
|
|
162
162
|
from: "--sheerid-color-bg",
|
|
163
163
|
to: "--sheerid-color-fg",
|
|
@@ -268,7 +268,7 @@ var ft = /* @__PURE__ */ h(te(), 1), pt = /* @__PURE__ */ h(T(), 1), L = A(), mt
|
|
|
268
268
|
to: "--sheerid-color-fg",
|
|
269
269
|
percentage: 3
|
|
270
270
|
}
|
|
271
|
-
},
|
|
271
|
+
}, wt = ({ themeChoices: e, customCssFromOptions: t, children: n }) => {
|
|
272
272
|
let r = (e) => window.self === window.top ? e.replace(/body,/g, "").replace(/label,/g, "").replace(/button\[type=('|")submit('|")\]\s*?\{[\s\S]*?\}\n?/g, "").replace(/a:link,\s+a:visited,\s+a:hover,\s+a:active\s*?\{[\s\S]*?\}\n?/g, "").replace(/h1\s*?\{[\s\S]*?\}\n?/g, "") : e, i = t || e?.customCss || "", a = i ? r(i) : null, o = e?.landingPage, s = o?.backgroundColor || R.landingBackgroundColor, c = o?.primaryFontColor || R.landingPrimaryFontColor, l = o?.backgroundImageUrl || R.landingBackgroundImage, u = e?.backgroundColor || R.formBackgroundColor, d = e?.primaryFontColor || R.formPrimaryFontColor, f = e?.buttonColor || R.formButtonColor, p = e?.buttonFontColor || R.formButtonFontColor, m = e?.linkColor || R.formLinkColor, h = e?.h1FontColor || R.formH1FontColor, g = e?.helperFontColor || R.formHelperFontColor, _ = e?.font || R.formFont, v = {
|
|
273
273
|
[z.landingBackgroundColor]: s,
|
|
274
274
|
[z.landingPrimaryFontColor]: c,
|
|
@@ -281,12 +281,12 @@ var ft = /* @__PURE__ */ h(te(), 1), pt = /* @__PURE__ */ h(T(), 1), L = A(), mt
|
|
|
281
281
|
[z.formH1FontColor]: h,
|
|
282
282
|
[z.formHelperFontColor]: g,
|
|
283
283
|
[z.formFont]: _ === R.formFont ? R.formFont : `${_}, var(--sheerid-font-family-sans)`,
|
|
284
|
-
...Object.entries(
|
|
284
|
+
...Object.entries(Ct).reduce((e, [t, n]) => {
|
|
285
285
|
let r = n.from.startsWith("--") ? `var(${n.from})` : n.from, i = n.to.startsWith("--") ? `var(${n.to})` : n.to;
|
|
286
286
|
return e[t] = `color-mix(in oklab, ${r} ${100 - n.percentage}%, ${i} ${n.percentage}%)`, e;
|
|
287
287
|
}, {})
|
|
288
288
|
}, y = I.useRef(null), b = De() === ke.cdnInlineIframe, x = De() === ke.cdnModalIframe;
|
|
289
|
-
return /* @__PURE__ */ (0, L.jsx)(
|
|
289
|
+
return /* @__PURE__ */ (0, L.jsx)(St.Provider, {
|
|
290
290
|
value: {
|
|
291
291
|
landingBackgroundColor: s,
|
|
292
292
|
landingPrimaryFontColor: c,
|
|
@@ -310,7 +310,7 @@ var ft = /* @__PURE__ */ h(te(), 1), pt = /* @__PURE__ */ h(T(), 1), L = A(), mt
|
|
|
310
310
|
children: [a && /* @__PURE__ */ (0, L.jsx)("style", { children: a }), n]
|
|
311
311
|
})
|
|
312
312
|
});
|
|
313
|
-
},
|
|
313
|
+
}, Tt = (e, t, n) => ({
|
|
314
314
|
minAge: t?.minAge || e?.config?.minAge,
|
|
315
315
|
maxAge: t?.maxAge || e?.config?.maxAge,
|
|
316
316
|
smsLoopEnabled: e?.smsLoopEnabled,
|
|
@@ -318,11 +318,11 @@ var ft = /* @__PURE__ */ h(te(), 1), pt = /* @__PURE__ */ h(T(), 1), L = A(), mt
|
|
|
318
318
|
transitionalMilitaryValidityDays: e?.transitionalMilitaryValidityDays,
|
|
319
319
|
currentStep: t?.currentStep,
|
|
320
320
|
viewModel: n
|
|
321
|
-
}),
|
|
322
|
-
P.log(`overrideComponent registering ${e}`),
|
|
323
|
-
},
|
|
324
|
-
|
|
325
|
-
},
|
|
321
|
+
}), Et = {}, Dt = (e, t) => {
|
|
322
|
+
P.log(`overrideComponent registering ${e}`), Et[e] = t;
|
|
323
|
+
}, Ot = (e) => Et[e] ? (P.log(`getOverridenComponent returning ${e}`), Et[e]) : null, kt = () => {
|
|
324
|
+
Et = {};
|
|
325
|
+
}, At = ({ verificationService: e, linkText: t }) => {
|
|
326
326
|
let { segment: n } = e.verificationResponse, { programId: r, programTheme: i } = e;
|
|
327
327
|
return n ? /* @__PURE__ */ (0, L.jsx)(me, {
|
|
328
328
|
className: "sid-faq sid-link",
|
|
@@ -332,19 +332,19 @@ var ft = /* @__PURE__ */ h(te(), 1), pt = /* @__PURE__ */ h(T(), 1), L = A(), mt
|
|
|
332
332
|
defaultMessage: "Get help"
|
|
333
333
|
})
|
|
334
334
|
}) : null;
|
|
335
|
-
},
|
|
335
|
+
}, jt = /* @__PURE__ */ (0, L.jsx)(O, {
|
|
336
336
|
id: "poweredBy",
|
|
337
337
|
defaultMessage: "Verification services powered by SheerID."
|
|
338
|
-
}),
|
|
338
|
+
}), Mt = ({ verificationService: e, isCentered: t, variant: n = "default", hideFaqLink: r = !1 }) => {
|
|
339
339
|
switch (n) {
|
|
340
340
|
case "poweredby": return /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
341
341
|
className: "sid-footer__powered-by-container-experiment",
|
|
342
342
|
children: [/* @__PURE__ */ (0, L.jsx)("div", {
|
|
343
343
|
className: "sid-footer__powered-by_powerby-experiment",
|
|
344
|
-
children:
|
|
344
|
+
children: jt
|
|
345
345
|
}), !r && /* @__PURE__ */ (0, L.jsx)("div", {
|
|
346
346
|
className: "sid-footer__powered-by_powerby-experiment",
|
|
347
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
347
|
+
children: /* @__PURE__ */ (0, L.jsx)(At, { verificationService: e })
|
|
348
348
|
})]
|
|
349
349
|
});
|
|
350
350
|
case "verificationby": return /* @__PURE__ */ (0, L.jsx)("div", {
|
|
@@ -357,28 +357,28 @@ var ft = /* @__PURE__ */ h(te(), 1), pt = /* @__PURE__ */ h(T(), 1), L = A(), mt
|
|
|
357
357
|
alt: "",
|
|
358
358
|
src: "https://com-sheerid-resources.s3.us-east-1.amazonaws.com/common/images/2018/icons/sheerid_logo.svg"
|
|
359
359
|
})
|
|
360
|
-
}),
|
|
360
|
+
}), jt]
|
|
361
361
|
})
|
|
362
362
|
});
|
|
363
363
|
default: return /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
364
364
|
className: t ? "sid-footer__powered-by-container--stacked sid-l-horz-center" : "sid-footer__powered-by-container",
|
|
365
365
|
children: [/* @__PURE__ */ (0, L.jsx)("div", {
|
|
366
366
|
className: t ? "sid-footer__powered-by--stacked sid-l-horz-center" : "sid-footer__powered-by",
|
|
367
|
-
children:
|
|
367
|
+
children: jt
|
|
368
368
|
}), !r && /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
369
369
|
className: t ? "sid-l-space-top-sm" : "",
|
|
370
|
-
children: ["\xA0", /* @__PURE__ */ (0, L.jsx)(
|
|
370
|
+
children: ["\xA0", /* @__PURE__ */ (0, L.jsx)(At, { verificationService: e })]
|
|
371
371
|
})]
|
|
372
372
|
});
|
|
373
373
|
}
|
|
374
|
-
},
|
|
374
|
+
}, Nt = (e, t) => {
|
|
375
375
|
let n = I.useRef(null);
|
|
376
376
|
function r() {
|
|
377
377
|
clearInterval(n.current);
|
|
378
378
|
}
|
|
379
379
|
return I.useEffect(() => (n.current = setInterval(e, t), () => r()), [e, t]), r;
|
|
380
|
-
},
|
|
381
|
-
let a =
|
|
380
|
+
}, Pt = ({ stepName: e, messages: t, logo: n, cancelSingleSignOn: r, cancelButtonType: i = Lt.PRIMARY }) => {
|
|
381
|
+
let a = ut(e);
|
|
382
382
|
return /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
383
383
|
className: "sid-header sid-l-horz-center",
|
|
384
384
|
children: [
|
|
@@ -386,7 +386,7 @@ var ft = /* @__PURE__ */ h(te(), 1), pt = /* @__PURE__ */ h(T(), 1), L = A(), mt
|
|
|
386
386
|
className: "sid-pending-logo-container sid-l-horz-center",
|
|
387
387
|
children: n
|
|
388
388
|
}),
|
|
389
|
-
/* @__PURE__ */ (0, L.jsx)(
|
|
389
|
+
/* @__PURE__ */ (0, L.jsx)(dt, {
|
|
390
390
|
align: "center",
|
|
391
391
|
children: t.title
|
|
392
392
|
}),
|
|
@@ -402,7 +402,7 @@ var ft = /* @__PURE__ */ h(te(), 1), pt = /* @__PURE__ */ h(T(), 1), L = A(), mt
|
|
|
402
402
|
children: /* @__PURE__ */ (0, L.jsx)("button", {
|
|
403
403
|
onClick: r,
|
|
404
404
|
type: "submit",
|
|
405
|
-
className: `sid-btn sid-${a}-pending-submit-btn ${i ===
|
|
405
|
+
className: `sid-btn sid-${a}-pending-submit-btn ${i === Lt.SECONDARY ? "sid-btn-light" : "sid-btn--dark"} sid-l-full-width`,
|
|
406
406
|
"aria-label": "submit",
|
|
407
407
|
children: t.cancel
|
|
408
408
|
})
|
|
@@ -411,20 +411,20 @@ var ft = /* @__PURE__ */ h(te(), 1), pt = /* @__PURE__ */ h(T(), 1), L = A(), mt
|
|
|
411
411
|
t?.subtitle2 ? /* @__PURE__ */ (0, L.jsx)("div", { className: "sid-l-space-top-xl" }) : /* @__PURE__ */ (0, L.jsx)("div", { className: "sid-l-space-top-lg" })
|
|
412
412
|
]
|
|
413
413
|
});
|
|
414
|
-
},
|
|
414
|
+
}, Ft = ({ stepName: e, messages: t, logo: n, cancelSingleSignOn: r, cancelButtonType: i = Lt.PRIMARY }) => /* @__PURE__ */ (0, L.jsx)(Pt, {
|
|
415
415
|
messages: t,
|
|
416
416
|
stepName: e,
|
|
417
417
|
logo: n,
|
|
418
418
|
cancelSingleSignOn: r,
|
|
419
419
|
cancelButtonType: i
|
|
420
|
-
}),
|
|
421
|
-
let i =
|
|
420
|
+
}), It = ({ messages: e, verificationService: t, updateViewModelAndOpenLoginTab: n, dashedStepName: r }) => {
|
|
421
|
+
let i = at("hc-my-sheer-id-theme-builder");
|
|
422
422
|
return /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
423
423
|
className: "sid-header sid-l-horz-center",
|
|
424
424
|
children: [
|
|
425
425
|
/* @__PURE__ */ (0, L.jsx)("div", {
|
|
426
426
|
className: `sid-${r}-logo-container sid-l-horz-center`,
|
|
427
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
427
|
+
children: /* @__PURE__ */ (0, L.jsx)(lt, {
|
|
428
428
|
verificationService: t,
|
|
429
429
|
fallbackLogo: !i && /* @__PURE__ */ (0, L.jsx)("img", {
|
|
430
430
|
className: `sid-${r}-logo-default sid-l-lead-image`,
|
|
@@ -433,7 +433,7 @@ var ft = /* @__PURE__ */ h(te(), 1), pt = /* @__PURE__ */ h(T(), 1), L = A(), mt
|
|
|
433
433
|
})
|
|
434
434
|
})
|
|
435
435
|
}),
|
|
436
|
-
/* @__PURE__ */ (0, L.jsx)(
|
|
436
|
+
/* @__PURE__ */ (0, L.jsx)(dt, {
|
|
437
437
|
align: "center",
|
|
438
438
|
children: e.title
|
|
439
439
|
}),
|
|
@@ -454,10 +454,10 @@ var ft = /* @__PURE__ */ h(te(), 1), pt = /* @__PURE__ */ h(T(), 1), L = A(), mt
|
|
|
454
454
|
/* @__PURE__ */ (0, L.jsx)("div", { className: "sid-l-space-top-lg" })
|
|
455
455
|
]
|
|
456
456
|
});
|
|
457
|
-
},
|
|
457
|
+
}, Lt = /* @__PURE__ */ function(e) {
|
|
458
458
|
return e.PRIMARY = "primary", e.SECONDARY = "secondary", e;
|
|
459
|
-
}({}),
|
|
460
|
-
let { programId: i } = e, a = e.viewModel, o = e.previousViewModel || void 0, s = e.verificationResponse, c = e.previousVerificationResponse || void 0, { verificationId: d, locale: f } = e.verificationResponse, p = xe(), m =
|
|
459
|
+
}({}), Rt = ({ verificationService: e, stepName: t, messages: n, cancelButtonType: r = "primary" }) => {
|
|
460
|
+
let { programId: i } = e, a = e.viewModel, o = e.previousViewModel || void 0, s = e.verificationResponse, c = e.previousVerificationResponse || void 0, { verificationId: d, locale: f } = e.verificationResponse, p = xe(), m = ut(t), h = at("hc-my-sheer-id-theme-builder"), g, y = /* @__PURE__ */ (0, L.jsx)(lt, {
|
|
461
461
|
verificationService: e,
|
|
462
462
|
fallbackLogo: !h && /* @__PURE__ */ (0, L.jsx)("img", {
|
|
463
463
|
className: `sid-${m}-logo-default sid-l-lead-image`,
|
|
@@ -476,7 +476,7 @@ var ft = /* @__PURE__ */ h(te(), 1), pt = /* @__PURE__ */ h(T(), 1), L = A(), mt
|
|
|
476
476
|
programId: i,
|
|
477
477
|
locale: f,
|
|
478
478
|
verificationId: d
|
|
479
|
-
}),
|
|
479
|
+
}), ct();
|
|
480
480
|
let n = l(a, () => {});
|
|
481
481
|
P.info("SingleSignOnComponent submitting cancel request"), clearTimeout(g), e.submitStep(t, n, e.verificationResponse);
|
|
482
482
|
}, C = (e, t) => {
|
|
@@ -491,7 +491,7 @@ var ft = /* @__PURE__ */ h(te(), 1), pt = /* @__PURE__ */ h(T(), 1), L = A(), mt
|
|
|
491
491
|
P.error("Invalid loginUrl - must be an absolute http(s) URL. Not opening the login tab.", "sso loginUrl");
|
|
492
492
|
return;
|
|
493
493
|
}
|
|
494
|
-
|
|
494
|
+
st(window.open(e, "_blank")), ot().focus();
|
|
495
495
|
};
|
|
496
496
|
return a.isSingleSignOnActive && !p && (g = b()), !a.countryChoice && o && o.countryChoice && x("countryChoice", o.countryChoice), /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
497
497
|
id: `sid-step-${m}`,
|
|
@@ -499,21 +499,21 @@ var ft = /* @__PURE__ */ h(te(), 1), pt = /* @__PURE__ */ h(T(), 1), L = A(), mt
|
|
|
499
499
|
"data-testid": `sid-step-${m}`,
|
|
500
500
|
children: [/* @__PURE__ */ (0, L.jsx)("div", {
|
|
501
501
|
role: "main",
|
|
502
|
-
children: a.isSingleSignOnActive ? /* @__PURE__ */ (0, L.jsx)(
|
|
502
|
+
children: a.isSingleSignOnActive ? /* @__PURE__ */ (0, L.jsx)(Ft, {
|
|
503
503
|
stepName: t,
|
|
504
504
|
messages: n,
|
|
505
505
|
logo: y,
|
|
506
506
|
cancelSingleSignOn: S,
|
|
507
507
|
cancelButtonType: r
|
|
508
|
-
}) : /* @__PURE__ */ (0, L.jsx)(
|
|
508
|
+
}) : /* @__PURE__ */ (0, L.jsx)(It, {
|
|
509
509
|
verificationService: e,
|
|
510
510
|
messages: n,
|
|
511
511
|
updateViewModelAndOpenLoginTab: C,
|
|
512
512
|
dashedStepName: m
|
|
513
513
|
})
|
|
514
|
-
}), /* @__PURE__ */ (0, L.jsx)(
|
|
514
|
+
}), /* @__PURE__ */ (0, L.jsx)(Ye, { verificationService: e })]
|
|
515
515
|
});
|
|
516
|
-
},
|
|
516
|
+
}, zt = {
|
|
517
517
|
title: /* @__PURE__ */ (0, L.jsx)(O, {
|
|
518
518
|
id: "step.sso.title",
|
|
519
519
|
defaultMessage: "Verify using your school credentials",
|
|
@@ -535,11 +535,11 @@ var ft = /* @__PURE__ */ h(te(), 1), pt = /* @__PURE__ */ h(T(), 1), L = A(), mt
|
|
|
535
535
|
id: "step.sso.subtitle2",
|
|
536
536
|
defaultMessage: "Can't sign in to your school?"
|
|
537
537
|
})
|
|
538
|
-
},
|
|
538
|
+
}, Bt = ({ verificationService: e }) => /* @__PURE__ */ (0, L.jsx)(Rt, {
|
|
539
539
|
verificationService: e,
|
|
540
540
|
stepName: F.sso,
|
|
541
|
-
messages:
|
|
542
|
-
}),
|
|
541
|
+
messages: zt
|
|
542
|
+
}), Vt = ({ logo: e }) => /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
543
543
|
className: "sid-header sid-l-horz-center",
|
|
544
544
|
"data-testid": "sid-review-pending",
|
|
545
545
|
children: [
|
|
@@ -547,7 +547,7 @@ var ft = /* @__PURE__ */ h(te(), 1), pt = /* @__PURE__ */ h(T(), 1), L = A(), mt
|
|
|
547
547
|
className: "sid-l-horz-center",
|
|
548
548
|
children: e
|
|
549
549
|
}),
|
|
550
|
-
/* @__PURE__ */ (0, L.jsx)(
|
|
550
|
+
/* @__PURE__ */ (0, L.jsx)(dt, {
|
|
551
551
|
align: "center",
|
|
552
552
|
children: /* @__PURE__ */ (0, L.jsx)(O, {
|
|
553
553
|
id: "step.pending.titleReview",
|
|
@@ -579,7 +579,7 @@ var ft = /* @__PURE__ */ h(te(), 1), pt = /* @__PURE__ */ h(T(), 1), L = A(), mt
|
|
|
579
579
|
}),
|
|
580
580
|
/* @__PURE__ */ (0, L.jsx)("div", { className: "sid-l-space-top-xl" })
|
|
581
581
|
]
|
|
582
|
-
}),
|
|
582
|
+
}), Ht = ({ logo: e }) => /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
583
583
|
className: "sid-header sid-l-horz-center",
|
|
584
584
|
"data-testid": "sid-review-pending",
|
|
585
585
|
children: [
|
|
@@ -587,7 +587,7 @@ var ft = /* @__PURE__ */ h(te(), 1), pt = /* @__PURE__ */ h(T(), 1), L = A(), mt
|
|
|
587
587
|
className: "sid-l-horz-center",
|
|
588
588
|
children: e
|
|
589
589
|
}),
|
|
590
|
-
/* @__PURE__ */ (0, L.jsx)(
|
|
590
|
+
/* @__PURE__ */ (0, L.jsx)(dt, {
|
|
591
591
|
align: "center",
|
|
592
592
|
children: /* @__PURE__ */ (0, L.jsx)(O, {
|
|
593
593
|
id: "step.pending.idCheckLoop.title",
|
|
@@ -611,7 +611,7 @@ var ft = /* @__PURE__ */ h(te(), 1), pt = /* @__PURE__ */ h(T(), 1), L = A(), mt
|
|
|
611
611
|
}),
|
|
612
612
|
/* @__PURE__ */ (0, L.jsx)("div", { className: "sid-l-space-top-xl" })
|
|
613
613
|
]
|
|
614
|
-
}),
|
|
614
|
+
}), Ut = { [ye.SIGNZY]: {
|
|
615
615
|
title: /* @__PURE__ */ (0, L.jsx)(O, {
|
|
616
616
|
id: "step.thirdPartyLoop.signzy.title",
|
|
617
617
|
tagName: "h1",
|
|
@@ -629,7 +629,7 @@ var ft = /* @__PURE__ */ h(te(), 1), pt = /* @__PURE__ */ h(T(), 1), L = A(), mt
|
|
|
629
629
|
id: "step.thirdPartyLoop.signzy.cancel",
|
|
630
630
|
defaultMessage: "Upload Proof of Identity"
|
|
631
631
|
})
|
|
632
|
-
} },
|
|
632
|
+
} }, Wt = ({ logo: e, isStepRoot: t = !1 }) => {
|
|
633
633
|
let n = /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
634
634
|
className: "sid-header sid-l-horz-center",
|
|
635
635
|
children: [
|
|
@@ -637,7 +637,7 @@ var ft = /* @__PURE__ */ h(te(), 1), pt = /* @__PURE__ */ h(T(), 1), L = A(), mt
|
|
|
637
637
|
className: "sid-error-logo-container sid-l-horz-center",
|
|
638
638
|
children: e
|
|
639
639
|
}),
|
|
640
|
-
/* @__PURE__ */ (0, L.jsx)(
|
|
640
|
+
/* @__PURE__ */ (0, L.jsx)(dt, {
|
|
641
641
|
align: "center",
|
|
642
642
|
children: /* @__PURE__ */ (0, L.jsx)(O, {
|
|
643
643
|
id: "error",
|
|
@@ -665,16 +665,16 @@ var ft = /* @__PURE__ */ h(te(), 1), pt = /* @__PURE__ */ h(T(), 1), L = A(), mt
|
|
|
665
665
|
children: n
|
|
666
666
|
}) : n
|
|
667
667
|
});
|
|
668
|
-
},
|
|
669
|
-
let t =
|
|
670
|
-
return t ? /* @__PURE__ */ (0, L.jsx)(
|
|
668
|
+
}, Gt = ({ verificationService: e }) => {
|
|
669
|
+
let t = Ut[e.verificationResponse.thirdPartyLoopProvider] || void 0, n = at("hc-my-sheer-id-theme-builder");
|
|
670
|
+
return t ? /* @__PURE__ */ (0, L.jsx)(Rt, {
|
|
671
671
|
verificationService: e,
|
|
672
672
|
stepName: F.thirdPartyLoop,
|
|
673
673
|
messages: t,
|
|
674
|
-
cancelButtonType:
|
|
675
|
-
}) : /* @__PURE__ */ (0, L.jsx)(
|
|
674
|
+
cancelButtonType: Lt.SECONDARY
|
|
675
|
+
}) : /* @__PURE__ */ (0, L.jsx)(Wt, {
|
|
676
676
|
isStepRoot: !0,
|
|
677
|
-
logo: /* @__PURE__ */ (0, L.jsx)(
|
|
677
|
+
logo: /* @__PURE__ */ (0, L.jsx)(lt, {
|
|
678
678
|
verificationService: e,
|
|
679
679
|
fallbackLogo: !n && /* @__PURE__ */ (0, L.jsx)("img", {
|
|
680
680
|
className: "sid-error-logo sid-l-lead-image",
|
|
@@ -683,28 +683,28 @@ var ft = /* @__PURE__ */ h(te(), 1), pt = /* @__PURE__ */ h(T(), 1), L = A(), mt
|
|
|
683
683
|
})
|
|
684
684
|
})
|
|
685
685
|
});
|
|
686
|
-
},
|
|
687
|
-
let i =
|
|
688
|
-
return i ? /* @__PURE__ */ (0, L.jsx)(
|
|
686
|
+
}, Kt = ({ logo: e, verificationLastResponse: t, cancelThirdPartyLoop: n, isMockingPreviousStepThirdPartyLoop: r }) => {
|
|
687
|
+
let i = Ut[r ? Se("thirdPartyLoopProvider") : t?.thirdPartyLoopProvider] || void 0;
|
|
688
|
+
return i ? /* @__PURE__ */ (0, L.jsx)(Ft, {
|
|
689
689
|
stepName: F.thirdPartyLoop,
|
|
690
690
|
messages: i,
|
|
691
691
|
logo: e,
|
|
692
692
|
cancelSingleSignOn: n,
|
|
693
|
-
cancelButtonType:
|
|
694
|
-
}) : /* @__PURE__ */ (0, L.jsx)(
|
|
695
|
-
},
|
|
696
|
-
let { programId: t } = e, { viewModel: n } = e, r = e.previousViewModel || void 0, i = e.verificationResponse.lastResponse || e.previousVerificationResponse || void 0, { verificationId: a } = e.verificationResponse, o = xe(), s = Ce() && Ce() === F.sso, c = Ce() && Ce() === F.thirdPartyLoop, u = Ce() && Ce() === F.idCheckLoop, d =
|
|
693
|
+
cancelButtonType: Lt.SECONDARY
|
|
694
|
+
}) : /* @__PURE__ */ (0, L.jsx)(Wt, { logo: e });
|
|
695
|
+
}, qt = 5e3, Jt = 2e4, Yt = 2e4, Xt = 2e3, Zt = ({ verificationService: e }) => {
|
|
696
|
+
let { programId: t } = e, { viewModel: n } = e, r = e.previousViewModel || void 0, i = e.verificationResponse.lastResponse || e.previousVerificationResponse || void 0, { verificationId: a } = e.verificationResponse, o = xe(), s = Ce() && Ce() === F.sso, c = Ce() && Ce() === F.thirdPartyLoop, u = Ce() && Ce() === F.idCheckLoop, d = at("hc-my-sheer-id-theme-builder"), f = () => i?.currentStep === F.sso, p = () => i?.currentStep === F.thirdPartyLoop, m = () => i?.currentStep === F.idCheckLoop, h = f() || p() || s || c, g = m() || u, _ = !h && !g, [v, y] = I.useState(() => h ? Xt : g ? Yt : qt);
|
|
697
697
|
I.useEffect(() => {
|
|
698
698
|
if (!_) return;
|
|
699
|
-
let e = setTimeout(() => y(
|
|
699
|
+
let e = setTimeout(() => y(Yt), Jt);
|
|
700
700
|
return () => clearTimeout(e);
|
|
701
701
|
}, [_]);
|
|
702
|
-
let b = !o &&
|
|
702
|
+
let b = !o && Nt(() => {
|
|
703
703
|
e.fetchExistingVerificationRequest(t, a, i, r, !1);
|
|
704
704
|
}, v), x = (t) => {
|
|
705
705
|
let r = l(n, () => {});
|
|
706
|
-
P.info("StepSingleSignOnComponent submitting cancel request, step:", t), b(),
|
|
707
|
-
}, S = /* @__PURE__ */ (0, L.jsx)(
|
|
706
|
+
P.info("StepSingleSignOnComponent submitting cancel request, step:", t), b(), ct(), e.submitStep(t, r, i);
|
|
707
|
+
}, S = /* @__PURE__ */ (0, L.jsx)(lt, {
|
|
708
708
|
verificationService: e,
|
|
709
709
|
fallbackLogo: !d && /* @__PURE__ */ (0, L.jsx)("img", {
|
|
710
710
|
className: "sid-l-lead-image",
|
|
@@ -719,27 +719,27 @@ var ft = /* @__PURE__ */ h(te(), 1), pt = /* @__PURE__ */ h(T(), 1), L = A(), mt
|
|
|
719
719
|
role: "main",
|
|
720
720
|
children: (() => {
|
|
721
721
|
let e = f() || s, t = p() || c, n = m() || u;
|
|
722
|
-
return e ? /* @__PURE__ */ (0, L.jsx)(
|
|
722
|
+
return e ? /* @__PURE__ */ (0, L.jsx)(Ft, {
|
|
723
723
|
stepName: F.sso,
|
|
724
|
-
messages:
|
|
724
|
+
messages: zt,
|
|
725
725
|
logo: S,
|
|
726
726
|
cancelSingleSignOn: () => x(F.sso)
|
|
727
|
-
}) : t ? /* @__PURE__ */ (0, L.jsx)(
|
|
727
|
+
}) : t ? /* @__PURE__ */ (0, L.jsx)(Kt, {
|
|
728
728
|
logo: S,
|
|
729
729
|
cancelThirdPartyLoop: () => x(F.thirdPartyLoop),
|
|
730
730
|
verificationLastResponse: i,
|
|
731
731
|
isMockingPreviousStepThirdPartyLoop: c
|
|
732
|
-
}) : n ? /* @__PURE__ */ (0, L.jsx)(
|
|
732
|
+
}) : n ? /* @__PURE__ */ (0, L.jsx)(Ht, { logo: S }) : /* @__PURE__ */ (0, L.jsx)(Vt, { logo: S });
|
|
733
733
|
})()
|
|
734
|
-
}), g ? /* @__PURE__ */ (0, L.jsx)(
|
|
734
|
+
}), g ? /* @__PURE__ */ (0, L.jsx)(Mt, {
|
|
735
735
|
verificationService: e,
|
|
736
736
|
isCentered: !0
|
|
737
|
-
}) : /* @__PURE__ */ (0, L.jsxs)(
|
|
737
|
+
}) : /* @__PURE__ */ (0, L.jsxs)(Ye, {
|
|
738
738
|
verificationService: e,
|
|
739
739
|
children: [/* @__PURE__ */ (0, L.jsx)("div", {}), " "]
|
|
740
740
|
})]
|
|
741
741
|
});
|
|
742
|
-
},
|
|
742
|
+
}, Qt = () => {
|
|
743
743
|
let e = le(), t = ie(), n = ae(), r = d(() => n.segment), i = I.useCallback(() => {
|
|
744
744
|
if (window.self !== window.top) {
|
|
745
745
|
let e = new URL(window.location.href);
|
|
@@ -747,7 +747,7 @@ var ft = /* @__PURE__ */ h(te(), 1), pt = /* @__PURE__ */ h(T(), 1), L = A(), mt
|
|
|
747
747
|
return;
|
|
748
748
|
}
|
|
749
749
|
(async () => {
|
|
750
|
-
|
|
750
|
+
He(e)(), await Ie(e)(t, r, void 0, void 0, !0);
|
|
751
751
|
})();
|
|
752
752
|
}, [
|
|
753
753
|
e,
|
|
@@ -761,12 +761,12 @@ var ft = /* @__PURE__ */ h(te(), 1), pt = /* @__PURE__ */ h(T(), 1), L = A(), mt
|
|
|
761
761
|
onKeyPress: i,
|
|
762
762
|
children: /* @__PURE__ */ (0, L.jsx)(N, { id: "tryAgain" })
|
|
763
763
|
});
|
|
764
|
-
},
|
|
764
|
+
}, $t = {
|
|
765
765
|
NONE: "none",
|
|
766
766
|
RESET: "reset",
|
|
767
767
|
POSTMESSAGE: "postMessage",
|
|
768
768
|
REDIRECT: "redirect"
|
|
769
|
-
},
|
|
769
|
+
}, en = () => {
|
|
770
770
|
let e = ae(), t = () => re({
|
|
771
771
|
action: "tryAgain",
|
|
772
772
|
verificationResponse: e
|
|
@@ -778,51 +778,51 @@ var ft = /* @__PURE__ */ h(te(), 1), pt = /* @__PURE__ */ h(T(), 1), L = A(), mt
|
|
|
778
778
|
onKeyPress: t,
|
|
779
779
|
children: /* @__PURE__ */ (0, L.jsx)(N, { id: "tryAgain" })
|
|
780
780
|
});
|
|
781
|
-
},
|
|
781
|
+
}, tn = ({ redirectUrl: e, target: t = "_blank" }) => /* @__PURE__ */ (0, L.jsx)(me, {
|
|
782
782
|
target: t,
|
|
783
783
|
href: e.toString(),
|
|
784
784
|
className: "sid-btn sid-btn--dark",
|
|
785
785
|
children: /* @__PURE__ */ (0, L.jsx)(N, { id: "seeOtherOffers" })
|
|
786
|
-
}),
|
|
787
|
-
if (!(typeof e == "object" && "type" in e && Object.values(
|
|
788
|
-
},
|
|
786
|
+
}), nn = (e) => {
|
|
787
|
+
if (!(typeof e == "object" && "type" in e && Object.values($t).includes(e.type))) throw RangeError("Invalid tryAgainAction option type - using default TryAgainButton.");
|
|
788
|
+
}, rn = () => {
|
|
789
789
|
let e = C("tryAgainAction");
|
|
790
790
|
try {
|
|
791
|
-
switch (
|
|
792
|
-
case
|
|
793
|
-
case
|
|
794
|
-
case
|
|
791
|
+
switch (nn(e), e.type) {
|
|
792
|
+
case $t.NONE: return null;
|
|
793
|
+
case $t.POSTMESSAGE: return window.self === window.top ? (P.error(`Invalid tryAgainAction option type "${e.type}" - page must be embedded in an iframe.`), null) : /* @__PURE__ */ (0, L.jsx)(en, {});
|
|
794
|
+
case $t.REDIRECT:
|
|
795
795
|
if (!_(e.url)) throw RangeError("Invalid tryAgainAction redirect url - must be an absolute http(s) URL. Using default TryAgainButton.");
|
|
796
|
-
return /* @__PURE__ */ (0, L.jsx)(
|
|
796
|
+
return /* @__PURE__ */ (0, L.jsx)(tn, {
|
|
797
797
|
redirectUrl: e.url,
|
|
798
798
|
target: e.target
|
|
799
799
|
});
|
|
800
|
-
case
|
|
800
|
+
case $t.RESET: return /* @__PURE__ */ (0, L.jsx)(Qt, {});
|
|
801
801
|
default: throw RangeError("Invalid tryAgainAction option type - using default TryAgainButton.");
|
|
802
802
|
}
|
|
803
803
|
} catch (e) {
|
|
804
|
-
return P.error(e.message), /* @__PURE__ */ (0, L.jsx)(
|
|
804
|
+
return P.error(e.message), /* @__PURE__ */ (0, L.jsx)(Qt, {});
|
|
805
805
|
}
|
|
806
|
-
},
|
|
806
|
+
}, an = [
|
|
807
807
|
"docReviewLimitExceeded",
|
|
808
808
|
"verificationLimitExceeded",
|
|
809
809
|
"fraudRulesReject"
|
|
810
|
-
],
|
|
810
|
+
], on = ({ verificationService: e, errorIds: t }) => {
|
|
811
811
|
let n = t[0];
|
|
812
|
-
return /* @__PURE__ */ (0, L.jsx)(
|
|
812
|
+
return /* @__PURE__ */ (0, L.jsx)(dt, {
|
|
813
813
|
align: "center",
|
|
814
814
|
children: /* @__PURE__ */ (0, L.jsx)("h1", { children: /* @__PURE__ */ (0, L.jsx)(N, { id: e?.messages[`step.error.errorId.${n}.title`] ? `step.error.errorId.${n}.title` : "step.error.title" }) })
|
|
815
815
|
});
|
|
816
|
-
},
|
|
816
|
+
}, sn = ({ errorIds: e, errorDetailId: t }) => {
|
|
817
817
|
let n = /* @__PURE__ */ new Map();
|
|
818
818
|
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;
|
|
819
|
-
},
|
|
819
|
+
}, cn = ({ verificationService: e, errorIds: t }) => {
|
|
820
820
|
let n = `step.error.errorId.${t[0]}.note`;
|
|
821
821
|
return e.messages?.[n] ? /* @__PURE__ */ (0, L.jsx)("p", {
|
|
822
822
|
className: "sid-error-note sid-h-small-text",
|
|
823
823
|
children: /* @__PURE__ */ (0, L.jsx)(N, { id: n })
|
|
824
824
|
}) : null;
|
|
825
|
-
},
|
|
825
|
+
}, ln = ({ verificationService: e, errorIds: t, redirectUrl: n }) => {
|
|
826
826
|
if (t.includes("unauthorizedAccountStatus")) {
|
|
827
827
|
let t = d(() => e.programTheme.config.brandInfo.faqUrl);
|
|
828
828
|
return t ? /* @__PURE__ */ (0, L.jsx)(me, {
|
|
@@ -833,18 +833,18 @@ var ft = /* @__PURE__ */ h(te(), 1), pt = /* @__PURE__ */ h(T(), 1), L = A(), mt
|
|
|
833
833
|
}) : null;
|
|
834
834
|
}
|
|
835
835
|
if (t.includes("verificationLimitExceeded")) return null;
|
|
836
|
-
if (t.includes("missingRequiredMetadata") || t.includes("missingRequiredExternalId")) return C("tryAgainAction").type === "reset" ? null : /* @__PURE__ */ (0, L.jsx)(
|
|
836
|
+
if (t.includes("missingRequiredMetadata") || t.includes("missingRequiredExternalId")) return C("tryAgainAction").type === "reset" ? null : /* @__PURE__ */ (0, L.jsx)(rn, {});
|
|
837
837
|
let r = t[0];
|
|
838
838
|
return e.messages?.[`step.error.errorId.${r}.buttonText`] && _(n) ? /* @__PURE__ */ (0, L.jsx)(me, {
|
|
839
839
|
href: n,
|
|
840
840
|
onClick: () => p(F.error, n),
|
|
841
841
|
className: "sid-btn sid-error-btn sid-btn-light",
|
|
842
842
|
children: /* @__PURE__ */ (0, L.jsx)(N, { id: `step.error.errorId.${r}.buttonText` })
|
|
843
|
-
}) : /* @__PURE__ */ (0, L.jsx)(
|
|
844
|
-
},
|
|
845
|
-
let { errorIds: n, redirectUrl: r, errorDetailId: i } = e.verificationResponse, a =
|
|
843
|
+
}) : /* @__PURE__ */ (0, L.jsx)(rn, {});
|
|
844
|
+
}, un = ({ verificationService: e, errorId: t }) => {
|
|
845
|
+
let { errorIds: n, redirectUrl: r, errorDetailId: i } = e.verificationResponse, a = at("hc-my-sheer-id-theme-builder"), o = /* @__PURE__ */ new Set();
|
|
846
846
|
t && o.add(t), Array.isArray(n) && n.forEach((e) => o.add(e));
|
|
847
|
-
let s = Array.from(o), c = s.some((e) =>
|
|
847
|
+
let s = Array.from(o), c = s.some((e) => an.includes(e));
|
|
848
848
|
return /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
849
849
|
id: "sid-step-error",
|
|
850
850
|
className: "sid-error-container sid-l-container",
|
|
@@ -854,7 +854,7 @@ var ft = /* @__PURE__ */ h(te(), 1), pt = /* @__PURE__ */ h(T(), 1), L = A(), mt
|
|
|
854
854
|
children: [
|
|
855
855
|
/* @__PURE__ */ (0, L.jsx)("div", {
|
|
856
856
|
className: "sid-error-logo-container sid-l-horz-center",
|
|
857
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
857
|
+
children: /* @__PURE__ */ (0, L.jsx)(lt, {
|
|
858
858
|
verificationService: e,
|
|
859
859
|
fallbackLogo: !a && /* @__PURE__ */ (0, L.jsx)("img", {
|
|
860
860
|
className: "sid-error-logo sid-l-lead-image",
|
|
@@ -863,7 +863,7 @@ var ft = /* @__PURE__ */ h(te(), 1), pt = /* @__PURE__ */ h(T(), 1), L = A(), mt
|
|
|
863
863
|
})
|
|
864
864
|
})
|
|
865
865
|
}),
|
|
866
|
-
/* @__PURE__ */ (0, L.jsx)(
|
|
866
|
+
/* @__PURE__ */ (0, L.jsx)(on, {
|
|
867
867
|
verificationService: e,
|
|
868
868
|
errorIds: s
|
|
869
869
|
}),
|
|
@@ -872,10 +872,10 @@ var ft = /* @__PURE__ */ h(te(), 1), pt = /* @__PURE__ */ h(T(), 1), L = A(), mt
|
|
|
872
872
|
children: [
|
|
873
873
|
/* @__PURE__ */ (0, L.jsxs)("div", {
|
|
874
874
|
className: "sid-error-msg sid-l-horz-center",
|
|
875
|
-
children: [/* @__PURE__ */ (0, L.jsx)(
|
|
875
|
+
children: [/* @__PURE__ */ (0, L.jsx)(sn, {
|
|
876
876
|
errorIds: s,
|
|
877
877
|
errorDetailId: i
|
|
878
|
-
}), /* @__PURE__ */ (0, L.jsx)(
|
|
878
|
+
}), /* @__PURE__ */ (0, L.jsx)(cn, {
|
|
879
879
|
verificationService: e,
|
|
880
880
|
errorIds: s
|
|
881
881
|
})]
|
|
@@ -886,7 +886,7 @@ var ft = /* @__PURE__ */ h(te(), 1), pt = /* @__PURE__ */ h(T(), 1), L = A(), mt
|
|
|
886
886
|
}),
|
|
887
887
|
/* @__PURE__ */ (0, L.jsx)("div", {
|
|
888
888
|
className: "sid-l-space-top-lg sid-error-button-container sid-l-horz-center",
|
|
889
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
889
|
+
children: /* @__PURE__ */ (0, L.jsx)(ln, {
|
|
890
890
|
verificationService: e,
|
|
891
891
|
errorIds: s,
|
|
892
892
|
redirectUrl: r
|
|
@@ -897,49 +897,49 @@ var ft = /* @__PURE__ */ h(te(), 1), pt = /* @__PURE__ */ h(T(), 1), L = A(), mt
|
|
|
897
897
|
]
|
|
898
898
|
}), /* @__PURE__ */ (0, L.jsx)("div", {
|
|
899
899
|
className: "sid-footer sid-powered-by-container sid-l-horz-center sid-l-space-top-xl sid-h-small-text",
|
|
900
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
900
|
+
children: /* @__PURE__ */ (0, L.jsx)(Mt, {
|
|
901
901
|
verificationService: e,
|
|
902
902
|
isCentered: !0,
|
|
903
903
|
hideFaqLink: c
|
|
904
904
|
})
|
|
905
905
|
})]
|
|
906
906
|
});
|
|
907
|
-
},
|
|
908
|
-
StepPendingComponent:
|
|
909
|
-
StepErrorComponent:
|
|
910
|
-
StepStudentPersonalInfoComponent: I.lazy(() => import("./chunk/StepStudentPersonalInfo-
|
|
911
|
-
StepOverrideComponent: I.lazy(() => import("./chunk/StepOverrideComponent-
|
|
912
|
-
StepAgePersonalInfoComponent: I.lazy(() => import("./chunk/StepAgePersonalInfo-
|
|
913
|
-
StepSeniorPersonalInfoComponent: I.lazy(() => import("./chunk/StepAgePersonalInfo-
|
|
914
|
-
StepCollectMilitaryPersonalInfoComponent: I.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-
|
|
915
|
-
StepCollectMilitaryStatusComponent: I.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-
|
|
916
|
-
StepActiveMilitaryPersonalInfoComponent: I.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-
|
|
917
|
-
StepInactiveMilitaryPersonalInfoComponent: I.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-
|
|
918
|
-
StepDriverLicensePersonalInfoComponent: I.lazy(() => import("./chunk/StepDriverLicensePersonalInfoComponent-
|
|
919
|
-
StepEmploymentPersonalInfoComponent: I.lazy(() => import("./chunk/StepEmploymentPersonalInfo-
|
|
920
|
-
StepFirstResponderPersonalInfoComponent: I.lazy(() => import("./chunk/StepFirstResponderPersonalInfo-
|
|
921
|
-
StepGeneralIdentityPersonalInfoComponent: I.lazy(() => import("./chunk/StepGeneralIdentityPersonalInfoComponent-
|
|
922
|
-
StepHybridIdentityPersonalInfoComponent: I.lazy(() => import("./chunk/StepHybridIdentityPersonalInfoComponent-
|
|
923
|
-
StepIDCheckLoopComponent: I.lazy(() => import("./chunk/StepIDCheckLoop-
|
|
924
|
-
StepLicensedProfessionalPersonalInfoComponent: I.lazy(() => import("./chunk/StepLicensedProfessionalPersonalInfo-
|
|
925
|
-
StepLowIncomePersonalInfoComponent: I.lazy(() => import("./chunk/StepLowIncomePersonalInfo-
|
|
926
|
-
StepMedicalProfessionalPersonalInfoComponent: I.lazy(() => import("./chunk/StepMedicalProfessionalPersonalInfo-
|
|
927
|
-
StepMemberPersonalInfoComponent: I.lazy(() => import("./chunk/StepMemberPersonalInfo-
|
|
928
|
-
StepConsolationComponent: I.lazy(() => import("./chunk/StepConsolation-
|
|
929
|
-
StepDocUploadComponent: I.lazy(() => import("./chunk/StepDocUpload-
|
|
930
|
-
StepEmailLoopComponent: I.lazy(() => import("./chunk/StepEmailLoop-
|
|
931
|
-
StepPendingEmailLoopComponent: I.lazy(() => import("./chunk/EmailLoopPending-
|
|
932
|
-
StepMoverPersonalInfoComponent: I.lazy(() => import("./chunk/StepMoverPersonalInfo-
|
|
933
|
-
StepSMSLoopComponent: I.lazy(() => import("./chunk/StepSMSLoop-
|
|
934
|
-
StepSocialSecurity: I.lazy(() => import("./chunk/StepSocialSecurityNumber-
|
|
907
|
+
}, dn = {
|
|
908
|
+
StepPendingComponent: Zt,
|
|
909
|
+
StepErrorComponent: un,
|
|
910
|
+
StepStudentPersonalInfoComponent: I.lazy(() => import("./chunk/StepStudentPersonalInfo-BrQ9Hgs2.js")),
|
|
911
|
+
StepOverrideComponent: I.lazy(() => import("./chunk/StepOverrideComponent-DoLNPdpp.js")),
|
|
912
|
+
StepAgePersonalInfoComponent: I.lazy(() => import("./chunk/StepAgePersonalInfo-Cs4T_WGW.js")),
|
|
913
|
+
StepSeniorPersonalInfoComponent: I.lazy(() => import("./chunk/StepAgePersonalInfo-Cs4T_WGW.js")),
|
|
914
|
+
StepCollectMilitaryPersonalInfoComponent: I.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-CY_gyXGN.js")),
|
|
915
|
+
StepCollectMilitaryStatusComponent: I.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-CY_gyXGN.js")),
|
|
916
|
+
StepActiveMilitaryPersonalInfoComponent: I.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-CY_gyXGN.js")),
|
|
917
|
+
StepInactiveMilitaryPersonalInfoComponent: I.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-CY_gyXGN.js")),
|
|
918
|
+
StepDriverLicensePersonalInfoComponent: I.lazy(() => import("./chunk/StepDriverLicensePersonalInfoComponent-Blj27dgj.js")),
|
|
919
|
+
StepEmploymentPersonalInfoComponent: I.lazy(() => import("./chunk/StepEmploymentPersonalInfo-be5QXB1h.js")),
|
|
920
|
+
StepFirstResponderPersonalInfoComponent: I.lazy(() => import("./chunk/StepFirstResponderPersonalInfo-CuYa4EuR.js")),
|
|
921
|
+
StepGeneralIdentityPersonalInfoComponent: I.lazy(() => import("./chunk/StepGeneralIdentityPersonalInfoComponent-BG4skokC.js")),
|
|
922
|
+
StepHybridIdentityPersonalInfoComponent: I.lazy(() => import("./chunk/StepHybridIdentityPersonalInfoComponent-DLt5aNNO.js")),
|
|
923
|
+
StepIDCheckLoopComponent: I.lazy(() => import("./chunk/StepIDCheckLoop-aUdbkaXK.js")),
|
|
924
|
+
StepLicensedProfessionalPersonalInfoComponent: I.lazy(() => import("./chunk/StepLicensedProfessionalPersonalInfo-Cl9IVtaQ.js")),
|
|
925
|
+
StepLowIncomePersonalInfoComponent: I.lazy(() => import("./chunk/StepLowIncomePersonalInfo-2TtDvD5f.js")),
|
|
926
|
+
StepMedicalProfessionalPersonalInfoComponent: I.lazy(() => import("./chunk/StepMedicalProfessionalPersonalInfo-Dehwiifn.js")),
|
|
927
|
+
StepMemberPersonalInfoComponent: I.lazy(() => import("./chunk/StepMemberPersonalInfo-CDdvWxeJ.js")),
|
|
928
|
+
StepConsolationComponent: I.lazy(() => import("./chunk/StepConsolation-DJIHMPuH.js")),
|
|
929
|
+
StepDocUploadComponent: I.lazy(() => import("./chunk/StepDocUpload-CjhDGgG9.js")),
|
|
930
|
+
StepEmailLoopComponent: I.lazy(() => import("./chunk/StepEmailLoop-DyQb2WX7.js")),
|
|
931
|
+
StepPendingEmailLoopComponent: I.lazy(() => import("./chunk/EmailLoopPending-D-sQeRXY.js").then((e) => e.n)),
|
|
932
|
+
StepMoverPersonalInfoComponent: I.lazy(() => import("./chunk/StepMoverPersonalInfo-BP5hekVe.js")),
|
|
933
|
+
StepSMSLoopComponent: I.lazy(() => import("./chunk/StepSMSLoop-Du2-zSZf.js")),
|
|
934
|
+
StepSocialSecurity: I.lazy(() => import("./chunk/StepSocialSecurityNumber-0JnSlFJa.js")),
|
|
935
935
|
StepSSOComponent: I.lazy(() => import("./chunk/StepSSO-ZHByQpHa.js")),
|
|
936
|
-
StepSuccessComponent: I.lazy(() => import("./chunk/StepSuccess-
|
|
937
|
-
StepTeacherPersonalInfoComponent: I.lazy(() => import("./chunk/StepTeacherPersonalInfo-
|
|
936
|
+
StepSuccessComponent: I.lazy(() => import("./chunk/StepSuccess-BQEdDXRG.js")),
|
|
937
|
+
StepTeacherPersonalInfoComponent: I.lazy(() => import("./chunk/StepTeacherPersonalInfo-BLYc_KIx.js")),
|
|
938
938
|
StepCompleteAuthentication: I.lazy(() => import("./chunk/StepCompleteAuthentication-BawnNriI.js")),
|
|
939
|
-
StepCollectIdentifierComponent: I.lazy(() => import("./chunk/StepCollectIdentifier
|
|
940
|
-
StepCollectPersonalInfo: I.lazy(() => import("./chunk/StepCollectPersonalInfo-
|
|
939
|
+
StepCollectIdentifierComponent: I.lazy(() => import("./chunk/StepCollectIdentifier-Bfeyh9Fw.js")),
|
|
940
|
+
StepCollectPersonalInfo: I.lazy(() => import("./chunk/StepCollectPersonalInfo-ZtXdYWLn.js")),
|
|
941
941
|
StepThirdPartyLoopComponent: I.lazy(() => import("./chunk/StepThirdPartyLoop-BrKuZcYb.js"))
|
|
942
|
-
}, B = (e) => (P.info("getComponent", e),
|
|
942
|
+
}, B = (e) => (P.info("getComponent", e), Ot(e) || dn[e]), fn = () => /* @__PURE__ */ (0, L.jsx)(_t, {}), pn = ({ stepToLoad: e, verificationService: t }) => {
|
|
943
943
|
P.info(`LoadStepComponent: rendering step: ${e}`);
|
|
944
944
|
let n;
|
|
945
945
|
switch ((0, I.useEffect)(() => {
|
|
@@ -1067,23 +1067,23 @@ var ft = /* @__PURE__ */ h(te(), 1), pt = /* @__PURE__ */ h(T(), 1), L = A(), mt
|
|
|
1067
1067
|
case "cancelEmailLoop":
|
|
1068
1068
|
case "cancelSocialSecurityNumber":
|
|
1069
1069
|
case "docReviewLimitExceeded":
|
|
1070
|
-
case "emailLoopCollectOrganizationEmail": return P.error("Attempted to load unexpected step", e), /* @__PURE__ */ (0, L.jsx)(
|
|
1070
|
+
case "emailLoopCollectOrganizationEmail": return P.error("Attempted to load unexpected step", e), /* @__PURE__ */ (0, L.jsx)(un, {
|
|
1071
1071
|
verificationService: t,
|
|
1072
1072
|
errorId: "invalidStep"
|
|
1073
1073
|
});
|
|
1074
|
-
default: return P.error("Unable to load step", e), /* @__PURE__ */ (0, L.jsx)(
|
|
1074
|
+
default: return P.error("Unable to load step", e), /* @__PURE__ */ (0, L.jsx)(un, {
|
|
1075
1075
|
verificationService: t,
|
|
1076
1076
|
errorId: "invalidStep"
|
|
1077
1077
|
});
|
|
1078
1078
|
}
|
|
1079
1079
|
return /* @__PURE__ */ (0, L.jsx)(I.Suspense, {
|
|
1080
|
-
fallback:
|
|
1080
|
+
fallback: fn(),
|
|
1081
1081
|
children: /* @__PURE__ */ (0, L.jsx)(n, { verificationService: t })
|
|
1082
1082
|
});
|
|
1083
|
-
},
|
|
1083
|
+
}, mn = ({ dangerouslySetInnerHTML: e, ...t }) => e ? /* @__PURE__ */ (0, L.jsx)("span", {
|
|
1084
1084
|
dangerouslySetInnerHTML: e,
|
|
1085
1085
|
...t
|
|
1086
|
-
}) : /* @__PURE__ */ (0, L.jsx)(I.Fragment, { ...t }),
|
|
1086
|
+
}) : /* @__PURE__ */ (0, L.jsx)(I.Fragment, { ...t }), hn = ({ verificationService: e }) => e.programTheme?.isTestMode ? /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
1087
1087
|
className: "sid-test-mode-flag sid-l-container sid-l-horz-center",
|
|
1088
1088
|
role: "note",
|
|
1089
1089
|
children: ["Test Mode", /* @__PURE__ */ (0, L.jsx)(me, {
|
|
@@ -1092,12 +1092,12 @@ var ft = /* @__PURE__ */ h(te(), 1), pt = /* @__PURE__ */ h(T(), 1), L = A(), mt
|
|
|
1092
1092
|
"aria-label": "learn more about a sheerid test mode program",
|
|
1093
1093
|
children: "(learn more)"
|
|
1094
1094
|
})]
|
|
1095
|
-
}) : null,
|
|
1095
|
+
}) : null, gn = ({ verificationService: e, title: t, children: n, fallbackLogo: r, classNameIdentifier: i = void 0 }) => /* @__PURE__ */ (0, L.jsxs)("header", {
|
|
1096
1096
|
className: "sid-header",
|
|
1097
1097
|
children: [
|
|
1098
1098
|
/* @__PURE__ */ (0, L.jsx)("div", {
|
|
1099
1099
|
className: `sid-logo-container sid-l-horz-center ${i ? `sid-${i}-logo-container` : ""}`,
|
|
1100
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
1100
|
+
children: /* @__PURE__ */ (0, L.jsx)(lt, {
|
|
1101
1101
|
verificationService: e,
|
|
1102
1102
|
fallbackLogo: r
|
|
1103
1103
|
})
|
|
@@ -1117,30 +1117,30 @@ function V(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
|
|
|
1117
1117
|
}
|
|
1118
1118
|
//#endregion
|
|
1119
1119
|
//#region ../node_modules/@radix-ui/react-compose-refs/dist/index.mjs
|
|
1120
|
-
function
|
|
1120
|
+
function _n(e, t) {
|
|
1121
1121
|
if (typeof e == "function") return e(t);
|
|
1122
1122
|
e != null && (e.current = t);
|
|
1123
1123
|
}
|
|
1124
|
-
function
|
|
1124
|
+
function vn(...e) {
|
|
1125
1125
|
return (t) => {
|
|
1126
1126
|
let n = !1, r = e.map((e) => {
|
|
1127
|
-
let r =
|
|
1127
|
+
let r = _n(e, t);
|
|
1128
1128
|
return !n && typeof r == "function" && (n = !0), r;
|
|
1129
1129
|
});
|
|
1130
1130
|
if (n) return () => {
|
|
1131
1131
|
for (let t = 0; t < r.length; t++) {
|
|
1132
1132
|
let n = r[t];
|
|
1133
|
-
typeof n == "function" ? n() :
|
|
1133
|
+
typeof n == "function" ? n() : _n(e[t], null);
|
|
1134
1134
|
}
|
|
1135
1135
|
};
|
|
1136
1136
|
};
|
|
1137
1137
|
}
|
|
1138
1138
|
function H(...e) {
|
|
1139
|
-
return I.useCallback(
|
|
1139
|
+
return I.useCallback(vn(...e), e);
|
|
1140
1140
|
}
|
|
1141
1141
|
//#endregion
|
|
1142
1142
|
//#region ../node_modules/@radix-ui/react-context/dist/index.mjs
|
|
1143
|
-
function
|
|
1143
|
+
function yn(e, t = []) {
|
|
1144
1144
|
let n = [];
|
|
1145
1145
|
function r(t, r) {
|
|
1146
1146
|
let i = I.createContext(r), a = n.length;
|
|
@@ -1171,9 +1171,9 @@ function vn(e, t = []) {
|
|
|
1171
1171
|
} }), [n, r]);
|
|
1172
1172
|
};
|
|
1173
1173
|
};
|
|
1174
|
-
return i.scopeName = e, [r,
|
|
1174
|
+
return i.scopeName = e, [r, bn(i, ...t)];
|
|
1175
1175
|
}
|
|
1176
|
-
function
|
|
1176
|
+
function bn(...e) {
|
|
1177
1177
|
let t = e[0];
|
|
1178
1178
|
if (e.length === 1) return t;
|
|
1179
1179
|
let n = () => {
|
|
@@ -1197,9 +1197,9 @@ function yn(...e) {
|
|
|
1197
1197
|
//#endregion
|
|
1198
1198
|
//#region ../node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
1199
1199
|
// @__NO_SIDE_EFFECTS__
|
|
1200
|
-
function
|
|
1201
|
-
let t = /* @__PURE__ */
|
|
1202
|
-
let { children: r, ...i } = e, a = I.Children.toArray(r), o = a.find(
|
|
1200
|
+
function xn(e) {
|
|
1201
|
+
let t = /* @__PURE__ */ Sn(e), n = I.forwardRef((e, n) => {
|
|
1202
|
+
let { children: r, ...i } = e, a = I.Children.toArray(r), o = a.find(wn);
|
|
1203
1203
|
if (o) {
|
|
1204
1204
|
let e = o.props.children, r = a.map((t) => t === o ? I.Children.count(e) > 1 ? I.Children.only(null) : I.isValidElement(e) ? e.props.children : null : t);
|
|
1205
1205
|
return /* @__PURE__ */ (0, L.jsx)(t, {
|
|
@@ -1217,22 +1217,22 @@ function bn(e) {
|
|
|
1217
1217
|
return n.displayName = `${e}.Slot`, n;
|
|
1218
1218
|
}
|
|
1219
1219
|
// @__NO_SIDE_EFFECTS__
|
|
1220
|
-
function
|
|
1220
|
+
function Sn(e) {
|
|
1221
1221
|
let t = I.forwardRef((e, t) => {
|
|
1222
1222
|
let { children: n, ...r } = e;
|
|
1223
1223
|
if (I.isValidElement(n)) {
|
|
1224
|
-
let e =
|
|
1225
|
-
return n.type !== I.Fragment && (i.ref = t ?
|
|
1224
|
+
let e = En(n), i = Tn(r, n.props);
|
|
1225
|
+
return n.type !== I.Fragment && (i.ref = t ? vn(t, e) : e), I.cloneElement(n, i);
|
|
1226
1226
|
}
|
|
1227
1227
|
return I.Children.count(n) > 1 ? I.Children.only(null) : null;
|
|
1228
1228
|
});
|
|
1229
1229
|
return t.displayName = `${e}.SlotClone`, t;
|
|
1230
1230
|
}
|
|
1231
|
-
var
|
|
1232
|
-
function
|
|
1233
|
-
return I.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId ===
|
|
1231
|
+
var Cn = Symbol("radix.slottable");
|
|
1232
|
+
function wn(e) {
|
|
1233
|
+
return I.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === Cn;
|
|
1234
1234
|
}
|
|
1235
|
-
function
|
|
1235
|
+
function Tn(e, t) {
|
|
1236
1236
|
let n = { ...t };
|
|
1237
1237
|
for (let r in t) {
|
|
1238
1238
|
let i = e[r], a = t[r];
|
|
@@ -1249,7 +1249,7 @@ function wn(e, t) {
|
|
|
1249
1249
|
...n
|
|
1250
1250
|
};
|
|
1251
1251
|
}
|
|
1252
|
-
function
|
|
1252
|
+
function En(e) {
|
|
1253
1253
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
1254
1254
|
return n ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
|
|
1255
1255
|
}
|
|
@@ -1274,7 +1274,7 @@ var U = [
|
|
|
1274
1274
|
"svg",
|
|
1275
1275
|
"ul"
|
|
1276
1276
|
].reduce((e, t) => {
|
|
1277
|
-
let n = /* @__PURE__ */
|
|
1277
|
+
let n = /* @__PURE__ */ xn(`Primitive.${t}`), r = I.forwardRef((e, r) => {
|
|
1278
1278
|
let { asChild: i, ...a } = e, o = i ? n : t;
|
|
1279
1279
|
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ (0, L.jsx)(o, {
|
|
1280
1280
|
...a,
|
|
@@ -1286,12 +1286,12 @@ var U = [
|
|
|
1286
1286
|
[t]: r
|
|
1287
1287
|
};
|
|
1288
1288
|
}, {});
|
|
1289
|
-
function
|
|
1290
|
-
e &&
|
|
1289
|
+
function Dn(e, t) {
|
|
1290
|
+
e && pt.flushSync(() => e.dispatchEvent(t));
|
|
1291
1291
|
}
|
|
1292
1292
|
//#endregion
|
|
1293
1293
|
//#region ../node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
|
|
1294
|
-
function
|
|
1294
|
+
function On(e) {
|
|
1295
1295
|
let t = I.useRef(e);
|
|
1296
1296
|
return I.useEffect(() => {
|
|
1297
1297
|
t.current = e;
|
|
@@ -1299,8 +1299,8 @@ function Dn(e) {
|
|
|
1299
1299
|
}
|
|
1300
1300
|
//#endregion
|
|
1301
1301
|
//#region ../node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs
|
|
1302
|
-
function
|
|
1303
|
-
let n =
|
|
1302
|
+
function kn(e, t = globalThis?.document) {
|
|
1303
|
+
let n = On(e);
|
|
1304
1304
|
I.useEffect(() => {
|
|
1305
1305
|
let e = (e) => {
|
|
1306
1306
|
e.key === "Escape" && n(e);
|
|
@@ -1310,23 +1310,23 @@ function On(e, t = globalThis?.document) {
|
|
|
1310
1310
|
}
|
|
1311
1311
|
//#endregion
|
|
1312
1312
|
//#region ../node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
|
|
1313
|
-
var
|
|
1313
|
+
var An = "DismissableLayer", jn = "dismissableLayer.update", Mn = "dismissableLayer.pointerDownOutside", Nn = "dismissableLayer.focusOutside", Pn, Fn = I.createContext({
|
|
1314
1314
|
layers: /* @__PURE__ */ new Set(),
|
|
1315
1315
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
1316
1316
|
branches: /* @__PURE__ */ new Set()
|
|
1317
|
-
}),
|
|
1318
|
-
let { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: o, onDismiss: s, ...c } = e, l = I.useContext(
|
|
1317
|
+
}), In = I.forwardRef((e, t) => {
|
|
1318
|
+
let { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: o, onDismiss: s, ...c } = e, l = I.useContext(Fn), [u, d] = I.useState(null), f = u?.ownerDocument ?? globalThis?.document, [, p] = I.useState({}), m = H(t, (e) => d(e)), h = Array.from(l.layers), [g] = [...l.layersWithOutsidePointerEventsDisabled].slice(-1), _ = h.indexOf(g), v = u ? h.indexOf(u) : -1, y = l.layersWithOutsidePointerEventsDisabled.size > 0, b = v >= _, x = zn((e) => {
|
|
1319
1319
|
let t = e.target, n = [...l.branches].some((e) => e.contains(t));
|
|
1320
1320
|
!b || n || (i?.(e), o?.(e), e.defaultPrevented || s?.());
|
|
1321
|
-
}, f), S =
|
|
1321
|
+
}, f), S = Bn((e) => {
|
|
1322
1322
|
let t = e.target;
|
|
1323
1323
|
[...l.branches].some((e) => e.contains(t)) || (a?.(e), o?.(e), e.defaultPrevented || s?.());
|
|
1324
1324
|
}, f);
|
|
1325
|
-
return
|
|
1325
|
+
return kn((e) => {
|
|
1326
1326
|
v === l.layers.size - 1 && (r?.(e), !e.defaultPrevented && s && (e.preventDefault(), s()));
|
|
1327
1327
|
}, f), I.useEffect(() => {
|
|
1328
|
-
if (u) return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (
|
|
1329
|
-
n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (f.body.style.pointerEvents =
|
|
1328
|
+
if (u) return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (Pn = f.body.style.pointerEvents, f.body.style.pointerEvents = "none"), l.layersWithOutsidePointerEventsDisabled.add(u)), l.layers.add(u), Vn(), () => {
|
|
1329
|
+
n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (f.body.style.pointerEvents = Pn);
|
|
1330
1330
|
};
|
|
1331
1331
|
}, [
|
|
1332
1332
|
u,
|
|
@@ -1334,10 +1334,10 @@ var kn = "DismissableLayer", An = "dismissableLayer.update", jn = "dismissableLa
|
|
|
1334
1334
|
n,
|
|
1335
1335
|
l
|
|
1336
1336
|
]), I.useEffect(() => () => {
|
|
1337
|
-
u && (l.layers.delete(u), l.layersWithOutsidePointerEventsDisabled.delete(u),
|
|
1337
|
+
u && (l.layers.delete(u), l.layersWithOutsidePointerEventsDisabled.delete(u), Vn());
|
|
1338
1338
|
}, [u, l]), I.useEffect(() => {
|
|
1339
1339
|
let e = () => p({});
|
|
1340
|
-
return document.addEventListener(
|
|
1340
|
+
return document.addEventListener(jn, e), () => document.removeEventListener(jn, e);
|
|
1341
1341
|
}, []), /* @__PURE__ */ (0, L.jsx)(U.div, {
|
|
1342
1342
|
...c,
|
|
1343
1343
|
ref: m,
|
|
@@ -1350,9 +1350,9 @@ var kn = "DismissableLayer", An = "dismissableLayer.update", jn = "dismissableLa
|
|
|
1350
1350
|
onPointerDownCapture: V(e.onPointerDownCapture, x.onPointerDownCapture)
|
|
1351
1351
|
});
|
|
1352
1352
|
});
|
|
1353
|
-
|
|
1354
|
-
var
|
|
1355
|
-
let n = I.useContext(
|
|
1353
|
+
In.displayName = An;
|
|
1354
|
+
var Ln = "DismissableLayerBranch", Rn = I.forwardRef((e, t) => {
|
|
1355
|
+
let n = I.useContext(Fn), r = I.useRef(null), i = H(t, r);
|
|
1356
1356
|
return I.useEffect(() => {
|
|
1357
1357
|
let e = r.current;
|
|
1358
1358
|
if (e) return n.branches.add(e), () => {
|
|
@@ -1363,14 +1363,14 @@ var In = "DismissableLayerBranch", Ln = I.forwardRef((e, t) => {
|
|
|
1363
1363
|
ref: i
|
|
1364
1364
|
});
|
|
1365
1365
|
});
|
|
1366
|
-
|
|
1367
|
-
function
|
|
1368
|
-
let n =
|
|
1366
|
+
Rn.displayName = Ln;
|
|
1367
|
+
function zn(e, t = globalThis?.document) {
|
|
1368
|
+
let n = On(e), r = I.useRef(!1), i = I.useRef(() => {});
|
|
1369
1369
|
return I.useEffect(() => {
|
|
1370
1370
|
let e = (e) => {
|
|
1371
1371
|
if (e.target && !r.current) {
|
|
1372
1372
|
let r = function() {
|
|
1373
|
-
|
|
1373
|
+
Hn(Mn, n, a, { discrete: !0 });
|
|
1374
1374
|
}, a = { originalEvent: e };
|
|
1375
1375
|
e.pointerType === "touch" ? (t.removeEventListener("click", i.current), i.current = r, t.addEventListener("click", i.current, { once: !0 })) : r();
|
|
1376
1376
|
} else t.removeEventListener("click", i.current);
|
|
@@ -1383,11 +1383,11 @@ function Rn(e, t = globalThis?.document) {
|
|
|
1383
1383
|
};
|
|
1384
1384
|
}, [t, n]), { onPointerDownCapture: () => r.current = !0 };
|
|
1385
1385
|
}
|
|
1386
|
-
function
|
|
1387
|
-
let n =
|
|
1386
|
+
function Bn(e, t = globalThis?.document) {
|
|
1387
|
+
let n = On(e), r = I.useRef(!1);
|
|
1388
1388
|
return I.useEffect(() => {
|
|
1389
1389
|
let e = (e) => {
|
|
1390
|
-
e.target && !r.current &&
|
|
1390
|
+
e.target && !r.current && Hn(Nn, n, { originalEvent: e }, { discrete: !1 });
|
|
1391
1391
|
};
|
|
1392
1392
|
return t.addEventListener("focusin", e), () => t.removeEventListener("focusin", e);
|
|
1393
1393
|
}, [t, n]), {
|
|
@@ -1395,40 +1395,40 @@ function zn(e, t = globalThis?.document) {
|
|
|
1395
1395
|
onBlurCapture: () => r.current = !1
|
|
1396
1396
|
};
|
|
1397
1397
|
}
|
|
1398
|
-
function
|
|
1399
|
-
let e = new CustomEvent(
|
|
1398
|
+
function Vn() {
|
|
1399
|
+
let e = new CustomEvent(jn);
|
|
1400
1400
|
document.dispatchEvent(e);
|
|
1401
1401
|
}
|
|
1402
|
-
function
|
|
1402
|
+
function Hn(e, t, n, { discrete: r }) {
|
|
1403
1403
|
let i = n.originalEvent.target, a = new CustomEvent(e, {
|
|
1404
1404
|
bubbles: !1,
|
|
1405
1405
|
cancelable: !0,
|
|
1406
1406
|
detail: n
|
|
1407
1407
|
});
|
|
1408
|
-
t && i.addEventListener(e, t, { once: !0 }), r ?
|
|
1408
|
+
t && i.addEventListener(e, t, { once: !0 }), r ? Dn(i, a) : i.dispatchEvent(a);
|
|
1409
1409
|
}
|
|
1410
1410
|
//#endregion
|
|
1411
1411
|
//#region ../node_modules/@radix-ui/react-focus-guards/dist/index.mjs
|
|
1412
|
-
var
|
|
1413
|
-
function
|
|
1412
|
+
var Un = 0;
|
|
1413
|
+
function Wn() {
|
|
1414
1414
|
I.useEffect(() => {
|
|
1415
1415
|
let e = document.querySelectorAll("[data-radix-focus-guard]");
|
|
1416
|
-
return document.body.insertAdjacentElement("afterbegin", e[0] ??
|
|
1417
|
-
|
|
1416
|
+
return document.body.insertAdjacentElement("afterbegin", e[0] ?? Gn()), document.body.insertAdjacentElement("beforeend", e[1] ?? Gn()), Un++, () => {
|
|
1417
|
+
Un === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((e) => e.remove()), Un--;
|
|
1418
1418
|
};
|
|
1419
1419
|
}, []);
|
|
1420
1420
|
}
|
|
1421
|
-
function
|
|
1421
|
+
function Gn() {
|
|
1422
1422
|
let e = document.createElement("span");
|
|
1423
1423
|
return e.setAttribute("data-radix-focus-guard", ""), e.tabIndex = 0, e.style.outline = "none", e.style.opacity = "0", e.style.position = "fixed", e.style.pointerEvents = "none", e;
|
|
1424
1424
|
}
|
|
1425
1425
|
//#endregion
|
|
1426
1426
|
//#region ../node_modules/@radix-ui/react-focus-scope/dist/index.mjs
|
|
1427
|
-
var
|
|
1427
|
+
var Kn = "focusScope.autoFocusOnMount", qn = "focusScope.autoFocusOnUnmount", Jn = {
|
|
1428
1428
|
bubbles: !1,
|
|
1429
1429
|
cancelable: !0
|
|
1430
|
-
},
|
|
1431
|
-
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [s, c] = I.useState(null), l =
|
|
1430
|
+
}, Yn = "FocusScope", Xn = I.forwardRef((e, t) => {
|
|
1431
|
+
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [s, c] = I.useState(null), l = On(i), u = On(a), d = I.useRef(null), f = H(t, (e) => c(e)), p = I.useRef({
|
|
1432
1432
|
paused: !1,
|
|
1433
1433
|
pause() {
|
|
1434
1434
|
this.paused = !0;
|
|
@@ -1442,13 +1442,13 @@ var Gn = "focusScope.autoFocusOnMount", Kn = "focusScope.autoFocusOnUnmount", qn
|
|
|
1442
1442
|
let e = function(e) {
|
|
1443
1443
|
if (p.paused || !s) return;
|
|
1444
1444
|
let t = e.target;
|
|
1445
|
-
s.contains(t) ? d.current = t :
|
|
1445
|
+
s.contains(t) ? d.current = t : rr(d.current, { select: !0 });
|
|
1446
1446
|
}, t = function(e) {
|
|
1447
1447
|
if (p.paused || !s) return;
|
|
1448
1448
|
let t = e.relatedTarget;
|
|
1449
|
-
t !== null && (s.contains(t) ||
|
|
1449
|
+
t !== null && (s.contains(t) || rr(d.current, { select: !0 }));
|
|
1450
1450
|
}, n = function(e) {
|
|
1451
|
-
if (document.activeElement === document.body) for (let t of e) t.removedNodes.length > 0 &&
|
|
1451
|
+
if (document.activeElement === document.body) for (let t of e) t.removedNodes.length > 0 && rr(s);
|
|
1452
1452
|
};
|
|
1453
1453
|
document.addEventListener("focusin", e), document.addEventListener("focusout", t);
|
|
1454
1454
|
let r = new MutationObserver(n);
|
|
@@ -1465,16 +1465,16 @@ var Gn = "focusScope.autoFocusOnMount", Kn = "focusScope.autoFocusOnUnmount", qn
|
|
|
1465
1465
|
p.paused
|
|
1466
1466
|
]), I.useEffect(() => {
|
|
1467
1467
|
if (s) {
|
|
1468
|
-
|
|
1468
|
+
ir.add(p);
|
|
1469
1469
|
let e = document.activeElement;
|
|
1470
1470
|
if (!s.contains(e)) {
|
|
1471
|
-
let t = new CustomEvent(
|
|
1472
|
-
s.addEventListener(
|
|
1471
|
+
let t = new CustomEvent(Kn, Jn);
|
|
1472
|
+
s.addEventListener(Kn, l), s.dispatchEvent(t), t.defaultPrevented || (Zn(sr($n(s)), { select: !0 }), document.activeElement === e && rr(s));
|
|
1473
1473
|
}
|
|
1474
1474
|
return () => {
|
|
1475
|
-
s.removeEventListener(
|
|
1476
|
-
let t = new CustomEvent(
|
|
1477
|
-
s.addEventListener(
|
|
1475
|
+
s.removeEventListener(Kn, l), setTimeout(() => {
|
|
1476
|
+
let t = new CustomEvent(qn, Jn);
|
|
1477
|
+
s.addEventListener(qn, u), s.dispatchEvent(t), t.defaultPrevented || rr(e ?? document.body, { select: !0 }), s.removeEventListener(qn, u), ir.remove(p);
|
|
1478
1478
|
}, 0);
|
|
1479
1479
|
};
|
|
1480
1480
|
}
|
|
@@ -1488,8 +1488,8 @@ var Gn = "focusScope.autoFocusOnMount", Kn = "focusScope.autoFocusOnUnmount", qn
|
|
|
1488
1488
|
if (!n && !r || p.paused) return;
|
|
1489
1489
|
let t = e.key === "Tab" && !e.altKey && !e.ctrlKey && !e.metaKey, i = document.activeElement;
|
|
1490
1490
|
if (t && i) {
|
|
1491
|
-
let t = e.currentTarget, [r, a] =
|
|
1492
|
-
r && a ? !e.shiftKey && i === a ? (e.preventDefault(), n &&
|
|
1491
|
+
let t = e.currentTarget, [r, a] = Qn(t);
|
|
1492
|
+
r && a ? !e.shiftKey && i === a ? (e.preventDefault(), n && rr(r, { select: !0 })) : e.shiftKey && i === r && (e.preventDefault(), n && rr(a, { select: !0 })) : i === t && e.preventDefault();
|
|
1493
1493
|
}
|
|
1494
1494
|
}, [
|
|
1495
1495
|
n,
|
|
@@ -1503,16 +1503,16 @@ var Gn = "focusScope.autoFocusOnMount", Kn = "focusScope.autoFocusOnUnmount", qn
|
|
|
1503
1503
|
onKeyDown: m
|
|
1504
1504
|
});
|
|
1505
1505
|
});
|
|
1506
|
-
|
|
1507
|
-
function
|
|
1506
|
+
Xn.displayName = Yn;
|
|
1507
|
+
function Zn(e, { select: t = !1 } = {}) {
|
|
1508
1508
|
let n = document.activeElement;
|
|
1509
|
-
for (let r of e) if (
|
|
1510
|
-
}
|
|
1511
|
-
function Zn(e) {
|
|
1512
|
-
let t = Qn(e);
|
|
1513
|
-
return [$n(t, e), $n(t.reverse(), e)];
|
|
1509
|
+
for (let r of e) if (rr(r, { select: t }), document.activeElement !== n) return;
|
|
1514
1510
|
}
|
|
1515
1511
|
function Qn(e) {
|
|
1512
|
+
let t = $n(e);
|
|
1513
|
+
return [er(t, e), er(t.reverse(), e)];
|
|
1514
|
+
}
|
|
1515
|
+
function $n(e) {
|
|
1516
1516
|
let t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, { acceptNode: (e) => {
|
|
1517
1517
|
let t = e.tagName === "INPUT" && e.type === "hidden";
|
|
1518
1518
|
return e.disabled || e.hidden || t ? NodeFilter.FILTER_SKIP : e.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
|
|
@@ -1520,10 +1520,10 @@ function Qn(e) {
|
|
|
1520
1520
|
for (; n.nextNode();) t.push(n.currentNode);
|
|
1521
1521
|
return t;
|
|
1522
1522
|
}
|
|
1523
|
-
function
|
|
1524
|
-
for (let n of e) if (!
|
|
1523
|
+
function er(e, t) {
|
|
1524
|
+
for (let n of e) if (!tr(n, { upTo: t })) return n;
|
|
1525
1525
|
}
|
|
1526
|
-
function
|
|
1526
|
+
function tr(e, { upTo: t }) {
|
|
1527
1527
|
if (getComputedStyle(e).visibility === "hidden") return !0;
|
|
1528
1528
|
for (; e;) {
|
|
1529
1529
|
if (t !== void 0 && e === t) return !1;
|
|
@@ -1532,62 +1532,62 @@ function er(e, { upTo: t }) {
|
|
|
1532
1532
|
}
|
|
1533
1533
|
return !1;
|
|
1534
1534
|
}
|
|
1535
|
-
function
|
|
1535
|
+
function nr(e) {
|
|
1536
1536
|
return e instanceof HTMLInputElement && "select" in e;
|
|
1537
1537
|
}
|
|
1538
|
-
function
|
|
1538
|
+
function rr(e, { select: t = !1 } = {}) {
|
|
1539
1539
|
if (e && e.focus) {
|
|
1540
1540
|
let n = document.activeElement;
|
|
1541
|
-
e.focus({ preventScroll: !0 }), e !== n &&
|
|
1541
|
+
e.focus({ preventScroll: !0 }), e !== n && nr(e) && t && e.select();
|
|
1542
1542
|
}
|
|
1543
1543
|
}
|
|
1544
|
-
var
|
|
1545
|
-
function
|
|
1544
|
+
var ir = ar();
|
|
1545
|
+
function ar() {
|
|
1546
1546
|
let e = [];
|
|
1547
1547
|
return {
|
|
1548
1548
|
add(t) {
|
|
1549
1549
|
let n = e[0];
|
|
1550
|
-
t !== n && n?.pause(), e =
|
|
1550
|
+
t !== n && n?.pause(), e = or(e, t), e.unshift(t);
|
|
1551
1551
|
},
|
|
1552
1552
|
remove(t) {
|
|
1553
|
-
e =
|
|
1553
|
+
e = or(e, t), e[0]?.resume();
|
|
1554
1554
|
}
|
|
1555
1555
|
};
|
|
1556
1556
|
}
|
|
1557
|
-
function
|
|
1557
|
+
function or(e, t) {
|
|
1558
1558
|
let n = [...e], r = n.indexOf(t);
|
|
1559
1559
|
return r !== -1 && n.splice(r, 1), n;
|
|
1560
1560
|
}
|
|
1561
|
-
function
|
|
1561
|
+
function sr(e) {
|
|
1562
1562
|
return e.filter((e) => e.tagName !== "A");
|
|
1563
1563
|
}
|
|
1564
1564
|
//#endregion
|
|
1565
1565
|
//#region ../node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
|
|
1566
|
-
var
|
|
1567
|
-
function
|
|
1568
|
-
let [t, n] = I.useState(
|
|
1569
|
-
return
|
|
1570
|
-
e || n((e) => e ?? String(
|
|
1566
|
+
var cr = globalThis?.document ? I.useLayoutEffect : () => {}, lr = I.useId || (() => void 0), ur = 0;
|
|
1567
|
+
function dr(e) {
|
|
1568
|
+
let [t, n] = I.useState(lr());
|
|
1569
|
+
return cr(() => {
|
|
1570
|
+
e || n((e) => e ?? String(ur++));
|
|
1571
1571
|
}, [e]), e || (t ? `radix-${t}` : "");
|
|
1572
1572
|
}
|
|
1573
1573
|
//#endregion
|
|
1574
1574
|
//#region ../node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
|
|
1575
|
-
var
|
|
1575
|
+
var fr = [
|
|
1576
1576
|
"top",
|
|
1577
1577
|
"right",
|
|
1578
1578
|
"bottom",
|
|
1579
1579
|
"left"
|
|
1580
|
-
],
|
|
1580
|
+
], pr = Math.min, W = Math.max, mr = Math.round, hr = Math.floor, G = (e) => ({
|
|
1581
1581
|
x: e,
|
|
1582
1582
|
y: e
|
|
1583
|
-
}),
|
|
1583
|
+
}), gr = {
|
|
1584
1584
|
left: "right",
|
|
1585
1585
|
right: "left",
|
|
1586
1586
|
bottom: "top",
|
|
1587
1587
|
top: "bottom"
|
|
1588
1588
|
};
|
|
1589
|
-
function
|
|
1590
|
-
return W(e,
|
|
1589
|
+
function _r(e, t, n) {
|
|
1590
|
+
return W(e, pr(t, n));
|
|
1591
1591
|
}
|
|
1592
1592
|
function K(e, t) {
|
|
1593
1593
|
return typeof e == "function" ? e(t) : e;
|
|
@@ -1595,57 +1595,57 @@ function K(e, t) {
|
|
|
1595
1595
|
function q(e) {
|
|
1596
1596
|
return e.split("-")[0];
|
|
1597
1597
|
}
|
|
1598
|
-
function
|
|
1598
|
+
function vr(e) {
|
|
1599
1599
|
return e.split("-")[1];
|
|
1600
1600
|
}
|
|
1601
|
-
function
|
|
1601
|
+
function yr(e) {
|
|
1602
1602
|
return e === "x" ? "y" : "x";
|
|
1603
1603
|
}
|
|
1604
|
-
function
|
|
1604
|
+
function br(e) {
|
|
1605
1605
|
return e === "y" ? "height" : "width";
|
|
1606
1606
|
}
|
|
1607
1607
|
function J(e) {
|
|
1608
1608
|
let t = e[0];
|
|
1609
1609
|
return t === "t" || t === "b" ? "y" : "x";
|
|
1610
1610
|
}
|
|
1611
|
-
function
|
|
1612
|
-
return
|
|
1611
|
+
function xr(e) {
|
|
1612
|
+
return yr(J(e));
|
|
1613
1613
|
}
|
|
1614
|
-
function
|
|
1614
|
+
function Sr(e, t, n) {
|
|
1615
1615
|
n === void 0 && (n = !1);
|
|
1616
|
-
let r =
|
|
1617
|
-
return t.reference[a] > t.floating[a] && (o =
|
|
1616
|
+
let r = vr(e), i = xr(e), a = br(i), o = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
|
|
1617
|
+
return t.reference[a] > t.floating[a] && (o = jr(o)), [o, jr(o)];
|
|
1618
1618
|
}
|
|
1619
|
-
function
|
|
1620
|
-
let t =
|
|
1619
|
+
function Cr(e) {
|
|
1620
|
+
let t = jr(e);
|
|
1621
1621
|
return [
|
|
1622
|
-
|
|
1622
|
+
wr(e),
|
|
1623
1623
|
t,
|
|
1624
|
-
|
|
1624
|
+
wr(t)
|
|
1625
1625
|
];
|
|
1626
1626
|
}
|
|
1627
|
-
function
|
|
1627
|
+
function wr(e) {
|
|
1628
1628
|
return e.includes("start") ? e.replace("start", "end") : e.replace("end", "start");
|
|
1629
1629
|
}
|
|
1630
|
-
var
|
|
1631
|
-
function
|
|
1630
|
+
var Tr = ["left", "right"], Er = ["right", "left"], Dr = ["top", "bottom"], Or = ["bottom", "top"];
|
|
1631
|
+
function kr(e, t, n) {
|
|
1632
1632
|
switch (e) {
|
|
1633
1633
|
case "top":
|
|
1634
|
-
case "bottom": return n ? t ?
|
|
1634
|
+
case "bottom": return n ? t ? Er : Tr : t ? Tr : Er;
|
|
1635
1635
|
case "left":
|
|
1636
|
-
case "right": return t ?
|
|
1636
|
+
case "right": return t ? Dr : Or;
|
|
1637
1637
|
default: return [];
|
|
1638
1638
|
}
|
|
1639
1639
|
}
|
|
1640
|
-
function
|
|
1641
|
-
let i =
|
|
1642
|
-
return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(
|
|
1640
|
+
function Ar(e, t, n, r) {
|
|
1641
|
+
let i = vr(e), a = kr(q(e), n === "start", r);
|
|
1642
|
+
return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(wr)))), a;
|
|
1643
1643
|
}
|
|
1644
|
-
function
|
|
1644
|
+
function jr(e) {
|
|
1645
1645
|
let t = q(e);
|
|
1646
|
-
return
|
|
1646
|
+
return gr[t] + e.slice(t.length);
|
|
1647
1647
|
}
|
|
1648
|
-
function
|
|
1648
|
+
function Mr(e) {
|
|
1649
1649
|
return {
|
|
1650
1650
|
top: 0,
|
|
1651
1651
|
right: 0,
|
|
@@ -1654,15 +1654,15 @@ function jr(e) {
|
|
|
1654
1654
|
...e
|
|
1655
1655
|
};
|
|
1656
1656
|
}
|
|
1657
|
-
function
|
|
1657
|
+
function Nr(e) {
|
|
1658
1658
|
return typeof e == "number" ? {
|
|
1659
1659
|
top: e,
|
|
1660
1660
|
right: e,
|
|
1661
1661
|
bottom: e,
|
|
1662
1662
|
left: e
|
|
1663
|
-
} :
|
|
1663
|
+
} : Mr(e);
|
|
1664
1664
|
}
|
|
1665
|
-
function
|
|
1665
|
+
function Pr(e) {
|
|
1666
1666
|
let { x: t, y: n, width: r, height: i } = e;
|
|
1667
1667
|
return {
|
|
1668
1668
|
width: r,
|
|
@@ -1677,8 +1677,8 @@ function Nr(e) {
|
|
|
1677
1677
|
}
|
|
1678
1678
|
//#endregion
|
|
1679
1679
|
//#region ../node_modules/@floating-ui/core/dist/floating-ui.core.mjs
|
|
1680
|
-
function
|
|
1681
|
-
let { reference: r, floating: i } = e, a = J(t), o =
|
|
1680
|
+
function Fr(e, t, n) {
|
|
1681
|
+
let { reference: r, floating: i } = e, a = J(t), o = xr(t), s = br(o), c = q(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;
|
|
1682
1682
|
switch (c) {
|
|
1683
1683
|
case "top":
|
|
1684
1684
|
p = {
|
|
@@ -1709,7 +1709,7 @@ function Pr(e, t, n) {
|
|
|
1709
1709
|
y: r.y
|
|
1710
1710
|
};
|
|
1711
1711
|
}
|
|
1712
|
-
switch (
|
|
1712
|
+
switch (vr(t)) {
|
|
1713
1713
|
case "start":
|
|
1714
1714
|
p[o] -= f * (n && l ? -1 : 1);
|
|
1715
1715
|
break;
|
|
@@ -1719,9 +1719,9 @@ function Pr(e, t, n) {
|
|
|
1719
1719
|
}
|
|
1720
1720
|
return p;
|
|
1721
1721
|
}
|
|
1722
|
-
async function
|
|
1722
|
+
async function Ir(e, t) {
|
|
1723
1723
|
t === void 0 && (t = {});
|
|
1724
|
-
let { x: n, y: r, platform: i, rects: a, elements: o, strategy: s } = e, { boundary: c = "clippingAncestors", rootBoundary: l = "viewport", elementContext: u = "floating", altBoundary: d = !1, padding: f = 0 } = K(t, e), p =
|
|
1724
|
+
let { x: n, y: r, platform: i, rects: a, elements: o, strategy: s } = e, { boundary: c = "clippingAncestors", rootBoundary: l = "viewport", elementContext: u = "floating", altBoundary: d = !1, padding: f = 0 } = K(t, e), p = Nr(f), m = o[d ? u === "floating" ? "reference" : "floating" : u], h = Pr(await i.getClippingRect({
|
|
1725
1725
|
element: await (i.isElement == null ? void 0 : i.isElement(m)) ?? !0 ? m : m.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(o.floating)),
|
|
1726
1726
|
boundary: c,
|
|
1727
1727
|
rootBoundary: l,
|
|
@@ -1734,7 +1734,7 @@ async function Fr(e, t) {
|
|
|
1734
1734
|
} : a.reference, _ = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(o.floating)), v = await (i.isElement == null ? void 0 : i.isElement(_)) && await (i.getScale == null ? void 0 : i.getScale(_)) || {
|
|
1735
1735
|
x: 1,
|
|
1736
1736
|
y: 1
|
|
1737
|
-
}, y =
|
|
1737
|
+
}, y = Pr(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
1738
1738
|
elements: o,
|
|
1739
1739
|
rect: g,
|
|
1740
1740
|
offsetParent: _,
|
|
@@ -1747,15 +1747,15 @@ async function Fr(e, t) {
|
|
|
1747
1747
|
right: (y.right - h.right + p.right) / v.x
|
|
1748
1748
|
};
|
|
1749
1749
|
}
|
|
1750
|
-
var
|
|
1750
|
+
var Lr = 50, Rr = async (e, t, n) => {
|
|
1751
1751
|
let { placement: r = "bottom", strategy: i = "absolute", middleware: a = [], platform: o } = n, s = o.detectOverflow ? o : {
|
|
1752
1752
|
...o,
|
|
1753
|
-
detectOverflow:
|
|
1753
|
+
detectOverflow: Ir
|
|
1754
1754
|
}, c = await (o.isRTL == null ? void 0 : o.isRTL(t)), l = await o.getElementRects({
|
|
1755
1755
|
reference: e,
|
|
1756
1756
|
floating: t,
|
|
1757
1757
|
strategy: i
|
|
1758
|
-
}), { x: u, y: d } =
|
|
1758
|
+
}), { x: u, y: d } = Fr(l, r, c), f = r, p = 0, m = {};
|
|
1759
1759
|
for (let n = 0; n < a.length; n++) {
|
|
1760
1760
|
let h = a[n];
|
|
1761
1761
|
if (!h) continue;
|
|
@@ -1776,11 +1776,11 @@ var Ir = 50, Lr = async (e, t, n) => {
|
|
|
1776
1776
|
u = v ?? u, d = y ?? d, m[g] = {
|
|
1777
1777
|
...m[g],
|
|
1778
1778
|
...b
|
|
1779
|
-
}, x && p <
|
|
1779
|
+
}, x && p < Lr && (p++, typeof x == "object" && (x.placement && (f = x.placement), x.rects && (l = x.rects === !0 ? await o.getElementRects({
|
|
1780
1780
|
reference: e,
|
|
1781
1781
|
floating: t,
|
|
1782
1782
|
strategy: i
|
|
1783
|
-
}) : x.rects), {x: u, y: d} =
|
|
1783
|
+
}) : x.rects), {x: u, y: d} = Fr(l, f, c)), n = -1);
|
|
1784
1784
|
}
|
|
1785
1785
|
return {
|
|
1786
1786
|
x: u,
|
|
@@ -1789,18 +1789,18 @@ var Ir = 50, Lr = async (e, t, n) => {
|
|
|
1789
1789
|
strategy: i,
|
|
1790
1790
|
middlewareData: m
|
|
1791
1791
|
};
|
|
1792
|
-
},
|
|
1792
|
+
}, zr = (e) => ({
|
|
1793
1793
|
name: "arrow",
|
|
1794
1794
|
options: e,
|
|
1795
1795
|
async fn(t) {
|
|
1796
1796
|
let { x: n, y: r, placement: i, rects: a, platform: o, elements: s, middlewareData: c } = t, { element: l, padding: u = 0 } = K(e, t) || {};
|
|
1797
1797
|
if (l == null) return {};
|
|
1798
|
-
let d =
|
|
1798
|
+
let d = Nr(u), f = {
|
|
1799
1799
|
x: n,
|
|
1800
1800
|
y: r
|
|
1801
|
-
}, p =
|
|
1801
|
+
}, p = xr(i), m = br(p), h = await o.getDimensions(l), g = p === "y", _ = g ? "top" : "left", v = g ? "bottom" : "right", y = g ? "clientHeight" : "clientWidth", b = a.reference[m] + a.reference[p] - f[p] - a.floating[m], x = f[p] - a.reference[p], S = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(l)), C = S ? S[y] : 0;
|
|
1802
1802
|
(!C || !await (o.isElement == null ? void 0 : o.isElement(S))) && (C = s.floating[y] || a.floating[m]);
|
|
1803
|
-
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1, E =
|
|
1803
|
+
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1, E = pr(d[_], T), D = pr(d[v], T), O = E, k = C - h[m] - D, A = C / 2 - h[m] / 2 + w, ee = _r(O, A, k), j = !c.arrow && vr(i) != null && A !== ee && a.reference[m] / 2 - (A < O ? E : D) - h[m] / 2 < 0, M = j ? A < O ? A - O : A - k : 0;
|
|
1804
1804
|
return {
|
|
1805
1805
|
[p]: f[p] + M,
|
|
1806
1806
|
data: {
|
|
@@ -1811,7 +1811,7 @@ var Ir = 50, Lr = async (e, t, n) => {
|
|
|
1811
1811
|
reset: j
|
|
1812
1812
|
};
|
|
1813
1813
|
}
|
|
1814
|
-
}),
|
|
1814
|
+
}), Br = function(e) {
|
|
1815
1815
|
return e === void 0 && (e = {}), {
|
|
1816
1816
|
name: "flip",
|
|
1817
1817
|
options: e,
|
|
@@ -1819,11 +1819,11 @@ var Ir = 50, Lr = async (e, t, n) => {
|
|
|
1819
1819
|
var n;
|
|
1820
1820
|
let { placement: r, middlewareData: i, rects: a, initialPlacement: o, platform: s, elements: c } = t, { mainAxis: l = !0, crossAxis: u = !0, fallbackPlacements: d, fallbackStrategy: f = "bestFit", fallbackAxisSideDirection: p = "none", flipAlignment: m = !0, ...h } = K(e, t);
|
|
1821
1821
|
if ((n = i.arrow) != null && n.alignmentOffset) return {};
|
|
1822
|
-
let g = q(r), _ = J(o), v = q(o) === o, y = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), b = d || (v || !m ? [
|
|
1823
|
-
!d && x && b.push(...
|
|
1822
|
+
let g = q(r), _ = J(o), v = q(o) === o, y = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), b = d || (v || !m ? [jr(o)] : Cr(o)), x = p !== "none";
|
|
1823
|
+
!d && x && b.push(...Ar(o, m, p, y));
|
|
1824
1824
|
let S = [o, ...b], C = await s.detectOverflow(t, h), w = [], T = i.flip?.overflows || [];
|
|
1825
1825
|
if (l && w.push(C[g]), u) {
|
|
1826
|
-
let e =
|
|
1826
|
+
let e = Sr(r, a, y);
|
|
1827
1827
|
w.push(C[e[0]], C[e[1]]);
|
|
1828
1828
|
}
|
|
1829
1829
|
if (T = [...T, {
|
|
@@ -1861,7 +1861,7 @@ var Ir = 50, Lr = async (e, t, n) => {
|
|
|
1861
1861
|
}
|
|
1862
1862
|
};
|
|
1863
1863
|
};
|
|
1864
|
-
function
|
|
1864
|
+
function Vr(e, t) {
|
|
1865
1865
|
return {
|
|
1866
1866
|
top: e.top - t.height,
|
|
1867
1867
|
right: e.right - t.width,
|
|
@@ -1869,10 +1869,10 @@ function Br(e, t) {
|
|
|
1869
1869
|
left: e.left - t.width
|
|
1870
1870
|
};
|
|
1871
1871
|
}
|
|
1872
|
-
function
|
|
1873
|
-
return
|
|
1872
|
+
function Hr(e) {
|
|
1873
|
+
return fr.some((t) => e[t] >= 0);
|
|
1874
1874
|
}
|
|
1875
|
-
var
|
|
1875
|
+
var Ur = function(e) {
|
|
1876
1876
|
return e === void 0 && (e = {}), {
|
|
1877
1877
|
name: "hide",
|
|
1878
1878
|
options: e,
|
|
@@ -1880,32 +1880,32 @@ var Hr = function(e) {
|
|
|
1880
1880
|
let { rects: n, platform: r } = t, { strategy: i = "referenceHidden", ...a } = K(e, t);
|
|
1881
1881
|
switch (i) {
|
|
1882
1882
|
case "referenceHidden": {
|
|
1883
|
-
let e =
|
|
1883
|
+
let e = Vr(await r.detectOverflow(t, {
|
|
1884
1884
|
...a,
|
|
1885
1885
|
elementContext: "reference"
|
|
1886
1886
|
}), n.reference);
|
|
1887
1887
|
return { data: {
|
|
1888
1888
|
referenceHiddenOffsets: e,
|
|
1889
|
-
referenceHidden:
|
|
1889
|
+
referenceHidden: Hr(e)
|
|
1890
1890
|
} };
|
|
1891
1891
|
}
|
|
1892
1892
|
case "escaped": {
|
|
1893
|
-
let e =
|
|
1893
|
+
let e = Vr(await r.detectOverflow(t, {
|
|
1894
1894
|
...a,
|
|
1895
1895
|
altBoundary: !0
|
|
1896
1896
|
}), n.floating);
|
|
1897
1897
|
return { data: {
|
|
1898
1898
|
escapedOffsets: e,
|
|
1899
|
-
escaped:
|
|
1899
|
+
escaped: Hr(e)
|
|
1900
1900
|
} };
|
|
1901
1901
|
}
|
|
1902
1902
|
default: return {};
|
|
1903
1903
|
}
|
|
1904
1904
|
}
|
|
1905
1905
|
};
|
|
1906
|
-
},
|
|
1907
|
-
async function
|
|
1908
|
-
let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = q(n), s =
|
|
1906
|
+
}, Wr = /*#__PURE__*/ new Set(["left", "top"]);
|
|
1907
|
+
async function Gr(e, t) {
|
|
1908
|
+
let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = q(n), s = vr(n), c = J(n) === "y", l = Wr.has(o) ? -1 : 1, u = a && c ? -1 : 1, d = K(t, e), { mainAxis: f, crossAxis: p, alignmentAxis: m } = typeof d == "number" ? {
|
|
1909
1909
|
mainAxis: d,
|
|
1910
1910
|
crossAxis: 0,
|
|
1911
1911
|
alignmentAxis: null
|
|
@@ -1922,13 +1922,13 @@ async function Wr(e, t) {
|
|
|
1922
1922
|
y: p * u
|
|
1923
1923
|
};
|
|
1924
1924
|
}
|
|
1925
|
-
var
|
|
1925
|
+
var Kr = function(e) {
|
|
1926
1926
|
return e === void 0 && (e = 0), {
|
|
1927
1927
|
name: "offset",
|
|
1928
1928
|
options: e,
|
|
1929
1929
|
async fn(t) {
|
|
1930
1930
|
var n;
|
|
1931
|
-
let { x: r, y: i, placement: a, middlewareData: o } = t, s = await
|
|
1931
|
+
let { x: r, y: i, placement: a, middlewareData: o } = t, s = await Gr(t, e);
|
|
1932
1932
|
return a === o.offset?.placement && (n = o.arrow) != null && n.alignmentOffset ? {} : {
|
|
1933
1933
|
x: r + s.x,
|
|
1934
1934
|
y: i + s.y,
|
|
@@ -1939,7 +1939,7 @@ var Gr = function(e) {
|
|
|
1939
1939
|
};
|
|
1940
1940
|
}
|
|
1941
1941
|
};
|
|
1942
|
-
},
|
|
1942
|
+
}, qr = function(e) {
|
|
1943
1943
|
return e === void 0 && (e = {}), {
|
|
1944
1944
|
name: "shift",
|
|
1945
1945
|
options: e,
|
|
@@ -1953,14 +1953,14 @@ var Gr = function(e) {
|
|
|
1953
1953
|
} }, ...l } = K(e, t), u = {
|
|
1954
1954
|
x: n,
|
|
1955
1955
|
y: r
|
|
1956
|
-
}, d = await a.detectOverflow(t, l), f = J(q(i)), p =
|
|
1956
|
+
}, d = await a.detectOverflow(t, l), f = J(q(i)), p = yr(f), m = u[p], h = u[f];
|
|
1957
1957
|
if (o) {
|
|
1958
1958
|
let e = p === "y" ? "top" : "left", t = p === "y" ? "bottom" : "right", n = m + d[e], r = m - d[t];
|
|
1959
|
-
m =
|
|
1959
|
+
m = _r(n, m, r);
|
|
1960
1960
|
}
|
|
1961
1961
|
if (s) {
|
|
1962
1962
|
let e = f === "y" ? "top" : "left", t = f === "y" ? "bottom" : "right", n = h + d[e], r = h - d[t];
|
|
1963
|
-
h =
|
|
1963
|
+
h = _r(n, h, r);
|
|
1964
1964
|
}
|
|
1965
1965
|
let g = c.fn({
|
|
1966
1966
|
...t,
|
|
@@ -1980,14 +1980,14 @@ var Gr = function(e) {
|
|
|
1980
1980
|
};
|
|
1981
1981
|
}
|
|
1982
1982
|
};
|
|
1983
|
-
},
|
|
1983
|
+
}, Jr = function(e) {
|
|
1984
1984
|
return e === void 0 && (e = {}), {
|
|
1985
1985
|
options: e,
|
|
1986
1986
|
fn(t) {
|
|
1987
1987
|
let { x: n, y: r, placement: i, rects: a, middlewareData: o } = t, { offset: s = 0, mainAxis: c = !0, crossAxis: l = !0 } = K(e, t), u = {
|
|
1988
1988
|
x: n,
|
|
1989
1989
|
y: r
|
|
1990
|
-
}, d = J(i), f =
|
|
1990
|
+
}, d = J(i), f = yr(d), p = u[f], m = u[d], h = K(s, t), g = typeof h == "number" ? {
|
|
1991
1991
|
mainAxis: h,
|
|
1992
1992
|
crossAxis: 0
|
|
1993
1993
|
} : {
|
|
@@ -2000,7 +2000,7 @@ var Gr = function(e) {
|
|
|
2000
2000
|
p < t ? p = t : p > n && (p = n);
|
|
2001
2001
|
}
|
|
2002
2002
|
if (l) {
|
|
2003
|
-
let e = f === "y" ? "width" : "height", t =
|
|
2003
|
+
let e = f === "y" ? "width" : "height", t = Wr.has(q(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);
|
|
2004
2004
|
m < n ? m = n : m > r && (m = r);
|
|
2005
2005
|
}
|
|
2006
2006
|
return {
|
|
@@ -2009,15 +2009,15 @@ var Gr = function(e) {
|
|
|
2009
2009
|
};
|
|
2010
2010
|
}
|
|
2011
2011
|
};
|
|
2012
|
-
},
|
|
2012
|
+
}, Yr = function(e) {
|
|
2013
2013
|
return e === void 0 && (e = {}), {
|
|
2014
2014
|
name: "size",
|
|
2015
2015
|
options: e,
|
|
2016
2016
|
async fn(t) {
|
|
2017
2017
|
var n, r;
|
|
2018
|
-
let { placement: i, rects: a, platform: o, elements: s } = t, { apply: c = () => {}, ...l } = K(e, t), u = await o.detectOverflow(t, l), d = q(i), f =
|
|
2018
|
+
let { placement: i, rects: a, platform: o, elements: s } = t, { apply: c = () => {}, ...l } = K(e, t), u = await o.detectOverflow(t, l), d = q(i), f = vr(i), p = J(i) === "y", { width: m, height: h } = a.floating, g, _;
|
|
2019
2019
|
d === "top" || d === "bottom" ? (g = d, _ = f === (await (o.isRTL == null ? void 0 : o.isRTL(s.floating)) ? "start" : "end") ? "left" : "right") : (_ = d, g = f === "end" ? "top" : "bottom");
|
|
2020
|
-
let v = h - u.top - u.bottom, y = m - u.left - u.right, b =
|
|
2020
|
+
let v = h - u.top - u.bottom, y = m - u.left - u.right, b = pr(h - u[g], v), x = pr(m - u[_], y), S = !t.middlewareData.shift, C = b, w = x;
|
|
2021
2021
|
if ((n = t.middlewareData.shift) != null && n.enabled.x && (w = y), (r = t.middlewareData.shift) != null && r.enabled.y && (C = v), S && !f) {
|
|
2022
2022
|
let e = W(u.left, 0), t = W(u.right, 0), n = W(u.top, 0), r = W(u.bottom, 0);
|
|
2023
2023
|
p ? w = m - 2 * (e !== 0 || t !== 0 ? e + t : W(u.left, u.right)) : C = h - 2 * (n !== 0 || r !== 0 ? n + r : W(u.top, u.bottom));
|
|
@@ -2034,39 +2034,39 @@ var Gr = function(e) {
|
|
|
2034
2034
|
};
|
|
2035
2035
|
//#endregion
|
|
2036
2036
|
//#region ../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
|
|
2037
|
-
function
|
|
2037
|
+
function Xr() {
|
|
2038
2038
|
return typeof window < "u";
|
|
2039
2039
|
}
|
|
2040
|
-
function
|
|
2041
|
-
return
|
|
2040
|
+
function Zr(e) {
|
|
2041
|
+
return Qr(e) ? (e.nodeName || "").toLowerCase() : "#document";
|
|
2042
2042
|
}
|
|
2043
2043
|
function Y(e) {
|
|
2044
2044
|
var t;
|
|
2045
2045
|
return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
|
|
2046
2046
|
}
|
|
2047
2047
|
function X(e) {
|
|
2048
|
-
return ((
|
|
2048
|
+
return ((Qr(e) ? e.ownerDocument : e.document) || window.document)?.documentElement;
|
|
2049
2049
|
}
|
|
2050
|
-
function
|
|
2051
|
-
return
|
|
2050
|
+
function Qr(e) {
|
|
2051
|
+
return Xr() ? e instanceof Node || e instanceof Y(e).Node : !1;
|
|
2052
2052
|
}
|
|
2053
2053
|
function Z(e) {
|
|
2054
|
-
return
|
|
2055
|
-
}
|
|
2056
|
-
function Qr(e) {
|
|
2057
|
-
return Yr() ? e instanceof HTMLElement || e instanceof Y(e).HTMLElement : !1;
|
|
2054
|
+
return Xr() ? e instanceof Element || e instanceof Y(e).Element : !1;
|
|
2058
2055
|
}
|
|
2059
2056
|
function $r(e) {
|
|
2060
|
-
return
|
|
2057
|
+
return Xr() ? e instanceof HTMLElement || e instanceof Y(e).HTMLElement : !1;
|
|
2061
2058
|
}
|
|
2062
2059
|
function ei(e) {
|
|
2063
|
-
|
|
2064
|
-
return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
|
|
2060
|
+
return !Xr() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof Y(e).ShadowRoot;
|
|
2065
2061
|
}
|
|
2066
2062
|
function ti(e) {
|
|
2067
|
-
|
|
2063
|
+
let { overflow: t, overflowX: n, overflowY: r, display: i } = Q(e);
|
|
2064
|
+
return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
|
|
2068
2065
|
}
|
|
2069
2066
|
function ni(e) {
|
|
2067
|
+
return /^(table|td|th)$/.test(Zr(e));
|
|
2068
|
+
}
|
|
2069
|
+
function ri(e) {
|
|
2070
2070
|
try {
|
|
2071
2071
|
if (e.matches(":popover-open")) return !0;
|
|
2072
2072
|
} catch {}
|
|
@@ -2076,30 +2076,30 @@ function ni(e) {
|
|
|
2076
2076
|
return !1;
|
|
2077
2077
|
}
|
|
2078
2078
|
}
|
|
2079
|
-
var
|
|
2080
|
-
function si(e) {
|
|
2081
|
-
let t = Z(e) ? Q(e) : e;
|
|
2082
|
-
return ai(t.transform) || ai(t.translate) || ai(t.scale) || ai(t.rotate) || ai(t.perspective) || !li() && (ai(t.backdropFilter) || ai(t.filter)) || ri.test(t.willChange || "") || ii.test(t.contain || "");
|
|
2083
|
-
}
|
|
2079
|
+
var ii = /transform|translate|scale|rotate|perspective|filter/, ai = /paint|layout|strict|content/, oi = (e) => !!e && e !== "none", si;
|
|
2084
2080
|
function ci(e) {
|
|
2085
|
-
let t =
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2081
|
+
let t = Z(e) ? Q(e) : e;
|
|
2082
|
+
return oi(t.transform) || oi(t.translate) || oi(t.scale) || oi(t.rotate) || oi(t.perspective) || !ui() && (oi(t.backdropFilter) || oi(t.filter)) || ii.test(t.willChange || "") || ai.test(t.contain || "");
|
|
2083
|
+
}
|
|
2084
|
+
function li(e) {
|
|
2085
|
+
let t = pi(e);
|
|
2086
|
+
for (; $r(t) && !di(t);) {
|
|
2087
|
+
if (ci(t)) return t;
|
|
2088
|
+
if (ri(t)) return null;
|
|
2089
|
+
t = pi(t);
|
|
2090
2090
|
}
|
|
2091
2091
|
return null;
|
|
2092
2092
|
}
|
|
2093
|
-
function
|
|
2094
|
-
return
|
|
2093
|
+
function ui() {
|
|
2094
|
+
return si ??= typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none"), si;
|
|
2095
2095
|
}
|
|
2096
|
-
function
|
|
2097
|
-
return /^(html|body|#document)$/.test(
|
|
2096
|
+
function di(e) {
|
|
2097
|
+
return /^(html|body|#document)$/.test(Zr(e));
|
|
2098
2098
|
}
|
|
2099
2099
|
function Q(e) {
|
|
2100
2100
|
return Y(e).getComputedStyle(e);
|
|
2101
2101
|
}
|
|
2102
|
-
function
|
|
2102
|
+
function fi(e) {
|
|
2103
2103
|
return Z(e) ? {
|
|
2104
2104
|
scrollLeft: e.scrollLeft,
|
|
2105
2105
|
scrollTop: e.scrollTop
|
|
@@ -2108,101 +2108,101 @@ function di(e) {
|
|
|
2108
2108
|
scrollTop: e.scrollY
|
|
2109
2109
|
};
|
|
2110
2110
|
}
|
|
2111
|
-
function fi(e) {
|
|
2112
|
-
if (Xr(e) === "html") return e;
|
|
2113
|
-
let t = e.assignedSlot || e.parentNode || $r(e) && e.host || X(e);
|
|
2114
|
-
return $r(t) ? t.host : t;
|
|
2115
|
-
}
|
|
2116
2111
|
function pi(e) {
|
|
2117
|
-
|
|
2118
|
-
|
|
2112
|
+
if (Zr(e) === "html") return e;
|
|
2113
|
+
let t = e.assignedSlot || e.parentNode || ei(e) && e.host || X(e);
|
|
2114
|
+
return ei(t) ? t.host : t;
|
|
2119
2115
|
}
|
|
2120
|
-
function mi(e
|
|
2116
|
+
function mi(e) {
|
|
2117
|
+
let t = pi(e);
|
|
2118
|
+
return di(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : $r(t) && ti(t) ? t : mi(t);
|
|
2119
|
+
}
|
|
2120
|
+
function hi(e, t, n) {
|
|
2121
2121
|
t === void 0 && (t = []), n === void 0 && (n = !0);
|
|
2122
|
-
let r =
|
|
2122
|
+
let r = mi(e), i = r === e.ownerDocument?.body, a = Y(r);
|
|
2123
2123
|
if (i) {
|
|
2124
|
-
let e =
|
|
2125
|
-
return t.concat(a, a.visualViewport || [],
|
|
2126
|
-
} else return t.concat(r,
|
|
2124
|
+
let e = gi(a);
|
|
2125
|
+
return t.concat(a, a.visualViewport || [], ti(r) ? r : [], e && n ? hi(e) : []);
|
|
2126
|
+
} else return t.concat(r, hi(r, [], n));
|
|
2127
2127
|
}
|
|
2128
|
-
function
|
|
2128
|
+
function gi(e) {
|
|
2129
2129
|
return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
|
|
2130
2130
|
}
|
|
2131
2131
|
//#endregion
|
|
2132
2132
|
//#region ../node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
|
|
2133
|
-
function
|
|
2134
|
-
let t = Q(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i =
|
|
2133
|
+
function _i(e) {
|
|
2134
|
+
let t = Q(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = $r(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s = mr(n) !== a || mr(r) !== o;
|
|
2135
2135
|
return s && (n = a, r = o), {
|
|
2136
2136
|
width: n,
|
|
2137
2137
|
height: r,
|
|
2138
2138
|
$: s
|
|
2139
2139
|
};
|
|
2140
2140
|
}
|
|
2141
|
-
function
|
|
2141
|
+
function vi(e) {
|
|
2142
2142
|
return Z(e) ? e : e.contextElement;
|
|
2143
2143
|
}
|
|
2144
|
-
function
|
|
2145
|
-
let t =
|
|
2146
|
-
if (
|
|
2147
|
-
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } =
|
|
2144
|
+
function yi(e) {
|
|
2145
|
+
let t = vi(e);
|
|
2146
|
+
if (!$r(t)) return G(1);
|
|
2147
|
+
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = _i(t), o = (a ? mr(n.width) : n.width) / r, s = (a ? mr(n.height) : n.height) / i;
|
|
2148
2148
|
return (!o || !Number.isFinite(o)) && (o = 1), (!s || !Number.isFinite(s)) && (s = 1), {
|
|
2149
2149
|
x: o,
|
|
2150
2150
|
y: s
|
|
2151
2151
|
};
|
|
2152
2152
|
}
|
|
2153
|
-
var
|
|
2154
|
-
function
|
|
2153
|
+
var bi = /*#__PURE__*/ G(0);
|
|
2154
|
+
function xi(e) {
|
|
2155
2155
|
let t = Y(e);
|
|
2156
|
-
return !
|
|
2156
|
+
return !ui() || !t.visualViewport ? bi : {
|
|
2157
2157
|
x: t.visualViewport.offsetLeft,
|
|
2158
2158
|
y: t.visualViewport.offsetTop
|
|
2159
2159
|
};
|
|
2160
2160
|
}
|
|
2161
|
-
function
|
|
2161
|
+
function Si(e, t, n) {
|
|
2162
2162
|
return t === void 0 && (t = !1), !n || t && n !== Y(e) ? !1 : t;
|
|
2163
2163
|
}
|
|
2164
|
-
function
|
|
2164
|
+
function Ci(e, t, n, r) {
|
|
2165
2165
|
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
|
2166
|
-
let i = e.getBoundingClientRect(), a =
|
|
2167
|
-
t && (r ? Z(r) && (o =
|
|
2168
|
-
let s =
|
|
2166
|
+
let i = e.getBoundingClientRect(), a = vi(e), o = G(1);
|
|
2167
|
+
t && (r ? Z(r) && (o = yi(r)) : o = yi(e));
|
|
2168
|
+
let s = Si(a, n, r) ? xi(a) : G(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;
|
|
2169
2169
|
if (a) {
|
|
2170
|
-
let e = Y(a), t = r && Z(r) ? Y(r) : r, n = e, i =
|
|
2170
|
+
let e = Y(a), t = r && Z(r) ? Y(r) : r, n = e, i = gi(n);
|
|
2171
2171
|
for (; i && r && t !== n;) {
|
|
2172
|
-
let e =
|
|
2173
|
-
c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = Y(i), i =
|
|
2172
|
+
let e = yi(i), t = i.getBoundingClientRect(), r = Q(i), a = t.left + (i.clientLeft + parseFloat(r.paddingLeft)) * e.x, o = t.top + (i.clientTop + parseFloat(r.paddingTop)) * e.y;
|
|
2173
|
+
c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = Y(i), i = gi(n);
|
|
2174
2174
|
}
|
|
2175
2175
|
}
|
|
2176
|
-
return
|
|
2176
|
+
return Pr({
|
|
2177
2177
|
width: u,
|
|
2178
2178
|
height: d,
|
|
2179
2179
|
x: c,
|
|
2180
2180
|
y: l
|
|
2181
2181
|
});
|
|
2182
2182
|
}
|
|
2183
|
-
function Ci(e, t) {
|
|
2184
|
-
let n = di(e).scrollLeft;
|
|
2185
|
-
return t ? t.left + n : Si(X(e)).left + n;
|
|
2186
|
-
}
|
|
2187
2183
|
function wi(e, t) {
|
|
2184
|
+
let n = fi(e).scrollLeft;
|
|
2185
|
+
return t ? t.left + n : Ci(X(e)).left + n;
|
|
2186
|
+
}
|
|
2187
|
+
function Ti(e, t) {
|
|
2188
2188
|
let n = e.getBoundingClientRect();
|
|
2189
2189
|
return {
|
|
2190
|
-
x: n.left + t.scrollLeft -
|
|
2190
|
+
x: n.left + t.scrollLeft - wi(e, n),
|
|
2191
2191
|
y: n.top + t.scrollTop
|
|
2192
2192
|
};
|
|
2193
2193
|
}
|
|
2194
|
-
function
|
|
2195
|
-
let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = X(r), s = t ?
|
|
2194
|
+
function Ei(e) {
|
|
2195
|
+
let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = X(r), s = t ? ri(t.floating) : !1;
|
|
2196
2196
|
if (r === o || s && a) return n;
|
|
2197
2197
|
let c = {
|
|
2198
2198
|
scrollLeft: 0,
|
|
2199
2199
|
scrollTop: 0
|
|
2200
|
-
}, l = G(1), u = G(0), d =
|
|
2201
|
-
if ((d || !d && !a) && ((
|
|
2202
|
-
let e =
|
|
2203
|
-
l =
|
|
2200
|
+
}, l = G(1), u = G(0), d = $r(r);
|
|
2201
|
+
if ((d || !d && !a) && ((Zr(r) !== "body" || ti(o)) && (c = fi(r)), d)) {
|
|
2202
|
+
let e = Ci(r);
|
|
2203
|
+
l = yi(r), u.x = e.x + r.clientLeft, u.y = e.y + r.clientTop;
|
|
2204
2204
|
}
|
|
2205
|
-
let f = o && !d && !a ?
|
|
2205
|
+
let f = o && !d && !a ? Ti(o, c) : G(0);
|
|
2206
2206
|
return {
|
|
2207
2207
|
width: n.width * l.x,
|
|
2208
2208
|
height: n.height * l.y,
|
|
@@ -2210,11 +2210,11 @@ function Ti(e) {
|
|
|
2210
2210
|
y: n.y * l.y - c.scrollTop * l.y + u.y + f.y
|
|
2211
2211
|
};
|
|
2212
2212
|
}
|
|
2213
|
-
function
|
|
2213
|
+
function Di(e) {
|
|
2214
2214
|
return Array.from(e.getClientRects());
|
|
2215
2215
|
}
|
|
2216
|
-
function
|
|
2217
|
-
let t = X(e), n =
|
|
2216
|
+
function Oi(e) {
|
|
2217
|
+
let t = X(e), n = fi(e), r = e.ownerDocument.body, i = W(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), a = W(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight), o = -n.scrollLeft + wi(e), s = -n.scrollTop;
|
|
2218
2218
|
return Q(r).direction === "rtl" && (o += W(t.clientWidth, r.clientWidth) - i), {
|
|
2219
2219
|
width: i,
|
|
2220
2220
|
height: a,
|
|
@@ -2222,19 +2222,19 @@ function Di(e) {
|
|
|
2222
2222
|
y: s
|
|
2223
2223
|
};
|
|
2224
2224
|
}
|
|
2225
|
-
var
|
|
2226
|
-
function
|
|
2225
|
+
var ki = 25;
|
|
2226
|
+
function Ai(e, t) {
|
|
2227
2227
|
let n = Y(e), r = X(e), i = n.visualViewport, a = r.clientWidth, o = r.clientHeight, s = 0, c = 0;
|
|
2228
2228
|
if (i) {
|
|
2229
2229
|
a = i.width, o = i.height;
|
|
2230
|
-
let e =
|
|
2230
|
+
let e = ui();
|
|
2231
2231
|
(!e || e && t === "fixed") && (s = i.offsetLeft, c = i.offsetTop);
|
|
2232
2232
|
}
|
|
2233
|
-
let l =
|
|
2233
|
+
let l = wi(r);
|
|
2234
2234
|
if (l <= 0) {
|
|
2235
2235
|
let e = r.ownerDocument, t = e.body, n = getComputedStyle(t), i = e.compatMode === "CSS1Compat" && parseFloat(n.marginLeft) + parseFloat(n.marginRight) || 0, o = Math.abs(r.clientWidth - t.clientWidth - i);
|
|
2236
|
-
o <=
|
|
2237
|
-
} else l <=
|
|
2236
|
+
o <= ki && (a -= o);
|
|
2237
|
+
} else l <= ki && (a += l);
|
|
2238
2238
|
return {
|
|
2239
2239
|
width: a,
|
|
2240
2240
|
height: o,
|
|
@@ -2242,8 +2242,8 @@ function ki(e, t) {
|
|
|
2242
2242
|
y: c
|
|
2243
2243
|
};
|
|
2244
2244
|
}
|
|
2245
|
-
function
|
|
2246
|
-
let n =
|
|
2245
|
+
function ji(e, t) {
|
|
2246
|
+
let n = Ci(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = $r(e) ? yi(e) : G(1);
|
|
2247
2247
|
return {
|
|
2248
2248
|
width: e.clientWidth * a.x,
|
|
2249
2249
|
height: e.clientHeight * a.y,
|
|
@@ -2251,13 +2251,13 @@ function Ai(e, t) {
|
|
|
2251
2251
|
y: r * a.y
|
|
2252
2252
|
};
|
|
2253
2253
|
}
|
|
2254
|
-
function
|
|
2254
|
+
function Mi(e, t, n) {
|
|
2255
2255
|
let r;
|
|
2256
|
-
if (t === "viewport") r =
|
|
2257
|
-
else if (t === "document") r =
|
|
2258
|
-
else if (Z(t)) r =
|
|
2256
|
+
if (t === "viewport") r = Ai(e, n);
|
|
2257
|
+
else if (t === "document") r = Oi(X(e));
|
|
2258
|
+
else if (Z(t)) r = ji(t, n);
|
|
2259
2259
|
else {
|
|
2260
|
-
let n =
|
|
2260
|
+
let n = xi(e);
|
|
2261
2261
|
r = {
|
|
2262
2262
|
x: t.x - n.x,
|
|
2263
2263
|
y: t.y - n.y,
|
|
@@ -2265,27 +2265,27 @@ function ji(e, t, n) {
|
|
|
2265
2265
|
height: t.height
|
|
2266
2266
|
};
|
|
2267
2267
|
}
|
|
2268
|
-
return
|
|
2269
|
-
}
|
|
2270
|
-
function Mi(e, t) {
|
|
2271
|
-
let n = fi(e);
|
|
2272
|
-
return n === t || !Z(n) || ui(n) ? !1 : Q(n).position === "fixed" || Mi(n, t);
|
|
2268
|
+
return Pr(r);
|
|
2273
2269
|
}
|
|
2274
2270
|
function Ni(e, t) {
|
|
2271
|
+
let n = pi(e);
|
|
2272
|
+
return n === t || !Z(n) || di(n) ? !1 : Q(n).position === "fixed" || Ni(n, t);
|
|
2273
|
+
}
|
|
2274
|
+
function Pi(e, t) {
|
|
2275
2275
|
let n = t.get(e);
|
|
2276
2276
|
if (n) return n;
|
|
2277
|
-
let r =
|
|
2278
|
-
for (; Z(o) && !
|
|
2279
|
-
let t = Q(o), n =
|
|
2280
|
-
!n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") ||
|
|
2277
|
+
let r = hi(e, [], !1).filter((e) => Z(e) && Zr(e) !== "body"), i = null, a = Q(e).position === "fixed", o = a ? pi(e) : e;
|
|
2278
|
+
for (; Z(o) && !di(o);) {
|
|
2279
|
+
let t = Q(o), n = ci(o);
|
|
2280
|
+
!n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") || ti(o) && !n && Ni(e, o)) ? r = r.filter((e) => e !== o) : i = t, o = pi(o);
|
|
2281
2281
|
}
|
|
2282
2282
|
return t.set(e, r), r;
|
|
2283
2283
|
}
|
|
2284
|
-
function
|
|
2285
|
-
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ?
|
|
2284
|
+
function Fi(e) {
|
|
2285
|
+
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? ri(t) ? [] : Pi(t, this._c) : [].concat(n), r], o = Mi(t, a[0], i), s = o.top, c = o.right, l = o.bottom, u = o.left;
|
|
2286
2286
|
for (let e = 1; e < a.length; e++) {
|
|
2287
|
-
let n =
|
|
2288
|
-
s = W(n.top, s), c =
|
|
2287
|
+
let n = Mi(t, a[e], i);
|
|
2288
|
+
s = W(n.top, s), c = pr(n.right, c), l = pr(n.bottom, l), u = W(n.left, u);
|
|
2289
2289
|
}
|
|
2290
2290
|
return {
|
|
2291
2291
|
width: c - u,
|
|
@@ -2294,27 +2294,27 @@ function Pi(e) {
|
|
|
2294
2294
|
y: s
|
|
2295
2295
|
};
|
|
2296
2296
|
}
|
|
2297
|
-
function
|
|
2298
|
-
let { width: t, height: n } =
|
|
2297
|
+
function Ii(e) {
|
|
2298
|
+
let { width: t, height: n } = _i(e);
|
|
2299
2299
|
return {
|
|
2300
2300
|
width: t,
|
|
2301
2301
|
height: n
|
|
2302
2302
|
};
|
|
2303
2303
|
}
|
|
2304
|
-
function
|
|
2305
|
-
let r =
|
|
2304
|
+
function Li(e, t, n) {
|
|
2305
|
+
let r = $r(t), i = X(t), a = n === "fixed", o = Ci(e, !0, a, t), s = {
|
|
2306
2306
|
scrollLeft: 0,
|
|
2307
2307
|
scrollTop: 0
|
|
2308
2308
|
}, c = G(0);
|
|
2309
2309
|
function l() {
|
|
2310
|
-
c.x =
|
|
2310
|
+
c.x = wi(i);
|
|
2311
2311
|
}
|
|
2312
|
-
if (r || !r && !a) if ((
|
|
2313
|
-
let e =
|
|
2312
|
+
if (r || !r && !a) if ((Zr(t) !== "body" || ti(i)) && (s = fi(t)), r) {
|
|
2313
|
+
let e = Ci(t, !0, a, t);
|
|
2314
2314
|
c.x = e.x + t.clientLeft, c.y = e.y + t.clientTop;
|
|
2315
2315
|
} else i && l();
|
|
2316
2316
|
a && !r && i && l();
|
|
2317
|
-
let u = i && !r && !a ?
|
|
2317
|
+
let u = i && !r && !a ? Ti(i, s) : G(0);
|
|
2318
2318
|
return {
|
|
2319
2319
|
x: o.left + s.scrollLeft - c.x - u.x,
|
|
2320
2320
|
y: o.top + s.scrollTop - c.y - u.y,
|
|
@@ -2322,34 +2322,34 @@ function Ii(e, t, n) {
|
|
|
2322
2322
|
height: o.height
|
|
2323
2323
|
};
|
|
2324
2324
|
}
|
|
2325
|
-
function
|
|
2325
|
+
function Ri(e) {
|
|
2326
2326
|
return Q(e).position === "static";
|
|
2327
2327
|
}
|
|
2328
|
-
function
|
|
2329
|
-
if (
|
|
2328
|
+
function zi(e, t) {
|
|
2329
|
+
if (!$r(e) || Q(e).position === "fixed") return null;
|
|
2330
2330
|
if (t) return t(e);
|
|
2331
2331
|
let n = e.offsetParent;
|
|
2332
2332
|
return X(e) === n && (n = n.ownerDocument.body), n;
|
|
2333
2333
|
}
|
|
2334
|
-
function
|
|
2334
|
+
function Bi(e, t) {
|
|
2335
2335
|
let n = Y(e);
|
|
2336
|
-
if (
|
|
2337
|
-
if (
|
|
2338
|
-
let t =
|
|
2339
|
-
for (; t && !
|
|
2340
|
-
if (Z(t) && !
|
|
2341
|
-
t =
|
|
2336
|
+
if (ri(e)) return n;
|
|
2337
|
+
if (!$r(e)) {
|
|
2338
|
+
let t = pi(e);
|
|
2339
|
+
for (; t && !di(t);) {
|
|
2340
|
+
if (Z(t) && !Ri(t)) return t;
|
|
2341
|
+
t = pi(t);
|
|
2342
2342
|
}
|
|
2343
2343
|
return n;
|
|
2344
2344
|
}
|
|
2345
|
-
let r =
|
|
2346
|
-
for (; r &&
|
|
2347
|
-
return r &&
|
|
2345
|
+
let r = zi(e, t);
|
|
2346
|
+
for (; r && ni(r) && Ri(r);) r = zi(r, t);
|
|
2347
|
+
return r && di(r) && Ri(r) && !ci(r) ? n : r || li(e) || n;
|
|
2348
2348
|
}
|
|
2349
|
-
var
|
|
2350
|
-
let t = this.getOffsetParent ||
|
|
2349
|
+
var Vi = async function(e) {
|
|
2350
|
+
let t = this.getOffsetParent || Bi, n = this.getDimensions, r = await n(e.floating);
|
|
2351
2351
|
return {
|
|
2352
|
-
reference:
|
|
2352
|
+
reference: Li(e.reference, await t(e.floating), e.strategy),
|
|
2353
2353
|
floating: {
|
|
2354
2354
|
x: 0,
|
|
2355
2355
|
y: 0,
|
|
@@ -2358,25 +2358,25 @@ var Bi = async function(e) {
|
|
|
2358
2358
|
}
|
|
2359
2359
|
};
|
|
2360
2360
|
};
|
|
2361
|
-
function
|
|
2361
|
+
function Hi(e) {
|
|
2362
2362
|
return Q(e).direction === "rtl";
|
|
2363
2363
|
}
|
|
2364
|
-
var
|
|
2365
|
-
convertOffsetParentRelativeRectToViewportRelativeRect:
|
|
2364
|
+
var Ui = {
|
|
2365
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: Ei,
|
|
2366
2366
|
getDocumentElement: X,
|
|
2367
|
-
getClippingRect:
|
|
2368
|
-
getOffsetParent:
|
|
2369
|
-
getElementRects:
|
|
2370
|
-
getClientRects:
|
|
2371
|
-
getDimensions:
|
|
2372
|
-
getScale:
|
|
2367
|
+
getClippingRect: Fi,
|
|
2368
|
+
getOffsetParent: Bi,
|
|
2369
|
+
getElementRects: Vi,
|
|
2370
|
+
getClientRects: Di,
|
|
2371
|
+
getDimensions: Ii,
|
|
2372
|
+
getScale: yi,
|
|
2373
2373
|
isElement: Z,
|
|
2374
|
-
isRTL:
|
|
2374
|
+
isRTL: Hi
|
|
2375
2375
|
};
|
|
2376
|
-
function
|
|
2376
|
+
function Wi(e, t) {
|
|
2377
2377
|
return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
|
|
2378
2378
|
}
|
|
2379
|
-
function
|
|
2379
|
+
function Gi(e, t) {
|
|
2380
2380
|
let n = null, r, i = X(e);
|
|
2381
2381
|
function a() {
|
|
2382
2382
|
var e;
|
|
@@ -2386,9 +2386,9 @@ function Wi(e, t) {
|
|
|
2386
2386
|
s === void 0 && (s = !1), c === void 0 && (c = 1), a();
|
|
2387
2387
|
let l = e.getBoundingClientRect(), { left: u, top: d, width: f, height: p } = l;
|
|
2388
2388
|
if (s || t(), !f || !p) return;
|
|
2389
|
-
let m =
|
|
2389
|
+
let m = hr(d), h = hr(i.clientWidth - (u + f)), g = hr(i.clientHeight - (d + p)), _ = hr(u), v = {
|
|
2390
2390
|
rootMargin: -m + "px " + -h + "px " + -g + "px " + -_ + "px",
|
|
2391
|
-
threshold: W(0,
|
|
2391
|
+
threshold: W(0, pr(1, c)) || 1
|
|
2392
2392
|
}, y = !0;
|
|
2393
2393
|
function b(t) {
|
|
2394
2394
|
let n = t[0].intersectionRatio;
|
|
@@ -2398,7 +2398,7 @@ function Wi(e, t) {
|
|
|
2398
2398
|
o(!1, 1e-7);
|
|
2399
2399
|
}, 1e3);
|
|
2400
2400
|
}
|
|
2401
|
-
n === 1 && !
|
|
2401
|
+
n === 1 && !Wi(l, e.getBoundingClientRect()) && o(), y = !1;
|
|
2402
2402
|
}
|
|
2403
2403
|
try {
|
|
2404
2404
|
n = new IntersectionObserver(b, {
|
|
@@ -2412,13 +2412,13 @@ function Wi(e, t) {
|
|
|
2412
2412
|
}
|
|
2413
2413
|
return o(!0), a;
|
|
2414
2414
|
}
|
|
2415
|
-
function
|
|
2415
|
+
function Ki(e, t, n, r) {
|
|
2416
2416
|
r === void 0 && (r = {});
|
|
2417
|
-
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l =
|
|
2417
|
+
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l = vi(e), u = i || a ? [...l ? hi(l) : [], ...t ? hi(t) : []] : [];
|
|
2418
2418
|
u.forEach((e) => {
|
|
2419
2419
|
i && e.addEventListener("scroll", n, { passive: !0 }), a && e.addEventListener("resize", n);
|
|
2420
2420
|
});
|
|
2421
|
-
let d = l && s ?
|
|
2421
|
+
let d = l && s ? Gi(l, n) : null, f = -1, p = null;
|
|
2422
2422
|
o && (p = new ResizeObserver((e) => {
|
|
2423
2423
|
let [r] = e;
|
|
2424
2424
|
r && r.target === l && p && t && (p.unobserve(t), cancelAnimationFrame(f), f = requestAnimationFrame(() => {
|
|
@@ -2426,11 +2426,11 @@ function Gi(e, t, n, r) {
|
|
|
2426
2426
|
(e = p) == null || e.observe(t);
|
|
2427
2427
|
})), n();
|
|
2428
2428
|
}), l && !c && p.observe(l), t && p.observe(t));
|
|
2429
|
-
let m, h = c ?
|
|
2429
|
+
let m, h = c ? Ci(e) : null;
|
|
2430
2430
|
c && g();
|
|
2431
2431
|
function g() {
|
|
2432
|
-
let t =
|
|
2433
|
-
h && !
|
|
2432
|
+
let t = Ci(e);
|
|
2433
|
+
h && !Wi(h, t) && n(), h = t, m = requestAnimationFrame(g);
|
|
2434
2434
|
}
|
|
2435
2435
|
return n(), () => {
|
|
2436
2436
|
var e;
|
|
@@ -2439,20 +2439,20 @@ function Gi(e, t, n, r) {
|
|
|
2439
2439
|
}), d?.(), (e = p) == null || e.disconnect(), p = null, c && cancelAnimationFrame(m);
|
|
2440
2440
|
};
|
|
2441
2441
|
}
|
|
2442
|
-
var
|
|
2442
|
+
var qi = Kr, Ji = qr, Yi = Br, Xi = Yr, Zi = Ur, Qi = zr, $i = Jr, ea = (e, t, n) => {
|
|
2443
2443
|
let r = /* @__PURE__ */ new Map(), i = {
|
|
2444
|
-
platform:
|
|
2444
|
+
platform: Ui,
|
|
2445
2445
|
...n
|
|
2446
2446
|
}, a = {
|
|
2447
2447
|
...i.platform,
|
|
2448
2448
|
_c: r
|
|
2449
2449
|
};
|
|
2450
|
-
return
|
|
2450
|
+
return Rr(e, t, {
|
|
2451
2451
|
...i,
|
|
2452
2452
|
platform: a
|
|
2453
2453
|
});
|
|
2454
|
-
},
|
|
2455
|
-
function
|
|
2454
|
+
}, ta = typeof document < "u" ? I.useLayoutEffect : function() {};
|
|
2455
|
+
function na(e, t) {
|
|
2456
2456
|
if (e === t) return !0;
|
|
2457
2457
|
if (typeof e != typeof t) return !1;
|
|
2458
2458
|
if (typeof e == "function" && e.toString() === t.toString()) return !0;
|
|
@@ -2460,33 +2460,33 @@ function ta(e, t) {
|
|
|
2460
2460
|
if (e && t && typeof e == "object") {
|
|
2461
2461
|
if (Array.isArray(e)) {
|
|
2462
2462
|
if (n = e.length, n !== t.length) return !1;
|
|
2463
|
-
for (r = n; r-- !== 0;) if (!
|
|
2463
|
+
for (r = n; r-- !== 0;) if (!na(e[r], t[r])) return !1;
|
|
2464
2464
|
return !0;
|
|
2465
2465
|
}
|
|
2466
2466
|
if (i = Object.keys(e), n = i.length, n !== Object.keys(t).length) return !1;
|
|
2467
2467
|
for (r = n; r-- !== 0;) if (!{}.hasOwnProperty.call(t, i[r])) return !1;
|
|
2468
2468
|
for (r = n; r-- !== 0;) {
|
|
2469
2469
|
let n = i[r];
|
|
2470
|
-
if (!(n === "_owner" && e.$$typeof) && !
|
|
2470
|
+
if (!(n === "_owner" && e.$$typeof) && !na(e[n], t[n])) return !1;
|
|
2471
2471
|
}
|
|
2472
2472
|
return !0;
|
|
2473
2473
|
}
|
|
2474
2474
|
return e !== e && t !== t;
|
|
2475
2475
|
}
|
|
2476
|
-
function
|
|
2476
|
+
function ra(e) {
|
|
2477
2477
|
return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
2478
2478
|
}
|
|
2479
|
-
function
|
|
2480
|
-
let n =
|
|
2479
|
+
function ia(e, t) {
|
|
2480
|
+
let n = ra(e);
|
|
2481
2481
|
return Math.round(t * n) / n;
|
|
2482
2482
|
}
|
|
2483
|
-
function
|
|
2483
|
+
function aa(e) {
|
|
2484
2484
|
let t = I.useRef(e);
|
|
2485
|
-
return
|
|
2485
|
+
return ta(() => {
|
|
2486
2486
|
t.current = e;
|
|
2487
2487
|
}), t;
|
|
2488
2488
|
}
|
|
2489
|
-
function
|
|
2489
|
+
function oa(e) {
|
|
2490
2490
|
e === void 0 && (e = {});
|
|
2491
2491
|
let { placement: t = "bottom", strategy: n = "absolute", middleware: r = [], platform: i, elements: { reference: a, floating: o } = {}, transform: s = !0, whileElementsMounted: c, open: l } = e, [u, d] = I.useState({
|
|
2492
2492
|
x: 0,
|
|
@@ -2496,24 +2496,24 @@ function aa(e) {
|
|
|
2496
2496
|
middlewareData: {},
|
|
2497
2497
|
isPositioned: !1
|
|
2498
2498
|
}), [f, p] = I.useState(r);
|
|
2499
|
-
|
|
2499
|
+
na(f, r) || p(r);
|
|
2500
2500
|
let [m, h] = I.useState(null), [g, _] = I.useState(null), v = I.useCallback((e) => {
|
|
2501
2501
|
e !== S.current && (S.current = e, h(e));
|
|
2502
2502
|
}, []), y = I.useCallback((e) => {
|
|
2503
2503
|
e !== C.current && (C.current = e, _(e));
|
|
2504
|
-
}, []), b = a || m, x = o || g, S = I.useRef(null), C = I.useRef(null), w = I.useRef(u), T = c != null, E =
|
|
2504
|
+
}, []), b = a || m, x = o || g, S = I.useRef(null), C = I.useRef(null), w = I.useRef(u), T = c != null, E = aa(c), D = aa(i), O = aa(l), k = I.useCallback(() => {
|
|
2505
2505
|
if (!S.current || !C.current) return;
|
|
2506
2506
|
let e = {
|
|
2507
2507
|
placement: t,
|
|
2508
2508
|
strategy: n,
|
|
2509
2509
|
middleware: f
|
|
2510
2510
|
};
|
|
2511
|
-
D.current && (e.platform = D.current),
|
|
2511
|
+
D.current && (e.platform = D.current), ea(S.current, C.current, e).then((e) => {
|
|
2512
2512
|
let t = {
|
|
2513
2513
|
...e,
|
|
2514
2514
|
isPositioned: O.current !== !1
|
|
2515
2515
|
};
|
|
2516
|
-
A.current && !
|
|
2516
|
+
A.current && !na(w.current, t) && (w.current = t, pt.flushSync(() => {
|
|
2517
2517
|
d(t);
|
|
2518
2518
|
}));
|
|
2519
2519
|
});
|
|
@@ -2524,16 +2524,16 @@ function aa(e) {
|
|
|
2524
2524
|
D,
|
|
2525
2525
|
O
|
|
2526
2526
|
]);
|
|
2527
|
-
|
|
2527
|
+
ta(() => {
|
|
2528
2528
|
l === !1 && w.current.isPositioned && (w.current.isPositioned = !1, d((e) => ({
|
|
2529
2529
|
...e,
|
|
2530
2530
|
isPositioned: !1
|
|
2531
2531
|
})));
|
|
2532
2532
|
}, [l]);
|
|
2533
2533
|
let A = I.useRef(!1);
|
|
2534
|
-
|
|
2534
|
+
ta(() => (A.current = !0, () => {
|
|
2535
2535
|
A.current = !1;
|
|
2536
|
-
}), []),
|
|
2536
|
+
}), []), ta(() => {
|
|
2537
2537
|
if (b && (S.current = b), x && (C.current = x), b && x) {
|
|
2538
2538
|
if (E.current) return E.current(b, x, k);
|
|
2539
2539
|
k();
|
|
@@ -2560,11 +2560,11 @@ function aa(e) {
|
|
|
2560
2560
|
top: 0
|
|
2561
2561
|
};
|
|
2562
2562
|
if (!j.floating) return e;
|
|
2563
|
-
let t =
|
|
2563
|
+
let t = ia(j.floating, u.x), r = ia(j.floating, u.y);
|
|
2564
2564
|
return s ? {
|
|
2565
2565
|
...e,
|
|
2566
2566
|
transform: "translate(" + t + "px, " + r + "px)",
|
|
2567
|
-
...
|
|
2567
|
+
...ra(j.floating) >= 1.5 && { willChange: "transform" }
|
|
2568
2568
|
} : {
|
|
2569
2569
|
position: n,
|
|
2570
2570
|
left: t,
|
|
@@ -2591,7 +2591,7 @@ function aa(e) {
|
|
|
2591
2591
|
M
|
|
2592
2592
|
]);
|
|
2593
2593
|
}
|
|
2594
|
-
var
|
|
2594
|
+
var sa = (e) => {
|
|
2595
2595
|
function t(e) {
|
|
2596
2596
|
return {}.hasOwnProperty.call(e, "current");
|
|
2597
2597
|
}
|
|
@@ -2600,22 +2600,15 @@ var oa = (e) => {
|
|
|
2600
2600
|
options: e,
|
|
2601
2601
|
fn(n) {
|
|
2602
2602
|
let { element: r, padding: i } = typeof e == "function" ? e(n) : e;
|
|
2603
|
-
return r && t(r) ? r.current == null ? {} :
|
|
2603
|
+
return r && t(r) ? r.current == null ? {} : Qi({
|
|
2604
2604
|
element: r.current,
|
|
2605
2605
|
padding: i
|
|
2606
|
-
}).fn(n) : r ?
|
|
2606
|
+
}).fn(n) : r ? Qi({
|
|
2607
2607
|
element: r,
|
|
2608
2608
|
padding: i
|
|
2609
2609
|
}).fn(n) : {};
|
|
2610
2610
|
}
|
|
2611
2611
|
};
|
|
2612
|
-
}, sa = (e, t) => {
|
|
2613
|
-
let n = Ki(e);
|
|
2614
|
-
return {
|
|
2615
|
-
name: n.name,
|
|
2616
|
-
fn: n.fn,
|
|
2617
|
-
options: [e, t]
|
|
2618
|
-
};
|
|
2619
2612
|
}, ca = (e, t) => {
|
|
2620
2613
|
let n = qi(e);
|
|
2621
2614
|
return {
|
|
@@ -2623,17 +2616,17 @@ var oa = (e) => {
|
|
|
2623
2616
|
fn: n.fn,
|
|
2624
2617
|
options: [e, t]
|
|
2625
2618
|
};
|
|
2626
|
-
}, la = (e, t) =>
|
|
2627
|
-
fn: Qi(e).fn,
|
|
2628
|
-
options: [e, t]
|
|
2629
|
-
}), ua = (e, t) => {
|
|
2619
|
+
}, la = (e, t) => {
|
|
2630
2620
|
let n = Ji(e);
|
|
2631
2621
|
return {
|
|
2632
2622
|
name: n.name,
|
|
2633
2623
|
fn: n.fn,
|
|
2634
2624
|
options: [e, t]
|
|
2635
2625
|
};
|
|
2636
|
-
},
|
|
2626
|
+
}, ua = (e, t) => ({
|
|
2627
|
+
fn: $i(e).fn,
|
|
2628
|
+
options: [e, t]
|
|
2629
|
+
}), da = (e, t) => {
|
|
2637
2630
|
let n = Yi(e);
|
|
2638
2631
|
return {
|
|
2639
2632
|
name: n.name,
|
|
@@ -2648,13 +2641,20 @@ var oa = (e) => {
|
|
|
2648
2641
|
options: [e, t]
|
|
2649
2642
|
};
|
|
2650
2643
|
}, pa = (e, t) => {
|
|
2651
|
-
let n =
|
|
2644
|
+
let n = Zi(e);
|
|
2645
|
+
return {
|
|
2646
|
+
name: n.name,
|
|
2647
|
+
fn: n.fn,
|
|
2648
|
+
options: [e, t]
|
|
2649
|
+
};
|
|
2650
|
+
}, ma = (e, t) => {
|
|
2651
|
+
let n = sa(e);
|
|
2652
2652
|
return {
|
|
2653
2653
|
name: n.name,
|
|
2654
2654
|
fn: n.fn,
|
|
2655
2655
|
options: [e, t]
|
|
2656
2656
|
};
|
|
2657
|
-
},
|
|
2657
|
+
}, ha = "Arrow", ga = I.forwardRef((e, t) => {
|
|
2658
2658
|
let { children: n, width: r = 10, height: i = 5, ...a } = e;
|
|
2659
2659
|
return /* @__PURE__ */ (0, L.jsx)(U.svg, {
|
|
2660
2660
|
...a,
|
|
@@ -2666,13 +2666,13 @@ var oa = (e) => {
|
|
|
2666
2666
|
children: e.asChild ? n : /* @__PURE__ */ (0, L.jsx)("polygon", { points: "0,0 30,0 15,10" })
|
|
2667
2667
|
});
|
|
2668
2668
|
});
|
|
2669
|
-
|
|
2670
|
-
var
|
|
2669
|
+
ga.displayName = ha;
|
|
2670
|
+
var _a = ga;
|
|
2671
2671
|
//#endregion
|
|
2672
2672
|
//#region ../node_modules/@radix-ui/react-use-size/dist/index.mjs
|
|
2673
|
-
function
|
|
2673
|
+
function va(e) {
|
|
2674
2674
|
let [t, n] = I.useState(void 0);
|
|
2675
|
-
return
|
|
2675
|
+
return cr(() => {
|
|
2676
2676
|
if (e) {
|
|
2677
2677
|
n({
|
|
2678
2678
|
width: e.offsetWidth,
|
|
@@ -2696,18 +2696,18 @@ function _a(e) {
|
|
|
2696
2696
|
}
|
|
2697
2697
|
//#endregion
|
|
2698
2698
|
//#region ../node_modules/@radix-ui/react-popper/dist/index.mjs
|
|
2699
|
-
var
|
|
2699
|
+
var ya = "Popper", [ba, xa] = yn(ya), [Sa, Ca] = ba(ya), wa = (e) => {
|
|
2700
2700
|
let { __scopePopper: t, children: n } = e, [r, i] = I.useState(null);
|
|
2701
|
-
return /* @__PURE__ */ (0, L.jsx)(
|
|
2701
|
+
return /* @__PURE__ */ (0, L.jsx)(Sa, {
|
|
2702
2702
|
scope: t,
|
|
2703
2703
|
anchor: r,
|
|
2704
2704
|
onAnchorChange: i,
|
|
2705
2705
|
children: n
|
|
2706
2706
|
});
|
|
2707
2707
|
};
|
|
2708
|
-
|
|
2709
|
-
var
|
|
2710
|
-
let { __scopePopper: n, virtualRef: r, ...i } = e, a =
|
|
2708
|
+
wa.displayName = ya;
|
|
2709
|
+
var Ta = "PopperAnchor", Ea = I.forwardRef((e, t) => {
|
|
2710
|
+
let { __scopePopper: n, virtualRef: r, ...i } = e, a = Ca(Ta, n), o = I.useRef(null), s = H(t, o), c = I.useRef(null);
|
|
2711
2711
|
return I.useEffect(() => {
|
|
2712
2712
|
let e = c.current;
|
|
2713
2713
|
c.current = r?.current || o.current, e !== c.current && a.onAnchorChange(c.current);
|
|
@@ -2716,9 +2716,9 @@ var wa = "PopperAnchor", Ta = I.forwardRef((e, t) => {
|
|
|
2716
2716
|
ref: s
|
|
2717
2717
|
});
|
|
2718
2718
|
});
|
|
2719
|
-
|
|
2720
|
-
var
|
|
2721
|
-
let { __scopePopper: n, side: r = "bottom", sideOffset: i = 0, align: a = "center", alignOffset: o = 0, arrowPadding: s = 0, avoidCollisions: c = !0, collisionBoundary: l = [], collisionPadding: u = 0, sticky: d = "partial", hideWhenDetached: f = !1, updatePositionStrategy: p = "optimized", onPlaced: m, ...h } = e, g =
|
|
2719
|
+
Ea.displayName = Ta;
|
|
2720
|
+
var Da = "PopperContent", [Oa, ka] = ba(Da), Aa = I.forwardRef((e, t) => {
|
|
2721
|
+
let { __scopePopper: n, side: r = "bottom", sideOffset: i = 0, align: a = "center", alignOffset: o = 0, arrowPadding: s = 0, avoidCollisions: c = !0, collisionBoundary: l = [], collisionPadding: u = 0, sticky: d = "partial", hideWhenDetached: f = !1, updatePositionStrategy: p = "optimized", onPlaced: m, ...h } = e, g = Ca(Da, n), [_, v] = I.useState(null), y = H(t, (e) => v(e)), [b, x] = I.useState(null), S = va(b), C = S?.width ?? 0, w = S?.height ?? 0, T = r + (a === "center" ? "" : "-" + a), E = typeof u == "number" ? u : {
|
|
2722
2722
|
top: 0,
|
|
2723
2723
|
right: 0,
|
|
2724
2724
|
bottom: 0,
|
|
@@ -2726,51 +2726,51 @@ var Ea = "PopperContent", [Da, Oa] = ya(Ea), ka = I.forwardRef((e, t) => {
|
|
|
2726
2726
|
...u
|
|
2727
2727
|
}, D = Array.isArray(l) ? l : [l], O = D.length > 0, k = {
|
|
2728
2728
|
padding: E,
|
|
2729
|
-
boundary: D.filter(
|
|
2729
|
+
boundary: D.filter(Pa),
|
|
2730
2730
|
altBoundary: O
|
|
2731
|
-
}, { refs: A, floatingStyles: ee, placement: j, isPositioned: M, middlewareData: te } =
|
|
2731
|
+
}, { refs: A, floatingStyles: ee, placement: j, isPositioned: M, middlewareData: te } = oa({
|
|
2732
2732
|
strategy: "fixed",
|
|
2733
2733
|
placement: T,
|
|
2734
|
-
whileElementsMounted: (...e) =>
|
|
2734
|
+
whileElementsMounted: (...e) => Ki(...e, { animationFrame: p === "always" }),
|
|
2735
2735
|
elements: { reference: g.anchor },
|
|
2736
2736
|
middleware: [
|
|
2737
|
-
|
|
2737
|
+
ca({
|
|
2738
2738
|
mainAxis: i + w,
|
|
2739
2739
|
alignmentAxis: o
|
|
2740
2740
|
}),
|
|
2741
|
-
c &&
|
|
2741
|
+
c && la({
|
|
2742
2742
|
mainAxis: !0,
|
|
2743
2743
|
crossAxis: !1,
|
|
2744
|
-
limiter: d === "partial" ?
|
|
2744
|
+
limiter: d === "partial" ? ua() : void 0,
|
|
2745
2745
|
...k
|
|
2746
2746
|
}),
|
|
2747
|
-
c &&
|
|
2748
|
-
|
|
2747
|
+
c && da({ ...k }),
|
|
2748
|
+
fa({
|
|
2749
2749
|
...k,
|
|
2750
2750
|
apply: ({ elements: e, rects: t, availableWidth: n, availableHeight: r }) => {
|
|
2751
2751
|
let { width: i, height: a } = t.reference, o = e.floating.style;
|
|
2752
2752
|
o.setProperty("--radix-popper-available-width", `${n}px`), o.setProperty("--radix-popper-available-height", `${r}px`), o.setProperty("--radix-popper-anchor-width", `${i}px`), o.setProperty("--radix-popper-anchor-height", `${a}px`);
|
|
2753
2753
|
}
|
|
2754
2754
|
}),
|
|
2755
|
-
b &&
|
|
2755
|
+
b && ma({
|
|
2756
2756
|
element: b,
|
|
2757
2757
|
padding: s
|
|
2758
2758
|
}),
|
|
2759
|
-
|
|
2759
|
+
Fa({
|
|
2760
2760
|
arrowWidth: C,
|
|
2761
2761
|
arrowHeight: w
|
|
2762
2762
|
}),
|
|
2763
|
-
f &&
|
|
2763
|
+
f && pa({
|
|
2764
2764
|
strategy: "referenceHidden",
|
|
2765
2765
|
...k
|
|
2766
2766
|
})
|
|
2767
2767
|
]
|
|
2768
|
-
}), [ne, re] =
|
|
2769
|
-
|
|
2768
|
+
}), [ne, re] = Ia(j), ie = On(m);
|
|
2769
|
+
cr(() => {
|
|
2770
2770
|
M && ie?.();
|
|
2771
2771
|
}, [M, ie]);
|
|
2772
2772
|
let ae = te.arrow?.x, oe = te.arrow?.y, se = te.arrow?.centerOffset !== 0, [ce, le] = I.useState();
|
|
2773
|
-
return
|
|
2773
|
+
return cr(() => {
|
|
2774
2774
|
_ && le(window.getComputedStyle(_).zIndex);
|
|
2775
2775
|
}, [_]), /* @__PURE__ */ (0, L.jsx)("div", {
|
|
2776
2776
|
ref: A.setFloating,
|
|
@@ -2787,7 +2787,7 @@ var Ea = "PopperContent", [Da, Oa] = ya(Ea), ka = I.forwardRef((e, t) => {
|
|
|
2787
2787
|
}
|
|
2788
2788
|
},
|
|
2789
2789
|
dir: e.dir,
|
|
2790
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
2790
|
+
children: /* @__PURE__ */ (0, L.jsx)(Oa, {
|
|
2791
2791
|
scope: n,
|
|
2792
2792
|
placedSide: ne,
|
|
2793
2793
|
onArrowChange: x,
|
|
@@ -2807,14 +2807,14 @@ var Ea = "PopperContent", [Da, Oa] = ya(Ea), ka = I.forwardRef((e, t) => {
|
|
|
2807
2807
|
})
|
|
2808
2808
|
});
|
|
2809
2809
|
});
|
|
2810
|
-
|
|
2811
|
-
var
|
|
2810
|
+
Aa.displayName = Da;
|
|
2811
|
+
var ja = "PopperArrow", Ma = {
|
|
2812
2812
|
top: "bottom",
|
|
2813
2813
|
right: "left",
|
|
2814
2814
|
bottom: "top",
|
|
2815
2815
|
left: "right"
|
|
2816
|
-
},
|
|
2817
|
-
let { __scopePopper: n, ...r } = e, i =
|
|
2816
|
+
}, Na = I.forwardRef(function(e, t) {
|
|
2817
|
+
let { __scopePopper: n, ...r } = e, i = ka(ja, n), a = Ma[i.placedSide];
|
|
2818
2818
|
return /* @__PURE__ */ (0, L.jsx)("span", {
|
|
2819
2819
|
ref: i.onArrowChange,
|
|
2820
2820
|
style: {
|
|
@@ -2836,7 +2836,7 @@ var Aa = "PopperArrow", ja = {
|
|
|
2836
2836
|
}[i.placedSide],
|
|
2837
2837
|
visibility: i.shouldHideArrow ? "hidden" : void 0
|
|
2838
2838
|
},
|
|
2839
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
2839
|
+
children: /* @__PURE__ */ (0, L.jsx)(_a, {
|
|
2840
2840
|
...r,
|
|
2841
2841
|
ref: t,
|
|
2842
2842
|
style: {
|
|
@@ -2846,15 +2846,15 @@ var Aa = "PopperArrow", ja = {
|
|
|
2846
2846
|
})
|
|
2847
2847
|
});
|
|
2848
2848
|
});
|
|
2849
|
-
|
|
2850
|
-
function
|
|
2849
|
+
Na.displayName = ja;
|
|
2850
|
+
function Pa(e) {
|
|
2851
2851
|
return e !== null;
|
|
2852
2852
|
}
|
|
2853
|
-
var
|
|
2853
|
+
var Fa = (e) => ({
|
|
2854
2854
|
name: "transformOrigin",
|
|
2855
2855
|
options: e,
|
|
2856
2856
|
fn(t) {
|
|
2857
|
-
let { placement: n, rects: r, middlewareData: i } = t, a = i.arrow?.centerOffset !== 0, o = a ? 0 : e.arrowWidth, s = a ? 0 : e.arrowHeight, [c, l] =
|
|
2857
|
+
let { placement: n, rects: r, middlewareData: i } = t, a = i.arrow?.centerOffset !== 0, o = a ? 0 : e.arrowWidth, s = a ? 0 : e.arrowHeight, [c, l] = Ia(n), u = {
|
|
2858
2858
|
start: "0%",
|
|
2859
2859
|
center: "50%",
|
|
2860
2860
|
end: "100%"
|
|
@@ -2865,32 +2865,32 @@ var Pa = (e) => ({
|
|
|
2865
2865
|
} };
|
|
2866
2866
|
}
|
|
2867
2867
|
});
|
|
2868
|
-
function
|
|
2868
|
+
function Ia(e) {
|
|
2869
2869
|
let [t, n = "center"] = e.split("-");
|
|
2870
2870
|
return [t, n];
|
|
2871
2871
|
}
|
|
2872
|
-
var
|
|
2872
|
+
var La = wa, Ra = Ea, za = Aa, Ba = Na, Va = "Portal", Ha = I.forwardRef((e, t) => {
|
|
2873
2873
|
let { container: n, ...r } = e, [i, a] = I.useState(!1);
|
|
2874
|
-
|
|
2874
|
+
cr(() => a(!0), []);
|
|
2875
2875
|
let o = n || i && globalThis?.document?.body;
|
|
2876
|
-
return o ?
|
|
2876
|
+
return o ? pt.createPortal(/* @__PURE__ */ (0, L.jsx)(U.div, {
|
|
2877
2877
|
...r,
|
|
2878
2878
|
ref: t
|
|
2879
2879
|
}), o) : null;
|
|
2880
2880
|
});
|
|
2881
|
-
|
|
2881
|
+
Ha.displayName = Va;
|
|
2882
2882
|
//#endregion
|
|
2883
2883
|
//#region ../node_modules/@radix-ui/react-presence/dist/index.mjs
|
|
2884
|
-
function
|
|
2884
|
+
function Ua(e, t) {
|
|
2885
2885
|
return I.useReducer((e, n) => t[e][n] ?? e, e);
|
|
2886
2886
|
}
|
|
2887
|
-
var
|
|
2888
|
-
let { present: t, children: n } = e, r =
|
|
2887
|
+
var Wa = (e) => {
|
|
2888
|
+
let { present: t, children: n } = e, r = Ga(t), i = typeof n == "function" ? n({ present: r.isPresent }) : I.Children.only(n), a = H(r.ref, qa(i));
|
|
2889
2889
|
return typeof n == "function" || r.isPresent ? I.cloneElement(i, { ref: a }) : null;
|
|
2890
2890
|
};
|
|
2891
|
-
|
|
2892
|
-
function
|
|
2893
|
-
let [t, n] = I.useState(), r = I.useRef(null), i = I.useRef(e), a = I.useRef("none"), [o, s] =
|
|
2891
|
+
Wa.displayName = "Presence";
|
|
2892
|
+
function Ga(e) {
|
|
2893
|
+
let [t, n] = I.useState(), r = I.useRef(null), i = I.useRef(e), a = I.useRef("none"), [o, s] = Ua(e ? "mounted" : "unmounted", {
|
|
2894
2894
|
mounted: {
|
|
2895
2895
|
UNMOUNT: "unmounted",
|
|
2896
2896
|
ANIMATION_OUT: "unmountSuspended"
|
|
@@ -2902,18 +2902,18 @@ function Wa(e) {
|
|
|
2902
2902
|
unmounted: { MOUNT: "mounted" }
|
|
2903
2903
|
});
|
|
2904
2904
|
return I.useEffect(() => {
|
|
2905
|
-
let e =
|
|
2905
|
+
let e = Ka(r.current);
|
|
2906
2906
|
a.current = o === "mounted" ? e : "none";
|
|
2907
|
-
}, [o]),
|
|
2907
|
+
}, [o]), cr(() => {
|
|
2908
2908
|
let t = r.current, n = i.current;
|
|
2909
2909
|
if (n !== e) {
|
|
2910
|
-
let r = a.current, o =
|
|
2910
|
+
let r = a.current, o = Ka(t);
|
|
2911
2911
|
e ? s("MOUNT") : o === "none" || t?.display === "none" ? s("UNMOUNT") : s(n && r !== o ? "ANIMATION_OUT" : "UNMOUNT"), i.current = e;
|
|
2912
2912
|
}
|
|
2913
|
-
}, [e, s]),
|
|
2913
|
+
}, [e, s]), cr(() => {
|
|
2914
2914
|
if (t) {
|
|
2915
2915
|
let e, n = t.ownerDocument.defaultView ?? window, o = (a) => {
|
|
2916
|
-
let o =
|
|
2916
|
+
let o = Ka(r.current).includes(CSS.escape(a.animationName));
|
|
2917
2917
|
if (a.target === t && o && (s("ANIMATION_END"), !i.current)) {
|
|
2918
2918
|
let r = t.style.animationFillMode;
|
|
2919
2919
|
t.style.animationFillMode = "forwards", e = n.setTimeout(() => {
|
|
@@ -2921,7 +2921,7 @@ function Wa(e) {
|
|
|
2921
2921
|
});
|
|
2922
2922
|
}
|
|
2923
2923
|
}, c = (e) => {
|
|
2924
|
-
e.target === t && (a.current =
|
|
2924
|
+
e.target === t && (a.current = Ka(r.current));
|
|
2925
2925
|
};
|
|
2926
2926
|
return t.addEventListener("animationstart", c), t.addEventListener("animationcancel", o), t.addEventListener("animationend", o), () => {
|
|
2927
2927
|
n.clearTimeout(e), t.removeEventListener("animationstart", c), t.removeEventListener("animationcancel", o), t.removeEventListener("animationend", o);
|
|
@@ -2934,18 +2934,18 @@ function Wa(e) {
|
|
|
2934
2934
|
}, [])
|
|
2935
2935
|
};
|
|
2936
2936
|
}
|
|
2937
|
-
function
|
|
2937
|
+
function Ka(e) {
|
|
2938
2938
|
return e?.animationName || "none";
|
|
2939
2939
|
}
|
|
2940
|
-
function
|
|
2940
|
+
function qa(e) {
|
|
2941
2941
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
2942
2942
|
return n ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
|
|
2943
2943
|
}
|
|
2944
2944
|
//#endregion
|
|
2945
2945
|
//#region ../node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
|
|
2946
|
-
var
|
|
2947
|
-
function
|
|
2948
|
-
let [i, a, o] =
|
|
2946
|
+
var Ja = I.useInsertionEffect || cr;
|
|
2947
|
+
function Ya({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
2948
|
+
let [i, a, o] = Xa({
|
|
2949
2949
|
defaultProp: t,
|
|
2950
2950
|
onChange: n
|
|
2951
2951
|
}), s = e !== void 0, c = s ? e : i;
|
|
@@ -2958,7 +2958,7 @@ function Ja({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
|
2958
2958
|
}
|
|
2959
2959
|
return [c, I.useCallback((t) => {
|
|
2960
2960
|
if (s) {
|
|
2961
|
-
let n =
|
|
2961
|
+
let n = Za(t) ? t(e) : t;
|
|
2962
2962
|
n !== e && o.current?.(n);
|
|
2963
2963
|
} else a(t);
|
|
2964
2964
|
}, [
|
|
@@ -2968,9 +2968,9 @@ function Ja({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
|
2968
2968
|
o
|
|
2969
2969
|
])];
|
|
2970
2970
|
}
|
|
2971
|
-
function
|
|
2971
|
+
function Xa({ defaultProp: e, onChange: t }) {
|
|
2972
2972
|
let [n, r] = I.useState(e), i = I.useRef(n), a = I.useRef(t);
|
|
2973
|
-
return
|
|
2973
|
+
return Ja(() => {
|
|
2974
2974
|
a.current = t;
|
|
2975
2975
|
}, [t]), I.useEffect(() => {
|
|
2976
2976
|
i.current !== n && (a.current?.(n), i.current = n);
|
|
@@ -2980,27 +2980,27 @@ function Ya({ defaultProp: e, onChange: t }) {
|
|
|
2980
2980
|
a
|
|
2981
2981
|
];
|
|
2982
2982
|
}
|
|
2983
|
-
function
|
|
2983
|
+
function Za(e) {
|
|
2984
2984
|
return typeof e == "function";
|
|
2985
2985
|
}
|
|
2986
2986
|
//#endregion
|
|
2987
2987
|
//#region ../node_modules/aria-hidden/dist/es2015/index.js
|
|
2988
|
-
var
|
|
2988
|
+
var Qa = function(e) {
|
|
2989
2989
|
return typeof document > "u" ? null : (Array.isArray(e) ? e[0] : e).ownerDocument.body;
|
|
2990
|
-
},
|
|
2991
|
-
return e && (e.host ||
|
|
2992
|
-
},
|
|
2990
|
+
}, $a = /* @__PURE__ */ new WeakMap(), eo = /* @__PURE__ */ new WeakMap(), to = {}, no = 0, ro = function(e) {
|
|
2991
|
+
return e && (e.host || ro(e.parentNode));
|
|
2992
|
+
}, io = function(e, t) {
|
|
2993
2993
|
return t.map(function(t) {
|
|
2994
2994
|
if (e.contains(t)) return t;
|
|
2995
|
-
var n =
|
|
2995
|
+
var n = ro(t);
|
|
2996
2996
|
return n && e.contains(n) ? n : (console.error("aria-hidden", t, "in not contained inside", e, ". Doing nothing"), null);
|
|
2997
2997
|
}).filter(function(e) {
|
|
2998
2998
|
return !!e;
|
|
2999
2999
|
});
|
|
3000
|
-
},
|
|
3001
|
-
var i =
|
|
3002
|
-
|
|
3003
|
-
var a =
|
|
3000
|
+
}, ao = function(e, t, n, r) {
|
|
3001
|
+
var i = io(t, Array.isArray(e) ? e : [e]);
|
|
3002
|
+
to[n] || (to[n] = /* @__PURE__ */ new WeakMap());
|
|
3003
|
+
var a = to[n], o = [], s = /* @__PURE__ */ new Set(), c = new Set(i), l = function(e) {
|
|
3004
3004
|
!e || s.has(e) || (s.add(e), l(e.parentNode));
|
|
3005
3005
|
};
|
|
3006
3006
|
i.forEach(l);
|
|
@@ -3008,23 +3008,23 @@ var Za = function(e) {
|
|
|
3008
3008
|
!e || c.has(e) || Array.prototype.forEach.call(e.children, function(e) {
|
|
3009
3009
|
if (s.has(e)) u(e);
|
|
3010
3010
|
else try {
|
|
3011
|
-
var t = e.getAttribute(r), i = t !== null && t !== "false", c = (
|
|
3012
|
-
|
|
3011
|
+
var t = e.getAttribute(r), i = t !== null && t !== "false", c = ($a.get(e) || 0) + 1, l = (a.get(e) || 0) + 1;
|
|
3012
|
+
$a.set(e, c), a.set(e, l), o.push(e), c === 1 && i && eo.set(e, !0), l === 1 && e.setAttribute(n, "true"), i || e.setAttribute(r, "true");
|
|
3013
3013
|
} catch (t) {
|
|
3014
3014
|
console.error("aria-hidden: cannot operate on ", e, t);
|
|
3015
3015
|
}
|
|
3016
3016
|
});
|
|
3017
3017
|
};
|
|
3018
|
-
return u(t), s.clear(),
|
|
3018
|
+
return u(t), s.clear(), no++, function() {
|
|
3019
3019
|
o.forEach(function(e) {
|
|
3020
|
-
var t =
|
|
3021
|
-
|
|
3022
|
-
}),
|
|
3020
|
+
var t = $a.get(e) - 1, i = a.get(e) - 1;
|
|
3021
|
+
$a.set(e, t), a.set(e, i), t || (eo.has(e) || e.removeAttribute(r), eo.delete(e)), i || e.removeAttribute(n);
|
|
3022
|
+
}), no--, no || ($a = /* @__PURE__ */ new WeakMap(), $a = /* @__PURE__ */ new WeakMap(), eo = /* @__PURE__ */ new WeakMap(), to = {});
|
|
3023
3023
|
};
|
|
3024
|
-
},
|
|
3024
|
+
}, oo = function(e, t, n) {
|
|
3025
3025
|
n === void 0 && (n = "data-aria-hidden");
|
|
3026
|
-
var r = Array.from(Array.isArray(e) ? e : [e]), i = t ||
|
|
3027
|
-
return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live], script"))),
|
|
3026
|
+
var r = Array.from(Array.isArray(e) ? e : [e]), i = t || Qa(e);
|
|
3027
|
+
return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live], script"))), ao(r, i, n, "aria-hidden")) : function() {
|
|
3028
3028
|
return null;
|
|
3029
3029
|
};
|
|
3030
3030
|
}, $ = function() {
|
|
@@ -3033,13 +3033,13 @@ var Za = function(e) {
|
|
|
3033
3033
|
return e;
|
|
3034
3034
|
}, $.apply(this, arguments);
|
|
3035
3035
|
};
|
|
3036
|
-
function
|
|
3036
|
+
function so(e, t) {
|
|
3037
3037
|
var n = {};
|
|
3038
3038
|
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
3039
3039
|
if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++) t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
|
|
3040
3040
|
return n;
|
|
3041
3041
|
}
|
|
3042
|
-
function
|
|
3042
|
+
function co(e, t, n, r) {
|
|
3043
3043
|
function i(e) {
|
|
3044
3044
|
return e instanceof n ? e : new n(function(t) {
|
|
3045
3045
|
t(e);
|
|
@@ -3066,7 +3066,7 @@ function so(e, t, n, r) {
|
|
|
3066
3066
|
c((r = r.apply(e, t || [])).next());
|
|
3067
3067
|
});
|
|
3068
3068
|
}
|
|
3069
|
-
function
|
|
3069
|
+
function lo(e, t) {
|
|
3070
3070
|
var n = {
|
|
3071
3071
|
label: 0,
|
|
3072
3072
|
sent: function() {
|
|
@@ -3136,7 +3136,7 @@ function co(e, t) {
|
|
|
3136
3136
|
};
|
|
3137
3137
|
}
|
|
3138
3138
|
}
|
|
3139
|
-
function
|
|
3139
|
+
function uo(e, t) {
|
|
3140
3140
|
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
3141
3141
|
if (!n) return e;
|
|
3142
3142
|
var r = n.call(e), i, a = [], o;
|
|
@@ -3153,25 +3153,25 @@ function lo(e, t) {
|
|
|
3153
3153
|
}
|
|
3154
3154
|
return a;
|
|
3155
3155
|
}
|
|
3156
|
-
function
|
|
3157
|
-
for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(
|
|
3156
|
+
function fo() {
|
|
3157
|
+
for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(uo(arguments[t]));
|
|
3158
3158
|
return e;
|
|
3159
3159
|
}
|
|
3160
|
-
function
|
|
3160
|
+
function po(e, t, n) {
|
|
3161
3161
|
if (n || arguments.length === 2) for (var r = 0, i = t.length, a; r < i; r++) (a || !(r in t)) && (a ||= Array.prototype.slice.call(t, 0, r), a[r] = t[r]);
|
|
3162
3162
|
return e.concat(a || Array.prototype.slice.call(t));
|
|
3163
3163
|
}
|
|
3164
3164
|
//#endregion
|
|
3165
3165
|
//#region ../node_modules/react-remove-scroll-bar/dist/es2015/constants.js
|
|
3166
|
-
var
|
|
3166
|
+
var mo = "right-scroll-bar-position", ho = "width-before-scroll-bar", go = "with-scroll-bars-hidden", _o = "--removed-body-scroll-bar-size";
|
|
3167
3167
|
//#endregion
|
|
3168
3168
|
//#region ../node_modules/use-callback-ref/dist/es2015/assignRef.js
|
|
3169
|
-
function
|
|
3169
|
+
function vo(e, t) {
|
|
3170
3170
|
return typeof e == "function" ? e(t) : e && (e.current = t), e;
|
|
3171
3171
|
}
|
|
3172
3172
|
//#endregion
|
|
3173
3173
|
//#region ../node_modules/use-callback-ref/dist/es2015/useRef.js
|
|
3174
|
-
function
|
|
3174
|
+
function yo(e, t) {
|
|
3175
3175
|
var n = (0, I.useState)(function() {
|
|
3176
3176
|
return {
|
|
3177
3177
|
value: e,
|
|
@@ -3191,33 +3191,33 @@ function vo(e, t) {
|
|
|
3191
3191
|
}
|
|
3192
3192
|
//#endregion
|
|
3193
3193
|
//#region ../node_modules/use-callback-ref/dist/es2015/useMergeRef.js
|
|
3194
|
-
var
|
|
3195
|
-
function
|
|
3196
|
-
var n =
|
|
3194
|
+
var bo = typeof window < "u" ? I.useLayoutEffect : I.useEffect, xo = /* @__PURE__ */ new WeakMap();
|
|
3195
|
+
function So(e, t) {
|
|
3196
|
+
var n = yo(t || null, function(t) {
|
|
3197
3197
|
return e.forEach(function(e) {
|
|
3198
|
-
return
|
|
3198
|
+
return vo(e, t);
|
|
3199
3199
|
});
|
|
3200
3200
|
});
|
|
3201
|
-
return
|
|
3202
|
-
var t =
|
|
3201
|
+
return bo(function() {
|
|
3202
|
+
var t = xo.get(n);
|
|
3203
3203
|
if (t) {
|
|
3204
3204
|
var r = new Set(t), i = new Set(e), a = n.current;
|
|
3205
3205
|
r.forEach(function(e) {
|
|
3206
|
-
i.has(e) ||
|
|
3206
|
+
i.has(e) || vo(e, null);
|
|
3207
3207
|
}), i.forEach(function(e) {
|
|
3208
|
-
r.has(e) ||
|
|
3208
|
+
r.has(e) || vo(e, a);
|
|
3209
3209
|
});
|
|
3210
3210
|
}
|
|
3211
|
-
|
|
3211
|
+
xo.set(n, e);
|
|
3212
3212
|
}, [e]), n;
|
|
3213
3213
|
}
|
|
3214
3214
|
//#endregion
|
|
3215
3215
|
//#region ../node_modules/use-sidecar/dist/es2015/medium.js
|
|
3216
|
-
function
|
|
3216
|
+
function Co(e) {
|
|
3217
3217
|
return e;
|
|
3218
3218
|
}
|
|
3219
|
-
function
|
|
3220
|
-
t === void 0 && (t =
|
|
3219
|
+
function wo(e, t) {
|
|
3220
|
+
t === void 0 && (t = Co);
|
|
3221
3221
|
var n = [], r = !1;
|
|
3222
3222
|
return {
|
|
3223
3223
|
read: function() {
|
|
@@ -3270,9 +3270,9 @@ function Co(e, t) {
|
|
|
3270
3270
|
}
|
|
3271
3271
|
};
|
|
3272
3272
|
}
|
|
3273
|
-
function
|
|
3273
|
+
function To(e) {
|
|
3274
3274
|
e === void 0 && (e = {});
|
|
3275
|
-
var t =
|
|
3275
|
+
var t = wo(null);
|
|
3276
3276
|
return t.options = $({
|
|
3277
3277
|
async: !0,
|
|
3278
3278
|
ssr: !1
|
|
@@ -3280,25 +3280,25 @@ function wo(e) {
|
|
|
3280
3280
|
}
|
|
3281
3281
|
//#endregion
|
|
3282
3282
|
//#region ../node_modules/use-sidecar/dist/es2015/exports.js
|
|
3283
|
-
var
|
|
3284
|
-
var t = e.sideCar, n =
|
|
3283
|
+
var Eo = function(e) {
|
|
3284
|
+
var t = e.sideCar, n = so(e, ["sideCar"]);
|
|
3285
3285
|
if (!t) throw Error("Sidecar: please provide `sideCar` property to import the right car");
|
|
3286
3286
|
var r = t.read();
|
|
3287
3287
|
if (!r) throw Error("Sidecar medium not found");
|
|
3288
3288
|
return I.createElement(r, $({}, n));
|
|
3289
3289
|
};
|
|
3290
|
-
|
|
3291
|
-
function
|
|
3292
|
-
return e.useMedium(t),
|
|
3290
|
+
Eo.isSideCarExport = !0;
|
|
3291
|
+
function Do(e, t) {
|
|
3292
|
+
return e.useMedium(t), Eo;
|
|
3293
3293
|
}
|
|
3294
3294
|
//#endregion
|
|
3295
3295
|
//#region ../node_modules/react-remove-scroll/dist/es2015/medium.js
|
|
3296
|
-
var
|
|
3296
|
+
var Oo = To(), ko = function() {}, Ao = I.forwardRef(function(e, t) {
|
|
3297
3297
|
var n = I.useRef(null), r = I.useState({
|
|
3298
|
-
onScrollCapture:
|
|
3299
|
-
onWheelCapture:
|
|
3300
|
-
onTouchMoveCapture:
|
|
3301
|
-
}), i = r[0], a = r[1], o = e.forwardProps, s = e.children, c = e.className, l = e.removeScrollBar, u = e.enabled, d = e.shards, f = e.sideCar, p = e.noRelative, m = e.noIsolation, h = e.inert, g = e.allowPinchZoom, _ = e.as, v = _ === void 0 ? "div" : _, y = e.gapMode, b =
|
|
3298
|
+
onScrollCapture: ko,
|
|
3299
|
+
onWheelCapture: ko,
|
|
3300
|
+
onTouchMoveCapture: ko
|
|
3301
|
+
}), i = r[0], a = r[1], o = e.forwardProps, s = e.children, c = e.className, l = e.removeScrollBar, u = e.enabled, d = e.shards, f = e.sideCar, p = e.noRelative, m = e.noIsolation, h = e.inert, g = e.allowPinchZoom, _ = e.as, v = _ === void 0 ? "div" : _, y = e.gapMode, b = so(e, [
|
|
3302
3302
|
"forwardProps",
|
|
3303
3303
|
"children",
|
|
3304
3304
|
"className",
|
|
@@ -3312,9 +3312,9 @@ var Do = wo(), Oo = function() {}, ko = I.forwardRef(function(e, t) {
|
|
|
3312
3312
|
"allowPinchZoom",
|
|
3313
3313
|
"as",
|
|
3314
3314
|
"gapMode"
|
|
3315
|
-
]), x = f, S =
|
|
3315
|
+
]), x = f, S = So([n, t]), C = $($({}, b), i);
|
|
3316
3316
|
return I.createElement(I.Fragment, null, u && I.createElement(x, {
|
|
3317
|
-
sideCar:
|
|
3317
|
+
sideCar: Oo,
|
|
3318
3318
|
removeScrollBar: l,
|
|
3319
3319
|
shards: d,
|
|
3320
3320
|
noRelative: p,
|
|
@@ -3329,47 +3329,47 @@ var Do = wo(), Oo = function() {}, ko = I.forwardRef(function(e, t) {
|
|
|
3329
3329
|
ref: S
|
|
3330
3330
|
}), s));
|
|
3331
3331
|
});
|
|
3332
|
-
|
|
3332
|
+
Ao.defaultProps = {
|
|
3333
3333
|
enabled: !0,
|
|
3334
3334
|
removeScrollBar: !0,
|
|
3335
3335
|
inert: !1
|
|
3336
|
-
},
|
|
3337
|
-
fullWidth:
|
|
3338
|
-
zeroRight:
|
|
3336
|
+
}, Ao.classNames = {
|
|
3337
|
+
fullWidth: ho,
|
|
3338
|
+
zeroRight: mo
|
|
3339
3339
|
};
|
|
3340
3340
|
//#endregion
|
|
3341
3341
|
//#region ../node_modules/get-nonce/dist/es2015/index.js
|
|
3342
|
-
var
|
|
3343
|
-
if (
|
|
3342
|
+
var jo, Mo = function() {
|
|
3343
|
+
if (jo) return jo;
|
|
3344
3344
|
if (typeof __webpack_nonce__ < "u") return __webpack_nonce__;
|
|
3345
3345
|
};
|
|
3346
3346
|
//#endregion
|
|
3347
3347
|
//#region ../node_modules/react-style-singleton/dist/es2015/singleton.js
|
|
3348
|
-
function
|
|
3348
|
+
function No() {
|
|
3349
3349
|
if (!document) return null;
|
|
3350
3350
|
var e = document.createElement("style");
|
|
3351
3351
|
e.type = "text/css";
|
|
3352
|
-
var t =
|
|
3352
|
+
var t = Mo();
|
|
3353
3353
|
return t && e.setAttribute("nonce", t), e;
|
|
3354
3354
|
}
|
|
3355
|
-
function
|
|
3355
|
+
function Po(e, t) {
|
|
3356
3356
|
e.styleSheet ? e.styleSheet.cssText = t : e.appendChild(document.createTextNode(t));
|
|
3357
3357
|
}
|
|
3358
|
-
function
|
|
3358
|
+
function Fo(e) {
|
|
3359
3359
|
(document.head || document.getElementsByTagName("head")[0]).appendChild(e);
|
|
3360
3360
|
}
|
|
3361
|
-
var
|
|
3361
|
+
var Io = function() {
|
|
3362
3362
|
var e = 0, t = null;
|
|
3363
3363
|
return {
|
|
3364
3364
|
add: function(n) {
|
|
3365
|
-
e == 0 && (t =
|
|
3365
|
+
e == 0 && (t = No()) && (Po(t, n), Fo(t)), e++;
|
|
3366
3366
|
},
|
|
3367
3367
|
remove: function() {
|
|
3368
3368
|
e--, !e && t && (t.parentNode && t.parentNode.removeChild(t), t = null);
|
|
3369
3369
|
}
|
|
3370
3370
|
};
|
|
3371
|
-
},
|
|
3372
|
-
var e =
|
|
3371
|
+
}, Lo = function() {
|
|
3372
|
+
var e = Io();
|
|
3373
3373
|
return function(t, n) {
|
|
3374
3374
|
I.useEffect(function() {
|
|
3375
3375
|
return e.add(t), function() {
|
|
@@ -3377,43 +3377,43 @@ var Fo = function() {
|
|
|
3377
3377
|
};
|
|
3378
3378
|
}, [t && n]);
|
|
3379
3379
|
};
|
|
3380
|
-
},
|
|
3381
|
-
var e =
|
|
3380
|
+
}, Ro = function() {
|
|
3381
|
+
var e = Lo();
|
|
3382
3382
|
return function(t) {
|
|
3383
3383
|
var n = t.styles, r = t.dynamic;
|
|
3384
3384
|
return e(n, r), null;
|
|
3385
3385
|
};
|
|
3386
|
-
},
|
|
3386
|
+
}, zo = {
|
|
3387
3387
|
left: 0,
|
|
3388
3388
|
top: 0,
|
|
3389
3389
|
right: 0,
|
|
3390
3390
|
gap: 0
|
|
3391
|
-
}, zo = function(e) {
|
|
3392
|
-
return parseInt(e || "", 10) || 0;
|
|
3393
3391
|
}, Bo = function(e) {
|
|
3392
|
+
return parseInt(e || "", 10) || 0;
|
|
3393
|
+
}, Vo = function(e) {
|
|
3394
3394
|
var t = window.getComputedStyle(document.body), n = t[e === "padding" ? "paddingLeft" : "marginLeft"], r = t[e === "padding" ? "paddingTop" : "marginTop"], i = t[e === "padding" ? "paddingRight" : "marginRight"];
|
|
3395
3395
|
return [
|
|
3396
|
-
|
|
3397
|
-
|
|
3398
|
-
|
|
3396
|
+
Bo(n),
|
|
3397
|
+
Bo(r),
|
|
3398
|
+
Bo(i)
|
|
3399
3399
|
];
|
|
3400
|
-
},
|
|
3401
|
-
if (e === void 0 && (e = "margin"), typeof window > "u") return
|
|
3402
|
-
var t =
|
|
3400
|
+
}, Ho = function(e) {
|
|
3401
|
+
if (e === void 0 && (e = "margin"), typeof window > "u") return zo;
|
|
3402
|
+
var t = Vo(e), n = document.documentElement.clientWidth, r = window.innerWidth;
|
|
3403
3403
|
return {
|
|
3404
3404
|
left: t[0],
|
|
3405
3405
|
top: t[1],
|
|
3406
3406
|
right: t[2],
|
|
3407
3407
|
gap: Math.max(0, r - n + t[2] - t[0])
|
|
3408
3408
|
};
|
|
3409
|
-
},
|
|
3409
|
+
}, Uo = Ro(), Wo = "data-scroll-locked", Go = function(e, t, n, r) {
|
|
3410
3410
|
var i = e.left, a = e.top, o = e.right, s = e.gap;
|
|
3411
3411
|
return n === void 0 && (n = "margin"), `
|
|
3412
|
-
.${
|
|
3412
|
+
.${go} {
|
|
3413
3413
|
overflow: hidden ${r};
|
|
3414
3414
|
padding-right: ${s}px ${r};
|
|
3415
3415
|
}
|
|
3416
|
-
body[${
|
|
3416
|
+
body[${Wo}] {
|
|
3417
3417
|
overflow: hidden ${r};
|
|
3418
3418
|
overscroll-behavior: contain;
|
|
3419
3419
|
${[
|
|
@@ -3430,122 +3430,122 @@ var Fo = function() {
|
|
|
3430
3430
|
].filter(Boolean).join("")}
|
|
3431
3431
|
}
|
|
3432
3432
|
|
|
3433
|
-
.${
|
|
3433
|
+
.${mo} {
|
|
3434
3434
|
right: ${s}px ${r};
|
|
3435
3435
|
}
|
|
3436
3436
|
|
|
3437
|
-
.${
|
|
3437
|
+
.${ho} {
|
|
3438
3438
|
margin-right: ${s}px ${r};
|
|
3439
3439
|
}
|
|
3440
3440
|
|
|
3441
|
-
.${
|
|
3441
|
+
.${mo} .${mo} {
|
|
3442
3442
|
right: 0 ${r};
|
|
3443
3443
|
}
|
|
3444
3444
|
|
|
3445
|
-
.${
|
|
3445
|
+
.${ho} .${ho} {
|
|
3446
3446
|
margin-right: 0 ${r};
|
|
3447
3447
|
}
|
|
3448
3448
|
|
|
3449
|
-
body[${
|
|
3450
|
-
${
|
|
3449
|
+
body[${Wo}] {
|
|
3450
|
+
${_o}: ${s}px;
|
|
3451
3451
|
}
|
|
3452
3452
|
`;
|
|
3453
|
-
},
|
|
3453
|
+
}, Ko = function() {
|
|
3454
3454
|
var e = parseInt(document.body.getAttribute("data-scroll-locked") || "0", 10);
|
|
3455
3455
|
return isFinite(e) ? e : 0;
|
|
3456
|
-
},
|
|
3456
|
+
}, qo = function() {
|
|
3457
3457
|
I.useEffect(function() {
|
|
3458
|
-
return document.body.setAttribute(
|
|
3459
|
-
var e =
|
|
3460
|
-
e <= 0 ? document.body.removeAttribute(
|
|
3458
|
+
return document.body.setAttribute(Wo, (Ko() + 1).toString()), function() {
|
|
3459
|
+
var e = Ko() - 1;
|
|
3460
|
+
e <= 0 ? document.body.removeAttribute(Wo) : document.body.setAttribute(Wo, e.toString());
|
|
3461
3461
|
};
|
|
3462
3462
|
}, []);
|
|
3463
|
-
},
|
|
3463
|
+
}, Jo = function(e) {
|
|
3464
3464
|
var t = e.noRelative, n = e.noImportant, r = e.gapMode, i = r === void 0 ? "margin" : r;
|
|
3465
|
-
|
|
3465
|
+
qo();
|
|
3466
3466
|
var a = I.useMemo(function() {
|
|
3467
|
-
return
|
|
3467
|
+
return Ho(i);
|
|
3468
3468
|
}, [i]);
|
|
3469
|
-
return I.createElement(
|
|
3470
|
-
},
|
|
3469
|
+
return I.createElement(Uo, { styles: Go(a, !t, i, n ? "" : "!important") });
|
|
3470
|
+
}, Yo = !1;
|
|
3471
3471
|
if (typeof window < "u") try {
|
|
3472
|
-
var
|
|
3473
|
-
return
|
|
3472
|
+
var Xo = Object.defineProperty({}, "passive", { get: function() {
|
|
3473
|
+
return Yo = !0, !0;
|
|
3474
3474
|
} });
|
|
3475
|
-
window.addEventListener("test",
|
|
3475
|
+
window.addEventListener("test", Xo, Xo), window.removeEventListener("test", Xo, Xo);
|
|
3476
3476
|
} catch {
|
|
3477
|
-
|
|
3477
|
+
Yo = !1;
|
|
3478
3478
|
}
|
|
3479
|
-
var
|
|
3479
|
+
var Zo = Yo ? { passive: !1 } : !1, Qo = function(e) {
|
|
3480
3480
|
return e.tagName === "TEXTAREA";
|
|
3481
|
-
},
|
|
3481
|
+
}, $o = function(e, t) {
|
|
3482
3482
|
if (!(e instanceof Element)) return !1;
|
|
3483
3483
|
var n = window.getComputedStyle(e);
|
|
3484
|
-
return n[t] !== "hidden" && !(n.overflowY === n.overflowX && !
|
|
3485
|
-
}, $o = function(e) {
|
|
3486
|
-
return Qo(e, "overflowY");
|
|
3484
|
+
return n[t] !== "hidden" && !(n.overflowY === n.overflowX && !Qo(e) && n[t] === "visible");
|
|
3487
3485
|
}, es = function(e) {
|
|
3488
|
-
return
|
|
3489
|
-
}, ts = function(e
|
|
3486
|
+
return $o(e, "overflowY");
|
|
3487
|
+
}, ts = function(e) {
|
|
3488
|
+
return $o(e, "overflowX");
|
|
3489
|
+
}, ns = function(e, t) {
|
|
3490
3490
|
var n = t.ownerDocument, r = t;
|
|
3491
3491
|
do {
|
|
3492
|
-
if (typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host),
|
|
3493
|
-
var i =
|
|
3492
|
+
if (typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host), as(e, r)) {
|
|
3493
|
+
var i = os(e, r);
|
|
3494
3494
|
if (i[1] > i[2]) return !0;
|
|
3495
3495
|
}
|
|
3496
3496
|
r = r.parentNode;
|
|
3497
3497
|
} while (r && r !== n.body);
|
|
3498
3498
|
return !1;
|
|
3499
|
-
},
|
|
3499
|
+
}, rs = function(e) {
|
|
3500
3500
|
return [
|
|
3501
3501
|
e.scrollTop,
|
|
3502
3502
|
e.scrollHeight,
|
|
3503
3503
|
e.clientHeight
|
|
3504
3504
|
];
|
|
3505
|
-
},
|
|
3505
|
+
}, is = function(e) {
|
|
3506
3506
|
return [
|
|
3507
3507
|
e.scrollLeft,
|
|
3508
3508
|
e.scrollWidth,
|
|
3509
3509
|
e.clientWidth
|
|
3510
3510
|
];
|
|
3511
|
-
}, is = function(e, t) {
|
|
3512
|
-
return e === "v" ? $o(t) : es(t);
|
|
3513
3511
|
}, as = function(e, t) {
|
|
3514
|
-
return e === "v" ?
|
|
3512
|
+
return e === "v" ? es(t) : ts(t);
|
|
3515
3513
|
}, os = function(e, t) {
|
|
3514
|
+
return e === "v" ? rs(t) : is(t);
|
|
3515
|
+
}, ss = function(e, t) {
|
|
3516
3516
|
return e === "h" && t === "rtl" ? -1 : 1;
|
|
3517
|
-
},
|
|
3518
|
-
var a =
|
|
3517
|
+
}, cs = function(e, t, n, r, i) {
|
|
3518
|
+
var a = ss(e, window.getComputedStyle(t).direction), o = a * r, s = n.target, c = t.contains(s), l = !1, u = o > 0, d = 0, f = 0;
|
|
3519
3519
|
do {
|
|
3520
3520
|
if (!s) break;
|
|
3521
|
-
var p =
|
|
3522
|
-
(m || h) &&
|
|
3521
|
+
var p = os(e, s), m = p[0], h = p[1] - p[2] - a * m;
|
|
3522
|
+
(m || h) && as(e, s) && (d += h, f += m);
|
|
3523
3523
|
var g = s.parentNode;
|
|
3524
3524
|
s = g && g.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? g.host : g;
|
|
3525
3525
|
} while (!c && s !== document.body || c && (t.contains(s) || t === s));
|
|
3526
3526
|
return (u && (i && Math.abs(d) < 1 || !i && o > d) || !u && (i && Math.abs(f) < 1 || !i && -o > f)) && (l = !0), l;
|
|
3527
|
-
}, cs = function(e) {
|
|
3528
|
-
return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
|
|
3529
3527
|
}, ls = function(e) {
|
|
3530
|
-
return [e.
|
|
3528
|
+
return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
|
|
3531
3529
|
}, us = function(e) {
|
|
3530
|
+
return [e.deltaX, e.deltaY];
|
|
3531
|
+
}, ds = function(e) {
|
|
3532
3532
|
return e && "current" in e ? e.current : e;
|
|
3533
|
-
},
|
|
3533
|
+
}, fs = function(e, t) {
|
|
3534
3534
|
return e[0] === t[0] && e[1] === t[1];
|
|
3535
|
-
},
|
|
3535
|
+
}, ps = function(e) {
|
|
3536
3536
|
return `
|
|
3537
3537
|
.block-interactivity-${e} {pointer-events: none;}
|
|
3538
3538
|
.allow-interactivity-${e} {pointer-events: all;}
|
|
3539
3539
|
`;
|
|
3540
|
-
},
|
|
3541
|
-
function
|
|
3542
|
-
var t = I.useRef([]), n = I.useRef([0, 0]), r = I.useRef(), i = I.useState(
|
|
3540
|
+
}, ms = 0, hs = [];
|
|
3541
|
+
function gs(e) {
|
|
3542
|
+
var t = I.useRef([]), n = I.useRef([0, 0]), r = I.useRef(), i = I.useState(ms++)[0], a = I.useState(Ro)[0], o = I.useRef(e);
|
|
3543
3543
|
I.useEffect(function() {
|
|
3544
3544
|
o.current = e;
|
|
3545
3545
|
}, [e]), I.useEffect(function() {
|
|
3546
3546
|
if (e.inert) {
|
|
3547
3547
|
document.body.classList.add(`block-interactivity-${i}`);
|
|
3548
|
-
var t =
|
|
3548
|
+
var t = po([e.lockRef.current], (e.shards || []).map(ds), !0).filter(Boolean);
|
|
3549
3549
|
return t.forEach(function(e) {
|
|
3550
3550
|
return e.classList.add(`allow-interactivity-${i}`);
|
|
3551
3551
|
}), function() {
|
|
@@ -3561,28 +3561,28 @@ function hs(e) {
|
|
|
3561
3561
|
]);
|
|
3562
3562
|
var s = I.useCallback(function(e, t) {
|
|
3563
3563
|
if ("touches" in e && e.touches.length === 2 || e.type === "wheel" && e.ctrlKey) return !o.current.allowPinchZoom;
|
|
3564
|
-
var i =
|
|
3564
|
+
var i = ls(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";
|
|
3565
3565
|
if ("touches" in e && d === "h" && u.type === "range") return !1;
|
|
3566
3566
|
var f = window.getSelection(), p = f && f.anchorNode;
|
|
3567
3567
|
if (p && (p === u || p.contains(u))) return !1;
|
|
3568
|
-
var m =
|
|
3568
|
+
var m = ns(d, u);
|
|
3569
3569
|
if (!m) return !0;
|
|
3570
|
-
if (m ? l = d : (l = d === "v" ? "h" : "v", m =
|
|
3570
|
+
if (m ? l = d : (l = d === "v" ? "h" : "v", m = ns(d, u)), !m) return !1;
|
|
3571
3571
|
if (!r.current && "changedTouches" in e && (s || c) && (r.current = l), !l) return !0;
|
|
3572
3572
|
var h = r.current || l;
|
|
3573
|
-
return
|
|
3573
|
+
return cs(h, t, e, h === "h" ? s : c, !0);
|
|
3574
3574
|
}, []), c = I.useCallback(function(e) {
|
|
3575
3575
|
var n = e;
|
|
3576
|
-
if (!(!
|
|
3577
|
-
var r = "deltaY" in n ?
|
|
3578
|
-
return e.name === n.type && (e.target === n.target || n.target === e.shadowParent) &&
|
|
3576
|
+
if (!(!hs.length || hs[hs.length - 1] !== a)) {
|
|
3577
|
+
var r = "deltaY" in n ? us(n) : ls(n), i = t.current.filter(function(e) {
|
|
3578
|
+
return e.name === n.type && (e.target === n.target || n.target === e.shadowParent) && fs(e.delta, r);
|
|
3579
3579
|
})[0];
|
|
3580
3580
|
if (i && i.should) {
|
|
3581
3581
|
n.cancelable && n.preventDefault();
|
|
3582
3582
|
return;
|
|
3583
3583
|
}
|
|
3584
3584
|
if (!i) {
|
|
3585
|
-
var c = (o.current.shards || []).map(
|
|
3585
|
+
var c = (o.current.shards || []).map(ds).filter(Boolean).filter(function(e) {
|
|
3586
3586
|
return e.contains(n.target);
|
|
3587
3587
|
});
|
|
3588
3588
|
(c.length > 0 ? s(n, c[0]) : !o.current.noIsolation) && n.cancelable && n.preventDefault();
|
|
@@ -3594,7 +3594,7 @@ function hs(e) {
|
|
|
3594
3594
|
delta: n,
|
|
3595
3595
|
target: r,
|
|
3596
3596
|
should: i,
|
|
3597
|
-
shadowParent:
|
|
3597
|
+
shadowParent: _s(r)
|
|
3598
3598
|
};
|
|
3599
3599
|
t.current.push(a), setTimeout(function() {
|
|
3600
3600
|
t.current = t.current.filter(function(e) {
|
|
@@ -3602,56 +3602,56 @@ function hs(e) {
|
|
|
3602
3602
|
});
|
|
3603
3603
|
}, 1);
|
|
3604
3604
|
}, []), u = I.useCallback(function(e) {
|
|
3605
|
-
n.current =
|
|
3605
|
+
n.current = ls(e), r.current = void 0;
|
|
3606
3606
|
}, []), d = I.useCallback(function(t) {
|
|
3607
|
-
l(t.type,
|
|
3607
|
+
l(t.type, us(t), t.target, s(t, e.lockRef.current));
|
|
3608
3608
|
}, []), f = I.useCallback(function(t) {
|
|
3609
|
-
l(t.type,
|
|
3609
|
+
l(t.type, ls(t), t.target, s(t, e.lockRef.current));
|
|
3610
3610
|
}, []);
|
|
3611
3611
|
I.useEffect(function() {
|
|
3612
|
-
return
|
|
3612
|
+
return hs.push(a), e.setCallbacks({
|
|
3613
3613
|
onScrollCapture: d,
|
|
3614
3614
|
onWheelCapture: d,
|
|
3615
3615
|
onTouchMoveCapture: f
|
|
3616
|
-
}), document.addEventListener("wheel", c,
|
|
3617
|
-
|
|
3616
|
+
}), document.addEventListener("wheel", c, Zo), document.addEventListener("touchmove", c, Zo), document.addEventListener("touchstart", u, Zo), function() {
|
|
3617
|
+
hs = hs.filter(function(e) {
|
|
3618
3618
|
return e !== a;
|
|
3619
|
-
}), document.removeEventListener("wheel", c,
|
|
3619
|
+
}), document.removeEventListener("wheel", c, Zo), document.removeEventListener("touchmove", c, Zo), document.removeEventListener("touchstart", u, Zo);
|
|
3620
3620
|
};
|
|
3621
3621
|
}, []);
|
|
3622
3622
|
var p = e.removeScrollBar, m = e.inert;
|
|
3623
|
-
return I.createElement(I.Fragment, null, m ? I.createElement(a, { styles:
|
|
3623
|
+
return I.createElement(I.Fragment, null, m ? I.createElement(a, { styles: ps(i) }) : null, p ? I.createElement(Jo, {
|
|
3624
3624
|
noRelative: e.noRelative,
|
|
3625
3625
|
gapMode: e.gapMode
|
|
3626
3626
|
}) : null);
|
|
3627
3627
|
}
|
|
3628
|
-
function
|
|
3628
|
+
function _s(e) {
|
|
3629
3629
|
for (var t = null; e !== null;) e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
|
|
3630
3630
|
return t;
|
|
3631
3631
|
}
|
|
3632
3632
|
//#endregion
|
|
3633
3633
|
//#region ../node_modules/react-remove-scroll/dist/es2015/sidecar.js
|
|
3634
|
-
var
|
|
3635
|
-
return I.createElement(
|
|
3634
|
+
var vs = Do(Oo, gs), ys = I.forwardRef(function(e, t) {
|
|
3635
|
+
return I.createElement(Ao, $({}, e, {
|
|
3636
3636
|
ref: t,
|
|
3637
|
-
sideCar:
|
|
3637
|
+
sideCar: vs
|
|
3638
3638
|
}));
|
|
3639
3639
|
});
|
|
3640
|
-
|
|
3640
|
+
ys.classNames = Ao.classNames;
|
|
3641
3641
|
//#endregion
|
|
3642
3642
|
//#region ../node_modules/@radix-ui/react-popover/dist/index.mjs
|
|
3643
|
-
var
|
|
3644
|
-
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, s =
|
|
3643
|
+
var bs = "Popover", [xs, Ss] = yn(bs, [xa]), Cs = xa(), [ws, Ts] = xs(bs), Es = (e) => {
|
|
3644
|
+
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, s = Cs(t), c = I.useRef(null), [l, u] = I.useState(!1), [d, f] = Ya({
|
|
3645
3645
|
prop: r,
|
|
3646
3646
|
defaultProp: i ?? !1,
|
|
3647
3647
|
onChange: a,
|
|
3648
|
-
caller:
|
|
3648
|
+
caller: bs
|
|
3649
3649
|
});
|
|
3650
|
-
return /* @__PURE__ */ (0, L.jsx)(
|
|
3650
|
+
return /* @__PURE__ */ (0, L.jsx)(La, {
|
|
3651
3651
|
...s,
|
|
3652
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
3652
|
+
children: /* @__PURE__ */ (0, L.jsx)(ws, {
|
|
3653
3653
|
scope: t,
|
|
3654
|
-
contentId:
|
|
3654
|
+
contentId: dr(),
|
|
3655
3655
|
triggerRef: c,
|
|
3656
3656
|
open: d,
|
|
3657
3657
|
onOpenChange: f,
|
|
@@ -3664,42 +3664,42 @@ var ys = "Popover", [bs, xs] = vn(ys, [ba]), Ss = ba(), [Cs, ws] = bs(ys), Ts =
|
|
|
3664
3664
|
})
|
|
3665
3665
|
});
|
|
3666
3666
|
};
|
|
3667
|
-
|
|
3668
|
-
var
|
|
3669
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3670
|
-
return I.useEffect(() => (o(), () => s()), [o, s]), /* @__PURE__ */ (0, L.jsx)(
|
|
3667
|
+
Es.displayName = bs;
|
|
3668
|
+
var Ds = "PopoverAnchor", Os = I.forwardRef((e, t) => {
|
|
3669
|
+
let { __scopePopover: n, ...r } = e, i = Ts(Ds, n), a = Cs(n), { onCustomAnchorAdd: o, onCustomAnchorRemove: s } = i;
|
|
3670
|
+
return I.useEffect(() => (o(), () => s()), [o, s]), /* @__PURE__ */ (0, L.jsx)(Ra, {
|
|
3671
3671
|
...a,
|
|
3672
3672
|
...r,
|
|
3673
3673
|
ref: t
|
|
3674
3674
|
});
|
|
3675
3675
|
});
|
|
3676
|
-
|
|
3677
|
-
var
|
|
3678
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3676
|
+
Os.displayName = Ds;
|
|
3677
|
+
var ks = "PopoverTrigger", As = I.forwardRef((e, t) => {
|
|
3678
|
+
let { __scopePopover: n, ...r } = e, i = Ts(ks, n), a = Cs(n), o = H(t, i.triggerRef), s = /* @__PURE__ */ (0, L.jsx)(U.button, {
|
|
3679
3679
|
type: "button",
|
|
3680
3680
|
"aria-haspopup": "dialog",
|
|
3681
3681
|
"aria-expanded": i.open,
|
|
3682
3682
|
"aria-controls": i.contentId,
|
|
3683
|
-
"data-state":
|
|
3683
|
+
"data-state": Gs(i.open),
|
|
3684
3684
|
...r,
|
|
3685
3685
|
ref: o,
|
|
3686
3686
|
onClick: V(e.onClick, i.onOpenToggle)
|
|
3687
3687
|
});
|
|
3688
|
-
return i.hasCustomAnchor ? s : /* @__PURE__ */ (0, L.jsx)(
|
|
3688
|
+
return i.hasCustomAnchor ? s : /* @__PURE__ */ (0, L.jsx)(Ra, {
|
|
3689
3689
|
asChild: !0,
|
|
3690
3690
|
...a,
|
|
3691
3691
|
children: s
|
|
3692
3692
|
});
|
|
3693
3693
|
});
|
|
3694
|
-
|
|
3695
|
-
var
|
|
3696
|
-
let { __scopePopover: t, forceMount: n, children: r, container: i } = e, a =
|
|
3697
|
-
return /* @__PURE__ */ (0, L.jsx)(
|
|
3694
|
+
As.displayName = ks;
|
|
3695
|
+
var js = "PopoverPortal", [Ms, Ns] = xs(js, { forceMount: void 0 }), Ps = (e) => {
|
|
3696
|
+
let { __scopePopover: t, forceMount: n, children: r, container: i } = e, a = Ts(js, t);
|
|
3697
|
+
return /* @__PURE__ */ (0, L.jsx)(Ms, {
|
|
3698
3698
|
scope: t,
|
|
3699
3699
|
forceMount: n,
|
|
3700
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
3700
|
+
children: /* @__PURE__ */ (0, L.jsx)(Wa, {
|
|
3701
3701
|
present: n || a.open,
|
|
3702
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
3702
|
+
children: /* @__PURE__ */ (0, L.jsx)(Ha, {
|
|
3703
3703
|
asChild: !0,
|
|
3704
3704
|
container: i,
|
|
3705
3705
|
children: r
|
|
@@ -3707,30 +3707,30 @@ var As = "PopoverPortal", [js, Ms] = bs(As, { forceMount: void 0 }), Ns = (e) =>
|
|
|
3707
3707
|
})
|
|
3708
3708
|
});
|
|
3709
3709
|
};
|
|
3710
|
-
|
|
3711
|
-
var
|
|
3712
|
-
let n =
|
|
3713
|
-
return /* @__PURE__ */ (0, L.jsx)(
|
|
3710
|
+
Ps.displayName = js;
|
|
3711
|
+
var Fs = "PopoverContent", Is = I.forwardRef((e, t) => {
|
|
3712
|
+
let n = Ns(Fs, e.__scopePopover), { forceMount: r = n.forceMount, ...i } = e, a = Ts(Fs, e.__scopePopover);
|
|
3713
|
+
return /* @__PURE__ */ (0, L.jsx)(Wa, {
|
|
3714
3714
|
present: r || a.open,
|
|
3715
|
-
children: a.modal ? /* @__PURE__ */ (0, L.jsx)(
|
|
3715
|
+
children: a.modal ? /* @__PURE__ */ (0, L.jsx)(Rs, {
|
|
3716
3716
|
...i,
|
|
3717
3717
|
ref: t
|
|
3718
|
-
}) : /* @__PURE__ */ (0, L.jsx)(
|
|
3718
|
+
}) : /* @__PURE__ */ (0, L.jsx)(zs, {
|
|
3719
3719
|
...i,
|
|
3720
3720
|
ref: t
|
|
3721
3721
|
})
|
|
3722
3722
|
});
|
|
3723
3723
|
});
|
|
3724
|
-
|
|
3725
|
-
var
|
|
3726
|
-
let n =
|
|
3724
|
+
Is.displayName = Fs;
|
|
3725
|
+
var Ls = /* @__PURE__ */ xn("PopoverContent.RemoveScroll"), Rs = I.forwardRef((e, t) => {
|
|
3726
|
+
let n = Ts(Fs, e.__scopePopover), r = I.useRef(null), i = H(t, r), a = I.useRef(!1);
|
|
3727
3727
|
return I.useEffect(() => {
|
|
3728
3728
|
let e = r.current;
|
|
3729
|
-
if (e) return
|
|
3730
|
-
}, []), /* @__PURE__ */ (0, L.jsx)(
|
|
3731
|
-
as:
|
|
3729
|
+
if (e) return oo(e);
|
|
3730
|
+
}, []), /* @__PURE__ */ (0, L.jsx)(ys, {
|
|
3731
|
+
as: Ls,
|
|
3732
3732
|
allowPinchZoom: !0,
|
|
3733
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
3733
|
+
children: /* @__PURE__ */ (0, L.jsx)(Bs, {
|
|
3734
3734
|
...e,
|
|
3735
3735
|
ref: i,
|
|
3736
3736
|
trapFocus: n.open,
|
|
@@ -3745,9 +3745,9 @@ var Is = /* @__PURE__ */ bn("PopoverContent.RemoveScroll"), Ls = I.forwardRef((e
|
|
|
3745
3745
|
onFocusOutside: V(e.onFocusOutside, (e) => e.preventDefault(), { checkForDefaultPrevented: !1 })
|
|
3746
3746
|
})
|
|
3747
3747
|
});
|
|
3748
|
-
}),
|
|
3749
|
-
let n =
|
|
3750
|
-
return /* @__PURE__ */ (0, L.jsx)(
|
|
3748
|
+
}), zs = I.forwardRef((e, t) => {
|
|
3749
|
+
let n = Ts(Fs, e.__scopePopover), r = I.useRef(!1), i = I.useRef(!1);
|
|
3750
|
+
return /* @__PURE__ */ (0, L.jsx)(Bs, {
|
|
3751
3751
|
...e,
|
|
3752
3752
|
ref: t,
|
|
3753
3753
|
trapFocus: !1,
|
|
@@ -3761,15 +3761,15 @@ var Is = /* @__PURE__ */ bn("PopoverContent.RemoveScroll"), Ls = I.forwardRef((e
|
|
|
3761
3761
|
n.triggerRef.current?.contains(a) && t.preventDefault(), t.detail.originalEvent.type === "focusin" && i.current && t.preventDefault();
|
|
3762
3762
|
}
|
|
3763
3763
|
});
|
|
3764
|
-
}),
|
|
3765
|
-
let { __scopePopover: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, disableOutsidePointerEvents: o, onEscapeKeyDown: s, onPointerDownOutside: c, onFocusOutside: l, onInteractOutside: u, ...d } = e, f =
|
|
3766
|
-
return
|
|
3764
|
+
}), Bs = I.forwardRef((e, t) => {
|
|
3765
|
+
let { __scopePopover: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, disableOutsidePointerEvents: o, onEscapeKeyDown: s, onPointerDownOutside: c, onFocusOutside: l, onInteractOutside: u, ...d } = e, f = Ts(Fs, n), p = Cs(n);
|
|
3766
|
+
return Wn(), /* @__PURE__ */ (0, L.jsx)(Xn, {
|
|
3767
3767
|
asChild: !0,
|
|
3768
3768
|
loop: !0,
|
|
3769
3769
|
trapped: r,
|
|
3770
3770
|
onMountAutoFocus: i,
|
|
3771
3771
|
onUnmountAutoFocus: a,
|
|
3772
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
3772
|
+
children: /* @__PURE__ */ (0, L.jsx)(In, {
|
|
3773
3773
|
asChild: !0,
|
|
3774
3774
|
disableOutsidePointerEvents: o,
|
|
3775
3775
|
onInteractOutside: u,
|
|
@@ -3777,8 +3777,8 @@ var Is = /* @__PURE__ */ bn("PopoverContent.RemoveScroll"), Ls = I.forwardRef((e
|
|
|
3777
3777
|
onPointerDownOutside: c,
|
|
3778
3778
|
onFocusOutside: l,
|
|
3779
3779
|
onDismiss: () => f.onOpenChange(!1),
|
|
3780
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
3781
|
-
"data-state":
|
|
3780
|
+
children: /* @__PURE__ */ (0, L.jsx)(za, {
|
|
3781
|
+
"data-state": Gs(f.open),
|
|
3782
3782
|
role: "dialog",
|
|
3783
3783
|
id: f.contentId,
|
|
3784
3784
|
...p,
|
|
@@ -3795,8 +3795,8 @@ var Is = /* @__PURE__ */ bn("PopoverContent.RemoveScroll"), Ls = I.forwardRef((e
|
|
|
3795
3795
|
})
|
|
3796
3796
|
})
|
|
3797
3797
|
});
|
|
3798
|
-
}),
|
|
3799
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3798
|
+
}), Vs = "PopoverClose", Hs = I.forwardRef((e, t) => {
|
|
3799
|
+
let { __scopePopover: n, ...r } = e, i = Ts(Vs, n);
|
|
3800
3800
|
return /* @__PURE__ */ (0, L.jsx)(U.button, {
|
|
3801
3801
|
type: "button",
|
|
3802
3802
|
...r,
|
|
@@ -3804,36 +3804,36 @@ var Is = /* @__PURE__ */ bn("PopoverContent.RemoveScroll"), Ls = I.forwardRef((e
|
|
|
3804
3804
|
onClick: V(e.onClick, () => i.onOpenChange(!1))
|
|
3805
3805
|
});
|
|
3806
3806
|
});
|
|
3807
|
-
|
|
3808
|
-
var
|
|
3809
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3810
|
-
return /* @__PURE__ */ (0, L.jsx)(
|
|
3807
|
+
Hs.displayName = Vs;
|
|
3808
|
+
var Us = "PopoverArrow", Ws = I.forwardRef((e, t) => {
|
|
3809
|
+
let { __scopePopover: n, ...r } = e, i = Cs(n);
|
|
3810
|
+
return /* @__PURE__ */ (0, L.jsx)(Ba, {
|
|
3811
3811
|
...i,
|
|
3812
3812
|
...r,
|
|
3813
3813
|
ref: t
|
|
3814
3814
|
});
|
|
3815
3815
|
});
|
|
3816
|
-
|
|
3817
|
-
function
|
|
3816
|
+
Ws.displayName = Us;
|
|
3817
|
+
function Gs(e) {
|
|
3818
3818
|
return e ? "open" : "closed";
|
|
3819
3819
|
}
|
|
3820
|
-
var
|
|
3820
|
+
var Ks = Es, qs = As, Js = Is, Ys = Ws, Xs = ({ message: e, trigger: t, initialVisibility: n = !1 }) => /* @__PURE__ */ (0, L.jsxs)(Ks, {
|
|
3821
3821
|
defaultOpen: n,
|
|
3822
3822
|
children: [/* @__PURE__ */ (0, L.jsx)("div", {
|
|
3823
3823
|
className: "flex justify-center",
|
|
3824
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
3824
|
+
children: /* @__PURE__ */ (0, L.jsx)(qs, {
|
|
3825
3825
|
asChild: !0,
|
|
3826
3826
|
children: t
|
|
3827
3827
|
})
|
|
3828
|
-
}), /* @__PURE__ */ (0, L.jsxs)(
|
|
3828
|
+
}), /* @__PURE__ */ (0, L.jsxs)(Js, {
|
|
3829
3829
|
className: "sid-popover__container",
|
|
3830
3830
|
sideOffset: 10,
|
|
3831
3831
|
side: "bottom",
|
|
3832
|
-
children: [e, /* @__PURE__ */ (0, L.jsx)(
|
|
3832
|
+
children: [e, /* @__PURE__ */ (0, L.jsx)(Ys, { className: "sid-popover__caret" })]
|
|
3833
3833
|
})]
|
|
3834
|
-
}),
|
|
3834
|
+
}), Zs = ({ verificationService: e, initialVisibility: t = !1 }) => {
|
|
3835
3835
|
let n = he();
|
|
3836
|
-
return /* @__PURE__ */ (0, L.jsx)(
|
|
3836
|
+
return /* @__PURE__ */ (0, L.jsx)(Xs, {
|
|
3837
3837
|
initialVisibility: t,
|
|
3838
3838
|
trigger: /* @__PURE__ */ (0, L.jsx)("button", {
|
|
3839
3839
|
type: "button",
|
|
@@ -3846,10 +3846,10 @@ var Gs = Ts, Ks = ks, qs = Fs, Js = Us, Ys = ({ message: e, trigger: t, initialV
|
|
|
3846
3846
|
context: n
|
|
3847
3847
|
}),
|
|
3848
3848
|
"\xA0",
|
|
3849
|
-
/* @__PURE__ */ (0, L.jsx)(
|
|
3849
|
+
/* @__PURE__ */ (0, L.jsx)(At, { verificationService: e })
|
|
3850
3850
|
] })
|
|
3851
3851
|
});
|
|
3852
|
-
},
|
|
3852
|
+
}, Qs = ({ verificationService: e }) => {
|
|
3853
3853
|
let t = d(() => e.programTheme.remainingRewardCodes, null);
|
|
3854
3854
|
return typeof t == "number" && t > 0 ? /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
3855
3855
|
className: "sid-rewards-remaining",
|
|
@@ -3864,11 +3864,11 @@ var Gs = Ts, Ks = ks, qs = Fs, Js = Us, Ys = ({ message: e, trigger: t, initialV
|
|
|
3864
3864
|
/* @__PURE__ */ (0, L.jsx)("div", { className: "sid-l-space-top-sm" })
|
|
3865
3865
|
]
|
|
3866
3866
|
}) : null;
|
|
3867
|
-
},
|
|
3868
|
-
let { verificationResponse: n } = e, r =
|
|
3867
|
+
}, $s = (e) => e !== void 0, ec = ({ verificationService: e, classNameIdentifier: t = void 0 }) => {
|
|
3868
|
+
let { verificationResponse: n } = e, r = $s(n) ? Be(n) : !1, i = r ? "step.personalInfo.tryAgain.title" : "step.personalInfo.title", a = r ? "step.personalInfo.tryAgain.subtitle" : "step.personalInfo.subtitle";
|
|
3869
3869
|
return /* @__PURE__ */ (0, L.jsx)("div", {
|
|
3870
3870
|
className: "sid-personal-info-header",
|
|
3871
|
-
children: /* @__PURE__ */ (0, L.jsxs)(
|
|
3871
|
+
children: /* @__PURE__ */ (0, L.jsxs)(gn, {
|
|
3872
3872
|
verificationService: e,
|
|
3873
3873
|
title: /* @__PURE__ */ (0, L.jsx)(N, {
|
|
3874
3874
|
id: i,
|
|
@@ -3882,7 +3882,7 @@ var Gs = Ts, Ks = ks, qs = Fs, Js = Us, Ys = ({ message: e, trigger: t, initialV
|
|
|
3882
3882
|
}),
|
|
3883
3883
|
/* @__PURE__ */ (0, L.jsx)("div", {
|
|
3884
3884
|
className: "sid-header__how-verifying-works sid-l-horz-center",
|
|
3885
|
-
children: !r && /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(
|
|
3885
|
+
children: !r && /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(Zs, { verificationService: e }), /* @__PURE__ */ (0, L.jsx)(Qs, { verificationService: e })] })
|
|
3886
3886
|
}),
|
|
3887
3887
|
/* @__PURE__ */ (0, L.jsx)("div", {
|
|
3888
3888
|
className: "sid-h-medium-text sid-l-space-btm-sm sid-l-space-top-sm",
|
|
@@ -3891,15 +3891,15 @@ var Gs = Ts, Ks = ks, qs = Fs, Js = Us, Ys = ({ message: e, trigger: t, initialV
|
|
|
3891
3891
|
]
|
|
3892
3892
|
})
|
|
3893
3893
|
});
|
|
3894
|
-
},
|
|
3895
|
-
let { isEmbedded: i } =
|
|
3894
|
+
}, tc = () => ({ isEmbedded: !!s("verificationIframeUid") }), nc = ({ layout: e, children: t, verificationService: n, renderAsLandingPage: r }) => {
|
|
3895
|
+
let { isEmbedded: i } = tc();
|
|
3896
3896
|
return !r || i ? /* @__PURE__ */ (0, L.jsx)(L.Fragment, { children: t }) : /* @__PURE__ */ (0, L.jsx)("div", {
|
|
3897
3897
|
className: `sid-layout sid-layout--${e}`,
|
|
3898
3898
|
children: /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
3899
3899
|
className: "sid-layout__container",
|
|
3900
3900
|
children: [e === "fullRight" && /* @__PURE__ */ (0, L.jsx)("div", {
|
|
3901
3901
|
className: "sid-layout__content",
|
|
3902
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
3902
|
+
children: /* @__PURE__ */ (0, L.jsx)(ec, {
|
|
3903
3903
|
verificationService: n,
|
|
3904
3904
|
classNameIdentifier: "landing"
|
|
3905
3905
|
})
|
|
@@ -3912,27 +3912,27 @@ var Gs = Ts, Ks = ks, qs = Fs, Js = Us, Ys = ({ message: e, trigger: t, initialV
|
|
|
3912
3912
|
})]
|
|
3913
3913
|
})
|
|
3914
3914
|
});
|
|
3915
|
-
},
|
|
3915
|
+
}, rc = ({ children: e }) => /* @__PURE__ */ (0, L.jsx)("div", {
|
|
3916
3916
|
className: "sid sid-form-wrapper",
|
|
3917
3917
|
children: e
|
|
3918
|
-
}),
|
|
3919
|
-
let s =
|
|
3918
|
+
}), ic = ({ locale: t, messages: n, programTheme: i, verificationService: a, programId: o }) => {
|
|
3919
|
+
let s = tt(), u = y(), d = fe() ?? i, f = ge(se, de), p = (0, I.useMemo)(() => f ? {
|
|
3920
3920
|
...a.verificationResponse,
|
|
3921
3921
|
...f
|
|
3922
3922
|
} : a.verificationResponse, [f, a.verificationResponse]), m = (0, I.useMemo)(() => ({
|
|
3923
3923
|
...a,
|
|
3924
3924
|
programTheme: d,
|
|
3925
3925
|
verificationResponse: p,
|
|
3926
|
-
formValidationOptions:
|
|
3926
|
+
formValidationOptions: Tt(d, p, a.viewModel)
|
|
3927
3927
|
}), [
|
|
3928
3928
|
a,
|
|
3929
3929
|
d,
|
|
3930
3930
|
p
|
|
3931
|
-
]), h = d.themeChoices?.landingPage?.layout || "center", { renderAs: _ } = u, v =
|
|
3931
|
+
]), h = d.themeChoices?.landingPage?.layout || "center", { renderAs: _ } = u, v = rt();
|
|
3932
3932
|
I.useEffect(() => {
|
|
3933
3933
|
try {
|
|
3934
3934
|
if (v && m && m.viewModel) {
|
|
3935
|
-
let e = (0,
|
|
3935
|
+
let e = (0, bt.default)(v);
|
|
3936
3936
|
E(g.flags, e);
|
|
3937
3937
|
let t = l(m.viewModel.metadata || {}, (t) => {
|
|
3938
3938
|
t.flags = e;
|
|
@@ -3968,24 +3968,24 @@ var Gs = Ts, Ks = ks, qs = Fs, Js = Us, Ys = ({ message: e, trigger: t, initialV
|
|
|
3968
3968
|
locale: "en",
|
|
3969
3969
|
messages: {
|
|
3970
3970
|
...n,
|
|
3971
|
-
...(0,
|
|
3972
|
-
...(0,
|
|
3971
|
+
...(0, mt.default)(e(t)),
|
|
3972
|
+
...(0, mt.default)(b?.[t] ?? {})
|
|
3973
3973
|
},
|
|
3974
|
-
textComponent:
|
|
3975
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
3974
|
+
textComponent: mn,
|
|
3975
|
+
children: /* @__PURE__ */ (0, L.jsx)(wt, {
|
|
3976
3976
|
themeChoices: d.themeChoices,
|
|
3977
3977
|
customCssFromOptions: y().customCss,
|
|
3978
3978
|
children: /* @__PURE__ */ (0, L.jsx)("div", {
|
|
3979
|
-
className: `${
|
|
3980
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
3979
|
+
className: `${xt.default.isRtlLang(r(t)) ? "sid-rtl" : "sid-ltr"} sid-locale-${t}`,
|
|
3980
|
+
children: /* @__PURE__ */ (0, L.jsx)(rc, { children: /* @__PURE__ */ (0, L.jsx)(nc, {
|
|
3981
3981
|
layout: h,
|
|
3982
3982
|
verificationService: m,
|
|
3983
3983
|
renderAsLandingPage: _ === "landingPage",
|
|
3984
3984
|
children: /* @__PURE__ */ (0, L.jsx)(I.Suspense, {
|
|
3985
|
-
fallback: /* @__PURE__ */ (0, L.jsx)(
|
|
3986
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
3985
|
+
fallback: /* @__PURE__ */ (0, L.jsx)(_t, { step: m.loadingStep }),
|
|
3986
|
+
children: /* @__PURE__ */ (0, L.jsx)(ft, {
|
|
3987
3987
|
i18n: c,
|
|
3988
|
-
children: m.isLoading ? /* @__PURE__ */ (0, L.jsx)(
|
|
3988
|
+
children: m.isLoading ? /* @__PURE__ */ (0, L.jsx)(_t, { step: m.loadingStep }) : /* @__PURE__ */ (0, L.jsxs)("div", { children: [!y().hideTestModeFlag && /* @__PURE__ */ (0, L.jsx)(hn, { verificationService: m }), /* @__PURE__ */ (0, L.jsx)(pn, {
|
|
3989
3989
|
stepToLoad: m.overrideStep || m.verificationResponse.currentStep,
|
|
3990
3990
|
verificationService: m
|
|
3991
3991
|
})] })
|
|
@@ -3995,35 +3995,35 @@ var Gs = Ts, Ks = ks, qs = Fs, Js = Us, Ys = ({ message: e, trigger: t, initialV
|
|
|
3995
3995
|
})
|
|
3996
3996
|
})
|
|
3997
3997
|
}, t);
|
|
3998
|
-
},
|
|
3998
|
+
}, ac = () => {
|
|
3999
3999
|
let e = null;
|
|
4000
4000
|
document.addEventListener("keydown", (t) => {
|
|
4001
4001
|
if (t.key !== "Tab") return;
|
|
4002
4002
|
let n = document.querySelectorAll("button, .sid-link, input, select, textarea, [tabindex]:not([tabindex=\"-1\"]");
|
|
4003
|
-
e = n[n.length - 1], e && !t.shiftKey && document.activeElement === e && (
|
|
4003
|
+
e = n[n.length - 1], e && !t.shiftKey && document.activeElement === e && (Qe({
|
|
4004
4004
|
type: "focus",
|
|
4005
4005
|
focusOn: "firstElement"
|
|
4006
4006
|
}), t.preventDefault());
|
|
4007
4007
|
}), window.addEventListener("message", (t) => {
|
|
4008
4008
|
t.data.focusOn === "lastElement" && e && e.focus();
|
|
4009
|
-
}),
|
|
4009
|
+
}), Qe({
|
|
4010
4010
|
type: "focus",
|
|
4011
4011
|
focusOn: "firstElement"
|
|
4012
4012
|
});
|
|
4013
|
-
},
|
|
4013
|
+
}, oc = () => {
|
|
4014
4014
|
window.addEventListener("message", (e) => {
|
|
4015
|
-
e.data.isInLightBox === "true" &&
|
|
4015
|
+
e.data.isInLightBox === "true" && ac();
|
|
4016
4016
|
});
|
|
4017
|
-
},
|
|
4017
|
+
}, sc = class extends I.Component {
|
|
4018
4018
|
verificationService;
|
|
4019
4019
|
constructor(e) {
|
|
4020
4020
|
super(e), P.info("NewVerificationComponent: constructing"), this.props.trackingId && this.props.trackingId.length ? P.info(`Attaching a trackingId to this verification request ${this.props.trackingId}`) : P.info("No trackingId to associate with the verification request");
|
|
4021
4021
|
}
|
|
4022
4022
|
componentDidMount() {
|
|
4023
|
-
if (S(),
|
|
4023
|
+
if (S(), oc(), _e((e) => {
|
|
4024
4024
|
switch (e.data.action) {
|
|
4025
4025
|
case "setViewModel":
|
|
4026
|
-
|
|
4026
|
+
qe(e.data.viewModel, {
|
|
4027
4027
|
partial: !0,
|
|
4028
4028
|
metadataCheck: !0,
|
|
4029
4029
|
externalUserIdCheck: !0
|
|
@@ -4046,16 +4046,16 @@ var Gs = Ts, Ks = ks, qs = Fs, Js = Us, Ys = ({ message: e, trigger: t, initialV
|
|
|
4046
4046
|
this.props.messages && (r = this.props.messages);
|
|
4047
4047
|
let i = {
|
|
4048
4048
|
...r,
|
|
4049
|
-
...(0,
|
|
4049
|
+
...(0, mt.default)(e(n))
|
|
4050
4050
|
};
|
|
4051
4051
|
if (this.props.verificationService.isLoading && !this.props.verificationService.loadingStep) return P.info("NewVerificationComponent: VerificationService is loading"), /* @__PURE__ */ (0, L.jsx)(D, {
|
|
4052
4052
|
locale: "en",
|
|
4053
4053
|
messages: i,
|
|
4054
|
-
textComponent:
|
|
4055
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
4054
|
+
textComponent: mn,
|
|
4055
|
+
children: /* @__PURE__ */ (0, L.jsx)(_t, {})
|
|
4056
4056
|
}, n);
|
|
4057
4057
|
let { programTheme: o } = this.props.verificationService, { verificationResponse: s } = this.props.verificationService;
|
|
4058
|
-
return P.info("NewVerificationComponent: verificationResponse, viewModel", s, t), P.info(`NewVerificationComponent: locale: ${n}, currentStep: ${s.currentStep}, messages: `, r), /* @__PURE__ */ (0, L.jsx)(
|
|
4058
|
+
return P.info("NewVerificationComponent: verificationResponse, viewModel", s, t), P.info(`NewVerificationComponent: locale: ${n}, currentStep: ${s.currentStep}, messages: `, r), /* @__PURE__ */ (0, L.jsx)(ic, {
|
|
4059
4059
|
locale: n,
|
|
4060
4060
|
messages: r,
|
|
4061
4061
|
programTheme: o,
|
|
@@ -4063,63 +4063,63 @@ var Gs = Ts, Ks = ks, qs = Fs, Js = Us, Ys = ({ message: e, trigger: t, initialV
|
|
|
4063
4063
|
programId: this.props.programId
|
|
4064
4064
|
});
|
|
4065
4065
|
}
|
|
4066
|
-
},
|
|
4066
|
+
}, cc = ee((e, t) => ({ ...e }), (e, t) => ({
|
|
4067
4067
|
dispatch: e,
|
|
4068
|
-
fetchNewVerificationRequest:
|
|
4069
|
-
fetchExistingVerificationRequest:
|
|
4070
|
-
updateViewModel:
|
|
4071
|
-
updateLocale:
|
|
4072
|
-
updateProgramTheme:
|
|
4073
|
-
updateFieldValidationErrors:
|
|
4074
|
-
resetState:
|
|
4068
|
+
fetchNewVerificationRequest: Ie(e),
|
|
4069
|
+
fetchExistingVerificationRequest: Je(e),
|
|
4070
|
+
updateViewModel: Ue(e),
|
|
4071
|
+
updateLocale: Re(e, t.programId),
|
|
4072
|
+
updateProgramTheme: Ke(e),
|
|
4073
|
+
updateFieldValidationErrors: Le(e),
|
|
4074
|
+
resetState: He(e)
|
|
4075
4075
|
}), (e, t, n) => {
|
|
4076
4076
|
let { dispatch: r, ...i } = t, { programTheme: a } = e;
|
|
4077
4077
|
return {
|
|
4078
4078
|
verificationService: {
|
|
4079
4079
|
...e,
|
|
4080
4080
|
...i,
|
|
4081
|
-
submitStep:
|
|
4081
|
+
submitStep: Xe(r, a)
|
|
4082
4082
|
},
|
|
4083
4083
|
messages: e.messages,
|
|
4084
4084
|
...n
|
|
4085
4085
|
};
|
|
4086
|
-
})(
|
|
4086
|
+
})(sc), lc = (e) => ({
|
|
4087
4087
|
kind: "program",
|
|
4088
4088
|
key: e
|
|
4089
|
-
}),
|
|
4089
|
+
}), uc = ({ programId: e, children: t }) => /* @__PURE__ */ (0, L.jsx)(nt, {
|
|
4090
4090
|
clientSideID: "6530161f9ff41712a2eef741",
|
|
4091
|
-
context:
|
|
4092
|
-
flags:
|
|
4091
|
+
context: lc(e),
|
|
4092
|
+
flags: it,
|
|
4093
4093
|
reactOptions: { useCamelCaseFlagKeys: !1 },
|
|
4094
4094
|
options: { streaming: !1 },
|
|
4095
4095
|
children: t
|
|
4096
|
-
}),
|
|
4096
|
+
}), dc = Ve();
|
|
4097
4097
|
E(g.jslibVersionActual, d(() => Ee(), "?")), E(g.clientVersion, d(() => Ee(), "?"));
|
|
4098
|
-
var
|
|
4098
|
+
var fc = I.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
4099
4099
|
try {
|
|
4100
|
-
|
|
4100
|
+
je();
|
|
4101
4101
|
} catch (e) {
|
|
4102
4102
|
P.warn("Failed to add predefined hooks", e);
|
|
4103
4103
|
}
|
|
4104
4104
|
return (0, I.useEffect)(() => {
|
|
4105
4105
|
b();
|
|
4106
|
-
}),
|
|
4106
|
+
}), dc.dispatch({
|
|
4107
4107
|
programId: e,
|
|
4108
4108
|
type: "PROGRAM_ID"
|
|
4109
4109
|
}), n && (n.current = {
|
|
4110
|
-
refresh: I.useCallback(() =>
|
|
4111
|
-
reset: I.useCallback(() =>
|
|
4110
|
+
refresh: I.useCallback(() => dc.dispatch({ type: "FORCE_UPDATE" }), []),
|
|
4111
|
+
reset: I.useCallback(() => dc.dispatch({ type: "RESET_STATE" }), [])
|
|
4112
4112
|
}), /* @__PURE__ */ (0, L.jsx)(ue, {
|
|
4113
|
-
store:
|
|
4114
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
4113
|
+
store: dc,
|
|
4114
|
+
children: /* @__PURE__ */ (0, L.jsx)(uc, {
|
|
4115
4115
|
programId: e,
|
|
4116
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
4116
|
+
children: /* @__PURE__ */ (0, L.jsx)(cc, {
|
|
4117
4117
|
programId: e,
|
|
4118
4118
|
trackingId: t
|
|
4119
4119
|
})
|
|
4120
4120
|
})
|
|
4121
4121
|
});
|
|
4122
|
-
}),
|
|
4122
|
+
}), pc = class e {
|
|
4123
4123
|
element;
|
|
4124
4124
|
programId;
|
|
4125
4125
|
trackingId;
|
|
@@ -4136,33 +4136,16 @@ var dc = I.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
4136
4136
|
this.ref.current.reset();
|
|
4137
4137
|
}
|
|
4138
4138
|
render() {
|
|
4139
|
-
|
|
4139
|
+
pt.render(/* @__PURE__ */ (0, L.jsx)(fc, {
|
|
4140
4140
|
programId: this.programId,
|
|
4141
4141
|
trackingId: this.trackingId,
|
|
4142
4142
|
ref: this.ref
|
|
4143
4143
|
}), this.element);
|
|
4144
4144
|
}
|
|
4145
4145
|
unmount() {
|
|
4146
|
-
|
|
4146
|
+
pt.unmountComponentAtNode(this.element);
|
|
4147
4147
|
}
|
|
4148
|
-
},
|
|
4149
|
-
let n = document.createElement("script");
|
|
4150
|
-
n.id = pc, n.async = !0;
|
|
4151
|
-
let r = 0, i = (i) => {
|
|
4152
|
-
window.clearTimeout(r), n.onload = null, n.onerror = null, i ? (n.remove(), t(i)) : e();
|
|
4153
|
-
};
|
|
4154
|
-
r = window.setTimeout(() => {
|
|
4155
|
-
P.warn(`IPQS script still loading after ${hc}ms`), i();
|
|
4156
|
-
}, hc), n.onload = () => i(), n.onerror = () => i(/* @__PURE__ */ Error("IPQS script failed to load")), n.src = mc, document.body.appendChild(n);
|
|
4157
|
-
}), _c = async (e, t) => {
|
|
4158
|
-
if (d(() => e.ipqsDeviceFingerprintEnabled, !1)) try {
|
|
4159
|
-
window.IPQ = { Callback: () => {
|
|
4160
|
-
window.Startup.Store("transactionID", t), window.Startup.Init();
|
|
4161
|
-
} }, await gc();
|
|
4162
|
-
} catch (e) {
|
|
4163
|
-
P.error(e, "Failed to collect IPQS device data");
|
|
4164
|
-
}
|
|
4165
|
-
}, vc = async (e, t) => {
|
|
4148
|
+
}, mc = async (e, t) => {
|
|
4166
4149
|
if (!d(() => e.threatMetrixEnabled, !1)) return;
|
|
4167
4150
|
let n = e.threatMetrixOrgId || "cnl2my47";
|
|
4168
4151
|
try {
|
|
@@ -4174,43 +4157,46 @@ var dc = I.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
4174
4157
|
} catch (e) {
|
|
4175
4158
|
P.error(e, "Failed to collect ThreatMetrix device data");
|
|
4176
4159
|
}
|
|
4177
|
-
},
|
|
4178
|
-
let n =
|
|
4160
|
+
}, hc = /* @__PURE__ */ new Map(), gc = (e, t) => {
|
|
4161
|
+
let n = hc.get(t);
|
|
4179
4162
|
if (n) return n;
|
|
4180
4163
|
let r = (async () => {
|
|
4181
|
-
let [, ,
|
|
4182
|
-
|
|
4183
|
-
|
|
4184
|
-
|
|
4164
|
+
let [, n, r] = await Promise.all([
|
|
4165
|
+
mc(e, t),
|
|
4166
|
+
et(e, t),
|
|
4167
|
+
Fe(e, t)
|
|
4185
4168
|
]);
|
|
4186
|
-
return
|
|
4169
|
+
return {
|
|
4170
|
+
...r ? { fpSessionId: r } : {},
|
|
4171
|
+
...n ? { ipqsRequestId: n } : {}
|
|
4172
|
+
};
|
|
4187
4173
|
})();
|
|
4188
|
-
return
|
|
4189
|
-
},
|
|
4174
|
+
return hc.set(t, r), r;
|
|
4175
|
+
}, _c = {
|
|
4190
4176
|
getMessages: n,
|
|
4191
|
-
setViewModel:
|
|
4192
|
-
resetViewModel:
|
|
4177
|
+
setViewModel: qe,
|
|
4178
|
+
resetViewModel: We,
|
|
4193
4179
|
setOptions: m,
|
|
4194
4180
|
resetOptions: x,
|
|
4195
|
-
refreshStore:
|
|
4196
|
-
setMetadata:
|
|
4197
|
-
getMetadata:
|
|
4198
|
-
resetMetadata:
|
|
4181
|
+
refreshStore: Pe,
|
|
4182
|
+
setMetadata: Ze,
|
|
4183
|
+
getMetadata: ze,
|
|
4184
|
+
resetMetadata: Ne,
|
|
4199
4185
|
conversion: ne,
|
|
4200
|
-
overrideComponent:
|
|
4201
|
-
resetOverriddenComponents:
|
|
4202
|
-
postVerificationSizeUpdates:
|
|
4203
|
-
addHook:
|
|
4204
|
-
hooks:
|
|
4205
|
-
VerificationForm:
|
|
4206
|
-
collectDeviceProfile: async (e, t) =>
|
|
4207
|
-
resetStore:
|
|
4186
|
+
overrideComponent: Dt,
|
|
4187
|
+
resetOverriddenComponents: kt,
|
|
4188
|
+
postVerificationSizeUpdates: Me,
|
|
4189
|
+
addHook: $e,
|
|
4190
|
+
hooks: Ae,
|
|
4191
|
+
VerificationForm: pc,
|
|
4192
|
+
collectDeviceProfile: async (e, t) => gc(await ce.fetchProgramTheme(t), e),
|
|
4193
|
+
resetStore: Ge,
|
|
4208
4194
|
setProgramTheme: (e, t = { partial: !0 }) => {
|
|
4209
|
-
let n =
|
|
4195
|
+
let n = Ve(), r = n.getState(), a = () => {
|
|
4210
4196
|
let r = i(e);
|
|
4211
|
-
P.info("Setting programTheme", r),
|
|
4197
|
+
P.info("Setting programTheme", r), Ke(n.dispatch)(r, t.partial), oe(r, t.partial);
|
|
4212
4198
|
};
|
|
4213
|
-
r.isLoading ?
|
|
4199
|
+
r.isLoading ? $e({
|
|
4214
4200
|
name: "ON_VERIFICATION_READY",
|
|
4215
4201
|
callback: () => {
|
|
4216
4202
|
a();
|
|
@@ -4219,4 +4205,4 @@ var dc = I.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
4219
4205
|
}
|
|
4220
4206
|
};
|
|
4221
4207
|
//#endregion
|
|
4222
|
-
export {
|
|
4208
|
+
export { Bt as A, Dn as C, H as D, vn as E, ht as F, At as M, St as N, V as O, _t as P, U as S, yn as T, dr as _, co as a, In as b, oo as c, Ha as d, _c as default, Ra as f, xa as g, La as h, ys as i, Nt as j, Gt as k, Ya as l, za as m, ec as n, lo as o, Ba as p, Qs as r, fo as s, gc as t, Wa as u, Xn as v, xn as w, On as x, Wn as y };
|