@sheerid/jslib 2.249.0 → 2.250.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 +893 -894
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/{AddressComponent-BlFms8RU.js → AddressComponent-CmVyKqXc.js} +10 -10
- package/chunk/{AddressComponent-BlFms8RU.js.map → AddressComponent-CmVyKqXc.js.map} +1 -1
- package/chunk/{AddressComponent-DnFQfTYR.js → AddressComponent-ZIF4nAg6.js} +10 -10
- package/chunk/{AddressComponent-DnFQfTYR.js.map → AddressComponent-ZIF4nAg6.js.map} +1 -1
- package/chunk/BirthDateComponent-CMfd5EBF.js +35 -0
- package/chunk/{BirthDateComponent-DBoGs0xO.js.map → BirthDateComponent-CMfd5EBF.js.map} +1 -1
- package/chunk/{BirthDateComponent-Dl0XGTEU.js → BirthDateComponent-qIJ6VyBN.js} +10 -6
- package/chunk/{BirthDateComponent-Dl0XGTEU.js.map → BirthDateComponent-qIJ6VyBN.js.map} +1 -1
- package/chunk/{CaptchaComponent-CpD7kabQ.js → CaptchaComponent-D9qU6ygz.js} +389 -351
- package/chunk/CaptchaComponent-D9qU6ygz.js.map +1 -0
- package/chunk/{CaptchaComponent-CX3VgnkO.js → CaptchaComponent-DtcFKhJ1.js} +416 -386
- package/chunk/CaptchaComponent-DtcFKhJ1.js.map +1 -0
- package/chunk/{ChangeLocaleComponent-CwUU2jUS.js → ChangeLocaleComponent-C506fsyP.js} +15 -15
- package/chunk/{ChangeLocaleComponent-CwUU2jUS.js.map → ChangeLocaleComponent-C506fsyP.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-Db5V1sYM.js → ChangeLocaleComponent-D56onLa2.js} +12 -12
- package/chunk/{ChangeLocaleComponent-Db5V1sYM.js.map → ChangeLocaleComponent-D56onLa2.js.map} +1 -1
- package/chunk/{City-Dkthk9oJ.js → City-Ci2TwR7A.js} +10 -10
- package/chunk/{City-COH8oAI6.js.map → City-Ci2TwR7A.js.map} +1 -1
- package/chunk/{City-COH8oAI6.js → City-DcsZCOpS.js} +10 -10
- package/chunk/{City-Dkthk9oJ.js.map → City-DcsZCOpS.js.map} +1 -1
- package/chunk/{CollegeNameComponent-CcQ9X9_B.js → CollegeNameComponent-BgqXaJxu.js} +12 -12
- package/chunk/{CollegeNameComponent-C-dy7DMD.js.map → CollegeNameComponent-BgqXaJxu.js.map} +1 -1
- package/chunk/{CollegeNameComponent-C-dy7DMD.js → CollegeNameComponent-CIzSgol6.js} +13 -13
- package/chunk/{CollegeNameComponent-CcQ9X9_B.js.map → CollegeNameComponent-CIzSgol6.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-DIjRs4qZ.js → CopyToClipboardComponent-BESIJEWv.js} +5 -5
- package/chunk/{CopyToClipboardComponent-DIjRs4qZ.js.map → CopyToClipboardComponent-BESIJEWv.js.map} +1 -1
- package/chunk/CopyToClipboardComponent-BkiBQWbH.js +4 -4
- package/chunk/CountryComponentWrapper-CASuw2te.js +70 -0
- package/chunk/{CountryComponentWrapper-BKmiop9j.js.map → CountryComponentWrapper-CASuw2te.js.map} +1 -1
- package/chunk/CountryComponentWrapper-hbHOWlgu.js +74 -0
- package/chunk/{CountryComponentWrapper-cR2hBUDi.js.map → CountryComponentWrapper-hbHOWlgu.js.map} +1 -1
- package/chunk/{DischargeDateComponent-CRwKMsjW.js → DischargeDateComponent-C6MdcBJl.js} +31 -35
- package/chunk/{DischargeDateComponent-CRwKMsjW.js.map → DischargeDateComponent-C6MdcBJl.js.map} +1 -1
- package/chunk/{DischargeDateComponent-DSOfwpfI.js → DischargeDateComponent-GAHaUq3j.js} +34 -30
- package/chunk/{DischargeDateComponent-DSOfwpfI.js.map → DischargeDateComponent-GAHaUq3j.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-akwgy_SO.js → DriverLicenseNumberComponent-Bcrs2J8F.js} +11 -11
- package/chunk/{DriverLicenseNumberComponent-BH6bl91g.js.map → DriverLicenseNumberComponent-Bcrs2J8F.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-BH6bl91g.js → DriverLicenseNumberComponent-DRqO_tKm.js} +11 -11
- package/chunk/{DriverLicenseNumberComponent-akwgy_SO.js.map → DriverLicenseNumberComponent-DRqO_tKm.js.map} +1 -1
- package/chunk/{EmailLoopPending-BchQNg80.js → EmailLoopPending-C2nD34JV.js} +29 -29
- package/chunk/{EmailLoopPending-BchQNg80.js.map → EmailLoopPending-C2nD34JV.js.map} +1 -1
- package/chunk/{EmailLoopPending-D7XGFrxz.js → EmailLoopPending-tGJf2KO-.js} +21 -21
- package/chunk/{EmailLoopPending-D7XGFrxz.js.map → EmailLoopPending-tGJf2KO-.js.map} +1 -1
- package/chunk/{ExtraMessage-BNODbSi-.js → ExtraMessage-BF7WCgKF.js} +5 -5
- package/chunk/{ExtraMessage-BNODbSi-.js.map → ExtraMessage-BF7WCgKF.js.map} +1 -1
- package/chunk/ExtraMessage-BKREmfl_.js +18 -0
- package/chunk/{ExtraMessage-D78-mbs6.js.map → ExtraMessage-BKREmfl_.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-BEvHXfgc.js → FirstResponderOrganizationComponent-CDUd_3wQ.js} +11 -11
- package/chunk/{FirstResponderOrganizationComponent-BEvHXfgc.js.map → FirstResponderOrganizationComponent-CDUd_3wQ.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-BLNdDDOa.js → FirstResponderOrganizationComponent-DjVlz-RC.js} +10 -10
- package/chunk/{FirstResponderOrganizationComponent-BLNdDDOa.js.map → FirstResponderOrganizationComponent-DjVlz-RC.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-B8lVVG8B.js → FormFieldInputSelect-B9m2vcvX.js} +7 -7
- package/chunk/{FormFieldInputSelect-B8lVVG8B.js.map → FormFieldInputSelect-B9m2vcvX.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-C8O7C4IK.js → FormFieldInputSelect-d_7zlfAb.js} +7 -7
- package/chunk/{FormFieldInputSelect-C8O7C4IK.js.map → FormFieldInputSelect-d_7zlfAb.js.map} +1 -1
- package/chunk/{FormFieldLayout-ZhDGr6rb.js → FormFieldLayout-26v_1nBx.js} +5 -5
- package/chunk/{FormFieldLayout-yzfzLAfZ.js.map → FormFieldLayout-26v_1nBx.js.map} +1 -1
- package/chunk/{FormFieldLayout-yzfzLAfZ.js → FormFieldLayout-DJMFhEbe.js} +13 -13
- package/chunk/{FormFieldLayout-ZhDGr6rb.js.map → FormFieldLayout-DJMFhEbe.js.map} +1 -1
- package/chunk/{FormFieldText-B9EYGm5E.js → FormFieldText-BMCOvY3k.js} +6 -6
- package/chunk/{FormFieldText-B9EYGm5E.js.map → FormFieldText-BMCOvY3k.js.map} +1 -1
- package/chunk/{FormFieldText-DIAcRrkr.js → FormFieldText-CK9dvuS4.js} +7 -7
- package/chunk/{FormFieldText-DIAcRrkr.js.map → FormFieldText-CK9dvuS4.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-Y91SkMJD.js → FormFieldTypeahead-ir8rYkOD.js} +435 -439
- package/chunk/{FormFieldTypeahead-BhoK1wVB.js.map → FormFieldTypeahead-ir8rYkOD.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-BhoK1wVB.js → FormFieldTypeahead-pZggFuzg.js} +280 -276
- package/chunk/{FormFieldTypeahead-Y91SkMJD.js.map → FormFieldTypeahead-pZggFuzg.js.map} +1 -1
- package/chunk/{FormSelectChoice-BLQgJEYO.js → FormSelectChoice-A_dweQ9k.js} +20 -20
- package/chunk/{FormSelectChoice-BLQgJEYO.js.map → FormSelectChoice-A_dweQ9k.js.map} +1 -1
- package/chunk/{FormSelectChoice-u5sO_GqU.js → FormSelectChoice-C0ZvRRU4.js} +11 -11
- package/chunk/{FormSelectChoice-u5sO_GqU.js.map → FormSelectChoice-C0ZvRRU4.js.map} +1 -1
- package/chunk/{InputText-Cc-nHAaa.js → InputText-CMlYmMPL.js} +5 -5
- package/chunk/{InputText-Cc-nHAaa.js.map → InputText-CMlYmMPL.js.map} +1 -1
- package/chunk/InputText-CtKHbFE7.js +4 -4
- package/chunk/{LicensedProfessionalOrganizationComponent-KmfBDjN9.js → LicensedProfessionalOrganizationComponent-C9z4nWyc.js} +10 -10
- package/chunk/{LicensedProfessionalOrganizationComponent-Bd32g18q.js.map → LicensedProfessionalOrganizationComponent-C9z4nWyc.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-Bd32g18q.js → LicensedProfessionalOrganizationComponent-CVmJ9eS_.js} +11 -11
- package/chunk/{LicensedProfessionalOrganizationComponent-KmfBDjN9.js.map → LicensedProfessionalOrganizationComponent-CVmJ9eS_.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-DmPn8oNy.js → LowIncomeOrganizationComponent-CVYnXbo4.js} +24 -28
- package/chunk/{LowIncomeOrganizationComponent-BDCwBwqA.js.map → LowIncomeOrganizationComponent-CVYnXbo4.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-BDCwBwqA.js → LowIncomeOrganizationComponent-CvMiwUmr.js} +27 -23
- package/chunk/{LowIncomeOrganizationComponent-DmPn8oNy.js.map → LowIncomeOrganizationComponent-CvMiwUmr.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-CqNumnEx.js → MedicalProfessionalOrganizationComponent-6CxBMyJW.js} +10 -10
- package/chunk/{MedicalProfessionalOrganizationComponent-BvZ5-GKO.js.map → MedicalProfessionalOrganizationComponent-6CxBMyJW.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-BvZ5-GKO.js → MedicalProfessionalOrganizationComponent-BAhuoYQR.js} +11 -11
- package/chunk/{MedicalProfessionalOrganizationComponent-CqNumnEx.js.map → MedicalProfessionalOrganizationComponent-BAhuoYQR.js.map} +1 -1
- package/chunk/{MemberIdComponent-CZ4ylsxJ.js → MemberIdComponent-Bc6-XSmk.js} +11 -11
- package/chunk/{MemberIdComponent-CZ4ylsxJ.js.map → MemberIdComponent-Bc6-XSmk.js.map} +1 -1
- package/chunk/{MemberIdComponent-ClhVOK0_.js → MemberIdComponent-D3r9Y4c3.js} +11 -11
- package/chunk/{MemberIdComponent-ClhVOK0_.js.map → MemberIdComponent-D3r9Y4c3.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-Ds1UMq_P.js → MembershipOrganizationComponent-PJ1L85G4.js} +10 -10
- package/chunk/{MembershipOrganizationComponent-B2k3iMwP.js.map → MembershipOrganizationComponent-PJ1L85G4.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-B2k3iMwP.js → MembershipOrganizationComponent-xgi0R8Qh.js} +11 -11
- package/chunk/{MembershipOrganizationComponent-Ds1UMq_P.js.map → MembershipOrganizationComponent-xgi0R8Qh.js.map} +1 -1
- package/chunk/Onfido-DX6DWIy6.js +4 -4
- package/chunk/{PersonalInfoStepSubmitButton-C2E_vI6h.js → PersonalInfoStepSubmitButton-COTSMNng.js} +29 -25
- package/chunk/{PersonalInfoStepSubmitButton-BEt7G8pL.js.map → PersonalInfoStepSubmitButton-COTSMNng.js.map} +1 -1
- package/chunk/{PersonalInfoStepSubmitButton-BEt7G8pL.js → PersonalInfoStepSubmitButton-DL0Qjm6T.js} +29 -33
- package/chunk/{PersonalInfoStepSubmitButton-C2E_vI6h.js.map → PersonalInfoStepSubmitButton-DL0Qjm6T.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-DIecrjL_.js → PersonalInfoStepWrapper-BoM-u8Vg.js} +5 -5
- package/chunk/{PersonalInfoStepWrapper-DIecrjL_.js.map → PersonalInfoStepWrapper-BoM-u8Vg.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-B7jyR5L2.js → PersonalInfoStepWrapper-DgxBk5YC.js} +27 -27
- package/chunk/{PersonalInfoStepWrapper-B7jyR5L2.js.map → PersonalInfoStepWrapper-DgxBk5YC.js.map} +1 -1
- package/chunk/{PostalCodeComponent-BRv1OY2E.js → PostalCodeComponent-BAMN5oNJ.js} +10 -10
- package/chunk/{PostalCodeComponent-C5geCnf3.js.map → PostalCodeComponent-BAMN5oNJ.js.map} +1 -1
- package/chunk/{PostalCodeComponent-C5geCnf3.js → PostalCodeComponent-BoviWgTs.js} +10 -10
- package/chunk/{PostalCodeComponent-BRv1OY2E.js.map → PostalCodeComponent-BoviWgTs.js.map} +1 -1
- package/chunk/{SSN-DbmDwC_V.js → SSN-C-tXgqEW.js} +11 -11
- package/chunk/{SSN-DEDbmtXI.js.map → SSN-C-tXgqEW.js.map} +1 -1
- package/chunk/{SSN-DEDbmtXI.js → SSN-Dm927vAY.js} +11 -11
- package/chunk/{SSN-DbmDwC_V.js.map → SSN-Dm927vAY.js.map} +1 -1
- package/chunk/{StateSelectComponent-BVUvB4i-.js → StateSelectComponent-DRh_P7z6.js} +5 -5
- package/chunk/{StateSelectComponent-BVUvB4i-.js.map → StateSelectComponent-DRh_P7z6.js.map} +1 -1
- package/chunk/{StateSelectComponent-ykysTrKn.js → StateSelectComponent-uvSd1iyo.js} +9 -9
- package/chunk/{StateSelectComponent-ykysTrKn.js.map → StateSelectComponent-uvSd1iyo.js.map} +1 -1
- package/chunk/StatusComponent-Bn_amGh4.js +40 -0
- package/chunk/{StatusComponent-C9qP2xkk.js.map → StatusComponent-Bn_amGh4.js.map} +1 -1
- package/chunk/{StatusComponent-C9qP2xkk.js → StatusComponent-DN4l8Npf.js} +14 -14
- package/chunk/{StatusComponent-K7sbnHoL.js.map → StatusComponent-DN4l8Npf.js.map} +1 -1
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-OP3pj1nz.js → StepActiveMilitaryPersonalInfoComponent-C195u8WH.js} +59 -55
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-B19DJheV.js.map → StepActiveMilitaryPersonalInfoComponent-C195u8WH.js.map} +1 -1
- package/chunk/StepActiveMilitaryPersonalInfoComponent-ZcCZn0os.js +174 -0
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-OP3pj1nz.js.map → StepActiveMilitaryPersonalInfoComponent-ZcCZn0os.js.map} +1 -1
- package/chunk/StepAgePersonalInfo-BPeMAudS.js +166 -0
- package/chunk/{StepAgePersonalInfo-Bi-QeGX8.js.map → StepAgePersonalInfo-BPeMAudS.js.map} +1 -1
- package/chunk/StepAgePersonalInfo-ChwZMKcL.js +170 -0
- package/chunk/{StepAgePersonalInfo-CQBDmfRF.js.map → StepAgePersonalInfo-ChwZMKcL.js.map} +1 -1
- package/chunk/StepCard-B06reTxD.js +4 -4
- package/chunk/StepCard-Bypd7Dt8.js +4 -4
- package/chunk/{StepCollectIdentifier-BHAvn2O0.js → StepCollectIdentifier-DuKdS-j5.js} +19 -19
- package/chunk/{StepCollectIdentifier-BHAvn2O0.js.map → StepCollectIdentifier-DuKdS-j5.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-CJWthRfj.js → StepCollectIdentifier-SFcn1Kr-.js} +12 -12
- package/chunk/{StepCollectIdentifier-CJWthRfj.js.map → StepCollectIdentifier-SFcn1Kr-.js.map} +1 -1
- package/chunk/StepCollectMilitaryStatusComponent-Bxu0tcW8.js +9 -0
- package/chunk/{StepCollectMilitaryStatusComponent-C4P5lSIX.js → StepCollectMilitaryStatusComponent-DKO_s_ta.js} +5 -5
- package/chunk/StepCollectPersonalInfo-H3GU_HNZ.js +352 -0
- package/chunk/{StepCollectPersonalInfo-B7--XzLY.js.map → StepCollectPersonalInfo-H3GU_HNZ.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-DZpwrzjQ.js → StepCollectPersonalInfo-gDQydB_T.js} +124 -120
- package/chunk/{StepCollectPersonalInfo-DZpwrzjQ.js.map → StepCollectPersonalInfo-gDQydB_T.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-B66TaYiw.js → StepCompleteAuthentication-BjFkNxUn.js} +17 -17
- package/chunk/{StepCompleteAuthentication-B66TaYiw.js.map → StepCompleteAuthentication-BjFkNxUn.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-C0kcCUjP.js → StepCompleteAuthentication-DP1Q0Z7P.js} +24 -24
- package/chunk/{StepCompleteAuthentication-C0kcCUjP.js.map → StepCompleteAuthentication-DP1Q0Z7P.js.map} +1 -1
- package/chunk/{StepConsolation-BKobQblj.js → StepConsolation-C1iBEDx5.js} +13 -13
- package/chunk/{StepConsolation-BKobQblj.js.map → StepConsolation-C1iBEDx5.js.map} +1 -1
- package/chunk/{StepConsolation-CfpgPGx0.js → StepConsolation-DkIj9ddz.js} +19 -19
- package/chunk/{StepConsolation-CfpgPGx0.js.map → StepConsolation-DkIj9ddz.js.map} +1 -1
- package/chunk/{StepDocUpload-BM_hrO6C.js → StepDocUpload-CRn87Rqx.js} +249 -249
- package/chunk/{StepDocUpload-DkHcpKDh.js.map → StepDocUpload-CRn87Rqx.js.map} +1 -1
- package/chunk/{StepDocUpload-DkHcpKDh.js → StepDocUpload-D7O41B7o.js} +266 -266
- package/chunk/{StepDocUpload-BM_hrO6C.js.map → StepDocUpload-D7O41B7o.js.map} +1 -1
- package/chunk/StepDriverLicensePersonalInfoComponent-Bf27mPeI.js +136 -0
- package/chunk/{StepDriverLicensePersonalInfoComponent-DRAZbywp.js.map → StepDriverLicensePersonalInfoComponent-Bf27mPeI.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-DRAZbywp.js → StepDriverLicensePersonalInfoComponent-BydWgQhM.js} +44 -40
- package/chunk/{StepDriverLicensePersonalInfoComponent-DvF6gQri.js.map → StepDriverLicensePersonalInfoComponent-BydWgQhM.js.map} +1 -1
- package/chunk/{StepEmailLoop-B2pJ6TII.js → StepEmailLoop-BwdA2js0.js} +31 -31
- package/chunk/{StepEmailLoop-B2pJ6TII.js.map → StepEmailLoop-BwdA2js0.js.map} +1 -1
- package/chunk/{StepEmailLoop-D82Ol-tF.js → StepEmailLoop-CaGMrw-M.js} +19 -19
- package/chunk/{StepEmailLoop-D82Ol-tF.js.map → StepEmailLoop-CaGMrw-M.js.map} +1 -1
- package/chunk/StepEmploymentPersonalInfo-BP0D_L-2.js +211 -0
- package/chunk/{StepEmploymentPersonalInfo-BIzLUyqF.js.map → StepEmploymentPersonalInfo-BP0D_L-2.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-BIzLUyqF.js → StepEmploymentPersonalInfo-DokmufZm.js} +70 -70
- package/chunk/{StepEmploymentPersonalInfo-CfW1cRz5.js.map → StepEmploymentPersonalInfo-DokmufZm.js.map} +1 -1
- package/chunk/StepFirstResponderPersonalInfo-CFlC4kHJ.js +167 -0
- package/chunk/{StepFirstResponderPersonalInfo-CcKpt9P9.js.map → StepFirstResponderPersonalInfo-CFlC4kHJ.js.map} +1 -1
- package/chunk/StepFirstResponderPersonalInfo-DxaX2t3m.js +171 -0
- package/chunk/{StepFirstResponderPersonalInfo-fkmalnSR.js.map → StepFirstResponderPersonalInfo-DxaX2t3m.js.map} +1 -1
- package/chunk/StepGeneralIdentityPersonalInfoComponent-D7rWM-zc.js +169 -0
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-D-g65U8N.js.map → StepGeneralIdentityPersonalInfoComponent-D7rWM-zc.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-DCzOLLXt.js → StepGeneralIdentityPersonalInfoComponent-DjlrFqzf.js} +49 -45
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-DCzOLLXt.js.map → StepGeneralIdentityPersonalInfoComponent-DjlrFqzf.js.map} +1 -1
- package/chunk/StepHybridIdentityPersonalInfoComponent-7Tl8uDuV.js +178 -0
- package/chunk/{StepHybridIdentityPersonalInfoComponent-B1U-D-Oa.js.map → StepHybridIdentityPersonalInfoComponent-7Tl8uDuV.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-B1U-D-Oa.js → StepHybridIdentityPersonalInfoComponent-QCqe5hPY.js} +51 -47
- package/chunk/{StepHybridIdentityPersonalInfoComponent-CKqXVn71.js.map → StepHybridIdentityPersonalInfoComponent-QCqe5hPY.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-C55YxnHR.js → StepIDCheckLoop-BJgnlAgW.js} +6 -6
- package/chunk/{StepIDCheckLoop-qAopx3ex.js.map → StepIDCheckLoop-BJgnlAgW.js.map} +1 -1
- package/chunk/StepIDCheckLoop-DSWI3l3R.js +21 -0
- package/chunk/{StepIDCheckLoop-C55YxnHR.js.map → StepIDCheckLoop-DSWI3l3R.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-CNjlvSWc.js → StepIDCheckLoopOnfido-BQFOVwjz.js} +49 -49
- package/chunk/{StepIDCheckLoopOnfido-CNjlvSWc.js.map → StepIDCheckLoopOnfido-BQFOVwjz.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-DMT6NO1B.js → StepIDCheckLoopOnfido-Q2N4Nl-N.js} +50 -50
- package/chunk/{StepIDCheckLoopOnfido-DMT6NO1B.js.map → StepIDCheckLoopOnfido-Q2N4Nl-N.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-qC6UgIrq.js → StepIDCheckLoopRegula-CV50hZTK.js} +40 -40
- package/chunk/{StepIDCheckLoopRegula-CTSRHPQ4.js.map → StepIDCheckLoopRegula-CV50hZTK.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-CTSRHPQ4.js → StepIDCheckLoopRegula-G6YJq954.js} +26 -26
- package/chunk/{StepIDCheckLoopRegula-qC6UgIrq.js.map → StepIDCheckLoopRegula-G6YJq954.js.map} +1 -1
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-DVxON89y.js → StepInactiveMilitaryPersonalInfoComponent-BD5AYCGD.js} +89 -85
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-DVxON89y.js.map → StepInactiveMilitaryPersonalInfoComponent-BD5AYCGD.js.map} +1 -1
- package/chunk/StepInactiveMilitaryPersonalInfoComponent-CzS52K0a.js +232 -0
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-Sgb4Acqi.js.map → StepInactiveMilitaryPersonalInfoComponent-CzS52K0a.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-DssaBYy5.js → StepLicensedProfessionalPersonalInfo-Co6ysIbQ.js} +49 -49
- package/chunk/{StepLicensedProfessionalPersonalInfo-COwznw-a.js.map → StepLicensedProfessionalPersonalInfo-Co6ysIbQ.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-COwznw-a.js → StepLicensedProfessionalPersonalInfo-MyhaHS8O.js} +67 -67
- package/chunk/{StepLicensedProfessionalPersonalInfo-DssaBYy5.js.map → StepLicensedProfessionalPersonalInfo-MyhaHS8O.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-C3U0bUtb.js → StepLowIncomePersonalInfo-DEvMpSOc.js} +76 -76
- package/chunk/{StepLowIncomePersonalInfo-X2S_WVZz.js.map → StepLowIncomePersonalInfo-DEvMpSOc.js.map} +1 -1
- package/chunk/StepLowIncomePersonalInfo-MwI07ZDr.js +217 -0
- package/chunk/{StepLowIncomePersonalInfo-C3U0bUtb.js.map → StepLowIncomePersonalInfo-MwI07ZDr.js.map} +1 -1
- package/chunk/StepMedicalProfessionalPersonalInfo-Br3HaEsM.js +199 -0
- package/chunk/{StepMedicalProfessionalPersonalInfo-bRiGlQYY.js.map → StepMedicalProfessionalPersonalInfo-Br3HaEsM.js.map} +1 -1
- package/chunk/StepMedicalProfessionalPersonalInfo-Cz4yih5L.js +203 -0
- package/chunk/{StepMedicalProfessionalPersonalInfo-k9qmhFHs.js.map → StepMedicalProfessionalPersonalInfo-Cz4yih5L.js.map} +1 -1
- package/chunk/StepMemberPersonalInfo-D3y5Orq9.js +149 -0
- package/chunk/{StepMemberPersonalInfo-AnJ_sPsq.js.map → StepMemberPersonalInfo-D3y5Orq9.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-AnJ_sPsq.js → StepMemberPersonalInfo-DxET2t6t.js} +35 -31
- package/chunk/{StepMemberPersonalInfo-DJC6kzko.js.map → StepMemberPersonalInfo-DxET2t6t.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-Bf95T7H2.js → StepMoverPersonalInfo-BJQcx0QE.js} +44 -40
- package/chunk/{StepMoverPersonalInfo-Bf95T7H2.js.map → StepMoverPersonalInfo-BJQcx0QE.js.map} +1 -1
- package/chunk/StepMoverPersonalInfo-ms_oSmJJ.js +136 -0
- package/chunk/{StepMoverPersonalInfo-R8lZHUqS.js.map → StepMoverPersonalInfo-ms_oSmJJ.js.map} +1 -1
- package/chunk/{StepOverrideComponent-C3Wt9p-Y.js → StepOverrideComponent-DR6qA-CV.js} +18 -18
- package/chunk/{StepOverrideComponent-DQ6KQfVX.js.map → StepOverrideComponent-DR6qA-CV.js.map} +1 -1
- package/chunk/{StepOverrideComponent-DQ6KQfVX.js → StepOverrideComponent-DUneGdaQ.js} +26 -26
- package/chunk/{StepOverrideComponent-C3Wt9p-Y.js.map → StepOverrideComponent-DUneGdaQ.js.map} +1 -1
- package/chunk/{StepSMSLoop-BrbJqPhN.js → StepSMSLoop-CmnU4foO.js} +29 -29
- package/chunk/{StepSMSLoop-BrbJqPhN.js.map → StepSMSLoop-CmnU4foO.js.map} +1 -1
- package/chunk/{StepSMSLoop-C48P-QXx.js → StepSMSLoop-D96_oeaY.js} +22 -22
- package/chunk/{StepSMSLoop-C48P-QXx.js.map → StepSMSLoop-D96_oeaY.js.map} +1 -1
- package/chunk/StepSSO-D2pCLSYD.js +9 -0
- package/chunk/{StepSSO-DlRartMb.js → StepSSO-y263jjm-.js} +5 -5
- package/chunk/{StepSocialSecurityNumber-DyiO7ggN.js → StepSocialSecurityNumber-Bv8OGQDM.js} +31 -31
- package/chunk/{StepSocialSecurityNumber-Bn9fK496.js.map → StepSocialSecurityNumber-Bv8OGQDM.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-Bn9fK496.js → StepSocialSecurityNumber-C4iQRaSu.js} +25 -25
- package/chunk/{StepSocialSecurityNumber-DyiO7ggN.js.map → StepSocialSecurityNumber-C4iQRaSu.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-BK34pk1g.js → StepStudentPersonalInfo-CStD7GTz.js} +52 -48
- package/chunk/{StepStudentPersonalInfo-BK34pk1g.js.map → StepStudentPersonalInfo-CStD7GTz.js.map} +1 -1
- package/chunk/StepStudentPersonalInfo-DC_LuVGO.js +181 -0
- package/chunk/{StepStudentPersonalInfo-Cpx5Y88n.js.map → StepStudentPersonalInfo-DC_LuVGO.js.map} +1 -1
- package/chunk/{StepSuccess-5zi6JPlJ.js → StepSuccess-D0zwNWtW.js} +47 -47
- package/chunk/{StepSuccess-5zi6JPlJ.js.map → StepSuccess-D0zwNWtW.js.map} +1 -1
- package/chunk/{StepSuccess-BEVsDxMB.js → StepSuccess-DH_SCQ3o.js} +43 -43
- package/chunk/{StepSuccess-BEVsDxMB.js.map → StepSuccess-DH_SCQ3o.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-kUTcaH1X.js → StepTeacherPersonalInfo-BD270H75.js} +36 -32
- package/chunk/{StepTeacherPersonalInfo-JFMv7J7a.js.map → StepTeacherPersonalInfo-BD270H75.js.map} +1 -1
- package/chunk/StepTeacherPersonalInfo-CdIYEUhN.js +146 -0
- package/chunk/{StepTeacherPersonalInfo-kUTcaH1X.js.map → StepTeacherPersonalInfo-CdIYEUhN.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-C9irc_Or.js +9 -0
- package/chunk/{StepThirdPartyLoop-DgBM8Hjr.js → StepThirdPartyLoop-DfDkHKc3.js} +5 -5
- package/chunk/{TeacherSchoolComponent-BlXd_Ago.js → TeacherSchoolComponent-BVq4mqo8.js} +13 -13
- package/chunk/{TeacherSchoolComponent-lxPkOdX5.js.map → TeacherSchoolComponent-BVq4mqo8.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-lxPkOdX5.js → TeacherSchoolComponent-CBD2dQym.js} +12 -12
- package/chunk/{TeacherSchoolComponent-BlXd_Ago.js.map → TeacherSchoolComponent-CBD2dQym.js.map} +1 -1
- package/chunk/ThreatMetrix-DneXzgNV.js +4 -4
- package/chunk/{VerificationApiUtils-Ci3HFxmT.js → VerificationApiUtils-CuQ536DE.js} +5 -5
- package/chunk/{VerificationApiUtils-Ci3HFxmT.js.map → VerificationApiUtils-CuQ536DE.js.map} +1 -1
- package/chunk/{VerificationApiUtils-Cnf-uqtw.js → VerificationApiUtils-D715lDKh.js} +7 -7
- package/chunk/{VerificationApiUtils-Cnf-uqtw.js.map → VerificationApiUtils-D715lDKh.js.map} +1 -1
- package/chunk/ar-DY-xX8jm.js +4 -4
- package/chunk/bg-DtqxFXxf.js +4 -4
- package/chunk/bn-IN-CLQsDlLx.js +4 -4
- package/chunk/countryUtils-D5jLglud.js +4 -4
- package/chunk/countryUtils-ZO5utVC3.js +4 -4
- package/chunk/cs-zKYalrCx.js +4 -4
- package/chunk/da-B5mz--q8.js +4 -4
- package/chunk/de-C1u5bH-H.js +4 -4
- package/chunk/{downshift.esm-qbGlaZEh.js → downshift.esm-CmXev3Ne.js} +5 -5
- package/chunk/{downshift.esm-qbGlaZEh.js.map → downshift.esm-CmXev3Ne.js.map} +1 -1
- package/chunk/{downshift.esm-fwmIRsQT.js → downshift.esm-CtORkuQS.js} +228 -228
- package/chunk/{downshift.esm-fwmIRsQT.js.map → downshift.esm-CtORkuQS.js.map} +1 -1
- package/chunk/el-By0fu1Nj.js +4 -4
- package/chunk/en-GB-C2Ud3xXN.js +4 -4
- package/chunk/es-CNmoqMfp.js +4 -4
- package/chunk/es-ES-B7X6cedJ.js +4 -4
- package/chunk/et-DjJMLduk.js +4 -4
- package/chunk/fa-C9Wazqks.js +4 -4
- package/chunk/fi-Bt0kXgNy.js +4 -4
- package/chunk/fr-BvwOLEGk.js +4 -4
- package/chunk/fr-CA-DDN6X27Z.js +4 -4
- package/chunk/ga-DyaPZPE4.js +4 -4
- package/chunk/hi-IN-BsHMHntR.js +4 -4
- package/chunk/hr-BVl-px1q.js +4 -4
- package/chunk/hu-D4VjeLtb.js +4 -4
- package/chunk/id-B9cy0h8v.js +4 -4
- package/chunk/is-DFpeGHFj.js +4 -4
- package/chunk/it-DWz5-P-2.js +4 -4
- package/chunk/iw-DdKzE4KC.js +4 -4
- package/chunk/ja-BfUezqgt.js +4 -4
- package/chunk/kk-dxzPsna4.js +4 -4
- package/chunk/ko-BoAyzxes.js +4 -4
- package/chunk/lo-VdDzVd41.js +4 -4
- package/chunk/lt-CtEXkLkn.js +4 -4
- package/chunk/lv-SXvo6W1l.js +4 -4
- package/chunk/militaryStepHelpers--Wm0W_ag.js +4 -4
- package/chunk/militaryStepHelpers-BeuHYTWR.js +4 -4
- package/chunk/{mocks-Cgaq6lp9.js → mocks-DW4afxJL.js} +7 -7
- package/chunk/{mocks-BPyxndtc.js.map → mocks-DW4afxJL.js.map} +1 -1
- package/chunk/{mocks-BPyxndtc.js → mocks-WjVFEPXM.js} +8 -8
- package/chunk/{mocks-Cgaq6lp9.js.map → mocks-WjVFEPXM.js.map} +1 -1
- package/chunk/ms-CAQm5fnc.js +4 -4
- package/chunk/nl-BE-bh2asFFE.js +4 -4
- package/chunk/nl-TH42E1ce.js +4 -4
- package/chunk/no-CWx3bQiE.js +4 -4
- package/chunk/pl-C5UPRDbl.js +4 -4
- package/chunk/pt-BR-WR8V3NBI.js +4 -4
- package/chunk/pt-DuRmZVpm.js +4 -4
- package/chunk/ro-X6KMMewz.js +4 -4
- package/chunk/ru-D8cwuuW9.js +4 -4
- package/chunk/sk-l-usPvHT.js +4 -4
- package/chunk/sl-CcFevFDd.js +4 -4
- package/chunk/sr-5hqdw8W6.js +4 -4
- package/chunk/sv-CHHsIc-_.js +4 -4
- package/chunk/sw-N7xKwBA-.js +4 -4
- package/chunk/ta-CJbnZGAc.js +4 -4
- package/chunk/th-BGQ9NXQb.js +4 -4
- package/chunk/tl-D4edHa4A.js +4 -4
- package/chunk/tr-CzGpuTpn.js +4 -4
- package/chunk/uk-ChRcPkiM.js +4 -4
- package/chunk/ur-DwjvEWmp.js +4 -4
- package/chunk/{useCollectFieldsEndpoint-Clin3AaA.js → useCollectFieldsEndpoint-BEwU2IXN.js} +9 -9
- package/chunk/{useCollectFieldsEndpoint-Cig4wEUB.js.map → useCollectFieldsEndpoint-BEwU2IXN.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-Cig4wEUB.js → useCollectFieldsEndpoint-CvOWXfx8.js} +8 -8
- package/chunk/{useCollectFieldsEndpoint-Clin3AaA.js.map → useCollectFieldsEndpoint-CvOWXfx8.js.map} +1 -1
- package/chunk/{useMetrics-CLLh0Tan.js → useMetrics-2o9KG92p.js} +12 -26
- package/chunk/useMetrics-2o9KG92p.js.map +1 -0
- package/chunk/{useMetrics-5ft9MF-y.js → useMetrics-DW_mv5wy.js} +6 -20
- package/chunk/useMetrics-DW_mv5wy.js.map +1 -0
- package/chunk/vi-CyTj2EhC.js +4 -4
- package/chunk/zh-91qJ02Dp.js +4 -4
- package/chunk/zh-HK-xEJkIfby.js +4 -4
- package/chunk/zu-BrvraDYW.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 +939 -940
- package/sheerid.js.map +1 -1
- package/chunk/BirthDateComponent-DBoGs0xO.js +0 -39
- package/chunk/CaptchaComponent-CX3VgnkO.js.map +0 -1
- package/chunk/CaptchaComponent-CpD7kabQ.js.map +0 -1
- package/chunk/CountryComponentWrapper-BKmiop9j.js +0 -70
- package/chunk/CountryComponentWrapper-cR2hBUDi.js +0 -74
- package/chunk/ExtraMessage-D78-mbs6.js +0 -18
- package/chunk/StatusComponent-K7sbnHoL.js +0 -40
- package/chunk/StepActiveMilitaryPersonalInfoComponent-B19DJheV.js +0 -178
- package/chunk/StepAgePersonalInfo-Bi-QeGX8.js +0 -166
- package/chunk/StepAgePersonalInfo-CQBDmfRF.js +0 -170
- package/chunk/StepCollectMilitaryStatusComponent-Cp82hWUq.js +0 -9
- package/chunk/StepCollectPersonalInfo-B7--XzLY.js +0 -356
- package/chunk/StepDriverLicensePersonalInfoComponent-DvF6gQri.js +0 -140
- package/chunk/StepEmploymentPersonalInfo-CfW1cRz5.js +0 -211
- package/chunk/StepFirstResponderPersonalInfo-CcKpt9P9.js +0 -167
- package/chunk/StepFirstResponderPersonalInfo-fkmalnSR.js +0 -171
- package/chunk/StepGeneralIdentityPersonalInfoComponent-D-g65U8N.js +0 -173
- package/chunk/StepHybridIdentityPersonalInfoComponent-CKqXVn71.js +0 -182
- package/chunk/StepIDCheckLoop-qAopx3ex.js +0 -21
- package/chunk/StepInactiveMilitaryPersonalInfoComponent-Sgb4Acqi.js +0 -236
- package/chunk/StepLowIncomePersonalInfo-X2S_WVZz.js +0 -217
- package/chunk/StepMedicalProfessionalPersonalInfo-bRiGlQYY.js +0 -203
- package/chunk/StepMedicalProfessionalPersonalInfo-k9qmhFHs.js +0 -199
- package/chunk/StepMemberPersonalInfo-DJC6kzko.js +0 -153
- package/chunk/StepMoverPersonalInfo-R8lZHUqS.js +0 -140
- package/chunk/StepSSO-wafaHYQE.js +0 -9
- package/chunk/StepStudentPersonalInfo-Cpx5Y88n.js +0 -185
- package/chunk/StepTeacherPersonalInfo-JFMv7J7a.js +0 -150
- package/chunk/StepThirdPartyLoop-B12aMzdI.js +0 -9
- package/chunk/useMetrics-5ft9MF-y.js.map +0 -1
- package/chunk/useMetrics-CLLh0Tan.js.map +0 -1
package/sheerid.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE:
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.250.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1782922520068
|
|
5
|
+
* BUILD_DATE: Wed Jul 01 2026 16:15:20 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: cb70a3d38f25dac850245b568238895cd279ec48
|
|
7
7
|
*/
|
|
8
8
|
//#region \0rolldown/runtime.js
|
|
9
9
|
var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), s = (e, n) => {
|
|
@@ -12982,7 +12982,7 @@ var Ec = (e, t) => e < t ? -1 : +(e > t), Dc = (e, t) => wc(e, (n) => {
|
|
|
12982
12982
|
let n = U(e);
|
|
12983
12983
|
return Mc("mockPreviousStep") && Mc("mockPreviousStep") === F.sso && (n.lastResponse = Kc(t[F.sso])), n;
|
|
12984
12984
|
}, qc = (e) => U(e), Jc = async (e, t) => {
|
|
12985
|
-
let { allMockedResponses: n } = await import("./chunk/mocks-
|
|
12985
|
+
let { allMockedResponses: n } = await import("./chunk/mocks-WjVFEPXM.js"), r = K().mockResponse || n[e];
|
|
12986
12986
|
if (e && r) switch (N.info(`getOverriddenMock: mocking ${e} response`), e) {
|
|
12987
12987
|
case F.error:
|
|
12988
12988
|
r = Uc(r);
|
|
@@ -14401,7 +14401,7 @@ var Pu = {
|
|
|
14401
14401
|
}, dd = () => `${K().restApi.serviceUrl}${K().restApi.resources.verification}`, fd = (e) => `${dd()}${e}`, pd = () => dd(), md = (e, t = null) => {
|
|
14402
14402
|
let n = `${K().restApi.serviceUrl}${K().restApi.resources.program.base}${e}/${K().restApi.resources.program.theme}`;
|
|
14403
14403
|
return t ? `${n}?locale=${t}` : `${n}`;
|
|
14404
|
-
}, hd = (e) => `${K().restApi.serviceUrl}rest/v2/verification/${e}/step/smsLoop/retry`, gd = (e) => `${K().restApi.serviceUrl}rest/v2/verification/${e}/step/emailLoop/retry`, _d = (e, t) => `${K().restApi.serviceUrl}rest/v2/verification/${e}/${t}/fields`, vd = (e, t) => `${K().restApi.serviceUrl}rest/v2/verification/${e}/step/idCheckLoop/getDocumentTypesForCountries?countries=${t}`, yd = (e, t, n) => `${K().restApi.serviceUrl}rest/v2/verification/${e}/barcode?rewardKey=${t}&symbology=${n}`, bd = () => "2.
|
|
14404
|
+
}, hd = (e) => `${K().restApi.serviceUrl}rest/v2/verification/${e}/step/smsLoop/retry`, gd = (e) => `${K().restApi.serviceUrl}rest/v2/verification/${e}/step/emailLoop/retry`, _d = (e, t) => `${K().restApi.serviceUrl}rest/v2/verification/${e}/${t}/fields`, vd = (e, t) => `${K().restApi.serviceUrl}rest/v2/verification/${e}/step/idCheckLoop/getDocumentTypesForCountries?countries=${t}`, yd = (e, t, n) => `${K().restApi.serviceUrl}rest/v2/verification/${e}/barcode?rewardKey=${t}&symbology=${n}`, bd = () => "2.250.0", xd = () => window.location.href, Sd = () => {
|
|
14405
14405
|
try {
|
|
14406
14406
|
let e = new URLSearchParams(window.location.search);
|
|
14407
14407
|
if (e.get("installPageUrl")) return decodeURIComponent(e.get(Bi));
|
|
@@ -20194,45 +20194,15 @@ function sb({ id: e, context: t }) {
|
|
|
20194
20194
|
});
|
|
20195
20195
|
}
|
|
20196
20196
|
//#endregion
|
|
20197
|
-
//#region ../packages/shared/src/flags.ts
|
|
20198
|
-
var cb = {
|
|
20199
|
-
"doc-upload-redesign-use-legacy-message-keys": !1,
|
|
20200
|
-
"doc-upload-may24": "default",
|
|
20201
|
-
"include-cvec-field-france-student": "default",
|
|
20202
|
-
"docUpload-assertion-checklist": "default",
|
|
20203
|
-
"doc-upload-considerations": "default",
|
|
20204
|
-
"org-search-overlay": "default",
|
|
20205
|
-
"org-selected-display": "default",
|
|
20206
|
-
"hc-open-org-warning": "control",
|
|
20207
|
-
captcha: "default"
|
|
20208
|
-
}, lb = "_flagOverride", ub = (e = cb, t = window.location.href) => new URL(t).searchParams.getAll(lb).reduce((t, n) => {
|
|
20209
|
-
let [r, i] = n.split(":");
|
|
20210
|
-
if (!r || !i || !Object.keys(e).includes(r)) return t;
|
|
20211
|
-
let a = i === "true" || i === "false" ? JSON.parse(i) : i;
|
|
20212
|
-
return {
|
|
20213
|
-
...t,
|
|
20214
|
-
[r]: a
|
|
20215
|
-
};
|
|
20216
|
-
}, {}), db = () => {
|
|
20217
|
-
let e = Dy(), t = ub();
|
|
20218
|
-
return {
|
|
20219
|
-
...e,
|
|
20220
|
-
...t
|
|
20221
|
-
};
|
|
20222
|
-
};
|
|
20223
|
-
function fb(e) {
|
|
20224
|
-
return db()[e];
|
|
20225
|
-
}
|
|
20226
|
-
//#endregion
|
|
20227
20197
|
//#region src/components/FormFooter/FooterTextComponent.tsx
|
|
20228
|
-
var
|
|
20229
|
-
let { currentStep: e } = Yy(), t = Ky()
|
|
20198
|
+
var cb = () => {
|
|
20199
|
+
let { currentStep: e } = Yy(), t = $d(Ky());
|
|
20230
20200
|
return /* @__PURE__ */ (0, J.jsxs)("div", {
|
|
20231
20201
|
className: "sid-footer__text",
|
|
20232
20202
|
children: [/* @__PURE__ */ (0, J.jsx)(sb, {
|
|
20233
20203
|
id: "footerText",
|
|
20234
20204
|
context: e
|
|
20235
|
-
}),
|
|
20205
|
+
}), t && ue(e) && /* @__PURE__ */ (0, J.jsx)("p", {
|
|
20236
20206
|
className: "sid-footer__captcha-text",
|
|
20237
20207
|
children: /* @__PURE__ */ (0, J.jsx)(sb, { id: "captchaFooterText" })
|
|
20238
20208
|
})]
|
|
@@ -20240,48 +20210,48 @@ var pb = () => {
|
|
|
20240
20210
|
};
|
|
20241
20211
|
//#endregion
|
|
20242
20212
|
//#region ../node_modules/redux/es/redux.js
|
|
20243
|
-
function
|
|
20213
|
+
function lb(e) {
|
|
20244
20214
|
return "Minified Redux error #" + e + "; visit https://redux.js.org/Errors?code=" + e + " for the full message or use the non-minified dev environment for full errors. ";
|
|
20245
20215
|
}
|
|
20246
|
-
var
|
|
20216
|
+
var ub = (function() {
|
|
20247
20217
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
20248
|
-
})(),
|
|
20218
|
+
})(), db = function() {
|
|
20249
20219
|
return Math.random().toString(36).substring(7).split("").join(".");
|
|
20250
|
-
},
|
|
20251
|
-
INIT: "@@redux/INIT" +
|
|
20252
|
-
REPLACE: "@@redux/REPLACE" +
|
|
20220
|
+
}, fb = {
|
|
20221
|
+
INIT: "@@redux/INIT" + db(),
|
|
20222
|
+
REPLACE: "@@redux/REPLACE" + db(),
|
|
20253
20223
|
PROBE_UNKNOWN_ACTION: function() {
|
|
20254
|
-
return "@@redux/PROBE_UNKNOWN_ACTION" +
|
|
20224
|
+
return "@@redux/PROBE_UNKNOWN_ACTION" + db();
|
|
20255
20225
|
}
|
|
20256
20226
|
};
|
|
20257
|
-
function
|
|
20227
|
+
function pb(e) {
|
|
20258
20228
|
if (typeof e != "object" || !e) return !1;
|
|
20259
20229
|
for (var t = e; Object.getPrototypeOf(t) !== null;) t = Object.getPrototypeOf(t);
|
|
20260
20230
|
return Object.getPrototypeOf(e) === t;
|
|
20261
20231
|
}
|
|
20262
|
-
function
|
|
20232
|
+
function mb(e, t, n) {
|
|
20263
20233
|
var r;
|
|
20264
|
-
if (typeof t == "function" && typeof n == "function" || typeof n == "function" && typeof arguments[3] == "function") throw Error(
|
|
20234
|
+
if (typeof t == "function" && typeof n == "function" || typeof n == "function" && typeof arguments[3] == "function") throw Error(lb(0));
|
|
20265
20235
|
if (typeof t == "function" && n === void 0 && (n = t, t = void 0), n !== void 0) {
|
|
20266
|
-
if (typeof n != "function") throw Error(
|
|
20267
|
-
return n(
|
|
20236
|
+
if (typeof n != "function") throw Error(lb(1));
|
|
20237
|
+
return n(mb)(e, t);
|
|
20268
20238
|
}
|
|
20269
|
-
if (typeof e != "function") throw Error(
|
|
20239
|
+
if (typeof e != "function") throw Error(lb(2));
|
|
20270
20240
|
var i = e, a = t, o = [], s = o, c = !1;
|
|
20271
20241
|
function l() {
|
|
20272
20242
|
s === o && (s = o.slice());
|
|
20273
20243
|
}
|
|
20274
20244
|
function u() {
|
|
20275
|
-
if (c) throw Error(
|
|
20245
|
+
if (c) throw Error(lb(3));
|
|
20276
20246
|
return a;
|
|
20277
20247
|
}
|
|
20278
20248
|
function d(e) {
|
|
20279
|
-
if (typeof e != "function") throw Error(
|
|
20280
|
-
if (c) throw Error(
|
|
20249
|
+
if (typeof e != "function") throw Error(lb(4));
|
|
20250
|
+
if (c) throw Error(lb(5));
|
|
20281
20251
|
var t = !0;
|
|
20282
20252
|
return l(), s.push(e), function() {
|
|
20283
20253
|
if (t) {
|
|
20284
|
-
if (c) throw Error(
|
|
20254
|
+
if (c) throw Error(lb(6));
|
|
20285
20255
|
t = !1, l();
|
|
20286
20256
|
var n = s.indexOf(e);
|
|
20287
20257
|
s.splice(n, 1), o = null;
|
|
@@ -20289,9 +20259,9 @@ function yb(e, t, n) {
|
|
|
20289
20259
|
};
|
|
20290
20260
|
}
|
|
20291
20261
|
function f(e) {
|
|
20292
|
-
if (!
|
|
20293
|
-
if (e.type === void 0) throw Error(
|
|
20294
|
-
if (c) throw Error(
|
|
20262
|
+
if (!pb(e)) throw Error(lb(7));
|
|
20263
|
+
if (e.type === void 0) throw Error(lb(8));
|
|
20264
|
+
if (c) throw Error(lb(9));
|
|
20295
20265
|
try {
|
|
20296
20266
|
c = !0, a = i(a, e);
|
|
20297
20267
|
} finally {
|
|
@@ -20304,31 +20274,31 @@ function yb(e, t, n) {
|
|
|
20304
20274
|
return e;
|
|
20305
20275
|
}
|
|
20306
20276
|
function p(e) {
|
|
20307
|
-
if (typeof e != "function") throw Error(
|
|
20308
|
-
i = e, f({ type:
|
|
20277
|
+
if (typeof e != "function") throw Error(lb(10));
|
|
20278
|
+
i = e, f({ type: fb.REPLACE });
|
|
20309
20279
|
}
|
|
20310
20280
|
function m() {
|
|
20311
20281
|
var e, t = d;
|
|
20312
20282
|
return e = { subscribe: function(e) {
|
|
20313
|
-
if (typeof e != "object" || !e) throw Error(
|
|
20283
|
+
if (typeof e != "object" || !e) throw Error(lb(11));
|
|
20314
20284
|
function n() {
|
|
20315
20285
|
e.next && e.next(u());
|
|
20316
20286
|
}
|
|
20317
20287
|
return n(), { unsubscribe: t(n) };
|
|
20318
|
-
} }, e[
|
|
20288
|
+
} }, e[ub] = function() {
|
|
20319
20289
|
return this;
|
|
20320
20290
|
}, e;
|
|
20321
20291
|
}
|
|
20322
|
-
return f({ type:
|
|
20292
|
+
return f({ type: fb.INIT }), r = {
|
|
20323
20293
|
dispatch: f,
|
|
20324
20294
|
subscribe: d,
|
|
20325
20295
|
getState: u,
|
|
20326
20296
|
replaceReducer: p
|
|
20327
|
-
}, r[
|
|
20297
|
+
}, r[ub] = m, r;
|
|
20328
20298
|
}
|
|
20329
20299
|
//#endregion
|
|
20330
20300
|
//#region src/lib/VerificationService/verificationServiceReducer.ts
|
|
20331
|
-
var
|
|
20301
|
+
var hb = [
|
|
20332
20302
|
"activeDutyStartDate",
|
|
20333
20303
|
"address1",
|
|
20334
20304
|
"birthDate",
|
|
@@ -20349,7 +20319,7 @@ var bb = [
|
|
|
20349
20319
|
"state",
|
|
20350
20320
|
"status",
|
|
20351
20321
|
"statuses"
|
|
20352
|
-
],
|
|
20322
|
+
], gb = Object.freeze({
|
|
20353
20323
|
programId: void 0,
|
|
20354
20324
|
programTheme: void 0,
|
|
20355
20325
|
isLoading: !0,
|
|
@@ -20362,7 +20332,7 @@ var bb = [
|
|
|
20362
20332
|
messages: void 0,
|
|
20363
20333
|
orgList: void 0,
|
|
20364
20334
|
formValidationOptions: {}
|
|
20365
|
-
}),
|
|
20335
|
+
}), _b = () => U(gb), vb = (e = _b(), t) => {
|
|
20366
20336
|
switch (t.type) {
|
|
20367
20337
|
case "PROGRAM_ID": return bs(hs.programId, t.programId), {
|
|
20368
20338
|
...e,
|
|
@@ -20436,13 +20406,13 @@ var bb = [
|
|
|
20436
20406
|
isErrored: t.isErrored
|
|
20437
20407
|
};
|
|
20438
20408
|
case "RESET_STATE": return {
|
|
20439
|
-
...U(
|
|
20409
|
+
...U(_b()),
|
|
20440
20410
|
programId: e.programId
|
|
20441
20411
|
};
|
|
20442
20412
|
case "COLLECT_FIELDS": {
|
|
20443
20413
|
let n = t.requiredFields.map((e) => e.key);
|
|
20444
20414
|
(e.programTheme.smsLoopEnabled || e.viewModel?.country === "US" || e.viewModel.countryChoice?.value === "US") && !n.includes("phoneNumber") && n.push("phoneNumber"), e.verificationResponse.segment === "medical" && n.push("status");
|
|
20445
|
-
let r =
|
|
20415
|
+
let r = hb.filter((e) => hb.includes(e) && !n.includes(e));
|
|
20446
20416
|
return {
|
|
20447
20417
|
...e,
|
|
20448
20418
|
viewModel: {
|
|
@@ -20454,8 +20424,8 @@ var bb = [
|
|
|
20454
20424
|
case "FORCE_UPDATE": return U(e);
|
|
20455
20425
|
default: return e;
|
|
20456
20426
|
}
|
|
20457
|
-
},
|
|
20458
|
-
let e =
|
|
20427
|
+
}, yb, bb = () => (yb || (yb = mb(vb, window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__()), N.init(() => {
|
|
20428
|
+
let e = yb.getState(), t = B(() => e.verificationResponse.errorIds);
|
|
20459
20429
|
return {
|
|
20460
20430
|
programId: B(() => e.programId),
|
|
20461
20431
|
isLoading: B(() => e.isLoading),
|
|
@@ -20466,17 +20436,17 @@ var bb = [
|
|
|
20466
20436
|
locale: B(() => e.programTheme.intl.locale),
|
|
20467
20437
|
isTestMode: B(() => e.programTheme.isTestMode),
|
|
20468
20438
|
openOrgSearchEnabled: B(() => e.programTheme.openOrgSearchEnabled),
|
|
20469
|
-
jslibVerActual: B(() => "2.
|
|
20439
|
+
jslibVerActual: B(() => "2.250.0", "?")
|
|
20470
20440
|
};
|
|
20471
|
-
})),
|
|
20472
|
-
K().mockResponse &&
|
|
20441
|
+
})), yb), xb = () => bb().dispatch({ type: "RESET_STATE" }), Sb = () => {
|
|
20442
|
+
K().mockResponse && bb().dispatch({
|
|
20473
20443
|
verificationResponse: K().mockResponse,
|
|
20474
20444
|
type: "VERIFICATION_RESPONSE"
|
|
20475
|
-
}),
|
|
20476
|
-
},
|
|
20477
|
-
let n =
|
|
20445
|
+
}), bb().dispatch({ type: "FORCE_UPDATE" });
|
|
20446
|
+
}, Cb = bb(), wb = (e, t) => {
|
|
20447
|
+
let n = Cb.getState(), { partial: r = !0, metadataCheck: i = !1, externalUserIdCheck: a = !1 } = t || {}, o = () => {
|
|
20478
20448
|
let t = U(e);
|
|
20479
|
-
N.info("Setting viewModel", t), rg(
|
|
20449
|
+
N.info("Setting viewModel", t), rg(Cb.dispatch)(t, {
|
|
20480
20450
|
partial: r,
|
|
20481
20451
|
metadataCheck: i,
|
|
20482
20452
|
externalUserIdCheck: a
|
|
@@ -20488,18 +20458,18 @@ var bb = [
|
|
|
20488
20458
|
o();
|
|
20489
20459
|
}
|
|
20490
20460
|
}) : o();
|
|
20491
|
-
},
|
|
20492
|
-
let e =
|
|
20461
|
+
}, Tb = () => {
|
|
20462
|
+
let e = Cb.getState();
|
|
20493
20463
|
e.isLoading ? Gd({
|
|
20494
20464
|
name: "ON_VERIFICATION_READY",
|
|
20495
20465
|
callback: (e) => {
|
|
20496
|
-
lg(
|
|
20466
|
+
lg(Cb.dispatch)(e);
|
|
20497
20467
|
}
|
|
20498
|
-
}) : lg(
|
|
20499
|
-
},
|
|
20468
|
+
}) : lg(Cb.dispatch)(e.verificationResponse);
|
|
20469
|
+
}, Eb = ({ children: e, showShield: t = !1 }) => {
|
|
20500
20470
|
let n = ts(Xy()), r = g.useRef({});
|
|
20501
20471
|
return g.useEffect(() => {
|
|
20502
|
-
r.current &&
|
|
20472
|
+
r.current && wb({ metadata: { submissionOptIn: r.current.textContent } });
|
|
20503
20473
|
}, [r, n]), /* @__PURE__ */ (0, J.jsxs)("div", {
|
|
20504
20474
|
className: "sid-footer sid-h-small-text sid-l-space-top-md",
|
|
20505
20475
|
role: "contentinfo",
|
|
@@ -20512,16 +20482,16 @@ var bb = [
|
|
|
20512
20482
|
}), /* @__PURE__ */ (0, J.jsx)("div", { children: /* @__PURE__ */ (0, J.jsx)("div", {
|
|
20513
20483
|
className: "sid-footer__one",
|
|
20514
20484
|
ref: r,
|
|
20515
|
-
children: e || /* @__PURE__ */ (0, J.jsx)(
|
|
20485
|
+
children: e || /* @__PURE__ */ (0, J.jsx)(cb, {})
|
|
20516
20486
|
}) })]
|
|
20517
20487
|
});
|
|
20518
|
-
},
|
|
20488
|
+
}, Db = (e, t) => {
|
|
20519
20489
|
let n = g.useRef(null);
|
|
20520
20490
|
function r() {
|
|
20521
20491
|
clearInterval(n.current);
|
|
20522
20492
|
}
|
|
20523
20493
|
return g.useEffect(() => (n.current = setInterval(e, t), () => r()), [e, t]), r;
|
|
20524
|
-
},
|
|
20494
|
+
}, Ob = (e) => e.replace(/[A-Z]/g, (e) => `-${e.toLowerCase()}`), kb = ({ children: e, align: t }) => {
|
|
20525
20495
|
let n = (0, g.useRef)(null);
|
|
20526
20496
|
return (0, g.useEffect)(() => {
|
|
20527
20497
|
n.current && n.current.focus();
|
|
@@ -20531,8 +20501,8 @@ var bb = [
|
|
|
20531
20501
|
ref: n,
|
|
20532
20502
|
children: e
|
|
20533
20503
|
});
|
|
20534
|
-
},
|
|
20535
|
-
let a =
|
|
20504
|
+
}, Ab = ({ stepName: e, messages: t, logo: n, cancelSingleSignOn: r, cancelButtonType: i = Nb.PRIMARY }) => {
|
|
20505
|
+
let a = Ob(e);
|
|
20536
20506
|
return /* @__PURE__ */ (0, J.jsxs)("div", {
|
|
20537
20507
|
className: "sid-header sid-l-horz-center",
|
|
20538
20508
|
children: [
|
|
@@ -20540,7 +20510,7 @@ var bb = [
|
|
|
20540
20510
|
className: "sid-pending-logo-container sid-l-horz-center",
|
|
20541
20511
|
children: n
|
|
20542
20512
|
}),
|
|
20543
|
-
/* @__PURE__ */ (0, J.jsx)(
|
|
20513
|
+
/* @__PURE__ */ (0, J.jsx)(kb, {
|
|
20544
20514
|
align: "center",
|
|
20545
20515
|
children: t.title
|
|
20546
20516
|
}),
|
|
@@ -20556,7 +20526,7 @@ var bb = [
|
|
|
20556
20526
|
children: /* @__PURE__ */ (0, J.jsx)("button", {
|
|
20557
20527
|
onClick: r,
|
|
20558
20528
|
type: "submit",
|
|
20559
|
-
className: `sid-btn sid-${a}-pending-submit-btn ${i ===
|
|
20529
|
+
className: `sid-btn sid-${a}-pending-submit-btn ${i === Nb.SECONDARY ? "sid-btn-light" : "sid-btn--dark"} sid-l-full-width`,
|
|
20560
20530
|
"aria-label": "submit",
|
|
20561
20531
|
children: t.cancel
|
|
20562
20532
|
})
|
|
@@ -20565,13 +20535,13 @@ var bb = [
|
|
|
20565
20535
|
t?.subtitle2 ? /* @__PURE__ */ (0, J.jsx)("div", { className: "sid-l-space-top-xl" }) : /* @__PURE__ */ (0, J.jsx)("div", { className: "sid-l-space-top-lg" })
|
|
20566
20536
|
]
|
|
20567
20537
|
});
|
|
20568
|
-
},
|
|
20538
|
+
}, jb = ({ stepName: e, messages: t, logo: n, cancelSingleSignOn: r, cancelButtonType: i = Nb.PRIMARY }) => /* @__PURE__ */ (0, J.jsx)(Ab, {
|
|
20569
20539
|
messages: t,
|
|
20570
20540
|
stepName: e,
|
|
20571
20541
|
logo: n,
|
|
20572
20542
|
cancelSingleSignOn: r,
|
|
20573
20543
|
cancelButtonType: i
|
|
20574
|
-
}),
|
|
20544
|
+
}), Mb = ({ messages: e, verificationService: t, updateViewModelAndOpenLoginTab: n, dashedStepName: r }) => /* @__PURE__ */ (0, J.jsxs)("div", {
|
|
20575
20545
|
className: "sid-header sid-l-horz-center",
|
|
20576
20546
|
children: [
|
|
20577
20547
|
/* @__PURE__ */ (0, J.jsx)("div", {
|
|
@@ -20585,7 +20555,7 @@ var bb = [
|
|
|
20585
20555
|
})
|
|
20586
20556
|
})
|
|
20587
20557
|
}),
|
|
20588
|
-
/* @__PURE__ */ (0, J.jsx)(
|
|
20558
|
+
/* @__PURE__ */ (0, J.jsx)(kb, {
|
|
20589
20559
|
align: "center",
|
|
20590
20560
|
children: e.title
|
|
20591
20561
|
}),
|
|
@@ -20605,10 +20575,10 @@ var bb = [
|
|
|
20605
20575
|
}),
|
|
20606
20576
|
/* @__PURE__ */ (0, J.jsx)("div", { className: "sid-l-space-top-lg" })
|
|
20607
20577
|
]
|
|
20608
|
-
}),
|
|
20578
|
+
}), Nb = /* @__PURE__ */ function(e) {
|
|
20609
20579
|
return e.PRIMARY = "primary", e.SECONDARY = "secondary", e;
|
|
20610
|
-
}({}),
|
|
20611
|
-
let { programId: i } = e, a = e.viewModel, o = e.previousViewModel || void 0, s = e.verificationResponse, c = e.previousVerificationResponse || void 0, { verificationId: l, locale: u } = e.verificationResponse, d = Pc(), f =
|
|
20580
|
+
}({}), Pb = ({ verificationService: e, stepName: t, messages: n, cancelButtonType: r = "primary" }) => {
|
|
20581
|
+
let { programId: i } = e, a = e.viewModel, o = e.previousViewModel || void 0, s = e.verificationResponse, c = e.previousVerificationResponse || void 0, { verificationId: l, locale: u } = e.verificationResponse, d = Pc(), f = Ob(t), p, m = /* @__PURE__ */ (0, J.jsx)(Ry, {
|
|
20612
20582
|
verificationService: e,
|
|
20613
20583
|
fallbackLogo: /* @__PURE__ */ (0, J.jsx)("img", {
|
|
20614
20584
|
className: `sid-${f}-logo-default sid-l-lead-image`,
|
|
@@ -20645,21 +20615,21 @@ var bb = [
|
|
|
20645
20615
|
"data-testid": `sid-step-${f}`,
|
|
20646
20616
|
children: [/* @__PURE__ */ (0, J.jsx)("div", {
|
|
20647
20617
|
role: "main",
|
|
20648
|
-
children: a.isSingleSignOnActive ? /* @__PURE__ */ (0, J.jsx)(
|
|
20618
|
+
children: a.isSingleSignOnActive ? /* @__PURE__ */ (0, J.jsx)(jb, {
|
|
20649
20619
|
stepName: t,
|
|
20650
20620
|
messages: n,
|
|
20651
20621
|
logo: m,
|
|
20652
20622
|
cancelSingleSignOn: _,
|
|
20653
20623
|
cancelButtonType: r
|
|
20654
|
-
}) : /* @__PURE__ */ (0, J.jsx)(
|
|
20624
|
+
}) : /* @__PURE__ */ (0, J.jsx)(Mb, {
|
|
20655
20625
|
verificationService: e,
|
|
20656
20626
|
messages: n,
|
|
20657
20627
|
updateViewModelAndOpenLoginTab: v,
|
|
20658
20628
|
dashedStepName: f
|
|
20659
20629
|
})
|
|
20660
|
-
}), /* @__PURE__ */ (0, J.jsx)(
|
|
20630
|
+
}), /* @__PURE__ */ (0, J.jsx)(Eb, { verificationService: e })]
|
|
20661
20631
|
});
|
|
20662
|
-
},
|
|
20632
|
+
}, Fb = {
|
|
20663
20633
|
title: /* @__PURE__ */ (0, J.jsx)(V, {
|
|
20664
20634
|
id: "step.sso.title",
|
|
20665
20635
|
defaultMessage: "Verify using your school credentials",
|
|
@@ -20681,11 +20651,11 @@ var bb = [
|
|
|
20681
20651
|
id: "step.sso.subtitle2",
|
|
20682
20652
|
defaultMessage: "Can't sign in to your school?"
|
|
20683
20653
|
})
|
|
20684
|
-
},
|
|
20654
|
+
}, Ib = ({ verificationService: e }) => /* @__PURE__ */ (0, J.jsx)(Pb, {
|
|
20685
20655
|
verificationService: e,
|
|
20686
20656
|
stepName: F.sso,
|
|
20687
|
-
messages:
|
|
20688
|
-
}),
|
|
20657
|
+
messages: Fb
|
|
20658
|
+
}), Lb = (e) => {
|
|
20689
20659
|
let t = Rh(e);
|
|
20690
20660
|
if (t) try {
|
|
20691
20661
|
t.focus();
|
|
@@ -20696,7 +20666,7 @@ var bb = [
|
|
|
20696
20666
|
};
|
|
20697
20667
|
//#endregion
|
|
20698
20668
|
//#region src/lib/utils/getSafe.ts
|
|
20699
|
-
function
|
|
20669
|
+
function Rb(e, t) {
|
|
20700
20670
|
try {
|
|
20701
20671
|
return e();
|
|
20702
20672
|
} catch {
|
|
@@ -20705,7 +20675,7 @@ function Ub(e, t) {
|
|
|
20705
20675
|
}
|
|
20706
20676
|
//#endregion
|
|
20707
20677
|
//#region src/lib/utils/stepComponentHelpers/stepComponentHelpers.ts
|
|
20708
|
-
var
|
|
20678
|
+
var zb = (e, t) => {
|
|
20709
20679
|
let n = t.viewModel, r = wc(n, (t) => {
|
|
20710
20680
|
t.organization = e ? {
|
|
20711
20681
|
id: e.id,
|
|
@@ -20717,139 +20687,139 @@ var Wb = (e, t) => {
|
|
|
20717
20687
|
} : nl.organization, n.organization && n.organization.source !== void 0 && (t.organization.source = n.organization.source);
|
|
20718
20688
|
});
|
|
20719
20689
|
t.updateViewModel(r);
|
|
20720
|
-
},
|
|
20690
|
+
}, Bb = (e) => {
|
|
20721
20691
|
let t = e.viewModel, n = bi(), r = wc(t, (e) => {
|
|
20722
20692
|
Object.keys(t).forEach((t) => {
|
|
20723
20693
|
n.has(t) && (e[t] = n.get(t));
|
|
20724
20694
|
});
|
|
20725
20695
|
});
|
|
20726
20696
|
e.updateViewModel(r);
|
|
20727
|
-
},
|
|
20697
|
+
}, Vb = (e, t) => {
|
|
20728
20698
|
t.updateFieldValidationErrors(e);
|
|
20729
|
-
},
|
|
20699
|
+
}, Hb = (e, t, n) => {
|
|
20730
20700
|
let { fieldValidationErrors: r } = n;
|
|
20731
|
-
|
|
20701
|
+
Vb(wc(r, (r) => {
|
|
20732
20702
|
r[e] && (r[e] = Eh(e, t, n.formValidationOptions));
|
|
20733
20703
|
}), n);
|
|
20734
|
-
},
|
|
20704
|
+
}, Ub = (e, t) => Rb(() => t.length === 1) && Rb(() => t[0]) === "US" || Rb(() => e.value === "US") || Rb(() => e.value === void 0), Wb = (e, t, n) => t ? e.formatHTMLMessage({
|
|
20735
20705
|
id: t,
|
|
20736
20706
|
defaultMessage: n ? n[t] : "status"
|
|
20737
|
-
}) : "",
|
|
20707
|
+
}) : "", Gb = (e, t = void 0) => {
|
|
20738
20708
|
let n = [];
|
|
20739
20709
|
return t && t.forEach((t) => {
|
|
20740
20710
|
n.push({
|
|
20741
20711
|
value: t,
|
|
20742
|
-
label:
|
|
20712
|
+
label: Wb(e, t, Te)
|
|
20743
20713
|
});
|
|
20744
20714
|
}), n;
|
|
20745
|
-
},
|
|
20715
|
+
}, Kb = (e, t) => {
|
|
20746
20716
|
let n = [];
|
|
20747
20717
|
return t.forEach((t) => {
|
|
20748
20718
|
n.push({
|
|
20749
20719
|
value: t,
|
|
20750
|
-
label:
|
|
20720
|
+
label: Wb(e, t, Ce)
|
|
20751
20721
|
});
|
|
20752
20722
|
}), n;
|
|
20753
|
-
},
|
|
20723
|
+
}, qb = (e, t) => {
|
|
20754
20724
|
let n = [];
|
|
20755
20725
|
return t.forEach((t) => {
|
|
20756
20726
|
n.push({
|
|
20757
20727
|
value: t,
|
|
20758
|
-
label:
|
|
20728
|
+
label: Wb(e, t, Se)
|
|
20759
20729
|
});
|
|
20760
20730
|
}), n;
|
|
20761
|
-
},
|
|
20731
|
+
}, Jb = (e, t) => {
|
|
20762
20732
|
let n = [];
|
|
20763
20733
|
return t.forEach((t) => {
|
|
20764
20734
|
n.push({
|
|
20765
20735
|
value: t,
|
|
20766
|
-
label:
|
|
20736
|
+
label: Wb(e, t, null)
|
|
20767
20737
|
});
|
|
20768
20738
|
}), n;
|
|
20769
|
-
},
|
|
20739
|
+
}, Yb = (e) => ({
|
|
20770
20740
|
value: e.id,
|
|
20771
20741
|
label: e.name,
|
|
20772
20742
|
country: e.country
|
|
20773
|
-
}),
|
|
20743
|
+
}), Xb = new Map([["GB", [
|
|
20774
20744
|
"ACTIVE_DUTY",
|
|
20775
20745
|
"VETERAN",
|
|
20776
20746
|
"RESERVIST"
|
|
20777
|
-
]]]),
|
|
20778
|
-
let n = e.verificationResponse.availableStatuses || e.previousVerificationResponse && e.previousVerificationResponse.availableStatuses, r = [], i = e.viewModel && e.viewModel.countryChoice && e.viewModel.countryChoice.value, a = i &&
|
|
20747
|
+
]]]), Zb = (e, t) => {
|
|
20748
|
+
let n = e.verificationResponse.availableStatuses || e.previousVerificationResponse && e.previousVerificationResponse.availableStatuses, r = [], i = e.viewModel && e.viewModel.countryChoice && e.viewModel.countryChoice.value, a = i && Xb.get(i), o = a ? n.filter((e) => a.includes(e)) : n;
|
|
20779
20749
|
return o ? (o.forEach((e) => {
|
|
20780
20750
|
r.push({
|
|
20781
20751
|
value: e,
|
|
20782
|
-
label:
|
|
20752
|
+
label: Wb(t, e, xe)
|
|
20783
20753
|
});
|
|
20784
20754
|
}), r) : null;
|
|
20785
|
-
},
|
|
20755
|
+
}, Qb = () => {
|
|
20786
20756
|
let e = Lh(), t = [];
|
|
20787
20757
|
return e.map((e) => t.push(e.fieldId)), t;
|
|
20788
|
-
},
|
|
20758
|
+
}, $b = (e) => e === "birthDate" || e === "birthDateDay" ? "birthDateYear" : e, ex = (e, t) => {
|
|
20789
20759
|
let n;
|
|
20790
20760
|
return e.reverse().forEach((e) => {
|
|
20791
20761
|
t[e] && (n = e);
|
|
20792
|
-
}),
|
|
20793
|
-
},
|
|
20762
|
+
}), $b(n);
|
|
20763
|
+
}, tx = (e) => {
|
|
20794
20764
|
let t = Rh("submitButton");
|
|
20795
20765
|
e.key === "Enter" && t && t.click();
|
|
20796
|
-
},
|
|
20766
|
+
}, nx = (e, t, n, r) => {
|
|
20797
20767
|
let i = Am(e, t.formValidationOptions);
|
|
20798
20768
|
if (!Mm(i)) N.info(`${n} submitting form`), t.submitStep(n, e, t.verificationResponse), r && r();
|
|
20799
20769
|
else {
|
|
20800
|
-
let e =
|
|
20770
|
+
let e = ex(Qb(), i);
|
|
20801
20771
|
vs({
|
|
20802
20772
|
eventName: ms.INVALID_FORM_SUBMIT,
|
|
20803
20773
|
params: { fieldValidationErrors: JSON.stringify(i) }
|
|
20804
|
-
}),
|
|
20774
|
+
}), Vb(i, t), Lb(e);
|
|
20805
20775
|
}
|
|
20806
|
-
},
|
|
20776
|
+
}, rx = (e, t, n) => ({
|
|
20807
20777
|
estReviewTime: n.formatHTMLMessage({
|
|
20808
|
-
id: `dateTime.${
|
|
20778
|
+
id: `dateTime.${Rb(() => e.estimatedReviewTime) || cf(t)}`,
|
|
20809
20779
|
default: "a few minutes"
|
|
20810
20780
|
}),
|
|
20811
20781
|
maxReviewTime: n.formatHTMLMessage({
|
|
20812
|
-
id: `dateTime.${
|
|
20782
|
+
id: `dateTime.${Rb(() => e.maxReviewTime) || lf(t)}`,
|
|
20813
20783
|
default: "2 hours"
|
|
20814
20784
|
})
|
|
20815
|
-
}),
|
|
20785
|
+
}), ix = (e, t) => of(e).map((e) => ({
|
|
20816
20786
|
value: e,
|
|
20817
20787
|
label: t.formatHTMLMessage({
|
|
20818
20788
|
id: `countries.${e}`,
|
|
20819
20789
|
defaultMessage: e
|
|
20820
20790
|
})
|
|
20821
|
-
})),
|
|
20791
|
+
})), ax = (e, t, n) => ix(e, t).sort((e, t) => Intl.Collator(n).compare(e.label, t.label)), ox = (e, t, n) => e.map((e) => ({
|
|
20822
20792
|
value: e,
|
|
20823
20793
|
label: t.formatHTMLMessage({
|
|
20824
20794
|
id: `countries.${e}`,
|
|
20825
20795
|
defaultMessage: e
|
|
20826
20796
|
})
|
|
20827
|
-
})).sort((e, t) => Intl.Collator(n).compare(e.label, t.label)),
|
|
20797
|
+
})).sort((e, t) => Intl.Collator(n).compare(e.label, t.label)), sx = (e, t) => sf(e).map((e) => ({
|
|
20828
20798
|
value: e,
|
|
20829
20799
|
label: t.formatHTMLMessage({
|
|
20830
20800
|
id: `states.${e}`,
|
|
20831
20801
|
defaultMessage: e
|
|
20832
20802
|
})
|
|
20833
|
-
})),
|
|
20803
|
+
})), cx = (e, t) => wc(e, (n) => {
|
|
20834
20804
|
Ji.forEach((r) => {
|
|
20835
20805
|
t.some((e) => e.key === r) ? n[r] = e[r] === void 0 ? "" : e[r] : delete n[r];
|
|
20836
20806
|
});
|
|
20837
|
-
}),
|
|
20807
|
+
}), lx = (e, t) => rf(e).map((e) => ({
|
|
20838
20808
|
value: e,
|
|
20839
20809
|
label: t.formatHTMLMessage({
|
|
20840
20810
|
id: `locales.${e}`,
|
|
20841
20811
|
defaultMessage: e
|
|
20842
20812
|
})
|
|
20843
|
-
})),
|
|
20813
|
+
})), ux = (e) => e.length > 0 ? e[0] : {
|
|
20844
20814
|
value: "US",
|
|
20845
20815
|
label: "United States"
|
|
20846
|
-
},
|
|
20816
|
+
}, dx = (e, t, n) => wc(e, (e) => {
|
|
20847
20817
|
e[t] = n;
|
|
20848
|
-
}),
|
|
20818
|
+
}), fx = (e, t, n) => {
|
|
20849
20819
|
let r = "https://support.sheerid.com", { host: i } = new URL(window.location.href);
|
|
20850
20820
|
return (i.includes("preview") || i.includes("localhost")) && (r = "https://support-preview.sheerid.net"), `${r}/${e}/${t}/${n}/remember-me/`;
|
|
20851
|
-
},
|
|
20852
|
-
let r = n.verificationResponse, i =
|
|
20821
|
+
}, px = (e, t = K()) => t.formFieldConfig.find((t) => t.fieldId === e), mx = ({ intl: e, logo: t, verificationService: n }) => {
|
|
20822
|
+
let r = n.verificationResponse, i = rx({ ...r }, n.programTheme, e);
|
|
20853
20823
|
return /* @__PURE__ */ (0, J.jsxs)("div", {
|
|
20854
20824
|
className: "sid-header sid-l-horz-center",
|
|
20855
20825
|
"data-testid": "sid-review-pending",
|
|
@@ -20858,7 +20828,7 @@ var Wb = (e, t) => {
|
|
|
20858
20828
|
className: "sid-l-horz-center",
|
|
20859
20829
|
children: t
|
|
20860
20830
|
}),
|
|
20861
|
-
/* @__PURE__ */ (0, J.jsx)(
|
|
20831
|
+
/* @__PURE__ */ (0, J.jsx)(kb, {
|
|
20862
20832
|
align: "center",
|
|
20863
20833
|
children: /* @__PURE__ */ (0, J.jsx)(V, {
|
|
20864
20834
|
id: "step.pending.titleReview",
|
|
@@ -20891,7 +20861,7 @@ var Wb = (e, t) => {
|
|
|
20891
20861
|
/* @__PURE__ */ (0, J.jsx)("div", { className: "sid-l-space-top-xl" })
|
|
20892
20862
|
]
|
|
20893
20863
|
});
|
|
20894
|
-
},
|
|
20864
|
+
}, hx = ({ logo: e }) => /* @__PURE__ */ (0, J.jsxs)("div", {
|
|
20895
20865
|
className: "sid-header sid-l-horz-center",
|
|
20896
20866
|
"data-testid": "sid-review-pending",
|
|
20897
20867
|
children: [
|
|
@@ -20899,7 +20869,7 @@ var Wb = (e, t) => {
|
|
|
20899
20869
|
className: "sid-l-horz-center",
|
|
20900
20870
|
children: e
|
|
20901
20871
|
}),
|
|
20902
|
-
/* @__PURE__ */ (0, J.jsx)(
|
|
20872
|
+
/* @__PURE__ */ (0, J.jsx)(kb, {
|
|
20903
20873
|
align: "center",
|
|
20904
20874
|
children: /* @__PURE__ */ (0, J.jsx)(V, {
|
|
20905
20875
|
id: "step.pending.idCheckLoop.title",
|
|
@@ -20923,7 +20893,7 @@ var Wb = (e, t) => {
|
|
|
20923
20893
|
}),
|
|
20924
20894
|
/* @__PURE__ */ (0, J.jsx)("div", { className: "sid-l-space-top-xl" })
|
|
20925
20895
|
]
|
|
20926
|
-
}),
|
|
20896
|
+
}), gx = { [Me.SIGNZY]: {
|
|
20927
20897
|
title: /* @__PURE__ */ (0, J.jsx)(V, {
|
|
20928
20898
|
id: "step.thirdPartyLoop.signzy.title",
|
|
20929
20899
|
tagName: "h1",
|
|
@@ -20941,7 +20911,7 @@ var Wb = (e, t) => {
|
|
|
20941
20911
|
id: "step.thirdPartyLoop.signzy.cancel",
|
|
20942
20912
|
defaultMessage: "Upload Proof of Identity"
|
|
20943
20913
|
})
|
|
20944
|
-
} },
|
|
20914
|
+
} }, _x = ({ logo: e }) => /* @__PURE__ */ (0, J.jsx)("div", {
|
|
20945
20915
|
id: "sid-step-third-party-loop",
|
|
20946
20916
|
className: "sid-step-third-party-loop-container sid-l-container",
|
|
20947
20917
|
"data-testid": "sid-step-third-party-loop-error",
|
|
@@ -20952,7 +20922,7 @@ var Wb = (e, t) => {
|
|
|
20952
20922
|
className: "sid-error-logo-container sid-l-horz-center",
|
|
20953
20923
|
children: e
|
|
20954
20924
|
}),
|
|
20955
|
-
/* @__PURE__ */ (0, J.jsx)(
|
|
20925
|
+
/* @__PURE__ */ (0, J.jsx)(kb, {
|
|
20956
20926
|
align: "center",
|
|
20957
20927
|
children: /* @__PURE__ */ (0, J.jsx)(V, {
|
|
20958
20928
|
id: "error",
|
|
@@ -20971,14 +20941,14 @@ var Wb = (e, t) => {
|
|
|
20971
20941
|
})
|
|
20972
20942
|
]
|
|
20973
20943
|
})
|
|
20974
|
-
}),
|
|
20975
|
-
let t =
|
|
20976
|
-
return t ? /* @__PURE__ */ (0, J.jsx)(
|
|
20944
|
+
}), vx = ({ verificationService: e }) => {
|
|
20945
|
+
let t = gx[e.verificationResponse.thirdPartyLoopProvider] || void 0;
|
|
20946
|
+
return t ? /* @__PURE__ */ (0, J.jsx)(Pb, {
|
|
20977
20947
|
verificationService: e,
|
|
20978
20948
|
stepName: F.thirdPartyLoop,
|
|
20979
20949
|
messages: t,
|
|
20980
|
-
cancelButtonType:
|
|
20981
|
-
}) : /* @__PURE__ */ (0, J.jsx)(
|
|
20950
|
+
cancelButtonType: Nb.SECONDARY
|
|
20951
|
+
}) : /* @__PURE__ */ (0, J.jsx)(_x, { logo: /* @__PURE__ */ (0, J.jsx)(Ry, {
|
|
20982
20952
|
verificationService: e,
|
|
20983
20953
|
fallbackLogo: /* @__PURE__ */ (0, J.jsx)("img", {
|
|
20984
20954
|
className: "sid-error-logo sid-l-lead-image",
|
|
@@ -20986,23 +20956,23 @@ var Wb = (e, t) => {
|
|
|
20986
20956
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/circle-exclamation.svg"
|
|
20987
20957
|
})
|
|
20988
20958
|
}) });
|
|
20989
|
-
},
|
|
20990
|
-
let i =
|
|
20991
|
-
return i ? /* @__PURE__ */ (0, J.jsx)(
|
|
20959
|
+
}, yx = ({ logo: e, verificationLastResponse: t, cancelThirdPartyLoop: n, isMockingPreviousStepThirdPartyLoop: r }) => {
|
|
20960
|
+
let i = gx[r ? Mc("thirdPartyLoopProvider") : t?.thirdPartyLoopProvider] || void 0;
|
|
20961
|
+
return i ? /* @__PURE__ */ (0, J.jsx)(jb, {
|
|
20992
20962
|
stepName: F.thirdPartyLoop,
|
|
20993
20963
|
messages: i,
|
|
20994
20964
|
logo: e,
|
|
20995
20965
|
cancelSingleSignOn: n,
|
|
20996
|
-
cancelButtonType:
|
|
20997
|
-
}) : /* @__PURE__ */ (0, J.jsx)(
|
|
20998
|
-
},
|
|
20999
|
-
let { programId: n } = e, { viewModel: r } = e, i = e.previousViewModel || void 0, a = e.verificationResponse.lastResponse || e.previousVerificationResponse || void 0, { verificationId: o } = e.verificationResponse, s = Pc(), c = Rc() && Rc() === F.sso, l = Rc() && Rc() === F.thirdPartyLoop, u = Rc() && Rc() === F.idCheckLoop, d = () => a?.currentStep === F.sso, f = () => a?.currentStep === F.thirdPartyLoop, p = () => a?.currentStep === F.idCheckLoop, m = d() || f() || c || l, h = p() || u, _ = !m && !h, [v, y] = g.useState(() => m ?
|
|
20966
|
+
cancelButtonType: Nb.SECONDARY
|
|
20967
|
+
}) : /* @__PURE__ */ (0, J.jsx)(_x, { logo: e });
|
|
20968
|
+
}, bx = 5e3, xx = 2e4, Sx = 2e4, Cx = 2e3, wx = Pr(({ verificationService: e, intl: t }) => {
|
|
20969
|
+
let { programId: n } = e, { viewModel: r } = e, i = e.previousViewModel || void 0, a = e.verificationResponse.lastResponse || e.previousVerificationResponse || void 0, { verificationId: o } = e.verificationResponse, s = Pc(), c = Rc() && Rc() === F.sso, l = Rc() && Rc() === F.thirdPartyLoop, u = Rc() && Rc() === F.idCheckLoop, d = () => a?.currentStep === F.sso, f = () => a?.currentStep === F.thirdPartyLoop, p = () => a?.currentStep === F.idCheckLoop, m = d() || f() || c || l, h = p() || u, _ = !m && !h, [v, y] = g.useState(() => m ? Cx : h ? Sx : bx);
|
|
21000
20970
|
g.useEffect(() => {
|
|
21001
20971
|
if (!_) return;
|
|
21002
|
-
let e = setTimeout(() => y(
|
|
20972
|
+
let e = setTimeout(() => y(Sx), xx);
|
|
21003
20973
|
return () => clearTimeout(e);
|
|
21004
20974
|
}, [_]);
|
|
21005
|
-
let b = !s &&
|
|
20975
|
+
let b = !s && Db(() => {
|
|
21006
20976
|
e.fetchExistingVerificationRequest(n, o, a, i, !1);
|
|
21007
20977
|
}, v), x = (t) => {
|
|
21008
20978
|
let n = wc(r, () => {});
|
|
@@ -21022,17 +20992,17 @@ var Wb = (e, t) => {
|
|
|
21022
20992
|
role: "main",
|
|
21023
20993
|
children: (() => {
|
|
21024
20994
|
let n = d() || c, r = f() || l, i = p() || u;
|
|
21025
|
-
return n ? /* @__PURE__ */ (0, J.jsx)(
|
|
20995
|
+
return n ? /* @__PURE__ */ (0, J.jsx)(jb, {
|
|
21026
20996
|
stepName: F.sso,
|
|
21027
|
-
messages:
|
|
20997
|
+
messages: Fb,
|
|
21028
20998
|
logo: S,
|
|
21029
20999
|
cancelSingleSignOn: () => x(F.sso)
|
|
21030
|
-
}) : r ? /* @__PURE__ */ (0, J.jsx)(
|
|
21000
|
+
}) : r ? /* @__PURE__ */ (0, J.jsx)(yx, {
|
|
21031
21001
|
logo: S,
|
|
21032
21002
|
cancelThirdPartyLoop: () => x(F.thirdPartyLoop),
|
|
21033
21003
|
verificationLastResponse: a,
|
|
21034
21004
|
isMockingPreviousStepThirdPartyLoop: l
|
|
21035
|
-
}) : i ? /* @__PURE__ */ (0, J.jsx)(
|
|
21005
|
+
}) : i ? /* @__PURE__ */ (0, J.jsx)(hx, { logo: S }) : /* @__PURE__ */ (0, J.jsx)(mx, {
|
|
21036
21006
|
verificationService: e,
|
|
21037
21007
|
logo: S,
|
|
21038
21008
|
intl: t,
|
|
@@ -21042,12 +21012,12 @@ var Wb = (e, t) => {
|
|
|
21042
21012
|
}), h ? /* @__PURE__ */ (0, J.jsx)(Hy, {
|
|
21043
21013
|
verificationService: e,
|
|
21044
21014
|
isCentered: !0
|
|
21045
|
-
}) : /* @__PURE__ */ (0, J.jsxs)(
|
|
21015
|
+
}) : /* @__PURE__ */ (0, J.jsxs)(Eb, {
|
|
21046
21016
|
verificationService: e,
|
|
21047
21017
|
children: [/* @__PURE__ */ (0, J.jsx)("div", {}), " "]
|
|
21048
21018
|
})]
|
|
21049
21019
|
});
|
|
21050
|
-
}),
|
|
21020
|
+
}), Tx = () => {
|
|
21051
21021
|
let e = Zy(), t = B(() => e.verificationResponse.segment), n = g.useCallback(() => {
|
|
21052
21022
|
if (window.self !== window.top) {
|
|
21053
21023
|
let e = new URL(window.location.href);
|
|
@@ -21066,12 +21036,12 @@ var Wb = (e, t) => {
|
|
|
21066
21036
|
onKeyPress: n,
|
|
21067
21037
|
children: /* @__PURE__ */ (0, J.jsx)(sb, { id: "tryAgain" })
|
|
21068
21038
|
});
|
|
21069
|
-
},
|
|
21039
|
+
}, Ex = {
|
|
21070
21040
|
NONE: "none",
|
|
21071
21041
|
RESET: "reset",
|
|
21072
21042
|
POSTMESSAGE: "postMessage",
|
|
21073
21043
|
REDIRECT: "redirect"
|
|
21074
|
-
},
|
|
21044
|
+
}, Dx = () => {
|
|
21075
21045
|
let e = Yy(), t = () => Yu({
|
|
21076
21046
|
action: "tryAgain",
|
|
21077
21047
|
verificationResponse: e
|
|
@@ -21083,39 +21053,39 @@ var Wb = (e, t) => {
|
|
|
21083
21053
|
onKeyPress: t,
|
|
21084
21054
|
children: /* @__PURE__ */ (0, J.jsx)(sb, { id: "tryAgain" })
|
|
21085
21055
|
});
|
|
21086
|
-
},
|
|
21056
|
+
}, Ox = ({ redirectUrl: e, target: t = "_blank" }) => /* @__PURE__ */ (0, J.jsx)(zy, {
|
|
21087
21057
|
target: t,
|
|
21088
21058
|
href: e.toString(),
|
|
21089
21059
|
className: "sid-btn sid-btn--dark",
|
|
21090
21060
|
children: /* @__PURE__ */ (0, J.jsx)(sb, { id: "seeOtherOffers" })
|
|
21091
|
-
}),
|
|
21092
|
-
if (!(typeof e == "object" && "type" in e && Object.values(
|
|
21093
|
-
},
|
|
21061
|
+
}), kx = (e) => {
|
|
21062
|
+
if (!(typeof e == "object" && "type" in e && Object.values(Ex).includes(e.type))) throw RangeError("Invalid tryAgainAction option type - using default TryAgainButton.");
|
|
21063
|
+
}, Ax = () => {
|
|
21094
21064
|
let e = kc("tryAgainAction");
|
|
21095
21065
|
try {
|
|
21096
|
-
switch (
|
|
21097
|
-
case
|
|
21098
|
-
case
|
|
21099
|
-
case
|
|
21066
|
+
switch (kx(e), e.type) {
|
|
21067
|
+
case Ex.NONE: return null;
|
|
21068
|
+
case Ex.POSTMESSAGE: return window.self === window.top ? (N.error(`Invalid tryAgainAction option type "${e.type}" - page must be embedded in an iframe.`), null) : /* @__PURE__ */ (0, J.jsx)(Dx, {});
|
|
21069
|
+
case Ex.REDIRECT: return /* @__PURE__ */ (0, J.jsx)(Ox, {
|
|
21100
21070
|
redirectUrl: e.url,
|
|
21101
21071
|
target: e.target
|
|
21102
21072
|
});
|
|
21103
|
-
case
|
|
21073
|
+
case Ex.RESET: return /* @__PURE__ */ (0, J.jsx)(Tx, {});
|
|
21104
21074
|
default: throw RangeError("Invalid tryAgainAction option type - using default TryAgainButton.");
|
|
21105
21075
|
}
|
|
21106
21076
|
} catch (e) {
|
|
21107
|
-
return N.error(e.message), /* @__PURE__ */ (0, J.jsx)(
|
|
21077
|
+
return N.error(e.message), /* @__PURE__ */ (0, J.jsx)(Tx, {});
|
|
21108
21078
|
}
|
|
21109
|
-
},
|
|
21079
|
+
}, jx = ({ verificationService: e, errorIds: t }) => {
|
|
21110
21080
|
let n = t[0];
|
|
21111
|
-
return /* @__PURE__ */ (0, J.jsx)(
|
|
21081
|
+
return /* @__PURE__ */ (0, J.jsx)(kb, {
|
|
21112
21082
|
align: "center",
|
|
21113
21083
|
children: /* @__PURE__ */ (0, J.jsx)("h1", { children: /* @__PURE__ */ (0, J.jsx)(sb, { id: e?.messages[`step.error.errorId.${n}.title`] ? `step.error.errorId.${n}.title` : "step.error.title" }) })
|
|
21114
21084
|
});
|
|
21115
|
-
},
|
|
21085
|
+
}, Mx = ({ errorIds: e, errorDetailId: t }) => {
|
|
21116
21086
|
let n = /* @__PURE__ */ new Map();
|
|
21117
21087
|
return t ? n.set(t, `errorDetailId.${t}`) : e?.forEach((e) => n.set(e, `errorId.${e}`)), n.size > 0 ? /* @__PURE__ */ (0, J.jsx)("p", { children: Array.from(n).map(([e, t]) => /* @__PURE__ */ (0, J.jsx)(sb, { id: t }, t)) }) : null;
|
|
21118
|
-
},
|
|
21088
|
+
}, Nx = ({ verificationService: e, errorIds: t, redirectUrl: n }) => {
|
|
21119
21089
|
if (t.includes("unauthorizedAccountStatus")) {
|
|
21120
21090
|
let t = B(() => e.programTheme.config.brandInfo.faqUrl);
|
|
21121
21091
|
return t ? /* @__PURE__ */ (0, J.jsx)(zy, {
|
|
@@ -21126,15 +21096,15 @@ var Wb = (e, t) => {
|
|
|
21126
21096
|
}) : null;
|
|
21127
21097
|
}
|
|
21128
21098
|
if (t.includes("verificationLimitExceeded")) return null;
|
|
21129
|
-
if (t.includes("missingRequiredMetadata") || t.includes("missingRequiredExternalId")) return kc("tryAgainAction").type === "reset" ? null : /* @__PURE__ */ (0, J.jsx)(
|
|
21099
|
+
if (t.includes("missingRequiredMetadata") || t.includes("missingRequiredExternalId")) return kc("tryAgainAction").type === "reset" ? null : /* @__PURE__ */ (0, J.jsx)(Ax, {});
|
|
21130
21100
|
let r = t[0];
|
|
21131
21101
|
return e.messages?.[`step.error.errorId.${r}.buttonText`] && n ? /* @__PURE__ */ (0, J.jsx)(zy, {
|
|
21132
21102
|
href: n,
|
|
21133
21103
|
onClick: () => Ts(F.error, n),
|
|
21134
21104
|
className: "sid-btn sid-error-btn sid-btn-light",
|
|
21135
21105
|
children: /* @__PURE__ */ (0, J.jsx)(sb, { id: `step.error.errorId.${r}.buttonText` })
|
|
21136
|
-
}) : /* @__PURE__ */ (0, J.jsx)(
|
|
21137
|
-
},
|
|
21106
|
+
}) : /* @__PURE__ */ (0, J.jsx)(Ax, {});
|
|
21107
|
+
}, Px = ({ verificationService: e, errorId: t }) => {
|
|
21138
21108
|
let { errorIds: n, redirectUrl: r, errorDetailId: i } = e.verificationResponse, a = /* @__PURE__ */ new Set();
|
|
21139
21109
|
t && a.add(t), Array.isArray(n) && n.forEach((e) => a.add(e));
|
|
21140
21110
|
let o = Array.from(a);
|
|
@@ -21156,7 +21126,7 @@ var Wb = (e, t) => {
|
|
|
21156
21126
|
})
|
|
21157
21127
|
})
|
|
21158
21128
|
}),
|
|
21159
|
-
/* @__PURE__ */ (0, J.jsx)(
|
|
21129
|
+
/* @__PURE__ */ (0, J.jsx)(jx, {
|
|
21160
21130
|
verificationService: e,
|
|
21161
21131
|
errorIds: o
|
|
21162
21132
|
}),
|
|
@@ -21164,13 +21134,13 @@ var Wb = (e, t) => {
|
|
|
21164
21134
|
className: "sid-header__subtitle sid-l-horz-center sid-l-space-top-md",
|
|
21165
21135
|
children: [/* @__PURE__ */ (0, J.jsx)("div", {
|
|
21166
21136
|
className: "sid-error-msg sid-l-horz-center",
|
|
21167
|
-
children: /* @__PURE__ */ (0, J.jsx)(
|
|
21137
|
+
children: /* @__PURE__ */ (0, J.jsx)(Mx, {
|
|
21168
21138
|
errorIds: o,
|
|
21169
21139
|
errorDetailId: i
|
|
21170
21140
|
})
|
|
21171
21141
|
}), /* @__PURE__ */ (0, J.jsx)("div", {
|
|
21172
21142
|
className: "sid-l-space-top-lg sid-error-button-container sid-l-horz-center",
|
|
21173
|
-
children: /* @__PURE__ */ (0, J.jsx)(
|
|
21143
|
+
children: /* @__PURE__ */ (0, J.jsx)(Nx, {
|
|
21174
21144
|
verificationService: e,
|
|
21175
21145
|
errorIds: o,
|
|
21176
21146
|
redirectUrl: r
|
|
@@ -21186,41 +21156,41 @@ var Wb = (e, t) => {
|
|
|
21186
21156
|
})
|
|
21187
21157
|
})]
|
|
21188
21158
|
});
|
|
21189
|
-
},
|
|
21190
|
-
StepPendingComponent:
|
|
21191
|
-
StepErrorComponent:
|
|
21192
|
-
StepStudentPersonalInfoComponent: g.lazy(() => import("./chunk/StepStudentPersonalInfo-
|
|
21193
|
-
StepOverrideComponent: g.lazy(() => import("./chunk/StepOverrideComponent-
|
|
21194
|
-
StepAgePersonalInfoComponent: g.lazy(() => import("./chunk/StepAgePersonalInfo-
|
|
21195
|
-
StepSeniorPersonalInfoComponent: g.lazy(() => import("./chunk/StepAgePersonalInfo-
|
|
21196
|
-
StepActiveMilitaryPersonalInfoComponent: g.lazy(() => import("./chunk/StepActiveMilitaryPersonalInfoComponent-
|
|
21197
|
-
StepCollectMilitaryStatusComponent: g.lazy(() => import("./chunk/StepCollectMilitaryStatusComponent-
|
|
21198
|
-
StepInactiveMilitaryPersonalInfoComponent: g.lazy(() => import("./chunk/StepInactiveMilitaryPersonalInfoComponent-
|
|
21199
|
-
StepDriverLicensePersonalInfoComponent: g.lazy(() => import("./chunk/StepDriverLicensePersonalInfoComponent-
|
|
21200
|
-
StepEmploymentPersonalInfoComponent: g.lazy(() => import("./chunk/StepEmploymentPersonalInfo-
|
|
21201
|
-
StepFirstResponderPersonalInfoComponent: g.lazy(() => import("./chunk/StepFirstResponderPersonalInfo-
|
|
21202
|
-
StepGeneralIdentityPersonalInfoComponent: g.lazy(() => import("./chunk/StepGeneralIdentityPersonalInfoComponent-
|
|
21203
|
-
StepHybridIdentityPersonalInfoComponent: g.lazy(() => import("./chunk/StepHybridIdentityPersonalInfoComponent-
|
|
21204
|
-
StepIDCheckLoopComponent: g.lazy(() => import("./chunk/StepIDCheckLoop-
|
|
21205
|
-
StepLicensedProfessionalPersonalInfoComponent: g.lazy(() => import("./chunk/StepLicensedProfessionalPersonalInfo-
|
|
21206
|
-
StepLowIncomePersonalInfoComponent: g.lazy(() => import("./chunk/StepLowIncomePersonalInfo-
|
|
21207
|
-
StepMedicalProfessionalPersonalInfoComponent: g.lazy(() => import("./chunk/StepMedicalProfessionalPersonalInfo-
|
|
21208
|
-
StepMemberPersonalInfoComponent: g.lazy(() => import("./chunk/StepMemberPersonalInfo-
|
|
21209
|
-
StepConsolationComponent: g.lazy(() => import("./chunk/StepConsolation-
|
|
21210
|
-
StepDocUploadComponent: g.lazy(() => import("./chunk/StepDocUpload-
|
|
21211
|
-
StepEmailLoopComponent: g.lazy(() => import("./chunk/StepEmailLoop-
|
|
21212
|
-
StepPendingEmailLoopComponent: g.lazy(() => import("./chunk/EmailLoopPending-
|
|
21213
|
-
StepMoverPersonalInfoComponent: g.lazy(() => import("./chunk/StepMoverPersonalInfo-
|
|
21214
|
-
StepSMSLoopComponent: g.lazy(() => import("./chunk/StepSMSLoop-
|
|
21215
|
-
StepSocialSecurity: g.lazy(() => import("./chunk/StepSocialSecurityNumber-
|
|
21216
|
-
StepSSOComponent: g.lazy(() => import("./chunk/StepSSO-
|
|
21217
|
-
StepSuccessComponent: g.lazy(() => import("./chunk/StepSuccess-
|
|
21218
|
-
StepTeacherPersonalInfoComponent: g.lazy(() => import("./chunk/StepTeacherPersonalInfo-
|
|
21219
|
-
StepCompleteAuthentication: g.lazy(() => import("./chunk/StepCompleteAuthentication-
|
|
21220
|
-
StepCollectIdentifierComponent: g.lazy(() => import("./chunk/StepCollectIdentifier-
|
|
21221
|
-
StepCollectPersonalInfo: g.lazy(() => import("./chunk/StepCollectPersonalInfo-
|
|
21222
|
-
StepThirdPartyLoopComponent: g.lazy(() => import("./chunk/StepThirdPartyLoop-
|
|
21223
|
-
}, $ = (e) => (N.info("getComponent", e), Iy(e) ||
|
|
21159
|
+
}, Fx = {
|
|
21160
|
+
StepPendingComponent: wx,
|
|
21161
|
+
StepErrorComponent: Px,
|
|
21162
|
+
StepStudentPersonalInfoComponent: g.lazy(() => import("./chunk/StepStudentPersonalInfo-DC_LuVGO.js")),
|
|
21163
|
+
StepOverrideComponent: g.lazy(() => import("./chunk/StepOverrideComponent-DUneGdaQ.js")),
|
|
21164
|
+
StepAgePersonalInfoComponent: g.lazy(() => import("./chunk/StepAgePersonalInfo-BPeMAudS.js")),
|
|
21165
|
+
StepSeniorPersonalInfoComponent: g.lazy(() => import("./chunk/StepAgePersonalInfo-BPeMAudS.js")),
|
|
21166
|
+
StepActiveMilitaryPersonalInfoComponent: g.lazy(() => import("./chunk/StepActiveMilitaryPersonalInfoComponent-ZcCZn0os.js")),
|
|
21167
|
+
StepCollectMilitaryStatusComponent: g.lazy(() => import("./chunk/StepCollectMilitaryStatusComponent-Bxu0tcW8.js")),
|
|
21168
|
+
StepInactiveMilitaryPersonalInfoComponent: g.lazy(() => import("./chunk/StepInactiveMilitaryPersonalInfoComponent-CzS52K0a.js")),
|
|
21169
|
+
StepDriverLicensePersonalInfoComponent: g.lazy(() => import("./chunk/StepDriverLicensePersonalInfoComponent-Bf27mPeI.js")),
|
|
21170
|
+
StepEmploymentPersonalInfoComponent: g.lazy(() => import("./chunk/StepEmploymentPersonalInfo-BP0D_L-2.js")),
|
|
21171
|
+
StepFirstResponderPersonalInfoComponent: g.lazy(() => import("./chunk/StepFirstResponderPersonalInfo-CFlC4kHJ.js")),
|
|
21172
|
+
StepGeneralIdentityPersonalInfoComponent: g.lazy(() => import("./chunk/StepGeneralIdentityPersonalInfoComponent-D7rWM-zc.js")),
|
|
21173
|
+
StepHybridIdentityPersonalInfoComponent: g.lazy(() => import("./chunk/StepHybridIdentityPersonalInfoComponent-7Tl8uDuV.js")),
|
|
21174
|
+
StepIDCheckLoopComponent: g.lazy(() => import("./chunk/StepIDCheckLoop-DSWI3l3R.js")),
|
|
21175
|
+
StepLicensedProfessionalPersonalInfoComponent: g.lazy(() => import("./chunk/StepLicensedProfessionalPersonalInfo-MyhaHS8O.js")),
|
|
21176
|
+
StepLowIncomePersonalInfoComponent: g.lazy(() => import("./chunk/StepLowIncomePersonalInfo-MwI07ZDr.js")),
|
|
21177
|
+
StepMedicalProfessionalPersonalInfoComponent: g.lazy(() => import("./chunk/StepMedicalProfessionalPersonalInfo-Br3HaEsM.js")),
|
|
21178
|
+
StepMemberPersonalInfoComponent: g.lazy(() => import("./chunk/StepMemberPersonalInfo-D3y5Orq9.js")),
|
|
21179
|
+
StepConsolationComponent: g.lazy(() => import("./chunk/StepConsolation-C1iBEDx5.js")),
|
|
21180
|
+
StepDocUploadComponent: g.lazy(() => import("./chunk/StepDocUpload-D7O41B7o.js")),
|
|
21181
|
+
StepEmailLoopComponent: g.lazy(() => import("./chunk/StepEmailLoop-BwdA2js0.js")),
|
|
21182
|
+
StepPendingEmailLoopComponent: g.lazy(() => import("./chunk/EmailLoopPending-C2nD34JV.js").then((e) => e.n)),
|
|
21183
|
+
StepMoverPersonalInfoComponent: g.lazy(() => import("./chunk/StepMoverPersonalInfo-ms_oSmJJ.js")),
|
|
21184
|
+
StepSMSLoopComponent: g.lazy(() => import("./chunk/StepSMSLoop-CmnU4foO.js")),
|
|
21185
|
+
StepSocialSecurity: g.lazy(() => import("./chunk/StepSocialSecurityNumber-Bv8OGQDM.js")),
|
|
21186
|
+
StepSSOComponent: g.lazy(() => import("./chunk/StepSSO-D2pCLSYD.js")),
|
|
21187
|
+
StepSuccessComponent: g.lazy(() => import("./chunk/StepSuccess-DH_SCQ3o.js")),
|
|
21188
|
+
StepTeacherPersonalInfoComponent: g.lazy(() => import("./chunk/StepTeacherPersonalInfo-CdIYEUhN.js")),
|
|
21189
|
+
StepCompleteAuthentication: g.lazy(() => import("./chunk/StepCompleteAuthentication-DP1Q0Z7P.js")),
|
|
21190
|
+
StepCollectIdentifierComponent: g.lazy(() => import("./chunk/StepCollectIdentifier-DuKdS-j5.js")),
|
|
21191
|
+
StepCollectPersonalInfo: g.lazy(() => import("./chunk/StepCollectPersonalInfo-H3GU_HNZ.js")),
|
|
21192
|
+
StepThirdPartyLoopComponent: g.lazy(() => import("./chunk/StepThirdPartyLoop-C9irc_Or.js"))
|
|
21193
|
+
}, $ = (e) => (N.info("getComponent", e), Iy(e) || Fx[e]), Ix = () => /* @__PURE__ */ (0, J.jsx)($c, {}), Lx = ({ stepToLoad: e, verificationService: t }) => {
|
|
21224
21194
|
N.info(`LoadStepComponent: rendering step: ${e}`);
|
|
21225
21195
|
let n;
|
|
21226
21196
|
switch ((0, g.useEffect)(() => {
|
|
@@ -21345,23 +21315,23 @@ var Wb = (e, t) => {
|
|
|
21345
21315
|
case "cancelEmailLoop":
|
|
21346
21316
|
case "cancelSocialSecurityNumber":
|
|
21347
21317
|
case "docReviewLimitExceeded":
|
|
21348
|
-
case "emailLoopCollectOrganizationEmail": return N.error("Attempted to load unexpected step", e), /* @__PURE__ */ (0, J.jsx)(
|
|
21318
|
+
case "emailLoopCollectOrganizationEmail": return N.error("Attempted to load unexpected step", e), /* @__PURE__ */ (0, J.jsx)(Px, {
|
|
21349
21319
|
verificationService: t,
|
|
21350
21320
|
errorId: "invalidStep"
|
|
21351
21321
|
});
|
|
21352
|
-
default: return N.error("Unable to load step", e), /* @__PURE__ */ (0, J.jsx)(
|
|
21322
|
+
default: return N.error("Unable to load step", e), /* @__PURE__ */ (0, J.jsx)(Px, {
|
|
21353
21323
|
verificationService: t,
|
|
21354
21324
|
errorId: "invalidStep"
|
|
21355
21325
|
});
|
|
21356
21326
|
}
|
|
21357
21327
|
return /* @__PURE__ */ (0, J.jsx)(g.Suspense, {
|
|
21358
|
-
fallback:
|
|
21328
|
+
fallback: Ix(),
|
|
21359
21329
|
children: /* @__PURE__ */ (0, J.jsx)(n, { verificationService: t })
|
|
21360
21330
|
});
|
|
21361
|
-
},
|
|
21331
|
+
}, Rx = ({ dangerouslySetInnerHTML: e, ...t }) => e ? /* @__PURE__ */ (0, J.jsx)("span", {
|
|
21362
21332
|
dangerouslySetInnerHTML: e,
|
|
21363
21333
|
...t
|
|
21364
|
-
}) : /* @__PURE__ */ (0, J.jsx)(g.Fragment, { ...t }),
|
|
21334
|
+
}) : /* @__PURE__ */ (0, J.jsx)(g.Fragment, { ...t }), zx = ({ verificationService: e }) => e.programTheme?.isTestMode ? /* @__PURE__ */ (0, J.jsxs)("div", {
|
|
21365
21335
|
className: "sid-test-mode-flag sid-l-container sid-l-horz-center",
|
|
21366
21336
|
role: "note",
|
|
21367
21337
|
children: ["Test Mode", /* @__PURE__ */ (0, J.jsx)(zy, {
|
|
@@ -21370,7 +21340,7 @@ var Wb = (e, t) => {
|
|
|
21370
21340
|
"aria-label": "learn more about a sheerid test mode program",
|
|
21371
21341
|
children: "(learn more)"
|
|
21372
21342
|
})]
|
|
21373
|
-
}) : null,
|
|
21343
|
+
}) : null, Bx = ({ verificationService: e, title: t, children: n, fallbackLogo: r, classNameIdentifier: i = void 0 }) => /* @__PURE__ */ (0, J.jsxs)("header", {
|
|
21374
21344
|
className: "sid-header",
|
|
21375
21345
|
children: [
|
|
21376
21346
|
/* @__PURE__ */ (0, J.jsx)("div", {
|
|
@@ -21388,37 +21358,37 @@ var Wb = (e, t) => {
|
|
|
21388
21358
|
]
|
|
21389
21359
|
});
|
|
21390
21360
|
typeof window < "u" && window.document && window.document.createElement;
|
|
21391
|
-
function
|
|
21361
|
+
function Vx(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
|
|
21392
21362
|
return function(r) {
|
|
21393
21363
|
if (e?.(r), n === !1 || !r.defaultPrevented) return t?.(r);
|
|
21394
21364
|
};
|
|
21395
21365
|
}
|
|
21396
21366
|
//#endregion
|
|
21397
21367
|
//#region ../node_modules/@radix-ui/react-compose-refs/dist/index.mjs
|
|
21398
|
-
function
|
|
21368
|
+
function Hx(e, t) {
|
|
21399
21369
|
if (typeof e == "function") return e(t);
|
|
21400
21370
|
e != null && (e.current = t);
|
|
21401
21371
|
}
|
|
21402
|
-
function
|
|
21372
|
+
function Ux(...e) {
|
|
21403
21373
|
return (t) => {
|
|
21404
21374
|
let n = !1, r = e.map((e) => {
|
|
21405
|
-
let r =
|
|
21375
|
+
let r = Hx(e, t);
|
|
21406
21376
|
return !n && typeof r == "function" && (n = !0), r;
|
|
21407
21377
|
});
|
|
21408
21378
|
if (n) return () => {
|
|
21409
21379
|
for (let t = 0; t < r.length; t++) {
|
|
21410
21380
|
let n = r[t];
|
|
21411
|
-
typeof n == "function" ? n() :
|
|
21381
|
+
typeof n == "function" ? n() : Hx(e[t], null);
|
|
21412
21382
|
}
|
|
21413
21383
|
};
|
|
21414
21384
|
};
|
|
21415
21385
|
}
|
|
21416
|
-
function
|
|
21417
|
-
return g.useCallback(
|
|
21386
|
+
function Wx(...e) {
|
|
21387
|
+
return g.useCallback(Ux(...e), e);
|
|
21418
21388
|
}
|
|
21419
21389
|
//#endregion
|
|
21420
21390
|
//#region ../node_modules/@radix-ui/react-context/dist/index.mjs
|
|
21421
|
-
function
|
|
21391
|
+
function Gx(e, t = []) {
|
|
21422
21392
|
let n = [];
|
|
21423
21393
|
function r(t, r) {
|
|
21424
21394
|
let i = g.createContext(r), a = n.length;
|
|
@@ -21449,9 +21419,9 @@ function Xx(e, t = []) {
|
|
|
21449
21419
|
} }), [n, r]);
|
|
21450
21420
|
};
|
|
21451
21421
|
};
|
|
21452
|
-
return i.scopeName = e, [r,
|
|
21422
|
+
return i.scopeName = e, [r, Kx(i, ...t)];
|
|
21453
21423
|
}
|
|
21454
|
-
function
|
|
21424
|
+
function Kx(...e) {
|
|
21455
21425
|
let t = e[0];
|
|
21456
21426
|
if (e.length === 1) return t;
|
|
21457
21427
|
let n = () => {
|
|
@@ -21475,9 +21445,9 @@ function Zx(...e) {
|
|
|
21475
21445
|
//#endregion
|
|
21476
21446
|
//#region ../node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
21477
21447
|
/* @__NO_SIDE_EFFECTS__ */
|
|
21478
|
-
function
|
|
21479
|
-
let t = /* @__PURE__ */
|
|
21480
|
-
let { children: r, ...i } = e, a = g.Children.toArray(r), o = a.find(
|
|
21448
|
+
function qx(e) {
|
|
21449
|
+
let t = /* @__PURE__ */ Jx(e), n = g.forwardRef((e, n) => {
|
|
21450
|
+
let { children: r, ...i } = e, a = g.Children.toArray(r), o = a.find(Xx);
|
|
21481
21451
|
if (o) {
|
|
21482
21452
|
let e = o.props.children, r = a.map((t) => t === o ? g.Children.count(e) > 1 ? g.Children.only(null) : g.isValidElement(e) ? e.props.children : null : t);
|
|
21483
21453
|
return /* @__PURE__ */ (0, J.jsx)(t, {
|
|
@@ -21495,22 +21465,22 @@ function Qx(e) {
|
|
|
21495
21465
|
return n.displayName = `${e}.Slot`, n;
|
|
21496
21466
|
}
|
|
21497
21467
|
/* @__NO_SIDE_EFFECTS__ */
|
|
21498
|
-
function
|
|
21468
|
+
function Jx(e) {
|
|
21499
21469
|
let t = g.forwardRef((e, t) => {
|
|
21500
21470
|
let { children: n, ...r } = e;
|
|
21501
21471
|
if (g.isValidElement(n)) {
|
|
21502
|
-
let e =
|
|
21503
|
-
return n.type !== g.Fragment && (i.ref = t ?
|
|
21472
|
+
let e = Qx(n), i = Zx(r, n.props);
|
|
21473
|
+
return n.type !== g.Fragment && (i.ref = t ? Ux(t, e) : e), g.cloneElement(n, i);
|
|
21504
21474
|
}
|
|
21505
21475
|
return g.Children.count(n) > 1 ? g.Children.only(null) : null;
|
|
21506
21476
|
});
|
|
21507
21477
|
return t.displayName = `${e}.SlotClone`, t;
|
|
21508
21478
|
}
|
|
21509
|
-
var
|
|
21510
|
-
function
|
|
21511
|
-
return g.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId ===
|
|
21479
|
+
var Yx = Symbol("radix.slottable");
|
|
21480
|
+
function Xx(e) {
|
|
21481
|
+
return g.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === Yx;
|
|
21512
21482
|
}
|
|
21513
|
-
function
|
|
21483
|
+
function Zx(e, t) {
|
|
21514
21484
|
let n = { ...t };
|
|
21515
21485
|
for (let r in t) {
|
|
21516
21486
|
let i = e[r], a = t[r];
|
|
@@ -21527,13 +21497,13 @@ function nS(e, t) {
|
|
|
21527
21497
|
...n
|
|
21528
21498
|
};
|
|
21529
21499
|
}
|
|
21530
|
-
function
|
|
21500
|
+
function Qx(e) {
|
|
21531
21501
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
21532
21502
|
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);
|
|
21533
21503
|
}
|
|
21534
21504
|
//#endregion
|
|
21535
21505
|
//#region ../node_modules/@radix-ui/react-primitive/dist/index.mjs
|
|
21536
|
-
var
|
|
21506
|
+
var $x = [
|
|
21537
21507
|
"a",
|
|
21538
21508
|
"button",
|
|
21539
21509
|
"div",
|
|
@@ -21552,7 +21522,7 @@ var iS = [
|
|
|
21552
21522
|
"svg",
|
|
21553
21523
|
"ul"
|
|
21554
21524
|
].reduce((e, t) => {
|
|
21555
|
-
let n = /* @__PURE__ */
|
|
21525
|
+
let n = /* @__PURE__ */ qx(`Primitive.${t}`), r = g.forwardRef((e, r) => {
|
|
21556
21526
|
let { asChild: i, ...a } = e, o = i ? n : t;
|
|
21557
21527
|
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ (0, J.jsx)(o, {
|
|
21558
21528
|
...a,
|
|
@@ -21564,12 +21534,12 @@ var iS = [
|
|
|
21564
21534
|
[t]: r
|
|
21565
21535
|
};
|
|
21566
21536
|
}, {});
|
|
21567
|
-
function
|
|
21537
|
+
function eS(e, t) {
|
|
21568
21538
|
e && _.flushSync(() => e.dispatchEvent(t));
|
|
21569
21539
|
}
|
|
21570
21540
|
//#endregion
|
|
21571
21541
|
//#region ../node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
|
|
21572
|
-
function
|
|
21542
|
+
function tS(e) {
|
|
21573
21543
|
let t = g.useRef(e);
|
|
21574
21544
|
return g.useEffect(() => {
|
|
21575
21545
|
t.current = e;
|
|
@@ -21577,8 +21547,8 @@ function oS(e) {
|
|
|
21577
21547
|
}
|
|
21578
21548
|
//#endregion
|
|
21579
21549
|
//#region ../node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs
|
|
21580
|
-
function
|
|
21581
|
-
let n =
|
|
21550
|
+
function nS(e, t = globalThis?.document) {
|
|
21551
|
+
let n = tS(e);
|
|
21582
21552
|
g.useEffect(() => {
|
|
21583
21553
|
let e = (e) => {
|
|
21584
21554
|
e.key === "Escape" && n(e);
|
|
@@ -21588,23 +21558,23 @@ function sS(e, t = globalThis?.document) {
|
|
|
21588
21558
|
}
|
|
21589
21559
|
//#endregion
|
|
21590
21560
|
//#region ../node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
|
|
21591
|
-
var
|
|
21561
|
+
var rS = "DismissableLayer", iS = "dismissableLayer.update", aS = "dismissableLayer.pointerDownOutside", oS = "dismissableLayer.focusOutside", sS, cS = g.createContext({
|
|
21592
21562
|
layers: /* @__PURE__ */ new Set(),
|
|
21593
21563
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
21594
21564
|
branches: /* @__PURE__ */ new Set()
|
|
21595
|
-
}),
|
|
21596
|
-
let { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: o, onDismiss: s, ...c } = e, l = g.useContext(
|
|
21565
|
+
}), lS = g.forwardRef((e, t) => {
|
|
21566
|
+
let { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: o, onDismiss: s, ...c } = e, l = g.useContext(cS), [u, d] = g.useState(null), f = u?.ownerDocument ?? globalThis?.document, [, p] = g.useState({}), m = Wx(t, (e) => d(e)), h = Array.from(l.layers), [_] = [...l.layersWithOutsidePointerEventsDisabled].slice(-1), v = h.indexOf(_), y = u ? h.indexOf(u) : -1, b = l.layersWithOutsidePointerEventsDisabled.size > 0, x = y >= v, S = fS((e) => {
|
|
21597
21567
|
let t = e.target, n = [...l.branches].some((e) => e.contains(t));
|
|
21598
21568
|
!x || n || (i?.(e), o?.(e), e.defaultPrevented || s?.());
|
|
21599
|
-
}, f), C =
|
|
21569
|
+
}, f), C = pS((e) => {
|
|
21600
21570
|
let t = e.target;
|
|
21601
21571
|
[...l.branches].some((e) => e.contains(t)) || (a?.(e), o?.(e), e.defaultPrevented || s?.());
|
|
21602
21572
|
}, f);
|
|
21603
|
-
return
|
|
21573
|
+
return nS((e) => {
|
|
21604
21574
|
y === l.layers.size - 1 && (r?.(e), !e.defaultPrevented && s && (e.preventDefault(), s()));
|
|
21605
21575
|
}, f), g.useEffect(() => {
|
|
21606
|
-
if (u) return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (
|
|
21607
|
-
n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (f.body.style.pointerEvents =
|
|
21576
|
+
if (u) return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (sS = f.body.style.pointerEvents, f.body.style.pointerEvents = "none"), l.layersWithOutsidePointerEventsDisabled.add(u)), l.layers.add(u), mS(), () => {
|
|
21577
|
+
n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (f.body.style.pointerEvents = sS);
|
|
21608
21578
|
};
|
|
21609
21579
|
}, [
|
|
21610
21580
|
u,
|
|
@@ -21612,43 +21582,43 @@ var cS = "DismissableLayer", lS = "dismissableLayer.update", uS = "dismissableLa
|
|
|
21612
21582
|
n,
|
|
21613
21583
|
l
|
|
21614
21584
|
]), g.useEffect(() => () => {
|
|
21615
|
-
u && (l.layers.delete(u), l.layersWithOutsidePointerEventsDisabled.delete(u),
|
|
21585
|
+
u && (l.layers.delete(u), l.layersWithOutsidePointerEventsDisabled.delete(u), mS());
|
|
21616
21586
|
}, [u, l]), g.useEffect(() => {
|
|
21617
21587
|
let e = () => p({});
|
|
21618
|
-
return document.addEventListener(
|
|
21619
|
-
}, []), /* @__PURE__ */ (0, J.jsx)(
|
|
21588
|
+
return document.addEventListener(iS, e), () => document.removeEventListener(iS, e);
|
|
21589
|
+
}, []), /* @__PURE__ */ (0, J.jsx)($x.div, {
|
|
21620
21590
|
...c,
|
|
21621
21591
|
ref: m,
|
|
21622
21592
|
style: {
|
|
21623
21593
|
pointerEvents: b ? x ? "auto" : "none" : void 0,
|
|
21624
21594
|
...e.style
|
|
21625
21595
|
},
|
|
21626
|
-
onFocusCapture:
|
|
21627
|
-
onBlurCapture:
|
|
21628
|
-
onPointerDownCapture:
|
|
21596
|
+
onFocusCapture: Vx(e.onFocusCapture, C.onFocusCapture),
|
|
21597
|
+
onBlurCapture: Vx(e.onBlurCapture, C.onBlurCapture),
|
|
21598
|
+
onPointerDownCapture: Vx(e.onPointerDownCapture, S.onPointerDownCapture)
|
|
21629
21599
|
});
|
|
21630
21600
|
});
|
|
21631
|
-
|
|
21632
|
-
var
|
|
21633
|
-
let n = g.useContext(
|
|
21601
|
+
lS.displayName = rS;
|
|
21602
|
+
var uS = "DismissableLayerBranch", dS = g.forwardRef((e, t) => {
|
|
21603
|
+
let n = g.useContext(cS), r = g.useRef(null), i = Wx(t, r);
|
|
21634
21604
|
return g.useEffect(() => {
|
|
21635
21605
|
let e = r.current;
|
|
21636
21606
|
if (e) return n.branches.add(e), () => {
|
|
21637
21607
|
n.branches.delete(e);
|
|
21638
21608
|
};
|
|
21639
|
-
}, [n.branches]), /* @__PURE__ */ (0, J.jsx)(
|
|
21609
|
+
}, [n.branches]), /* @__PURE__ */ (0, J.jsx)($x.div, {
|
|
21640
21610
|
...e,
|
|
21641
21611
|
ref: i
|
|
21642
21612
|
});
|
|
21643
21613
|
});
|
|
21644
|
-
|
|
21645
|
-
function
|
|
21646
|
-
let n =
|
|
21614
|
+
dS.displayName = uS;
|
|
21615
|
+
function fS(e, t = globalThis?.document) {
|
|
21616
|
+
let n = tS(e), r = g.useRef(!1), i = g.useRef(() => {});
|
|
21647
21617
|
return g.useEffect(() => {
|
|
21648
21618
|
let e = (e) => {
|
|
21649
21619
|
if (e.target && !r.current) {
|
|
21650
21620
|
let r = function() {
|
|
21651
|
-
|
|
21621
|
+
hS(aS, n, a, { discrete: !0 });
|
|
21652
21622
|
}, a = { originalEvent: e };
|
|
21653
21623
|
e.pointerType === "touch" ? (t.removeEventListener("click", i.current), i.current = r, t.addEventListener("click", i.current, { once: !0 })) : r();
|
|
21654
21624
|
} else t.removeEventListener("click", i.current);
|
|
@@ -21661,11 +21631,11 @@ function _S(e, t = globalThis?.document) {
|
|
|
21661
21631
|
};
|
|
21662
21632
|
}, [t, n]), { onPointerDownCapture: () => r.current = !0 };
|
|
21663
21633
|
}
|
|
21664
|
-
function
|
|
21665
|
-
let n =
|
|
21634
|
+
function pS(e, t = globalThis?.document) {
|
|
21635
|
+
let n = tS(e), r = g.useRef(!1);
|
|
21666
21636
|
return g.useEffect(() => {
|
|
21667
21637
|
let e = (e) => {
|
|
21668
|
-
e.target && !r.current &&
|
|
21638
|
+
e.target && !r.current && hS(oS, n, { originalEvent: e }, { discrete: !1 });
|
|
21669
21639
|
};
|
|
21670
21640
|
return t.addEventListener("focusin", e), () => t.removeEventListener("focusin", e);
|
|
21671
21641
|
}, [t, n]), {
|
|
@@ -21673,40 +21643,40 @@ function vS(e, t = globalThis?.document) {
|
|
|
21673
21643
|
onBlurCapture: () => r.current = !1
|
|
21674
21644
|
};
|
|
21675
21645
|
}
|
|
21676
|
-
function
|
|
21677
|
-
let e = new CustomEvent(
|
|
21646
|
+
function mS() {
|
|
21647
|
+
let e = new CustomEvent(iS);
|
|
21678
21648
|
document.dispatchEvent(e);
|
|
21679
21649
|
}
|
|
21680
|
-
function
|
|
21650
|
+
function hS(e, t, n, { discrete: r }) {
|
|
21681
21651
|
let i = n.originalEvent.target, a = new CustomEvent(e, {
|
|
21682
21652
|
bubbles: !1,
|
|
21683
21653
|
cancelable: !0,
|
|
21684
21654
|
detail: n
|
|
21685
21655
|
});
|
|
21686
|
-
t && i.addEventListener(e, t, { once: !0 }), r ?
|
|
21656
|
+
t && i.addEventListener(e, t, { once: !0 }), r ? eS(i, a) : i.dispatchEvent(a);
|
|
21687
21657
|
}
|
|
21688
21658
|
//#endregion
|
|
21689
21659
|
//#region ../node_modules/@radix-ui/react-focus-guards/dist/index.mjs
|
|
21690
|
-
var
|
|
21691
|
-
function
|
|
21660
|
+
var gS = 0;
|
|
21661
|
+
function _S() {
|
|
21692
21662
|
g.useEffect(() => {
|
|
21693
21663
|
let e = document.querySelectorAll("[data-radix-focus-guard]");
|
|
21694
|
-
return document.body.insertAdjacentElement("afterbegin", e[0] ??
|
|
21695
|
-
|
|
21664
|
+
return document.body.insertAdjacentElement("afterbegin", e[0] ?? vS()), document.body.insertAdjacentElement("beforeend", e[1] ?? vS()), gS++, () => {
|
|
21665
|
+
gS === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((e) => e.remove()), gS--;
|
|
21696
21666
|
};
|
|
21697
21667
|
}, []);
|
|
21698
21668
|
}
|
|
21699
|
-
function
|
|
21669
|
+
function vS() {
|
|
21700
21670
|
let e = document.createElement("span");
|
|
21701
21671
|
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;
|
|
21702
21672
|
}
|
|
21703
21673
|
//#endregion
|
|
21704
21674
|
//#region ../node_modules/@radix-ui/react-focus-scope/dist/index.mjs
|
|
21705
|
-
var
|
|
21675
|
+
var yS = "focusScope.autoFocusOnMount", bS = "focusScope.autoFocusOnUnmount", xS = {
|
|
21706
21676
|
bubbles: !1,
|
|
21707
21677
|
cancelable: !0
|
|
21708
|
-
},
|
|
21709
|
-
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [s, c] = g.useState(null), l =
|
|
21678
|
+
}, SS = "FocusScope", CS = g.forwardRef((e, t) => {
|
|
21679
|
+
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [s, c] = g.useState(null), l = tS(i), u = tS(a), d = g.useRef(null), f = Wx(t, (e) => c(e)), p = g.useRef({
|
|
21710
21680
|
paused: !1,
|
|
21711
21681
|
pause() {
|
|
21712
21682
|
this.paused = !0;
|
|
@@ -21720,13 +21690,13 @@ var wS = "focusScope.autoFocusOnMount", TS = "focusScope.autoFocusOnUnmount", ES
|
|
|
21720
21690
|
let e = function(e) {
|
|
21721
21691
|
if (p.paused || !s) return;
|
|
21722
21692
|
let t = e.target;
|
|
21723
|
-
s.contains(t) ? d.current = t :
|
|
21693
|
+
s.contains(t) ? d.current = t : AS(d.current, { select: !0 });
|
|
21724
21694
|
}, t = function(e) {
|
|
21725
21695
|
if (p.paused || !s) return;
|
|
21726
21696
|
let t = e.relatedTarget;
|
|
21727
|
-
t !== null && (s.contains(t) ||
|
|
21697
|
+
t !== null && (s.contains(t) || AS(d.current, { select: !0 }));
|
|
21728
21698
|
}, n = function(e) {
|
|
21729
|
-
if (document.activeElement === document.body) for (let t of e) t.removedNodes.length > 0 &&
|
|
21699
|
+
if (document.activeElement === document.body) for (let t of e) t.removedNodes.length > 0 && AS(s);
|
|
21730
21700
|
};
|
|
21731
21701
|
document.addEventListener("focusin", e), document.addEventListener("focusout", t);
|
|
21732
21702
|
let r = new MutationObserver(n);
|
|
@@ -21743,16 +21713,16 @@ var wS = "focusScope.autoFocusOnMount", TS = "focusScope.autoFocusOnUnmount", ES
|
|
|
21743
21713
|
p.paused
|
|
21744
21714
|
]), g.useEffect(() => {
|
|
21745
21715
|
if (s) {
|
|
21746
|
-
|
|
21716
|
+
jS.add(p);
|
|
21747
21717
|
let e = document.activeElement;
|
|
21748
21718
|
if (!s.contains(e)) {
|
|
21749
|
-
let t = new CustomEvent(
|
|
21750
|
-
s.addEventListener(
|
|
21719
|
+
let t = new CustomEvent(yS, xS);
|
|
21720
|
+
s.addEventListener(yS, l), s.dispatchEvent(t), t.defaultPrevented || (wS(PS(ES(s)), { select: !0 }), document.activeElement === e && AS(s));
|
|
21751
21721
|
}
|
|
21752
21722
|
return () => {
|
|
21753
|
-
s.removeEventListener(
|
|
21754
|
-
let t = new CustomEvent(
|
|
21755
|
-
s.addEventListener(
|
|
21723
|
+
s.removeEventListener(yS, l), setTimeout(() => {
|
|
21724
|
+
let t = new CustomEvent(bS, xS);
|
|
21725
|
+
s.addEventListener(bS, u), s.dispatchEvent(t), t.defaultPrevented || AS(e ?? document.body, { select: !0 }), s.removeEventListener(bS, u), jS.remove(p);
|
|
21756
21726
|
}, 0);
|
|
21757
21727
|
};
|
|
21758
21728
|
}
|
|
@@ -21766,31 +21736,31 @@ var wS = "focusScope.autoFocusOnMount", TS = "focusScope.autoFocusOnUnmount", ES
|
|
|
21766
21736
|
if (!n && !r || p.paused) return;
|
|
21767
21737
|
let t = e.key === "Tab" && !e.altKey && !e.ctrlKey && !e.metaKey, i = document.activeElement;
|
|
21768
21738
|
if (t && i) {
|
|
21769
|
-
let t = e.currentTarget, [r, a] =
|
|
21770
|
-
r && a ? !e.shiftKey && i === a ? (e.preventDefault(), n &&
|
|
21739
|
+
let t = e.currentTarget, [r, a] = TS(t);
|
|
21740
|
+
r && a ? !e.shiftKey && i === a ? (e.preventDefault(), n && AS(r, { select: !0 })) : e.shiftKey && i === r && (e.preventDefault(), n && AS(a, { select: !0 })) : i === t && e.preventDefault();
|
|
21771
21741
|
}
|
|
21772
21742
|
}, [
|
|
21773
21743
|
n,
|
|
21774
21744
|
r,
|
|
21775
21745
|
p.paused
|
|
21776
21746
|
]);
|
|
21777
|
-
return /* @__PURE__ */ (0, J.jsx)(
|
|
21747
|
+
return /* @__PURE__ */ (0, J.jsx)($x.div, {
|
|
21778
21748
|
tabIndex: -1,
|
|
21779
21749
|
...o,
|
|
21780
21750
|
ref: f,
|
|
21781
21751
|
onKeyDown: m
|
|
21782
21752
|
});
|
|
21783
21753
|
});
|
|
21784
|
-
|
|
21785
|
-
function
|
|
21754
|
+
CS.displayName = SS;
|
|
21755
|
+
function wS(e, { select: t = !1 } = {}) {
|
|
21786
21756
|
let n = document.activeElement;
|
|
21787
|
-
for (let r of e) if (
|
|
21757
|
+
for (let r of e) if (AS(r, { select: t }), document.activeElement !== n) return;
|
|
21788
21758
|
}
|
|
21789
|
-
function
|
|
21790
|
-
let t =
|
|
21791
|
-
return [
|
|
21759
|
+
function TS(e) {
|
|
21760
|
+
let t = ES(e);
|
|
21761
|
+
return [DS(t, e), DS(t.reverse(), e)];
|
|
21792
21762
|
}
|
|
21793
|
-
function
|
|
21763
|
+
function ES(e) {
|
|
21794
21764
|
let t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, { acceptNode: (e) => {
|
|
21795
21765
|
let t = e.tagName === "INPUT" && e.type === "hidden";
|
|
21796
21766
|
return e.disabled || e.hidden || t ? NodeFilter.FILTER_SKIP : e.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
|
|
@@ -21798,10 +21768,10 @@ function jS(e) {
|
|
|
21798
21768
|
for (; n.nextNode();) t.push(n.currentNode);
|
|
21799
21769
|
return t;
|
|
21800
21770
|
}
|
|
21801
|
-
function
|
|
21802
|
-
for (let n of e) if (!
|
|
21771
|
+
function DS(e, t) {
|
|
21772
|
+
for (let n of e) if (!OS(n, { upTo: t })) return n;
|
|
21803
21773
|
}
|
|
21804
|
-
function
|
|
21774
|
+
function OS(e, { upTo: t }) {
|
|
21805
21775
|
if (getComputedStyle(e).visibility === "hidden") return !0;
|
|
21806
21776
|
for (; e;) {
|
|
21807
21777
|
if (t !== void 0 && e === t) return !1;
|
|
@@ -21810,120 +21780,120 @@ function NS(e, { upTo: t }) {
|
|
|
21810
21780
|
}
|
|
21811
21781
|
return !1;
|
|
21812
21782
|
}
|
|
21813
|
-
function
|
|
21783
|
+
function kS(e) {
|
|
21814
21784
|
return e instanceof HTMLInputElement && "select" in e;
|
|
21815
21785
|
}
|
|
21816
|
-
function
|
|
21786
|
+
function AS(e, { select: t = !1 } = {}) {
|
|
21817
21787
|
if (e && e.focus) {
|
|
21818
21788
|
let n = document.activeElement;
|
|
21819
|
-
e.focus({ preventScroll: !0 }), e !== n &&
|
|
21789
|
+
e.focus({ preventScroll: !0 }), e !== n && kS(e) && t && e.select();
|
|
21820
21790
|
}
|
|
21821
21791
|
}
|
|
21822
|
-
var
|
|
21823
|
-
function
|
|
21792
|
+
var jS = MS();
|
|
21793
|
+
function MS() {
|
|
21824
21794
|
let e = [];
|
|
21825
21795
|
return {
|
|
21826
21796
|
add(t) {
|
|
21827
21797
|
let n = e[0];
|
|
21828
|
-
t !== n && n?.pause(), e =
|
|
21798
|
+
t !== n && n?.pause(), e = NS(e, t), e.unshift(t);
|
|
21829
21799
|
},
|
|
21830
21800
|
remove(t) {
|
|
21831
|
-
e =
|
|
21801
|
+
e = NS(e, t), e[0]?.resume();
|
|
21832
21802
|
}
|
|
21833
21803
|
};
|
|
21834
21804
|
}
|
|
21835
|
-
function
|
|
21805
|
+
function NS(e, t) {
|
|
21836
21806
|
let n = [...e], r = n.indexOf(t);
|
|
21837
21807
|
return r !== -1 && n.splice(r, 1), n;
|
|
21838
21808
|
}
|
|
21839
|
-
function
|
|
21809
|
+
function PS(e) {
|
|
21840
21810
|
return e.filter((e) => e.tagName !== "A");
|
|
21841
21811
|
}
|
|
21842
21812
|
//#endregion
|
|
21843
21813
|
//#region ../node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
|
|
21844
|
-
var
|
|
21845
|
-
function
|
|
21846
|
-
let [t, n] = g.useState(
|
|
21847
|
-
return
|
|
21848
|
-
e || n((e) => e ?? String(
|
|
21814
|
+
var FS = globalThis?.document ? g.useLayoutEffect : () => {}, IS = g.useId || (() => void 0), LS = 0;
|
|
21815
|
+
function RS(e) {
|
|
21816
|
+
let [t, n] = g.useState(IS());
|
|
21817
|
+
return FS(() => {
|
|
21818
|
+
e || n((e) => e ?? String(LS++));
|
|
21849
21819
|
}, [e]), e || (t ? `radix-${t}` : "");
|
|
21850
21820
|
}
|
|
21851
21821
|
//#endregion
|
|
21852
21822
|
//#region ../node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
|
|
21853
|
-
var
|
|
21823
|
+
var zS = [
|
|
21854
21824
|
"top",
|
|
21855
21825
|
"right",
|
|
21856
21826
|
"bottom",
|
|
21857
21827
|
"left"
|
|
21858
|
-
],
|
|
21828
|
+
], BS = Math.min, VS = Math.max, HS = Math.round, US = Math.floor, WS = (e) => ({
|
|
21859
21829
|
x: e,
|
|
21860
21830
|
y: e
|
|
21861
|
-
}),
|
|
21831
|
+
}), GS = {
|
|
21862
21832
|
left: "right",
|
|
21863
21833
|
right: "left",
|
|
21864
21834
|
bottom: "top",
|
|
21865
21835
|
top: "bottom"
|
|
21866
21836
|
};
|
|
21867
|
-
function
|
|
21868
|
-
return
|
|
21837
|
+
function KS(e, t, n) {
|
|
21838
|
+
return VS(e, BS(t, n));
|
|
21869
21839
|
}
|
|
21870
|
-
function
|
|
21840
|
+
function qS(e, t) {
|
|
21871
21841
|
return typeof e == "function" ? e(t) : e;
|
|
21872
21842
|
}
|
|
21873
|
-
function
|
|
21843
|
+
function JS(e) {
|
|
21874
21844
|
return e.split("-")[0];
|
|
21875
21845
|
}
|
|
21876
|
-
function
|
|
21846
|
+
function YS(e) {
|
|
21877
21847
|
return e.split("-")[1];
|
|
21878
21848
|
}
|
|
21879
|
-
function
|
|
21849
|
+
function XS(e) {
|
|
21880
21850
|
return e === "x" ? "y" : "x";
|
|
21881
21851
|
}
|
|
21882
|
-
function
|
|
21852
|
+
function ZS(e) {
|
|
21883
21853
|
return e === "y" ? "height" : "width";
|
|
21884
21854
|
}
|
|
21885
|
-
function
|
|
21855
|
+
function QS(e) {
|
|
21886
21856
|
let t = e[0];
|
|
21887
21857
|
return t === "t" || t === "b" ? "y" : "x";
|
|
21888
21858
|
}
|
|
21889
|
-
function
|
|
21890
|
-
return
|
|
21859
|
+
function $S(e) {
|
|
21860
|
+
return XS(QS(e));
|
|
21891
21861
|
}
|
|
21892
|
-
function
|
|
21862
|
+
function eC(e, t, n) {
|
|
21893
21863
|
n === void 0 && (n = !1);
|
|
21894
|
-
let r =
|
|
21895
|
-
return t.reference[a] > t.floating[a] && (o =
|
|
21864
|
+
let r = YS(e), i = $S(e), a = ZS(i), o = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
|
|
21865
|
+
return t.reference[a] > t.floating[a] && (o = lC(o)), [o, lC(o)];
|
|
21896
21866
|
}
|
|
21897
|
-
function
|
|
21898
|
-
let t =
|
|
21867
|
+
function tC(e) {
|
|
21868
|
+
let t = lC(e);
|
|
21899
21869
|
return [
|
|
21900
|
-
|
|
21870
|
+
nC(e),
|
|
21901
21871
|
t,
|
|
21902
|
-
|
|
21872
|
+
nC(t)
|
|
21903
21873
|
];
|
|
21904
21874
|
}
|
|
21905
|
-
function
|
|
21875
|
+
function nC(e) {
|
|
21906
21876
|
return e.includes("start") ? e.replace("start", "end") : e.replace("end", "start");
|
|
21907
21877
|
}
|
|
21908
|
-
var
|
|
21909
|
-
function
|
|
21878
|
+
var rC = ["left", "right"], iC = ["right", "left"], aC = ["top", "bottom"], oC = ["bottom", "top"];
|
|
21879
|
+
function sC(e, t, n) {
|
|
21910
21880
|
switch (e) {
|
|
21911
21881
|
case "top":
|
|
21912
|
-
case "bottom": return n ? t ?
|
|
21882
|
+
case "bottom": return n ? t ? iC : rC : t ? rC : iC;
|
|
21913
21883
|
case "left":
|
|
21914
|
-
case "right": return t ?
|
|
21884
|
+
case "right": return t ? aC : oC;
|
|
21915
21885
|
default: return [];
|
|
21916
21886
|
}
|
|
21917
21887
|
}
|
|
21918
|
-
function
|
|
21919
|
-
let i =
|
|
21920
|
-
return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(
|
|
21888
|
+
function cC(e, t, n, r) {
|
|
21889
|
+
let i = YS(e), a = sC(JS(e), n === "start", r);
|
|
21890
|
+
return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(nC)))), a;
|
|
21921
21891
|
}
|
|
21922
|
-
function
|
|
21923
|
-
let t =
|
|
21924
|
-
return
|
|
21892
|
+
function lC(e) {
|
|
21893
|
+
let t = JS(e);
|
|
21894
|
+
return GS[t] + e.slice(t.length);
|
|
21925
21895
|
}
|
|
21926
|
-
function
|
|
21896
|
+
function uC(e) {
|
|
21927
21897
|
return {
|
|
21928
21898
|
top: 0,
|
|
21929
21899
|
right: 0,
|
|
@@ -21932,15 +21902,15 @@ function hC(e) {
|
|
|
21932
21902
|
...e
|
|
21933
21903
|
};
|
|
21934
21904
|
}
|
|
21935
|
-
function
|
|
21905
|
+
function dC(e) {
|
|
21936
21906
|
return typeof e == "number" ? {
|
|
21937
21907
|
top: e,
|
|
21938
21908
|
right: e,
|
|
21939
21909
|
bottom: e,
|
|
21940
21910
|
left: e
|
|
21941
|
-
} :
|
|
21911
|
+
} : uC(e);
|
|
21942
21912
|
}
|
|
21943
|
-
function
|
|
21913
|
+
function fC(e) {
|
|
21944
21914
|
let { x: t, y: n, width: r, height: i } = e;
|
|
21945
21915
|
return {
|
|
21946
21916
|
width: r,
|
|
@@ -21955,8 +21925,8 @@ function _C(e) {
|
|
|
21955
21925
|
}
|
|
21956
21926
|
//#endregion
|
|
21957
21927
|
//#region ../node_modules/@floating-ui/core/dist/floating-ui.core.mjs
|
|
21958
|
-
function
|
|
21959
|
-
let { reference: r, floating: i } = e, a =
|
|
21928
|
+
function pC(e, t, n) {
|
|
21929
|
+
let { reference: r, floating: i } = e, a = QS(t), o = $S(t), s = ZS(o), c = JS(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;
|
|
21960
21930
|
switch (c) {
|
|
21961
21931
|
case "top":
|
|
21962
21932
|
p = {
|
|
@@ -21987,7 +21957,7 @@ function vC(e, t, n) {
|
|
|
21987
21957
|
y: r.y
|
|
21988
21958
|
};
|
|
21989
21959
|
}
|
|
21990
|
-
switch (
|
|
21960
|
+
switch (YS(t)) {
|
|
21991
21961
|
case "start":
|
|
21992
21962
|
p[o] -= f * (n && l ? -1 : 1);
|
|
21993
21963
|
break;
|
|
@@ -21997,9 +21967,9 @@ function vC(e, t, n) {
|
|
|
21997
21967
|
}
|
|
21998
21968
|
return p;
|
|
21999
21969
|
}
|
|
22000
|
-
async function
|
|
21970
|
+
async function mC(e, t) {
|
|
22001
21971
|
t === void 0 && (t = {});
|
|
22002
|
-
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 } =
|
|
21972
|
+
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 } = qS(t, e), p = dC(f), m = o[d ? u === "floating" ? "reference" : "floating" : u], h = fC(await i.getClippingRect({
|
|
22003
21973
|
element: await (i.isElement == null ? void 0 : i.isElement(m)) ?? !0 ? m : m.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(o.floating)),
|
|
22004
21974
|
boundary: c,
|
|
22005
21975
|
rootBoundary: l,
|
|
@@ -22012,7 +21982,7 @@ async function yC(e, t) {
|
|
|
22012
21982
|
} : 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(_)) || {
|
|
22013
21983
|
x: 1,
|
|
22014
21984
|
y: 1
|
|
22015
|
-
}, y =
|
|
21985
|
+
}, y = fC(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
22016
21986
|
elements: o,
|
|
22017
21987
|
rect: g,
|
|
22018
21988
|
offsetParent: _,
|
|
@@ -22025,15 +21995,15 @@ async function yC(e, t) {
|
|
|
22025
21995
|
right: (y.right - h.right + p.right) / v.x
|
|
22026
21996
|
};
|
|
22027
21997
|
}
|
|
22028
|
-
var
|
|
21998
|
+
var hC = 50, gC = async (e, t, n) => {
|
|
22029
21999
|
let { placement: r = "bottom", strategy: i = "absolute", middleware: a = [], platform: o } = n, s = o.detectOverflow ? o : {
|
|
22030
22000
|
...o,
|
|
22031
|
-
detectOverflow:
|
|
22001
|
+
detectOverflow: mC
|
|
22032
22002
|
}, c = await (o.isRTL == null ? void 0 : o.isRTL(t)), l = await o.getElementRects({
|
|
22033
22003
|
reference: e,
|
|
22034
22004
|
floating: t,
|
|
22035
22005
|
strategy: i
|
|
22036
|
-
}), { x: u, y: d } =
|
|
22006
|
+
}), { x: u, y: d } = pC(l, r, c), f = r, p = 0, m = {};
|
|
22037
22007
|
for (let n = 0; n < a.length; n++) {
|
|
22038
22008
|
let h = a[n];
|
|
22039
22009
|
if (!h) continue;
|
|
@@ -22054,11 +22024,11 @@ var bC = 50, xC = async (e, t, n) => {
|
|
|
22054
22024
|
u = v ?? u, d = y ?? d, m[g] = {
|
|
22055
22025
|
...m[g],
|
|
22056
22026
|
...b
|
|
22057
|
-
}, x && p <
|
|
22027
|
+
}, x && p < hC && (p++, typeof x == "object" && (x.placement && (f = x.placement), x.rects && (l = x.rects === !0 ? await o.getElementRects({
|
|
22058
22028
|
reference: e,
|
|
22059
22029
|
floating: t,
|
|
22060
22030
|
strategy: i
|
|
22061
|
-
}) : x.rects), {x: u, y: d} =
|
|
22031
|
+
}) : x.rects), {x: u, y: d} = pC(l, f, c)), n = -1);
|
|
22062
22032
|
}
|
|
22063
22033
|
return {
|
|
22064
22034
|
x: u,
|
|
@@ -22067,18 +22037,18 @@ var bC = 50, xC = async (e, t, n) => {
|
|
|
22067
22037
|
strategy: i,
|
|
22068
22038
|
middlewareData: m
|
|
22069
22039
|
};
|
|
22070
|
-
},
|
|
22040
|
+
}, _C = (e) => ({
|
|
22071
22041
|
name: "arrow",
|
|
22072
22042
|
options: e,
|
|
22073
22043
|
async fn(t) {
|
|
22074
|
-
let { x: n, y: r, placement: i, rects: a, platform: o, elements: s, middlewareData: c } = t, { element: l, padding: u = 0 } =
|
|
22044
|
+
let { x: n, y: r, placement: i, rects: a, platform: o, elements: s, middlewareData: c } = t, { element: l, padding: u = 0 } = qS(e, t) || {};
|
|
22075
22045
|
if (l == null) return {};
|
|
22076
|
-
let d =
|
|
22046
|
+
let d = dC(u), f = {
|
|
22077
22047
|
x: n,
|
|
22078
22048
|
y: r
|
|
22079
|
-
}, p =
|
|
22049
|
+
}, p = $S(i), m = ZS(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;
|
|
22080
22050
|
(!C || !await (o.isElement == null ? void 0 : o.isElement(S))) && (C = s.floating[y] || a.floating[m]);
|
|
22081
|
-
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1, E =
|
|
22051
|
+
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1, E = BS(d[_], T), D = BS(d[v], T), O = E, ee = C - h[m] - D, k = C / 2 - h[m] / 2 + w, A = KS(O, k, ee), j = !c.arrow && YS(i) != null && k !== A && a.reference[m] / 2 - (k < O ? E : D) - h[m] / 2 < 0, te = j ? k < O ? k - O : k - ee : 0;
|
|
22082
22052
|
return {
|
|
22083
22053
|
[p]: f[p] + te,
|
|
22084
22054
|
data: {
|
|
@@ -22089,19 +22059,19 @@ var bC = 50, xC = async (e, t, n) => {
|
|
|
22089
22059
|
reset: j
|
|
22090
22060
|
};
|
|
22091
22061
|
}
|
|
22092
|
-
}),
|
|
22062
|
+
}), vC = function(e) {
|
|
22093
22063
|
return e === void 0 && (e = {}), {
|
|
22094
22064
|
name: "flip",
|
|
22095
22065
|
options: e,
|
|
22096
22066
|
async fn(t) {
|
|
22097
22067
|
var n;
|
|
22098
|
-
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 } =
|
|
22068
|
+
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 } = qS(e, t);
|
|
22099
22069
|
if ((n = i.arrow) != null && n.alignmentOffset) return {};
|
|
22100
|
-
let g =
|
|
22101
|
-
!d && x && b.push(...
|
|
22070
|
+
let g = JS(r), _ = QS(o), v = JS(o) === o, y = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), b = d || (v || !m ? [lC(o)] : tC(o)), x = p !== "none";
|
|
22071
|
+
!d && x && b.push(...cC(o, m, p, y));
|
|
22102
22072
|
let S = [o, ...b], C = await s.detectOverflow(t, h), w = [], T = i.flip?.overflows || [];
|
|
22103
22073
|
if (l && w.push(C[g]), u) {
|
|
22104
|
-
let e =
|
|
22074
|
+
let e = eC(r, a, y);
|
|
22105
22075
|
w.push(C[e[0]], C[e[1]]);
|
|
22106
22076
|
}
|
|
22107
22077
|
if (T = [...T, {
|
|
@@ -22109,7 +22079,7 @@ var bC = 50, xC = async (e, t, n) => {
|
|
|
22109
22079
|
overflows: w
|
|
22110
22080
|
}], !w.every((e) => e <= 0)) {
|
|
22111
22081
|
let e = (i.flip?.index || 0) + 1, t = S[e];
|
|
22112
|
-
if (t && (!(u === "alignment" && _ !==
|
|
22082
|
+
if (t && (!(u === "alignment" && _ !== QS(t)) || T.every((e) => QS(e.placement) === _ ? e.overflows[0] > 0 : !0))) return {
|
|
22113
22083
|
data: {
|
|
22114
22084
|
index: e,
|
|
22115
22085
|
overflows: T
|
|
@@ -22121,7 +22091,7 @@ var bC = 50, xC = async (e, t, n) => {
|
|
|
22121
22091
|
case "bestFit": {
|
|
22122
22092
|
let e = T.filter((e) => {
|
|
22123
22093
|
if (x) {
|
|
22124
|
-
let t =
|
|
22094
|
+
let t = QS(e.placement);
|
|
22125
22095
|
return t === _ || t === "y";
|
|
22126
22096
|
}
|
|
22127
22097
|
return !0;
|
|
@@ -22139,7 +22109,7 @@ var bC = 50, xC = async (e, t, n) => {
|
|
|
22139
22109
|
}
|
|
22140
22110
|
};
|
|
22141
22111
|
};
|
|
22142
|
-
function
|
|
22112
|
+
function yC(e, t) {
|
|
22143
22113
|
return {
|
|
22144
22114
|
top: e.top - t.height,
|
|
22145
22115
|
right: e.right - t.width,
|
|
@@ -22147,43 +22117,43 @@ function wC(e, t) {
|
|
|
22147
22117
|
left: e.left - t.width
|
|
22148
22118
|
};
|
|
22149
22119
|
}
|
|
22150
|
-
function
|
|
22151
|
-
return
|
|
22120
|
+
function bC(e) {
|
|
22121
|
+
return zS.some((t) => e[t] >= 0);
|
|
22152
22122
|
}
|
|
22153
|
-
var
|
|
22123
|
+
var xC = function(e) {
|
|
22154
22124
|
return e === void 0 && (e = {}), {
|
|
22155
22125
|
name: "hide",
|
|
22156
22126
|
options: e,
|
|
22157
22127
|
async fn(t) {
|
|
22158
|
-
let { rects: n, platform: r } = t, { strategy: i = "referenceHidden", ...a } =
|
|
22128
|
+
let { rects: n, platform: r } = t, { strategy: i = "referenceHidden", ...a } = qS(e, t);
|
|
22159
22129
|
switch (i) {
|
|
22160
22130
|
case "referenceHidden": {
|
|
22161
|
-
let e =
|
|
22131
|
+
let e = yC(await r.detectOverflow(t, {
|
|
22162
22132
|
...a,
|
|
22163
22133
|
elementContext: "reference"
|
|
22164
22134
|
}), n.reference);
|
|
22165
22135
|
return { data: {
|
|
22166
22136
|
referenceHiddenOffsets: e,
|
|
22167
|
-
referenceHidden:
|
|
22137
|
+
referenceHidden: bC(e)
|
|
22168
22138
|
} };
|
|
22169
22139
|
}
|
|
22170
22140
|
case "escaped": {
|
|
22171
|
-
let e =
|
|
22141
|
+
let e = yC(await r.detectOverflow(t, {
|
|
22172
22142
|
...a,
|
|
22173
22143
|
altBoundary: !0
|
|
22174
22144
|
}), n.floating);
|
|
22175
22145
|
return { data: {
|
|
22176
22146
|
escapedOffsets: e,
|
|
22177
|
-
escaped:
|
|
22147
|
+
escaped: bC(e)
|
|
22178
22148
|
} };
|
|
22179
22149
|
}
|
|
22180
22150
|
default: return {};
|
|
22181
22151
|
}
|
|
22182
22152
|
}
|
|
22183
22153
|
};
|
|
22184
|
-
},
|
|
22185
|
-
async function
|
|
22186
|
-
let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o =
|
|
22154
|
+
}, SC = /* @__PURE__ */ new Set(["left", "top"]);
|
|
22155
|
+
async function CC(e, t) {
|
|
22156
|
+
let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = JS(n), s = YS(n), c = QS(n) === "y", l = SC.has(o) ? -1 : 1, u = a && c ? -1 : 1, d = qS(t, e), { mainAxis: f, crossAxis: p, alignmentAxis: m } = typeof d == "number" ? {
|
|
22187
22157
|
mainAxis: d,
|
|
22188
22158
|
crossAxis: 0,
|
|
22189
22159
|
alignmentAxis: null
|
|
@@ -22200,13 +22170,13 @@ async function OC(e, t) {
|
|
|
22200
22170
|
y: p * u
|
|
22201
22171
|
};
|
|
22202
22172
|
}
|
|
22203
|
-
var
|
|
22173
|
+
var wC = function(e) {
|
|
22204
22174
|
return e === void 0 && (e = 0), {
|
|
22205
22175
|
name: "offset",
|
|
22206
22176
|
options: e,
|
|
22207
22177
|
async fn(t) {
|
|
22208
22178
|
var n;
|
|
22209
|
-
let { x: r, y: i, placement: a, middlewareData: o } = t, s = await
|
|
22179
|
+
let { x: r, y: i, placement: a, middlewareData: o } = t, s = await CC(t, e);
|
|
22210
22180
|
return a === o.offset?.placement && (n = o.arrow) != null && n.alignmentOffset ? {} : {
|
|
22211
22181
|
x: r + s.x,
|
|
22212
22182
|
y: i + s.y,
|
|
@@ -22217,7 +22187,7 @@ var kC = function(e) {
|
|
|
22217
22187
|
};
|
|
22218
22188
|
}
|
|
22219
22189
|
};
|
|
22220
|
-
},
|
|
22190
|
+
}, TC = function(e) {
|
|
22221
22191
|
return e === void 0 && (e = {}), {
|
|
22222
22192
|
name: "shift",
|
|
22223
22193
|
options: e,
|
|
@@ -22228,17 +22198,17 @@ var kC = function(e) {
|
|
|
22228
22198
|
x: t,
|
|
22229
22199
|
y: n
|
|
22230
22200
|
};
|
|
22231
|
-
} }, ...l } =
|
|
22201
|
+
} }, ...l } = qS(e, t), u = {
|
|
22232
22202
|
x: n,
|
|
22233
22203
|
y: r
|
|
22234
|
-
}, d = await a.detectOverflow(t, l), f =
|
|
22204
|
+
}, d = await a.detectOverflow(t, l), f = QS(JS(i)), p = XS(f), m = u[p], h = u[f];
|
|
22235
22205
|
if (o) {
|
|
22236
22206
|
let e = p === "y" ? "top" : "left", t = p === "y" ? "bottom" : "right", n = m + d[e], r = m - d[t];
|
|
22237
|
-
m =
|
|
22207
|
+
m = KS(n, m, r);
|
|
22238
22208
|
}
|
|
22239
22209
|
if (s) {
|
|
22240
22210
|
let e = f === "y" ? "top" : "left", t = f === "y" ? "bottom" : "right", n = h + d[e], r = h - d[t];
|
|
22241
|
-
h =
|
|
22211
|
+
h = KS(n, h, r);
|
|
22242
22212
|
}
|
|
22243
22213
|
let g = c.fn({
|
|
22244
22214
|
...t,
|
|
@@ -22258,14 +22228,14 @@ var kC = function(e) {
|
|
|
22258
22228
|
};
|
|
22259
22229
|
}
|
|
22260
22230
|
};
|
|
22261
|
-
},
|
|
22231
|
+
}, EC = function(e) {
|
|
22262
22232
|
return e === void 0 && (e = {}), {
|
|
22263
22233
|
options: e,
|
|
22264
22234
|
fn(t) {
|
|
22265
|
-
let { x: n, y: r, placement: i, rects: a, middlewareData: o } = t, { offset: s = 0, mainAxis: c = !0, crossAxis: l = !0 } =
|
|
22235
|
+
let { x: n, y: r, placement: i, rects: a, middlewareData: o } = t, { offset: s = 0, mainAxis: c = !0, crossAxis: l = !0 } = qS(e, t), u = {
|
|
22266
22236
|
x: n,
|
|
22267
22237
|
y: r
|
|
22268
|
-
}, d =
|
|
22238
|
+
}, d = QS(i), f = XS(d), p = u[f], m = u[d], h = qS(s, t), g = typeof h == "number" ? {
|
|
22269
22239
|
mainAxis: h,
|
|
22270
22240
|
crossAxis: 0
|
|
22271
22241
|
} : {
|
|
@@ -22278,7 +22248,7 @@ var kC = function(e) {
|
|
|
22278
22248
|
p < t ? p = t : p > n && (p = n);
|
|
22279
22249
|
}
|
|
22280
22250
|
if (l) {
|
|
22281
|
-
let e = f === "y" ? "width" : "height", t =
|
|
22251
|
+
let e = f === "y" ? "width" : "height", t = SC.has(JS(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);
|
|
22282
22252
|
m < n ? m = n : m > r && (m = r);
|
|
22283
22253
|
}
|
|
22284
22254
|
return {
|
|
@@ -22287,18 +22257,18 @@ var kC = function(e) {
|
|
|
22287
22257
|
};
|
|
22288
22258
|
}
|
|
22289
22259
|
};
|
|
22290
|
-
},
|
|
22260
|
+
}, DC = function(e) {
|
|
22291
22261
|
return e === void 0 && (e = {}), {
|
|
22292
22262
|
name: "size",
|
|
22293
22263
|
options: e,
|
|
22294
22264
|
async fn(t) {
|
|
22295
22265
|
var n, r;
|
|
22296
|
-
let { placement: i, rects: a, platform: o, elements: s } = t, { apply: c = () => {}, ...l } =
|
|
22266
|
+
let { placement: i, rects: a, platform: o, elements: s } = t, { apply: c = () => {}, ...l } = qS(e, t), u = await o.detectOverflow(t, l), d = JS(i), f = YS(i), p = QS(i) === "y", { width: m, height: h } = a.floating, g, _;
|
|
22297
22267
|
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");
|
|
22298
|
-
let v = h - u.top - u.bottom, y = m - u.left - u.right, b =
|
|
22268
|
+
let v = h - u.top - u.bottom, y = m - u.left - u.right, b = BS(h - u[g], v), x = BS(m - u[_], y), S = !t.middlewareData.shift, C = b, w = x;
|
|
22299
22269
|
if ((n = t.middlewareData.shift) != null && n.enabled.x && (w = y), (r = t.middlewareData.shift) != null && r.enabled.y && (C = v), S && !f) {
|
|
22300
|
-
let e =
|
|
22301
|
-
p ? w = m - 2 * (e !== 0 || t !== 0 ? e + t :
|
|
22270
|
+
let e = VS(u.left, 0), t = VS(u.right, 0), n = VS(u.top, 0), r = VS(u.bottom, 0);
|
|
22271
|
+
p ? w = m - 2 * (e !== 0 || t !== 0 ? e + t : VS(u.left, u.right)) : C = h - 2 * (n !== 0 || r !== 0 ? n + r : VS(u.top, u.bottom));
|
|
22302
22272
|
}
|
|
22303
22273
|
await c({
|
|
22304
22274
|
...t,
|
|
@@ -22312,39 +22282,39 @@ var kC = function(e) {
|
|
|
22312
22282
|
};
|
|
22313
22283
|
//#endregion
|
|
22314
22284
|
//#region ../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
|
|
22315
|
-
function
|
|
22285
|
+
function OC() {
|
|
22316
22286
|
return typeof window < "u";
|
|
22317
22287
|
}
|
|
22318
|
-
function
|
|
22319
|
-
return
|
|
22288
|
+
function kC(e) {
|
|
22289
|
+
return MC(e) ? (e.nodeName || "").toLowerCase() : "#document";
|
|
22320
22290
|
}
|
|
22321
|
-
function
|
|
22291
|
+
function AC(e) {
|
|
22322
22292
|
var t;
|
|
22323
22293
|
return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
|
|
22324
22294
|
}
|
|
22325
|
-
function
|
|
22326
|
-
return ((
|
|
22295
|
+
function jC(e) {
|
|
22296
|
+
return ((MC(e) ? e.ownerDocument : e.document) || window.document)?.documentElement;
|
|
22327
22297
|
}
|
|
22328
|
-
function
|
|
22329
|
-
return
|
|
22298
|
+
function MC(e) {
|
|
22299
|
+
return OC() ? e instanceof Node || e instanceof AC(e).Node : !1;
|
|
22330
22300
|
}
|
|
22331
|
-
function
|
|
22332
|
-
return
|
|
22301
|
+
function NC(e) {
|
|
22302
|
+
return OC() ? e instanceof Element || e instanceof AC(e).Element : !1;
|
|
22333
22303
|
}
|
|
22334
|
-
function
|
|
22335
|
-
return
|
|
22304
|
+
function PC(e) {
|
|
22305
|
+
return OC() ? e instanceof HTMLElement || e instanceof AC(e).HTMLElement : !1;
|
|
22336
22306
|
}
|
|
22337
|
-
function
|
|
22338
|
-
return !
|
|
22307
|
+
function FC(e) {
|
|
22308
|
+
return !OC() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof AC(e).ShadowRoot;
|
|
22339
22309
|
}
|
|
22340
|
-
function
|
|
22341
|
-
let { overflow: t, overflowX: n, overflowY: r, display: i } =
|
|
22310
|
+
function IC(e) {
|
|
22311
|
+
let { overflow: t, overflowX: n, overflowY: r, display: i } = qC(e);
|
|
22342
22312
|
return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
|
|
22343
22313
|
}
|
|
22344
|
-
function
|
|
22345
|
-
return /^(table|td|th)$/.test(
|
|
22314
|
+
function LC(e) {
|
|
22315
|
+
return /^(table|td|th)$/.test(kC(e));
|
|
22346
22316
|
}
|
|
22347
|
-
function
|
|
22317
|
+
function RC(e) {
|
|
22348
22318
|
try {
|
|
22349
22319
|
if (e.matches(":popover-open")) return !0;
|
|
22350
22320
|
} catch {}
|
|
@@ -22354,31 +22324,31 @@ function UC(e) {
|
|
|
22354
22324
|
return !1;
|
|
22355
22325
|
}
|
|
22356
22326
|
}
|
|
22357
|
-
var
|
|
22358
|
-
function
|
|
22359
|
-
let t =
|
|
22360
|
-
return
|
|
22327
|
+
var zC = /transform|translate|scale|rotate|perspective|filter/, BC = /paint|layout|strict|content/, VC = (e) => !!e && e !== "none", HC;
|
|
22328
|
+
function UC(e) {
|
|
22329
|
+
let t = NC(e) ? qC(e) : e;
|
|
22330
|
+
return VC(t.transform) || VC(t.translate) || VC(t.scale) || VC(t.rotate) || VC(t.perspective) || !GC() && (VC(t.backdropFilter) || VC(t.filter)) || zC.test(t.willChange || "") || BC.test(t.contain || "");
|
|
22361
22331
|
}
|
|
22362
|
-
function
|
|
22363
|
-
let t =
|
|
22364
|
-
for (;
|
|
22365
|
-
if (
|
|
22366
|
-
if (
|
|
22367
|
-
t =
|
|
22332
|
+
function WC(e) {
|
|
22333
|
+
let t = YC(e);
|
|
22334
|
+
for (; PC(t) && !KC(t);) {
|
|
22335
|
+
if (UC(t)) return t;
|
|
22336
|
+
if (RC(t)) return null;
|
|
22337
|
+
t = YC(t);
|
|
22368
22338
|
}
|
|
22369
22339
|
return null;
|
|
22370
22340
|
}
|
|
22371
|
-
function
|
|
22372
|
-
return
|
|
22341
|
+
function GC() {
|
|
22342
|
+
return HC ??= typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none"), HC;
|
|
22373
22343
|
}
|
|
22374
|
-
function
|
|
22375
|
-
return /^(html|body|#document)$/.test(
|
|
22344
|
+
function KC(e) {
|
|
22345
|
+
return /^(html|body|#document)$/.test(kC(e));
|
|
22376
22346
|
}
|
|
22377
|
-
function
|
|
22378
|
-
return
|
|
22347
|
+
function qC(e) {
|
|
22348
|
+
return AC(e).getComputedStyle(e);
|
|
22379
22349
|
}
|
|
22380
|
-
function
|
|
22381
|
-
return
|
|
22350
|
+
function JC(e) {
|
|
22351
|
+
return NC(e) ? {
|
|
22382
22352
|
scrollLeft: e.scrollLeft,
|
|
22383
22353
|
scrollTop: e.scrollTop
|
|
22384
22354
|
} : {
|
|
@@ -22386,101 +22356,101 @@ function $C(e) {
|
|
|
22386
22356
|
scrollTop: e.scrollY
|
|
22387
22357
|
};
|
|
22388
22358
|
}
|
|
22389
|
-
function
|
|
22390
|
-
if (
|
|
22391
|
-
let t = e.assignedSlot || e.parentNode ||
|
|
22392
|
-
return
|
|
22359
|
+
function YC(e) {
|
|
22360
|
+
if (kC(e) === "html") return e;
|
|
22361
|
+
let t = e.assignedSlot || e.parentNode || FC(e) && e.host || jC(e);
|
|
22362
|
+
return FC(t) ? t.host : t;
|
|
22393
22363
|
}
|
|
22394
|
-
function
|
|
22395
|
-
let t =
|
|
22396
|
-
return
|
|
22364
|
+
function XC(e) {
|
|
22365
|
+
let t = YC(e);
|
|
22366
|
+
return KC(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : PC(t) && IC(t) ? t : XC(t);
|
|
22397
22367
|
}
|
|
22398
|
-
function
|
|
22368
|
+
function ZC(e, t, n) {
|
|
22399
22369
|
t === void 0 && (t = []), n === void 0 && (n = !0);
|
|
22400
|
-
let r =
|
|
22370
|
+
let r = XC(e), i = r === e.ownerDocument?.body, a = AC(r);
|
|
22401
22371
|
if (i) {
|
|
22402
|
-
let e =
|
|
22403
|
-
return t.concat(a, a.visualViewport || [],
|
|
22404
|
-
} else return t.concat(r,
|
|
22372
|
+
let e = QC(a);
|
|
22373
|
+
return t.concat(a, a.visualViewport || [], IC(r) ? r : [], e && n ? ZC(e) : []);
|
|
22374
|
+
} else return t.concat(r, ZC(r, [], n));
|
|
22405
22375
|
}
|
|
22406
|
-
function
|
|
22376
|
+
function QC(e) {
|
|
22407
22377
|
return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
|
|
22408
22378
|
}
|
|
22409
22379
|
//#endregion
|
|
22410
22380
|
//#region ../node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
|
|
22411
|
-
function
|
|
22412
|
-
let t =
|
|
22381
|
+
function $C(e) {
|
|
22382
|
+
let t = qC(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = PC(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s = HS(n) !== a || HS(r) !== o;
|
|
22413
22383
|
return s && (n = a, r = o), {
|
|
22414
22384
|
width: n,
|
|
22415
22385
|
height: r,
|
|
22416
22386
|
$: s
|
|
22417
22387
|
};
|
|
22418
22388
|
}
|
|
22419
|
-
function
|
|
22420
|
-
return
|
|
22389
|
+
function ew(e) {
|
|
22390
|
+
return NC(e) ? e : e.contextElement;
|
|
22421
22391
|
}
|
|
22422
|
-
function
|
|
22423
|
-
let t =
|
|
22424
|
-
if (!
|
|
22425
|
-
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } =
|
|
22392
|
+
function tw(e) {
|
|
22393
|
+
let t = ew(e);
|
|
22394
|
+
if (!PC(t)) return WS(1);
|
|
22395
|
+
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = $C(t), o = (a ? HS(n.width) : n.width) / r, s = (a ? HS(n.height) : n.height) / i;
|
|
22426
22396
|
return (!o || !Number.isFinite(o)) && (o = 1), (!s || !Number.isFinite(s)) && (s = 1), {
|
|
22427
22397
|
x: o,
|
|
22428
22398
|
y: s
|
|
22429
22399
|
};
|
|
22430
22400
|
}
|
|
22431
|
-
var
|
|
22432
|
-
function
|
|
22433
|
-
let t =
|
|
22434
|
-
return !
|
|
22401
|
+
var nw = /* @__PURE__ */ WS(0);
|
|
22402
|
+
function rw(e) {
|
|
22403
|
+
let t = AC(e);
|
|
22404
|
+
return !GC() || !t.visualViewport ? nw : {
|
|
22435
22405
|
x: t.visualViewport.offsetLeft,
|
|
22436
22406
|
y: t.visualViewport.offsetTop
|
|
22437
22407
|
};
|
|
22438
22408
|
}
|
|
22439
|
-
function
|
|
22440
|
-
return t === void 0 && (t = !1), !n || t && n !==
|
|
22409
|
+
function iw(e, t, n) {
|
|
22410
|
+
return t === void 0 && (t = !1), !n || t && n !== AC(e) ? !1 : t;
|
|
22441
22411
|
}
|
|
22442
|
-
function
|
|
22412
|
+
function aw(e, t, n, r) {
|
|
22443
22413
|
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
|
22444
|
-
let i = e.getBoundingClientRect(), a =
|
|
22445
|
-
t && (r ?
|
|
22446
|
-
let s =
|
|
22414
|
+
let i = e.getBoundingClientRect(), a = ew(e), o = WS(1);
|
|
22415
|
+
t && (r ? NC(r) && (o = tw(r)) : o = tw(e));
|
|
22416
|
+
let s = iw(a, n, r) ? rw(a) : WS(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;
|
|
22447
22417
|
if (a) {
|
|
22448
|
-
let e =
|
|
22418
|
+
let e = AC(a), t = r && NC(r) ? AC(r) : r, n = e, i = QC(n);
|
|
22449
22419
|
for (; i && r && t !== n;) {
|
|
22450
|
-
let e =
|
|
22451
|
-
c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n =
|
|
22420
|
+
let e = tw(i), t = i.getBoundingClientRect(), r = qC(i), a = t.left + (i.clientLeft + parseFloat(r.paddingLeft)) * e.x, o = t.top + (i.clientTop + parseFloat(r.paddingTop)) * e.y;
|
|
22421
|
+
c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = AC(i), i = QC(n);
|
|
22452
22422
|
}
|
|
22453
22423
|
}
|
|
22454
|
-
return
|
|
22424
|
+
return fC({
|
|
22455
22425
|
width: u,
|
|
22456
22426
|
height: d,
|
|
22457
22427
|
x: c,
|
|
22458
22428
|
y: l
|
|
22459
22429
|
});
|
|
22460
22430
|
}
|
|
22461
|
-
function
|
|
22462
|
-
let n =
|
|
22463
|
-
return t ? t.left + n :
|
|
22431
|
+
function ow(e, t) {
|
|
22432
|
+
let n = JC(e).scrollLeft;
|
|
22433
|
+
return t ? t.left + n : aw(jC(e)).left + n;
|
|
22464
22434
|
}
|
|
22465
|
-
function
|
|
22435
|
+
function sw(e, t) {
|
|
22466
22436
|
let n = e.getBoundingClientRect();
|
|
22467
22437
|
return {
|
|
22468
|
-
x: n.left + t.scrollLeft -
|
|
22438
|
+
x: n.left + t.scrollLeft - ow(e, n),
|
|
22469
22439
|
y: n.top + t.scrollTop
|
|
22470
22440
|
};
|
|
22471
22441
|
}
|
|
22472
|
-
function
|
|
22473
|
-
let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o =
|
|
22442
|
+
function cw(e) {
|
|
22443
|
+
let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = jC(r), s = t ? RC(t.floating) : !1;
|
|
22474
22444
|
if (r === o || s && a) return n;
|
|
22475
22445
|
let c = {
|
|
22476
22446
|
scrollLeft: 0,
|
|
22477
22447
|
scrollTop: 0
|
|
22478
|
-
}, l =
|
|
22479
|
-
if ((d || !d && !a) && ((
|
|
22480
|
-
let e =
|
|
22481
|
-
l =
|
|
22448
|
+
}, l = WS(1), u = WS(0), d = PC(r);
|
|
22449
|
+
if ((d || !d && !a) && ((kC(r) !== "body" || IC(o)) && (c = JC(r)), d)) {
|
|
22450
|
+
let e = aw(r);
|
|
22451
|
+
l = tw(r), u.x = e.x + r.clientLeft, u.y = e.y + r.clientTop;
|
|
22482
22452
|
}
|
|
22483
|
-
let f = o && !d && !a ?
|
|
22453
|
+
let f = o && !d && !a ? sw(o, c) : WS(0);
|
|
22484
22454
|
return {
|
|
22485
22455
|
width: n.width * l.x,
|
|
22486
22456
|
height: n.height * l.y,
|
|
@@ -22488,31 +22458,31 @@ function pw(e) {
|
|
|
22488
22458
|
y: n.y * l.y - c.scrollTop * l.y + u.y + f.y
|
|
22489
22459
|
};
|
|
22490
22460
|
}
|
|
22491
|
-
function
|
|
22461
|
+
function lw(e) {
|
|
22492
22462
|
return Array.from(e.getClientRects());
|
|
22493
22463
|
}
|
|
22494
|
-
function
|
|
22495
|
-
let t =
|
|
22496
|
-
return
|
|
22464
|
+
function uw(e) {
|
|
22465
|
+
let t = jC(e), n = JC(e), r = e.ownerDocument.body, i = VS(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), a = VS(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight), o = -n.scrollLeft + ow(e), s = -n.scrollTop;
|
|
22466
|
+
return qC(r).direction === "rtl" && (o += VS(t.clientWidth, r.clientWidth) - i), {
|
|
22497
22467
|
width: i,
|
|
22498
22468
|
height: a,
|
|
22499
22469
|
x: o,
|
|
22500
22470
|
y: s
|
|
22501
22471
|
};
|
|
22502
22472
|
}
|
|
22503
|
-
var
|
|
22504
|
-
function
|
|
22505
|
-
let n =
|
|
22473
|
+
var dw = 25;
|
|
22474
|
+
function fw(e, t) {
|
|
22475
|
+
let n = AC(e), r = jC(e), i = n.visualViewport, a = r.clientWidth, o = r.clientHeight, s = 0, c = 0;
|
|
22506
22476
|
if (i) {
|
|
22507
22477
|
a = i.width, o = i.height;
|
|
22508
|
-
let e =
|
|
22478
|
+
let e = GC();
|
|
22509
22479
|
(!e || e && t === "fixed") && (s = i.offsetLeft, c = i.offsetTop);
|
|
22510
22480
|
}
|
|
22511
|
-
let l =
|
|
22481
|
+
let l = ow(r);
|
|
22512
22482
|
if (l <= 0) {
|
|
22513
22483
|
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);
|
|
22514
|
-
o <=
|
|
22515
|
-
} else l <=
|
|
22484
|
+
o <= dw && (a -= o);
|
|
22485
|
+
} else l <= dw && (a += l);
|
|
22516
22486
|
return {
|
|
22517
22487
|
width: a,
|
|
22518
22488
|
height: o,
|
|
@@ -22520,8 +22490,8 @@ function _w(e, t) {
|
|
|
22520
22490
|
y: c
|
|
22521
22491
|
};
|
|
22522
22492
|
}
|
|
22523
|
-
function
|
|
22524
|
-
let n =
|
|
22493
|
+
function pw(e, t) {
|
|
22494
|
+
let n = aw(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = PC(e) ? tw(e) : WS(1);
|
|
22525
22495
|
return {
|
|
22526
22496
|
width: e.clientWidth * a.x,
|
|
22527
22497
|
height: e.clientHeight * a.y,
|
|
@@ -22529,13 +22499,13 @@ function vw(e, t) {
|
|
|
22529
22499
|
y: r * a.y
|
|
22530
22500
|
};
|
|
22531
22501
|
}
|
|
22532
|
-
function
|
|
22502
|
+
function mw(e, t, n) {
|
|
22533
22503
|
let r;
|
|
22534
|
-
if (t === "viewport") r =
|
|
22535
|
-
else if (t === "document") r =
|
|
22536
|
-
else if (
|
|
22504
|
+
if (t === "viewport") r = fw(e, n);
|
|
22505
|
+
else if (t === "document") r = uw(jC(e));
|
|
22506
|
+
else if (NC(t)) r = pw(t, n);
|
|
22537
22507
|
else {
|
|
22538
|
-
let n =
|
|
22508
|
+
let n = rw(e);
|
|
22539
22509
|
r = {
|
|
22540
22510
|
x: t.x - n.x,
|
|
22541
22511
|
y: t.y - n.y,
|
|
@@ -22543,27 +22513,27 @@ function yw(e, t, n) {
|
|
|
22543
22513
|
height: t.height
|
|
22544
22514
|
};
|
|
22545
22515
|
}
|
|
22546
|
-
return
|
|
22516
|
+
return fC(r);
|
|
22547
22517
|
}
|
|
22548
|
-
function
|
|
22549
|
-
let n =
|
|
22550
|
-
return n === t || !
|
|
22518
|
+
function hw(e, t) {
|
|
22519
|
+
let n = YC(e);
|
|
22520
|
+
return n === t || !NC(n) || KC(n) ? !1 : qC(n).position === "fixed" || hw(n, t);
|
|
22551
22521
|
}
|
|
22552
|
-
function
|
|
22522
|
+
function gw(e, t) {
|
|
22553
22523
|
let n = t.get(e);
|
|
22554
22524
|
if (n) return n;
|
|
22555
|
-
let r =
|
|
22556
|
-
for (;
|
|
22557
|
-
let t =
|
|
22558
|
-
!n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") ||
|
|
22525
|
+
let r = ZC(e, [], !1).filter((e) => NC(e) && kC(e) !== "body"), i = null, a = qC(e).position === "fixed", o = a ? YC(e) : e;
|
|
22526
|
+
for (; NC(o) && !KC(o);) {
|
|
22527
|
+
let t = qC(o), n = UC(o);
|
|
22528
|
+
!n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") || IC(o) && !n && hw(e, o)) ? r = r.filter((e) => e !== o) : i = t, o = YC(o);
|
|
22559
22529
|
}
|
|
22560
22530
|
return t.set(e, r), r;
|
|
22561
22531
|
}
|
|
22562
|
-
function
|
|
22563
|
-
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ?
|
|
22532
|
+
function _w(e) {
|
|
22533
|
+
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? RC(t) ? [] : gw(t, this._c) : [].concat(n), r], o = mw(t, a[0], i), s = o.top, c = o.right, l = o.bottom, u = o.left;
|
|
22564
22534
|
for (let e = 1; e < a.length; e++) {
|
|
22565
|
-
let n =
|
|
22566
|
-
s =
|
|
22535
|
+
let n = mw(t, a[e], i);
|
|
22536
|
+
s = VS(n.top, s), c = BS(n.right, c), l = BS(n.bottom, l), u = VS(n.left, u);
|
|
22567
22537
|
}
|
|
22568
22538
|
return {
|
|
22569
22539
|
width: c - u,
|
|
@@ -22572,27 +22542,27 @@ function Sw(e) {
|
|
|
22572
22542
|
y: s
|
|
22573
22543
|
};
|
|
22574
22544
|
}
|
|
22575
|
-
function
|
|
22576
|
-
let { width: t, height: n } =
|
|
22545
|
+
function vw(e) {
|
|
22546
|
+
let { width: t, height: n } = $C(e);
|
|
22577
22547
|
return {
|
|
22578
22548
|
width: t,
|
|
22579
22549
|
height: n
|
|
22580
22550
|
};
|
|
22581
22551
|
}
|
|
22582
|
-
function
|
|
22583
|
-
let r =
|
|
22552
|
+
function yw(e, t, n) {
|
|
22553
|
+
let r = PC(t), i = jC(t), a = n === "fixed", o = aw(e, !0, a, t), s = {
|
|
22584
22554
|
scrollLeft: 0,
|
|
22585
22555
|
scrollTop: 0
|
|
22586
|
-
}, c =
|
|
22556
|
+
}, c = WS(0);
|
|
22587
22557
|
function l() {
|
|
22588
|
-
c.x =
|
|
22558
|
+
c.x = ow(i);
|
|
22589
22559
|
}
|
|
22590
|
-
if (r || !r && !a) if ((
|
|
22591
|
-
let e =
|
|
22560
|
+
if (r || !r && !a) if ((kC(t) !== "body" || IC(i)) && (s = JC(t)), r) {
|
|
22561
|
+
let e = aw(t, !0, a, t);
|
|
22592
22562
|
c.x = e.x + t.clientLeft, c.y = e.y + t.clientTop;
|
|
22593
22563
|
} else i && l();
|
|
22594
22564
|
a && !r && i && l();
|
|
22595
|
-
let u = i && !r && !a ?
|
|
22565
|
+
let u = i && !r && !a ? sw(i, s) : WS(0);
|
|
22596
22566
|
return {
|
|
22597
22567
|
x: o.left + s.scrollLeft - c.x - u.x,
|
|
22598
22568
|
y: o.top + s.scrollTop - c.y - u.y,
|
|
@@ -22600,34 +22570,34 @@ function ww(e, t, n) {
|
|
|
22600
22570
|
height: o.height
|
|
22601
22571
|
};
|
|
22602
22572
|
}
|
|
22603
|
-
function
|
|
22604
|
-
return
|
|
22573
|
+
function bw(e) {
|
|
22574
|
+
return qC(e).position === "static";
|
|
22605
22575
|
}
|
|
22606
|
-
function
|
|
22607
|
-
if (!
|
|
22576
|
+
function xw(e, t) {
|
|
22577
|
+
if (!PC(e) || qC(e).position === "fixed") return null;
|
|
22608
22578
|
if (t) return t(e);
|
|
22609
22579
|
let n = e.offsetParent;
|
|
22610
|
-
return
|
|
22580
|
+
return jC(e) === n && (n = n.ownerDocument.body), n;
|
|
22611
22581
|
}
|
|
22612
|
-
function
|
|
22613
|
-
let n =
|
|
22614
|
-
if (
|
|
22615
|
-
if (!
|
|
22616
|
-
let t =
|
|
22617
|
-
for (; t && !
|
|
22618
|
-
if (
|
|
22619
|
-
t =
|
|
22582
|
+
function Sw(e, t) {
|
|
22583
|
+
let n = AC(e);
|
|
22584
|
+
if (RC(e)) return n;
|
|
22585
|
+
if (!PC(e)) {
|
|
22586
|
+
let t = YC(e);
|
|
22587
|
+
for (; t && !KC(t);) {
|
|
22588
|
+
if (NC(t) && !bw(t)) return t;
|
|
22589
|
+
t = YC(t);
|
|
22620
22590
|
}
|
|
22621
22591
|
return n;
|
|
22622
22592
|
}
|
|
22623
|
-
let r =
|
|
22624
|
-
for (; r &&
|
|
22625
|
-
return r &&
|
|
22593
|
+
let r = xw(e, t);
|
|
22594
|
+
for (; r && LC(r) && bw(r);) r = xw(r, t);
|
|
22595
|
+
return r && KC(r) && bw(r) && !UC(r) ? n : r || WC(e) || n;
|
|
22626
22596
|
}
|
|
22627
|
-
var
|
|
22628
|
-
let t = this.getOffsetParent ||
|
|
22597
|
+
var Cw = async function(e) {
|
|
22598
|
+
let t = this.getOffsetParent || Sw, n = this.getDimensions, r = await n(e.floating);
|
|
22629
22599
|
return {
|
|
22630
|
-
reference:
|
|
22600
|
+
reference: yw(e.reference, await t(e.floating), e.strategy),
|
|
22631
22601
|
floating: {
|
|
22632
22602
|
x: 0,
|
|
22633
22603
|
y: 0,
|
|
@@ -22636,26 +22606,26 @@ var Ow = async function(e) {
|
|
|
22636
22606
|
}
|
|
22637
22607
|
};
|
|
22638
22608
|
};
|
|
22639
|
-
function
|
|
22640
|
-
return
|
|
22641
|
-
}
|
|
22642
|
-
var
|
|
22643
|
-
convertOffsetParentRelativeRectToViewportRelativeRect:
|
|
22644
|
-
getDocumentElement:
|
|
22645
|
-
getClippingRect:
|
|
22646
|
-
getOffsetParent:
|
|
22647
|
-
getElementRects:
|
|
22648
|
-
getClientRects:
|
|
22649
|
-
getDimensions:
|
|
22650
|
-
getScale:
|
|
22651
|
-
isElement:
|
|
22652
|
-
isRTL:
|
|
22609
|
+
function ww(e) {
|
|
22610
|
+
return qC(e).direction === "rtl";
|
|
22611
|
+
}
|
|
22612
|
+
var Tw = {
|
|
22613
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: cw,
|
|
22614
|
+
getDocumentElement: jC,
|
|
22615
|
+
getClippingRect: _w,
|
|
22616
|
+
getOffsetParent: Sw,
|
|
22617
|
+
getElementRects: Cw,
|
|
22618
|
+
getClientRects: lw,
|
|
22619
|
+
getDimensions: vw,
|
|
22620
|
+
getScale: tw,
|
|
22621
|
+
isElement: NC,
|
|
22622
|
+
isRTL: ww
|
|
22653
22623
|
};
|
|
22654
|
-
function
|
|
22624
|
+
function Ew(e, t) {
|
|
22655
22625
|
return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
|
|
22656
22626
|
}
|
|
22657
|
-
function
|
|
22658
|
-
let n = null, r, i =
|
|
22627
|
+
function Dw(e, t) {
|
|
22628
|
+
let n = null, r, i = jC(e);
|
|
22659
22629
|
function a() {
|
|
22660
22630
|
var e;
|
|
22661
22631
|
clearTimeout(r), (e = n) == null || e.disconnect(), n = null;
|
|
@@ -22664,9 +22634,9 @@ function Mw(e, t) {
|
|
|
22664
22634
|
s === void 0 && (s = !1), c === void 0 && (c = 1), a();
|
|
22665
22635
|
let l = e.getBoundingClientRect(), { left: u, top: d, width: f, height: p } = l;
|
|
22666
22636
|
if (s || t(), !f || !p) return;
|
|
22667
|
-
let m =
|
|
22637
|
+
let m = US(d), h = US(i.clientWidth - (u + f)), g = US(i.clientHeight - (d + p)), _ = US(u), v = {
|
|
22668
22638
|
rootMargin: -m + "px " + -h + "px " + -g + "px " + -_ + "px",
|
|
22669
|
-
threshold:
|
|
22639
|
+
threshold: VS(0, BS(1, c)) || 1
|
|
22670
22640
|
}, y = !0;
|
|
22671
22641
|
function b(t) {
|
|
22672
22642
|
let n = t[0].intersectionRatio;
|
|
@@ -22676,7 +22646,7 @@ function Mw(e, t) {
|
|
|
22676
22646
|
o(!1, 1e-7);
|
|
22677
22647
|
}, 1e3);
|
|
22678
22648
|
}
|
|
22679
|
-
n === 1 && !
|
|
22649
|
+
n === 1 && !Ew(l, e.getBoundingClientRect()) && o(), y = !1;
|
|
22680
22650
|
}
|
|
22681
22651
|
try {
|
|
22682
22652
|
n = new IntersectionObserver(b, {
|
|
@@ -22690,13 +22660,13 @@ function Mw(e, t) {
|
|
|
22690
22660
|
}
|
|
22691
22661
|
return o(!0), a;
|
|
22692
22662
|
}
|
|
22693
|
-
function
|
|
22663
|
+
function Ow(e, t, n, r) {
|
|
22694
22664
|
r === void 0 && (r = {});
|
|
22695
|
-
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l =
|
|
22665
|
+
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l = ew(e), u = i || a ? [...l ? ZC(l) : [], ...t ? ZC(t) : []] : [];
|
|
22696
22666
|
u.forEach((e) => {
|
|
22697
22667
|
i && e.addEventListener("scroll", n, { passive: !0 }), a && e.addEventListener("resize", n);
|
|
22698
22668
|
});
|
|
22699
|
-
let d = l && s ?
|
|
22669
|
+
let d = l && s ? Dw(l, n) : null, f = -1, p = null;
|
|
22700
22670
|
o && (p = new ResizeObserver((e) => {
|
|
22701
22671
|
let [r] = e;
|
|
22702
22672
|
r && r.target === l && p && t && (p.unobserve(t), cancelAnimationFrame(f), f = requestAnimationFrame(() => {
|
|
@@ -22704,11 +22674,11 @@ function Nw(e, t, n, r) {
|
|
|
22704
22674
|
(e = p) == null || e.observe(t);
|
|
22705
22675
|
})), n();
|
|
22706
22676
|
}), l && !c && p.observe(l), t && p.observe(t));
|
|
22707
|
-
let m, h = c ?
|
|
22677
|
+
let m, h = c ? aw(e) : null;
|
|
22708
22678
|
c && g();
|
|
22709
22679
|
function g() {
|
|
22710
|
-
let t =
|
|
22711
|
-
h && !
|
|
22680
|
+
let t = aw(e);
|
|
22681
|
+
h && !Ew(h, t) && n(), h = t, m = requestAnimationFrame(g);
|
|
22712
22682
|
}
|
|
22713
22683
|
return n(), () => {
|
|
22714
22684
|
var e;
|
|
@@ -22717,20 +22687,20 @@ function Nw(e, t, n, r) {
|
|
|
22717
22687
|
}), d?.(), (e = p) == null || e.disconnect(), p = null, c && cancelAnimationFrame(m);
|
|
22718
22688
|
};
|
|
22719
22689
|
}
|
|
22720
|
-
var
|
|
22690
|
+
var kw = wC, Aw = TC, jw = vC, Mw = DC, Nw = xC, Pw = _C, Fw = EC, Iw = (e, t, n) => {
|
|
22721
22691
|
let r = /* @__PURE__ */ new Map(), i = {
|
|
22722
|
-
platform:
|
|
22692
|
+
platform: Tw,
|
|
22723
22693
|
...n
|
|
22724
22694
|
}, a = {
|
|
22725
22695
|
...i.platform,
|
|
22726
22696
|
_c: r
|
|
22727
22697
|
};
|
|
22728
|
-
return
|
|
22698
|
+
return gC(e, t, {
|
|
22729
22699
|
...i,
|
|
22730
22700
|
platform: a
|
|
22731
22701
|
});
|
|
22732
|
-
},
|
|
22733
|
-
function
|
|
22702
|
+
}, Lw = typeof document < "u" ? g.useLayoutEffect : function() {};
|
|
22703
|
+
function Rw(e, t) {
|
|
22734
22704
|
if (e === t) return !0;
|
|
22735
22705
|
if (typeof e != typeof t) return !1;
|
|
22736
22706
|
if (typeof e == "function" && e.toString() === t.toString()) return !0;
|
|
@@ -22738,33 +22708,33 @@ function Uw(e, t) {
|
|
|
22738
22708
|
if (e && t && typeof e == "object") {
|
|
22739
22709
|
if (Array.isArray(e)) {
|
|
22740
22710
|
if (n = e.length, n !== t.length) return !1;
|
|
22741
|
-
for (r = n; r-- !== 0;) if (!
|
|
22711
|
+
for (r = n; r-- !== 0;) if (!Rw(e[r], t[r])) return !1;
|
|
22742
22712
|
return !0;
|
|
22743
22713
|
}
|
|
22744
22714
|
if (i = Object.keys(e), n = i.length, n !== Object.keys(t).length) return !1;
|
|
22745
22715
|
for (r = n; r-- !== 0;) if (!{}.hasOwnProperty.call(t, i[r])) return !1;
|
|
22746
22716
|
for (r = n; r-- !== 0;) {
|
|
22747
22717
|
let n = i[r];
|
|
22748
|
-
if (!(n === "_owner" && e.$$typeof) && !
|
|
22718
|
+
if (!(n === "_owner" && e.$$typeof) && !Rw(e[n], t[n])) return !1;
|
|
22749
22719
|
}
|
|
22750
22720
|
return !0;
|
|
22751
22721
|
}
|
|
22752
22722
|
return e !== e && t !== t;
|
|
22753
22723
|
}
|
|
22754
|
-
function
|
|
22724
|
+
function zw(e) {
|
|
22755
22725
|
return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
22756
22726
|
}
|
|
22757
|
-
function
|
|
22758
|
-
let n =
|
|
22727
|
+
function Bw(e, t) {
|
|
22728
|
+
let n = zw(e);
|
|
22759
22729
|
return Math.round(t * n) / n;
|
|
22760
22730
|
}
|
|
22761
|
-
function
|
|
22731
|
+
function Vw(e) {
|
|
22762
22732
|
let t = g.useRef(e);
|
|
22763
|
-
return
|
|
22733
|
+
return Lw(() => {
|
|
22764
22734
|
t.current = e;
|
|
22765
22735
|
}), t;
|
|
22766
22736
|
}
|
|
22767
|
-
function
|
|
22737
|
+
function Hw(e) {
|
|
22768
22738
|
e === void 0 && (e = {});
|
|
22769
22739
|
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] = g.useState({
|
|
22770
22740
|
x: 0,
|
|
@@ -22774,24 +22744,24 @@ function qw(e) {
|
|
|
22774
22744
|
middlewareData: {},
|
|
22775
22745
|
isPositioned: !1
|
|
22776
22746
|
}), [f, p] = g.useState(r);
|
|
22777
|
-
|
|
22747
|
+
Rw(f, r) || p(r);
|
|
22778
22748
|
let [m, h] = g.useState(null), [v, y] = g.useState(null), b = g.useCallback((e) => {
|
|
22779
22749
|
e !== w.current && (w.current = e, h(e));
|
|
22780
22750
|
}, []), x = g.useCallback((e) => {
|
|
22781
22751
|
e !== T.current && (T.current = e, y(e));
|
|
22782
|
-
}, []), S = a || m, C = o || v, w = g.useRef(null), T = g.useRef(null), E = g.useRef(u), D = c != null, O =
|
|
22752
|
+
}, []), S = a || m, C = o || v, w = g.useRef(null), T = g.useRef(null), E = g.useRef(u), D = c != null, O = Vw(c), ee = Vw(i), k = Vw(l), A = g.useCallback(() => {
|
|
22783
22753
|
if (!w.current || !T.current) return;
|
|
22784
22754
|
let e = {
|
|
22785
22755
|
placement: t,
|
|
22786
22756
|
strategy: n,
|
|
22787
22757
|
middleware: f
|
|
22788
22758
|
};
|
|
22789
|
-
ee.current && (e.platform = ee.current),
|
|
22759
|
+
ee.current && (e.platform = ee.current), Iw(w.current, T.current, e).then((e) => {
|
|
22790
22760
|
let t = {
|
|
22791
22761
|
...e,
|
|
22792
22762
|
isPositioned: k.current !== !1
|
|
22793
22763
|
};
|
|
22794
|
-
j.current && !
|
|
22764
|
+
j.current && !Rw(E.current, t) && (E.current = t, _.flushSync(() => {
|
|
22795
22765
|
d(t);
|
|
22796
22766
|
}));
|
|
22797
22767
|
});
|
|
@@ -22802,16 +22772,16 @@ function qw(e) {
|
|
|
22802
22772
|
ee,
|
|
22803
22773
|
k
|
|
22804
22774
|
]);
|
|
22805
|
-
|
|
22775
|
+
Lw(() => {
|
|
22806
22776
|
l === !1 && E.current.isPositioned && (E.current.isPositioned = !1, d((e) => ({
|
|
22807
22777
|
...e,
|
|
22808
22778
|
isPositioned: !1
|
|
22809
22779
|
})));
|
|
22810
22780
|
}, [l]);
|
|
22811
22781
|
let j = g.useRef(!1);
|
|
22812
|
-
|
|
22782
|
+
Lw(() => (j.current = !0, () => {
|
|
22813
22783
|
j.current = !1;
|
|
22814
|
-
}), []),
|
|
22784
|
+
}), []), Lw(() => {
|
|
22815
22785
|
if (S && (w.current = S), C && (T.current = C), S && C) {
|
|
22816
22786
|
if (O.current) return O.current(S, C, A);
|
|
22817
22787
|
A();
|
|
@@ -22838,11 +22808,11 @@ function qw(e) {
|
|
|
22838
22808
|
top: 0
|
|
22839
22809
|
};
|
|
22840
22810
|
if (!M.floating) return e;
|
|
22841
|
-
let t =
|
|
22811
|
+
let t = Bw(M.floating, u.x), r = Bw(M.floating, u.y);
|
|
22842
22812
|
return s ? {
|
|
22843
22813
|
...e,
|
|
22844
22814
|
transform: "translate(" + t + "px, " + r + "px)",
|
|
22845
|
-
...
|
|
22815
|
+
...zw(M.floating) >= 1.5 && { willChange: "transform" }
|
|
22846
22816
|
} : {
|
|
22847
22817
|
position: n,
|
|
22848
22818
|
left: t,
|
|
@@ -22869,7 +22839,7 @@ function qw(e) {
|
|
|
22869
22839
|
N
|
|
22870
22840
|
]);
|
|
22871
22841
|
}
|
|
22872
|
-
var
|
|
22842
|
+
var Uw = (e) => {
|
|
22873
22843
|
function t(e) {
|
|
22874
22844
|
return {}.hasOwnProperty.call(e, "current");
|
|
22875
22845
|
}
|
|
@@ -22878,63 +22848,63 @@ var Jw = (e) => {
|
|
|
22878
22848
|
options: e,
|
|
22879
22849
|
fn(n) {
|
|
22880
22850
|
let { element: r, padding: i } = typeof e == "function" ? e(n) : e;
|
|
22881
|
-
return r && t(r) ? r.current == null ? {} :
|
|
22851
|
+
return r && t(r) ? r.current == null ? {} : Pw({
|
|
22882
22852
|
element: r.current,
|
|
22883
22853
|
padding: i
|
|
22884
|
-
}).fn(n) : r ?
|
|
22854
|
+
}).fn(n) : r ? Pw({
|
|
22885
22855
|
element: r,
|
|
22886
22856
|
padding: i
|
|
22887
22857
|
}).fn(n) : {};
|
|
22888
22858
|
}
|
|
22889
22859
|
};
|
|
22890
|
-
},
|
|
22891
|
-
let n =
|
|
22860
|
+
}, Ww = (e, t) => {
|
|
22861
|
+
let n = kw(e);
|
|
22892
22862
|
return {
|
|
22893
22863
|
name: n.name,
|
|
22894
22864
|
fn: n.fn,
|
|
22895
22865
|
options: [e, t]
|
|
22896
22866
|
};
|
|
22897
|
-
},
|
|
22898
|
-
let n =
|
|
22867
|
+
}, Gw = (e, t) => {
|
|
22868
|
+
let n = Aw(e);
|
|
22899
22869
|
return {
|
|
22900
22870
|
name: n.name,
|
|
22901
22871
|
fn: n.fn,
|
|
22902
22872
|
options: [e, t]
|
|
22903
22873
|
};
|
|
22904
|
-
},
|
|
22905
|
-
fn:
|
|
22874
|
+
}, Kw = (e, t) => ({
|
|
22875
|
+
fn: Fw(e).fn,
|
|
22906
22876
|
options: [e, t]
|
|
22907
|
-
}),
|
|
22908
|
-
let n =
|
|
22877
|
+
}), qw = (e, t) => {
|
|
22878
|
+
let n = jw(e);
|
|
22909
22879
|
return {
|
|
22910
22880
|
name: n.name,
|
|
22911
22881
|
fn: n.fn,
|
|
22912
22882
|
options: [e, t]
|
|
22913
22883
|
};
|
|
22914
|
-
},
|
|
22915
|
-
let n =
|
|
22884
|
+
}, Jw = (e, t) => {
|
|
22885
|
+
let n = Mw(e);
|
|
22916
22886
|
return {
|
|
22917
22887
|
name: n.name,
|
|
22918
22888
|
fn: n.fn,
|
|
22919
22889
|
options: [e, t]
|
|
22920
22890
|
};
|
|
22921
|
-
},
|
|
22922
|
-
let n =
|
|
22891
|
+
}, Yw = (e, t) => {
|
|
22892
|
+
let n = Nw(e);
|
|
22923
22893
|
return {
|
|
22924
22894
|
name: n.name,
|
|
22925
22895
|
fn: n.fn,
|
|
22926
22896
|
options: [e, t]
|
|
22927
22897
|
};
|
|
22928
|
-
},
|
|
22929
|
-
let n =
|
|
22898
|
+
}, Xw = (e, t) => {
|
|
22899
|
+
let n = Uw(e);
|
|
22930
22900
|
return {
|
|
22931
22901
|
name: n.name,
|
|
22932
22902
|
fn: n.fn,
|
|
22933
22903
|
options: [e, t]
|
|
22934
22904
|
};
|
|
22935
|
-
},
|
|
22905
|
+
}, Zw = "Arrow", Qw = g.forwardRef((e, t) => {
|
|
22936
22906
|
let { children: n, width: r = 10, height: i = 5, ...a } = e;
|
|
22937
|
-
return /* @__PURE__ */ (0, J.jsx)(
|
|
22907
|
+
return /* @__PURE__ */ (0, J.jsx)($x.svg, {
|
|
22938
22908
|
...a,
|
|
22939
22909
|
ref: t,
|
|
22940
22910
|
width: r,
|
|
@@ -22944,13 +22914,13 @@ var Jw = (e) => {
|
|
|
22944
22914
|
children: e.asChild ? n : /* @__PURE__ */ (0, J.jsx)("polygon", { points: "0,0 30,0 15,10" })
|
|
22945
22915
|
});
|
|
22946
22916
|
});
|
|
22947
|
-
|
|
22948
|
-
var
|
|
22917
|
+
Qw.displayName = Zw;
|
|
22918
|
+
var $w = Qw;
|
|
22949
22919
|
//#endregion
|
|
22950
22920
|
//#region ../node_modules/@radix-ui/react-use-size/dist/index.mjs
|
|
22951
|
-
function
|
|
22921
|
+
function eT(e) {
|
|
22952
22922
|
let [t, n] = g.useState(void 0);
|
|
22953
|
-
return
|
|
22923
|
+
return FS(() => {
|
|
22954
22924
|
if (e) {
|
|
22955
22925
|
n({
|
|
22956
22926
|
width: e.offsetWidth,
|
|
@@ -22974,29 +22944,29 @@ function aT(e) {
|
|
|
22974
22944
|
}
|
|
22975
22945
|
//#endregion
|
|
22976
22946
|
//#region ../node_modules/@radix-ui/react-popper/dist/index.mjs
|
|
22977
|
-
var
|
|
22947
|
+
var tT = "Popper", [nT, rT] = Gx(tT), [iT, aT] = nT(tT), oT = (e) => {
|
|
22978
22948
|
let { __scopePopper: t, children: n } = e, [r, i] = g.useState(null);
|
|
22979
|
-
return /* @__PURE__ */ (0, J.jsx)(
|
|
22949
|
+
return /* @__PURE__ */ (0, J.jsx)(iT, {
|
|
22980
22950
|
scope: t,
|
|
22981
22951
|
anchor: r,
|
|
22982
22952
|
onAnchorChange: i,
|
|
22983
22953
|
children: n
|
|
22984
22954
|
});
|
|
22985
22955
|
};
|
|
22986
|
-
|
|
22987
|
-
var
|
|
22988
|
-
let { __scopePopper: n, virtualRef: r, ...i } = e, a =
|
|
22956
|
+
oT.displayName = tT;
|
|
22957
|
+
var sT = "PopperAnchor", cT = g.forwardRef((e, t) => {
|
|
22958
|
+
let { __scopePopper: n, virtualRef: r, ...i } = e, a = aT(sT, n), o = g.useRef(null), s = Wx(t, o), c = g.useRef(null);
|
|
22989
22959
|
return g.useEffect(() => {
|
|
22990
22960
|
let e = c.current;
|
|
22991
22961
|
c.current = r?.current || o.current, e !== c.current && a.onAnchorChange(c.current);
|
|
22992
|
-
}), r ? null : /* @__PURE__ */ (0, J.jsx)(
|
|
22962
|
+
}), r ? null : /* @__PURE__ */ (0, J.jsx)($x.div, {
|
|
22993
22963
|
...i,
|
|
22994
22964
|
ref: s
|
|
22995
22965
|
});
|
|
22996
22966
|
});
|
|
22997
|
-
|
|
22998
|
-
var
|
|
22999
|
-
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, _ =
|
|
22967
|
+
cT.displayName = sT;
|
|
22968
|
+
var lT = "PopperContent", [uT, dT] = nT(lT), fT = g.forwardRef((e, t) => {
|
|
22969
|
+
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, _ = aT(lT, n), [v, y] = g.useState(null), b = Wx(t, (e) => y(e)), [x, S] = g.useState(null), C = eT(x), w = C?.width ?? 0, T = C?.height ?? 0, E = r + (a === "center" ? "" : "-" + a), D = typeof u == "number" ? u : {
|
|
23000
22970
|
top: 0,
|
|
23001
22971
|
right: 0,
|
|
23002
22972
|
bottom: 0,
|
|
@@ -23004,51 +22974,51 @@ var mT = "PopperContent", [hT, gT] = sT(mT), _T = g.forwardRef((e, t) => {
|
|
|
23004
22974
|
...u
|
|
23005
22975
|
}, O = Array.isArray(l) ? l : [l], ee = O.length > 0, k = {
|
|
23006
22976
|
padding: D,
|
|
23007
|
-
boundary: O.filter(
|
|
22977
|
+
boundary: O.filter(gT),
|
|
23008
22978
|
altBoundary: ee
|
|
23009
|
-
}, { refs: A, floatingStyles: j, placement: te, isPositioned: M, middlewareData: N } =
|
|
22979
|
+
}, { refs: A, floatingStyles: j, placement: te, isPositioned: M, middlewareData: N } = Hw({
|
|
23010
22980
|
strategy: "fixed",
|
|
23011
22981
|
placement: E,
|
|
23012
|
-
whileElementsMounted: (...e) =>
|
|
22982
|
+
whileElementsMounted: (...e) => Ow(...e, { animationFrame: p === "always" }),
|
|
23013
22983
|
elements: { reference: _.anchor },
|
|
23014
22984
|
middleware: [
|
|
23015
|
-
|
|
22985
|
+
Ww({
|
|
23016
22986
|
mainAxis: i + T,
|
|
23017
22987
|
alignmentAxis: o
|
|
23018
22988
|
}),
|
|
23019
|
-
c &&
|
|
22989
|
+
c && Gw({
|
|
23020
22990
|
mainAxis: !0,
|
|
23021
22991
|
crossAxis: !1,
|
|
23022
|
-
limiter: d === "partial" ?
|
|
22992
|
+
limiter: d === "partial" ? Kw() : void 0,
|
|
23023
22993
|
...k
|
|
23024
22994
|
}),
|
|
23025
|
-
c &&
|
|
23026
|
-
|
|
22995
|
+
c && qw({ ...k }),
|
|
22996
|
+
Jw({
|
|
23027
22997
|
...k,
|
|
23028
22998
|
apply: ({ elements: e, rects: t, availableWidth: n, availableHeight: r }) => {
|
|
23029
22999
|
let { width: i, height: a } = t.reference, o = e.floating.style;
|
|
23030
23000
|
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`);
|
|
23031
23001
|
}
|
|
23032
23002
|
}),
|
|
23033
|
-
x &&
|
|
23003
|
+
x && Xw({
|
|
23034
23004
|
element: x,
|
|
23035
23005
|
padding: s
|
|
23036
23006
|
}),
|
|
23037
|
-
|
|
23007
|
+
_T({
|
|
23038
23008
|
arrowWidth: w,
|
|
23039
23009
|
arrowHeight: T
|
|
23040
23010
|
}),
|
|
23041
|
-
f &&
|
|
23011
|
+
f && Yw({
|
|
23042
23012
|
strategy: "referenceHidden",
|
|
23043
23013
|
...k
|
|
23044
23014
|
})
|
|
23045
23015
|
]
|
|
23046
|
-
}), [ne, re] =
|
|
23047
|
-
|
|
23016
|
+
}), [ne, re] = vT(te), ie = tS(m);
|
|
23017
|
+
FS(() => {
|
|
23048
23018
|
M && ie?.();
|
|
23049
23019
|
}, [M, ie]);
|
|
23050
23020
|
let P = N.arrow?.x, ae = N.arrow?.y, F = N.arrow?.centerOffset !== 0, [oe, se] = g.useState();
|
|
23051
|
-
return
|
|
23021
|
+
return FS(() => {
|
|
23052
23022
|
v && se(window.getComputedStyle(v).zIndex);
|
|
23053
23023
|
}, [v]), /* @__PURE__ */ (0, J.jsx)("div", {
|
|
23054
23024
|
ref: A.setFloating,
|
|
@@ -23065,14 +23035,14 @@ var mT = "PopperContent", [hT, gT] = sT(mT), _T = g.forwardRef((e, t) => {
|
|
|
23065
23035
|
}
|
|
23066
23036
|
},
|
|
23067
23037
|
dir: e.dir,
|
|
23068
|
-
children: /* @__PURE__ */ (0, J.jsx)(
|
|
23038
|
+
children: /* @__PURE__ */ (0, J.jsx)(uT, {
|
|
23069
23039
|
scope: n,
|
|
23070
23040
|
placedSide: ne,
|
|
23071
23041
|
onArrowChange: S,
|
|
23072
23042
|
arrowX: P,
|
|
23073
23043
|
arrowY: ae,
|
|
23074
23044
|
shouldHideArrow: F,
|
|
23075
|
-
children: /* @__PURE__ */ (0, J.jsx)(
|
|
23045
|
+
children: /* @__PURE__ */ (0, J.jsx)($x.div, {
|
|
23076
23046
|
"data-side": ne,
|
|
23077
23047
|
"data-align": re,
|
|
23078
23048
|
...h,
|
|
@@ -23085,14 +23055,14 @@ var mT = "PopperContent", [hT, gT] = sT(mT), _T = g.forwardRef((e, t) => {
|
|
|
23085
23055
|
})
|
|
23086
23056
|
});
|
|
23087
23057
|
});
|
|
23088
|
-
|
|
23089
|
-
var
|
|
23058
|
+
fT.displayName = lT;
|
|
23059
|
+
var pT = "PopperArrow", mT = {
|
|
23090
23060
|
top: "bottom",
|
|
23091
23061
|
right: "left",
|
|
23092
23062
|
bottom: "top",
|
|
23093
23063
|
left: "right"
|
|
23094
|
-
},
|
|
23095
|
-
let { __scopePopper: n, ...r } = e, i =
|
|
23064
|
+
}, hT = g.forwardRef(function(e, t) {
|
|
23065
|
+
let { __scopePopper: n, ...r } = e, i = dT(pT, n), a = mT[i.placedSide];
|
|
23096
23066
|
return /* @__PURE__ */ (0, J.jsx)("span", {
|
|
23097
23067
|
ref: i.onArrowChange,
|
|
23098
23068
|
style: {
|
|
@@ -23114,7 +23084,7 @@ var vT = "PopperArrow", yT = {
|
|
|
23114
23084
|
}[i.placedSide],
|
|
23115
23085
|
visibility: i.shouldHideArrow ? "hidden" : void 0
|
|
23116
23086
|
},
|
|
23117
|
-
children: /* @__PURE__ */ (0, J.jsx)(
|
|
23087
|
+
children: /* @__PURE__ */ (0, J.jsx)($w, {
|
|
23118
23088
|
...r,
|
|
23119
23089
|
ref: t,
|
|
23120
23090
|
style: {
|
|
@@ -23124,15 +23094,15 @@ var vT = "PopperArrow", yT = {
|
|
|
23124
23094
|
})
|
|
23125
23095
|
});
|
|
23126
23096
|
});
|
|
23127
|
-
|
|
23128
|
-
function
|
|
23097
|
+
hT.displayName = pT;
|
|
23098
|
+
function gT(e) {
|
|
23129
23099
|
return e !== null;
|
|
23130
23100
|
}
|
|
23131
|
-
var
|
|
23101
|
+
var _T = (e) => ({
|
|
23132
23102
|
name: "transformOrigin",
|
|
23133
23103
|
options: e,
|
|
23134
23104
|
fn(t) {
|
|
23135
|
-
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] =
|
|
23105
|
+
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] = vT(n), u = {
|
|
23136
23106
|
start: "0%",
|
|
23137
23107
|
center: "50%",
|
|
23138
23108
|
end: "100%"
|
|
@@ -23143,32 +23113,32 @@ var ST = (e) => ({
|
|
|
23143
23113
|
} };
|
|
23144
23114
|
}
|
|
23145
23115
|
});
|
|
23146
|
-
function
|
|
23116
|
+
function vT(e) {
|
|
23147
23117
|
let [t, n = "center"] = e.split("-");
|
|
23148
23118
|
return [t, n];
|
|
23149
23119
|
}
|
|
23150
|
-
var
|
|
23120
|
+
var yT = oT, bT = cT, xT = fT, ST = hT, CT = "Portal", wT = g.forwardRef((e, t) => {
|
|
23151
23121
|
let { container: n, ...r } = e, [i, a] = g.useState(!1);
|
|
23152
|
-
|
|
23122
|
+
FS(() => a(!0), []);
|
|
23153
23123
|
let o = n || i && globalThis?.document?.body;
|
|
23154
|
-
return o ? _.createPortal(/* @__PURE__ */ (0, J.jsx)(
|
|
23124
|
+
return o ? _.createPortal(/* @__PURE__ */ (0, J.jsx)($x.div, {
|
|
23155
23125
|
...r,
|
|
23156
23126
|
ref: t
|
|
23157
23127
|
}), o) : null;
|
|
23158
23128
|
});
|
|
23159
|
-
|
|
23129
|
+
wT.displayName = CT;
|
|
23160
23130
|
//#endregion
|
|
23161
23131
|
//#region ../node_modules/@radix-ui/react-presence/dist/index.mjs
|
|
23162
|
-
function
|
|
23132
|
+
function TT(e, t) {
|
|
23163
23133
|
return g.useReducer((e, n) => t[e][n] ?? e, e);
|
|
23164
23134
|
}
|
|
23165
|
-
var
|
|
23166
|
-
let { present: t, children: n } = e, r =
|
|
23135
|
+
var ET = (e) => {
|
|
23136
|
+
let { present: t, children: n } = e, r = DT(t), i = typeof n == "function" ? n({ present: r.isPresent }) : g.Children.only(n), a = Wx(r.ref, kT(i));
|
|
23167
23137
|
return typeof n == "function" || r.isPresent ? g.cloneElement(i, { ref: a }) : null;
|
|
23168
23138
|
};
|
|
23169
|
-
|
|
23170
|
-
function
|
|
23171
|
-
let [t, n] = g.useState(), r = g.useRef(null), i = g.useRef(e), a = g.useRef("none"), [o, s] =
|
|
23139
|
+
ET.displayName = "Presence";
|
|
23140
|
+
function DT(e) {
|
|
23141
|
+
let [t, n] = g.useState(), r = g.useRef(null), i = g.useRef(e), a = g.useRef("none"), [o, s] = TT(e ? "mounted" : "unmounted", {
|
|
23172
23142
|
mounted: {
|
|
23173
23143
|
UNMOUNT: "unmounted",
|
|
23174
23144
|
ANIMATION_OUT: "unmountSuspended"
|
|
@@ -23180,18 +23150,18 @@ function MT(e) {
|
|
|
23180
23150
|
unmounted: { MOUNT: "mounted" }
|
|
23181
23151
|
});
|
|
23182
23152
|
return g.useEffect(() => {
|
|
23183
|
-
let e =
|
|
23153
|
+
let e = OT(r.current);
|
|
23184
23154
|
a.current = o === "mounted" ? e : "none";
|
|
23185
|
-
}, [o]),
|
|
23155
|
+
}, [o]), FS(() => {
|
|
23186
23156
|
let t = r.current, n = i.current;
|
|
23187
23157
|
if (n !== e) {
|
|
23188
|
-
let r = a.current, o =
|
|
23158
|
+
let r = a.current, o = OT(t);
|
|
23189
23159
|
e ? s("MOUNT") : o === "none" || t?.display === "none" ? s("UNMOUNT") : s(n && r !== o ? "ANIMATION_OUT" : "UNMOUNT"), i.current = e;
|
|
23190
23160
|
}
|
|
23191
|
-
}, [e, s]),
|
|
23161
|
+
}, [e, s]), FS(() => {
|
|
23192
23162
|
if (t) {
|
|
23193
23163
|
let e, n = t.ownerDocument.defaultView ?? window, o = (a) => {
|
|
23194
|
-
let o =
|
|
23164
|
+
let o = OT(r.current).includes(CSS.escape(a.animationName));
|
|
23195
23165
|
if (a.target === t && o && (s("ANIMATION_END"), !i.current)) {
|
|
23196
23166
|
let r = t.style.animationFillMode;
|
|
23197
23167
|
t.style.animationFillMode = "forwards", e = n.setTimeout(() => {
|
|
@@ -23199,7 +23169,7 @@ function MT(e) {
|
|
|
23199
23169
|
});
|
|
23200
23170
|
}
|
|
23201
23171
|
}, c = (e) => {
|
|
23202
|
-
e.target === t && (a.current =
|
|
23172
|
+
e.target === t && (a.current = OT(r.current));
|
|
23203
23173
|
};
|
|
23204
23174
|
return t.addEventListener("animationstart", c), t.addEventListener("animationcancel", o), t.addEventListener("animationend", o), () => {
|
|
23205
23175
|
n.clearTimeout(e), t.removeEventListener("animationstart", c), t.removeEventListener("animationcancel", o), t.removeEventListener("animationend", o);
|
|
@@ -23212,18 +23182,18 @@ function MT(e) {
|
|
|
23212
23182
|
}, [])
|
|
23213
23183
|
};
|
|
23214
23184
|
}
|
|
23215
|
-
function
|
|
23185
|
+
function OT(e) {
|
|
23216
23186
|
return e?.animationName || "none";
|
|
23217
23187
|
}
|
|
23218
|
-
function
|
|
23188
|
+
function kT(e) {
|
|
23219
23189
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
23220
23190
|
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);
|
|
23221
23191
|
}
|
|
23222
23192
|
//#endregion
|
|
23223
23193
|
//#region ../node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
|
|
23224
|
-
var
|
|
23225
|
-
function
|
|
23226
|
-
let [i, a, o] =
|
|
23194
|
+
var AT = g.useInsertionEffect || FS;
|
|
23195
|
+
function jT({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
23196
|
+
let [i, a, o] = MT({
|
|
23227
23197
|
defaultProp: t,
|
|
23228
23198
|
onChange: n
|
|
23229
23199
|
}), s = e !== void 0, c = s ? e : i;
|
|
@@ -23236,7 +23206,7 @@ function IT({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
|
23236
23206
|
}
|
|
23237
23207
|
return [c, g.useCallback((t) => {
|
|
23238
23208
|
if (s) {
|
|
23239
|
-
let n =
|
|
23209
|
+
let n = NT(t) ? t(e) : t;
|
|
23240
23210
|
n !== e && o.current?.(n);
|
|
23241
23211
|
} else a(t);
|
|
23242
23212
|
}, [
|
|
@@ -23246,9 +23216,9 @@ function IT({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
|
23246
23216
|
o
|
|
23247
23217
|
])];
|
|
23248
23218
|
}
|
|
23249
|
-
function
|
|
23219
|
+
function MT({ defaultProp: e, onChange: t }) {
|
|
23250
23220
|
let [n, r] = g.useState(e), i = g.useRef(n), a = g.useRef(t);
|
|
23251
|
-
return
|
|
23221
|
+
return AT(() => {
|
|
23252
23222
|
a.current = t;
|
|
23253
23223
|
}, [t]), g.useEffect(() => {
|
|
23254
23224
|
i.current !== n && (a.current?.(n), i.current = n);
|
|
@@ -23258,27 +23228,27 @@ function LT({ defaultProp: e, onChange: t }) {
|
|
|
23258
23228
|
a
|
|
23259
23229
|
];
|
|
23260
23230
|
}
|
|
23261
|
-
function
|
|
23231
|
+
function NT(e) {
|
|
23262
23232
|
return typeof e == "function";
|
|
23263
23233
|
}
|
|
23264
23234
|
//#endregion
|
|
23265
23235
|
//#region ../node_modules/aria-hidden/dist/es2015/index.js
|
|
23266
|
-
var
|
|
23236
|
+
var PT = function(e) {
|
|
23267
23237
|
return typeof document > "u" ? null : (Array.isArray(e) ? e[0] : e).ownerDocument.body;
|
|
23268
|
-
},
|
|
23269
|
-
return e && (e.host ||
|
|
23270
|
-
},
|
|
23238
|
+
}, FT = /* @__PURE__ */ new WeakMap(), IT = /* @__PURE__ */ new WeakMap(), LT = {}, RT = 0, zT = function(e) {
|
|
23239
|
+
return e && (e.host || zT(e.parentNode));
|
|
23240
|
+
}, BT = function(e, t) {
|
|
23271
23241
|
return t.map(function(t) {
|
|
23272
23242
|
if (e.contains(t)) return t;
|
|
23273
|
-
var n =
|
|
23243
|
+
var n = zT(t);
|
|
23274
23244
|
return n && e.contains(n) ? n : (console.error("aria-hidden", t, "in not contained inside", e, ". Doing nothing"), null);
|
|
23275
23245
|
}).filter(function(e) {
|
|
23276
23246
|
return !!e;
|
|
23277
23247
|
});
|
|
23278
|
-
},
|
|
23279
|
-
var i =
|
|
23280
|
-
|
|
23281
|
-
var a =
|
|
23248
|
+
}, VT = function(e, t, n, r) {
|
|
23249
|
+
var i = BT(t, Array.isArray(e) ? e : [e]);
|
|
23250
|
+
LT[n] || (LT[n] = /* @__PURE__ */ new WeakMap());
|
|
23251
|
+
var a = LT[n], o = [], s = /* @__PURE__ */ new Set(), c = new Set(i), l = function(e) {
|
|
23282
23252
|
!e || s.has(e) || (s.add(e), l(e.parentNode));
|
|
23283
23253
|
};
|
|
23284
23254
|
i.forEach(l);
|
|
@@ -23286,38 +23256,38 @@ var zT = function(e) {
|
|
|
23286
23256
|
!e || c.has(e) || Array.prototype.forEach.call(e.children, function(e) {
|
|
23287
23257
|
if (s.has(e)) u(e);
|
|
23288
23258
|
else try {
|
|
23289
|
-
var t = e.getAttribute(r), i = t !== null && t !== "false", c = (
|
|
23290
|
-
|
|
23259
|
+
var t = e.getAttribute(r), i = t !== null && t !== "false", c = (FT.get(e) || 0) + 1, l = (a.get(e) || 0) + 1;
|
|
23260
|
+
FT.set(e, c), a.set(e, l), o.push(e), c === 1 && i && IT.set(e, !0), l === 1 && e.setAttribute(n, "true"), i || e.setAttribute(r, "true");
|
|
23291
23261
|
} catch (t) {
|
|
23292
23262
|
console.error("aria-hidden: cannot operate on ", e, t);
|
|
23293
23263
|
}
|
|
23294
23264
|
});
|
|
23295
23265
|
};
|
|
23296
|
-
return u(t), s.clear(),
|
|
23266
|
+
return u(t), s.clear(), RT++, function() {
|
|
23297
23267
|
o.forEach(function(e) {
|
|
23298
|
-
var t =
|
|
23299
|
-
|
|
23300
|
-
}),
|
|
23268
|
+
var t = FT.get(e) - 1, i = a.get(e) - 1;
|
|
23269
|
+
FT.set(e, t), a.set(e, i), t || (IT.has(e) || e.removeAttribute(r), IT.delete(e)), i || e.removeAttribute(n);
|
|
23270
|
+
}), RT--, RT || (FT = /* @__PURE__ */ new WeakMap(), FT = /* @__PURE__ */ new WeakMap(), IT = /* @__PURE__ */ new WeakMap(), LT = {});
|
|
23301
23271
|
};
|
|
23302
|
-
},
|
|
23272
|
+
}, HT = function(e, t, n) {
|
|
23303
23273
|
n === void 0 && (n = "data-aria-hidden");
|
|
23304
|
-
var r = Array.from(Array.isArray(e) ? e : [e]), i = t ||
|
|
23305
|
-
return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live], script"))),
|
|
23274
|
+
var r = Array.from(Array.isArray(e) ? e : [e]), i = t || PT(e);
|
|
23275
|
+
return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live], script"))), VT(r, i, n, "aria-hidden")) : function() {
|
|
23306
23276
|
return null;
|
|
23307
23277
|
};
|
|
23308
|
-
},
|
|
23309
|
-
return
|
|
23278
|
+
}, UT = function() {
|
|
23279
|
+
return UT = Object.assign || function(e) {
|
|
23310
23280
|
for (var t, n = 1, r = arguments.length; n < r; n++) for (var i in t = arguments[n], t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
|
|
23311
23281
|
return e;
|
|
23312
|
-
},
|
|
23282
|
+
}, UT.apply(this, arguments);
|
|
23313
23283
|
};
|
|
23314
|
-
function
|
|
23284
|
+
function WT(e, t) {
|
|
23315
23285
|
var n = {};
|
|
23316
23286
|
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
23317
23287
|
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]]);
|
|
23318
23288
|
return n;
|
|
23319
23289
|
}
|
|
23320
|
-
function
|
|
23290
|
+
function GT(e, t, n, r) {
|
|
23321
23291
|
function i(e) {
|
|
23322
23292
|
return e instanceof n ? e : new n(function(t) {
|
|
23323
23293
|
t(e);
|
|
@@ -23344,7 +23314,7 @@ function XT(e, t, n, r) {
|
|
|
23344
23314
|
c((r = r.apply(e, t || [])).next());
|
|
23345
23315
|
});
|
|
23346
23316
|
}
|
|
23347
|
-
function
|
|
23317
|
+
function KT(e, t) {
|
|
23348
23318
|
var n = {
|
|
23349
23319
|
label: 0,
|
|
23350
23320
|
sent: function() {
|
|
@@ -23414,7 +23384,7 @@ function ZT(e, t) {
|
|
|
23414
23384
|
};
|
|
23415
23385
|
}
|
|
23416
23386
|
}
|
|
23417
|
-
function
|
|
23387
|
+
function qT(e, t) {
|
|
23418
23388
|
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
23419
23389
|
if (!n) return e;
|
|
23420
23390
|
var r = n.call(e), i, a = [], o;
|
|
@@ -23431,25 +23401,25 @@ function QT(e, t) {
|
|
|
23431
23401
|
}
|
|
23432
23402
|
return a;
|
|
23433
23403
|
}
|
|
23434
|
-
function
|
|
23435
|
-
for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(
|
|
23404
|
+
function JT() {
|
|
23405
|
+
for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(qT(arguments[t]));
|
|
23436
23406
|
return e;
|
|
23437
23407
|
}
|
|
23438
|
-
function
|
|
23408
|
+
function YT(e, t, n) {
|
|
23439
23409
|
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]);
|
|
23440
23410
|
return e.concat(a || Array.prototype.slice.call(t));
|
|
23441
23411
|
}
|
|
23442
23412
|
//#endregion
|
|
23443
23413
|
//#region ../node_modules/react-remove-scroll-bar/dist/es2015/constants.js
|
|
23444
|
-
var
|
|
23414
|
+
var XT = "right-scroll-bar-position", ZT = "width-before-scroll-bar", QT = "with-scroll-bars-hidden", $T = "--removed-body-scroll-bar-size";
|
|
23445
23415
|
//#endregion
|
|
23446
23416
|
//#region ../node_modules/use-callback-ref/dist/es2015/assignRef.js
|
|
23447
|
-
function
|
|
23417
|
+
function eE(e, t) {
|
|
23448
23418
|
return typeof e == "function" ? e(t) : e && (e.current = t), e;
|
|
23449
23419
|
}
|
|
23450
23420
|
//#endregion
|
|
23451
23421
|
//#region ../node_modules/use-callback-ref/dist/es2015/useRef.js
|
|
23452
|
-
function
|
|
23422
|
+
function tE(e, t) {
|
|
23453
23423
|
var n = (0, g.useState)(function() {
|
|
23454
23424
|
return {
|
|
23455
23425
|
value: e,
|
|
@@ -23469,33 +23439,33 @@ function oE(e, t) {
|
|
|
23469
23439
|
}
|
|
23470
23440
|
//#endregion
|
|
23471
23441
|
//#region ../node_modules/use-callback-ref/dist/es2015/useMergeRef.js
|
|
23472
|
-
var
|
|
23473
|
-
function
|
|
23474
|
-
var n =
|
|
23442
|
+
var nE = typeof window < "u" ? g.useLayoutEffect : g.useEffect, rE = /* @__PURE__ */ new WeakMap();
|
|
23443
|
+
function iE(e, t) {
|
|
23444
|
+
var n = tE(t || null, function(t) {
|
|
23475
23445
|
return e.forEach(function(e) {
|
|
23476
|
-
return
|
|
23446
|
+
return eE(e, t);
|
|
23477
23447
|
});
|
|
23478
23448
|
});
|
|
23479
|
-
return
|
|
23480
|
-
var t =
|
|
23449
|
+
return nE(function() {
|
|
23450
|
+
var t = rE.get(n);
|
|
23481
23451
|
if (t) {
|
|
23482
23452
|
var r = new Set(t), i = new Set(e), a = n.current;
|
|
23483
23453
|
r.forEach(function(e) {
|
|
23484
|
-
i.has(e) ||
|
|
23454
|
+
i.has(e) || eE(e, null);
|
|
23485
23455
|
}), i.forEach(function(e) {
|
|
23486
|
-
r.has(e) ||
|
|
23456
|
+
r.has(e) || eE(e, a);
|
|
23487
23457
|
});
|
|
23488
23458
|
}
|
|
23489
|
-
|
|
23459
|
+
rE.set(n, e);
|
|
23490
23460
|
}, [e]), n;
|
|
23491
23461
|
}
|
|
23492
23462
|
//#endregion
|
|
23493
23463
|
//#region ../node_modules/use-sidecar/dist/es2015/medium.js
|
|
23494
|
-
function
|
|
23464
|
+
function aE(e) {
|
|
23495
23465
|
return e;
|
|
23496
23466
|
}
|
|
23497
|
-
function
|
|
23498
|
-
t === void 0 && (t =
|
|
23467
|
+
function oE(e, t) {
|
|
23468
|
+
t === void 0 && (t = aE);
|
|
23499
23469
|
var n = [], r = !1;
|
|
23500
23470
|
return {
|
|
23501
23471
|
read: function() {
|
|
@@ -23548,35 +23518,35 @@ function dE(e, t) {
|
|
|
23548
23518
|
}
|
|
23549
23519
|
};
|
|
23550
23520
|
}
|
|
23551
|
-
function
|
|
23521
|
+
function sE(e) {
|
|
23552
23522
|
e === void 0 && (e = {});
|
|
23553
|
-
var t =
|
|
23554
|
-
return t.options =
|
|
23523
|
+
var t = oE(null);
|
|
23524
|
+
return t.options = UT({
|
|
23555
23525
|
async: !0,
|
|
23556
23526
|
ssr: !1
|
|
23557
23527
|
}, e), t;
|
|
23558
23528
|
}
|
|
23559
23529
|
//#endregion
|
|
23560
23530
|
//#region ../node_modules/use-sidecar/dist/es2015/exports.js
|
|
23561
|
-
var
|
|
23562
|
-
var t = e.sideCar, n =
|
|
23531
|
+
var cE = function(e) {
|
|
23532
|
+
var t = e.sideCar, n = WT(e, ["sideCar"]);
|
|
23563
23533
|
if (!t) throw Error("Sidecar: please provide `sideCar` property to import the right car");
|
|
23564
23534
|
var r = t.read();
|
|
23565
23535
|
if (!r) throw Error("Sidecar medium not found");
|
|
23566
|
-
return g.createElement(r,
|
|
23536
|
+
return g.createElement(r, UT({}, n));
|
|
23567
23537
|
};
|
|
23568
|
-
|
|
23569
|
-
function
|
|
23570
|
-
return e.useMedium(t),
|
|
23538
|
+
cE.isSideCarExport = !0;
|
|
23539
|
+
function lE(e, t) {
|
|
23540
|
+
return e.useMedium(t), cE;
|
|
23571
23541
|
}
|
|
23572
23542
|
//#endregion
|
|
23573
23543
|
//#region ../node_modules/react-remove-scroll/dist/es2015/medium.js
|
|
23574
|
-
var
|
|
23544
|
+
var uE = sE(), dE = function() {}, fE = g.forwardRef(function(e, t) {
|
|
23575
23545
|
var n = g.useRef(null), r = g.useState({
|
|
23576
|
-
onScrollCapture:
|
|
23577
|
-
onWheelCapture:
|
|
23578
|
-
onTouchMoveCapture:
|
|
23579
|
-
}), 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, _ = e.allowPinchZoom, v = e.as, y = v === void 0 ? "div" : v, b = e.gapMode, x =
|
|
23546
|
+
onScrollCapture: dE,
|
|
23547
|
+
onWheelCapture: dE,
|
|
23548
|
+
onTouchMoveCapture: dE
|
|
23549
|
+
}), 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, _ = e.allowPinchZoom, v = e.as, y = v === void 0 ? "div" : v, b = e.gapMode, x = WT(e, [
|
|
23580
23550
|
"forwardProps",
|
|
23581
23551
|
"children",
|
|
23582
23552
|
"className",
|
|
@@ -23590,9 +23560,9 @@ var hE = fE(), gE = function() {}, _E = g.forwardRef(function(e, t) {
|
|
|
23590
23560
|
"allowPinchZoom",
|
|
23591
23561
|
"as",
|
|
23592
23562
|
"gapMode"
|
|
23593
|
-
]), S = f, C =
|
|
23563
|
+
]), S = f, C = iE([n, t]), w = UT(UT({}, x), i);
|
|
23594
23564
|
return g.createElement(g.Fragment, null, u && g.createElement(S, {
|
|
23595
|
-
sideCar:
|
|
23565
|
+
sideCar: uE,
|
|
23596
23566
|
removeScrollBar: l,
|
|
23597
23567
|
shards: d,
|
|
23598
23568
|
noRelative: p,
|
|
@@ -23602,52 +23572,52 @@ var hE = fE(), gE = function() {}, _E = g.forwardRef(function(e, t) {
|
|
|
23602
23572
|
allowPinchZoom: !!_,
|
|
23603
23573
|
lockRef: n,
|
|
23604
23574
|
gapMode: b
|
|
23605
|
-
}), o ? g.cloneElement(g.Children.only(s),
|
|
23575
|
+
}), o ? g.cloneElement(g.Children.only(s), UT(UT({}, w), { ref: C })) : g.createElement(y, UT({}, w, {
|
|
23606
23576
|
className: c,
|
|
23607
23577
|
ref: C
|
|
23608
23578
|
}), s));
|
|
23609
23579
|
});
|
|
23610
|
-
|
|
23580
|
+
fE.defaultProps = {
|
|
23611
23581
|
enabled: !0,
|
|
23612
23582
|
removeScrollBar: !0,
|
|
23613
23583
|
inert: !1
|
|
23614
|
-
},
|
|
23615
|
-
fullWidth:
|
|
23616
|
-
zeroRight:
|
|
23584
|
+
}, fE.classNames = {
|
|
23585
|
+
fullWidth: ZT,
|
|
23586
|
+
zeroRight: XT
|
|
23617
23587
|
};
|
|
23618
23588
|
//#endregion
|
|
23619
23589
|
//#region ../node_modules/get-nonce/dist/es2015/index.js
|
|
23620
|
-
var
|
|
23621
|
-
if (
|
|
23590
|
+
var pE, mE = function() {
|
|
23591
|
+
if (pE) return pE;
|
|
23622
23592
|
if (typeof __webpack_nonce__ < "u") return __webpack_nonce__;
|
|
23623
23593
|
};
|
|
23624
23594
|
//#endregion
|
|
23625
23595
|
//#region ../node_modules/react-style-singleton/dist/es2015/singleton.js
|
|
23626
|
-
function
|
|
23596
|
+
function hE() {
|
|
23627
23597
|
if (!document) return null;
|
|
23628
23598
|
var e = document.createElement("style");
|
|
23629
23599
|
e.type = "text/css";
|
|
23630
|
-
var t =
|
|
23600
|
+
var t = mE();
|
|
23631
23601
|
return t && e.setAttribute("nonce", t), e;
|
|
23632
23602
|
}
|
|
23633
|
-
function
|
|
23603
|
+
function gE(e, t) {
|
|
23634
23604
|
e.styleSheet ? e.styleSheet.cssText = t : e.appendChild(document.createTextNode(t));
|
|
23635
23605
|
}
|
|
23636
|
-
function
|
|
23606
|
+
function _E(e) {
|
|
23637
23607
|
(document.head || document.getElementsByTagName("head")[0]).appendChild(e);
|
|
23638
23608
|
}
|
|
23639
|
-
var
|
|
23609
|
+
var vE = function() {
|
|
23640
23610
|
var e = 0, t = null;
|
|
23641
23611
|
return {
|
|
23642
23612
|
add: function(n) {
|
|
23643
|
-
e == 0 && (t =
|
|
23613
|
+
e == 0 && (t = hE()) && (gE(t, n), _E(t)), e++;
|
|
23644
23614
|
},
|
|
23645
23615
|
remove: function() {
|
|
23646
23616
|
e--, !e && t && (t.parentNode && t.parentNode.removeChild(t), t = null);
|
|
23647
23617
|
}
|
|
23648
23618
|
};
|
|
23649
|
-
},
|
|
23650
|
-
var e =
|
|
23619
|
+
}, yE = function() {
|
|
23620
|
+
var e = vE();
|
|
23651
23621
|
return function(t, n) {
|
|
23652
23622
|
g.useEffect(function() {
|
|
23653
23623
|
return e.add(t), function() {
|
|
@@ -23655,43 +23625,43 @@ var CE = function() {
|
|
|
23655
23625
|
};
|
|
23656
23626
|
}, [t && n]);
|
|
23657
23627
|
};
|
|
23658
|
-
},
|
|
23659
|
-
var e =
|
|
23628
|
+
}, bE = function() {
|
|
23629
|
+
var e = yE();
|
|
23660
23630
|
return function(t) {
|
|
23661
23631
|
var n = t.styles, r = t.dynamic;
|
|
23662
23632
|
return e(n, r), null;
|
|
23663
23633
|
};
|
|
23664
|
-
},
|
|
23634
|
+
}, xE = {
|
|
23665
23635
|
left: 0,
|
|
23666
23636
|
top: 0,
|
|
23667
23637
|
right: 0,
|
|
23668
23638
|
gap: 0
|
|
23669
|
-
},
|
|
23639
|
+
}, SE = function(e) {
|
|
23670
23640
|
return parseInt(e || "", 10) || 0;
|
|
23671
|
-
},
|
|
23641
|
+
}, CE = function(e) {
|
|
23672
23642
|
var t = window.getComputedStyle(document.body), n = t[e === "padding" ? "paddingLeft" : "marginLeft"], r = t[e === "padding" ? "paddingTop" : "marginTop"], i = t[e === "padding" ? "paddingRight" : "marginRight"];
|
|
23673
23643
|
return [
|
|
23674
|
-
|
|
23675
|
-
|
|
23676
|
-
|
|
23644
|
+
SE(n),
|
|
23645
|
+
SE(r),
|
|
23646
|
+
SE(i)
|
|
23677
23647
|
];
|
|
23678
|
-
},
|
|
23679
|
-
if (e === void 0 && (e = "margin"), typeof window > "u") return
|
|
23680
|
-
var t =
|
|
23648
|
+
}, wE = function(e) {
|
|
23649
|
+
if (e === void 0 && (e = "margin"), typeof window > "u") return xE;
|
|
23650
|
+
var t = CE(e), n = document.documentElement.clientWidth, r = window.innerWidth;
|
|
23681
23651
|
return {
|
|
23682
23652
|
left: t[0],
|
|
23683
23653
|
top: t[1],
|
|
23684
23654
|
right: t[2],
|
|
23685
23655
|
gap: Math.max(0, r - n + t[2] - t[0])
|
|
23686
23656
|
};
|
|
23687
|
-
},
|
|
23657
|
+
}, TE = bE(), EE = "data-scroll-locked", DE = function(e, t, n, r) {
|
|
23688
23658
|
var i = e.left, a = e.top, o = e.right, s = e.gap;
|
|
23689
23659
|
return n === void 0 && (n = "margin"), `
|
|
23690
|
-
.${
|
|
23660
|
+
.${QT} {
|
|
23691
23661
|
overflow: hidden ${r};
|
|
23692
23662
|
padding-right: ${s}px ${r};
|
|
23693
23663
|
}
|
|
23694
|
-
body[${
|
|
23664
|
+
body[${EE}] {
|
|
23695
23665
|
overflow: hidden ${r};
|
|
23696
23666
|
overscroll-behavior: contain;
|
|
23697
23667
|
${[
|
|
@@ -23708,122 +23678,122 @@ var CE = function() {
|
|
|
23708
23678
|
].filter(Boolean).join("")}
|
|
23709
23679
|
}
|
|
23710
23680
|
|
|
23711
|
-
.${
|
|
23681
|
+
.${XT} {
|
|
23712
23682
|
right: ${s}px ${r};
|
|
23713
23683
|
}
|
|
23714
23684
|
|
|
23715
|
-
.${
|
|
23685
|
+
.${ZT} {
|
|
23716
23686
|
margin-right: ${s}px ${r};
|
|
23717
23687
|
}
|
|
23718
23688
|
|
|
23719
|
-
.${
|
|
23689
|
+
.${XT} .${XT} {
|
|
23720
23690
|
right: 0 ${r};
|
|
23721
23691
|
}
|
|
23722
23692
|
|
|
23723
|
-
.${
|
|
23693
|
+
.${ZT} .${ZT} {
|
|
23724
23694
|
margin-right: 0 ${r};
|
|
23725
23695
|
}
|
|
23726
23696
|
|
|
23727
|
-
body[${
|
|
23728
|
-
${
|
|
23697
|
+
body[${EE}] {
|
|
23698
|
+
${$T}: ${s}px;
|
|
23729
23699
|
}
|
|
23730
23700
|
`;
|
|
23731
|
-
},
|
|
23701
|
+
}, OE = function() {
|
|
23732
23702
|
var e = parseInt(document.body.getAttribute("data-scroll-locked") || "0", 10);
|
|
23733
23703
|
return isFinite(e) ? e : 0;
|
|
23734
|
-
},
|
|
23704
|
+
}, kE = function() {
|
|
23735
23705
|
g.useEffect(function() {
|
|
23736
|
-
return document.body.setAttribute(
|
|
23737
|
-
var e =
|
|
23738
|
-
e <= 0 ? document.body.removeAttribute(
|
|
23706
|
+
return document.body.setAttribute(EE, (OE() + 1).toString()), function() {
|
|
23707
|
+
var e = OE() - 1;
|
|
23708
|
+
e <= 0 ? document.body.removeAttribute(EE) : document.body.setAttribute(EE, e.toString());
|
|
23739
23709
|
};
|
|
23740
23710
|
}, []);
|
|
23741
|
-
},
|
|
23711
|
+
}, AE = function(e) {
|
|
23742
23712
|
var t = e.noRelative, n = e.noImportant, r = e.gapMode, i = r === void 0 ? "margin" : r;
|
|
23743
|
-
|
|
23713
|
+
kE();
|
|
23744
23714
|
var a = g.useMemo(function() {
|
|
23745
|
-
return
|
|
23715
|
+
return wE(i);
|
|
23746
23716
|
}, [i]);
|
|
23747
|
-
return g.createElement(
|
|
23748
|
-
},
|
|
23717
|
+
return g.createElement(TE, { styles: DE(a, !t, i, n ? "" : "!important") });
|
|
23718
|
+
}, jE = !1;
|
|
23749
23719
|
if (typeof window < "u") try {
|
|
23750
|
-
var
|
|
23751
|
-
return
|
|
23720
|
+
var ME = Object.defineProperty({}, "passive", { get: function() {
|
|
23721
|
+
return jE = !0, !0;
|
|
23752
23722
|
} });
|
|
23753
|
-
window.addEventListener("test",
|
|
23723
|
+
window.addEventListener("test", ME, ME), window.removeEventListener("test", ME, ME);
|
|
23754
23724
|
} catch {
|
|
23755
|
-
|
|
23725
|
+
jE = !1;
|
|
23756
23726
|
}
|
|
23757
|
-
var
|
|
23727
|
+
var NE = jE ? { passive: !1 } : !1, PE = function(e) {
|
|
23758
23728
|
return e.tagName === "TEXTAREA";
|
|
23759
|
-
},
|
|
23729
|
+
}, FE = function(e, t) {
|
|
23760
23730
|
if (!(e instanceof Element)) return !1;
|
|
23761
23731
|
var n = window.getComputedStyle(e);
|
|
23762
|
-
return n[t] !== "hidden" && !(n.overflowY === n.overflowX && !
|
|
23763
|
-
},
|
|
23764
|
-
return
|
|
23765
|
-
},
|
|
23766
|
-
return
|
|
23767
|
-
},
|
|
23732
|
+
return n[t] !== "hidden" && !(n.overflowY === n.overflowX && !PE(e) && n[t] === "visible");
|
|
23733
|
+
}, IE = function(e) {
|
|
23734
|
+
return FE(e, "overflowY");
|
|
23735
|
+
}, LE = function(e) {
|
|
23736
|
+
return FE(e, "overflowX");
|
|
23737
|
+
}, RE = function(e, t) {
|
|
23768
23738
|
var n = t.ownerDocument, r = t;
|
|
23769
23739
|
do {
|
|
23770
|
-
if (typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host),
|
|
23771
|
-
var i =
|
|
23740
|
+
if (typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host), VE(e, r)) {
|
|
23741
|
+
var i = HE(e, r);
|
|
23772
23742
|
if (i[1] > i[2]) return !0;
|
|
23773
23743
|
}
|
|
23774
23744
|
r = r.parentNode;
|
|
23775
23745
|
} while (r && r !== n.body);
|
|
23776
23746
|
return !1;
|
|
23777
|
-
},
|
|
23747
|
+
}, zE = function(e) {
|
|
23778
23748
|
return [
|
|
23779
23749
|
e.scrollTop,
|
|
23780
23750
|
e.scrollHeight,
|
|
23781
23751
|
e.clientHeight
|
|
23782
23752
|
];
|
|
23783
|
-
},
|
|
23753
|
+
}, BE = function(e) {
|
|
23784
23754
|
return [
|
|
23785
23755
|
e.scrollLeft,
|
|
23786
23756
|
e.scrollWidth,
|
|
23787
23757
|
e.clientWidth
|
|
23788
23758
|
];
|
|
23789
|
-
},
|
|
23790
|
-
return e === "v" ?
|
|
23791
|
-
},
|
|
23792
|
-
return e === "v" ?
|
|
23793
|
-
},
|
|
23759
|
+
}, VE = function(e, t) {
|
|
23760
|
+
return e === "v" ? IE(t) : LE(t);
|
|
23761
|
+
}, HE = function(e, t) {
|
|
23762
|
+
return e === "v" ? zE(t) : BE(t);
|
|
23763
|
+
}, UE = function(e, t) {
|
|
23794
23764
|
return e === "h" && t === "rtl" ? -1 : 1;
|
|
23795
|
-
},
|
|
23796
|
-
var a =
|
|
23765
|
+
}, WE = function(e, t, n, r, i) {
|
|
23766
|
+
var a = UE(e, window.getComputedStyle(t).direction), o = a * r, s = n.target, c = t.contains(s), l = !1, u = o > 0, d = 0, f = 0;
|
|
23797
23767
|
do {
|
|
23798
23768
|
if (!s) break;
|
|
23799
|
-
var p =
|
|
23800
|
-
(m || h) &&
|
|
23769
|
+
var p = HE(e, s), m = p[0], h = p[1] - p[2] - a * m;
|
|
23770
|
+
(m || h) && VE(e, s) && (d += h, f += m);
|
|
23801
23771
|
var g = s.parentNode;
|
|
23802
23772
|
s = g && g.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? g.host : g;
|
|
23803
23773
|
} while (!c && s !== document.body || c && (t.contains(s) || t === s));
|
|
23804
23774
|
return (u && (i && Math.abs(d) < 1 || !i && o > d) || !u && (i && Math.abs(f) < 1 || !i && -o > f)) && (l = !0), l;
|
|
23805
|
-
},
|
|
23775
|
+
}, GE = function(e) {
|
|
23806
23776
|
return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
|
|
23807
|
-
},
|
|
23777
|
+
}, KE = function(e) {
|
|
23808
23778
|
return [e.deltaX, e.deltaY];
|
|
23809
|
-
},
|
|
23779
|
+
}, qE = function(e) {
|
|
23810
23780
|
return e && "current" in e ? e.current : e;
|
|
23811
|
-
},
|
|
23781
|
+
}, JE = function(e, t) {
|
|
23812
23782
|
return e[0] === t[0] && e[1] === t[1];
|
|
23813
|
-
},
|
|
23783
|
+
}, YE = function(e) {
|
|
23814
23784
|
return `
|
|
23815
23785
|
.block-interactivity-${e} {pointer-events: none;}
|
|
23816
23786
|
.allow-interactivity-${e} {pointer-events: all;}
|
|
23817
23787
|
`;
|
|
23818
|
-
},
|
|
23819
|
-
function
|
|
23820
|
-
var t = g.useRef([]), n = g.useRef([0, 0]), r = g.useRef(), i = g.useState(
|
|
23788
|
+
}, XE = 0, ZE = [];
|
|
23789
|
+
function QE(e) {
|
|
23790
|
+
var t = g.useRef([]), n = g.useRef([0, 0]), r = g.useRef(), i = g.useState(XE++)[0], a = g.useState(bE)[0], o = g.useRef(e);
|
|
23821
23791
|
g.useEffect(function() {
|
|
23822
23792
|
o.current = e;
|
|
23823
23793
|
}, [e]), g.useEffect(function() {
|
|
23824
23794
|
if (e.inert) {
|
|
23825
23795
|
document.body.classList.add(`block-interactivity-${i}`);
|
|
23826
|
-
var t =
|
|
23796
|
+
var t = YT([e.lockRef.current], (e.shards || []).map(qE), !0).filter(Boolean);
|
|
23827
23797
|
return t.forEach(function(e) {
|
|
23828
23798
|
return e.classList.add(`allow-interactivity-${i}`);
|
|
23829
23799
|
}), function() {
|
|
@@ -23839,28 +23809,28 @@ function rD(e) {
|
|
|
23839
23809
|
]);
|
|
23840
23810
|
var s = g.useCallback(function(e, t) {
|
|
23841
23811
|
if ("touches" in e && e.touches.length === 2 || e.type === "wheel" && e.ctrlKey) return !o.current.allowPinchZoom;
|
|
23842
|
-
var i =
|
|
23812
|
+
var i = GE(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";
|
|
23843
23813
|
if ("touches" in e && d === "h" && u.type === "range") return !1;
|
|
23844
23814
|
var f = window.getSelection(), p = f && f.anchorNode;
|
|
23845
23815
|
if (p && (p === u || p.contains(u))) return !1;
|
|
23846
|
-
var m =
|
|
23816
|
+
var m = RE(d, u);
|
|
23847
23817
|
if (!m) return !0;
|
|
23848
|
-
if (m ? l = d : (l = d === "v" ? "h" : "v", m =
|
|
23818
|
+
if (m ? l = d : (l = d === "v" ? "h" : "v", m = RE(d, u)), !m) return !1;
|
|
23849
23819
|
if (!r.current && "changedTouches" in e && (s || c) && (r.current = l), !l) return !0;
|
|
23850
23820
|
var h = r.current || l;
|
|
23851
|
-
return
|
|
23821
|
+
return WE(h, t, e, h === "h" ? s : c, !0);
|
|
23852
23822
|
}, []), c = g.useCallback(function(e) {
|
|
23853
23823
|
var n = e;
|
|
23854
|
-
if (!(!
|
|
23855
|
-
var r = "deltaY" in n ?
|
|
23856
|
-
return e.name === n.type && (e.target === n.target || n.target === e.shadowParent) &&
|
|
23824
|
+
if (!(!ZE.length || ZE[ZE.length - 1] !== a)) {
|
|
23825
|
+
var r = "deltaY" in n ? KE(n) : GE(n), i = t.current.filter(function(e) {
|
|
23826
|
+
return e.name === n.type && (e.target === n.target || n.target === e.shadowParent) && JE(e.delta, r);
|
|
23857
23827
|
})[0];
|
|
23858
23828
|
if (i && i.should) {
|
|
23859
23829
|
n.cancelable && n.preventDefault();
|
|
23860
23830
|
return;
|
|
23861
23831
|
}
|
|
23862
23832
|
if (!i) {
|
|
23863
|
-
var c = (o.current.shards || []).map(
|
|
23833
|
+
var c = (o.current.shards || []).map(qE).filter(Boolean).filter(function(e) {
|
|
23864
23834
|
return e.contains(n.target);
|
|
23865
23835
|
});
|
|
23866
23836
|
(c.length > 0 ? s(n, c[0]) : !o.current.noIsolation) && n.cancelable && n.preventDefault();
|
|
@@ -23872,7 +23842,7 @@ function rD(e) {
|
|
|
23872
23842
|
delta: n,
|
|
23873
23843
|
target: r,
|
|
23874
23844
|
should: i,
|
|
23875
|
-
shadowParent:
|
|
23845
|
+
shadowParent: $E(r)
|
|
23876
23846
|
};
|
|
23877
23847
|
t.current.push(a), setTimeout(function() {
|
|
23878
23848
|
t.current = t.current.filter(function(e) {
|
|
@@ -23880,56 +23850,56 @@ function rD(e) {
|
|
|
23880
23850
|
});
|
|
23881
23851
|
}, 1);
|
|
23882
23852
|
}, []), u = g.useCallback(function(e) {
|
|
23883
|
-
n.current =
|
|
23853
|
+
n.current = GE(e), r.current = void 0;
|
|
23884
23854
|
}, []), d = g.useCallback(function(t) {
|
|
23885
|
-
l(t.type,
|
|
23855
|
+
l(t.type, KE(t), t.target, s(t, e.lockRef.current));
|
|
23886
23856
|
}, []), f = g.useCallback(function(t) {
|
|
23887
|
-
l(t.type,
|
|
23857
|
+
l(t.type, GE(t), t.target, s(t, e.lockRef.current));
|
|
23888
23858
|
}, []);
|
|
23889
23859
|
g.useEffect(function() {
|
|
23890
|
-
return
|
|
23860
|
+
return ZE.push(a), e.setCallbacks({
|
|
23891
23861
|
onScrollCapture: d,
|
|
23892
23862
|
onWheelCapture: d,
|
|
23893
23863
|
onTouchMoveCapture: f
|
|
23894
|
-
}), document.addEventListener("wheel", c,
|
|
23895
|
-
|
|
23864
|
+
}), document.addEventListener("wheel", c, NE), document.addEventListener("touchmove", c, NE), document.addEventListener("touchstart", u, NE), function() {
|
|
23865
|
+
ZE = ZE.filter(function(e) {
|
|
23896
23866
|
return e !== a;
|
|
23897
|
-
}), document.removeEventListener("wheel", c,
|
|
23867
|
+
}), document.removeEventListener("wheel", c, NE), document.removeEventListener("touchmove", c, NE), document.removeEventListener("touchstart", u, NE);
|
|
23898
23868
|
};
|
|
23899
23869
|
}, []);
|
|
23900
23870
|
var p = e.removeScrollBar, m = e.inert;
|
|
23901
|
-
return g.createElement(g.Fragment, null, m ? g.createElement(a, { styles:
|
|
23871
|
+
return g.createElement(g.Fragment, null, m ? g.createElement(a, { styles: YE(i) }) : null, p ? g.createElement(AE, {
|
|
23902
23872
|
noRelative: e.noRelative,
|
|
23903
23873
|
gapMode: e.gapMode
|
|
23904
23874
|
}) : null);
|
|
23905
23875
|
}
|
|
23906
|
-
function
|
|
23876
|
+
function $E(e) {
|
|
23907
23877
|
for (var t = null; e !== null;) e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
|
|
23908
23878
|
return t;
|
|
23909
23879
|
}
|
|
23910
23880
|
//#endregion
|
|
23911
23881
|
//#region ../node_modules/react-remove-scroll/dist/es2015/sidecar.js
|
|
23912
|
-
var
|
|
23913
|
-
return g.createElement(
|
|
23882
|
+
var eD = lE(uE, QE), tD = g.forwardRef(function(e, t) {
|
|
23883
|
+
return g.createElement(fE, UT({}, e, {
|
|
23914
23884
|
ref: t,
|
|
23915
|
-
sideCar:
|
|
23885
|
+
sideCar: eD
|
|
23916
23886
|
}));
|
|
23917
23887
|
});
|
|
23918
|
-
|
|
23888
|
+
tD.classNames = fE.classNames;
|
|
23919
23889
|
//#endregion
|
|
23920
23890
|
//#region ../node_modules/@radix-ui/react-popover/dist/index.mjs
|
|
23921
|
-
var
|
|
23922
|
-
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, s =
|
|
23891
|
+
var nD = "Popover", [rD, iD] = Gx(nD, [rT]), aD = rT(), [oD, sD] = rD(nD), cD = (e) => {
|
|
23892
|
+
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, s = aD(t), c = g.useRef(null), [l, u] = g.useState(!1), [d, f] = jT({
|
|
23923
23893
|
prop: r,
|
|
23924
23894
|
defaultProp: i ?? !1,
|
|
23925
23895
|
onChange: a,
|
|
23926
|
-
caller:
|
|
23896
|
+
caller: nD
|
|
23927
23897
|
});
|
|
23928
|
-
return /* @__PURE__ */ (0, J.jsx)(
|
|
23898
|
+
return /* @__PURE__ */ (0, J.jsx)(yT, {
|
|
23929
23899
|
...s,
|
|
23930
|
-
children: /* @__PURE__ */ (0, J.jsx)(
|
|
23900
|
+
children: /* @__PURE__ */ (0, J.jsx)(oD, {
|
|
23931
23901
|
scope: t,
|
|
23932
|
-
contentId:
|
|
23902
|
+
contentId: RS(),
|
|
23933
23903
|
triggerRef: c,
|
|
23934
23904
|
open: d,
|
|
23935
23905
|
onOpenChange: f,
|
|
@@ -23942,42 +23912,42 @@ var sD = "Popover", [cD, lD] = Xx(sD, [cT]), uD = cT(), [dD, fD] = cD(sD), pD =
|
|
|
23942
23912
|
})
|
|
23943
23913
|
});
|
|
23944
23914
|
};
|
|
23945
|
-
|
|
23946
|
-
var
|
|
23947
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
23948
|
-
return g.useEffect(() => (o(), () => s()), [o, s]), /* @__PURE__ */ (0, J.jsx)(
|
|
23915
|
+
cD.displayName = nD;
|
|
23916
|
+
var lD = "PopoverAnchor", uD = g.forwardRef((e, t) => {
|
|
23917
|
+
let { __scopePopover: n, ...r } = e, i = sD(lD, n), a = aD(n), { onCustomAnchorAdd: o, onCustomAnchorRemove: s } = i;
|
|
23918
|
+
return g.useEffect(() => (o(), () => s()), [o, s]), /* @__PURE__ */ (0, J.jsx)(bT, {
|
|
23949
23919
|
...a,
|
|
23950
23920
|
...r,
|
|
23951
23921
|
ref: t
|
|
23952
23922
|
});
|
|
23953
23923
|
});
|
|
23954
|
-
|
|
23955
|
-
var
|
|
23956
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
23924
|
+
uD.displayName = lD;
|
|
23925
|
+
var dD = "PopoverTrigger", fD = g.forwardRef((e, t) => {
|
|
23926
|
+
let { __scopePopover: n, ...r } = e, i = sD(dD, n), a = aD(n), o = Wx(t, i.triggerRef), s = /* @__PURE__ */ (0, J.jsx)($x.button, {
|
|
23957
23927
|
type: "button",
|
|
23958
23928
|
"aria-haspopup": "dialog",
|
|
23959
23929
|
"aria-expanded": i.open,
|
|
23960
23930
|
"aria-controls": i.contentId,
|
|
23961
|
-
"data-state":
|
|
23931
|
+
"data-state": DD(i.open),
|
|
23962
23932
|
...r,
|
|
23963
23933
|
ref: o,
|
|
23964
|
-
onClick:
|
|
23934
|
+
onClick: Vx(e.onClick, i.onOpenToggle)
|
|
23965
23935
|
});
|
|
23966
|
-
return i.hasCustomAnchor ? s : /* @__PURE__ */ (0, J.jsx)(
|
|
23936
|
+
return i.hasCustomAnchor ? s : /* @__PURE__ */ (0, J.jsx)(bT, {
|
|
23967
23937
|
asChild: !0,
|
|
23968
23938
|
...a,
|
|
23969
23939
|
children: s
|
|
23970
23940
|
});
|
|
23971
23941
|
});
|
|
23972
|
-
|
|
23973
|
-
var
|
|
23974
|
-
let { __scopePopover: t, forceMount: n, children: r, container: i } = e, a =
|
|
23975
|
-
return /* @__PURE__ */ (0, J.jsx)(
|
|
23942
|
+
fD.displayName = dD;
|
|
23943
|
+
var pD = "PopoverPortal", [mD, hD] = rD(pD, { forceMount: void 0 }), gD = (e) => {
|
|
23944
|
+
let { __scopePopover: t, forceMount: n, children: r, container: i } = e, a = sD(pD, t);
|
|
23945
|
+
return /* @__PURE__ */ (0, J.jsx)(mD, {
|
|
23976
23946
|
scope: t,
|
|
23977
23947
|
forceMount: n,
|
|
23978
|
-
children: /* @__PURE__ */ (0, J.jsx)(
|
|
23948
|
+
children: /* @__PURE__ */ (0, J.jsx)(ET, {
|
|
23979
23949
|
present: n || a.open,
|
|
23980
|
-
children: /* @__PURE__ */ (0, J.jsx)(
|
|
23950
|
+
children: /* @__PURE__ */ (0, J.jsx)(wT, {
|
|
23981
23951
|
asChild: !0,
|
|
23982
23952
|
container: i,
|
|
23983
23953
|
children: r
|
|
@@ -23985,47 +23955,47 @@ var vD = "PopoverPortal", [yD, bD] = cD(vD, { forceMount: void 0 }), xD = (e) =>
|
|
|
23985
23955
|
})
|
|
23986
23956
|
});
|
|
23987
23957
|
};
|
|
23988
|
-
|
|
23989
|
-
var
|
|
23990
|
-
let n =
|
|
23991
|
-
return /* @__PURE__ */ (0, J.jsx)(
|
|
23958
|
+
gD.displayName = pD;
|
|
23959
|
+
var _D = "PopoverContent", vD = g.forwardRef((e, t) => {
|
|
23960
|
+
let n = hD(_D, e.__scopePopover), { forceMount: r = n.forceMount, ...i } = e, a = sD(_D, e.__scopePopover);
|
|
23961
|
+
return /* @__PURE__ */ (0, J.jsx)(ET, {
|
|
23992
23962
|
present: r || a.open,
|
|
23993
|
-
children: a.modal ? /* @__PURE__ */ (0, J.jsx)(
|
|
23963
|
+
children: a.modal ? /* @__PURE__ */ (0, J.jsx)(bD, {
|
|
23994
23964
|
...i,
|
|
23995
23965
|
ref: t
|
|
23996
|
-
}) : /* @__PURE__ */ (0, J.jsx)(
|
|
23966
|
+
}) : /* @__PURE__ */ (0, J.jsx)(xD, {
|
|
23997
23967
|
...i,
|
|
23998
23968
|
ref: t
|
|
23999
23969
|
})
|
|
24000
23970
|
});
|
|
24001
23971
|
});
|
|
24002
|
-
|
|
24003
|
-
var
|
|
24004
|
-
let n =
|
|
23972
|
+
vD.displayName = _D;
|
|
23973
|
+
var yD = /* @__PURE__ */ qx("PopoverContent.RemoveScroll"), bD = g.forwardRef((e, t) => {
|
|
23974
|
+
let n = sD(_D, e.__scopePopover), r = g.useRef(null), i = Wx(t, r), a = g.useRef(!1);
|
|
24005
23975
|
return g.useEffect(() => {
|
|
24006
23976
|
let e = r.current;
|
|
24007
|
-
if (e) return
|
|
24008
|
-
}, []), /* @__PURE__ */ (0, J.jsx)(
|
|
24009
|
-
as:
|
|
23977
|
+
if (e) return HT(e);
|
|
23978
|
+
}, []), /* @__PURE__ */ (0, J.jsx)(tD, {
|
|
23979
|
+
as: yD,
|
|
24010
23980
|
allowPinchZoom: !0,
|
|
24011
|
-
children: /* @__PURE__ */ (0, J.jsx)(
|
|
23981
|
+
children: /* @__PURE__ */ (0, J.jsx)(SD, {
|
|
24012
23982
|
...e,
|
|
24013
23983
|
ref: i,
|
|
24014
23984
|
trapFocus: n.open,
|
|
24015
23985
|
disableOutsidePointerEvents: !0,
|
|
24016
|
-
onCloseAutoFocus:
|
|
23986
|
+
onCloseAutoFocus: Vx(e.onCloseAutoFocus, (e) => {
|
|
24017
23987
|
e.preventDefault(), a.current || n.triggerRef.current?.focus();
|
|
24018
23988
|
}),
|
|
24019
|
-
onPointerDownOutside:
|
|
23989
|
+
onPointerDownOutside: Vx(e.onPointerDownOutside, (e) => {
|
|
24020
23990
|
let t = e.detail.originalEvent, n = t.button === 0 && t.ctrlKey === !0;
|
|
24021
23991
|
a.current = t.button === 2 || n;
|
|
24022
23992
|
}, { checkForDefaultPrevented: !1 }),
|
|
24023
|
-
onFocusOutside:
|
|
23993
|
+
onFocusOutside: Vx(e.onFocusOutside, (e) => e.preventDefault(), { checkForDefaultPrevented: !1 })
|
|
24024
23994
|
})
|
|
24025
23995
|
});
|
|
24026
|
-
}),
|
|
24027
|
-
let n =
|
|
24028
|
-
return /* @__PURE__ */ (0, J.jsx)(
|
|
23996
|
+
}), xD = g.forwardRef((e, t) => {
|
|
23997
|
+
let n = sD(_D, e.__scopePopover), r = g.useRef(!1), i = g.useRef(!1);
|
|
23998
|
+
return /* @__PURE__ */ (0, J.jsx)(SD, {
|
|
24029
23999
|
...e,
|
|
24030
24000
|
ref: t,
|
|
24031
24001
|
trapFocus: !1,
|
|
@@ -24039,15 +24009,15 @@ var wD = /* @__PURE__ */ Qx("PopoverContent.RemoveScroll"), TD = g.forwardRef((e
|
|
|
24039
24009
|
n.triggerRef.current?.contains(a) && t.preventDefault(), t.detail.originalEvent.type === "focusin" && i.current && t.preventDefault();
|
|
24040
24010
|
}
|
|
24041
24011
|
});
|
|
24042
|
-
}),
|
|
24043
|
-
let { __scopePopover: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, disableOutsidePointerEvents: o, onEscapeKeyDown: s, onPointerDownOutside: c, onFocusOutside: l, onInteractOutside: u, ...d } = e, f =
|
|
24044
|
-
return
|
|
24012
|
+
}), SD = g.forwardRef((e, t) => {
|
|
24013
|
+
let { __scopePopover: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, disableOutsidePointerEvents: o, onEscapeKeyDown: s, onPointerDownOutside: c, onFocusOutside: l, onInteractOutside: u, ...d } = e, f = sD(_D, n), p = aD(n);
|
|
24014
|
+
return _S(), /* @__PURE__ */ (0, J.jsx)(CS, {
|
|
24045
24015
|
asChild: !0,
|
|
24046
24016
|
loop: !0,
|
|
24047
24017
|
trapped: r,
|
|
24048
24018
|
onMountAutoFocus: i,
|
|
24049
24019
|
onUnmountAutoFocus: a,
|
|
24050
|
-
children: /* @__PURE__ */ (0, J.jsx)(
|
|
24020
|
+
children: /* @__PURE__ */ (0, J.jsx)(lS, {
|
|
24051
24021
|
asChild: !0,
|
|
24052
24022
|
disableOutsidePointerEvents: o,
|
|
24053
24023
|
onInteractOutside: u,
|
|
@@ -24055,8 +24025,8 @@ var wD = /* @__PURE__ */ Qx("PopoverContent.RemoveScroll"), TD = g.forwardRef((e
|
|
|
24055
24025
|
onPointerDownOutside: c,
|
|
24056
24026
|
onFocusOutside: l,
|
|
24057
24027
|
onDismiss: () => f.onOpenChange(!1),
|
|
24058
|
-
children: /* @__PURE__ */ (0, J.jsx)(
|
|
24059
|
-
"data-state":
|
|
24028
|
+
children: /* @__PURE__ */ (0, J.jsx)(xT, {
|
|
24029
|
+
"data-state": DD(f.open),
|
|
24060
24030
|
role: "dialog",
|
|
24061
24031
|
id: f.contentId,
|
|
24062
24032
|
...p,
|
|
@@ -24073,45 +24043,45 @@ var wD = /* @__PURE__ */ Qx("PopoverContent.RemoveScroll"), TD = g.forwardRef((e
|
|
|
24073
24043
|
})
|
|
24074
24044
|
})
|
|
24075
24045
|
});
|
|
24076
|
-
}),
|
|
24077
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
24078
|
-
return /* @__PURE__ */ (0, J.jsx)(
|
|
24046
|
+
}), CD = "PopoverClose", wD = g.forwardRef((e, t) => {
|
|
24047
|
+
let { __scopePopover: n, ...r } = e, i = sD(CD, n);
|
|
24048
|
+
return /* @__PURE__ */ (0, J.jsx)($x.button, {
|
|
24079
24049
|
type: "button",
|
|
24080
24050
|
...r,
|
|
24081
24051
|
ref: t,
|
|
24082
|
-
onClick:
|
|
24052
|
+
onClick: Vx(e.onClick, () => i.onOpenChange(!1))
|
|
24083
24053
|
});
|
|
24084
24054
|
});
|
|
24085
|
-
|
|
24086
|
-
var
|
|
24087
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
24088
|
-
return /* @__PURE__ */ (0, J.jsx)(
|
|
24055
|
+
wD.displayName = CD;
|
|
24056
|
+
var TD = "PopoverArrow", ED = g.forwardRef((e, t) => {
|
|
24057
|
+
let { __scopePopover: n, ...r } = e, i = aD(n);
|
|
24058
|
+
return /* @__PURE__ */ (0, J.jsx)(ST, {
|
|
24089
24059
|
...i,
|
|
24090
24060
|
...r,
|
|
24091
24061
|
ref: t
|
|
24092
24062
|
});
|
|
24093
24063
|
});
|
|
24094
|
-
|
|
24095
|
-
function
|
|
24064
|
+
ED.displayName = TD;
|
|
24065
|
+
function DD(e) {
|
|
24096
24066
|
return e ? "open" : "closed";
|
|
24097
24067
|
}
|
|
24098
|
-
var
|
|
24068
|
+
var OD = cD, kD = fD, AD = vD, jD = ED, MD = ({ message: e, trigger: t, initialVisibility: n = !1 }) => /* @__PURE__ */ (0, J.jsxs)(OD, {
|
|
24099
24069
|
defaultOpen: n,
|
|
24100
24070
|
children: [/* @__PURE__ */ (0, J.jsx)("div", {
|
|
24101
24071
|
className: "flex justify-center",
|
|
24102
|
-
children: /* @__PURE__ */ (0, J.jsx)(
|
|
24072
|
+
children: /* @__PURE__ */ (0, J.jsx)(kD, {
|
|
24103
24073
|
asChild: !0,
|
|
24104
24074
|
children: t
|
|
24105
24075
|
})
|
|
24106
|
-
}), /* @__PURE__ */ (0, J.jsxs)(
|
|
24076
|
+
}), /* @__PURE__ */ (0, J.jsxs)(AD, {
|
|
24107
24077
|
className: "sid-popover__container",
|
|
24108
24078
|
sideOffset: 10,
|
|
24109
24079
|
side: "bottom",
|
|
24110
|
-
children: [e, /* @__PURE__ */ (0, J.jsx)(
|
|
24080
|
+
children: [e, /* @__PURE__ */ (0, J.jsx)(jD, { className: "sid-popover__caret" })]
|
|
24111
24081
|
})]
|
|
24112
|
-
}),
|
|
24082
|
+
}), ND = ({ verificationService: e, initialVisibility: t = !1 }) => {
|
|
24113
24083
|
let n = Jy();
|
|
24114
|
-
return /* @__PURE__ */ (0, J.jsx)(
|
|
24084
|
+
return /* @__PURE__ */ (0, J.jsx)(MD, {
|
|
24115
24085
|
initialVisibility: t,
|
|
24116
24086
|
trigger: /* @__PURE__ */ (0, J.jsx)("button", {
|
|
24117
24087
|
type: "button",
|
|
@@ -24127,7 +24097,7 @@ var ND = pD, PD = _D, FD = CD, ID = jD, LD = ({ message: e, trigger: t, initialV
|
|
|
24127
24097
|
/* @__PURE__ */ (0, J.jsx)(By, { verificationService: e })
|
|
24128
24098
|
] })
|
|
24129
24099
|
});
|
|
24130
|
-
},
|
|
24100
|
+
}, PD = ({ verificationService: e }) => {
|
|
24131
24101
|
let t = B(() => e.programTheme.remainingRewardCodes, null);
|
|
24132
24102
|
return typeof t == "number" && t > 0 ? /* @__PURE__ */ (0, J.jsxs)("div", {
|
|
24133
24103
|
className: "sid-rewards-remaining",
|
|
@@ -24142,11 +24112,11 @@ var ND = pD, PD = _D, FD = CD, ID = jD, LD = ({ message: e, trigger: t, initialV
|
|
|
24142
24112
|
/* @__PURE__ */ (0, J.jsx)("div", { className: "sid-l-space-top-sm" })
|
|
24143
24113
|
]
|
|
24144
24114
|
}) : null;
|
|
24145
|
-
},
|
|
24146
|
-
let { verificationResponse: n } = e, r =
|
|
24115
|
+
}, FD = (e) => e !== void 0, ID = ({ verificationService: e, classNameIdentifier: t = void 0 }) => {
|
|
24116
|
+
let { verificationResponse: n } = e, r = FD(n) ? Gh(n) : !1, i = r ? "step.personalInfo.tryAgain.title" : "step.personalInfo.title", a = r ? "step.personalInfo.tryAgain.subtitle" : "step.personalInfo.subtitle";
|
|
24147
24117
|
return /* @__PURE__ */ (0, J.jsx)("div", {
|
|
24148
24118
|
className: "sid-personal-info-header",
|
|
24149
|
-
children: /* @__PURE__ */ (0, J.jsxs)(
|
|
24119
|
+
children: /* @__PURE__ */ (0, J.jsxs)(Bx, {
|
|
24150
24120
|
verificationService: e,
|
|
24151
24121
|
title: /* @__PURE__ */ (0, J.jsx)(sb, {
|
|
24152
24122
|
id: i,
|
|
@@ -24160,7 +24130,7 @@ var ND = pD, PD = _D, FD = CD, ID = jD, LD = ({ message: e, trigger: t, initialV
|
|
|
24160
24130
|
}),
|
|
24161
24131
|
/* @__PURE__ */ (0, J.jsx)("div", {
|
|
24162
24132
|
className: "sid-header__how-verifying-works sid-l-horz-center",
|
|
24163
|
-
children: !r && /* @__PURE__ */ (0, J.jsxs)(J.Fragment, { children: [/* @__PURE__ */ (0, J.jsx)(
|
|
24133
|
+
children: !r && /* @__PURE__ */ (0, J.jsxs)(J.Fragment, { children: [/* @__PURE__ */ (0, J.jsx)(ND, { verificationService: e }), /* @__PURE__ */ (0, J.jsx)(PD, { verificationService: e })] })
|
|
24164
24134
|
}),
|
|
24165
24135
|
/* @__PURE__ */ (0, J.jsx)("div", {
|
|
24166
24136
|
className: "sid-h-medium-text sid-l-space-btm-sm sid-l-space-top-sm",
|
|
@@ -24169,15 +24139,15 @@ var ND = pD, PD = _D, FD = CD, ID = jD, LD = ({ message: e, trigger: t, initialV
|
|
|
24169
24139
|
]
|
|
24170
24140
|
})
|
|
24171
24141
|
});
|
|
24172
|
-
},
|
|
24173
|
-
let { isEmbedded: i } =
|
|
24142
|
+
}, LD = () => ({ isEmbedded: !!xi("verificationIframeUid") }), RD = ({ layout: e, children: t, verificationService: n, renderAsLandingPage: r }) => {
|
|
24143
|
+
let { isEmbedded: i } = LD();
|
|
24174
24144
|
return !r || i ? /* @__PURE__ */ (0, J.jsx)(J.Fragment, { children: t }) : /* @__PURE__ */ (0, J.jsx)("div", {
|
|
24175
24145
|
className: `sid-layout sid-layout--${e}`,
|
|
24176
24146
|
children: /* @__PURE__ */ (0, J.jsxs)("div", {
|
|
24177
24147
|
className: "sid-layout__container",
|
|
24178
24148
|
children: [e === "fullRight" && /* @__PURE__ */ (0, J.jsx)("div", {
|
|
24179
24149
|
className: "sid-layout__content",
|
|
24180
|
-
children: /* @__PURE__ */ (0, J.jsx)(
|
|
24150
|
+
children: /* @__PURE__ */ (0, J.jsx)(ID, {
|
|
24181
24151
|
verificationService: n,
|
|
24182
24152
|
classNameIdentifier: "landing"
|
|
24183
24153
|
})
|
|
@@ -24190,11 +24160,40 @@ var ND = pD, PD = _D, FD = CD, ID = jD, LD = ({ message: e, trigger: t, initialV
|
|
|
24190
24160
|
})]
|
|
24191
24161
|
})
|
|
24192
24162
|
});
|
|
24193
|
-
},
|
|
24163
|
+
}, zD = ({ children: e }) => /* @__PURE__ */ (0, J.jsx)("div", {
|
|
24194
24164
|
className: "sid sid-form-wrapper",
|
|
24195
24165
|
children: e
|
|
24196
|
-
}),
|
|
24197
|
-
|
|
24166
|
+
}), BD = {
|
|
24167
|
+
"doc-upload-redesign-use-legacy-message-keys": !1,
|
|
24168
|
+
"doc-upload-may24": "default",
|
|
24169
|
+
"include-cvec-field-france-student": "default",
|
|
24170
|
+
"docUpload-assertion-checklist": "default",
|
|
24171
|
+
"doc-upload-considerations": "default",
|
|
24172
|
+
"org-search-overlay": "default",
|
|
24173
|
+
"org-selected-display": "default",
|
|
24174
|
+
"hc-open-org-warning": "control"
|
|
24175
|
+
}, VD = "_flagOverride", HD = (e = BD, t = window.location.href) => new URL(t).searchParams.getAll(VD).reduce((t, n) => {
|
|
24176
|
+
let [r, i] = n.split(":");
|
|
24177
|
+
if (!r || !i || !Object.keys(e).includes(r)) return t;
|
|
24178
|
+
let a = i === "true" || i === "false" ? JSON.parse(i) : i;
|
|
24179
|
+
return {
|
|
24180
|
+
...t,
|
|
24181
|
+
[r]: a
|
|
24182
|
+
};
|
|
24183
|
+
}, {}), UD = () => {
|
|
24184
|
+
let e = Dy(), t = HD();
|
|
24185
|
+
return {
|
|
24186
|
+
...e,
|
|
24187
|
+
...t
|
|
24188
|
+
};
|
|
24189
|
+
};
|
|
24190
|
+
function WD(e) {
|
|
24191
|
+
return UD()[e];
|
|
24192
|
+
}
|
|
24193
|
+
//#endregion
|
|
24194
|
+
//#region src/components/NewVerificationInnerComponent.tsx
|
|
24195
|
+
var GD = ({ locale: e, messages: t, programTheme: n, verificationService: r, programId: i }) => {
|
|
24196
|
+
let a = Oy(), o = K(), s = r.programTheme.themeChoices?.landingPage.layout || "center", { renderAs: c } = o, l = UD();
|
|
24198
24197
|
return g.useEffect(() => {
|
|
24199
24198
|
try {
|
|
24200
24199
|
if (l && r && r.viewModel) {
|
|
@@ -24234,13 +24233,13 @@ var ND = pD, PD = _D, FD = CD, ID = jD, LD = ({ message: e, trigger: t, initialV
|
|
|
24234
24233
|
...t,
|
|
24235
24234
|
...(0, vi.default)(Qo(e))
|
|
24236
24235
|
},
|
|
24237
|
-
textComponent:
|
|
24236
|
+
textComponent: Rx,
|
|
24238
24237
|
children: /* @__PURE__ */ (0, J.jsx)(Ny, {
|
|
24239
24238
|
themeChoices: n.themeChoices,
|
|
24240
24239
|
customCssFromOptions: K().customCss,
|
|
24241
24240
|
children: /* @__PURE__ */ (0, J.jsx)("div", {
|
|
24242
24241
|
className: `${dg.default.isRtlLang($o(e)) ? "sid-rtl" : "sid-ltr"} sid-locale-${e}`,
|
|
24243
|
-
children: /* @__PURE__ */ (0, J.jsx)(
|
|
24242
|
+
children: /* @__PURE__ */ (0, J.jsx)(zD, { children: /* @__PURE__ */ (0, J.jsx)(RD, {
|
|
24244
24243
|
layout: s,
|
|
24245
24244
|
verificationService: r,
|
|
24246
24245
|
renderAsLandingPage: c === "landingPage",
|
|
@@ -24248,7 +24247,7 @@ var ND = pD, PD = _D, FD = CD, ID = jD, LD = ({ message: e, trigger: t, initialV
|
|
|
24248
24247
|
fallback: /* @__PURE__ */ (0, J.jsx)($c, { step: r.loadingStep }),
|
|
24249
24248
|
children: /* @__PURE__ */ (0, J.jsx)(Ko, {
|
|
24250
24249
|
i18n: ds,
|
|
24251
|
-
children: r.isLoading ? /* @__PURE__ */ (0, J.jsx)($c, { step: r.loadingStep }) : /* @__PURE__ */ (0, J.jsxs)("div", { children: [!K().hideTestModeFlag && /* @__PURE__ */ (0, J.jsx)(
|
|
24250
|
+
children: r.isLoading ? /* @__PURE__ */ (0, J.jsx)($c, { step: r.loadingStep }) : /* @__PURE__ */ (0, J.jsxs)("div", { children: [!K().hideTestModeFlag && /* @__PURE__ */ (0, J.jsx)(zx, { verificationService: r }), /* @__PURE__ */ (0, J.jsx)(Lx, {
|
|
24252
24251
|
stepToLoad: r.overrideStep || r.verificationResponse.currentStep,
|
|
24253
24252
|
verificationService: r
|
|
24254
24253
|
})] })
|
|
@@ -24286,7 +24285,7 @@ var ND = pD, PD = _D, FD = CD, ID = jD, LD = ({ message: e, trigger: t, initialV
|
|
|
24286
24285
|
if (cc(), qD(), Xu((e) => {
|
|
24287
24286
|
switch (e.data.action) {
|
|
24288
24287
|
case "setViewModel":
|
|
24289
|
-
|
|
24288
|
+
wb(e.data.viewModel, {
|
|
24290
24289
|
partial: !0,
|
|
24291
24290
|
metadataCheck: !0,
|
|
24292
24291
|
externalUserIdCheck: !0
|
|
@@ -24314,7 +24313,7 @@ var ND = pD, PD = _D, FD = CD, ID = jD, LD = ({ message: e, trigger: t, initialV
|
|
|
24314
24313
|
if (this.props.verificationService.isLoading && !this.props.verificationService.loadingStep) return N.info("NewVerificationComponent: VerificationService is loading"), /* @__PURE__ */ (0, J.jsx)(ni, {
|
|
24315
24314
|
locale: "en",
|
|
24316
24315
|
messages: r,
|
|
24317
|
-
textComponent:
|
|
24316
|
+
textComponent: Rx,
|
|
24318
24317
|
children: /* @__PURE__ */ (0, J.jsx)($c, {})
|
|
24319
24318
|
}, t);
|
|
24320
24319
|
let { programTheme: i } = this.props.verificationService, { verificationResponse: a } = this.props.verificationService;
|
|
@@ -24352,11 +24351,11 @@ var ND = pD, PD = _D, FD = CD, ID = jD, LD = ({ message: e, trigger: t, initialV
|
|
|
24352
24351
|
}), ZD = ({ programId: e, children: t }) => /* @__PURE__ */ (0, J.jsx)(Ey, {
|
|
24353
24352
|
clientSideID: "6530161f9ff41712a2eef741",
|
|
24354
24353
|
context: XD(e),
|
|
24355
|
-
flags:
|
|
24354
|
+
flags: BD,
|
|
24356
24355
|
reactOptions: { useCamelCaseFlagKeys: !1 },
|
|
24357
24356
|
options: { streaming: !1 },
|
|
24358
24357
|
children: t
|
|
24359
|
-
}), QD =
|
|
24358
|
+
}), QD = bb();
|
|
24360
24359
|
bs(hs.jslibVersionActual, B(() => bd(), "?"));
|
|
24361
24360
|
var $D = g.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
24362
24361
|
try {
|
|
@@ -24449,11 +24448,11 @@ var $D = g.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
24449
24448
|
return iO.set(t, r), r;
|
|
24450
24449
|
}, oO = {
|
|
24451
24450
|
getMessages: es,
|
|
24452
|
-
setViewModel:
|
|
24453
|
-
resetViewModel:
|
|
24451
|
+
setViewModel: wb,
|
|
24452
|
+
resetViewModel: Tb,
|
|
24454
24453
|
setOptions: jc,
|
|
24455
24454
|
resetOptions: Ac,
|
|
24456
|
-
refreshStore:
|
|
24455
|
+
refreshStore: Sb,
|
|
24457
24456
|
setMetadata: Ah,
|
|
24458
24457
|
getMetadata: Mh,
|
|
24459
24458
|
resetMetadata: jh,
|
|
@@ -24465,9 +24464,9 @@ var $D = g.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
24465
24464
|
hooks: Ud,
|
|
24466
24465
|
VerificationForm: eO,
|
|
24467
24466
|
collectDeviceProfile: async (e, t) => aO(await Rd.fetchProgramTheme(t), e),
|
|
24468
|
-
resetStore:
|
|
24467
|
+
resetStore: xb,
|
|
24469
24468
|
setProgramTheme: (e, t = { partial: !0 }) => {
|
|
24470
|
-
let n =
|
|
24469
|
+
let n = bb(), r = n.getState(), i = () => {
|
|
24471
24470
|
let r = U(e);
|
|
24472
24471
|
N.info("Setting programTheme", r), ag(n.dispatch)(r, t.partial);
|
|
24473
24472
|
};
|
|
@@ -24480,4 +24479,4 @@ var $D = g.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
24480
24479
|
}
|
|
24481
24480
|
};
|
|
24482
24481
|
//#endregion
|
|
24483
|
-
export {
|
|
24482
|
+
export { Vb as $, Bi as $t, vx as A, o as An, Dd as At, rx as B, K as Bt, $x as C, Me as Cn, Qd as Ct, Ux as D, M as Dn, Hd as Dt, Gx as E, N as En, Jd as Et, Kb as F, nl as Ft, Wb as G, vs as Gt, fx as H, gs as Ht, Zb as I, $c as It, Bb as J, Ei as Jt, tx as K, ds as Kt, sx as L, Zc as Lt, qb as M, l as Mn, yd as Mt, lx as N, _d as Nt, Wx as O, h as On, Rd as Ot, Gb as P, Ru as Pt, nx as Q, Ii as Qt, Jb as R, Xc as Rt, tS as S, be as Sn, of as St, qx as T, ie as Tn, $d as Tt, ax as U, ms as Ut, px as V, wc as Vt, ox as W, ys as Wt, cx as X, Ui as Xt, dx as Y, wi as Yt, Ub as Z, Li as Zt, rT as _, xe as _n, Rh as _t, tD as a, Pr as an, Ob as at, _S as b, _e as bn, jm as bt, JT as c, vt as cn, wb as ct, ET as d, oO as default, Ve as dn, By as dt, Vi as en, Hb as et, wT as f, I as fn, zy as ft, yT as g, Ce as gn, Gh as gt, xT as h, Te as hn, Oy as ht, PD as i, _i as in, kb as it, ix as j, s as jn, wd as jt, Vx as k, d as kn, Ld as kt, HT as l, pt as ln, sb as lt, ST as m, je as mn, Ay as mt, WD as n, xi as nn, Rb as nt, GT as o, Ln as on, Db as ot, bT as p, Se as pn, Ry as pt, Yb as q, ts as qt, ID as r, V as rn, Ib as rt, KT as s, B as sn, Eb as st, aO as t, Fi as tn, zb as tt, jT as u, ft as un, Wy as ut, RS as v, Ae as vn, zh as vt, eS as w, F as wn, _f as wt, lS as x, ye as xn, Eh as xt, CS as y, ke as yn, Ih as yt, ux as z, Mc as zt };
|