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