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