@sheerid/jslib 2.296.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-BfmMdKRk.js → AddressComponent-BO8uwD81.js} +5 -5
- package/chunk/{AddressComponent-BfmMdKRk.js.map → AddressComponent-BO8uwD81.js.map} +1 -1
- package/chunk/{AddressComponent-D35t0wuk.js → AddressComponent-CKeSDYEP.js} +5 -5
- package/chunk/{AddressComponent-D35t0wuk.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-CTKl9PbC.js → BirthDateComponent-CpaSjzp1.js} +5 -5
- package/chunk/{BirthDateComponent-CTKl9PbC.js.map → BirthDateComponent-CpaSjzp1.js.map} +1 -1
- package/chunk/{BirthDateComponent-CpOFqU8H.js → BirthDateComponent-Cvyvrvy9.js} +5 -5
- package/chunk/{BirthDateComponent-CpOFqU8H.js.map → BirthDateComponent-Cvyvrvy9.js.map} +1 -1
- package/chunk/{CaptchaComponent-hjpjrO_P.js → CaptchaComponent-DThVKBq5.js} +8 -8
- package/chunk/{CaptchaComponent-BJZ9V_pH.js.map → CaptchaComponent-DThVKBq5.js.map} +1 -1
- package/chunk/{CaptchaComponent-BJZ9V_pH.js → CaptchaComponent-uOeIRRjG.js} +8 -8
- package/chunk/{CaptchaComponent-hjpjrO_P.js.map → CaptchaComponent-uOeIRRjG.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-Blkp6RPU.js → ChangeLocaleComponent-Bxg8pz-l.js} +7 -7
- package/chunk/{ChangeLocaleComponent-Blkp6RPU.js.map → ChangeLocaleComponent-Bxg8pz-l.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-lntDT1u0.js → ChangeLocaleComponent-pXywcmDe.js} +7 -7
- package/chunk/{ChangeLocaleComponent-lntDT1u0.js.map → ChangeLocaleComponent-pXywcmDe.js.map} +1 -1
- package/chunk/{City-D9gqlTjx.js → City-BTxg-kpr.js} +5 -5
- package/chunk/{City-B1Su4Q-3.js.map → City-BTxg-kpr.js.map} +1 -1
- package/chunk/{City-B1Su4Q-3.js → City-DGBDV237.js} +5 -5
- package/chunk/{City-D9gqlTjx.js.map → City-DGBDV237.js.map} +1 -1
- package/chunk/{CollegeNameComponent-DkbR_G-h.js → CollegeNameComponent-CT3HA393.js} +7 -7
- package/chunk/{CollegeNameComponent-CSI45Lxy.js.map → CollegeNameComponent-CT3HA393.js.map} +1 -1
- package/chunk/{CollegeNameComponent-CSI45Lxy.js → CollegeNameComponent-MILlBqzV.js} +7 -7
- package/chunk/{CollegeNameComponent-DkbR_G-h.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-F2GH1MuK.js → CountryComponentWrapper-CkTDmoY7.js} +7 -7
- package/chunk/{CountryComponentWrapper-CCJkL-BP.js.map → CountryComponentWrapper-CkTDmoY7.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-CCJkL-BP.js → CountryComponentWrapper-D6RGDNNk.js} +7 -7
- package/chunk/{CountryComponentWrapper-F2GH1MuK.js.map → CountryComponentWrapper-D6RGDNNk.js.map} +1 -1
- package/chunk/{DischargeDateComponent-DiIr0PAb.js → DischargeDateComponent-G_UwgiLj.js} +8 -8
- package/chunk/{DischargeDateComponent-CiE-h8-V.js.map → DischargeDateComponent-G_UwgiLj.js.map} +1 -1
- package/chunk/{DischargeDateComponent-CiE-h8-V.js → DischargeDateComponent-aioJq4wN.js} +8 -8
- package/chunk/{DischargeDateComponent-DiIr0PAb.js.map → DischargeDateComponent-aioJq4wN.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent--ym3qzMT.js → DriverLicenseNumberComponent-D8oSCASJ.js} +5 -5
- package/chunk/{DriverLicenseNumberComponent--ym3qzMT.js.map → DriverLicenseNumberComponent-D8oSCASJ.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-Dy3-2Pmc.js → DriverLicenseNumberComponent-eTJwYLrq.js} +5 -5
- package/chunk/{DriverLicenseNumberComponent-Dy3-2Pmc.js.map → DriverLicenseNumberComponent-eTJwYLrq.js.map} +1 -1
- package/chunk/{EmailLoopPending-C2edcgLy.js → EmailLoopPending-D-sQeRXY.js} +6 -6
- package/chunk/{EmailLoopPending-Bt7BajuC.js.map → EmailLoopPending-D-sQeRXY.js.map} +1 -1
- package/chunk/{EmailLoopPending-Bt7BajuC.js → EmailLoopPending-DLP9xs7Y.js} +6 -6
- package/chunk/{EmailLoopPending-C2edcgLy.js.map → EmailLoopPending-DLP9xs7Y.js.map} +1 -1
- package/chunk/{ExtraMessage-wekuxzBu.js → ExtraMessage-BWxjX8XN.js} +5 -5
- package/chunk/{ExtraMessage-Cob9qW6m.js.map → ExtraMessage-BWxjX8XN.js.map} +1 -1
- package/chunk/{ExtraMessage-Cob9qW6m.js → ExtraMessage-rDmm4BJe.js} +5 -5
- package/chunk/{ExtraMessage-wekuxzBu.js.map → ExtraMessage-rDmm4BJe.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-BO-TvISL.js → FirstResponderOrganizationComponent-C8KYk1hI.js} +7 -7
- package/chunk/{FirstResponderOrganizationComponent-Al8r6Qm9.js.map → FirstResponderOrganizationComponent-C8KYk1hI.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-Al8r6Qm9.js → FirstResponderOrganizationComponent-DCpiZhrL.js} +7 -7
- package/chunk/{FirstResponderOrganizationComponent-BO-TvISL.js.map → FirstResponderOrganizationComponent-DCpiZhrL.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-Dv55bWvn.js → FormFieldInputSelect-Bb9YTOUQ.js} +5 -5
- package/chunk/{FormFieldInputSelect-DR3EfH0r.js.map → FormFieldInputSelect-Bb9YTOUQ.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-DR3EfH0r.js → FormFieldInputSelect-CNmlpO1G.js} +5 -5
- package/chunk/{FormFieldInputSelect-Dv55bWvn.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-BdDdwhLS.js → FormFieldTypeahead-CNjO6cZl.js} +7 -7
- package/chunk/{FormFieldTypeahead-BdDdwhLS.js.map → FormFieldTypeahead-CNjO6cZl.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-eRU9B5Ku.js → FormFieldTypeahead-CfsHQ5Ci.js} +7 -7
- package/chunk/{FormFieldTypeahead-eRU9B5Ku.js.map → FormFieldTypeahead-CfsHQ5Ci.js.map} +1 -1
- package/chunk/{FormFooterComponent-CP5Igxpo.js → FormFooterComponent-CHYYNzQm.js} +449 -419
- package/chunk/FormFooterComponent-CHYYNzQm.js.map +1 -0
- package/chunk/{FormFooterComponent-CmpIRI0d.js → FormFooterComponent-DtOlZ88b.js} +382 -352
- package/chunk/FormFooterComponent-DtOlZ88b.js.map +1 -0
- package/chunk/{FormSelectChoice-BzH4Y9DK.js → FormSelectChoice-DMkiqagN.js} +6 -6
- package/chunk/{FormSelectChoice-BzH4Y9DK.js.map → FormSelectChoice-DMkiqagN.js.map} +1 -1
- package/chunk/{FormSelectChoice-CqsrGoB5.js → FormSelectChoice-hWkVj5bu.js} +6 -6
- package/chunk/{FormSelectChoice-CqsrGoB5.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-CS1-HJ1C.js → LicensedProfessionalOrganizationComponent-5EOEEmwH.js} +7 -7
- package/chunk/{LicensedProfessionalOrganizationComponent-CS1-HJ1C.js.map → LicensedProfessionalOrganizationComponent-5EOEEmwH.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-De1NTvgs.js → LicensedProfessionalOrganizationComponent-DYEcEcSW.js} +7 -7
- package/chunk/{LicensedProfessionalOrganizationComponent-De1NTvgs.js.map → LicensedProfessionalOrganizationComponent-DYEcEcSW.js.map} +1 -1
- package/chunk/{LogoComponent-jL4Rq6ZT.js → LogoComponent-DzNFW-I7.js} +5 -5
- package/chunk/{LogoComponent-DtnWbRII.js.map → LogoComponent-DzNFW-I7.js.map} +1 -1
- package/chunk/{LogoComponent-DtnWbRII.js → LogoComponent-Q7DFRDlh.js} +5 -5
- package/chunk/{LogoComponent-jL4Rq6ZT.js.map → LogoComponent-Q7DFRDlh.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-xwq7_FKf.js → LowIncomeOrganizationComponent-BsrJwp_s.js} +8 -8
- package/chunk/{LowIncomeOrganizationComponent-xwq7_FKf.js.map → LowIncomeOrganizationComponent-BsrJwp_s.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-Dc4HYfr1.js → LowIncomeOrganizationComponent-CsRFm_Ot.js} +8 -8
- package/chunk/{LowIncomeOrganizationComponent-Dc4HYfr1.js.map → LowIncomeOrganizationComponent-CsRFm_Ot.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-DRwIFnoi.js → MedicalProfessionalOrganizationComponent-2UM8oA2_.js} +7 -7
- package/chunk/{MedicalProfessionalOrganizationComponent-DRwIFnoi.js.map → MedicalProfessionalOrganizationComponent-2UM8oA2_.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-DgSm4cZi.js → MedicalProfessionalOrganizationComponent-D0jDfTIo.js} +7 -7
- package/chunk/{MedicalProfessionalOrganizationComponent-DgSm4cZi.js.map → MedicalProfessionalOrganizationComponent-D0jDfTIo.js.map} +1 -1
- package/chunk/{MemberIdComponent-NEg1mYJM.js → MemberIdComponent-LS4ANgFM.js} +5 -5
- package/chunk/{MemberIdComponent-CXJD--6p.js.map → MemberIdComponent-LS4ANgFM.js.map} +1 -1
- package/chunk/{MemberIdComponent-CXJD--6p.js → MemberIdComponent-i1znPIaH.js} +5 -5
- package/chunk/{MemberIdComponent-NEg1mYJM.js.map → MemberIdComponent-i1znPIaH.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-Ppqk5QyR.js → MembershipOrganizationComponent-CRziDBjW.js} +7 -7
- package/chunk/{MembershipOrganizationComponent-Ppqk5QyR.js.map → MembershipOrganizationComponent-CRziDBjW.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-tzDKZgR_.js → MembershipOrganizationComponent-CoMe9z2g.js} +7 -7
- package/chunk/{MembershipOrganizationComponent-tzDKZgR_.js.map → MembershipOrganizationComponent-CoMe9z2g.js.map} +1 -1
- package/chunk/{Message-C4qWuoA7.js → Message-BOsEnoih.js} +5 -5
- package/chunk/{Message-C4qWuoA7.js.map → Message-BOsEnoih.js.map} +1 -1
- package/chunk/{Message-CZskfqcI.js → Message-FIogbOPV.js} +5 -5
- package/chunk/{Message-CZskfqcI.js.map → Message-FIogbOPV.js.map} +1 -1
- package/chunk/Onfido-CTCgAwnB.js +4 -4
- package/chunk/{PersonalInfoStepSubmitButton-DevIpS3M.js → PersonalInfoStepSubmitButton-CRsmGAN-.js} +5 -5
- package/chunk/{PersonalInfoStepSubmitButton-DevIpS3M.js.map → PersonalInfoStepSubmitButton-CRsmGAN-.js.map} +1 -1
- package/chunk/{PersonalInfoStepSubmitButton-obiTgRFv.js → PersonalInfoStepSubmitButton-zgFCp1DS.js} +5 -5
- package/chunk/{PersonalInfoStepSubmitButton-obiTgRFv.js.map → PersonalInfoStepSubmitButton-zgFCp1DS.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-_LiPRLv0.js → PersonalInfoStepWrapper-ClOkee_U.js} +5 -5
- package/chunk/{PersonalInfoStepWrapper-_LiPRLv0.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-BU3uUkz5.js → PostalCodeComponent-CvdEHmWZ.js} +5 -5
- package/chunk/{PostalCodeComponent-BU3uUkz5.js.map → PostalCodeComponent-CvdEHmWZ.js.map} +1 -1
- package/chunk/{PostalCodeComponent-DE4FtHXn.js → PostalCodeComponent-mxwAMaWJ.js} +5 -5
- package/chunk/{PostalCodeComponent-DE4FtHXn.js.map → PostalCodeComponent-mxwAMaWJ.js.map} +1 -1
- package/chunk/{SSN-CiU8LUIC.js → SSN-C68wNSJ-.js} +5 -5
- package/chunk/{SSN-Bd7iEK0D.js.map → SSN-C68wNSJ-.js.map} +1 -1
- package/chunk/{SSN-Bd7iEK0D.js → SSN-Dd_eKrCY.js} +5 -5
- package/chunk/{SSN-CiU8LUIC.js.map → SSN-Dd_eKrCY.js.map} +1 -1
- package/chunk/{StateSelectComponent-BCHagpBG.js → StateSelectComponent-BCEo6pOV.js} +7 -7
- package/chunk/{StateSelectComponent-BCHagpBG.js.map → StateSelectComponent-BCEo6pOV.js.map} +1 -1
- package/chunk/{StateSelectComponent-Be_BuLYk.js → StateSelectComponent-C_AaWQr4.js} +7 -7
- package/chunk/{StateSelectComponent-Be_BuLYk.js.map → StateSelectComponent-C_AaWQr4.js.map} +1 -1
- package/chunk/{StatusComponent-CYTWVmt6.js → StatusComponent-7b2HtFP_.js} +6 -6
- package/chunk/{StatusComponent-CMoJS2Jl.js.map → StatusComponent-7b2HtFP_.js.map} +1 -1
- package/chunk/{StatusComponent-CMoJS2Jl.js → StatusComponent-CRCP5Ck3.js} +6 -6
- package/chunk/{StatusComponent-CYTWVmt6.js.map → StatusComponent-CRCP5Ck3.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-D5RdoP-0.js → StepAgePersonalInfo-CbMVCM-G.js} +17 -17
- package/chunk/{StepAgePersonalInfo-BtZmkOMB.js.map → StepAgePersonalInfo-CbMVCM-G.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-BtZmkOMB.js → StepAgePersonalInfo-Cs4T_WGW.js} +17 -17
- package/chunk/{StepAgePersonalInfo-D5RdoP-0.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-BkMWEbcs.js → StepCollectIdentifier-Bfeyh9Fw.js} +6 -6
- package/chunk/{StepCollectIdentifier-DIHpPUyG.js.map → StepCollectIdentifier-Bfeyh9Fw.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-DIHpPUyG.js → StepCollectIdentifier-CMTQfeOl.js} +6 -6
- package/chunk/{StepCollectIdentifier-BkMWEbcs.js.map → StepCollectIdentifier-CMTQfeOl.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-CL0bldgZ.js → StepCollectMilitaryPersonalInfoComponent-CFsbiu_Q.js} +21 -21
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-CL0bldgZ.js.map → StepCollectMilitaryPersonalInfoComponent-CFsbiu_Q.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-on1o7u6X.js → StepCollectMilitaryPersonalInfoComponent-CY_gyXGN.js} +21 -21
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-on1o7u6X.js.map → StepCollectMilitaryPersonalInfoComponent-CY_gyXGN.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-2_qDC_UX.js → StepCollectPersonalInfo-BB-pDnx6.js} +31 -31
- package/chunk/{StepCollectPersonalInfo-2_qDC_UX.js.map → StepCollectPersonalInfo-BB-pDnx6.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-D9uCpSl7.js → StepCollectPersonalInfo-ZtXdYWLn.js} +31 -31
- package/chunk/{StepCollectPersonalInfo-D9uCpSl7.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-CEEI3obU.js → StepConsolation-DJIHMPuH.js} +6 -6
- package/chunk/{StepConsolation-CEEI3obU.js.map → StepConsolation-DJIHMPuH.js.map} +1 -1
- package/chunk/{StepConsolation-CPHH5mJI.js → StepConsolation-Dhz8bOzv.js} +6 -6
- package/chunk/{StepConsolation-CPHH5mJI.js.map → StepConsolation-Dhz8bOzv.js.map} +1 -1
- package/chunk/{StepDocUpload-DbfG66DC.js → StepDocUpload-CjhDGgG9.js} +7 -7
- package/chunk/{StepDocUpload-DbfG66DC.js.map → StepDocUpload-CjhDGgG9.js.map} +1 -1
- package/chunk/{StepDocUpload-MkUIAN5u.js → StepDocUpload-bwspfxED.js} +7 -7
- package/chunk/{StepDocUpload-MkUIAN5u.js.map → StepDocUpload-bwspfxED.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-kJQTIw6I.js → StepDriverLicensePersonalInfoComponent-Blj27dgj.js} +12 -12
- package/chunk/{StepDriverLicensePersonalInfoComponent-D2gKosYd.js.map → StepDriverLicensePersonalInfoComponent-Blj27dgj.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-D2gKosYd.js → StepDriverLicensePersonalInfoComponent-Cs3_HYep.js} +12 -12
- package/chunk/{StepDriverLicensePersonalInfoComponent-kJQTIw6I.js.map → StepDriverLicensePersonalInfoComponent-Cs3_HYep.js.map} +1 -1
- package/chunk/{StepEmailLoop-3mxe4-A1.js → StepEmailLoop-BEk39hVN.js} +7 -7
- package/chunk/{StepEmailLoop-3mxe4-A1.js.map → StepEmailLoop-BEk39hVN.js.map} +1 -1
- package/chunk/{StepEmailLoop-B-kLgRUt.js → StepEmailLoop-DyQb2WX7.js} +7 -7
- package/chunk/{StepEmailLoop-B-kLgRUt.js.map → StepEmailLoop-DyQb2WX7.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-CH3qSsU9.js → StepEmploymentPersonalInfo-B8vbykFr.js} +17 -17
- package/chunk/{StepEmploymentPersonalInfo-CH3qSsU9.js.map → StepEmploymentPersonalInfo-B8vbykFr.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-DvOQsc4J.js → StepEmploymentPersonalInfo-be5QXB1h.js} +17 -17
- package/chunk/{StepEmploymentPersonalInfo-DvOQsc4J.js.map → StepEmploymentPersonalInfo-be5QXB1h.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-DIFcJEh2.js → StepFirstResponderPersonalInfo-C4eENws-.js} +18 -18
- package/chunk/{StepFirstResponderPersonalInfo-CUU7noYw.js.map → StepFirstResponderPersonalInfo-C4eENws-.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-CUU7noYw.js → StepFirstResponderPersonalInfo-CuYa4EuR.js} +18 -18
- package/chunk/{StepFirstResponderPersonalInfo-DIFcJEh2.js.map → StepFirstResponderPersonalInfo-CuYa4EuR.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-jdxI-psg.js → StepGeneralIdentityPersonalInfoComponent-BG4skokC.js} +15 -15
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-6nOwJD32.js.map → StepGeneralIdentityPersonalInfoComponent-BG4skokC.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-6nOwJD32.js → StepGeneralIdentityPersonalInfoComponent-DXyAdBts.js} +15 -15
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-jdxI-psg.js.map → StepGeneralIdentityPersonalInfoComponent-DXyAdBts.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-C9L2Ke1K.js → StepHybridIdentityPersonalInfoComponent-DLt5aNNO.js} +16 -16
- package/chunk/{StepHybridIdentityPersonalInfoComponent-Bf7F-60O.js.map → StepHybridIdentityPersonalInfoComponent-DLt5aNNO.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-Bf7F-60O.js → StepHybridIdentityPersonalInfoComponent-GXsjq4pb.js} +16 -16
- package/chunk/{StepHybridIdentityPersonalInfoComponent-C9L2Ke1K.js.map → StepHybridIdentityPersonalInfoComponent-GXsjq4pb.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-CCiosQ5Q.js → StepIDCheckLoop-BuMIVJ2Y.js} +5 -5
- package/chunk/{StepIDCheckLoop-CAeac23M.js.map → StepIDCheckLoop-BuMIVJ2Y.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-CAeac23M.js → StepIDCheckLoop-aUdbkaXK.js} +5 -5
- package/chunk/{StepIDCheckLoop-CCiosQ5Q.js.map → StepIDCheckLoop-aUdbkaXK.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-7dr0m35-.js → StepIDCheckLoopOnfido-Cr36MKuM.js} +7 -7
- package/chunk/{StepIDCheckLoopOnfido-CQNbs_q4.js.map → StepIDCheckLoopOnfido-Cr36MKuM.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-CQNbs_q4.js → StepIDCheckLoopOnfido-Cs_Dh6Vm.js} +7 -7
- package/chunk/{StepIDCheckLoopOnfido-7dr0m35-.js.map → StepIDCheckLoopOnfido-Cs_Dh6Vm.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-DyRVgrz6.js → StepIDCheckLoopRegula-D_mQMGOf.js} +7 -7
- package/chunk/{StepIDCheckLoopRegula-DRa-5-fJ.js.map → StepIDCheckLoopRegula-D_mQMGOf.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-DRa-5-fJ.js → StepIDCheckLoopRegula-KNHewCNp.js} +7 -7
- package/chunk/{StepIDCheckLoopRegula-DyRVgrz6.js.map → StepIDCheckLoopRegula-KNHewCNp.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-C9TLaEUo.js → StepLicensedProfessionalPersonalInfo-Cl9IVtaQ.js} +18 -18
- package/chunk/{StepLicensedProfessionalPersonalInfo-2raRP_sC.js.map → StepLicensedProfessionalPersonalInfo-Cl9IVtaQ.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-2raRP_sC.js → StepLicensedProfessionalPersonalInfo-of9Aj3XG.js} +18 -18
- package/chunk/{StepLicensedProfessionalPersonalInfo-C9TLaEUo.js.map → StepLicensedProfessionalPersonalInfo-of9Aj3XG.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-CriFm1p0.js → StepLowIncomePersonalInfo-2TtDvD5f.js} +21 -21
- package/chunk/{StepLowIncomePersonalInfo-CriFm1p0.js.map → StepLowIncomePersonalInfo-2TtDvD5f.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-DUKc7Xzd.js → StepLowIncomePersonalInfo-DVqeKiOv.js} +21 -21
- package/chunk/{StepLowIncomePersonalInfo-DUKc7Xzd.js.map → StepLowIncomePersonalInfo-DVqeKiOv.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-BwQAKDQf.js → StepMedicalProfessionalPersonalInfo-Dehwiifn.js} +19 -19
- package/chunk/{StepMedicalProfessionalPersonalInfo-BpskGst0.js.map → StepMedicalProfessionalPersonalInfo-Dehwiifn.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-BpskGst0.js → StepMedicalProfessionalPersonalInfo-h9-5S5NM.js} +19 -19
- package/chunk/{StepMedicalProfessionalPersonalInfo-BwQAKDQf.js.map → StepMedicalProfessionalPersonalInfo-h9-5S5NM.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-CPIKj6JS.js → StepMemberPersonalInfo-BcdHa-P5.js} +14 -14
- package/chunk/{StepMemberPersonalInfo-CPIKj6JS.js.map → StepMemberPersonalInfo-BcdHa-P5.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-IZX2jT9o.js → StepMemberPersonalInfo-CDdvWxeJ.js} +14 -14
- package/chunk/{StepMemberPersonalInfo-IZX2jT9o.js.map → StepMemberPersonalInfo-CDdvWxeJ.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-DkZFK0Y5.js → StepMoverPersonalInfo-BP5hekVe.js} +12 -12
- package/chunk/{StepMoverPersonalInfo-DkZFK0Y5.js.map → StepMoverPersonalInfo-BP5hekVe.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-QrDDJn9q.js → StepMoverPersonalInfo-BhPghrWu.js} +12 -12
- package/chunk/{StepMoverPersonalInfo-QrDDJn9q.js.map → StepMoverPersonalInfo-BhPghrWu.js.map} +1 -1
- package/chunk/{StepOverrideComponent-DQK02UCn.js → StepOverrideComponent-CpOO6E0N.js} +7 -7
- package/chunk/{StepOverrideComponent-DB8XcUxS.js.map → StepOverrideComponent-CpOO6E0N.js.map} +1 -1
- package/chunk/{StepOverrideComponent-DB8XcUxS.js → StepOverrideComponent-DoLNPdpp.js} +7 -7
- package/chunk/{StepOverrideComponent-DQK02UCn.js.map → StepOverrideComponent-DoLNPdpp.js.map} +1 -1
- package/chunk/{StepSMSLoop-DHcrK3zK.js → StepSMSLoop-Bkqpb_5n.js} +5 -5
- package/chunk/{StepSMSLoop-DHcrK3zK.js.map → StepSMSLoop-Bkqpb_5n.js.map} +1 -1
- package/chunk/{StepSMSLoop-Dd-TlY0x.js → StepSMSLoop-Du2-zSZf.js} +5 -5
- package/chunk/{StepSMSLoop-Dd-TlY0x.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-eisNq5zV.js → StepSocialSecurityNumber-0JnSlFJa.js} +8 -8
- package/chunk/{StepSocialSecurityNumber-eisNq5zV.js.map → StepSocialSecurityNumber-0JnSlFJa.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-tQeL8BPo.js → StepSocialSecurityNumber-DS-VcGNr.js} +8 -8
- package/chunk/{StepSocialSecurityNumber-tQeL8BPo.js.map → StepSocialSecurityNumber-DS-VcGNr.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-xDQaapez.js → StepStudentPersonalInfo-BrQ9Hgs2.js} +16 -16
- package/chunk/{StepStudentPersonalInfo-BXKx-RjY.js.map → StepStudentPersonalInfo-BrQ9Hgs2.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-BXKx-RjY.js → StepStudentPersonalInfo-CTeaVeHg.js} +16 -16
- package/chunk/{StepStudentPersonalInfo-xDQaapez.js.map → StepStudentPersonalInfo-CTeaVeHg.js.map} +1 -1
- package/chunk/{StepSuccess-Buungtjz.js → StepSuccess-BQEdDXRG.js} +6 -6
- package/chunk/{StepSuccess-Buungtjz.js.map → StepSuccess-BQEdDXRG.js.map} +1 -1
- package/chunk/{StepSuccess-DVw4r-Tw.js → StepSuccess-C4PlFXll.js} +6 -6
- package/chunk/{StepSuccess-DVw4r-Tw.js.map → StepSuccess-C4PlFXll.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-CDDemAKT.js → StepTeacherPersonalInfo-BLYc_KIx.js} +15 -15
- package/chunk/{StepTeacherPersonalInfo-CDDemAKT.js.map → StepTeacherPersonalInfo-BLYc_KIx.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-D1JAJHN3.js → StepTeacherPersonalInfo-CxvlqjH2.js} +15 -15
- package/chunk/{StepTeacherPersonalInfo-D1JAJHN3.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-BNIskQFr.js → TeacherSchoolComponent-BRQ6YlBG.js} +7 -7
- package/chunk/{TeacherSchoolComponent-BNIskQFr.js.map → TeacherSchoolComponent-BRQ6YlBG.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-DRXDnv-p.js → TeacherSchoolComponent-Di-VEsl7.js} +7 -7
- package/chunk/{TeacherSchoolComponent-DRXDnv-p.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-CxM4Re8c.js.map → countryUtils-Cr5eEsvc.js.map} +1 -1
- package/chunk/{countryUtils-CxM4Re8c.js → countryUtils-HKXAP5-W.js} +5 -5
- package/chunk/{countryUtils-R_5wICVb.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-Cy3QHO2k.js → downshift.esm-CQRDgGac.js} +5 -5
- package/chunk/{downshift.esm-BbR19lWJ.js.map → downshift.esm-CQRDgGac.js.map} +1 -1
- package/chunk/{downshift.esm-BbR19lWJ.js → downshift.esm-DqYe997a.js} +5 -5
- package/chunk/{downshift.esm-Cy3QHO2k.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-Bs9weQ3i.js → programThemeGetters-1awbZc_9.js} +5 -5
- package/chunk/{programThemeGetters-Bs9weQ3i.js.map → programThemeGetters-1awbZc_9.js.map} +1 -1
- package/chunk/{programThemeGetters-CHcPOXgA.js → programThemeGetters-DEFn8PSa.js} +5 -5
- package/chunk/{programThemeGetters-CHcPOXgA.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-Bj5AYf3g.js → useCollectFieldsEndpoint-1vI8LGMe.js} +6 -6
- package/chunk/{useCollectFieldsEndpoint-DKrY7rlv.js.map → useCollectFieldsEndpoint-1vI8LGMe.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-DKrY7rlv.js → useCollectFieldsEndpoint-DvUIaNH0.js} +6 -6
- package/chunk/{useCollectFieldsEndpoint-Bj5AYf3g.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 +1025 -1037
- package/sheerid.js.map +1 -1
- package/chunk/FormFooterComponent-CP5Igxpo.js.map +0 -1
- package/chunk/FormFooterComponent-CmpIRI0d.js.map +0 -1
- package/chunk/PersonalInfoStepWrapper-Bwy_EnUr.js +0 -92
- package/chunk/PersonalInfoStepWrapper-Bwy_EnUr.js.map +0 -1
- package/chunk/countryUtils-R_5wICVb.js +0 -12
package/sheerid.js
CHANGED
|
@@ -1,61 +1,61 @@
|
|
|
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
|
-
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
|
|
9
|
-
import { i as
|
|
10
|
-
import { A as
|
|
11
|
-
import { S as
|
|
12
|
-
import { a as
|
|
13
|
-
import { S as
|
|
14
|
-
import { C as
|
|
8
|
+
import { D as e, Dt as t, E as n, O as r, S as i, T as a, _t as o, at as s, b as c, c as l, d as u, dt as d, g as f, h as p, i as m, kt as h, l as g, lt as _, m as v, n as y, p as b, r as x, s as S, t as C, u as w, ut as T, y as E } from "./chunk/options-DsRV5fwh.js";
|
|
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-BOsEnoih.js";
|
|
11
|
+
import { S as P, b as F, h as ye, x as be } from "./chunk/runtimeTypes-B2AGNJMT.js";
|
|
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-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
15
|
import { a as tt, i as nt, n as rt, r as it, t as at } from "./chunk/hooks-QCx6OZlb.js";
|
|
16
16
|
import { i as ot, s as st, t as ct } from "./chunk/refs-Mq0rtW9K.js";
|
|
17
|
-
import { t as lt } from "./chunk/LogoComponent-
|
|
17
|
+
import { t as lt } from "./chunk/LogoComponent-Q7DFRDlh.js";
|
|
18
18
|
import { t as ut } from "./chunk/strings-DWLVdUcm.js";
|
|
19
19
|
import { t as dt } from "./chunk/AnnouncingHeader-zH7WLU2-.js";
|
|
20
20
|
//#region ../node_modules/react-i18next/dist/es/I18nextProvider.js
|
|
21
|
-
var
|
|
21
|
+
var I = /* @__PURE__ */ h(k());
|
|
22
22
|
function ft({ i18n: e, defaultNS: t, children: n }) {
|
|
23
|
-
let r = (0,
|
|
23
|
+
let r = (0, I.useMemo)(() => ({
|
|
24
24
|
i18n: e,
|
|
25
25
|
defaultNS: t
|
|
26
26
|
}), [e, t]);
|
|
27
|
-
return (0,
|
|
27
|
+
return (0, I.createElement)(M.Provider, { value: r }, n);
|
|
28
28
|
}
|
|
29
29
|
//#endregion
|
|
30
30
|
//#region src/components/LoadingSpinner/LoadingSpinnerComponent.tsx
|
|
31
|
-
var pt = /* @__PURE__ */ h(
|
|
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: [
|
|
35
|
-
/* @__PURE__ */ (0,
|
|
36
|
-
/* @__PURE__ */ (0,
|
|
37
|
-
/* @__PURE__ */ (0,
|
|
38
|
-
/* @__PURE__ */ (0,
|
|
35
|
+
/* @__PURE__ */ (0, L.jsx)("div", { className: "sid-spinner__frame" }),
|
|
36
|
+
/* @__PURE__ */ (0, L.jsx)("div", { className: "sid-spinner__frame" }),
|
|
37
|
+
/* @__PURE__ */ (0, L.jsx)("div", { className: "sid-spinner__frame" }),
|
|
38
|
+
/* @__PURE__ */ (0, L.jsx)("div", { className: "sid-spinner__frame" })
|
|
39
39
|
]
|
|
40
|
-
}), gt = ({ step: e }) => /* @__PURE__ */ (0,
|
|
40
|
+
}), gt = ({ step: e }) => /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
41
41
|
className: "sid-loading-screen__message",
|
|
42
|
-
children: [
|
|
42
|
+
children: [be(e) && /* @__PURE__ */ (0, L.jsx)("div", {
|
|
43
43
|
className: "sid-loading-screen__message-header",
|
|
44
44
|
role: "alert",
|
|
45
|
-
children: /* @__PURE__ */ (0,
|
|
45
|
+
children: /* @__PURE__ */ (0, L.jsx)(O, {
|
|
46
46
|
id: "step.personalInfo.verifyingTitle",
|
|
47
47
|
defaultMessage: "Verifying your status"
|
|
48
48
|
})
|
|
49
|
-
}), /* @__PURE__ */ (0,
|
|
49
|
+
}), /* @__PURE__ */ (0, L.jsx)("div", {
|
|
50
50
|
className: "sid-loading-screen__message-subhead",
|
|
51
|
-
children: /* @__PURE__ */ (0,
|
|
51
|
+
children: /* @__PURE__ */ (0, L.jsx)(O, {
|
|
52
52
|
id: "step.personalInfo.verifyingSubtitle",
|
|
53
53
|
defaultMessage: "This should only take a minute"
|
|
54
54
|
})
|
|
55
55
|
})]
|
|
56
|
-
}), _t = ({ step: e =
|
|
56
|
+
}), _t = ({ step: e = Te() }) => /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
57
57
|
className: "sid-loading-screen",
|
|
58
|
-
children: [/* @__PURE__ */ (0,
|
|
58
|
+
children: [/* @__PURE__ */ (0, L.jsx)(ht, {}), e && /* @__PURE__ */ (0, L.jsx)(gt, { step: e })]
|
|
59
59
|
}), vt = /* @__PURE__ */ t(((e, t) => {
|
|
60
60
|
var n, r = n = {
|
|
61
61
|
_regexEscape: /([\.\*\+\^\$\[\]\\\(\)\|\{\}\,\-\:\?])/g,
|
|
@@ -129,7 +129,7 @@ var pt = /* @__PURE__ */ h(ne(), 1), mt = /* @__PURE__ */ h(T(), 1), I = k(), ht
|
|
|
129
129
|
isRtlLang: n.isRtlLang,
|
|
130
130
|
getLangDir: n.getLangDir
|
|
131
131
|
};
|
|
132
|
-
})), bt = /* @__PURE__ */ h(
|
|
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 pt = /* @__PURE__ */ h(ne(), 1), mt = /* @__PURE__ */ h(T(), 1), I = k(), ht
|
|
|
143
143
|
formFont: "var(--sheerid-font-family-sans)",
|
|
144
144
|
cssVariables: null,
|
|
145
145
|
customStyles: null
|
|
146
|
-
}, St =
|
|
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",
|
|
@@ -269,24 +269,24 @@ var pt = /* @__PURE__ */ h(ne(), 1), mt = /* @__PURE__ */ h(T(), 1), I = k(), ht
|
|
|
269
269
|
percentage: 3
|
|
270
270
|
}
|
|
271
271
|
}, wt = ({ themeChoices: e, customCssFromOptions: t, children: n }) => {
|
|
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 ||
|
|
273
|
-
[
|
|
274
|
-
[
|
|
275
|
-
[
|
|
276
|
-
[
|
|
277
|
-
[
|
|
278
|
-
[
|
|
279
|
-
[
|
|
280
|
-
[
|
|
281
|
-
[
|
|
282
|
-
[
|
|
283
|
-
[
|
|
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
|
+
[z.landingBackgroundColor]: s,
|
|
274
|
+
[z.landingPrimaryFontColor]: c,
|
|
275
|
+
[z.landingBackgroundImage]: l === R.landingBackgroundImage ? R.landingBackgroundImage : `url(${l})`,
|
|
276
|
+
[z.formBackgroundColor]: u,
|
|
277
|
+
[z.formPrimaryFontColor]: d,
|
|
278
|
+
[z.formButtonColor]: f,
|
|
279
|
+
[z.formButtonFontColor]: p,
|
|
280
|
+
[z.formLinkColor]: m,
|
|
281
|
+
[z.formH1FontColor]: h,
|
|
282
|
+
[z.formHelperFontColor]: g,
|
|
283
|
+
[z.formFont]: _ === R.formFont ? R.formFont : `${_}, var(--sheerid-font-family-sans)`,
|
|
284
284
|
...Object.entries(Ct).reduce((e, [t, n]) => {
|
|
285
285
|
let r = n.from.startsWith("--") ? `var(${n.from})` : n.from, i = n.to.startsWith("--") ? `var(${n.to})` : n.to;
|
|
286
286
|
return e[t] = `color-mix(in oklab, ${r} ${100 - n.percentage}%, ${i} ${n.percentage}%)`, e;
|
|
287
287
|
}, {})
|
|
288
|
-
}, y =
|
|
289
|
-
return /* @__PURE__ */ (0,
|
|
288
|
+
}, y = I.useRef(null), b = De() === ke.cdnInlineIframe, x = De() === ke.cdnModalIframe;
|
|
289
|
+
return /* @__PURE__ */ (0, L.jsx)(St.Provider, {
|
|
290
290
|
value: {
|
|
291
291
|
landingBackgroundColor: s,
|
|
292
292
|
landingPrimaryFontColor: c,
|
|
@@ -302,12 +302,12 @@ var pt = /* @__PURE__ */ h(ne(), 1), mt = /* @__PURE__ */ h(T(), 1), I = k(), ht
|
|
|
302
302
|
cssVariables: v,
|
|
303
303
|
customStyles: a
|
|
304
304
|
},
|
|
305
|
-
children: /* @__PURE__ */ (0,
|
|
305
|
+
children: /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
306
306
|
style: v,
|
|
307
307
|
ref: y,
|
|
308
308
|
"data-in-iframe": b,
|
|
309
309
|
"data-in-modal": x,
|
|
310
|
-
children: [a && /* @__PURE__ */ (0,
|
|
310
|
+
children: [a && /* @__PURE__ */ (0, L.jsx)("style", { children: a }), n]
|
|
311
311
|
})
|
|
312
312
|
});
|
|
313
313
|
}, Tt = (e, t, n) => ({
|
|
@@ -319,87 +319,87 @@ var pt = /* @__PURE__ */ h(ne(), 1), mt = /* @__PURE__ */ h(T(), 1), I = k(), ht
|
|
|
319
319
|
currentStep: t?.currentStep,
|
|
320
320
|
viewModel: n
|
|
321
321
|
}), Et = {}, Dt = (e, t) => {
|
|
322
|
-
|
|
323
|
-
}, Ot = (e) => Et[e] ? (
|
|
322
|
+
P.log(`overrideComponent registering ${e}`), Et[e] = t;
|
|
323
|
+
}, Ot = (e) => Et[e] ? (P.log(`getOverridenComponent returning ${e}`), Et[e]) : null, kt = () => {
|
|
324
324
|
Et = {};
|
|
325
325
|
}, At = ({ verificationService: e, linkText: t }) => {
|
|
326
326
|
let { segment: n } = e.verificationResponse, { programId: r, programTheme: i } = e;
|
|
327
|
-
return n ? /* @__PURE__ */ (0,
|
|
327
|
+
return n ? /* @__PURE__ */ (0, L.jsx)(me, {
|
|
328
328
|
className: "sid-faq sid-link",
|
|
329
|
-
href:
|
|
330
|
-
children: t || /* @__PURE__ */ (0,
|
|
329
|
+
href: Oe(i, n, r, a(e.viewModel), e.verificationResponse),
|
|
330
|
+
children: t || /* @__PURE__ */ (0, L.jsx)(O, {
|
|
331
331
|
id: "getHelp",
|
|
332
332
|
defaultMessage: "Get help"
|
|
333
333
|
})
|
|
334
334
|
}) : null;
|
|
335
|
-
}, jt = /* @__PURE__ */ (0,
|
|
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
|
-
case "poweredby": return /* @__PURE__ */ (0,
|
|
340
|
+
case "poweredby": return /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
341
341
|
className: "sid-footer__powered-by-container-experiment",
|
|
342
|
-
children: [/* @__PURE__ */ (0,
|
|
342
|
+
children: [/* @__PURE__ */ (0, L.jsx)("div", {
|
|
343
343
|
className: "sid-footer__powered-by_powerby-experiment",
|
|
344
344
|
children: jt
|
|
345
|
-
}), !r && /* @__PURE__ */ (0,
|
|
345
|
+
}), !r && /* @__PURE__ */ (0, L.jsx)("div", {
|
|
346
346
|
className: "sid-footer__powered-by_powerby-experiment",
|
|
347
|
-
children: /* @__PURE__ */ (0,
|
|
347
|
+
children: /* @__PURE__ */ (0, L.jsx)(At, { verificationService: e })
|
|
348
348
|
})]
|
|
349
349
|
});
|
|
350
|
-
case "verificationby": return /* @__PURE__ */ (0,
|
|
350
|
+
case "verificationby": return /* @__PURE__ */ (0, L.jsx)("div", {
|
|
351
351
|
className: "sid-footer__powered-by-container--stacked sid-l-horz-center sid-footer__powered-by-experiment",
|
|
352
|
-
children: /* @__PURE__ */ (0,
|
|
352
|
+
children: /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
353
353
|
className: "sid-footer__powered-by-verificationby-experiment",
|
|
354
|
-
children: [/* @__PURE__ */ (0,
|
|
354
|
+
children: [/* @__PURE__ */ (0, L.jsx)("div", {
|
|
355
355
|
className: "sid-footer__powered-by-icon-experiment",
|
|
356
|
-
children: /* @__PURE__ */ (0,
|
|
356
|
+
children: /* @__PURE__ */ (0, L.jsx)("img", {
|
|
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
|
-
default: return /* @__PURE__ */ (0,
|
|
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
|
-
children: [/* @__PURE__ */ (0,
|
|
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
367
|
children: jt
|
|
368
|
-
}), !r && /* @__PURE__ */ (0,
|
|
368
|
+
}), !r && /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
369
369
|
className: t ? "sid-l-space-top-sm" : "",
|
|
370
|
-
children: ["\xA0", /* @__PURE__ */ (0,
|
|
370
|
+
children: ["\xA0", /* @__PURE__ */ (0, L.jsx)(At, { verificationService: e })]
|
|
371
371
|
})]
|
|
372
372
|
});
|
|
373
373
|
}
|
|
374
374
|
}, Nt = (e, t) => {
|
|
375
|
-
let n =
|
|
375
|
+
let n = I.useRef(null);
|
|
376
376
|
function r() {
|
|
377
377
|
clearInterval(n.current);
|
|
378
378
|
}
|
|
379
|
-
return
|
|
379
|
+
return I.useEffect(() => (n.current = setInterval(e, t), () => r()), [e, t]), r;
|
|
380
380
|
}, Pt = ({ stepName: e, messages: t, logo: n, cancelSingleSignOn: r, cancelButtonType: i = Lt.PRIMARY }) => {
|
|
381
381
|
let a = ut(e);
|
|
382
|
-
return /* @__PURE__ */ (0,
|
|
382
|
+
return /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
383
383
|
className: "sid-header sid-l-horz-center",
|
|
384
384
|
children: [
|
|
385
|
-
/* @__PURE__ */ (0,
|
|
385
|
+
/* @__PURE__ */ (0, L.jsx)("div", {
|
|
386
386
|
className: "sid-pending-logo-container sid-l-horz-center",
|
|
387
387
|
children: n
|
|
388
388
|
}),
|
|
389
|
-
/* @__PURE__ */ (0,
|
|
389
|
+
/* @__PURE__ */ (0, L.jsx)(dt, {
|
|
390
390
|
align: "center",
|
|
391
391
|
children: t.title
|
|
392
392
|
}),
|
|
393
|
-
/* @__PURE__ */ (0,
|
|
393
|
+
/* @__PURE__ */ (0, L.jsx)("div", {
|
|
394
394
|
className: "sid-header__subtitle-one",
|
|
395
395
|
children: t.subtitle
|
|
396
396
|
}),
|
|
397
|
-
t?.subtitle2 && /* @__PURE__ */ (0,
|
|
398
|
-
/* @__PURE__ */ (0,
|
|
397
|
+
t?.subtitle2 && /* @__PURE__ */ (0, L.jsx)("div", { className: "sid-l-space-top-xl" }),
|
|
398
|
+
/* @__PURE__ */ (0, L.jsxs)("div", {
|
|
399
399
|
className: "sid-header__subtitle-two sid-h-small-text sid-l-space-top-md",
|
|
400
|
-
children: [t?.subtitle2 && t.subtitle2, /* @__PURE__ */ (0,
|
|
400
|
+
children: [t?.subtitle2 && t.subtitle2, /* @__PURE__ */ (0, L.jsx)("div", {
|
|
401
401
|
className: `sid-form-region sid-${a}-pending-submit sid-submit-wrapper sid-l-space-top-md`,
|
|
402
|
-
children: /* @__PURE__ */ (0,
|
|
402
|
+
children: /* @__PURE__ */ (0, L.jsx)("button", {
|
|
403
403
|
onClick: r,
|
|
404
404
|
type: "submit",
|
|
405
405
|
className: `sid-btn sid-${a}-pending-submit-btn ${i === Lt.SECONDARY ? "sid-btn-light" : "sid-btn--dark"} sid-l-full-width`,
|
|
@@ -408,10 +408,10 @@ var pt = /* @__PURE__ */ h(ne(), 1), mt = /* @__PURE__ */ h(T(), 1), I = k(), ht
|
|
|
408
408
|
})
|
|
409
409
|
})]
|
|
410
410
|
}),
|
|
411
|
-
t?.subtitle2 ? /* @__PURE__ */ (0,
|
|
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
|
-
}, Ft = ({ stepName: e, messages: t, logo: n, cancelSingleSignOn: r, cancelButtonType: i = Lt.PRIMARY }) => /* @__PURE__ */ (0,
|
|
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,
|
|
@@ -419,31 +419,31 @@ var pt = /* @__PURE__ */ h(ne(), 1), mt = /* @__PURE__ */ h(T(), 1), I = k(), ht
|
|
|
419
419
|
cancelButtonType: i
|
|
420
420
|
}), It = ({ messages: e, verificationService: t, updateViewModelAndOpenLoginTab: n, dashedStepName: r }) => {
|
|
421
421
|
let i = at("hc-my-sheer-id-theme-builder");
|
|
422
|
-
return /* @__PURE__ */ (0,
|
|
422
|
+
return /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
423
423
|
className: "sid-header sid-l-horz-center",
|
|
424
424
|
children: [
|
|
425
|
-
/* @__PURE__ */ (0,
|
|
425
|
+
/* @__PURE__ */ (0, L.jsx)("div", {
|
|
426
426
|
className: `sid-${r}-logo-container sid-l-horz-center`,
|
|
427
|
-
children: /* @__PURE__ */ (0,
|
|
427
|
+
children: /* @__PURE__ */ (0, L.jsx)(lt, {
|
|
428
428
|
verificationService: t,
|
|
429
|
-
fallbackLogo: !i && /* @__PURE__ */ (0,
|
|
429
|
+
fallbackLogo: !i && /* @__PURE__ */ (0, L.jsx)("img", {
|
|
430
430
|
className: `sid-${r}-logo-default sid-l-lead-image`,
|
|
431
431
|
alt: "",
|
|
432
432
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/sso-step.svg"
|
|
433
433
|
})
|
|
434
434
|
})
|
|
435
435
|
}),
|
|
436
|
-
/* @__PURE__ */ (0,
|
|
436
|
+
/* @__PURE__ */ (0, L.jsx)(dt, {
|
|
437
437
|
align: "center",
|
|
438
438
|
children: e.title
|
|
439
439
|
}),
|
|
440
|
-
/* @__PURE__ */ (0,
|
|
440
|
+
/* @__PURE__ */ (0, L.jsx)("div", {
|
|
441
441
|
className: "sid-header__subtitle-one",
|
|
442
442
|
children: e.subtitle
|
|
443
443
|
}),
|
|
444
|
-
/* @__PURE__ */ (0,
|
|
444
|
+
/* @__PURE__ */ (0, L.jsx)("div", {
|
|
445
445
|
className: `sid-form-region sid-${r}-submit sid-submit-wrapper sid-l-space-top-md`,
|
|
446
|
-
children: /* @__PURE__ */ (0,
|
|
446
|
+
children: /* @__PURE__ */ (0, L.jsx)("button", {
|
|
447
447
|
id: `sid-submit-btn-${r}`,
|
|
448
448
|
onClick: () => n("isSingleSignOnActive", !0),
|
|
449
449
|
type: "submit",
|
|
@@ -451,15 +451,15 @@ var pt = /* @__PURE__ */ h(ne(), 1), mt = /* @__PURE__ */ h(T(), 1), I = k(), ht
|
|
|
451
451
|
children: e.login
|
|
452
452
|
})
|
|
453
453
|
}),
|
|
454
|
-
/* @__PURE__ */ (0,
|
|
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
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 =
|
|
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
|
-
fallbackLogo: !h && /* @__PURE__ */ (0,
|
|
462
|
+
fallbackLogo: !h && /* @__PURE__ */ (0, L.jsx)("img", {
|
|
463
463
|
className: `sid-${m}-logo-default sid-l-lead-image`,
|
|
464
464
|
alt: "",
|
|
465
465
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg"
|
|
@@ -478,7 +478,7 @@ var pt = /* @__PURE__ */ h(ne(), 1), mt = /* @__PURE__ */ h(T(), 1), I = k(), ht
|
|
|
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) => {
|
|
483
483
|
v(u.SSO_SIGN_IN_CLICKED, {
|
|
484
484
|
programId: i,
|
|
@@ -486,169 +486,169 @@ var pt = /* @__PURE__ */ h(ne(), 1), mt = /* @__PURE__ */ h(T(), 1), I = k(), ht
|
|
|
486
486
|
verificationId: d
|
|
487
487
|
}), x(e, t), w();
|
|
488
488
|
}, w = () => {
|
|
489
|
-
let e = t ===
|
|
489
|
+
let e = t === F.sso ? ve(s.loginUrl) : s.loginUrl;
|
|
490
490
|
if (!_(e)) {
|
|
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
|
-
return a.isSingleSignOnActive && !p && (g = b()), !a.countryChoice && o && o.countryChoice && x("countryChoice", o.countryChoice), /* @__PURE__ */ (0,
|
|
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}`,
|
|
498
498
|
className: `sid-${m}-container sid-l-container`,
|
|
499
499
|
"data-testid": `sid-step-${m}`,
|
|
500
|
-
children: [/* @__PURE__ */ (0,
|
|
500
|
+
children: [/* @__PURE__ */ (0, L.jsx)("div", {
|
|
501
501
|
role: "main",
|
|
502
|
-
children: a.isSingleSignOnActive ? /* @__PURE__ */ (0,
|
|
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,
|
|
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,
|
|
514
|
+
}), /* @__PURE__ */ (0, L.jsx)(Ye, { verificationService: e })]
|
|
515
515
|
});
|
|
516
516
|
}, zt = {
|
|
517
|
-
title: /* @__PURE__ */ (0,
|
|
517
|
+
title: /* @__PURE__ */ (0, L.jsx)(O, {
|
|
518
518
|
id: "step.sso.title",
|
|
519
519
|
defaultMessage: "Verify using your school credentials",
|
|
520
520
|
tagName: "h1"
|
|
521
521
|
}),
|
|
522
|
-
subtitle: /* @__PURE__ */ (0,
|
|
522
|
+
subtitle: /* @__PURE__ */ (0, L.jsx)(O, {
|
|
523
523
|
id: "step.sso.subtitle",
|
|
524
524
|
defaultMessage: "Please sign in to your school's web portal. It will open in a new tab."
|
|
525
525
|
}),
|
|
526
|
-
login: /* @__PURE__ */ (0,
|
|
526
|
+
login: /* @__PURE__ */ (0, L.jsx)(O, {
|
|
527
527
|
id: "step.sso.login",
|
|
528
528
|
defaultMessage: "Sign in to my school"
|
|
529
529
|
}),
|
|
530
|
-
cancel: /* @__PURE__ */ (0,
|
|
530
|
+
cancel: /* @__PURE__ */ (0, L.jsx)(O, {
|
|
531
531
|
id: "step.sso.cancel",
|
|
532
532
|
defaultMessage: "Upload Proof of Enrollment"
|
|
533
533
|
}),
|
|
534
|
-
subtitle2: /* @__PURE__ */ (0,
|
|
534
|
+
subtitle2: /* @__PURE__ */ (0, L.jsx)(O, {
|
|
535
535
|
id: "step.sso.subtitle2",
|
|
536
536
|
defaultMessage: "Can't sign in to your school?"
|
|
537
537
|
})
|
|
538
|
-
}, Bt = ({ verificationService: e }) => /* @__PURE__ */ (0,
|
|
538
|
+
}, Bt = ({ verificationService: e }) => /* @__PURE__ */ (0, L.jsx)(Rt, {
|
|
539
539
|
verificationService: e,
|
|
540
|
-
stepName:
|
|
540
|
+
stepName: F.sso,
|
|
541
541
|
messages: zt
|
|
542
|
-
}), Vt = ({ logo: e }) => /* @__PURE__ */ (0,
|
|
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: [
|
|
546
|
-
/* @__PURE__ */ (0,
|
|
546
|
+
/* @__PURE__ */ (0, L.jsx)("div", {
|
|
547
547
|
className: "sid-l-horz-center",
|
|
548
548
|
children: e
|
|
549
549
|
}),
|
|
550
|
-
/* @__PURE__ */ (0,
|
|
550
|
+
/* @__PURE__ */ (0, L.jsx)(dt, {
|
|
551
551
|
align: "center",
|
|
552
|
-
children: /* @__PURE__ */ (0,
|
|
552
|
+
children: /* @__PURE__ */ (0, L.jsx)(O, {
|
|
553
553
|
id: "step.pending.titleReview",
|
|
554
554
|
defaultMessage: "Reviewing",
|
|
555
555
|
tagName: "h1"
|
|
556
556
|
})
|
|
557
557
|
}),
|
|
558
|
-
/* @__PURE__ */ (0,
|
|
558
|
+
/* @__PURE__ */ (0, L.jsx)("div", { children: /* @__PURE__ */ (0, L.jsx)(O, {
|
|
559
559
|
id: "step.pending.uploadedDocument",
|
|
560
560
|
defaultMessage: "Your document was uploaded successfully and is being reviewed."
|
|
561
561
|
}) }),
|
|
562
|
-
/* @__PURE__ */ (0,
|
|
562
|
+
/* @__PURE__ */ (0, L.jsx)("div", {
|
|
563
563
|
className: "sid-header__subtitle-one sid-l-space-top-md",
|
|
564
|
-
children: /* @__PURE__ */ (0,
|
|
564
|
+
children: /* @__PURE__ */ (0, L.jsx)(N, { id: "step.pending.turnaroundTime" })
|
|
565
565
|
}),
|
|
566
|
-
/* @__PURE__ */ (0,
|
|
566
|
+
/* @__PURE__ */ (0, L.jsx)("div", {
|
|
567
567
|
className: "sid-header__subtitle-two sid-l-space-top-md",
|
|
568
|
-
children: /* @__PURE__ */ (0,
|
|
568
|
+
children: /* @__PURE__ */ (0, L.jsx)(O, {
|
|
569
569
|
id: "step.pending.subtitle2",
|
|
570
570
|
defaultMessage: "Wait here or let us notify you of the outcome."
|
|
571
571
|
})
|
|
572
572
|
}),
|
|
573
|
-
/* @__PURE__ */ (0,
|
|
573
|
+
/* @__PURE__ */ (0, L.jsx)("div", {
|
|
574
574
|
className: "sid-header__subtitle-three sid-l-space-top-md",
|
|
575
|
-
children: /* @__PURE__ */ (0,
|
|
575
|
+
children: /* @__PURE__ */ (0, L.jsx)(O, {
|
|
576
576
|
id: "step.pending.subtitle3",
|
|
577
577
|
defaultMessage: "You will be contacted via email."
|
|
578
578
|
})
|
|
579
579
|
}),
|
|
580
|
-
/* @__PURE__ */ (0,
|
|
580
|
+
/* @__PURE__ */ (0, L.jsx)("div", { className: "sid-l-space-top-xl" })
|
|
581
581
|
]
|
|
582
|
-
}), Ht = ({ logo: e }) => /* @__PURE__ */ (0,
|
|
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: [
|
|
586
|
-
/* @__PURE__ */ (0,
|
|
586
|
+
/* @__PURE__ */ (0, L.jsx)("div", {
|
|
587
587
|
className: "sid-l-horz-center",
|
|
588
588
|
children: e
|
|
589
589
|
}),
|
|
590
|
-
/* @__PURE__ */ (0,
|
|
590
|
+
/* @__PURE__ */ (0, L.jsx)(dt, {
|
|
591
591
|
align: "center",
|
|
592
|
-
children: /* @__PURE__ */ (0,
|
|
592
|
+
children: /* @__PURE__ */ (0, L.jsx)(O, {
|
|
593
593
|
id: "step.pending.idCheckLoop.title",
|
|
594
594
|
defaultMessage: "We're reviewing your documents",
|
|
595
595
|
tagName: "h1"
|
|
596
596
|
})
|
|
597
597
|
}),
|
|
598
|
-
/* @__PURE__ */ (0,
|
|
598
|
+
/* @__PURE__ */ (0, L.jsx)("div", {
|
|
599
599
|
className: "sid-header__subtitle-one",
|
|
600
|
-
children: /* @__PURE__ */ (0,
|
|
600
|
+
children: /* @__PURE__ */ (0, L.jsx)(O, {
|
|
601
601
|
id: "step.pending.idCheckLoop.subtitle",
|
|
602
602
|
defaultMessage: "Hold tight, turnaround time is typically a few minutes or less."
|
|
603
603
|
})
|
|
604
604
|
}),
|
|
605
|
-
/* @__PURE__ */ (0,
|
|
605
|
+
/* @__PURE__ */ (0, L.jsx)("div", {
|
|
606
606
|
className: "sid-header__subtitle-two sid-l-space-top-md sid-h-bold-text",
|
|
607
|
-
children: /* @__PURE__ */ (0,
|
|
607
|
+
children: /* @__PURE__ */ (0, L.jsx)(O, {
|
|
608
608
|
id: "step.pending.idCheckLoop.subtitle2",
|
|
609
609
|
defaultMessage: "We'll send you an email when we're finished reviewing."
|
|
610
610
|
})
|
|
611
611
|
}),
|
|
612
|
-
/* @__PURE__ */ (0,
|
|
612
|
+
/* @__PURE__ */ (0, L.jsx)("div", { className: "sid-l-space-top-xl" })
|
|
613
613
|
]
|
|
614
|
-
}), Ut = { [
|
|
615
|
-
title: /* @__PURE__ */ (0,
|
|
614
|
+
}), Ut = { [ye.SIGNZY]: {
|
|
615
|
+
title: /* @__PURE__ */ (0, L.jsx)(O, {
|
|
616
616
|
id: "step.thirdPartyLoop.signzy.title",
|
|
617
617
|
tagName: "h1",
|
|
618
618
|
defaultMessage: "Verify using DigiLocker"
|
|
619
619
|
}),
|
|
620
|
-
subtitle: /* @__PURE__ */ (0,
|
|
620
|
+
subtitle: /* @__PURE__ */ (0, L.jsx)(O, {
|
|
621
621
|
id: "step.thirdPartyLoop.signzy.subtitle",
|
|
622
622
|
defaultMessage: "Verify using your DigiLocker login information"
|
|
623
623
|
}),
|
|
624
|
-
login: /* @__PURE__ */ (0,
|
|
624
|
+
login: /* @__PURE__ */ (0, L.jsx)(O, {
|
|
625
625
|
id: "step.thirdPartyLoop.signzy.login",
|
|
626
626
|
defaultMessage: "Sign in to DigiLocker"
|
|
627
627
|
}),
|
|
628
|
-
cancel: /* @__PURE__ */ (0,
|
|
628
|
+
cancel: /* @__PURE__ */ (0, L.jsx)(O, {
|
|
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
|
-
let n = /* @__PURE__ */ (0,
|
|
633
|
+
let n = /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
634
634
|
className: "sid-header sid-l-horz-center",
|
|
635
635
|
children: [
|
|
636
|
-
/* @__PURE__ */ (0,
|
|
636
|
+
/* @__PURE__ */ (0, L.jsx)("div", {
|
|
637
637
|
className: "sid-error-logo-container sid-l-horz-center",
|
|
638
638
|
children: e
|
|
639
639
|
}),
|
|
640
|
-
/* @__PURE__ */ (0,
|
|
640
|
+
/* @__PURE__ */ (0, L.jsx)(dt, {
|
|
641
641
|
align: "center",
|
|
642
|
-
children: /* @__PURE__ */ (0,
|
|
642
|
+
children: /* @__PURE__ */ (0, L.jsx)(O, {
|
|
643
643
|
id: "error",
|
|
644
644
|
tagName: "h1"
|
|
645
645
|
})
|
|
646
646
|
}),
|
|
647
|
-
/* @__PURE__ */ (0,
|
|
647
|
+
/* @__PURE__ */ (0, L.jsx)("div", {
|
|
648
648
|
className: "sid-header__subtitle sid-l-horz-center sid-l-space-top-md",
|
|
649
|
-
children: /* @__PURE__ */ (0,
|
|
649
|
+
children: /* @__PURE__ */ (0, L.jsx)("div", {
|
|
650
650
|
className: "sid-error-msg sid-l-horz-center",
|
|
651
|
-
children: /* @__PURE__ */ (0,
|
|
651
|
+
children: /* @__PURE__ */ (0, L.jsx)(O, {
|
|
652
652
|
id: "step.thirdPartyLoop.error",
|
|
653
653
|
defaultMessage: "Provider not supported"
|
|
654
654
|
})
|
|
@@ -656,27 +656,27 @@ var pt = /* @__PURE__ */ h(ne(), 1), mt = /* @__PURE__ */ h(T(), 1), I = k(), ht
|
|
|
656
656
|
})
|
|
657
657
|
]
|
|
658
658
|
});
|
|
659
|
-
return /* @__PURE__ */ (0,
|
|
659
|
+
return /* @__PURE__ */ (0, L.jsx)("div", {
|
|
660
660
|
id: "sid-step-third-party-loop",
|
|
661
661
|
className: "sid-step-third-party-loop-container sid-l-container",
|
|
662
662
|
"data-testid": "sid-step-third-party-loop-error",
|
|
663
|
-
children: t ? /* @__PURE__ */ (0,
|
|
663
|
+
children: t ? /* @__PURE__ */ (0, L.jsx)("div", {
|
|
664
664
|
role: "main",
|
|
665
665
|
children: n
|
|
666
666
|
}) : n
|
|
667
667
|
});
|
|
668
668
|
}, Gt = ({ verificationService: e }) => {
|
|
669
669
|
let t = Ut[e.verificationResponse.thirdPartyLoopProvider] || void 0, n = at("hc-my-sheer-id-theme-builder");
|
|
670
|
-
return t ? /* @__PURE__ */ (0,
|
|
670
|
+
return t ? /* @__PURE__ */ (0, L.jsx)(Rt, {
|
|
671
671
|
verificationService: e,
|
|
672
|
-
stepName:
|
|
672
|
+
stepName: F.thirdPartyLoop,
|
|
673
673
|
messages: t,
|
|
674
674
|
cancelButtonType: Lt.SECONDARY
|
|
675
|
-
}) : /* @__PURE__ */ (0,
|
|
675
|
+
}) : /* @__PURE__ */ (0, L.jsx)(Wt, {
|
|
676
676
|
isStepRoot: !0,
|
|
677
|
-
logo: /* @__PURE__ */ (0,
|
|
677
|
+
logo: /* @__PURE__ */ (0, L.jsx)(lt, {
|
|
678
678
|
verificationService: e,
|
|
679
|
-
fallbackLogo: !n && /* @__PURE__ */ (0,
|
|
679
|
+
fallbackLogo: !n && /* @__PURE__ */ (0, L.jsx)("img", {
|
|
680
680
|
className: "sid-error-logo sid-l-lead-image",
|
|
681
681
|
alt: "",
|
|
682
682
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/circle-exclamation.svg"
|
|
@@ -684,17 +684,17 @@ var pt = /* @__PURE__ */ h(ne(), 1), mt = /* @__PURE__ */ h(T(), 1), I = k(), ht
|
|
|
684
684
|
})
|
|
685
685
|
});
|
|
686
686
|
}, Kt = ({ logo: e, verificationLastResponse: t, cancelThirdPartyLoop: n, isMockingPreviousStepThirdPartyLoop: r }) => {
|
|
687
|
-
let i = Ut[r ?
|
|
688
|
-
return i ? /* @__PURE__ */ (0,
|
|
689
|
-
stepName:
|
|
687
|
+
let i = Ut[r ? Se("thirdPartyLoopProvider") : t?.thirdPartyLoopProvider] || void 0;
|
|
688
|
+
return i ? /* @__PURE__ */ (0, L.jsx)(Ft, {
|
|
689
|
+
stepName: F.thirdPartyLoop,
|
|
690
690
|
messages: i,
|
|
691
691
|
logo: e,
|
|
692
692
|
cancelSingleSignOn: n,
|
|
693
693
|
cancelButtonType: Lt.SECONDARY
|
|
694
|
-
}) : /* @__PURE__ */ (0,
|
|
694
|
+
}) : /* @__PURE__ */ (0, L.jsx)(Wt, { logo: e });
|
|
695
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 =
|
|
697
|
-
|
|
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
|
+
I.useEffect(() => {
|
|
698
698
|
if (!_) return;
|
|
699
699
|
let e = setTimeout(() => y(Yt), Jt);
|
|
700
700
|
return () => clearTimeout(e);
|
|
@@ -703,44 +703,44 @@ var pt = /* @__PURE__ */ h(ne(), 1), mt = /* @__PURE__ */ h(T(), 1), I = k(), ht
|
|
|
703
703
|
e.fetchExistingVerificationRequest(t, a, i, r, !1);
|
|
704
704
|
}, v), x = (t) => {
|
|
705
705
|
let r = l(n, () => {});
|
|
706
|
-
|
|
707
|
-
}, S = /* @__PURE__ */ (0,
|
|
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
|
-
fallbackLogo: !d && /* @__PURE__ */ (0,
|
|
709
|
+
fallbackLogo: !d && /* @__PURE__ */ (0, L.jsx)("img", {
|
|
710
710
|
className: "sid-l-lead-image",
|
|
711
711
|
alt: "",
|
|
712
712
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg"
|
|
713
713
|
})
|
|
714
714
|
});
|
|
715
|
-
return /* @__PURE__ */ (0,
|
|
715
|
+
return /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
716
716
|
id: "sid-step-pending",
|
|
717
717
|
className: "sid-l-container",
|
|
718
|
-
children: [/* @__PURE__ */ (0,
|
|
718
|
+
children: [/* @__PURE__ */ (0, L.jsx)("div", {
|
|
719
719
|
role: "main",
|
|
720
720
|
children: (() => {
|
|
721
721
|
let e = f() || s, t = p() || c, n = m() || u;
|
|
722
|
-
return e ? /* @__PURE__ */ (0,
|
|
723
|
-
stepName:
|
|
722
|
+
return e ? /* @__PURE__ */ (0, L.jsx)(Ft, {
|
|
723
|
+
stepName: F.sso,
|
|
724
724
|
messages: zt,
|
|
725
725
|
logo: S,
|
|
726
|
-
cancelSingleSignOn: () => x(
|
|
727
|
-
}) : t ? /* @__PURE__ */ (0,
|
|
726
|
+
cancelSingleSignOn: () => x(F.sso)
|
|
727
|
+
}) : t ? /* @__PURE__ */ (0, L.jsx)(Kt, {
|
|
728
728
|
logo: S,
|
|
729
|
-
cancelThirdPartyLoop: () => x(
|
|
729
|
+
cancelThirdPartyLoop: () => x(F.thirdPartyLoop),
|
|
730
730
|
verificationLastResponse: i,
|
|
731
731
|
isMockingPreviousStepThirdPartyLoop: c
|
|
732
|
-
}) : n ? /* @__PURE__ */ (0,
|
|
732
|
+
}) : n ? /* @__PURE__ */ (0, L.jsx)(Ht, { logo: S }) : /* @__PURE__ */ (0, L.jsx)(Vt, { logo: S });
|
|
733
733
|
})()
|
|
734
|
-
}), g ? /* @__PURE__ */ (0,
|
|
734
|
+
}), g ? /* @__PURE__ */ (0, L.jsx)(Mt, {
|
|
735
735
|
verificationService: e,
|
|
736
736
|
isCentered: !0
|
|
737
|
-
}) : /* @__PURE__ */ (0,
|
|
737
|
+
}) : /* @__PURE__ */ (0, L.jsxs)(Ye, {
|
|
738
738
|
verificationService: e,
|
|
739
|
-
children: [/* @__PURE__ */ (0,
|
|
739
|
+
children: [/* @__PURE__ */ (0, L.jsx)("div", {}), " "]
|
|
740
740
|
})]
|
|
741
741
|
});
|
|
742
742
|
}, Qt = () => {
|
|
743
|
-
let e =
|
|
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);
|
|
746
746
|
e.searchParams.delete("verificationId"), window.location.replace(e);
|
|
@@ -754,12 +754,12 @@ var pt = /* @__PURE__ */ h(ne(), 1), mt = /* @__PURE__ */ h(T(), 1), I = k(), ht
|
|
|
754
754
|
t,
|
|
755
755
|
r
|
|
756
756
|
]);
|
|
757
|
-
return /* @__PURE__ */ (0,
|
|
757
|
+
return /* @__PURE__ */ (0, L.jsx)("button", {
|
|
758
758
|
type: "button",
|
|
759
759
|
className: "sid-btn sid-btn-light sid-btn__try-again",
|
|
760
760
|
onClick: i,
|
|
761
761
|
onKeyPress: i,
|
|
762
|
-
children: /* @__PURE__ */ (0,
|
|
762
|
+
children: /* @__PURE__ */ (0, L.jsx)(N, { id: "tryAgain" })
|
|
763
763
|
});
|
|
764
764
|
}, $t = {
|
|
765
765
|
NONE: "none",
|
|
@@ -767,22 +767,22 @@ var pt = /* @__PURE__ */ h(ne(), 1), mt = /* @__PURE__ */ h(T(), 1), I = k(), ht
|
|
|
767
767
|
POSTMESSAGE: "postMessage",
|
|
768
768
|
REDIRECT: "redirect"
|
|
769
769
|
}, en = () => {
|
|
770
|
-
let e =
|
|
770
|
+
let e = ae(), t = () => re({
|
|
771
771
|
action: "tryAgain",
|
|
772
772
|
verificationResponse: e
|
|
773
773
|
});
|
|
774
|
-
return /* @__PURE__ */ (0,
|
|
774
|
+
return /* @__PURE__ */ (0, L.jsx)("button", {
|
|
775
775
|
type: "button",
|
|
776
776
|
className: "sid-btn sid-btn-light sid-btn__try-again",
|
|
777
777
|
onClick: t,
|
|
778
778
|
onKeyPress: t,
|
|
779
|
-
children: /* @__PURE__ */ (0,
|
|
779
|
+
children: /* @__PURE__ */ (0, L.jsx)(N, { id: "tryAgain" })
|
|
780
780
|
});
|
|
781
|
-
}, tn = ({ redirectUrl: e, target: t = "_blank" }) => /* @__PURE__ */ (0,
|
|
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
|
-
children: /* @__PURE__ */ (0,
|
|
785
|
+
children: /* @__PURE__ */ (0, L.jsx)(N, { id: "seeOtherOffers" })
|
|
786
786
|
}), nn = (e) => {
|
|
787
787
|
if (!(typeof e == "object" && "type" in e && Object.values($t).includes(e.type))) throw RangeError("Invalid tryAgainAction option type - using default TryAgainButton.");
|
|
788
788
|
}, rn = () => {
|
|
@@ -790,18 +790,18 @@ var pt = /* @__PURE__ */ h(ne(), 1), mt = /* @__PURE__ */ h(T(), 1), I = k(), ht
|
|
|
790
790
|
try {
|
|
791
791
|
switch (nn(e), e.type) {
|
|
792
792
|
case $t.NONE: return null;
|
|
793
|
-
case $t.POSTMESSAGE: return window.self === window.top ? (
|
|
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
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,
|
|
796
|
+
return /* @__PURE__ */ (0, L.jsx)(tn, {
|
|
797
797
|
redirectUrl: e.url,
|
|
798
798
|
target: e.target
|
|
799
799
|
});
|
|
800
|
-
case $t.RESET: return /* @__PURE__ */ (0,
|
|
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
|
|
804
|
+
return P.error(e.message), /* @__PURE__ */ (0, L.jsx)(Qt, {});
|
|
805
805
|
}
|
|
806
806
|
}, an = [
|
|
807
807
|
"docReviewLimitExceeded",
|
|
@@ -809,84 +809,84 @@ var pt = /* @__PURE__ */ h(ne(), 1), mt = /* @__PURE__ */ h(T(), 1), I = k(), ht
|
|
|
809
809
|
"fraudRulesReject"
|
|
810
810
|
], on = ({ verificationService: e, errorIds: t }) => {
|
|
811
811
|
let n = t[0];
|
|
812
|
-
return /* @__PURE__ */ (0,
|
|
812
|
+
return /* @__PURE__ */ (0, L.jsx)(dt, {
|
|
813
813
|
align: "center",
|
|
814
|
-
children: /* @__PURE__ */ (0,
|
|
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
|
-
return t ? n.set(t, `errorDetailId.${t}`) : e?.forEach((e) => n.set(e, `errorId.${e}`)), n.size > 0 ? /* @__PURE__ */ (0,
|
|
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
|
-
return e.messages?.[n] ? /* @__PURE__ */ (0,
|
|
821
|
+
return e.messages?.[n] ? /* @__PURE__ */ (0, L.jsx)("p", {
|
|
822
822
|
className: "sid-error-note sid-h-small-text",
|
|
823
|
-
children: /* @__PURE__ */ (0,
|
|
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
|
-
return t ? /* @__PURE__ */ (0,
|
|
828
|
+
return t ? /* @__PURE__ */ (0, L.jsx)(me, {
|
|
829
829
|
href: t,
|
|
830
|
-
onClick: () => p(
|
|
830
|
+
onClick: () => p(F.error, t),
|
|
831
831
|
className: "sid-btn sid-faq-btn sid-btn-light",
|
|
832
|
-
children: /* @__PURE__ */ (0,
|
|
832
|
+
children: /* @__PURE__ */ (0, L.jsx)(N, { id: "step.error.errorId.unauthorizedAccountStatus.buttonText" })
|
|
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,
|
|
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
|
-
return e.messages?.[`step.error.errorId.${r}.buttonText`] && _(n) ? /* @__PURE__ */ (0,
|
|
838
|
+
return e.messages?.[`step.error.errorId.${r}.buttonText`] && _(n) ? /* @__PURE__ */ (0, L.jsx)(me, {
|
|
839
839
|
href: n,
|
|
840
|
-
onClick: () => p(
|
|
840
|
+
onClick: () => p(F.error, n),
|
|
841
841
|
className: "sid-btn sid-error-btn sid-btn-light",
|
|
842
|
-
children: /* @__PURE__ */ (0,
|
|
843
|
-
}) : /* @__PURE__ */ (0,
|
|
842
|
+
children: /* @__PURE__ */ (0, L.jsx)(N, { id: `step.error.errorId.${r}.buttonText` })
|
|
843
|
+
}) : /* @__PURE__ */ (0, L.jsx)(rn, {});
|
|
844
844
|
}, un = ({ verificationService: e, errorId: t }) => {
|
|
845
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
847
|
let s = Array.from(o), c = s.some((e) => an.includes(e));
|
|
848
|
-
return /* @__PURE__ */ (0,
|
|
848
|
+
return /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
849
849
|
id: "sid-step-error",
|
|
850
850
|
className: "sid-error-container sid-l-container",
|
|
851
|
-
children: [/* @__PURE__ */ (0,
|
|
851
|
+
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
|
|
852
852
|
className: "sid-header sid-l-horz-center",
|
|
853
853
|
role: "banner",
|
|
854
854
|
children: [
|
|
855
|
-
/* @__PURE__ */ (0,
|
|
855
|
+
/* @__PURE__ */ (0, L.jsx)("div", {
|
|
856
856
|
className: "sid-error-logo-container sid-l-horz-center",
|
|
857
|
-
children: /* @__PURE__ */ (0,
|
|
857
|
+
children: /* @__PURE__ */ (0, L.jsx)(lt, {
|
|
858
858
|
verificationService: e,
|
|
859
|
-
fallbackLogo: !a && /* @__PURE__ */ (0,
|
|
859
|
+
fallbackLogo: !a && /* @__PURE__ */ (0, L.jsx)("img", {
|
|
860
860
|
className: "sid-error-logo sid-l-lead-image",
|
|
861
861
|
alt: "",
|
|
862
862
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/circle-exclamation.svg"
|
|
863
863
|
})
|
|
864
864
|
})
|
|
865
865
|
}),
|
|
866
|
-
/* @__PURE__ */ (0,
|
|
866
|
+
/* @__PURE__ */ (0, L.jsx)(on, {
|
|
867
867
|
verificationService: e,
|
|
868
868
|
errorIds: s
|
|
869
869
|
}),
|
|
870
|
-
/* @__PURE__ */ (0,
|
|
870
|
+
/* @__PURE__ */ (0, L.jsxs)("div", {
|
|
871
871
|
className: "sid-header__subtitle sid-l-horz-center sid-l-space-top-md",
|
|
872
872
|
children: [
|
|
873
|
-
/* @__PURE__ */ (0,
|
|
873
|
+
/* @__PURE__ */ (0, L.jsxs)("div", {
|
|
874
874
|
className: "sid-error-msg sid-l-horz-center",
|
|
875
|
-
children: [/* @__PURE__ */ (0,
|
|
875
|
+
children: [/* @__PURE__ */ (0, L.jsx)(sn, {
|
|
876
876
|
errorIds: s,
|
|
877
877
|
errorDetailId: i
|
|
878
|
-
}), /* @__PURE__ */ (0,
|
|
878
|
+
}), /* @__PURE__ */ (0, L.jsx)(cn, {
|
|
879
879
|
verificationService: e,
|
|
880
880
|
errorIds: s
|
|
881
881
|
})]
|
|
882
882
|
}),
|
|
883
|
-
c && /* @__PURE__ */ (0,
|
|
883
|
+
c && /* @__PURE__ */ (0, L.jsx)("p", {
|
|
884
884
|
className: "sid-error-contact-support sid-l-space-top-md",
|
|
885
|
-
children: /* @__PURE__ */ (0,
|
|
885
|
+
children: /* @__PURE__ */ (0, L.jsx)(N, { id: "contactSupport" })
|
|
886
886
|
}),
|
|
887
|
-
/* @__PURE__ */ (0,
|
|
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,
|
|
889
|
+
children: /* @__PURE__ */ (0, L.jsx)(ln, {
|
|
890
890
|
verificationService: e,
|
|
891
891
|
errorIds: s,
|
|
892
892
|
redirectUrl: r
|
|
@@ -895,9 +895,9 @@ var pt = /* @__PURE__ */ h(ne(), 1), mt = /* @__PURE__ */ h(T(), 1), I = k(), ht
|
|
|
895
895
|
]
|
|
896
896
|
})
|
|
897
897
|
]
|
|
898
|
-
}), /* @__PURE__ */ (0,
|
|
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,
|
|
900
|
+
children: /* @__PURE__ */ (0, L.jsx)(Mt, {
|
|
901
901
|
verificationService: e,
|
|
902
902
|
isCentered: !0,
|
|
903
903
|
hideFaqLink: c
|
|
@@ -907,210 +907,210 @@ var pt = /* @__PURE__ */ h(ne(), 1), mt = /* @__PURE__ */ h(T(), 1), I = k(), ht
|
|
|
907
907
|
}, dn = {
|
|
908
908
|
StepPendingComponent: Zt,
|
|
909
909
|
StepErrorComponent: un,
|
|
910
|
-
StepStudentPersonalInfoComponent:
|
|
911
|
-
StepOverrideComponent:
|
|
912
|
-
StepAgePersonalInfoComponent:
|
|
913
|
-
StepSeniorPersonalInfoComponent:
|
|
914
|
-
StepCollectMilitaryPersonalInfoComponent:
|
|
915
|
-
StepCollectMilitaryStatusComponent:
|
|
916
|
-
StepActiveMilitaryPersonalInfoComponent:
|
|
917
|
-
StepInactiveMilitaryPersonalInfoComponent:
|
|
918
|
-
StepDriverLicensePersonalInfoComponent:
|
|
919
|
-
StepEmploymentPersonalInfoComponent:
|
|
920
|
-
StepFirstResponderPersonalInfoComponent:
|
|
921
|
-
StepGeneralIdentityPersonalInfoComponent:
|
|
922
|
-
StepHybridIdentityPersonalInfoComponent:
|
|
923
|
-
StepIDCheckLoopComponent:
|
|
924
|
-
StepLicensedProfessionalPersonalInfoComponent:
|
|
925
|
-
StepLowIncomePersonalInfoComponent:
|
|
926
|
-
StepMedicalProfessionalPersonalInfoComponent:
|
|
927
|
-
StepMemberPersonalInfoComponent:
|
|
928
|
-
StepConsolationComponent:
|
|
929
|
-
StepDocUploadComponent:
|
|
930
|
-
StepEmailLoopComponent:
|
|
931
|
-
StepPendingEmailLoopComponent:
|
|
932
|
-
StepMoverPersonalInfoComponent:
|
|
933
|
-
StepSMSLoopComponent:
|
|
934
|
-
StepSocialSecurity:
|
|
935
|
-
StepSSOComponent:
|
|
936
|
-
StepSuccessComponent:
|
|
937
|
-
StepTeacherPersonalInfoComponent:
|
|
938
|
-
StepCompleteAuthentication:
|
|
939
|
-
StepCollectIdentifierComponent:
|
|
940
|
-
StepCollectPersonalInfo:
|
|
941
|
-
StepThirdPartyLoopComponent:
|
|
942
|
-
},
|
|
943
|
-
|
|
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
|
+
StepSSOComponent: I.lazy(() => import("./chunk/StepSSO-ZHByQpHa.js")),
|
|
936
|
+
StepSuccessComponent: I.lazy(() => import("./chunk/StepSuccess-BQEdDXRG.js")),
|
|
937
|
+
StepTeacherPersonalInfoComponent: I.lazy(() => import("./chunk/StepTeacherPersonalInfo-BLYc_KIx.js")),
|
|
938
|
+
StepCompleteAuthentication: I.lazy(() => import("./chunk/StepCompleteAuthentication-BawnNriI.js")),
|
|
939
|
+
StepCollectIdentifierComponent: I.lazy(() => import("./chunk/StepCollectIdentifier-Bfeyh9Fw.js")),
|
|
940
|
+
StepCollectPersonalInfo: I.lazy(() => import("./chunk/StepCollectPersonalInfo-ZtXdYWLn.js")),
|
|
941
|
+
StepThirdPartyLoopComponent: I.lazy(() => import("./chunk/StepThirdPartyLoop-BrKuZcYb.js"))
|
|
942
|
+
}, B = (e) => (P.info("getComponent", e), Ot(e) || dn[e]), fn = () => /* @__PURE__ */ (0, L.jsx)(_t, {}), pn = ({ stepToLoad: e, verificationService: t }) => {
|
|
943
|
+
P.info(`LoadStepComponent: rendering step: ${e}`);
|
|
944
944
|
let n;
|
|
945
|
-
switch ((0,
|
|
945
|
+
switch ((0, I.useEffect)(() => {
|
|
946
946
|
try {
|
|
947
947
|
performance.mark(w.INITIAL_STEP_LOAD);
|
|
948
948
|
} catch {}
|
|
949
|
-
}, []),
|
|
949
|
+
}, []), I.useEffect(() => {
|
|
950
950
|
if (!["pending", "error"].includes(e)) try {
|
|
951
951
|
performance.mark(u.STEP_SEEN), f({
|
|
952
952
|
eventName: u.STEP_SEEN,
|
|
953
953
|
params: { step: e }
|
|
954
954
|
});
|
|
955
955
|
} catch (e) {
|
|
956
|
-
|
|
956
|
+
P.error(e);
|
|
957
957
|
}
|
|
958
958
|
}, [e]), e) {
|
|
959
959
|
case "collectPersonalInfo":
|
|
960
|
-
n =
|
|
960
|
+
n = B("StepCollectPersonalInfo");
|
|
961
961
|
break;
|
|
962
962
|
case "collectStudentPersonalInfo":
|
|
963
|
-
n =
|
|
963
|
+
n = B("StepStudentPersonalInfoComponent");
|
|
964
964
|
break;
|
|
965
965
|
case "collectSeniorPersonalInfo":
|
|
966
|
-
n =
|
|
966
|
+
n = B("StepSeniorPersonalInfoComponent");
|
|
967
967
|
break;
|
|
968
968
|
case "collectAgePersonalInfo":
|
|
969
|
-
n =
|
|
969
|
+
n = B("StepAgePersonalInfoComponent");
|
|
970
970
|
break;
|
|
971
971
|
case "collectTeacherPersonalInfo":
|
|
972
|
-
n =
|
|
972
|
+
n = B("StepTeacherPersonalInfoComponent");
|
|
973
973
|
break;
|
|
974
974
|
case "collectMemberPersonalInfo":
|
|
975
|
-
n =
|
|
975
|
+
n = B("StepMemberPersonalInfoComponent");
|
|
976
976
|
break;
|
|
977
977
|
case "collectMilitaryStatus":
|
|
978
|
-
n =
|
|
978
|
+
n = B("StepCollectMilitaryStatusComponent");
|
|
979
979
|
break;
|
|
980
980
|
case "collectActiveMilitaryPersonalInfo":
|
|
981
|
-
n =
|
|
981
|
+
n = B("StepActiveMilitaryPersonalInfoComponent");
|
|
982
982
|
break;
|
|
983
983
|
case "collectInactiveMilitaryPersonalInfo":
|
|
984
|
-
n =
|
|
984
|
+
n = B("StepInactiveMilitaryPersonalInfoComponent");
|
|
985
985
|
break;
|
|
986
986
|
case "collectMilitaryPersonalInfo":
|
|
987
|
-
n =
|
|
987
|
+
n = B("StepCollectMilitaryPersonalInfoComponent");
|
|
988
988
|
break;
|
|
989
989
|
case "collectFirstResponderPersonalInfo":
|
|
990
|
-
n =
|
|
990
|
+
n = B("StepFirstResponderPersonalInfoComponent");
|
|
991
991
|
break;
|
|
992
992
|
case "collectMedicalProfessionalPersonalInfo":
|
|
993
|
-
n =
|
|
993
|
+
n = B("StepMedicalProfessionalPersonalInfoComponent");
|
|
994
994
|
break;
|
|
995
995
|
case "collectEmployeePersonalInfo":
|
|
996
|
-
n =
|
|
996
|
+
n = B("StepEmploymentPersonalInfoComponent");
|
|
997
997
|
break;
|
|
998
998
|
case "collectDriverLicensePersonalInfo":
|
|
999
|
-
n =
|
|
999
|
+
n = B("StepDriverLicensePersonalInfoComponent");
|
|
1000
1000
|
break;
|
|
1001
1001
|
case "collectGeneralIdentityPersonalInfo":
|
|
1002
|
-
n =
|
|
1002
|
+
n = B("StepGeneralIdentityPersonalInfoComponent");
|
|
1003
1003
|
break;
|
|
1004
1004
|
case "collectHybridIdentityPersonalInfo":
|
|
1005
|
-
n =
|
|
1005
|
+
n = B("StepHybridIdentityPersonalInfoComponent");
|
|
1006
1006
|
break;
|
|
1007
1007
|
case "collectLicensedProfessionalPersonalInfo":
|
|
1008
|
-
n =
|
|
1008
|
+
n = B("StepLicensedProfessionalPersonalInfoComponent");
|
|
1009
1009
|
break;
|
|
1010
1010
|
case "collectMoverPersonalInfo":
|
|
1011
|
-
n =
|
|
1011
|
+
n = B("StepMoverPersonalInfoComponent");
|
|
1012
1012
|
break;
|
|
1013
1013
|
case "collectLowIncomePersonalInfo":
|
|
1014
|
-
n =
|
|
1014
|
+
n = B("StepLowIncomePersonalInfoComponent");
|
|
1015
1015
|
break;
|
|
1016
1016
|
case "collectSocialSecurityNumber":
|
|
1017
|
-
n =
|
|
1017
|
+
n = B("StepSocialSecurity");
|
|
1018
1018
|
break;
|
|
1019
1019
|
case "success":
|
|
1020
|
-
n =
|
|
1020
|
+
n = B("StepSuccessComponent");
|
|
1021
1021
|
break;
|
|
1022
1022
|
case "consolation":
|
|
1023
|
-
n =
|
|
1023
|
+
n = B("StepConsolationComponent");
|
|
1024
1024
|
break;
|
|
1025
1025
|
case "override":
|
|
1026
|
-
n =
|
|
1026
|
+
n = B("StepOverrideComponent");
|
|
1027
1027
|
break;
|
|
1028
1028
|
case "docUpload":
|
|
1029
|
-
n =
|
|
1029
|
+
n = B("StepDocUploadComponent");
|
|
1030
1030
|
break;
|
|
1031
1031
|
case "pending":
|
|
1032
|
-
n =
|
|
1032
|
+
n = B("StepPendingComponent");
|
|
1033
1033
|
break;
|
|
1034
1034
|
case "sso":
|
|
1035
|
-
n =
|
|
1035
|
+
n = B("StepSSOComponent");
|
|
1036
1036
|
break;
|
|
1037
1037
|
case "thirdPartyLoop":
|
|
1038
|
-
n =
|
|
1038
|
+
n = B("StepThirdPartyLoopComponent");
|
|
1039
1039
|
break;
|
|
1040
1040
|
case "smsLoop":
|
|
1041
|
-
n =
|
|
1041
|
+
n = B("StepSMSLoopComponent");
|
|
1042
1042
|
break;
|
|
1043
1043
|
case "emailLoop":
|
|
1044
|
-
n =
|
|
1044
|
+
n = B("StepEmailLoopComponent");
|
|
1045
1045
|
break;
|
|
1046
1046
|
case "idCheckLoop":
|
|
1047
|
-
n =
|
|
1047
|
+
n = B("StepIDCheckLoopComponent");
|
|
1048
1048
|
break;
|
|
1049
1049
|
case "collectIdentifier":
|
|
1050
|
-
n =
|
|
1050
|
+
n = B("StepCollectIdentifierComponent");
|
|
1051
1051
|
break;
|
|
1052
1052
|
case "completeAuthentication":
|
|
1053
|
-
n =
|
|
1053
|
+
n = B("StepCompleteAuthentication");
|
|
1054
1054
|
break;
|
|
1055
|
-
case "missingRequiredMetadata": return n =
|
|
1055
|
+
case "missingRequiredMetadata": return n = B("StepErrorComponent"), /* @__PURE__ */ (0, L.jsx)(n, {
|
|
1056
1056
|
verificationService: t,
|
|
1057
1057
|
errorId: "missingRequiredMetadata"
|
|
1058
1058
|
});
|
|
1059
|
-
case "missingRequiredExternalId": return n =
|
|
1059
|
+
case "missingRequiredExternalId": return n = B("StepErrorComponent"), /* @__PURE__ */ (0, L.jsx)(n, {
|
|
1060
1060
|
verificationService: t,
|
|
1061
1061
|
errorId: "missingRequiredExternalId"
|
|
1062
1062
|
});
|
|
1063
1063
|
case "error":
|
|
1064
|
-
n =
|
|
1064
|
+
n = B("StepErrorComponent");
|
|
1065
1065
|
break;
|
|
1066
1066
|
case "cancelDocUpload":
|
|
1067
1067
|
case "cancelEmailLoop":
|
|
1068
1068
|
case "cancelSocialSecurityNumber":
|
|
1069
1069
|
case "docReviewLimitExceeded":
|
|
1070
|
-
case "emailLoopCollectOrganizationEmail": return
|
|
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
|
|
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
|
-
return /* @__PURE__ */ (0,
|
|
1079
|
+
return /* @__PURE__ */ (0, L.jsx)(I.Suspense, {
|
|
1080
1080
|
fallback: fn(),
|
|
1081
|
-
children: /* @__PURE__ */ (0,
|
|
1081
|
+
children: /* @__PURE__ */ (0, L.jsx)(n, { verificationService: t })
|
|
1082
1082
|
});
|
|
1083
|
-
}, mn = ({ dangerouslySetInnerHTML: e, ...t }) => e ? /* @__PURE__ */ (0,
|
|
1083
|
+
}, mn = ({ dangerouslySetInnerHTML: e, ...t }) => e ? /* @__PURE__ */ (0, L.jsx)("span", {
|
|
1084
1084
|
dangerouslySetInnerHTML: e,
|
|
1085
1085
|
...t
|
|
1086
|
-
}) : /* @__PURE__ */ (0,
|
|
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
|
-
children: ["Test Mode", /* @__PURE__ */ (0,
|
|
1089
|
+
children: ["Test Mode", /* @__PURE__ */ (0, L.jsx)(me, {
|
|
1090
1090
|
className: "sid-test-mode-flag__link",
|
|
1091
1091
|
href: "https://developer.sheerid.com/getting-started#test-program",
|
|
1092
1092
|
"aria-label": "learn more about a sheerid test mode program",
|
|
1093
1093
|
children: "(learn more)"
|
|
1094
1094
|
})]
|
|
1095
|
-
}) : null, gn = ({ verificationService: e, title: t, children: n, fallbackLogo: r, classNameIdentifier: i = void 0 }) => /* @__PURE__ */ (0,
|
|
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
|
-
/* @__PURE__ */ (0,
|
|
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,
|
|
1100
|
+
children: /* @__PURE__ */ (0, L.jsx)(lt, {
|
|
1101
1101
|
verificationService: e,
|
|
1102
1102
|
fallbackLogo: r
|
|
1103
1103
|
})
|
|
1104
1104
|
}),
|
|
1105
|
-
/* @__PURE__ */ (0,
|
|
1105
|
+
/* @__PURE__ */ (0, L.jsx)("div", {
|
|
1106
1106
|
className: `sid-header__title sid-l-horz-center ${i ? `sid-${i}-header` : ""}`,
|
|
1107
|
-
children: /* @__PURE__ */ (0,
|
|
1107
|
+
children: /* @__PURE__ */ (0, L.jsx)("h1", { children: t })
|
|
1108
1108
|
}),
|
|
1109
1109
|
n
|
|
1110
1110
|
]
|
|
1111
1111
|
});
|
|
1112
1112
|
typeof window < "u" && window.document && window.document.createElement;
|
|
1113
|
-
function
|
|
1113
|
+
function V(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
|
|
1114
1114
|
return function(r) {
|
|
1115
1115
|
if (e?.(r), n === !1 || !r.defaultPrevented) return t?.(r);
|
|
1116
1116
|
};
|
|
@@ -1135,26 +1135,26 @@ function vn(...e) {
|
|
|
1135
1135
|
};
|
|
1136
1136
|
};
|
|
1137
1137
|
}
|
|
1138
|
-
function
|
|
1139
|
-
return
|
|
1138
|
+
function H(...e) {
|
|
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
1143
|
function yn(e, t = []) {
|
|
1144
1144
|
let n = [];
|
|
1145
1145
|
function r(t, r) {
|
|
1146
|
-
let i =
|
|
1146
|
+
let i = I.createContext(r), a = n.length;
|
|
1147
1147
|
n = [...n, r];
|
|
1148
1148
|
let o = (t) => {
|
|
1149
|
-
let { scope: n, children: r, ...o } = t, s = n?.[e]?.[a] || i, c =
|
|
1150
|
-
return /* @__PURE__ */ (0,
|
|
1149
|
+
let { scope: n, children: r, ...o } = t, s = n?.[e]?.[a] || i, c = I.useMemo(() => o, Object.values(o));
|
|
1150
|
+
return /* @__PURE__ */ (0, L.jsx)(s.Provider, {
|
|
1151
1151
|
value: c,
|
|
1152
1152
|
children: r
|
|
1153
1153
|
});
|
|
1154
1154
|
};
|
|
1155
1155
|
o.displayName = t + "Provider";
|
|
1156
1156
|
function s(n, o) {
|
|
1157
|
-
let s = o?.[e]?.[a] || i, c =
|
|
1157
|
+
let s = o?.[e]?.[a] || i, c = I.useContext(s);
|
|
1158
1158
|
if (c) return c;
|
|
1159
1159
|
if (r !== void 0) return r;
|
|
1160
1160
|
throw Error(`\`${n}\` must be used within \`${t}\``);
|
|
@@ -1162,10 +1162,10 @@ function yn(e, t = []) {
|
|
|
1162
1162
|
return [o, s];
|
|
1163
1163
|
}
|
|
1164
1164
|
let i = () => {
|
|
1165
|
-
let t = n.map((e) =>
|
|
1165
|
+
let t = n.map((e) => I.createContext(e));
|
|
1166
1166
|
return function(n) {
|
|
1167
1167
|
let r = n?.[e] || t;
|
|
1168
|
-
return
|
|
1168
|
+
return I.useMemo(() => ({ [`__scope${e}`]: {
|
|
1169
1169
|
...n,
|
|
1170
1170
|
[e]: r
|
|
1171
1171
|
} }), [n, r]);
|
|
@@ -1189,7 +1189,7 @@ function bn(...e) {
|
|
|
1189
1189
|
...i
|
|
1190
1190
|
};
|
|
1191
1191
|
}, {});
|
|
1192
|
-
return
|
|
1192
|
+
return I.useMemo(() => ({ [`__scope${t.scopeName}`]: r }), [r]);
|
|
1193
1193
|
};
|
|
1194
1194
|
};
|
|
1195
1195
|
return n.scopeName = t.scopeName, n;
|
|
@@ -1198,17 +1198,17 @@ function bn(...e) {
|
|
|
1198
1198
|
//#region ../node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
1199
1199
|
// @__NO_SIDE_EFFECTS__
|
|
1200
1200
|
function xn(e) {
|
|
1201
|
-
let t = /* @__PURE__ */ Sn(e), n =
|
|
1202
|
-
let { children: r, ...i } = e, a =
|
|
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
|
-
let e = o.props.children, r = a.map((t) => t === o ?
|
|
1205
|
-
return /* @__PURE__ */ (0,
|
|
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
|
+
return /* @__PURE__ */ (0, L.jsx)(t, {
|
|
1206
1206
|
...i,
|
|
1207
1207
|
ref: n,
|
|
1208
|
-
children:
|
|
1208
|
+
children: I.isValidElement(e) ? I.cloneElement(e, void 0, r) : null
|
|
1209
1209
|
});
|
|
1210
1210
|
}
|
|
1211
|
-
return /* @__PURE__ */ (0,
|
|
1211
|
+
return /* @__PURE__ */ (0, L.jsx)(t, {
|
|
1212
1212
|
...i,
|
|
1213
1213
|
ref: n,
|
|
1214
1214
|
children: r
|
|
@@ -1218,19 +1218,19 @@ function xn(e) {
|
|
|
1218
1218
|
}
|
|
1219
1219
|
// @__NO_SIDE_EFFECTS__
|
|
1220
1220
|
function Sn(e) {
|
|
1221
|
-
let t =
|
|
1221
|
+
let t = I.forwardRef((e, t) => {
|
|
1222
1222
|
let { children: n, ...r } = e;
|
|
1223
|
-
if (
|
|
1223
|
+
if (I.isValidElement(n)) {
|
|
1224
1224
|
let e = En(n), i = Tn(r, n.props);
|
|
1225
|
-
return n.type !==
|
|
1225
|
+
return n.type !== I.Fragment && (i.ref = t ? vn(t, e) : e), I.cloneElement(n, i);
|
|
1226
1226
|
}
|
|
1227
|
-
return
|
|
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
1231
|
var Cn = Symbol("radix.slottable");
|
|
1232
1232
|
function wn(e) {
|
|
1233
|
-
return
|
|
1233
|
+
return I.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === Cn;
|
|
1234
1234
|
}
|
|
1235
1235
|
function Tn(e, t) {
|
|
1236
1236
|
let n = { ...t };
|
|
@@ -1255,7 +1255,7 @@ function En(e) {
|
|
|
1255
1255
|
}
|
|
1256
1256
|
//#endregion
|
|
1257
1257
|
//#region ../node_modules/@radix-ui/react-primitive/dist/index.mjs
|
|
1258
|
-
var
|
|
1258
|
+
var U = [
|
|
1259
1259
|
"a",
|
|
1260
1260
|
"button",
|
|
1261
1261
|
"div",
|
|
@@ -1274,9 +1274,9 @@ var H = [
|
|
|
1274
1274
|
"svg",
|
|
1275
1275
|
"ul"
|
|
1276
1276
|
].reduce((e, t) => {
|
|
1277
|
-
let n = /* @__PURE__ */ xn(`Primitive.${t}`), r =
|
|
1277
|
+
let n = /* @__PURE__ */ xn(`Primitive.${t}`), r = I.forwardRef((e, r) => {
|
|
1278
1278
|
let { asChild: i, ...a } = e, o = i ? n : t;
|
|
1279
|
-
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ (0,
|
|
1279
|
+
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ (0, L.jsx)(o, {
|
|
1280
1280
|
...a,
|
|
1281
1281
|
ref: r
|
|
1282
1282
|
});
|
|
@@ -1292,16 +1292,16 @@ function Dn(e, t) {
|
|
|
1292
1292
|
//#endregion
|
|
1293
1293
|
//#region ../node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
|
|
1294
1294
|
function On(e) {
|
|
1295
|
-
let t =
|
|
1296
|
-
return
|
|
1295
|
+
let t = I.useRef(e);
|
|
1296
|
+
return I.useEffect(() => {
|
|
1297
1297
|
t.current = e;
|
|
1298
|
-
}),
|
|
1298
|
+
}), I.useMemo(() => (...e) => t.current?.(...e), []);
|
|
1299
1299
|
}
|
|
1300
1300
|
//#endregion
|
|
1301
1301
|
//#region ../node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs
|
|
1302
1302
|
function kn(e, t = globalThis?.document) {
|
|
1303
1303
|
let n = On(e);
|
|
1304
|
-
|
|
1304
|
+
I.useEffect(() => {
|
|
1305
1305
|
let e = (e) => {
|
|
1306
1306
|
e.key === "Escape" && n(e);
|
|
1307
1307
|
};
|
|
@@ -1310,12 +1310,12 @@ function kn(e, t = globalThis?.document) {
|
|
|
1310
1310
|
}
|
|
1311
1311
|
//#endregion
|
|
1312
1312
|
//#region ../node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
|
|
1313
|
-
var An = "DismissableLayer", jn = "dismissableLayer.update", Mn = "dismissableLayer.pointerDownOutside", Nn = "dismissableLayer.focusOutside", Pn, Fn =
|
|
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
|
-
}), In =
|
|
1318
|
-
let { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: o, onDismiss: s, ...c } = e, l =
|
|
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
1321
|
}, f), S = Bn((e) => {
|
|
@@ -1324,7 +1324,7 @@ var An = "DismissableLayer", jn = "dismissableLayer.update", Mn = "dismissableLa
|
|
|
1324
1324
|
}, f);
|
|
1325
1325
|
return kn((e) => {
|
|
1326
1326
|
v === l.layers.size - 1 && (r?.(e), !e.defaultPrevented && s && (e.preventDefault(), s()));
|
|
1327
|
-
}, f),
|
|
1327
|
+
}, f), I.useEffect(() => {
|
|
1328
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
1329
|
n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (f.body.style.pointerEvents = Pn);
|
|
1330
1330
|
};
|
|
@@ -1333,40 +1333,40 @@ var An = "DismissableLayer", jn = "dismissableLayer.update", Mn = "dismissableLa
|
|
|
1333
1333
|
f,
|
|
1334
1334
|
n,
|
|
1335
1335
|
l
|
|
1336
|
-
]),
|
|
1336
|
+
]), I.useEffect(() => () => {
|
|
1337
1337
|
u && (l.layers.delete(u), l.layersWithOutsidePointerEventsDisabled.delete(u), Vn());
|
|
1338
|
-
}, [u, l]),
|
|
1338
|
+
}, [u, l]), I.useEffect(() => {
|
|
1339
1339
|
let e = () => p({});
|
|
1340
1340
|
return document.addEventListener(jn, e), () => document.removeEventListener(jn, e);
|
|
1341
|
-
}, []), /* @__PURE__ */ (0,
|
|
1341
|
+
}, []), /* @__PURE__ */ (0, L.jsx)(U.div, {
|
|
1342
1342
|
...c,
|
|
1343
1343
|
ref: m,
|
|
1344
1344
|
style: {
|
|
1345
1345
|
pointerEvents: y ? b ? "auto" : "none" : void 0,
|
|
1346
1346
|
...e.style
|
|
1347
1347
|
},
|
|
1348
|
-
onFocusCapture:
|
|
1349
|
-
onBlurCapture:
|
|
1350
|
-
onPointerDownCapture:
|
|
1348
|
+
onFocusCapture: V(e.onFocusCapture, S.onFocusCapture),
|
|
1349
|
+
onBlurCapture: V(e.onBlurCapture, S.onBlurCapture),
|
|
1350
|
+
onPointerDownCapture: V(e.onPointerDownCapture, x.onPointerDownCapture)
|
|
1351
1351
|
});
|
|
1352
1352
|
});
|
|
1353
1353
|
In.displayName = An;
|
|
1354
|
-
var Ln = "DismissableLayerBranch", Rn =
|
|
1355
|
-
let n =
|
|
1356
|
-
return
|
|
1354
|
+
var Ln = "DismissableLayerBranch", Rn = I.forwardRef((e, t) => {
|
|
1355
|
+
let n = I.useContext(Fn), r = I.useRef(null), i = H(t, r);
|
|
1356
|
+
return I.useEffect(() => {
|
|
1357
1357
|
let e = r.current;
|
|
1358
1358
|
if (e) return n.branches.add(e), () => {
|
|
1359
1359
|
n.branches.delete(e);
|
|
1360
1360
|
};
|
|
1361
|
-
}, [n.branches]), /* @__PURE__ */ (0,
|
|
1361
|
+
}, [n.branches]), /* @__PURE__ */ (0, L.jsx)(U.div, {
|
|
1362
1362
|
...e,
|
|
1363
1363
|
ref: i
|
|
1364
1364
|
});
|
|
1365
1365
|
});
|
|
1366
1366
|
Rn.displayName = Ln;
|
|
1367
1367
|
function zn(e, t = globalThis?.document) {
|
|
1368
|
-
let n = On(e), r =
|
|
1369
|
-
return
|
|
1368
|
+
let n = On(e), r = I.useRef(!1), i = I.useRef(() => {});
|
|
1369
|
+
return I.useEffect(() => {
|
|
1370
1370
|
let e = (e) => {
|
|
1371
1371
|
if (e.target && !r.current) {
|
|
1372
1372
|
let r = function() {
|
|
@@ -1384,8 +1384,8 @@ function zn(e, t = globalThis?.document) {
|
|
|
1384
1384
|
}, [t, n]), { onPointerDownCapture: () => r.current = !0 };
|
|
1385
1385
|
}
|
|
1386
1386
|
function Bn(e, t = globalThis?.document) {
|
|
1387
|
-
let n = On(e), r =
|
|
1388
|
-
return
|
|
1387
|
+
let n = On(e), r = I.useRef(!1);
|
|
1388
|
+
return I.useEffect(() => {
|
|
1389
1389
|
let e = (e) => {
|
|
1390
1390
|
e.target && !r.current && Hn(Nn, n, { originalEvent: e }, { discrete: !1 });
|
|
1391
1391
|
};
|
|
@@ -1411,7 +1411,7 @@ function Hn(e, t, n, { discrete: r }) {
|
|
|
1411
1411
|
//#region ../node_modules/@radix-ui/react-focus-guards/dist/index.mjs
|
|
1412
1412
|
var Un = 0;
|
|
1413
1413
|
function Wn() {
|
|
1414
|
-
|
|
1414
|
+
I.useEffect(() => {
|
|
1415
1415
|
let e = document.querySelectorAll("[data-radix-focus-guard]");
|
|
1416
1416
|
return document.body.insertAdjacentElement("afterbegin", e[0] ?? Gn()), document.body.insertAdjacentElement("beforeend", e[1] ?? Gn()), Un++, () => {
|
|
1417
1417
|
Un === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((e) => e.remove()), Un--;
|
|
@@ -1427,8 +1427,8 @@ function Gn() {
|
|
|
1427
1427
|
var Kn = "focusScope.autoFocusOnMount", qn = "focusScope.autoFocusOnUnmount", Jn = {
|
|
1428
1428
|
bubbles: !1,
|
|
1429
1429
|
cancelable: !0
|
|
1430
|
-
}, Yn = "FocusScope", Xn =
|
|
1431
|
-
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [s, c] =
|
|
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;
|
|
@@ -1437,7 +1437,7 @@ var Kn = "focusScope.autoFocusOnMount", qn = "focusScope.autoFocusOnUnmount", Jn
|
|
|
1437
1437
|
this.paused = !1;
|
|
1438
1438
|
}
|
|
1439
1439
|
}).current;
|
|
1440
|
-
|
|
1440
|
+
I.useEffect(() => {
|
|
1441
1441
|
if (r) {
|
|
1442
1442
|
let e = function(e) {
|
|
1443
1443
|
if (p.paused || !s) return;
|
|
@@ -1463,7 +1463,7 @@ var Kn = "focusScope.autoFocusOnMount", qn = "focusScope.autoFocusOnUnmount", Jn
|
|
|
1463
1463
|
r,
|
|
1464
1464
|
s,
|
|
1465
1465
|
p.paused
|
|
1466
|
-
]),
|
|
1466
|
+
]), I.useEffect(() => {
|
|
1467
1467
|
if (s) {
|
|
1468
1468
|
ir.add(p);
|
|
1469
1469
|
let e = document.activeElement;
|
|
@@ -1484,7 +1484,7 @@ var Kn = "focusScope.autoFocusOnMount", qn = "focusScope.autoFocusOnUnmount", Jn
|
|
|
1484
1484
|
u,
|
|
1485
1485
|
p
|
|
1486
1486
|
]);
|
|
1487
|
-
let m =
|
|
1487
|
+
let m = I.useCallback((e) => {
|
|
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) {
|
|
@@ -1496,7 +1496,7 @@ var Kn = "focusScope.autoFocusOnMount", qn = "focusScope.autoFocusOnUnmount", Jn
|
|
|
1496
1496
|
r,
|
|
1497
1497
|
p.paused
|
|
1498
1498
|
]);
|
|
1499
|
-
return /* @__PURE__ */ (0,
|
|
1499
|
+
return /* @__PURE__ */ (0, L.jsx)(U.div, {
|
|
1500
1500
|
tabIndex: -1,
|
|
1501
1501
|
...o,
|
|
1502
1502
|
ref: f,
|
|
@@ -1563,9 +1563,9 @@ function sr(e) {
|
|
|
1563
1563
|
}
|
|
1564
1564
|
//#endregion
|
|
1565
1565
|
//#region ../node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
|
|
1566
|
-
var cr = globalThis?.document ?
|
|
1566
|
+
var cr = globalThis?.document ? I.useLayoutEffect : () => {}, lr = I.useId || (() => void 0), ur = 0;
|
|
1567
1567
|
function dr(e) {
|
|
1568
|
-
let [t, n] =
|
|
1568
|
+
let [t, n] = I.useState(lr());
|
|
1569
1569
|
return cr(() => {
|
|
1570
1570
|
e || n((e) => e ?? String(ur++));
|
|
1571
1571
|
}, [e]), e || (t ? `radix-${t}` : "");
|
|
@@ -1577,7 +1577,7 @@ var fr = [
|
|
|
1577
1577
|
"right",
|
|
1578
1578
|
"bottom",
|
|
1579
1579
|
"left"
|
|
1580
|
-
], pr = Math.min,
|
|
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 = {
|
|
@@ -1587,12 +1587,12 @@ var fr = [
|
|
|
1587
1587
|
top: "bottom"
|
|
1588
1588
|
};
|
|
1589
1589
|
function _r(e, t, n) {
|
|
1590
|
-
return
|
|
1590
|
+
return W(e, pr(t, n));
|
|
1591
1591
|
}
|
|
1592
|
-
function
|
|
1592
|
+
function K(e, t) {
|
|
1593
1593
|
return typeof e == "function" ? e(t) : e;
|
|
1594
1594
|
}
|
|
1595
|
-
function
|
|
1595
|
+
function q(e) {
|
|
1596
1596
|
return e.split("-")[0];
|
|
1597
1597
|
}
|
|
1598
1598
|
function vr(e) {
|
|
@@ -1604,12 +1604,12 @@ function yr(e) {
|
|
|
1604
1604
|
function br(e) {
|
|
1605
1605
|
return e === "y" ? "height" : "width";
|
|
1606
1606
|
}
|
|
1607
|
-
function
|
|
1607
|
+
function J(e) {
|
|
1608
1608
|
let t = e[0];
|
|
1609
1609
|
return t === "t" || t === "b" ? "y" : "x";
|
|
1610
1610
|
}
|
|
1611
1611
|
function xr(e) {
|
|
1612
|
-
return yr(
|
|
1612
|
+
return yr(J(e));
|
|
1613
1613
|
}
|
|
1614
1614
|
function Sr(e, t, n) {
|
|
1615
1615
|
n === void 0 && (n = !1);
|
|
@@ -1638,11 +1638,11 @@ function kr(e, t, n) {
|
|
|
1638
1638
|
}
|
|
1639
1639
|
}
|
|
1640
1640
|
function Ar(e, t, n, r) {
|
|
1641
|
-
let i = vr(e), a = kr(
|
|
1641
|
+
let i = vr(e), a = kr(q(e), n === "start", r);
|
|
1642
1642
|
return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(wr)))), a;
|
|
1643
1643
|
}
|
|
1644
1644
|
function jr(e) {
|
|
1645
|
-
let t =
|
|
1645
|
+
let t = q(e);
|
|
1646
1646
|
return gr[t] + e.slice(t.length);
|
|
1647
1647
|
}
|
|
1648
1648
|
function Mr(e) {
|
|
@@ -1678,7 +1678,7 @@ function Pr(e) {
|
|
|
1678
1678
|
//#endregion
|
|
1679
1679
|
//#region ../node_modules/@floating-ui/core/dist/floating-ui.core.mjs
|
|
1680
1680
|
function Fr(e, t, n) {
|
|
1681
|
-
let { reference: r, floating: i } = e, a =
|
|
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 = {
|
|
@@ -1721,7 +1721,7 @@ function Fr(e, t, n) {
|
|
|
1721
1721
|
}
|
|
1722
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 } =
|
|
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,
|
|
@@ -1793,22 +1793,22 @@ var Lr = 50, Rr = async (e, t, n) => {
|
|
|
1793
1793
|
name: "arrow",
|
|
1794
1794
|
options: e,
|
|
1795
1795
|
async fn(t) {
|
|
1796
|
-
let { x: n, y: r, placement: i, rects: a, platform: o, elements: s, middlewareData: c } = t, { element: l, padding: u = 0 } =
|
|
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
1798
|
let d = Nr(u), f = {
|
|
1799
1799
|
x: n,
|
|
1800
1800
|
y: r
|
|
1801
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,
|
|
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
|
-
[p]: f[p] +
|
|
1805
|
+
[p]: f[p] + M,
|
|
1806
1806
|
data: {
|
|
1807
|
-
[p]:
|
|
1808
|
-
centerOffset:
|
|
1809
|
-
...
|
|
1807
|
+
[p]: ee,
|
|
1808
|
+
centerOffset: A - ee - M,
|
|
1809
|
+
...j && { alignmentOffset: M }
|
|
1810
1810
|
},
|
|
1811
|
-
reset:
|
|
1811
|
+
reset: j
|
|
1812
1812
|
};
|
|
1813
1813
|
}
|
|
1814
1814
|
}), Br = function(e) {
|
|
@@ -1817,9 +1817,9 @@ var Lr = 50, Rr = async (e, t, n) => {
|
|
|
1817
1817
|
options: e,
|
|
1818
1818
|
async fn(t) {
|
|
1819
1819
|
var n;
|
|
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 } =
|
|
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 =
|
|
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
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) {
|
|
@@ -1831,7 +1831,7 @@ var Lr = 50, Rr = async (e, t, n) => {
|
|
|
1831
1831
|
overflows: w
|
|
1832
1832
|
}], !w.every((e) => e <= 0)) {
|
|
1833
1833
|
let e = (i.flip?.index || 0) + 1, t = S[e];
|
|
1834
|
-
if (t && (!(u === "alignment" && _ !==
|
|
1834
|
+
if (t && (!(u === "alignment" && _ !== J(t)) || T.every((e) => J(e.placement) === _ ? e.overflows[0] > 0 : !0))) return {
|
|
1835
1835
|
data: {
|
|
1836
1836
|
index: e,
|
|
1837
1837
|
overflows: T
|
|
@@ -1843,7 +1843,7 @@ var Lr = 50, Rr = async (e, t, n) => {
|
|
|
1843
1843
|
case "bestFit": {
|
|
1844
1844
|
let e = T.filter((e) => {
|
|
1845
1845
|
if (x) {
|
|
1846
|
-
let t =
|
|
1846
|
+
let t = J(e.placement);
|
|
1847
1847
|
return t === _ || t === "y";
|
|
1848
1848
|
}
|
|
1849
1849
|
return !0;
|
|
@@ -1877,7 +1877,7 @@ var Ur = function(e) {
|
|
|
1877
1877
|
name: "hide",
|
|
1878
1878
|
options: e,
|
|
1879
1879
|
async fn(t) {
|
|
1880
|
-
let { rects: n, platform: r } = t, { strategy: i = "referenceHidden", ...a } =
|
|
1880
|
+
let { rects: n, platform: r } = t, { strategy: i = "referenceHidden", ...a } = K(e, t);
|
|
1881
1881
|
switch (i) {
|
|
1882
1882
|
case "referenceHidden": {
|
|
1883
1883
|
let e = Vr(await r.detectOverflow(t, {
|
|
@@ -1905,7 +1905,7 @@ var Ur = function(e) {
|
|
|
1905
1905
|
};
|
|
1906
1906
|
}, Wr = /*#__PURE__*/ new Set(["left", "top"]);
|
|
1907
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 =
|
|
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
|
|
@@ -1950,10 +1950,10 @@ var Kr = function(e) {
|
|
|
1950
1950
|
x: t,
|
|
1951
1951
|
y: n
|
|
1952
1952
|
};
|
|
1953
|
-
} }, ...l } =
|
|
1953
|
+
} }, ...l } = K(e, t), u = {
|
|
1954
1954
|
x: n,
|
|
1955
1955
|
y: r
|
|
1956
|
-
}, d = await a.detectOverflow(t, l), f = q(
|
|
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
1959
|
m = _r(n, m, r);
|
|
@@ -1984,10 +1984,10 @@ var Kr = function(e) {
|
|
|
1984
1984
|
return e === void 0 && (e = {}), {
|
|
1985
1985
|
options: e,
|
|
1986
1986
|
fn(t) {
|
|
1987
|
-
let { x: n, y: r, placement: i, rects: a, middlewareData: o } = t, { offset: s = 0, mainAxis: c = !0, crossAxis: l = !0 } =
|
|
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 =
|
|
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 Kr = 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 = Wr.has(
|
|
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 {
|
|
@@ -2015,12 +2015,12 @@ var Kr = function(e) {
|
|
|
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 } =
|
|
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
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
|
-
let e =
|
|
2023
|
-
p ? w = m - 2 * (e !== 0 || t !== 0 ? e + t :
|
|
2022
|
+
let e = W(u.left, 0), t = W(u.right, 0), n = W(u.top, 0), r = W(u.bottom, 0);
|
|
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));
|
|
2024
2024
|
}
|
|
2025
2025
|
await c({
|
|
2026
2026
|
...t,
|
|
@@ -2040,33 +2040,33 @@ function Xr() {
|
|
|
2040
2040
|
function Zr(e) {
|
|
2041
2041
|
return Qr(e) ? (e.nodeName || "").toLowerCase() : "#document";
|
|
2042
2042
|
}
|
|
2043
|
-
function
|
|
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
|
-
function
|
|
2047
|
+
function X(e) {
|
|
2048
2048
|
return ((Qr(e) ? e.ownerDocument : e.document) || window.document)?.documentElement;
|
|
2049
2049
|
}
|
|
2050
2050
|
function Qr(e) {
|
|
2051
|
-
return Xr() ? e instanceof Node || e instanceof
|
|
2052
|
-
}
|
|
2053
|
-
function X(e) {
|
|
2054
|
-
return Xr() ? e instanceof Element || e instanceof J(e).Element : !1;
|
|
2051
|
+
return Xr() ? e instanceof Node || e instanceof Y(e).Node : !1;
|
|
2055
2052
|
}
|
|
2056
2053
|
function Z(e) {
|
|
2057
|
-
return Xr() ? e instanceof
|
|
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) {
|
|
2060
|
+
return !Xr() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof Y(e).ShadowRoot;
|
|
2061
|
+
}
|
|
2062
|
+
function ti(e) {
|
|
2063
2063
|
let { overflow: t, overflowX: n, overflowY: r, display: i } = Q(e);
|
|
2064
2064
|
return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
|
|
2065
2065
|
}
|
|
2066
|
-
function
|
|
2066
|
+
function ni(e) {
|
|
2067
2067
|
return /^(table|td|th)$/.test(Zr(e));
|
|
2068
2068
|
}
|
|
2069
|
-
function
|
|
2069
|
+
function ri(e) {
|
|
2070
2070
|
try {
|
|
2071
2071
|
if (e.matches(":popover-open")) return !0;
|
|
2072
2072
|
} catch {}
|
|
@@ -2076,31 +2076,31 @@ function ni(e) {
|
|
|
2076
2076
|
return !1;
|
|
2077
2077
|
}
|
|
2078
2078
|
}
|
|
2079
|
-
var
|
|
2080
|
-
function si(e) {
|
|
2081
|
-
let t = X(e) ? Q(e) : e;
|
|
2082
|
-
return ai(t.transform) || ai(t.translate) || ai(t.scale) || ai(t.rotate) || ai(t.perspective) || !li() && (ai(t.backdropFilter) || ai(t.filter)) || ri.test(t.willChange || "") || ii.test(t.contain || "");
|
|
2083
|
-
}
|
|
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
|
|
2096
|
+
function di(e) {
|
|
2097
2097
|
return /^(html|body|#document)$/.test(Zr(e));
|
|
2098
2098
|
}
|
|
2099
2099
|
function Q(e) {
|
|
2100
|
-
return
|
|
2100
|
+
return Y(e).getComputedStyle(e);
|
|
2101
2101
|
}
|
|
2102
|
-
function
|
|
2103
|
-
return
|
|
2102
|
+
function fi(e) {
|
|
2103
|
+
return Z(e) ? {
|
|
2104
2104
|
scrollLeft: e.scrollLeft,
|
|
2105
2105
|
scrollTop: e.scrollTop
|
|
2106
2106
|
} : {
|
|
@@ -2108,69 +2108,69 @@ function di(e) {
|
|
|
2108
2108
|
scrollTop: e.scrollY
|
|
2109
2109
|
};
|
|
2110
2110
|
}
|
|
2111
|
-
function
|
|
2111
|
+
function pi(e) {
|
|
2112
2112
|
if (Zr(e) === "html") return e;
|
|
2113
|
-
let t = e.assignedSlot || e.parentNode ||
|
|
2114
|
-
return
|
|
2113
|
+
let t = e.assignedSlot || e.parentNode || ei(e) && e.host || X(e);
|
|
2114
|
+
return ei(t) ? t.host : t;
|
|
2115
2115
|
}
|
|
2116
|
-
function
|
|
2117
|
-
let t =
|
|
2118
|
-
return
|
|
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
2119
|
}
|
|
2120
|
-
function
|
|
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 _i(e) {
|
|
2142
|
-
return X(e) ? e : e.contextElement;
|
|
2143
|
-
}
|
|
2144
2141
|
function vi(e) {
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2142
|
+
return Z(e) ? e : e.contextElement;
|
|
2143
|
+
}
|
|
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
|
|
2155
|
-
let t =
|
|
2156
|
-
return !
|
|
2153
|
+
var bi = /*#__PURE__*/ G(0);
|
|
2154
|
+
function xi(e) {
|
|
2155
|
+
let t = Y(e);
|
|
2156
|
+
return !ui() || !t.visualViewport ? bi : {
|
|
2157
2157
|
x: t.visualViewport.offsetLeft,
|
|
2158
2158
|
y: t.visualViewport.offsetTop
|
|
2159
2159
|
};
|
|
2160
2160
|
}
|
|
2161
|
-
function
|
|
2162
|
-
return t === void 0 && (t = !1), !n || t && n !==
|
|
2161
|
+
function Si(e, t, n) {
|
|
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 ?
|
|
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 =
|
|
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 =
|
|
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
2176
|
return Pr({
|
|
@@ -2180,29 +2180,29 @@ function Si(e, t, n, r) {
|
|
|
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(Y(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 =
|
|
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 =
|
|
2201
|
-
if ((d || !d && !a) && ((Zr(r) !== "body" ||
|
|
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,31 +2210,31 @@ 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 =
|
|
2218
|
-
return Q(r).direction === "rtl" && (o +=
|
|
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
|
+
return Q(r).direction === "rtl" && (o += W(t.clientWidth, r.clientWidth) - i), {
|
|
2219
2219
|
width: i,
|
|
2220
2220
|
height: a,
|
|
2221
2221
|
x: o,
|
|
2222
2222
|
y: s
|
|
2223
2223
|
};
|
|
2224
2224
|
}
|
|
2225
|
-
var
|
|
2226
|
-
function
|
|
2227
|
-
let n =
|
|
2225
|
+
var ki = 25;
|
|
2226
|
+
function Ai(e, t) {
|
|
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 (
|
|
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,
|
|
@@ -2267,25 +2267,25 @@ function ji(e, t, n) {
|
|
|
2267
2267
|
}
|
|
2268
2268
|
return Pr(r);
|
|
2269
2269
|
}
|
|
2270
|
-
function Mi(e, t) {
|
|
2271
|
-
let n = fi(e);
|
|
2272
|
-
return n === t || !X(n) || ui(n) ? !1 : Q(n).position === "fixed" || Mi(n, t);
|
|
2273
|
-
}
|
|
2274
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 (;
|
|
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 =
|
|
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
|
-
}, c =
|
|
2308
|
+
}, c = G(0);
|
|
2309
2309
|
function l() {
|
|
2310
|
-
c.x =
|
|
2310
|
+
c.x = wi(i);
|
|
2311
2311
|
}
|
|
2312
|
-
if (r || !r && !a) if ((Zr(t) !== "body" ||
|
|
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
|
-
return
|
|
2333
|
-
}
|
|
2334
|
-
function
|
|
2335
|
-
let n =
|
|
2336
|
-
if (
|
|
2337
|
-
if (
|
|
2338
|
-
let t =
|
|
2339
|
-
for (; t && !
|
|
2340
|
-
if (
|
|
2341
|
-
t =
|
|
2332
|
+
return X(e) === n && (n = n.ownerDocument.body), n;
|
|
2333
|
+
}
|
|
2334
|
+
function Bi(e, t) {
|
|
2335
|
+
let n = Y(e);
|
|
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,26 +2358,26 @@ 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:
|
|
2366
|
-
getDocumentElement:
|
|
2367
|
-
getClippingRect:
|
|
2368
|
-
getOffsetParent:
|
|
2369
|
-
getElementRects:
|
|
2370
|
-
getClientRects:
|
|
2371
|
-
getDimensions:
|
|
2372
|
-
getScale:
|
|
2373
|
-
isElement:
|
|
2374
|
-
isRTL:
|
|
2364
|
+
var Ui = {
|
|
2365
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: Ei,
|
|
2366
|
+
getDocumentElement: X,
|
|
2367
|
+
getClippingRect: Fi,
|
|
2368
|
+
getOffsetParent: Bi,
|
|
2369
|
+
getElementRects: Vi,
|
|
2370
|
+
getClientRects: Di,
|
|
2371
|
+
getDimensions: Ii,
|
|
2372
|
+
getScale: yi,
|
|
2373
|
+
isElement: Z,
|
|
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
|
|
2380
|
-
let n = null, r, i =
|
|
2379
|
+
function Gi(e, t) {
|
|
2380
|
+
let n = null, r, i = X(e);
|
|
2381
2381
|
function a() {
|
|
2382
2382
|
var e;
|
|
2383
2383
|
clearTimeout(r), (e = n) == null || e.disconnect(), n = null;
|
|
@@ -2388,7 +2388,7 @@ function Wi(e, t) {
|
|
|
2388
2388
|
if (s || t(), !f || !p) return;
|
|
2389
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:
|
|
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,9 +2439,9 @@ 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,
|
|
@@ -2451,8 +2451,8 @@ var Ki = Kr, qi = qr, Ji = Br, Yi = Yr, Xi = Ur, Zi = zr, Qi = Jr, $i = (e, t, n
|
|
|
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,60 +2460,60 @@ 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
|
|
2484
|
-
let t =
|
|
2485
|
-
return
|
|
2483
|
+
function aa(e) {
|
|
2484
|
+
let t = I.useRef(e);
|
|
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
|
-
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] =
|
|
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,
|
|
2493
2493
|
y: 0,
|
|
2494
2494
|
strategy: n,
|
|
2495
2495
|
placement: t,
|
|
2496
2496
|
middlewareData: {},
|
|
2497
2497
|
isPositioned: !1
|
|
2498
|
-
}), [f, p] =
|
|
2499
|
-
|
|
2500
|
-
let [m, h] =
|
|
2498
|
+
}), [f, p] = I.useState(r);
|
|
2499
|
+
na(f, r) || p(r);
|
|
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
|
-
}, []), y =
|
|
2502
|
+
}, []), y = I.useCallback((e) => {
|
|
2503
2503
|
e !== C.current && (C.current = e, _(e));
|
|
2504
|
-
}, []), b = a || m, x = o || g, S =
|
|
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
|
-
|
|
2511
|
+
D.current && (e.platform = D.current), ea(S.current, C.current, e).then((e) => {
|
|
2512
2512
|
let t = {
|
|
2513
2513
|
...e,
|
|
2514
|
-
isPositioned:
|
|
2514
|
+
isPositioned: O.current !== !1
|
|
2515
2515
|
};
|
|
2516
|
-
|
|
2516
|
+
A.current && !na(w.current, t) && (w.current = t, pt.flushSync(() => {
|
|
2517
2517
|
d(t);
|
|
2518
2518
|
}));
|
|
2519
2519
|
});
|
|
@@ -2521,50 +2521,50 @@ function aa(e) {
|
|
|
2521
2521
|
f,
|
|
2522
2522
|
t,
|
|
2523
2523
|
n,
|
|
2524
|
-
|
|
2525
|
-
|
|
2524
|
+
D,
|
|
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
|
-
let
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
}), []),
|
|
2533
|
+
let A = I.useRef(!1);
|
|
2534
|
+
ta(() => (A.current = !0, () => {
|
|
2535
|
+
A.current = !1;
|
|
2536
|
+
}), []), ta(() => {
|
|
2537
2537
|
if (b && (S.current = b), x && (C.current = x), b && x) {
|
|
2538
|
-
if (
|
|
2539
|
-
|
|
2538
|
+
if (E.current) return E.current(b, x, k);
|
|
2539
|
+
k();
|
|
2540
2540
|
}
|
|
2541
2541
|
}, [
|
|
2542
2542
|
b,
|
|
2543
2543
|
x,
|
|
2544
|
-
|
|
2545
|
-
|
|
2544
|
+
k,
|
|
2545
|
+
E,
|
|
2546
2546
|
T
|
|
2547
2547
|
]);
|
|
2548
|
-
let
|
|
2548
|
+
let ee = I.useMemo(() => ({
|
|
2549
2549
|
reference: S,
|
|
2550
2550
|
floating: C,
|
|
2551
2551
|
setReference: v,
|
|
2552
2552
|
setFloating: y
|
|
2553
|
-
}), [v, y]),
|
|
2553
|
+
}), [v, y]), j = I.useMemo(() => ({
|
|
2554
2554
|
reference: b,
|
|
2555
2555
|
floating: x
|
|
2556
|
-
}), [b, x]),
|
|
2556
|
+
}), [b, x]), M = I.useMemo(() => {
|
|
2557
2557
|
let e = {
|
|
2558
2558
|
position: n,
|
|
2559
2559
|
left: 0,
|
|
2560
2560
|
top: 0
|
|
2561
2561
|
};
|
|
2562
|
-
if (!
|
|
2563
|
-
let t =
|
|
2562
|
+
if (!j.floating) return e;
|
|
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,
|
|
@@ -2573,25 +2573,25 @@ function aa(e) {
|
|
|
2573
2573
|
}, [
|
|
2574
2574
|
n,
|
|
2575
2575
|
s,
|
|
2576
|
-
|
|
2576
|
+
j.floating,
|
|
2577
2577
|
u.x,
|
|
2578
2578
|
u.y
|
|
2579
2579
|
]);
|
|
2580
|
-
return
|
|
2580
|
+
return I.useMemo(() => ({
|
|
2581
2581
|
...u,
|
|
2582
|
-
update:
|
|
2583
|
-
refs:
|
|
2584
|
-
elements:
|
|
2585
|
-
floatingStyles:
|
|
2582
|
+
update: k,
|
|
2583
|
+
refs: ee,
|
|
2584
|
+
elements: j,
|
|
2585
|
+
floatingStyles: M
|
|
2586
2586
|
}), [
|
|
2587
2587
|
u,
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2588
|
+
k,
|
|
2589
|
+
ee,
|
|
2590
|
+
j,
|
|
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,30 +2641,37 @@ var oa = (e) => {
|
|
|
2648
2641
|
options: [e, t]
|
|
2649
2642
|
};
|
|
2650
2643
|
}, pa = (e, t) => {
|
|
2651
|
-
let n =
|
|
2644
|
+
let n = Zi(e);
|
|
2652
2645
|
return {
|
|
2653
2646
|
name: n.name,
|
|
2654
2647
|
fn: n.fn,
|
|
2655
2648
|
options: [e, t]
|
|
2656
2649
|
};
|
|
2657
|
-
}, ma =
|
|
2650
|
+
}, ma = (e, t) => {
|
|
2651
|
+
let n = sa(e);
|
|
2652
|
+
return {
|
|
2653
|
+
name: n.name,
|
|
2654
|
+
fn: n.fn,
|
|
2655
|
+
options: [e, t]
|
|
2656
|
+
};
|
|
2657
|
+
}, ha = "Arrow", ga = I.forwardRef((e, t) => {
|
|
2658
2658
|
let { children: n, width: r = 10, height: i = 5, ...a } = e;
|
|
2659
|
-
return /* @__PURE__ */ (0,
|
|
2659
|
+
return /* @__PURE__ */ (0, L.jsx)(U.svg, {
|
|
2660
2660
|
...a,
|
|
2661
2661
|
ref: t,
|
|
2662
2662
|
width: r,
|
|
2663
2663
|
height: i,
|
|
2664
2664
|
viewBox: "0 0 30 10",
|
|
2665
2665
|
preserveAspectRatio: "none",
|
|
2666
|
-
children: e.asChild ? n : /* @__PURE__ */ (0,
|
|
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
|
|
2674
|
-
let [t, n] =
|
|
2673
|
+
function va(e) {
|
|
2674
|
+
let [t, n] = I.useState(void 0);
|
|
2675
2675
|
return cr(() => {
|
|
2676
2676
|
if (e) {
|
|
2677
2677
|
n({
|
|
@@ -2696,126 +2696,126 @@ function _a(e) {
|
|
|
2696
2696
|
}
|
|
2697
2697
|
//#endregion
|
|
2698
2698
|
//#region ../node_modules/@radix-ui/react-popper/dist/index.mjs
|
|
2699
|
-
var
|
|
2700
|
-
let { __scopePopper: t, children: n } = e, [r, i] =
|
|
2701
|
-
return /* @__PURE__ */ (0,
|
|
2699
|
+
var ya = "Popper", [ba, xa] = yn(ya), [Sa, Ca] = ba(ya), wa = (e) => {
|
|
2700
|
+
let { __scopePopper: t, children: n } = e, [r, i] = I.useState(null);
|
|
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 =
|
|
2711
|
-
return
|
|
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
|
+
return I.useEffect(() => {
|
|
2712
2712
|
let e = c.current;
|
|
2713
2713
|
c.current = r?.current || o.current, e !== c.current && a.onAnchorChange(c.current);
|
|
2714
|
-
}), r ? null : /* @__PURE__ */ (0,
|
|
2714
|
+
}), r ? null : /* @__PURE__ */ (0, L.jsx)(U.div, {
|
|
2715
2715
|
...i,
|
|
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,
|
|
2725
2725
|
left: 0,
|
|
2726
2726
|
...u
|
|
2727
|
-
},
|
|
2728
|
-
padding:
|
|
2729
|
-
boundary:
|
|
2730
|
-
altBoundary:
|
|
2731
|
-
}, { refs:
|
|
2727
|
+
}, D = Array.isArray(l) ? l : [l], O = D.length > 0, k = {
|
|
2728
|
+
padding: E,
|
|
2729
|
+
boundary: D.filter(Pa),
|
|
2730
|
+
altBoundary: O
|
|
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" ?
|
|
2745
|
-
...
|
|
2744
|
+
limiter: d === "partial" ? ua() : void 0,
|
|
2745
|
+
...k
|
|
2746
2746
|
}),
|
|
2747
|
-
c &&
|
|
2748
|
-
|
|
2749
|
-
...
|
|
2747
|
+
c && da({ ...k }),
|
|
2748
|
+
fa({
|
|
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
|
-
}), [
|
|
2768
|
+
}), [ne, re] = Ia(j), ie = On(m);
|
|
2769
2769
|
cr(() => {
|
|
2770
|
-
|
|
2771
|
-
}, [
|
|
2772
|
-
let
|
|
2770
|
+
M && ie?.();
|
|
2771
|
+
}, [M, ie]);
|
|
2772
|
+
let ae = te.arrow?.x, oe = te.arrow?.y, se = te.arrow?.centerOffset !== 0, [ce, le] = I.useState();
|
|
2773
2773
|
return cr(() => {
|
|
2774
|
-
_ &&
|
|
2775
|
-
}, [_]), /* @__PURE__ */ (0,
|
|
2776
|
-
ref:
|
|
2774
|
+
_ && le(window.getComputedStyle(_).zIndex);
|
|
2775
|
+
}, [_]), /* @__PURE__ */ (0, L.jsx)("div", {
|
|
2776
|
+
ref: A.setFloating,
|
|
2777
2777
|
"data-radix-popper-content-wrapper": "",
|
|
2778
2778
|
style: {
|
|
2779
|
-
...
|
|
2780
|
-
transform:
|
|
2779
|
+
...ee,
|
|
2780
|
+
transform: M ? ee.transform : "translate(0, -200%)",
|
|
2781
2781
|
minWidth: "max-content",
|
|
2782
|
-
zIndex:
|
|
2783
|
-
"--radix-popper-transform-origin": [
|
|
2784
|
-
...
|
|
2782
|
+
zIndex: ce,
|
|
2783
|
+
"--radix-popper-transform-origin": [te.transformOrigin?.x, te.transformOrigin?.y].join(" "),
|
|
2784
|
+
...te.hide?.referenceHidden && {
|
|
2785
2785
|
visibility: "hidden",
|
|
2786
2786
|
pointerEvents: "none"
|
|
2787
2787
|
}
|
|
2788
2788
|
},
|
|
2789
2789
|
dir: e.dir,
|
|
2790
|
-
children: /* @__PURE__ */ (0,
|
|
2790
|
+
children: /* @__PURE__ */ (0, L.jsx)(Oa, {
|
|
2791
2791
|
scope: n,
|
|
2792
|
-
placedSide:
|
|
2792
|
+
placedSide: ne,
|
|
2793
2793
|
onArrowChange: x,
|
|
2794
|
-
arrowX:
|
|
2795
|
-
arrowY:
|
|
2796
|
-
shouldHideArrow:
|
|
2797
|
-
children: /* @__PURE__ */ (0,
|
|
2798
|
-
"data-side":
|
|
2799
|
-
"data-align":
|
|
2794
|
+
arrowX: ae,
|
|
2795
|
+
arrowY: oe,
|
|
2796
|
+
shouldHideArrow: se,
|
|
2797
|
+
children: /* @__PURE__ */ (0, L.jsx)(U.div, {
|
|
2798
|
+
"data-side": ne,
|
|
2799
|
+
"data-align": re,
|
|
2800
2800
|
...h,
|
|
2801
2801
|
ref: y,
|
|
2802
2802
|
style: {
|
|
2803
2803
|
...h.style,
|
|
2804
|
-
animation:
|
|
2804
|
+
animation: M ? void 0 : "none"
|
|
2805
2805
|
}
|
|
2806
2806
|
})
|
|
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 =
|
|
2818
|
-
return /* @__PURE__ */ (0,
|
|
2816
|
+
}, Na = I.forwardRef(function(e, t) {
|
|
2817
|
+
let { __scopePopper: n, ...r } = e, i = ka(ja, n), a = Ma[i.placedSide];
|
|
2818
|
+
return /* @__PURE__ */ (0, L.jsx)("span", {
|
|
2819
2819
|
ref: i.onArrowChange,
|
|
2820
2820
|
style: {
|
|
2821
2821
|
position: "absolute",
|
|
@@ -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,
|
|
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
|
|
2873
|
-
let { container: n, ...r } = e, [i, a] =
|
|
2872
|
+
var La = wa, Ra = Ea, za = Aa, Ba = Na, Va = "Portal", Ha = I.forwardRef((e, t) => {
|
|
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 ? pt.createPortal(/* @__PURE__ */ (0,
|
|
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
|
|
2885
|
-
return
|
|
2884
|
+
function Ua(e, t) {
|
|
2885
|
+
return I.useReducer((e, n) => t[e][n] ?? e, e);
|
|
2886
2886
|
}
|
|
2887
|
-
var
|
|
2888
|
-
let { present: t, children: n } = e, r =
|
|
2889
|
-
return typeof n == "function" || r.isPresent ?
|
|
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
|
+
return typeof n == "function" || r.isPresent ? I.cloneElement(i, { ref: a }) : null;
|
|
2890
2890
|
};
|
|
2891
|
-
|
|
2892
|
-
function
|
|
2893
|
-
let [t, n] =
|
|
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"
|
|
@@ -2901,19 +2901,19 @@ function Wa(e) {
|
|
|
2901
2901
|
},
|
|
2902
2902
|
unmounted: { MOUNT: "mounted" }
|
|
2903
2903
|
});
|
|
2904
|
-
return
|
|
2905
|
-
let e =
|
|
2904
|
+
return I.useEffect(() => {
|
|
2905
|
+
let e = Ka(r.current);
|
|
2906
2906
|
a.current = o === "mounted" ? e : "none";
|
|
2907
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
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);
|
|
@@ -2929,36 +2929,36 @@ function Wa(e) {
|
|
|
2929
2929
|
} else s("ANIMATION_END");
|
|
2930
2930
|
}, [t, s]), {
|
|
2931
2931
|
isPresent: ["mounted", "unmountSuspended"].includes(o),
|
|
2932
|
-
ref:
|
|
2932
|
+
ref: I.useCallback((e) => {
|
|
2933
2933
|
r.current = e ? getComputedStyle(e) : null, n(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;
|
|
2952
2952
|
{
|
|
2953
|
-
let t =
|
|
2954
|
-
|
|
2953
|
+
let t = I.useRef(e !== void 0);
|
|
2954
|
+
I.useEffect(() => {
|
|
2955
2955
|
let e = t.current;
|
|
2956
2956
|
e !== s && console.warn(`${r} is changing from ${e ? "controlled" : "uncontrolled"} to ${s ? "controlled" : "uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`), t.current = s;
|
|
2957
2957
|
}, [s, r]);
|
|
2958
2958
|
}
|
|
2959
|
-
return [c,
|
|
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,11 +2968,11 @@ function Ja({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
|
2968
2968
|
o
|
|
2969
2969
|
])];
|
|
2970
2970
|
}
|
|
2971
|
-
function
|
|
2972
|
-
let [n, r] =
|
|
2973
|
-
return
|
|
2971
|
+
function Xa({ defaultProp: e, onChange: t }) {
|
|
2972
|
+
let [n, r] = I.useState(e), i = I.useRef(n), a = I.useRef(t);
|
|
2973
|
+
return Ja(() => {
|
|
2974
2974
|
a.current = t;
|
|
2975
|
-
}, [t]),
|
|
2975
|
+
}, [t]), I.useEffect(() => {
|
|
2976
2976
|
i.current !== n && (a.current?.(n), i.current = n);
|
|
2977
2977
|
}, [n, i]), [
|
|
2978
2978
|
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,26 +3153,26 @@ 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
|
|
3175
|
-
var n = (0,
|
|
3174
|
+
function yo(e, t) {
|
|
3175
|
+
var n = (0, I.useState)(function() {
|
|
3176
3176
|
return {
|
|
3177
3177
|
value: e,
|
|
3178
3178
|
callback: t,
|
|
@@ -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
|
-
return
|
|
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
|
|
3297
|
-
var n =
|
|
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 =
|
|
3296
|
+
var Oo = To(), ko = function() {}, Ao = I.forwardRef(function(e, t) {
|
|
3297
|
+
var n = I.useRef(null), r = I.useState({
|
|
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 = F.forwardRef(function(e, t) {
|
|
|
3312
3312
|
"allowPinchZoom",
|
|
3313
3313
|
"as",
|
|
3314
3314
|
"gapMode"
|
|
3315
|
-
]), x = f, S =
|
|
3316
|
-
return
|
|
3317
|
-
sideCar:
|
|
3315
|
+
]), x = f, S = So([n, t]), C = $($({}, b), i);
|
|
3316
|
+
return I.createElement(I.Fragment, null, u && I.createElement(x, {
|
|
3317
|
+
sideCar: Oo,
|
|
3318
3318
|
removeScrollBar: l,
|
|
3319
3319
|
shards: d,
|
|
3320
3320
|
noRelative: p,
|
|
@@ -3324,96 +3324,96 @@ var Do = wo(), Oo = function() {}, ko = F.forwardRef(function(e, t) {
|
|
|
3324
3324
|
allowPinchZoom: !!g,
|
|
3325
3325
|
lockRef: n,
|
|
3326
3326
|
gapMode: y
|
|
3327
|
-
}), o ?
|
|
3327
|
+
}), o ? I.cloneElement(I.Children.only(s), $($({}, C), { ref: S })) : I.createElement(v, $({}, C, {
|
|
3328
3328
|
className: c,
|
|
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() {
|
|
3376
3376
|
e.remove();
|
|
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
|
-
},
|
|
3457
|
-
|
|
3458
|
-
return document.body.setAttribute(
|
|
3459
|
-
var e =
|
|
3460
|
-
e <= 0 ? document.body.removeAttribute(
|
|
3456
|
+
}, qo = function() {
|
|
3457
|
+
I.useEffect(function() {
|
|
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
|
-
|
|
3466
|
-
var a =
|
|
3467
|
-
return
|
|
3465
|
+
qo();
|
|
3466
|
+
var a = I.useMemo(function() {
|
|
3467
|
+
return Ho(i);
|
|
3468
3468
|
}, [i]);
|
|
3469
|
-
return
|
|
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 =
|
|
3543
|
-
|
|
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
|
+
I.useEffect(function() {
|
|
3544
3544
|
o.current = e;
|
|
3545
|
-
}, [e]),
|
|
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() {
|
|
@@ -3559,147 +3559,147 @@ function hs(e) {
|
|
|
3559
3559
|
e.lockRef.current,
|
|
3560
3560
|
e.shards
|
|
3561
3561
|
]);
|
|
3562
|
-
var s =
|
|
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
|
|
3574
|
-
}, []), c =
|
|
3573
|
+
return cs(h, t, e, h === "h" ? s : c, !0);
|
|
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();
|
|
3589
3589
|
}
|
|
3590
3590
|
}
|
|
3591
|
-
}, []), l =
|
|
3591
|
+
}, []), l = I.useCallback(function(e, n, r, i) {
|
|
3592
3592
|
var a = {
|
|
3593
3593
|
name: 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) {
|
|
3601
3601
|
return e !== a;
|
|
3602
3602
|
});
|
|
3603
3603
|
}, 1);
|
|
3604
|
-
}, []), u =
|
|
3605
|
-
n.current =
|
|
3606
|
-
}, []), d =
|
|
3604
|
+
}, []), u = I.useCallback(function(e) {
|
|
3605
|
+
n.current = ls(e), r.current = void 0;
|
|
3606
|
+
}, []), d = I.useCallback(function(t) {
|
|
3607
|
+
l(t.type, us(t), t.target, s(t, e.lockRef.current));
|
|
3608
|
+
}, []), f = I.useCallback(function(t) {
|
|
3607
3609
|
l(t.type, ls(t), t.target, s(t, e.lockRef.current));
|
|
3608
|
-
}, []), f = F.useCallback(function(t) {
|
|
3609
|
-
l(t.type, cs(t), t.target, s(t, e.lockRef.current));
|
|
3610
3610
|
}, []);
|
|
3611
|
-
|
|
3612
|
-
return
|
|
3611
|
+
I.useEffect(function() {
|
|
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
|
|
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
|
|
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,
|
|
3650
|
+
return /* @__PURE__ */ (0, L.jsx)(La, {
|
|
3651
3651
|
...s,
|
|
3652
|
-
children: /* @__PURE__ */ (0,
|
|
3652
|
+
children: /* @__PURE__ */ (0, L.jsx)(ws, {
|
|
3653
3653
|
scope: t,
|
|
3654
3654
|
contentId: dr(),
|
|
3655
3655
|
triggerRef: c,
|
|
3656
3656
|
open: d,
|
|
3657
3657
|
onOpenChange: f,
|
|
3658
|
-
onOpenToggle:
|
|
3658
|
+
onOpenToggle: I.useCallback(() => f((e) => !e), [f]),
|
|
3659
3659
|
hasCustomAnchor: l,
|
|
3660
|
-
onCustomAnchorAdd:
|
|
3661
|
-
onCustomAnchorRemove:
|
|
3660
|
+
onCustomAnchorAdd: I.useCallback(() => u(!0), []),
|
|
3661
|
+
onCustomAnchorRemove: I.useCallback(() => u(!1), []),
|
|
3662
3662
|
modal: o,
|
|
3663
3663
|
children: n
|
|
3664
3664
|
})
|
|
3665
3665
|
});
|
|
3666
3666
|
};
|
|
3667
|
-
|
|
3668
|
-
var
|
|
3669
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3670
|
-
return
|
|
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
|
-
onClick:
|
|
3686
|
+
onClick: V(e.onClick, i.onOpenToggle)
|
|
3687
3687
|
});
|
|
3688
|
-
return i.hasCustomAnchor ? s : /* @__PURE__ */ (0,
|
|
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,
|
|
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,
|
|
3700
|
+
children: /* @__PURE__ */ (0, L.jsx)(Wa, {
|
|
3701
3701
|
present: n || a.open,
|
|
3702
|
-
children: /* @__PURE__ */ (0,
|
|
3702
|
+
children: /* @__PURE__ */ (0, L.jsx)(Ha, {
|
|
3703
3703
|
asChild: !0,
|
|
3704
3704
|
container: i,
|
|
3705
3705
|
children: r
|
|
@@ -3707,47 +3707,47 @@ 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,
|
|
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,
|
|
3715
|
+
children: a.modal ? /* @__PURE__ */ (0, L.jsx)(Rs, {
|
|
3716
3716
|
...i,
|
|
3717
3717
|
ref: t
|
|
3718
|
-
}) : /* @__PURE__ */ (0,
|
|
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 =
|
|
3727
|
-
return
|
|
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
|
+
return I.useEffect(() => {
|
|
3728
3728
|
let e = r.current;
|
|
3729
|
-
if (e) return
|
|
3730
|
-
}, []), /* @__PURE__ */ (0,
|
|
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,
|
|
3733
|
+
children: /* @__PURE__ */ (0, L.jsx)(Bs, {
|
|
3734
3734
|
...e,
|
|
3735
3735
|
ref: i,
|
|
3736
3736
|
trapFocus: n.open,
|
|
3737
3737
|
disableOutsidePointerEvents: !0,
|
|
3738
|
-
onCloseAutoFocus:
|
|
3738
|
+
onCloseAutoFocus: V(e.onCloseAutoFocus, (e) => {
|
|
3739
3739
|
e.preventDefault(), a.current || n.triggerRef.current?.focus();
|
|
3740
3740
|
}),
|
|
3741
|
-
onPointerDownOutside:
|
|
3741
|
+
onPointerDownOutside: V(e.onPointerDownOutside, (e) => {
|
|
3742
3742
|
let t = e.detail.originalEvent, n = t.button === 0 && t.ctrlKey === !0;
|
|
3743
3743
|
a.current = t.button === 2 || n;
|
|
3744
3744
|
}, { checkForDefaultPrevented: !1 }),
|
|
3745
|
-
onFocusOutside:
|
|
3745
|
+
onFocusOutside: V(e.onFocusOutside, (e) => e.preventDefault(), { checkForDefaultPrevented: !1 })
|
|
3746
3746
|
})
|
|
3747
3747
|
});
|
|
3748
|
-
}),
|
|
3749
|
-
let n =
|
|
3750
|
-
return /* @__PURE__ */ (0,
|
|
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__ */ xn("PopoverContent.RemoveScroll"), Ls = F.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 Wn(), /* @__PURE__ */ (0,
|
|
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,
|
|
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__ */ xn("PopoverContent.RemoveScroll"), Ls = F.forwardRef((e
|
|
|
3777
3777
|
onPointerDownOutside: c,
|
|
3778
3778
|
onFocusOutside: l,
|
|
3779
3779
|
onDismiss: () => f.onOpenChange(!1),
|
|
3780
|
-
children: /* @__PURE__ */ (0,
|
|
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,131 +3795,131 @@ var Is = /* @__PURE__ */ xn("PopoverContent.RemoveScroll"), Ls = F.forwardRef((e
|
|
|
3795
3795
|
})
|
|
3796
3796
|
})
|
|
3797
3797
|
});
|
|
3798
|
-
}),
|
|
3799
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3800
|
-
return /* @__PURE__ */ (0,
|
|
3798
|
+
}), Vs = "PopoverClose", Hs = I.forwardRef((e, t) => {
|
|
3799
|
+
let { __scopePopover: n, ...r } = e, i = Ts(Vs, n);
|
|
3800
|
+
return /* @__PURE__ */ (0, L.jsx)(U.button, {
|
|
3801
3801
|
type: "button",
|
|
3802
3802
|
...r,
|
|
3803
3803
|
ref: t,
|
|
3804
|
-
onClick:
|
|
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,
|
|
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
|
-
children: [/* @__PURE__ */ (0,
|
|
3822
|
+
children: [/* @__PURE__ */ (0, L.jsx)("div", {
|
|
3823
3823
|
className: "flex justify-center",
|
|
3824
|
-
children: /* @__PURE__ */ (0,
|
|
3824
|
+
children: /* @__PURE__ */ (0, L.jsx)(qs, {
|
|
3825
3825
|
asChild: !0,
|
|
3826
3826
|
children: t
|
|
3827
3827
|
})
|
|
3828
|
-
}), /* @__PURE__ */ (0,
|
|
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,
|
|
3832
|
+
children: [e, /* @__PURE__ */ (0, L.jsx)(Ys, { className: "sid-popover__caret" })]
|
|
3833
3833
|
})]
|
|
3834
|
-
}),
|
|
3835
|
-
let n =
|
|
3836
|
-
return /* @__PURE__ */ (0,
|
|
3834
|
+
}), Zs = ({ verificationService: e, initialVisibility: t = !1 }) => {
|
|
3835
|
+
let n = he();
|
|
3836
|
+
return /* @__PURE__ */ (0, L.jsx)(Xs, {
|
|
3837
3837
|
initialVisibility: t,
|
|
3838
|
-
trigger: /* @__PURE__ */ (0,
|
|
3838
|
+
trigger: /* @__PURE__ */ (0, L.jsx)("button", {
|
|
3839
3839
|
type: "button",
|
|
3840
3840
|
className: "sid-h-btn-link-like sid-link sid-how-does-verifying-work-hoverable",
|
|
3841
|
-
children: /* @__PURE__ */ (0,
|
|
3841
|
+
children: /* @__PURE__ */ (0, L.jsx)(N, { id: "howDoesVerifyingWork" })
|
|
3842
3842
|
}),
|
|
3843
|
-
message: /* @__PURE__ */ (0,
|
|
3844
|
-
/* @__PURE__ */ (0,
|
|
3843
|
+
message: /* @__PURE__ */ (0, L.jsxs)("div", { children: [
|
|
3844
|
+
/* @__PURE__ */ (0, L.jsx)(N, {
|
|
3845
3845
|
id: "step.personalInfo.howDoesVerifyingWorkDetails",
|
|
3846
3846
|
context: n
|
|
3847
3847
|
}),
|
|
3848
3848
|
"\xA0",
|
|
3849
|
-
/* @__PURE__ */ (0,
|
|
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
|
-
return typeof t == "number" && t > 0 ? /* @__PURE__ */ (0,
|
|
3854
|
+
return typeof t == "number" && t > 0 ? /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
3855
3855
|
className: "sid-rewards-remaining",
|
|
3856
3856
|
role: "note",
|
|
3857
3857
|
children: [
|
|
3858
|
-
/* @__PURE__ */ (0,
|
|
3859
|
-
/* @__PURE__ */ (0,
|
|
3858
|
+
/* @__PURE__ */ (0, L.jsx)("div", { className: "sid-l-space-top-md" }),
|
|
3859
|
+
/* @__PURE__ */ (0, L.jsx)(O, {
|
|
3860
3860
|
id: "lowRewardPool",
|
|
3861
3861
|
defaultMessage: e.messages.lowRewardPool,
|
|
3862
3862
|
values: { offersRemaining: t }
|
|
3863
3863
|
}),
|
|
3864
|
-
/* @__PURE__ */ (0,
|
|
3864
|
+
/* @__PURE__ */ (0, L.jsx)("div", { className: "sid-l-space-top-sm" })
|
|
3865
3865
|
]
|
|
3866
3866
|
}) : null;
|
|
3867
|
-
},
|
|
3868
|
-
let { verificationResponse: n } = e, r =
|
|
3869
|
-
return /* @__PURE__ */ (0,
|
|
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
|
+
return /* @__PURE__ */ (0, L.jsx)("div", {
|
|
3870
3870
|
className: "sid-personal-info-header",
|
|
3871
|
-
children: /* @__PURE__ */ (0,
|
|
3871
|
+
children: /* @__PURE__ */ (0, L.jsxs)(gn, {
|
|
3872
3872
|
verificationService: e,
|
|
3873
|
-
title: /* @__PURE__ */ (0,
|
|
3873
|
+
title: /* @__PURE__ */ (0, L.jsx)(N, {
|
|
3874
3874
|
id: i,
|
|
3875
3875
|
context: n.segment
|
|
3876
3876
|
}),
|
|
3877
3877
|
classNameIdentifier: t,
|
|
3878
3878
|
children: [
|
|
3879
|
-
/* @__PURE__ */ (0,
|
|
3879
|
+
/* @__PURE__ */ (0, L.jsx)("div", {
|
|
3880
3880
|
className: `sid-header__subtitle sid-l-horz-center ${r ? "sid-header__subtitle--error" : ""}`,
|
|
3881
|
-
children: /* @__PURE__ */ (0,
|
|
3881
|
+
children: /* @__PURE__ */ (0, L.jsx)(O, { id: a })
|
|
3882
3882
|
}),
|
|
3883
|
-
/* @__PURE__ */ (0,
|
|
3883
|
+
/* @__PURE__ */ (0, L.jsx)("div", {
|
|
3884
3884
|
className: "sid-header__how-verifying-works sid-l-horz-center",
|
|
3885
|
-
children: !r && /* @__PURE__ */ (0,
|
|
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
|
-
/* @__PURE__ */ (0,
|
|
3887
|
+
/* @__PURE__ */ (0, L.jsx)("div", {
|
|
3888
3888
|
className: "sid-h-medium-text sid-l-space-btm-sm sid-l-space-top-sm",
|
|
3889
|
-
children: /* @__PURE__ */ (0,
|
|
3889
|
+
children: /* @__PURE__ */ (0, L.jsx)(O, { id: "requiredFields" })
|
|
3890
3890
|
})
|
|
3891
3891
|
]
|
|
3892
3892
|
})
|
|
3893
3893
|
});
|
|
3894
|
-
},
|
|
3895
|
-
let { isEmbedded: i } =
|
|
3896
|
-
return !r || i ? /* @__PURE__ */ (0,
|
|
3894
|
+
}, tc = () => ({ isEmbedded: !!s("verificationIframeUid") }), nc = ({ layout: e, children: t, verificationService: n, renderAsLandingPage: r }) => {
|
|
3895
|
+
let { isEmbedded: i } = tc();
|
|
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
|
-
children: /* @__PURE__ */ (0,
|
|
3898
|
+
children: /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
3899
3899
|
className: "sid-layout__container",
|
|
3900
|
-
children: [e === "fullRight" && /* @__PURE__ */ (0,
|
|
3900
|
+
children: [e === "fullRight" && /* @__PURE__ */ (0, L.jsx)("div", {
|
|
3901
3901
|
className: "sid-layout__content",
|
|
3902
|
-
children: /* @__PURE__ */ (0,
|
|
3902
|
+
children: /* @__PURE__ */ (0, L.jsx)(ec, {
|
|
3903
3903
|
verificationService: n,
|
|
3904
3904
|
classNameIdentifier: "landing"
|
|
3905
3905
|
})
|
|
3906
|
-
}), /* @__PURE__ */ (0,
|
|
3906
|
+
}), /* @__PURE__ */ (0, L.jsx)("div", {
|
|
3907
3907
|
className: "sid-layout__form-container",
|
|
3908
|
-
children: /* @__PURE__ */ (0,
|
|
3908
|
+
children: /* @__PURE__ */ (0, L.jsx)("div", {
|
|
3909
3909
|
className: "sid-layout__form",
|
|
3910
3910
|
children: t
|
|
3911
3911
|
})
|
|
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 = tt(), u = y(), d =
|
|
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
|
-
} : a.verificationResponse, [f, a.verificationResponse]), m = (0,
|
|
3922
|
+
} : a.verificationResponse, [f, a.verificationResponse]), m = (0, I.useMemo)(() => ({
|
|
3923
3923
|
...a,
|
|
3924
3924
|
programTheme: d,
|
|
3925
3925
|
verificationResponse: p,
|
|
@@ -3929,11 +3929,11 @@ var Gs = Ts, Ks = ks, qs = Fs, Js = Us, Ys = ({ message: e, trigger: t, initialV
|
|
|
3929
3929
|
d,
|
|
3930
3930
|
p
|
|
3931
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
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;
|
|
3939
3939
|
}), n = l(m.viewModel, (e) => {
|
|
@@ -3942,9 +3942,9 @@ var Gs = Ts, Ks = ks, qs = Fs, Js = Us, Ys = ({ message: e, trigger: t, initialV
|
|
|
3942
3942
|
m.updateViewModel(n);
|
|
3943
3943
|
}
|
|
3944
3944
|
} catch (e) {
|
|
3945
|
-
|
|
3945
|
+
P.error(e);
|
|
3946
3946
|
}
|
|
3947
|
-
}, []),
|
|
3947
|
+
}, []), I.useEffect(() => {
|
|
3948
3948
|
if (m.verificationResponse.verificationId && u._launchDarklyUserTargeting && s) {
|
|
3949
3949
|
let e = {
|
|
3950
3950
|
kind: "multi",
|
|
@@ -3952,19 +3952,19 @@ var Gs = Ts, Ks = ks, qs = Fs, Js = Us, Ys = ({ message: e, trigger: t, initialV
|
|
|
3952
3952
|
key: m.verificationResponse.verificationId,
|
|
3953
3953
|
locale: m.verificationResponse.locale,
|
|
3954
3954
|
segment: m.verificationResponse.segment,
|
|
3955
|
-
installType:
|
|
3955
|
+
installType: De()
|
|
3956
3956
|
},
|
|
3957
3957
|
program: { key: o }
|
|
3958
3958
|
};
|
|
3959
3959
|
d.accountId && (e.account = { key: d.accountId }), s.identify(e);
|
|
3960
3960
|
}
|
|
3961
|
-
}, [m.verificationResponse.verificationId, s]),
|
|
3961
|
+
}, [m.verificationResponse.verificationId, s]), I.useEffect(() => {
|
|
3962
3962
|
try {
|
|
3963
3963
|
y()._launchDarklyFlagCb(v);
|
|
3964
3964
|
} catch {}
|
|
3965
3965
|
}, [v]);
|
|
3966
|
-
let b =
|
|
3967
|
-
return /* @__PURE__ */ (0,
|
|
3966
|
+
let b = ge(se, pe);
|
|
3967
|
+
return /* @__PURE__ */ (0, L.jsx)(D, {
|
|
3968
3968
|
locale: "en",
|
|
3969
3969
|
messages: {
|
|
3970
3970
|
...n,
|
|
@@ -3972,20 +3972,20 @@ var Gs = Ts, Ks = ks, qs = Fs, Js = Us, Ys = ({ message: e, trigger: t, initialV
|
|
|
3972
3972
|
...(0, mt.default)(b?.[t] ?? {})
|
|
3973
3973
|
},
|
|
3974
3974
|
textComponent: mn,
|
|
3975
|
-
children: /* @__PURE__ */ (0,
|
|
3975
|
+
children: /* @__PURE__ */ (0, L.jsx)(wt, {
|
|
3976
3976
|
themeChoices: d.themeChoices,
|
|
3977
3977
|
customCssFromOptions: y().customCss,
|
|
3978
|
-
children: /* @__PURE__ */ (0,
|
|
3978
|
+
children: /* @__PURE__ */ (0, L.jsx)("div", {
|
|
3979
3979
|
className: `${xt.default.isRtlLang(r(t)) ? "sid-rtl" : "sid-ltr"} sid-locale-${t}`,
|
|
3980
|
-
children: /* @__PURE__ */ (0,
|
|
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
|
-
children: /* @__PURE__ */ (0,
|
|
3985
|
-
fallback: /* @__PURE__ */ (0,
|
|
3986
|
-
children: /* @__PURE__ */ (0,
|
|
3984
|
+
children: /* @__PURE__ */ (0, L.jsx)(I.Suspense, {
|
|
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,
|
|
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,32 +3995,32 @@ 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
|
-
super(e),
|
|
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, {
|
|
@@ -4034,9 +4034,9 @@ var Gs = Ts, Ks = ks, qs = Fs, Js = Us, Ys = ({ message: e, trigger: t, initialV
|
|
|
4034
4034
|
break;
|
|
4035
4035
|
default:
|
|
4036
4036
|
}
|
|
4037
|
-
}),
|
|
4037
|
+
}), we()) P.info("Mocking loading screen. Not fetching new verification request.");
|
|
4038
4038
|
else {
|
|
4039
|
-
|
|
4039
|
+
P.info("NewVerificationComponent: fetchNewVerificationRequest");
|
|
4040
4040
|
let e = d(() => this.props.verificationService.verificationResponse.segment);
|
|
4041
4041
|
this.props.verificationService.fetchNewVerificationRequest(this.props.programId, e, this.props.verificationService.previousViewModel, this.props.trackingId);
|
|
4042
4042
|
}
|
|
@@ -4048,14 +4048,14 @@ var Gs = Ts, Ks = ks, qs = Fs, Js = Us, Ys = ({ message: e, trigger: t, initialV
|
|
|
4048
4048
|
...r,
|
|
4049
4049
|
...(0, mt.default)(e(n))
|
|
4050
4050
|
};
|
|
4051
|
-
if (this.props.verificationService.isLoading && !this.props.verificationService.loadingStep) return
|
|
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
4054
|
textComponent: mn,
|
|
4055
|
-
children: /* @__PURE__ */ (0,
|
|
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
|
|
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,7 +4063,7 @@ 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
4068
|
fetchNewVerificationRequest: Ie(e),
|
|
4069
4069
|
fetchExistingVerificationRequest: Je(e),
|
|
@@ -4083,43 +4083,43 @@ var Gs = Ts, Ks = ks, qs = Fs, Js = Us, Ys = ({ message: e, trigger: t, initialV
|
|
|
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:
|
|
4091
|
+
context: lc(e),
|
|
4092
4092
|
flags: it,
|
|
4093
4093
|
reactOptions: { useCamelCaseFlagKeys: !1 },
|
|
4094
4094
|
options: { streaming: !1 },
|
|
4095
4095
|
children: t
|
|
4096
|
-
}),
|
|
4097
|
-
|
|
4098
|
-
var
|
|
4096
|
+
}), dc = Ve();
|
|
4097
|
+
E(g.jslibVersionActual, d(() => Ee(), "?")), E(g.clientVersion, d(() => Ee(), "?"));
|
|
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
|
-
return (0,
|
|
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:
|
|
4111
|
-
reset:
|
|
4112
|
-
}), /* @__PURE__ */ (0,
|
|
4113
|
-
store:
|
|
4114
|
-
children: /* @__PURE__ */ (0,
|
|
4110
|
+
refresh: I.useCallback(() => dc.dispatch({ type: "FORCE_UPDATE" }), []),
|
|
4111
|
+
reset: I.useCallback(() => dc.dispatch({ type: "RESET_STATE" }), [])
|
|
4112
|
+
}), /* @__PURE__ */ (0, L.jsx)(ue, {
|
|
4113
|
+
store: dc,
|
|
4114
|
+
children: /* @__PURE__ */ (0, L.jsx)(uc, {
|
|
4115
4115
|
programId: e,
|
|
4116
|
-
children: /* @__PURE__ */ (0,
|
|
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;
|
|
@@ -4127,7 +4127,7 @@ var dc = F.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
4127
4127
|
ref;
|
|
4128
4128
|
constructor(t, n, r) {
|
|
4129
4129
|
if (!(this instanceof e)) throw Error("Method \"render\" not found. Did you use the \"new\" keyword when instantiating VerificationForm?");
|
|
4130
|
-
|
|
4130
|
+
P.info(`Constructing VerificationFormEs5 ${n}`), o(t), this.element = t, this.programId = n, this.trackingId = r, this.ref = I.createRef(), this.render();
|
|
4131
4131
|
}
|
|
4132
4132
|
refresh() {
|
|
4133
4133
|
this.ref.current.refresh();
|
|
@@ -4136,7 +4136,7 @@ var dc = F.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
4136
4136
|
this.ref.current.reset();
|
|
4137
4137
|
}
|
|
4138
4138
|
render() {
|
|
4139
|
-
pt.render(/* @__PURE__ */ (0,
|
|
4139
|
+
pt.render(/* @__PURE__ */ (0, L.jsx)(fc, {
|
|
4140
4140
|
programId: this.programId,
|
|
4141
4141
|
trackingId: this.trackingId,
|
|
4142
4142
|
ref: this.ref
|
|
@@ -4145,22 +4145,7 @@ var dc = F.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
4145
4145
|
unmount() {
|
|
4146
4146
|
pt.unmountComponentAtNode(this.element);
|
|
4147
4147
|
}
|
|
4148
|
-
}, pc = async () => {
|
|
4149
|
-
if (!document.getElementById("ipqs")) return new Promise((e) => {
|
|
4150
|
-
let t = document.createElement("script");
|
|
4151
|
-
t.src = "https://fd.sheerid.com/api/*/BJOvvIiNpZnA9XHXIHVc0S4FO87k4eub6NLOfmShTU7nRqamLKTzQixwD7XETz7bvtNHmicHNx9hEtOJ9NPo3kUJBl7o1jpwcbcXeOMDJjvulAWSrRnO7WYq9gxL6xNT0xnfou5UlshUGWQ2g68qBuWajMWbxZ25JELntxaP0neiVUbephG5E79ES89qBo4uIGBDvykdJb75hpo0URvJ0Fm1j6fuEqHQBq64Mi390KC9XoQwiFxyboxQ5lSooY4p/learn.js", t.async = !0, t.id = "ipqs", document.body.appendChild(t), t.onload = () => {
|
|
4152
|
-
e();
|
|
4153
|
-
};
|
|
4154
|
-
});
|
|
4155
4148
|
}, mc = async (e, t) => {
|
|
4156
|
-
if (d(() => e.ipqsDeviceFingerprintEnabled, !1)) try {
|
|
4157
|
-
await pc(), window.IPQ = { Callback: () => {
|
|
4158
|
-
window.Startup.Store("transactionID", t), window.Startup.Init();
|
|
4159
|
-
} };
|
|
4160
|
-
} catch (e) {
|
|
4161
|
-
N.error(e, "Failed to collect IPQS device data");
|
|
4162
|
-
}
|
|
4163
|
-
}, hc = async (e, t) => {
|
|
4164
4149
|
if (!d(() => e.threatMetrixEnabled, !1)) return;
|
|
4165
4150
|
let n = e.threatMetrixOrgId || "cnl2my47";
|
|
4166
4151
|
try {
|
|
@@ -4170,21 +4155,24 @@ var dc = F.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
4170
4155
|
);
|
|
4171
4156
|
e !== void 0 && e.hasOwnProperty("profile") && typeof e.profile == "function" && e.profile("content.sheerid.com", n, t);
|
|
4172
4157
|
} catch (e) {
|
|
4173
|
-
|
|
4158
|
+
P.error(e, "Failed to collect ThreatMetrix device data");
|
|
4174
4159
|
}
|
|
4175
|
-
},
|
|
4176
|
-
let n =
|
|
4160
|
+
}, hc = /* @__PURE__ */ new Map(), gc = (e, t) => {
|
|
4161
|
+
let n = hc.get(t);
|
|
4177
4162
|
if (n) return n;
|
|
4178
4163
|
let r = (async () => {
|
|
4179
|
-
let [, ,
|
|
4180
|
-
hc(e, t),
|
|
4164
|
+
let [, n, r] = await Promise.all([
|
|
4181
4165
|
mc(e, t),
|
|
4182
|
-
et(e, t)
|
|
4166
|
+
et(e, t),
|
|
4167
|
+
Fe(e, t)
|
|
4183
4168
|
]);
|
|
4184
|
-
return
|
|
4169
|
+
return {
|
|
4170
|
+
...r ? { fpSessionId: r } : {},
|
|
4171
|
+
...n ? { ipqsRequestId: n } : {}
|
|
4172
|
+
};
|
|
4185
4173
|
})();
|
|
4186
|
-
return
|
|
4187
|
-
},
|
|
4174
|
+
return hc.set(t, r), r;
|
|
4175
|
+
}, _c = {
|
|
4188
4176
|
getMessages: n,
|
|
4189
4177
|
setViewModel: qe,
|
|
4190
4178
|
resetViewModel: We,
|
|
@@ -4194,21 +4182,21 @@ var dc = F.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
4194
4182
|
setMetadata: Ze,
|
|
4195
4183
|
getMetadata: ze,
|
|
4196
4184
|
resetMetadata: Ne,
|
|
4197
|
-
conversion:
|
|
4185
|
+
conversion: ne,
|
|
4198
4186
|
overrideComponent: Dt,
|
|
4199
4187
|
resetOverriddenComponents: kt,
|
|
4200
|
-
postVerificationSizeUpdates:
|
|
4201
|
-
addHook:
|
|
4202
|
-
hooks:
|
|
4203
|
-
VerificationForm:
|
|
4204
|
-
collectDeviceProfile: async (e, t) =>
|
|
4188
|
+
postVerificationSizeUpdates: Me,
|
|
4189
|
+
addHook: $e,
|
|
4190
|
+
hooks: Ae,
|
|
4191
|
+
VerificationForm: pc,
|
|
4192
|
+
collectDeviceProfile: async (e, t) => gc(await ce.fetchProgramTheme(t), e),
|
|
4205
4193
|
resetStore: Ge,
|
|
4206
4194
|
setProgramTheme: (e, t = { partial: !0 }) => {
|
|
4207
4195
|
let n = Ve(), r = n.getState(), a = () => {
|
|
4208
4196
|
let r = i(e);
|
|
4209
|
-
|
|
4197
|
+
P.info("Setting programTheme", r), Ke(n.dispatch)(r, t.partial), oe(r, t.partial);
|
|
4210
4198
|
};
|
|
4211
|
-
r.isLoading ?
|
|
4199
|
+
r.isLoading ? $e({
|
|
4212
4200
|
name: "ON_VERIFICATION_READY",
|
|
4213
4201
|
callback: () => {
|
|
4214
4202
|
a();
|
|
@@ -4217,4 +4205,4 @@ var dc = F.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
4217
4205
|
}
|
|
4218
4206
|
};
|
|
4219
4207
|
//#endregion
|
|
4220
|
-
export { Bt as A, Dn as C,
|
|
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 };
|