@sheerid/jslib 2.306.0 → 2.307.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 +963 -972
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/{AddressComponent-uJCuo22u.js → AddressComponent-C2lC7O7h.js} +5 -5
- package/chunk/{AddressComponent-CcEzpDGt.js.map → AddressComponent-C2lC7O7h.js.map} +1 -1
- package/chunk/{AddressComponent-CcEzpDGt.js → AddressComponent-h8JfcOkn.js} +5 -5
- package/chunk/{AddressComponent-uJCuo22u.js.map → AddressComponent-h8JfcOkn.js.map} +1 -1
- package/chunk/AnnouncingHeader-DKOYC3b9.js +4 -4
- package/chunk/AnnouncingHeader-gJrk6VDV.js +4 -4
- package/chunk/{BirthDateComponent-DPwL_esM.js → BirthDateComponent-DLA-a79g.js} +5 -5
- package/chunk/{BirthDateComponent-DPwL_esM.js.map → BirthDateComponent-DLA-a79g.js.map} +1 -1
- package/chunk/{BirthDateComponent-c3-VfXxt.js → BirthDateComponent-PIolYRcO.js} +5 -5
- package/chunk/{BirthDateComponent-c3-VfXxt.js.map → BirthDateComponent-PIolYRcO.js.map} +1 -1
- package/chunk/{CaptchaComponent-3YIkG9Wr.js → CaptchaComponent-DNRbjOk0.js} +216 -219
- package/chunk/{CaptchaComponent-3YIkG9Wr.js.map → CaptchaComponent-DNRbjOk0.js.map} +1 -1
- package/chunk/{CaptchaComponent-B9U-3SMZ.js → CaptchaComponent-DwUevV3t.js} +223 -226
- package/chunk/{CaptchaComponent-B9U-3SMZ.js.map → CaptchaComponent-DwUevV3t.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-FiBBf-GR.js → ChangeLocaleComponent-BOMhh2b3.js} +7 -7
- package/chunk/{ChangeLocaleComponent-FiBBf-GR.js.map → ChangeLocaleComponent-BOMhh2b3.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-k7OjzNbY.js → ChangeLocaleComponent-D0JepSri.js} +7 -7
- package/chunk/{ChangeLocaleComponent-k7OjzNbY.js.map → ChangeLocaleComponent-D0JepSri.js.map} +1 -1
- package/chunk/{City-DWGcObHo.js → City-DRLuVsMu.js} +5 -5
- package/chunk/{City-DWGcObHo.js.map → City-DRLuVsMu.js.map} +1 -1
- package/chunk/{City-PTqumFny.js → City-Ufl43AsO.js} +5 -5
- package/chunk/{City-PTqumFny.js.map → City-Ufl43AsO.js.map} +1 -1
- package/chunk/CollegeNameComponent-B8jZYiX1.js +43 -0
- package/chunk/CollegeNameComponent-B8jZYiX1.js.map +1 -0
- package/chunk/CollegeNameComponent-Xj0rQB7c.js +39 -0
- package/chunk/CollegeNameComponent-Xj0rQB7c.js.map +1 -0
- package/chunk/CopyToClipboardComponent-BorxChs8.js +4 -4
- package/chunk/CopyToClipboardComponent-ystjPwTW.js +4 -4
- package/chunk/{CountryComponentWrapper-DangmyAi.js → CountryComponentWrapper-CF5TH0Ww.js} +7 -7
- package/chunk/{CountryComponentWrapper-CZK3RrMe.js.map → CountryComponentWrapper-CF5TH0Ww.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-CZK3RrMe.js → CountryComponentWrapper-CauXt0Zp.js} +7 -7
- package/chunk/{CountryComponentWrapper-DangmyAi.js.map → CountryComponentWrapper-CauXt0Zp.js.map} +1 -1
- package/chunk/{DischargeDateComponent-CS7xH5hw.js → DischargeDateComponent-BURlHu-f.js} +8 -8
- package/chunk/{DischargeDateComponent-CS7xH5hw.js.map → DischargeDateComponent-BURlHu-f.js.map} +1 -1
- package/chunk/{DischargeDateComponent-D7ahRNvU.js → DischargeDateComponent-DphDUj7n.js} +8 -8
- package/chunk/{DischargeDateComponent-D7ahRNvU.js.map → DischargeDateComponent-DphDUj7n.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-CIqKv5_E.js → DriverLicenseNumberComponent-BUe8vef1.js} +5 -5
- package/chunk/{DriverLicenseNumberComponent-CIqKv5_E.js.map → DriverLicenseNumberComponent-BUe8vef1.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-riQXCF7X.js → DriverLicenseNumberComponent-fEmGGbnz.js} +5 -5
- package/chunk/{DriverLicenseNumberComponent-riQXCF7X.js.map → DriverLicenseNumberComponent-fEmGGbnz.js.map} +1 -1
- package/chunk/{EmailLoopPending-CfFPbM5A.js → EmailLoopPending-BN7Op60d.js} +6 -6
- package/chunk/{EmailLoopPending-CfFPbM5A.js.map → EmailLoopPending-BN7Op60d.js.map} +1 -1
- package/chunk/{EmailLoopPending-BvvnCpWf.js → EmailLoopPending-HOmFgKTU.js} +8 -8
- package/chunk/{EmailLoopPending-BvvnCpWf.js.map → EmailLoopPending-HOmFgKTU.js.map} +1 -1
- package/chunk/{ExtraMessage-BtQiKR6F.js → ExtraMessage-BnNB6oFi.js} +5 -5
- package/chunk/{ExtraMessage-B0Pl1Fx3.js.map → ExtraMessage-BnNB6oFi.js.map} +1 -1
- package/chunk/{ExtraMessage-B0Pl1Fx3.js → ExtraMessage-Pq3Frlg0.js} +5 -5
- package/chunk/{ExtraMessage-BtQiKR6F.js.map → ExtraMessage-Pq3Frlg0.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-3LHhZthH.js → FirstResponderOrganizationComponent-B8Th8Q4m.js} +7 -7
- package/chunk/{FirstResponderOrganizationComponent-3LHhZthH.js.map → FirstResponderOrganizationComponent-B8Th8Q4m.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-Cn3DJnck.js → FirstResponderOrganizationComponent-C8zsvoAK.js} +7 -7
- package/chunk/{FirstResponderOrganizationComponent-Cn3DJnck.js.map → FirstResponderOrganizationComponent-C8zsvoAK.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-CWAKAPf9.js → FormFieldInputSelect-BKMQ9gEA.js} +5 -5
- package/chunk/{FormFieldInputSelect-BHFYCp09.js.map → FormFieldInputSelect-BKMQ9gEA.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-BHFYCp09.js → FormFieldInputSelect-dsQeqe8F.js} +5 -5
- package/chunk/{FormFieldInputSelect-CWAKAPf9.js.map → FormFieldInputSelect-dsQeqe8F.js.map} +1 -1
- package/chunk/FormFieldLayout-B5_PsKrR.js +4 -4
- package/chunk/FormFieldLayout-CRgEwTkx.js +4 -4
- package/chunk/FormFieldText-BWImUS8U.js +4 -4
- package/chunk/FormFieldText-D4SW8w-w.js +4 -4
- package/chunk/{FormFieldTypeahead-DLN-DRL3.js → FormFieldTypeahead-B0gZVz-_.js} +7 -7
- package/chunk/{FormFieldTypeahead-DLN-DRL3.js.map → FormFieldTypeahead-B0gZVz-_.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-C27MDdwq.js → FormFieldTypeahead-MpKtmzcg.js} +7 -7
- package/chunk/{FormFieldTypeahead-C27MDdwq.js.map → FormFieldTypeahead-MpKtmzcg.js.map} +1 -1
- package/chunk/{FormFooterComponent-DzG4p93f.js → FormFooterComponent-3UsgRJsz.js} +32 -32
- package/chunk/{FormFooterComponent-DzG4p93f.js.map → FormFooterComponent-3UsgRJsz.js.map} +1 -1
- package/chunk/{FormFooterComponent-D0U-oYDf.js → FormFooterComponent-CxPaPS8m.js} +52 -52
- package/chunk/{FormFooterComponent-D0U-oYDf.js.map → FormFooterComponent-CxPaPS8m.js.map} +1 -1
- package/chunk/{FormSelectChoice-BGa9KqEI.js → FormSelectChoice-D-la3EDO.js} +6 -6
- package/chunk/{FormSelectChoice-2j71fL0j.js.map → FormSelectChoice-D-la3EDO.js.map} +1 -1
- package/chunk/{FormSelectChoice-2j71fL0j.js → FormSelectChoice-D9QN8zac.js} +6 -6
- package/chunk/{FormSelectChoice-BGa9KqEI.js.map → FormSelectChoice-D9QN8zac.js.map} +1 -1
- package/chunk/InputText-CS8Q8oNz.js +4 -4
- package/chunk/InputText-D__c437o.js +4 -4
- package/chunk/{LicensedProfessionalOrganizationComponent-BFocaYeI.js → LicensedProfessionalOrganizationComponent-0YuaW1wl.js} +7 -7
- package/chunk/{LicensedProfessionalOrganizationComponent-BFocaYeI.js.map → LicensedProfessionalOrganizationComponent-0YuaW1wl.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-TdpFCMlR.js → LicensedProfessionalOrganizationComponent-DpFUTGIU.js} +7 -7
- package/chunk/{LicensedProfessionalOrganizationComponent-TdpFCMlR.js.map → LicensedProfessionalOrganizationComponent-DpFUTGIU.js.map} +1 -1
- package/chunk/{LogoComponent-BcMnrRvP.js → LogoComponent-BgbR17OV.js} +5 -5
- package/chunk/{LogoComponent-BcMnrRvP.js.map → LogoComponent-BgbR17OV.js.map} +1 -1
- package/chunk/{LogoComponent-Dygket6f.js → LogoComponent-CuBinjv8.js} +5 -5
- package/chunk/{LogoComponent-Dygket6f.js.map → LogoComponent-CuBinjv8.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-DEwaJ0BF.js → LowIncomeOrganizationComponent-BwJZgutt.js} +8 -8
- package/chunk/{LowIncomeOrganizationComponent-DEwaJ0BF.js.map → LowIncomeOrganizationComponent-BwJZgutt.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-BrsVGnzb.js → LowIncomeOrganizationComponent-Cu8hF9KG.js} +8 -8
- package/chunk/{LowIncomeOrganizationComponent-BrsVGnzb.js.map → LowIncomeOrganizationComponent-Cu8hF9KG.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-BY2Hq4h6.js → MedicalProfessionalOrganizationComponent-D1nAdwMg.js} +7 -7
- package/chunk/{MedicalProfessionalOrganizationComponent-BY2Hq4h6.js.map → MedicalProfessionalOrganizationComponent-D1nAdwMg.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-BdBFSzZK.js → MedicalProfessionalOrganizationComponent-qH0R0RdW.js} +7 -7
- package/chunk/{MedicalProfessionalOrganizationComponent-BdBFSzZK.js.map → MedicalProfessionalOrganizationComponent-qH0R0RdW.js.map} +1 -1
- package/chunk/{MemberIdComponent-CK7-5MwH.js → MemberIdComponent-B6AVjpgw.js} +5 -5
- package/chunk/{MemberIdComponent-CK7-5MwH.js.map → MemberIdComponent-B6AVjpgw.js.map} +1 -1
- package/chunk/{MemberIdComponent-KkHtb-GL.js → MemberIdComponent-zCfHfHqP.js} +5 -5
- package/chunk/{MemberIdComponent-KkHtb-GL.js.map → MemberIdComponent-zCfHfHqP.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-fWo6qweD.js → MembershipOrganizationComponent-BpVuchsF.js} +7 -7
- package/chunk/{MembershipOrganizationComponent-fWo6qweD.js.map → MembershipOrganizationComponent-BpVuchsF.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-z2gRbxPZ.js → MembershipOrganizationComponent-CsmHLMIR.js} +7 -7
- package/chunk/{MembershipOrganizationComponent-z2gRbxPZ.js.map → MembershipOrganizationComponent-CsmHLMIR.js.map} +1 -1
- package/chunk/{Message-D1m8rtsf.js → Message-DiIMSbkQ.js} +59 -55
- package/chunk/{Message-D1m8rtsf.js.map → Message-DiIMSbkQ.js.map} +1 -1
- package/chunk/{Message-bCY_JxvZ.js → Message-DtxngN6C.js} +59 -55
- package/chunk/{Message-bCY_JxvZ.js.map → Message-DtxngN6C.js.map} +1 -1
- package/chunk/Onfido-CTCgAwnB.js +4 -4
- package/chunk/{PersonalInfoStepSubmitButton-DF3V6hJY.js → PersonalInfoStepSubmitButton-C9bX9hn-.js} +5 -5
- package/chunk/{PersonalInfoStepSubmitButton-6Kg-pZ_I.js.map → PersonalInfoStepSubmitButton-C9bX9hn-.js.map} +1 -1
- package/chunk/{PersonalInfoStepSubmitButton-6Kg-pZ_I.js → PersonalInfoStepSubmitButton-Ce7x__Wi.js} +5 -5
- package/chunk/{PersonalInfoStepSubmitButton-DF3V6hJY.js.map → PersonalInfoStepSubmitButton-Ce7x__Wi.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-DuKZA7Bm.js → PersonalInfoStepWrapper-CBtDM65w.js} +5 -5
- package/chunk/{PersonalInfoStepWrapper-DuKZA7Bm.js.map → PersonalInfoStepWrapper-CBtDM65w.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-BHXuN88z.js → PersonalInfoStepWrapper-TFsKYUeL.js} +6 -6
- package/chunk/{PersonalInfoStepWrapper-BHXuN88z.js.map → PersonalInfoStepWrapper-TFsKYUeL.js.map} +1 -1
- package/chunk/{PostalCodeComponent-BDVa1QY7.js → PostalCodeComponent-BBs9Bp36.js} +5 -5
- package/chunk/{PostalCodeComponent-BDLw-xEX.js.map → PostalCodeComponent-BBs9Bp36.js.map} +1 -1
- package/chunk/{PostalCodeComponent-BDLw-xEX.js → PostalCodeComponent-Dknp_LrI.js} +5 -5
- package/chunk/{PostalCodeComponent-BDVa1QY7.js.map → PostalCodeComponent-Dknp_LrI.js.map} +1 -1
- package/chunk/{SSN-C4RsyvaG.js → SSN-BSxE5Uet.js} +5 -5
- package/chunk/{SSN-C4RsyvaG.js.map → SSN-BSxE5Uet.js.map} +1 -1
- package/chunk/{SSN-Dn0TLNb9.js → SSN-gJcpvUFG.js} +5 -5
- package/chunk/{SSN-Dn0TLNb9.js.map → SSN-gJcpvUFG.js.map} +1 -1
- package/chunk/{StateSelectComponent-BuF9uoFe.js → StateSelectComponent-BLPGXEhQ.js} +6 -6
- package/chunk/{StateSelectComponent-BuF9uoFe.js.map → StateSelectComponent-BLPGXEhQ.js.map} +1 -1
- package/chunk/{StateSelectComponent-OMXNQVGE.js → StateSelectComponent-CqzkF1jU.js} +6 -6
- package/chunk/{StateSelectComponent-OMXNQVGE.js.map → StateSelectComponent-CqzkF1jU.js.map} +1 -1
- package/chunk/StatusComponent-C95cd9HL.js +41 -0
- package/chunk/StatusComponent-C95cd9HL.js.map +1 -0
- package/chunk/StatusComponent-Os3WMfWG.js +45 -0
- package/chunk/StatusComponent-Os3WMfWG.js.map +1 -0
- package/chunk/{StepAgePersonalInfo-C8-SdaGI.js → StepAgePersonalInfo-D2IGNQbe.js} +17 -17
- package/chunk/{StepAgePersonalInfo-C8-SdaGI.js.map → StepAgePersonalInfo-D2IGNQbe.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-DMMuSV6H.js → StepAgePersonalInfo-DVP1nW1R.js} +17 -17
- package/chunk/{StepAgePersonalInfo-DMMuSV6H.js.map → StepAgePersonalInfo-DVP1nW1R.js.map} +1 -1
- package/chunk/StepCard-B72CFYHs.js +4 -4
- package/chunk/StepCard-Bvt7Kykz.js +4 -4
- package/chunk/{StepCollectIdentifier-D8BXMPSm.js → StepCollectIdentifier-Cr-pcekl.js} +6 -6
- package/chunk/{StepCollectIdentifier-D8BXMPSm.js.map → StepCollectIdentifier-Cr-pcekl.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-Cf_OO2eb.js → StepCollectIdentifier-DnC9MgdJ.js} +6 -6
- package/chunk/{StepCollectIdentifier-Cf_OO2eb.js.map → StepCollectIdentifier-DnC9MgdJ.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent--ylC8N5Z.js → StepCollectMilitaryPersonalInfoComponent-DJBXqFkS.js} +21 -21
- package/chunk/{StepCollectMilitaryPersonalInfoComponent--ylC8N5Z.js.map → StepCollectMilitaryPersonalInfoComponent-DJBXqFkS.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-D-xxPyNf.js → StepCollectMilitaryPersonalInfoComponent-DV1imjVy.js} +21 -21
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-D-xxPyNf.js.map → StepCollectMilitaryPersonalInfoComponent-DV1imjVy.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-CIskNcb_.js → StepCollectPersonalInfo-BW4zdAuJ.js} +31 -31
- package/chunk/{StepCollectPersonalInfo-CIskNcb_.js.map → StepCollectPersonalInfo-BW4zdAuJ.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-CaVYVLpx.js → StepCollectPersonalInfo-Dp0QqT2l.js} +31 -31
- package/chunk/{StepCollectPersonalInfo-CaVYVLpx.js.map → StepCollectPersonalInfo-Dp0QqT2l.js.map} +1 -1
- package/chunk/StepCompleteAuthentication-BrdV0iN-.js +4 -4
- package/chunk/StepCompleteAuthentication-DLwlKmBO.js +4 -4
- package/chunk/{StepConsolation-DFQwmpUe.js → StepConsolation-BjfCC2wN.js} +6 -6
- package/chunk/{StepConsolation-BzbijBhL.js.map → StepConsolation-BjfCC2wN.js.map} +1 -1
- package/chunk/{StepConsolation-BzbijBhL.js → StepConsolation-CGZzbc4p.js} +6 -6
- package/chunk/{StepConsolation-DFQwmpUe.js.map → StepConsolation-CGZzbc4p.js.map} +1 -1
- package/chunk/{StepDocUpload-h1JWZUZC.js → StepDocUpload--r9rabBA.js} +7 -7
- package/chunk/{StepDocUpload-h1JWZUZC.js.map → StepDocUpload--r9rabBA.js.map} +1 -1
- package/chunk/{StepDocUpload-CFcyuvS6.js → StepDocUpload-LtmtqAaG.js} +7 -7
- package/chunk/{StepDocUpload-CFcyuvS6.js.map → StepDocUpload-LtmtqAaG.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-DFc0FiIt.js → StepDriverLicensePersonalInfoComponent-TZmQSwrX.js} +12 -12
- package/chunk/{StepDriverLicensePersonalInfoComponent-DFc0FiIt.js.map → StepDriverLicensePersonalInfoComponent-TZmQSwrX.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-s_PvlzNE.js → StepDriverLicensePersonalInfoComponent-jrvtL5WY.js} +12 -12
- package/chunk/{StepDriverLicensePersonalInfoComponent-s_PvlzNE.js.map → StepDriverLicensePersonalInfoComponent-jrvtL5WY.js.map} +1 -1
- package/chunk/{StepEmailLoop-DLoLfr39.js → StepEmailLoop-BOMgU-LY.js} +7 -7
- package/chunk/{StepEmailLoop-D5T68VTx.js.map → StepEmailLoop-BOMgU-LY.js.map} +1 -1
- package/chunk/{StepEmailLoop-D5T68VTx.js → StepEmailLoop-KgVxTrKD.js} +7 -7
- package/chunk/{StepEmailLoop-DLoLfr39.js.map → StepEmailLoop-KgVxTrKD.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-BiXV9zG6.js → StepEmploymentPersonalInfo-CsCSbWGn.js} +17 -17
- package/chunk/{StepEmploymentPersonalInfo-BiXV9zG6.js.map → StepEmploymentPersonalInfo-CsCSbWGn.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-ByAaA9uJ.js → StepEmploymentPersonalInfo-DCgjGcV1.js} +17 -17
- package/chunk/{StepEmploymentPersonalInfo-ByAaA9uJ.js.map → StepEmploymentPersonalInfo-DCgjGcV1.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-BqS568ZP.js → StepFirstResponderPersonalInfo-BNichcOp.js} +18 -18
- package/chunk/{StepFirstResponderPersonalInfo-BqS568ZP.js.map → StepFirstResponderPersonalInfo-BNichcOp.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-DEc90JZ2.js → StepFirstResponderPersonalInfo-C0dqZ6v9.js} +18 -18
- package/chunk/{StepFirstResponderPersonalInfo-DEc90JZ2.js.map → StepFirstResponderPersonalInfo-C0dqZ6v9.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-B3_zfixj.js → StepGeneralIdentityPersonalInfoComponent-BFGOloFz.js} +15 -15
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-2_g0jDtn.js.map → StepGeneralIdentityPersonalInfoComponent-BFGOloFz.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-2_g0jDtn.js → StepGeneralIdentityPersonalInfoComponent-BY5f03WX.js} +15 -15
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-B3_zfixj.js.map → StepGeneralIdentityPersonalInfoComponent-BY5f03WX.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-BFhxyJWJ.js → StepHybridIdentityPersonalInfoComponent-6iihyo4W.js} +16 -16
- package/chunk/{StepHybridIdentityPersonalInfoComponent-BFhxyJWJ.js.map → StepHybridIdentityPersonalInfoComponent-6iihyo4W.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-DzYYUzME.js → StepHybridIdentityPersonalInfoComponent-CUmSF5K7.js} +16 -16
- package/chunk/{StepHybridIdentityPersonalInfoComponent-DzYYUzME.js.map → StepHybridIdentityPersonalInfoComponent-CUmSF5K7.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-D-Y9rKsk.js → StepIDCheckLoop-D8HQBh8L.js} +5 -5
- package/chunk/{StepIDCheckLoop-8HP5_FVH.js.map → StepIDCheckLoop-D8HQBh8L.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-8HP5_FVH.js → StepIDCheckLoop-DSxFMqVr.js} +5 -5
- package/chunk/{StepIDCheckLoop-D-Y9rKsk.js.map → StepIDCheckLoop-DSxFMqVr.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-C_EEaIvS.js → StepIDCheckLoopOnfido-BTKJ2Blc.js} +9 -9
- package/chunk/{StepIDCheckLoopOnfido-DQacZCgs.js.map → StepIDCheckLoopOnfido-BTKJ2Blc.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-DQacZCgs.js → StepIDCheckLoopOnfido-DMuf0LlO.js} +7 -7
- package/chunk/{StepIDCheckLoopOnfido-C_EEaIvS.js.map → StepIDCheckLoopOnfido-DMuf0LlO.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-FMQtQ00c.js → StepIDCheckLoopRegula-Ci85xeOu.js} +7 -7
- package/chunk/{StepIDCheckLoopRegula-DEiy_meG.js.map → StepIDCheckLoopRegula-Ci85xeOu.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-DEiy_meG.js → StepIDCheckLoopRegula-wLpAcBIL.js} +7 -7
- package/chunk/{StepIDCheckLoopRegula-FMQtQ00c.js.map → StepIDCheckLoopRegula-wLpAcBIL.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-f6waS68x.js → StepLicensedProfessionalPersonalInfo-CaME8oV0.js} +18 -18
- package/chunk/{StepLicensedProfessionalPersonalInfo-B6qktzsF.js.map → StepLicensedProfessionalPersonalInfo-CaME8oV0.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-B6qktzsF.js → StepLicensedProfessionalPersonalInfo-DcyPpqRP.js} +18 -18
- package/chunk/{StepLicensedProfessionalPersonalInfo-f6waS68x.js.map → StepLicensedProfessionalPersonalInfo-DcyPpqRP.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-CVrkhAxr.js → StepLowIncomePersonalInfo-D2XooNBZ.js} +21 -21
- package/chunk/{StepLowIncomePersonalInfo-CVrkhAxr.js.map → StepLowIncomePersonalInfo-D2XooNBZ.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-Cpr_D1eF.js → StepLowIncomePersonalInfo-D_DnxewS.js} +21 -21
- package/chunk/{StepLowIncomePersonalInfo-Cpr_D1eF.js.map → StepLowIncomePersonalInfo-D_DnxewS.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-BMdmppPh.js → StepMedicalProfessionalPersonalInfo-BBTMJxlc.js} +19 -19
- package/chunk/{StepMedicalProfessionalPersonalInfo-BMdmppPh.js.map → StepMedicalProfessionalPersonalInfo-BBTMJxlc.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-CR_cOA88.js → StepMedicalProfessionalPersonalInfo-DQvZgNA8.js} +19 -19
- package/chunk/{StepMedicalProfessionalPersonalInfo-CR_cOA88.js.map → StepMedicalProfessionalPersonalInfo-DQvZgNA8.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-BTBjBkLR.js → StepMemberPersonalInfo-C163dcFm.js} +14 -14
- package/chunk/{StepMemberPersonalInfo-3ycGLGMb.js.map → StepMemberPersonalInfo-C163dcFm.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-3ycGLGMb.js → StepMemberPersonalInfo-DZI9oiLg.js} +14 -14
- package/chunk/{StepMemberPersonalInfo-BTBjBkLR.js.map → StepMemberPersonalInfo-DZI9oiLg.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-CHmJAEta.js → StepMoverPersonalInfo-DVKj_md6.js} +12 -12
- package/chunk/{StepMoverPersonalInfo-CHmJAEta.js.map → StepMoverPersonalInfo-DVKj_md6.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-CJEvhUg5.js → StepMoverPersonalInfo-DkqRxBv_.js} +12 -12
- package/chunk/{StepMoverPersonalInfo-CJEvhUg5.js.map → StepMoverPersonalInfo-DkqRxBv_.js.map} +1 -1
- package/chunk/{StepOverrideComponent-BYUbyZkl.js → StepOverrideComponent-BZ5DPwb7.js} +7 -7
- package/chunk/{StepOverrideComponent-BYUbyZkl.js.map → StepOverrideComponent-BZ5DPwb7.js.map} +1 -1
- package/chunk/{StepOverrideComponent-B9fvWbBC.js → StepOverrideComponent-CFCHGcGm.js} +7 -7
- package/chunk/{StepOverrideComponent-B9fvWbBC.js.map → StepOverrideComponent-CFCHGcGm.js.map} +1 -1
- package/chunk/{StepSMSLoop-Dp77AMrb.js → StepSMSLoop-kUCfwUG3.js} +5 -5
- package/chunk/{StepSMSLoop-BR4v_UvU.js.map → StepSMSLoop-kUCfwUG3.js.map} +1 -1
- package/chunk/{StepSMSLoop-BR4v_UvU.js → StepSMSLoop-qDDjiu2X.js} +9 -9
- package/chunk/{StepSMSLoop-Dp77AMrb.js.map → StepSMSLoop-qDDjiu2X.js.map} +1 -1
- package/chunk/StepSSO-BGHCbduX.js +4 -4
- package/chunk/StepSSO-ZHByQpHa.js +4 -4
- package/chunk/{StepSocialSecurityNumber-BO5uts-s.js → StepSocialSecurityNumber-CzdRBNES.js} +8 -8
- package/chunk/{StepSocialSecurityNumber-A2Q_UluD.js.map → StepSocialSecurityNumber-CzdRBNES.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-A2Q_UluD.js → StepSocialSecurityNumber-D-Ryab7q.js} +8 -8
- package/chunk/{StepSocialSecurityNumber-BO5uts-s.js.map → StepSocialSecurityNumber-D-Ryab7q.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-CLchkf6y.js → StepStudentPersonalInfo-DzBMt8Kd.js} +17 -17
- package/chunk/{StepStudentPersonalInfo-CLchkf6y.js.map → StepStudentPersonalInfo-DzBMt8Kd.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-oc0V1SEn.js → StepStudentPersonalInfo-z2J7_k9j.js} +17 -17
- package/chunk/{StepStudentPersonalInfo-oc0V1SEn.js.map → StepStudentPersonalInfo-z2J7_k9j.js.map} +1 -1
- package/chunk/{StepSuccess-DYAR3u5v.js → StepSuccess-CoQmjeaw.js} +6 -6
- package/chunk/{StepSuccess-DYAR3u5v.js.map → StepSuccess-CoQmjeaw.js.map} +1 -1
- package/chunk/{StepSuccess-z93uD3YR.js → StepSuccess-CwprAx_X.js} +6 -6
- package/chunk/{StepSuccess-z93uD3YR.js.map → StepSuccess-CwprAx_X.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-Bm4zMphQ.js → StepTeacherPersonalInfo-BnREkHc-.js} +15 -15
- package/chunk/{StepTeacherPersonalInfo-Bm4zMphQ.js.map → StepTeacherPersonalInfo-BnREkHc-.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-UxRien1W.js → StepTeacherPersonalInfo-oxESzOhJ.js} +15 -15
- package/chunk/{StepTeacherPersonalInfo-UxRien1W.js.map → StepTeacherPersonalInfo-oxESzOhJ.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BrKuZcYb.js +4 -4
- package/chunk/StepThirdPartyLoop-CbFTIlwP.js +4 -4
- package/chunk/TeacherSchoolComponent-X4jP0iPe.js +39 -0
- package/chunk/TeacherSchoolComponent-X4jP0iPe.js.map +1 -0
- package/chunk/TeacherSchoolComponent-xlpebqi9.js +43 -0
- package/chunk/TeacherSchoolComponent-xlpebqi9.js.map +1 -0
- package/chunk/TestingRouteOverrides-CqkLaStu.js +4 -4
- package/chunk/TestingRouteOverrides-DUx5spVA.js +4 -4
- package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
- package/chunk/ar-D5CO913q.js +4 -4
- package/chunk/bg-1mhA5kYF.js +4 -4
- package/chunk/bn-IN-CpDqyRb_.js +4 -4
- package/chunk/clsx-CB5rauS5.js +4 -4
- package/chunk/{countryUtils-CSpfIQmr.js → countryUtils-B4JUeycO.js} +5 -5
- package/chunk/{countryUtils-CSpfIQmr.js.map → countryUtils-B4JUeycO.js.map} +1 -1
- package/chunk/countryUtils-DS8Zctdr.js +12 -0
- package/chunk/{countryUtils-ROgCMKtt.js.map → countryUtils-DS8Zctdr.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-dTKHfRuW.js → downshift.esm-B1eE_tYZ.js} +5 -5
- package/chunk/{downshift.esm-B_3QLNGg.js.map → downshift.esm-B1eE_tYZ.js.map} +1 -1
- package/chunk/{downshift.esm-B_3QLNGg.js → downshift.esm-CWgGV2e-.js} +122 -122
- package/chunk/{downshift.esm-dTKHfRuW.js.map → downshift.esm-CWgGV2e-.js.map} +1 -1
- package/chunk/el-DbDcvSPJ.js +4 -4
- package/chunk/empties-C1INRgC4.js +4 -4
- package/chunk/empties-C38lUQIl.js +4 -4
- package/chunk/en-GB-CNQ8Ww2j.js +4 -4
- package/chunk/es-ES-DWimqEZ_.js +4 -4
- package/chunk/es-qhC-seq5.js +4 -4
- package/chunk/et-yF9G-Mym.js +4 -4
- package/chunk/eventEmitter-CSG6jR7V.js +4 -4
- package/chunk/fa-BcdSf7og.js +4 -4
- package/chunk/fi-D-IP_KHm.js +4 -4
- package/chunk/fr-BmUuYxk0.js +4 -4
- package/chunk/fr-CA-DVQ4xmzZ.js +4 -4
- package/chunk/ga-DuZycND3.js +4 -4
- package/chunk/hi-IN-l6Rn5Ewm.js +4 -4
- package/chunk/hooks-DFk9wlFh.js +4 -4
- package/chunk/hooks-Y72jcEAM.js +4 -4
- 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-D5sUivUy.js +4 -4
- package/chunk/is-CvmKEON9.js +4 -4
- package/chunk/it-CnmveGgC.js +4 -4
- package/chunk/iw-DFUYHkxF.js +4 -4
- package/chunk/ja-CjVb2tWW.js +4 -4
- package/chunk/jsx-runtime-BfITI5pK.js +4 -4
- package/chunk/jsx-runtime-CB6nLaN6.js +4 -4
- package/chunk/kk-Dvz4nK6K.js +4 -4
- package/chunk/ko-DzOqBMGC.js +4 -4
- package/chunk/lo-C2WPq55d.js +4 -4
- package/chunk/lt-BSDYvjTF.js +4 -4
- package/chunk/lv-CefDPT-M.js +4 -4
- package/chunk/mockProgramConfiguration-YBQMVL51.js +4 -4
- package/chunk/mockProgramI18n-CgYx_1_a.js +4 -4
- package/chunk/mockProgramTheme-CPG4vkJd.js +4 -4
- package/chunk/mocks-BJWOJTTC.js +4 -4
- package/chunk/mocks-BtNIwVeT.js +4 -4
- package/chunk/ms-BjestZxy.js +4 -4
- package/chunk/nl-B1FyUfCT.js +4 -4
- package/chunk/nl-BE-CbeAd3nq.js +4 -4
- package/chunk/no-Dr633Ddi.js +4 -4
- package/chunk/options-BCFIfBTZ.js +4 -4
- package/chunk/pl-UYTjMIq_.js +4 -4
- package/chunk/{programThemeGetters-DKJV4UNP.js → programThemeGetters-BIRDUiTI.js} +5 -5
- package/chunk/{programThemeGetters-DKJV4UNP.js.map → programThemeGetters-BIRDUiTI.js.map} +1 -1
- package/chunk/{programThemeGetters-CKWD2Nuw.js → programThemeGetters-CIZ0gRgE.js} +5 -5
- package/chunk/{programThemeGetters-CKWD2Nuw.js.map → programThemeGetters-CIZ0gRgE.js.map} +1 -1
- package/chunk/pt-BR-C8SYMT-J.js +4 -4
- package/chunk/pt-uH-M3GdN.js +4 -4
- package/chunk/refs-Mq0rtW9K.js +4 -4
- package/chunk/ro-CAOSXZ7h.js +4 -4
- package/chunk/ru-iwYoEydL.js +4 -4
- package/chunk/runtimeTypes-B2AGNJMT.js +4 -4
- package/chunk/sk-DYYNV3zw.js +4 -4
- package/chunk/sl-D_-eeM5N.js +4 -4
- package/chunk/sr-BTi9_anL.js +4 -4
- package/chunk/stepComponentHelpers--E4kvS6y.js +4 -4
- package/chunk/stepComponentHelpers-CD1Gfspm.js +4 -4
- package/chunk/strings-DWLVdUcm.js +4 -4
- package/chunk/sv-DRwY4shG.js +4 -4
- package/chunk/sw-Bvj2mYmM.js +4 -4
- package/chunk/ta-CmtaYoNe.js +4 -4
- package/chunk/th-12r2yKkJ.js +4 -4
- package/chunk/tl-BGNfO7md.js +4 -4
- package/chunk/tr-DH2ZSJhs.js +4 -4
- package/chunk/uk-CELBZlTd.js +4 -4
- package/chunk/ur-MR8DTbmd.js +4 -4
- package/chunk/{useCollectFieldsEndpoint-Dy61hji9.js → useCollectFieldsEndpoint-Bxae2_8a.js} +19 -19
- package/chunk/{useCollectFieldsEndpoint-Dy61hji9.js.map → useCollectFieldsEndpoint-Bxae2_8a.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-BFxNI9mD.js → useCollectFieldsEndpoint-CzTl9kbR.js} +15 -15
- package/chunk/{useCollectFieldsEndpoint-BFxNI9mD.js.map → useCollectFieldsEndpoint-CzTl9kbR.js.map} +1 -1
- package/chunk/useMetrics-CtsRRjGJ.js +4 -4
- package/chunk/useMetrics-jabV9gsZ.js +4 -4
- package/chunk/vi-DtZ-SqD5.js +4 -4
- package/chunk/zh-DjyVyYac.js +4 -4
- package/chunk/zh-HK-CN1HarHq.js +4 -4
- package/chunk/zu-DPhgIh1z.js +4 -4
- package/package.json +1 -1
- package/sheerid-install.css +4 -4
- package/sheerid-install.js +4 -4
- package/sheerid.css +4 -4
- package/sheerid.js +904 -913
- package/sheerid.js.map +1 -1
- package/chunk/CollegeNameComponent-CxOhMPuq.js +0 -46
- package/chunk/CollegeNameComponent-CxOhMPuq.js.map +0 -1
- package/chunk/CollegeNameComponent-O9Aa01US.js +0 -42
- package/chunk/CollegeNameComponent-O9Aa01US.js.map +0 -1
- package/chunk/StatusComponent-B-1gIOek.js +0 -48
- package/chunk/StatusComponent-B-1gIOek.js.map +0 -1
- package/chunk/StatusComponent-U699Nzbq.js +0 -44
- package/chunk/StatusComponent-U699Nzbq.js.map +0 -1
- package/chunk/TeacherSchoolComponent-B-8Zac1k.js +0 -46
- package/chunk/TeacherSchoolComponent-B-8Zac1k.js.map +0 -1
- package/chunk/TeacherSchoolComponent-Bnurez7X.js +0 -42
- package/chunk/TeacherSchoolComponent-Bnurez7X.js.map +0 -1
- package/chunk/countryUtils-ROgCMKtt.js +0 -12
package/sheerid.js
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Fri Oct 23 2026
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.307.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1792788063846
|
|
5
|
+
* BUILD_DATE: Fri Oct 23 2026 20:41:03 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 9bea609f9e2a9b4cd4a26fb21eea3072f87be58a
|
|
7
7
|
*/
|
|
8
8
|
import { At as e, C as t, D as n, E as r, O as i, Ot as a, b as o, c as s, d as c, dt as l, ft as u, g as d, h as f, i as p, k as m, l as h, m as g, n as _, ot as v, p as y, r as b, s as x, t as S, u as C, ut as w, vt as T, x as ee, y as E } from "./chunk/options-BCFIfBTZ.js";
|
|
9
9
|
import { i as D, n as O, s as k, t as te } from "./chunk/jsx-runtime-BfITI5pK.js";
|
|
10
|
-
import { A, D as j,
|
|
11
|
-
import { S as N, b as P, h as
|
|
12
|
-
import { a as
|
|
13
|
-
import { S as
|
|
14
|
-
import { C as
|
|
15
|
-
import { a as
|
|
16
|
-
import { i as
|
|
17
|
-
import { t as
|
|
18
|
-
import { t as
|
|
19
|
-
import { t as
|
|
10
|
+
import { A, D as j, E as ne, F as re, I as ie, M as ae, P as oe, V as se, _ as ce, a as le, c as ue, d as de, g as fe, h as pe, i as me, k as he, o as ge, r as _e, s as ve, t as M, u as ye, v as be, x as xe } from "./chunk/Message-DiIMSbkQ.js";
|
|
11
|
+
import { S as N, b as P, h as Se, x as Ce } from "./chunk/runtimeTypes-B2AGNJMT.js";
|
|
12
|
+
import { a as we, i as Te, r as Ee, s as De, t as Oe } from "./chunk/TestingRouteOverrides-DUx5spVA.js";
|
|
13
|
+
import { S as ke, T as Ae, r as je, w as Me } from "./chunk/programThemeGetters-BIRDUiTI.js";
|
|
14
|
+
import { C as Ne, S as Pe, T as Fe, _ as Ie, a as Le, b as Re, c as ze, d as Be, f as Ve, g as He, h as Ue, i as We, l as Ge, m as Ke, n as qe, o as Je, p as Ye, r as Xe, s as Ze, t as Qe, u as $e, v as et, w as tt, x as nt, y as rt } from "./chunk/FormFooterComponent-CxPaPS8m.js";
|
|
15
|
+
import { a as it, i as at, n as ot, r as st, t as ct } from "./chunk/hooks-Y72jcEAM.js";
|
|
16
|
+
import { i as lt, s as ut, t as dt } from "./chunk/refs-Mq0rtW9K.js";
|
|
17
|
+
import { t as ft } from "./chunk/LogoComponent-BgbR17OV.js";
|
|
18
|
+
import { t as pt } from "./chunk/strings-DWLVdUcm.js";
|
|
19
|
+
import { t as mt } from "./chunk/AnnouncingHeader-DKOYC3b9.js";
|
|
20
20
|
//#region ../node_modules/react-i18next/dist/es/I18nextProvider.js
|
|
21
21
|
var F = /* @__PURE__ */ e(k());
|
|
22
|
-
function
|
|
22
|
+
function ht({ i18n: e, defaultNS: t, children: n }) {
|
|
23
23
|
let r = (0, F.useMemo)(() => ({
|
|
24
24
|
i18n: e,
|
|
25
25
|
defaultNS: t
|
|
26
26
|
}), [e, t]);
|
|
27
|
-
return (0, F.createElement)(
|
|
27
|
+
return (0, F.createElement)(oe.Provider, { value: r }, n);
|
|
28
28
|
}
|
|
29
29
|
//#endregion
|
|
30
30
|
//#region src/components/LoadingSpinner/LoadingSpinnerComponent.tsx
|
|
31
|
-
var
|
|
31
|
+
var gt = /* @__PURE__ */ e(se(), 1), _t = /* @__PURE__ */ e(l(), 1), I = te(), vt = () => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
32
32
|
className: "sid-spinner",
|
|
33
33
|
"data-testid": "sid-spinner",
|
|
34
34
|
children: [
|
|
@@ -37,9 +37,9 @@ var _t = /* @__PURE__ */ e(re(), 1), vt = /* @__PURE__ */ e(l(), 1), I = te(), y
|
|
|
37
37
|
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-spinner__frame" }),
|
|
38
38
|
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-spinner__frame" })
|
|
39
39
|
]
|
|
40
|
-
}),
|
|
40
|
+
}), yt = ({ step: e }) => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
41
41
|
className: "sid-loading-screen__message",
|
|
42
|
-
children: [
|
|
42
|
+
children: [Ce(e) && /* @__PURE__ */ (0, I.jsx)("div", {
|
|
43
43
|
className: "sid-loading-screen__message-header",
|
|
44
44
|
role: "alert",
|
|
45
45
|
children: /* @__PURE__ */ (0, I.jsx)(O, {
|
|
@@ -53,10 +53,10 @@ var _t = /* @__PURE__ */ e(re(), 1), vt = /* @__PURE__ */ e(l(), 1), I = te(), y
|
|
|
53
53
|
defaultMessage: "This should only take a minute"
|
|
54
54
|
})
|
|
55
55
|
})]
|
|
56
|
-
}),
|
|
56
|
+
}), bt = ({ step: e = Oe() }) => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
57
57
|
className: "sid-loading-screen",
|
|
58
|
-
children: [/* @__PURE__ */ (0, I.jsx)(
|
|
59
|
-
}),
|
|
58
|
+
children: [/* @__PURE__ */ (0, I.jsx)(vt, {}), e && /* @__PURE__ */ (0, I.jsx)(yt, { step: e })]
|
|
59
|
+
}), xt = /* @__PURE__ */ a(((e, t) => {
|
|
60
60
|
var n, r = n = {
|
|
61
61
|
_regexEscape: /([\.\*\+\^\$\[\]\\\(\)\|\{\}\,\-\:\?])/g,
|
|
62
62
|
_regexParseLocale: /^([a-zA-Z]*)([_\-a-zA-Z]*)$/,
|
|
@@ -123,13 +123,13 @@ var _t = /* @__PURE__ */ e(re(), 1), vt = /* @__PURE__ */ e(l(), 1), I = te(), y
|
|
|
123
123
|
enumerable: !0,
|
|
124
124
|
configurable: !1
|
|
125
125
|
}), t.exports = r;
|
|
126
|
-
})),
|
|
127
|
-
var n =
|
|
126
|
+
})), St = /* @__PURE__ */ a(((e, t) => {
|
|
127
|
+
var n = xt();
|
|
128
128
|
t.exports = {
|
|
129
129
|
isRtlLang: n.isRtlLang,
|
|
130
130
|
getLangDir: n.getLangDir
|
|
131
131
|
};
|
|
132
|
-
})),
|
|
132
|
+
})), Ct = /* @__PURE__ */ e(ae(), 1), wt = /* @__PURE__ */ e(St(), 1), L = {
|
|
133
133
|
landingBackgroundColor: "#fff",
|
|
134
134
|
landingPrimaryFontColor: "#000",
|
|
135
135
|
landingBackgroundImage: "none",
|
|
@@ -143,7 +143,7 @@ var _t = /* @__PURE__ */ e(re(), 1), vt = /* @__PURE__ */ e(l(), 1), I = te(), y
|
|
|
143
143
|
formFont: "var(--sheerid-font-family-sans)",
|
|
144
144
|
cssVariables: null,
|
|
145
145
|
customStyles: null
|
|
146
|
-
},
|
|
146
|
+
}, Tt = F.createContext(L), R = {
|
|
147
147
|
landingBackgroundColor: "--sheerid-landing-background-color",
|
|
148
148
|
landingPrimaryFontColor: "--sheerid-landing-primary-font-color",
|
|
149
149
|
landingBackgroundImage: "--sheerid-landing-background-image-url",
|
|
@@ -157,7 +157,7 @@ var _t = /* @__PURE__ */ e(re(), 1), vt = /* @__PURE__ */ e(l(), 1), I = te(), y
|
|
|
157
157
|
formFont: "--sheerid-font-family-body",
|
|
158
158
|
cssVariables: null,
|
|
159
159
|
customStyles: null
|
|
160
|
-
},
|
|
160
|
+
}, Et = {
|
|
161
161
|
"--sheerid-color-fg-05": {
|
|
162
162
|
from: "--sheerid-color-bg",
|
|
163
163
|
to: "--sheerid-color-fg",
|
|
@@ -268,7 +268,7 @@ var _t = /* @__PURE__ */ e(re(), 1), vt = /* @__PURE__ */ e(l(), 1), I = te(), y
|
|
|
268
268
|
to: "--sheerid-color-fg",
|
|
269
269
|
percentage: 3
|
|
270
270
|
}
|
|
271
|
-
},
|
|
271
|
+
}, Dt = ({ themeChoices: e, customCssFromOptions: t, children: n }) => {
|
|
272
272
|
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 || L.landingBackgroundColor, c = o?.primaryFontColor || L.landingPrimaryFontColor, l = o?.backgroundImageUrl || L.landingBackgroundImage, u = e?.backgroundColor || L.formBackgroundColor, d = e?.primaryFontColor || L.formPrimaryFontColor, f = e?.buttonColor || L.formButtonColor, p = e?.buttonFontColor || L.formButtonFontColor, m = e?.linkColor || L.formLinkColor, h = e?.h1FontColor || L.formH1FontColor, g = e?.helperFontColor || L.formHelperFontColor, _ = e?.font || L.formFont, v = {
|
|
273
273
|
[R.landingBackgroundColor]: s,
|
|
274
274
|
[R.landingPrimaryFontColor]: c,
|
|
@@ -281,12 +281,12 @@ var _t = /* @__PURE__ */ e(re(), 1), vt = /* @__PURE__ */ e(l(), 1), I = te(), y
|
|
|
281
281
|
[R.formH1FontColor]: h,
|
|
282
282
|
[R.formHelperFontColor]: g,
|
|
283
283
|
[R.formFont]: _ === L.formFont ? L.formFont : `${_}, var(--sheerid-font-family-sans)`,
|
|
284
|
-
...Object.entries(
|
|
284
|
+
...Object.entries(Et).reduce((e, [t, n]) => {
|
|
285
285
|
let r = n.from.startsWith("--") ? `var(${n.from})` : n.from, i = n.to.startsWith("--") ? `var(${n.to})` : n.to;
|
|
286
286
|
return e[t] = `color-mix(in oklab, ${r} ${100 - n.percentage}%, ${i} ${n.percentage}%)`, e;
|
|
287
287
|
}, {})
|
|
288
|
-
}, y = F.useRef(null), b =
|
|
289
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
288
|
+
}, y = F.useRef(null), b = Ae() === Me.cdnInlineIframe, x = Ae() === Me.cdnModalIframe;
|
|
289
|
+
return /* @__PURE__ */ (0, I.jsx)(Tt.Provider, {
|
|
290
290
|
value: {
|
|
291
291
|
landingBackgroundColor: s,
|
|
292
292
|
landingPrimaryFontColor: c,
|
|
@@ -310,7 +310,7 @@ var _t = /* @__PURE__ */ e(re(), 1), vt = /* @__PURE__ */ e(l(), 1), I = te(), y
|
|
|
310
310
|
children: [a && /* @__PURE__ */ (0, I.jsx)("style", { children: a }), n]
|
|
311
311
|
})
|
|
312
312
|
});
|
|
313
|
-
},
|
|
313
|
+
}, Ot = (e, t, n) => ({
|
|
314
314
|
minAge: t?.minAge || e?.config?.minAge,
|
|
315
315
|
maxAge: t?.maxAge || e?.config?.maxAge,
|
|
316
316
|
smsLoopEnabled: e?.smsLoopEnabled,
|
|
@@ -318,33 +318,33 @@ var _t = /* @__PURE__ */ e(re(), 1), vt = /* @__PURE__ */ e(l(), 1), I = te(), y
|
|
|
318
318
|
transitionalMilitaryValidityDays: e?.transitionalMilitaryValidityDays,
|
|
319
319
|
currentStep: t?.currentStep,
|
|
320
320
|
viewModel: n
|
|
321
|
-
}),
|
|
322
|
-
N.log(`overrideComponent registering ${e}`),
|
|
323
|
-
},
|
|
324
|
-
|
|
325
|
-
},
|
|
321
|
+
}), kt = {}, At = (e, t) => {
|
|
322
|
+
N.log(`overrideComponent registering ${e}`), kt[e] = t;
|
|
323
|
+
}, jt = (e) => kt[e] ? (N.log(`getOverridenComponent returning ${e}`), kt[e]) : null, Mt = () => {
|
|
324
|
+
kt = {};
|
|
325
|
+
}, Nt = ({ verificationService: e, linkText: t }) => {
|
|
326
326
|
let { segment: n } = e.verificationResponse, { programId: i, programTheme: a } = e;
|
|
327
|
-
return n ? /* @__PURE__ */ (0, I.jsx)(
|
|
327
|
+
return n ? /* @__PURE__ */ (0, I.jsx)(_e, {
|
|
328
328
|
className: "sid-faq sid-link",
|
|
329
|
-
href:
|
|
329
|
+
href: je(a, n, i, r(e.viewModel), e.verificationResponse),
|
|
330
330
|
children: t || /* @__PURE__ */ (0, I.jsx)(O, {
|
|
331
331
|
id: "getHelp",
|
|
332
332
|
defaultMessage: "Get help"
|
|
333
333
|
})
|
|
334
334
|
}) : null;
|
|
335
|
-
},
|
|
335
|
+
}, Pt = /* @__PURE__ */ (0, I.jsx)(O, {
|
|
336
336
|
id: "poweredBy",
|
|
337
337
|
defaultMessage: "Verification services powered by SheerID."
|
|
338
|
-
}),
|
|
338
|
+
}), Ft = ({ verificationService: e, isCentered: t, variant: n = "default", hideFaqLink: r = !1 }) => {
|
|
339
339
|
switch (n) {
|
|
340
340
|
case "poweredby": return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
341
341
|
className: "sid-footer__powered-by-container-experiment",
|
|
342
342
|
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
343
343
|
className: "sid-footer__powered-by_powerby-experiment",
|
|
344
|
-
children:
|
|
344
|
+
children: Pt
|
|
345
345
|
}), !r && /* @__PURE__ */ (0, I.jsx)("div", {
|
|
346
346
|
className: "sid-footer__powered-by_powerby-experiment",
|
|
347
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
347
|
+
children: /* @__PURE__ */ (0, I.jsx)(Nt, { verificationService: e })
|
|
348
348
|
})]
|
|
349
349
|
});
|
|
350
350
|
case "verificationby": return /* @__PURE__ */ (0, I.jsx)("div", {
|
|
@@ -357,28 +357,28 @@ var _t = /* @__PURE__ */ e(re(), 1), vt = /* @__PURE__ */ e(l(), 1), I = te(), y
|
|
|
357
357
|
alt: "",
|
|
358
358
|
src: "https://com-sheerid-resources.s3.us-east-1.amazonaws.com/common/images/2018/icons/sheerid_logo.svg"
|
|
359
359
|
})
|
|
360
|
-
}),
|
|
360
|
+
}), Pt]
|
|
361
361
|
})
|
|
362
362
|
});
|
|
363
363
|
default: return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
364
364
|
className: t ? "sid-footer__powered-by-container--stacked sid-l-horz-center" : "sid-footer__powered-by-container",
|
|
365
365
|
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
366
366
|
className: t ? "sid-footer__powered-by--stacked sid-l-horz-center" : "sid-footer__powered-by",
|
|
367
|
-
children:
|
|
367
|
+
children: Pt
|
|
368
368
|
}), !r && /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
369
369
|
className: t ? "sid-l-space-top-sm" : "",
|
|
370
|
-
children: ["\xA0", /* @__PURE__ */ (0, I.jsx)(
|
|
370
|
+
children: ["\xA0", /* @__PURE__ */ (0, I.jsx)(Nt, { verificationService: e })]
|
|
371
371
|
})]
|
|
372
372
|
});
|
|
373
373
|
}
|
|
374
|
-
},
|
|
374
|
+
}, It = (e, t) => {
|
|
375
375
|
let n = F.useRef(null);
|
|
376
376
|
function r() {
|
|
377
377
|
clearInterval(n.current);
|
|
378
378
|
}
|
|
379
379
|
return F.useEffect(() => (n.current = setInterval(e, t), () => r()), [e, t]), r;
|
|
380
|
-
},
|
|
381
|
-
let a =
|
|
380
|
+
}, Lt = ({ stepName: e, messages: t, logo: n, cancelSingleSignOn: r, cancelButtonType: i = Bt.PRIMARY }) => {
|
|
381
|
+
let a = pt(e);
|
|
382
382
|
return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
383
383
|
className: "sid-header sid-l-horz-center",
|
|
384
384
|
children: [
|
|
@@ -386,7 +386,7 @@ var _t = /* @__PURE__ */ e(re(), 1), vt = /* @__PURE__ */ e(l(), 1), I = te(), y
|
|
|
386
386
|
className: "sid-pending-logo-container sid-l-horz-center",
|
|
387
387
|
children: n
|
|
388
388
|
}),
|
|
389
|
-
/* @__PURE__ */ (0, I.jsx)(
|
|
389
|
+
/* @__PURE__ */ (0, I.jsx)(mt, {
|
|
390
390
|
align: "center",
|
|
391
391
|
children: t.title
|
|
392
392
|
}),
|
|
@@ -402,7 +402,7 @@ var _t = /* @__PURE__ */ e(re(), 1), vt = /* @__PURE__ */ e(l(), 1), I = te(), y
|
|
|
402
402
|
children: /* @__PURE__ */ (0, I.jsx)("button", {
|
|
403
403
|
onClick: r,
|
|
404
404
|
type: "submit",
|
|
405
|
-
className: `sid-btn sid-${a}-pending-submit-btn ${i ===
|
|
405
|
+
className: `sid-btn sid-${a}-pending-submit-btn ${i === Bt.SECONDARY ? "sid-btn-light" : "sid-btn--dark"} sid-l-full-width`,
|
|
406
406
|
"aria-label": "submit",
|
|
407
407
|
children: t.cancel
|
|
408
408
|
})
|
|
@@ -411,20 +411,20 @@ var _t = /* @__PURE__ */ e(re(), 1), vt = /* @__PURE__ */ e(l(), 1), I = te(), y
|
|
|
411
411
|
t?.subtitle2 ? /* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-xl" }) : /* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-lg" })
|
|
412
412
|
]
|
|
413
413
|
});
|
|
414
|
-
},
|
|
414
|
+
}, Rt = ({ stepName: e, messages: t, logo: n, cancelSingleSignOn: r, cancelButtonType: i = Bt.PRIMARY }) => /* @__PURE__ */ (0, I.jsx)(Lt, {
|
|
415
415
|
messages: t,
|
|
416
416
|
stepName: e,
|
|
417
417
|
logo: n,
|
|
418
418
|
cancelSingleSignOn: r,
|
|
419
419
|
cancelButtonType: i
|
|
420
|
-
}),
|
|
421
|
-
let i =
|
|
420
|
+
}), zt = ({ messages: e, verificationService: t, updateViewModelAndOpenLoginTab: n, dashedStepName: r }) => {
|
|
421
|
+
let i = ct("hc-my-sheer-id-theme-builder");
|
|
422
422
|
return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
423
423
|
className: "sid-header sid-l-horz-center",
|
|
424
424
|
children: [
|
|
425
425
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
426
426
|
className: `sid-${r}-logo-container sid-l-horz-center`,
|
|
427
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
427
|
+
children: /* @__PURE__ */ (0, I.jsx)(ft, {
|
|
428
428
|
verificationService: t,
|
|
429
429
|
fallbackLogo: !i && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
430
430
|
className: `sid-${r}-logo-default sid-l-lead-image`,
|
|
@@ -433,7 +433,7 @@ var _t = /* @__PURE__ */ e(re(), 1), vt = /* @__PURE__ */ e(l(), 1), I = te(), y
|
|
|
433
433
|
})
|
|
434
434
|
})
|
|
435
435
|
}),
|
|
436
|
-
/* @__PURE__ */ (0, I.jsx)(
|
|
436
|
+
/* @__PURE__ */ (0, I.jsx)(mt, {
|
|
437
437
|
align: "center",
|
|
438
438
|
children: e.title
|
|
439
439
|
}),
|
|
@@ -454,10 +454,10 @@ var _t = /* @__PURE__ */ e(re(), 1), vt = /* @__PURE__ */ e(l(), 1), I = te(), y
|
|
|
454
454
|
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-lg" })
|
|
455
455
|
]
|
|
456
456
|
});
|
|
457
|
-
},
|
|
457
|
+
}, Bt = /* @__PURE__ */ function(e) {
|
|
458
458
|
return e.PRIMARY = "primary", e.SECONDARY = "secondary", e;
|
|
459
|
-
}({}),
|
|
460
|
-
let { programId: i } = e, a = e.viewModel, o = e.previousViewModel || void 0, l = e.verificationResponse, u = e.previousVerificationResponse || void 0, { verificationId: d, locale: f } = e.verificationResponse, p =
|
|
459
|
+
}({}), Vt = ({ verificationService: e, stepName: t, messages: n, cancelButtonType: r = "primary" }) => {
|
|
460
|
+
let { programId: i } = e, a = e.viewModel, o = e.previousViewModel || void 0, l = e.verificationResponse, u = e.previousVerificationResponse || void 0, { verificationId: d, locale: f } = e.verificationResponse, p = we(), m = pt(t), h = ct("hc-my-sheer-id-theme-builder"), _, v = /* @__PURE__ */ (0, I.jsx)(ft, {
|
|
461
461
|
verificationService: e,
|
|
462
462
|
fallbackLogo: !h && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
463
463
|
className: `sid-${m}-logo-default sid-l-lead-image`,
|
|
@@ -476,7 +476,7 @@ var _t = /* @__PURE__ */ e(re(), 1), vt = /* @__PURE__ */ e(l(), 1), I = te(), y
|
|
|
476
476
|
programId: i,
|
|
477
477
|
locale: f,
|
|
478
478
|
verificationId: d
|
|
479
|
-
}),
|
|
479
|
+
}), dt();
|
|
480
480
|
let n = s(a, () => {});
|
|
481
481
|
N.info("SingleSignOnComponent submitting cancel request"), clearTimeout(_), e.submitStep(t, n, e.verificationResponse);
|
|
482
482
|
}, S = (e, t) => {
|
|
@@ -486,12 +486,12 @@ var _t = /* @__PURE__ */ e(re(), 1), vt = /* @__PURE__ */ e(l(), 1), I = te(), y
|
|
|
486
486
|
verificationId: d
|
|
487
487
|
}), b(e, t), C();
|
|
488
488
|
}, C = () => {
|
|
489
|
-
let e = t === P.sso ?
|
|
489
|
+
let e = t === P.sso ? ne(l.loginUrl) : l.loginUrl;
|
|
490
490
|
if (!w(e)) {
|
|
491
491
|
N.error("Invalid loginUrl - must be an absolute http(s) URL. Not opening the login tab.", "sso loginUrl");
|
|
492
492
|
return;
|
|
493
493
|
}
|
|
494
|
-
|
|
494
|
+
ut(window.open(e, "_blank")), lt().focus();
|
|
495
495
|
};
|
|
496
496
|
return a.isSingleSignOnActive && !p && (_ = y()), !a.countryChoice && o && o.countryChoice && b("countryChoice", o.countryChoice), /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
497
497
|
id: `sid-step-${m}`,
|
|
@@ -499,21 +499,21 @@ var _t = /* @__PURE__ */ e(re(), 1), vt = /* @__PURE__ */ e(l(), 1), I = te(), y
|
|
|
499
499
|
"data-testid": `sid-step-${m}`,
|
|
500
500
|
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
501
501
|
role: "main",
|
|
502
|
-
children: a.isSingleSignOnActive ? /* @__PURE__ */ (0, I.jsx)(
|
|
502
|
+
children: a.isSingleSignOnActive ? /* @__PURE__ */ (0, I.jsx)(Rt, {
|
|
503
503
|
stepName: t,
|
|
504
504
|
messages: n,
|
|
505
505
|
logo: v,
|
|
506
506
|
cancelSingleSignOn: x,
|
|
507
507
|
cancelButtonType: r
|
|
508
|
-
}) : /* @__PURE__ */ (0, I.jsx)(
|
|
508
|
+
}) : /* @__PURE__ */ (0, I.jsx)(zt, {
|
|
509
509
|
verificationService: e,
|
|
510
510
|
messages: n,
|
|
511
511
|
updateViewModelAndOpenLoginTab: S,
|
|
512
512
|
dashedStepName: m
|
|
513
513
|
})
|
|
514
|
-
}), /* @__PURE__ */ (0, I.jsx)(
|
|
514
|
+
}), /* @__PURE__ */ (0, I.jsx)(Qe, { verificationService: e })]
|
|
515
515
|
});
|
|
516
|
-
},
|
|
516
|
+
}, Ht = {
|
|
517
517
|
title: /* @__PURE__ */ (0, I.jsx)(O, {
|
|
518
518
|
id: "step.sso.title",
|
|
519
519
|
defaultMessage: "Verify using your school credentials",
|
|
@@ -535,11 +535,11 @@ var _t = /* @__PURE__ */ e(re(), 1), vt = /* @__PURE__ */ e(l(), 1), I = te(), y
|
|
|
535
535
|
id: "step.sso.subtitle2",
|
|
536
536
|
defaultMessage: "Can't sign in to your school?"
|
|
537
537
|
})
|
|
538
|
-
},
|
|
538
|
+
}, Ut = ({ verificationService: e }) => /* @__PURE__ */ (0, I.jsx)(Vt, {
|
|
539
539
|
verificationService: e,
|
|
540
540
|
stepName: P.sso,
|
|
541
|
-
messages:
|
|
542
|
-
}),
|
|
541
|
+
messages: Ht
|
|
542
|
+
}), Wt = ({ logo: e }) => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
543
543
|
className: "sid-header sid-l-horz-center",
|
|
544
544
|
"data-testid": "sid-review-pending",
|
|
545
545
|
children: [
|
|
@@ -547,7 +547,7 @@ var _t = /* @__PURE__ */ e(re(), 1), vt = /* @__PURE__ */ e(l(), 1), I = te(), y
|
|
|
547
547
|
className: "sid-l-horz-center",
|
|
548
548
|
children: e
|
|
549
549
|
}),
|
|
550
|
-
/* @__PURE__ */ (0, I.jsx)(
|
|
550
|
+
/* @__PURE__ */ (0, I.jsx)(mt, {
|
|
551
551
|
align: "center",
|
|
552
552
|
children: /* @__PURE__ */ (0, I.jsx)(O, {
|
|
553
553
|
id: "step.pending.titleReview",
|
|
@@ -579,7 +579,7 @@ var _t = /* @__PURE__ */ e(re(), 1), vt = /* @__PURE__ */ e(l(), 1), I = te(), y
|
|
|
579
579
|
}),
|
|
580
580
|
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-xl" })
|
|
581
581
|
]
|
|
582
|
-
}),
|
|
582
|
+
}), Gt = ({ logo: e }) => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
583
583
|
className: "sid-header sid-l-horz-center",
|
|
584
584
|
"data-testid": "sid-review-pending",
|
|
585
585
|
children: [
|
|
@@ -587,7 +587,7 @@ var _t = /* @__PURE__ */ e(re(), 1), vt = /* @__PURE__ */ e(l(), 1), I = te(), y
|
|
|
587
587
|
className: "sid-l-horz-center",
|
|
588
588
|
children: e
|
|
589
589
|
}),
|
|
590
|
-
/* @__PURE__ */ (0, I.jsx)(
|
|
590
|
+
/* @__PURE__ */ (0, I.jsx)(mt, {
|
|
591
591
|
align: "center",
|
|
592
592
|
children: /* @__PURE__ */ (0, I.jsx)(O, {
|
|
593
593
|
id: "step.pending.idCheckLoop.title",
|
|
@@ -611,7 +611,7 @@ var _t = /* @__PURE__ */ e(re(), 1), vt = /* @__PURE__ */ e(l(), 1), I = te(), y
|
|
|
611
611
|
}),
|
|
612
612
|
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-xl" })
|
|
613
613
|
]
|
|
614
|
-
}),
|
|
614
|
+
}), Kt = { [Se.SIGNZY]: {
|
|
615
615
|
title: /* @__PURE__ */ (0, I.jsx)(O, {
|
|
616
616
|
id: "step.thirdPartyLoop.signzy.title",
|
|
617
617
|
tagName: "h1",
|
|
@@ -629,7 +629,7 @@ var _t = /* @__PURE__ */ e(re(), 1), vt = /* @__PURE__ */ e(l(), 1), I = te(), y
|
|
|
629
629
|
id: "step.thirdPartyLoop.signzy.cancel",
|
|
630
630
|
defaultMessage: "Upload Proof of Identity"
|
|
631
631
|
})
|
|
632
|
-
} },
|
|
632
|
+
} }, qt = ({ logo: e, isStepRoot: t = !1 }) => {
|
|
633
633
|
let n = /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
634
634
|
className: "sid-header sid-l-horz-center",
|
|
635
635
|
children: [
|
|
@@ -637,7 +637,7 @@ var _t = /* @__PURE__ */ e(re(), 1), vt = /* @__PURE__ */ e(l(), 1), I = te(), y
|
|
|
637
637
|
className: "sid-error-logo-container sid-l-horz-center",
|
|
638
638
|
children: e
|
|
639
639
|
}),
|
|
640
|
-
/* @__PURE__ */ (0, I.jsx)(
|
|
640
|
+
/* @__PURE__ */ (0, I.jsx)(mt, {
|
|
641
641
|
align: "center",
|
|
642
642
|
children: /* @__PURE__ */ (0, I.jsx)(O, {
|
|
643
643
|
id: "error",
|
|
@@ -665,16 +665,16 @@ var _t = /* @__PURE__ */ e(re(), 1), vt = /* @__PURE__ */ e(l(), 1), I = te(), y
|
|
|
665
665
|
children: n
|
|
666
666
|
}) : n
|
|
667
667
|
});
|
|
668
|
-
},
|
|
669
|
-
let t =
|
|
670
|
-
return t ? /* @__PURE__ */ (0, I.jsx)(
|
|
668
|
+
}, Jt = ({ verificationService: e }) => {
|
|
669
|
+
let t = Kt[e.verificationResponse.thirdPartyLoopProvider] || void 0, n = ct("hc-my-sheer-id-theme-builder");
|
|
670
|
+
return t ? /* @__PURE__ */ (0, I.jsx)(Vt, {
|
|
671
671
|
verificationService: e,
|
|
672
672
|
stepName: P.thirdPartyLoop,
|
|
673
673
|
messages: t,
|
|
674
|
-
cancelButtonType:
|
|
675
|
-
}) : /* @__PURE__ */ (0, I.jsx)(
|
|
674
|
+
cancelButtonType: Bt.SECONDARY
|
|
675
|
+
}) : /* @__PURE__ */ (0, I.jsx)(qt, {
|
|
676
676
|
isStepRoot: !0,
|
|
677
|
-
logo: /* @__PURE__ */ (0, I.jsx)(
|
|
677
|
+
logo: /* @__PURE__ */ (0, I.jsx)(ft, {
|
|
678
678
|
verificationService: e,
|
|
679
679
|
fallbackLogo: !n && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
680
680
|
className: "sid-error-logo sid-l-lead-image",
|
|
@@ -683,28 +683,28 @@ var _t = /* @__PURE__ */ e(re(), 1), vt = /* @__PURE__ */ e(l(), 1), I = te(), y
|
|
|
683
683
|
})
|
|
684
684
|
})
|
|
685
685
|
});
|
|
686
|
-
},
|
|
687
|
-
let i =
|
|
688
|
-
return i ? /* @__PURE__ */ (0, I.jsx)(
|
|
686
|
+
}, Yt = ({ logo: e, verificationLastResponse: t, cancelThirdPartyLoop: n, isMockingPreviousStepThirdPartyLoop: r }) => {
|
|
687
|
+
let i = Kt[r ? Te("thirdPartyLoopProvider") : t?.thirdPartyLoopProvider] || void 0;
|
|
688
|
+
return i ? /* @__PURE__ */ (0, I.jsx)(Rt, {
|
|
689
689
|
stepName: P.thirdPartyLoop,
|
|
690
690
|
messages: i,
|
|
691
691
|
logo: e,
|
|
692
692
|
cancelSingleSignOn: n,
|
|
693
|
-
cancelButtonType:
|
|
694
|
-
}) : /* @__PURE__ */ (0, I.jsx)(
|
|
695
|
-
},
|
|
696
|
-
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 =
|
|
693
|
+
cancelButtonType: Bt.SECONDARY
|
|
694
|
+
}) : /* @__PURE__ */ (0, I.jsx)(qt, { logo: e });
|
|
695
|
+
}, Xt = 5e3, Zt = 2e4, Qt = 2e4, $t = 2e3, en = ({ verificationService: e }) => {
|
|
696
|
+
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 = we(), c = Ee() && Ee() === P.sso, l = Ee() && Ee() === P.thirdPartyLoop, u = Ee() && Ee() === P.idCheckLoop, d = ct("hc-my-sheer-id-theme-builder"), f = () => i?.currentStep === P.sso, p = () => i?.currentStep === P.thirdPartyLoop, m = () => i?.currentStep === P.idCheckLoop, h = f() || p() || c || l, g = m() || u, _ = !h && !g, [v, y] = F.useState(() => h ? $t : g ? Qt : Xt);
|
|
697
697
|
F.useEffect(() => {
|
|
698
698
|
if (!_) return;
|
|
699
|
-
let e = setTimeout(() => y(
|
|
699
|
+
let e = setTimeout(() => y(Qt), Zt);
|
|
700
700
|
return () => clearTimeout(e);
|
|
701
701
|
}, [_]);
|
|
702
|
-
let b = !o &&
|
|
702
|
+
let b = !o && It(() => {
|
|
703
703
|
e.fetchExistingVerificationRequest(t, a, i, r, !1);
|
|
704
704
|
}, v), x = (t) => {
|
|
705
705
|
let r = s(n, () => {});
|
|
706
|
-
N.info("StepSingleSignOnComponent submitting cancel request, step:", t), b(),
|
|
707
|
-
}, S = /* @__PURE__ */ (0, I.jsx)(
|
|
706
|
+
N.info("StepSingleSignOnComponent submitting cancel request, step:", t), b(), dt(), e.submitStep(t, r, i);
|
|
707
|
+
}, S = /* @__PURE__ */ (0, I.jsx)(ft, {
|
|
708
708
|
verificationService: e,
|
|
709
709
|
fallbackLogo: !d && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
710
710
|
className: "sid-l-lead-image",
|
|
@@ -719,35 +719,35 @@ var _t = /* @__PURE__ */ e(re(), 1), vt = /* @__PURE__ */ e(l(), 1), I = te(), y
|
|
|
719
719
|
role: "main",
|
|
720
720
|
children: (() => {
|
|
721
721
|
let e = f() || c, t = p() || l, n = m() || u;
|
|
722
|
-
return e ? /* @__PURE__ */ (0, I.jsx)(
|
|
722
|
+
return e ? /* @__PURE__ */ (0, I.jsx)(Rt, {
|
|
723
723
|
stepName: P.sso,
|
|
724
|
-
messages:
|
|
724
|
+
messages: Ht,
|
|
725
725
|
logo: S,
|
|
726
726
|
cancelSingleSignOn: () => x(P.sso)
|
|
727
|
-
}) : t ? /* @__PURE__ */ (0, I.jsx)(
|
|
727
|
+
}) : t ? /* @__PURE__ */ (0, I.jsx)(Yt, {
|
|
728
728
|
logo: S,
|
|
729
729
|
cancelThirdPartyLoop: () => x(P.thirdPartyLoop),
|
|
730
730
|
verificationLastResponse: i,
|
|
731
731
|
isMockingPreviousStepThirdPartyLoop: l
|
|
732
|
-
}) : n ? /* @__PURE__ */ (0, I.jsx)(
|
|
732
|
+
}) : n ? /* @__PURE__ */ (0, I.jsx)(Gt, { logo: S }) : /* @__PURE__ */ (0, I.jsx)(Wt, { logo: S });
|
|
733
733
|
})()
|
|
734
|
-
}), g ? /* @__PURE__ */ (0, I.jsx)(
|
|
734
|
+
}), g ? /* @__PURE__ */ (0, I.jsx)(Ft, {
|
|
735
735
|
verificationService: e,
|
|
736
736
|
isCentered: !0
|
|
737
|
-
}) : /* @__PURE__ */ (0, I.jsxs)(
|
|
737
|
+
}) : /* @__PURE__ */ (0, I.jsxs)(Qe, {
|
|
738
738
|
verificationService: e,
|
|
739
739
|
children: [/* @__PURE__ */ (0, I.jsx)("div", {}), " "]
|
|
740
740
|
})]
|
|
741
741
|
});
|
|
742
|
-
},
|
|
743
|
-
let e =
|
|
742
|
+
}, tn = () => {
|
|
743
|
+
let e = me(), t = le(), n = ue(), r = u(() => n.segment), i = F.useCallback(() => {
|
|
744
744
|
if (window.self !== window.top) {
|
|
745
745
|
let e = new URL(window.location.href);
|
|
746
746
|
e.searchParams.delete("verificationId"), window.location.replace(e);
|
|
747
747
|
return;
|
|
748
748
|
}
|
|
749
749
|
(async () => {
|
|
750
|
-
|
|
750
|
+
Ge(e)(), await ze(e)(t, r, void 0, void 0, !0);
|
|
751
751
|
})();
|
|
752
752
|
}, [
|
|
753
753
|
e,
|
|
@@ -761,13 +761,13 @@ var _t = /* @__PURE__ */ e(re(), 1), vt = /* @__PURE__ */ e(l(), 1), I = te(), y
|
|
|
761
761
|
onKeyPress: i,
|
|
762
762
|
children: /* @__PURE__ */ (0, I.jsx)(M, { id: "tryAgain" })
|
|
763
763
|
});
|
|
764
|
-
},
|
|
764
|
+
}, nn = {
|
|
765
765
|
NONE: "none",
|
|
766
766
|
RESET: "reset",
|
|
767
767
|
POSTMESSAGE: "postMessage",
|
|
768
768
|
REDIRECT: "redirect"
|
|
769
|
-
},
|
|
770
|
-
let e =
|
|
769
|
+
}, rn = () => {
|
|
770
|
+
let e = ue(), t = () => A({
|
|
771
771
|
action: "tryAgain",
|
|
772
772
|
verificationResponse: e
|
|
773
773
|
});
|
|
@@ -778,55 +778,55 @@ var _t = /* @__PURE__ */ e(re(), 1), vt = /* @__PURE__ */ e(l(), 1), I = te(), y
|
|
|
778
778
|
onKeyPress: t,
|
|
779
779
|
children: /* @__PURE__ */ (0, I.jsx)(M, { id: "tryAgain" })
|
|
780
780
|
});
|
|
781
|
-
},
|
|
781
|
+
}, an = ({ redirectUrl: e, target: t = "_blank" }) => /* @__PURE__ */ (0, I.jsx)(_e, {
|
|
782
782
|
target: t,
|
|
783
783
|
href: e.toString(),
|
|
784
784
|
className: "sid-btn sid-btn--dark",
|
|
785
785
|
children: /* @__PURE__ */ (0, I.jsx)(M, { id: "seeOtherOffers" })
|
|
786
|
-
}),
|
|
787
|
-
if (!(typeof e == "object" && "type" in e && Object.values(
|
|
788
|
-
},
|
|
786
|
+
}), on = (e) => {
|
|
787
|
+
if (!(typeof e == "object" && "type" in e && Object.values(nn).includes(e.type))) throw RangeError("Invalid tryAgainAction option type - using default TryAgainButton.");
|
|
788
|
+
}, sn = () => {
|
|
789
789
|
let e = S("tryAgainAction");
|
|
790
790
|
try {
|
|
791
|
-
switch (
|
|
792
|
-
case
|
|
793
|
-
case
|
|
794
|
-
case
|
|
791
|
+
switch (on(e), e.type) {
|
|
792
|
+
case nn.NONE: return null;
|
|
793
|
+
case nn.POSTMESSAGE: return window.self === window.top ? (N.error(`Invalid tryAgainAction option type "${e.type}" - page must be embedded in an iframe.`), null) : /* @__PURE__ */ (0, I.jsx)(rn, {});
|
|
794
|
+
case nn.REDIRECT:
|
|
795
795
|
if (!w(e.url)) throw RangeError("Invalid tryAgainAction redirect url - must be an absolute http(s) URL. Using default TryAgainButton.");
|
|
796
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
796
|
+
return /* @__PURE__ */ (0, I.jsx)(an, {
|
|
797
797
|
redirectUrl: e.url,
|
|
798
798
|
target: e.target
|
|
799
799
|
});
|
|
800
|
-
case
|
|
800
|
+
case nn.RESET: return /* @__PURE__ */ (0, I.jsx)(tn, {});
|
|
801
801
|
default: throw RangeError("Invalid tryAgainAction option type - using default TryAgainButton.");
|
|
802
802
|
}
|
|
803
803
|
} catch (e) {
|
|
804
|
-
return N.error(e.message), /* @__PURE__ */ (0, I.jsx)(
|
|
804
|
+
return N.error(e.message), /* @__PURE__ */ (0, I.jsx)(tn, {});
|
|
805
805
|
}
|
|
806
|
-
},
|
|
806
|
+
}, cn = [
|
|
807
807
|
"docReviewLimitExceeded",
|
|
808
808
|
"verificationLimitExceeded",
|
|
809
809
|
"fraudRulesReject"
|
|
810
|
-
],
|
|
811
|
-
let t =
|
|
812
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
810
|
+
], ln = ({ errorIds: e }) => {
|
|
811
|
+
let t = ge(), n = e[0];
|
|
812
|
+
return /* @__PURE__ */ (0, I.jsx)(mt, {
|
|
813
813
|
align: "center",
|
|
814
814
|
children: /* @__PURE__ */ (0, I.jsx)("h1", { children: /* @__PURE__ */ (0, I.jsx)(M, { id: t?.[`step.error.errorId.${n}.title`] ? `step.error.errorId.${n}.title` : "step.error.title" }) })
|
|
815
815
|
});
|
|
816
|
-
},
|
|
816
|
+
}, un = ({ errorIds: e, errorDetailId: t }) => {
|
|
817
817
|
let n = /* @__PURE__ */ new Map();
|
|
818
818
|
return t ? n.set(t, `errorDetailId.${t}`) : e?.forEach((e) => n.set(e, `errorId.${e}`)), n.size > 0 ? /* @__PURE__ */ (0, I.jsx)("p", { children: Array.from(n).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(M, { id: t }, t)) }) : null;
|
|
819
|
-
},
|
|
820
|
-
let t =
|
|
819
|
+
}, dn = ({ errorIds: e }) => {
|
|
820
|
+
let t = ge(), n = `step.error.errorId.${e[0]}.note`;
|
|
821
821
|
return t?.[n] ? /* @__PURE__ */ (0, I.jsx)("p", {
|
|
822
822
|
className: "sid-error-note sid-h-small-text",
|
|
823
823
|
children: /* @__PURE__ */ (0, I.jsx)(M, { id: n })
|
|
824
824
|
}) : null;
|
|
825
|
-
},
|
|
826
|
-
let r =
|
|
825
|
+
}, fn = ({ verificationService: e, errorIds: t, redirectUrl: n }) => {
|
|
826
|
+
let r = ge();
|
|
827
827
|
if (t.includes("unauthorizedAccountStatus")) {
|
|
828
828
|
let t = u(() => e.programTheme.config.brandInfo.faqUrl);
|
|
829
|
-
return t ? /* @__PURE__ */ (0, I.jsx)(
|
|
829
|
+
return t ? /* @__PURE__ */ (0, I.jsx)(_e, {
|
|
830
830
|
href: t,
|
|
831
831
|
onClick: () => f(P.error, t),
|
|
832
832
|
className: "sid-btn sid-faq-btn sid-btn-light",
|
|
@@ -834,18 +834,18 @@ var _t = /* @__PURE__ */ e(re(), 1), vt = /* @__PURE__ */ e(l(), 1), I = te(), y
|
|
|
834
834
|
}) : null;
|
|
835
835
|
}
|
|
836
836
|
if (t.includes("verificationLimitExceeded")) return null;
|
|
837
|
-
if (t.includes("missingRequiredMetadata") || t.includes("missingRequiredExternalId")) return S("tryAgainAction").type === "reset" ? null : /* @__PURE__ */ (0, I.jsx)(
|
|
837
|
+
if (t.includes("missingRequiredMetadata") || t.includes("missingRequiredExternalId")) return S("tryAgainAction").type === "reset" ? null : /* @__PURE__ */ (0, I.jsx)(sn, {});
|
|
838
838
|
let i = t[0];
|
|
839
|
-
return r?.[`step.error.errorId.${i}.buttonText`] && w(n) ? /* @__PURE__ */ (0, I.jsx)(
|
|
839
|
+
return r?.[`step.error.errorId.${i}.buttonText`] && w(n) ? /* @__PURE__ */ (0, I.jsx)(_e, {
|
|
840
840
|
href: n,
|
|
841
841
|
onClick: () => f(P.error, n),
|
|
842
842
|
className: "sid-btn sid-error-btn sid-btn-light",
|
|
843
843
|
children: /* @__PURE__ */ (0, I.jsx)(M, { id: `step.error.errorId.${i}.buttonText` })
|
|
844
|
-
}) : /* @__PURE__ */ (0, I.jsx)(
|
|
845
|
-
},
|
|
846
|
-
let { errorIds: n, redirectUrl: r, errorDetailId: i } = e.verificationResponse, a =
|
|
844
|
+
}) : /* @__PURE__ */ (0, I.jsx)(sn, {});
|
|
845
|
+
}, pn = ({ verificationService: e, errorId: t }) => {
|
|
846
|
+
let { errorIds: n, redirectUrl: r, errorDetailId: i } = e.verificationResponse, a = ct("hc-my-sheer-id-theme-builder"), o = /* @__PURE__ */ new Set();
|
|
847
847
|
t && o.add(t), Array.isArray(n) && n.forEach((e) => o.add(e));
|
|
848
|
-
let s = Array.from(o), c = s.some((e) =>
|
|
848
|
+
let s = Array.from(o), c = s.some((e) => cn.includes(e));
|
|
849
849
|
return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
850
850
|
id: "sid-step-error",
|
|
851
851
|
className: "sid-error-container sid-l-container",
|
|
@@ -855,7 +855,7 @@ var _t = /* @__PURE__ */ e(re(), 1), vt = /* @__PURE__ */ e(l(), 1), I = te(), y
|
|
|
855
855
|
children: [
|
|
856
856
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
857
857
|
className: "sid-error-logo-container sid-l-horz-center",
|
|
858
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
858
|
+
children: /* @__PURE__ */ (0, I.jsx)(ft, {
|
|
859
859
|
verificationService: e,
|
|
860
860
|
fallbackLogo: !a && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
861
861
|
className: "sid-error-logo sid-l-lead-image",
|
|
@@ -864,16 +864,16 @@ var _t = /* @__PURE__ */ e(re(), 1), vt = /* @__PURE__ */ e(l(), 1), I = te(), y
|
|
|
864
864
|
})
|
|
865
865
|
})
|
|
866
866
|
}),
|
|
867
|
-
/* @__PURE__ */ (0, I.jsx)(
|
|
867
|
+
/* @__PURE__ */ (0, I.jsx)(ln, { errorIds: s }),
|
|
868
868
|
/* @__PURE__ */ (0, I.jsxs)("div", {
|
|
869
869
|
className: "sid-header__subtitle sid-l-horz-center sid-l-space-top-md",
|
|
870
870
|
children: [
|
|
871
871
|
/* @__PURE__ */ (0, I.jsxs)("div", {
|
|
872
872
|
className: "sid-error-msg sid-l-horz-center",
|
|
873
|
-
children: [/* @__PURE__ */ (0, I.jsx)(
|
|
873
|
+
children: [/* @__PURE__ */ (0, I.jsx)(un, {
|
|
874
874
|
errorIds: s,
|
|
875
875
|
errorDetailId: i
|
|
876
|
-
}), /* @__PURE__ */ (0, I.jsx)(
|
|
876
|
+
}), /* @__PURE__ */ (0, I.jsx)(dn, { errorIds: s })]
|
|
877
877
|
}),
|
|
878
878
|
c && /* @__PURE__ */ (0, I.jsx)("p", {
|
|
879
879
|
className: "sid-error-contact-support sid-l-space-top-md",
|
|
@@ -881,7 +881,7 @@ var _t = /* @__PURE__ */ e(re(), 1), vt = /* @__PURE__ */ e(l(), 1), I = te(), y
|
|
|
881
881
|
}),
|
|
882
882
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
883
883
|
className: "sid-l-space-top-lg sid-error-button-container sid-l-horz-center",
|
|
884
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
884
|
+
children: /* @__PURE__ */ (0, I.jsx)(fn, {
|
|
885
885
|
verificationService: e,
|
|
886
886
|
errorIds: s,
|
|
887
887
|
redirectUrl: r
|
|
@@ -892,49 +892,49 @@ var _t = /* @__PURE__ */ e(re(), 1), vt = /* @__PURE__ */ e(l(), 1), I = te(), y
|
|
|
892
892
|
]
|
|
893
893
|
}), /* @__PURE__ */ (0, I.jsx)("div", {
|
|
894
894
|
className: "sid-footer sid-powered-by-container sid-l-horz-center sid-l-space-top-xl sid-h-small-text",
|
|
895
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
895
|
+
children: /* @__PURE__ */ (0, I.jsx)(Ft, {
|
|
896
896
|
verificationService: e,
|
|
897
897
|
isCentered: !0,
|
|
898
898
|
hideFaqLink: c
|
|
899
899
|
})
|
|
900
900
|
})]
|
|
901
901
|
});
|
|
902
|
-
},
|
|
903
|
-
StepPendingComponent:
|
|
904
|
-
StepErrorComponent:
|
|
905
|
-
StepStudentPersonalInfoComponent: F.lazy(() => import("./chunk/StepStudentPersonalInfo-
|
|
906
|
-
StepOverrideComponent: F.lazy(() => import("./chunk/StepOverrideComponent-
|
|
907
|
-
StepAgePersonalInfoComponent: F.lazy(() => import("./chunk/StepAgePersonalInfo-
|
|
908
|
-
StepSeniorPersonalInfoComponent: F.lazy(() => import("./chunk/StepAgePersonalInfo-
|
|
909
|
-
StepCollectMilitaryPersonalInfoComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-
|
|
910
|
-
StepCollectMilitaryStatusComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-
|
|
911
|
-
StepActiveMilitaryPersonalInfoComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-
|
|
912
|
-
StepInactiveMilitaryPersonalInfoComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-
|
|
913
|
-
StepDriverLicensePersonalInfoComponent: F.lazy(() => import("./chunk/StepDriverLicensePersonalInfoComponent-
|
|
914
|
-
StepEmploymentPersonalInfoComponent: F.lazy(() => import("./chunk/StepEmploymentPersonalInfo-
|
|
915
|
-
StepFirstResponderPersonalInfoComponent: F.lazy(() => import("./chunk/StepFirstResponderPersonalInfo-
|
|
916
|
-
StepGeneralIdentityPersonalInfoComponent: F.lazy(() => import("./chunk/StepGeneralIdentityPersonalInfoComponent-
|
|
917
|
-
StepHybridIdentityPersonalInfoComponent: F.lazy(() => import("./chunk/StepHybridIdentityPersonalInfoComponent-
|
|
918
|
-
StepIDCheckLoopComponent: F.lazy(() => import("./chunk/StepIDCheckLoop-
|
|
919
|
-
StepLicensedProfessionalPersonalInfoComponent: F.lazy(() => import("./chunk/StepLicensedProfessionalPersonalInfo-
|
|
920
|
-
StepLowIncomePersonalInfoComponent: F.lazy(() => import("./chunk/StepLowIncomePersonalInfo-
|
|
921
|
-
StepMedicalProfessionalPersonalInfoComponent: F.lazy(() => import("./chunk/StepMedicalProfessionalPersonalInfo-
|
|
922
|
-
StepMemberPersonalInfoComponent: F.lazy(() => import("./chunk/StepMemberPersonalInfo-
|
|
923
|
-
StepConsolationComponent: F.lazy(() => import("./chunk/StepConsolation-
|
|
924
|
-
StepDocUploadComponent: F.lazy(() => import("./chunk/StepDocUpload-
|
|
925
|
-
StepEmailLoopComponent: F.lazy(() => import("./chunk/StepEmailLoop-
|
|
926
|
-
StepPendingEmailLoopComponent: F.lazy(() => import("./chunk/EmailLoopPending-
|
|
927
|
-
StepMoverPersonalInfoComponent: F.lazy(() => import("./chunk/StepMoverPersonalInfo-
|
|
928
|
-
StepSMSLoopComponent: F.lazy(() => import("./chunk/StepSMSLoop-
|
|
929
|
-
StepSocialSecurity: F.lazy(() => import("./chunk/StepSocialSecurityNumber-
|
|
902
|
+
}, mn = {
|
|
903
|
+
StepPendingComponent: en,
|
|
904
|
+
StepErrorComponent: pn,
|
|
905
|
+
StepStudentPersonalInfoComponent: F.lazy(() => import("./chunk/StepStudentPersonalInfo-DzBMt8Kd.js")),
|
|
906
|
+
StepOverrideComponent: F.lazy(() => import("./chunk/StepOverrideComponent-CFCHGcGm.js")),
|
|
907
|
+
StepAgePersonalInfoComponent: F.lazy(() => import("./chunk/StepAgePersonalInfo-D2IGNQbe.js")),
|
|
908
|
+
StepSeniorPersonalInfoComponent: F.lazy(() => import("./chunk/StepAgePersonalInfo-D2IGNQbe.js")),
|
|
909
|
+
StepCollectMilitaryPersonalInfoComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-DV1imjVy.js")),
|
|
910
|
+
StepCollectMilitaryStatusComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-DV1imjVy.js")),
|
|
911
|
+
StepActiveMilitaryPersonalInfoComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-DV1imjVy.js")),
|
|
912
|
+
StepInactiveMilitaryPersonalInfoComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-DV1imjVy.js")),
|
|
913
|
+
StepDriverLicensePersonalInfoComponent: F.lazy(() => import("./chunk/StepDriverLicensePersonalInfoComponent-TZmQSwrX.js")),
|
|
914
|
+
StepEmploymentPersonalInfoComponent: F.lazy(() => import("./chunk/StepEmploymentPersonalInfo-CsCSbWGn.js")),
|
|
915
|
+
StepFirstResponderPersonalInfoComponent: F.lazy(() => import("./chunk/StepFirstResponderPersonalInfo-C0dqZ6v9.js")),
|
|
916
|
+
StepGeneralIdentityPersonalInfoComponent: F.lazy(() => import("./chunk/StepGeneralIdentityPersonalInfoComponent-BY5f03WX.js")),
|
|
917
|
+
StepHybridIdentityPersonalInfoComponent: F.lazy(() => import("./chunk/StepHybridIdentityPersonalInfoComponent-CUmSF5K7.js")),
|
|
918
|
+
StepIDCheckLoopComponent: F.lazy(() => import("./chunk/StepIDCheckLoop-D8HQBh8L.js")),
|
|
919
|
+
StepLicensedProfessionalPersonalInfoComponent: F.lazy(() => import("./chunk/StepLicensedProfessionalPersonalInfo-DcyPpqRP.js")),
|
|
920
|
+
StepLowIncomePersonalInfoComponent: F.lazy(() => import("./chunk/StepLowIncomePersonalInfo-D_DnxewS.js")),
|
|
921
|
+
StepMedicalProfessionalPersonalInfoComponent: F.lazy(() => import("./chunk/StepMedicalProfessionalPersonalInfo-BBTMJxlc.js")),
|
|
922
|
+
StepMemberPersonalInfoComponent: F.lazy(() => import("./chunk/StepMemberPersonalInfo-C163dcFm.js")),
|
|
923
|
+
StepConsolationComponent: F.lazy(() => import("./chunk/StepConsolation-BjfCC2wN.js")),
|
|
924
|
+
StepDocUploadComponent: F.lazy(() => import("./chunk/StepDocUpload-LtmtqAaG.js")),
|
|
925
|
+
StepEmailLoopComponent: F.lazy(() => import("./chunk/StepEmailLoop-BOMgU-LY.js")),
|
|
926
|
+
StepPendingEmailLoopComponent: F.lazy(() => import("./chunk/EmailLoopPending-HOmFgKTU.js").then((e) => e.n)),
|
|
927
|
+
StepMoverPersonalInfoComponent: F.lazy(() => import("./chunk/StepMoverPersonalInfo-DVKj_md6.js")),
|
|
928
|
+
StepSMSLoopComponent: F.lazy(() => import("./chunk/StepSMSLoop-qDDjiu2X.js")),
|
|
929
|
+
StepSocialSecurity: F.lazy(() => import("./chunk/StepSocialSecurityNumber-CzdRBNES.js")),
|
|
930
930
|
StepSSOComponent: F.lazy(() => import("./chunk/StepSSO-ZHByQpHa.js")),
|
|
931
|
-
StepSuccessComponent: F.lazy(() => import("./chunk/StepSuccess-
|
|
932
|
-
StepTeacherPersonalInfoComponent: F.lazy(() => import("./chunk/StepTeacherPersonalInfo-
|
|
931
|
+
StepSuccessComponent: F.lazy(() => import("./chunk/StepSuccess-CwprAx_X.js")),
|
|
932
|
+
StepTeacherPersonalInfoComponent: F.lazy(() => import("./chunk/StepTeacherPersonalInfo-BnREkHc-.js")),
|
|
933
933
|
StepCompleteAuthentication: F.lazy(() => import("./chunk/StepCompleteAuthentication-DLwlKmBO.js")),
|
|
934
|
-
StepCollectIdentifierComponent: F.lazy(() => import("./chunk/StepCollectIdentifier-
|
|
935
|
-
StepCollectPersonalInfo: F.lazy(() => import("./chunk/StepCollectPersonalInfo-
|
|
934
|
+
StepCollectIdentifierComponent: F.lazy(() => import("./chunk/StepCollectIdentifier-Cr-pcekl.js")),
|
|
935
|
+
StepCollectPersonalInfo: F.lazy(() => import("./chunk/StepCollectPersonalInfo-Dp0QqT2l.js")),
|
|
936
936
|
StepThirdPartyLoopComponent: F.lazy(() => import("./chunk/StepThirdPartyLoop-BrKuZcYb.js"))
|
|
937
|
-
}, z = (e) => (N.info("getComponent", e),
|
|
937
|
+
}, z = (e) => (N.info("getComponent", e), jt(e) || mn[e]), hn = () => /* @__PURE__ */ (0, I.jsx)(bt, {}), gn = ({ stepToLoad: e, verificationService: t }) => {
|
|
938
938
|
N.info(`LoadStepComponent: rendering step: ${e}`);
|
|
939
939
|
let n;
|
|
940
940
|
switch ((0, F.useEffect)(() => {
|
|
@@ -1062,37 +1062,37 @@ var _t = /* @__PURE__ */ e(re(), 1), vt = /* @__PURE__ */ e(l(), 1), I = te(), y
|
|
|
1062
1062
|
case "cancelEmailLoop":
|
|
1063
1063
|
case "cancelSocialSecurityNumber":
|
|
1064
1064
|
case "docReviewLimitExceeded":
|
|
1065
|
-
case "emailLoopCollectOrganizationEmail": return N.error("Attempted to load unexpected step", e), /* @__PURE__ */ (0, I.jsx)(
|
|
1065
|
+
case "emailLoopCollectOrganizationEmail": return N.error("Attempted to load unexpected step", e), /* @__PURE__ */ (0, I.jsx)(pn, {
|
|
1066
1066
|
verificationService: t,
|
|
1067
1067
|
errorId: "invalidStep"
|
|
1068
1068
|
});
|
|
1069
|
-
default: return N.error("Unable to load step", e), /* @__PURE__ */ (0, I.jsx)(
|
|
1069
|
+
default: return N.error("Unable to load step", e), /* @__PURE__ */ (0, I.jsx)(pn, {
|
|
1070
1070
|
verificationService: t,
|
|
1071
1071
|
errorId: "invalidStep"
|
|
1072
1072
|
});
|
|
1073
1073
|
}
|
|
1074
1074
|
return /* @__PURE__ */ (0, I.jsx)(F.Suspense, {
|
|
1075
|
-
fallback:
|
|
1075
|
+
fallback: hn(),
|
|
1076
1076
|
children: /* @__PURE__ */ (0, I.jsx)(n, { verificationService: t })
|
|
1077
1077
|
});
|
|
1078
|
-
},
|
|
1078
|
+
}, _n = ({ dangerouslySetInnerHTML: e, ...t }) => e ? /* @__PURE__ */ (0, I.jsx)("span", {
|
|
1079
1079
|
dangerouslySetInnerHTML: e,
|
|
1080
1080
|
...t
|
|
1081
|
-
}) : /* @__PURE__ */ (0, I.jsx)(F.Fragment, { ...t }),
|
|
1081
|
+
}) : /* @__PURE__ */ (0, I.jsx)(F.Fragment, { ...t }), vn = ({ verificationService: e }) => e.programTheme?.isTestMode ? /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
1082
1082
|
className: "sid-test-mode-flag sid-l-container sid-l-horz-center",
|
|
1083
1083
|
role: "note",
|
|
1084
|
-
children: ["Test Mode", /* @__PURE__ */ (0, I.jsx)(
|
|
1084
|
+
children: ["Test Mode", /* @__PURE__ */ (0, I.jsx)(_e, {
|
|
1085
1085
|
className: "sid-test-mode-flag__link",
|
|
1086
1086
|
href: "https://developer.sheerid.com/getting-started#test-program",
|
|
1087
1087
|
"aria-label": "learn more about a sheerid test mode program",
|
|
1088
1088
|
children: "(learn more)"
|
|
1089
1089
|
})]
|
|
1090
|
-
}) : null,
|
|
1090
|
+
}) : null, yn = ({ verificationService: e, title: t, children: n, fallbackLogo: r, classNameIdentifier: i = void 0 }) => /* @__PURE__ */ (0, I.jsxs)("header", {
|
|
1091
1091
|
className: "sid-header",
|
|
1092
1092
|
children: [
|
|
1093
1093
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
1094
1094
|
className: `sid-logo-container sid-l-horz-center ${i ? `sid-${i}-logo-container` : ""}`,
|
|
1095
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
1095
|
+
children: /* @__PURE__ */ (0, I.jsx)(ft, {
|
|
1096
1096
|
verificationService: e,
|
|
1097
1097
|
fallbackLogo: r
|
|
1098
1098
|
})
|
|
@@ -1112,30 +1112,30 @@ function B(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
|
|
|
1112
1112
|
}
|
|
1113
1113
|
//#endregion
|
|
1114
1114
|
//#region ../node_modules/@radix-ui/react-compose-refs/dist/index.mjs
|
|
1115
|
-
function
|
|
1115
|
+
function bn(e, t) {
|
|
1116
1116
|
if (typeof e == "function") return e(t);
|
|
1117
1117
|
e != null && (e.current = t);
|
|
1118
1118
|
}
|
|
1119
|
-
function
|
|
1119
|
+
function xn(...e) {
|
|
1120
1120
|
return (t) => {
|
|
1121
1121
|
let n = !1, r = e.map((e) => {
|
|
1122
|
-
let r =
|
|
1122
|
+
let r = bn(e, t);
|
|
1123
1123
|
return !n && typeof r == "function" && (n = !0), r;
|
|
1124
1124
|
});
|
|
1125
1125
|
if (n) return () => {
|
|
1126
1126
|
for (let t = 0; t < r.length; t++) {
|
|
1127
1127
|
let n = r[t];
|
|
1128
|
-
typeof n == "function" ? n() :
|
|
1128
|
+
typeof n == "function" ? n() : bn(e[t], null);
|
|
1129
1129
|
}
|
|
1130
1130
|
};
|
|
1131
1131
|
};
|
|
1132
1132
|
}
|
|
1133
1133
|
function V(...e) {
|
|
1134
|
-
return F.useCallback(
|
|
1134
|
+
return F.useCallback(xn(...e), e);
|
|
1135
1135
|
}
|
|
1136
1136
|
//#endregion
|
|
1137
1137
|
//#region ../node_modules/@radix-ui/react-context/dist/index.mjs
|
|
1138
|
-
function
|
|
1138
|
+
function Sn(e, t = []) {
|
|
1139
1139
|
let n = [];
|
|
1140
1140
|
function r(t, r) {
|
|
1141
1141
|
let i = F.createContext(r), a = n.length;
|
|
@@ -1166,9 +1166,9 @@ function Cn(e, t = []) {
|
|
|
1166
1166
|
} }), [n, r]);
|
|
1167
1167
|
};
|
|
1168
1168
|
};
|
|
1169
|
-
return i.scopeName = e, [r,
|
|
1169
|
+
return i.scopeName = e, [r, Cn(i, ...t)];
|
|
1170
1170
|
}
|
|
1171
|
-
function
|
|
1171
|
+
function Cn(...e) {
|
|
1172
1172
|
let t = e[0];
|
|
1173
1173
|
if (e.length === 1) return t;
|
|
1174
1174
|
let n = () => {
|
|
@@ -1192,9 +1192,9 @@ function wn(...e) {
|
|
|
1192
1192
|
//#endregion
|
|
1193
1193
|
//#region ../node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
1194
1194
|
// @__NO_SIDE_EFFECTS__
|
|
1195
|
-
function
|
|
1196
|
-
let t = /* @__PURE__ */
|
|
1197
|
-
let { children: r, ...i } = e, a = F.Children.toArray(r), o = a.find(
|
|
1195
|
+
function wn(e) {
|
|
1196
|
+
let t = /* @__PURE__ */ Tn(e), n = F.forwardRef((e, n) => {
|
|
1197
|
+
let { children: r, ...i } = e, a = F.Children.toArray(r), o = a.find(Dn);
|
|
1198
1198
|
if (o) {
|
|
1199
1199
|
let e = o.props.children, r = a.map((t) => t === o ? F.Children.count(e) > 1 ? F.Children.only(null) : F.isValidElement(e) ? e.props.children : null : t);
|
|
1200
1200
|
return /* @__PURE__ */ (0, I.jsx)(t, {
|
|
@@ -1212,22 +1212,22 @@ function Tn(e) {
|
|
|
1212
1212
|
return n.displayName = `${e}.Slot`, n;
|
|
1213
1213
|
}
|
|
1214
1214
|
// @__NO_SIDE_EFFECTS__
|
|
1215
|
-
function
|
|
1215
|
+
function Tn(e) {
|
|
1216
1216
|
let t = F.forwardRef((e, t) => {
|
|
1217
1217
|
let { children: n, ...r } = e;
|
|
1218
1218
|
if (F.isValidElement(n)) {
|
|
1219
|
-
let e =
|
|
1220
|
-
return n.type !== F.Fragment && (i.ref = t ?
|
|
1219
|
+
let e = kn(n), i = On(r, n.props);
|
|
1220
|
+
return n.type !== F.Fragment && (i.ref = t ? xn(t, e) : e), F.cloneElement(n, i);
|
|
1221
1221
|
}
|
|
1222
1222
|
return F.Children.count(n) > 1 ? F.Children.only(null) : null;
|
|
1223
1223
|
});
|
|
1224
1224
|
return t.displayName = `${e}.SlotClone`, t;
|
|
1225
1225
|
}
|
|
1226
|
-
var
|
|
1227
|
-
function
|
|
1228
|
-
return F.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId ===
|
|
1226
|
+
var En = Symbol("radix.slottable");
|
|
1227
|
+
function Dn(e) {
|
|
1228
|
+
return F.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === En;
|
|
1229
1229
|
}
|
|
1230
|
-
function
|
|
1230
|
+
function On(e, t) {
|
|
1231
1231
|
let n = { ...t };
|
|
1232
1232
|
for (let r in t) {
|
|
1233
1233
|
let i = e[r], a = t[r];
|
|
@@ -1244,7 +1244,7 @@ function kn(e, t) {
|
|
|
1244
1244
|
...n
|
|
1245
1245
|
};
|
|
1246
1246
|
}
|
|
1247
|
-
function
|
|
1247
|
+
function kn(e) {
|
|
1248
1248
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
1249
1249
|
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);
|
|
1250
1250
|
}
|
|
@@ -1269,7 +1269,7 @@ var H = [
|
|
|
1269
1269
|
"svg",
|
|
1270
1270
|
"ul"
|
|
1271
1271
|
].reduce((e, t) => {
|
|
1272
|
-
let n = /* @__PURE__ */
|
|
1272
|
+
let n = /* @__PURE__ */ wn(`Primitive.${t}`), r = F.forwardRef((e, r) => {
|
|
1273
1273
|
let { asChild: i, ...a } = e, o = i ? n : t;
|
|
1274
1274
|
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ (0, I.jsx)(o, {
|
|
1275
1275
|
...a,
|
|
@@ -1281,12 +1281,12 @@ var H = [
|
|
|
1281
1281
|
[t]: r
|
|
1282
1282
|
};
|
|
1283
1283
|
}, {});
|
|
1284
|
-
function
|
|
1285
|
-
e &&
|
|
1284
|
+
function An(e, t) {
|
|
1285
|
+
e && gt.flushSync(() => e.dispatchEvent(t));
|
|
1286
1286
|
}
|
|
1287
1287
|
//#endregion
|
|
1288
1288
|
//#region ../node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
|
|
1289
|
-
function
|
|
1289
|
+
function jn(e) {
|
|
1290
1290
|
let t = F.useRef(e);
|
|
1291
1291
|
return F.useEffect(() => {
|
|
1292
1292
|
t.current = e;
|
|
@@ -1294,8 +1294,8 @@ function Mn(e) {
|
|
|
1294
1294
|
}
|
|
1295
1295
|
//#endregion
|
|
1296
1296
|
//#region ../node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs
|
|
1297
|
-
function
|
|
1298
|
-
let n =
|
|
1297
|
+
function Mn(e, t = globalThis?.document) {
|
|
1298
|
+
let n = jn(e);
|
|
1299
1299
|
F.useEffect(() => {
|
|
1300
1300
|
let e = (e) => {
|
|
1301
1301
|
e.key === "Escape" && n(e);
|
|
@@ -1305,23 +1305,23 @@ function Nn(e, t = globalThis?.document) {
|
|
|
1305
1305
|
}
|
|
1306
1306
|
//#endregion
|
|
1307
1307
|
//#region ../node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
|
|
1308
|
-
var
|
|
1308
|
+
var Nn = "DismissableLayer", Pn = "dismissableLayer.update", Fn = "dismissableLayer.pointerDownOutside", In = "dismissableLayer.focusOutside", Ln, Rn = F.createContext({
|
|
1309
1309
|
layers: /* @__PURE__ */ new Set(),
|
|
1310
1310
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
1311
1311
|
branches: /* @__PURE__ */ new Set()
|
|
1312
|
-
}),
|
|
1313
|
-
let { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: o, onDismiss: s, ...c } = e, l = F.useContext(
|
|
1312
|
+
}), zn = F.forwardRef((e, t) => {
|
|
1313
|
+
let { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: o, onDismiss: s, ...c } = e, l = F.useContext(Rn), [u, d] = F.useState(null), f = u?.ownerDocument ?? globalThis?.document, [, p] = F.useState({}), m = V(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 = Hn((e) => {
|
|
1314
1314
|
let t = e.target, n = [...l.branches].some((e) => e.contains(t));
|
|
1315
1315
|
!b || n || (i?.(e), o?.(e), e.defaultPrevented || s?.());
|
|
1316
|
-
}, f), S =
|
|
1316
|
+
}, f), S = Un((e) => {
|
|
1317
1317
|
let t = e.target;
|
|
1318
1318
|
[...l.branches].some((e) => e.contains(t)) || (a?.(e), o?.(e), e.defaultPrevented || s?.());
|
|
1319
1319
|
}, f);
|
|
1320
|
-
return
|
|
1320
|
+
return Mn((e) => {
|
|
1321
1321
|
v === l.layers.size - 1 && (r?.(e), !e.defaultPrevented && s && (e.preventDefault(), s()));
|
|
1322
1322
|
}, f), F.useEffect(() => {
|
|
1323
|
-
if (u) return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (
|
|
1324
|
-
n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (f.body.style.pointerEvents =
|
|
1323
|
+
if (u) return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (Ln = f.body.style.pointerEvents, f.body.style.pointerEvents = "none"), l.layersWithOutsidePointerEventsDisabled.add(u)), l.layers.add(u), Wn(), () => {
|
|
1324
|
+
n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (f.body.style.pointerEvents = Ln);
|
|
1325
1325
|
};
|
|
1326
1326
|
}, [
|
|
1327
1327
|
u,
|
|
@@ -1329,10 +1329,10 @@ var Pn = "DismissableLayer", Fn = "dismissableLayer.update", In = "dismissableLa
|
|
|
1329
1329
|
n,
|
|
1330
1330
|
l
|
|
1331
1331
|
]), F.useEffect(() => () => {
|
|
1332
|
-
u && (l.layers.delete(u), l.layersWithOutsidePointerEventsDisabled.delete(u),
|
|
1332
|
+
u && (l.layers.delete(u), l.layersWithOutsidePointerEventsDisabled.delete(u), Wn());
|
|
1333
1333
|
}, [u, l]), F.useEffect(() => {
|
|
1334
1334
|
let e = () => p({});
|
|
1335
|
-
return document.addEventListener(
|
|
1335
|
+
return document.addEventListener(Pn, e), () => document.removeEventListener(Pn, e);
|
|
1336
1336
|
}, []), /* @__PURE__ */ (0, I.jsx)(H.div, {
|
|
1337
1337
|
...c,
|
|
1338
1338
|
ref: m,
|
|
@@ -1345,9 +1345,9 @@ var Pn = "DismissableLayer", Fn = "dismissableLayer.update", In = "dismissableLa
|
|
|
1345
1345
|
onPointerDownCapture: B(e.onPointerDownCapture, x.onPointerDownCapture)
|
|
1346
1346
|
});
|
|
1347
1347
|
});
|
|
1348
|
-
|
|
1349
|
-
var
|
|
1350
|
-
let n = F.useContext(
|
|
1348
|
+
zn.displayName = Nn;
|
|
1349
|
+
var Bn = "DismissableLayerBranch", Vn = F.forwardRef((e, t) => {
|
|
1350
|
+
let n = F.useContext(Rn), r = F.useRef(null), i = V(t, r);
|
|
1351
1351
|
return F.useEffect(() => {
|
|
1352
1352
|
let e = r.current;
|
|
1353
1353
|
if (e) return n.branches.add(e), () => {
|
|
@@ -1358,14 +1358,14 @@ var Vn = "DismissableLayerBranch", Hn = F.forwardRef((e, t) => {
|
|
|
1358
1358
|
ref: i
|
|
1359
1359
|
});
|
|
1360
1360
|
});
|
|
1361
|
-
|
|
1362
|
-
function
|
|
1363
|
-
let n =
|
|
1361
|
+
Vn.displayName = Bn;
|
|
1362
|
+
function Hn(e, t = globalThis?.document) {
|
|
1363
|
+
let n = jn(e), r = F.useRef(!1), i = F.useRef(() => {});
|
|
1364
1364
|
return F.useEffect(() => {
|
|
1365
1365
|
let e = (e) => {
|
|
1366
1366
|
if (e.target && !r.current) {
|
|
1367
1367
|
let r = function() {
|
|
1368
|
-
|
|
1368
|
+
Gn(Fn, n, a, { discrete: !0 });
|
|
1369
1369
|
}, a = { originalEvent: e };
|
|
1370
1370
|
e.pointerType === "touch" ? (t.removeEventListener("click", i.current), i.current = r, t.addEventListener("click", i.current, { once: !0 })) : r();
|
|
1371
1371
|
} else t.removeEventListener("click", i.current);
|
|
@@ -1378,11 +1378,11 @@ function Un(e, t = globalThis?.document) {
|
|
|
1378
1378
|
};
|
|
1379
1379
|
}, [t, n]), { onPointerDownCapture: () => r.current = !0 };
|
|
1380
1380
|
}
|
|
1381
|
-
function
|
|
1382
|
-
let n =
|
|
1381
|
+
function Un(e, t = globalThis?.document) {
|
|
1382
|
+
let n = jn(e), r = F.useRef(!1);
|
|
1383
1383
|
return F.useEffect(() => {
|
|
1384
1384
|
let e = (e) => {
|
|
1385
|
-
e.target && !r.current &&
|
|
1385
|
+
e.target && !r.current && Gn(In, n, { originalEvent: e }, { discrete: !1 });
|
|
1386
1386
|
};
|
|
1387
1387
|
return t.addEventListener("focusin", e), () => t.removeEventListener("focusin", e);
|
|
1388
1388
|
}, [t, n]), {
|
|
@@ -1390,40 +1390,40 @@ function Wn(e, t = globalThis?.document) {
|
|
|
1390
1390
|
onBlurCapture: () => r.current = !1
|
|
1391
1391
|
};
|
|
1392
1392
|
}
|
|
1393
|
-
function
|
|
1394
|
-
let e = new CustomEvent(
|
|
1393
|
+
function Wn() {
|
|
1394
|
+
let e = new CustomEvent(Pn);
|
|
1395
1395
|
document.dispatchEvent(e);
|
|
1396
1396
|
}
|
|
1397
|
-
function
|
|
1397
|
+
function Gn(e, t, n, { discrete: r }) {
|
|
1398
1398
|
let i = n.originalEvent.target, a = new CustomEvent(e, {
|
|
1399
1399
|
bubbles: !1,
|
|
1400
1400
|
cancelable: !0,
|
|
1401
1401
|
detail: n
|
|
1402
1402
|
});
|
|
1403
|
-
t && i.addEventListener(e, t, { once: !0 }), r ?
|
|
1403
|
+
t && i.addEventListener(e, t, { once: !0 }), r ? An(i, a) : i.dispatchEvent(a);
|
|
1404
1404
|
}
|
|
1405
1405
|
//#endregion
|
|
1406
1406
|
//#region ../node_modules/@radix-ui/react-focus-guards/dist/index.mjs
|
|
1407
|
-
var
|
|
1408
|
-
function
|
|
1407
|
+
var Kn = 0;
|
|
1408
|
+
function qn() {
|
|
1409
1409
|
F.useEffect(() => {
|
|
1410
1410
|
let e = document.querySelectorAll("[data-radix-focus-guard]");
|
|
1411
|
-
return document.body.insertAdjacentElement("afterbegin", e[0] ??
|
|
1412
|
-
|
|
1411
|
+
return document.body.insertAdjacentElement("afterbegin", e[0] ?? Jn()), document.body.insertAdjacentElement("beforeend", e[1] ?? Jn()), Kn++, () => {
|
|
1412
|
+
Kn === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((e) => e.remove()), Kn--;
|
|
1413
1413
|
};
|
|
1414
1414
|
}, []);
|
|
1415
1415
|
}
|
|
1416
|
-
function
|
|
1416
|
+
function Jn() {
|
|
1417
1417
|
let e = document.createElement("span");
|
|
1418
1418
|
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;
|
|
1419
1419
|
}
|
|
1420
1420
|
//#endregion
|
|
1421
1421
|
//#region ../node_modules/@radix-ui/react-focus-scope/dist/index.mjs
|
|
1422
|
-
var
|
|
1422
|
+
var Yn = "focusScope.autoFocusOnMount", Xn = "focusScope.autoFocusOnUnmount", Zn = {
|
|
1423
1423
|
bubbles: !1,
|
|
1424
1424
|
cancelable: !0
|
|
1425
|
-
},
|
|
1426
|
-
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [s, c] = F.useState(null), l =
|
|
1425
|
+
}, Qn = "FocusScope", $n = F.forwardRef((e, t) => {
|
|
1426
|
+
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [s, c] = F.useState(null), l = jn(i), u = jn(a), d = F.useRef(null), f = V(t, (e) => c(e)), p = F.useRef({
|
|
1427
1427
|
paused: !1,
|
|
1428
1428
|
pause() {
|
|
1429
1429
|
this.paused = !0;
|
|
@@ -1437,13 +1437,13 @@ var Xn = "focusScope.autoFocusOnMount", Zn = "focusScope.autoFocusOnUnmount", Qn
|
|
|
1437
1437
|
let e = function(e) {
|
|
1438
1438
|
if (p.paused || !s) return;
|
|
1439
1439
|
let t = e.target;
|
|
1440
|
-
s.contains(t) ? d.current = t :
|
|
1440
|
+
s.contains(t) ? d.current = t : or(d.current, { select: !0 });
|
|
1441
1441
|
}, t = function(e) {
|
|
1442
1442
|
if (p.paused || !s) return;
|
|
1443
1443
|
let t = e.relatedTarget;
|
|
1444
|
-
t !== null && (s.contains(t) ||
|
|
1444
|
+
t !== null && (s.contains(t) || or(d.current, { select: !0 }));
|
|
1445
1445
|
}, n = function(e) {
|
|
1446
|
-
if (document.activeElement === document.body) for (let t of e) t.removedNodes.length > 0 &&
|
|
1446
|
+
if (document.activeElement === document.body) for (let t of e) t.removedNodes.length > 0 && or(s);
|
|
1447
1447
|
};
|
|
1448
1448
|
document.addEventListener("focusin", e), document.addEventListener("focusout", t);
|
|
1449
1449
|
let r = new MutationObserver(n);
|
|
@@ -1460,16 +1460,16 @@ var Xn = "focusScope.autoFocusOnMount", Zn = "focusScope.autoFocusOnUnmount", Qn
|
|
|
1460
1460
|
p.paused
|
|
1461
1461
|
]), F.useEffect(() => {
|
|
1462
1462
|
if (s) {
|
|
1463
|
-
|
|
1463
|
+
sr.add(p);
|
|
1464
1464
|
let e = document.activeElement;
|
|
1465
1465
|
if (!s.contains(e)) {
|
|
1466
|
-
let t = new CustomEvent(
|
|
1467
|
-
s.addEventListener(
|
|
1466
|
+
let t = new CustomEvent(Yn, Zn);
|
|
1467
|
+
s.addEventListener(Yn, l), s.dispatchEvent(t), t.defaultPrevented || (er(ur(nr(s)), { select: !0 }), document.activeElement === e && or(s));
|
|
1468
1468
|
}
|
|
1469
1469
|
return () => {
|
|
1470
|
-
s.removeEventListener(
|
|
1471
|
-
let t = new CustomEvent(
|
|
1472
|
-
s.addEventListener(
|
|
1470
|
+
s.removeEventListener(Yn, l), setTimeout(() => {
|
|
1471
|
+
let t = new CustomEvent(Xn, Zn);
|
|
1472
|
+
s.addEventListener(Xn, u), s.dispatchEvent(t), t.defaultPrevented || or(e ?? document.body, { select: !0 }), s.removeEventListener(Xn, u), sr.remove(p);
|
|
1473
1473
|
}, 0);
|
|
1474
1474
|
};
|
|
1475
1475
|
}
|
|
@@ -1483,8 +1483,8 @@ var Xn = "focusScope.autoFocusOnMount", Zn = "focusScope.autoFocusOnUnmount", Qn
|
|
|
1483
1483
|
if (!n && !r || p.paused) return;
|
|
1484
1484
|
let t = e.key === "Tab" && !e.altKey && !e.ctrlKey && !e.metaKey, i = document.activeElement;
|
|
1485
1485
|
if (t && i) {
|
|
1486
|
-
let t = e.currentTarget, [r, a] =
|
|
1487
|
-
r && a ? !e.shiftKey && i === a ? (e.preventDefault(), n &&
|
|
1486
|
+
let t = e.currentTarget, [r, a] = tr(t);
|
|
1487
|
+
r && a ? !e.shiftKey && i === a ? (e.preventDefault(), n && or(r, { select: !0 })) : e.shiftKey && i === r && (e.preventDefault(), n && or(a, { select: !0 })) : i === t && e.preventDefault();
|
|
1488
1488
|
}
|
|
1489
1489
|
}, [
|
|
1490
1490
|
n,
|
|
@@ -1498,16 +1498,16 @@ var Xn = "focusScope.autoFocusOnMount", Zn = "focusScope.autoFocusOnUnmount", Qn
|
|
|
1498
1498
|
onKeyDown: m
|
|
1499
1499
|
});
|
|
1500
1500
|
});
|
|
1501
|
-
|
|
1502
|
-
function
|
|
1501
|
+
$n.displayName = Qn;
|
|
1502
|
+
function er(e, { select: t = !1 } = {}) {
|
|
1503
1503
|
let n = document.activeElement;
|
|
1504
|
-
for (let r of e) if (
|
|
1504
|
+
for (let r of e) if (or(r, { select: t }), document.activeElement !== n) return;
|
|
1505
1505
|
}
|
|
1506
|
-
function
|
|
1507
|
-
let t =
|
|
1508
|
-
return [
|
|
1506
|
+
function tr(e) {
|
|
1507
|
+
let t = nr(e);
|
|
1508
|
+
return [rr(t, e), rr(t.reverse(), e)];
|
|
1509
1509
|
}
|
|
1510
|
-
function
|
|
1510
|
+
function nr(e) {
|
|
1511
1511
|
let t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, { acceptNode: (e) => {
|
|
1512
1512
|
let t = e.tagName === "INPUT" && e.type === "hidden";
|
|
1513
1513
|
return e.disabled || e.hidden || t ? NodeFilter.FILTER_SKIP : e.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
|
|
@@ -1515,10 +1515,10 @@ function rr(e) {
|
|
|
1515
1515
|
for (; n.nextNode();) t.push(n.currentNode);
|
|
1516
1516
|
return t;
|
|
1517
1517
|
}
|
|
1518
|
-
function
|
|
1519
|
-
for (let n of e) if (!
|
|
1518
|
+
function rr(e, t) {
|
|
1519
|
+
for (let n of e) if (!ir(n, { upTo: t })) return n;
|
|
1520
1520
|
}
|
|
1521
|
-
function
|
|
1521
|
+
function ir(e, { upTo: t }) {
|
|
1522
1522
|
if (getComputedStyle(e).visibility === "hidden") return !0;
|
|
1523
1523
|
for (; e;) {
|
|
1524
1524
|
if (t !== void 0 && e === t) return !1;
|
|
@@ -1527,62 +1527,62 @@ function ar(e, { upTo: t }) {
|
|
|
1527
1527
|
}
|
|
1528
1528
|
return !1;
|
|
1529
1529
|
}
|
|
1530
|
-
function
|
|
1530
|
+
function ar(e) {
|
|
1531
1531
|
return e instanceof HTMLInputElement && "select" in e;
|
|
1532
1532
|
}
|
|
1533
|
-
function
|
|
1533
|
+
function or(e, { select: t = !1 } = {}) {
|
|
1534
1534
|
if (e && e.focus) {
|
|
1535
1535
|
let n = document.activeElement;
|
|
1536
|
-
e.focus({ preventScroll: !0 }), e !== n &&
|
|
1536
|
+
e.focus({ preventScroll: !0 }), e !== n && ar(e) && t && e.select();
|
|
1537
1537
|
}
|
|
1538
1538
|
}
|
|
1539
|
-
var
|
|
1540
|
-
function
|
|
1539
|
+
var sr = cr();
|
|
1540
|
+
function cr() {
|
|
1541
1541
|
let e = [];
|
|
1542
1542
|
return {
|
|
1543
1543
|
add(t) {
|
|
1544
1544
|
let n = e[0];
|
|
1545
|
-
t !== n && n?.pause(), e =
|
|
1545
|
+
t !== n && n?.pause(), e = lr(e, t), e.unshift(t);
|
|
1546
1546
|
},
|
|
1547
1547
|
remove(t) {
|
|
1548
|
-
e =
|
|
1548
|
+
e = lr(e, t), e[0]?.resume();
|
|
1549
1549
|
}
|
|
1550
1550
|
};
|
|
1551
1551
|
}
|
|
1552
|
-
function
|
|
1552
|
+
function lr(e, t) {
|
|
1553
1553
|
let n = [...e], r = n.indexOf(t);
|
|
1554
1554
|
return r !== -1 && n.splice(r, 1), n;
|
|
1555
1555
|
}
|
|
1556
|
-
function
|
|
1556
|
+
function ur(e) {
|
|
1557
1557
|
return e.filter((e) => e.tagName !== "A");
|
|
1558
1558
|
}
|
|
1559
1559
|
//#endregion
|
|
1560
1560
|
//#region ../node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
|
|
1561
|
-
var
|
|
1562
|
-
function
|
|
1563
|
-
let [t, n] = F.useState(
|
|
1564
|
-
return
|
|
1565
|
-
e || n((e) => e ?? String(
|
|
1561
|
+
var dr = globalThis?.document ? F.useLayoutEffect : () => {}, fr = F.useId || (() => void 0), pr = 0;
|
|
1562
|
+
function mr(e) {
|
|
1563
|
+
let [t, n] = F.useState(fr());
|
|
1564
|
+
return dr(() => {
|
|
1565
|
+
e || n((e) => e ?? String(pr++));
|
|
1566
1566
|
}, [e]), e || (t ? `radix-${t}` : "");
|
|
1567
1567
|
}
|
|
1568
1568
|
//#endregion
|
|
1569
1569
|
//#region ../node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
|
|
1570
|
-
var
|
|
1570
|
+
var hr = [
|
|
1571
1571
|
"top",
|
|
1572
1572
|
"right",
|
|
1573
1573
|
"bottom",
|
|
1574
1574
|
"left"
|
|
1575
|
-
],
|
|
1575
|
+
], gr = Math.min, U = Math.max, _r = Math.round, vr = Math.floor, W = (e) => ({
|
|
1576
1576
|
x: e,
|
|
1577
1577
|
y: e
|
|
1578
|
-
}),
|
|
1578
|
+
}), yr = {
|
|
1579
1579
|
left: "right",
|
|
1580
1580
|
right: "left",
|
|
1581
1581
|
bottom: "top",
|
|
1582
1582
|
top: "bottom"
|
|
1583
1583
|
};
|
|
1584
|
-
function
|
|
1585
|
-
return U(e,
|
|
1584
|
+
function br(e, t, n) {
|
|
1585
|
+
return U(e, gr(t, n));
|
|
1586
1586
|
}
|
|
1587
1587
|
function G(e, t) {
|
|
1588
1588
|
return typeof e == "function" ? e(t) : e;
|
|
@@ -1590,57 +1590,57 @@ function G(e, t) {
|
|
|
1590
1590
|
function K(e) {
|
|
1591
1591
|
return e.split("-")[0];
|
|
1592
1592
|
}
|
|
1593
|
-
function
|
|
1593
|
+
function xr(e) {
|
|
1594
1594
|
return e.split("-")[1];
|
|
1595
1595
|
}
|
|
1596
|
-
function
|
|
1596
|
+
function Sr(e) {
|
|
1597
1597
|
return e === "x" ? "y" : "x";
|
|
1598
1598
|
}
|
|
1599
|
-
function
|
|
1599
|
+
function Cr(e) {
|
|
1600
1600
|
return e === "y" ? "height" : "width";
|
|
1601
1601
|
}
|
|
1602
1602
|
function q(e) {
|
|
1603
1603
|
let t = e[0];
|
|
1604
1604
|
return t === "t" || t === "b" ? "y" : "x";
|
|
1605
1605
|
}
|
|
1606
|
-
function
|
|
1607
|
-
return
|
|
1606
|
+
function wr(e) {
|
|
1607
|
+
return Sr(q(e));
|
|
1608
1608
|
}
|
|
1609
|
-
function
|
|
1609
|
+
function Tr(e, t, n) {
|
|
1610
1610
|
n === void 0 && (n = !1);
|
|
1611
|
-
let r =
|
|
1612
|
-
return t.reference[a] > t.floating[a] && (o =
|
|
1611
|
+
let r = xr(e), i = wr(e), a = Cr(i), o = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
|
|
1612
|
+
return t.reference[a] > t.floating[a] && (o = Pr(o)), [o, Pr(o)];
|
|
1613
1613
|
}
|
|
1614
|
-
function
|
|
1615
|
-
let t =
|
|
1614
|
+
function Er(e) {
|
|
1615
|
+
let t = Pr(e);
|
|
1616
1616
|
return [
|
|
1617
|
-
|
|
1617
|
+
Dr(e),
|
|
1618
1618
|
t,
|
|
1619
|
-
|
|
1619
|
+
Dr(t)
|
|
1620
1620
|
];
|
|
1621
1621
|
}
|
|
1622
|
-
function
|
|
1622
|
+
function Dr(e) {
|
|
1623
1623
|
return e.includes("start") ? e.replace("start", "end") : e.replace("end", "start");
|
|
1624
1624
|
}
|
|
1625
|
-
var
|
|
1626
|
-
function
|
|
1625
|
+
var Or = ["left", "right"], kr = ["right", "left"], Ar = ["top", "bottom"], jr = ["bottom", "top"];
|
|
1626
|
+
function Mr(e, t, n) {
|
|
1627
1627
|
switch (e) {
|
|
1628
1628
|
case "top":
|
|
1629
|
-
case "bottom": return n ? t ?
|
|
1629
|
+
case "bottom": return n ? t ? kr : Or : t ? Or : kr;
|
|
1630
1630
|
case "left":
|
|
1631
|
-
case "right": return t ?
|
|
1631
|
+
case "right": return t ? Ar : jr;
|
|
1632
1632
|
default: return [];
|
|
1633
1633
|
}
|
|
1634
1634
|
}
|
|
1635
|
-
function
|
|
1636
|
-
let i =
|
|
1637
|
-
return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(
|
|
1635
|
+
function Nr(e, t, n, r) {
|
|
1636
|
+
let i = xr(e), a = Mr(K(e), n === "start", r);
|
|
1637
|
+
return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(Dr)))), a;
|
|
1638
1638
|
}
|
|
1639
|
-
function
|
|
1639
|
+
function Pr(e) {
|
|
1640
1640
|
let t = K(e);
|
|
1641
|
-
return
|
|
1641
|
+
return yr[t] + e.slice(t.length);
|
|
1642
1642
|
}
|
|
1643
|
-
function
|
|
1643
|
+
function Fr(e) {
|
|
1644
1644
|
return {
|
|
1645
1645
|
top: 0,
|
|
1646
1646
|
right: 0,
|
|
@@ -1649,15 +1649,15 @@ function Ir(e) {
|
|
|
1649
1649
|
...e
|
|
1650
1650
|
};
|
|
1651
1651
|
}
|
|
1652
|
-
function
|
|
1652
|
+
function Ir(e) {
|
|
1653
1653
|
return typeof e == "number" ? {
|
|
1654
1654
|
top: e,
|
|
1655
1655
|
right: e,
|
|
1656
1656
|
bottom: e,
|
|
1657
1657
|
left: e
|
|
1658
|
-
} :
|
|
1658
|
+
} : Fr(e);
|
|
1659
1659
|
}
|
|
1660
|
-
function
|
|
1660
|
+
function Lr(e) {
|
|
1661
1661
|
let { x: t, y: n, width: r, height: i } = e;
|
|
1662
1662
|
return {
|
|
1663
1663
|
width: r,
|
|
@@ -1672,8 +1672,8 @@ function Rr(e) {
|
|
|
1672
1672
|
}
|
|
1673
1673
|
//#endregion
|
|
1674
1674
|
//#region ../node_modules/@floating-ui/core/dist/floating-ui.core.mjs
|
|
1675
|
-
function
|
|
1676
|
-
let { reference: r, floating: i } = e, a = q(t), o =
|
|
1675
|
+
function Rr(e, t, n) {
|
|
1676
|
+
let { reference: r, floating: i } = e, a = q(t), o = wr(t), s = Cr(o), c = K(t), l = a === "y", u = r.x + r.width / 2 - i.width / 2, d = r.y + r.height / 2 - i.height / 2, f = r[s] / 2 - i[s] / 2, p;
|
|
1677
1677
|
switch (c) {
|
|
1678
1678
|
case "top":
|
|
1679
1679
|
p = {
|
|
@@ -1704,7 +1704,7 @@ function zr(e, t, n) {
|
|
|
1704
1704
|
y: r.y
|
|
1705
1705
|
};
|
|
1706
1706
|
}
|
|
1707
|
-
switch (
|
|
1707
|
+
switch (xr(t)) {
|
|
1708
1708
|
case "start":
|
|
1709
1709
|
p[o] -= f * (n && l ? -1 : 1);
|
|
1710
1710
|
break;
|
|
@@ -1714,9 +1714,9 @@ function zr(e, t, n) {
|
|
|
1714
1714
|
}
|
|
1715
1715
|
return p;
|
|
1716
1716
|
}
|
|
1717
|
-
async function
|
|
1717
|
+
async function zr(e, t) {
|
|
1718
1718
|
t === void 0 && (t = {});
|
|
1719
|
-
let { x: n, y: r, platform: i, rects: a, elements: o, strategy: s } = e, { boundary: c = "clippingAncestors", rootBoundary: l = "viewport", elementContext: u = "floating", altBoundary: d = !1, padding: f = 0 } = G(t, e), p =
|
|
1719
|
+
let { x: n, y: r, platform: i, rects: a, elements: o, strategy: s } = e, { boundary: c = "clippingAncestors", rootBoundary: l = "viewport", elementContext: u = "floating", altBoundary: d = !1, padding: f = 0 } = G(t, e), p = Ir(f), m = o[d ? u === "floating" ? "reference" : "floating" : u], h = Lr(await i.getClippingRect({
|
|
1720
1720
|
element: await (i.isElement == null ? void 0 : i.isElement(m)) ?? !0 ? m : m.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(o.floating)),
|
|
1721
1721
|
boundary: c,
|
|
1722
1722
|
rootBoundary: l,
|
|
@@ -1729,7 +1729,7 @@ async function Br(e, t) {
|
|
|
1729
1729
|
} : 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(_)) || {
|
|
1730
1730
|
x: 1,
|
|
1731
1731
|
y: 1
|
|
1732
|
-
}, y =
|
|
1732
|
+
}, y = Lr(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
1733
1733
|
elements: o,
|
|
1734
1734
|
rect: g,
|
|
1735
1735
|
offsetParent: _,
|
|
@@ -1742,15 +1742,15 @@ async function Br(e, t) {
|
|
|
1742
1742
|
right: (y.right - h.right + p.right) / v.x
|
|
1743
1743
|
};
|
|
1744
1744
|
}
|
|
1745
|
-
var
|
|
1745
|
+
var Br = 50, Vr = async (e, t, n) => {
|
|
1746
1746
|
let { placement: r = "bottom", strategy: i = "absolute", middleware: a = [], platform: o } = n, s = o.detectOverflow ? o : {
|
|
1747
1747
|
...o,
|
|
1748
|
-
detectOverflow:
|
|
1748
|
+
detectOverflow: zr
|
|
1749
1749
|
}, c = await (o.isRTL == null ? void 0 : o.isRTL(t)), l = await o.getElementRects({
|
|
1750
1750
|
reference: e,
|
|
1751
1751
|
floating: t,
|
|
1752
1752
|
strategy: i
|
|
1753
|
-
}), { x: u, y: d } =
|
|
1753
|
+
}), { x: u, y: d } = Rr(l, r, c), f = r, p = 0, m = {};
|
|
1754
1754
|
for (let n = 0; n < a.length; n++) {
|
|
1755
1755
|
let h = a[n];
|
|
1756
1756
|
if (!h) continue;
|
|
@@ -1771,11 +1771,11 @@ var Vr = 50, Hr = async (e, t, n) => {
|
|
|
1771
1771
|
u = v ?? u, d = y ?? d, m[g] = {
|
|
1772
1772
|
...m[g],
|
|
1773
1773
|
...b
|
|
1774
|
-
}, x && p <
|
|
1774
|
+
}, x && p < Br && (p++, typeof x == "object" && (x.placement && (f = x.placement), x.rects && (l = x.rects === !0 ? await o.getElementRects({
|
|
1775
1775
|
reference: e,
|
|
1776
1776
|
floating: t,
|
|
1777
1777
|
strategy: i
|
|
1778
|
-
}) : x.rects), {x: u, y: d} =
|
|
1778
|
+
}) : x.rects), {x: u, y: d} = Rr(l, f, c)), n = -1);
|
|
1779
1779
|
}
|
|
1780
1780
|
return {
|
|
1781
1781
|
x: u,
|
|
@@ -1784,18 +1784,18 @@ var Vr = 50, Hr = async (e, t, n) => {
|
|
|
1784
1784
|
strategy: i,
|
|
1785
1785
|
middlewareData: m
|
|
1786
1786
|
};
|
|
1787
|
-
},
|
|
1787
|
+
}, Hr = (e) => ({
|
|
1788
1788
|
name: "arrow",
|
|
1789
1789
|
options: e,
|
|
1790
1790
|
async fn(t) {
|
|
1791
1791
|
let { x: n, y: r, placement: i, rects: a, platform: o, elements: s, middlewareData: c } = t, { element: l, padding: u = 0 } = G(e, t) || {};
|
|
1792
1792
|
if (l == null) return {};
|
|
1793
|
-
let d =
|
|
1793
|
+
let d = Ir(u), f = {
|
|
1794
1794
|
x: n,
|
|
1795
1795
|
y: r
|
|
1796
|
-
}, p =
|
|
1796
|
+
}, p = wr(i), m = Cr(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;
|
|
1797
1797
|
(!C || !await (o.isElement == null ? void 0 : o.isElement(S))) && (C = s.floating[y] || a.floating[m]);
|
|
1798
|
-
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1, ee =
|
|
1798
|
+
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1, ee = gr(d[_], T), E = gr(d[v], T), D = ee, O = C - h[m] - E, k = C / 2 - h[m] / 2 + w, te = br(D, k, O), A = !c.arrow && xr(i) != null && k !== te && a.reference[m] / 2 - (k < D ? ee : E) - h[m] / 2 < 0, j = A ? k < D ? k - D : k - O : 0;
|
|
1799
1799
|
return {
|
|
1800
1800
|
[p]: f[p] + j,
|
|
1801
1801
|
data: {
|
|
@@ -1806,7 +1806,7 @@ var Vr = 50, Hr = async (e, t, n) => {
|
|
|
1806
1806
|
reset: A
|
|
1807
1807
|
};
|
|
1808
1808
|
}
|
|
1809
|
-
}),
|
|
1809
|
+
}), Ur = function(e) {
|
|
1810
1810
|
return e === void 0 && (e = {}), {
|
|
1811
1811
|
name: "flip",
|
|
1812
1812
|
options: e,
|
|
@@ -1814,11 +1814,11 @@ var Vr = 50, Hr = async (e, t, n) => {
|
|
|
1814
1814
|
var n;
|
|
1815
1815
|
let { placement: r, middlewareData: i, rects: a, initialPlacement: o, platform: s, elements: c } = t, { mainAxis: l = !0, crossAxis: u = !0, fallbackPlacements: d, fallbackStrategy: f = "bestFit", fallbackAxisSideDirection: p = "none", flipAlignment: m = !0, ...h } = G(e, t);
|
|
1816
1816
|
if ((n = i.arrow) != null && n.alignmentOffset) return {};
|
|
1817
|
-
let g = K(r), _ = q(o), v = K(o) === o, y = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), b = d || (v || !m ? [
|
|
1818
|
-
!d && x && b.push(...
|
|
1817
|
+
let g = K(r), _ = q(o), v = K(o) === o, y = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), b = d || (v || !m ? [Pr(o)] : Er(o)), x = p !== "none";
|
|
1818
|
+
!d && x && b.push(...Nr(o, m, p, y));
|
|
1819
1819
|
let S = [o, ...b], C = await s.detectOverflow(t, h), w = [], T = i.flip?.overflows || [];
|
|
1820
1820
|
if (l && w.push(C[g]), u) {
|
|
1821
|
-
let e =
|
|
1821
|
+
let e = Tr(r, a, y);
|
|
1822
1822
|
w.push(C[e[0]], C[e[1]]);
|
|
1823
1823
|
}
|
|
1824
1824
|
if (T = [...T, {
|
|
@@ -1856,7 +1856,7 @@ var Vr = 50, Hr = async (e, t, n) => {
|
|
|
1856
1856
|
}
|
|
1857
1857
|
};
|
|
1858
1858
|
};
|
|
1859
|
-
function
|
|
1859
|
+
function Wr(e, t) {
|
|
1860
1860
|
return {
|
|
1861
1861
|
top: e.top - t.height,
|
|
1862
1862
|
right: e.right - t.width,
|
|
@@ -1864,10 +1864,10 @@ function Gr(e, t) {
|
|
|
1864
1864
|
left: e.left - t.width
|
|
1865
1865
|
};
|
|
1866
1866
|
}
|
|
1867
|
-
function
|
|
1868
|
-
return
|
|
1867
|
+
function Gr(e) {
|
|
1868
|
+
return hr.some((t) => e[t] >= 0);
|
|
1869
1869
|
}
|
|
1870
|
-
var
|
|
1870
|
+
var Kr = function(e) {
|
|
1871
1871
|
return e === void 0 && (e = {}), {
|
|
1872
1872
|
name: "hide",
|
|
1873
1873
|
options: e,
|
|
@@ -1875,32 +1875,32 @@ var qr = function(e) {
|
|
|
1875
1875
|
let { rects: n, platform: r } = t, { strategy: i = "referenceHidden", ...a } = G(e, t);
|
|
1876
1876
|
switch (i) {
|
|
1877
1877
|
case "referenceHidden": {
|
|
1878
|
-
let e =
|
|
1878
|
+
let e = Wr(await r.detectOverflow(t, {
|
|
1879
1879
|
...a,
|
|
1880
1880
|
elementContext: "reference"
|
|
1881
1881
|
}), n.reference);
|
|
1882
1882
|
return { data: {
|
|
1883
1883
|
referenceHiddenOffsets: e,
|
|
1884
|
-
referenceHidden:
|
|
1884
|
+
referenceHidden: Gr(e)
|
|
1885
1885
|
} };
|
|
1886
1886
|
}
|
|
1887
1887
|
case "escaped": {
|
|
1888
|
-
let e =
|
|
1888
|
+
let e = Wr(await r.detectOverflow(t, {
|
|
1889
1889
|
...a,
|
|
1890
1890
|
altBoundary: !0
|
|
1891
1891
|
}), n.floating);
|
|
1892
1892
|
return { data: {
|
|
1893
1893
|
escapedOffsets: e,
|
|
1894
|
-
escaped:
|
|
1894
|
+
escaped: Gr(e)
|
|
1895
1895
|
} };
|
|
1896
1896
|
}
|
|
1897
1897
|
default: return {};
|
|
1898
1898
|
}
|
|
1899
1899
|
}
|
|
1900
1900
|
};
|
|
1901
|
-
},
|
|
1902
|
-
async function
|
|
1903
|
-
let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = K(n), s =
|
|
1901
|
+
}, qr = /*#__PURE__*/ new Set(["left", "top"]);
|
|
1902
|
+
async function Jr(e, t) {
|
|
1903
|
+
let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = K(n), s = xr(n), c = q(n) === "y", l = qr.has(o) ? -1 : 1, u = a && c ? -1 : 1, d = G(t, e), { mainAxis: f, crossAxis: p, alignmentAxis: m } = typeof d == "number" ? {
|
|
1904
1904
|
mainAxis: d,
|
|
1905
1905
|
crossAxis: 0,
|
|
1906
1906
|
alignmentAxis: null
|
|
@@ -1917,13 +1917,13 @@ async function Yr(e, t) {
|
|
|
1917
1917
|
y: p * u
|
|
1918
1918
|
};
|
|
1919
1919
|
}
|
|
1920
|
-
var
|
|
1920
|
+
var Yr = function(e) {
|
|
1921
1921
|
return e === void 0 && (e = 0), {
|
|
1922
1922
|
name: "offset",
|
|
1923
1923
|
options: e,
|
|
1924
1924
|
async fn(t) {
|
|
1925
1925
|
var n;
|
|
1926
|
-
let { x: r, y: i, placement: a, middlewareData: o } = t, s = await
|
|
1926
|
+
let { x: r, y: i, placement: a, middlewareData: o } = t, s = await Jr(t, e);
|
|
1927
1927
|
return a === o.offset?.placement && (n = o.arrow) != null && n.alignmentOffset ? {} : {
|
|
1928
1928
|
x: r + s.x,
|
|
1929
1929
|
y: i + s.y,
|
|
@@ -1934,7 +1934,7 @@ var Xr = function(e) {
|
|
|
1934
1934
|
};
|
|
1935
1935
|
}
|
|
1936
1936
|
};
|
|
1937
|
-
},
|
|
1937
|
+
}, Xr = function(e) {
|
|
1938
1938
|
return e === void 0 && (e = {}), {
|
|
1939
1939
|
name: "shift",
|
|
1940
1940
|
options: e,
|
|
@@ -1948,14 +1948,14 @@ var Xr = function(e) {
|
|
|
1948
1948
|
} }, ...l } = G(e, t), u = {
|
|
1949
1949
|
x: n,
|
|
1950
1950
|
y: r
|
|
1951
|
-
}, d = await a.detectOverflow(t, l), f = q(K(i)), p =
|
|
1951
|
+
}, d = await a.detectOverflow(t, l), f = q(K(i)), p = Sr(f), m = u[p], h = u[f];
|
|
1952
1952
|
if (o) {
|
|
1953
1953
|
let e = p === "y" ? "top" : "left", t = p === "y" ? "bottom" : "right", n = m + d[e], r = m - d[t];
|
|
1954
|
-
m =
|
|
1954
|
+
m = br(n, m, r);
|
|
1955
1955
|
}
|
|
1956
1956
|
if (s) {
|
|
1957
1957
|
let e = f === "y" ? "top" : "left", t = f === "y" ? "bottom" : "right", n = h + d[e], r = h - d[t];
|
|
1958
|
-
h =
|
|
1958
|
+
h = br(n, h, r);
|
|
1959
1959
|
}
|
|
1960
1960
|
let g = c.fn({
|
|
1961
1961
|
...t,
|
|
@@ -1975,14 +1975,14 @@ var Xr = function(e) {
|
|
|
1975
1975
|
};
|
|
1976
1976
|
}
|
|
1977
1977
|
};
|
|
1978
|
-
},
|
|
1978
|
+
}, Zr = function(e) {
|
|
1979
1979
|
return e === void 0 && (e = {}), {
|
|
1980
1980
|
options: e,
|
|
1981
1981
|
fn(t) {
|
|
1982
1982
|
let { x: n, y: r, placement: i, rects: a, middlewareData: o } = t, { offset: s = 0, mainAxis: c = !0, crossAxis: l = !0 } = G(e, t), u = {
|
|
1983
1983
|
x: n,
|
|
1984
1984
|
y: r
|
|
1985
|
-
}, d = q(i), f =
|
|
1985
|
+
}, d = q(i), f = Sr(d), p = u[f], m = u[d], h = G(s, t), g = typeof h == "number" ? {
|
|
1986
1986
|
mainAxis: h,
|
|
1987
1987
|
crossAxis: 0
|
|
1988
1988
|
} : {
|
|
@@ -1995,7 +1995,7 @@ var Xr = function(e) {
|
|
|
1995
1995
|
p < t ? p = t : p > n && (p = n);
|
|
1996
1996
|
}
|
|
1997
1997
|
if (l) {
|
|
1998
|
-
let e = f === "y" ? "width" : "height", t =
|
|
1998
|
+
let e = f === "y" ? "width" : "height", t = qr.has(K(i)), n = a.reference[d] - a.floating[e] + (t && o.offset?.[d] || 0) + (t ? 0 : g.crossAxis), r = a.reference[d] + a.reference[e] + (t ? 0 : o.offset?.[d] || 0) - (t ? g.crossAxis : 0);
|
|
1999
1999
|
m < n ? m = n : m > r && (m = r);
|
|
2000
2000
|
}
|
|
2001
2001
|
return {
|
|
@@ -2004,15 +2004,15 @@ var Xr = function(e) {
|
|
|
2004
2004
|
};
|
|
2005
2005
|
}
|
|
2006
2006
|
};
|
|
2007
|
-
},
|
|
2007
|
+
}, Qr = function(e) {
|
|
2008
2008
|
return e === void 0 && (e = {}), {
|
|
2009
2009
|
name: "size",
|
|
2010
2010
|
options: e,
|
|
2011
2011
|
async fn(t) {
|
|
2012
2012
|
var n, r;
|
|
2013
|
-
let { placement: i, rects: a, platform: o, elements: s } = t, { apply: c = () => {}, ...l } = G(e, t), u = await o.detectOverflow(t, l), d = K(i), f =
|
|
2013
|
+
let { placement: i, rects: a, platform: o, elements: s } = t, { apply: c = () => {}, ...l } = G(e, t), u = await o.detectOverflow(t, l), d = K(i), f = xr(i), p = q(i) === "y", { width: m, height: h } = a.floating, g, _;
|
|
2014
2014
|
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");
|
|
2015
|
-
let v = h - u.top - u.bottom, y = m - u.left - u.right, b =
|
|
2015
|
+
let v = h - u.top - u.bottom, y = m - u.left - u.right, b = gr(h - u[g], v), x = gr(m - u[_], y), S = !t.middlewareData.shift, C = b, w = x;
|
|
2016
2016
|
if ((n = t.middlewareData.shift) != null && n.enabled.x && (w = y), (r = t.middlewareData.shift) != null && r.enabled.y && (C = v), S && !f) {
|
|
2017
2017
|
let e = U(u.left, 0), t = U(u.right, 0), n = U(u.top, 0), r = U(u.bottom, 0);
|
|
2018
2018
|
p ? w = m - 2 * (e !== 0 || t !== 0 ? e + t : U(u.left, u.right)) : C = h - 2 * (n !== 0 || r !== 0 ? n + r : U(u.top, u.bottom));
|
|
@@ -2029,39 +2029,39 @@ var Xr = function(e) {
|
|
|
2029
2029
|
};
|
|
2030
2030
|
//#endregion
|
|
2031
2031
|
//#region ../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
|
|
2032
|
-
function
|
|
2032
|
+
function $r() {
|
|
2033
2033
|
return typeof window < "u";
|
|
2034
2034
|
}
|
|
2035
|
-
function
|
|
2036
|
-
return
|
|
2035
|
+
function ei(e) {
|
|
2036
|
+
return ti(e) ? (e.nodeName || "").toLowerCase() : "#document";
|
|
2037
2037
|
}
|
|
2038
2038
|
function J(e) {
|
|
2039
2039
|
var t;
|
|
2040
2040
|
return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
|
|
2041
2041
|
}
|
|
2042
2042
|
function Y(e) {
|
|
2043
|
-
return ((
|
|
2043
|
+
return ((ti(e) ? e.ownerDocument : e.document) || window.document)?.documentElement;
|
|
2044
2044
|
}
|
|
2045
|
-
function
|
|
2046
|
-
return
|
|
2045
|
+
function ti(e) {
|
|
2046
|
+
return $r() ? e instanceof Node || e instanceof J(e).Node : !1;
|
|
2047
2047
|
}
|
|
2048
2048
|
function X(e) {
|
|
2049
|
-
return
|
|
2049
|
+
return $r() ? e instanceof Element || e instanceof J(e).Element : !1;
|
|
2050
2050
|
}
|
|
2051
2051
|
function Z(e) {
|
|
2052
|
-
return
|
|
2052
|
+
return $r() ? e instanceof HTMLElement || e instanceof J(e).HTMLElement : !1;
|
|
2053
2053
|
}
|
|
2054
|
-
function
|
|
2055
|
-
return
|
|
2054
|
+
function ni(e) {
|
|
2055
|
+
return !$r() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof J(e).ShadowRoot;
|
|
2056
2056
|
}
|
|
2057
|
-
function
|
|
2057
|
+
function ri(e) {
|
|
2058
2058
|
let { overflow: t, overflowX: n, overflowY: r, display: i } = Q(e);
|
|
2059
2059
|
return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
|
|
2060
2060
|
}
|
|
2061
|
-
function
|
|
2062
|
-
return /^(table|td|th)$/.test(
|
|
2061
|
+
function ii(e) {
|
|
2062
|
+
return /^(table|td|th)$/.test(ei(e));
|
|
2063
2063
|
}
|
|
2064
|
-
function
|
|
2064
|
+
function ai(e) {
|
|
2065
2065
|
try {
|
|
2066
2066
|
if (e.matches(":popover-open")) return !0;
|
|
2067
2067
|
} catch {}
|
|
@@ -2071,30 +2071,30 @@ function oi(e) {
|
|
|
2071
2071
|
return !1;
|
|
2072
2072
|
}
|
|
2073
2073
|
}
|
|
2074
|
-
var
|
|
2075
|
-
function
|
|
2074
|
+
var oi = /transform|translate|scale|rotate|perspective|filter/, si = /paint|layout|strict|content/, ci = (e) => !!e && e !== "none", li;
|
|
2075
|
+
function ui(e) {
|
|
2076
2076
|
let t = X(e) ? Q(e) : e;
|
|
2077
|
-
return
|
|
2078
|
-
}
|
|
2079
|
-
function
|
|
2080
|
-
let t =
|
|
2081
|
-
for (; Z(t) && !
|
|
2082
|
-
if (
|
|
2083
|
-
if (
|
|
2084
|
-
t =
|
|
2077
|
+
return ci(t.transform) || ci(t.translate) || ci(t.scale) || ci(t.rotate) || ci(t.perspective) || !fi() && (ci(t.backdropFilter) || ci(t.filter)) || oi.test(t.willChange || "") || si.test(t.contain || "");
|
|
2078
|
+
}
|
|
2079
|
+
function di(e) {
|
|
2080
|
+
let t = hi(e);
|
|
2081
|
+
for (; Z(t) && !pi(t);) {
|
|
2082
|
+
if (ui(t)) return t;
|
|
2083
|
+
if (ai(t)) return null;
|
|
2084
|
+
t = hi(t);
|
|
2085
2085
|
}
|
|
2086
2086
|
return null;
|
|
2087
2087
|
}
|
|
2088
|
-
function
|
|
2089
|
-
return
|
|
2088
|
+
function fi() {
|
|
2089
|
+
return li ??= typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none"), li;
|
|
2090
2090
|
}
|
|
2091
|
-
function
|
|
2092
|
-
return /^(html|body|#document)$/.test(
|
|
2091
|
+
function pi(e) {
|
|
2092
|
+
return /^(html|body|#document)$/.test(ei(e));
|
|
2093
2093
|
}
|
|
2094
2094
|
function Q(e) {
|
|
2095
2095
|
return J(e).getComputedStyle(e);
|
|
2096
2096
|
}
|
|
2097
|
-
function
|
|
2097
|
+
function mi(e) {
|
|
2098
2098
|
return X(e) ? {
|
|
2099
2099
|
scrollLeft: e.scrollLeft,
|
|
2100
2100
|
scrollTop: e.scrollTop
|
|
@@ -2103,101 +2103,101 @@ function hi(e) {
|
|
|
2103
2103
|
scrollTop: e.scrollY
|
|
2104
2104
|
};
|
|
2105
2105
|
}
|
|
2106
|
-
function
|
|
2107
|
-
if (
|
|
2108
|
-
let t = e.assignedSlot || e.parentNode ||
|
|
2109
|
-
return
|
|
2106
|
+
function hi(e) {
|
|
2107
|
+
if (ei(e) === "html") return e;
|
|
2108
|
+
let t = e.assignedSlot || e.parentNode || ni(e) && e.host || Y(e);
|
|
2109
|
+
return ni(t) ? t.host : t;
|
|
2110
2110
|
}
|
|
2111
|
-
function
|
|
2112
|
-
let t =
|
|
2113
|
-
return
|
|
2111
|
+
function gi(e) {
|
|
2112
|
+
let t = hi(e);
|
|
2113
|
+
return pi(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : Z(t) && ri(t) ? t : gi(t);
|
|
2114
2114
|
}
|
|
2115
|
-
function
|
|
2115
|
+
function _i(e, t, n) {
|
|
2116
2116
|
t === void 0 && (t = []), n === void 0 && (n = !0);
|
|
2117
|
-
let r =
|
|
2117
|
+
let r = gi(e), i = r === e.ownerDocument?.body, a = J(r);
|
|
2118
2118
|
if (i) {
|
|
2119
|
-
let e =
|
|
2120
|
-
return t.concat(a, a.visualViewport || [],
|
|
2121
|
-
} else return t.concat(r,
|
|
2119
|
+
let e = vi(a);
|
|
2120
|
+
return t.concat(a, a.visualViewport || [], ri(r) ? r : [], e && n ? _i(e) : []);
|
|
2121
|
+
} else return t.concat(r, _i(r, [], n));
|
|
2122
2122
|
}
|
|
2123
|
-
function
|
|
2123
|
+
function vi(e) {
|
|
2124
2124
|
return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
|
|
2125
2125
|
}
|
|
2126
2126
|
//#endregion
|
|
2127
2127
|
//#region ../node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
|
|
2128
|
-
function
|
|
2129
|
-
let t = Q(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = Z(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s =
|
|
2128
|
+
function yi(e) {
|
|
2129
|
+
let t = Q(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = Z(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s = _r(n) !== a || _r(r) !== o;
|
|
2130
2130
|
return s && (n = a, r = o), {
|
|
2131
2131
|
width: n,
|
|
2132
2132
|
height: r,
|
|
2133
2133
|
$: s
|
|
2134
2134
|
};
|
|
2135
2135
|
}
|
|
2136
|
-
function
|
|
2136
|
+
function bi(e) {
|
|
2137
2137
|
return X(e) ? e : e.contextElement;
|
|
2138
2138
|
}
|
|
2139
|
-
function
|
|
2140
|
-
let t =
|
|
2139
|
+
function xi(e) {
|
|
2140
|
+
let t = bi(e);
|
|
2141
2141
|
if (!Z(t)) return W(1);
|
|
2142
|
-
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } =
|
|
2142
|
+
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = yi(t), o = (a ? _r(n.width) : n.width) / r, s = (a ? _r(n.height) : n.height) / i;
|
|
2143
2143
|
return (!o || !Number.isFinite(o)) && (o = 1), (!s || !Number.isFinite(s)) && (s = 1), {
|
|
2144
2144
|
x: o,
|
|
2145
2145
|
y: s
|
|
2146
2146
|
};
|
|
2147
2147
|
}
|
|
2148
|
-
var
|
|
2149
|
-
function
|
|
2148
|
+
var Si = /*#__PURE__*/ W(0);
|
|
2149
|
+
function Ci(e) {
|
|
2150
2150
|
let t = J(e);
|
|
2151
|
-
return !
|
|
2151
|
+
return !fi() || !t.visualViewport ? Si : {
|
|
2152
2152
|
x: t.visualViewport.offsetLeft,
|
|
2153
2153
|
y: t.visualViewport.offsetTop
|
|
2154
2154
|
};
|
|
2155
2155
|
}
|
|
2156
|
-
function
|
|
2156
|
+
function wi(e, t, n) {
|
|
2157
2157
|
return t === void 0 && (t = !1), !n || t && n !== J(e) ? !1 : t;
|
|
2158
2158
|
}
|
|
2159
|
-
function
|
|
2159
|
+
function Ti(e, t, n, r) {
|
|
2160
2160
|
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
|
2161
|
-
let i = e.getBoundingClientRect(), a =
|
|
2162
|
-
t && (r ? X(r) && (o =
|
|
2163
|
-
let s =
|
|
2161
|
+
let i = e.getBoundingClientRect(), a = bi(e), o = W(1);
|
|
2162
|
+
t && (r ? X(r) && (o = xi(r)) : o = xi(e));
|
|
2163
|
+
let s = wi(a, n, r) ? Ci(a) : W(0), c = (i.left + s.x) / o.x, l = (i.top + s.y) / o.y, u = i.width / o.x, d = i.height / o.y;
|
|
2164
2164
|
if (a) {
|
|
2165
|
-
let e = J(a), t = r && X(r) ? J(r) : r, n = e, i =
|
|
2165
|
+
let e = J(a), t = r && X(r) ? J(r) : r, n = e, i = vi(n);
|
|
2166
2166
|
for (; i && r && t !== n;) {
|
|
2167
|
-
let e =
|
|
2168
|
-
c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = J(i), i =
|
|
2167
|
+
let e = xi(i), t = i.getBoundingClientRect(), r = Q(i), a = t.left + (i.clientLeft + parseFloat(r.paddingLeft)) * e.x, o = t.top + (i.clientTop + parseFloat(r.paddingTop)) * e.y;
|
|
2168
|
+
c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = J(i), i = vi(n);
|
|
2169
2169
|
}
|
|
2170
2170
|
}
|
|
2171
|
-
return
|
|
2171
|
+
return Lr({
|
|
2172
2172
|
width: u,
|
|
2173
2173
|
height: d,
|
|
2174
2174
|
x: c,
|
|
2175
2175
|
y: l
|
|
2176
2176
|
});
|
|
2177
2177
|
}
|
|
2178
|
-
function
|
|
2179
|
-
let n =
|
|
2180
|
-
return t ? t.left + n :
|
|
2178
|
+
function Ei(e, t) {
|
|
2179
|
+
let n = mi(e).scrollLeft;
|
|
2180
|
+
return t ? t.left + n : Ti(Y(e)).left + n;
|
|
2181
2181
|
}
|
|
2182
|
-
function
|
|
2182
|
+
function Di(e, t) {
|
|
2183
2183
|
let n = e.getBoundingClientRect();
|
|
2184
2184
|
return {
|
|
2185
|
-
x: n.left + t.scrollLeft -
|
|
2185
|
+
x: n.left + t.scrollLeft - Ei(e, n),
|
|
2186
2186
|
y: n.top + t.scrollTop
|
|
2187
2187
|
};
|
|
2188
2188
|
}
|
|
2189
|
-
function
|
|
2190
|
-
let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = Y(r), s = t ?
|
|
2189
|
+
function Oi(e) {
|
|
2190
|
+
let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = Y(r), s = t ? ai(t.floating) : !1;
|
|
2191
2191
|
if (r === o || s && a) return n;
|
|
2192
2192
|
let c = {
|
|
2193
2193
|
scrollLeft: 0,
|
|
2194
2194
|
scrollTop: 0
|
|
2195
2195
|
}, l = W(1), u = W(0), d = Z(r);
|
|
2196
|
-
if ((d || !d && !a) && ((
|
|
2197
|
-
let e =
|
|
2198
|
-
l =
|
|
2196
|
+
if ((d || !d && !a) && ((ei(r) !== "body" || ri(o)) && (c = mi(r)), d)) {
|
|
2197
|
+
let e = Ti(r);
|
|
2198
|
+
l = xi(r), u.x = e.x + r.clientLeft, u.y = e.y + r.clientTop;
|
|
2199
2199
|
}
|
|
2200
|
-
let f = o && !d && !a ?
|
|
2200
|
+
let f = o && !d && !a ? Di(o, c) : W(0);
|
|
2201
2201
|
return {
|
|
2202
2202
|
width: n.width * l.x,
|
|
2203
2203
|
height: n.height * l.y,
|
|
@@ -2205,11 +2205,11 @@ function ki(e) {
|
|
|
2205
2205
|
y: n.y * l.y - c.scrollTop * l.y + u.y + f.y
|
|
2206
2206
|
};
|
|
2207
2207
|
}
|
|
2208
|
-
function
|
|
2208
|
+
function ki(e) {
|
|
2209
2209
|
return Array.from(e.getClientRects());
|
|
2210
2210
|
}
|
|
2211
|
-
function
|
|
2212
|
-
let t = Y(e), n =
|
|
2211
|
+
function Ai(e) {
|
|
2212
|
+
let t = Y(e), n = mi(e), r = e.ownerDocument.body, i = U(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), a = U(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight), o = -n.scrollLeft + Ei(e), s = -n.scrollTop;
|
|
2213
2213
|
return Q(r).direction === "rtl" && (o += U(t.clientWidth, r.clientWidth) - i), {
|
|
2214
2214
|
width: i,
|
|
2215
2215
|
height: a,
|
|
@@ -2217,19 +2217,19 @@ function ji(e) {
|
|
|
2217
2217
|
y: s
|
|
2218
2218
|
};
|
|
2219
2219
|
}
|
|
2220
|
-
var
|
|
2221
|
-
function
|
|
2220
|
+
var ji = 25;
|
|
2221
|
+
function Mi(e, t) {
|
|
2222
2222
|
let n = J(e), r = Y(e), i = n.visualViewport, a = r.clientWidth, o = r.clientHeight, s = 0, c = 0;
|
|
2223
2223
|
if (i) {
|
|
2224
2224
|
a = i.width, o = i.height;
|
|
2225
|
-
let e =
|
|
2225
|
+
let e = fi();
|
|
2226
2226
|
(!e || e && t === "fixed") && (s = i.offsetLeft, c = i.offsetTop);
|
|
2227
2227
|
}
|
|
2228
|
-
let l =
|
|
2228
|
+
let l = Ei(r);
|
|
2229
2229
|
if (l <= 0) {
|
|
2230
2230
|
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);
|
|
2231
|
-
o <=
|
|
2232
|
-
} else l <=
|
|
2231
|
+
o <= ji && (a -= o);
|
|
2232
|
+
} else l <= ji && (a += l);
|
|
2233
2233
|
return {
|
|
2234
2234
|
width: a,
|
|
2235
2235
|
height: o,
|
|
@@ -2237,8 +2237,8 @@ function Ni(e, t) {
|
|
|
2237
2237
|
y: c
|
|
2238
2238
|
};
|
|
2239
2239
|
}
|
|
2240
|
-
function
|
|
2241
|
-
let n =
|
|
2240
|
+
function Ni(e, t) {
|
|
2241
|
+
let n = Ti(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = Z(e) ? xi(e) : W(1);
|
|
2242
2242
|
return {
|
|
2243
2243
|
width: e.clientWidth * a.x,
|
|
2244
2244
|
height: e.clientHeight * a.y,
|
|
@@ -2246,13 +2246,13 @@ function Pi(e, t) {
|
|
|
2246
2246
|
y: r * a.y
|
|
2247
2247
|
};
|
|
2248
2248
|
}
|
|
2249
|
-
function
|
|
2249
|
+
function Pi(e, t, n) {
|
|
2250
2250
|
let r;
|
|
2251
|
-
if (t === "viewport") r =
|
|
2252
|
-
else if (t === "document") r =
|
|
2253
|
-
else if (X(t)) r =
|
|
2251
|
+
if (t === "viewport") r = Mi(e, n);
|
|
2252
|
+
else if (t === "document") r = Ai(Y(e));
|
|
2253
|
+
else if (X(t)) r = Ni(t, n);
|
|
2254
2254
|
else {
|
|
2255
|
-
let n =
|
|
2255
|
+
let n = Ci(e);
|
|
2256
2256
|
r = {
|
|
2257
2257
|
x: t.x - n.x,
|
|
2258
2258
|
y: t.y - n.y,
|
|
@@ -2260,27 +2260,27 @@ function Fi(e, t, n) {
|
|
|
2260
2260
|
height: t.height
|
|
2261
2261
|
};
|
|
2262
2262
|
}
|
|
2263
|
-
return
|
|
2263
|
+
return Lr(r);
|
|
2264
2264
|
}
|
|
2265
|
-
function
|
|
2266
|
-
let n =
|
|
2267
|
-
return n === t || !X(n) ||
|
|
2265
|
+
function Fi(e, t) {
|
|
2266
|
+
let n = hi(e);
|
|
2267
|
+
return n === t || !X(n) || pi(n) ? !1 : Q(n).position === "fixed" || Fi(n, t);
|
|
2268
2268
|
}
|
|
2269
|
-
function
|
|
2269
|
+
function Ii(e, t) {
|
|
2270
2270
|
let n = t.get(e);
|
|
2271
2271
|
if (n) return n;
|
|
2272
|
-
let r =
|
|
2273
|
-
for (; X(o) && !
|
|
2274
|
-
let t = Q(o), n =
|
|
2275
|
-
!n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") ||
|
|
2272
|
+
let r = _i(e, [], !1).filter((e) => X(e) && ei(e) !== "body"), i = null, a = Q(e).position === "fixed", o = a ? hi(e) : e;
|
|
2273
|
+
for (; X(o) && !pi(o);) {
|
|
2274
|
+
let t = Q(o), n = ui(o);
|
|
2275
|
+
!n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") || ri(o) && !n && Fi(e, o)) ? r = r.filter((e) => e !== o) : i = t, o = hi(o);
|
|
2276
2276
|
}
|
|
2277
2277
|
return t.set(e, r), r;
|
|
2278
2278
|
}
|
|
2279
|
-
function
|
|
2280
|
-
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ?
|
|
2279
|
+
function Li(e) {
|
|
2280
|
+
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? ai(t) ? [] : Ii(t, this._c) : [].concat(n), r], o = Pi(t, a[0], i), s = o.top, c = o.right, l = o.bottom, u = o.left;
|
|
2281
2281
|
for (let e = 1; e < a.length; e++) {
|
|
2282
|
-
let n =
|
|
2283
|
-
s = U(n.top, s), c =
|
|
2282
|
+
let n = Pi(t, a[e], i);
|
|
2283
|
+
s = U(n.top, s), c = gr(n.right, c), l = gr(n.bottom, l), u = U(n.left, u);
|
|
2284
2284
|
}
|
|
2285
2285
|
return {
|
|
2286
2286
|
width: c - u,
|
|
@@ -2289,27 +2289,27 @@ function Ri(e) {
|
|
|
2289
2289
|
y: s
|
|
2290
2290
|
};
|
|
2291
2291
|
}
|
|
2292
|
-
function
|
|
2293
|
-
let { width: t, height: n } =
|
|
2292
|
+
function Ri(e) {
|
|
2293
|
+
let { width: t, height: n } = yi(e);
|
|
2294
2294
|
return {
|
|
2295
2295
|
width: t,
|
|
2296
2296
|
height: n
|
|
2297
2297
|
};
|
|
2298
2298
|
}
|
|
2299
|
-
function
|
|
2300
|
-
let r = Z(t), i = Y(t), a = n === "fixed", o =
|
|
2299
|
+
function zi(e, t, n) {
|
|
2300
|
+
let r = Z(t), i = Y(t), a = n === "fixed", o = Ti(e, !0, a, t), s = {
|
|
2301
2301
|
scrollLeft: 0,
|
|
2302
2302
|
scrollTop: 0
|
|
2303
2303
|
}, c = W(0);
|
|
2304
2304
|
function l() {
|
|
2305
|
-
c.x =
|
|
2305
|
+
c.x = Ei(i);
|
|
2306
2306
|
}
|
|
2307
|
-
if (r || !r && !a) if ((
|
|
2308
|
-
let e =
|
|
2307
|
+
if (r || !r && !a) if ((ei(t) !== "body" || ri(i)) && (s = mi(t)), r) {
|
|
2308
|
+
let e = Ti(t, !0, a, t);
|
|
2309
2309
|
c.x = e.x + t.clientLeft, c.y = e.y + t.clientTop;
|
|
2310
2310
|
} else i && l();
|
|
2311
2311
|
a && !r && i && l();
|
|
2312
|
-
let u = i && !r && !a ?
|
|
2312
|
+
let u = i && !r && !a ? Di(i, s) : W(0);
|
|
2313
2313
|
return {
|
|
2314
2314
|
x: o.left + s.scrollLeft - c.x - u.x,
|
|
2315
2315
|
y: o.top + s.scrollTop - c.y - u.y,
|
|
@@ -2317,34 +2317,34 @@ function Bi(e, t, n) {
|
|
|
2317
2317
|
height: o.height
|
|
2318
2318
|
};
|
|
2319
2319
|
}
|
|
2320
|
-
function
|
|
2320
|
+
function Bi(e) {
|
|
2321
2321
|
return Q(e).position === "static";
|
|
2322
2322
|
}
|
|
2323
|
-
function
|
|
2323
|
+
function Vi(e, t) {
|
|
2324
2324
|
if (!Z(e) || Q(e).position === "fixed") return null;
|
|
2325
2325
|
if (t) return t(e);
|
|
2326
2326
|
let n = e.offsetParent;
|
|
2327
2327
|
return Y(e) === n && (n = n.ownerDocument.body), n;
|
|
2328
2328
|
}
|
|
2329
|
-
function
|
|
2329
|
+
function Hi(e, t) {
|
|
2330
2330
|
let n = J(e);
|
|
2331
|
-
if (
|
|
2331
|
+
if (ai(e)) return n;
|
|
2332
2332
|
if (!Z(e)) {
|
|
2333
|
-
let t =
|
|
2334
|
-
for (; t && !
|
|
2335
|
-
if (X(t) && !
|
|
2336
|
-
t =
|
|
2333
|
+
let t = hi(e);
|
|
2334
|
+
for (; t && !pi(t);) {
|
|
2335
|
+
if (X(t) && !Bi(t)) return t;
|
|
2336
|
+
t = hi(t);
|
|
2337
2337
|
}
|
|
2338
2338
|
return n;
|
|
2339
2339
|
}
|
|
2340
|
-
let r =
|
|
2341
|
-
for (; r &&
|
|
2342
|
-
return r &&
|
|
2340
|
+
let r = Vi(e, t);
|
|
2341
|
+
for (; r && ii(r) && Bi(r);) r = Vi(r, t);
|
|
2342
|
+
return r && pi(r) && Bi(r) && !ui(r) ? n : r || di(e) || n;
|
|
2343
2343
|
}
|
|
2344
|
-
var
|
|
2345
|
-
let t = this.getOffsetParent ||
|
|
2344
|
+
var Ui = async function(e) {
|
|
2345
|
+
let t = this.getOffsetParent || Hi, n = this.getDimensions, r = await n(e.floating);
|
|
2346
2346
|
return {
|
|
2347
|
-
reference:
|
|
2347
|
+
reference: zi(e.reference, await t(e.floating), e.strategy),
|
|
2348
2348
|
floating: {
|
|
2349
2349
|
x: 0,
|
|
2350
2350
|
y: 0,
|
|
@@ -2353,25 +2353,25 @@ var Wi = async function(e) {
|
|
|
2353
2353
|
}
|
|
2354
2354
|
};
|
|
2355
2355
|
};
|
|
2356
|
-
function
|
|
2356
|
+
function Wi(e) {
|
|
2357
2357
|
return Q(e).direction === "rtl";
|
|
2358
2358
|
}
|
|
2359
|
-
var
|
|
2360
|
-
convertOffsetParentRelativeRectToViewportRelativeRect:
|
|
2359
|
+
var Gi = {
|
|
2360
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: Oi,
|
|
2361
2361
|
getDocumentElement: Y,
|
|
2362
|
-
getClippingRect:
|
|
2363
|
-
getOffsetParent:
|
|
2364
|
-
getElementRects:
|
|
2365
|
-
getClientRects:
|
|
2366
|
-
getDimensions:
|
|
2367
|
-
getScale:
|
|
2362
|
+
getClippingRect: Li,
|
|
2363
|
+
getOffsetParent: Hi,
|
|
2364
|
+
getElementRects: Ui,
|
|
2365
|
+
getClientRects: ki,
|
|
2366
|
+
getDimensions: Ri,
|
|
2367
|
+
getScale: xi,
|
|
2368
2368
|
isElement: X,
|
|
2369
|
-
isRTL:
|
|
2369
|
+
isRTL: Wi
|
|
2370
2370
|
};
|
|
2371
|
-
function
|
|
2371
|
+
function Ki(e, t) {
|
|
2372
2372
|
return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
|
|
2373
2373
|
}
|
|
2374
|
-
function
|
|
2374
|
+
function qi(e, t) {
|
|
2375
2375
|
let n = null, r, i = Y(e);
|
|
2376
2376
|
function a() {
|
|
2377
2377
|
var e;
|
|
@@ -2381,9 +2381,9 @@ function Ji(e, t) {
|
|
|
2381
2381
|
s === void 0 && (s = !1), c === void 0 && (c = 1), a();
|
|
2382
2382
|
let l = e.getBoundingClientRect(), { left: u, top: d, width: f, height: p } = l;
|
|
2383
2383
|
if (s || t(), !f || !p) return;
|
|
2384
|
-
let m =
|
|
2384
|
+
let m = vr(d), h = vr(i.clientWidth - (u + f)), g = vr(i.clientHeight - (d + p)), _ = vr(u), v = {
|
|
2385
2385
|
rootMargin: -m + "px " + -h + "px " + -g + "px " + -_ + "px",
|
|
2386
|
-
threshold: U(0,
|
|
2386
|
+
threshold: U(0, gr(1, c)) || 1
|
|
2387
2387
|
}, y = !0;
|
|
2388
2388
|
function b(t) {
|
|
2389
2389
|
let n = t[0].intersectionRatio;
|
|
@@ -2393,7 +2393,7 @@ function Ji(e, t) {
|
|
|
2393
2393
|
o(!1, 1e-7);
|
|
2394
2394
|
}, 1e3);
|
|
2395
2395
|
}
|
|
2396
|
-
n === 1 && !
|
|
2396
|
+
n === 1 && !Ki(l, e.getBoundingClientRect()) && o(), y = !1;
|
|
2397
2397
|
}
|
|
2398
2398
|
try {
|
|
2399
2399
|
n = new IntersectionObserver(b, {
|
|
@@ -2407,13 +2407,13 @@ function Ji(e, t) {
|
|
|
2407
2407
|
}
|
|
2408
2408
|
return o(!0), a;
|
|
2409
2409
|
}
|
|
2410
|
-
function
|
|
2410
|
+
function Ji(e, t, n, r) {
|
|
2411
2411
|
r === void 0 && (r = {});
|
|
2412
|
-
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l =
|
|
2412
|
+
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l = bi(e), u = i || a ? [...l ? _i(l) : [], ...t ? _i(t) : []] : [];
|
|
2413
2413
|
u.forEach((e) => {
|
|
2414
2414
|
i && e.addEventListener("scroll", n, { passive: !0 }), a && e.addEventListener("resize", n);
|
|
2415
2415
|
});
|
|
2416
|
-
let d = l && s ?
|
|
2416
|
+
let d = l && s ? qi(l, n) : null, f = -1, p = null;
|
|
2417
2417
|
o && (p = new ResizeObserver((e) => {
|
|
2418
2418
|
let [r] = e;
|
|
2419
2419
|
r && r.target === l && p && t && (p.unobserve(t), cancelAnimationFrame(f), f = requestAnimationFrame(() => {
|
|
@@ -2421,11 +2421,11 @@ function Yi(e, t, n, r) {
|
|
|
2421
2421
|
(e = p) == null || e.observe(t);
|
|
2422
2422
|
})), n();
|
|
2423
2423
|
}), l && !c && p.observe(l), t && p.observe(t));
|
|
2424
|
-
let m, h = c ?
|
|
2424
|
+
let m, h = c ? Ti(e) : null;
|
|
2425
2425
|
c && g();
|
|
2426
2426
|
function g() {
|
|
2427
|
-
let t =
|
|
2428
|
-
h && !
|
|
2427
|
+
let t = Ti(e);
|
|
2428
|
+
h && !Ki(h, t) && n(), h = t, m = requestAnimationFrame(g);
|
|
2429
2429
|
}
|
|
2430
2430
|
return n(), () => {
|
|
2431
2431
|
var e;
|
|
@@ -2434,20 +2434,20 @@ function Yi(e, t, n, r) {
|
|
|
2434
2434
|
}), d?.(), (e = p) == null || e.disconnect(), p = null, c && cancelAnimationFrame(m);
|
|
2435
2435
|
};
|
|
2436
2436
|
}
|
|
2437
|
-
var Xi = Xr, Zi =
|
|
2437
|
+
var Yi = Yr, Xi = Xr, Zi = Ur, Qi = Qr, $i = Kr, ea = Hr, ta = Zr, na = (e, t, n) => {
|
|
2438
2438
|
let r = /* @__PURE__ */ new Map(), i = {
|
|
2439
|
-
platform:
|
|
2439
|
+
platform: Gi,
|
|
2440
2440
|
...n
|
|
2441
2441
|
}, a = {
|
|
2442
2442
|
...i.platform,
|
|
2443
2443
|
_c: r
|
|
2444
2444
|
};
|
|
2445
|
-
return
|
|
2445
|
+
return Vr(e, t, {
|
|
2446
2446
|
...i,
|
|
2447
2447
|
platform: a
|
|
2448
2448
|
});
|
|
2449
|
-
},
|
|
2450
|
-
function
|
|
2449
|
+
}, ra = typeof document < "u" ? F.useLayoutEffect : function() {};
|
|
2450
|
+
function ia(e, t) {
|
|
2451
2451
|
if (e === t) return !0;
|
|
2452
2452
|
if (typeof e != typeof t) return !1;
|
|
2453
2453
|
if (typeof e == "function" && e.toString() === t.toString()) return !0;
|
|
@@ -2455,33 +2455,33 @@ function aa(e, t) {
|
|
|
2455
2455
|
if (e && t && typeof e == "object") {
|
|
2456
2456
|
if (Array.isArray(e)) {
|
|
2457
2457
|
if (n = e.length, n !== t.length) return !1;
|
|
2458
|
-
for (r = n; r-- !== 0;) if (!
|
|
2458
|
+
for (r = n; r-- !== 0;) if (!ia(e[r], t[r])) return !1;
|
|
2459
2459
|
return !0;
|
|
2460
2460
|
}
|
|
2461
2461
|
if (i = Object.keys(e), n = i.length, n !== Object.keys(t).length) return !1;
|
|
2462
2462
|
for (r = n; r-- !== 0;) if (!{}.hasOwnProperty.call(t, i[r])) return !1;
|
|
2463
2463
|
for (r = n; r-- !== 0;) {
|
|
2464
2464
|
let n = i[r];
|
|
2465
|
-
if (!(n === "_owner" && e.$$typeof) && !
|
|
2465
|
+
if (!(n === "_owner" && e.$$typeof) && !ia(e[n], t[n])) return !1;
|
|
2466
2466
|
}
|
|
2467
2467
|
return !0;
|
|
2468
2468
|
}
|
|
2469
2469
|
return e !== e && t !== t;
|
|
2470
2470
|
}
|
|
2471
|
-
function
|
|
2471
|
+
function aa(e) {
|
|
2472
2472
|
return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
2473
2473
|
}
|
|
2474
|
-
function
|
|
2475
|
-
let n =
|
|
2474
|
+
function oa(e, t) {
|
|
2475
|
+
let n = aa(e);
|
|
2476
2476
|
return Math.round(t * n) / n;
|
|
2477
2477
|
}
|
|
2478
|
-
function
|
|
2478
|
+
function sa(e) {
|
|
2479
2479
|
let t = F.useRef(e);
|
|
2480
|
-
return
|
|
2480
|
+
return ra(() => {
|
|
2481
2481
|
t.current = e;
|
|
2482
2482
|
}), t;
|
|
2483
2483
|
}
|
|
2484
|
-
function
|
|
2484
|
+
function ca(e) {
|
|
2485
2485
|
e === void 0 && (e = {});
|
|
2486
2486
|
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] = F.useState({
|
|
2487
2487
|
x: 0,
|
|
@@ -2491,24 +2491,24 @@ function la(e) {
|
|
|
2491
2491
|
middlewareData: {},
|
|
2492
2492
|
isPositioned: !1
|
|
2493
2493
|
}), [f, p] = F.useState(r);
|
|
2494
|
-
|
|
2494
|
+
ia(f, r) || p(r);
|
|
2495
2495
|
let [m, h] = F.useState(null), [g, _] = F.useState(null), v = F.useCallback((e) => {
|
|
2496
2496
|
e !== S.current && (S.current = e, h(e));
|
|
2497
2497
|
}, []), y = F.useCallback((e) => {
|
|
2498
2498
|
e !== C.current && (C.current = e, _(e));
|
|
2499
|
-
}, []), b = a || m, x = o || g, S = F.useRef(null), C = F.useRef(null), w = F.useRef(u), T = c != null, ee =
|
|
2499
|
+
}, []), b = a || m, x = o || g, S = F.useRef(null), C = F.useRef(null), w = F.useRef(u), T = c != null, ee = sa(c), E = sa(i), D = sa(l), O = F.useCallback(() => {
|
|
2500
2500
|
if (!S.current || !C.current) return;
|
|
2501
2501
|
let e = {
|
|
2502
2502
|
placement: t,
|
|
2503
2503
|
strategy: n,
|
|
2504
2504
|
middleware: f
|
|
2505
2505
|
};
|
|
2506
|
-
E.current && (e.platform = E.current),
|
|
2506
|
+
E.current && (e.platform = E.current), na(S.current, C.current, e).then((e) => {
|
|
2507
2507
|
let t = {
|
|
2508
2508
|
...e,
|
|
2509
2509
|
isPositioned: D.current !== !1
|
|
2510
2510
|
};
|
|
2511
|
-
k.current && !
|
|
2511
|
+
k.current && !ia(w.current, t) && (w.current = t, gt.flushSync(() => {
|
|
2512
2512
|
d(t);
|
|
2513
2513
|
}));
|
|
2514
2514
|
});
|
|
@@ -2519,16 +2519,16 @@ function la(e) {
|
|
|
2519
2519
|
E,
|
|
2520
2520
|
D
|
|
2521
2521
|
]);
|
|
2522
|
-
|
|
2522
|
+
ra(() => {
|
|
2523
2523
|
l === !1 && w.current.isPositioned && (w.current.isPositioned = !1, d((e) => ({
|
|
2524
2524
|
...e,
|
|
2525
2525
|
isPositioned: !1
|
|
2526
2526
|
})));
|
|
2527
2527
|
}, [l]);
|
|
2528
2528
|
let k = F.useRef(!1);
|
|
2529
|
-
|
|
2529
|
+
ra(() => (k.current = !0, () => {
|
|
2530
2530
|
k.current = !1;
|
|
2531
|
-
}), []),
|
|
2531
|
+
}), []), ra(() => {
|
|
2532
2532
|
if (b && (S.current = b), x && (C.current = x), b && x) {
|
|
2533
2533
|
if (ee.current) return ee.current(b, x, O);
|
|
2534
2534
|
O();
|
|
@@ -2555,11 +2555,11 @@ function la(e) {
|
|
|
2555
2555
|
top: 0
|
|
2556
2556
|
};
|
|
2557
2557
|
if (!A.floating) return e;
|
|
2558
|
-
let t =
|
|
2558
|
+
let t = oa(A.floating, u.x), r = oa(A.floating, u.y);
|
|
2559
2559
|
return s ? {
|
|
2560
2560
|
...e,
|
|
2561
2561
|
transform: "translate(" + t + "px, " + r + "px)",
|
|
2562
|
-
...
|
|
2562
|
+
...aa(A.floating) >= 1.5 && { willChange: "transform" }
|
|
2563
2563
|
} : {
|
|
2564
2564
|
position: n,
|
|
2565
2565
|
left: t,
|
|
@@ -2586,7 +2586,7 @@ function la(e) {
|
|
|
2586
2586
|
j
|
|
2587
2587
|
]);
|
|
2588
2588
|
}
|
|
2589
|
-
var
|
|
2589
|
+
var la = (e) => {
|
|
2590
2590
|
function t(e) {
|
|
2591
2591
|
return {}.hasOwnProperty.call(e, "current");
|
|
2592
2592
|
}
|
|
@@ -2595,15 +2595,22 @@ var ua = (e) => {
|
|
|
2595
2595
|
options: e,
|
|
2596
2596
|
fn(n) {
|
|
2597
2597
|
let { element: r, padding: i } = typeof e == "function" ? e(n) : e;
|
|
2598
|
-
return r && t(r) ? r.current == null ? {} :
|
|
2598
|
+
return r && t(r) ? r.current == null ? {} : ea({
|
|
2599
2599
|
element: r.current,
|
|
2600
2600
|
padding: i
|
|
2601
|
-
}).fn(n) : r ?
|
|
2601
|
+
}).fn(n) : r ? ea({
|
|
2602
2602
|
element: r,
|
|
2603
2603
|
padding: i
|
|
2604
2604
|
}).fn(n) : {};
|
|
2605
2605
|
}
|
|
2606
2606
|
};
|
|
2607
|
+
}, ua = (e, t) => {
|
|
2608
|
+
let n = Yi(e);
|
|
2609
|
+
return {
|
|
2610
|
+
name: n.name,
|
|
2611
|
+
fn: n.fn,
|
|
2612
|
+
options: [e, t]
|
|
2613
|
+
};
|
|
2607
2614
|
}, da = (e, t) => {
|
|
2608
2615
|
let n = Xi(e);
|
|
2609
2616
|
return {
|
|
@@ -2611,17 +2618,17 @@ var ua = (e) => {
|
|
|
2611
2618
|
fn: n.fn,
|
|
2612
2619
|
options: [e, t]
|
|
2613
2620
|
};
|
|
2614
|
-
}, fa = (e, t) => {
|
|
2621
|
+
}, fa = (e, t) => ({
|
|
2622
|
+
fn: ta(e).fn,
|
|
2623
|
+
options: [e, t]
|
|
2624
|
+
}), pa = (e, t) => {
|
|
2615
2625
|
let n = Zi(e);
|
|
2616
2626
|
return {
|
|
2617
2627
|
name: n.name,
|
|
2618
2628
|
fn: n.fn,
|
|
2619
2629
|
options: [e, t]
|
|
2620
2630
|
};
|
|
2621
|
-
},
|
|
2622
|
-
fn: na(e).fn,
|
|
2623
|
-
options: [e, t]
|
|
2624
|
-
}), ma = (e, t) => {
|
|
2631
|
+
}, ma = (e, t) => {
|
|
2625
2632
|
let n = Qi(e);
|
|
2626
2633
|
return {
|
|
2627
2634
|
name: n.name,
|
|
@@ -2636,20 +2643,13 @@ var ua = (e) => {
|
|
|
2636
2643
|
options: [e, t]
|
|
2637
2644
|
};
|
|
2638
2645
|
}, ga = (e, t) => {
|
|
2639
|
-
let n =
|
|
2640
|
-
return {
|
|
2641
|
-
name: n.name,
|
|
2642
|
-
fn: n.fn,
|
|
2643
|
-
options: [e, t]
|
|
2644
|
-
};
|
|
2645
|
-
}, _a = (e, t) => {
|
|
2646
|
-
let n = ua(e);
|
|
2646
|
+
let n = la(e);
|
|
2647
2647
|
return {
|
|
2648
2648
|
name: n.name,
|
|
2649
2649
|
fn: n.fn,
|
|
2650
2650
|
options: [e, t]
|
|
2651
2651
|
};
|
|
2652
|
-
},
|
|
2652
|
+
}, _a = "Arrow", va = F.forwardRef((e, t) => {
|
|
2653
2653
|
let { children: n, width: r = 10, height: i = 5, ...a } = e;
|
|
2654
2654
|
return /* @__PURE__ */ (0, I.jsx)(H.svg, {
|
|
2655
2655
|
...a,
|
|
@@ -2661,13 +2661,13 @@ var ua = (e) => {
|
|
|
2661
2661
|
children: e.asChild ? n : /* @__PURE__ */ (0, I.jsx)("polygon", { points: "0,0 30,0 15,10" })
|
|
2662
2662
|
});
|
|
2663
2663
|
});
|
|
2664
|
-
|
|
2665
|
-
var
|
|
2664
|
+
va.displayName = _a;
|
|
2665
|
+
var ya = va;
|
|
2666
2666
|
//#endregion
|
|
2667
2667
|
//#region ../node_modules/@radix-ui/react-use-size/dist/index.mjs
|
|
2668
|
-
function
|
|
2668
|
+
function ba(e) {
|
|
2669
2669
|
let [t, n] = F.useState(void 0);
|
|
2670
|
-
return
|
|
2670
|
+
return dr(() => {
|
|
2671
2671
|
if (e) {
|
|
2672
2672
|
n({
|
|
2673
2673
|
width: e.offsetWidth,
|
|
@@ -2691,18 +2691,18 @@ function xa(e) {
|
|
|
2691
2691
|
}
|
|
2692
2692
|
//#endregion
|
|
2693
2693
|
//#region ../node_modules/@radix-ui/react-popper/dist/index.mjs
|
|
2694
|
-
var
|
|
2694
|
+
var xa = "Popper", [Sa, Ca] = Sn(xa), [wa, Ta] = Sa(xa), Ea = (e) => {
|
|
2695
2695
|
let { __scopePopper: t, children: n } = e, [r, i] = F.useState(null);
|
|
2696
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
2696
|
+
return /* @__PURE__ */ (0, I.jsx)(wa, {
|
|
2697
2697
|
scope: t,
|
|
2698
2698
|
anchor: r,
|
|
2699
2699
|
onAnchorChange: i,
|
|
2700
2700
|
children: n
|
|
2701
2701
|
});
|
|
2702
2702
|
};
|
|
2703
|
-
|
|
2704
|
-
var
|
|
2705
|
-
let { __scopePopper: n, virtualRef: r, ...i } = e, a =
|
|
2703
|
+
Ea.displayName = xa;
|
|
2704
|
+
var Da = "PopperAnchor", Oa = F.forwardRef((e, t) => {
|
|
2705
|
+
let { __scopePopper: n, virtualRef: r, ...i } = e, a = Ta(Da, n), o = F.useRef(null), s = V(t, o), c = F.useRef(null);
|
|
2706
2706
|
return F.useEffect(() => {
|
|
2707
2707
|
let e = c.current;
|
|
2708
2708
|
c.current = r?.current || o.current, e !== c.current && a.onAnchorChange(c.current);
|
|
@@ -2711,9 +2711,9 @@ var Oa = "PopperAnchor", ka = F.forwardRef((e, t) => {
|
|
|
2711
2711
|
ref: s
|
|
2712
2712
|
});
|
|
2713
2713
|
});
|
|
2714
|
-
|
|
2715
|
-
var
|
|
2716
|
-
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 =
|
|
2714
|
+
Oa.displayName = Da;
|
|
2715
|
+
var ka = "PopperContent", [Aa, ja] = Sa(ka), Ma = F.forwardRef((e, t) => {
|
|
2716
|
+
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 = Ta(ka, n), [_, v] = F.useState(null), y = V(t, (e) => v(e)), [b, x] = F.useState(null), S = ba(b), C = S?.width ?? 0, w = S?.height ?? 0, T = r + (a === "center" ? "" : "-" + a), ee = typeof u == "number" ? u : {
|
|
2717
2717
|
top: 0,
|
|
2718
2718
|
right: 0,
|
|
2719
2719
|
bottom: 0,
|
|
@@ -2721,51 +2721,51 @@ var Aa = "PopperContent", [ja, Ma] = Ca(Aa), Na = F.forwardRef((e, t) => {
|
|
|
2721
2721
|
...u
|
|
2722
2722
|
}, E = Array.isArray(l) ? l : [l], D = E.length > 0, O = {
|
|
2723
2723
|
padding: ee,
|
|
2724
|
-
boundary: E.filter(
|
|
2724
|
+
boundary: E.filter(Ia),
|
|
2725
2725
|
altBoundary: D
|
|
2726
|
-
}, { refs: k, floatingStyles: te, placement: A, isPositioned: j, middlewareData: ne } =
|
|
2726
|
+
}, { refs: k, floatingStyles: te, placement: A, isPositioned: j, middlewareData: ne } = ca({
|
|
2727
2727
|
strategy: "fixed",
|
|
2728
2728
|
placement: T,
|
|
2729
|
-
whileElementsMounted: (...e) =>
|
|
2729
|
+
whileElementsMounted: (...e) => Ji(...e, { animationFrame: p === "always" }),
|
|
2730
2730
|
elements: { reference: g.anchor },
|
|
2731
2731
|
middleware: [
|
|
2732
|
-
|
|
2732
|
+
ua({
|
|
2733
2733
|
mainAxis: i + w,
|
|
2734
2734
|
alignmentAxis: o
|
|
2735
2735
|
}),
|
|
2736
|
-
c &&
|
|
2736
|
+
c && da({
|
|
2737
2737
|
mainAxis: !0,
|
|
2738
2738
|
crossAxis: !1,
|
|
2739
|
-
limiter: d === "partial" ?
|
|
2739
|
+
limiter: d === "partial" ? fa() : void 0,
|
|
2740
2740
|
...O
|
|
2741
2741
|
}),
|
|
2742
|
-
c &&
|
|
2743
|
-
|
|
2742
|
+
c && pa({ ...O }),
|
|
2743
|
+
ma({
|
|
2744
2744
|
...O,
|
|
2745
2745
|
apply: ({ elements: e, rects: t, availableWidth: n, availableHeight: r }) => {
|
|
2746
2746
|
let { width: i, height: a } = t.reference, o = e.floating.style;
|
|
2747
2747
|
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`);
|
|
2748
2748
|
}
|
|
2749
2749
|
}),
|
|
2750
|
-
b &&
|
|
2750
|
+
b && ga({
|
|
2751
2751
|
element: b,
|
|
2752
2752
|
padding: s
|
|
2753
2753
|
}),
|
|
2754
|
-
|
|
2754
|
+
La({
|
|
2755
2755
|
arrowWidth: C,
|
|
2756
2756
|
arrowHeight: w
|
|
2757
2757
|
}),
|
|
2758
|
-
f &&
|
|
2758
|
+
f && ha({
|
|
2759
2759
|
strategy: "referenceHidden",
|
|
2760
2760
|
...O
|
|
2761
2761
|
})
|
|
2762
2762
|
]
|
|
2763
|
-
}), [re, ie] =
|
|
2764
|
-
|
|
2763
|
+
}), [re, ie] = Ra(A), ae = jn(m);
|
|
2764
|
+
dr(() => {
|
|
2765
2765
|
j && ae?.();
|
|
2766
2766
|
}, [j, ae]);
|
|
2767
2767
|
let oe = ne.arrow?.x, se = ne.arrow?.y, ce = ne.arrow?.centerOffset !== 0, [le, ue] = F.useState();
|
|
2768
|
-
return
|
|
2768
|
+
return dr(() => {
|
|
2769
2769
|
_ && ue(window.getComputedStyle(_).zIndex);
|
|
2770
2770
|
}, [_]), /* @__PURE__ */ (0, I.jsx)("div", {
|
|
2771
2771
|
ref: k.setFloating,
|
|
@@ -2782,7 +2782,7 @@ var Aa = "PopperContent", [ja, Ma] = Ca(Aa), Na = F.forwardRef((e, t) => {
|
|
|
2782
2782
|
}
|
|
2783
2783
|
},
|
|
2784
2784
|
dir: e.dir,
|
|
2785
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
2785
|
+
children: /* @__PURE__ */ (0, I.jsx)(Aa, {
|
|
2786
2786
|
scope: n,
|
|
2787
2787
|
placedSide: re,
|
|
2788
2788
|
onArrowChange: x,
|
|
@@ -2802,14 +2802,14 @@ var Aa = "PopperContent", [ja, Ma] = Ca(Aa), Na = F.forwardRef((e, t) => {
|
|
|
2802
2802
|
})
|
|
2803
2803
|
});
|
|
2804
2804
|
});
|
|
2805
|
-
|
|
2806
|
-
var
|
|
2805
|
+
Ma.displayName = ka;
|
|
2806
|
+
var Na = "PopperArrow", Pa = {
|
|
2807
2807
|
top: "bottom",
|
|
2808
2808
|
right: "left",
|
|
2809
2809
|
bottom: "top",
|
|
2810
2810
|
left: "right"
|
|
2811
|
-
},
|
|
2812
|
-
let { __scopePopper: n, ...r } = e, i =
|
|
2811
|
+
}, Fa = F.forwardRef(function(e, t) {
|
|
2812
|
+
let { __scopePopper: n, ...r } = e, i = ja(Na, n), a = Pa[i.placedSide];
|
|
2813
2813
|
return /* @__PURE__ */ (0, I.jsx)("span", {
|
|
2814
2814
|
ref: i.onArrowChange,
|
|
2815
2815
|
style: {
|
|
@@ -2831,7 +2831,7 @@ var Pa = "PopperArrow", Fa = {
|
|
|
2831
2831
|
}[i.placedSide],
|
|
2832
2832
|
visibility: i.shouldHideArrow ? "hidden" : void 0
|
|
2833
2833
|
},
|
|
2834
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
2834
|
+
children: /* @__PURE__ */ (0, I.jsx)(ya, {
|
|
2835
2835
|
...r,
|
|
2836
2836
|
ref: t,
|
|
2837
2837
|
style: {
|
|
@@ -2841,15 +2841,15 @@ var Pa = "PopperArrow", Fa = {
|
|
|
2841
2841
|
})
|
|
2842
2842
|
});
|
|
2843
2843
|
});
|
|
2844
|
-
|
|
2845
|
-
function
|
|
2844
|
+
Fa.displayName = Na;
|
|
2845
|
+
function Ia(e) {
|
|
2846
2846
|
return e !== null;
|
|
2847
2847
|
}
|
|
2848
|
-
var
|
|
2848
|
+
var La = (e) => ({
|
|
2849
2849
|
name: "transformOrigin",
|
|
2850
2850
|
options: e,
|
|
2851
2851
|
fn(t) {
|
|
2852
|
-
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] =
|
|
2852
|
+
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] = Ra(n), u = {
|
|
2853
2853
|
start: "0%",
|
|
2854
2854
|
center: "50%",
|
|
2855
2855
|
end: "100%"
|
|
@@ -2860,32 +2860,32 @@ var Ra = (e) => ({
|
|
|
2860
2860
|
} };
|
|
2861
2861
|
}
|
|
2862
2862
|
});
|
|
2863
|
-
function
|
|
2863
|
+
function Ra(e) {
|
|
2864
2864
|
let [t, n = "center"] = e.split("-");
|
|
2865
2865
|
return [t, n];
|
|
2866
2866
|
}
|
|
2867
|
-
var
|
|
2867
|
+
var za = Ea, Ba = Oa, Va = Ma, Ha = Fa, Ua = "Portal", Wa = F.forwardRef((e, t) => {
|
|
2868
2868
|
let { container: n, ...r } = e, [i, a] = F.useState(!1);
|
|
2869
|
-
|
|
2869
|
+
dr(() => a(!0), []);
|
|
2870
2870
|
let o = n || i && globalThis?.document?.body;
|
|
2871
|
-
return o ?
|
|
2871
|
+
return o ? gt.createPortal(/* @__PURE__ */ (0, I.jsx)(H.div, {
|
|
2872
2872
|
...r,
|
|
2873
2873
|
ref: t
|
|
2874
2874
|
}), o) : null;
|
|
2875
2875
|
});
|
|
2876
|
-
|
|
2876
|
+
Wa.displayName = Ua;
|
|
2877
2877
|
//#endregion
|
|
2878
2878
|
//#region ../node_modules/@radix-ui/react-presence/dist/index.mjs
|
|
2879
|
-
function
|
|
2879
|
+
function Ga(e, t) {
|
|
2880
2880
|
return F.useReducer((e, n) => t[e][n] ?? e, e);
|
|
2881
2881
|
}
|
|
2882
|
-
var
|
|
2883
|
-
let { present: t, children: n } = e, r =
|
|
2882
|
+
var Ka = (e) => {
|
|
2883
|
+
let { present: t, children: n } = e, r = qa(t), i = typeof n == "function" ? n({ present: r.isPresent }) : F.Children.only(n), a = V(r.ref, Ya(i));
|
|
2884
2884
|
return typeof n == "function" || r.isPresent ? F.cloneElement(i, { ref: a }) : null;
|
|
2885
2885
|
};
|
|
2886
|
-
|
|
2887
|
-
function
|
|
2888
|
-
let [t, n] = F.useState(), r = F.useRef(null), i = F.useRef(e), a = F.useRef("none"), [o, s] =
|
|
2886
|
+
Ka.displayName = "Presence";
|
|
2887
|
+
function qa(e) {
|
|
2888
|
+
let [t, n] = F.useState(), r = F.useRef(null), i = F.useRef(e), a = F.useRef("none"), [o, s] = Ga(e ? "mounted" : "unmounted", {
|
|
2889
2889
|
mounted: {
|
|
2890
2890
|
UNMOUNT: "unmounted",
|
|
2891
2891
|
ANIMATION_OUT: "unmountSuspended"
|
|
@@ -2897,18 +2897,18 @@ function Ja(e) {
|
|
|
2897
2897
|
unmounted: { MOUNT: "mounted" }
|
|
2898
2898
|
});
|
|
2899
2899
|
return F.useEffect(() => {
|
|
2900
|
-
let e =
|
|
2900
|
+
let e = Ja(r.current);
|
|
2901
2901
|
a.current = o === "mounted" ? e : "none";
|
|
2902
|
-
}, [o]),
|
|
2902
|
+
}, [o]), dr(() => {
|
|
2903
2903
|
let t = r.current, n = i.current;
|
|
2904
2904
|
if (n !== e) {
|
|
2905
|
-
let r = a.current, o =
|
|
2905
|
+
let r = a.current, o = Ja(t);
|
|
2906
2906
|
e ? s("MOUNT") : o === "none" || t?.display === "none" ? s("UNMOUNT") : s(n && r !== o ? "ANIMATION_OUT" : "UNMOUNT"), i.current = e;
|
|
2907
2907
|
}
|
|
2908
|
-
}, [e, s]),
|
|
2908
|
+
}, [e, s]), dr(() => {
|
|
2909
2909
|
if (t) {
|
|
2910
2910
|
let e, n = t.ownerDocument.defaultView ?? window, o = (a) => {
|
|
2911
|
-
let o =
|
|
2911
|
+
let o = Ja(r.current).includes(CSS.escape(a.animationName));
|
|
2912
2912
|
if (a.target === t && o && (s("ANIMATION_END"), !i.current)) {
|
|
2913
2913
|
let r = t.style.animationFillMode;
|
|
2914
2914
|
t.style.animationFillMode = "forwards", e = n.setTimeout(() => {
|
|
@@ -2916,7 +2916,7 @@ function Ja(e) {
|
|
|
2916
2916
|
});
|
|
2917
2917
|
}
|
|
2918
2918
|
}, c = (e) => {
|
|
2919
|
-
e.target === t && (a.current =
|
|
2919
|
+
e.target === t && (a.current = Ja(r.current));
|
|
2920
2920
|
};
|
|
2921
2921
|
return t.addEventListener("animationstart", c), t.addEventListener("animationcancel", o), t.addEventListener("animationend", o), () => {
|
|
2922
2922
|
n.clearTimeout(e), t.removeEventListener("animationstart", c), t.removeEventListener("animationcancel", o), t.removeEventListener("animationend", o);
|
|
@@ -2929,18 +2929,18 @@ function Ja(e) {
|
|
|
2929
2929
|
}, [])
|
|
2930
2930
|
};
|
|
2931
2931
|
}
|
|
2932
|
-
function
|
|
2932
|
+
function Ja(e) {
|
|
2933
2933
|
return e?.animationName || "none";
|
|
2934
2934
|
}
|
|
2935
|
-
function
|
|
2935
|
+
function Ya(e) {
|
|
2936
2936
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
2937
2937
|
return n ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
|
|
2938
2938
|
}
|
|
2939
2939
|
//#endregion
|
|
2940
2940
|
//#region ../node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
|
|
2941
|
-
var
|
|
2942
|
-
function
|
|
2943
|
-
let [i, a, o] =
|
|
2941
|
+
var Xa = F.useInsertionEffect || dr;
|
|
2942
|
+
function Za({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
2943
|
+
let [i, a, o] = Qa({
|
|
2944
2944
|
defaultProp: t,
|
|
2945
2945
|
onChange: n
|
|
2946
2946
|
}), s = e !== void 0, c = s ? e : i;
|
|
@@ -2953,7 +2953,7 @@ function Qa({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
|
2953
2953
|
}
|
|
2954
2954
|
return [c, F.useCallback((t) => {
|
|
2955
2955
|
if (s) {
|
|
2956
|
-
let n =
|
|
2956
|
+
let n = $a(t) ? t(e) : t;
|
|
2957
2957
|
n !== e && o.current?.(n);
|
|
2958
2958
|
} else a(t);
|
|
2959
2959
|
}, [
|
|
@@ -2963,9 +2963,9 @@ function Qa({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
|
2963
2963
|
o
|
|
2964
2964
|
])];
|
|
2965
2965
|
}
|
|
2966
|
-
function
|
|
2966
|
+
function Qa({ defaultProp: e, onChange: t }) {
|
|
2967
2967
|
let [n, r] = F.useState(e), i = F.useRef(n), a = F.useRef(t);
|
|
2968
|
-
return
|
|
2968
|
+
return Xa(() => {
|
|
2969
2969
|
a.current = t;
|
|
2970
2970
|
}, [t]), F.useEffect(() => {
|
|
2971
2971
|
i.current !== n && (a.current?.(n), i.current = n);
|
|
@@ -2975,27 +2975,27 @@ function $a({ defaultProp: e, onChange: t }) {
|
|
|
2975
2975
|
a
|
|
2976
2976
|
];
|
|
2977
2977
|
}
|
|
2978
|
-
function
|
|
2978
|
+
function $a(e) {
|
|
2979
2979
|
return typeof e == "function";
|
|
2980
2980
|
}
|
|
2981
2981
|
//#endregion
|
|
2982
2982
|
//#region ../node_modules/aria-hidden/dist/es2015/index.js
|
|
2983
|
-
var
|
|
2983
|
+
var eo = function(e) {
|
|
2984
2984
|
return typeof document > "u" ? null : (Array.isArray(e) ? e[0] : e).ownerDocument.body;
|
|
2985
|
-
},
|
|
2986
|
-
return e && (e.host ||
|
|
2987
|
-
},
|
|
2985
|
+
}, to = /* @__PURE__ */ new WeakMap(), no = /* @__PURE__ */ new WeakMap(), ro = {}, io = 0, ao = function(e) {
|
|
2986
|
+
return e && (e.host || ao(e.parentNode));
|
|
2987
|
+
}, oo = function(e, t) {
|
|
2988
2988
|
return t.map(function(t) {
|
|
2989
2989
|
if (e.contains(t)) return t;
|
|
2990
|
-
var n =
|
|
2990
|
+
var n = ao(t);
|
|
2991
2991
|
return n && e.contains(n) ? n : (console.error("aria-hidden", t, "in not contained inside", e, ". Doing nothing"), null);
|
|
2992
2992
|
}).filter(function(e) {
|
|
2993
2993
|
return !!e;
|
|
2994
2994
|
});
|
|
2995
|
-
},
|
|
2996
|
-
var i =
|
|
2997
|
-
|
|
2998
|
-
var a =
|
|
2995
|
+
}, so = function(e, t, n, r) {
|
|
2996
|
+
var i = oo(t, Array.isArray(e) ? e : [e]);
|
|
2997
|
+
ro[n] || (ro[n] = /* @__PURE__ */ new WeakMap());
|
|
2998
|
+
var a = ro[n], o = [], s = /* @__PURE__ */ new Set(), c = new Set(i), l = function(e) {
|
|
2999
2999
|
!e || s.has(e) || (s.add(e), l(e.parentNode));
|
|
3000
3000
|
};
|
|
3001
3001
|
i.forEach(l);
|
|
@@ -3003,23 +3003,23 @@ var to = function(e) {
|
|
|
3003
3003
|
!e || c.has(e) || Array.prototype.forEach.call(e.children, function(e) {
|
|
3004
3004
|
if (s.has(e)) u(e);
|
|
3005
3005
|
else try {
|
|
3006
|
-
var t = e.getAttribute(r), i = t !== null && t !== "false", c = (
|
|
3007
|
-
|
|
3006
|
+
var t = e.getAttribute(r), i = t !== null && t !== "false", c = (to.get(e) || 0) + 1, l = (a.get(e) || 0) + 1;
|
|
3007
|
+
to.set(e, c), a.set(e, l), o.push(e), c === 1 && i && no.set(e, !0), l === 1 && e.setAttribute(n, "true"), i || e.setAttribute(r, "true");
|
|
3008
3008
|
} catch (t) {
|
|
3009
3009
|
console.error("aria-hidden: cannot operate on ", e, t);
|
|
3010
3010
|
}
|
|
3011
3011
|
});
|
|
3012
3012
|
};
|
|
3013
|
-
return u(t), s.clear(),
|
|
3013
|
+
return u(t), s.clear(), io++, function() {
|
|
3014
3014
|
o.forEach(function(e) {
|
|
3015
|
-
var t =
|
|
3016
|
-
|
|
3017
|
-
}),
|
|
3015
|
+
var t = to.get(e) - 1, i = a.get(e) - 1;
|
|
3016
|
+
to.set(e, t), a.set(e, i), t || (no.has(e) || e.removeAttribute(r), no.delete(e)), i || e.removeAttribute(n);
|
|
3017
|
+
}), io--, io || (to = /* @__PURE__ */ new WeakMap(), to = /* @__PURE__ */ new WeakMap(), no = /* @__PURE__ */ new WeakMap(), ro = {});
|
|
3018
3018
|
};
|
|
3019
|
-
},
|
|
3019
|
+
}, co = function(e, t, n) {
|
|
3020
3020
|
n === void 0 && (n = "data-aria-hidden");
|
|
3021
|
-
var r = Array.from(Array.isArray(e) ? e : [e]), i = t ||
|
|
3022
|
-
return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live], script"))),
|
|
3021
|
+
var r = Array.from(Array.isArray(e) ? e : [e]), i = t || eo(e);
|
|
3022
|
+
return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live], script"))), so(r, i, n, "aria-hidden")) : function() {
|
|
3023
3023
|
return null;
|
|
3024
3024
|
};
|
|
3025
3025
|
}, $ = function() {
|
|
@@ -3028,13 +3028,13 @@ var to = function(e) {
|
|
|
3028
3028
|
return e;
|
|
3029
3029
|
}, $.apply(this, arguments);
|
|
3030
3030
|
};
|
|
3031
|
-
function
|
|
3031
|
+
function lo(e, t) {
|
|
3032
3032
|
var n = {};
|
|
3033
3033
|
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
3034
3034
|
if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++) t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
|
|
3035
3035
|
return n;
|
|
3036
3036
|
}
|
|
3037
|
-
function
|
|
3037
|
+
function uo(e, t, n, r) {
|
|
3038
3038
|
function i(e) {
|
|
3039
3039
|
return e instanceof n ? e : new n(function(t) {
|
|
3040
3040
|
t(e);
|
|
@@ -3061,7 +3061,7 @@ function fo(e, t, n, r) {
|
|
|
3061
3061
|
c((r = r.apply(e, t || [])).next());
|
|
3062
3062
|
});
|
|
3063
3063
|
}
|
|
3064
|
-
function
|
|
3064
|
+
function fo(e, t) {
|
|
3065
3065
|
var n = {
|
|
3066
3066
|
label: 0,
|
|
3067
3067
|
sent: function() {
|
|
@@ -3131,7 +3131,7 @@ function po(e, t) {
|
|
|
3131
3131
|
};
|
|
3132
3132
|
}
|
|
3133
3133
|
}
|
|
3134
|
-
function
|
|
3134
|
+
function po(e, t) {
|
|
3135
3135
|
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
3136
3136
|
if (!n) return e;
|
|
3137
3137
|
var r = n.call(e), i, a = [], o;
|
|
@@ -3148,25 +3148,25 @@ function mo(e, t) {
|
|
|
3148
3148
|
}
|
|
3149
3149
|
return a;
|
|
3150
3150
|
}
|
|
3151
|
-
function
|
|
3152
|
-
for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(
|
|
3151
|
+
function mo() {
|
|
3152
|
+
for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(po(arguments[t]));
|
|
3153
3153
|
return e;
|
|
3154
3154
|
}
|
|
3155
|
-
function
|
|
3155
|
+
function ho(e, t, n) {
|
|
3156
3156
|
if (n || arguments.length === 2) for (var r = 0, i = t.length, a; r < i; r++) (a || !(r in t)) && (a ||= Array.prototype.slice.call(t, 0, r), a[r] = t[r]);
|
|
3157
3157
|
return e.concat(a || Array.prototype.slice.call(t));
|
|
3158
3158
|
}
|
|
3159
3159
|
//#endregion
|
|
3160
3160
|
//#region ../node_modules/react-remove-scroll-bar/dist/es2015/constants.js
|
|
3161
|
-
var
|
|
3161
|
+
var go = "right-scroll-bar-position", _o = "width-before-scroll-bar", vo = "with-scroll-bars-hidden", yo = "--removed-body-scroll-bar-size";
|
|
3162
3162
|
//#endregion
|
|
3163
3163
|
//#region ../node_modules/use-callback-ref/dist/es2015/assignRef.js
|
|
3164
|
-
function
|
|
3164
|
+
function bo(e, t) {
|
|
3165
3165
|
return typeof e == "function" ? e(t) : e && (e.current = t), e;
|
|
3166
3166
|
}
|
|
3167
3167
|
//#endregion
|
|
3168
3168
|
//#region ../node_modules/use-callback-ref/dist/es2015/useRef.js
|
|
3169
|
-
function
|
|
3169
|
+
function xo(e, t) {
|
|
3170
3170
|
var n = (0, F.useState)(function() {
|
|
3171
3171
|
return {
|
|
3172
3172
|
value: e,
|
|
@@ -3186,33 +3186,33 @@ function So(e, t) {
|
|
|
3186
3186
|
}
|
|
3187
3187
|
//#endregion
|
|
3188
3188
|
//#region ../node_modules/use-callback-ref/dist/es2015/useMergeRef.js
|
|
3189
|
-
var
|
|
3190
|
-
function
|
|
3191
|
-
var n =
|
|
3189
|
+
var So = typeof window < "u" ? F.useLayoutEffect : F.useEffect, Co = /* @__PURE__ */ new WeakMap();
|
|
3190
|
+
function wo(e, t) {
|
|
3191
|
+
var n = xo(t || null, function(t) {
|
|
3192
3192
|
return e.forEach(function(e) {
|
|
3193
|
-
return
|
|
3193
|
+
return bo(e, t);
|
|
3194
3194
|
});
|
|
3195
3195
|
});
|
|
3196
|
-
return
|
|
3197
|
-
var t =
|
|
3196
|
+
return So(function() {
|
|
3197
|
+
var t = Co.get(n);
|
|
3198
3198
|
if (t) {
|
|
3199
3199
|
var r = new Set(t), i = new Set(e), a = n.current;
|
|
3200
3200
|
r.forEach(function(e) {
|
|
3201
|
-
i.has(e) ||
|
|
3201
|
+
i.has(e) || bo(e, null);
|
|
3202
3202
|
}), i.forEach(function(e) {
|
|
3203
|
-
r.has(e) ||
|
|
3203
|
+
r.has(e) || bo(e, a);
|
|
3204
3204
|
});
|
|
3205
3205
|
}
|
|
3206
|
-
|
|
3206
|
+
Co.set(n, e);
|
|
3207
3207
|
}, [e]), n;
|
|
3208
3208
|
}
|
|
3209
3209
|
//#endregion
|
|
3210
3210
|
//#region ../node_modules/use-sidecar/dist/es2015/medium.js
|
|
3211
|
-
function
|
|
3211
|
+
function To(e) {
|
|
3212
3212
|
return e;
|
|
3213
3213
|
}
|
|
3214
|
-
function
|
|
3215
|
-
t === void 0 && (t =
|
|
3214
|
+
function Eo(e, t) {
|
|
3215
|
+
t === void 0 && (t = To);
|
|
3216
3216
|
var n = [], r = !1;
|
|
3217
3217
|
return {
|
|
3218
3218
|
read: function() {
|
|
@@ -3265,9 +3265,9 @@ function Do(e, t) {
|
|
|
3265
3265
|
}
|
|
3266
3266
|
};
|
|
3267
3267
|
}
|
|
3268
|
-
function
|
|
3268
|
+
function Do(e) {
|
|
3269
3269
|
e === void 0 && (e = {});
|
|
3270
|
-
var t =
|
|
3270
|
+
var t = Eo(null);
|
|
3271
3271
|
return t.options = $({
|
|
3272
3272
|
async: !0,
|
|
3273
3273
|
ssr: !1
|
|
@@ -3275,25 +3275,25 @@ function Oo(e) {
|
|
|
3275
3275
|
}
|
|
3276
3276
|
//#endregion
|
|
3277
3277
|
//#region ../node_modules/use-sidecar/dist/es2015/exports.js
|
|
3278
|
-
var
|
|
3279
|
-
var t = e.sideCar, n =
|
|
3278
|
+
var Oo = function(e) {
|
|
3279
|
+
var t = e.sideCar, n = lo(e, ["sideCar"]);
|
|
3280
3280
|
if (!t) throw Error("Sidecar: please provide `sideCar` property to import the right car");
|
|
3281
3281
|
var r = t.read();
|
|
3282
3282
|
if (!r) throw Error("Sidecar medium not found");
|
|
3283
3283
|
return F.createElement(r, $({}, n));
|
|
3284
3284
|
};
|
|
3285
|
-
|
|
3286
|
-
function
|
|
3287
|
-
return e.useMedium(t),
|
|
3285
|
+
Oo.isSideCarExport = !0;
|
|
3286
|
+
function ko(e, t) {
|
|
3287
|
+
return e.useMedium(t), Oo;
|
|
3288
3288
|
}
|
|
3289
3289
|
//#endregion
|
|
3290
3290
|
//#region ../node_modules/react-remove-scroll/dist/es2015/medium.js
|
|
3291
|
-
var
|
|
3291
|
+
var Ao = Do(), jo = function() {}, Mo = F.forwardRef(function(e, t) {
|
|
3292
3292
|
var n = F.useRef(null), r = F.useState({
|
|
3293
|
-
onScrollCapture:
|
|
3294
|
-
onWheelCapture:
|
|
3295
|
-
onTouchMoveCapture:
|
|
3296
|
-
}), i = r[0], a = r[1], o = e.forwardProps, s = e.children, c = e.className, l = e.removeScrollBar, u = e.enabled, d = e.shards, f = e.sideCar, p = e.noRelative, m = e.noIsolation, h = e.inert, g = e.allowPinchZoom, _ = e.as, v = _ === void 0 ? "div" : _, y = e.gapMode, b =
|
|
3293
|
+
onScrollCapture: jo,
|
|
3294
|
+
onWheelCapture: jo,
|
|
3295
|
+
onTouchMoveCapture: jo
|
|
3296
|
+
}), i = r[0], a = r[1], o = e.forwardProps, s = e.children, c = e.className, l = e.removeScrollBar, u = e.enabled, d = e.shards, f = e.sideCar, p = e.noRelative, m = e.noIsolation, h = e.inert, g = e.allowPinchZoom, _ = e.as, v = _ === void 0 ? "div" : _, y = e.gapMode, b = lo(e, [
|
|
3297
3297
|
"forwardProps",
|
|
3298
3298
|
"children",
|
|
3299
3299
|
"className",
|
|
@@ -3307,9 +3307,9 @@ var jo = Oo(), Mo = function() {}, No = F.forwardRef(function(e, t) {
|
|
|
3307
3307
|
"allowPinchZoom",
|
|
3308
3308
|
"as",
|
|
3309
3309
|
"gapMode"
|
|
3310
|
-
]), x = f, S =
|
|
3310
|
+
]), x = f, S = wo([n, t]), C = $($({}, b), i);
|
|
3311
3311
|
return F.createElement(F.Fragment, null, u && F.createElement(x, {
|
|
3312
|
-
sideCar:
|
|
3312
|
+
sideCar: Ao,
|
|
3313
3313
|
removeScrollBar: l,
|
|
3314
3314
|
shards: d,
|
|
3315
3315
|
noRelative: p,
|
|
@@ -3324,47 +3324,47 @@ var jo = Oo(), Mo = function() {}, No = F.forwardRef(function(e, t) {
|
|
|
3324
3324
|
ref: S
|
|
3325
3325
|
}), s));
|
|
3326
3326
|
});
|
|
3327
|
-
|
|
3327
|
+
Mo.defaultProps = {
|
|
3328
3328
|
enabled: !0,
|
|
3329
3329
|
removeScrollBar: !0,
|
|
3330
3330
|
inert: !1
|
|
3331
|
-
},
|
|
3332
|
-
fullWidth:
|
|
3333
|
-
zeroRight:
|
|
3331
|
+
}, Mo.classNames = {
|
|
3332
|
+
fullWidth: _o,
|
|
3333
|
+
zeroRight: go
|
|
3334
3334
|
};
|
|
3335
3335
|
//#endregion
|
|
3336
3336
|
//#region ../node_modules/get-nonce/dist/es2015/index.js
|
|
3337
|
-
var
|
|
3338
|
-
if (
|
|
3337
|
+
var No, Po = function() {
|
|
3338
|
+
if (No) return No;
|
|
3339
3339
|
if (typeof __webpack_nonce__ < "u") return __webpack_nonce__;
|
|
3340
3340
|
};
|
|
3341
3341
|
//#endregion
|
|
3342
3342
|
//#region ../node_modules/react-style-singleton/dist/es2015/singleton.js
|
|
3343
|
-
function
|
|
3343
|
+
function Fo() {
|
|
3344
3344
|
if (!document) return null;
|
|
3345
3345
|
var e = document.createElement("style");
|
|
3346
3346
|
e.type = "text/css";
|
|
3347
|
-
var t =
|
|
3347
|
+
var t = Po();
|
|
3348
3348
|
return t && e.setAttribute("nonce", t), e;
|
|
3349
3349
|
}
|
|
3350
|
-
function
|
|
3350
|
+
function Io(e, t) {
|
|
3351
3351
|
e.styleSheet ? e.styleSheet.cssText = t : e.appendChild(document.createTextNode(t));
|
|
3352
3352
|
}
|
|
3353
|
-
function
|
|
3353
|
+
function Lo(e) {
|
|
3354
3354
|
(document.head || document.getElementsByTagName("head")[0]).appendChild(e);
|
|
3355
3355
|
}
|
|
3356
|
-
var
|
|
3356
|
+
var Ro = function() {
|
|
3357
3357
|
var e = 0, t = null;
|
|
3358
3358
|
return {
|
|
3359
3359
|
add: function(n) {
|
|
3360
|
-
e == 0 && (t =
|
|
3360
|
+
e == 0 && (t = Fo()) && (Io(t, n), Lo(t)), e++;
|
|
3361
3361
|
},
|
|
3362
3362
|
remove: function() {
|
|
3363
3363
|
e--, !e && t && (t.parentNode && t.parentNode.removeChild(t), t = null);
|
|
3364
3364
|
}
|
|
3365
3365
|
};
|
|
3366
|
-
},
|
|
3367
|
-
var e =
|
|
3366
|
+
}, zo = function() {
|
|
3367
|
+
var e = Ro();
|
|
3368
3368
|
return function(t, n) {
|
|
3369
3369
|
F.useEffect(function() {
|
|
3370
3370
|
return e.add(t), function() {
|
|
@@ -3372,43 +3372,43 @@ var zo = function() {
|
|
|
3372
3372
|
};
|
|
3373
3373
|
}, [t && n]);
|
|
3374
3374
|
};
|
|
3375
|
-
},
|
|
3376
|
-
var e =
|
|
3375
|
+
}, Bo = function() {
|
|
3376
|
+
var e = zo();
|
|
3377
3377
|
return function(t) {
|
|
3378
3378
|
var n = t.styles, r = t.dynamic;
|
|
3379
3379
|
return e(n, r), null;
|
|
3380
3380
|
};
|
|
3381
|
-
},
|
|
3381
|
+
}, Vo = {
|
|
3382
3382
|
left: 0,
|
|
3383
3383
|
top: 0,
|
|
3384
3384
|
right: 0,
|
|
3385
3385
|
gap: 0
|
|
3386
|
-
},
|
|
3386
|
+
}, Ho = function(e) {
|
|
3387
3387
|
return parseInt(e || "", 10) || 0;
|
|
3388
|
-
},
|
|
3388
|
+
}, Uo = function(e) {
|
|
3389
3389
|
var t = window.getComputedStyle(document.body), n = t[e === "padding" ? "paddingLeft" : "marginLeft"], r = t[e === "padding" ? "paddingTop" : "marginTop"], i = t[e === "padding" ? "paddingRight" : "marginRight"];
|
|
3390
3390
|
return [
|
|
3391
|
-
|
|
3392
|
-
|
|
3393
|
-
|
|
3391
|
+
Ho(n),
|
|
3392
|
+
Ho(r),
|
|
3393
|
+
Ho(i)
|
|
3394
3394
|
];
|
|
3395
|
-
},
|
|
3396
|
-
if (e === void 0 && (e = "margin"), typeof window > "u") return
|
|
3397
|
-
var t =
|
|
3395
|
+
}, Wo = function(e) {
|
|
3396
|
+
if (e === void 0 && (e = "margin"), typeof window > "u") return Vo;
|
|
3397
|
+
var t = Uo(e), n = document.documentElement.clientWidth, r = window.innerWidth;
|
|
3398
3398
|
return {
|
|
3399
3399
|
left: t[0],
|
|
3400
3400
|
top: t[1],
|
|
3401
3401
|
right: t[2],
|
|
3402
3402
|
gap: Math.max(0, r - n + t[2] - t[0])
|
|
3403
3403
|
};
|
|
3404
|
-
},
|
|
3404
|
+
}, Go = Bo(), Ko = "data-scroll-locked", qo = function(e, t, n, r) {
|
|
3405
3405
|
var i = e.left, a = e.top, o = e.right, s = e.gap;
|
|
3406
3406
|
return n === void 0 && (n = "margin"), `
|
|
3407
|
-
.${
|
|
3407
|
+
.${vo} {
|
|
3408
3408
|
overflow: hidden ${r};
|
|
3409
3409
|
padding-right: ${s}px ${r};
|
|
3410
3410
|
}
|
|
3411
|
-
body[${
|
|
3411
|
+
body[${Ko}] {
|
|
3412
3412
|
overflow: hidden ${r};
|
|
3413
3413
|
overscroll-behavior: contain;
|
|
3414
3414
|
${[
|
|
@@ -3425,122 +3425,122 @@ var zo = function() {
|
|
|
3425
3425
|
].filter(Boolean).join("")}
|
|
3426
3426
|
}
|
|
3427
3427
|
|
|
3428
|
-
.${
|
|
3428
|
+
.${go} {
|
|
3429
3429
|
right: ${s}px ${r};
|
|
3430
3430
|
}
|
|
3431
3431
|
|
|
3432
|
-
.${
|
|
3432
|
+
.${_o} {
|
|
3433
3433
|
margin-right: ${s}px ${r};
|
|
3434
3434
|
}
|
|
3435
3435
|
|
|
3436
|
-
.${
|
|
3436
|
+
.${go} .${go} {
|
|
3437
3437
|
right: 0 ${r};
|
|
3438
3438
|
}
|
|
3439
3439
|
|
|
3440
|
-
.${
|
|
3440
|
+
.${_o} .${_o} {
|
|
3441
3441
|
margin-right: 0 ${r};
|
|
3442
3442
|
}
|
|
3443
3443
|
|
|
3444
|
-
body[${
|
|
3445
|
-
${
|
|
3444
|
+
body[${Ko}] {
|
|
3445
|
+
${yo}: ${s}px;
|
|
3446
3446
|
}
|
|
3447
3447
|
`;
|
|
3448
|
-
},
|
|
3448
|
+
}, Jo = function() {
|
|
3449
3449
|
var e = parseInt(document.body.getAttribute("data-scroll-locked") || "0", 10);
|
|
3450
3450
|
return isFinite(e) ? e : 0;
|
|
3451
|
-
},
|
|
3451
|
+
}, Yo = function() {
|
|
3452
3452
|
F.useEffect(function() {
|
|
3453
|
-
return document.body.setAttribute(
|
|
3454
|
-
var e =
|
|
3455
|
-
e <= 0 ? document.body.removeAttribute(
|
|
3453
|
+
return document.body.setAttribute(Ko, (Jo() + 1).toString()), function() {
|
|
3454
|
+
var e = Jo() - 1;
|
|
3455
|
+
e <= 0 ? document.body.removeAttribute(Ko) : document.body.setAttribute(Ko, e.toString());
|
|
3456
3456
|
};
|
|
3457
3457
|
}, []);
|
|
3458
|
-
},
|
|
3458
|
+
}, Xo = function(e) {
|
|
3459
3459
|
var t = e.noRelative, n = e.noImportant, r = e.gapMode, i = r === void 0 ? "margin" : r;
|
|
3460
|
-
|
|
3460
|
+
Yo();
|
|
3461
3461
|
var a = F.useMemo(function() {
|
|
3462
|
-
return
|
|
3462
|
+
return Wo(i);
|
|
3463
3463
|
}, [i]);
|
|
3464
|
-
return F.createElement(
|
|
3465
|
-
},
|
|
3464
|
+
return F.createElement(Go, { styles: qo(a, !t, i, n ? "" : "!important") });
|
|
3465
|
+
}, Zo = !1;
|
|
3466
3466
|
if (typeof window < "u") try {
|
|
3467
|
-
var
|
|
3468
|
-
return
|
|
3467
|
+
var Qo = Object.defineProperty({}, "passive", { get: function() {
|
|
3468
|
+
return Zo = !0, !0;
|
|
3469
3469
|
} });
|
|
3470
|
-
window.addEventListener("test",
|
|
3470
|
+
window.addEventListener("test", Qo, Qo), window.removeEventListener("test", Qo, Qo);
|
|
3471
3471
|
} catch {
|
|
3472
|
-
|
|
3472
|
+
Zo = !1;
|
|
3473
3473
|
}
|
|
3474
|
-
var
|
|
3474
|
+
var $o = Zo ? { passive: !1 } : !1, es = function(e) {
|
|
3475
3475
|
return e.tagName === "TEXTAREA";
|
|
3476
|
-
},
|
|
3476
|
+
}, ts = function(e, t) {
|
|
3477
3477
|
if (!(e instanceof Element)) return !1;
|
|
3478
3478
|
var n = window.getComputedStyle(e);
|
|
3479
|
-
return n[t] !== "hidden" && !(n.overflowY === n.overflowX && !
|
|
3479
|
+
return n[t] !== "hidden" && !(n.overflowY === n.overflowX && !es(e) && n[t] === "visible");
|
|
3480
|
+
}, ns = function(e) {
|
|
3481
|
+
return ts(e, "overflowY");
|
|
3480
3482
|
}, rs = function(e) {
|
|
3481
|
-
return
|
|
3482
|
-
}, is = function(e) {
|
|
3483
|
-
return ns(e, "overflowX");
|
|
3484
|
-
}, as = function(e, t) {
|
|
3483
|
+
return ts(e, "overflowX");
|
|
3484
|
+
}, is = function(e, t) {
|
|
3485
3485
|
var n = t.ownerDocument, r = t;
|
|
3486
3486
|
do {
|
|
3487
|
-
if (typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host),
|
|
3488
|
-
var i =
|
|
3487
|
+
if (typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host), ss(e, r)) {
|
|
3488
|
+
var i = cs(e, r);
|
|
3489
3489
|
if (i[1] > i[2]) return !0;
|
|
3490
3490
|
}
|
|
3491
3491
|
r = r.parentNode;
|
|
3492
3492
|
} while (r && r !== n.body);
|
|
3493
3493
|
return !1;
|
|
3494
|
-
},
|
|
3494
|
+
}, as = function(e) {
|
|
3495
3495
|
return [
|
|
3496
3496
|
e.scrollTop,
|
|
3497
3497
|
e.scrollHeight,
|
|
3498
3498
|
e.clientHeight
|
|
3499
3499
|
];
|
|
3500
|
-
},
|
|
3500
|
+
}, os = function(e) {
|
|
3501
3501
|
return [
|
|
3502
3502
|
e.scrollLeft,
|
|
3503
3503
|
e.scrollWidth,
|
|
3504
3504
|
e.clientWidth
|
|
3505
3505
|
];
|
|
3506
|
+
}, ss = function(e, t) {
|
|
3507
|
+
return e === "v" ? ns(t) : rs(t);
|
|
3506
3508
|
}, cs = function(e, t) {
|
|
3507
|
-
return e === "v" ?
|
|
3509
|
+
return e === "v" ? as(t) : os(t);
|
|
3508
3510
|
}, ls = function(e, t) {
|
|
3509
|
-
return e === "v" ? os(t) : ss(t);
|
|
3510
|
-
}, us = function(e, t) {
|
|
3511
3511
|
return e === "h" && t === "rtl" ? -1 : 1;
|
|
3512
|
-
},
|
|
3513
|
-
var a =
|
|
3512
|
+
}, us = function(e, t, n, r, i) {
|
|
3513
|
+
var a = ls(e, window.getComputedStyle(t).direction), o = a * r, s = n.target, c = t.contains(s), l = !1, u = o > 0, d = 0, f = 0;
|
|
3514
3514
|
do {
|
|
3515
3515
|
if (!s) break;
|
|
3516
|
-
var p =
|
|
3517
|
-
(m || h) &&
|
|
3516
|
+
var p = cs(e, s), m = p[0], h = p[1] - p[2] - a * m;
|
|
3517
|
+
(m || h) && ss(e, s) && (d += h, f += m);
|
|
3518
3518
|
var g = s.parentNode;
|
|
3519
3519
|
s = g && g.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? g.host : g;
|
|
3520
3520
|
} while (!c && s !== document.body || c && (t.contains(s) || t === s));
|
|
3521
3521
|
return (u && (i && Math.abs(d) < 1 || !i && o > d) || !u && (i && Math.abs(f) < 1 || !i && -o > f)) && (l = !0), l;
|
|
3522
|
-
},
|
|
3522
|
+
}, ds = function(e) {
|
|
3523
3523
|
return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
|
|
3524
|
-
},
|
|
3524
|
+
}, fs = function(e) {
|
|
3525
3525
|
return [e.deltaX, e.deltaY];
|
|
3526
|
-
},
|
|
3526
|
+
}, ps = function(e) {
|
|
3527
3527
|
return e && "current" in e ? e.current : e;
|
|
3528
|
-
},
|
|
3528
|
+
}, ms = function(e, t) {
|
|
3529
3529
|
return e[0] === t[0] && e[1] === t[1];
|
|
3530
|
-
},
|
|
3530
|
+
}, hs = function(e) {
|
|
3531
3531
|
return `
|
|
3532
3532
|
.block-interactivity-${e} {pointer-events: none;}
|
|
3533
3533
|
.allow-interactivity-${e} {pointer-events: all;}
|
|
3534
3534
|
`;
|
|
3535
|
-
},
|
|
3536
|
-
function
|
|
3537
|
-
var t = F.useRef([]), n = F.useRef([0, 0]), r = F.useRef(), i = F.useState(
|
|
3535
|
+
}, gs = 0, _s = [];
|
|
3536
|
+
function vs(e) {
|
|
3537
|
+
var t = F.useRef([]), n = F.useRef([0, 0]), r = F.useRef(), i = F.useState(gs++)[0], a = F.useState(Bo)[0], o = F.useRef(e);
|
|
3538
3538
|
F.useEffect(function() {
|
|
3539
3539
|
o.current = e;
|
|
3540
3540
|
}, [e]), F.useEffect(function() {
|
|
3541
3541
|
if (e.inert) {
|
|
3542
3542
|
document.body.classList.add(`block-interactivity-${i}`);
|
|
3543
|
-
var t =
|
|
3543
|
+
var t = ho([e.lockRef.current], (e.shards || []).map(ps), !0).filter(Boolean);
|
|
3544
3544
|
return t.forEach(function(e) {
|
|
3545
3545
|
return e.classList.add(`allow-interactivity-${i}`);
|
|
3546
3546
|
}), function() {
|
|
@@ -3556,28 +3556,28 @@ function ys(e) {
|
|
|
3556
3556
|
]);
|
|
3557
3557
|
var s = F.useCallback(function(e, t) {
|
|
3558
3558
|
if ("touches" in e && e.touches.length === 2 || e.type === "wheel" && e.ctrlKey) return !o.current.allowPinchZoom;
|
|
3559
|
-
var i =
|
|
3559
|
+
var i = ds(e), a = n.current, s = "deltaX" in e ? e.deltaX : a[0] - i[0], c = "deltaY" in e ? e.deltaY : a[1] - i[1], l, u = e.target, d = Math.abs(s) > Math.abs(c) ? "h" : "v";
|
|
3560
3560
|
if ("touches" in e && d === "h" && u.type === "range") return !1;
|
|
3561
3561
|
var f = window.getSelection(), p = f && f.anchorNode;
|
|
3562
3562
|
if (p && (p === u || p.contains(u))) return !1;
|
|
3563
|
-
var m =
|
|
3563
|
+
var m = is(d, u);
|
|
3564
3564
|
if (!m) return !0;
|
|
3565
|
-
if (m ? l = d : (l = d === "v" ? "h" : "v", m =
|
|
3565
|
+
if (m ? l = d : (l = d === "v" ? "h" : "v", m = is(d, u)), !m) return !1;
|
|
3566
3566
|
if (!r.current && "changedTouches" in e && (s || c) && (r.current = l), !l) return !0;
|
|
3567
3567
|
var h = r.current || l;
|
|
3568
|
-
return
|
|
3568
|
+
return us(h, t, e, h === "h" ? s : c, !0);
|
|
3569
3569
|
}, []), c = F.useCallback(function(e) {
|
|
3570
3570
|
var n = e;
|
|
3571
|
-
if (!(!
|
|
3572
|
-
var r = "deltaY" in n ?
|
|
3573
|
-
return e.name === n.type && (e.target === n.target || n.target === e.shadowParent) &&
|
|
3571
|
+
if (!(!_s.length || _s[_s.length - 1] !== a)) {
|
|
3572
|
+
var r = "deltaY" in n ? fs(n) : ds(n), i = t.current.filter(function(e) {
|
|
3573
|
+
return e.name === n.type && (e.target === n.target || n.target === e.shadowParent) && ms(e.delta, r);
|
|
3574
3574
|
})[0];
|
|
3575
3575
|
if (i && i.should) {
|
|
3576
3576
|
n.cancelable && n.preventDefault();
|
|
3577
3577
|
return;
|
|
3578
3578
|
}
|
|
3579
3579
|
if (!i) {
|
|
3580
|
-
var c = (o.current.shards || []).map(
|
|
3580
|
+
var c = (o.current.shards || []).map(ps).filter(Boolean).filter(function(e) {
|
|
3581
3581
|
return e.contains(n.target);
|
|
3582
3582
|
});
|
|
3583
3583
|
(c.length > 0 ? s(n, c[0]) : !o.current.noIsolation) && n.cancelable && n.preventDefault();
|
|
@@ -3589,7 +3589,7 @@ function ys(e) {
|
|
|
3589
3589
|
delta: n,
|
|
3590
3590
|
target: r,
|
|
3591
3591
|
should: i,
|
|
3592
|
-
shadowParent:
|
|
3592
|
+
shadowParent: ys(r)
|
|
3593
3593
|
};
|
|
3594
3594
|
t.current.push(a), setTimeout(function() {
|
|
3595
3595
|
t.current = t.current.filter(function(e) {
|
|
@@ -3597,56 +3597,56 @@ function ys(e) {
|
|
|
3597
3597
|
});
|
|
3598
3598
|
}, 1);
|
|
3599
3599
|
}, []), u = F.useCallback(function(e) {
|
|
3600
|
-
n.current =
|
|
3600
|
+
n.current = ds(e), r.current = void 0;
|
|
3601
3601
|
}, []), d = F.useCallback(function(t) {
|
|
3602
|
-
l(t.type, ps(t), t.target, s(t, e.lockRef.current));
|
|
3603
|
-
}, []), f = F.useCallback(function(t) {
|
|
3604
3602
|
l(t.type, fs(t), t.target, s(t, e.lockRef.current));
|
|
3603
|
+
}, []), f = F.useCallback(function(t) {
|
|
3604
|
+
l(t.type, ds(t), t.target, s(t, e.lockRef.current));
|
|
3605
3605
|
}, []);
|
|
3606
3606
|
F.useEffect(function() {
|
|
3607
|
-
return
|
|
3607
|
+
return _s.push(a), e.setCallbacks({
|
|
3608
3608
|
onScrollCapture: d,
|
|
3609
3609
|
onWheelCapture: d,
|
|
3610
3610
|
onTouchMoveCapture: f
|
|
3611
|
-
}), document.addEventListener("wheel", c,
|
|
3612
|
-
|
|
3611
|
+
}), document.addEventListener("wheel", c, $o), document.addEventListener("touchmove", c, $o), document.addEventListener("touchstart", u, $o), function() {
|
|
3612
|
+
_s = _s.filter(function(e) {
|
|
3613
3613
|
return e !== a;
|
|
3614
|
-
}), document.removeEventListener("wheel", c,
|
|
3614
|
+
}), document.removeEventListener("wheel", c, $o), document.removeEventListener("touchmove", c, $o), document.removeEventListener("touchstart", u, $o);
|
|
3615
3615
|
};
|
|
3616
3616
|
}, []);
|
|
3617
3617
|
var p = e.removeScrollBar, m = e.inert;
|
|
3618
|
-
return F.createElement(F.Fragment, null, m ? F.createElement(a, { styles:
|
|
3618
|
+
return F.createElement(F.Fragment, null, m ? F.createElement(a, { styles: hs(i) }) : null, p ? F.createElement(Xo, {
|
|
3619
3619
|
noRelative: e.noRelative,
|
|
3620
3620
|
gapMode: e.gapMode
|
|
3621
3621
|
}) : null);
|
|
3622
3622
|
}
|
|
3623
|
-
function
|
|
3623
|
+
function ys(e) {
|
|
3624
3624
|
for (var t = null; e !== null;) e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
|
|
3625
3625
|
return t;
|
|
3626
3626
|
}
|
|
3627
3627
|
//#endregion
|
|
3628
3628
|
//#region ../node_modules/react-remove-scroll/dist/es2015/sidecar.js
|
|
3629
|
-
var
|
|
3630
|
-
return F.createElement(
|
|
3629
|
+
var bs = ko(Ao, vs), xs = F.forwardRef(function(e, t) {
|
|
3630
|
+
return F.createElement(Mo, $({}, e, {
|
|
3631
3631
|
ref: t,
|
|
3632
|
-
sideCar:
|
|
3632
|
+
sideCar: bs
|
|
3633
3633
|
}));
|
|
3634
3634
|
});
|
|
3635
|
-
|
|
3635
|
+
xs.classNames = Mo.classNames;
|
|
3636
3636
|
//#endregion
|
|
3637
3637
|
//#region ../node_modules/@radix-ui/react-popover/dist/index.mjs
|
|
3638
|
-
var
|
|
3639
|
-
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, s =
|
|
3638
|
+
var Ss = "Popover", [Cs, ws] = Sn(Ss, [Ca]), Ts = Ca(), [Es, Ds] = Cs(Ss), Os = (e) => {
|
|
3639
|
+
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, s = Ts(t), c = F.useRef(null), [l, u] = F.useState(!1), [d, f] = Za({
|
|
3640
3640
|
prop: r,
|
|
3641
3641
|
defaultProp: i ?? !1,
|
|
3642
3642
|
onChange: a,
|
|
3643
|
-
caller:
|
|
3643
|
+
caller: Ss
|
|
3644
3644
|
});
|
|
3645
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
3645
|
+
return /* @__PURE__ */ (0, I.jsx)(za, {
|
|
3646
3646
|
...s,
|
|
3647
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3647
|
+
children: /* @__PURE__ */ (0, I.jsx)(Es, {
|
|
3648
3648
|
scope: t,
|
|
3649
|
-
contentId:
|
|
3649
|
+
contentId: mr(),
|
|
3650
3650
|
triggerRef: c,
|
|
3651
3651
|
open: d,
|
|
3652
3652
|
onOpenChange: f,
|
|
@@ -3659,42 +3659,42 @@ var Cs = "Popover", [ws, Ts] = Cn(Cs, [wa]), Es = wa(), [Ds, Os] = ws(Cs), ks =
|
|
|
3659
3659
|
})
|
|
3660
3660
|
});
|
|
3661
3661
|
};
|
|
3662
|
-
|
|
3663
|
-
var
|
|
3664
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3665
|
-
return F.useEffect(() => (o(), () => s()), [o, s]), /* @__PURE__ */ (0, I.jsx)(
|
|
3662
|
+
Os.displayName = Ss;
|
|
3663
|
+
var ks = "PopoverAnchor", As = F.forwardRef((e, t) => {
|
|
3664
|
+
let { __scopePopover: n, ...r } = e, i = Ds(ks, n), a = Ts(n), { onCustomAnchorAdd: o, onCustomAnchorRemove: s } = i;
|
|
3665
|
+
return F.useEffect(() => (o(), () => s()), [o, s]), /* @__PURE__ */ (0, I.jsx)(Ba, {
|
|
3666
3666
|
...a,
|
|
3667
3667
|
...r,
|
|
3668
3668
|
ref: t
|
|
3669
3669
|
});
|
|
3670
3670
|
});
|
|
3671
|
-
|
|
3672
|
-
var
|
|
3673
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3671
|
+
As.displayName = ks;
|
|
3672
|
+
var js = "PopoverTrigger", Ms = F.forwardRef((e, t) => {
|
|
3673
|
+
let { __scopePopover: n, ...r } = e, i = Ds(js, n), a = Ts(n), o = V(t, i.triggerRef), s = /* @__PURE__ */ (0, I.jsx)(H.button, {
|
|
3674
3674
|
type: "button",
|
|
3675
3675
|
"aria-haspopup": "dialog",
|
|
3676
3676
|
"aria-expanded": i.open,
|
|
3677
3677
|
"aria-controls": i.contentId,
|
|
3678
|
-
"data-state":
|
|
3678
|
+
"data-state": qs(i.open),
|
|
3679
3679
|
...r,
|
|
3680
3680
|
ref: o,
|
|
3681
3681
|
onClick: B(e.onClick, i.onOpenToggle)
|
|
3682
3682
|
});
|
|
3683
|
-
return i.hasCustomAnchor ? s : /* @__PURE__ */ (0, I.jsx)(
|
|
3683
|
+
return i.hasCustomAnchor ? s : /* @__PURE__ */ (0, I.jsx)(Ba, {
|
|
3684
3684
|
asChild: !0,
|
|
3685
3685
|
...a,
|
|
3686
3686
|
children: s
|
|
3687
3687
|
});
|
|
3688
3688
|
});
|
|
3689
|
-
|
|
3690
|
-
var
|
|
3691
|
-
let { __scopePopover: t, forceMount: n, children: r, container: i } = e, a =
|
|
3692
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
3689
|
+
Ms.displayName = js;
|
|
3690
|
+
var Ns = "PopoverPortal", [Ps, Fs] = Cs(Ns, { forceMount: void 0 }), Is = (e) => {
|
|
3691
|
+
let { __scopePopover: t, forceMount: n, children: r, container: i } = e, a = Ds(Ns, t);
|
|
3692
|
+
return /* @__PURE__ */ (0, I.jsx)(Ps, {
|
|
3693
3693
|
scope: t,
|
|
3694
3694
|
forceMount: n,
|
|
3695
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3695
|
+
children: /* @__PURE__ */ (0, I.jsx)(Ka, {
|
|
3696
3696
|
present: n || a.open,
|
|
3697
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3697
|
+
children: /* @__PURE__ */ (0, I.jsx)(Wa, {
|
|
3698
3698
|
asChild: !0,
|
|
3699
3699
|
container: i,
|
|
3700
3700
|
children: r
|
|
@@ -3702,30 +3702,30 @@ var Ps = "PopoverPortal", [Fs, Is] = ws(Ps, { forceMount: void 0 }), Ls = (e) =>
|
|
|
3702
3702
|
})
|
|
3703
3703
|
});
|
|
3704
3704
|
};
|
|
3705
|
-
|
|
3706
|
-
var
|
|
3707
|
-
let n =
|
|
3708
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
3705
|
+
Is.displayName = Ns;
|
|
3706
|
+
var Ls = "PopoverContent", Rs = F.forwardRef((e, t) => {
|
|
3707
|
+
let n = Fs(Ls, e.__scopePopover), { forceMount: r = n.forceMount, ...i } = e, a = Ds(Ls, e.__scopePopover);
|
|
3708
|
+
return /* @__PURE__ */ (0, I.jsx)(Ka, {
|
|
3709
3709
|
present: r || a.open,
|
|
3710
|
-
children: a.modal ? /* @__PURE__ */ (0, I.jsx)(
|
|
3710
|
+
children: a.modal ? /* @__PURE__ */ (0, I.jsx)(Bs, {
|
|
3711
3711
|
...i,
|
|
3712
3712
|
ref: t
|
|
3713
|
-
}) : /* @__PURE__ */ (0, I.jsx)(
|
|
3713
|
+
}) : /* @__PURE__ */ (0, I.jsx)(Vs, {
|
|
3714
3714
|
...i,
|
|
3715
3715
|
ref: t
|
|
3716
3716
|
})
|
|
3717
3717
|
});
|
|
3718
3718
|
});
|
|
3719
|
-
|
|
3720
|
-
var
|
|
3721
|
-
let n =
|
|
3719
|
+
Rs.displayName = Ls;
|
|
3720
|
+
var zs = /* @__PURE__ */ wn("PopoverContent.RemoveScroll"), Bs = F.forwardRef((e, t) => {
|
|
3721
|
+
let n = Ds(Ls, e.__scopePopover), r = F.useRef(null), i = V(t, r), a = F.useRef(!1);
|
|
3722
3722
|
return F.useEffect(() => {
|
|
3723
3723
|
let e = r.current;
|
|
3724
|
-
if (e) return
|
|
3725
|
-
}, []), /* @__PURE__ */ (0, I.jsx)(
|
|
3726
|
-
as:
|
|
3724
|
+
if (e) return co(e);
|
|
3725
|
+
}, []), /* @__PURE__ */ (0, I.jsx)(xs, {
|
|
3726
|
+
as: zs,
|
|
3727
3727
|
allowPinchZoom: !0,
|
|
3728
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3728
|
+
children: /* @__PURE__ */ (0, I.jsx)(Hs, {
|
|
3729
3729
|
...e,
|
|
3730
3730
|
ref: i,
|
|
3731
3731
|
trapFocus: n.open,
|
|
@@ -3740,9 +3740,9 @@ var Bs = /* @__PURE__ */ Tn("PopoverContent.RemoveScroll"), Vs = F.forwardRef((e
|
|
|
3740
3740
|
onFocusOutside: B(e.onFocusOutside, (e) => e.preventDefault(), { checkForDefaultPrevented: !1 })
|
|
3741
3741
|
})
|
|
3742
3742
|
});
|
|
3743
|
-
}),
|
|
3744
|
-
let n =
|
|
3745
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
3743
|
+
}), Vs = F.forwardRef((e, t) => {
|
|
3744
|
+
let n = Ds(Ls, e.__scopePopover), r = F.useRef(!1), i = F.useRef(!1);
|
|
3745
|
+
return /* @__PURE__ */ (0, I.jsx)(Hs, {
|
|
3746
3746
|
...e,
|
|
3747
3747
|
ref: t,
|
|
3748
3748
|
trapFocus: !1,
|
|
@@ -3756,15 +3756,15 @@ var Bs = /* @__PURE__ */ Tn("PopoverContent.RemoveScroll"), Vs = F.forwardRef((e
|
|
|
3756
3756
|
n.triggerRef.current?.contains(a) && t.preventDefault(), t.detail.originalEvent.type === "focusin" && i.current && t.preventDefault();
|
|
3757
3757
|
}
|
|
3758
3758
|
});
|
|
3759
|
-
}),
|
|
3760
|
-
let { __scopePopover: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, disableOutsidePointerEvents: o, onEscapeKeyDown: s, onPointerDownOutside: c, onFocusOutside: l, onInteractOutside: u, ...d } = e, f =
|
|
3761
|
-
return
|
|
3759
|
+
}), Hs = F.forwardRef((e, t) => {
|
|
3760
|
+
let { __scopePopover: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, disableOutsidePointerEvents: o, onEscapeKeyDown: s, onPointerDownOutside: c, onFocusOutside: l, onInteractOutside: u, ...d } = e, f = Ds(Ls, n), p = Ts(n);
|
|
3761
|
+
return qn(), /* @__PURE__ */ (0, I.jsx)($n, {
|
|
3762
3762
|
asChild: !0,
|
|
3763
3763
|
loop: !0,
|
|
3764
3764
|
trapped: r,
|
|
3765
3765
|
onMountAutoFocus: i,
|
|
3766
3766
|
onUnmountAutoFocus: a,
|
|
3767
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3767
|
+
children: /* @__PURE__ */ (0, I.jsx)(zn, {
|
|
3768
3768
|
asChild: !0,
|
|
3769
3769
|
disableOutsidePointerEvents: o,
|
|
3770
3770
|
onInteractOutside: u,
|
|
@@ -3772,8 +3772,8 @@ var Bs = /* @__PURE__ */ Tn("PopoverContent.RemoveScroll"), Vs = F.forwardRef((e
|
|
|
3772
3772
|
onPointerDownOutside: c,
|
|
3773
3773
|
onFocusOutside: l,
|
|
3774
3774
|
onDismiss: () => f.onOpenChange(!1),
|
|
3775
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3776
|
-
"data-state":
|
|
3775
|
+
children: /* @__PURE__ */ (0, I.jsx)(Va, {
|
|
3776
|
+
"data-state": qs(f.open),
|
|
3777
3777
|
role: "dialog",
|
|
3778
3778
|
id: f.contentId,
|
|
3779
3779
|
...p,
|
|
@@ -3790,8 +3790,8 @@ var Bs = /* @__PURE__ */ Tn("PopoverContent.RemoveScroll"), Vs = F.forwardRef((e
|
|
|
3790
3790
|
})
|
|
3791
3791
|
})
|
|
3792
3792
|
});
|
|
3793
|
-
}),
|
|
3794
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3793
|
+
}), Us = "PopoverClose", Ws = F.forwardRef((e, t) => {
|
|
3794
|
+
let { __scopePopover: n, ...r } = e, i = Ds(Us, n);
|
|
3795
3795
|
return /* @__PURE__ */ (0, I.jsx)(H.button, {
|
|
3796
3796
|
type: "button",
|
|
3797
3797
|
...r,
|
|
@@ -3799,53 +3799,47 @@ var Bs = /* @__PURE__ */ Tn("PopoverContent.RemoveScroll"), Vs = F.forwardRef((e
|
|
|
3799
3799
|
onClick: B(e.onClick, () => i.onOpenChange(!1))
|
|
3800
3800
|
});
|
|
3801
3801
|
});
|
|
3802
|
-
|
|
3803
|
-
var
|
|
3804
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3805
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
3802
|
+
Ws.displayName = Us;
|
|
3803
|
+
var Gs = "PopoverArrow", Ks = F.forwardRef((e, t) => {
|
|
3804
|
+
let { __scopePopover: n, ...r } = e, i = Ts(n);
|
|
3805
|
+
return /* @__PURE__ */ (0, I.jsx)(Ha, {
|
|
3806
3806
|
...i,
|
|
3807
3807
|
...r,
|
|
3808
3808
|
ref: t
|
|
3809
3809
|
});
|
|
3810
3810
|
});
|
|
3811
|
-
|
|
3812
|
-
function
|
|
3811
|
+
Ks.displayName = Gs;
|
|
3812
|
+
function qs(e) {
|
|
3813
3813
|
return e ? "open" : "closed";
|
|
3814
3814
|
}
|
|
3815
|
-
var
|
|
3815
|
+
var Js = Os, Ys = Ms, Xs = Rs, Zs = Ks, Qs = ({ message: e, trigger: t, initialVisibility: n = !1 }) => /* @__PURE__ */ (0, I.jsxs)(Js, {
|
|
3816
3816
|
defaultOpen: n,
|
|
3817
3817
|
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
3818
3818
|
className: "flex justify-center",
|
|
3819
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3819
|
+
children: /* @__PURE__ */ (0, I.jsx)(Ys, {
|
|
3820
3820
|
asChild: !0,
|
|
3821
3821
|
children: t
|
|
3822
3822
|
})
|
|
3823
|
-
}), /* @__PURE__ */ (0, I.jsxs)(
|
|
3823
|
+
}), /* @__PURE__ */ (0, I.jsxs)(Xs, {
|
|
3824
3824
|
className: "sid-popover__container",
|
|
3825
3825
|
sideOffset: 10,
|
|
3826
3826
|
side: "bottom",
|
|
3827
|
-
children: [e, /* @__PURE__ */ (0, I.jsx)(
|
|
3827
|
+
children: [e, /* @__PURE__ */ (0, I.jsx)(Zs, { className: "sid-popover__caret" })]
|
|
3828
3828
|
})]
|
|
3829
|
-
}),
|
|
3830
|
-
|
|
3831
|
-
|
|
3832
|
-
|
|
3833
|
-
|
|
3834
|
-
|
|
3835
|
-
|
|
3836
|
-
|
|
3837
|
-
}),
|
|
3838
|
-
|
|
3839
|
-
|
|
3840
|
-
|
|
3841
|
-
|
|
3842
|
-
|
|
3843
|
-
"\xA0",
|
|
3844
|
-
/* @__PURE__ */ (0, I.jsx)(Pt, { verificationService: e })
|
|
3845
|
-
] })
|
|
3846
|
-
});
|
|
3847
|
-
}, tc = ({ verificationService: e }) => {
|
|
3848
|
-
let t = ve(), n = u(() => e.programTheme.remainingRewardCodes, null);
|
|
3829
|
+
}), $s = ({ verificationService: e, initialVisibility: t = !1 }) => /* @__PURE__ */ (0, I.jsx)(Qs, {
|
|
3830
|
+
initialVisibility: t,
|
|
3831
|
+
trigger: /* @__PURE__ */ (0, I.jsx)("button", {
|
|
3832
|
+
type: "button",
|
|
3833
|
+
className: "sid-h-btn-link-like sid-link sid-how-does-verifying-work-hoverable",
|
|
3834
|
+
children: /* @__PURE__ */ (0, I.jsx)(M, { id: "howDoesVerifyingWork" })
|
|
3835
|
+
}),
|
|
3836
|
+
message: /* @__PURE__ */ (0, I.jsxs)("div", { children: [
|
|
3837
|
+
/* @__PURE__ */ (0, I.jsx)(M, { id: "step.personalInfo.howDoesVerifyingWorkDetails" }),
|
|
3838
|
+
"\xA0",
|
|
3839
|
+
/* @__PURE__ */ (0, I.jsx)(Nt, { verificationService: e })
|
|
3840
|
+
] })
|
|
3841
|
+
}), ec = ({ verificationService: e }) => {
|
|
3842
|
+
let t = ge(), n = u(() => e.programTheme.remainingRewardCodes, null);
|
|
3849
3843
|
return typeof n == "number" && n > 0 ? /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
3850
3844
|
className: "sid-rewards-remaining",
|
|
3851
3845
|
role: "note",
|
|
@@ -3859,25 +3853,22 @@ var Ys = ks, Xs = Ns, Zs = zs, Qs = qs, $s = ({ message: e, trigger: t, initialV
|
|
|
3859
3853
|
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-sm" })
|
|
3860
3854
|
]
|
|
3861
3855
|
}) : null;
|
|
3862
|
-
},
|
|
3863
|
-
let { verificationResponse: n } = e, r =
|
|
3856
|
+
}, tc = (e) => e !== void 0, nc = ({ verificationService: e, classNameIdentifier: t = void 0 }) => {
|
|
3857
|
+
let { verificationResponse: n } = e, r = tc(n) ? Ue(n) : !1;
|
|
3864
3858
|
return /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3865
3859
|
className: "sid-personal-info-header",
|
|
3866
|
-
children: /* @__PURE__ */ (0, I.jsxs)(
|
|
3860
|
+
children: /* @__PURE__ */ (0, I.jsxs)(yn, {
|
|
3867
3861
|
verificationService: e,
|
|
3868
|
-
title: /* @__PURE__ */ (0, I.jsx)(M, {
|
|
3869
|
-
id: i,
|
|
3870
|
-
context: n.segment
|
|
3871
|
-
}),
|
|
3862
|
+
title: /* @__PURE__ */ (0, I.jsx)(M, { id: r ? "step.personalInfo.tryAgain.title" : "step.personalInfo.title" }),
|
|
3872
3863
|
classNameIdentifier: t,
|
|
3873
3864
|
children: [
|
|
3874
3865
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
3875
3866
|
className: `sid-header__subtitle sid-l-horz-center ${r ? "sid-header__subtitle--error" : ""}`,
|
|
3876
|
-
children: /* @__PURE__ */ (0, I.jsx)(O, { id:
|
|
3867
|
+
children: /* @__PURE__ */ (0, I.jsx)(O, { id: r ? "step.personalInfo.tryAgain.subtitle" : "step.personalInfo.subtitle" })
|
|
3877
3868
|
}),
|
|
3878
3869
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
3879
3870
|
className: "sid-header__how-verifying-works sid-l-horz-center",
|
|
3880
|
-
children: !r && /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(
|
|
3871
|
+
children: !r && /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)($s, { verificationService: e }), /* @__PURE__ */ (0, I.jsx)(ec, { verificationService: e })] })
|
|
3881
3872
|
}),
|
|
3882
3873
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
3883
3874
|
className: "sid-h-medium-text sid-l-space-btm-sm sid-l-space-top-sm",
|
|
@@ -3886,15 +3877,15 @@ var Ys = ks, Xs = Ns, Zs = zs, Qs = qs, $s = ({ message: e, trigger: t, initialV
|
|
|
3886
3877
|
]
|
|
3887
3878
|
})
|
|
3888
3879
|
});
|
|
3889
|
-
},
|
|
3890
|
-
let { isEmbedded: i } =
|
|
3880
|
+
}, rc = () => ({ isEmbedded: !!v("verificationIframeUid") }), ic = ({ layout: e, children: t, verificationService: n, renderAsLandingPage: r }) => {
|
|
3881
|
+
let { isEmbedded: i } = rc();
|
|
3891
3882
|
return !r || i ? /* @__PURE__ */ (0, I.jsx)(I.Fragment, { children: t }) : /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3892
3883
|
className: `sid-layout sid-layout--${e}`,
|
|
3893
3884
|
children: /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
3894
3885
|
className: "sid-layout__container",
|
|
3895
3886
|
children: [e === "fullRight" && /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3896
3887
|
className: "sid-layout__content",
|
|
3897
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3888
|
+
children: /* @__PURE__ */ (0, I.jsx)(nc, {
|
|
3898
3889
|
verificationService: n,
|
|
3899
3890
|
classNameIdentifier: "landing"
|
|
3900
3891
|
})
|
|
@@ -3907,27 +3898,27 @@ var Ys = ks, Xs = Ns, Zs = zs, Qs = qs, $s = ({ message: e, trigger: t, initialV
|
|
|
3907
3898
|
})]
|
|
3908
3899
|
})
|
|
3909
3900
|
});
|
|
3910
|
-
},
|
|
3901
|
+
}, ac = ({ children: e }) => /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3911
3902
|
className: "sid sid-form-wrapper",
|
|
3912
3903
|
children: e
|
|
3913
|
-
}),
|
|
3914
|
-
let a =
|
|
3904
|
+
}), oc = ({ locale: e, programTheme: t, verificationService: n, programId: r }) => {
|
|
3905
|
+
let a = it(), o = _(), c = ve() ?? t, l = ye(fe, be), u = (0, F.useMemo)(() => l ? {
|
|
3915
3906
|
...n.verificationResponse,
|
|
3916
3907
|
...l
|
|
3917
3908
|
} : n.verificationResponse, [l, n.verificationResponse]), d = (0, F.useMemo)(() => ({
|
|
3918
3909
|
...n,
|
|
3919
3910
|
programTheme: c,
|
|
3920
3911
|
verificationResponse: u,
|
|
3921
|
-
formValidationOptions:
|
|
3912
|
+
formValidationOptions: Ot(c, u, n.viewModel)
|
|
3922
3913
|
}), [
|
|
3923
3914
|
n,
|
|
3924
3915
|
c,
|
|
3925
3916
|
u
|
|
3926
|
-
]), f = c.themeChoices?.landingPage?.layout || "center", { renderAs: p } = o, g =
|
|
3917
|
+
]), f = c.themeChoices?.landingPage?.layout || "center", { renderAs: p } = o, g = ot();
|
|
3927
3918
|
F.useEffect(() => {
|
|
3928
3919
|
try {
|
|
3929
3920
|
if (g && d && d.viewModel) {
|
|
3930
|
-
let e = (0,
|
|
3921
|
+
let e = (0, Ct.default)(g);
|
|
3931
3922
|
E(h.flags, e);
|
|
3932
3923
|
let t = s(d.viewModel.metadata || {}, (t) => {
|
|
3933
3924
|
t.flags = e;
|
|
@@ -3947,7 +3938,7 @@ var Ys = ks, Xs = Ns, Zs = zs, Qs = qs, $s = ({ message: e, trigger: t, initialV
|
|
|
3947
3938
|
key: d.verificationResponse.verificationId,
|
|
3948
3939
|
locale: d.verificationResponse.locale,
|
|
3949
3940
|
segment: d.verificationResponse.segment,
|
|
3950
|
-
installType:
|
|
3941
|
+
installType: Ae()
|
|
3951
3942
|
},
|
|
3952
3943
|
program: { key: r }
|
|
3953
3944
|
};
|
|
@@ -3958,29 +3949,29 @@ var Ys = ks, Xs = Ns, Zs = zs, Qs = qs, $s = ({ message: e, trigger: t, initialV
|
|
|
3958
3949
|
_()._launchDarklyFlagCb(g);
|
|
3959
3950
|
} catch {}
|
|
3960
3951
|
}, [g]);
|
|
3961
|
-
let v =
|
|
3952
|
+
let v = ge(), y = ye(fe, ce);
|
|
3962
3953
|
return /* @__PURE__ */ (0, I.jsx)(D, {
|
|
3963
3954
|
locale: "en",
|
|
3964
3955
|
messages: {
|
|
3965
3956
|
...v,
|
|
3966
|
-
...(0,
|
|
3967
|
-
...(0,
|
|
3957
|
+
...(0, _t.default)(i(e)),
|
|
3958
|
+
...(0, _t.default)(y?.[e] ?? {})
|
|
3968
3959
|
},
|
|
3969
|
-
textComponent:
|
|
3970
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3960
|
+
textComponent: _n,
|
|
3961
|
+
children: /* @__PURE__ */ (0, I.jsx)(Dt, {
|
|
3971
3962
|
themeChoices: c.themeChoices,
|
|
3972
3963
|
customCssFromOptions: _().customCss,
|
|
3973
3964
|
children: /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3974
|
-
className: `${
|
|
3975
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3965
|
+
className: `${wt.default.isRtlLang(m(e)) ? "sid-rtl" : "sid-ltr"} sid-locale-${e}`,
|
|
3966
|
+
children: /* @__PURE__ */ (0, I.jsx)(ac, { children: /* @__PURE__ */ (0, I.jsx)(ic, {
|
|
3976
3967
|
layout: f,
|
|
3977
3968
|
verificationService: d,
|
|
3978
3969
|
renderAsLandingPage: p === "landingPage",
|
|
3979
3970
|
children: /* @__PURE__ */ (0, I.jsx)(F.Suspense, {
|
|
3980
|
-
fallback: /* @__PURE__ */ (0, I.jsx)(
|
|
3981
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3971
|
+
fallback: /* @__PURE__ */ (0, I.jsx)(bt, { step: d.loadingStep }),
|
|
3972
|
+
children: /* @__PURE__ */ (0, I.jsx)(ht, {
|
|
3982
3973
|
i18n: ee,
|
|
3983
|
-
children: d.isLoading ? /* @__PURE__ */ (0, I.jsx)(
|
|
3974
|
+
children: d.isLoading ? /* @__PURE__ */ (0, I.jsx)(bt, { step: d.loadingStep }) : /* @__PURE__ */ (0, I.jsxs)("div", { children: [!_().hideTestModeFlag && /* @__PURE__ */ (0, I.jsx)(vn, { verificationService: d }), /* @__PURE__ */ (0, I.jsx)(gn, {
|
|
3984
3975
|
stepToLoad: d.overrideStep || d.verificationResponse.currentStep,
|
|
3985
3976
|
verificationService: d
|
|
3986
3977
|
})] })
|
|
@@ -3990,43 +3981,43 @@ var Ys = ks, Xs = Ns, Zs = zs, Qs = qs, $s = ({ message: e, trigger: t, initialV
|
|
|
3990
3981
|
})
|
|
3991
3982
|
})
|
|
3992
3983
|
}, e);
|
|
3993
|
-
},
|
|
3984
|
+
}, sc = () => {
|
|
3994
3985
|
let e = null;
|
|
3995
3986
|
document.addEventListener("keydown", (t) => {
|
|
3996
3987
|
if (t.key !== "Tab") return;
|
|
3997
3988
|
let n = document.querySelectorAll("button, .sid-link, input, select, textarea, [tabindex]:not([tabindex=\"-1\"]");
|
|
3998
|
-
e = n[n.length - 1], e && !t.shiftKey && document.activeElement === e && (
|
|
3989
|
+
e = n[n.length - 1], e && !t.shiftKey && document.activeElement === e && (tt({
|
|
3999
3990
|
type: "focus",
|
|
4000
3991
|
focusOn: "firstElement"
|
|
4001
3992
|
}), t.preventDefault());
|
|
4002
3993
|
}), window.addEventListener("message", (t) => {
|
|
4003
3994
|
t.data.focusOn === "lastElement" && e && e.focus();
|
|
4004
|
-
}),
|
|
3995
|
+
}), tt({
|
|
4005
3996
|
type: "focus",
|
|
4006
3997
|
focusOn: "firstElement"
|
|
4007
3998
|
});
|
|
4008
|
-
},
|
|
3999
|
+
}, cc = () => {
|
|
4009
4000
|
window.addEventListener("message", (e) => {
|
|
4010
|
-
e.data.isInLightBox === "true" &&
|
|
4001
|
+
e.data.isInLightBox === "true" && sc();
|
|
4011
4002
|
});
|
|
4012
|
-
},
|
|
4003
|
+
}, lc = ({ locale: e }) => /* @__PURE__ */ (0, I.jsx)(D, {
|
|
4013
4004
|
locale: "en",
|
|
4014
4005
|
messages: {
|
|
4015
|
-
...
|
|
4016
|
-
...(0,
|
|
4006
|
+
...ge(),
|
|
4007
|
+
...(0, _t.default)(i(e))
|
|
4017
4008
|
},
|
|
4018
|
-
textComponent:
|
|
4019
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
4020
|
-
}, e),
|
|
4009
|
+
textComponent: _n,
|
|
4010
|
+
children: /* @__PURE__ */ (0, I.jsx)(bt, {})
|
|
4011
|
+
}, e), uc = class extends F.Component {
|
|
4021
4012
|
verificationService;
|
|
4022
4013
|
constructor(e) {
|
|
4023
4014
|
super(e), N.info("NewVerificationComponent: constructing"), this.props.trackingId && this.props.trackingId.length ? N.info(`Attaching a trackingId to this verification request ${this.props.trackingId}`) : N.info("No trackingId to associate with the verification request");
|
|
4024
4015
|
}
|
|
4025
4016
|
componentDidMount() {
|
|
4026
|
-
if (x(),
|
|
4017
|
+
if (x(), cc(), he((e) => {
|
|
4027
4018
|
switch (e.data.action) {
|
|
4028
4019
|
case "setViewModel":
|
|
4029
|
-
|
|
4020
|
+
Xe(e.data.viewModel, {
|
|
4030
4021
|
partial: !0,
|
|
4031
4022
|
metadataCheck: !0,
|
|
4032
4023
|
externalUserIdCheck: !0
|
|
@@ -4037,7 +4028,7 @@ var Ys = ks, Xs = Ns, Zs = zs, Qs = qs, $s = ({ message: e, trigger: t, initialV
|
|
|
4037
4028
|
break;
|
|
4038
4029
|
default:
|
|
4039
4030
|
}
|
|
4040
|
-
}),
|
|
4031
|
+
}), De()) N.info("Mocking loading screen. Not fetching new verification request.");
|
|
4041
4032
|
else {
|
|
4042
4033
|
N.info("NewVerificationComponent: fetchNewVerificationRequest");
|
|
4043
4034
|
let e = u(() => this.props.verificationService.verificationResponse.segment);
|
|
@@ -4046,71 +4037,71 @@ var Ys = ks, Xs = Ns, Zs = zs, Qs = qs, $s = ({ message: e, trigger: t, initialV
|
|
|
4046
4037
|
}
|
|
4047
4038
|
render() {
|
|
4048
4039
|
let { viewModel: e } = this.props.verificationService, t = r(e);
|
|
4049
|
-
if (this.props.verificationService.isLoading && !this.props.verificationService.loadingStep) return N.info("NewVerificationComponent: VerificationService is loading"), /* @__PURE__ */ (0, I.jsx)(
|
|
4040
|
+
if (this.props.verificationService.isLoading && !this.props.verificationService.loadingStep) return N.info("NewVerificationComponent: VerificationService is loading"), /* @__PURE__ */ (0, I.jsx)(lc, { locale: t });
|
|
4050
4041
|
let { programTheme: n } = this.props.verificationService, { verificationResponse: i } = this.props.verificationService;
|
|
4051
|
-
return N.info("NewVerificationComponent: verificationResponse, viewModel", i, e), N.info(`NewVerificationComponent: locale: ${t}, currentStep: ${i.currentStep}`), /* @__PURE__ */ (0, I.jsx)(
|
|
4042
|
+
return N.info("NewVerificationComponent: verificationResponse, viewModel", i, e), N.info(`NewVerificationComponent: locale: ${t}, currentStep: ${i.currentStep}`), /* @__PURE__ */ (0, I.jsx)(oc, {
|
|
4052
4043
|
locale: t,
|
|
4053
4044
|
programTheme: n,
|
|
4054
4045
|
verificationService: this.props.verificationService,
|
|
4055
4046
|
programId: this.props.programId
|
|
4056
4047
|
});
|
|
4057
4048
|
}
|
|
4058
|
-
},
|
|
4049
|
+
}, dc = ie((e, t) => ({ ...e }), (e, t) => ({
|
|
4059
4050
|
dispatch: e,
|
|
4060
|
-
fetchNewVerificationRequest:
|
|
4061
|
-
fetchExistingVerificationRequest:
|
|
4062
|
-
updateViewModel:
|
|
4063
|
-
updateLocale:
|
|
4064
|
-
updateProgramTheme:
|
|
4065
|
-
updateFieldValidationErrors:
|
|
4066
|
-
resetState:
|
|
4051
|
+
fetchNewVerificationRequest: ze(e),
|
|
4052
|
+
fetchExistingVerificationRequest: Ze(e),
|
|
4053
|
+
updateViewModel: Ke(e),
|
|
4054
|
+
updateLocale: Ve(e, t.programId),
|
|
4055
|
+
updateProgramTheme: Ye(e),
|
|
4056
|
+
updateFieldValidationErrors: Be(e),
|
|
4057
|
+
resetState: Ge(e)
|
|
4067
4058
|
}), (e, t, n) => {
|
|
4068
4059
|
let { dispatch: r, ...i } = t, { programTheme: a } = e;
|
|
4069
4060
|
return {
|
|
4070
4061
|
verificationService: {
|
|
4071
4062
|
...e,
|
|
4072
4063
|
...i,
|
|
4073
|
-
submitStep:
|
|
4064
|
+
submitStep: $e(r, a)
|
|
4074
4065
|
},
|
|
4075
4066
|
...n
|
|
4076
4067
|
};
|
|
4077
|
-
})(
|
|
4068
|
+
})(uc), fc = (e) => ({
|
|
4078
4069
|
kind: "program",
|
|
4079
4070
|
key: e
|
|
4080
|
-
}),
|
|
4071
|
+
}), pc = ({ programId: e, children: t }) => /* @__PURE__ */ (0, I.jsx)(at, {
|
|
4081
4072
|
clientSideID: "6530161f9ff41712a2eef741",
|
|
4082
|
-
context:
|
|
4083
|
-
flags:
|
|
4073
|
+
context: fc(e),
|
|
4074
|
+
flags: st,
|
|
4084
4075
|
reactOptions: { useCamelCaseFlagKeys: !1 },
|
|
4085
4076
|
options: { streaming: !1 },
|
|
4086
4077
|
children: t
|
|
4087
|
-
}),
|
|
4088
|
-
E(h.jslibVersionActual, u(() =>
|
|
4089
|
-
var
|
|
4078
|
+
}), mc = We();
|
|
4079
|
+
E(h.jslibVersionActual, u(() => ke(), "?")), E(h.clientVersion, u(() => ke(), "?"));
|
|
4080
|
+
var hc = F.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
4090
4081
|
try {
|
|
4091
|
-
|
|
4082
|
+
Pe();
|
|
4092
4083
|
} catch (e) {
|
|
4093
4084
|
N.warn("Failed to add predefined hooks", e);
|
|
4094
4085
|
}
|
|
4095
4086
|
return (0, F.useEffect)(() => {
|
|
4096
4087
|
y();
|
|
4097
|
-
}),
|
|
4088
|
+
}), mc.dispatch({
|
|
4098
4089
|
programId: e,
|
|
4099
4090
|
type: "PROGRAM_ID"
|
|
4100
4091
|
}), n && (n.current = {
|
|
4101
|
-
refresh: F.useCallback(() =>
|
|
4102
|
-
reset: F.useCallback(() =>
|
|
4103
|
-
}), /* @__PURE__ */ (0, I.jsx)(
|
|
4104
|
-
store:
|
|
4105
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
4092
|
+
refresh: F.useCallback(() => mc.dispatch({ type: "FORCE_UPDATE" }), []),
|
|
4093
|
+
reset: F.useCallback(() => mc.dispatch({ type: "RESET_STATE" }), [])
|
|
4094
|
+
}), /* @__PURE__ */ (0, I.jsx)(re, {
|
|
4095
|
+
store: mc,
|
|
4096
|
+
children: /* @__PURE__ */ (0, I.jsx)(pc, {
|
|
4106
4097
|
programId: e,
|
|
4107
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
4098
|
+
children: /* @__PURE__ */ (0, I.jsx)(dc, {
|
|
4108
4099
|
programId: e,
|
|
4109
4100
|
trackingId: t
|
|
4110
4101
|
})
|
|
4111
4102
|
})
|
|
4112
4103
|
});
|
|
4113
|
-
}),
|
|
4104
|
+
}), gc = class e {
|
|
4114
4105
|
element;
|
|
4115
4106
|
programId;
|
|
4116
4107
|
trackingId;
|
|
@@ -4127,16 +4118,16 @@ var gc = F.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
4127
4118
|
this.ref.current.reset();
|
|
4128
4119
|
}
|
|
4129
4120
|
render() {
|
|
4130
|
-
|
|
4121
|
+
gt.render(/* @__PURE__ */ (0, I.jsx)(hc, {
|
|
4131
4122
|
programId: this.programId,
|
|
4132
4123
|
trackingId: this.trackingId,
|
|
4133
4124
|
ref: this.ref
|
|
4134
4125
|
}), this.element);
|
|
4135
4126
|
}
|
|
4136
4127
|
unmount() {
|
|
4137
|
-
|
|
4128
|
+
gt.unmountComponentAtNode(this.element);
|
|
4138
4129
|
}
|
|
4139
|
-
},
|
|
4130
|
+
}, _c = async (e, t) => {
|
|
4140
4131
|
if (!u(() => e.threatMetrixEnabled, !1)) return;
|
|
4141
4132
|
let n = e.threatMetrixOrgId || "cnl2my47";
|
|
4142
4133
|
try {
|
|
@@ -4148,48 +4139,48 @@ var gc = F.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
4148
4139
|
} catch (e) {
|
|
4149
4140
|
N.error(e, "Failed to collect ThreatMetrix device data");
|
|
4150
4141
|
}
|
|
4151
|
-
},
|
|
4152
|
-
let n =
|
|
4142
|
+
}, vc = /* @__PURE__ */ new Map(), yc = (e, t) => {
|
|
4143
|
+
let n = vc.get(t);
|
|
4153
4144
|
if (n) return n;
|
|
4154
4145
|
let r = (async () => {
|
|
4155
4146
|
let [, n, r] = await Promise.all([
|
|
4156
|
-
|
|
4157
|
-
|
|
4158
|
-
|
|
4147
|
+
_c(e, t),
|
|
4148
|
+
rt(e, t),
|
|
4149
|
+
Re(e, t)
|
|
4159
4150
|
]);
|
|
4160
4151
|
return {
|
|
4161
4152
|
...r ? { fpSessionId: r } : {},
|
|
4162
4153
|
...n ? { ipqsRequestId: n } : {}
|
|
4163
4154
|
};
|
|
4164
4155
|
})();
|
|
4165
|
-
return
|
|
4166
|
-
},
|
|
4167
|
-
e.locale && e.messages && o(e),
|
|
4168
|
-
},
|
|
4156
|
+
return vc.set(t, r), r;
|
|
4157
|
+
}, bc = async (e, t) => yc(await xe.fetchProgramTheme(t), e), xc = (e, t) => {
|
|
4158
|
+
e.locale && e.messages && o(e), de(e, t);
|
|
4159
|
+
}, Sc = {
|
|
4169
4160
|
getMessages: n,
|
|
4170
|
-
setViewModel:
|
|
4171
|
-
resetViewModel:
|
|
4161
|
+
setViewModel: Xe,
|
|
4162
|
+
resetViewModel: qe,
|
|
4172
4163
|
setOptions: p,
|
|
4173
4164
|
resetOptions: b,
|
|
4174
|
-
refreshStore:
|
|
4175
|
-
setMetadata:
|
|
4176
|
-
getMetadata:
|
|
4177
|
-
resetMetadata:
|
|
4178
|
-
conversion:
|
|
4179
|
-
overrideComponent:
|
|
4180
|
-
resetOverriddenComponents:
|
|
4181
|
-
postVerificationSizeUpdates:
|
|
4182
|
-
addHook:
|
|
4183
|
-
hooks:
|
|
4184
|
-
VerificationForm:
|
|
4185
|
-
collectDeviceProfile:
|
|
4186
|
-
resetStore:
|
|
4165
|
+
refreshStore: Le,
|
|
4166
|
+
setMetadata: et,
|
|
4167
|
+
getMetadata: He,
|
|
4168
|
+
resetMetadata: Ie,
|
|
4169
|
+
conversion: j,
|
|
4170
|
+
overrideComponent: At,
|
|
4171
|
+
resetOverriddenComponents: Mt,
|
|
4172
|
+
postVerificationSizeUpdates: Fe,
|
|
4173
|
+
addHook: nt,
|
|
4174
|
+
hooks: Ne,
|
|
4175
|
+
VerificationForm: gc,
|
|
4176
|
+
collectDeviceProfile: bc,
|
|
4177
|
+
resetStore: Je,
|
|
4187
4178
|
setProgramTheme: (e, n = { partial: !0 }) => {
|
|
4188
|
-
let r =
|
|
4179
|
+
let r = We(), i = r.getState(), a = () => {
|
|
4189
4180
|
let { intl: i, ...a } = t(e);
|
|
4190
|
-
N.info("Setting programTheme", a), i &&
|
|
4181
|
+
N.info("Setting programTheme", a), i && xc(i, n.partial), Ye(r.dispatch)(a, n.partial), pe(a, n.partial);
|
|
4191
4182
|
};
|
|
4192
|
-
i.isLoading ?
|
|
4183
|
+
i.isLoading ? nt({
|
|
4193
4184
|
name: "ON_VERIFICATION_READY",
|
|
4194
4185
|
callback: () => {
|
|
4195
4186
|
a();
|
|
@@ -4198,4 +4189,4 @@ var gc = F.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
4198
4189
|
}
|
|
4199
4190
|
};
|
|
4200
4191
|
//#endregion
|
|
4201
|
-
export {
|
|
4192
|
+
export { Ut as A, An as C, V as D, xn as E, vt as F, Nt as M, Tt as N, B as O, bt as P, H as S, Sn as T, mr as _, uo as a, zn as b, co as c, Wa as d, Sc as default, Ba as f, Ca as g, za as h, xs as i, It as j, Jt as k, Za as l, Va as m, nc as n, fo as o, Ha as p, ec as r, mo as s, yc as t, Ka as u, $n as v, wn as w, jn as x, qn as y };
|