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