@sheerid/jslib 2.304.0 → 2.306.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 +1096 -1103
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/{AddressComponent-OHgf-_sl.js → AddressComponent-CcEzpDGt.js} +8 -8
- package/chunk/{AddressComponent-DIp4rtF_.js.map → AddressComponent-CcEzpDGt.js.map} +1 -1
- package/chunk/{AddressComponent-DIp4rtF_.js → AddressComponent-uJCuo22u.js} +8 -8
- package/chunk/{AddressComponent-OHgf-_sl.js.map → AddressComponent-uJCuo22u.js.map} +1 -1
- package/chunk/{AnnouncingHeader-zH7WLU2-.js → AnnouncingHeader-DKOYC3b9.js} +6 -6
- package/chunk/{AnnouncingHeader-CnV2m0Ak.js.map → AnnouncingHeader-DKOYC3b9.js.map} +1 -1
- package/chunk/{AnnouncingHeader-CnV2m0Ak.js → AnnouncingHeader-gJrk6VDV.js} +6 -6
- package/chunk/{AnnouncingHeader-zH7WLU2-.js.map → AnnouncingHeader-gJrk6VDV.js.map} +1 -1
- package/chunk/{BirthDateComponent-oQPnVqSa.js → BirthDateComponent-DPwL_esM.js} +8 -8
- package/chunk/{BirthDateComponent-CucjHQqp.js.map → BirthDateComponent-DPwL_esM.js.map} +1 -1
- package/chunk/{BirthDateComponent-CucjHQqp.js → BirthDateComponent-c3-VfXxt.js} +8 -8
- package/chunk/{BirthDateComponent-oQPnVqSa.js.map → BirthDateComponent-c3-VfXxt.js.map} +1 -1
- package/chunk/{CaptchaComponent-D98si3Jy.js → CaptchaComponent-3YIkG9Wr.js} +54 -54
- package/chunk/{CaptchaComponent-D98si3Jy.js.map → CaptchaComponent-3YIkG9Wr.js.map} +1 -1
- package/chunk/{CaptchaComponent-DqGHJA-M.js → CaptchaComponent-B9U-3SMZ.js} +88 -88
- package/chunk/{CaptchaComponent-DqGHJA-M.js.map → CaptchaComponent-B9U-3SMZ.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-C8snL44m.js → ChangeLocaleComponent-FiBBf-GR.js} +9 -9
- package/chunk/{ChangeLocaleComponent-C8snL44m.js.map → ChangeLocaleComponent-FiBBf-GR.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-CeHqgN6J.js → ChangeLocaleComponent-k7OjzNbY.js} +9 -9
- package/chunk/{ChangeLocaleComponent-CeHqgN6J.js.map → ChangeLocaleComponent-k7OjzNbY.js.map} +1 -1
- package/chunk/{City-7bUXB6DM.js → City-DWGcObHo.js} +8 -8
- package/chunk/{City-7bUXB6DM.js.map → City-DWGcObHo.js.map} +1 -1
- package/chunk/{City-aUxxLZ7_.js → City-PTqumFny.js} +8 -8
- package/chunk/{City-aUxxLZ7_.js.map → City-PTqumFny.js.map} +1 -1
- package/chunk/{CollegeNameComponent-YAs8pRV4.js → CollegeNameComponent-CxOhMPuq.js} +11 -11
- package/chunk/{CollegeNameComponent-B5as2wyn.js.map → CollegeNameComponent-CxOhMPuq.js.map} +1 -1
- package/chunk/{CollegeNameComponent-B5as2wyn.js → CollegeNameComponent-O9Aa01US.js} +11 -11
- package/chunk/{CollegeNameComponent-YAs8pRV4.js.map → CollegeNameComponent-O9Aa01US.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-BdrpxpHJ.js → CopyToClipboardComponent-BorxChs8.js} +9 -9
- package/chunk/{CopyToClipboardComponent-BdrpxpHJ.js.map → CopyToClipboardComponent-BorxChs8.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-Dm3-3x4b.js → CopyToClipboardComponent-ystjPwTW.js} +9 -9
- package/chunk/{CopyToClipboardComponent-Dm3-3x4b.js.map → CopyToClipboardComponent-ystjPwTW.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-IoxuPmMC.js → CountryComponentWrapper-CZK3RrMe.js} +12 -12
- package/chunk/{CountryComponentWrapper-BTUytS2o.js.map → CountryComponentWrapper-CZK3RrMe.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-BTUytS2o.js → CountryComponentWrapper-DangmyAi.js} +29 -29
- package/chunk/{CountryComponentWrapper-IoxuPmMC.js.map → CountryComponentWrapper-DangmyAi.js.map} +1 -1
- package/chunk/{DischargeDateComponent-Cy1_zOya.js → DischargeDateComponent-CS7xH5hw.js} +16 -16
- package/chunk/{DischargeDateComponent-CTZiOL4E.js.map → DischargeDateComponent-CS7xH5hw.js.map} +1 -1
- package/chunk/{DischargeDateComponent-CTZiOL4E.js → DischargeDateComponent-D7ahRNvU.js} +17 -17
- package/chunk/{DischargeDateComponent-Cy1_zOya.js.map → DischargeDateComponent-D7ahRNvU.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-CxSJbkjt.js → DriverLicenseNumberComponent-CIqKv5_E.js} +8 -8
- package/chunk/{DriverLicenseNumberComponent-CxSJbkjt.js.map → DriverLicenseNumberComponent-CIqKv5_E.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-Rky9SG-A.js → DriverLicenseNumberComponent-riQXCF7X.js} +8 -8
- package/chunk/{DriverLicenseNumberComponent-Rky9SG-A.js.map → DriverLicenseNumberComponent-riQXCF7X.js.map} +1 -1
- package/chunk/{EmailLoopPending-BZWT0n5I.js → EmailLoopPending-BvvnCpWf.js} +12 -12
- package/chunk/{EmailLoopPending-BZWT0n5I.js.map → EmailLoopPending-BvvnCpWf.js.map} +1 -1
- package/chunk/{EmailLoopPending-C319a8WP.js → EmailLoopPending-CfFPbM5A.js} +14 -14
- package/chunk/{EmailLoopPending-C319a8WP.js.map → EmailLoopPending-CfFPbM5A.js.map} +1 -1
- package/chunk/{ExtraMessage-B58a-KYp.js → ExtraMessage-B0Pl1Fx3.js} +7 -7
- package/chunk/{ExtraMessage-B58a-KYp.js.map → ExtraMessage-B0Pl1Fx3.js.map} +1 -1
- package/chunk/{ExtraMessage-C1LGtDyk.js → ExtraMessage-BtQiKR6F.js} +7 -7
- package/chunk/{ExtraMessage-C1LGtDyk.js.map → ExtraMessage-BtQiKR6F.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-HTKkHwO4.js → FirstResponderOrganizationComponent-3LHhZthH.js} +9 -9
- package/chunk/{FirstResponderOrganizationComponent-D6M_yo4M.js.map → FirstResponderOrganizationComponent-3LHhZthH.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-D6M_yo4M.js → FirstResponderOrganizationComponent-Cn3DJnck.js} +9 -9
- package/chunk/{FirstResponderOrganizationComponent-HTKkHwO4.js.map → FirstResponderOrganizationComponent-Cn3DJnck.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-Cb6lHKHg.js → FormFieldInputSelect-BHFYCp09.js} +7 -7
- package/chunk/{FormFieldInputSelect-Cb6lHKHg.js.map → FormFieldInputSelect-BHFYCp09.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-e0N6kc8Y.js → FormFieldInputSelect-CWAKAPf9.js} +7 -7
- package/chunk/{FormFieldInputSelect-e0N6kc8Y.js.map → FormFieldInputSelect-CWAKAPf9.js.map} +1 -1
- package/chunk/{FormFieldLayout-D1tb5nAu.js → FormFieldLayout-B5_PsKrR.js} +6 -6
- package/chunk/{FormFieldLayout-D1tb5nAu.js.map → FormFieldLayout-B5_PsKrR.js.map} +1 -1
- package/chunk/{FormFieldLayout-Dt_dMiDh.js → FormFieldLayout-CRgEwTkx.js} +6 -6
- package/chunk/{FormFieldLayout-Dt_dMiDh.js.map → FormFieldLayout-CRgEwTkx.js.map} +1 -1
- package/chunk/{FormFieldText-CsFISbyw.js → FormFieldText-BWImUS8U.js} +7 -7
- package/chunk/{FormFieldText-BU2NBm1H.js.map → FormFieldText-BWImUS8U.js.map} +1 -1
- package/chunk/{FormFieldText-BU2NBm1H.js → FormFieldText-D4SW8w-w.js} +7 -7
- package/chunk/{FormFieldText-CsFISbyw.js.map → FormFieldText-D4SW8w-w.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-BsM6Ruie.js → FormFieldTypeahead-C27MDdwq.js} +85 -85
- package/chunk/{FormFieldTypeahead-BsM6Ruie.js.map → FormFieldTypeahead-C27MDdwq.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-QR_lJrFB.js → FormFieldTypeahead-DLN-DRL3.js} +42 -42
- package/chunk/{FormFieldTypeahead-QR_lJrFB.js.map → FormFieldTypeahead-DLN-DRL3.js.map} +1 -1
- package/chunk/{FormFooterComponent-DGcfJdwH.js → FormFooterComponent-D0U-oYDf.js} +520 -520
- package/chunk/FormFooterComponent-D0U-oYDf.js.map +1 -0
- package/chunk/{FormFooterComponent-DmKzIyrc.js → FormFooterComponent-DzG4p93f.js} +466 -466
- package/chunk/FormFooterComponent-DzG4p93f.js.map +1 -0
- package/chunk/{FormSelectChoice-Bv5aMXMd.js → FormSelectChoice-2j71fL0j.js} +8 -8
- package/chunk/{FormSelectChoice-Bv5aMXMd.js.map → FormSelectChoice-2j71fL0j.js.map} +1 -1
- package/chunk/{FormSelectChoice-CE1QacNH.js → FormSelectChoice-BGa9KqEI.js} +8 -8
- package/chunk/{FormSelectChoice-CE1QacNH.js.map → FormSelectChoice-BGa9KqEI.js.map} +1 -1
- package/chunk/{InputText-DMztCQmi.js → InputText-CS8Q8oNz.js} +6 -6
- package/chunk/{InputText-CuBi-ytU.js.map → InputText-CS8Q8oNz.js.map} +1 -1
- package/chunk/{InputText-CuBi-ytU.js → InputText-D__c437o.js} +6 -6
- package/chunk/{InputText-DMztCQmi.js.map → InputText-D__c437o.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-BzyJSQrq.js → LicensedProfessionalOrganizationComponent-BFocaYeI.js} +9 -9
- package/chunk/{LicensedProfessionalOrganizationComponent-BzyJSQrq.js.map → LicensedProfessionalOrganizationComponent-BFocaYeI.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-JXLsT4Ua.js → LicensedProfessionalOrganizationComponent-TdpFCMlR.js} +9 -9
- package/chunk/{LicensedProfessionalOrganizationComponent-JXLsT4Ua.js.map → LicensedProfessionalOrganizationComponent-TdpFCMlR.js.map} +1 -1
- package/chunk/{LogoComponent-B9xpaOmb.js → LogoComponent-BcMnrRvP.js} +6 -6
- package/chunk/{LogoComponent-B9xpaOmb.js.map → LogoComponent-BcMnrRvP.js.map} +1 -1
- package/chunk/{LogoComponent-CcqFEsge.js → LogoComponent-Dygket6f.js} +6 -6
- package/chunk/{LogoComponent-CcqFEsge.js.map → LogoComponent-Dygket6f.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-FQA-80EB.js → LowIncomeOrganizationComponent-BrsVGnzb.js} +15 -15
- package/chunk/{LowIncomeOrganizationComponent-FQA-80EB.js.map → LowIncomeOrganizationComponent-BrsVGnzb.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-DlRk_SSB.js → LowIncomeOrganizationComponent-DEwaJ0BF.js} +12 -12
- package/chunk/{LowIncomeOrganizationComponent-DlRk_SSB.js.map → LowIncomeOrganizationComponent-DEwaJ0BF.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-GUaeaxBA.js → MedicalProfessionalOrganizationComponent-BY2Hq4h6.js} +9 -9
- package/chunk/{MedicalProfessionalOrganizationComponent-GUaeaxBA.js.map → MedicalProfessionalOrganizationComponent-BY2Hq4h6.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-B52FvTE1.js → MedicalProfessionalOrganizationComponent-BdBFSzZK.js} +9 -9
- package/chunk/{MedicalProfessionalOrganizationComponent-B52FvTE1.js.map → MedicalProfessionalOrganizationComponent-BdBFSzZK.js.map} +1 -1
- package/chunk/{MemberIdComponent-CKOJTsUZ.js → MemberIdComponent-CK7-5MwH.js} +8 -8
- package/chunk/{MemberIdComponent-CKOJTsUZ.js.map → MemberIdComponent-CK7-5MwH.js.map} +1 -1
- package/chunk/{MemberIdComponent-DKvGJ5w8.js → MemberIdComponent-KkHtb-GL.js} +8 -8
- package/chunk/{MemberIdComponent-DKvGJ5w8.js.map → MemberIdComponent-KkHtb-GL.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-BsP0oS9k.js → MembershipOrganizationComponent-fWo6qweD.js} +9 -9
- package/chunk/{MembershipOrganizationComponent-BsP0oS9k.js.map → MembershipOrganizationComponent-fWo6qweD.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-DlERUS3X.js → MembershipOrganizationComponent-z2gRbxPZ.js} +9 -9
- package/chunk/{MembershipOrganizationComponent-DlERUS3X.js.map → MembershipOrganizationComponent-z2gRbxPZ.js.map} +1 -1
- package/chunk/{Message-BToMuDnF.js → Message-D1m8rtsf.js} +7375 -7325
- package/chunk/Message-D1m8rtsf.js.map +1 -0
- package/chunk/{Message-BcRlg1D8.js → Message-bCY_JxvZ.js} +7861 -7811
- package/chunk/Message-bCY_JxvZ.js.map +1 -0
- package/chunk/Onfido-CTCgAwnB.js +4 -4
- package/chunk/{PersonalInfoStepSubmitButton-B3cCavK_.js → PersonalInfoStepSubmitButton-6Kg-pZ_I.js} +20 -20
- package/chunk/{PersonalInfoStepSubmitButton-B3cCavK_.js.map → PersonalInfoStepSubmitButton-6Kg-pZ_I.js.map} +1 -1
- package/chunk/{PersonalInfoStepSubmitButton-DvsmVrOf.js → PersonalInfoStepSubmitButton-DF3V6hJY.js} +19 -19
- package/chunk/{PersonalInfoStepSubmitButton-DvsmVrOf.js.map → PersonalInfoStepSubmitButton-DF3V6hJY.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-BvUX_IV3.js → PersonalInfoStepWrapper-BHXuN88z.js} +8 -8
- package/chunk/{PersonalInfoStepWrapper-BvUX_IV3.js.map → PersonalInfoStepWrapper-BHXuN88z.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-B58Hl9Sp.js → PersonalInfoStepWrapper-DuKZA7Bm.js} +7 -7
- package/chunk/{PersonalInfoStepWrapper-B58Hl9Sp.js.map → PersonalInfoStepWrapper-DuKZA7Bm.js.map} +1 -1
- package/chunk/{PostalCodeComponent-FVc2Nso4.js → PostalCodeComponent-BDLw-xEX.js} +8 -8
- package/chunk/{PostalCodeComponent-CrWWddQS.js.map → PostalCodeComponent-BDLw-xEX.js.map} +1 -1
- package/chunk/{PostalCodeComponent-CrWWddQS.js → PostalCodeComponent-BDVa1QY7.js} +8 -8
- package/chunk/{PostalCodeComponent-FVc2Nso4.js.map → PostalCodeComponent-BDVa1QY7.js.map} +1 -1
- package/chunk/{SSN-5QKevvwg.js → SSN-C4RsyvaG.js} +8 -8
- package/chunk/{SSN-5QKevvwg.js.map → SSN-C4RsyvaG.js.map} +1 -1
- package/chunk/{SSN-rfoKEogO.js → SSN-Dn0TLNb9.js} +8 -8
- package/chunk/{SSN-rfoKEogO.js.map → SSN-Dn0TLNb9.js.map} +1 -1
- package/chunk/StateSelectComponent-BuF9uoFe.js +46 -0
- package/chunk/StateSelectComponent-BuF9uoFe.js.map +1 -0
- package/chunk/StateSelectComponent-OMXNQVGE.js +42 -0
- package/chunk/StateSelectComponent-OMXNQVGE.js.map +1 -0
- package/chunk/{StatusComponent-DoH2jBJe.js → StatusComponent-B-1gIOek.js} +10 -10
- package/chunk/{StatusComponent-DoH2jBJe.js.map → StatusComponent-B-1gIOek.js.map} +1 -1
- package/chunk/{StatusComponent-CXUgeCAX.js → StatusComponent-U699Nzbq.js} +10 -10
- package/chunk/{StatusComponent-CXUgeCAX.js.map → StatusComponent-U699Nzbq.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-CjTZNsVe.js → StepAgePersonalInfo-C8-SdaGI.js} +58 -58
- package/chunk/{StepAgePersonalInfo-CjTZNsVe.js.map → StepAgePersonalInfo-C8-SdaGI.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-DYHJqeaB.js → StepAgePersonalInfo-DMMuSV6H.js} +58 -58
- package/chunk/{StepAgePersonalInfo-DYHJqeaB.js.map → StepAgePersonalInfo-DMMuSV6H.js.map} +1 -1
- package/chunk/{StepCard-DJR-l3sW.js → StepCard-B72CFYHs.js} +5 -5
- package/chunk/{StepCard-DJR-l3sW.js.map → StepCard-B72CFYHs.js.map} +1 -1
- package/chunk/{StepCard-wwTRGIhn.js → StepCard-Bvt7Kykz.js} +5 -5
- package/chunk/{StepCard-wwTRGIhn.js.map → StepCard-Bvt7Kykz.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-DE0gBqAY.js → StepCollectIdentifier-Cf_OO2eb.js} +9 -9
- package/chunk/{StepCollectIdentifier-DE0gBqAY.js.map → StepCollectIdentifier-Cf_OO2eb.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-BxkG6FC9.js → StepCollectIdentifier-D8BXMPSm.js} +9 -9
- package/chunk/{StepCollectIdentifier-BxkG6FC9.js.map → StepCollectIdentifier-D8BXMPSm.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-DfiGcf5I.js → StepCollectMilitaryPersonalInfoComponent--ylC8N5Z.js} +24 -24
- package/chunk/{StepCollectMilitaryPersonalInfoComponent--Ie4B0yl.js.map → StepCollectMilitaryPersonalInfoComponent--ylC8N5Z.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent--Ie4B0yl.js → StepCollectMilitaryPersonalInfoComponent-D-xxPyNf.js} +24 -24
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-DfiGcf5I.js.map → StepCollectMilitaryPersonalInfoComponent-D-xxPyNf.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-lnriADQY.js → StepCollectPersonalInfo-CIskNcb_.js} +121 -121
- package/chunk/{StepCollectPersonalInfo-lnriADQY.js.map → StepCollectPersonalInfo-CIskNcb_.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-vwWUcMyH.js → StepCollectPersonalInfo-CaVYVLpx.js} +122 -122
- package/chunk/{StepCollectPersonalInfo-vwWUcMyH.js.map → StepCollectPersonalInfo-CaVYVLpx.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-BJTAm52g.js → StepCompleteAuthentication-BrdV0iN-.js} +9 -9
- package/chunk/{StepCompleteAuthentication-BJTAm52g.js.map → StepCompleteAuthentication-BrdV0iN-.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-BUA2xrtE.js → StepCompleteAuthentication-DLwlKmBO.js} +20 -20
- package/chunk/{StepCompleteAuthentication-BUA2xrtE.js.map → StepCompleteAuthentication-DLwlKmBO.js.map} +1 -1
- package/chunk/{StepConsolation-CRoBFGTd.js → StepConsolation-BzbijBhL.js} +8 -8
- package/chunk/{StepConsolation-Dw4IOp9l.js.map → StepConsolation-BzbijBhL.js.map} +1 -1
- package/chunk/{StepConsolation-Dw4IOp9l.js → StepConsolation-DFQwmpUe.js} +8 -8
- package/chunk/{StepConsolation-CRoBFGTd.js.map → StepConsolation-DFQwmpUe.js.map} +1 -1
- package/chunk/{StepDocUpload-xEtdWGcK.js → StepDocUpload-CFcyuvS6.js} +30 -30
- package/chunk/{StepDocUpload-xEtdWGcK.js.map → StepDocUpload-CFcyuvS6.js.map} +1 -1
- package/chunk/{StepDocUpload-BUzQ9g81.js → StepDocUpload-h1JWZUZC.js} +23 -23
- package/chunk/{StepDocUpload-BUzQ9g81.js.map → StepDocUpload-h1JWZUZC.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-Dx_8OM3-.js → StepDriverLicensePersonalInfoComponent-DFc0FiIt.js} +15 -15
- package/chunk/{StepDriverLicensePersonalInfoComponent-BxUpMImU.js.map → StepDriverLicensePersonalInfoComponent-DFc0FiIt.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-BxUpMImU.js → StepDriverLicensePersonalInfoComponent-s_PvlzNE.js} +15 -15
- package/chunk/{StepDriverLicensePersonalInfoComponent-Dx_8OM3-.js.map → StepDriverLicensePersonalInfoComponent-s_PvlzNE.js.map} +1 -1
- package/chunk/{StepEmailLoop-mfub_mok.js → StepEmailLoop-D5T68VTx.js} +13 -13
- package/chunk/{StepEmailLoop-Nw-rJgsm.js.map → StepEmailLoop-D5T68VTx.js.map} +1 -1
- package/chunk/{StepEmailLoop-Nw-rJgsm.js → StepEmailLoop-DLoLfr39.js} +13 -13
- package/chunk/{StepEmailLoop-mfub_mok.js.map → StepEmailLoop-DLoLfr39.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-jfNudNTZ.js → StepEmploymentPersonalInfo-BiXV9zG6.js} +20 -20
- package/chunk/{StepEmploymentPersonalInfo-DMkrJYj7.js.map → StepEmploymentPersonalInfo-BiXV9zG6.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-DMkrJYj7.js → StepEmploymentPersonalInfo-ByAaA9uJ.js} +20 -20
- package/chunk/{StepEmploymentPersonalInfo-jfNudNTZ.js.map → StepEmploymentPersonalInfo-ByAaA9uJ.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-CYFtsRm-.js → StepFirstResponderPersonalInfo-BqS568ZP.js} +22 -22
- package/chunk/{StepFirstResponderPersonalInfo-CFqJv92p.js.map → StepFirstResponderPersonalInfo-BqS568ZP.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-CFqJv92p.js → StepFirstResponderPersonalInfo-DEc90JZ2.js} +22 -22
- package/chunk/{StepFirstResponderPersonalInfo-CYFtsRm-.js.map → StepFirstResponderPersonalInfo-DEc90JZ2.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-k27Awiqm.js → StepGeneralIdentityPersonalInfoComponent-2_g0jDtn.js} +18 -18
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-BaVIwPSY.js.map → StepGeneralIdentityPersonalInfoComponent-2_g0jDtn.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-BaVIwPSY.js → StepGeneralIdentityPersonalInfoComponent-B3_zfixj.js} +18 -18
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-k27Awiqm.js.map → StepGeneralIdentityPersonalInfoComponent-B3_zfixj.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-D0luWaZH.js → StepHybridIdentityPersonalInfoComponent-BFhxyJWJ.js} +19 -19
- package/chunk/{StepHybridIdentityPersonalInfoComponent-D0luWaZH.js.map → StepHybridIdentityPersonalInfoComponent-BFhxyJWJ.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-k2Y3yuVP.js → StepHybridIdentityPersonalInfoComponent-DzYYUzME.js} +19 -19
- package/chunk/{StepHybridIdentityPersonalInfoComponent-k2Y3yuVP.js.map → StepHybridIdentityPersonalInfoComponent-DzYYUzME.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-BtLu63gH.js → StepIDCheckLoop-8HP5_FVH.js} +8 -8
- package/chunk/{StepIDCheckLoop-BtLu63gH.js.map → StepIDCheckLoop-8HP5_FVH.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-qMDVYGF6.js → StepIDCheckLoop-D-Y9rKsk.js} +8 -8
- package/chunk/{StepIDCheckLoop-qMDVYGF6.js.map → StepIDCheckLoop-D-Y9rKsk.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-Cn2taSRq.js → StepIDCheckLoopOnfido-C_EEaIvS.js} +27 -27
- package/chunk/{StepIDCheckLoopOnfido-D9hJvwHI.js.map → StepIDCheckLoopOnfido-C_EEaIvS.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-D9hJvwHI.js → StepIDCheckLoopOnfido-DQacZCgs.js} +16 -16
- package/chunk/{StepIDCheckLoopOnfido-Cn2taSRq.js.map → StepIDCheckLoopOnfido-DQacZCgs.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-B0gSu2f2.js → StepIDCheckLoopRegula-DEiy_meG.js} +11 -11
- package/chunk/{StepIDCheckLoopRegula-B0gSu2f2.js.map → StepIDCheckLoopRegula-DEiy_meG.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-C5taOj9i.js → StepIDCheckLoopRegula-FMQtQ00c.js} +11 -11
- package/chunk/{StepIDCheckLoopRegula-C5taOj9i.js.map → StepIDCheckLoopRegula-FMQtQ00c.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-tWD68oFU.js → StepLicensedProfessionalPersonalInfo-B6qktzsF.js} +21 -21
- package/chunk/{StepLicensedProfessionalPersonalInfo-Db4rc2F6.js.map → StepLicensedProfessionalPersonalInfo-B6qktzsF.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-Db4rc2F6.js → StepLicensedProfessionalPersonalInfo-f6waS68x.js} +21 -21
- package/chunk/{StepLicensedProfessionalPersonalInfo-tWD68oFU.js.map → StepLicensedProfessionalPersonalInfo-f6waS68x.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-C8ZXtF9i.js → StepLowIncomePersonalInfo-CVrkhAxr.js} +25 -25
- package/chunk/{StepLowIncomePersonalInfo-C8ZXtF9i.js.map → StepLowIncomePersonalInfo-CVrkhAxr.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-DTQzLFYh.js → StepLowIncomePersonalInfo-Cpr_D1eF.js} +74 -74
- package/chunk/{StepLowIncomePersonalInfo-DTQzLFYh.js.map → StepLowIncomePersonalInfo-Cpr_D1eF.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-CEWvfZIo.js → StepMedicalProfessionalPersonalInfo-BMdmppPh.js} +22 -22
- package/chunk/{StepMedicalProfessionalPersonalInfo-CEWvfZIo.js.map → StepMedicalProfessionalPersonalInfo-BMdmppPh.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-D81j6Sg7.js → StepMedicalProfessionalPersonalInfo-CR_cOA88.js} +22 -22
- package/chunk/{StepMedicalProfessionalPersonalInfo-D81j6Sg7.js.map → StepMedicalProfessionalPersonalInfo-CR_cOA88.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-Idz-W2bu.js → StepMemberPersonalInfo-3ycGLGMb.js} +17 -17
- package/chunk/{StepMemberPersonalInfo-B__oOkWE.js.map → StepMemberPersonalInfo-3ycGLGMb.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-B__oOkWE.js → StepMemberPersonalInfo-BTBjBkLR.js} +57 -57
- package/chunk/{StepMemberPersonalInfo-Idz-W2bu.js.map → StepMemberPersonalInfo-BTBjBkLR.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-BItSb2hF.js → StepMoverPersonalInfo-CHmJAEta.js} +47 -47
- package/chunk/{StepMoverPersonalInfo-BItSb2hF.js.map → StepMoverPersonalInfo-CHmJAEta.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-EJ5M2CDv.js → StepMoverPersonalInfo-CJEvhUg5.js} +15 -15
- package/chunk/{StepMoverPersonalInfo-EJ5M2CDv.js.map → StepMoverPersonalInfo-CJEvhUg5.js.map} +1 -1
- package/chunk/{StepOverrideComponent-BABa7V4t.js → StepOverrideComponent-B9fvWbBC.js} +21 -21
- package/chunk/{StepOverrideComponent-Cfltty36.js.map → StepOverrideComponent-B9fvWbBC.js.map} +1 -1
- package/chunk/{StepOverrideComponent-Cfltty36.js → StepOverrideComponent-BYUbyZkl.js} +21 -21
- package/chunk/{StepOverrideComponent-BABa7V4t.js.map → StepOverrideComponent-BYUbyZkl.js.map} +1 -1
- package/chunk/{StepSMSLoop-DfGhOhOr.js → StepSMSLoop-BR4v_UvU.js} +22 -22
- package/chunk/{StepSMSLoop-DfGhOhOr.js.map → StepSMSLoop-BR4v_UvU.js.map} +1 -1
- package/chunk/{StepSMSLoop-vn3IgTp0.js → StepSMSLoop-Dp77AMrb.js} +24 -24
- package/chunk/{StepSMSLoop-vn3IgTp0.js.map → StepSMSLoop-Dp77AMrb.js.map} +1 -1
- package/chunk/StepSSO-BGHCbduX.js +4 -4
- package/chunk/StepSSO-ZHByQpHa.js +4 -4
- package/chunk/{StepSocialSecurityNumber-CjG9oKtT.js → StepSocialSecurityNumber-A2Q_UluD.js} +12 -12
- package/chunk/{StepSocialSecurityNumber-BEhNPFMA.js.map → StepSocialSecurityNumber-A2Q_UluD.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-BEhNPFMA.js → StepSocialSecurityNumber-BO5uts-s.js} +24 -24
- package/chunk/{StepSocialSecurityNumber-CjG9oKtT.js.map → StepSocialSecurityNumber-BO5uts-s.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-6sEXvlbs.js → StepStudentPersonalInfo-CLchkf6y.js} +64 -64
- package/chunk/{StepStudentPersonalInfo-6sEXvlbs.js.map → StepStudentPersonalInfo-CLchkf6y.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-NYJN6QM4.js → StepStudentPersonalInfo-oc0V1SEn.js} +22 -22
- package/chunk/{StepStudentPersonalInfo-NYJN6QM4.js.map → StepStudentPersonalInfo-oc0V1SEn.js.map} +1 -1
- package/chunk/{StepSuccess-DXYPrAoS.js → StepSuccess-DYAR3u5v.js} +25 -25
- package/chunk/{StepSuccess-BSGiXxfN.js.map → StepSuccess-DYAR3u5v.js.map} +1 -1
- package/chunk/{StepSuccess-BSGiXxfN.js → StepSuccess-z93uD3YR.js} +26 -26
- package/chunk/{StepSuccess-DXYPrAoS.js.map → StepSuccess-z93uD3YR.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-DH19GPsU.js → StepTeacherPersonalInfo-Bm4zMphQ.js} +18 -18
- package/chunk/{StepTeacherPersonalInfo-BnUPd7A_.js.map → StepTeacherPersonalInfo-Bm4zMphQ.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-BnUPd7A_.js → StepTeacherPersonalInfo-UxRien1W.js} +18 -18
- package/chunk/{StepTeacherPersonalInfo-DH19GPsU.js.map → StepTeacherPersonalInfo-UxRien1W.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BrKuZcYb.js +4 -4
- package/chunk/StepThirdPartyLoop-CbFTIlwP.js +4 -4
- package/chunk/{TeacherSchoolComponent-I15vrTCE.js → TeacherSchoolComponent-B-8Zac1k.js} +11 -11
- package/chunk/{TeacherSchoolComponent-I15vrTCE.js.map → TeacherSchoolComponent-B-8Zac1k.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-pnmySE96.js → TeacherSchoolComponent-Bnurez7X.js} +11 -11
- package/chunk/{TeacherSchoolComponent-pnmySE96.js.map → TeacherSchoolComponent-Bnurez7X.js.map} +1 -1
- package/chunk/{TestingRouteOverrides-Bx1n-xCR.js → TestingRouteOverrides-CqkLaStu.js} +26 -26
- package/chunk/{TestingRouteOverrides-Bx1n-xCR.js.map → TestingRouteOverrides-CqkLaStu.js.map} +1 -1
- package/chunk/{TestingRouteOverrides-DHe5BulD.js → TestingRouteOverrides-DUx5spVA.js} +24 -24
- package/chunk/{TestingRouteOverrides-DHe5BulD.js.map → TestingRouteOverrides-DUx5spVA.js.map} +1 -1
- package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
- package/chunk/ar-D5CO913q.js +4 -4
- package/chunk/bg-1mhA5kYF.js +4 -4
- package/chunk/bn-IN-CpDqyRb_.js +4 -4
- package/chunk/clsx-CB5rauS5.js +4 -4
- package/chunk/{countryUtils-CdNf-73_.js → countryUtils-CSpfIQmr.js} +5 -5
- package/chunk/{countryUtils-CdNf-73_.js.map → countryUtils-CSpfIQmr.js.map} +1 -1
- package/chunk/countryUtils-ROgCMKtt.js +12 -0
- package/chunk/{countryUtils-CniUDXes.js.map → countryUtils-ROgCMKtt.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-D0Q-rG8L.js → downshift.esm-B_3QLNGg.js} +124 -124
- package/chunk/{downshift.esm-DUM3sJ7L.js.map → downshift.esm-B_3QLNGg.js.map} +1 -1
- package/chunk/{downshift.esm-DUM3sJ7L.js → downshift.esm-dTKHfRuW.js} +7 -7
- package/chunk/{downshift.esm-D0Q-rG8L.js.map → downshift.esm-dTKHfRuW.js.map} +1 -1
- package/chunk/el-DbDcvSPJ.js +4 -4
- package/chunk/{empties-C5H0EoXJ.js → empties-C1INRgC4.js} +53 -56
- package/chunk/empties-C1INRgC4.js.map +1 -0
- package/chunk/{empties-DaNcqYFb.js → empties-C38lUQIl.js} +9 -12
- package/chunk/empties-C38lUQIl.js.map +1 -0
- package/chunk/en-GB-CNQ8Ww2j.js +4 -4
- package/chunk/es-ES-DWimqEZ_.js +4 -4
- package/chunk/es-qhC-seq5.js +4 -4
- package/chunk/et-yF9G-Mym.js +4 -4
- package/chunk/eventEmitter-CSG6jR7V.js +4 -4
- package/chunk/fa-BcdSf7og.js +4 -4
- package/chunk/fi-D-IP_KHm.js +4 -4
- package/chunk/fr-BmUuYxk0.js +4 -4
- package/chunk/fr-CA-DVQ4xmzZ.js +4 -4
- package/chunk/ga-DuZycND3.js +4 -4
- package/chunk/hi-IN-l6Rn5Ewm.js +4 -4
- package/chunk/{hooks-BF7oPgCe.js → hooks-DFk9wlFh.js} +52 -52
- package/chunk/hooks-DFk9wlFh.js.map +1 -0
- package/chunk/{hooks-Bqhz6E9V.js → hooks-Y72jcEAM.js} +48 -48
- package/chunk/hooks-Y72jcEAM.js.map +1 -0
- package/chunk/hr-BtqyDzDB.js +4 -4
- package/chunk/hu-C6syKJfb.js +4 -4
- package/chunk/id-GgI-Z2a5.js +4 -4
- package/chunk/{intl-DYOqmiaL.js → intl-D5sUivUy.js} +285 -273
- package/chunk/intl-D5sUivUy.js.map +1 -0
- package/chunk/is-CvmKEON9.js +4 -4
- package/chunk/it-CnmveGgC.js +4 -4
- package/chunk/iw-DFUYHkxF.js +4 -4
- package/chunk/ja-CjVb2tWW.js +4 -4
- package/chunk/{jsx-runtime-DQO6A867.js → jsx-runtime-BfITI5pK.js} +19 -19
- package/chunk/{jsx-runtime-DtApx7WX.js.map → jsx-runtime-BfITI5pK.js.map} +1 -1
- package/chunk/{jsx-runtime-DtApx7WX.js → jsx-runtime-CB6nLaN6.js} +19 -19
- package/chunk/{jsx-runtime-DQO6A867.js.map → jsx-runtime-CB6nLaN6.js.map} +1 -1
- 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/mockProgramConfiguration-YBQMVL51.js +49 -0
- package/chunk/mockProgramConfiguration-YBQMVL51.js.map +1 -0
- package/chunk/mockProgramI18n-CgYx_1_a.js +18 -0
- package/chunk/mockProgramI18n-CgYx_1_a.js.map +1 -0
- package/chunk/{mockProgramTheme-CBqgtg7A.js → mockProgramTheme-CPG4vkJd.js} +4 -8
- package/chunk/mockProgramTheme-CPG4vkJd.js.map +1 -0
- package/chunk/{mocks-D8UIPfvt.js → mocks-BJWOJTTC.js} +73 -74
- package/chunk/mocks-BJWOJTTC.js.map +1 -0
- package/chunk/{mocks-denu632X.js → mocks-BtNIwVeT.js} +73 -74
- package/chunk/mocks-BtNIwVeT.js.map +1 -0
- package/chunk/ms-BjestZxy.js +4 -4
- package/chunk/nl-B1FyUfCT.js +4 -4
- package/chunk/nl-BE-CbeAd3nq.js +4 -4
- package/chunk/no-Dr633Ddi.js +4 -4
- package/chunk/{options-DsRV5fwh.js → options-BCFIfBTZ.js} +356 -344
- package/chunk/options-BCFIfBTZ.js.map +1 -0
- package/chunk/pl-UYTjMIq_.js +4 -4
- package/chunk/programThemeGetters-CKWD2Nuw.js +164 -0
- package/chunk/programThemeGetters-CKWD2Nuw.js.map +1 -0
- package/chunk/programThemeGetters-DKJV4UNP.js +158 -0
- package/chunk/programThemeGetters-DKJV4UNP.js.map +1 -0
- package/chunk/pt-BR-C8SYMT-J.js +4 -4
- package/chunk/pt-uH-M3GdN.js +4 -4
- package/chunk/refs-Mq0rtW9K.js +4 -4
- package/chunk/ro-CAOSXZ7h.js +4 -4
- package/chunk/ru-iwYoEydL.js +4 -4
- package/chunk/runtimeTypes-B2AGNJMT.js +4 -4
- package/chunk/sk-DYYNV3zw.js +4 -4
- package/chunk/sl-D_-eeM5N.js +4 -4
- package/chunk/sr-BTi9_anL.js +4 -4
- package/chunk/{stepComponentHelpers-DOISo3yJ.js → stepComponentHelpers--E4kvS6y.js} +14 -14
- package/chunk/{stepComponentHelpers-BElircEH.js.map → stepComponentHelpers--E4kvS6y.js.map} +1 -1
- package/chunk/{stepComponentHelpers-BElircEH.js → stepComponentHelpers-CD1Gfspm.js} +34 -34
- package/chunk/{stepComponentHelpers-DOISo3yJ.js.map → stepComponentHelpers-CD1Gfspm.js.map} +1 -1
- package/chunk/strings-DWLVdUcm.js +4 -4
- package/chunk/sv-DRwY4shG.js +4 -4
- package/chunk/sw-Bvj2mYmM.js +4 -4
- package/chunk/ta-CmtaYoNe.js +4 -4
- package/chunk/th-12r2yKkJ.js +4 -4
- package/chunk/tl-BGNfO7md.js +4 -4
- package/chunk/tr-DH2ZSJhs.js +4 -4
- package/chunk/uk-CELBZlTd.js +4 -4
- package/chunk/ur-MR8DTbmd.js +4 -4
- package/chunk/{useCollectFieldsEndpoint-DbalWE2_.js → useCollectFieldsEndpoint-BFxNI9mD.js} +19 -19
- package/chunk/{useCollectFieldsEndpoint-DbalWE2_.js.map → useCollectFieldsEndpoint-BFxNI9mD.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-DODNTDbS.js → useCollectFieldsEndpoint-Dy61hji9.js} +16 -16
- package/chunk/{useCollectFieldsEndpoint-DODNTDbS.js.map → useCollectFieldsEndpoint-Dy61hji9.js.map} +1 -1
- package/chunk/{useMetrics-f-F1IOc3.js → useMetrics-CtsRRjGJ.js} +7 -7
- package/chunk/{useMetrics-XHSibxjX.js.map → useMetrics-CtsRRjGJ.js.map} +1 -1
- package/chunk/{useMetrics-XHSibxjX.js → useMetrics-jabV9gsZ.js} +7 -7
- package/chunk/{useMetrics-f-F1IOc3.js.map → useMetrics-jabV9gsZ.js.map} +1 -1
- package/chunk/vi-DtZ-SqD5.js +4 -4
- package/chunk/zh-DjyVyYac.js +4 -4
- package/chunk/zh-HK-CN1HarHq.js +4 -4
- package/chunk/zu-DPhgIh1z.js +4 -4
- package/package.json +1 -1
- package/sheerid-install.css +4 -4
- package/sheerid-install.js +4 -4
- package/sheerid.css +4 -4
- package/sheerid.js +1356 -1363
- package/sheerid.js.map +1 -1
- package/chunk/FormFooterComponent-DGcfJdwH.js.map +0 -1
- package/chunk/FormFooterComponent-DmKzIyrc.js.map +0 -1
- package/chunk/Message-BToMuDnF.js.map +0 -1
- package/chunk/Message-BcRlg1D8.js.map +0 -1
- package/chunk/StateSelectComponent-BaUHQef8.js +0 -46
- package/chunk/StateSelectComponent-BaUHQef8.js.map +0 -1
- package/chunk/StateSelectComponent-Bl0sEDiJ.js +0 -42
- package/chunk/StateSelectComponent-Bl0sEDiJ.js.map +0 -1
- package/chunk/countryUtils-CniUDXes.js +0 -12
- package/chunk/empties-C5H0EoXJ.js.map +0 -1
- package/chunk/empties-DaNcqYFb.js.map +0 -1
- package/chunk/hooks-BF7oPgCe.js.map +0 -1
- package/chunk/hooks-Bqhz6E9V.js.map +0 -1
- package/chunk/intl-DYOqmiaL.js.map +0 -1
- package/chunk/mockProgramTheme-CBqgtg7A.js.map +0 -1
- package/chunk/mocks-D8UIPfvt.js.map +0 -1
- package/chunk/mocks-denu632X.js.map +0 -1
- package/chunk/options-DsRV5fwh.js.map +0 -1
- package/chunk/programThemeGetters-BD2PXz0k.js +0 -182
- package/chunk/programThemeGetters-BD2PXz0k.js.map +0 -1
- package/chunk/programThemeGetters-DTXDRpA2.js +0 -188
- package/chunk/programThemeGetters-DTXDRpA2.js.map +0 -1
package/_mysheerid-preview.js
CHANGED
|
@@ -4,26 +4,26 @@
|
|
|
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: Fri Oct
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.306.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1792784366120
|
|
9
|
+
* BUILD_DATE: Fri Oct 23 2026 19:39:26 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 051dca165a15b769b71940fd854aaa10b824ca55
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
13
|
-
import { S as O, b as k, h as
|
|
14
|
-
import { E as
|
|
15
|
-
import { i as
|
|
16
|
-
import {
|
|
17
|
-
import { a as
|
|
18
|
-
import { _ as
|
|
19
|
-
import { a as
|
|
20
|
-
import { i as
|
|
21
|
-
import { t as
|
|
22
|
-
import { t as
|
|
23
|
-
import { t as
|
|
12
|
+
import { A as e, At as t, D as n, Dt as r, E as i, Et as a, O as o, Ot as s, T as c, b as l, c as u, ct as d, f, ft as p, g as m, gt as h, h as g, i as _, l as v, m as y, n as b, o as x, p as S, r as C, s as w, t as T, v as ee, w as E, x as te, y as D } from "./chunk/intl-D5sUivUy.js";
|
|
13
|
+
import { S as O, b as k, h as A, x as j } from "./chunk/runtimeTypes-B2AGNJMT.js";
|
|
14
|
+
import { E as ne, S as re, T as ie, r as ae, w as oe } from "./chunk/programThemeGetters-CKWD2Nuw.js";
|
|
15
|
+
import { i as se, n as M, s as ce, t as le } from "./chunk/jsx-runtime-CB6nLaN6.js";
|
|
16
|
+
import { C as ue, D as de, E as fe, G as pe, H as me, I as he, O as ge, R as _e, T as ve, U as ye, V as be, a as xe, c as Se, d as Ce, f as we, i as Te, l as Ee, o as De, p as Oe, r as ke, s as Ae, t as N, v as je, w as Me, y as Ne, z as Pe } from "./chunk/Message-bCY_JxvZ.js";
|
|
17
|
+
import { a as Fe, i as Ie, n as Le, r as Re, s as ze, t as Be } from "./chunk/TestingRouteOverrides-CqkLaStu.js";
|
|
18
|
+
import { _ as Ve, a as He, c as Ue, d as We, f as Ge, g as Ke, i as qe, l as Je, n as Ye, o as Xe, p as Ze, r as Qe, s as $e, t as et, u as tt, v as nt } from "./chunk/FormFooterComponent-DzG4p93f.js";
|
|
19
|
+
import { a as rt, i as it, n as at, r as ot, t as st } from "./chunk/hooks-DFk9wlFh.js";
|
|
20
|
+
import { i as ct, s as lt, t as ut } from "./chunk/refs-Mq0rtW9K.js";
|
|
21
|
+
import { t as dt } from "./chunk/LogoComponent-Dygket6f.js";
|
|
22
|
+
import { t as ft } from "./chunk/strings-DWLVdUcm.js";
|
|
23
|
+
import { t as pt } from "./chunk/AnnouncingHeader-gJrk6VDV.js";
|
|
24
24
|
//#region ../node_modules/react-i18next/dist/es/I18nextProvider.js
|
|
25
|
-
var P = /* @__PURE__ */
|
|
26
|
-
function
|
|
25
|
+
var P = /* @__PURE__ */ t(ce());
|
|
26
|
+
function mt({ i18n: e, defaultNS: t, children: n }) {
|
|
27
27
|
let r = (0, P.useMemo)(() => ({
|
|
28
28
|
i18n: e,
|
|
29
29
|
defaultNS: t
|
|
@@ -32,18 +32,20 @@ function dt({ i18n: e, defaultNS: t, children: n }) {
|
|
|
32
32
|
}
|
|
33
33
|
//#endregion
|
|
34
34
|
//#region src/lib/VerificationService/ProgramTheme/ProgramTheme.ts
|
|
35
|
-
var
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
35
|
+
var ht = (e, t) => {
|
|
36
|
+
e.locale && e.messages && n(e), Ne(e, t);
|
|
37
|
+
}, gt = (t, n = { partial: !0 }) => {
|
|
38
|
+
let r = Qe(), i = r.getState(), a = () => {
|
|
39
|
+
let { intl: i, ...a } = e(t);
|
|
40
|
+
O.info("Setting programTheme", a), i && ht(i, n.partial), We(r.dispatch)(a, n.partial), Me(a, n.partial);
|
|
39
41
|
};
|
|
40
|
-
|
|
42
|
+
i.isLoading ? Ke({
|
|
41
43
|
name: "ON_VERIFICATION_READY",
|
|
42
44
|
callback: () => {
|
|
43
|
-
|
|
45
|
+
a();
|
|
44
46
|
}
|
|
45
|
-
}) :
|
|
46
|
-
},
|
|
47
|
+
}) : a();
|
|
48
|
+
}, _t = /* @__PURE__ */ t(r(), 1), vt = /* @__PURE__ */ t(je(), 1), F = le(), yt = () => /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
47
49
|
className: "sid-spinner",
|
|
48
50
|
"data-testid": "sid-spinner",
|
|
49
51
|
children: [
|
|
@@ -52,9 +54,9 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
52
54
|
/* @__PURE__ */ (0, F.jsx)("div", { className: "sid-spinner__frame" }),
|
|
53
55
|
/* @__PURE__ */ (0, F.jsx)("div", { className: "sid-spinner__frame" })
|
|
54
56
|
]
|
|
55
|
-
}),
|
|
57
|
+
}), bt = ({ step: e }) => /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
56
58
|
className: "sid-loading-screen__message",
|
|
57
|
-
children: [
|
|
59
|
+
children: [j(e) && /* @__PURE__ */ (0, F.jsx)("div", {
|
|
58
60
|
className: "sid-loading-screen__message-header",
|
|
59
61
|
role: "alert",
|
|
60
62
|
children: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
@@ -68,10 +70,10 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
68
70
|
defaultMessage: "This should only take a minute"
|
|
69
71
|
})
|
|
70
72
|
})]
|
|
71
|
-
}),
|
|
73
|
+
}), xt = ({ step: e = Be() }) => /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
72
74
|
className: "sid-loading-screen",
|
|
73
|
-
children: [/* @__PURE__ */ (0, F.jsx)(
|
|
74
|
-
}),
|
|
75
|
+
children: [/* @__PURE__ */ (0, F.jsx)(yt, {}), e && /* @__PURE__ */ (0, F.jsx)(bt, { step: e })]
|
|
76
|
+
}), St = /* @__PURE__ */ s(((e, t) => {
|
|
75
77
|
var n, r = n = {
|
|
76
78
|
_regexEscape: /([\.\*\+\^\$\[\]\\\(\)\|\{\}\,\-\:\?])/g,
|
|
77
79
|
_regexParseLocale: /^([a-zA-Z]*)([_\-a-zA-Z]*)$/,
|
|
@@ -138,13 +140,13 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
138
140
|
enumerable: !0,
|
|
139
141
|
configurable: !1
|
|
140
142
|
}), t.exports = r;
|
|
141
|
-
})),
|
|
142
|
-
var n =
|
|
143
|
+
})), Ct = /* @__PURE__ */ s(((e, t) => {
|
|
144
|
+
var n = St();
|
|
143
145
|
t.exports = {
|
|
144
146
|
isRtlLang: n.isRtlLang,
|
|
145
147
|
getLangDir: n.getLangDir
|
|
146
148
|
};
|
|
147
|
-
})),
|
|
149
|
+
})), wt = /* @__PURE__ */ t(be(), 1), Tt = /* @__PURE__ */ t(Ct(), 1), I = {
|
|
148
150
|
landingBackgroundColor: "#fff",
|
|
149
151
|
landingPrimaryFontColor: "#000",
|
|
150
152
|
landingBackgroundImage: "none",
|
|
@@ -158,7 +160,7 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
158
160
|
formFont: "var(--sheerid-font-family-sans)",
|
|
159
161
|
cssVariables: null,
|
|
160
162
|
customStyles: null
|
|
161
|
-
},
|
|
163
|
+
}, Et = P.createContext(I), L = {
|
|
162
164
|
landingBackgroundColor: "--sheerid-landing-background-color",
|
|
163
165
|
landingPrimaryFontColor: "--sheerid-landing-primary-font-color",
|
|
164
166
|
landingBackgroundImage: "--sheerid-landing-background-image-url",
|
|
@@ -172,7 +174,7 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
172
174
|
formFont: "--sheerid-font-family-body",
|
|
173
175
|
cssVariables: null,
|
|
174
176
|
customStyles: null
|
|
175
|
-
},
|
|
177
|
+
}, Dt = {
|
|
176
178
|
"--sheerid-color-fg-05": {
|
|
177
179
|
from: "--sheerid-color-bg",
|
|
178
180
|
to: "--sheerid-color-fg",
|
|
@@ -283,7 +285,7 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
283
285
|
to: "--sheerid-color-fg",
|
|
284
286
|
percentage: 3
|
|
285
287
|
}
|
|
286
|
-
},
|
|
288
|
+
}, Ot = ({ themeChoices: e, customCssFromOptions: t, children: n }) => {
|
|
287
289
|
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 || I.landingBackgroundColor, c = o?.primaryFontColor || I.landingPrimaryFontColor, l = o?.backgroundImageUrl || I.landingBackgroundImage, u = e?.backgroundColor || I.formBackgroundColor, d = e?.primaryFontColor || I.formPrimaryFontColor, f = e?.buttonColor || I.formButtonColor, p = e?.buttonFontColor || I.formButtonFontColor, m = e?.linkColor || I.formLinkColor, h = e?.h1FontColor || I.formH1FontColor, g = e?.helperFontColor || I.formHelperFontColor, _ = e?.font || I.formFont, v = {
|
|
288
290
|
[L.landingBackgroundColor]: s,
|
|
289
291
|
[L.landingPrimaryFontColor]: c,
|
|
@@ -296,12 +298,12 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
296
298
|
[L.formH1FontColor]: h,
|
|
297
299
|
[L.formHelperFontColor]: g,
|
|
298
300
|
[L.formFont]: _ === I.formFont ? I.formFont : `${_}, var(--sheerid-font-family-sans)`,
|
|
299
|
-
...Object.entries(
|
|
301
|
+
...Object.entries(Dt).reduce((e, [t, n]) => {
|
|
300
302
|
let r = n.from.startsWith("--") ? `var(${n.from})` : n.from, i = n.to.startsWith("--") ? `var(${n.to})` : n.to;
|
|
301
303
|
return e[t] = `color-mix(in oklab, ${r} ${100 - n.percentage}%, ${i} ${n.percentage}%)`, e;
|
|
302
304
|
}, {})
|
|
303
|
-
}, y = P.useRef(null), b =
|
|
304
|
-
return /* @__PURE__ */ (0, F.jsx)(
|
|
305
|
+
}, y = P.useRef(null), b = ie() === oe.cdnInlineIframe, x = ie() === oe.cdnModalIframe;
|
|
306
|
+
return /* @__PURE__ */ (0, F.jsx)(Et.Provider, {
|
|
305
307
|
value: {
|
|
306
308
|
landingBackgroundColor: s,
|
|
307
309
|
landingPrimaryFontColor: c,
|
|
@@ -325,7 +327,7 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
325
327
|
children: [a && /* @__PURE__ */ (0, F.jsx)("style", { children: a }), n]
|
|
326
328
|
})
|
|
327
329
|
});
|
|
328
|
-
},
|
|
330
|
+
}, kt = (e, t, n) => ({
|
|
329
331
|
minAge: t?.minAge || e?.config?.minAge,
|
|
330
332
|
maxAge: t?.maxAge || e?.config?.maxAge,
|
|
331
333
|
smsLoopEnabled: e?.smsLoopEnabled,
|
|
@@ -333,29 +335,29 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
333
335
|
transitionalMilitaryValidityDays: e?.transitionalMilitaryValidityDays,
|
|
334
336
|
currentStep: t?.currentStep,
|
|
335
337
|
viewModel: n
|
|
336
|
-
}),
|
|
338
|
+
}), At = {}, jt = (e) => At[e] ? (O.log(`getOverridenComponent returning ${e}`), At[e]) : null, Mt = ({ verificationService: e, linkText: t }) => {
|
|
337
339
|
let { segment: n } = e.verificationResponse, { programId: r, programTheme: i } = e;
|
|
338
|
-
return n ? /* @__PURE__ */ (0, F.jsx)(
|
|
340
|
+
return n ? /* @__PURE__ */ (0, F.jsx)(ke, {
|
|
339
341
|
className: "sid-faq sid-link",
|
|
340
|
-
href:
|
|
342
|
+
href: ae(i, n, r, T(e.viewModel), e.verificationResponse),
|
|
341
343
|
children: t || /* @__PURE__ */ (0, F.jsx)(M, {
|
|
342
344
|
id: "getHelp",
|
|
343
345
|
defaultMessage: "Get help"
|
|
344
346
|
})
|
|
345
347
|
}) : null;
|
|
346
|
-
},
|
|
348
|
+
}, Nt = /* @__PURE__ */ (0, F.jsx)(M, {
|
|
347
349
|
id: "poweredBy",
|
|
348
350
|
defaultMessage: "Verification services powered by SheerID."
|
|
349
|
-
}),
|
|
351
|
+
}), Pt = ({ verificationService: e, isCentered: t, variant: n = "default", hideFaqLink: r = !1 }) => {
|
|
350
352
|
switch (n) {
|
|
351
353
|
case "poweredby": return /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
352
354
|
className: "sid-footer__powered-by-container-experiment",
|
|
353
355
|
children: [/* @__PURE__ */ (0, F.jsx)("div", {
|
|
354
356
|
className: "sid-footer__powered-by_powerby-experiment",
|
|
355
|
-
children:
|
|
357
|
+
children: Nt
|
|
356
358
|
}), !r && /* @__PURE__ */ (0, F.jsx)("div", {
|
|
357
359
|
className: "sid-footer__powered-by_powerby-experiment",
|
|
358
|
-
children: /* @__PURE__ */ (0, F.jsx)(
|
|
360
|
+
children: /* @__PURE__ */ (0, F.jsx)(Mt, { verificationService: e })
|
|
359
361
|
})]
|
|
360
362
|
});
|
|
361
363
|
case "verificationby": return /* @__PURE__ */ (0, F.jsx)("div", {
|
|
@@ -368,28 +370,28 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
368
370
|
alt: "",
|
|
369
371
|
src: "https://com-sheerid-resources.s3.us-east-1.amazonaws.com/common/images/2018/icons/sheerid_logo.svg"
|
|
370
372
|
})
|
|
371
|
-
}),
|
|
373
|
+
}), Nt]
|
|
372
374
|
})
|
|
373
375
|
});
|
|
374
376
|
default: return /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
375
377
|
className: t ? "sid-footer__powered-by-container--stacked sid-l-horz-center" : "sid-footer__powered-by-container",
|
|
376
378
|
children: [/* @__PURE__ */ (0, F.jsx)("div", {
|
|
377
379
|
className: t ? "sid-footer__powered-by--stacked sid-l-horz-center" : "sid-footer__powered-by",
|
|
378
|
-
children:
|
|
380
|
+
children: Nt
|
|
379
381
|
}), !r && /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
380
382
|
className: t ? "sid-l-space-top-sm" : "",
|
|
381
|
-
children: ["\xA0", /* @__PURE__ */ (0, F.jsx)(
|
|
383
|
+
children: ["\xA0", /* @__PURE__ */ (0, F.jsx)(Mt, { verificationService: e })]
|
|
382
384
|
})]
|
|
383
385
|
});
|
|
384
386
|
}
|
|
385
|
-
},
|
|
387
|
+
}, Ft = (e, t) => {
|
|
386
388
|
let n = P.useRef(null);
|
|
387
389
|
function r() {
|
|
388
390
|
clearInterval(n.current);
|
|
389
391
|
}
|
|
390
392
|
return P.useEffect(() => (n.current = setInterval(e, t), () => r()), [e, t]), r;
|
|
391
|
-
},
|
|
392
|
-
let a =
|
|
393
|
+
}, It = ({ stepName: e, messages: t, logo: n, cancelSingleSignOn: r, cancelButtonType: i = zt.PRIMARY }) => {
|
|
394
|
+
let a = ft(e);
|
|
393
395
|
return /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
394
396
|
className: "sid-header sid-l-horz-center",
|
|
395
397
|
children: [
|
|
@@ -397,7 +399,7 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
397
399
|
className: "sid-pending-logo-container sid-l-horz-center",
|
|
398
400
|
children: n
|
|
399
401
|
}),
|
|
400
|
-
/* @__PURE__ */ (0, F.jsx)(
|
|
402
|
+
/* @__PURE__ */ (0, F.jsx)(pt, {
|
|
401
403
|
align: "center",
|
|
402
404
|
children: t.title
|
|
403
405
|
}),
|
|
@@ -413,7 +415,7 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
413
415
|
children: /* @__PURE__ */ (0, F.jsx)("button", {
|
|
414
416
|
onClick: r,
|
|
415
417
|
type: "submit",
|
|
416
|
-
className: `sid-btn sid-${a}-pending-submit-btn ${i ===
|
|
418
|
+
className: `sid-btn sid-${a}-pending-submit-btn ${i === zt.SECONDARY ? "sid-btn-light" : "sid-btn--dark"} sid-l-full-width`,
|
|
417
419
|
"aria-label": "submit",
|
|
418
420
|
children: t.cancel
|
|
419
421
|
})
|
|
@@ -422,20 +424,20 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
422
424
|
t?.subtitle2 ? /* @__PURE__ */ (0, F.jsx)("div", { className: "sid-l-space-top-xl" }) : /* @__PURE__ */ (0, F.jsx)("div", { className: "sid-l-space-top-lg" })
|
|
423
425
|
]
|
|
424
426
|
});
|
|
425
|
-
},
|
|
427
|
+
}, Lt = ({ stepName: e, messages: t, logo: n, cancelSingleSignOn: r, cancelButtonType: i = zt.PRIMARY }) => /* @__PURE__ */ (0, F.jsx)(It, {
|
|
426
428
|
messages: t,
|
|
427
429
|
stepName: e,
|
|
428
430
|
logo: n,
|
|
429
431
|
cancelSingleSignOn: r,
|
|
430
432
|
cancelButtonType: i
|
|
431
|
-
}),
|
|
432
|
-
let i =
|
|
433
|
+
}), Rt = ({ messages: e, verificationService: t, updateViewModelAndOpenLoginTab: n, dashedStepName: r }) => {
|
|
434
|
+
let i = st("hc-my-sheer-id-theme-builder");
|
|
433
435
|
return /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
434
436
|
className: "sid-header sid-l-horz-center",
|
|
435
437
|
children: [
|
|
436
438
|
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
437
439
|
className: `sid-${r}-logo-container sid-l-horz-center`,
|
|
438
|
-
children: /* @__PURE__ */ (0, F.jsx)(
|
|
440
|
+
children: /* @__PURE__ */ (0, F.jsx)(dt, {
|
|
439
441
|
verificationService: t,
|
|
440
442
|
fallbackLogo: !i && /* @__PURE__ */ (0, F.jsx)("img", {
|
|
441
443
|
className: `sid-${r}-logo-default sid-l-lead-image`,
|
|
@@ -444,7 +446,7 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
444
446
|
})
|
|
445
447
|
})
|
|
446
448
|
}),
|
|
447
|
-
/* @__PURE__ */ (0, F.jsx)(
|
|
449
|
+
/* @__PURE__ */ (0, F.jsx)(pt, {
|
|
448
450
|
align: "center",
|
|
449
451
|
children: e.title
|
|
450
452
|
}),
|
|
@@ -465,66 +467,66 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
465
467
|
/* @__PURE__ */ (0, F.jsx)("div", { className: "sid-l-space-top-lg" })
|
|
466
468
|
]
|
|
467
469
|
});
|
|
468
|
-
},
|
|
470
|
+
}, zt = /* @__PURE__ */ function(e) {
|
|
469
471
|
return e.PRIMARY = "primary", e.SECONDARY = "secondary", e;
|
|
470
|
-
}({}),
|
|
471
|
-
let { programId: i } = e, a = e.viewModel, o = e.previousViewModel || void 0, s = e.verificationResponse,
|
|
472
|
+
}({}), Bt = ({ verificationService: e, stepName: t, messages: n, cancelButtonType: r = "primary" }) => {
|
|
473
|
+
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 = Fe(), f = ft(t), h = st("hc-my-sheer-id-theme-builder"), g, _ = /* @__PURE__ */ (0, F.jsx)(dt, {
|
|
472
474
|
verificationService: e,
|
|
473
475
|
fallbackLogo: !h && /* @__PURE__ */ (0, F.jsx)("img", {
|
|
474
|
-
className: `sid-${
|
|
476
|
+
className: `sid-${f}-logo-default sid-l-lead-image`,
|
|
475
477
|
alt: "",
|
|
476
478
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg"
|
|
477
479
|
})
|
|
478
480
|
}), v = () => setTimeout(() => {
|
|
479
|
-
e.fetchExistingVerificationRequest(i,
|
|
481
|
+
e.fetchExistingVerificationRequest(i, l, c, o);
|
|
480
482
|
}, 1e3), y = (t, n) => {
|
|
481
|
-
let r =
|
|
483
|
+
let r = S(a, (e) => {
|
|
482
484
|
e[t] = n;
|
|
483
485
|
});
|
|
484
486
|
e.updateViewModel(r);
|
|
485
|
-
},
|
|
486
|
-
D(
|
|
487
|
+
}, b = () => {
|
|
488
|
+
D(m.SSO_CANCEL_CLICKED, {
|
|
487
489
|
programId: i,
|
|
488
|
-
locale:
|
|
489
|
-
verificationId:
|
|
490
|
-
}),
|
|
491
|
-
let n =
|
|
490
|
+
locale: u,
|
|
491
|
+
verificationId: l
|
|
492
|
+
}), ut();
|
|
493
|
+
let n = S(a, () => {});
|
|
492
494
|
O.info("SingleSignOnComponent submitting cancel request"), clearTimeout(g), e.submitStep(t, n, e.verificationResponse);
|
|
493
|
-
},
|
|
494
|
-
D(
|
|
495
|
+
}, x = (e, t) => {
|
|
496
|
+
D(m.SSO_SIGN_IN_CLICKED, {
|
|
495
497
|
programId: i,
|
|
496
|
-
locale:
|
|
497
|
-
verificationId:
|
|
498
|
+
locale: u,
|
|
499
|
+
verificationId: l
|
|
498
500
|
}), y(e, t), C();
|
|
499
501
|
}, C = () => {
|
|
500
|
-
let e = t === k.sso ?
|
|
501
|
-
if (!
|
|
502
|
+
let e = t === k.sso ? he(s.loginUrl) : s.loginUrl;
|
|
503
|
+
if (!p(e)) {
|
|
502
504
|
O.error("Invalid loginUrl - must be an absolute http(s) URL. Not opening the login tab.", "sso loginUrl");
|
|
503
505
|
return;
|
|
504
506
|
}
|
|
505
|
-
|
|
507
|
+
lt(window.open(e, "_blank")), ct().focus();
|
|
506
508
|
};
|
|
507
|
-
return a.isSingleSignOnActive && !
|
|
508
|
-
id: `sid-step-${
|
|
509
|
-
className: `sid-${
|
|
510
|
-
"data-testid": `sid-step-${
|
|
509
|
+
return a.isSingleSignOnActive && !d && (g = v()), !a.countryChoice && o && o.countryChoice && y("countryChoice", o.countryChoice), /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
510
|
+
id: `sid-step-${f}`,
|
|
511
|
+
className: `sid-${f}-container sid-l-container`,
|
|
512
|
+
"data-testid": `sid-step-${f}`,
|
|
511
513
|
children: [/* @__PURE__ */ (0, F.jsx)("div", {
|
|
512
514
|
role: "main",
|
|
513
|
-
children: a.isSingleSignOnActive ? /* @__PURE__ */ (0, F.jsx)(
|
|
515
|
+
children: a.isSingleSignOnActive ? /* @__PURE__ */ (0, F.jsx)(Lt, {
|
|
514
516
|
stepName: t,
|
|
515
517
|
messages: n,
|
|
516
518
|
logo: _,
|
|
517
|
-
cancelSingleSignOn:
|
|
519
|
+
cancelSingleSignOn: b,
|
|
518
520
|
cancelButtonType: r
|
|
519
|
-
}) : /* @__PURE__ */ (0, F.jsx)(
|
|
521
|
+
}) : /* @__PURE__ */ (0, F.jsx)(Rt, {
|
|
520
522
|
verificationService: e,
|
|
521
523
|
messages: n,
|
|
522
|
-
updateViewModelAndOpenLoginTab:
|
|
523
|
-
dashedStepName:
|
|
524
|
+
updateViewModelAndOpenLoginTab: x,
|
|
525
|
+
dashedStepName: f
|
|
524
526
|
})
|
|
525
|
-
}), /* @__PURE__ */ (0, F.jsx)(
|
|
527
|
+
}), /* @__PURE__ */ (0, F.jsx)(et, { verificationService: e })]
|
|
526
528
|
});
|
|
527
|
-
},
|
|
529
|
+
}, Vt = {
|
|
528
530
|
title: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
529
531
|
id: "step.sso.title",
|
|
530
532
|
defaultMessage: "Verify using your school credentials",
|
|
@@ -546,11 +548,11 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
546
548
|
id: "step.sso.subtitle2",
|
|
547
549
|
defaultMessage: "Can't sign in to your school?"
|
|
548
550
|
})
|
|
549
|
-
},
|
|
551
|
+
}, Ht = ({ verificationService: e }) => /* @__PURE__ */ (0, F.jsx)(Bt, {
|
|
550
552
|
verificationService: e,
|
|
551
553
|
stepName: k.sso,
|
|
552
|
-
messages:
|
|
553
|
-
}),
|
|
554
|
+
messages: Vt
|
|
555
|
+
}), Ut = ({ logo: e }) => /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
554
556
|
className: "sid-header sid-l-horz-center",
|
|
555
557
|
"data-testid": "sid-review-pending",
|
|
556
558
|
children: [
|
|
@@ -558,7 +560,7 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
558
560
|
className: "sid-l-horz-center",
|
|
559
561
|
children: e
|
|
560
562
|
}),
|
|
561
|
-
/* @__PURE__ */ (0, F.jsx)(
|
|
563
|
+
/* @__PURE__ */ (0, F.jsx)(pt, {
|
|
562
564
|
align: "center",
|
|
563
565
|
children: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
564
566
|
id: "step.pending.titleReview",
|
|
@@ -590,7 +592,7 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
590
592
|
}),
|
|
591
593
|
/* @__PURE__ */ (0, F.jsx)("div", { className: "sid-l-space-top-xl" })
|
|
592
594
|
]
|
|
593
|
-
}),
|
|
595
|
+
}), Wt = ({ logo: e }) => /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
594
596
|
className: "sid-header sid-l-horz-center",
|
|
595
597
|
"data-testid": "sid-review-pending",
|
|
596
598
|
children: [
|
|
@@ -598,7 +600,7 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
598
600
|
className: "sid-l-horz-center",
|
|
599
601
|
children: e
|
|
600
602
|
}),
|
|
601
|
-
/* @__PURE__ */ (0, F.jsx)(
|
|
603
|
+
/* @__PURE__ */ (0, F.jsx)(pt, {
|
|
602
604
|
align: "center",
|
|
603
605
|
children: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
604
606
|
id: "step.pending.idCheckLoop.title",
|
|
@@ -622,7 +624,7 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
622
624
|
}),
|
|
623
625
|
/* @__PURE__ */ (0, F.jsx)("div", { className: "sid-l-space-top-xl" })
|
|
624
626
|
]
|
|
625
|
-
}),
|
|
627
|
+
}), Gt = { [A.SIGNZY]: {
|
|
626
628
|
title: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
627
629
|
id: "step.thirdPartyLoop.signzy.title",
|
|
628
630
|
tagName: "h1",
|
|
@@ -640,7 +642,7 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
640
642
|
id: "step.thirdPartyLoop.signzy.cancel",
|
|
641
643
|
defaultMessage: "Upload Proof of Identity"
|
|
642
644
|
})
|
|
643
|
-
} },
|
|
645
|
+
} }, Kt = ({ logo: e, isStepRoot: t = !1 }) => {
|
|
644
646
|
let n = /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
645
647
|
className: "sid-header sid-l-horz-center",
|
|
646
648
|
children: [
|
|
@@ -648,7 +650,7 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
648
650
|
className: "sid-error-logo-container sid-l-horz-center",
|
|
649
651
|
children: e
|
|
650
652
|
}),
|
|
651
|
-
/* @__PURE__ */ (0, F.jsx)(
|
|
653
|
+
/* @__PURE__ */ (0, F.jsx)(pt, {
|
|
652
654
|
align: "center",
|
|
653
655
|
children: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
654
656
|
id: "error",
|
|
@@ -676,16 +678,16 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
676
678
|
children: n
|
|
677
679
|
}) : n
|
|
678
680
|
});
|
|
679
|
-
},
|
|
680
|
-
let t =
|
|
681
|
-
return t ? /* @__PURE__ */ (0, F.jsx)(
|
|
681
|
+
}, qt = ({ verificationService: e }) => {
|
|
682
|
+
let t = Gt[e.verificationResponse.thirdPartyLoopProvider] || void 0, n = st("hc-my-sheer-id-theme-builder");
|
|
683
|
+
return t ? /* @__PURE__ */ (0, F.jsx)(Bt, {
|
|
682
684
|
verificationService: e,
|
|
683
685
|
stepName: k.thirdPartyLoop,
|
|
684
686
|
messages: t,
|
|
685
|
-
cancelButtonType:
|
|
686
|
-
}) : /* @__PURE__ */ (0, F.jsx)(
|
|
687
|
+
cancelButtonType: zt.SECONDARY
|
|
688
|
+
}) : /* @__PURE__ */ (0, F.jsx)(Kt, {
|
|
687
689
|
isStepRoot: !0,
|
|
688
|
-
logo: /* @__PURE__ */ (0, F.jsx)(
|
|
690
|
+
logo: /* @__PURE__ */ (0, F.jsx)(dt, {
|
|
689
691
|
verificationService: e,
|
|
690
692
|
fallbackLogo: !n && /* @__PURE__ */ (0, F.jsx)("img", {
|
|
691
693
|
className: "sid-error-logo sid-l-lead-image",
|
|
@@ -694,28 +696,28 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
694
696
|
})
|
|
695
697
|
})
|
|
696
698
|
});
|
|
697
|
-
},
|
|
698
|
-
let i =
|
|
699
|
-
return i ? /* @__PURE__ */ (0, F.jsx)(
|
|
699
|
+
}, Jt = ({ logo: e, verificationLastResponse: t, cancelThirdPartyLoop: n, isMockingPreviousStepThirdPartyLoop: r }) => {
|
|
700
|
+
let i = Gt[r ? Ie("thirdPartyLoopProvider") : t?.thirdPartyLoopProvider] || void 0;
|
|
701
|
+
return i ? /* @__PURE__ */ (0, F.jsx)(Lt, {
|
|
700
702
|
stepName: k.thirdPartyLoop,
|
|
701
703
|
messages: i,
|
|
702
704
|
logo: e,
|
|
703
705
|
cancelSingleSignOn: n,
|
|
704
|
-
cancelButtonType:
|
|
705
|
-
}) : /* @__PURE__ */ (0, F.jsx)(
|
|
706
|
-
},
|
|
707
|
-
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 =
|
|
706
|
+
cancelButtonType: zt.SECONDARY
|
|
707
|
+
}) : /* @__PURE__ */ (0, F.jsx)(Kt, { logo: e });
|
|
708
|
+
}, Yt = 5e3, Xt = 2e4, Zt = 2e4, Qt = 2e3, $t = ({ verificationService: e }) => {
|
|
709
|
+
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 = Fe(), s = Re() && Re() === k.sso, c = Re() && Re() === k.thirdPartyLoop, l = Re() && Re() === k.idCheckLoop, u = st("hc-my-sheer-id-theme-builder"), d = () => i?.currentStep === k.sso, f = () => i?.currentStep === k.thirdPartyLoop, p = () => i?.currentStep === k.idCheckLoop, m = d() || f() || s || c, h = p() || l, g = !m && !h, [_, v] = P.useState(() => m ? Qt : h ? Zt : Yt);
|
|
708
710
|
P.useEffect(() => {
|
|
709
711
|
if (!g) return;
|
|
710
|
-
let e = setTimeout(() => v(
|
|
712
|
+
let e = setTimeout(() => v(Zt), Xt);
|
|
711
713
|
return () => clearTimeout(e);
|
|
712
714
|
}, [g]);
|
|
713
|
-
let y = !o &&
|
|
715
|
+
let y = !o && Ft(() => {
|
|
714
716
|
e.fetchExistingVerificationRequest(t, a, i, r, !1);
|
|
715
|
-
}, _),
|
|
716
|
-
let r =
|
|
717
|
-
O.info("StepSingleSignOnComponent submitting cancel request, step:", t), y(),
|
|
718
|
-
},
|
|
717
|
+
}, _), b = (t) => {
|
|
718
|
+
let r = S(n, () => {});
|
|
719
|
+
O.info("StepSingleSignOnComponent submitting cancel request, step:", t), y(), ut(), e.submitStep(t, r, i);
|
|
720
|
+
}, x = /* @__PURE__ */ (0, F.jsx)(dt, {
|
|
719
721
|
verificationService: e,
|
|
720
722
|
fallbackLogo: !u && /* @__PURE__ */ (0, F.jsx)("img", {
|
|
721
723
|
className: "sid-l-lead-image",
|
|
@@ -730,35 +732,35 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
730
732
|
role: "main",
|
|
731
733
|
children: (() => {
|
|
732
734
|
let e = d() || s, t = f() || c, n = p() || l;
|
|
733
|
-
return e ? /* @__PURE__ */ (0, F.jsx)(
|
|
735
|
+
return e ? /* @__PURE__ */ (0, F.jsx)(Lt, {
|
|
734
736
|
stepName: k.sso,
|
|
735
|
-
messages:
|
|
736
|
-
logo:
|
|
737
|
-
cancelSingleSignOn: () =>
|
|
738
|
-
}) : t ? /* @__PURE__ */ (0, F.jsx)(
|
|
739
|
-
logo:
|
|
740
|
-
cancelThirdPartyLoop: () =>
|
|
737
|
+
messages: Vt,
|
|
738
|
+
logo: x,
|
|
739
|
+
cancelSingleSignOn: () => b(k.sso)
|
|
740
|
+
}) : t ? /* @__PURE__ */ (0, F.jsx)(Jt, {
|
|
741
|
+
logo: x,
|
|
742
|
+
cancelThirdPartyLoop: () => b(k.thirdPartyLoop),
|
|
741
743
|
verificationLastResponse: i,
|
|
742
744
|
isMockingPreviousStepThirdPartyLoop: c
|
|
743
|
-
}) : n ? /* @__PURE__ */ (0, F.jsx)(
|
|
745
|
+
}) : n ? /* @__PURE__ */ (0, F.jsx)(Wt, { logo: x }) : /* @__PURE__ */ (0, F.jsx)(Ut, { logo: x });
|
|
744
746
|
})()
|
|
745
|
-
}), h ? /* @__PURE__ */ (0, F.jsx)(
|
|
747
|
+
}), h ? /* @__PURE__ */ (0, F.jsx)(Pt, {
|
|
746
748
|
verificationService: e,
|
|
747
749
|
isCentered: !0
|
|
748
|
-
}) : /* @__PURE__ */ (0, F.jsxs)(
|
|
750
|
+
}) : /* @__PURE__ */ (0, F.jsxs)(et, {
|
|
749
751
|
verificationService: e,
|
|
750
752
|
children: [/* @__PURE__ */ (0, F.jsx)("div", {}), " "]
|
|
751
753
|
})]
|
|
752
754
|
});
|
|
753
|
-
},
|
|
754
|
-
let e =
|
|
755
|
+
}, en = () => {
|
|
756
|
+
let e = Te(), t = xe(), n = Ee(), r = a(() => n.segment), i = P.useCallback(() => {
|
|
755
757
|
if (window.self !== window.top) {
|
|
756
758
|
let e = new URL(window.location.href);
|
|
757
759
|
e.searchParams.delete("verificationId"), window.location.replace(e);
|
|
758
760
|
return;
|
|
759
761
|
}
|
|
760
762
|
(async () => {
|
|
761
|
-
|
|
763
|
+
$e(e)(), await Xe(e)(t, r, void 0, void 0, !0);
|
|
762
764
|
})();
|
|
763
765
|
}, [
|
|
764
766
|
e,
|
|
@@ -772,13 +774,13 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
772
774
|
onKeyPress: i,
|
|
773
775
|
children: /* @__PURE__ */ (0, F.jsx)(N, { id: "tryAgain" })
|
|
774
776
|
});
|
|
775
|
-
},
|
|
777
|
+
}, tn = {
|
|
776
778
|
NONE: "none",
|
|
777
779
|
RESET: "reset",
|
|
778
780
|
POSTMESSAGE: "postMessage",
|
|
779
781
|
REDIRECT: "redirect"
|
|
780
|
-
},
|
|
781
|
-
let e =
|
|
782
|
+
}, nn = () => {
|
|
783
|
+
let e = Ee(), t = () => Pe({
|
|
782
784
|
action: "tryAgain",
|
|
783
785
|
verificationResponse: e
|
|
784
786
|
});
|
|
@@ -789,73 +791,74 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
789
791
|
onKeyPress: t,
|
|
790
792
|
children: /* @__PURE__ */ (0, F.jsx)(N, { id: "tryAgain" })
|
|
791
793
|
});
|
|
792
|
-
},
|
|
794
|
+
}, rn = ({ redirectUrl: e, target: t = "_blank" }) => /* @__PURE__ */ (0, F.jsx)(ke, {
|
|
793
795
|
target: t,
|
|
794
796
|
href: e.toString(),
|
|
795
797
|
className: "sid-btn sid-btn--dark",
|
|
796
798
|
children: /* @__PURE__ */ (0, F.jsx)(N, { id: "seeOtherOffers" })
|
|
797
|
-
}),
|
|
798
|
-
if (!(typeof e == "object" && "type" in e && Object.values(
|
|
799
|
-
},
|
|
800
|
-
let e =
|
|
799
|
+
}), an = (e) => {
|
|
800
|
+
if (!(typeof e == "object" && "type" in e && Object.values(tn).includes(e.type))) throw RangeError("Invalid tryAgainAction option type - using default TryAgainButton.");
|
|
801
|
+
}, on = () => {
|
|
802
|
+
let e = x("tryAgainAction");
|
|
801
803
|
try {
|
|
802
|
-
switch (
|
|
803
|
-
case
|
|
804
|
-
case
|
|
805
|
-
case
|
|
806
|
-
if (!
|
|
807
|
-
return /* @__PURE__ */ (0, F.jsx)(
|
|
804
|
+
switch (an(e), e.type) {
|
|
805
|
+
case tn.NONE: return null;
|
|
806
|
+
case tn.POSTMESSAGE: return window.self === window.top ? (O.error(`Invalid tryAgainAction option type "${e.type}" - page must be embedded in an iframe.`), null) : /* @__PURE__ */ (0, F.jsx)(nn, {});
|
|
807
|
+
case tn.REDIRECT:
|
|
808
|
+
if (!p(e.url)) throw RangeError("Invalid tryAgainAction redirect url - must be an absolute http(s) URL. Using default TryAgainButton.");
|
|
809
|
+
return /* @__PURE__ */ (0, F.jsx)(rn, {
|
|
808
810
|
redirectUrl: e.url,
|
|
809
811
|
target: e.target
|
|
810
812
|
});
|
|
811
|
-
case
|
|
813
|
+
case tn.RESET: return /* @__PURE__ */ (0, F.jsx)(en, {});
|
|
812
814
|
default: throw RangeError("Invalid tryAgainAction option type - using default TryAgainButton.");
|
|
813
815
|
}
|
|
814
816
|
} catch (e) {
|
|
815
|
-
return O.error(e.message), /* @__PURE__ */ (0, F.jsx)(
|
|
817
|
+
return O.error(e.message), /* @__PURE__ */ (0, F.jsx)(en, {});
|
|
816
818
|
}
|
|
817
|
-
},
|
|
819
|
+
}, sn = [
|
|
818
820
|
"docReviewLimitExceeded",
|
|
819
821
|
"verificationLimitExceeded",
|
|
820
822
|
"fraudRulesReject"
|
|
821
|
-
],
|
|
822
|
-
let n =
|
|
823
|
-
return /* @__PURE__ */ (0, F.jsx)(
|
|
823
|
+
], cn = ({ errorIds: e }) => {
|
|
824
|
+
let t = De(), n = e[0];
|
|
825
|
+
return /* @__PURE__ */ (0, F.jsx)(pt, {
|
|
824
826
|
align: "center",
|
|
825
|
-
children: /* @__PURE__ */ (0, F.jsx)("h1", { children: /* @__PURE__ */ (0, F.jsx)(N, { id:
|
|
827
|
+
children: /* @__PURE__ */ (0, F.jsx)("h1", { children: /* @__PURE__ */ (0, F.jsx)(N, { id: t?.[`step.error.errorId.${n}.title`] ? `step.error.errorId.${n}.title` : "step.error.title" }) })
|
|
826
828
|
});
|
|
827
|
-
},
|
|
829
|
+
}, ln = ({ errorIds: e, errorDetailId: t }) => {
|
|
828
830
|
let n = /* @__PURE__ */ new Map();
|
|
829
831
|
return t ? n.set(t, `errorDetailId.${t}`) : e?.forEach((e) => n.set(e, `errorId.${e}`)), n.size > 0 ? /* @__PURE__ */ (0, F.jsx)("p", { children: Array.from(n).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(N, { id: t }, t)) }) : null;
|
|
830
|
-
},
|
|
831
|
-
let n = `step.error.errorId.${
|
|
832
|
-
return
|
|
832
|
+
}, un = ({ errorIds: e }) => {
|
|
833
|
+
let t = De(), n = `step.error.errorId.${e[0]}.note`;
|
|
834
|
+
return t?.[n] ? /* @__PURE__ */ (0, F.jsx)("p", {
|
|
833
835
|
className: "sid-error-note sid-h-small-text",
|
|
834
836
|
children: /* @__PURE__ */ (0, F.jsx)(N, { id: n })
|
|
835
837
|
}) : null;
|
|
836
|
-
},
|
|
838
|
+
}, dn = ({ verificationService: e, errorIds: t, redirectUrl: n }) => {
|
|
839
|
+
let r = De();
|
|
837
840
|
if (t.includes("unauthorizedAccountStatus")) {
|
|
838
841
|
let t = a(() => e.programTheme.config.brandInfo.faqUrl);
|
|
839
|
-
return t ? /* @__PURE__ */ (0, F.jsx)(
|
|
842
|
+
return t ? /* @__PURE__ */ (0, F.jsx)(ke, {
|
|
840
843
|
href: t,
|
|
841
|
-
onClick: () =>
|
|
844
|
+
onClick: () => l(k.error, t),
|
|
842
845
|
className: "sid-btn sid-faq-btn sid-btn-light",
|
|
843
846
|
children: /* @__PURE__ */ (0, F.jsx)(N, { id: "step.error.errorId.unauthorizedAccountStatus.buttonText" })
|
|
844
847
|
}) : null;
|
|
845
848
|
}
|
|
846
849
|
if (t.includes("verificationLimitExceeded")) return null;
|
|
847
|
-
if (t.includes("missingRequiredMetadata") || t.includes("missingRequiredExternalId")) return
|
|
848
|
-
let
|
|
849
|
-
return
|
|
850
|
+
if (t.includes("missingRequiredMetadata") || t.includes("missingRequiredExternalId")) return x("tryAgainAction").type === "reset" ? null : /* @__PURE__ */ (0, F.jsx)(on, {});
|
|
851
|
+
let i = t[0];
|
|
852
|
+
return r?.[`step.error.errorId.${i}.buttonText`] && p(n) ? /* @__PURE__ */ (0, F.jsx)(ke, {
|
|
850
853
|
href: n,
|
|
851
|
-
onClick: () =>
|
|
854
|
+
onClick: () => l(k.error, n),
|
|
852
855
|
className: "sid-btn sid-error-btn sid-btn-light",
|
|
853
|
-
children: /* @__PURE__ */ (0, F.jsx)(N, { id: `step.error.errorId.${
|
|
854
|
-
}) : /* @__PURE__ */ (0, F.jsx)(
|
|
855
|
-
},
|
|
856
|
-
let { errorIds: n, redirectUrl: r, errorDetailId: i } = e.verificationResponse, a =
|
|
856
|
+
children: /* @__PURE__ */ (0, F.jsx)(N, { id: `step.error.errorId.${i}.buttonText` })
|
|
857
|
+
}) : /* @__PURE__ */ (0, F.jsx)(on, {});
|
|
858
|
+
}, fn = ({ verificationService: e, errorId: t }) => {
|
|
859
|
+
let { errorIds: n, redirectUrl: r, errorDetailId: i } = e.verificationResponse, a = st("hc-my-sheer-id-theme-builder"), o = /* @__PURE__ */ new Set();
|
|
857
860
|
t && o.add(t), Array.isArray(n) && n.forEach((e) => o.add(e));
|
|
858
|
-
let s = Array.from(o), c = s.some((e) =>
|
|
861
|
+
let s = Array.from(o), c = s.some((e) => sn.includes(e));
|
|
859
862
|
return /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
860
863
|
id: "sid-step-error",
|
|
861
864
|
className: "sid-error-container sid-l-container",
|
|
@@ -865,7 +868,7 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
865
868
|
children: [
|
|
866
869
|
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
867
870
|
className: "sid-error-logo-container sid-l-horz-center",
|
|
868
|
-
children: /* @__PURE__ */ (0, F.jsx)(
|
|
871
|
+
children: /* @__PURE__ */ (0, F.jsx)(dt, {
|
|
869
872
|
verificationService: e,
|
|
870
873
|
fallbackLogo: !a && /* @__PURE__ */ (0, F.jsx)("img", {
|
|
871
874
|
className: "sid-error-logo sid-l-lead-image",
|
|
@@ -874,22 +877,16 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
874
877
|
})
|
|
875
878
|
})
|
|
876
879
|
}),
|
|
877
|
-
/* @__PURE__ */ (0, F.jsx)(
|
|
878
|
-
verificationService: e,
|
|
879
|
-
errorIds: s
|
|
880
|
-
}),
|
|
880
|
+
/* @__PURE__ */ (0, F.jsx)(cn, { errorIds: s }),
|
|
881
881
|
/* @__PURE__ */ (0, F.jsxs)("div", {
|
|
882
882
|
className: "sid-header__subtitle sid-l-horz-center sid-l-space-top-md",
|
|
883
883
|
children: [
|
|
884
884
|
/* @__PURE__ */ (0, F.jsxs)("div", {
|
|
885
885
|
className: "sid-error-msg sid-l-horz-center",
|
|
886
|
-
children: [/* @__PURE__ */ (0, F.jsx)(
|
|
886
|
+
children: [/* @__PURE__ */ (0, F.jsx)(ln, {
|
|
887
887
|
errorIds: s,
|
|
888
888
|
errorDetailId: i
|
|
889
|
-
}), /* @__PURE__ */ (0, F.jsx)(
|
|
890
|
-
verificationService: e,
|
|
891
|
-
errorIds: s
|
|
892
|
-
})]
|
|
889
|
+
}), /* @__PURE__ */ (0, F.jsx)(un, { errorIds: s })]
|
|
893
890
|
}),
|
|
894
891
|
c && /* @__PURE__ */ (0, F.jsx)("p", {
|
|
895
892
|
className: "sid-error-contact-support sid-l-space-top-md",
|
|
@@ -897,7 +894,7 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
897
894
|
}),
|
|
898
895
|
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
899
896
|
className: "sid-l-space-top-lg sid-error-button-container sid-l-horz-center",
|
|
900
|
-
children: /* @__PURE__ */ (0, F.jsx)(
|
|
897
|
+
children: /* @__PURE__ */ (0, F.jsx)(dn, {
|
|
901
898
|
verificationService: e,
|
|
902
899
|
errorIds: s,
|
|
903
900
|
redirectUrl: r
|
|
@@ -908,59 +905,59 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
908
905
|
]
|
|
909
906
|
}), /* @__PURE__ */ (0, F.jsx)("div", {
|
|
910
907
|
className: "sid-footer sid-powered-by-container sid-l-horz-center sid-l-space-top-xl sid-h-small-text",
|
|
911
|
-
children: /* @__PURE__ */ (0, F.jsx)(
|
|
908
|
+
children: /* @__PURE__ */ (0, F.jsx)(Pt, {
|
|
912
909
|
verificationService: e,
|
|
913
910
|
isCentered: !0,
|
|
914
911
|
hideFaqLink: c
|
|
915
912
|
})
|
|
916
913
|
})]
|
|
917
914
|
});
|
|
918
|
-
},
|
|
919
|
-
StepPendingComponent:
|
|
920
|
-
StepErrorComponent:
|
|
921
|
-
StepStudentPersonalInfoComponent: P.lazy(() => import("./chunk/StepStudentPersonalInfo-
|
|
922
|
-
StepOverrideComponent: P.lazy(() => import("./chunk/StepOverrideComponent-
|
|
923
|
-
StepAgePersonalInfoComponent: P.lazy(() => import("./chunk/StepAgePersonalInfo-
|
|
924
|
-
StepSeniorPersonalInfoComponent: P.lazy(() => import("./chunk/StepAgePersonalInfo-
|
|
925
|
-
StepCollectMilitaryPersonalInfoComponent: P.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent
|
|
926
|
-
StepCollectMilitaryStatusComponent: P.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent
|
|
927
|
-
StepActiveMilitaryPersonalInfoComponent: P.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent
|
|
928
|
-
StepInactiveMilitaryPersonalInfoComponent: P.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent
|
|
929
|
-
StepDriverLicensePersonalInfoComponent: P.lazy(() => import("./chunk/StepDriverLicensePersonalInfoComponent-
|
|
930
|
-
StepEmploymentPersonalInfoComponent: P.lazy(() => import("./chunk/StepEmploymentPersonalInfo-
|
|
931
|
-
StepFirstResponderPersonalInfoComponent: P.lazy(() => import("./chunk/StepFirstResponderPersonalInfo-
|
|
932
|
-
StepGeneralIdentityPersonalInfoComponent: P.lazy(() => import("./chunk/StepGeneralIdentityPersonalInfoComponent-
|
|
933
|
-
StepHybridIdentityPersonalInfoComponent: P.lazy(() => import("./chunk/StepHybridIdentityPersonalInfoComponent-
|
|
934
|
-
StepIDCheckLoopComponent: P.lazy(() => import("./chunk/StepIDCheckLoop-
|
|
935
|
-
StepLicensedProfessionalPersonalInfoComponent: P.lazy(() => import("./chunk/StepLicensedProfessionalPersonalInfo-
|
|
936
|
-
StepLowIncomePersonalInfoComponent: P.lazy(() => import("./chunk/StepLowIncomePersonalInfo-
|
|
937
|
-
StepMedicalProfessionalPersonalInfoComponent: P.lazy(() => import("./chunk/StepMedicalProfessionalPersonalInfo-
|
|
938
|
-
StepMemberPersonalInfoComponent: P.lazy(() => import("./chunk/StepMemberPersonalInfo-
|
|
939
|
-
StepConsolationComponent: P.lazy(() => import("./chunk/StepConsolation-
|
|
940
|
-
StepDocUploadComponent: P.lazy(() => import("./chunk/StepDocUpload-
|
|
941
|
-
StepEmailLoopComponent: P.lazy(() => import("./chunk/StepEmailLoop-
|
|
942
|
-
StepPendingEmailLoopComponent: P.lazy(() => import("./chunk/EmailLoopPending-
|
|
943
|
-
StepMoverPersonalInfoComponent: P.lazy(() => import("./chunk/StepMoverPersonalInfo-
|
|
944
|
-
StepSMSLoopComponent: P.lazy(() => import("./chunk/StepSMSLoop-
|
|
945
|
-
StepSocialSecurity: P.lazy(() => import("./chunk/StepSocialSecurityNumber-
|
|
915
|
+
}, pn = {
|
|
916
|
+
StepPendingComponent: $t,
|
|
917
|
+
StepErrorComponent: fn,
|
|
918
|
+
StepStudentPersonalInfoComponent: P.lazy(() => import("./chunk/StepStudentPersonalInfo-oc0V1SEn.js")),
|
|
919
|
+
StepOverrideComponent: P.lazy(() => import("./chunk/StepOverrideComponent-BYUbyZkl.js")),
|
|
920
|
+
StepAgePersonalInfoComponent: P.lazy(() => import("./chunk/StepAgePersonalInfo-DMMuSV6H.js")),
|
|
921
|
+
StepSeniorPersonalInfoComponent: P.lazy(() => import("./chunk/StepAgePersonalInfo-DMMuSV6H.js")),
|
|
922
|
+
StepCollectMilitaryPersonalInfoComponent: P.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent--ylC8N5Z.js")),
|
|
923
|
+
StepCollectMilitaryStatusComponent: P.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent--ylC8N5Z.js")),
|
|
924
|
+
StepActiveMilitaryPersonalInfoComponent: P.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent--ylC8N5Z.js")),
|
|
925
|
+
StepInactiveMilitaryPersonalInfoComponent: P.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent--ylC8N5Z.js")),
|
|
926
|
+
StepDriverLicensePersonalInfoComponent: P.lazy(() => import("./chunk/StepDriverLicensePersonalInfoComponent-s_PvlzNE.js")),
|
|
927
|
+
StepEmploymentPersonalInfoComponent: P.lazy(() => import("./chunk/StepEmploymentPersonalInfo-ByAaA9uJ.js")),
|
|
928
|
+
StepFirstResponderPersonalInfoComponent: P.lazy(() => import("./chunk/StepFirstResponderPersonalInfo-BqS568ZP.js")),
|
|
929
|
+
StepGeneralIdentityPersonalInfoComponent: P.lazy(() => import("./chunk/StepGeneralIdentityPersonalInfoComponent-B3_zfixj.js")),
|
|
930
|
+
StepHybridIdentityPersonalInfoComponent: P.lazy(() => import("./chunk/StepHybridIdentityPersonalInfoComponent-BFhxyJWJ.js")),
|
|
931
|
+
StepIDCheckLoopComponent: P.lazy(() => import("./chunk/StepIDCheckLoop-8HP5_FVH.js")),
|
|
932
|
+
StepLicensedProfessionalPersonalInfoComponent: P.lazy(() => import("./chunk/StepLicensedProfessionalPersonalInfo-f6waS68x.js")),
|
|
933
|
+
StepLowIncomePersonalInfoComponent: P.lazy(() => import("./chunk/StepLowIncomePersonalInfo-CVrkhAxr.js")),
|
|
934
|
+
StepMedicalProfessionalPersonalInfoComponent: P.lazy(() => import("./chunk/StepMedicalProfessionalPersonalInfo-CR_cOA88.js")),
|
|
935
|
+
StepMemberPersonalInfoComponent: P.lazy(() => import("./chunk/StepMemberPersonalInfo-3ycGLGMb.js")),
|
|
936
|
+
StepConsolationComponent: P.lazy(() => import("./chunk/StepConsolation-BzbijBhL.js")),
|
|
937
|
+
StepDocUploadComponent: P.lazy(() => import("./chunk/StepDocUpload-h1JWZUZC.js")),
|
|
938
|
+
StepEmailLoopComponent: P.lazy(() => import("./chunk/StepEmailLoop-D5T68VTx.js")),
|
|
939
|
+
StepPendingEmailLoopComponent: P.lazy(() => import("./chunk/EmailLoopPending-CfFPbM5A.js").then((e) => e.n)),
|
|
940
|
+
StepMoverPersonalInfoComponent: P.lazy(() => import("./chunk/StepMoverPersonalInfo-CJEvhUg5.js")),
|
|
941
|
+
StepSMSLoopComponent: P.lazy(() => import("./chunk/StepSMSLoop-Dp77AMrb.js")),
|
|
942
|
+
StepSocialSecurity: P.lazy(() => import("./chunk/StepSocialSecurityNumber-A2Q_UluD.js")),
|
|
946
943
|
StepSSOComponent: P.lazy(() => import("./chunk/StepSSO-BGHCbduX.js")),
|
|
947
|
-
StepSuccessComponent: P.lazy(() => import("./chunk/StepSuccess-
|
|
948
|
-
StepTeacherPersonalInfoComponent: P.lazy(() => import("./chunk/StepTeacherPersonalInfo-
|
|
949
|
-
StepCompleteAuthentication: P.lazy(() => import("./chunk/StepCompleteAuthentication-
|
|
950
|
-
StepCollectIdentifierComponent: P.lazy(() => import("./chunk/StepCollectIdentifier-
|
|
951
|
-
StepCollectPersonalInfo: P.lazy(() => import("./chunk/StepCollectPersonalInfo-
|
|
944
|
+
StepSuccessComponent: P.lazy(() => import("./chunk/StepSuccess-DYAR3u5v.js")),
|
|
945
|
+
StepTeacherPersonalInfoComponent: P.lazy(() => import("./chunk/StepTeacherPersonalInfo-UxRien1W.js")),
|
|
946
|
+
StepCompleteAuthentication: P.lazy(() => import("./chunk/StepCompleteAuthentication-BrdV0iN-.js")),
|
|
947
|
+
StepCollectIdentifierComponent: P.lazy(() => import("./chunk/StepCollectIdentifier-Cf_OO2eb.js")),
|
|
948
|
+
StepCollectPersonalInfo: P.lazy(() => import("./chunk/StepCollectPersonalInfo-CIskNcb_.js")),
|
|
952
949
|
StepThirdPartyLoopComponent: P.lazy(() => import("./chunk/StepThirdPartyLoop-CbFTIlwP.js"))
|
|
953
|
-
}, R = (e) => (O.info("getComponent", e),
|
|
950
|
+
}, R = (e) => (O.info("getComponent", e), jt(e) || pn[e]), mn = () => /* @__PURE__ */ (0, F.jsx)(xt, {}), hn = ({ stepToLoad: e, verificationService: t }) => {
|
|
954
951
|
O.info(`LoadStepComponent: rendering step: ${e}`);
|
|
955
952
|
let n;
|
|
956
953
|
switch ((0, P.useEffect)(() => {
|
|
957
954
|
try {
|
|
958
|
-
performance.mark(
|
|
955
|
+
performance.mark(g.INITIAL_STEP_LOAD);
|
|
959
956
|
} catch {}
|
|
960
957
|
}, []), P.useEffect(() => {
|
|
961
958
|
if (!["pending", "error"].includes(e)) try {
|
|
962
|
-
performance.mark(
|
|
963
|
-
eventName:
|
|
959
|
+
performance.mark(m.STEP_SEEN), te({
|
|
960
|
+
eventName: m.STEP_SEEN,
|
|
964
961
|
params: { step: e }
|
|
965
962
|
});
|
|
966
963
|
} catch (e) {
|
|
@@ -1078,37 +1075,37 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
1078
1075
|
case "cancelEmailLoop":
|
|
1079
1076
|
case "cancelSocialSecurityNumber":
|
|
1080
1077
|
case "docReviewLimitExceeded":
|
|
1081
|
-
case "emailLoopCollectOrganizationEmail": return O.error("Attempted to load unexpected step", e), /* @__PURE__ */ (0, F.jsx)(
|
|
1078
|
+
case "emailLoopCollectOrganizationEmail": return O.error("Attempted to load unexpected step", e), /* @__PURE__ */ (0, F.jsx)(fn, {
|
|
1082
1079
|
verificationService: t,
|
|
1083
1080
|
errorId: "invalidStep"
|
|
1084
1081
|
});
|
|
1085
|
-
default: return O.error("Unable to load step", e), /* @__PURE__ */ (0, F.jsx)(
|
|
1082
|
+
default: return O.error("Unable to load step", e), /* @__PURE__ */ (0, F.jsx)(fn, {
|
|
1086
1083
|
verificationService: t,
|
|
1087
1084
|
errorId: "invalidStep"
|
|
1088
1085
|
});
|
|
1089
1086
|
}
|
|
1090
1087
|
return /* @__PURE__ */ (0, F.jsx)(P.Suspense, {
|
|
1091
|
-
fallback:
|
|
1088
|
+
fallback: mn(),
|
|
1092
1089
|
children: /* @__PURE__ */ (0, F.jsx)(n, { verificationService: t })
|
|
1093
1090
|
});
|
|
1094
|
-
},
|
|
1091
|
+
}, gn = ({ dangerouslySetInnerHTML: e, ...t }) => e ? /* @__PURE__ */ (0, F.jsx)("span", {
|
|
1095
1092
|
dangerouslySetInnerHTML: e,
|
|
1096
1093
|
...t
|
|
1097
|
-
}) : /* @__PURE__ */ (0, F.jsx)(P.Fragment, { ...t }),
|
|
1094
|
+
}) : /* @__PURE__ */ (0, F.jsx)(P.Fragment, { ...t }), _n = ({ verificationService: e }) => e.programTheme?.isTestMode ? /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
1098
1095
|
className: "sid-test-mode-flag sid-l-container sid-l-horz-center",
|
|
1099
1096
|
role: "note",
|
|
1100
|
-
children: ["Test Mode", /* @__PURE__ */ (0, F.jsx)(
|
|
1097
|
+
children: ["Test Mode", /* @__PURE__ */ (0, F.jsx)(ke, {
|
|
1101
1098
|
className: "sid-test-mode-flag__link",
|
|
1102
1099
|
href: "https://developer.sheerid.com/getting-started#test-program",
|
|
1103
1100
|
"aria-label": "learn more about a sheerid test mode program",
|
|
1104
1101
|
children: "(learn more)"
|
|
1105
1102
|
})]
|
|
1106
|
-
}) : null,
|
|
1103
|
+
}) : null, vn = ({ verificationService: e, title: t, children: n, fallbackLogo: r, classNameIdentifier: i = void 0 }) => /* @__PURE__ */ (0, F.jsxs)("header", {
|
|
1107
1104
|
className: "sid-header",
|
|
1108
1105
|
children: [
|
|
1109
1106
|
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
1110
1107
|
className: `sid-logo-container sid-l-horz-center ${i ? `sid-${i}-logo-container` : ""}`,
|
|
1111
|
-
children: /* @__PURE__ */ (0, F.jsx)(
|
|
1108
|
+
children: /* @__PURE__ */ (0, F.jsx)(dt, {
|
|
1112
1109
|
verificationService: e,
|
|
1113
1110
|
fallbackLogo: r
|
|
1114
1111
|
})
|
|
@@ -1128,30 +1125,30 @@ function z(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
|
|
|
1128
1125
|
}
|
|
1129
1126
|
//#endregion
|
|
1130
1127
|
//#region ../node_modules/@radix-ui/react-compose-refs/dist/index.mjs
|
|
1131
|
-
function
|
|
1128
|
+
function yn(e, t) {
|
|
1132
1129
|
if (typeof e == "function") return e(t);
|
|
1133
1130
|
e != null && (e.current = t);
|
|
1134
1131
|
}
|
|
1135
|
-
function
|
|
1132
|
+
function bn(...e) {
|
|
1136
1133
|
return (t) => {
|
|
1137
1134
|
let n = !1, r = e.map((e) => {
|
|
1138
|
-
let r =
|
|
1135
|
+
let r = yn(e, t);
|
|
1139
1136
|
return !n && typeof r == "function" && (n = !0), r;
|
|
1140
1137
|
});
|
|
1141
1138
|
if (n) return () => {
|
|
1142
1139
|
for (let t = 0; t < r.length; t++) {
|
|
1143
1140
|
let n = r[t];
|
|
1144
|
-
typeof n == "function" ? n() :
|
|
1141
|
+
typeof n == "function" ? n() : yn(e[t], null);
|
|
1145
1142
|
}
|
|
1146
1143
|
};
|
|
1147
1144
|
};
|
|
1148
1145
|
}
|
|
1149
1146
|
function B(...e) {
|
|
1150
|
-
return P.useCallback(
|
|
1147
|
+
return P.useCallback(bn(...e), e);
|
|
1151
1148
|
}
|
|
1152
1149
|
//#endregion
|
|
1153
1150
|
//#region ../node_modules/@radix-ui/react-context/dist/index.mjs
|
|
1154
|
-
function
|
|
1151
|
+
function xn(e, t = []) {
|
|
1155
1152
|
let n = [];
|
|
1156
1153
|
function r(t, r) {
|
|
1157
1154
|
let i = P.createContext(r), a = n.length;
|
|
@@ -1182,9 +1179,9 @@ function _n(e, t = []) {
|
|
|
1182
1179
|
} }), [n, r]);
|
|
1183
1180
|
};
|
|
1184
1181
|
};
|
|
1185
|
-
return i.scopeName = e, [r,
|
|
1182
|
+
return i.scopeName = e, [r, Sn(i, ...t)];
|
|
1186
1183
|
}
|
|
1187
|
-
function
|
|
1184
|
+
function Sn(...e) {
|
|
1188
1185
|
let t = e[0];
|
|
1189
1186
|
if (e.length === 1) return t;
|
|
1190
1187
|
let n = () => {
|
|
@@ -1208,9 +1205,9 @@ function vn(...e) {
|
|
|
1208
1205
|
//#endregion
|
|
1209
1206
|
//#region ../node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
1210
1207
|
// @__NO_SIDE_EFFECTS__
|
|
1211
|
-
function
|
|
1212
|
-
let t = /* @__PURE__ */
|
|
1213
|
-
let { children: r, ...i } = e, a = P.Children.toArray(r), o = a.find(
|
|
1208
|
+
function Cn(e) {
|
|
1209
|
+
let t = /* @__PURE__ */ wn(e), n = P.forwardRef((e, n) => {
|
|
1210
|
+
let { children: r, ...i } = e, a = P.Children.toArray(r), o = a.find(En);
|
|
1214
1211
|
if (o) {
|
|
1215
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);
|
|
1216
1213
|
return /* @__PURE__ */ (0, F.jsx)(t, {
|
|
@@ -1228,22 +1225,22 @@ function yn(e) {
|
|
|
1228
1225
|
return n.displayName = `${e}.Slot`, n;
|
|
1229
1226
|
}
|
|
1230
1227
|
// @__NO_SIDE_EFFECTS__
|
|
1231
|
-
function
|
|
1228
|
+
function wn(e) {
|
|
1232
1229
|
let t = P.forwardRef((e, t) => {
|
|
1233
1230
|
let { children: n, ...r } = e;
|
|
1234
1231
|
if (P.isValidElement(n)) {
|
|
1235
|
-
let e =
|
|
1236
|
-
return n.type !== P.Fragment && (i.ref = t ?
|
|
1232
|
+
let e = On(n), i = Dn(r, n.props);
|
|
1233
|
+
return n.type !== P.Fragment && (i.ref = t ? bn(t, e) : e), P.cloneElement(n, i);
|
|
1237
1234
|
}
|
|
1238
1235
|
return P.Children.count(n) > 1 ? P.Children.only(null) : null;
|
|
1239
1236
|
});
|
|
1240
1237
|
return t.displayName = `${e}.SlotClone`, t;
|
|
1241
1238
|
}
|
|
1242
|
-
var
|
|
1243
|
-
function
|
|
1244
|
-
return P.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId ===
|
|
1239
|
+
var Tn = Symbol("radix.slottable");
|
|
1240
|
+
function En(e) {
|
|
1241
|
+
return P.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === Tn;
|
|
1245
1242
|
}
|
|
1246
|
-
function
|
|
1243
|
+
function Dn(e, t) {
|
|
1247
1244
|
let n = { ...t };
|
|
1248
1245
|
for (let r in t) {
|
|
1249
1246
|
let i = e[r], a = t[r];
|
|
@@ -1260,7 +1257,7 @@ function Cn(e, t) {
|
|
|
1260
1257
|
...n
|
|
1261
1258
|
};
|
|
1262
1259
|
}
|
|
1263
|
-
function
|
|
1260
|
+
function On(e) {
|
|
1264
1261
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
1265
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);
|
|
1266
1263
|
}
|
|
@@ -1285,7 +1282,7 @@ var V = [
|
|
|
1285
1282
|
"svg",
|
|
1286
1283
|
"ul"
|
|
1287
1284
|
].reduce((e, t) => {
|
|
1288
|
-
let n = /* @__PURE__ */
|
|
1285
|
+
let n = /* @__PURE__ */ Cn(`Primitive.${t}`), r = P.forwardRef((e, r) => {
|
|
1289
1286
|
let { asChild: i, ...a } = e, o = i ? n : t;
|
|
1290
1287
|
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ (0, F.jsx)(o, {
|
|
1291
1288
|
...a,
|
|
@@ -1297,12 +1294,12 @@ var V = [
|
|
|
1297
1294
|
[t]: r
|
|
1298
1295
|
};
|
|
1299
1296
|
}, {});
|
|
1300
|
-
function
|
|
1301
|
-
e &&
|
|
1297
|
+
function kn(e, t) {
|
|
1298
|
+
e && vt.flushSync(() => e.dispatchEvent(t));
|
|
1302
1299
|
}
|
|
1303
1300
|
//#endregion
|
|
1304
1301
|
//#region ../node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
|
|
1305
|
-
function
|
|
1302
|
+
function An(e) {
|
|
1306
1303
|
let t = P.useRef(e);
|
|
1307
1304
|
return P.useEffect(() => {
|
|
1308
1305
|
t.current = e;
|
|
@@ -1310,8 +1307,8 @@ function En(e) {
|
|
|
1310
1307
|
}
|
|
1311
1308
|
//#endregion
|
|
1312
1309
|
//#region ../node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs
|
|
1313
|
-
function
|
|
1314
|
-
let n =
|
|
1310
|
+
function jn(e, t = globalThis?.document) {
|
|
1311
|
+
let n = An(e);
|
|
1315
1312
|
P.useEffect(() => {
|
|
1316
1313
|
let e = (e) => {
|
|
1317
1314
|
e.key === "Escape" && n(e);
|
|
@@ -1321,23 +1318,23 @@ function Dn(e, t = globalThis?.document) {
|
|
|
1321
1318
|
}
|
|
1322
1319
|
//#endregion
|
|
1323
1320
|
//#region ../node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
|
|
1324
|
-
var
|
|
1321
|
+
var Mn = "DismissableLayer", Nn = "dismissableLayer.update", Pn = "dismissableLayer.pointerDownOutside", Fn = "dismissableLayer.focusOutside", In, Ln = P.createContext({
|
|
1325
1322
|
layers: /* @__PURE__ */ new Set(),
|
|
1326
1323
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
1327
1324
|
branches: /* @__PURE__ */ new Set()
|
|
1328
|
-
}),
|
|
1329
|
-
let { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: o, onDismiss: s, ...c } = e, l = P.useContext(
|
|
1325
|
+
}), Rn = P.forwardRef((e, t) => {
|
|
1326
|
+
let { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: o, onDismiss: s, ...c } = e, l = P.useContext(Ln), [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 = Vn((e) => {
|
|
1330
1327
|
let t = e.target, n = [...l.branches].some((e) => e.contains(t));
|
|
1331
1328
|
!b || n || (i?.(e), o?.(e), e.defaultPrevented || s?.());
|
|
1332
|
-
}, f), S =
|
|
1329
|
+
}, f), S = Hn((e) => {
|
|
1333
1330
|
let t = e.target;
|
|
1334
1331
|
[...l.branches].some((e) => e.contains(t)) || (a?.(e), o?.(e), e.defaultPrevented || s?.());
|
|
1335
1332
|
}, f);
|
|
1336
|
-
return
|
|
1333
|
+
return jn((e) => {
|
|
1337
1334
|
v === l.layers.size - 1 && (r?.(e), !e.defaultPrevented && s && (e.preventDefault(), s()));
|
|
1338
1335
|
}, f), P.useEffect(() => {
|
|
1339
|
-
if (u) return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (
|
|
1340
|
-
n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (f.body.style.pointerEvents =
|
|
1336
|
+
if (u) return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (In = f.body.style.pointerEvents, f.body.style.pointerEvents = "none"), l.layersWithOutsidePointerEventsDisabled.add(u)), l.layers.add(u), Un(), () => {
|
|
1337
|
+
n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (f.body.style.pointerEvents = In);
|
|
1341
1338
|
};
|
|
1342
1339
|
}, [
|
|
1343
1340
|
u,
|
|
@@ -1345,10 +1342,10 @@ var On = "DismissableLayer", kn = "dismissableLayer.update", An = "dismissableLa
|
|
|
1345
1342
|
n,
|
|
1346
1343
|
l
|
|
1347
1344
|
]), P.useEffect(() => () => {
|
|
1348
|
-
u && (l.layers.delete(u), l.layersWithOutsidePointerEventsDisabled.delete(u),
|
|
1345
|
+
u && (l.layers.delete(u), l.layersWithOutsidePointerEventsDisabled.delete(u), Un());
|
|
1349
1346
|
}, [u, l]), P.useEffect(() => {
|
|
1350
1347
|
let e = () => p({});
|
|
1351
|
-
return document.addEventListener(
|
|
1348
|
+
return document.addEventListener(Nn, e), () => document.removeEventListener(Nn, e);
|
|
1352
1349
|
}, []), /* @__PURE__ */ (0, F.jsx)(V.div, {
|
|
1353
1350
|
...c,
|
|
1354
1351
|
ref: m,
|
|
@@ -1361,9 +1358,9 @@ var On = "DismissableLayer", kn = "dismissableLayer.update", An = "dismissableLa
|
|
|
1361
1358
|
onPointerDownCapture: z(e.onPointerDownCapture, x.onPointerDownCapture)
|
|
1362
1359
|
});
|
|
1363
1360
|
});
|
|
1364
|
-
|
|
1365
|
-
var
|
|
1366
|
-
let n = P.useContext(
|
|
1361
|
+
Rn.displayName = Mn;
|
|
1362
|
+
var zn = "DismissableLayerBranch", Bn = P.forwardRef((e, t) => {
|
|
1363
|
+
let n = P.useContext(Ln), r = P.useRef(null), i = B(t, r);
|
|
1367
1364
|
return P.useEffect(() => {
|
|
1368
1365
|
let e = r.current;
|
|
1369
1366
|
if (e) return n.branches.add(e), () => {
|
|
@@ -1374,14 +1371,14 @@ var Fn = "DismissableLayerBranch", In = P.forwardRef((e, t) => {
|
|
|
1374
1371
|
ref: i
|
|
1375
1372
|
});
|
|
1376
1373
|
});
|
|
1377
|
-
|
|
1378
|
-
function
|
|
1379
|
-
let n =
|
|
1374
|
+
Bn.displayName = zn;
|
|
1375
|
+
function Vn(e, t = globalThis?.document) {
|
|
1376
|
+
let n = An(e), r = P.useRef(!1), i = P.useRef(() => {});
|
|
1380
1377
|
return P.useEffect(() => {
|
|
1381
1378
|
let e = (e) => {
|
|
1382
1379
|
if (e.target && !r.current) {
|
|
1383
1380
|
let r = function() {
|
|
1384
|
-
|
|
1381
|
+
Wn(Pn, n, a, { discrete: !0 });
|
|
1385
1382
|
}, a = { originalEvent: e };
|
|
1386
1383
|
e.pointerType === "touch" ? (t.removeEventListener("click", i.current), i.current = r, t.addEventListener("click", i.current, { once: !0 })) : r();
|
|
1387
1384
|
} else t.removeEventListener("click", i.current);
|
|
@@ -1394,11 +1391,11 @@ function Ln(e, t = globalThis?.document) {
|
|
|
1394
1391
|
};
|
|
1395
1392
|
}, [t, n]), { onPointerDownCapture: () => r.current = !0 };
|
|
1396
1393
|
}
|
|
1397
|
-
function
|
|
1398
|
-
let n =
|
|
1394
|
+
function Hn(e, t = globalThis?.document) {
|
|
1395
|
+
let n = An(e), r = P.useRef(!1);
|
|
1399
1396
|
return P.useEffect(() => {
|
|
1400
1397
|
let e = (e) => {
|
|
1401
|
-
e.target && !r.current &&
|
|
1398
|
+
e.target && !r.current && Wn(Fn, n, { originalEvent: e }, { discrete: !1 });
|
|
1402
1399
|
};
|
|
1403
1400
|
return t.addEventListener("focusin", e), () => t.removeEventListener("focusin", e);
|
|
1404
1401
|
}, [t, n]), {
|
|
@@ -1406,40 +1403,40 @@ function Rn(e, t = globalThis?.document) {
|
|
|
1406
1403
|
onBlurCapture: () => r.current = !1
|
|
1407
1404
|
};
|
|
1408
1405
|
}
|
|
1409
|
-
function
|
|
1410
|
-
let e = new CustomEvent(
|
|
1406
|
+
function Un() {
|
|
1407
|
+
let e = new CustomEvent(Nn);
|
|
1411
1408
|
document.dispatchEvent(e);
|
|
1412
1409
|
}
|
|
1413
|
-
function
|
|
1410
|
+
function Wn(e, t, n, { discrete: r }) {
|
|
1414
1411
|
let i = n.originalEvent.target, a = new CustomEvent(e, {
|
|
1415
1412
|
bubbles: !1,
|
|
1416
1413
|
cancelable: !0,
|
|
1417
1414
|
detail: n
|
|
1418
1415
|
});
|
|
1419
|
-
t && i.addEventListener(e, t, { once: !0 }), r ?
|
|
1416
|
+
t && i.addEventListener(e, t, { once: !0 }), r ? kn(i, a) : i.dispatchEvent(a);
|
|
1420
1417
|
}
|
|
1421
1418
|
//#endregion
|
|
1422
1419
|
//#region ../node_modules/@radix-ui/react-focus-guards/dist/index.mjs
|
|
1423
|
-
var
|
|
1424
|
-
function
|
|
1420
|
+
var Gn = 0;
|
|
1421
|
+
function Kn() {
|
|
1425
1422
|
P.useEffect(() => {
|
|
1426
1423
|
let e = document.querySelectorAll("[data-radix-focus-guard]");
|
|
1427
|
-
return document.body.insertAdjacentElement("afterbegin", e[0] ??
|
|
1428
|
-
|
|
1424
|
+
return document.body.insertAdjacentElement("afterbegin", e[0] ?? qn()), document.body.insertAdjacentElement("beforeend", e[1] ?? qn()), Gn++, () => {
|
|
1425
|
+
Gn === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((e) => e.remove()), Gn--;
|
|
1429
1426
|
};
|
|
1430
1427
|
}, []);
|
|
1431
1428
|
}
|
|
1432
|
-
function
|
|
1429
|
+
function qn() {
|
|
1433
1430
|
let e = document.createElement("span");
|
|
1434
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;
|
|
1435
1432
|
}
|
|
1436
1433
|
//#endregion
|
|
1437
1434
|
//#region ../node_modules/@radix-ui/react-focus-scope/dist/index.mjs
|
|
1438
|
-
var
|
|
1435
|
+
var Jn = "focusScope.autoFocusOnMount", Yn = "focusScope.autoFocusOnUnmount", Xn = {
|
|
1439
1436
|
bubbles: !1,
|
|
1440
1437
|
cancelable: !0
|
|
1441
|
-
},
|
|
1442
|
-
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [s, c] = P.useState(null), l =
|
|
1438
|
+
}, Zn = "FocusScope", Qn = P.forwardRef((e, t) => {
|
|
1439
|
+
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [s, c] = P.useState(null), l = An(i), u = An(a), d = P.useRef(null), f = B(t, (e) => c(e)), p = P.useRef({
|
|
1443
1440
|
paused: !1,
|
|
1444
1441
|
pause() {
|
|
1445
1442
|
this.paused = !0;
|
|
@@ -1453,13 +1450,13 @@ var Wn = "focusScope.autoFocusOnMount", Gn = "focusScope.autoFocusOnUnmount", Kn
|
|
|
1453
1450
|
let e = function(e) {
|
|
1454
1451
|
if (p.paused || !s) return;
|
|
1455
1452
|
let t = e.target;
|
|
1456
|
-
s.contains(t) ? d.current = t :
|
|
1453
|
+
s.contains(t) ? d.current = t : ar(d.current, { select: !0 });
|
|
1457
1454
|
}, t = function(e) {
|
|
1458
1455
|
if (p.paused || !s) return;
|
|
1459
1456
|
let t = e.relatedTarget;
|
|
1460
|
-
t !== null && (s.contains(t) ||
|
|
1457
|
+
t !== null && (s.contains(t) || ar(d.current, { select: !0 }));
|
|
1461
1458
|
}, n = function(e) {
|
|
1462
|
-
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 && ar(s);
|
|
1463
1460
|
};
|
|
1464
1461
|
document.addEventListener("focusin", e), document.addEventListener("focusout", t);
|
|
1465
1462
|
let r = new MutationObserver(n);
|
|
@@ -1476,16 +1473,16 @@ var Wn = "focusScope.autoFocusOnMount", Gn = "focusScope.autoFocusOnUnmount", Kn
|
|
|
1476
1473
|
p.paused
|
|
1477
1474
|
]), P.useEffect(() => {
|
|
1478
1475
|
if (s) {
|
|
1479
|
-
|
|
1476
|
+
or.add(p);
|
|
1480
1477
|
let e = document.activeElement;
|
|
1481
1478
|
if (!s.contains(e)) {
|
|
1482
|
-
let t = new CustomEvent(
|
|
1483
|
-
s.addEventListener(
|
|
1479
|
+
let t = new CustomEvent(Jn, Xn);
|
|
1480
|
+
s.addEventListener(Jn, l), s.dispatchEvent(t), t.defaultPrevented || ($n(lr(tr(s)), { select: !0 }), document.activeElement === e && ar(s));
|
|
1484
1481
|
}
|
|
1485
1482
|
return () => {
|
|
1486
|
-
s.removeEventListener(
|
|
1487
|
-
let t = new CustomEvent(
|
|
1488
|
-
s.addEventListener(
|
|
1483
|
+
s.removeEventListener(Jn, l), setTimeout(() => {
|
|
1484
|
+
let t = new CustomEvent(Yn, Xn);
|
|
1485
|
+
s.addEventListener(Yn, u), s.dispatchEvent(t), t.defaultPrevented || ar(e ?? document.body, { select: !0 }), s.removeEventListener(Yn, u), or.remove(p);
|
|
1489
1486
|
}, 0);
|
|
1490
1487
|
};
|
|
1491
1488
|
}
|
|
@@ -1499,8 +1496,8 @@ var Wn = "focusScope.autoFocusOnMount", Gn = "focusScope.autoFocusOnUnmount", Kn
|
|
|
1499
1496
|
if (!n && !r || p.paused) return;
|
|
1500
1497
|
let t = e.key === "Tab" && !e.altKey && !e.ctrlKey && !e.metaKey, i = document.activeElement;
|
|
1501
1498
|
if (t && i) {
|
|
1502
|
-
let t = e.currentTarget, [r, a] =
|
|
1503
|
-
r && a ? !e.shiftKey && i === a ? (e.preventDefault(), n &&
|
|
1499
|
+
let t = e.currentTarget, [r, a] = er(t);
|
|
1500
|
+
r && a ? !e.shiftKey && i === a ? (e.preventDefault(), n && ar(r, { select: !0 })) : e.shiftKey && i === r && (e.preventDefault(), n && ar(a, { select: !0 })) : i === t && e.preventDefault();
|
|
1504
1501
|
}
|
|
1505
1502
|
}, [
|
|
1506
1503
|
n,
|
|
@@ -1514,16 +1511,16 @@ var Wn = "focusScope.autoFocusOnMount", Gn = "focusScope.autoFocusOnUnmount", Kn
|
|
|
1514
1511
|
onKeyDown: m
|
|
1515
1512
|
});
|
|
1516
1513
|
});
|
|
1517
|
-
|
|
1518
|
-
function
|
|
1514
|
+
Qn.displayName = Zn;
|
|
1515
|
+
function $n(e, { select: t = !1 } = {}) {
|
|
1519
1516
|
let n = document.activeElement;
|
|
1520
|
-
for (let r of e) if (
|
|
1517
|
+
for (let r of e) if (ar(r, { select: t }), document.activeElement !== n) return;
|
|
1521
1518
|
}
|
|
1522
|
-
function
|
|
1523
|
-
let t =
|
|
1524
|
-
return [
|
|
1519
|
+
function er(e) {
|
|
1520
|
+
let t = tr(e);
|
|
1521
|
+
return [nr(t, e), nr(t.reverse(), e)];
|
|
1525
1522
|
}
|
|
1526
|
-
function
|
|
1523
|
+
function tr(e) {
|
|
1527
1524
|
let t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, { acceptNode: (e) => {
|
|
1528
1525
|
let t = e.tagName === "INPUT" && e.type === "hidden";
|
|
1529
1526
|
return e.disabled || e.hidden || t ? NodeFilter.FILTER_SKIP : e.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
|
|
@@ -1531,10 +1528,10 @@ function Zn(e) {
|
|
|
1531
1528
|
for (; n.nextNode();) t.push(n.currentNode);
|
|
1532
1529
|
return t;
|
|
1533
1530
|
}
|
|
1534
|
-
function
|
|
1535
|
-
for (let n of e) if (
|
|
1531
|
+
function nr(e, t) {
|
|
1532
|
+
for (let n of e) if (!rr(n, { upTo: t })) return n;
|
|
1536
1533
|
}
|
|
1537
|
-
function
|
|
1534
|
+
function rr(e, { upTo: t }) {
|
|
1538
1535
|
if (getComputedStyle(e).visibility === "hidden") return !0;
|
|
1539
1536
|
for (; e;) {
|
|
1540
1537
|
if (t !== void 0 && e === t) return !1;
|
|
@@ -1543,120 +1540,120 @@ function $n(e, { upTo: t }) {
|
|
|
1543
1540
|
}
|
|
1544
1541
|
return !1;
|
|
1545
1542
|
}
|
|
1546
|
-
function
|
|
1543
|
+
function ir(e) {
|
|
1547
1544
|
return e instanceof HTMLInputElement && "select" in e;
|
|
1548
1545
|
}
|
|
1549
|
-
function
|
|
1546
|
+
function ar(e, { select: t = !1 } = {}) {
|
|
1550
1547
|
if (e && e.focus) {
|
|
1551
1548
|
let n = document.activeElement;
|
|
1552
|
-
e.focus({ preventScroll: !0 }), e !== n &&
|
|
1549
|
+
e.focus({ preventScroll: !0 }), e !== n && ir(e) && t && e.select();
|
|
1553
1550
|
}
|
|
1554
1551
|
}
|
|
1555
|
-
var
|
|
1556
|
-
function
|
|
1552
|
+
var or = sr();
|
|
1553
|
+
function sr() {
|
|
1557
1554
|
let e = [];
|
|
1558
1555
|
return {
|
|
1559
1556
|
add(t) {
|
|
1560
1557
|
let n = e[0];
|
|
1561
|
-
t !== n && n?.pause(), e =
|
|
1558
|
+
t !== n && n?.pause(), e = cr(e, t), e.unshift(t);
|
|
1562
1559
|
},
|
|
1563
1560
|
remove(t) {
|
|
1564
|
-
e =
|
|
1561
|
+
e = cr(e, t), e[0]?.resume();
|
|
1565
1562
|
}
|
|
1566
1563
|
};
|
|
1567
1564
|
}
|
|
1568
|
-
function
|
|
1565
|
+
function cr(e, t) {
|
|
1569
1566
|
let n = [...e], r = n.indexOf(t);
|
|
1570
1567
|
return r !== -1 && n.splice(r, 1), n;
|
|
1571
1568
|
}
|
|
1572
|
-
function
|
|
1569
|
+
function lr(e) {
|
|
1573
1570
|
return e.filter((e) => e.tagName !== "A");
|
|
1574
1571
|
}
|
|
1575
1572
|
//#endregion
|
|
1576
1573
|
//#region ../node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
|
|
1577
|
-
var
|
|
1578
|
-
function
|
|
1579
|
-
let [t, n] = P.useState(
|
|
1580
|
-
return
|
|
1581
|
-
e || n((e) => e ?? String(
|
|
1574
|
+
var ur = globalThis?.document ? P.useLayoutEffect : () => {}, dr = P.useId || (() => void 0), fr = 0;
|
|
1575
|
+
function pr(e) {
|
|
1576
|
+
let [t, n] = P.useState(dr());
|
|
1577
|
+
return ur(() => {
|
|
1578
|
+
e || n((e) => e ?? String(fr++));
|
|
1582
1579
|
}, [e]), e || (t ? `radix-${t}` : "");
|
|
1583
1580
|
}
|
|
1584
1581
|
//#endregion
|
|
1585
1582
|
//#region ../node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
|
|
1586
|
-
var
|
|
1583
|
+
var mr = [
|
|
1587
1584
|
"top",
|
|
1588
1585
|
"right",
|
|
1589
1586
|
"bottom",
|
|
1590
1587
|
"left"
|
|
1591
|
-
],
|
|
1588
|
+
], hr = Math.min, H = Math.max, gr = Math.round, _r = Math.floor, U = (e) => ({
|
|
1592
1589
|
x: e,
|
|
1593
1590
|
y: e
|
|
1594
|
-
}),
|
|
1591
|
+
}), vr = {
|
|
1595
1592
|
left: "right",
|
|
1596
1593
|
right: "left",
|
|
1597
1594
|
bottom: "top",
|
|
1598
1595
|
top: "bottom"
|
|
1599
1596
|
};
|
|
1600
|
-
function
|
|
1601
|
-
return
|
|
1597
|
+
function yr(e, t, n) {
|
|
1598
|
+
return H(e, hr(t, n));
|
|
1602
1599
|
}
|
|
1603
|
-
function
|
|
1600
|
+
function W(e, t) {
|
|
1604
1601
|
return typeof e == "function" ? e(t) : e;
|
|
1605
1602
|
}
|
|
1606
|
-
function
|
|
1603
|
+
function G(e) {
|
|
1607
1604
|
return e.split("-")[0];
|
|
1608
1605
|
}
|
|
1609
|
-
function
|
|
1606
|
+
function br(e) {
|
|
1610
1607
|
return e.split("-")[1];
|
|
1611
1608
|
}
|
|
1612
|
-
function
|
|
1609
|
+
function xr(e) {
|
|
1613
1610
|
return e === "x" ? "y" : "x";
|
|
1614
1611
|
}
|
|
1615
|
-
function
|
|
1612
|
+
function Sr(e) {
|
|
1616
1613
|
return e === "y" ? "height" : "width";
|
|
1617
1614
|
}
|
|
1618
|
-
function
|
|
1615
|
+
function K(e) {
|
|
1619
1616
|
let t = e[0];
|
|
1620
1617
|
return t === "t" || t === "b" ? "y" : "x";
|
|
1621
1618
|
}
|
|
1622
|
-
function
|
|
1623
|
-
return
|
|
1619
|
+
function Cr(e) {
|
|
1620
|
+
return xr(K(e));
|
|
1624
1621
|
}
|
|
1625
|
-
function
|
|
1622
|
+
function wr(e, t, n) {
|
|
1626
1623
|
n === void 0 && (n = !1);
|
|
1627
|
-
let r =
|
|
1628
|
-
return t.reference[a] > t.floating[a] && (o =
|
|
1624
|
+
let r = br(e), i = Cr(e), a = Sr(i), o = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
|
|
1625
|
+
return t.reference[a] > t.floating[a] && (o = Nr(o)), [o, Nr(o)];
|
|
1629
1626
|
}
|
|
1630
|
-
function
|
|
1631
|
-
let t =
|
|
1627
|
+
function Tr(e) {
|
|
1628
|
+
let t = Nr(e);
|
|
1632
1629
|
return [
|
|
1633
|
-
|
|
1630
|
+
Er(e),
|
|
1634
1631
|
t,
|
|
1635
|
-
|
|
1632
|
+
Er(t)
|
|
1636
1633
|
];
|
|
1637
1634
|
}
|
|
1638
|
-
function
|
|
1635
|
+
function Er(e) {
|
|
1639
1636
|
return e.includes("start") ? e.replace("start", "end") : e.replace("end", "start");
|
|
1640
1637
|
}
|
|
1641
|
-
var
|
|
1642
|
-
function
|
|
1638
|
+
var Dr = ["left", "right"], Or = ["right", "left"], kr = ["top", "bottom"], Ar = ["bottom", "top"];
|
|
1639
|
+
function jr(e, t, n) {
|
|
1643
1640
|
switch (e) {
|
|
1644
1641
|
case "top":
|
|
1645
|
-
case "bottom": return n ? t ?
|
|
1642
|
+
case "bottom": return n ? t ? Or : Dr : t ? Dr : Or;
|
|
1646
1643
|
case "left":
|
|
1647
|
-
case "right": return t ?
|
|
1644
|
+
case "right": return t ? kr : Ar;
|
|
1648
1645
|
default: return [];
|
|
1649
1646
|
}
|
|
1650
1647
|
}
|
|
1651
|
-
function
|
|
1652
|
-
let i =
|
|
1653
|
-
return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(
|
|
1648
|
+
function Mr(e, t, n, r) {
|
|
1649
|
+
let i = br(e), a = jr(G(e), n === "start", r);
|
|
1650
|
+
return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(Er)))), a;
|
|
1654
1651
|
}
|
|
1655
|
-
function
|
|
1656
|
-
let t =
|
|
1657
|
-
return
|
|
1652
|
+
function Nr(e) {
|
|
1653
|
+
let t = G(e);
|
|
1654
|
+
return vr[t] + e.slice(t.length);
|
|
1658
1655
|
}
|
|
1659
|
-
function
|
|
1656
|
+
function Pr(e) {
|
|
1660
1657
|
return {
|
|
1661
1658
|
top: 0,
|
|
1662
1659
|
right: 0,
|
|
@@ -1665,15 +1662,15 @@ function kr(e) {
|
|
|
1665
1662
|
...e
|
|
1666
1663
|
};
|
|
1667
1664
|
}
|
|
1668
|
-
function
|
|
1665
|
+
function Fr(e) {
|
|
1669
1666
|
return typeof e == "number" ? {
|
|
1670
1667
|
top: e,
|
|
1671
1668
|
right: e,
|
|
1672
1669
|
bottom: e,
|
|
1673
1670
|
left: e
|
|
1674
|
-
} :
|
|
1671
|
+
} : Pr(e);
|
|
1675
1672
|
}
|
|
1676
|
-
function
|
|
1673
|
+
function Ir(e) {
|
|
1677
1674
|
let { x: t, y: n, width: r, height: i } = e;
|
|
1678
1675
|
return {
|
|
1679
1676
|
width: r,
|
|
@@ -1688,8 +1685,8 @@ function jr(e) {
|
|
|
1688
1685
|
}
|
|
1689
1686
|
//#endregion
|
|
1690
1687
|
//#region ../node_modules/@floating-ui/core/dist/floating-ui.core.mjs
|
|
1691
|
-
function
|
|
1692
|
-
let { reference: r, floating: i } = e, a =
|
|
1688
|
+
function Lr(e, t, n) {
|
|
1689
|
+
let { reference: r, floating: i } = e, a = K(t), o = Cr(t), s = Sr(o), c = G(t), l = a === "y", u = r.x + r.width / 2 - i.width / 2, d = r.y + r.height / 2 - i.height / 2, f = r[s] / 2 - i[s] / 2, p;
|
|
1693
1690
|
switch (c) {
|
|
1694
1691
|
case "top":
|
|
1695
1692
|
p = {
|
|
@@ -1720,7 +1717,7 @@ function Mr(e, t, n) {
|
|
|
1720
1717
|
y: r.y
|
|
1721
1718
|
};
|
|
1722
1719
|
}
|
|
1723
|
-
switch (
|
|
1720
|
+
switch (br(t)) {
|
|
1724
1721
|
case "start":
|
|
1725
1722
|
p[o] -= f * (n && l ? -1 : 1);
|
|
1726
1723
|
break;
|
|
@@ -1730,9 +1727,9 @@ function Mr(e, t, n) {
|
|
|
1730
1727
|
}
|
|
1731
1728
|
return p;
|
|
1732
1729
|
}
|
|
1733
|
-
async function
|
|
1730
|
+
async function Rr(e, t) {
|
|
1734
1731
|
t === void 0 && (t = {});
|
|
1735
|
-
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 } =
|
|
1732
|
+
let { x: n, y: r, platform: i, rects: a, elements: o, strategy: s } = e, { boundary: c = "clippingAncestors", rootBoundary: l = "viewport", elementContext: u = "floating", altBoundary: d = !1, padding: f = 0 } = W(t, e), p = Fr(f), m = o[d ? u === "floating" ? "reference" : "floating" : u], h = Ir(await i.getClippingRect({
|
|
1736
1733
|
element: await (i.isElement == null ? void 0 : i.isElement(m)) ?? !0 ? m : m.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(o.floating)),
|
|
1737
1734
|
boundary: c,
|
|
1738
1735
|
rootBoundary: l,
|
|
@@ -1745,7 +1742,7 @@ async function Nr(e, t) {
|
|
|
1745
1742
|
} : 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(_)) || {
|
|
1746
1743
|
x: 1,
|
|
1747
1744
|
y: 1
|
|
1748
|
-
}, y =
|
|
1745
|
+
}, y = Ir(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
1749
1746
|
elements: o,
|
|
1750
1747
|
rect: g,
|
|
1751
1748
|
offsetParent: _,
|
|
@@ -1758,15 +1755,15 @@ async function Nr(e, t) {
|
|
|
1758
1755
|
right: (y.right - h.right + p.right) / v.x
|
|
1759
1756
|
};
|
|
1760
1757
|
}
|
|
1761
|
-
var
|
|
1758
|
+
var zr = 50, Br = async (e, t, n) => {
|
|
1762
1759
|
let { placement: r = "bottom", strategy: i = "absolute", middleware: a = [], platform: o } = n, s = o.detectOverflow ? o : {
|
|
1763
1760
|
...o,
|
|
1764
|
-
detectOverflow:
|
|
1761
|
+
detectOverflow: Rr
|
|
1765
1762
|
}, c = await (o.isRTL == null ? void 0 : o.isRTL(t)), l = await o.getElementRects({
|
|
1766
1763
|
reference: e,
|
|
1767
1764
|
floating: t,
|
|
1768
1765
|
strategy: i
|
|
1769
|
-
}), { x: u, y: d } =
|
|
1766
|
+
}), { x: u, y: d } = Lr(l, r, c), f = r, p = 0, m = {};
|
|
1770
1767
|
for (let n = 0; n < a.length; n++) {
|
|
1771
1768
|
let h = a[n];
|
|
1772
1769
|
if (!h) continue;
|
|
@@ -1787,11 +1784,11 @@ var Pr = 50, Fr = async (e, t, n) => {
|
|
|
1787
1784
|
u = v ?? u, d = y ?? d, m[g] = {
|
|
1788
1785
|
...m[g],
|
|
1789
1786
|
...b
|
|
1790
|
-
}, x && p <
|
|
1787
|
+
}, x && p < zr && (p++, typeof x == "object" && (x.placement && (f = x.placement), x.rects && (l = x.rects === !0 ? await o.getElementRects({
|
|
1791
1788
|
reference: e,
|
|
1792
1789
|
floating: t,
|
|
1793
1790
|
strategy: i
|
|
1794
|
-
}) : x.rects), {x: u, y: d} =
|
|
1791
|
+
}) : x.rects), {x: u, y: d} = Lr(l, f, c)), n = -1);
|
|
1795
1792
|
}
|
|
1796
1793
|
return {
|
|
1797
1794
|
x: u,
|
|
@@ -1800,41 +1797,41 @@ var Pr = 50, Fr = async (e, t, n) => {
|
|
|
1800
1797
|
strategy: i,
|
|
1801
1798
|
middlewareData: m
|
|
1802
1799
|
};
|
|
1803
|
-
},
|
|
1800
|
+
}, Vr = (e) => ({
|
|
1804
1801
|
name: "arrow",
|
|
1805
1802
|
options: e,
|
|
1806
1803
|
async fn(t) {
|
|
1807
|
-
let { x: n, y: r, placement: i, rects: a, platform: o, elements: s, middlewareData: c } = t, { element: l, padding: u = 0 } =
|
|
1804
|
+
let { x: n, y: r, placement: i, rects: a, platform: o, elements: s, middlewareData: c } = t, { element: l, padding: u = 0 } = W(e, t) || {};
|
|
1808
1805
|
if (l == null) return {};
|
|
1809
|
-
let d =
|
|
1806
|
+
let d = Fr(u), f = {
|
|
1810
1807
|
x: n,
|
|
1811
1808
|
y: r
|
|
1812
|
-
}, p =
|
|
1809
|
+
}, p = Cr(i), m = Sr(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;
|
|
1813
1810
|
(!C || !await (o.isElement == null ? void 0 : o.isElement(S))) && (C = s.floating[y] || a.floating[m]);
|
|
1814
|
-
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1,
|
|
1811
|
+
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1, ee = hr(d[_], T), E = hr(d[v], T), te = ee, D = C - h[m] - E, O = C / 2 - h[m] / 2 + w, k = yr(te, O, D), A = !c.arrow && br(i) != null && O !== k && a.reference[m] / 2 - (O < te ? ee : E) - h[m] / 2 < 0, j = A ? O < te ? O - te : O - D : 0;
|
|
1815
1812
|
return {
|
|
1816
1813
|
[p]: f[p] + j,
|
|
1817
1814
|
data: {
|
|
1818
|
-
[p]:
|
|
1819
|
-
centerOffset:
|
|
1815
|
+
[p]: k,
|
|
1816
|
+
centerOffset: O - k - j,
|
|
1820
1817
|
...A && { alignmentOffset: j }
|
|
1821
1818
|
},
|
|
1822
1819
|
reset: A
|
|
1823
1820
|
};
|
|
1824
1821
|
}
|
|
1825
|
-
}),
|
|
1822
|
+
}), Hr = function(e) {
|
|
1826
1823
|
return e === void 0 && (e = {}), {
|
|
1827
1824
|
name: "flip",
|
|
1828
1825
|
options: e,
|
|
1829
1826
|
async fn(t) {
|
|
1830
1827
|
var n;
|
|
1831
|
-
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 } =
|
|
1828
|
+
let { placement: r, middlewareData: i, rects: a, initialPlacement: o, platform: s, elements: c } = t, { mainAxis: l = !0, crossAxis: u = !0, fallbackPlacements: d, fallbackStrategy: f = "bestFit", fallbackAxisSideDirection: p = "none", flipAlignment: m = !0, ...h } = W(e, t);
|
|
1832
1829
|
if ((n = i.arrow) != null && n.alignmentOffset) return {};
|
|
1833
|
-
let g =
|
|
1834
|
-
!d && x && b.push(...
|
|
1830
|
+
let g = G(r), _ = K(o), v = G(o) === o, y = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), b = d || (v || !m ? [Nr(o)] : Tr(o)), x = p !== "none";
|
|
1831
|
+
!d && x && b.push(...Mr(o, m, p, y));
|
|
1835
1832
|
let S = [o, ...b], C = await s.detectOverflow(t, h), w = [], T = i.flip?.overflows || [];
|
|
1836
1833
|
if (l && w.push(C[g]), u) {
|
|
1837
|
-
let e =
|
|
1834
|
+
let e = wr(r, a, y);
|
|
1838
1835
|
w.push(C[e[0]], C[e[1]]);
|
|
1839
1836
|
}
|
|
1840
1837
|
if (T = [...T, {
|
|
@@ -1842,7 +1839,7 @@ var Pr = 50, Fr = async (e, t, n) => {
|
|
|
1842
1839
|
overflows: w
|
|
1843
1840
|
}], !w.every((e) => e <= 0)) {
|
|
1844
1841
|
let e = (i.flip?.index || 0) + 1, t = S[e];
|
|
1845
|
-
if (t && (!(u === "alignment" && _ !==
|
|
1842
|
+
if (t && (!(u === "alignment" && _ !== K(t)) || T.every((e) => K(e.placement) === _ ? e.overflows[0] > 0 : !0))) return {
|
|
1846
1843
|
data: {
|
|
1847
1844
|
index: e,
|
|
1848
1845
|
overflows: T
|
|
@@ -1854,7 +1851,7 @@ var Pr = 50, Fr = async (e, t, n) => {
|
|
|
1854
1851
|
case "bestFit": {
|
|
1855
1852
|
let e = T.filter((e) => {
|
|
1856
1853
|
if (x) {
|
|
1857
|
-
let t =
|
|
1854
|
+
let t = K(e.placement);
|
|
1858
1855
|
return t === _ || t === "y";
|
|
1859
1856
|
}
|
|
1860
1857
|
return !0;
|
|
@@ -1872,7 +1869,7 @@ var Pr = 50, Fr = async (e, t, n) => {
|
|
|
1872
1869
|
}
|
|
1873
1870
|
};
|
|
1874
1871
|
};
|
|
1875
|
-
function
|
|
1872
|
+
function Ur(e, t) {
|
|
1876
1873
|
return {
|
|
1877
1874
|
top: e.top - t.height,
|
|
1878
1875
|
right: e.right - t.width,
|
|
@@ -1880,43 +1877,43 @@ function Rr(e, t) {
|
|
|
1880
1877
|
left: e.left - t.width
|
|
1881
1878
|
};
|
|
1882
1879
|
}
|
|
1883
|
-
function
|
|
1884
|
-
return
|
|
1880
|
+
function Wr(e) {
|
|
1881
|
+
return mr.some((t) => e[t] >= 0);
|
|
1885
1882
|
}
|
|
1886
|
-
var
|
|
1883
|
+
var Gr = function(e) {
|
|
1887
1884
|
return e === void 0 && (e = {}), {
|
|
1888
1885
|
name: "hide",
|
|
1889
1886
|
options: e,
|
|
1890
1887
|
async fn(t) {
|
|
1891
|
-
let { rects: n, platform: r } = t, { strategy: i = "referenceHidden", ...a } =
|
|
1888
|
+
let { rects: n, platform: r } = t, { strategy: i = "referenceHidden", ...a } = W(e, t);
|
|
1892
1889
|
switch (i) {
|
|
1893
1890
|
case "referenceHidden": {
|
|
1894
|
-
let e =
|
|
1891
|
+
let e = Ur(await r.detectOverflow(t, {
|
|
1895
1892
|
...a,
|
|
1896
1893
|
elementContext: "reference"
|
|
1897
1894
|
}), n.reference);
|
|
1898
1895
|
return { data: {
|
|
1899
1896
|
referenceHiddenOffsets: e,
|
|
1900
|
-
referenceHidden:
|
|
1897
|
+
referenceHidden: Wr(e)
|
|
1901
1898
|
} };
|
|
1902
1899
|
}
|
|
1903
1900
|
case "escaped": {
|
|
1904
|
-
let e =
|
|
1901
|
+
let e = Ur(await r.detectOverflow(t, {
|
|
1905
1902
|
...a,
|
|
1906
1903
|
altBoundary: !0
|
|
1907
1904
|
}), n.floating);
|
|
1908
1905
|
return { data: {
|
|
1909
1906
|
escapedOffsets: e,
|
|
1910
|
-
escaped:
|
|
1907
|
+
escaped: Wr(e)
|
|
1911
1908
|
} };
|
|
1912
1909
|
}
|
|
1913
1910
|
default: return {};
|
|
1914
1911
|
}
|
|
1915
1912
|
}
|
|
1916
1913
|
};
|
|
1917
|
-
},
|
|
1918
|
-
async function
|
|
1919
|
-
let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o =
|
|
1914
|
+
}, Kr = /*#__PURE__*/ new Set(["left", "top"]);
|
|
1915
|
+
async function qr(e, t) {
|
|
1916
|
+
let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = G(n), s = br(n), c = K(n) === "y", l = Kr.has(o) ? -1 : 1, u = a && c ? -1 : 1, d = W(t, e), { mainAxis: f, crossAxis: p, alignmentAxis: m } = typeof d == "number" ? {
|
|
1920
1917
|
mainAxis: d,
|
|
1921
1918
|
crossAxis: 0,
|
|
1922
1919
|
alignmentAxis: null
|
|
@@ -1933,13 +1930,13 @@ async function Hr(e, t) {
|
|
|
1933
1930
|
y: p * u
|
|
1934
1931
|
};
|
|
1935
1932
|
}
|
|
1936
|
-
var
|
|
1933
|
+
var Jr = function(e) {
|
|
1937
1934
|
return e === void 0 && (e = 0), {
|
|
1938
1935
|
name: "offset",
|
|
1939
1936
|
options: e,
|
|
1940
1937
|
async fn(t) {
|
|
1941
1938
|
var n;
|
|
1942
|
-
let { x: r, y: i, placement: a, middlewareData: o } = t, s = await
|
|
1939
|
+
let { x: r, y: i, placement: a, middlewareData: o } = t, s = await qr(t, e);
|
|
1943
1940
|
return a === o.offset?.placement && (n = o.arrow) != null && n.alignmentOffset ? {} : {
|
|
1944
1941
|
x: r + s.x,
|
|
1945
1942
|
y: i + s.y,
|
|
@@ -1950,7 +1947,7 @@ var Ur = function(e) {
|
|
|
1950
1947
|
};
|
|
1951
1948
|
}
|
|
1952
1949
|
};
|
|
1953
|
-
},
|
|
1950
|
+
}, Yr = function(e) {
|
|
1954
1951
|
return e === void 0 && (e = {}), {
|
|
1955
1952
|
name: "shift",
|
|
1956
1953
|
options: e,
|
|
@@ -1961,17 +1958,17 @@ var Ur = function(e) {
|
|
|
1961
1958
|
x: t,
|
|
1962
1959
|
y: n
|
|
1963
1960
|
};
|
|
1964
|
-
} }, ...l } =
|
|
1961
|
+
} }, ...l } = W(e, t), u = {
|
|
1965
1962
|
x: n,
|
|
1966
1963
|
y: r
|
|
1967
|
-
}, d = await a.detectOverflow(t, l), f =
|
|
1964
|
+
}, d = await a.detectOverflow(t, l), f = K(G(i)), p = xr(f), m = u[p], h = u[f];
|
|
1968
1965
|
if (o) {
|
|
1969
1966
|
let e = p === "y" ? "top" : "left", t = p === "y" ? "bottom" : "right", n = m + d[e], r = m - d[t];
|
|
1970
|
-
m =
|
|
1967
|
+
m = yr(n, m, r);
|
|
1971
1968
|
}
|
|
1972
1969
|
if (s) {
|
|
1973
1970
|
let e = f === "y" ? "top" : "left", t = f === "y" ? "bottom" : "right", n = h + d[e], r = h - d[t];
|
|
1974
|
-
h =
|
|
1971
|
+
h = yr(n, h, r);
|
|
1975
1972
|
}
|
|
1976
1973
|
let g = c.fn({
|
|
1977
1974
|
...t,
|
|
@@ -1991,14 +1988,14 @@ var Ur = function(e) {
|
|
|
1991
1988
|
};
|
|
1992
1989
|
}
|
|
1993
1990
|
};
|
|
1994
|
-
},
|
|
1991
|
+
}, Xr = function(e) {
|
|
1995
1992
|
return e === void 0 && (e = {}), {
|
|
1996
1993
|
options: e,
|
|
1997
1994
|
fn(t) {
|
|
1998
|
-
let { x: n, y: r, placement: i, rects: a, middlewareData: o } = t, { offset: s = 0, mainAxis: c = !0, crossAxis: l = !0 } =
|
|
1995
|
+
let { x: n, y: r, placement: i, rects: a, middlewareData: o } = t, { offset: s = 0, mainAxis: c = !0, crossAxis: l = !0 } = W(e, t), u = {
|
|
1999
1996
|
x: n,
|
|
2000
1997
|
y: r
|
|
2001
|
-
}, d =
|
|
1998
|
+
}, d = K(i), f = xr(d), p = u[f], m = u[d], h = W(s, t), g = typeof h == "number" ? {
|
|
2002
1999
|
mainAxis: h,
|
|
2003
2000
|
crossAxis: 0
|
|
2004
2001
|
} : {
|
|
@@ -2011,7 +2008,7 @@ var Ur = function(e) {
|
|
|
2011
2008
|
p < t ? p = t : p > n && (p = n);
|
|
2012
2009
|
}
|
|
2013
2010
|
if (l) {
|
|
2014
|
-
let e = f === "y" ? "width" : "height", t =
|
|
2011
|
+
let e = f === "y" ? "width" : "height", t = Kr.has(G(i)), n = a.reference[d] - a.floating[e] + (t && o.offset?.[d] || 0) + (t ? 0 : g.crossAxis), r = a.reference[d] + a.reference[e] + (t ? 0 : o.offset?.[d] || 0) - (t ? g.crossAxis : 0);
|
|
2015
2012
|
m < n ? m = n : m > r && (m = r);
|
|
2016
2013
|
}
|
|
2017
2014
|
return {
|
|
@@ -2020,18 +2017,18 @@ var Ur = function(e) {
|
|
|
2020
2017
|
};
|
|
2021
2018
|
}
|
|
2022
2019
|
};
|
|
2023
|
-
},
|
|
2020
|
+
}, Zr = function(e) {
|
|
2024
2021
|
return e === void 0 && (e = {}), {
|
|
2025
2022
|
name: "size",
|
|
2026
2023
|
options: e,
|
|
2027
2024
|
async fn(t) {
|
|
2028
2025
|
var n, r;
|
|
2029
|
-
let { placement: i, rects: a, platform: o, elements: s } = t, { apply: c = () => {}, ...l } =
|
|
2026
|
+
let { placement: i, rects: a, platform: o, elements: s } = t, { apply: c = () => {}, ...l } = W(e, t), u = await o.detectOverflow(t, l), d = G(i), f = br(i), p = K(i) === "y", { width: m, height: h } = a.floating, g, _;
|
|
2030
2027
|
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");
|
|
2031
|
-
let v = h - u.top - u.bottom, y = m - u.left - u.right, b =
|
|
2028
|
+
let v = h - u.top - u.bottom, y = m - u.left - u.right, b = hr(h - u[g], v), x = hr(m - u[_], y), S = !t.middlewareData.shift, C = b, w = x;
|
|
2032
2029
|
if ((n = t.middlewareData.shift) != null && n.enabled.x && (w = y), (r = t.middlewareData.shift) != null && r.enabled.y && (C = v), S && !f) {
|
|
2033
|
-
let e =
|
|
2034
|
-
p ? w = m - 2 * (e !== 0 || t !== 0 ? e + t :
|
|
2030
|
+
let e = H(u.left, 0), t = H(u.right, 0), n = H(u.top, 0), r = H(u.bottom, 0);
|
|
2031
|
+
p ? w = m - 2 * (e !== 0 || t !== 0 ? e + t : H(u.left, u.right)) : C = h - 2 * (n !== 0 || r !== 0 ? n + r : H(u.top, u.bottom));
|
|
2035
2032
|
}
|
|
2036
2033
|
await c({
|
|
2037
2034
|
...t,
|
|
@@ -2045,39 +2042,39 @@ var Ur = function(e) {
|
|
|
2045
2042
|
};
|
|
2046
2043
|
//#endregion
|
|
2047
2044
|
//#region ../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
|
|
2048
|
-
function
|
|
2045
|
+
function Qr() {
|
|
2049
2046
|
return typeof window < "u";
|
|
2050
2047
|
}
|
|
2051
|
-
function
|
|
2052
|
-
return
|
|
2048
|
+
function $r(e) {
|
|
2049
|
+
return ei(e) ? (e.nodeName || "").toLowerCase() : "#document";
|
|
2053
2050
|
}
|
|
2054
|
-
function
|
|
2051
|
+
function q(e) {
|
|
2055
2052
|
var t;
|
|
2056
2053
|
return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
|
|
2057
2054
|
}
|
|
2058
|
-
function
|
|
2059
|
-
return ((
|
|
2055
|
+
function J(e) {
|
|
2056
|
+
return ((ei(e) ? e.ownerDocument : e.document) || window.document)?.documentElement;
|
|
2060
2057
|
}
|
|
2061
|
-
function
|
|
2062
|
-
return
|
|
2058
|
+
function ei(e) {
|
|
2059
|
+
return Qr() ? e instanceof Node || e instanceof q(e).Node : !1;
|
|
2063
2060
|
}
|
|
2064
|
-
function
|
|
2065
|
-
return
|
|
2061
|
+
function Y(e) {
|
|
2062
|
+
return Qr() ? e instanceof Element || e instanceof q(e).Element : !1;
|
|
2066
2063
|
}
|
|
2067
|
-
function
|
|
2068
|
-
return
|
|
2064
|
+
function X(e) {
|
|
2065
|
+
return Qr() ? e instanceof HTMLElement || e instanceof q(e).HTMLElement : !1;
|
|
2069
2066
|
}
|
|
2070
|
-
function
|
|
2071
|
-
return !
|
|
2067
|
+
function ti(e) {
|
|
2068
|
+
return !Qr() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof q(e).ShadowRoot;
|
|
2072
2069
|
}
|
|
2073
|
-
function
|
|
2074
|
-
let { overflow: t, overflowX: n, overflowY: r, display: i } =
|
|
2070
|
+
function ni(e) {
|
|
2071
|
+
let { overflow: t, overflowX: n, overflowY: r, display: i } = Z(e);
|
|
2075
2072
|
return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
|
|
2076
2073
|
}
|
|
2077
|
-
function
|
|
2078
|
-
return /^(table|td|th)$/.test(
|
|
2074
|
+
function ri(e) {
|
|
2075
|
+
return /^(table|td|th)$/.test($r(e));
|
|
2079
2076
|
}
|
|
2080
|
-
function
|
|
2077
|
+
function ii(e) {
|
|
2081
2078
|
try {
|
|
2082
2079
|
if (e.matches(":popover-open")) return !0;
|
|
2083
2080
|
} catch {}
|
|
@@ -2087,31 +2084,31 @@ function $r(e) {
|
|
|
2087
2084
|
return !1;
|
|
2088
2085
|
}
|
|
2089
2086
|
}
|
|
2090
|
-
var
|
|
2091
|
-
function
|
|
2092
|
-
let t =
|
|
2093
|
-
return
|
|
2094
|
-
}
|
|
2095
|
-
function
|
|
2096
|
-
let t =
|
|
2097
|
-
for (;
|
|
2098
|
-
if (
|
|
2099
|
-
if (
|
|
2100
|
-
t =
|
|
2087
|
+
var ai = /transform|translate|scale|rotate|perspective|filter/, oi = /paint|layout|strict|content/, si = (e) => !!e && e !== "none", ci;
|
|
2088
|
+
function li(e) {
|
|
2089
|
+
let t = Y(e) ? Z(e) : e;
|
|
2090
|
+
return si(t.transform) || si(t.translate) || si(t.scale) || si(t.rotate) || si(t.perspective) || !di() && (si(t.backdropFilter) || si(t.filter)) || ai.test(t.willChange || "") || oi.test(t.contain || "");
|
|
2091
|
+
}
|
|
2092
|
+
function ui(e) {
|
|
2093
|
+
let t = mi(e);
|
|
2094
|
+
for (; X(t) && !fi(t);) {
|
|
2095
|
+
if (li(t)) return t;
|
|
2096
|
+
if (ii(t)) return null;
|
|
2097
|
+
t = mi(t);
|
|
2101
2098
|
}
|
|
2102
2099
|
return null;
|
|
2103
2100
|
}
|
|
2104
|
-
function
|
|
2105
|
-
return
|
|
2101
|
+
function di() {
|
|
2102
|
+
return ci ??= typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none"), ci;
|
|
2106
2103
|
}
|
|
2107
|
-
function
|
|
2108
|
-
return /^(html|body|#document)$/.test(
|
|
2104
|
+
function fi(e) {
|
|
2105
|
+
return /^(html|body|#document)$/.test($r(e));
|
|
2109
2106
|
}
|
|
2110
|
-
function
|
|
2111
|
-
return
|
|
2107
|
+
function Z(e) {
|
|
2108
|
+
return q(e).getComputedStyle(e);
|
|
2112
2109
|
}
|
|
2113
|
-
function
|
|
2114
|
-
return
|
|
2110
|
+
function pi(e) {
|
|
2111
|
+
return Y(e) ? {
|
|
2115
2112
|
scrollLeft: e.scrollLeft,
|
|
2116
2113
|
scrollTop: e.scrollTop
|
|
2117
2114
|
} : {
|
|
@@ -2119,101 +2116,101 @@ function ci(e) {
|
|
|
2119
2116
|
scrollTop: e.scrollY
|
|
2120
2117
|
};
|
|
2121
2118
|
}
|
|
2122
|
-
function
|
|
2123
|
-
if (
|
|
2124
|
-
let t = e.assignedSlot || e.parentNode ||
|
|
2125
|
-
return
|
|
2119
|
+
function mi(e) {
|
|
2120
|
+
if ($r(e) === "html") return e;
|
|
2121
|
+
let t = e.assignedSlot || e.parentNode || ti(e) && e.host || J(e);
|
|
2122
|
+
return ti(t) ? t.host : t;
|
|
2126
2123
|
}
|
|
2127
|
-
function
|
|
2128
|
-
let t =
|
|
2129
|
-
return
|
|
2124
|
+
function hi(e) {
|
|
2125
|
+
let t = mi(e);
|
|
2126
|
+
return fi(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : X(t) && ni(t) ? t : hi(t);
|
|
2130
2127
|
}
|
|
2131
|
-
function
|
|
2128
|
+
function gi(e, t, n) {
|
|
2132
2129
|
t === void 0 && (t = []), n === void 0 && (n = !0);
|
|
2133
|
-
let r =
|
|
2130
|
+
let r = hi(e), i = r === e.ownerDocument?.body, a = q(r);
|
|
2134
2131
|
if (i) {
|
|
2135
|
-
let e =
|
|
2136
|
-
return t.concat(a, a.visualViewport || [],
|
|
2137
|
-
} else return t.concat(r,
|
|
2132
|
+
let e = _i(a);
|
|
2133
|
+
return t.concat(a, a.visualViewport || [], ni(r) ? r : [], e && n ? gi(e) : []);
|
|
2134
|
+
} else return t.concat(r, gi(r, [], n));
|
|
2138
2135
|
}
|
|
2139
|
-
function
|
|
2136
|
+
function _i(e) {
|
|
2140
2137
|
return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
|
|
2141
2138
|
}
|
|
2142
2139
|
//#endregion
|
|
2143
2140
|
//#region ../node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
|
|
2144
|
-
function
|
|
2145
|
-
let t =
|
|
2141
|
+
function vi(e) {
|
|
2142
|
+
let t = Z(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = X(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s = gr(n) !== a || gr(r) !== o;
|
|
2146
2143
|
return s && (n = a, r = o), {
|
|
2147
2144
|
width: n,
|
|
2148
2145
|
height: r,
|
|
2149
2146
|
$: s
|
|
2150
2147
|
};
|
|
2151
2148
|
}
|
|
2152
|
-
function
|
|
2153
|
-
return
|
|
2149
|
+
function yi(e) {
|
|
2150
|
+
return Y(e) ? e : e.contextElement;
|
|
2154
2151
|
}
|
|
2155
|
-
function
|
|
2156
|
-
let t =
|
|
2157
|
-
if (!
|
|
2158
|
-
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } =
|
|
2152
|
+
function bi(e) {
|
|
2153
|
+
let t = yi(e);
|
|
2154
|
+
if (!X(t)) return U(1);
|
|
2155
|
+
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = vi(t), o = (a ? gr(n.width) : n.width) / r, s = (a ? gr(n.height) : n.height) / i;
|
|
2159
2156
|
return (!o || !Number.isFinite(o)) && (o = 1), (!s || !Number.isFinite(s)) && (s = 1), {
|
|
2160
2157
|
x: o,
|
|
2161
2158
|
y: s
|
|
2162
2159
|
};
|
|
2163
2160
|
}
|
|
2164
|
-
var
|
|
2165
|
-
function
|
|
2166
|
-
let t =
|
|
2167
|
-
return !
|
|
2161
|
+
var xi = /*#__PURE__*/ U(0);
|
|
2162
|
+
function Si(e) {
|
|
2163
|
+
let t = q(e);
|
|
2164
|
+
return !di() || !t.visualViewport ? xi : {
|
|
2168
2165
|
x: t.visualViewport.offsetLeft,
|
|
2169
2166
|
y: t.visualViewport.offsetTop
|
|
2170
2167
|
};
|
|
2171
2168
|
}
|
|
2172
|
-
function
|
|
2173
|
-
return t === void 0 && (t = !1), !n || t && n !==
|
|
2169
|
+
function Ci(e, t, n) {
|
|
2170
|
+
return t === void 0 && (t = !1), !n || t && n !== q(e) ? !1 : t;
|
|
2174
2171
|
}
|
|
2175
|
-
function
|
|
2172
|
+
function wi(e, t, n, r) {
|
|
2176
2173
|
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
|
2177
|
-
let i = e.getBoundingClientRect(), a =
|
|
2178
|
-
t && (r ?
|
|
2179
|
-
let s =
|
|
2174
|
+
let i = e.getBoundingClientRect(), a = yi(e), o = U(1);
|
|
2175
|
+
t && (r ? Y(r) && (o = bi(r)) : o = bi(e));
|
|
2176
|
+
let s = Ci(a, n, r) ? Si(a) : U(0), c = (i.left + s.x) / o.x, l = (i.top + s.y) / o.y, u = i.width / o.x, d = i.height / o.y;
|
|
2180
2177
|
if (a) {
|
|
2181
|
-
let e =
|
|
2178
|
+
let e = q(a), t = r && Y(r) ? q(r) : r, n = e, i = _i(n);
|
|
2182
2179
|
for (; i && r && t !== n;) {
|
|
2183
|
-
let e =
|
|
2184
|
-
c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n =
|
|
2180
|
+
let e = bi(i), t = i.getBoundingClientRect(), r = Z(i), a = t.left + (i.clientLeft + parseFloat(r.paddingLeft)) * e.x, o = t.top + (i.clientTop + parseFloat(r.paddingTop)) * e.y;
|
|
2181
|
+
c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = q(i), i = _i(n);
|
|
2185
2182
|
}
|
|
2186
2183
|
}
|
|
2187
|
-
return
|
|
2184
|
+
return Ir({
|
|
2188
2185
|
width: u,
|
|
2189
2186
|
height: d,
|
|
2190
2187
|
x: c,
|
|
2191
2188
|
y: l
|
|
2192
2189
|
});
|
|
2193
2190
|
}
|
|
2194
|
-
function
|
|
2195
|
-
let n =
|
|
2196
|
-
return t ? t.left + n :
|
|
2191
|
+
function Ti(e, t) {
|
|
2192
|
+
let n = pi(e).scrollLeft;
|
|
2193
|
+
return t ? t.left + n : wi(J(e)).left + n;
|
|
2197
2194
|
}
|
|
2198
|
-
function
|
|
2195
|
+
function Ei(e, t) {
|
|
2199
2196
|
let n = e.getBoundingClientRect();
|
|
2200
2197
|
return {
|
|
2201
|
-
x: n.left + t.scrollLeft -
|
|
2198
|
+
x: n.left + t.scrollLeft - Ti(e, n),
|
|
2202
2199
|
y: n.top + t.scrollTop
|
|
2203
2200
|
};
|
|
2204
2201
|
}
|
|
2205
|
-
function
|
|
2206
|
-
let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o =
|
|
2202
|
+
function Di(e) {
|
|
2203
|
+
let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = J(r), s = t ? ii(t.floating) : !1;
|
|
2207
2204
|
if (r === o || s && a) return n;
|
|
2208
2205
|
let c = {
|
|
2209
2206
|
scrollLeft: 0,
|
|
2210
2207
|
scrollTop: 0
|
|
2211
|
-
}, l =
|
|
2212
|
-
if ((d || !d && !a) && ((
|
|
2213
|
-
let e =
|
|
2214
|
-
l =
|
|
2208
|
+
}, l = U(1), u = U(0), d = X(r);
|
|
2209
|
+
if ((d || !d && !a) && (($r(r) !== "body" || ni(o)) && (c = pi(r)), d)) {
|
|
2210
|
+
let e = wi(r);
|
|
2211
|
+
l = bi(r), u.x = e.x + r.clientLeft, u.y = e.y + r.clientTop;
|
|
2215
2212
|
}
|
|
2216
|
-
let f = o && !d && !a ?
|
|
2213
|
+
let f = o && !d && !a ? Ei(o, c) : U(0);
|
|
2217
2214
|
return {
|
|
2218
2215
|
width: n.width * l.x,
|
|
2219
2216
|
height: n.height * l.y,
|
|
@@ -2221,31 +2218,31 @@ function Si(e) {
|
|
|
2221
2218
|
y: n.y * l.y - c.scrollTop * l.y + u.y + f.y
|
|
2222
2219
|
};
|
|
2223
2220
|
}
|
|
2224
|
-
function
|
|
2221
|
+
function Oi(e) {
|
|
2225
2222
|
return Array.from(e.getClientRects());
|
|
2226
2223
|
}
|
|
2227
|
-
function
|
|
2228
|
-
let t =
|
|
2229
|
-
return
|
|
2224
|
+
function ki(e) {
|
|
2225
|
+
let t = J(e), n = pi(e), r = e.ownerDocument.body, i = H(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), a = H(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight), o = -n.scrollLeft + Ti(e), s = -n.scrollTop;
|
|
2226
|
+
return Z(r).direction === "rtl" && (o += H(t.clientWidth, r.clientWidth) - i), {
|
|
2230
2227
|
width: i,
|
|
2231
2228
|
height: a,
|
|
2232
2229
|
x: o,
|
|
2233
2230
|
y: s
|
|
2234
2231
|
};
|
|
2235
2232
|
}
|
|
2236
|
-
var
|
|
2237
|
-
function
|
|
2238
|
-
let n =
|
|
2233
|
+
var Ai = 25;
|
|
2234
|
+
function ji(e, t) {
|
|
2235
|
+
let n = q(e), r = J(e), i = n.visualViewport, a = r.clientWidth, o = r.clientHeight, s = 0, c = 0;
|
|
2239
2236
|
if (i) {
|
|
2240
2237
|
a = i.width, o = i.height;
|
|
2241
|
-
let e =
|
|
2238
|
+
let e = di();
|
|
2242
2239
|
(!e || e && t === "fixed") && (s = i.offsetLeft, c = i.offsetTop);
|
|
2243
2240
|
}
|
|
2244
|
-
let l =
|
|
2241
|
+
let l = Ti(r);
|
|
2245
2242
|
if (l <= 0) {
|
|
2246
2243
|
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);
|
|
2247
|
-
o <=
|
|
2248
|
-
} else l <=
|
|
2244
|
+
o <= Ai && (a -= o);
|
|
2245
|
+
} else l <= Ai && (a += l);
|
|
2249
2246
|
return {
|
|
2250
2247
|
width: a,
|
|
2251
2248
|
height: o,
|
|
@@ -2253,8 +2250,8 @@ function Ei(e, t) {
|
|
|
2253
2250
|
y: c
|
|
2254
2251
|
};
|
|
2255
2252
|
}
|
|
2256
|
-
function
|
|
2257
|
-
let n =
|
|
2253
|
+
function Mi(e, t) {
|
|
2254
|
+
let n = wi(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = X(e) ? bi(e) : U(1);
|
|
2258
2255
|
return {
|
|
2259
2256
|
width: e.clientWidth * a.x,
|
|
2260
2257
|
height: e.clientHeight * a.y,
|
|
@@ -2262,13 +2259,13 @@ function Di(e, t) {
|
|
|
2262
2259
|
y: r * a.y
|
|
2263
2260
|
};
|
|
2264
2261
|
}
|
|
2265
|
-
function
|
|
2262
|
+
function Ni(e, t, n) {
|
|
2266
2263
|
let r;
|
|
2267
|
-
if (t === "viewport") r =
|
|
2268
|
-
else if (t === "document") r =
|
|
2269
|
-
else if (
|
|
2264
|
+
if (t === "viewport") r = ji(e, n);
|
|
2265
|
+
else if (t === "document") r = ki(J(e));
|
|
2266
|
+
else if (Y(t)) r = Mi(t, n);
|
|
2270
2267
|
else {
|
|
2271
|
-
let n =
|
|
2268
|
+
let n = Si(e);
|
|
2272
2269
|
r = {
|
|
2273
2270
|
x: t.x - n.x,
|
|
2274
2271
|
y: t.y - n.y,
|
|
@@ -2276,27 +2273,27 @@ function Oi(e, t, n) {
|
|
|
2276
2273
|
height: t.height
|
|
2277
2274
|
};
|
|
2278
2275
|
}
|
|
2279
|
-
return
|
|
2276
|
+
return Ir(r);
|
|
2280
2277
|
}
|
|
2281
|
-
function
|
|
2282
|
-
let n =
|
|
2283
|
-
return n === t || !
|
|
2278
|
+
function Pi(e, t) {
|
|
2279
|
+
let n = mi(e);
|
|
2280
|
+
return n === t || !Y(n) || fi(n) ? !1 : Z(n).position === "fixed" || Pi(n, t);
|
|
2284
2281
|
}
|
|
2285
|
-
function
|
|
2282
|
+
function Fi(e, t) {
|
|
2286
2283
|
let n = t.get(e);
|
|
2287
2284
|
if (n) return n;
|
|
2288
|
-
let r =
|
|
2289
|
-
for (;
|
|
2290
|
-
let t =
|
|
2291
|
-
!n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") ||
|
|
2285
|
+
let r = gi(e, [], !1).filter((e) => Y(e) && $r(e) !== "body"), i = null, a = Z(e).position === "fixed", o = a ? mi(e) : e;
|
|
2286
|
+
for (; Y(o) && !fi(o);) {
|
|
2287
|
+
let t = Z(o), n = li(o);
|
|
2288
|
+
!n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") || ni(o) && !n && Pi(e, o)) ? r = r.filter((e) => e !== o) : i = t, o = mi(o);
|
|
2292
2289
|
}
|
|
2293
2290
|
return t.set(e, r), r;
|
|
2294
2291
|
}
|
|
2295
|
-
function
|
|
2296
|
-
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ?
|
|
2292
|
+
function Ii(e) {
|
|
2293
|
+
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? ii(t) ? [] : Fi(t, this._c) : [].concat(n), r], o = Ni(t, a[0], i), s = o.top, c = o.right, l = o.bottom, u = o.left;
|
|
2297
2294
|
for (let e = 1; e < a.length; e++) {
|
|
2298
|
-
let n =
|
|
2299
|
-
s =
|
|
2295
|
+
let n = Ni(t, a[e], i);
|
|
2296
|
+
s = H(n.top, s), c = hr(n.right, c), l = hr(n.bottom, l), u = H(n.left, u);
|
|
2300
2297
|
}
|
|
2301
2298
|
return {
|
|
2302
2299
|
width: c - u,
|
|
@@ -2305,27 +2302,27 @@ function ji(e) {
|
|
|
2305
2302
|
y: s
|
|
2306
2303
|
};
|
|
2307
2304
|
}
|
|
2308
|
-
function
|
|
2309
|
-
let { width: t, height: n } =
|
|
2305
|
+
function Li(e) {
|
|
2306
|
+
let { width: t, height: n } = vi(e);
|
|
2310
2307
|
return {
|
|
2311
2308
|
width: t,
|
|
2312
2309
|
height: n
|
|
2313
2310
|
};
|
|
2314
2311
|
}
|
|
2315
|
-
function
|
|
2316
|
-
let r =
|
|
2312
|
+
function Ri(e, t, n) {
|
|
2313
|
+
let r = X(t), i = J(t), a = n === "fixed", o = wi(e, !0, a, t), s = {
|
|
2317
2314
|
scrollLeft: 0,
|
|
2318
2315
|
scrollTop: 0
|
|
2319
|
-
}, c =
|
|
2316
|
+
}, c = U(0);
|
|
2320
2317
|
function l() {
|
|
2321
|
-
c.x =
|
|
2318
|
+
c.x = Ti(i);
|
|
2322
2319
|
}
|
|
2323
|
-
if (r || !r && !a) if ((
|
|
2324
|
-
let e =
|
|
2320
|
+
if (r || !r && !a) if (($r(t) !== "body" || ni(i)) && (s = pi(t)), r) {
|
|
2321
|
+
let e = wi(t, !0, a, t);
|
|
2325
2322
|
c.x = e.x + t.clientLeft, c.y = e.y + t.clientTop;
|
|
2326
2323
|
} else i && l();
|
|
2327
2324
|
a && !r && i && l();
|
|
2328
|
-
let u = i && !r && !a ?
|
|
2325
|
+
let u = i && !r && !a ? Ei(i, s) : U(0);
|
|
2329
2326
|
return {
|
|
2330
2327
|
x: o.left + s.scrollLeft - c.x - u.x,
|
|
2331
2328
|
y: o.top + s.scrollTop - c.y - u.y,
|
|
@@ -2333,34 +2330,34 @@ function Ni(e, t, n) {
|
|
|
2333
2330
|
height: o.height
|
|
2334
2331
|
};
|
|
2335
2332
|
}
|
|
2336
|
-
function
|
|
2337
|
-
return
|
|
2333
|
+
function zi(e) {
|
|
2334
|
+
return Z(e).position === "static";
|
|
2338
2335
|
}
|
|
2339
|
-
function
|
|
2340
|
-
if (!
|
|
2336
|
+
function Bi(e, t) {
|
|
2337
|
+
if (!X(e) || Z(e).position === "fixed") return null;
|
|
2341
2338
|
if (t) return t(e);
|
|
2342
2339
|
let n = e.offsetParent;
|
|
2343
|
-
return
|
|
2344
|
-
}
|
|
2345
|
-
function
|
|
2346
|
-
let n =
|
|
2347
|
-
if (
|
|
2348
|
-
if (!
|
|
2349
|
-
let t =
|
|
2350
|
-
for (; t && !
|
|
2351
|
-
if (
|
|
2352
|
-
t =
|
|
2340
|
+
return J(e) === n && (n = n.ownerDocument.body), n;
|
|
2341
|
+
}
|
|
2342
|
+
function Vi(e, t) {
|
|
2343
|
+
let n = q(e);
|
|
2344
|
+
if (ii(e)) return n;
|
|
2345
|
+
if (!X(e)) {
|
|
2346
|
+
let t = mi(e);
|
|
2347
|
+
for (; t && !fi(t);) {
|
|
2348
|
+
if (Y(t) && !zi(t)) return t;
|
|
2349
|
+
t = mi(t);
|
|
2353
2350
|
}
|
|
2354
2351
|
return n;
|
|
2355
2352
|
}
|
|
2356
|
-
let r =
|
|
2357
|
-
for (; r &&
|
|
2358
|
-
return r &&
|
|
2353
|
+
let r = Bi(e, t);
|
|
2354
|
+
for (; r && ri(r) && zi(r);) r = Bi(r, t);
|
|
2355
|
+
return r && fi(r) && zi(r) && !li(r) ? n : r || ui(e) || n;
|
|
2359
2356
|
}
|
|
2360
|
-
var
|
|
2361
|
-
let t = this.getOffsetParent ||
|
|
2357
|
+
var Hi = async function(e) {
|
|
2358
|
+
let t = this.getOffsetParent || Vi, n = this.getDimensions, r = await n(e.floating);
|
|
2362
2359
|
return {
|
|
2363
|
-
reference:
|
|
2360
|
+
reference: Ri(e.reference, await t(e.floating), e.strategy),
|
|
2364
2361
|
floating: {
|
|
2365
2362
|
x: 0,
|
|
2366
2363
|
y: 0,
|
|
@@ -2369,26 +2366,26 @@ var Li = async function(e) {
|
|
|
2369
2366
|
}
|
|
2370
2367
|
};
|
|
2371
2368
|
};
|
|
2372
|
-
function
|
|
2373
|
-
return
|
|
2374
|
-
}
|
|
2375
|
-
var
|
|
2376
|
-
convertOffsetParentRelativeRectToViewportRelativeRect:
|
|
2377
|
-
getDocumentElement:
|
|
2378
|
-
getClippingRect:
|
|
2379
|
-
getOffsetParent:
|
|
2380
|
-
getElementRects:
|
|
2381
|
-
getClientRects:
|
|
2382
|
-
getDimensions:
|
|
2383
|
-
getScale:
|
|
2384
|
-
isElement:
|
|
2385
|
-
isRTL:
|
|
2369
|
+
function Ui(e) {
|
|
2370
|
+
return Z(e).direction === "rtl";
|
|
2371
|
+
}
|
|
2372
|
+
var Wi = {
|
|
2373
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: Di,
|
|
2374
|
+
getDocumentElement: J,
|
|
2375
|
+
getClippingRect: Ii,
|
|
2376
|
+
getOffsetParent: Vi,
|
|
2377
|
+
getElementRects: Hi,
|
|
2378
|
+
getClientRects: Oi,
|
|
2379
|
+
getDimensions: Li,
|
|
2380
|
+
getScale: bi,
|
|
2381
|
+
isElement: Y,
|
|
2382
|
+
isRTL: Ui
|
|
2386
2383
|
};
|
|
2387
|
-
function
|
|
2384
|
+
function Gi(e, t) {
|
|
2388
2385
|
return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
|
|
2389
2386
|
}
|
|
2390
|
-
function
|
|
2391
|
-
let n = null, r, i =
|
|
2387
|
+
function Ki(e, t) {
|
|
2388
|
+
let n = null, r, i = J(e);
|
|
2392
2389
|
function a() {
|
|
2393
2390
|
var e;
|
|
2394
2391
|
clearTimeout(r), (e = n) == null || e.disconnect(), n = null;
|
|
@@ -2397,9 +2394,9 @@ function Vi(e, t) {
|
|
|
2397
2394
|
s === void 0 && (s = !1), c === void 0 && (c = 1), a();
|
|
2398
2395
|
let l = e.getBoundingClientRect(), { left: u, top: d, width: f, height: p } = l;
|
|
2399
2396
|
if (s || t(), !f || !p) return;
|
|
2400
|
-
let m =
|
|
2397
|
+
let m = _r(d), h = _r(i.clientWidth - (u + f)), g = _r(i.clientHeight - (d + p)), _ = _r(u), v = {
|
|
2401
2398
|
rootMargin: -m + "px " + -h + "px " + -g + "px " + -_ + "px",
|
|
2402
|
-
threshold:
|
|
2399
|
+
threshold: H(0, hr(1, c)) || 1
|
|
2403
2400
|
}, y = !0;
|
|
2404
2401
|
function b(t) {
|
|
2405
2402
|
let n = t[0].intersectionRatio;
|
|
@@ -2409,7 +2406,7 @@ function Vi(e, t) {
|
|
|
2409
2406
|
o(!1, 1e-7);
|
|
2410
2407
|
}, 1e3);
|
|
2411
2408
|
}
|
|
2412
|
-
n === 1 && !
|
|
2409
|
+
n === 1 && !Gi(l, e.getBoundingClientRect()) && o(), y = !1;
|
|
2413
2410
|
}
|
|
2414
2411
|
try {
|
|
2415
2412
|
n = new IntersectionObserver(b, {
|
|
@@ -2423,13 +2420,13 @@ function Vi(e, t) {
|
|
|
2423
2420
|
}
|
|
2424
2421
|
return o(!0), a;
|
|
2425
2422
|
}
|
|
2426
|
-
function
|
|
2423
|
+
function qi(e, t, n, r) {
|
|
2427
2424
|
r === void 0 && (r = {});
|
|
2428
|
-
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l =
|
|
2425
|
+
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l = yi(e), u = i || a ? [...l ? gi(l) : [], ...t ? gi(t) : []] : [];
|
|
2429
2426
|
u.forEach((e) => {
|
|
2430
2427
|
i && e.addEventListener("scroll", n, { passive: !0 }), a && e.addEventListener("resize", n);
|
|
2431
2428
|
});
|
|
2432
|
-
let d = l && s ?
|
|
2429
|
+
let d = l && s ? Ki(l, n) : null, f = -1, p = null;
|
|
2433
2430
|
o && (p = new ResizeObserver((e) => {
|
|
2434
2431
|
let [r] = e;
|
|
2435
2432
|
r && r.target === l && p && t && (p.unobserve(t), cancelAnimationFrame(f), f = requestAnimationFrame(() => {
|
|
@@ -2437,11 +2434,11 @@ function Hi(e, t, n, r) {
|
|
|
2437
2434
|
(e = p) == null || e.observe(t);
|
|
2438
2435
|
})), n();
|
|
2439
2436
|
}), l && !c && p.observe(l), t && p.observe(t));
|
|
2440
|
-
let m, h = c ?
|
|
2437
|
+
let m, h = c ? wi(e) : null;
|
|
2441
2438
|
c && g();
|
|
2442
2439
|
function g() {
|
|
2443
|
-
let t =
|
|
2444
|
-
h && !
|
|
2440
|
+
let t = wi(e);
|
|
2441
|
+
h && !Gi(h, t) && n(), h = t, m = requestAnimationFrame(g);
|
|
2445
2442
|
}
|
|
2446
2443
|
return n(), () => {
|
|
2447
2444
|
var e;
|
|
@@ -2450,20 +2447,20 @@ function Hi(e, t, n, r) {
|
|
|
2450
2447
|
}), d?.(), (e = p) == null || e.disconnect(), p = null, c && cancelAnimationFrame(m);
|
|
2451
2448
|
};
|
|
2452
2449
|
}
|
|
2453
|
-
var
|
|
2450
|
+
var Ji = Jr, Yi = Yr, Xi = Hr, Zi = Zr, Qi = Gr, $i = Vr, ea = Xr, ta = (e, t, n) => {
|
|
2454
2451
|
let r = /* @__PURE__ */ new Map(), i = {
|
|
2455
|
-
platform:
|
|
2452
|
+
platform: Wi,
|
|
2456
2453
|
...n
|
|
2457
2454
|
}, a = {
|
|
2458
2455
|
...i.platform,
|
|
2459
2456
|
_c: r
|
|
2460
2457
|
};
|
|
2461
|
-
return
|
|
2458
|
+
return Br(e, t, {
|
|
2462
2459
|
...i,
|
|
2463
2460
|
platform: a
|
|
2464
2461
|
});
|
|
2465
|
-
},
|
|
2466
|
-
function
|
|
2462
|
+
}, na = typeof document < "u" ? P.useLayoutEffect : function() {};
|
|
2463
|
+
function ra(e, t) {
|
|
2467
2464
|
if (e === t) return !0;
|
|
2468
2465
|
if (typeof e != typeof t) return !1;
|
|
2469
2466
|
if (typeof e == "function" && e.toString() === t.toString()) return !0;
|
|
@@ -2471,33 +2468,33 @@ function Qi(e, t) {
|
|
|
2471
2468
|
if (e && t && typeof e == "object") {
|
|
2472
2469
|
if (Array.isArray(e)) {
|
|
2473
2470
|
if (n = e.length, n !== t.length) return !1;
|
|
2474
|
-
for (r = n; r-- !== 0;) if (!
|
|
2471
|
+
for (r = n; r-- !== 0;) if (!ra(e[r], t[r])) return !1;
|
|
2475
2472
|
return !0;
|
|
2476
2473
|
}
|
|
2477
2474
|
if (i = Object.keys(e), n = i.length, n !== Object.keys(t).length) return !1;
|
|
2478
2475
|
for (r = n; r-- !== 0;) if (!{}.hasOwnProperty.call(t, i[r])) return !1;
|
|
2479
2476
|
for (r = n; r-- !== 0;) {
|
|
2480
2477
|
let n = i[r];
|
|
2481
|
-
if (!(n === "_owner" && e.$$typeof) && !
|
|
2478
|
+
if (!(n === "_owner" && e.$$typeof) && !ra(e[n], t[n])) return !1;
|
|
2482
2479
|
}
|
|
2483
2480
|
return !0;
|
|
2484
2481
|
}
|
|
2485
2482
|
return e !== e && t !== t;
|
|
2486
2483
|
}
|
|
2487
|
-
function
|
|
2484
|
+
function ia(e) {
|
|
2488
2485
|
return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
2489
2486
|
}
|
|
2490
|
-
function
|
|
2491
|
-
let n =
|
|
2487
|
+
function aa(e, t) {
|
|
2488
|
+
let n = ia(e);
|
|
2492
2489
|
return Math.round(t * n) / n;
|
|
2493
2490
|
}
|
|
2494
|
-
function
|
|
2491
|
+
function oa(e) {
|
|
2495
2492
|
let t = P.useRef(e);
|
|
2496
|
-
return
|
|
2493
|
+
return na(() => {
|
|
2497
2494
|
t.current = e;
|
|
2498
2495
|
}), t;
|
|
2499
2496
|
}
|
|
2500
|
-
function
|
|
2497
|
+
function sa(e) {
|
|
2501
2498
|
e === void 0 && (e = {});
|
|
2502
2499
|
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({
|
|
2503
2500
|
x: 0,
|
|
@@ -2507,24 +2504,24 @@ function na(e) {
|
|
|
2507
2504
|
middlewareData: {},
|
|
2508
2505
|
isPositioned: !1
|
|
2509
2506
|
}), [f, p] = P.useState(r);
|
|
2510
|
-
|
|
2507
|
+
ra(f, r) || p(r);
|
|
2511
2508
|
let [m, h] = P.useState(null), [g, _] = P.useState(null), v = P.useCallback((e) => {
|
|
2512
2509
|
e !== S.current && (S.current = e, h(e));
|
|
2513
2510
|
}, []), y = P.useCallback((e) => {
|
|
2514
2511
|
e !== C.current && (C.current = e, _(e));
|
|
2515
|
-
}, []), b = a || m, x = o || g, S = P.useRef(null), C = P.useRef(null), w = P.useRef(u), T = c != null,
|
|
2512
|
+
}, []), b = a || m, x = o || g, S = P.useRef(null), C = P.useRef(null), w = P.useRef(u), T = c != null, ee = oa(c), E = oa(i), te = oa(l), D = P.useCallback(() => {
|
|
2516
2513
|
if (!S.current || !C.current) return;
|
|
2517
2514
|
let e = {
|
|
2518
2515
|
placement: t,
|
|
2519
2516
|
strategy: n,
|
|
2520
2517
|
middleware: f
|
|
2521
2518
|
};
|
|
2522
|
-
|
|
2519
|
+
E.current && (e.platform = E.current), ta(S.current, C.current, e).then((e) => {
|
|
2523
2520
|
let t = {
|
|
2524
2521
|
...e,
|
|
2525
|
-
isPositioned:
|
|
2522
|
+
isPositioned: te.current !== !1
|
|
2526
2523
|
};
|
|
2527
|
-
|
|
2524
|
+
O.current && !ra(w.current, t) && (w.current = t, vt.flushSync(() => {
|
|
2528
2525
|
d(t);
|
|
2529
2526
|
}));
|
|
2530
2527
|
});
|
|
@@ -2532,31 +2529,31 @@ function na(e) {
|
|
|
2532
2529
|
f,
|
|
2533
2530
|
t,
|
|
2534
2531
|
n,
|
|
2535
|
-
|
|
2536
|
-
|
|
2532
|
+
E,
|
|
2533
|
+
te
|
|
2537
2534
|
]);
|
|
2538
|
-
|
|
2535
|
+
na(() => {
|
|
2539
2536
|
l === !1 && w.current.isPositioned && (w.current.isPositioned = !1, d((e) => ({
|
|
2540
2537
|
...e,
|
|
2541
2538
|
isPositioned: !1
|
|
2542
2539
|
})));
|
|
2543
2540
|
}, [l]);
|
|
2544
|
-
let
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
}), []),
|
|
2541
|
+
let O = P.useRef(!1);
|
|
2542
|
+
na(() => (O.current = !0, () => {
|
|
2543
|
+
O.current = !1;
|
|
2544
|
+
}), []), na(() => {
|
|
2548
2545
|
if (b && (S.current = b), x && (C.current = x), b && x) {
|
|
2549
|
-
if (
|
|
2550
|
-
|
|
2546
|
+
if (ee.current) return ee.current(b, x, D);
|
|
2547
|
+
D();
|
|
2551
2548
|
}
|
|
2552
2549
|
}, [
|
|
2553
2550
|
b,
|
|
2554
2551
|
x,
|
|
2555
|
-
|
|
2556
|
-
|
|
2552
|
+
D,
|
|
2553
|
+
ee,
|
|
2557
2554
|
T
|
|
2558
2555
|
]);
|
|
2559
|
-
let
|
|
2556
|
+
let k = P.useMemo(() => ({
|
|
2560
2557
|
reference: S,
|
|
2561
2558
|
floating: C,
|
|
2562
2559
|
setReference: v,
|
|
@@ -2571,11 +2568,11 @@ function na(e) {
|
|
|
2571
2568
|
top: 0
|
|
2572
2569
|
};
|
|
2573
2570
|
if (!A.floating) return e;
|
|
2574
|
-
let t =
|
|
2571
|
+
let t = aa(A.floating, u.x), r = aa(A.floating, u.y);
|
|
2575
2572
|
return s ? {
|
|
2576
2573
|
...e,
|
|
2577
2574
|
transform: "translate(" + t + "px, " + r + "px)",
|
|
2578
|
-
|
|
2575
|
+
...ia(A.floating) >= 1.5 && { willChange: "transform" }
|
|
2579
2576
|
} : {
|
|
2580
2577
|
position: n,
|
|
2581
2578
|
left: t,
|
|
@@ -2590,19 +2587,19 @@ function na(e) {
|
|
|
2590
2587
|
]);
|
|
2591
2588
|
return P.useMemo(() => ({
|
|
2592
2589
|
...u,
|
|
2593
|
-
update:
|
|
2594
|
-
refs:
|
|
2590
|
+
update: D,
|
|
2591
|
+
refs: k,
|
|
2595
2592
|
elements: A,
|
|
2596
2593
|
floatingStyles: j
|
|
2597
2594
|
}), [
|
|
2598
2595
|
u,
|
|
2599
|
-
|
|
2600
|
-
|
|
2596
|
+
D,
|
|
2597
|
+
k,
|
|
2601
2598
|
A,
|
|
2602
2599
|
j
|
|
2603
2600
|
]);
|
|
2604
2601
|
}
|
|
2605
|
-
var
|
|
2602
|
+
var ca = (e) => {
|
|
2606
2603
|
function t(e) {
|
|
2607
2604
|
return {}.hasOwnProperty.call(e, "current");
|
|
2608
2605
|
}
|
|
@@ -2611,61 +2608,61 @@ var ra = (e) => {
|
|
|
2611
2608
|
options: e,
|
|
2612
2609
|
fn(n) {
|
|
2613
2610
|
let { element: r, padding: i } = typeof e == "function" ? e(n) : e;
|
|
2614
|
-
return r && t(r) ? r.current == null ? {} :
|
|
2611
|
+
return r && t(r) ? r.current == null ? {} : $i({
|
|
2615
2612
|
element: r.current,
|
|
2616
2613
|
padding: i
|
|
2617
|
-
}).fn(n) : r ?
|
|
2614
|
+
}).fn(n) : r ? $i({
|
|
2618
2615
|
element: r,
|
|
2619
2616
|
padding: i
|
|
2620
2617
|
}).fn(n) : {};
|
|
2621
2618
|
}
|
|
2622
2619
|
};
|
|
2623
|
-
},
|
|
2624
|
-
let n =
|
|
2620
|
+
}, la = (e, t) => {
|
|
2621
|
+
let n = Ji(e);
|
|
2625
2622
|
return {
|
|
2626
2623
|
name: n.name,
|
|
2627
2624
|
fn: n.fn,
|
|
2628
2625
|
options: [e, t]
|
|
2629
2626
|
};
|
|
2630
|
-
},
|
|
2631
|
-
let n =
|
|
2627
|
+
}, ua = (e, t) => {
|
|
2628
|
+
let n = Yi(e);
|
|
2632
2629
|
return {
|
|
2633
2630
|
name: n.name,
|
|
2634
2631
|
fn: n.fn,
|
|
2635
2632
|
options: [e, t]
|
|
2636
2633
|
};
|
|
2637
|
-
},
|
|
2638
|
-
fn:
|
|
2634
|
+
}, da = (e, t) => ({
|
|
2635
|
+
fn: ea(e).fn,
|
|
2639
2636
|
options: [e, t]
|
|
2640
|
-
}),
|
|
2641
|
-
let n =
|
|
2637
|
+
}), fa = (e, t) => {
|
|
2638
|
+
let n = Xi(e);
|
|
2642
2639
|
return {
|
|
2643
2640
|
name: n.name,
|
|
2644
2641
|
fn: n.fn,
|
|
2645
2642
|
options: [e, t]
|
|
2646
2643
|
};
|
|
2647
|
-
},
|
|
2648
|
-
let n =
|
|
2644
|
+
}, pa = (e, t) => {
|
|
2645
|
+
let n = Zi(e);
|
|
2649
2646
|
return {
|
|
2650
2647
|
name: n.name,
|
|
2651
2648
|
fn: n.fn,
|
|
2652
2649
|
options: [e, t]
|
|
2653
2650
|
};
|
|
2654
|
-
},
|
|
2655
|
-
let n =
|
|
2651
|
+
}, ma = (e, t) => {
|
|
2652
|
+
let n = Qi(e);
|
|
2656
2653
|
return {
|
|
2657
2654
|
name: n.name,
|
|
2658
2655
|
fn: n.fn,
|
|
2659
2656
|
options: [e, t]
|
|
2660
2657
|
};
|
|
2661
|
-
},
|
|
2662
|
-
let n =
|
|
2658
|
+
}, ha = (e, t) => {
|
|
2659
|
+
let n = ca(e);
|
|
2663
2660
|
return {
|
|
2664
2661
|
name: n.name,
|
|
2665
2662
|
fn: n.fn,
|
|
2666
2663
|
options: [e, t]
|
|
2667
2664
|
};
|
|
2668
|
-
},
|
|
2665
|
+
}, ga = "Arrow", _a = P.forwardRef((e, t) => {
|
|
2669
2666
|
let { children: n, width: r = 10, height: i = 5, ...a } = e;
|
|
2670
2667
|
return /* @__PURE__ */ (0, F.jsx)(V.svg, {
|
|
2671
2668
|
...a,
|
|
@@ -2677,13 +2674,13 @@ var ra = (e) => {
|
|
|
2677
2674
|
children: e.asChild ? n : /* @__PURE__ */ (0, F.jsx)("polygon", { points: "0,0 30,0 15,10" })
|
|
2678
2675
|
});
|
|
2679
2676
|
});
|
|
2680
|
-
|
|
2681
|
-
var
|
|
2677
|
+
_a.displayName = ga;
|
|
2678
|
+
var va = _a;
|
|
2682
2679
|
//#endregion
|
|
2683
2680
|
//#region ../node_modules/@radix-ui/react-use-size/dist/index.mjs
|
|
2684
|
-
function
|
|
2681
|
+
function ya(e) {
|
|
2685
2682
|
let [t, n] = P.useState(void 0);
|
|
2686
|
-
return
|
|
2683
|
+
return ur(() => {
|
|
2687
2684
|
if (e) {
|
|
2688
2685
|
n({
|
|
2689
2686
|
width: e.offsetWidth,
|
|
@@ -2707,18 +2704,18 @@ function ma(e) {
|
|
|
2707
2704
|
}
|
|
2708
2705
|
//#endregion
|
|
2709
2706
|
//#region ../node_modules/@radix-ui/react-popper/dist/index.mjs
|
|
2710
|
-
var
|
|
2707
|
+
var ba = "Popper", [xa, Sa] = xn(ba), [Ca, wa] = xa(ba), Ta = (e) => {
|
|
2711
2708
|
let { __scopePopper: t, children: n } = e, [r, i] = P.useState(null);
|
|
2712
|
-
return /* @__PURE__ */ (0, F.jsx)(
|
|
2709
|
+
return /* @__PURE__ */ (0, F.jsx)(Ca, {
|
|
2713
2710
|
scope: t,
|
|
2714
2711
|
anchor: r,
|
|
2715
2712
|
onAnchorChange: i,
|
|
2716
2713
|
children: n
|
|
2717
2714
|
});
|
|
2718
2715
|
};
|
|
2719
|
-
|
|
2720
|
-
var
|
|
2721
|
-
let { __scopePopper: n, virtualRef: r, ...i } = e, a =
|
|
2716
|
+
Ta.displayName = ba;
|
|
2717
|
+
var Ea = "PopperAnchor", Da = P.forwardRef((e, t) => {
|
|
2718
|
+
let { __scopePopper: n, virtualRef: r, ...i } = e, a = wa(Ea, n), o = P.useRef(null), s = B(t, o), c = P.useRef(null);
|
|
2722
2719
|
return P.useEffect(() => {
|
|
2723
2720
|
let e = c.current;
|
|
2724
2721
|
c.current = r?.current || o.current, e !== c.current && a.onAnchorChange(c.current);
|
|
@@ -2727,68 +2724,68 @@ var xa = "PopperAnchor", Sa = P.forwardRef((e, t) => {
|
|
|
2727
2724
|
ref: s
|
|
2728
2725
|
});
|
|
2729
2726
|
});
|
|
2730
|
-
|
|
2731
|
-
var
|
|
2732
|
-
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
|
+
Da.displayName = Ea;
|
|
2728
|
+
var Oa = "PopperContent", [ka, Aa] = xa(Oa), ja = 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 = wa(Oa, n), [_, v] = P.useState(null), y = B(t, (e) => v(e)), [b, x] = P.useState(null), S = ya(b), C = S?.width ?? 0, w = S?.height ?? 0, T = r + (a === "center" ? "" : "-" + a), ee = typeof u == "number" ? u : {
|
|
2733
2730
|
top: 0,
|
|
2734
2731
|
right: 0,
|
|
2735
2732
|
bottom: 0,
|
|
2736
2733
|
left: 0,
|
|
2737
2734
|
...u
|
|
2738
|
-
},
|
|
2739
|
-
padding:
|
|
2740
|
-
boundary:
|
|
2741
|
-
altBoundary:
|
|
2742
|
-
}, { refs:
|
|
2735
|
+
}, E = Array.isArray(l) ? l : [l], te = E.length > 0, D = {
|
|
2736
|
+
padding: ee,
|
|
2737
|
+
boundary: E.filter(Fa),
|
|
2738
|
+
altBoundary: te
|
|
2739
|
+
}, { refs: O, floatingStyles: k, placement: A, isPositioned: j, middlewareData: ne } = sa({
|
|
2743
2740
|
strategy: "fixed",
|
|
2744
2741
|
placement: T,
|
|
2745
|
-
whileElementsMounted: (...e) =>
|
|
2742
|
+
whileElementsMounted: (...e) => qi(...e, { animationFrame: p === "always" }),
|
|
2746
2743
|
elements: { reference: g.anchor },
|
|
2747
2744
|
middleware: [
|
|
2748
|
-
|
|
2745
|
+
la({
|
|
2749
2746
|
mainAxis: i + w,
|
|
2750
2747
|
alignmentAxis: o
|
|
2751
2748
|
}),
|
|
2752
|
-
c &&
|
|
2749
|
+
c && ua({
|
|
2753
2750
|
mainAxis: !0,
|
|
2754
2751
|
crossAxis: !1,
|
|
2755
|
-
limiter: d === "partial" ?
|
|
2756
|
-
...
|
|
2752
|
+
limiter: d === "partial" ? da() : void 0,
|
|
2753
|
+
...D
|
|
2757
2754
|
}),
|
|
2758
|
-
c &&
|
|
2759
|
-
|
|
2760
|
-
...
|
|
2755
|
+
c && fa({ ...D }),
|
|
2756
|
+
pa({
|
|
2757
|
+
...D,
|
|
2761
2758
|
apply: ({ elements: e, rects: t, availableWidth: n, availableHeight: r }) => {
|
|
2762
2759
|
let { width: i, height: a } = t.reference, o = e.floating.style;
|
|
2763
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`);
|
|
2764
2761
|
}
|
|
2765
2762
|
}),
|
|
2766
|
-
b &&
|
|
2763
|
+
b && ha({
|
|
2767
2764
|
element: b,
|
|
2768
2765
|
padding: s
|
|
2769
2766
|
}),
|
|
2770
|
-
|
|
2767
|
+
Ia({
|
|
2771
2768
|
arrowWidth: C,
|
|
2772
2769
|
arrowHeight: w
|
|
2773
2770
|
}),
|
|
2774
|
-
f &&
|
|
2771
|
+
f && ma({
|
|
2775
2772
|
strategy: "referenceHidden",
|
|
2776
|
-
...
|
|
2773
|
+
...D
|
|
2777
2774
|
})
|
|
2778
2775
|
]
|
|
2779
|
-
}), [re, ie] =
|
|
2780
|
-
|
|
2776
|
+
}), [re, ie] = La(A), ae = An(m);
|
|
2777
|
+
ur(() => {
|
|
2781
2778
|
j && ae?.();
|
|
2782
2779
|
}, [j, ae]);
|
|
2783
|
-
let oe = ne.arrow?.x,
|
|
2784
|
-
return
|
|
2780
|
+
let oe = ne.arrow?.x, se = ne.arrow?.y, M = ne.arrow?.centerOffset !== 0, [ce, le] = P.useState();
|
|
2781
|
+
return ur(() => {
|
|
2785
2782
|
_ && le(window.getComputedStyle(_).zIndex);
|
|
2786
2783
|
}, [_]), /* @__PURE__ */ (0, F.jsx)("div", {
|
|
2787
|
-
ref:
|
|
2784
|
+
ref: O.setFloating,
|
|
2788
2785
|
"data-radix-popper-content-wrapper": "",
|
|
2789
2786
|
style: {
|
|
2790
|
-
...
|
|
2791
|
-
transform: j ?
|
|
2787
|
+
...k,
|
|
2788
|
+
transform: j ? k.transform : "translate(0, -200%)",
|
|
2792
2789
|
minWidth: "max-content",
|
|
2793
2790
|
zIndex: ce,
|
|
2794
2791
|
"--radix-popper-transform-origin": [ne.transformOrigin?.x, ne.transformOrigin?.y].join(" "),
|
|
@@ -2798,13 +2795,13 @@ var Ca = "PopperContent", [wa, Ta] = ga(Ca), Ea = P.forwardRef((e, t) => {
|
|
|
2798
2795
|
}
|
|
2799
2796
|
},
|
|
2800
2797
|
dir: e.dir,
|
|
2801
|
-
children: /* @__PURE__ */ (0, F.jsx)(
|
|
2798
|
+
children: /* @__PURE__ */ (0, F.jsx)(ka, {
|
|
2802
2799
|
scope: n,
|
|
2803
2800
|
placedSide: re,
|
|
2804
2801
|
onArrowChange: x,
|
|
2805
2802
|
arrowX: oe,
|
|
2806
|
-
arrowY:
|
|
2807
|
-
shouldHideArrow:
|
|
2803
|
+
arrowY: se,
|
|
2804
|
+
shouldHideArrow: M,
|
|
2808
2805
|
children: /* @__PURE__ */ (0, F.jsx)(V.div, {
|
|
2809
2806
|
"data-side": re,
|
|
2810
2807
|
"data-align": ie,
|
|
@@ -2818,14 +2815,14 @@ var Ca = "PopperContent", [wa, Ta] = ga(Ca), Ea = P.forwardRef((e, t) => {
|
|
|
2818
2815
|
})
|
|
2819
2816
|
});
|
|
2820
2817
|
});
|
|
2821
|
-
|
|
2822
|
-
var
|
|
2818
|
+
ja.displayName = Oa;
|
|
2819
|
+
var Ma = "PopperArrow", Na = {
|
|
2823
2820
|
top: "bottom",
|
|
2824
2821
|
right: "left",
|
|
2825
2822
|
bottom: "top",
|
|
2826
2823
|
left: "right"
|
|
2827
|
-
},
|
|
2828
|
-
let { __scopePopper: n, ...r } = e, i =
|
|
2824
|
+
}, Pa = P.forwardRef(function(e, t) {
|
|
2825
|
+
let { __scopePopper: n, ...r } = e, i = Aa(Ma, n), a = Na[i.placedSide];
|
|
2829
2826
|
return /* @__PURE__ */ (0, F.jsx)("span", {
|
|
2830
2827
|
ref: i.onArrowChange,
|
|
2831
2828
|
style: {
|
|
@@ -2847,7 +2844,7 @@ var Da = "PopperArrow", Oa = {
|
|
|
2847
2844
|
}[i.placedSide],
|
|
2848
2845
|
visibility: i.shouldHideArrow ? "hidden" : void 0
|
|
2849
2846
|
},
|
|
2850
|
-
children: /* @__PURE__ */ (0, F.jsx)(
|
|
2847
|
+
children: /* @__PURE__ */ (0, F.jsx)(va, {
|
|
2851
2848
|
...r,
|
|
2852
2849
|
ref: t,
|
|
2853
2850
|
style: {
|
|
@@ -2857,15 +2854,15 @@ var Da = "PopperArrow", Oa = {
|
|
|
2857
2854
|
})
|
|
2858
2855
|
});
|
|
2859
2856
|
});
|
|
2860
|
-
|
|
2861
|
-
function
|
|
2857
|
+
Pa.displayName = Ma;
|
|
2858
|
+
function Fa(e) {
|
|
2862
2859
|
return e !== null;
|
|
2863
2860
|
}
|
|
2864
|
-
var
|
|
2861
|
+
var Ia = (e) => ({
|
|
2865
2862
|
name: "transformOrigin",
|
|
2866
2863
|
options: e,
|
|
2867
2864
|
fn(t) {
|
|
2868
|
-
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] = La(n), u = {
|
|
2869
2866
|
start: "0%",
|
|
2870
2867
|
center: "50%",
|
|
2871
2868
|
end: "100%"
|
|
@@ -2876,32 +2873,32 @@ var ja = (e) => ({
|
|
|
2876
2873
|
} };
|
|
2877
2874
|
}
|
|
2878
2875
|
});
|
|
2879
|
-
function
|
|
2876
|
+
function La(e) {
|
|
2880
2877
|
let [t, n = "center"] = e.split("-");
|
|
2881
2878
|
return [t, n];
|
|
2882
2879
|
}
|
|
2883
|
-
var
|
|
2880
|
+
var Ra = Ta, za = Da, Ba = ja, Va = Pa, Ha = "Portal", Ua = P.forwardRef((e, t) => {
|
|
2884
2881
|
let { container: n, ...r } = e, [i, a] = P.useState(!1);
|
|
2885
|
-
|
|
2882
|
+
ur(() => a(!0), []);
|
|
2886
2883
|
let o = n || i && globalThis?.document?.body;
|
|
2887
|
-
return o ?
|
|
2884
|
+
return o ? vt.createPortal(/* @__PURE__ */ (0, F.jsx)(V.div, {
|
|
2888
2885
|
...r,
|
|
2889
2886
|
ref: t
|
|
2890
2887
|
}), o) : null;
|
|
2891
2888
|
});
|
|
2892
|
-
|
|
2889
|
+
Ua.displayName = Ha;
|
|
2893
2890
|
//#endregion
|
|
2894
2891
|
//#region ../node_modules/@radix-ui/react-presence/dist/index.mjs
|
|
2895
|
-
function
|
|
2892
|
+
function Wa(e, t) {
|
|
2896
2893
|
return P.useReducer((e, n) => t[e][n] ?? e, e);
|
|
2897
2894
|
}
|
|
2898
|
-
var
|
|
2899
|
-
let { present: t, children: n } = e, r =
|
|
2895
|
+
var Ga = (e) => {
|
|
2896
|
+
let { present: t, children: n } = e, r = Ka(t), i = typeof n == "function" ? n({ present: r.isPresent }) : P.Children.only(n), a = B(r.ref, Ja(i));
|
|
2900
2897
|
return typeof n == "function" || r.isPresent ? P.cloneElement(i, { ref: a }) : null;
|
|
2901
2898
|
};
|
|
2902
|
-
|
|
2903
|
-
function
|
|
2904
|
-
let [t, n] = P.useState(), r = P.useRef(null), i = P.useRef(e), a = P.useRef("none"), [o, s] =
|
|
2899
|
+
Ga.displayName = "Presence";
|
|
2900
|
+
function Ka(e) {
|
|
2901
|
+
let [t, n] = P.useState(), r = P.useRef(null), i = P.useRef(e), a = P.useRef("none"), [o, s] = Wa(e ? "mounted" : "unmounted", {
|
|
2905
2902
|
mounted: {
|
|
2906
2903
|
UNMOUNT: "unmounted",
|
|
2907
2904
|
ANIMATION_OUT: "unmountSuspended"
|
|
@@ -2913,18 +2910,18 @@ function Va(e) {
|
|
|
2913
2910
|
unmounted: { MOUNT: "mounted" }
|
|
2914
2911
|
});
|
|
2915
2912
|
return P.useEffect(() => {
|
|
2916
|
-
let e =
|
|
2913
|
+
let e = qa(r.current);
|
|
2917
2914
|
a.current = o === "mounted" ? e : "none";
|
|
2918
|
-
}, [o]),
|
|
2915
|
+
}, [o]), ur(() => {
|
|
2919
2916
|
let t = r.current, n = i.current;
|
|
2920
2917
|
if (n !== e) {
|
|
2921
|
-
let r = a.current, o =
|
|
2918
|
+
let r = a.current, o = qa(t);
|
|
2922
2919
|
e ? s("MOUNT") : o === "none" || t?.display === "none" ? s("UNMOUNT") : s(n && r !== o ? "ANIMATION_OUT" : "UNMOUNT"), i.current = e;
|
|
2923
2920
|
}
|
|
2924
|
-
}, [e, s]),
|
|
2921
|
+
}, [e, s]), ur(() => {
|
|
2925
2922
|
if (t) {
|
|
2926
2923
|
let e, n = t.ownerDocument.defaultView ?? window, o = (a) => {
|
|
2927
|
-
let o =
|
|
2924
|
+
let o = qa(r.current).includes(CSS.escape(a.animationName));
|
|
2928
2925
|
if (a.target === t && o && (s("ANIMATION_END"), !i.current)) {
|
|
2929
2926
|
let r = t.style.animationFillMode;
|
|
2930
2927
|
t.style.animationFillMode = "forwards", e = n.setTimeout(() => {
|
|
@@ -2932,7 +2929,7 @@ function Va(e) {
|
|
|
2932
2929
|
});
|
|
2933
2930
|
}
|
|
2934
2931
|
}, c = (e) => {
|
|
2935
|
-
e.target === t && (a.current =
|
|
2932
|
+
e.target === t && (a.current = qa(r.current));
|
|
2936
2933
|
};
|
|
2937
2934
|
return t.addEventListener("animationstart", c), t.addEventListener("animationcancel", o), t.addEventListener("animationend", o), () => {
|
|
2938
2935
|
n.clearTimeout(e), t.removeEventListener("animationstart", c), t.removeEventListener("animationcancel", o), t.removeEventListener("animationend", o);
|
|
@@ -2945,18 +2942,18 @@ function Va(e) {
|
|
|
2945
2942
|
}, [])
|
|
2946
2943
|
};
|
|
2947
2944
|
}
|
|
2948
|
-
function
|
|
2945
|
+
function qa(e) {
|
|
2949
2946
|
return e?.animationName || "none";
|
|
2950
2947
|
}
|
|
2951
|
-
function
|
|
2948
|
+
function Ja(e) {
|
|
2952
2949
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
2953
2950
|
return n ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
|
|
2954
2951
|
}
|
|
2955
2952
|
//#endregion
|
|
2956
2953
|
//#region ../node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
|
|
2957
|
-
var
|
|
2958
|
-
function
|
|
2959
|
-
let [i, a, o] =
|
|
2954
|
+
var Ya = P.useInsertionEffect || ur;
|
|
2955
|
+
function Xa({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
2956
|
+
let [i, a, o] = Za({
|
|
2960
2957
|
defaultProp: t,
|
|
2961
2958
|
onChange: n
|
|
2962
2959
|
}), s = e !== void 0, c = s ? e : i;
|
|
@@ -2969,7 +2966,7 @@ function Ga({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
|
2969
2966
|
}
|
|
2970
2967
|
return [c, P.useCallback((t) => {
|
|
2971
2968
|
if (s) {
|
|
2972
|
-
let n =
|
|
2969
|
+
let n = Qa(t) ? t(e) : t;
|
|
2973
2970
|
n !== e && o.current?.(n);
|
|
2974
2971
|
} else a(t);
|
|
2975
2972
|
}, [
|
|
@@ -2979,9 +2976,9 @@ function Ga({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
|
2979
2976
|
o
|
|
2980
2977
|
])];
|
|
2981
2978
|
}
|
|
2982
|
-
function
|
|
2979
|
+
function Za({ defaultProp: e, onChange: t }) {
|
|
2983
2980
|
let [n, r] = P.useState(e), i = P.useRef(n), a = P.useRef(t);
|
|
2984
|
-
return
|
|
2981
|
+
return Ya(() => {
|
|
2985
2982
|
a.current = t;
|
|
2986
2983
|
}, [t]), P.useEffect(() => {
|
|
2987
2984
|
i.current !== n && (a.current?.(n), i.current = n);
|
|
@@ -2991,27 +2988,27 @@ function Ka({ defaultProp: e, onChange: t }) {
|
|
|
2991
2988
|
a
|
|
2992
2989
|
];
|
|
2993
2990
|
}
|
|
2994
|
-
function
|
|
2991
|
+
function Qa(e) {
|
|
2995
2992
|
return typeof e == "function";
|
|
2996
2993
|
}
|
|
2997
2994
|
//#endregion
|
|
2998
2995
|
//#region ../node_modules/aria-hidden/dist/es2015/index.js
|
|
2999
|
-
var
|
|
2996
|
+
var $a = function(e) {
|
|
3000
2997
|
return typeof document > "u" ? null : (Array.isArray(e) ? e[0] : e).ownerDocument.body;
|
|
3001
|
-
},
|
|
3002
|
-
return e && (e.host ||
|
|
3003
|
-
},
|
|
2998
|
+
}, eo = /* @__PURE__ */ new WeakMap(), to = /* @__PURE__ */ new WeakMap(), no = {}, ro = 0, io = function(e) {
|
|
2999
|
+
return e && (e.host || io(e.parentNode));
|
|
3000
|
+
}, ao = function(e, t) {
|
|
3004
3001
|
return t.map(function(t) {
|
|
3005
3002
|
if (e.contains(t)) return t;
|
|
3006
|
-
var n =
|
|
3003
|
+
var n = io(t);
|
|
3007
3004
|
return n && e.contains(n) ? n : (console.error("aria-hidden", t, "in not contained inside", e, ". Doing nothing"), null);
|
|
3008
3005
|
}).filter(function(e) {
|
|
3009
3006
|
return !!e;
|
|
3010
3007
|
});
|
|
3011
|
-
},
|
|
3012
|
-
var i =
|
|
3013
|
-
|
|
3014
|
-
var a =
|
|
3008
|
+
}, oo = function(e, t, n, r) {
|
|
3009
|
+
var i = ao(t, Array.isArray(e) ? e : [e]);
|
|
3010
|
+
no[n] || (no[n] = /* @__PURE__ */ new WeakMap());
|
|
3011
|
+
var a = no[n], o = [], s = /* @__PURE__ */ new Set(), c = new Set(i), l = function(e) {
|
|
3015
3012
|
!e || s.has(e) || (s.add(e), l(e.parentNode));
|
|
3016
3013
|
};
|
|
3017
3014
|
i.forEach(l);
|
|
@@ -3019,38 +3016,38 @@ var Ja = function(e) {
|
|
|
3019
3016
|
!e || c.has(e) || Array.prototype.forEach.call(e.children, function(e) {
|
|
3020
3017
|
if (s.has(e)) u(e);
|
|
3021
3018
|
else try {
|
|
3022
|
-
var t = e.getAttribute(r), i = t !== null && t !== "false", c = (
|
|
3023
|
-
|
|
3019
|
+
var t = e.getAttribute(r), i = t !== null && t !== "false", c = (eo.get(e) || 0) + 1, l = (a.get(e) || 0) + 1;
|
|
3020
|
+
eo.set(e, c), a.set(e, l), o.push(e), c === 1 && i && to.set(e, !0), l === 1 && e.setAttribute(n, "true"), i || e.setAttribute(r, "true");
|
|
3024
3021
|
} catch (t) {
|
|
3025
3022
|
console.error("aria-hidden: cannot operate on ", e, t);
|
|
3026
3023
|
}
|
|
3027
3024
|
});
|
|
3028
3025
|
};
|
|
3029
|
-
return u(t), s.clear(),
|
|
3026
|
+
return u(t), s.clear(), ro++, function() {
|
|
3030
3027
|
o.forEach(function(e) {
|
|
3031
|
-
var t =
|
|
3032
|
-
|
|
3033
|
-
}),
|
|
3028
|
+
var t = eo.get(e) - 1, i = a.get(e) - 1;
|
|
3029
|
+
eo.set(e, t), a.set(e, i), t || (to.has(e) || e.removeAttribute(r), to.delete(e)), i || e.removeAttribute(n);
|
|
3030
|
+
}), ro--, ro || (eo = /* @__PURE__ */ new WeakMap(), eo = /* @__PURE__ */ new WeakMap(), to = /* @__PURE__ */ new WeakMap(), no = {});
|
|
3034
3031
|
};
|
|
3035
|
-
},
|
|
3032
|
+
}, so = function(e, t, n) {
|
|
3036
3033
|
n === void 0 && (n = "data-aria-hidden");
|
|
3037
|
-
var r = Array.from(Array.isArray(e) ? e : [e]), i = t ||
|
|
3038
|
-
return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live], script"))),
|
|
3034
|
+
var r = Array.from(Array.isArray(e) ? e : [e]), i = t || $a(e);
|
|
3035
|
+
return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live], script"))), oo(r, i, n, "aria-hidden")) : function() {
|
|
3039
3036
|
return null;
|
|
3040
3037
|
};
|
|
3041
|
-
},
|
|
3042
|
-
return
|
|
3038
|
+
}, Q = function() {
|
|
3039
|
+
return Q = Object.assign || function(e) {
|
|
3043
3040
|
for (var t, n = 1, r = arguments.length; n < r; n++) for (var i in t = arguments[n], t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
|
|
3044
3041
|
return e;
|
|
3045
|
-
},
|
|
3042
|
+
}, Q.apply(this, arguments);
|
|
3046
3043
|
};
|
|
3047
|
-
function
|
|
3044
|
+
function co(e, t) {
|
|
3048
3045
|
var n = {};
|
|
3049
3046
|
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
3050
3047
|
if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++) t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
|
|
3051
3048
|
return n;
|
|
3052
3049
|
}
|
|
3053
|
-
function
|
|
3050
|
+
function lo(e, t, n, r) {
|
|
3054
3051
|
function i(e) {
|
|
3055
3052
|
return e instanceof n ? e : new n(function(t) {
|
|
3056
3053
|
t(e);
|
|
@@ -3077,7 +3074,7 @@ function io(e, t, n, r) {
|
|
|
3077
3074
|
c((r = r.apply(e, t || [])).next());
|
|
3078
3075
|
});
|
|
3079
3076
|
}
|
|
3080
|
-
function
|
|
3077
|
+
function uo(e, t) {
|
|
3081
3078
|
var n = {
|
|
3082
3079
|
label: 0,
|
|
3083
3080
|
sent: function() {
|
|
@@ -3147,7 +3144,7 @@ function ao(e, t) {
|
|
|
3147
3144
|
};
|
|
3148
3145
|
}
|
|
3149
3146
|
}
|
|
3150
|
-
function
|
|
3147
|
+
function fo(e, t) {
|
|
3151
3148
|
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
3152
3149
|
if (!n) return e;
|
|
3153
3150
|
var r = n.call(e), i, a = [], o;
|
|
@@ -3164,25 +3161,25 @@ function oo(e, t) {
|
|
|
3164
3161
|
}
|
|
3165
3162
|
return a;
|
|
3166
3163
|
}
|
|
3167
|
-
function
|
|
3168
|
-
for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(
|
|
3164
|
+
function po() {
|
|
3165
|
+
for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(fo(arguments[t]));
|
|
3169
3166
|
return e;
|
|
3170
3167
|
}
|
|
3171
|
-
function
|
|
3168
|
+
function mo(e, t, n) {
|
|
3172
3169
|
if (n || arguments.length === 2) for (var r = 0, i = t.length, a; r < i; r++) (a || !(r in t)) && (a ||= Array.prototype.slice.call(t, 0, r), a[r] = t[r]);
|
|
3173
3170
|
return e.concat(a || Array.prototype.slice.call(t));
|
|
3174
3171
|
}
|
|
3175
3172
|
//#endregion
|
|
3176
3173
|
//#region ../node_modules/react-remove-scroll-bar/dist/es2015/constants.js
|
|
3177
|
-
var
|
|
3174
|
+
var ho = "right-scroll-bar-position", go = "width-before-scroll-bar", _o = "with-scroll-bars-hidden", vo = "--removed-body-scroll-bar-size";
|
|
3178
3175
|
//#endregion
|
|
3179
3176
|
//#region ../node_modules/use-callback-ref/dist/es2015/assignRef.js
|
|
3180
|
-
function
|
|
3177
|
+
function yo(e, t) {
|
|
3181
3178
|
return typeof e == "function" ? e(t) : e && (e.current = t), e;
|
|
3182
3179
|
}
|
|
3183
3180
|
//#endregion
|
|
3184
3181
|
//#region ../node_modules/use-callback-ref/dist/es2015/useRef.js
|
|
3185
|
-
function
|
|
3182
|
+
function bo(e, t) {
|
|
3186
3183
|
var n = (0, P.useState)(function() {
|
|
3187
3184
|
return {
|
|
3188
3185
|
value: e,
|
|
@@ -3202,33 +3199,33 @@ function ho(e, t) {
|
|
|
3202
3199
|
}
|
|
3203
3200
|
//#endregion
|
|
3204
3201
|
//#region ../node_modules/use-callback-ref/dist/es2015/useMergeRef.js
|
|
3205
|
-
var
|
|
3206
|
-
function
|
|
3207
|
-
var n =
|
|
3202
|
+
var xo = typeof window < "u" ? P.useLayoutEffect : P.useEffect, So = /* @__PURE__ */ new WeakMap();
|
|
3203
|
+
function Co(e, t) {
|
|
3204
|
+
var n = bo(t || null, function(t) {
|
|
3208
3205
|
return e.forEach(function(e) {
|
|
3209
|
-
return
|
|
3206
|
+
return yo(e, t);
|
|
3210
3207
|
});
|
|
3211
3208
|
});
|
|
3212
|
-
return
|
|
3213
|
-
var t =
|
|
3209
|
+
return xo(function() {
|
|
3210
|
+
var t = So.get(n);
|
|
3214
3211
|
if (t) {
|
|
3215
3212
|
var r = new Set(t), i = new Set(e), a = n.current;
|
|
3216
3213
|
r.forEach(function(e) {
|
|
3217
|
-
i.has(e) ||
|
|
3214
|
+
i.has(e) || yo(e, null);
|
|
3218
3215
|
}), i.forEach(function(e) {
|
|
3219
|
-
r.has(e) ||
|
|
3216
|
+
r.has(e) || yo(e, a);
|
|
3220
3217
|
});
|
|
3221
3218
|
}
|
|
3222
|
-
|
|
3219
|
+
So.set(n, e);
|
|
3223
3220
|
}, [e]), n;
|
|
3224
3221
|
}
|
|
3225
3222
|
//#endregion
|
|
3226
3223
|
//#region ../node_modules/use-sidecar/dist/es2015/medium.js
|
|
3227
|
-
function
|
|
3224
|
+
function wo(e) {
|
|
3228
3225
|
return e;
|
|
3229
3226
|
}
|
|
3230
|
-
function
|
|
3231
|
-
t === void 0 && (t =
|
|
3227
|
+
function To(e, t) {
|
|
3228
|
+
t === void 0 && (t = wo);
|
|
3232
3229
|
var n = [], r = !1;
|
|
3233
3230
|
return {
|
|
3234
3231
|
read: function() {
|
|
@@ -3281,35 +3278,35 @@ function bo(e, t) {
|
|
|
3281
3278
|
}
|
|
3282
3279
|
};
|
|
3283
3280
|
}
|
|
3284
|
-
function
|
|
3281
|
+
function Eo(e) {
|
|
3285
3282
|
e === void 0 && (e = {});
|
|
3286
|
-
var t =
|
|
3287
|
-
return t.options =
|
|
3283
|
+
var t = To(null);
|
|
3284
|
+
return t.options = Q({
|
|
3288
3285
|
async: !0,
|
|
3289
3286
|
ssr: !1
|
|
3290
3287
|
}, e), t;
|
|
3291
3288
|
}
|
|
3292
3289
|
//#endregion
|
|
3293
3290
|
//#region ../node_modules/use-sidecar/dist/es2015/exports.js
|
|
3294
|
-
var
|
|
3295
|
-
var t = e.sideCar, n =
|
|
3291
|
+
var Do = function(e) {
|
|
3292
|
+
var t = e.sideCar, n = co(e, ["sideCar"]);
|
|
3296
3293
|
if (!t) throw Error("Sidecar: please provide `sideCar` property to import the right car");
|
|
3297
3294
|
var r = t.read();
|
|
3298
3295
|
if (!r) throw Error("Sidecar medium not found");
|
|
3299
|
-
return P.createElement(r,
|
|
3296
|
+
return P.createElement(r, Q({}, n));
|
|
3300
3297
|
};
|
|
3301
|
-
|
|
3302
|
-
function
|
|
3303
|
-
return e.useMedium(t),
|
|
3298
|
+
Do.isSideCarExport = !0;
|
|
3299
|
+
function Oo(e, t) {
|
|
3300
|
+
return e.useMedium(t), Do;
|
|
3304
3301
|
}
|
|
3305
3302
|
//#endregion
|
|
3306
3303
|
//#region ../node_modules/react-remove-scroll/dist/es2015/medium.js
|
|
3307
|
-
var
|
|
3304
|
+
var ko = Eo(), Ao = function() {}, jo = P.forwardRef(function(e, t) {
|
|
3308
3305
|
var n = P.useRef(null), r = P.useState({
|
|
3309
|
-
onScrollCapture:
|
|
3310
|
-
onWheelCapture:
|
|
3311
|
-
onTouchMoveCapture:
|
|
3312
|
-
}), 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 =
|
|
3306
|
+
onScrollCapture: Ao,
|
|
3307
|
+
onWheelCapture: Ao,
|
|
3308
|
+
onTouchMoveCapture: Ao
|
|
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 = co(e, [
|
|
3313
3310
|
"forwardProps",
|
|
3314
3311
|
"children",
|
|
3315
3312
|
"className",
|
|
@@ -3323,9 +3320,9 @@ var wo = xo(), To = function() {}, Eo = P.forwardRef(function(e, t) {
|
|
|
3323
3320
|
"allowPinchZoom",
|
|
3324
3321
|
"as",
|
|
3325
3322
|
"gapMode"
|
|
3326
|
-
]), x = f, S =
|
|
3323
|
+
]), x = f, S = Co([n, t]), C = Q(Q({}, b), i);
|
|
3327
3324
|
return P.createElement(P.Fragment, null, u && P.createElement(x, {
|
|
3328
|
-
sideCar:
|
|
3325
|
+
sideCar: ko,
|
|
3329
3326
|
removeScrollBar: l,
|
|
3330
3327
|
shards: d,
|
|
3331
3328
|
noRelative: p,
|
|
@@ -3335,52 +3332,52 @@ var wo = xo(), To = function() {}, Eo = P.forwardRef(function(e, t) {
|
|
|
3335
3332
|
allowPinchZoom: !!g,
|
|
3336
3333
|
lockRef: n,
|
|
3337
3334
|
gapMode: y
|
|
3338
|
-
}), o ? P.cloneElement(P.Children.only(s),
|
|
3335
|
+
}), o ? P.cloneElement(P.Children.only(s), Q(Q({}, C), { ref: S })) : P.createElement(v, Q({}, C, {
|
|
3339
3336
|
className: c,
|
|
3340
3337
|
ref: S
|
|
3341
3338
|
}), s));
|
|
3342
3339
|
});
|
|
3343
|
-
|
|
3340
|
+
jo.defaultProps = {
|
|
3344
3341
|
enabled: !0,
|
|
3345
3342
|
removeScrollBar: !0,
|
|
3346
3343
|
inert: !1
|
|
3347
|
-
},
|
|
3348
|
-
fullWidth:
|
|
3349
|
-
zeroRight:
|
|
3344
|
+
}, jo.classNames = {
|
|
3345
|
+
fullWidth: go,
|
|
3346
|
+
zeroRight: ho
|
|
3350
3347
|
};
|
|
3351
3348
|
//#endregion
|
|
3352
3349
|
//#region ../node_modules/get-nonce/dist/es2015/index.js
|
|
3353
|
-
var
|
|
3354
|
-
if (
|
|
3350
|
+
var Mo, No = function() {
|
|
3351
|
+
if (Mo) return Mo;
|
|
3355
3352
|
if (typeof __webpack_nonce__ < "u") return __webpack_nonce__;
|
|
3356
3353
|
};
|
|
3357
3354
|
//#endregion
|
|
3358
3355
|
//#region ../node_modules/react-style-singleton/dist/es2015/singleton.js
|
|
3359
|
-
function
|
|
3356
|
+
function Po() {
|
|
3360
3357
|
if (!document) return null;
|
|
3361
3358
|
var e = document.createElement("style");
|
|
3362
3359
|
e.type = "text/css";
|
|
3363
|
-
var t =
|
|
3360
|
+
var t = No();
|
|
3364
3361
|
return t && e.setAttribute("nonce", t), e;
|
|
3365
3362
|
}
|
|
3366
|
-
function
|
|
3363
|
+
function Fo(e, t) {
|
|
3367
3364
|
e.styleSheet ? e.styleSheet.cssText = t : e.appendChild(document.createTextNode(t));
|
|
3368
3365
|
}
|
|
3369
|
-
function
|
|
3366
|
+
function Io(e) {
|
|
3370
3367
|
(document.head || document.getElementsByTagName("head")[0]).appendChild(e);
|
|
3371
3368
|
}
|
|
3372
|
-
var
|
|
3369
|
+
var Lo = function() {
|
|
3373
3370
|
var e = 0, t = null;
|
|
3374
3371
|
return {
|
|
3375
3372
|
add: function(n) {
|
|
3376
|
-
e == 0 && (t =
|
|
3373
|
+
e == 0 && (t = Po()) && (Fo(t, n), Io(t)), e++;
|
|
3377
3374
|
},
|
|
3378
3375
|
remove: function() {
|
|
3379
3376
|
e--, !e && t && (t.parentNode && t.parentNode.removeChild(t), t = null);
|
|
3380
3377
|
}
|
|
3381
3378
|
};
|
|
3382
|
-
},
|
|
3383
|
-
var e =
|
|
3379
|
+
}, Ro = function() {
|
|
3380
|
+
var e = Lo();
|
|
3384
3381
|
return function(t, n) {
|
|
3385
3382
|
P.useEffect(function() {
|
|
3386
3383
|
return e.add(t), function() {
|
|
@@ -3388,43 +3385,43 @@ var Mo = function() {
|
|
|
3388
3385
|
};
|
|
3389
3386
|
}, [t && n]);
|
|
3390
3387
|
};
|
|
3391
|
-
},
|
|
3392
|
-
var e =
|
|
3388
|
+
}, zo = function() {
|
|
3389
|
+
var e = Ro();
|
|
3393
3390
|
return function(t) {
|
|
3394
3391
|
var n = t.styles, r = t.dynamic;
|
|
3395
3392
|
return e(n, r), null;
|
|
3396
3393
|
};
|
|
3397
|
-
},
|
|
3394
|
+
}, Bo = {
|
|
3398
3395
|
left: 0,
|
|
3399
3396
|
top: 0,
|
|
3400
3397
|
right: 0,
|
|
3401
3398
|
gap: 0
|
|
3402
|
-
},
|
|
3399
|
+
}, Vo = function(e) {
|
|
3403
3400
|
return parseInt(e || "", 10) || 0;
|
|
3404
|
-
},
|
|
3401
|
+
}, Ho = function(e) {
|
|
3405
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"];
|
|
3406
3403
|
return [
|
|
3407
|
-
|
|
3408
|
-
|
|
3409
|
-
|
|
3404
|
+
Vo(n),
|
|
3405
|
+
Vo(r),
|
|
3406
|
+
Vo(i)
|
|
3410
3407
|
];
|
|
3411
|
-
},
|
|
3412
|
-
if (e === void 0 && (e = "margin"), typeof window > "u") return
|
|
3413
|
-
var t =
|
|
3408
|
+
}, Uo = function(e) {
|
|
3409
|
+
if (e === void 0 && (e = "margin"), typeof window > "u") return Bo;
|
|
3410
|
+
var t = Ho(e), n = document.documentElement.clientWidth, r = window.innerWidth;
|
|
3414
3411
|
return {
|
|
3415
3412
|
left: t[0],
|
|
3416
3413
|
top: t[1],
|
|
3417
3414
|
right: t[2],
|
|
3418
3415
|
gap: Math.max(0, r - n + t[2] - t[0])
|
|
3419
3416
|
};
|
|
3420
|
-
},
|
|
3417
|
+
}, Wo = zo(), Go = "data-scroll-locked", Ko = function(e, t, n, r) {
|
|
3421
3418
|
var i = e.left, a = e.top, o = e.right, s = e.gap;
|
|
3422
3419
|
return n === void 0 && (n = "margin"), `
|
|
3423
|
-
.${
|
|
3420
|
+
.${_o} {
|
|
3424
3421
|
overflow: hidden ${r};
|
|
3425
3422
|
padding-right: ${s}px ${r};
|
|
3426
3423
|
}
|
|
3427
|
-
body[${
|
|
3424
|
+
body[${Go}] {
|
|
3428
3425
|
overflow: hidden ${r};
|
|
3429
3426
|
overscroll-behavior: contain;
|
|
3430
3427
|
${[
|
|
@@ -3441,122 +3438,122 @@ var Mo = function() {
|
|
|
3441
3438
|
].filter(Boolean).join("")}
|
|
3442
3439
|
}
|
|
3443
3440
|
|
|
3444
|
-
.${
|
|
3441
|
+
.${ho} {
|
|
3445
3442
|
right: ${s}px ${r};
|
|
3446
3443
|
}
|
|
3447
3444
|
|
|
3448
|
-
.${
|
|
3445
|
+
.${go} {
|
|
3449
3446
|
margin-right: ${s}px ${r};
|
|
3450
3447
|
}
|
|
3451
3448
|
|
|
3452
|
-
.${
|
|
3449
|
+
.${ho} .${ho} {
|
|
3453
3450
|
right: 0 ${r};
|
|
3454
3451
|
}
|
|
3455
3452
|
|
|
3456
|
-
.${
|
|
3453
|
+
.${go} .${go} {
|
|
3457
3454
|
margin-right: 0 ${r};
|
|
3458
3455
|
}
|
|
3459
3456
|
|
|
3460
|
-
body[${
|
|
3461
|
-
${
|
|
3457
|
+
body[${Go}] {
|
|
3458
|
+
${vo}: ${s}px;
|
|
3462
3459
|
}
|
|
3463
3460
|
`;
|
|
3464
|
-
},
|
|
3461
|
+
}, qo = function() {
|
|
3465
3462
|
var e = parseInt(document.body.getAttribute("data-scroll-locked") || "0", 10);
|
|
3466
3463
|
return isFinite(e) ? e : 0;
|
|
3467
|
-
},
|
|
3464
|
+
}, Jo = function() {
|
|
3468
3465
|
P.useEffect(function() {
|
|
3469
|
-
return document.body.setAttribute(
|
|
3470
|
-
var e =
|
|
3471
|
-
e <= 0 ? document.body.removeAttribute(
|
|
3466
|
+
return document.body.setAttribute(Go, (qo() + 1).toString()), function() {
|
|
3467
|
+
var e = qo() - 1;
|
|
3468
|
+
e <= 0 ? document.body.removeAttribute(Go) : document.body.setAttribute(Go, e.toString());
|
|
3472
3469
|
};
|
|
3473
3470
|
}, []);
|
|
3474
|
-
},
|
|
3471
|
+
}, Yo = function(e) {
|
|
3475
3472
|
var t = e.noRelative, n = e.noImportant, r = e.gapMode, i = r === void 0 ? "margin" : r;
|
|
3476
|
-
|
|
3473
|
+
Jo();
|
|
3477
3474
|
var a = P.useMemo(function() {
|
|
3478
|
-
return
|
|
3475
|
+
return Uo(i);
|
|
3479
3476
|
}, [i]);
|
|
3480
|
-
return P.createElement(
|
|
3481
|
-
},
|
|
3477
|
+
return P.createElement(Wo, { styles: Ko(a, !t, i, n ? "" : "!important") });
|
|
3478
|
+
}, Xo = !1;
|
|
3482
3479
|
if (typeof window < "u") try {
|
|
3483
|
-
var
|
|
3484
|
-
return
|
|
3480
|
+
var Zo = Object.defineProperty({}, "passive", { get: function() {
|
|
3481
|
+
return Xo = !0, !0;
|
|
3485
3482
|
} });
|
|
3486
|
-
window.addEventListener("test",
|
|
3483
|
+
window.addEventListener("test", Zo, Zo), window.removeEventListener("test", Zo, Zo);
|
|
3487
3484
|
} catch {
|
|
3488
|
-
|
|
3485
|
+
Xo = !1;
|
|
3489
3486
|
}
|
|
3490
|
-
var
|
|
3487
|
+
var Qo = Xo ? { passive: !1 } : !1, $o = function(e) {
|
|
3491
3488
|
return e.tagName === "TEXTAREA";
|
|
3492
|
-
},
|
|
3489
|
+
}, es = function(e, t) {
|
|
3493
3490
|
if (!(e instanceof Element)) return !1;
|
|
3494
3491
|
var n = window.getComputedStyle(e);
|
|
3495
|
-
return n[t] !== "hidden" && !(n.overflowY === n.overflowX &&
|
|
3496
|
-
},
|
|
3497
|
-
return
|
|
3498
|
-
},
|
|
3499
|
-
return
|
|
3500
|
-
},
|
|
3492
|
+
return n[t] !== "hidden" && !(n.overflowY === n.overflowX && !$o(e) && n[t] === "visible");
|
|
3493
|
+
}, ts = function(e) {
|
|
3494
|
+
return es(e, "overflowY");
|
|
3495
|
+
}, ns = function(e) {
|
|
3496
|
+
return es(e, "overflowX");
|
|
3497
|
+
}, rs = function(e, t) {
|
|
3501
3498
|
var n = t.ownerDocument, r = t;
|
|
3502
3499
|
do {
|
|
3503
|
-
if (typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host),
|
|
3504
|
-
var i =
|
|
3500
|
+
if (typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host), os(e, r)) {
|
|
3501
|
+
var i = ss(e, r);
|
|
3505
3502
|
if (i[1] > i[2]) return !0;
|
|
3506
3503
|
}
|
|
3507
3504
|
r = r.parentNode;
|
|
3508
3505
|
} while (r && r !== n.body);
|
|
3509
3506
|
return !1;
|
|
3510
|
-
},
|
|
3507
|
+
}, is = function(e) {
|
|
3511
3508
|
return [
|
|
3512
3509
|
e.scrollTop,
|
|
3513
3510
|
e.scrollHeight,
|
|
3514
3511
|
e.clientHeight
|
|
3515
3512
|
];
|
|
3516
|
-
},
|
|
3513
|
+
}, as = function(e) {
|
|
3517
3514
|
return [
|
|
3518
3515
|
e.scrollLeft,
|
|
3519
3516
|
e.scrollWidth,
|
|
3520
3517
|
e.clientWidth
|
|
3521
3518
|
];
|
|
3522
|
-
},
|
|
3523
|
-
return e === "v" ?
|
|
3524
|
-
},
|
|
3525
|
-
return e === "v" ?
|
|
3526
|
-
},
|
|
3519
|
+
}, os = function(e, t) {
|
|
3520
|
+
return e === "v" ? ts(t) : ns(t);
|
|
3521
|
+
}, ss = function(e, t) {
|
|
3522
|
+
return e === "v" ? is(t) : as(t);
|
|
3523
|
+
}, cs = function(e, t) {
|
|
3527
3524
|
return e === "h" && t === "rtl" ? -1 : 1;
|
|
3528
|
-
},
|
|
3529
|
-
var a =
|
|
3525
|
+
}, ls = 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;
|
|
3530
3527
|
do {
|
|
3531
3528
|
if (!s) break;
|
|
3532
|
-
var p =
|
|
3533
|
-
(m || h) &&
|
|
3529
|
+
var p = ss(e, s), m = p[0], h = p[1] - p[2] - a * m;
|
|
3530
|
+
(m || h) && os(e, s) && (d += h, f += m);
|
|
3534
3531
|
var g = s.parentNode;
|
|
3535
3532
|
s = g && g.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? g.host : g;
|
|
3536
3533
|
} while (!c && s !== document.body || c && (t.contains(s) || t === s));
|
|
3537
3534
|
return (u && (i && Math.abs(d) < 1 || !i && o > d) || !u && (i && Math.abs(f) < 1 || !i && -o > f)) && (l = !0), l;
|
|
3538
|
-
},
|
|
3535
|
+
}, us = function(e) {
|
|
3539
3536
|
return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
|
|
3540
|
-
},
|
|
3537
|
+
}, ds = function(e) {
|
|
3541
3538
|
return [e.deltaX, e.deltaY];
|
|
3542
|
-
},
|
|
3539
|
+
}, fs = function(e) {
|
|
3543
3540
|
return e && "current" in e ? e.current : e;
|
|
3544
|
-
},
|
|
3541
|
+
}, ps = function(e, t) {
|
|
3545
3542
|
return e[0] === t[0] && e[1] === t[1];
|
|
3546
|
-
},
|
|
3543
|
+
}, ms = function(e) {
|
|
3547
3544
|
return `
|
|
3548
3545
|
.block-interactivity-${e} {pointer-events: none;}
|
|
3549
3546
|
.allow-interactivity-${e} {pointer-events: all;}
|
|
3550
3547
|
`;
|
|
3551
|
-
},
|
|
3552
|
-
function
|
|
3553
|
-
var t = P.useRef([]), n = P.useRef([0, 0]), r = P.useRef(), i = P.useState(
|
|
3548
|
+
}, hs = 0, gs = [];
|
|
3549
|
+
function _s(e) {
|
|
3550
|
+
var t = P.useRef([]), n = P.useRef([0, 0]), r = P.useRef(), i = P.useState(hs++)[0], a = P.useState(zo)[0], o = P.useRef(e);
|
|
3554
3551
|
P.useEffect(function() {
|
|
3555
3552
|
o.current = e;
|
|
3556
3553
|
}, [e]), P.useEffect(function() {
|
|
3557
3554
|
if (e.inert) {
|
|
3558
3555
|
document.body.classList.add(`block-interactivity-${i}`);
|
|
3559
|
-
var t =
|
|
3556
|
+
var t = mo([e.lockRef.current], (e.shards || []).map(fs), !0).filter(Boolean);
|
|
3560
3557
|
return t.forEach(function(e) {
|
|
3561
3558
|
return e.classList.add(`allow-interactivity-${i}`);
|
|
3562
3559
|
}), function() {
|
|
@@ -3572,28 +3569,28 @@ function fs(e) {
|
|
|
3572
3569
|
]);
|
|
3573
3570
|
var s = P.useCallback(function(e, t) {
|
|
3574
3571
|
if ("touches" in e && e.touches.length === 2 || e.type === "wheel" && e.ctrlKey) return !o.current.allowPinchZoom;
|
|
3575
|
-
var i =
|
|
3572
|
+
var i = us(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";
|
|
3576
3573
|
if ("touches" in e && d === "h" && u.type === "range") return !1;
|
|
3577
3574
|
var f = window.getSelection(), p = f && f.anchorNode;
|
|
3578
3575
|
if (p && (p === u || p.contains(u))) return !1;
|
|
3579
|
-
var m =
|
|
3576
|
+
var m = rs(d, u);
|
|
3580
3577
|
if (!m) return !0;
|
|
3581
|
-
if (m ? l = d : (l = d === "v" ? "h" : "v", m =
|
|
3578
|
+
if (m ? l = d : (l = d === "v" ? "h" : "v", m = rs(d, u)), !m) return !1;
|
|
3582
3579
|
if (!r.current && "changedTouches" in e && (s || c) && (r.current = l), !l) return !0;
|
|
3583
3580
|
var h = r.current || l;
|
|
3584
|
-
return
|
|
3581
|
+
return ls(h, t, e, h === "h" ? s : c, !0);
|
|
3585
3582
|
}, []), c = P.useCallback(function(e) {
|
|
3586
3583
|
var n = e;
|
|
3587
|
-
if (!(!
|
|
3588
|
-
var r = "deltaY" in n ?
|
|
3589
|
-
return e.name === n.type && (e.target === n.target || n.target === e.shadowParent) &&
|
|
3584
|
+
if (!(!gs.length || gs[gs.length - 1] !== a)) {
|
|
3585
|
+
var r = "deltaY" in n ? ds(n) : us(n), i = t.current.filter(function(e) {
|
|
3586
|
+
return e.name === n.type && (e.target === n.target || n.target === e.shadowParent) && ps(e.delta, r);
|
|
3590
3587
|
})[0];
|
|
3591
3588
|
if (i && i.should) {
|
|
3592
3589
|
n.cancelable && n.preventDefault();
|
|
3593
3590
|
return;
|
|
3594
3591
|
}
|
|
3595
3592
|
if (!i) {
|
|
3596
|
-
var c = (o.current.shards || []).map(
|
|
3593
|
+
var c = (o.current.shards || []).map(fs).filter(Boolean).filter(function(e) {
|
|
3597
3594
|
return e.contains(n.target);
|
|
3598
3595
|
});
|
|
3599
3596
|
(c.length > 0 ? s(n, c[0]) : !o.current.noIsolation) && n.cancelable && n.preventDefault();
|
|
@@ -3605,7 +3602,7 @@ function fs(e) {
|
|
|
3605
3602
|
delta: n,
|
|
3606
3603
|
target: r,
|
|
3607
3604
|
should: i,
|
|
3608
|
-
shadowParent:
|
|
3605
|
+
shadowParent: vs(r)
|
|
3609
3606
|
};
|
|
3610
3607
|
t.current.push(a), setTimeout(function() {
|
|
3611
3608
|
t.current = t.current.filter(function(e) {
|
|
@@ -3613,56 +3610,56 @@ function fs(e) {
|
|
|
3613
3610
|
});
|
|
3614
3611
|
}, 1);
|
|
3615
3612
|
}, []), u = P.useCallback(function(e) {
|
|
3616
|
-
n.current =
|
|
3613
|
+
n.current = us(e), r.current = void 0;
|
|
3617
3614
|
}, []), d = P.useCallback(function(t) {
|
|
3618
|
-
l(t.type,
|
|
3615
|
+
l(t.type, ds(t), t.target, s(t, e.lockRef.current));
|
|
3619
3616
|
}, []), f = P.useCallback(function(t) {
|
|
3620
|
-
l(t.type,
|
|
3617
|
+
l(t.type, us(t), t.target, s(t, e.lockRef.current));
|
|
3621
3618
|
}, []);
|
|
3622
3619
|
P.useEffect(function() {
|
|
3623
|
-
return
|
|
3620
|
+
return gs.push(a), e.setCallbacks({
|
|
3624
3621
|
onScrollCapture: d,
|
|
3625
3622
|
onWheelCapture: d,
|
|
3626
3623
|
onTouchMoveCapture: f
|
|
3627
|
-
}), document.addEventListener("wheel", c,
|
|
3628
|
-
|
|
3624
|
+
}), document.addEventListener("wheel", c, Qo), document.addEventListener("touchmove", c, Qo), document.addEventListener("touchstart", u, Qo), function() {
|
|
3625
|
+
gs = gs.filter(function(e) {
|
|
3629
3626
|
return e !== a;
|
|
3630
|
-
}), document.removeEventListener("wheel", c,
|
|
3627
|
+
}), document.removeEventListener("wheel", c, Qo), document.removeEventListener("touchmove", c, Qo), document.removeEventListener("touchstart", u, Qo);
|
|
3631
3628
|
};
|
|
3632
3629
|
}, []);
|
|
3633
3630
|
var p = e.removeScrollBar, m = e.inert;
|
|
3634
|
-
return P.createElement(P.Fragment, null, m ? P.createElement(a, { styles:
|
|
3631
|
+
return P.createElement(P.Fragment, null, m ? P.createElement(a, { styles: ms(i) }) : null, p ? P.createElement(Yo, {
|
|
3635
3632
|
noRelative: e.noRelative,
|
|
3636
3633
|
gapMode: e.gapMode
|
|
3637
3634
|
}) : null);
|
|
3638
3635
|
}
|
|
3639
|
-
function
|
|
3636
|
+
function vs(e) {
|
|
3640
3637
|
for (var t = null; e !== null;) e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
|
|
3641
3638
|
return t;
|
|
3642
3639
|
}
|
|
3643
3640
|
//#endregion
|
|
3644
3641
|
//#region ../node_modules/react-remove-scroll/dist/es2015/sidecar.js
|
|
3645
|
-
var
|
|
3646
|
-
return P.createElement(
|
|
3642
|
+
var ys = Oo(ko, _s), bs = P.forwardRef(function(e, t) {
|
|
3643
|
+
return P.createElement(jo, Q({}, e, {
|
|
3647
3644
|
ref: t,
|
|
3648
|
-
sideCar:
|
|
3645
|
+
sideCar: ys
|
|
3649
3646
|
}));
|
|
3650
3647
|
});
|
|
3651
|
-
|
|
3648
|
+
bs.classNames = jo.classNames;
|
|
3652
3649
|
//#endregion
|
|
3653
3650
|
//#region ../node_modules/@radix-ui/react-popover/dist/index.mjs
|
|
3654
|
-
var
|
|
3655
|
-
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, s =
|
|
3651
|
+
var xs = "Popover", [Ss, Cs] = xn(xs, [Sa]), ws = Sa(), [Ts, $] = Ss(xs), Es = (e) => {
|
|
3652
|
+
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, s = ws(t), c = P.useRef(null), [l, u] = P.useState(!1), [d, f] = Xa({
|
|
3656
3653
|
prop: r,
|
|
3657
3654
|
defaultProp: i ?? !1,
|
|
3658
3655
|
onChange: a,
|
|
3659
|
-
caller:
|
|
3656
|
+
caller: xs
|
|
3660
3657
|
});
|
|
3661
|
-
return /* @__PURE__ */ (0, F.jsx)(
|
|
3658
|
+
return /* @__PURE__ */ (0, F.jsx)(Ra, {
|
|
3662
3659
|
...s,
|
|
3663
|
-
children: /* @__PURE__ */ (0, F.jsx)(
|
|
3660
|
+
children: /* @__PURE__ */ (0, F.jsx)(Ts, {
|
|
3664
3661
|
scope: t,
|
|
3665
|
-
contentId:
|
|
3662
|
+
contentId: pr(),
|
|
3666
3663
|
triggerRef: c,
|
|
3667
3664
|
open: d,
|
|
3668
3665
|
onOpenChange: f,
|
|
@@ -3675,42 +3672,42 @@ var gs = "Popover", [_s, vs] = _n(gs, [_a]), ys = _a(), [bs, xs] = _s(gs), Ss =
|
|
|
3675
3672
|
})
|
|
3676
3673
|
});
|
|
3677
3674
|
};
|
|
3678
|
-
|
|
3679
|
-
var
|
|
3680
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3681
|
-
return P.useEffect(() => (o(), () => s()), [o, s]), /* @__PURE__ */ (0, F.jsx)(
|
|
3675
|
+
Es.displayName = xs;
|
|
3676
|
+
var Ds = "PopoverAnchor", Os = P.forwardRef((e, t) => {
|
|
3677
|
+
let { __scopePopover: n, ...r } = e, i = $(Ds, n), a = ws(n), { onCustomAnchorAdd: o, onCustomAnchorRemove: s } = i;
|
|
3678
|
+
return P.useEffect(() => (o(), () => s()), [o, s]), /* @__PURE__ */ (0, F.jsx)(za, {
|
|
3682
3679
|
...a,
|
|
3683
3680
|
...r,
|
|
3684
3681
|
ref: t
|
|
3685
3682
|
});
|
|
3686
3683
|
});
|
|
3687
|
-
|
|
3688
|
-
var
|
|
3689
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3684
|
+
Os.displayName = Ds;
|
|
3685
|
+
var ks = "PopoverTrigger", As = P.forwardRef((e, t) => {
|
|
3686
|
+
let { __scopePopover: n, ...r } = e, i = $(ks, n), a = ws(n), o = B(t, i.triggerRef), s = /* @__PURE__ */ (0, F.jsx)(V.button, {
|
|
3690
3687
|
type: "button",
|
|
3691
3688
|
"aria-haspopup": "dialog",
|
|
3692
3689
|
"aria-expanded": i.open,
|
|
3693
3690
|
"aria-controls": i.contentId,
|
|
3694
|
-
"data-state":
|
|
3691
|
+
"data-state": Gs(i.open),
|
|
3695
3692
|
...r,
|
|
3696
3693
|
ref: o,
|
|
3697
3694
|
onClick: z(e.onClick, i.onOpenToggle)
|
|
3698
3695
|
});
|
|
3699
|
-
return i.hasCustomAnchor ? s : /* @__PURE__ */ (0, F.jsx)(
|
|
3696
|
+
return i.hasCustomAnchor ? s : /* @__PURE__ */ (0, F.jsx)(za, {
|
|
3700
3697
|
asChild: !0,
|
|
3701
3698
|
...a,
|
|
3702
3699
|
children: s
|
|
3703
3700
|
});
|
|
3704
3701
|
});
|
|
3705
|
-
|
|
3706
|
-
var
|
|
3707
|
-
let { __scopePopover: t, forceMount: n, children: r, container: i } = e, a =
|
|
3708
|
-
return /* @__PURE__ */ (0, F.jsx)(
|
|
3702
|
+
As.displayName = ks;
|
|
3703
|
+
var js = "PopoverPortal", [Ms, Ns] = Ss(js, { forceMount: void 0 }), Ps = (e) => {
|
|
3704
|
+
let { __scopePopover: t, forceMount: n, children: r, container: i } = e, a = $(js, t);
|
|
3705
|
+
return /* @__PURE__ */ (0, F.jsx)(Ms, {
|
|
3709
3706
|
scope: t,
|
|
3710
3707
|
forceMount: n,
|
|
3711
|
-
children: /* @__PURE__ */ (0, F.jsx)(
|
|
3708
|
+
children: /* @__PURE__ */ (0, F.jsx)(Ga, {
|
|
3712
3709
|
present: n || a.open,
|
|
3713
|
-
children: /* @__PURE__ */ (0, F.jsx)(
|
|
3710
|
+
children: /* @__PURE__ */ (0, F.jsx)(Ua, {
|
|
3714
3711
|
asChild: !0,
|
|
3715
3712
|
container: i,
|
|
3716
3713
|
children: r
|
|
@@ -3718,30 +3715,30 @@ var Ds = "PopoverPortal", [Os, ks] = _s(Ds, { forceMount: void 0 }), As = (e) =>
|
|
|
3718
3715
|
})
|
|
3719
3716
|
});
|
|
3720
3717
|
};
|
|
3721
|
-
|
|
3722
|
-
var
|
|
3723
|
-
let n =
|
|
3724
|
-
return /* @__PURE__ */ (0, F.jsx)(
|
|
3718
|
+
Ps.displayName = js;
|
|
3719
|
+
var Fs = "PopoverContent", Is = P.forwardRef((e, t) => {
|
|
3720
|
+
let n = Ns(Fs, e.__scopePopover), { forceMount: r = n.forceMount, ...i } = e, a = $(Fs, e.__scopePopover);
|
|
3721
|
+
return /* @__PURE__ */ (0, F.jsx)(Ga, {
|
|
3725
3722
|
present: r || a.open,
|
|
3726
|
-
children: a.modal ? /* @__PURE__ */ (0, F.jsx)(
|
|
3723
|
+
children: a.modal ? /* @__PURE__ */ (0, F.jsx)(Rs, {
|
|
3727
3724
|
...i,
|
|
3728
3725
|
ref: t
|
|
3729
|
-
}) : /* @__PURE__ */ (0, F.jsx)(
|
|
3726
|
+
}) : /* @__PURE__ */ (0, F.jsx)(zs, {
|
|
3730
3727
|
...i,
|
|
3731
3728
|
ref: t
|
|
3732
3729
|
})
|
|
3733
3730
|
});
|
|
3734
3731
|
});
|
|
3735
|
-
|
|
3736
|
-
var
|
|
3737
|
-
let n =
|
|
3732
|
+
Is.displayName = Fs;
|
|
3733
|
+
var Ls = /* @__PURE__ */ Cn("PopoverContent.RemoveScroll"), Rs = P.forwardRef((e, t) => {
|
|
3734
|
+
let n = $(Fs, e.__scopePopover), r = P.useRef(null), i = B(t, r), a = P.useRef(!1);
|
|
3738
3735
|
return P.useEffect(() => {
|
|
3739
3736
|
let e = r.current;
|
|
3740
|
-
if (e) return
|
|
3741
|
-
}, []), /* @__PURE__ */ (0, F.jsx)(
|
|
3742
|
-
as:
|
|
3737
|
+
if (e) return so(e);
|
|
3738
|
+
}, []), /* @__PURE__ */ (0, F.jsx)(bs, {
|
|
3739
|
+
as: Ls,
|
|
3743
3740
|
allowPinchZoom: !0,
|
|
3744
|
-
children: /* @__PURE__ */ (0, F.jsx)(
|
|
3741
|
+
children: /* @__PURE__ */ (0, F.jsx)(Bs, {
|
|
3745
3742
|
...e,
|
|
3746
3743
|
ref: i,
|
|
3747
3744
|
trapFocus: n.open,
|
|
@@ -3756,9 +3753,9 @@ var Ns = /* @__PURE__ */ yn("PopoverContent.RemoveScroll"), Ps = P.forwardRef((e
|
|
|
3756
3753
|
onFocusOutside: z(e.onFocusOutside, (e) => e.preventDefault(), { checkForDefaultPrevented: !1 })
|
|
3757
3754
|
})
|
|
3758
3755
|
});
|
|
3759
|
-
}),
|
|
3760
|
-
let n =
|
|
3761
|
-
return /* @__PURE__ */ (0, F.jsx)(
|
|
3756
|
+
}), zs = P.forwardRef((e, t) => {
|
|
3757
|
+
let n = $(Fs, e.__scopePopover), r = P.useRef(!1), i = P.useRef(!1);
|
|
3758
|
+
return /* @__PURE__ */ (0, F.jsx)(Bs, {
|
|
3762
3759
|
...e,
|
|
3763
3760
|
ref: t,
|
|
3764
3761
|
trapFocus: !1,
|
|
@@ -3772,15 +3769,15 @@ var Ns = /* @__PURE__ */ yn("PopoverContent.RemoveScroll"), Ps = P.forwardRef((e
|
|
|
3772
3769
|
n.triggerRef.current?.contains(a) && t.preventDefault(), t.detail.originalEvent.type === "focusin" && i.current && t.preventDefault();
|
|
3773
3770
|
}
|
|
3774
3771
|
});
|
|
3775
|
-
}),
|
|
3776
|
-
let { __scopePopover: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, disableOutsidePointerEvents: o, onEscapeKeyDown: s, onPointerDownOutside: c, onFocusOutside: l, onInteractOutside: u, ...d } = e, f =
|
|
3777
|
-
return
|
|
3772
|
+
}), Bs = P.forwardRef((e, t) => {
|
|
3773
|
+
let { __scopePopover: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, disableOutsidePointerEvents: o, onEscapeKeyDown: s, onPointerDownOutside: c, onFocusOutside: l, onInteractOutside: u, ...d } = e, f = $(Fs, n), p = ws(n);
|
|
3774
|
+
return Kn(), /* @__PURE__ */ (0, F.jsx)(Qn, {
|
|
3778
3775
|
asChild: !0,
|
|
3779
3776
|
loop: !0,
|
|
3780
3777
|
trapped: r,
|
|
3781
3778
|
onMountAutoFocus: i,
|
|
3782
3779
|
onUnmountAutoFocus: a,
|
|
3783
|
-
children: /* @__PURE__ */ (0, F.jsx)(
|
|
3780
|
+
children: /* @__PURE__ */ (0, F.jsx)(Rn, {
|
|
3784
3781
|
asChild: !0,
|
|
3785
3782
|
disableOutsidePointerEvents: o,
|
|
3786
3783
|
onInteractOutside: u,
|
|
@@ -3788,8 +3785,8 @@ var Ns = /* @__PURE__ */ yn("PopoverContent.RemoveScroll"), Ps = P.forwardRef((e
|
|
|
3788
3785
|
onPointerDownOutside: c,
|
|
3789
3786
|
onFocusOutside: l,
|
|
3790
3787
|
onDismiss: () => f.onOpenChange(!1),
|
|
3791
|
-
children: /* @__PURE__ */ (0, F.jsx)(
|
|
3792
|
-
"data-state":
|
|
3788
|
+
children: /* @__PURE__ */ (0, F.jsx)(Ba, {
|
|
3789
|
+
"data-state": Gs(f.open),
|
|
3793
3790
|
role: "dialog",
|
|
3794
3791
|
id: f.contentId,
|
|
3795
3792
|
...p,
|
|
@@ -3806,8 +3803,8 @@ var Ns = /* @__PURE__ */ yn("PopoverContent.RemoveScroll"), Ps = P.forwardRef((e
|
|
|
3806
3803
|
})
|
|
3807
3804
|
})
|
|
3808
3805
|
});
|
|
3809
|
-
}),
|
|
3810
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3806
|
+
}), Vs = "PopoverClose", Hs = P.forwardRef((e, t) => {
|
|
3807
|
+
let { __scopePopover: n, ...r } = e, i = $(Vs, n);
|
|
3811
3808
|
return /* @__PURE__ */ (0, F.jsx)(V.button, {
|
|
3812
3809
|
type: "button",
|
|
3813
3810
|
...r,
|
|
@@ -3815,36 +3812,36 @@ var Ns = /* @__PURE__ */ yn("PopoverContent.RemoveScroll"), Ps = P.forwardRef((e
|
|
|
3815
3812
|
onClick: z(e.onClick, () => i.onOpenChange(!1))
|
|
3816
3813
|
});
|
|
3817
3814
|
});
|
|
3818
|
-
|
|
3819
|
-
var
|
|
3820
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3821
|
-
return /* @__PURE__ */ (0, F.jsx)(
|
|
3815
|
+
Hs.displayName = Vs;
|
|
3816
|
+
var Us = "PopoverArrow", Ws = P.forwardRef((e, t) => {
|
|
3817
|
+
let { __scopePopover: n, ...r } = e, i = ws(n);
|
|
3818
|
+
return /* @__PURE__ */ (0, F.jsx)(Va, {
|
|
3822
3819
|
...i,
|
|
3823
3820
|
...r,
|
|
3824
3821
|
ref: t
|
|
3825
3822
|
});
|
|
3826
3823
|
});
|
|
3827
|
-
|
|
3828
|
-
function
|
|
3824
|
+
Ws.displayName = Us;
|
|
3825
|
+
function Gs(e) {
|
|
3829
3826
|
return e ? "open" : "closed";
|
|
3830
3827
|
}
|
|
3831
|
-
var
|
|
3828
|
+
var Ks = Es, qs = As, Js = Is, Ys = Ws, Xs = ({ message: e, trigger: t, initialVisibility: n = !1 }) => /* @__PURE__ */ (0, F.jsxs)(Ks, {
|
|
3832
3829
|
defaultOpen: n,
|
|
3833
3830
|
children: [/* @__PURE__ */ (0, F.jsx)("div", {
|
|
3834
3831
|
className: "flex justify-center",
|
|
3835
|
-
children: /* @__PURE__ */ (0, F.jsx)(
|
|
3832
|
+
children: /* @__PURE__ */ (0, F.jsx)(qs, {
|
|
3836
3833
|
asChild: !0,
|
|
3837
3834
|
children: t
|
|
3838
3835
|
})
|
|
3839
|
-
}), /* @__PURE__ */ (0, F.jsxs)(
|
|
3836
|
+
}), /* @__PURE__ */ (0, F.jsxs)(Js, {
|
|
3840
3837
|
className: "sid-popover__container",
|
|
3841
3838
|
sideOffset: 10,
|
|
3842
3839
|
side: "bottom",
|
|
3843
|
-
children: [e, /* @__PURE__ */ (0, F.jsx)(
|
|
3840
|
+
children: [e, /* @__PURE__ */ (0, F.jsx)(Ys, { className: "sid-popover__caret" })]
|
|
3844
3841
|
})]
|
|
3845
|
-
}),
|
|
3846
|
-
let n =
|
|
3847
|
-
return /* @__PURE__ */ (0, F.jsx)(
|
|
3842
|
+
}), Zs = ({ verificationService: e, initialVisibility: t = !1 }) => {
|
|
3843
|
+
let n = Se();
|
|
3844
|
+
return /* @__PURE__ */ (0, F.jsx)(Xs, {
|
|
3848
3845
|
initialVisibility: t,
|
|
3849
3846
|
trigger: /* @__PURE__ */ (0, F.jsx)("button", {
|
|
3850
3847
|
type: "button",
|
|
@@ -3857,29 +3854,29 @@ var Hs = Ss, Us = Es, Ws = Ms, Gs = Bs, Ks = ({ message: e, trigger: t, initialV
|
|
|
3857
3854
|
context: n
|
|
3858
3855
|
}),
|
|
3859
3856
|
"\xA0",
|
|
3860
|
-
/* @__PURE__ */ (0, F.jsx)(
|
|
3857
|
+
/* @__PURE__ */ (0, F.jsx)(Mt, { verificationService: e })
|
|
3861
3858
|
] })
|
|
3862
3859
|
});
|
|
3863
|
-
},
|
|
3864
|
-
let t = a(() => e.programTheme.remainingRewardCodes, null);
|
|
3865
|
-
return typeof
|
|
3860
|
+
}, Qs = ({ verificationService: e }) => {
|
|
3861
|
+
let t = De(), n = a(() => e.programTheme.remainingRewardCodes, null);
|
|
3862
|
+
return typeof n == "number" && n > 0 ? /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
3866
3863
|
className: "sid-rewards-remaining",
|
|
3867
3864
|
role: "note",
|
|
3868
3865
|
children: [
|
|
3869
3866
|
/* @__PURE__ */ (0, F.jsx)("div", { className: "sid-l-space-top-md" }),
|
|
3870
3867
|
/* @__PURE__ */ (0, F.jsx)(M, {
|
|
3871
3868
|
id: "lowRewardPool",
|
|
3872
|
-
defaultMessage:
|
|
3873
|
-
values: { offersRemaining:
|
|
3869
|
+
defaultMessage: t?.lowRewardPool,
|
|
3870
|
+
values: { offersRemaining: n }
|
|
3874
3871
|
}),
|
|
3875
3872
|
/* @__PURE__ */ (0, F.jsx)("div", { className: "sid-l-space-top-sm" })
|
|
3876
3873
|
]
|
|
3877
3874
|
}) : null;
|
|
3878
|
-
},
|
|
3879
|
-
let { verificationResponse: n } = e, r =
|
|
3875
|
+
}, $s = (e) => e !== void 0, ec = ({ verificationService: e, classNameIdentifier: t = void 0 }) => {
|
|
3876
|
+
let { verificationResponse: n } = e, r = $s(n) ? Ze(n) : !1, i = r ? "step.personalInfo.tryAgain.title" : "step.personalInfo.title", a = r ? "step.personalInfo.tryAgain.subtitle" : "step.personalInfo.subtitle";
|
|
3880
3877
|
return /* @__PURE__ */ (0, F.jsx)("div", {
|
|
3881
3878
|
className: "sid-personal-info-header",
|
|
3882
|
-
children: /* @__PURE__ */ (0, F.jsxs)(
|
|
3879
|
+
children: /* @__PURE__ */ (0, F.jsxs)(vn, {
|
|
3883
3880
|
verificationService: e,
|
|
3884
3881
|
title: /* @__PURE__ */ (0, F.jsx)(N, {
|
|
3885
3882
|
id: i,
|
|
@@ -3893,7 +3890,7 @@ var Hs = Ss, Us = Es, Ws = Ms, Gs = Bs, Ks = ({ message: e, trigger: t, initialV
|
|
|
3893
3890
|
}),
|
|
3894
3891
|
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
3895
3892
|
className: "sid-header__how-verifying-works sid-l-horz-center",
|
|
3896
|
-
children: !r && /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(
|
|
3893
|
+
children: !r && /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(Zs, { verificationService: e }), /* @__PURE__ */ (0, F.jsx)(Qs, { verificationService: e })] })
|
|
3897
3894
|
}),
|
|
3898
3895
|
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
3899
3896
|
className: "sid-h-medium-text sid-l-space-btm-sm sid-l-space-top-sm",
|
|
@@ -3902,15 +3899,15 @@ var Hs = Ss, Us = Es, Ws = Ms, Gs = Bs, Ks = ({ message: e, trigger: t, initialV
|
|
|
3902
3899
|
]
|
|
3903
3900
|
})
|
|
3904
3901
|
});
|
|
3905
|
-
},
|
|
3906
|
-
let { isEmbedded: i } =
|
|
3902
|
+
}, tc = () => ({ isEmbedded: !!d("verificationIframeUid") }), nc = ({ layout: e, children: t, verificationService: n, renderAsLandingPage: r }) => {
|
|
3903
|
+
let { isEmbedded: i } = tc();
|
|
3907
3904
|
return !r || i ? /* @__PURE__ */ (0, F.jsx)(F.Fragment, { children: t }) : /* @__PURE__ */ (0, F.jsx)("div", {
|
|
3908
3905
|
className: `sid-layout sid-layout--${e}`,
|
|
3909
3906
|
children: /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
3910
3907
|
className: "sid-layout__container",
|
|
3911
3908
|
children: [e === "fullRight" && /* @__PURE__ */ (0, F.jsx)("div", {
|
|
3912
3909
|
className: "sid-layout__content",
|
|
3913
|
-
children: /* @__PURE__ */ (0, F.jsx)(
|
|
3910
|
+
children: /* @__PURE__ */ (0, F.jsx)(ec, {
|
|
3914
3911
|
verificationService: n,
|
|
3915
3912
|
classNameIdentifier: "landing"
|
|
3916
3913
|
})
|
|
@@ -3923,129 +3920,137 @@ var Hs = Ss, Us = Es, Ws = Ms, Gs = Bs, Ks = ({ message: e, trigger: t, initialV
|
|
|
3923
3920
|
})]
|
|
3924
3921
|
})
|
|
3925
3922
|
});
|
|
3926
|
-
},
|
|
3923
|
+
}, rc = ({ children: e }) => /* @__PURE__ */ (0, F.jsx)("div", {
|
|
3927
3924
|
className: "sid sid-form-wrapper",
|
|
3928
3925
|
children: e
|
|
3929
|
-
}),
|
|
3930
|
-
let
|
|
3931
|
-
...
|
|
3932
|
-
...
|
|
3933
|
-
} :
|
|
3934
|
-
...
|
|
3935
|
-
programTheme:
|
|
3936
|
-
verificationResponse:
|
|
3937
|
-
formValidationOptions:
|
|
3926
|
+
}), ic = ({ locale: e, programTheme: t, verificationService: n, programId: r }) => {
|
|
3927
|
+
let i = rt(), a = w(), s = Ae() ?? t, c = Ce(ve, de), l = (0, P.useMemo)(() => c ? {
|
|
3928
|
+
...n.verificationResponse,
|
|
3929
|
+
...c
|
|
3930
|
+
} : n.verificationResponse, [c, n.verificationResponse]), u = (0, P.useMemo)(() => ({
|
|
3931
|
+
...n,
|
|
3932
|
+
programTheme: s,
|
|
3933
|
+
verificationResponse: l,
|
|
3934
|
+
formValidationOptions: kt(s, l, n.viewModel)
|
|
3938
3935
|
}), [
|
|
3939
|
-
|
|
3940
|
-
|
|
3941
|
-
|
|
3942
|
-
]),
|
|
3936
|
+
n,
|
|
3937
|
+
s,
|
|
3938
|
+
l
|
|
3939
|
+
]), d = s.themeChoices?.landingPage?.layout || "center", { renderAs: f } = a, p = at();
|
|
3943
3940
|
P.useEffect(() => {
|
|
3944
3941
|
try {
|
|
3945
|
-
if (
|
|
3946
|
-
let e = (0,
|
|
3947
|
-
E(
|
|
3948
|
-
let t =
|
|
3942
|
+
if (p && u && u.viewModel) {
|
|
3943
|
+
let e = (0, wt.default)(p);
|
|
3944
|
+
E(y.flags, e);
|
|
3945
|
+
let t = S(u.viewModel.metadata || {}, (t) => {
|
|
3949
3946
|
t.flags = e;
|
|
3950
|
-
}), n =
|
|
3947
|
+
}), n = S(u.viewModel, (e) => {
|
|
3951
3948
|
e.metadata = t;
|
|
3952
3949
|
});
|
|
3953
|
-
|
|
3950
|
+
u.updateViewModel(n);
|
|
3954
3951
|
}
|
|
3955
3952
|
} catch (e) {
|
|
3956
3953
|
O.error(e);
|
|
3957
3954
|
}
|
|
3958
3955
|
}, []), P.useEffect(() => {
|
|
3959
|
-
if (
|
|
3956
|
+
if (u.verificationResponse.verificationId && a._launchDarklyUserTargeting && i) {
|
|
3960
3957
|
let e = {
|
|
3961
3958
|
kind: "multi",
|
|
3962
3959
|
user: {
|
|
3963
|
-
key:
|
|
3964
|
-
locale:
|
|
3965
|
-
segment:
|
|
3966
|
-
installType:
|
|
3960
|
+
key: u.verificationResponse.verificationId,
|
|
3961
|
+
locale: u.verificationResponse.locale,
|
|
3962
|
+
segment: u.verificationResponse.segment,
|
|
3963
|
+
installType: ie()
|
|
3967
3964
|
},
|
|
3968
|
-
program: { key:
|
|
3965
|
+
program: { key: r }
|
|
3969
3966
|
};
|
|
3970
|
-
|
|
3967
|
+
s.accountId && (e.account = { key: s.accountId }), i.identify(e);
|
|
3971
3968
|
}
|
|
3972
|
-
}, [
|
|
3969
|
+
}, [u.verificationResponse.verificationId, i]), P.useEffect(() => {
|
|
3973
3970
|
try {
|
|
3974
|
-
|
|
3971
|
+
w()._launchDarklyFlagCb(p);
|
|
3975
3972
|
} catch {}
|
|
3976
|
-
}, [
|
|
3977
|
-
let
|
|
3978
|
-
return /* @__PURE__ */ (0, F.jsx)(
|
|
3973
|
+
}, [p]);
|
|
3974
|
+
let m = De(), h = Ce(ve, fe);
|
|
3975
|
+
return /* @__PURE__ */ (0, F.jsx)(se, {
|
|
3979
3976
|
locale: "en",
|
|
3980
3977
|
messages: {
|
|
3981
|
-
...
|
|
3982
|
-
...(0,
|
|
3983
|
-
...(0,
|
|
3978
|
+
...m,
|
|
3979
|
+
...(0, _t.default)(C(e)),
|
|
3980
|
+
...(0, _t.default)(h?.[e] ?? {})
|
|
3984
3981
|
},
|
|
3985
|
-
textComponent:
|
|
3986
|
-
children: /* @__PURE__ */ (0, F.jsx)(
|
|
3987
|
-
themeChoices:
|
|
3988
|
-
customCssFromOptions:
|
|
3982
|
+
textComponent: gn,
|
|
3983
|
+
children: /* @__PURE__ */ (0, F.jsx)(Ot, {
|
|
3984
|
+
themeChoices: s.themeChoices,
|
|
3985
|
+
customCssFromOptions: w().customCss,
|
|
3989
3986
|
children: /* @__PURE__ */ (0, F.jsx)("div", {
|
|
3990
|
-
className: `${
|
|
3991
|
-
children: /* @__PURE__ */ (0, F.jsx)(
|
|
3992
|
-
layout:
|
|
3993
|
-
verificationService:
|
|
3994
|
-
renderAsLandingPage:
|
|
3987
|
+
className: `${Tt.default.isRtlLang(_(e)) ? "sid-rtl" : "sid-ltr"} sid-locale-${e}`,
|
|
3988
|
+
children: /* @__PURE__ */ (0, F.jsx)(rc, { children: /* @__PURE__ */ (0, F.jsx)(nc, {
|
|
3989
|
+
layout: d,
|
|
3990
|
+
verificationService: u,
|
|
3991
|
+
renderAsLandingPage: f === "landingPage",
|
|
3995
3992
|
children: /* @__PURE__ */ (0, F.jsx)(P.Suspense, {
|
|
3996
|
-
fallback: /* @__PURE__ */ (0, F.jsx)(
|
|
3997
|
-
children: /* @__PURE__ */ (0, F.jsx)(
|
|
3998
|
-
i18n:
|
|
3999
|
-
children:
|
|
4000
|
-
stepToLoad:
|
|
4001
|
-
verificationService:
|
|
3993
|
+
fallback: /* @__PURE__ */ (0, F.jsx)(xt, { step: u.loadingStep }),
|
|
3994
|
+
children: /* @__PURE__ */ (0, F.jsx)(mt, {
|
|
3995
|
+
i18n: o,
|
|
3996
|
+
children: u.isLoading ? /* @__PURE__ */ (0, F.jsx)(xt, { step: u.loadingStep }) : /* @__PURE__ */ (0, F.jsxs)("div", { children: [!w().hideTestModeFlag && /* @__PURE__ */ (0, F.jsx)(_n, { verificationService: u }), /* @__PURE__ */ (0, F.jsx)(hn, {
|
|
3997
|
+
stepToLoad: u.overrideStep || u.verificationResponse.currentStep,
|
|
3998
|
+
verificationService: u
|
|
4002
3999
|
})] })
|
|
4003
4000
|
})
|
|
4004
4001
|
})
|
|
4005
4002
|
}) })
|
|
4006
4003
|
})
|
|
4007
4004
|
})
|
|
4008
|
-
},
|
|
4009
|
-
},
|
|
4005
|
+
}, e);
|
|
4006
|
+
}, ac = () => {
|
|
4010
4007
|
let e = null;
|
|
4011
4008
|
document.addEventListener("keydown", (t) => {
|
|
4012
4009
|
if (t.key !== "Tab") return;
|
|
4013
4010
|
let n = document.querySelectorAll("button, .sid-link, input, select, textarea, [tabindex]:not([tabindex=\"-1\"]");
|
|
4014
|
-
e = n[n.length - 1], e && !t.shiftKey && document.activeElement === e && (
|
|
4011
|
+
e = n[n.length - 1], e && !t.shiftKey && document.activeElement === e && (nt({
|
|
4015
4012
|
type: "focus",
|
|
4016
4013
|
focusOn: "firstElement"
|
|
4017
4014
|
}), t.preventDefault());
|
|
4018
4015
|
}), window.addEventListener("message", (t) => {
|
|
4019
4016
|
t.data.focusOn === "lastElement" && e && e.focus();
|
|
4020
|
-
}),
|
|
4017
|
+
}), nt({
|
|
4021
4018
|
type: "focus",
|
|
4022
4019
|
focusOn: "firstElement"
|
|
4023
4020
|
});
|
|
4024
|
-
},
|
|
4021
|
+
}, oc = () => {
|
|
4025
4022
|
window.addEventListener("message", (e) => {
|
|
4026
|
-
e.data.isInLightBox === "true" &&
|
|
4023
|
+
e.data.isInLightBox === "true" && ac();
|
|
4027
4024
|
});
|
|
4028
|
-
},
|
|
4025
|
+
}, sc = ({ locale: e }) => /* @__PURE__ */ (0, F.jsx)(se, {
|
|
4026
|
+
locale: "en",
|
|
4027
|
+
messages: {
|
|
4028
|
+
...De(),
|
|
4029
|
+
...(0, _t.default)(C(e))
|
|
4030
|
+
},
|
|
4031
|
+
textComponent: gn,
|
|
4032
|
+
children: /* @__PURE__ */ (0, F.jsx)(xt, {})
|
|
4033
|
+
}, e), cc = class extends P.Component {
|
|
4029
4034
|
verificationService;
|
|
4030
4035
|
constructor(e) {
|
|
4031
4036
|
super(e), O.info("NewVerificationComponent: constructing"), this.props.trackingId && this.props.trackingId.length ? O.info(`Attaching a trackingId to this verification request ${this.props.trackingId}`) : O.info("No trackingId to associate with the verification request");
|
|
4032
4037
|
}
|
|
4033
4038
|
componentDidMount() {
|
|
4034
|
-
if (
|
|
4039
|
+
if (f(), oc(), _e((e) => {
|
|
4035
4040
|
switch (e.data.action) {
|
|
4036
4041
|
case "setViewModel":
|
|
4037
|
-
|
|
4042
|
+
Ye(e.data.viewModel, {
|
|
4038
4043
|
partial: !0,
|
|
4039
4044
|
metadataCheck: !0,
|
|
4040
4045
|
externalUserIdCheck: !0
|
|
4041
4046
|
});
|
|
4042
4047
|
break;
|
|
4043
4048
|
case "setOptions":
|
|
4044
|
-
|
|
4049
|
+
v(e.data.options);
|
|
4045
4050
|
break;
|
|
4046
4051
|
default:
|
|
4047
4052
|
}
|
|
4048
|
-
}),
|
|
4053
|
+
}), ze()) O.info("Mocking loading screen. Not fetching new verification request.");
|
|
4049
4054
|
else {
|
|
4050
4055
|
O.info("NewVerificationComponent: fetchNewVerificationRequest");
|
|
4051
4056
|
let e = a(() => this.props.verificationService.verificationResponse.segment);
|
|
@@ -4053,84 +4058,72 @@ var Hs = Ss, Us = Es, Ws = Ms, Gs = Bs, Ks = ({ message: e, trigger: t, initialV
|
|
|
4053
4058
|
}
|
|
4054
4059
|
}
|
|
4055
4060
|
render() {
|
|
4056
|
-
let { viewModel: e } = this.props.verificationService, t =
|
|
4057
|
-
this.props.
|
|
4058
|
-
let r =
|
|
4059
|
-
|
|
4060
|
-
...(0, pt.default)(x(t))
|
|
4061
|
-
};
|
|
4062
|
-
if (this.props.verificationService.isLoading && !this.props.verificationService.loadingStep) return O.info("NewVerificationComponent: VerificationService is loading"), /* @__PURE__ */ (0, F.jsx)(oe, {
|
|
4063
|
-
locale: "en",
|
|
4064
|
-
messages: r,
|
|
4065
|
-
textComponent: fn,
|
|
4066
|
-
children: /* @__PURE__ */ (0, F.jsx)(_t, {})
|
|
4067
|
-
}, t);
|
|
4068
|
-
let { programTheme: i } = this.props.verificationService, { verificationResponse: a } = this.props.verificationService;
|
|
4069
|
-
return O.info("NewVerificationComponent: verificationResponse, viewModel", a, e), O.info(`NewVerificationComponent: locale: ${t}, currentStep: ${a.currentStep}, messages: `, n), /* @__PURE__ */ (0, F.jsx)(ec, {
|
|
4061
|
+
let { viewModel: e } = this.props.verificationService, t = T(e);
|
|
4062
|
+
if (this.props.verificationService.isLoading && !this.props.verificationService.loadingStep) return O.info("NewVerificationComponent: VerificationService is loading"), /* @__PURE__ */ (0, F.jsx)(sc, { locale: t });
|
|
4063
|
+
let { programTheme: n } = this.props.verificationService, { verificationResponse: r } = this.props.verificationService;
|
|
4064
|
+
return O.info("NewVerificationComponent: verificationResponse, viewModel", r, e), O.info(`NewVerificationComponent: locale: ${t}, currentStep: ${r.currentStep}`), /* @__PURE__ */ (0, F.jsx)(ic, {
|
|
4070
4065
|
locale: t,
|
|
4071
|
-
|
|
4072
|
-
programTheme: i,
|
|
4066
|
+
programTheme: n,
|
|
4073
4067
|
verificationService: this.props.verificationService,
|
|
4074
4068
|
programId: this.props.programId
|
|
4075
4069
|
});
|
|
4076
4070
|
}
|
|
4077
|
-
},
|
|
4071
|
+
}, lc = Oe((e, t) => ({ ...e }), (e, t) => ({
|
|
4078
4072
|
dispatch: e,
|
|
4079
|
-
fetchNewVerificationRequest:
|
|
4080
|
-
fetchExistingVerificationRequest:
|
|
4081
|
-
updateViewModel:
|
|
4082
|
-
updateLocale:
|
|
4083
|
-
updateProgramTheme:
|
|
4084
|
-
updateFieldValidationErrors:
|
|
4085
|
-
resetState:
|
|
4073
|
+
fetchNewVerificationRequest: Xe(e),
|
|
4074
|
+
fetchExistingVerificationRequest: He(e),
|
|
4075
|
+
updateViewModel: Ge(e),
|
|
4076
|
+
updateLocale: tt(e, t.programId),
|
|
4077
|
+
updateProgramTheme: We(e),
|
|
4078
|
+
updateFieldValidationErrors: Je(e),
|
|
4079
|
+
resetState: $e(e)
|
|
4086
4080
|
}), (e, t, n) => {
|
|
4087
4081
|
let { dispatch: r, ...i } = t, { programTheme: a } = e;
|
|
4088
4082
|
return {
|
|
4089
4083
|
verificationService: {
|
|
4090
4084
|
...e,
|
|
4091
4085
|
...i,
|
|
4092
|
-
submitStep:
|
|
4086
|
+
submitStep: Ue(r, a)
|
|
4093
4087
|
},
|
|
4094
|
-
messages: e.messages,
|
|
4095
4088
|
...n
|
|
4096
4089
|
};
|
|
4097
|
-
})(
|
|
4090
|
+
})(cc), uc = (e) => ({
|
|
4098
4091
|
kind: "program",
|
|
4099
4092
|
key: e
|
|
4100
|
-
}),
|
|
4093
|
+
}), dc = ({ programId: e, children: t }) => /* @__PURE__ */ (0, F.jsx)(it, {
|
|
4101
4094
|
clientSideID: "6530161f9ff41712a2eef741",
|
|
4102
|
-
context:
|
|
4103
|
-
flags:
|
|
4095
|
+
context: uc(e),
|
|
4096
|
+
flags: ot,
|
|
4104
4097
|
reactOptions: { useCamelCaseFlagKeys: !1 },
|
|
4105
4098
|
options: { streaming: !1 },
|
|
4106
4099
|
children: t
|
|
4107
|
-
}),
|
|
4108
|
-
E(
|
|
4109
|
-
var
|
|
4100
|
+
}), fc = Qe();
|
|
4101
|
+
E(y.jslibVersionActual, a(() => re(), "?")), E(y.clientVersion, a(() => re(), "?"));
|
|
4102
|
+
var pc = P.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
4110
4103
|
try {
|
|
4111
|
-
|
|
4104
|
+
Ve();
|
|
4112
4105
|
} catch (e) {
|
|
4113
4106
|
O.warn("Failed to add predefined hooks", e);
|
|
4114
4107
|
}
|
|
4115
4108
|
return (0, P.useEffect)(() => {
|
|
4116
|
-
|
|
4117
|
-
}),
|
|
4109
|
+
ee();
|
|
4110
|
+
}), fc.dispatch({
|
|
4118
4111
|
programId: e,
|
|
4119
4112
|
type: "PROGRAM_ID"
|
|
4120
4113
|
}), n && (n.current = {
|
|
4121
|
-
refresh: P.useCallback(() =>
|
|
4122
|
-
reset: P.useCallback(() =>
|
|
4123
|
-
}), /* @__PURE__ */ (0, F.jsx)(
|
|
4124
|
-
store:
|
|
4125
|
-
children: /* @__PURE__ */ (0, F.jsx)(
|
|
4114
|
+
refresh: P.useCallback(() => fc.dispatch({ type: "FORCE_UPDATE" }), []),
|
|
4115
|
+
reset: P.useCallback(() => fc.dispatch({ type: "RESET_STATE" }), [])
|
|
4116
|
+
}), /* @__PURE__ */ (0, F.jsx)(we, {
|
|
4117
|
+
store: fc,
|
|
4118
|
+
children: /* @__PURE__ */ (0, F.jsx)(dc, {
|
|
4126
4119
|
programId: e,
|
|
4127
|
-
children: /* @__PURE__ */ (0, F.jsx)(
|
|
4120
|
+
children: /* @__PURE__ */ (0, F.jsx)(lc, {
|
|
4128
4121
|
programId: e,
|
|
4129
4122
|
trackingId: t
|
|
4130
4123
|
})
|
|
4131
4124
|
})
|
|
4132
4125
|
});
|
|
4133
|
-
}),
|
|
4126
|
+
}), mc = class e {
|
|
4134
4127
|
element;
|
|
4135
4128
|
programId;
|
|
4136
4129
|
trackingId;
|
|
@@ -4138,7 +4131,7 @@ var cc = P.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
4138
4131
|
ref;
|
|
4139
4132
|
constructor(t, n, r) {
|
|
4140
4133
|
if (!(this instanceof e)) throw Error("Method \"render\" not found. Did you use the \"new\" keyword when instantiating VerificationForm?");
|
|
4141
|
-
O.info(`Constructing VerificationFormEs5 ${n}`),
|
|
4134
|
+
O.info(`Constructing VerificationFormEs5 ${n}`), h(t), this.element = t, this.programId = n, this.trackingId = r, this.ref = P.createRef(), this.render();
|
|
4142
4135
|
}
|
|
4143
4136
|
refresh() {
|
|
4144
4137
|
this.ref.current.refresh();
|
|
@@ -4147,20 +4140,20 @@ var cc = P.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
4147
4140
|
this.ref.current.reset();
|
|
4148
4141
|
}
|
|
4149
4142
|
render() {
|
|
4150
|
-
|
|
4143
|
+
vt.render(/* @__PURE__ */ (0, F.jsx)(pc, {
|
|
4151
4144
|
programId: this.programId,
|
|
4152
4145
|
trackingId: this.trackingId,
|
|
4153
4146
|
ref: this.ref
|
|
4154
4147
|
}), this.element);
|
|
4155
4148
|
}
|
|
4156
4149
|
unmount() {
|
|
4157
|
-
|
|
4150
|
+
vt.unmountComponentAtNode(this.element);
|
|
4158
4151
|
}
|
|
4159
4152
|
};
|
|
4160
4153
|
//#endregion
|
|
4161
4154
|
//#region src/lib/state/previewMessages.ts
|
|
4162
|
-
function
|
|
4163
|
-
|
|
4155
|
+
function hc(e, t) {
|
|
4156
|
+
ve.set((n) => ({
|
|
4164
4157
|
...n,
|
|
4165
4158
|
overrides: {
|
|
4166
4159
|
...n.overrides,
|
|
@@ -4172,14 +4165,14 @@ function uc(e, t) {
|
|
|
4172
4165
|
}
|
|
4173
4166
|
}
|
|
4174
4167
|
}
|
|
4175
|
-
})),
|
|
4168
|
+
})), i({ [e]: t });
|
|
4176
4169
|
}
|
|
4177
|
-
function
|
|
4178
|
-
|
|
4170
|
+
function gc(e) {
|
|
4171
|
+
e.forEach((e) => o.removeResourceBundle(e, c.OPTIONS)), i(w().messagesWithLocale);
|
|
4179
4172
|
}
|
|
4180
4173
|
//#endregion
|
|
4181
4174
|
//#region src/lib/state/previewResponse.ts
|
|
4182
|
-
var
|
|
4175
|
+
var _c = {
|
|
4183
4176
|
step: "mockStep",
|
|
4184
4177
|
previousStep: "mockPreviousStep",
|
|
4185
4178
|
segment: "mockSegment",
|
|
@@ -4193,14 +4186,14 @@ var fc = {
|
|
|
4193
4186
|
idCheckLoopServiceType: "mockIdCheckLoopServiceType",
|
|
4194
4187
|
docSelected: "mockDocSelected"
|
|
4195
4188
|
};
|
|
4196
|
-
async function
|
|
4189
|
+
async function vc(e) {
|
|
4197
4190
|
let t = {};
|
|
4198
4191
|
Object.keys(e).forEach((n) => {
|
|
4199
|
-
let r =
|
|
4192
|
+
let r = _c[n];
|
|
4200
4193
|
r && (t[r] = e[n]);
|
|
4201
|
-
}),
|
|
4202
|
-
let n = e.step ??
|
|
4203
|
-
|
|
4194
|
+
}), v(t);
|
|
4195
|
+
let n = e.step ?? ve.get().overrides.mock?.step, r = n ? await Le(n, Qe().getState().verificationResponse) : void 0;
|
|
4196
|
+
ve.set((t) => ({
|
|
4204
4197
|
...t,
|
|
4205
4198
|
overrides: {
|
|
4206
4199
|
...t.overrides,
|
|
@@ -4214,65 +4207,65 @@ async function pc(e) {
|
|
|
4214
4207
|
}
|
|
4215
4208
|
//#endregion
|
|
4216
4209
|
//#region src/lib/state/previewApi.ts
|
|
4217
|
-
function
|
|
4218
|
-
|
|
4210
|
+
function yc(e) {
|
|
4211
|
+
ge({ programTheme: e });
|
|
4219
4212
|
}
|
|
4220
|
-
function
|
|
4221
|
-
|
|
4213
|
+
function bc(e) {
|
|
4214
|
+
ge({ programTheme: e });
|
|
4222
4215
|
}
|
|
4223
|
-
function
|
|
4224
|
-
|
|
4216
|
+
function xc(e) {
|
|
4217
|
+
ge({ response: e });
|
|
4225
4218
|
}
|
|
4226
|
-
function
|
|
4227
|
-
let t =
|
|
4228
|
-
return
|
|
4219
|
+
function Sc(e) {
|
|
4220
|
+
let t = Qe(), { programId: n, verificationResponse: r } = t.getState();
|
|
4221
|
+
return tt(t.dispatch, n)(e, r?.segment);
|
|
4229
4222
|
}
|
|
4230
|
-
function
|
|
4231
|
-
let e = Object.keys(
|
|
4232
|
-
|
|
4223
|
+
function Cc() {
|
|
4224
|
+
let e = Object.keys(ve.get().overrides.messages ?? {});
|
|
4225
|
+
ue(), gc(e), me();
|
|
4233
4226
|
}
|
|
4234
4227
|
//#endregion
|
|
4235
4228
|
//#region src/lib/installScript/_mysheerid-preview.ts
|
|
4236
|
-
|
|
4237
|
-
function
|
|
4238
|
-
return new
|
|
4229
|
+
ne(oe.programBuilderPreview);
|
|
4230
|
+
function wc(e, t) {
|
|
4231
|
+
return new mc(e, t);
|
|
4239
4232
|
}
|
|
4240
|
-
function
|
|
4241
|
-
return
|
|
4233
|
+
function Tc(e, t) {
|
|
4234
|
+
return ye(), v({
|
|
4242
4235
|
mockStep: t.step,
|
|
4243
4236
|
mockSegment: "student"
|
|
4244
|
-
}), new
|
|
4245
|
-
}
|
|
4246
|
-
function
|
|
4247
|
-
|
|
4248
|
-
}
|
|
4249
|
-
function
|
|
4250
|
-
|
|
4251
|
-
}
|
|
4252
|
-
function
|
|
4253
|
-
|
|
4254
|
-
}
|
|
4255
|
-
function
|
|
4256
|
-
|
|
4257
|
-
}
|
|
4258
|
-
function
|
|
4259
|
-
return
|
|
4260
|
-
}
|
|
4261
|
-
var
|
|
4262
|
-
loadInElement:
|
|
4263
|
-
renderMockProgram:
|
|
4264
|
-
getProgramMessages:
|
|
4265
|
-
getFeatureFlags:
|
|
4266
|
-
setProgramThemeChoices:
|
|
4267
|
-
setProgramOptions:
|
|
4268
|
-
resetProgramOptions:
|
|
4269
|
-
setPreviewBranding:
|
|
4270
|
-
setPreviewConfiguration:
|
|
4271
|
-
setPreviewMessages:
|
|
4272
|
-
setPreviewResponse:
|
|
4273
|
-
setPreviewMock:
|
|
4274
|
-
setPreviewLocale:
|
|
4275
|
-
clearPreview:
|
|
4237
|
+
}), new mc(e, void 0);
|
|
4238
|
+
}
|
|
4239
|
+
function Ec(e) {
|
|
4240
|
+
gt(e);
|
|
4241
|
+
}
|
|
4242
|
+
function Dc(e) {
|
|
4243
|
+
qe(), v(e);
|
|
4244
|
+
}
|
|
4245
|
+
function Oc() {
|
|
4246
|
+
u();
|
|
4247
|
+
}
|
|
4248
|
+
function kc(e) {
|
|
4249
|
+
v({ _launchDarklyFlagCb: e });
|
|
4250
|
+
}
|
|
4251
|
+
function Ac(e, t, n) {
|
|
4252
|
+
return b(e, t, n);
|
|
4253
|
+
}
|
|
4254
|
+
var jc = {
|
|
4255
|
+
loadInElement: wc,
|
|
4256
|
+
renderMockProgram: Tc,
|
|
4257
|
+
getProgramMessages: Ac,
|
|
4258
|
+
getFeatureFlags: kc,
|
|
4259
|
+
setProgramThemeChoices: Ec,
|
|
4260
|
+
setProgramOptions: Dc,
|
|
4261
|
+
resetProgramOptions: Oc,
|
|
4262
|
+
setPreviewBranding: yc,
|
|
4263
|
+
setPreviewConfiguration: bc,
|
|
4264
|
+
setPreviewMessages: hc,
|
|
4265
|
+
setPreviewResponse: xc,
|
|
4266
|
+
setPreviewMock: vc,
|
|
4267
|
+
setPreviewLocale: Sc,
|
|
4268
|
+
clearPreview: Cc
|
|
4276
4269
|
};
|
|
4277
4270
|
//#endregion
|
|
4278
|
-
export {
|
|
4271
|
+
export { Ft as A, Cn as C, z as D, B as E, Et as M, xt as N, qt as O, yt as P, kn as S, bn as T, Qn as _, uo as a, An as b, Xa as c, Cc as clearPreview, za as d, jc as default, Va as f, pr as g, kc as getFeatureFlags, Ac as getProgramMessages, Sa as h, lo as i, Mt as j, Ht as k, Ga as l, wc as loadInElement, Ra as m, Qs as n, po as o, Ba as p, bs as r, Tc as renderMockProgram, Oc as resetProgramOptions, so as s, yc as setPreviewBranding, bc as setPreviewConfiguration, Sc as setPreviewLocale, hc as setPreviewMessages, vc as setPreviewMock, xc as setPreviewResponse, Dc as setProgramOptions, Ec as setProgramThemeChoices, ec as t, Ua as u, Kn as v, xn as w, V as x, Rn as y };
|