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