@sheerid/jslib-nightly 2.283.0-alpha.0 → 2.286.0-alpha.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 +1019 -1011
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/{AddressComponent-B53ke1vn.js → AddressComponent-BO-P8AD4.js} +8 -8
- package/chunk/{AddressComponent-B53ke1vn.js.map → AddressComponent-BO-P8AD4.js.map} +1 -1
- package/chunk/{AddressComponent-BS2q89dN.js → AddressComponent-BveXbyGs.js} +8 -8
- package/chunk/{AddressComponent-BS2q89dN.js.map → AddressComponent-BveXbyGs.js.map} +1 -1
- package/chunk/{AnnouncingHeader-B84Vw5oF.js → AnnouncingHeader-B0Ku-xl_.js} +6 -6
- package/chunk/{AnnouncingHeader-B84Vw5oF.js.map → AnnouncingHeader-B0Ku-xl_.js.map} +1 -1
- package/chunk/{AnnouncingHeader-BJHHK6ve.js → AnnouncingHeader-CXTQdbKG.js} +6 -6
- package/chunk/{AnnouncingHeader-BJHHK6ve.js.map → AnnouncingHeader-CXTQdbKG.js.map} +1 -1
- package/chunk/ApiUrls-CgRqi14a.js +51 -0
- package/chunk/{ApiUrls-D5jxcER6.js.map → ApiUrls-CgRqi14a.js.map} +1 -1
- package/chunk/ApiUrls-UkSOgB9C.js +45 -0
- package/chunk/{ApiUrls-DGWEbjG-.js.map → ApiUrls-UkSOgB9C.js.map} +1 -1
- package/chunk/{BirthDateComponent-KMQgyOht.js → BirthDateComponent-BivtQl-V.js} +8 -8
- package/chunk/{BirthDateComponent-0_Ns6WuL.js.map → BirthDateComponent-BivtQl-V.js.map} +1 -1
- package/chunk/{BirthDateComponent-0_Ns6WuL.js → BirthDateComponent-DuD9ADP1.js} +8 -8
- package/chunk/{BirthDateComponent-KMQgyOht.js.map → BirthDateComponent-DuD9ADP1.js.map} +1 -1
- package/chunk/{CaptchaComponent-NxvSVr8V.js → CaptchaComponent-CcBWvyd6.js} +111 -110
- package/chunk/{CaptchaComponent-DwNSbKgT.js.map → CaptchaComponent-CcBWvyd6.js.map} +1 -1
- package/chunk/{CaptchaComponent-DwNSbKgT.js → CaptchaComponent-IxkyY0tK.js} +63 -62
- package/chunk/{CaptchaComponent-NxvSVr8V.js.map → CaptchaComponent-IxkyY0tK.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-D5Cr4yzj.js → ChangeLocaleComponent-DTp8j-wE.js} +57 -56
- package/chunk/ChangeLocaleComponent-DTp8j-wE.js.map +1 -0
- package/chunk/{ChangeLocaleComponent-CL8S7T1E.js → ChangeLocaleComponent-DbBz1tUB.js} +57 -56
- package/chunk/ChangeLocaleComponent-DbBz1tUB.js.map +1 -0
- package/chunk/{City-B8f-0-fe.js → City-B31l6VTD.js} +8 -8
- package/chunk/{City-B8f-0-fe.js.map → City-B31l6VTD.js.map} +1 -1
- package/chunk/{City-CvbUTOeT.js → City-Drv6dzVo.js} +8 -8
- package/chunk/{City-CvbUTOeT.js.map → City-Drv6dzVo.js.map} +1 -1
- package/chunk/{CollegeNameComponent-EFvK5jUj.js → CollegeNameComponent-BI5ZRKh5.js} +10 -10
- package/chunk/{CollegeNameComponent-EFvK5jUj.js.map → CollegeNameComponent-BI5ZRKh5.js.map} +1 -1
- package/chunk/{CollegeNameComponent-z--NuMC0.js → CollegeNameComponent-BXe6YEtp.js} +10 -10
- package/chunk/{CollegeNameComponent-z--NuMC0.js.map → CollegeNameComponent-BXe6YEtp.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-Hd6_alz8.js → CopyToClipboardComponent-3wpB0lTx.js} +9 -9
- package/chunk/{CopyToClipboardComponent-Cx3fFPKm.js.map → CopyToClipboardComponent-3wpB0lTx.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-Cx3fFPKm.js → CopyToClipboardComponent-BXe124AZ.js} +9 -9
- package/chunk/{CopyToClipboardComponent-Hd6_alz8.js.map → CopyToClipboardComponent-BXe124AZ.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-CQAUpTaE.js → CountryComponentWrapper-BvRfYYfs.js} +12 -12
- package/chunk/{CountryComponentWrapper-CQAUpTaE.js.map → CountryComponentWrapper-BvRfYYfs.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-w3Ev-nPs.js → CountryComponentWrapper-CTwfjZcm.js} +12 -12
- package/chunk/{CountryComponentWrapper-w3Ev-nPs.js.map → CountryComponentWrapper-CTwfjZcm.js.map} +1 -1
- package/chunk/{DischargeDateComponent-BvLpg-OX.js → DischargeDateComponent-C6H7bgg0.js} +14 -13
- package/chunk/{DischargeDateComponent-CTb_Zz1J.js.map → DischargeDateComponent-C6H7bgg0.js.map} +1 -1
- package/chunk/{DischargeDateComponent-CTb_Zz1J.js → DischargeDateComponent-Dca4kend.js} +32 -31
- package/chunk/{DischargeDateComponent-BvLpg-OX.js.map → DischargeDateComponent-Dca4kend.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-BNEDKafg.js → DriverLicenseNumberComponent-D8GxRcFv.js} +8 -8
- package/chunk/{DriverLicenseNumberComponent-7Ea5tCGH.js.map → DriverLicenseNumberComponent-D8GxRcFv.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-7Ea5tCGH.js → DriverLicenseNumberComponent-DER7haaJ.js} +8 -8
- package/chunk/{DriverLicenseNumberComponent-BNEDKafg.js.map → DriverLicenseNumberComponent-DER7haaJ.js.map} +1 -1
- package/chunk/{EmailLoopPending-rgx_0J6c.js → EmailLoopPending-CdcMaaA_.js} +20 -19
- package/chunk/{EmailLoopPending-Df_GrHrh.js.map → EmailLoopPending-CdcMaaA_.js.map} +1 -1
- package/chunk/{EmailLoopPending-Df_GrHrh.js → EmailLoopPending-CpDXySoK.js} +29 -28
- package/chunk/{EmailLoopPending-rgx_0J6c.js.map → EmailLoopPending-CpDXySoK.js.map} +1 -1
- package/chunk/{ExtraMessage-zKmbHy9b.js → ExtraMessage-BhQr2pj7.js} +7 -7
- package/chunk/{ExtraMessage-YET43v0h.js.map → ExtraMessage-BhQr2pj7.js.map} +1 -1
- package/chunk/{ExtraMessage-YET43v0h.js → ExtraMessage-psH__L4H.js} +7 -7
- package/chunk/{ExtraMessage-zKmbHy9b.js.map → ExtraMessage-psH__L4H.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-xNM9hMFO.js → FirstResponderOrganizationComponent-CRAxX00a.js} +9 -9
- package/chunk/{FirstResponderOrganizationComponent-CwVa4Kdu.js.map → FirstResponderOrganizationComponent-CRAxX00a.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-CwVa4Kdu.js → FirstResponderOrganizationComponent-v2Qu8r16.js} +9 -9
- package/chunk/{FirstResponderOrganizationComponent-xNM9hMFO.js.map → FirstResponderOrganizationComponent-v2Qu8r16.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-CyAOWfEv.js → FormFieldInputSelect-Bmrn_n9h.js} +7 -7
- package/chunk/{FormFieldInputSelect-CyAOWfEv.js.map → FormFieldInputSelect-Bmrn_n9h.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-DwP1KTVT.js → FormFieldInputSelect-D5WLRDU3.js} +7 -7
- package/chunk/{FormFieldInputSelect-DwP1KTVT.js.map → FormFieldInputSelect-D5WLRDU3.js.map} +1 -1
- package/chunk/{FormFieldLayout-CfcTWF4b.js → FormFieldLayout-DEKIQK2R.js} +6 -6
- package/chunk/{FormFieldLayout-CfcTWF4b.js.map → FormFieldLayout-DEKIQK2R.js.map} +1 -1
- package/chunk/{FormFieldLayout-CsDsfcRv.js → FormFieldLayout-NkmhFC9B.js} +6 -6
- package/chunk/{FormFieldLayout-CsDsfcRv.js.map → FormFieldLayout-NkmhFC9B.js.map} +1 -1
- package/chunk/{FormFieldText-Cba-r9FE.js → FormFieldText-Bn9WIKiI.js} +7 -7
- package/chunk/{FormFieldText-Cba-r9FE.js.map → FormFieldText-Bn9WIKiI.js.map} +1 -1
- package/chunk/{FormFieldText-CoWhLvws.js → FormFieldText-Py7x4EZ6.js} +7 -7
- package/chunk/{FormFieldText-CoWhLvws.js.map → FormFieldText-Py7x4EZ6.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-Bk9kQ4UR.js → FormFieldTypeahead-D0UbcCmJ.js} +527 -525
- package/chunk/{FormFieldTypeahead-DHxWGClb.js.map → FormFieldTypeahead-D0UbcCmJ.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-DHxWGClb.js → FormFieldTypeahead-DsjvOSw-.js} +522 -520
- package/chunk/{FormFieldTypeahead-Bk9kQ4UR.js.map → FormFieldTypeahead-DsjvOSw-.js.map} +1 -1
- package/chunk/{FormFooterComponent-DW892yu4.js → FormFooterComponent-C8d0QlMJ.js} +294 -293
- package/chunk/{FormFooterComponent-DW892yu4.js.map → FormFooterComponent-C8d0QlMJ.js.map} +1 -1
- package/chunk/{FormFooterComponent-BLpVKOcd.js → FormFooterComponent-DZsj4_dA.js} +397 -396
- package/chunk/{FormFooterComponent-BLpVKOcd.js.map → FormFooterComponent-DZsj4_dA.js.map} +1 -1
- package/chunk/{FormSelectChoice-BfvLZ8hR.js → FormSelectChoice-BrKQZKi3.js} +27 -26
- package/chunk/{FormSelectChoice-BfvLZ8hR.js.map → FormSelectChoice-BrKQZKi3.js.map} +1 -1
- package/chunk/{FormSelectChoice-rW8OzCvY.js → FormSelectChoice-Cnr_Pmmc.js} +10 -9
- package/chunk/{FormSelectChoice-rW8OzCvY.js.map → FormSelectChoice-Cnr_Pmmc.js.map} +1 -1
- package/chunk/{InputText-CQYoeUfw.js → InputText-CMu4ei8e.js} +7 -7
- package/chunk/{InputText-C4PEMeZJ.js.map → InputText-CMu4ei8e.js.map} +1 -1
- package/chunk/{InputText-C4PEMeZJ.js → InputText-dflyPe3J.js} +7 -7
- package/chunk/{InputText-CQYoeUfw.js.map → InputText-dflyPe3J.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-CyOVSs39.js → LicensedProfessionalOrganizationComponent-BvQ2v-yS.js} +9 -9
- package/chunk/{LicensedProfessionalOrganizationComponent-CEy2EWbr.js.map → LicensedProfessionalOrganizationComponent-BvQ2v-yS.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-CEy2EWbr.js → LicensedProfessionalOrganizationComponent-MU0Trmun.js} +9 -9
- package/chunk/{LicensedProfessionalOrganizationComponent-CyOVSs39.js.map → LicensedProfessionalOrganizationComponent-MU0Trmun.js.map} +1 -1
- package/chunk/{LogoComponent-Cq0AZvcg.js → LogoComponent-BDhMcJvy.js} +6 -6
- package/chunk/{LogoComponent-Cq0AZvcg.js.map → LogoComponent-BDhMcJvy.js.map} +1 -1
- package/chunk/{LogoComponent-DKi0XFRw.js → LogoComponent-DASXTR4v.js} +6 -6
- package/chunk/{LogoComponent-DKi0XFRw.js.map → LogoComponent-DASXTR4v.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-N2cVvBOQ.js → LowIncomeOrganizationComponent-Bw9YwDiJ.js} +30 -29
- package/chunk/{LowIncomeOrganizationComponent-DTGgtW8b.js.map → LowIncomeOrganizationComponent-Bw9YwDiJ.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-DTGgtW8b.js → LowIncomeOrganizationComponent-WXPCDMfZ.js} +16 -15
- package/chunk/{LowIncomeOrganizationComponent-N2cVvBOQ.js.map → LowIncomeOrganizationComponent-WXPCDMfZ.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-DfppzuJK.js → MedicalProfessionalOrganizationComponent-8sU5904Y.js} +9 -9
- package/chunk/{MedicalProfessionalOrganizationComponent-DpV33hX0.js.map → MedicalProfessionalOrganizationComponent-8sU5904Y.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-DpV33hX0.js → MedicalProfessionalOrganizationComponent-CU-9LQeS.js} +9 -9
- package/chunk/{MedicalProfessionalOrganizationComponent-DfppzuJK.js.map → MedicalProfessionalOrganizationComponent-CU-9LQeS.js.map} +1 -1
- package/chunk/{MemberIdComponent-dpcot8wM.js → MemberIdComponent-D8Ca87Wb.js} +8 -8
- package/chunk/{MemberIdComponent--UCDgVff.js.map → MemberIdComponent-D8Ca87Wb.js.map} +1 -1
- package/chunk/{MemberIdComponent--UCDgVff.js → MemberIdComponent-mi1g1xXL.js} +8 -8
- package/chunk/{MemberIdComponent-dpcot8wM.js.map → MemberIdComponent-mi1g1xXL.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-BoH5HUCj.js → MembershipOrganizationComponent-B8uTiOjz.js} +9 -9
- package/chunk/{MembershipOrganizationComponent-BGd625Ru.js.map → MembershipOrganizationComponent-B8uTiOjz.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-BGd625Ru.js → MembershipOrganizationComponent-qZGu9kN7.js} +9 -9
- package/chunk/{MembershipOrganizationComponent-BoH5HUCj.js.map → MembershipOrganizationComponent-qZGu9kN7.js.map} +1 -1
- package/chunk/{Message-BdOvFbi2.js → Message-BzQvlehO.js} +1050 -1038
- package/chunk/Message-BzQvlehO.js.map +1 -0
- package/chunk/{Message-BqcmKs6-.js → Message-DTjPO81C.js} +1600 -1590
- package/chunk/Message-DTjPO81C.js.map +1 -0
- package/chunk/Onfido-CTCgAwnB.js +4 -4
- package/chunk/{PersonalInfoStepSubmitButton-78HlNPgO.js → PersonalInfoStepSubmitButton-CJBqRRwZ.js} +37 -36
- package/chunk/{PersonalInfoStepSubmitButton-78HlNPgO.js.map → PersonalInfoStepSubmitButton-CJBqRRwZ.js.map} +1 -1
- package/chunk/{PersonalInfoStepSubmitButton-DIuS4ZwY.js → PersonalInfoStepSubmitButton-DYLShYmQ.js} +23 -22
- package/chunk/{PersonalInfoStepSubmitButton-DIuS4ZwY.js.map → PersonalInfoStepSubmitButton-DYLShYmQ.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-B_lPf9Gl.js → PersonalInfoStepWrapper-7CjWrsq-.js} +26 -25
- package/chunk/{PersonalInfoStepWrapper-B_lPf9Gl.js.map → PersonalInfoStepWrapper-7CjWrsq-.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-DC1cV05T.js → PersonalInfoStepWrapper-C4Yji-mo.js} +16 -15
- package/chunk/{PersonalInfoStepWrapper-DC1cV05T.js.map → PersonalInfoStepWrapper-C4Yji-mo.js.map} +1 -1
- package/chunk/{PostalCodeComponent-CbbP7br_.js → PostalCodeComponent-BaAxTpyL.js} +8 -8
- package/chunk/{PostalCodeComponent-Bql8sVhC.js.map → PostalCodeComponent-BaAxTpyL.js.map} +1 -1
- package/chunk/{PostalCodeComponent-Bql8sVhC.js → PostalCodeComponent-WM_PVYan.js} +8 -8
- package/chunk/{PostalCodeComponent-CbbP7br_.js.map → PostalCodeComponent-WM_PVYan.js.map} +1 -1
- package/chunk/{SSN-BwZ46kZ9.js → SSN-BKgXJ_Y3.js} +15 -15
- package/chunk/{SSN-BwZ46kZ9.js.map → SSN-BKgXJ_Y3.js.map} +1 -1
- package/chunk/{SSN-DORH1ojI.js → SSN-TjcjMzV_.js} +9 -9
- package/chunk/{SSN-DORH1ojI.js.map → SSN-TjcjMzV_.js.map} +1 -1
- package/chunk/{StateSelectComponent-BYPTtoWc.js → StateSelectComponent-BwRWKvU0.js} +7 -7
- package/chunk/{StateSelectComponent-1Y2d5sHh.js.map → StateSelectComponent-BwRWKvU0.js.map} +1 -1
- package/chunk/{StateSelectComponent-1Y2d5sHh.js → StateSelectComponent-DYLIANk8.js} +7 -7
- package/chunk/{StateSelectComponent-BYPTtoWc.js.map → StateSelectComponent-DYLIANk8.js.map} +1 -1
- package/chunk/{StatusComponent-CedDMC7w.js → StatusComponent-B23ZumSo.js} +9 -9
- package/chunk/{StatusComponent-CedDMC7w.js.map → StatusComponent-B23ZumSo.js.map} +1 -1
- package/chunk/{StatusComponent-BPL3HX8e.js → StatusComponent-D9SP6f7s.js} +9 -9
- package/chunk/{StatusComponent-BPL3HX8e.js.map → StatusComponent-D9SP6f7s.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-ly9VGzdO.js → StepAgePersonalInfo-CY8RXjRs.js} +54 -53
- package/chunk/{StepAgePersonalInfo-DzKCCfyq.js.map → StepAgePersonalInfo-CY8RXjRs.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-DzKCCfyq.js → StepAgePersonalInfo-Ce2Rjk-T.js} +22 -21
- package/chunk/{StepAgePersonalInfo-ly9VGzdO.js.map → StepAgePersonalInfo-Ce2Rjk-T.js.map} +1 -1
- package/chunk/{StepCard-BPyR9qva.js → StepCard-DQ9JkAjb.js} +5 -5
- package/chunk/{StepCard-5V1_mxeM.js.map → StepCard-DQ9JkAjb.js.map} +1 -1
- package/chunk/{StepCard-5V1_mxeM.js → StepCard-EHeqFY3Y.js} +5 -5
- package/chunk/{StepCard-BPyR9qva.js.map → StepCard-EHeqFY3Y.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-B00i04S-.js → StepCollectIdentifier-C5kXQDZS.js} +14 -13
- package/chunk/{StepCollectIdentifier-B00i04S-.js.map → StepCollectIdentifier-C5kXQDZS.js.map} +1 -1
- package/chunk/StepCollectIdentifier-D2J7Zz4p.js +60 -0
- package/chunk/{StepCollectIdentifier-ClWFPWa6.js.map → StepCollectIdentifier-D2J7Zz4p.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-B_Em4NPs.js → StepCollectMilitaryPersonalInfoComponent-Bf6RUl4N.js} +35 -34
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-B_Em4NPs.js.map → StepCollectMilitaryPersonalInfoComponent-Bf6RUl4N.js.map} +1 -1
- package/chunk/StepCollectMilitaryPersonalInfoComponent-Cg2JeswT.js +246 -0
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-CrAR_XLp.js.map → StepCollectMilitaryPersonalInfoComponent-Cg2JeswT.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-Bs5-JxD2.js → StepCollectPersonalInfo-DQ-E_qDl.js} +115 -118
- package/chunk/{StepCollectPersonalInfo-DUC9Ua6q.js.map → StepCollectPersonalInfo-DQ-E_qDl.js.map} +1 -1
- package/chunk/StepCollectPersonalInfo-OYDCEhYc.js +373 -0
- package/chunk/{StepCollectPersonalInfo-Bs5-JxD2.js.map → StepCollectPersonalInfo-OYDCEhYc.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-CAXDVjfM.js → StepCompleteAuthentication-D7GOINsk.js} +27 -26
- package/chunk/{StepCompleteAuthentication-fSePWmI2.js.map → StepCompleteAuthentication-D7GOINsk.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-fSePWmI2.js → StepCompleteAuthentication-W7k49rug.js} +17 -16
- package/chunk/{StepCompleteAuthentication-CAXDVjfM.js.map → StepCompleteAuthentication-W7k49rug.js.map} +1 -1
- package/chunk/{StepConsolation-B69uzGcy.js → StepConsolation-BploicTZ.js} +25 -25
- package/chunk/{StepConsolation-B69uzGcy.js.map → StepConsolation-BploicTZ.js.map} +1 -1
- package/chunk/{StepConsolation-DngcwKuS.js → StepConsolation-C0ZFoRhl.js} +9 -9
- package/chunk/{StepConsolation-DngcwKuS.js.map → StepConsolation-C0ZFoRhl.js.map} +1 -1
- package/chunk/{StepDocUpload--lnelCs6.js → StepDocUpload-Fg28EFnj.js} +616 -615
- package/chunk/{StepDocUpload-DMxY3vGT.js.map → StepDocUpload-Fg28EFnj.js.map} +1 -1
- package/chunk/{StepDocUpload-DMxY3vGT.js → StepDocUpload-XIwdgMLE.js} +629 -628
- package/chunk/{StepDocUpload--lnelCs6.js.map → StepDocUpload-XIwdgMLE.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-D6OesuVM.js → StepDriverLicensePersonalInfoComponent-CA7UDvwn.js} +21 -20
- package/chunk/{StepDriverLicensePersonalInfoComponent-BaHcgm04.js.map → StepDriverLicensePersonalInfoComponent-CA7UDvwn.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-BaHcgm04.js → StepDriverLicensePersonalInfoComponent-CHc8Dsg1.js} +46 -45
- package/chunk/{StepDriverLicensePersonalInfoComponent-D6OesuVM.js.map → StepDriverLicensePersonalInfoComponent-CHc8Dsg1.js.map} +1 -1
- package/chunk/{StepEmailLoop-7dQCfN0A.js → StepEmailLoop-BCXGSf_A.js} +34 -33
- package/chunk/{StepEmailLoop-7dQCfN0A.js.map → StepEmailLoop-BCXGSf_A.js.map} +1 -1
- package/chunk/{StepEmailLoop-Df6rW1Xl.js → StepEmailLoop-CQdaX7qR.js} +17 -16
- package/chunk/{StepEmailLoop-Df6rW1Xl.js.map → StepEmailLoop-CQdaX7qR.js.map} +1 -1
- package/chunk/StepEmploymentPersonalInfo-BNpvALkR.js +217 -0
- package/chunk/{StepEmploymentPersonalInfo--wEtGJpg.js.map → StepEmploymentPersonalInfo-BNpvALkR.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-DN_7vMFV.js → StepEmploymentPersonalInfo-BVCNxtzc.js} +25 -24
- package/chunk/{StepEmploymentPersonalInfo-DN_7vMFV.js.map → StepEmploymentPersonalInfo-BVCNxtzc.js.map} +1 -1
- package/chunk/StepFirstResponderPersonalInfo-Bw1j5rbb.js +183 -0
- package/chunk/{StepFirstResponderPersonalInfo-D2PRbOzN.js.map → StepFirstResponderPersonalInfo-Bw1j5rbb.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-Ds4xCIda.js → StepFirstResponderPersonalInfo-MuQvmYpR.js} +37 -36
- package/chunk/{StepFirstResponderPersonalInfo-Ds4xCIda.js.map → StepFirstResponderPersonalInfo-MuQvmYpR.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-DUgAqLNL.js → StepGeneralIdentityPersonalInfoComponent-QSa52ZsF.js} +24 -23
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-DEtt_kP6.js.map → StepGeneralIdentityPersonalInfoComponent-QSa52ZsF.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-DEtt_kP6.js → StepGeneralIdentityPersonalInfoComponent-ZVgx3K2e.js} +51 -50
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-DUgAqLNL.js.map → StepGeneralIdentityPersonalInfoComponent-ZVgx3K2e.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-DGNZk9m4.js → StepHybridIdentityPersonalInfoComponent-C1qSLXFj.js} +25 -24
- package/chunk/{StepHybridIdentityPersonalInfoComponent-CuUwe0fI.js.map → StepHybridIdentityPersonalInfoComponent-C1qSLXFj.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-CuUwe0fI.js → StepHybridIdentityPersonalInfoComponent-CCjtODab.js} +53 -52
- package/chunk/{StepHybridIdentityPersonalInfoComponent-DGNZk9m4.js.map → StepHybridIdentityPersonalInfoComponent-CCjtODab.js.map} +1 -1
- package/chunk/StepIDCheckLoop-9vSZxmm9.js +25 -0
- package/chunk/{StepIDCheckLoop-B7yiAmO1.js.map → StepIDCheckLoop-9vSZxmm9.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-Cojr5CXm.js → StepIDCheckLoop-DegU62q3.js} +9 -8
- package/chunk/{StepIDCheckLoop-Cojr5CXm.js.map → StepIDCheckLoop-DegU62q3.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-Dec9w0OJ.js → StepIDCheckLoopOnfido-C7OhbiGE.js} +72 -71
- package/chunk/{StepIDCheckLoopOnfido-DI7JVtf5.js.map → StepIDCheckLoopOnfido-C7OhbiGE.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-DI7JVtf5.js → StepIDCheckLoopOnfido-Cf5jCl51.js} +41 -40
- package/chunk/{StepIDCheckLoopOnfido-Dec9w0OJ.js.map → StepIDCheckLoopOnfido-Cf5jCl51.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-DXNxqgVN.js → StepIDCheckLoopRegula-BGOGfzTM.js} +17 -16
- package/chunk/{StepIDCheckLoopRegula-DXNxqgVN.js.map → StepIDCheckLoopRegula-BGOGfzTM.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-DuXtMW-a.js → StepIDCheckLoopRegula-DHL165Fq.js} +53 -52
- package/chunk/{StepIDCheckLoopRegula-DuXtMW-a.js.map → StepIDCheckLoopRegula-DHL165Fq.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-BXsfxNmM.js → StepLicensedProfessionalPersonalInfo-C9u_VLy4.js} +57 -56
- package/chunk/{StepLicensedProfessionalPersonalInfo-BXsfxNmM.js.map → StepLicensedProfessionalPersonalInfo-C9u_VLy4.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-D52uztED.js → StepLicensedProfessionalPersonalInfo-Ci3GtjsS.js} +26 -25
- package/chunk/{StepLicensedProfessionalPersonalInfo-D52uztED.js.map → StepLicensedProfessionalPersonalInfo-Ci3GtjsS.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-CIku5BVx.js → StepLowIncomePersonalInfo-6psOksgp.js} +35 -34
- package/chunk/{StepLowIncomePersonalInfo-CIku5BVx.js.map → StepLowIncomePersonalInfo-6psOksgp.js.map} +1 -1
- package/chunk/StepLowIncomePersonalInfo-BNCP_2nd.js +235 -0
- package/chunk/{StepLowIncomePersonalInfo-L0FPiHfu.js.map → StepLowIncomePersonalInfo-BNCP_2nd.js.map} +1 -1
- package/chunk/StepMedicalProfessionalPersonalInfo-BZPO6ySB.js +209 -0
- package/chunk/{StepMedicalProfessionalPersonalInfo-B0JjFdGH.js.map → StepMedicalProfessionalPersonalInfo-BZPO6ySB.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-BdNMJbot.js → StepMedicalProfessionalPersonalInfo-Cfbyvm5-.js} +24 -23
- package/chunk/{StepMedicalProfessionalPersonalInfo-BdNMJbot.js.map → StepMedicalProfessionalPersonalInfo-Cfbyvm5-.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-gI4sOXgf.js → StepMemberPersonalInfo-CJGm1yf-.js} +22 -21
- package/chunk/{StepMemberPersonalInfo-DIEFNQYU.js.map → StepMemberPersonalInfo-CJGm1yf-.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-DIEFNQYU.js → StepMemberPersonalInfo-DS-JEfy0.js} +43 -42
- package/chunk/{StepMemberPersonalInfo-gI4sOXgf.js.map → StepMemberPersonalInfo-DS-JEfy0.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-19I9cPJ_.js → StepMoverPersonalInfo-Csa8lKN8.js} +44 -43
- package/chunk/{StepMoverPersonalInfo-19I9cPJ_.js.map → StepMoverPersonalInfo-Csa8lKN8.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-CIxyQC92.js → StepMoverPersonalInfo-DxcQ34_S.js} +20 -19
- package/chunk/{StepMoverPersonalInfo-CIxyQC92.js.map → StepMoverPersonalInfo-DxcQ34_S.js.map} +1 -1
- package/chunk/{StepOverrideComponent-BIhcl-VM.js → StepOverrideComponent-CvP3aJ5s.js} +28 -27
- package/chunk/{StepOverrideComponent---hcgoQa.js.map → StepOverrideComponent-CvP3aJ5s.js.map} +1 -1
- package/chunk/{StepOverrideComponent---hcgoQa.js → StepOverrideComponent-DFFHorkG.js} +15 -14
- package/chunk/{StepOverrideComponent-BIhcl-VM.js.map → StepOverrideComponent-DFFHorkG.js.map} +1 -1
- package/chunk/{StepSMSLoop-BiSFArVx.js → StepSMSLoop-BrA59sed.js} +18 -17
- package/chunk/{StepSMSLoop-BiSFArVx.js.map → StepSMSLoop-BrA59sed.js.map} +1 -1
- package/chunk/{StepSMSLoop-CgtdtJJr.js → StepSMSLoop-C_ZkX3V6.js} +36 -35
- package/chunk/{StepSMSLoop-CgtdtJJr.js.map → StepSMSLoop-C_ZkX3V6.js.map} +1 -1
- package/chunk/StepSSO-BGHCbduX.js +4 -4
- package/chunk/StepSSO-ZHByQpHa.js +4 -4
- package/chunk/{StepSocialSecurityNumber-tQWjbQU_.js → StepSocialSecurityNumber-CyUZZC4N.js} +38 -37
- package/chunk/{StepSocialSecurityNumber-BlFxpgax.js.map → StepSocialSecurityNumber-CyUZZC4N.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-BlFxpgax.js → StepSocialSecurityNumber-J3hOG61Y.js} +18 -17
- package/chunk/{StepSocialSecurityNumber-tQWjbQU_.js.map → StepSocialSecurityNumber-J3hOG61Y.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-BjdvoI5L.js → StepStudentPersonalInfo-BCTGZupB.js} +51 -50
- package/chunk/{StepStudentPersonalInfo-BWShgPNn.js.map → StepStudentPersonalInfo-BCTGZupB.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-BWShgPNn.js → StepStudentPersonalInfo-CDYBQDUD.js} +29 -28
- package/chunk/{StepStudentPersonalInfo-BjdvoI5L.js.map → StepStudentPersonalInfo-CDYBQDUD.js.map} +1 -1
- package/chunk/{StepSuccess-BzH5P6Hm.js → StepSuccess-C0CJ71py.js} +49 -48
- package/chunk/{StepSuccess-BzH5P6Hm.js.map → StepSuccess-C0CJ71py.js.map} +1 -1
- package/chunk/{StepSuccess-D4raPN35.js → StepSuccess-DG0gzN_H.js} +36 -35
- package/chunk/{StepSuccess-D4raPN35.js.map → StepSuccess-DG0gzN_H.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-DtUmErIW.js → StepTeacherPersonalInfo-B9e_tX1X.js} +43 -42
- package/chunk/{StepTeacherPersonalInfo-DtUmErIW.js.map → StepTeacherPersonalInfo-B9e_tX1X.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-wKDkUSHL.js → StepTeacherPersonalInfo-tjOfVXdN.js} +21 -20
- package/chunk/{StepTeacherPersonalInfo-wKDkUSHL.js.map → StepTeacherPersonalInfo-tjOfVXdN.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BrKuZcYb.js +4 -4
- package/chunk/StepThirdPartyLoop-CbFTIlwP.js +4 -4
- package/chunk/{TeacherSchoolComponent-OX71e3PT.js → TeacherSchoolComponent-DLvzlcwS.js} +10 -10
- package/chunk/{TeacherSchoolComponent-CeueNhmI.js.map → TeacherSchoolComponent-DLvzlcwS.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-CeueNhmI.js → TeacherSchoolComponent-DqHut9DM.js} +10 -10
- package/chunk/{TeacherSchoolComponent-OX71e3PT.js.map → TeacherSchoolComponent-DqHut9DM.js.map} +1 -1
- package/chunk/TestingRouteOverrides-EggQSvgh.js +78 -0
- package/chunk/{TestingRouteOverrides-D4n0RZk2.js.map → TestingRouteOverrides-EggQSvgh.js.map} +1 -1
- package/chunk/TestingRouteOverrides-ipf_F-iY.js +82 -0
- package/chunk/{TestingRouteOverrides-uUJqRbL9.js.map → TestingRouteOverrides-ipf_F-iY.js.map} +1 -1
- package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
- package/chunk/ar-D5CO913q.js +4 -4
- package/chunk/bg-1mhA5kYF.js +4 -4
- package/chunk/bn-IN-CpDqyRb_.js +4 -4
- package/chunk/clsx-CB5rauS5.js +27 -0
- package/chunk/clsx-CB5rauS5.js.map +1 -0
- package/chunk/{countryUtils-_E2yHebn.js → countryUtils-BBN8jYxF.js} +5 -5
- package/chunk/{countryUtils-D0YJQD1a.js.map → countryUtils-BBN8jYxF.js.map} +1 -1
- package/chunk/countryUtils-n_5QoHGV.js +12 -0
- package/chunk/{countryUtils-_E2yHebn.js.map → countryUtils-n_5QoHGV.js.map} +1 -1
- package/chunk/cs-Chh7FAGt.js +4 -4
- package/chunk/da-DwrVoxto.js +4 -4
- package/chunk/de-IWGZLhgY.js +4 -4
- package/chunk/{downshift.esm-B5iAt7zs.js → downshift.esm-C3VmEjPJ.js} +7 -7
- package/chunk/{downshift.esm-BC1I7fcF.js.map → downshift.esm-C3VmEjPJ.js.map} +1 -1
- package/chunk/{downshift.esm-BC1I7fcF.js → downshift.esm-CQQa_wPA.js} +7 -7
- package/chunk/{downshift.esm-B5iAt7zs.js.map → downshift.esm-CQQa_wPA.js.map} +1 -1
- package/chunk/el-DbDcvSPJ.js +4 -4
- package/chunk/{empties-BOZDJKb1.js → empties-DHI3R7ys.js} +5 -5
- package/chunk/{empties-BOZDJKb1.js.map → empties-DHI3R7ys.js.map} +1 -1
- package/chunk/{empties-zYUS2tEa.js → empties-Dhc64eA5.js} +5 -5
- package/chunk/{empties-zYUS2tEa.js.map → empties-Dhc64eA5.js.map} +1 -1
- package/chunk/en-GB-BBkjjtqq.js +4 -4
- package/chunk/es-ES-DWimqEZ_.js +4 -4
- package/chunk/es-qhC-seq5.js +4 -4
- package/chunk/et-yF9G-Mym.js +4 -4
- package/chunk/eventEmitter-CSG6jR7V.js +4 -4
- package/chunk/fa-BcdSf7og.js +4 -4
- package/chunk/fi-D-IP_KHm.js +4 -4
- package/chunk/fr-BmUuYxk0.js +4 -4
- package/chunk/fr-CA-DVQ4xmzZ.js +4 -4
- package/chunk/ga-DuZycND3.js +4 -4
- package/chunk/hi-IN-l6Rn5Ewm.js +4 -4
- package/chunk/{hooks-DY9jekmV.js → hooks-B8Gr4Mtw.js} +60 -59
- package/chunk/{hooks-DPmC5aMQ.js.map → hooks-B8Gr4Mtw.js.map} +1 -1
- package/chunk/{hooks-DPmC5aMQ.js → hooks-Cl3P7QIh.js} +72 -71
- package/chunk/{hooks-DY9jekmV.js.map → hooks-Cl3P7QIh.js.map} +1 -1
- package/chunk/hr-BtqyDzDB.js +4 -4
- package/chunk/hu-C6syKJfb.js +4 -4
- package/chunk/id-GgI-Z2a5.js +4 -4
- package/chunk/{options-kkjACM14.js → intl-CvSmE54g.js} +2102 -2275
- package/chunk/intl-CvSmE54g.js.map +1 -0
- package/chunk/is-CvmKEON9.js +4 -4
- package/chunk/it-CnmveGgC.js +4 -4
- package/chunk/iw-DFUYHkxF.js +4 -4
- package/chunk/ja-CjVb2tWW.js +4 -4
- package/chunk/{jsx-runtime-n0jD1uEy.js → jsx-runtime-CyXcV_93.js} +18 -18
- package/chunk/{jsx-runtime-DmTh-fvV.js.map → jsx-runtime-CyXcV_93.js.map} +1 -1
- package/chunk/{jsx-runtime-DmTh-fvV.js → jsx-runtime-JSlXFmKD.js} +18 -18
- package/chunk/{jsx-runtime-n0jD1uEy.js.map → jsx-runtime-JSlXFmKD.js.map} +1 -1
- package/chunk/kk-Dvz4nK6K.js +4 -4
- package/chunk/ko-DzOqBMGC.js +4 -4
- package/chunk/lo-C2WPq55d.js +4 -4
- package/chunk/lt-BSDYvjTF.js +4 -4
- package/chunk/lv-CefDPT-M.js +4 -4
- package/chunk/mockProgramTheme-CBqgtg7A.js +65 -0
- package/chunk/mockProgramTheme-CBqgtg7A.js.map +1 -0
- package/chunk/{mocks-C69Rqq8D.js → mocks-Dpf6dNc6.js} +9 -9
- package/chunk/{mocks-CvUvRHV_.js.map → mocks-Dpf6dNc6.js.map} +1 -1
- package/chunk/{mocks-CvUvRHV_.js → mocks-DrV8NINc.js} +9 -9
- package/chunk/{mocks-C69Rqq8D.js.map → mocks-DrV8NINc.js.map} +1 -1
- package/chunk/ms-BjestZxy.js +4 -4
- package/chunk/nl-B1FyUfCT.js +4 -4
- package/chunk/nl-BE-CbeAd3nq.js +4 -4
- package/chunk/no-Dr633Ddi.js +4 -4
- package/chunk/{intl-DwZU2l1o.js → options-CRzdSTAR.js} +1114 -1295
- package/chunk/options-CRzdSTAR.js.map +1 -0
- package/chunk/pl-UYTjMIq_.js +4 -4
- package/chunk/{programThemeGetters-rty9XxxN.js → programThemeGetters-DYWYXv-a.js} +51 -46
- package/chunk/{programThemeGetters-CZMLVLDB.js.map → programThemeGetters-DYWYXv-a.js.map} +1 -1
- package/chunk/programThemeGetters-VBnkSxuj.js +150 -0
- package/chunk/{programThemeGetters-rty9XxxN.js.map → programThemeGetters-VBnkSxuj.js.map} +1 -1
- package/chunk/pt-BR-C8SYMT-J.js +4 -4
- package/chunk/pt-uH-M3GdN.js +4 -4
- package/chunk/{refs-DC2-V94e.js → refs-Mq0rtW9K.js} +5 -5
- package/chunk/{refs-D3MifwJO.js.map → refs-Mq0rtW9K.js.map} +1 -1
- package/chunk/ro-CAOSXZ7h.js +4 -4
- package/chunk/ru-iwYoEydL.js +4 -4
- package/chunk/runtimeTypes-B2AGNJMT.js +193 -0
- package/chunk/runtimeTypes-B2AGNJMT.js.map +1 -0
- package/chunk/sk-DYYNV3zw.js +4 -4
- package/chunk/sl-D_-eeM5N.js +4 -4
- package/chunk/sr-BTi9_anL.js +4 -4
- package/chunk/{stepComponentHelpers-DN6dYb4A.js → stepComponentHelpers-DKGaTSta.js} +31 -30
- package/chunk/{stepComponentHelpers-BhSQbOUm.js.map → stepComponentHelpers-DKGaTSta.js.map} +1 -1
- package/chunk/{stepComponentHelpers-BhSQbOUm.js → stepComponentHelpers-DXPc6DBY.js} +43 -42
- package/chunk/{stepComponentHelpers-DN6dYb4A.js.map → stepComponentHelpers-DXPc6DBY.js.map} +1 -1
- package/chunk/strings-DWLVdUcm.js +4 -4
- package/chunk/sv-DRwY4shG.js +4 -4
- package/chunk/sw-Bvj2mYmM.js +4 -4
- package/chunk/ta-CmtaYoNe.js +4 -4
- package/chunk/th-12r2yKkJ.js +4 -4
- package/chunk/tl-BGNfO7md.js +4 -4
- package/chunk/tr-DH2ZSJhs.js +4 -4
- package/chunk/uk-CELBZlTd.js +4 -4
- package/chunk/ur-MR8DTbmd.js +4 -4
- package/chunk/useCollectFieldsEndpoint-5ld0_w6u.js +62 -0
- package/chunk/{useCollectFieldsEndpoint-DywixsUo.js.map → useCollectFieldsEndpoint-5ld0_w6u.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-DywixsUo.js → useCollectFieldsEndpoint-DHnHpCRC.js} +17 -16
- package/chunk/{useCollectFieldsEndpoint-Mvdk9HhJ.js.map → useCollectFieldsEndpoint-DHnHpCRC.js.map} +1 -1
- package/chunk/{useMetrics-Bd0EhnNL.js → useMetrics-BBypvN8X.js} +14 -13
- package/chunk/{useMetrics-Bd0EhnNL.js.map → useMetrics-BBypvN8X.js.map} +1 -1
- package/chunk/{useMetrics-h8PVjepD.js → useMetrics-Grd89oUa.js} +20 -19
- package/chunk/{useMetrics-h8PVjepD.js.map → useMetrics-Grd89oUa.js.map} +1 -1
- package/chunk/vi-DtZ-SqD5.js +4 -4
- package/chunk/zh-DjyVyYac.js +4 -4
- package/chunk/zh-HK-CN1HarHq.js +4 -4
- package/chunk/zu-DPhgIh1z.js +4 -4
- package/package.json +1 -1
- package/sheerid-install.css +4 -4
- package/sheerid-install.js +4 -4
- package/sheerid.css +4 -4
- package/sheerid.js +814 -813
- package/sheerid.js.map +1 -1
- package/chunk/ApiUrls-D5jxcER6.js +0 -50
- package/chunk/ApiUrls-DGWEbjG-.js +0 -44
- package/chunk/ChangeLocaleComponent-CL8S7T1E.js.map +0 -1
- package/chunk/ChangeLocaleComponent-D5Cr4yzj.js.map +0 -1
- package/chunk/Message-BdOvFbi2.js.map +0 -1
- package/chunk/Message-BqcmKs6-.js.map +0 -1
- package/chunk/StepCollectIdentifier-ClWFPWa6.js +0 -59
- package/chunk/StepCollectMilitaryPersonalInfoComponent-CrAR_XLp.js +0 -245
- package/chunk/StepCollectPersonalInfo-DUC9Ua6q.js +0 -368
- package/chunk/StepEmploymentPersonalInfo--wEtGJpg.js +0 -216
- package/chunk/StepFirstResponderPersonalInfo-D2PRbOzN.js +0 -182
- package/chunk/StepIDCheckLoop-B7yiAmO1.js +0 -24
- package/chunk/StepLowIncomePersonalInfo-L0FPiHfu.js +0 -234
- package/chunk/StepMedicalProfessionalPersonalInfo-B0JjFdGH.js +0 -208
- package/chunk/TestingRouteOverrides-D4n0RZk2.js +0 -81
- package/chunk/TestingRouteOverrides-uUJqRbL9.js +0 -77
- package/chunk/countryUtils-D0YJQD1a.js +0 -12
- package/chunk/intl-DwZU2l1o.js.map +0 -1
- package/chunk/options-kkjACM14.js.map +0 -1
- package/chunk/programThemeGetters-CZMLVLDB.js +0 -153
- package/chunk/refs-D3MifwJO.js +0 -29
- package/chunk/refs-DC2-V94e.js.map +0 -1
- package/chunk/useCollectFieldsEndpoint-Mvdk9HhJ.js +0 -61
package/_mysheerid-preview.js
CHANGED
|
@@ -4,46 +4,47 @@
|
|
|
4
4
|
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* VERSION: 2.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE:
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.286.0-alpha.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1789576910806
|
|
9
|
+
* BUILD_DATE: Wed Sep 16 2026 16:41:50 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 58cd071e490202b546ec8addac4434c422af952d
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import { a as
|
|
17
|
-
import {
|
|
18
|
-
import { i as Ye } from "./chunk/
|
|
19
|
-
import {
|
|
20
|
-
import { i as
|
|
21
|
-
import { t as it } from "./chunk/
|
|
22
|
-
import { t as at } from "./chunk/
|
|
23
|
-
import { t as ot } from "./chunk/
|
|
12
|
+
import { D as e, E as t, Et as n, Ot as r, T as i, Tt as a, b as o, c as s, f as c, g as l, h as u, i as d, k as f, l as p, m, mt as h, n as g, o as _, p as v, r as y, s as b, st as x, t as S, v as C, w, wt as T, x as ee, y as E } from "./chunk/intl-CvSmE54g.js";
|
|
13
|
+
import { S as D, b as O, h as k, x as te } from "./chunk/runtimeTypes-B2AGNJMT.js";
|
|
14
|
+
import { f as A, m as j, p as M, u as ne } from "./chunk/ApiUrls-CgRqi14a.js";
|
|
15
|
+
import { c as re, i as ie, n as N, t as ae } from "./chunk/jsx-runtime-JSlXFmKD.js";
|
|
16
|
+
import { F as oe, I as se, M as ce, P as le, S as ue, _ as de, a as fe, b as pe, c as me, d as he, f as ge, g as _e, i as ve, j as ye, k as be, o as xe, r as Se, s as Ce, t as P, u as we, v as Te, x as Ee, y as De } from "./chunk/Message-BzQvlehO.js";
|
|
17
|
+
import { a as Oe, i as ke, n as Ae, r as je, s as Me, t as Ne } from "./chunk/TestingRouteOverrides-ipf_F-iY.js";
|
|
18
|
+
import { _ as Pe, a as Fe, c as Ie, d as Le, f as Re, g as ze, h as Be, i as Ve, l as He, n as Ue, o as We, p as Ge, r as Ke, s as qe, t as Je, u as Ye } from "./chunk/FormFooterComponent-C8d0QlMJ.js";
|
|
19
|
+
import { i as Xe } from "./chunk/programThemeGetters-DYWYXv-a.js";
|
|
20
|
+
import { a as Ze, i as Qe, n as $e, r as et, t as tt } from "./chunk/hooks-B8Gr4Mtw.js";
|
|
21
|
+
import { i as nt, s as rt, t as it } from "./chunk/refs-Mq0rtW9K.js";
|
|
22
|
+
import { t as at } from "./chunk/LogoComponent-BDhMcJvy.js";
|
|
23
|
+
import { t as ot } from "./chunk/strings-DWLVdUcm.js";
|
|
24
|
+
import { t as st } from "./chunk/AnnouncingHeader-B0Ku-xl_.js";
|
|
24
25
|
//#region ../node_modules/react-i18next/dist/es/I18nextProvider.js
|
|
25
|
-
var F = /* @__PURE__ */
|
|
26
|
-
function
|
|
26
|
+
var F = /* @__PURE__ */ r(re());
|
|
27
|
+
function ct({ i18n: e, defaultNS: t, children: n }) {
|
|
27
28
|
let r = (0, F.useMemo)(() => ({
|
|
28
29
|
i18n: e,
|
|
29
30
|
defaultNS: t
|
|
30
31
|
}), [e, t]);
|
|
31
|
-
return (0, F.createElement)(
|
|
32
|
+
return (0, F.createElement)(se.Provider, { value: r }, n);
|
|
32
33
|
}
|
|
33
34
|
//#endregion
|
|
34
35
|
//#region src/lib/VerificationService/ProgramTheme/ProgramTheme.ts
|
|
35
|
-
var
|
|
36
|
-
let n =
|
|
37
|
-
let r =
|
|
38
|
-
|
|
36
|
+
var lt = (e, t = { partial: !0 }) => {
|
|
37
|
+
let n = Ke(), r = n.getState(), i = () => {
|
|
38
|
+
let r = f(e);
|
|
39
|
+
D.info("Setting programTheme", r), Le(n.dispatch)(r, t.partial), Te(r, t.partial);
|
|
39
40
|
};
|
|
40
|
-
r.isLoading ?
|
|
41
|
+
r.isLoading ? Be({
|
|
41
42
|
name: "ON_VERIFICATION_READY",
|
|
42
43
|
callback: () => {
|
|
43
44
|
i();
|
|
44
45
|
}
|
|
45
46
|
}) : i();
|
|
46
|
-
},
|
|
47
|
+
}, ut = /* @__PURE__ */ r(a(), 1), dt = /* @__PURE__ */ r(_e(), 1), I = ae(), ft = () => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
47
48
|
className: "sid-spinner",
|
|
48
49
|
"data-testid": "sid-spinner",
|
|
49
50
|
children: [
|
|
@@ -52,9 +53,9 @@ var ct = (e, t = { partial: !0 }) => {
|
|
|
52
53
|
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-spinner__frame" }),
|
|
53
54
|
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-spinner__frame" })
|
|
54
55
|
]
|
|
55
|
-
}),
|
|
56
|
+
}), pt = ({ step: e }) => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
56
57
|
className: "sid-loading-screen__message",
|
|
57
|
-
children: [
|
|
58
|
+
children: [te(e) && /* @__PURE__ */ (0, I.jsx)("div", {
|
|
58
59
|
className: "sid-loading-screen__message-header",
|
|
59
60
|
role: "alert",
|
|
60
61
|
children: /* @__PURE__ */ (0, I.jsx)(N, {
|
|
@@ -68,10 +69,10 @@ var ct = (e, t = { partial: !0 }) => {
|
|
|
68
69
|
defaultMessage: "This should only take a minute"
|
|
69
70
|
})
|
|
70
71
|
})]
|
|
71
|
-
}),
|
|
72
|
+
}), mt = ({ step: e = Ne() }) => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
72
73
|
className: "sid-loading-screen",
|
|
73
|
-
children: [/* @__PURE__ */ (0, I.jsx)(
|
|
74
|
-
}),
|
|
74
|
+
children: [/* @__PURE__ */ (0, I.jsx)(ft, {}), e && /* @__PURE__ */ (0, I.jsx)(pt, { step: e })]
|
|
75
|
+
}), ht = /* @__PURE__ */ n(((e, t) => {
|
|
75
76
|
var n, r = n = {
|
|
76
77
|
_regexEscape: /([\.\*\+\^\$\[\]\\\(\)\|\{\}\,\-\:\?])/g,
|
|
77
78
|
_regexParseLocale: /^([a-zA-Z]*)([_\-a-zA-Z]*)$/,
|
|
@@ -138,13 +139,13 @@ var ct = (e, t = { partial: !0 }) => {
|
|
|
138
139
|
enumerable: !0,
|
|
139
140
|
configurable: !1
|
|
140
141
|
}), t.exports = r;
|
|
141
|
-
})),
|
|
142
|
-
var n =
|
|
142
|
+
})), gt = /* @__PURE__ */ n(((e, t) => {
|
|
143
|
+
var n = ht();
|
|
143
144
|
t.exports = {
|
|
144
145
|
isRtlLang: n.isRtlLang,
|
|
145
146
|
getLangDir: n.getLangDir
|
|
146
147
|
};
|
|
147
|
-
})),
|
|
148
|
+
})), _t = /* @__PURE__ */ r(le(), 1), vt = /* @__PURE__ */ r(gt(), 1), L = {
|
|
148
149
|
landingBackgroundColor: "#fff",
|
|
149
150
|
landingPrimaryFontColor: "#000",
|
|
150
151
|
landingBackgroundImage: "none",
|
|
@@ -158,7 +159,7 @@ var ct = (e, t = { partial: !0 }) => {
|
|
|
158
159
|
formFont: "var(--sheerid-font-family-sans)",
|
|
159
160
|
cssVariables: null,
|
|
160
161
|
customStyles: null
|
|
161
|
-
},
|
|
162
|
+
}, yt = F.createContext(L), R = {
|
|
162
163
|
landingBackgroundColor: "--sheerid-landing-background-color",
|
|
163
164
|
landingPrimaryFontColor: "--sheerid-landing-primary-font-color",
|
|
164
165
|
landingBackgroundImage: "--sheerid-landing-background-image-url",
|
|
@@ -172,7 +173,7 @@ var ct = (e, t = { partial: !0 }) => {
|
|
|
172
173
|
formFont: "--sheerid-font-family-body",
|
|
173
174
|
cssVariables: null,
|
|
174
175
|
customStyles: null
|
|
175
|
-
},
|
|
176
|
+
}, bt = {
|
|
176
177
|
"--sheerid-color-fg-05": {
|
|
177
178
|
from: "--sheerid-color-bg",
|
|
178
179
|
to: "--sheerid-color-fg",
|
|
@@ -283,7 +284,7 @@ var ct = (e, t = { partial: !0 }) => {
|
|
|
283
284
|
to: "--sheerid-color-fg",
|
|
284
285
|
percentage: 3
|
|
285
286
|
}
|
|
286
|
-
},
|
|
287
|
+
}, xt = ({ themeChoices: e, customCssFromOptions: t, children: n }) => {
|
|
287
288
|
let r = (e) => window.self === window.top ? e.replace(/body,/g, "").replace(/label,/g, "").replace(/button\[type=('|")submit('|")\]\s*?\{[\s\S]*?\}\n?/g, "").replace(/a:link,\s+a:visited,\s+a:hover,\s+a:active\s*?\{[\s\S]*?\}\n?/g, "").replace(/h1\s*?\{[\s\S]*?\}\n?/g, "") : e, i = t || e?.customCss || "", a = i ? r(i) : null, o = e?.landingPage, s = o?.backgroundColor || L.landingBackgroundColor, c = o?.primaryFontColor || L.landingPrimaryFontColor, l = o?.backgroundImageUrl || L.landingBackgroundImage, u = e?.backgroundColor || L.formBackgroundColor, d = e?.primaryFontColor || L.formPrimaryFontColor, f = e?.buttonColor || L.formButtonColor, p = e?.buttonFontColor || L.formButtonFontColor, m = e?.linkColor || L.formLinkColor, h = e?.h1FontColor || L.formH1FontColor, g = e?.helperFontColor || L.formHelperFontColor, _ = e?.font || L.formFont, v = {
|
|
288
289
|
[R.landingBackgroundColor]: s,
|
|
289
290
|
[R.landingPrimaryFontColor]: c,
|
|
@@ -296,12 +297,12 @@ var ct = (e, t = { partial: !0 }) => {
|
|
|
296
297
|
[R.formH1FontColor]: h,
|
|
297
298
|
[R.formHelperFontColor]: g,
|
|
298
299
|
[R.formFont]: _ === L.formFont ? L.formFont : `${_}, var(--sheerid-font-family-sans)`,
|
|
299
|
-
...Object.entries(
|
|
300
|
+
...Object.entries(bt).reduce((e, [t, n]) => {
|
|
300
301
|
let r = n.from.startsWith("--") ? `var(${n.from})` : n.from, i = n.to.startsWith("--") ? `var(${n.to})` : n.to;
|
|
301
302
|
return e[t] = `color-mix(in oklab, ${r} ${100 - n.percentage}%, ${i} ${n.percentage}%)`, e;
|
|
302
303
|
}, {})
|
|
303
304
|
}, y = F.useRef(null), b = M() === A.cdnInlineIframe, x = M() === A.cdnModalIframe;
|
|
304
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
305
|
+
return /* @__PURE__ */ (0, I.jsx)(yt.Provider, {
|
|
305
306
|
value: {
|
|
306
307
|
landingBackgroundColor: s,
|
|
307
308
|
landingPrimaryFontColor: c,
|
|
@@ -325,7 +326,7 @@ var ct = (e, t = { partial: !0 }) => {
|
|
|
325
326
|
children: [a && /* @__PURE__ */ (0, I.jsx)("style", { children: a }), n]
|
|
326
327
|
})
|
|
327
328
|
});
|
|
328
|
-
},
|
|
329
|
+
}, St = (e, t, n) => ({
|
|
329
330
|
minAge: t?.minAge || e?.config?.minAge,
|
|
330
331
|
maxAge: t?.maxAge || e?.config?.maxAge,
|
|
331
332
|
smsLoopEnabled: e?.smsLoopEnabled,
|
|
@@ -333,29 +334,29 @@ var ct = (e, t = { partial: !0 }) => {
|
|
|
333
334
|
transitionalMilitaryValidityDays: e?.transitionalMilitaryValidityDays,
|
|
334
335
|
currentStep: t?.currentStep,
|
|
335
336
|
viewModel: n
|
|
336
|
-
}),
|
|
337
|
+
}), Ct = {}, wt = (e) => Ct[e] ? (D.log(`getOverridenComponent returning ${e}`), Ct[e]) : null, Tt = ({ verificationService: e, linkText: t }) => {
|
|
337
338
|
let { segment: n } = e.verificationResponse, { programId: r, programTheme: i } = e;
|
|
338
|
-
return n ? /* @__PURE__ */ (0, I.jsx)(
|
|
339
|
+
return n ? /* @__PURE__ */ (0, I.jsx)(Se, {
|
|
339
340
|
className: "sid-faq sid-link",
|
|
340
|
-
href:
|
|
341
|
+
href: Xe(i, n, r, S(e.viewModel), e.verificationResponse),
|
|
341
342
|
children: t || /* @__PURE__ */ (0, I.jsx)(N, {
|
|
342
343
|
id: "getHelp",
|
|
343
344
|
defaultMessage: "Get help"
|
|
344
345
|
})
|
|
345
346
|
}) : null;
|
|
346
|
-
},
|
|
347
|
+
}, Et = /* @__PURE__ */ (0, I.jsx)(N, {
|
|
347
348
|
id: "poweredBy",
|
|
348
349
|
defaultMessage: "Verification services powered by SheerID."
|
|
349
|
-
}),
|
|
350
|
+
}), Dt = ({ verificationService: e, isCentered: t, variant: n = "default", hideFaqLink: r = !1 }) => {
|
|
350
351
|
switch (n) {
|
|
351
352
|
case "poweredby": return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
352
353
|
className: "sid-footer__powered-by-container-experiment",
|
|
353
354
|
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
354
355
|
className: "sid-footer__powered-by_powerby-experiment",
|
|
355
|
-
children:
|
|
356
|
+
children: Et
|
|
356
357
|
}), !r && /* @__PURE__ */ (0, I.jsx)("div", {
|
|
357
358
|
className: "sid-footer__powered-by_powerby-experiment",
|
|
358
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
359
|
+
children: /* @__PURE__ */ (0, I.jsx)(Tt, { verificationService: e })
|
|
359
360
|
})]
|
|
360
361
|
});
|
|
361
362
|
case "verificationby": return /* @__PURE__ */ (0, I.jsx)("div", {
|
|
@@ -368,28 +369,28 @@ var ct = (e, t = { partial: !0 }) => {
|
|
|
368
369
|
alt: "",
|
|
369
370
|
src: "https://com-sheerid-resources.s3.us-east-1.amazonaws.com/common/images/2018/icons/sheerid_logo.svg"
|
|
370
371
|
})
|
|
371
|
-
}),
|
|
372
|
+
}), Et]
|
|
372
373
|
})
|
|
373
374
|
});
|
|
374
375
|
default: return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
375
376
|
className: t ? "sid-footer__powered-by-container--stacked sid-l-horz-center" : "sid-footer__powered-by-container",
|
|
376
377
|
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
377
378
|
className: t ? "sid-footer__powered-by--stacked sid-l-horz-center" : "sid-footer__powered-by",
|
|
378
|
-
children:
|
|
379
|
+
children: Et
|
|
379
380
|
}), !r && /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
380
381
|
className: t ? "sid-l-space-top-sm" : "",
|
|
381
|
-
children: ["\xA0", /* @__PURE__ */ (0, I.jsx)(
|
|
382
|
+
children: ["\xA0", /* @__PURE__ */ (0, I.jsx)(Tt, { verificationService: e })]
|
|
382
383
|
})]
|
|
383
384
|
});
|
|
384
385
|
}
|
|
385
|
-
},
|
|
386
|
+
}, Ot = (e, t) => {
|
|
386
387
|
let n = F.useRef(null);
|
|
387
388
|
function r() {
|
|
388
389
|
clearInterval(n.current);
|
|
389
390
|
}
|
|
390
391
|
return F.useEffect(() => (n.current = setInterval(e, t), () => r()), [e, t]), r;
|
|
391
|
-
},
|
|
392
|
-
let a =
|
|
392
|
+
}, kt = ({ stepName: e, messages: t, logo: n, cancelSingleSignOn: r, cancelButtonType: i = Mt.PRIMARY }) => {
|
|
393
|
+
let a = ot(e);
|
|
393
394
|
return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
394
395
|
className: "sid-header sid-l-horz-center",
|
|
395
396
|
children: [
|
|
@@ -397,7 +398,7 @@ var ct = (e, t = { partial: !0 }) => {
|
|
|
397
398
|
className: "sid-pending-logo-container sid-l-horz-center",
|
|
398
399
|
children: n
|
|
399
400
|
}),
|
|
400
|
-
/* @__PURE__ */ (0, I.jsx)(
|
|
401
|
+
/* @__PURE__ */ (0, I.jsx)(st, {
|
|
401
402
|
align: "center",
|
|
402
403
|
children: t.title
|
|
403
404
|
}),
|
|
@@ -413,7 +414,7 @@ var ct = (e, t = { partial: !0 }) => {
|
|
|
413
414
|
children: /* @__PURE__ */ (0, I.jsx)("button", {
|
|
414
415
|
onClick: r,
|
|
415
416
|
type: "submit",
|
|
416
|
-
className: `sid-btn sid-${a}-pending-submit-btn ${i ===
|
|
417
|
+
className: `sid-btn sid-${a}-pending-submit-btn ${i === Mt.SECONDARY ? "sid-btn-light" : "sid-btn--dark"} sid-l-full-width`,
|
|
417
418
|
"aria-label": "submit",
|
|
418
419
|
children: t.cancel
|
|
419
420
|
})
|
|
@@ -422,20 +423,20 @@ var ct = (e, t = { partial: !0 }) => {
|
|
|
422
423
|
t?.subtitle2 ? /* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-xl" }) : /* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-lg" })
|
|
423
424
|
]
|
|
424
425
|
});
|
|
425
|
-
},
|
|
426
|
+
}, At = ({ stepName: e, messages: t, logo: n, cancelSingleSignOn: r, cancelButtonType: i = Mt.PRIMARY }) => /* @__PURE__ */ (0, I.jsx)(kt, {
|
|
426
427
|
messages: t,
|
|
427
428
|
stepName: e,
|
|
428
429
|
logo: n,
|
|
429
430
|
cancelSingleSignOn: r,
|
|
430
431
|
cancelButtonType: i
|
|
431
|
-
}),
|
|
432
|
-
let i =
|
|
432
|
+
}), jt = ({ messages: e, verificationService: t, updateViewModelAndOpenLoginTab: n, dashedStepName: r }) => {
|
|
433
|
+
let i = tt("hc-my-sheer-id-theme-builder");
|
|
433
434
|
return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
434
435
|
className: "sid-header sid-l-horz-center",
|
|
435
436
|
children: [
|
|
436
437
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
437
438
|
className: `sid-${r}-logo-container sid-l-horz-center`,
|
|
438
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
439
|
+
children: /* @__PURE__ */ (0, I.jsx)(at, {
|
|
439
440
|
verificationService: t,
|
|
440
441
|
fallbackLogo: !i && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
441
442
|
className: `sid-${r}-logo-default sid-l-lead-image`,
|
|
@@ -444,7 +445,7 @@ var ct = (e, t = { partial: !0 }) => {
|
|
|
444
445
|
})
|
|
445
446
|
})
|
|
446
447
|
}),
|
|
447
|
-
/* @__PURE__ */ (0, I.jsx)(
|
|
448
|
+
/* @__PURE__ */ (0, I.jsx)(st, {
|
|
448
449
|
align: "center",
|
|
449
450
|
children: e.title
|
|
450
451
|
}),
|
|
@@ -465,62 +466,62 @@ var ct = (e, t = { partial: !0 }) => {
|
|
|
465
466
|
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-lg" })
|
|
466
467
|
]
|
|
467
468
|
});
|
|
468
|
-
},
|
|
469
|
+
}, Mt = /* @__PURE__ */ function(e) {
|
|
469
470
|
return e.PRIMARY = "primary", e.SECONDARY = "secondary", e;
|
|
470
|
-
}({}),
|
|
471
|
-
let { programId: i } = e, a = e.viewModel,
|
|
471
|
+
}({}), Nt = ({ verificationService: e, stepName: t, messages: n, cancelButtonType: r = "primary" }) => {
|
|
472
|
+
let { programId: i } = e, a = e.viewModel, o = e.previousViewModel || void 0, s = e.verificationResponse, c = e.previousVerificationResponse || void 0, { verificationId: u, locale: d } = e.verificationResponse, f = Oe(), p = ot(t), m = tt("hc-my-sheer-id-theme-builder"), h, g = /* @__PURE__ */ (0, I.jsx)(at, {
|
|
472
473
|
verificationService: e,
|
|
473
|
-
fallbackLogo: !
|
|
474
|
-
className: `sid-${
|
|
474
|
+
fallbackLogo: !m && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
475
|
+
className: `sid-${p}-logo-default sid-l-lead-image`,
|
|
475
476
|
alt: "",
|
|
476
477
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg"
|
|
477
478
|
})
|
|
478
|
-
}),
|
|
479
|
-
e.fetchExistingVerificationRequest(i,
|
|
480
|
-
}, 1e3),
|
|
481
|
-
let r =
|
|
479
|
+
}), _ = () => setTimeout(() => {
|
|
480
|
+
e.fetchExistingVerificationRequest(i, u, c, o);
|
|
481
|
+
}, 1e3), y = (t, n) => {
|
|
482
|
+
let r = v(a, (e) => {
|
|
482
483
|
e[t] = n;
|
|
483
484
|
});
|
|
484
485
|
e.updateViewModel(r);
|
|
485
|
-
},
|
|
486
|
-
|
|
486
|
+
}, b = () => {
|
|
487
|
+
E(l.SSO_CANCEL_CLICKED, {
|
|
487
488
|
programId: i,
|
|
488
|
-
locale:
|
|
489
|
-
verificationId:
|
|
490
|
-
}),
|
|
491
|
-
let n =
|
|
492
|
-
|
|
493
|
-
},
|
|
494
|
-
|
|
489
|
+
locale: d,
|
|
490
|
+
verificationId: u
|
|
491
|
+
}), it();
|
|
492
|
+
let n = v(a, () => {});
|
|
493
|
+
D.info("SingleSignOnComponent submitting cancel request"), clearTimeout(h), e.submitStep(t, n, e.verificationResponse);
|
|
494
|
+
}, x = (e, t) => {
|
|
495
|
+
E(l.SSO_SIGN_IN_CLICKED, {
|
|
495
496
|
programId: i,
|
|
496
|
-
locale:
|
|
497
|
-
verificationId:
|
|
498
|
-
}),
|
|
499
|
-
},
|
|
500
|
-
let e = t ===
|
|
501
|
-
|
|
497
|
+
locale: d,
|
|
498
|
+
verificationId: u
|
|
499
|
+
}), y(e, t), S();
|
|
500
|
+
}, S = () => {
|
|
501
|
+
let e = t === O.sso ? be(s.loginUrl) : s.loginUrl;
|
|
502
|
+
rt(window.open(e, "_blank")), nt().focus();
|
|
502
503
|
};
|
|
503
|
-
return a.isSingleSignOnActive && !
|
|
504
|
-
id: `sid-step-${
|
|
505
|
-
className: `sid-${
|
|
506
|
-
"data-testid": `sid-step-${
|
|
504
|
+
return a.isSingleSignOnActive && !f && (h = _()), !a.countryChoice && o && o.countryChoice && y("countryChoice", o.countryChoice), /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
505
|
+
id: `sid-step-${p}`,
|
|
506
|
+
className: `sid-${p}-container sid-l-container`,
|
|
507
|
+
"data-testid": `sid-step-${p}`,
|
|
507
508
|
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
508
509
|
role: "main",
|
|
509
|
-
children: a.isSingleSignOnActive ? /* @__PURE__ */ (0, I.jsx)(
|
|
510
|
+
children: a.isSingleSignOnActive ? /* @__PURE__ */ (0, I.jsx)(At, {
|
|
510
511
|
stepName: t,
|
|
511
512
|
messages: n,
|
|
512
|
-
logo:
|
|
513
|
-
cancelSingleSignOn:
|
|
513
|
+
logo: g,
|
|
514
|
+
cancelSingleSignOn: b,
|
|
514
515
|
cancelButtonType: r
|
|
515
|
-
}) : /* @__PURE__ */ (0, I.jsx)(
|
|
516
|
+
}) : /* @__PURE__ */ (0, I.jsx)(jt, {
|
|
516
517
|
verificationService: e,
|
|
517
518
|
messages: n,
|
|
518
|
-
updateViewModelAndOpenLoginTab:
|
|
519
|
-
dashedStepName:
|
|
519
|
+
updateViewModelAndOpenLoginTab: x,
|
|
520
|
+
dashedStepName: p
|
|
520
521
|
})
|
|
521
|
-
}), /* @__PURE__ */ (0, I.jsx)(
|
|
522
|
+
}), /* @__PURE__ */ (0, I.jsx)(Je, { verificationService: e })]
|
|
522
523
|
});
|
|
523
|
-
},
|
|
524
|
+
}, Pt = {
|
|
524
525
|
title: /* @__PURE__ */ (0, I.jsx)(N, {
|
|
525
526
|
id: "step.sso.title",
|
|
526
527
|
defaultMessage: "Verify using your school credentials",
|
|
@@ -542,11 +543,11 @@ var ct = (e, t = { partial: !0 }) => {
|
|
|
542
543
|
id: "step.sso.subtitle2",
|
|
543
544
|
defaultMessage: "Can't sign in to your school?"
|
|
544
545
|
})
|
|
545
|
-
},
|
|
546
|
+
}, Ft = ({ verificationService: e }) => /* @__PURE__ */ (0, I.jsx)(Nt, {
|
|
546
547
|
verificationService: e,
|
|
547
|
-
stepName:
|
|
548
|
-
messages:
|
|
549
|
-
}),
|
|
548
|
+
stepName: O.sso,
|
|
549
|
+
messages: Pt
|
|
550
|
+
}), It = ({ logo: e }) => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
550
551
|
className: "sid-header sid-l-horz-center",
|
|
551
552
|
"data-testid": "sid-review-pending",
|
|
552
553
|
children: [
|
|
@@ -554,7 +555,7 @@ var ct = (e, t = { partial: !0 }) => {
|
|
|
554
555
|
className: "sid-l-horz-center",
|
|
555
556
|
children: e
|
|
556
557
|
}),
|
|
557
|
-
/* @__PURE__ */ (0, I.jsx)(
|
|
558
|
+
/* @__PURE__ */ (0, I.jsx)(st, {
|
|
558
559
|
align: "center",
|
|
559
560
|
children: /* @__PURE__ */ (0, I.jsx)(N, {
|
|
560
561
|
id: "step.pending.titleReview",
|
|
@@ -586,7 +587,7 @@ var ct = (e, t = { partial: !0 }) => {
|
|
|
586
587
|
}),
|
|
587
588
|
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-xl" })
|
|
588
589
|
]
|
|
589
|
-
}),
|
|
590
|
+
}), Lt = ({ logo: e }) => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
590
591
|
className: "sid-header sid-l-horz-center",
|
|
591
592
|
"data-testid": "sid-review-pending",
|
|
592
593
|
children: [
|
|
@@ -594,7 +595,7 @@ var ct = (e, t = { partial: !0 }) => {
|
|
|
594
595
|
className: "sid-l-horz-center",
|
|
595
596
|
children: e
|
|
596
597
|
}),
|
|
597
|
-
/* @__PURE__ */ (0, I.jsx)(
|
|
598
|
+
/* @__PURE__ */ (0, I.jsx)(st, {
|
|
598
599
|
align: "center",
|
|
599
600
|
children: /* @__PURE__ */ (0, I.jsx)(N, {
|
|
600
601
|
id: "step.pending.idCheckLoop.title",
|
|
@@ -618,7 +619,7 @@ var ct = (e, t = { partial: !0 }) => {
|
|
|
618
619
|
}),
|
|
619
620
|
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-xl" })
|
|
620
621
|
]
|
|
621
|
-
}),
|
|
622
|
+
}), Rt = { [k.SIGNZY]: {
|
|
622
623
|
title: /* @__PURE__ */ (0, I.jsx)(N, {
|
|
623
624
|
id: "step.thirdPartyLoop.signzy.title",
|
|
624
625
|
tagName: "h1",
|
|
@@ -636,7 +637,7 @@ var ct = (e, t = { partial: !0 }) => {
|
|
|
636
637
|
id: "step.thirdPartyLoop.signzy.cancel",
|
|
637
638
|
defaultMessage: "Upload Proof of Identity"
|
|
638
639
|
})
|
|
639
|
-
} },
|
|
640
|
+
} }, zt = ({ logo: e, isStepRoot: t = !1 }) => {
|
|
640
641
|
let n = /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
641
642
|
className: "sid-header sid-l-horz-center",
|
|
642
643
|
children: [
|
|
@@ -644,7 +645,7 @@ var ct = (e, t = { partial: !0 }) => {
|
|
|
644
645
|
className: "sid-error-logo-container sid-l-horz-center",
|
|
645
646
|
children: e
|
|
646
647
|
}),
|
|
647
|
-
/* @__PURE__ */ (0, I.jsx)(
|
|
648
|
+
/* @__PURE__ */ (0, I.jsx)(st, {
|
|
648
649
|
align: "center",
|
|
649
650
|
children: /* @__PURE__ */ (0, I.jsx)(N, {
|
|
650
651
|
id: "error",
|
|
@@ -672,16 +673,16 @@ var ct = (e, t = { partial: !0 }) => {
|
|
|
672
673
|
children: n
|
|
673
674
|
}) : n
|
|
674
675
|
});
|
|
675
|
-
},
|
|
676
|
-
let t =
|
|
677
|
-
return t ? /* @__PURE__ */ (0, I.jsx)(
|
|
676
|
+
}, Bt = ({ verificationService: e }) => {
|
|
677
|
+
let t = Rt[e.verificationResponse.thirdPartyLoopProvider] || void 0, n = tt("hc-my-sheer-id-theme-builder");
|
|
678
|
+
return t ? /* @__PURE__ */ (0, I.jsx)(Nt, {
|
|
678
679
|
verificationService: e,
|
|
679
|
-
stepName:
|
|
680
|
+
stepName: O.thirdPartyLoop,
|
|
680
681
|
messages: t,
|
|
681
|
-
cancelButtonType:
|
|
682
|
-
}) : /* @__PURE__ */ (0, I.jsx)(
|
|
682
|
+
cancelButtonType: Mt.SECONDARY
|
|
683
|
+
}) : /* @__PURE__ */ (0, I.jsx)(zt, {
|
|
683
684
|
isStepRoot: !0,
|
|
684
|
-
logo: /* @__PURE__ */ (0, I.jsx)(
|
|
685
|
+
logo: /* @__PURE__ */ (0, I.jsx)(at, {
|
|
685
686
|
verificationService: e,
|
|
686
687
|
fallbackLogo: !n && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
687
688
|
className: "sid-error-logo sid-l-lead-image",
|
|
@@ -690,30 +691,30 @@ var ct = (e, t = { partial: !0 }) => {
|
|
|
690
691
|
})
|
|
691
692
|
})
|
|
692
693
|
});
|
|
693
|
-
},
|
|
694
|
-
let i =
|
|
695
|
-
return i ? /* @__PURE__ */ (0, I.jsx)(
|
|
696
|
-
stepName:
|
|
694
|
+
}, Vt = ({ logo: e, verificationLastResponse: t, cancelThirdPartyLoop: n, isMockingPreviousStepThirdPartyLoop: r }) => {
|
|
695
|
+
let i = Rt[r ? ke("thirdPartyLoopProvider") : t?.thirdPartyLoopProvider] || void 0;
|
|
696
|
+
return i ? /* @__PURE__ */ (0, I.jsx)(At, {
|
|
697
|
+
stepName: O.thirdPartyLoop,
|
|
697
698
|
messages: i,
|
|
698
699
|
logo: e,
|
|
699
700
|
cancelSingleSignOn: n,
|
|
700
|
-
cancelButtonType:
|
|
701
|
-
}) : /* @__PURE__ */ (0, I.jsx)(
|
|
702
|
-
},
|
|
703
|
-
let { programId: t } = e, { viewModel: n } = e, r = e.previousViewModel || void 0, i = e.verificationResponse.lastResponse || e.previousVerificationResponse || void 0, { verificationId: a } = e.verificationResponse,
|
|
701
|
+
cancelButtonType: Mt.SECONDARY
|
|
702
|
+
}) : /* @__PURE__ */ (0, I.jsx)(zt, { logo: e });
|
|
703
|
+
}, Ht = 5e3, Ut = 2e4, Wt = 2e4, Gt = 2e3, Kt = ({ verificationService: e }) => {
|
|
704
|
+
let { programId: t } = e, { viewModel: n } = e, r = e.previousViewModel || void 0, i = e.verificationResponse.lastResponse || e.previousVerificationResponse || void 0, { verificationId: a } = e.verificationResponse, o = Oe(), s = je() && je() === O.sso, c = je() && je() === O.thirdPartyLoop, l = je() && je() === O.idCheckLoop, u = tt("hc-my-sheer-id-theme-builder"), d = () => i?.currentStep === O.sso, f = () => i?.currentStep === O.thirdPartyLoop, p = () => i?.currentStep === O.idCheckLoop, m = d() || f() || s || c, h = p() || l, g = !m && !h, [_, y] = F.useState(() => m ? Gt : h ? Wt : Ht);
|
|
704
705
|
F.useEffect(() => {
|
|
705
|
-
if (!
|
|
706
|
-
let e = setTimeout(() =>
|
|
706
|
+
if (!g) return;
|
|
707
|
+
let e = setTimeout(() => y(Wt), Ut);
|
|
707
708
|
return () => clearTimeout(e);
|
|
708
|
-
}, [
|
|
709
|
-
let
|
|
709
|
+
}, [g]);
|
|
710
|
+
let b = !o && Ot(() => {
|
|
710
711
|
e.fetchExistingVerificationRequest(t, a, i, r, !1);
|
|
711
|
-
},
|
|
712
|
-
let r =
|
|
713
|
-
|
|
714
|
-
},
|
|
712
|
+
}, _), x = (t) => {
|
|
713
|
+
let r = v(n, () => {});
|
|
714
|
+
D.info("StepSingleSignOnComponent submitting cancel request, step:", t), b(), it(), e.submitStep(t, r, i);
|
|
715
|
+
}, S = /* @__PURE__ */ (0, I.jsx)(at, {
|
|
715
716
|
verificationService: e,
|
|
716
|
-
fallbackLogo: !
|
|
717
|
+
fallbackLogo: !u && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
717
718
|
className: "sid-l-lead-image",
|
|
718
719
|
alt: "",
|
|
719
720
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg"
|
|
@@ -725,36 +726,36 @@ var ct = (e, t = { partial: !0 }) => {
|
|
|
725
726
|
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
726
727
|
role: "main",
|
|
727
728
|
children: (() => {
|
|
728
|
-
let e =
|
|
729
|
-
return e ? /* @__PURE__ */ (0, I.jsx)(
|
|
730
|
-
stepName:
|
|
731
|
-
messages:
|
|
732
|
-
logo:
|
|
733
|
-
cancelSingleSignOn: () =>
|
|
734
|
-
}) : t ? /* @__PURE__ */ (0, I.jsx)(
|
|
735
|
-
logo:
|
|
736
|
-
cancelThirdPartyLoop: () =>
|
|
729
|
+
let e = d() || s, t = f() || c, n = p() || l;
|
|
730
|
+
return e ? /* @__PURE__ */ (0, I.jsx)(At, {
|
|
731
|
+
stepName: O.sso,
|
|
732
|
+
messages: Pt,
|
|
733
|
+
logo: S,
|
|
734
|
+
cancelSingleSignOn: () => x(O.sso)
|
|
735
|
+
}) : t ? /* @__PURE__ */ (0, I.jsx)(Vt, {
|
|
736
|
+
logo: S,
|
|
737
|
+
cancelThirdPartyLoop: () => x(O.thirdPartyLoop),
|
|
737
738
|
verificationLastResponse: i,
|
|
738
|
-
isMockingPreviousStepThirdPartyLoop:
|
|
739
|
-
}) : n ? /* @__PURE__ */ (0, I.jsx)(
|
|
739
|
+
isMockingPreviousStepThirdPartyLoop: c
|
|
740
|
+
}) : n ? /* @__PURE__ */ (0, I.jsx)(Lt, { logo: S }) : /* @__PURE__ */ (0, I.jsx)(It, { logo: S });
|
|
740
741
|
})()
|
|
741
|
-
}),
|
|
742
|
+
}), h ? /* @__PURE__ */ (0, I.jsx)(Dt, {
|
|
742
743
|
verificationService: e,
|
|
743
744
|
isCentered: !0
|
|
744
|
-
}) : /* @__PURE__ */ (0, I.jsxs)(
|
|
745
|
+
}) : /* @__PURE__ */ (0, I.jsxs)(Je, {
|
|
745
746
|
verificationService: e,
|
|
746
747
|
children: [/* @__PURE__ */ (0, I.jsx)("div", {}), " "]
|
|
747
748
|
})]
|
|
748
749
|
});
|
|
749
|
-
},
|
|
750
|
-
let e =
|
|
750
|
+
}, qt = () => {
|
|
751
|
+
let e = ve(), t = fe(), n = me(), r = T(() => n.segment), i = F.useCallback(() => {
|
|
751
752
|
if (window.self !== window.top) {
|
|
752
753
|
let e = new URL(window.location.href);
|
|
753
754
|
e.searchParams.delete("verificationId"), window.location.replace(e);
|
|
754
755
|
return;
|
|
755
756
|
}
|
|
756
757
|
(async () => {
|
|
757
|
-
|
|
758
|
+
qe(e)(), await We(e)(t, r, void 0, void 0, !0);
|
|
758
759
|
})();
|
|
759
760
|
}, [
|
|
760
761
|
e,
|
|
@@ -768,13 +769,13 @@ var ct = (e, t = { partial: !0 }) => {
|
|
|
768
769
|
onKeyPress: i,
|
|
769
770
|
children: /* @__PURE__ */ (0, I.jsx)(P, { id: "tryAgain" })
|
|
770
771
|
});
|
|
771
|
-
},
|
|
772
|
+
}, Jt = {
|
|
772
773
|
NONE: "none",
|
|
773
774
|
RESET: "reset",
|
|
774
775
|
POSTMESSAGE: "postMessage",
|
|
775
776
|
REDIRECT: "redirect"
|
|
776
|
-
},
|
|
777
|
-
let e =
|
|
777
|
+
}, Yt = () => {
|
|
778
|
+
let e = me(), t = () => ce({
|
|
778
779
|
action: "tryAgain",
|
|
779
780
|
verificationResponse: e
|
|
780
781
|
});
|
|
@@ -785,71 +786,71 @@ var ct = (e, t = { partial: !0 }) => {
|
|
|
785
786
|
onKeyPress: t,
|
|
786
787
|
children: /* @__PURE__ */ (0, I.jsx)(P, { id: "tryAgain" })
|
|
787
788
|
});
|
|
788
|
-
},
|
|
789
|
+
}, Xt = ({ redirectUrl: e, target: t = "_blank" }) => /* @__PURE__ */ (0, I.jsx)(Se, {
|
|
789
790
|
target: t,
|
|
790
791
|
href: e.toString(),
|
|
791
792
|
className: "sid-btn sid-btn--dark",
|
|
792
793
|
children: /* @__PURE__ */ (0, I.jsx)(P, { id: "seeOtherOffers" })
|
|
793
|
-
}),
|
|
794
|
-
if (!(typeof e == "object" && "type" in e && Object.values(
|
|
795
|
-
},
|
|
796
|
-
let e =
|
|
794
|
+
}), Zt = (e) => {
|
|
795
|
+
if (!(typeof e == "object" && "type" in e && Object.values(Jt).includes(e.type))) throw RangeError("Invalid tryAgainAction option type - using default TryAgainButton.");
|
|
796
|
+
}, Qt = () => {
|
|
797
|
+
let e = _("tryAgainAction");
|
|
797
798
|
try {
|
|
798
|
-
switch (
|
|
799
|
-
case
|
|
800
|
-
case
|
|
801
|
-
case
|
|
799
|
+
switch (Zt(e), e.type) {
|
|
800
|
+
case Jt.NONE: return null;
|
|
801
|
+
case Jt.POSTMESSAGE: return window.self === window.top ? (D.error(`Invalid tryAgainAction option type "${e.type}" - page must be embedded in an iframe.`), null) : /* @__PURE__ */ (0, I.jsx)(Yt, {});
|
|
802
|
+
case Jt.REDIRECT: return /* @__PURE__ */ (0, I.jsx)(Xt, {
|
|
802
803
|
redirectUrl: e.url,
|
|
803
804
|
target: e.target
|
|
804
805
|
});
|
|
805
|
-
case
|
|
806
|
+
case Jt.RESET: return /* @__PURE__ */ (0, I.jsx)(qt, {});
|
|
806
807
|
default: throw RangeError("Invalid tryAgainAction option type - using default TryAgainButton.");
|
|
807
808
|
}
|
|
808
809
|
} catch (e) {
|
|
809
|
-
return
|
|
810
|
+
return D.error(e.message), /* @__PURE__ */ (0, I.jsx)(qt, {});
|
|
810
811
|
}
|
|
811
|
-
},
|
|
812
|
+
}, $t = [
|
|
812
813
|
"docReviewLimitExceeded",
|
|
813
814
|
"verificationLimitExceeded",
|
|
814
815
|
"fraudRulesReject"
|
|
815
|
-
],
|
|
816
|
+
], en = ({ verificationService: e, errorIds: t }) => {
|
|
816
817
|
let n = t[0];
|
|
817
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
818
|
+
return /* @__PURE__ */ (0, I.jsx)(st, {
|
|
818
819
|
align: "center",
|
|
819
820
|
children: /* @__PURE__ */ (0, I.jsx)("h1", { children: /* @__PURE__ */ (0, I.jsx)(P, { id: e?.messages[`step.error.errorId.${n}.title`] ? `step.error.errorId.${n}.title` : "step.error.title" }) })
|
|
820
821
|
});
|
|
821
|
-
},
|
|
822
|
+
}, tn = ({ errorIds: e, errorDetailId: t }) => {
|
|
822
823
|
let n = /* @__PURE__ */ new Map();
|
|
823
824
|
return t ? n.set(t, `errorDetailId.${t}`) : e?.forEach((e) => n.set(e, `errorId.${e}`)), n.size > 0 ? /* @__PURE__ */ (0, I.jsx)("p", { children: Array.from(n).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(P, { id: t }, t)) }) : null;
|
|
824
|
-
},
|
|
825
|
+
}, nn = ({ verificationService: e, errorIds: t }) => {
|
|
825
826
|
let n = `step.error.errorId.${t[0]}.note`;
|
|
826
827
|
return e.messages?.[n] ? /* @__PURE__ */ (0, I.jsx)("p", {
|
|
827
828
|
className: "sid-error-note sid-h-small-text",
|
|
828
829
|
children: /* @__PURE__ */ (0, I.jsx)(P, { id: n })
|
|
829
830
|
}) : null;
|
|
830
|
-
},
|
|
831
|
+
}, rn = ({ verificationService: e, errorIds: t, redirectUrl: n }) => {
|
|
831
832
|
if (t.includes("unauthorizedAccountStatus")) {
|
|
832
|
-
let t =
|
|
833
|
-
return t ? /* @__PURE__ */ (0, I.jsx)(
|
|
833
|
+
let t = T(() => e.programTheme.config.brandInfo.faqUrl);
|
|
834
|
+
return t ? /* @__PURE__ */ (0, I.jsx)(Se, {
|
|
834
835
|
href: t,
|
|
835
|
-
onClick: () =>
|
|
836
|
+
onClick: () => o(O.error, t),
|
|
836
837
|
className: "sid-btn sid-faq-btn sid-btn-light",
|
|
837
838
|
children: /* @__PURE__ */ (0, I.jsx)(P, { id: "step.error.errorId.unauthorizedAccountStatus.buttonText" })
|
|
838
839
|
}) : null;
|
|
839
840
|
}
|
|
840
841
|
if (t.includes("verificationLimitExceeded")) return null;
|
|
841
|
-
if (t.includes("missingRequiredMetadata") || t.includes("missingRequiredExternalId")) return
|
|
842
|
+
if (t.includes("missingRequiredMetadata") || t.includes("missingRequiredExternalId")) return _("tryAgainAction").type === "reset" ? null : /* @__PURE__ */ (0, I.jsx)(Qt, {});
|
|
842
843
|
let r = t[0];
|
|
843
|
-
return e.messages?.[`step.error.errorId.${r}.buttonText`] && n ? /* @__PURE__ */ (0, I.jsx)(
|
|
844
|
+
return e.messages?.[`step.error.errorId.${r}.buttonText`] && n ? /* @__PURE__ */ (0, I.jsx)(Se, {
|
|
844
845
|
href: n,
|
|
845
|
-
onClick: () =>
|
|
846
|
+
onClick: () => o(O.error, n),
|
|
846
847
|
className: "sid-btn sid-error-btn sid-btn-light",
|
|
847
848
|
children: /* @__PURE__ */ (0, I.jsx)(P, { id: `step.error.errorId.${r}.buttonText` })
|
|
848
|
-
}) : /* @__PURE__ */ (0, I.jsx)(
|
|
849
|
-
},
|
|
850
|
-
let { errorIds: n, redirectUrl: r, errorDetailId: i } = e.verificationResponse, a =
|
|
849
|
+
}) : /* @__PURE__ */ (0, I.jsx)(Qt, {});
|
|
850
|
+
}, an = ({ verificationService: e, errorId: t }) => {
|
|
851
|
+
let { errorIds: n, redirectUrl: r, errorDetailId: i } = e.verificationResponse, a = tt("hc-my-sheer-id-theme-builder"), o = /* @__PURE__ */ new Set();
|
|
851
852
|
t && o.add(t), Array.isArray(n) && n.forEach((e) => o.add(e));
|
|
852
|
-
let s = Array.from(o), c = s.some((e) =>
|
|
853
|
+
let s = Array.from(o), c = s.some((e) => $t.includes(e));
|
|
853
854
|
return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
854
855
|
id: "sid-step-error",
|
|
855
856
|
className: "sid-error-container sid-l-container",
|
|
@@ -859,7 +860,7 @@ var ct = (e, t = { partial: !0 }) => {
|
|
|
859
860
|
children: [
|
|
860
861
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
861
862
|
className: "sid-error-logo-container sid-l-horz-center",
|
|
862
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
863
|
+
children: /* @__PURE__ */ (0, I.jsx)(at, {
|
|
863
864
|
verificationService: e,
|
|
864
865
|
fallbackLogo: !a && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
865
866
|
className: "sid-error-logo sid-l-lead-image",
|
|
@@ -868,7 +869,7 @@ var ct = (e, t = { partial: !0 }) => {
|
|
|
868
869
|
})
|
|
869
870
|
})
|
|
870
871
|
}),
|
|
871
|
-
/* @__PURE__ */ (0, I.jsx)(
|
|
872
|
+
/* @__PURE__ */ (0, I.jsx)(en, {
|
|
872
873
|
verificationService: e,
|
|
873
874
|
errorIds: s
|
|
874
875
|
}),
|
|
@@ -877,10 +878,10 @@ var ct = (e, t = { partial: !0 }) => {
|
|
|
877
878
|
children: [
|
|
878
879
|
/* @__PURE__ */ (0, I.jsxs)("div", {
|
|
879
880
|
className: "sid-error-msg sid-l-horz-center",
|
|
880
|
-
children: [/* @__PURE__ */ (0, I.jsx)(
|
|
881
|
+
children: [/* @__PURE__ */ (0, I.jsx)(tn, {
|
|
881
882
|
errorIds: s,
|
|
882
883
|
errorDetailId: i
|
|
883
|
-
}), /* @__PURE__ */ (0, I.jsx)(
|
|
884
|
+
}), /* @__PURE__ */ (0, I.jsx)(nn, {
|
|
884
885
|
verificationService: e,
|
|
885
886
|
errorIds: s
|
|
886
887
|
})]
|
|
@@ -891,7 +892,7 @@ var ct = (e, t = { partial: !0 }) => {
|
|
|
891
892
|
}),
|
|
892
893
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
893
894
|
className: "sid-l-space-top-lg sid-error-button-container sid-l-horz-center",
|
|
894
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
895
|
+
children: /* @__PURE__ */ (0, I.jsx)(rn, {
|
|
895
896
|
verificationService: e,
|
|
896
897
|
errorIds: s,
|
|
897
898
|
redirectUrl: r
|
|
@@ -902,63 +903,63 @@ var ct = (e, t = { partial: !0 }) => {
|
|
|
902
903
|
]
|
|
903
904
|
}), /* @__PURE__ */ (0, I.jsx)("div", {
|
|
904
905
|
className: "sid-footer sid-powered-by-container sid-l-horz-center sid-l-space-top-xl sid-h-small-text",
|
|
905
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
906
|
+
children: /* @__PURE__ */ (0, I.jsx)(Dt, {
|
|
906
907
|
verificationService: e,
|
|
907
908
|
isCentered: !0,
|
|
908
909
|
hideFaqLink: c
|
|
909
910
|
})
|
|
910
911
|
})]
|
|
911
912
|
});
|
|
912
|
-
},
|
|
913
|
-
StepPendingComponent:
|
|
914
|
-
StepErrorComponent:
|
|
915
|
-
StepStudentPersonalInfoComponent: F.lazy(() => import("./chunk/StepStudentPersonalInfo-
|
|
916
|
-
StepOverrideComponent: F.lazy(() => import("./chunk/StepOverrideComponent
|
|
917
|
-
StepAgePersonalInfoComponent: F.lazy(() => import("./chunk/StepAgePersonalInfo-
|
|
918
|
-
StepSeniorPersonalInfoComponent: F.lazy(() => import("./chunk/StepAgePersonalInfo-
|
|
919
|
-
StepCollectMilitaryPersonalInfoComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-
|
|
920
|
-
StepCollectMilitaryStatusComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-
|
|
921
|
-
StepActiveMilitaryPersonalInfoComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-
|
|
922
|
-
StepInactiveMilitaryPersonalInfoComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-
|
|
923
|
-
StepDriverLicensePersonalInfoComponent: F.lazy(() => import("./chunk/StepDriverLicensePersonalInfoComponent-
|
|
924
|
-
StepEmploymentPersonalInfoComponent: F.lazy(() => import("./chunk/StepEmploymentPersonalInfo-
|
|
925
|
-
StepFirstResponderPersonalInfoComponent: F.lazy(() => import("./chunk/StepFirstResponderPersonalInfo-
|
|
926
|
-
StepGeneralIdentityPersonalInfoComponent: F.lazy(() => import("./chunk/StepGeneralIdentityPersonalInfoComponent-
|
|
927
|
-
StepHybridIdentityPersonalInfoComponent: F.lazy(() => import("./chunk/StepHybridIdentityPersonalInfoComponent-
|
|
928
|
-
StepIDCheckLoopComponent: F.lazy(() => import("./chunk/StepIDCheckLoop-
|
|
929
|
-
StepLicensedProfessionalPersonalInfoComponent: F.lazy(() => import("./chunk/StepLicensedProfessionalPersonalInfo-
|
|
930
|
-
StepLowIncomePersonalInfoComponent: F.lazy(() => import("./chunk/StepLowIncomePersonalInfo-
|
|
931
|
-
StepMedicalProfessionalPersonalInfoComponent: F.lazy(() => import("./chunk/StepMedicalProfessionalPersonalInfo-
|
|
932
|
-
StepMemberPersonalInfoComponent: F.lazy(() => import("./chunk/StepMemberPersonalInfo-
|
|
933
|
-
StepConsolationComponent: F.lazy(() => import("./chunk/StepConsolation-
|
|
934
|
-
StepDocUploadComponent: F.lazy(() => import("./chunk/StepDocUpload
|
|
935
|
-
StepEmailLoopComponent: F.lazy(() => import("./chunk/StepEmailLoop-
|
|
936
|
-
StepPendingEmailLoopComponent: F.lazy(() => import("./chunk/EmailLoopPending-
|
|
937
|
-
StepMoverPersonalInfoComponent: F.lazy(() => import("./chunk/StepMoverPersonalInfo-
|
|
938
|
-
StepSMSLoopComponent: F.lazy(() => import("./chunk/StepSMSLoop-
|
|
939
|
-
StepSocialSecurity: F.lazy(() => import("./chunk/StepSocialSecurityNumber-
|
|
913
|
+
}, on = {
|
|
914
|
+
StepPendingComponent: Kt,
|
|
915
|
+
StepErrorComponent: an,
|
|
916
|
+
StepStudentPersonalInfoComponent: F.lazy(() => import("./chunk/StepStudentPersonalInfo-CDYBQDUD.js")),
|
|
917
|
+
StepOverrideComponent: F.lazy(() => import("./chunk/StepOverrideComponent-DFFHorkG.js")),
|
|
918
|
+
StepAgePersonalInfoComponent: F.lazy(() => import("./chunk/StepAgePersonalInfo-Ce2Rjk-T.js")),
|
|
919
|
+
StepSeniorPersonalInfoComponent: F.lazy(() => import("./chunk/StepAgePersonalInfo-Ce2Rjk-T.js")),
|
|
920
|
+
StepCollectMilitaryPersonalInfoComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-Bf6RUl4N.js")),
|
|
921
|
+
StepCollectMilitaryStatusComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-Bf6RUl4N.js")),
|
|
922
|
+
StepActiveMilitaryPersonalInfoComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-Bf6RUl4N.js")),
|
|
923
|
+
StepInactiveMilitaryPersonalInfoComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-Bf6RUl4N.js")),
|
|
924
|
+
StepDriverLicensePersonalInfoComponent: F.lazy(() => import("./chunk/StepDriverLicensePersonalInfoComponent-CA7UDvwn.js")),
|
|
925
|
+
StepEmploymentPersonalInfoComponent: F.lazy(() => import("./chunk/StepEmploymentPersonalInfo-BVCNxtzc.js")),
|
|
926
|
+
StepFirstResponderPersonalInfoComponent: F.lazy(() => import("./chunk/StepFirstResponderPersonalInfo-MuQvmYpR.js")),
|
|
927
|
+
StepGeneralIdentityPersonalInfoComponent: F.lazy(() => import("./chunk/StepGeneralIdentityPersonalInfoComponent-QSa52ZsF.js")),
|
|
928
|
+
StepHybridIdentityPersonalInfoComponent: F.lazy(() => import("./chunk/StepHybridIdentityPersonalInfoComponent-C1qSLXFj.js")),
|
|
929
|
+
StepIDCheckLoopComponent: F.lazy(() => import("./chunk/StepIDCheckLoop-DegU62q3.js")),
|
|
930
|
+
StepLicensedProfessionalPersonalInfoComponent: F.lazy(() => import("./chunk/StepLicensedProfessionalPersonalInfo-Ci3GtjsS.js")),
|
|
931
|
+
StepLowIncomePersonalInfoComponent: F.lazy(() => import("./chunk/StepLowIncomePersonalInfo-6psOksgp.js")),
|
|
932
|
+
StepMedicalProfessionalPersonalInfoComponent: F.lazy(() => import("./chunk/StepMedicalProfessionalPersonalInfo-Cfbyvm5-.js")),
|
|
933
|
+
StepMemberPersonalInfoComponent: F.lazy(() => import("./chunk/StepMemberPersonalInfo-CJGm1yf-.js")),
|
|
934
|
+
StepConsolationComponent: F.lazy(() => import("./chunk/StepConsolation-C0ZFoRhl.js")),
|
|
935
|
+
StepDocUploadComponent: F.lazy(() => import("./chunk/StepDocUpload-Fg28EFnj.js")),
|
|
936
|
+
StepEmailLoopComponent: F.lazy(() => import("./chunk/StepEmailLoop-CQdaX7qR.js")),
|
|
937
|
+
StepPendingEmailLoopComponent: F.lazy(() => import("./chunk/EmailLoopPending-CdcMaaA_.js").then((e) => e.n)),
|
|
938
|
+
StepMoverPersonalInfoComponent: F.lazy(() => import("./chunk/StepMoverPersonalInfo-DxcQ34_S.js")),
|
|
939
|
+
StepSMSLoopComponent: F.lazy(() => import("./chunk/StepSMSLoop-BrA59sed.js")),
|
|
940
|
+
StepSocialSecurity: F.lazy(() => import("./chunk/StepSocialSecurityNumber-J3hOG61Y.js")),
|
|
940
941
|
StepSSOComponent: F.lazy(() => import("./chunk/StepSSO-BGHCbduX.js")),
|
|
941
|
-
StepSuccessComponent: F.lazy(() => import("./chunk/StepSuccess-
|
|
942
|
-
StepTeacherPersonalInfoComponent: F.lazy(() => import("./chunk/StepTeacherPersonalInfo-
|
|
943
|
-
StepCompleteAuthentication: F.lazy(() => import("./chunk/StepCompleteAuthentication-
|
|
944
|
-
StepCollectIdentifierComponent: F.lazy(() => import("./chunk/StepCollectIdentifier-
|
|
945
|
-
StepCollectPersonalInfo: F.lazy(() => import("./chunk/StepCollectPersonalInfo-
|
|
942
|
+
StepSuccessComponent: F.lazy(() => import("./chunk/StepSuccess-DG0gzN_H.js")),
|
|
943
|
+
StepTeacherPersonalInfoComponent: F.lazy(() => import("./chunk/StepTeacherPersonalInfo-tjOfVXdN.js")),
|
|
944
|
+
StepCompleteAuthentication: F.lazy(() => import("./chunk/StepCompleteAuthentication-W7k49rug.js")),
|
|
945
|
+
StepCollectIdentifierComponent: F.lazy(() => import("./chunk/StepCollectIdentifier-C5kXQDZS.js")),
|
|
946
|
+
StepCollectPersonalInfo: F.lazy(() => import("./chunk/StepCollectPersonalInfo-OYDCEhYc.js")),
|
|
946
947
|
StepThirdPartyLoopComponent: F.lazy(() => import("./chunk/StepThirdPartyLoop-CbFTIlwP.js"))
|
|
947
|
-
}, z = (e) => (
|
|
948
|
-
|
|
948
|
+
}, z = (e) => (D.info("getComponent", e), wt(e) || on[e]), sn = () => /* @__PURE__ */ (0, I.jsx)(mt, {}), cn = ({ stepToLoad: e, verificationService: t }) => {
|
|
949
|
+
D.info(`LoadStepComponent: rendering step: ${e}`);
|
|
949
950
|
let n;
|
|
950
951
|
switch ((0, F.useEffect)(() => {
|
|
951
952
|
try {
|
|
952
|
-
performance.mark(
|
|
953
|
+
performance.mark(u.INITIAL_STEP_LOAD);
|
|
953
954
|
} catch {}
|
|
954
955
|
}, []), F.useEffect(() => {
|
|
955
956
|
if (!["pending", "error"].includes(e)) try {
|
|
956
|
-
performance.mark(
|
|
957
|
-
eventName:
|
|
957
|
+
performance.mark(l.STEP_SEEN), ee({
|
|
958
|
+
eventName: l.STEP_SEEN,
|
|
958
959
|
params: { step: e }
|
|
959
960
|
});
|
|
960
961
|
} catch (e) {
|
|
961
|
-
|
|
962
|
+
D.error(e);
|
|
962
963
|
}
|
|
963
964
|
}, [e]), e) {
|
|
964
965
|
case "collectPersonalInfo":
|
|
@@ -1072,37 +1073,37 @@ var ct = (e, t = { partial: !0 }) => {
|
|
|
1072
1073
|
case "cancelEmailLoop":
|
|
1073
1074
|
case "cancelSocialSecurityNumber":
|
|
1074
1075
|
case "docReviewLimitExceeded":
|
|
1075
|
-
case "emailLoopCollectOrganizationEmail": return
|
|
1076
|
+
case "emailLoopCollectOrganizationEmail": return D.error("Attempted to load unexpected step", e), /* @__PURE__ */ (0, I.jsx)(an, {
|
|
1076
1077
|
verificationService: t,
|
|
1077
1078
|
errorId: "invalidStep"
|
|
1078
1079
|
});
|
|
1079
|
-
default: return
|
|
1080
|
+
default: return D.error("Unable to load step", e), /* @__PURE__ */ (0, I.jsx)(an, {
|
|
1080
1081
|
verificationService: t,
|
|
1081
1082
|
errorId: "invalidStep"
|
|
1082
1083
|
});
|
|
1083
1084
|
}
|
|
1084
1085
|
return /* @__PURE__ */ (0, I.jsx)(F.Suspense, {
|
|
1085
|
-
fallback:
|
|
1086
|
+
fallback: sn(),
|
|
1086
1087
|
children: /* @__PURE__ */ (0, I.jsx)(n, { verificationService: t })
|
|
1087
1088
|
});
|
|
1088
|
-
},
|
|
1089
|
+
}, ln = ({ dangerouslySetInnerHTML: e, ...t }) => e ? /* @__PURE__ */ (0, I.jsx)("span", {
|
|
1089
1090
|
dangerouslySetInnerHTML: e,
|
|
1090
1091
|
...t
|
|
1091
|
-
}) : /* @__PURE__ */ (0, I.jsx)(F.Fragment, { ...t }),
|
|
1092
|
+
}) : /* @__PURE__ */ (0, I.jsx)(F.Fragment, { ...t }), un = ({ verificationService: e }) => e.programTheme?.isTestMode ? /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
1092
1093
|
className: "sid-test-mode-flag sid-l-container sid-l-horz-center",
|
|
1093
1094
|
role: "note",
|
|
1094
|
-
children: ["Test Mode", /* @__PURE__ */ (0, I.jsx)(
|
|
1095
|
+
children: ["Test Mode", /* @__PURE__ */ (0, I.jsx)(Se, {
|
|
1095
1096
|
className: "sid-test-mode-flag__link",
|
|
1096
1097
|
href: "https://developer.sheerid.com/getting-started#test-program",
|
|
1097
1098
|
"aria-label": "learn more about a sheerid test mode program",
|
|
1098
1099
|
children: "(learn more)"
|
|
1099
1100
|
})]
|
|
1100
|
-
}) : null,
|
|
1101
|
+
}) : null, dn = ({ verificationService: e, title: t, children: n, fallbackLogo: r, classNameIdentifier: i = void 0 }) => /* @__PURE__ */ (0, I.jsxs)("header", {
|
|
1101
1102
|
className: "sid-header",
|
|
1102
1103
|
children: [
|
|
1103
1104
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
1104
1105
|
className: `sid-logo-container sid-l-horz-center ${i ? `sid-${i}-logo-container` : ""}`,
|
|
1105
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
1106
|
+
children: /* @__PURE__ */ (0, I.jsx)(at, {
|
|
1106
1107
|
verificationService: e,
|
|
1107
1108
|
fallbackLogo: r
|
|
1108
1109
|
})
|
|
@@ -1122,30 +1123,30 @@ function B(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
|
|
|
1122
1123
|
}
|
|
1123
1124
|
//#endregion
|
|
1124
1125
|
//#region ../node_modules/@radix-ui/react-compose-refs/dist/index.mjs
|
|
1125
|
-
function
|
|
1126
|
+
function fn(e, t) {
|
|
1126
1127
|
if (typeof e == "function") return e(t);
|
|
1127
1128
|
e != null && (e.current = t);
|
|
1128
1129
|
}
|
|
1129
|
-
function
|
|
1130
|
+
function pn(...e) {
|
|
1130
1131
|
return (t) => {
|
|
1131
1132
|
let n = !1, r = e.map((e) => {
|
|
1132
|
-
let r =
|
|
1133
|
+
let r = fn(e, t);
|
|
1133
1134
|
return !n && typeof r == "function" && (n = !0), r;
|
|
1134
1135
|
});
|
|
1135
1136
|
if (n) return () => {
|
|
1136
1137
|
for (let t = 0; t < r.length; t++) {
|
|
1137
1138
|
let n = r[t];
|
|
1138
|
-
typeof n == "function" ? n() :
|
|
1139
|
+
typeof n == "function" ? n() : fn(e[t], null);
|
|
1139
1140
|
}
|
|
1140
1141
|
};
|
|
1141
1142
|
};
|
|
1142
1143
|
}
|
|
1143
1144
|
function V(...e) {
|
|
1144
|
-
return F.useCallback(
|
|
1145
|
+
return F.useCallback(pn(...e), e);
|
|
1145
1146
|
}
|
|
1146
1147
|
//#endregion
|
|
1147
1148
|
//#region ../node_modules/@radix-ui/react-context/dist/index.mjs
|
|
1148
|
-
function
|
|
1149
|
+
function mn(e, t = []) {
|
|
1149
1150
|
let n = [];
|
|
1150
1151
|
function r(t, r) {
|
|
1151
1152
|
let i = F.createContext(r), a = n.length;
|
|
@@ -1176,9 +1177,9 @@ function pn(e, t = []) {
|
|
|
1176
1177
|
} }), [n, r]);
|
|
1177
1178
|
};
|
|
1178
1179
|
};
|
|
1179
|
-
return i.scopeName = e, [r,
|
|
1180
|
+
return i.scopeName = e, [r, hn(i, ...t)];
|
|
1180
1181
|
}
|
|
1181
|
-
function
|
|
1182
|
+
function hn(...e) {
|
|
1182
1183
|
let t = e[0];
|
|
1183
1184
|
if (e.length === 1) return t;
|
|
1184
1185
|
let n = () => {
|
|
@@ -1202,9 +1203,9 @@ function mn(...e) {
|
|
|
1202
1203
|
//#endregion
|
|
1203
1204
|
//#region ../node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
1204
1205
|
// @__NO_SIDE_EFFECTS__
|
|
1205
|
-
function
|
|
1206
|
-
let t = /* @__PURE__ */
|
|
1207
|
-
let { children: r, ...i } = e, a = F.Children.toArray(r), o = a.find(
|
|
1206
|
+
function gn(e) {
|
|
1207
|
+
let t = /* @__PURE__ */ _n(e), n = F.forwardRef((e, n) => {
|
|
1208
|
+
let { children: r, ...i } = e, a = F.Children.toArray(r), o = a.find(yn);
|
|
1208
1209
|
if (o) {
|
|
1209
1210
|
let e = o.props.children, r = a.map((t) => t === o ? F.Children.count(e) > 1 ? F.Children.only(null) : F.isValidElement(e) ? e.props.children : null : t);
|
|
1210
1211
|
return /* @__PURE__ */ (0, I.jsx)(t, {
|
|
@@ -1222,22 +1223,22 @@ function hn(e) {
|
|
|
1222
1223
|
return n.displayName = `${e}.Slot`, n;
|
|
1223
1224
|
}
|
|
1224
1225
|
// @__NO_SIDE_EFFECTS__
|
|
1225
|
-
function
|
|
1226
|
+
function _n(e) {
|
|
1226
1227
|
let t = F.forwardRef((e, t) => {
|
|
1227
1228
|
let { children: n, ...r } = e;
|
|
1228
1229
|
if (F.isValidElement(n)) {
|
|
1229
|
-
let e =
|
|
1230
|
-
return n.type !== F.Fragment && (i.ref = t ?
|
|
1230
|
+
let e = xn(n), i = bn(r, n.props);
|
|
1231
|
+
return n.type !== F.Fragment && (i.ref = t ? pn(t, e) : e), F.cloneElement(n, i);
|
|
1231
1232
|
}
|
|
1232
1233
|
return F.Children.count(n) > 1 ? F.Children.only(null) : null;
|
|
1233
1234
|
});
|
|
1234
1235
|
return t.displayName = `${e}.SlotClone`, t;
|
|
1235
1236
|
}
|
|
1236
|
-
var
|
|
1237
|
-
function
|
|
1238
|
-
return F.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId ===
|
|
1237
|
+
var vn = Symbol("radix.slottable");
|
|
1238
|
+
function yn(e) {
|
|
1239
|
+
return F.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === vn;
|
|
1239
1240
|
}
|
|
1240
|
-
function
|
|
1241
|
+
function bn(e, t) {
|
|
1241
1242
|
let n = { ...t };
|
|
1242
1243
|
for (let r in t) {
|
|
1243
1244
|
let i = e[r], a = t[r];
|
|
@@ -1254,7 +1255,7 @@ function yn(e, t) {
|
|
|
1254
1255
|
...n
|
|
1255
1256
|
};
|
|
1256
1257
|
}
|
|
1257
|
-
function
|
|
1258
|
+
function xn(e) {
|
|
1258
1259
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
1259
1260
|
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);
|
|
1260
1261
|
}
|
|
@@ -1279,7 +1280,7 @@ var H = [
|
|
|
1279
1280
|
"svg",
|
|
1280
1281
|
"ul"
|
|
1281
1282
|
].reduce((e, t) => {
|
|
1282
|
-
let n = /* @__PURE__ */
|
|
1283
|
+
let n = /* @__PURE__ */ gn(`Primitive.${t}`), r = F.forwardRef((e, r) => {
|
|
1283
1284
|
let { asChild: i, ...a } = e, o = i ? n : t;
|
|
1284
1285
|
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ (0, I.jsx)(o, {
|
|
1285
1286
|
...a,
|
|
@@ -1291,12 +1292,12 @@ var H = [
|
|
|
1291
1292
|
[t]: r
|
|
1292
1293
|
};
|
|
1293
1294
|
}, {});
|
|
1294
|
-
function
|
|
1295
|
-
e &&
|
|
1295
|
+
function Sn(e, t) {
|
|
1296
|
+
e && dt.flushSync(() => e.dispatchEvent(t));
|
|
1296
1297
|
}
|
|
1297
1298
|
//#endregion
|
|
1298
1299
|
//#region ../node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
|
|
1299
|
-
function
|
|
1300
|
+
function Cn(e) {
|
|
1300
1301
|
let t = F.useRef(e);
|
|
1301
1302
|
return F.useEffect(() => {
|
|
1302
1303
|
t.current = e;
|
|
@@ -1304,8 +1305,8 @@ function Sn(e) {
|
|
|
1304
1305
|
}
|
|
1305
1306
|
//#endregion
|
|
1306
1307
|
//#region ../node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs
|
|
1307
|
-
function
|
|
1308
|
-
let n =
|
|
1308
|
+
function wn(e, t = globalThis?.document) {
|
|
1309
|
+
let n = Cn(e);
|
|
1309
1310
|
F.useEffect(() => {
|
|
1310
1311
|
let e = (e) => {
|
|
1311
1312
|
e.key === "Escape" && n(e);
|
|
@@ -1315,23 +1316,23 @@ function Cn(e, t = globalThis?.document) {
|
|
|
1315
1316
|
}
|
|
1316
1317
|
//#endregion
|
|
1317
1318
|
//#region ../node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
|
|
1318
|
-
var
|
|
1319
|
+
var Tn = "DismissableLayer", En = "dismissableLayer.update", Dn = "dismissableLayer.pointerDownOutside", On = "dismissableLayer.focusOutside", kn, An = F.createContext({
|
|
1319
1320
|
layers: /* @__PURE__ */ new Set(),
|
|
1320
1321
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
1321
1322
|
branches: /* @__PURE__ */ new Set()
|
|
1322
|
-
}),
|
|
1323
|
-
let { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: o, onDismiss: s, ...c } = e, l = F.useContext(
|
|
1323
|
+
}), jn = F.forwardRef((e, t) => {
|
|
1324
|
+
let { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: o, onDismiss: s, ...c } = e, l = F.useContext(An), [u, d] = F.useState(null), f = u?.ownerDocument ?? globalThis?.document, [, p] = F.useState({}), m = V(t, (e) => d(e)), h = Array.from(l.layers), [g] = [...l.layersWithOutsidePointerEventsDisabled].slice(-1), _ = h.indexOf(g), v = u ? h.indexOf(u) : -1, y = l.layersWithOutsidePointerEventsDisabled.size > 0, b = v >= _, x = Pn((e) => {
|
|
1324
1325
|
let t = e.target, n = [...l.branches].some((e) => e.contains(t));
|
|
1325
1326
|
!b || n || (i?.(e), o?.(e), e.defaultPrevented || s?.());
|
|
1326
|
-
}, f), S =
|
|
1327
|
+
}, f), S = Fn((e) => {
|
|
1327
1328
|
let t = e.target;
|
|
1328
1329
|
[...l.branches].some((e) => e.contains(t)) || (a?.(e), o?.(e), e.defaultPrevented || s?.());
|
|
1329
1330
|
}, f);
|
|
1330
|
-
return
|
|
1331
|
+
return wn((e) => {
|
|
1331
1332
|
v === l.layers.size - 1 && (r?.(e), !e.defaultPrevented && s && (e.preventDefault(), s()));
|
|
1332
1333
|
}, f), F.useEffect(() => {
|
|
1333
|
-
if (u) return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (
|
|
1334
|
-
n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (f.body.style.pointerEvents =
|
|
1334
|
+
if (u) return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (kn = f.body.style.pointerEvents, f.body.style.pointerEvents = "none"), l.layersWithOutsidePointerEventsDisabled.add(u)), l.layers.add(u), In(), () => {
|
|
1335
|
+
n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (f.body.style.pointerEvents = kn);
|
|
1335
1336
|
};
|
|
1336
1337
|
}, [
|
|
1337
1338
|
u,
|
|
@@ -1339,10 +1340,10 @@ var wn = "DismissableLayer", Tn = "dismissableLayer.update", En = "dismissableLa
|
|
|
1339
1340
|
n,
|
|
1340
1341
|
l
|
|
1341
1342
|
]), F.useEffect(() => () => {
|
|
1342
|
-
u && (l.layers.delete(u), l.layersWithOutsidePointerEventsDisabled.delete(u),
|
|
1343
|
+
u && (l.layers.delete(u), l.layersWithOutsidePointerEventsDisabled.delete(u), In());
|
|
1343
1344
|
}, [u, l]), F.useEffect(() => {
|
|
1344
1345
|
let e = () => p({});
|
|
1345
|
-
return document.addEventListener(
|
|
1346
|
+
return document.addEventListener(En, e), () => document.removeEventListener(En, e);
|
|
1346
1347
|
}, []), /* @__PURE__ */ (0, I.jsx)(H.div, {
|
|
1347
1348
|
...c,
|
|
1348
1349
|
ref: m,
|
|
@@ -1355,9 +1356,9 @@ var wn = "DismissableLayer", Tn = "dismissableLayer.update", En = "dismissableLa
|
|
|
1355
1356
|
onPointerDownCapture: B(e.onPointerDownCapture, x.onPointerDownCapture)
|
|
1356
1357
|
});
|
|
1357
1358
|
});
|
|
1358
|
-
|
|
1359
|
-
var
|
|
1360
|
-
let n = F.useContext(
|
|
1359
|
+
jn.displayName = Tn;
|
|
1360
|
+
var Mn = "DismissableLayerBranch", Nn = F.forwardRef((e, t) => {
|
|
1361
|
+
let n = F.useContext(An), r = F.useRef(null), i = V(t, r);
|
|
1361
1362
|
return F.useEffect(() => {
|
|
1362
1363
|
let e = r.current;
|
|
1363
1364
|
if (e) return n.branches.add(e), () => {
|
|
@@ -1368,14 +1369,14 @@ var jn = "DismissableLayerBranch", Mn = F.forwardRef((e, t) => {
|
|
|
1368
1369
|
ref: i
|
|
1369
1370
|
});
|
|
1370
1371
|
});
|
|
1371
|
-
|
|
1372
|
-
function
|
|
1373
|
-
let n =
|
|
1372
|
+
Nn.displayName = Mn;
|
|
1373
|
+
function Pn(e, t = globalThis?.document) {
|
|
1374
|
+
let n = Cn(e), r = F.useRef(!1), i = F.useRef(() => {});
|
|
1374
1375
|
return F.useEffect(() => {
|
|
1375
1376
|
let e = (e) => {
|
|
1376
1377
|
if (e.target && !r.current) {
|
|
1377
1378
|
let r = function() {
|
|
1378
|
-
|
|
1379
|
+
Ln(Dn, n, a, { discrete: !0 });
|
|
1379
1380
|
}, a = { originalEvent: e };
|
|
1380
1381
|
e.pointerType === "touch" ? (t.removeEventListener("click", i.current), i.current = r, t.addEventListener("click", i.current, { once: !0 })) : r();
|
|
1381
1382
|
} else t.removeEventListener("click", i.current);
|
|
@@ -1388,11 +1389,11 @@ function Nn(e, t = globalThis?.document) {
|
|
|
1388
1389
|
};
|
|
1389
1390
|
}, [t, n]), { onPointerDownCapture: () => r.current = !0 };
|
|
1390
1391
|
}
|
|
1391
|
-
function
|
|
1392
|
-
let n =
|
|
1392
|
+
function Fn(e, t = globalThis?.document) {
|
|
1393
|
+
let n = Cn(e), r = F.useRef(!1);
|
|
1393
1394
|
return F.useEffect(() => {
|
|
1394
1395
|
let e = (e) => {
|
|
1395
|
-
e.target && !r.current &&
|
|
1396
|
+
e.target && !r.current && Ln(On, n, { originalEvent: e }, { discrete: !1 });
|
|
1396
1397
|
};
|
|
1397
1398
|
return t.addEventListener("focusin", e), () => t.removeEventListener("focusin", e);
|
|
1398
1399
|
}, [t, n]), {
|
|
@@ -1400,40 +1401,40 @@ function Pn(e, t = globalThis?.document) {
|
|
|
1400
1401
|
onBlurCapture: () => r.current = !1
|
|
1401
1402
|
};
|
|
1402
1403
|
}
|
|
1403
|
-
function
|
|
1404
|
-
let e = new CustomEvent(
|
|
1404
|
+
function In() {
|
|
1405
|
+
let e = new CustomEvent(En);
|
|
1405
1406
|
document.dispatchEvent(e);
|
|
1406
1407
|
}
|
|
1407
|
-
function
|
|
1408
|
+
function Ln(e, t, n, { discrete: r }) {
|
|
1408
1409
|
let i = n.originalEvent.target, a = new CustomEvent(e, {
|
|
1409
1410
|
bubbles: !1,
|
|
1410
1411
|
cancelable: !0,
|
|
1411
1412
|
detail: n
|
|
1412
1413
|
});
|
|
1413
|
-
t && i.addEventListener(e, t, { once: !0 }), r ?
|
|
1414
|
+
t && i.addEventListener(e, t, { once: !0 }), r ? Sn(i, a) : i.dispatchEvent(a);
|
|
1414
1415
|
}
|
|
1415
1416
|
//#endregion
|
|
1416
1417
|
//#region ../node_modules/@radix-ui/react-focus-guards/dist/index.mjs
|
|
1417
|
-
var
|
|
1418
|
-
function
|
|
1418
|
+
var Rn = 0;
|
|
1419
|
+
function zn() {
|
|
1419
1420
|
F.useEffect(() => {
|
|
1420
1421
|
let e = document.querySelectorAll("[data-radix-focus-guard]");
|
|
1421
|
-
return document.body.insertAdjacentElement("afterbegin", e[0] ??
|
|
1422
|
-
|
|
1422
|
+
return document.body.insertAdjacentElement("afterbegin", e[0] ?? Bn()), document.body.insertAdjacentElement("beforeend", e[1] ?? Bn()), Rn++, () => {
|
|
1423
|
+
Rn === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((e) => e.remove()), Rn--;
|
|
1423
1424
|
};
|
|
1424
1425
|
}, []);
|
|
1425
1426
|
}
|
|
1426
|
-
function
|
|
1427
|
+
function Bn() {
|
|
1427
1428
|
let e = document.createElement("span");
|
|
1428
1429
|
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;
|
|
1429
1430
|
}
|
|
1430
1431
|
//#endregion
|
|
1431
1432
|
//#region ../node_modules/@radix-ui/react-focus-scope/dist/index.mjs
|
|
1432
|
-
var
|
|
1433
|
+
var Vn = "focusScope.autoFocusOnMount", Hn = "focusScope.autoFocusOnUnmount", Un = {
|
|
1433
1434
|
bubbles: !1,
|
|
1434
1435
|
cancelable: !0
|
|
1435
|
-
},
|
|
1436
|
-
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [s, c] = F.useState(null), l =
|
|
1436
|
+
}, Wn = "FocusScope", Gn = F.forwardRef((e, t) => {
|
|
1437
|
+
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [s, c] = F.useState(null), l = Cn(i), u = Cn(a), d = F.useRef(null), f = V(t, (e) => c(e)), p = F.useRef({
|
|
1437
1438
|
paused: !1,
|
|
1438
1439
|
pause() {
|
|
1439
1440
|
this.paused = !0;
|
|
@@ -1447,13 +1448,13 @@ var Bn = "focusScope.autoFocusOnMount", Vn = "focusScope.autoFocusOnUnmount", Hn
|
|
|
1447
1448
|
let e = function(e) {
|
|
1448
1449
|
if (p.paused || !s) return;
|
|
1449
1450
|
let t = e.target;
|
|
1450
|
-
s.contains(t) ? d.current = t :
|
|
1451
|
+
s.contains(t) ? d.current = t : Qn(d.current, { select: !0 });
|
|
1451
1452
|
}, t = function(e) {
|
|
1452
1453
|
if (p.paused || !s) return;
|
|
1453
1454
|
let t = e.relatedTarget;
|
|
1454
|
-
t !== null && (s.contains(t) ||
|
|
1455
|
+
t !== null && (s.contains(t) || Qn(d.current, { select: !0 }));
|
|
1455
1456
|
}, n = function(e) {
|
|
1456
|
-
if (document.activeElement === document.body) for (let t of e) t.removedNodes.length > 0 &&
|
|
1457
|
+
if (document.activeElement === document.body) for (let t of e) t.removedNodes.length > 0 && Qn(s);
|
|
1457
1458
|
};
|
|
1458
1459
|
document.addEventListener("focusin", e), document.addEventListener("focusout", t);
|
|
1459
1460
|
let r = new MutationObserver(n);
|
|
@@ -1470,16 +1471,16 @@ var Bn = "focusScope.autoFocusOnMount", Vn = "focusScope.autoFocusOnUnmount", Hn
|
|
|
1470
1471
|
p.paused
|
|
1471
1472
|
]), F.useEffect(() => {
|
|
1472
1473
|
if (s) {
|
|
1473
|
-
|
|
1474
|
+
$n.add(p);
|
|
1474
1475
|
let e = document.activeElement;
|
|
1475
1476
|
if (!s.contains(e)) {
|
|
1476
|
-
let t = new CustomEvent(
|
|
1477
|
-
s.addEventListener(
|
|
1477
|
+
let t = new CustomEvent(Vn, Un);
|
|
1478
|
+
s.addEventListener(Vn, l), s.dispatchEvent(t), t.defaultPrevented || (Kn(nr(Jn(s)), { select: !0 }), document.activeElement === e && Qn(s));
|
|
1478
1479
|
}
|
|
1479
1480
|
return () => {
|
|
1480
|
-
s.removeEventListener(
|
|
1481
|
-
let t = new CustomEvent(
|
|
1482
|
-
s.addEventListener(
|
|
1481
|
+
s.removeEventListener(Vn, l), setTimeout(() => {
|
|
1482
|
+
let t = new CustomEvent(Hn, Un);
|
|
1483
|
+
s.addEventListener(Hn, u), s.dispatchEvent(t), t.defaultPrevented || Qn(e ?? document.body, { select: !0 }), s.removeEventListener(Hn, u), $n.remove(p);
|
|
1483
1484
|
}, 0);
|
|
1484
1485
|
};
|
|
1485
1486
|
}
|
|
@@ -1493,8 +1494,8 @@ var Bn = "focusScope.autoFocusOnMount", Vn = "focusScope.autoFocusOnUnmount", Hn
|
|
|
1493
1494
|
if (!n && !r || p.paused) return;
|
|
1494
1495
|
let t = e.key === "Tab" && !e.altKey && !e.ctrlKey && !e.metaKey, i = document.activeElement;
|
|
1495
1496
|
if (t && i) {
|
|
1496
|
-
let t = e.currentTarget, [r, a] =
|
|
1497
|
-
r && a ? !e.shiftKey && i === a ? (e.preventDefault(), n &&
|
|
1497
|
+
let t = e.currentTarget, [r, a] = qn(t);
|
|
1498
|
+
r && a ? !e.shiftKey && i === a ? (e.preventDefault(), n && Qn(r, { select: !0 })) : e.shiftKey && i === r && (e.preventDefault(), n && Qn(a, { select: !0 })) : i === t && e.preventDefault();
|
|
1498
1499
|
}
|
|
1499
1500
|
}, [
|
|
1500
1501
|
n,
|
|
@@ -1508,16 +1509,16 @@ var Bn = "focusScope.autoFocusOnMount", Vn = "focusScope.autoFocusOnUnmount", Hn
|
|
|
1508
1509
|
onKeyDown: m
|
|
1509
1510
|
});
|
|
1510
1511
|
});
|
|
1511
|
-
|
|
1512
|
-
function
|
|
1512
|
+
Gn.displayName = Wn;
|
|
1513
|
+
function Kn(e, { select: t = !1 } = {}) {
|
|
1513
1514
|
let n = document.activeElement;
|
|
1514
|
-
for (let r of e) if (
|
|
1515
|
-
}
|
|
1516
|
-
function Kn(e) {
|
|
1517
|
-
let t = qn(e);
|
|
1518
|
-
return [Jn(t, e), Jn(t.reverse(), e)];
|
|
1515
|
+
for (let r of e) if (Qn(r, { select: t }), document.activeElement !== n) return;
|
|
1519
1516
|
}
|
|
1520
1517
|
function qn(e) {
|
|
1518
|
+
let t = Jn(e);
|
|
1519
|
+
return [Yn(t, e), Yn(t.reverse(), e)];
|
|
1520
|
+
}
|
|
1521
|
+
function Jn(e) {
|
|
1521
1522
|
let t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, { acceptNode: (e) => {
|
|
1522
1523
|
let t = e.tagName === "INPUT" && e.type === "hidden";
|
|
1523
1524
|
return e.disabled || e.hidden || t ? NodeFilter.FILTER_SKIP : e.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
|
|
@@ -1525,10 +1526,10 @@ function qn(e) {
|
|
|
1525
1526
|
for (; n.nextNode();) t.push(n.currentNode);
|
|
1526
1527
|
return t;
|
|
1527
1528
|
}
|
|
1528
|
-
function
|
|
1529
|
-
for (let n of e) if (!
|
|
1529
|
+
function Yn(e, t) {
|
|
1530
|
+
for (let n of e) if (!Xn(n, { upTo: t })) return n;
|
|
1530
1531
|
}
|
|
1531
|
-
function
|
|
1532
|
+
function Xn(e, { upTo: t }) {
|
|
1532
1533
|
if (getComputedStyle(e).visibility === "hidden") return !0;
|
|
1533
1534
|
for (; e;) {
|
|
1534
1535
|
if (t !== void 0 && e === t) return !1;
|
|
@@ -1537,62 +1538,62 @@ function Yn(e, { upTo: t }) {
|
|
|
1537
1538
|
}
|
|
1538
1539
|
return !1;
|
|
1539
1540
|
}
|
|
1540
|
-
function
|
|
1541
|
+
function Zn(e) {
|
|
1541
1542
|
return e instanceof HTMLInputElement && "select" in e;
|
|
1542
1543
|
}
|
|
1543
|
-
function
|
|
1544
|
+
function Qn(e, { select: t = !1 } = {}) {
|
|
1544
1545
|
if (e && e.focus) {
|
|
1545
1546
|
let n = document.activeElement;
|
|
1546
|
-
e.focus({ preventScroll: !0 }), e !== n &&
|
|
1547
|
+
e.focus({ preventScroll: !0 }), e !== n && Zn(e) && t && e.select();
|
|
1547
1548
|
}
|
|
1548
1549
|
}
|
|
1549
|
-
var
|
|
1550
|
-
function
|
|
1550
|
+
var $n = er();
|
|
1551
|
+
function er() {
|
|
1551
1552
|
let e = [];
|
|
1552
1553
|
return {
|
|
1553
1554
|
add(t) {
|
|
1554
1555
|
let n = e[0];
|
|
1555
|
-
t !== n && n?.pause(), e =
|
|
1556
|
+
t !== n && n?.pause(), e = tr(e, t), e.unshift(t);
|
|
1556
1557
|
},
|
|
1557
1558
|
remove(t) {
|
|
1558
|
-
e =
|
|
1559
|
+
e = tr(e, t), e[0]?.resume();
|
|
1559
1560
|
}
|
|
1560
1561
|
};
|
|
1561
1562
|
}
|
|
1562
|
-
function
|
|
1563
|
+
function tr(e, t) {
|
|
1563
1564
|
let n = [...e], r = n.indexOf(t);
|
|
1564
1565
|
return r !== -1 && n.splice(r, 1), n;
|
|
1565
1566
|
}
|
|
1566
|
-
function
|
|
1567
|
+
function nr(e) {
|
|
1567
1568
|
return e.filter((e) => e.tagName !== "A");
|
|
1568
1569
|
}
|
|
1569
1570
|
//#endregion
|
|
1570
1571
|
//#region ../node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
|
|
1571
|
-
var
|
|
1572
|
-
function
|
|
1573
|
-
let [t, n] = F.useState(
|
|
1574
|
-
return
|
|
1575
|
-
e || n((e) => e ?? String(
|
|
1572
|
+
var rr = globalThis?.document ? F.useLayoutEffect : () => {}, ir = F.useId || (() => void 0), ar = 0;
|
|
1573
|
+
function or(e) {
|
|
1574
|
+
let [t, n] = F.useState(ir());
|
|
1575
|
+
return rr(() => {
|
|
1576
|
+
e || n((e) => e ?? String(ar++));
|
|
1576
1577
|
}, [e]), e || (t ? `radix-${t}` : "");
|
|
1577
1578
|
}
|
|
1578
1579
|
//#endregion
|
|
1579
1580
|
//#region ../node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
|
|
1580
|
-
var
|
|
1581
|
+
var sr = [
|
|
1581
1582
|
"top",
|
|
1582
1583
|
"right",
|
|
1583
1584
|
"bottom",
|
|
1584
1585
|
"left"
|
|
1585
|
-
],
|
|
1586
|
+
], cr = Math.min, U = Math.max, lr = Math.round, ur = Math.floor, W = (e) => ({
|
|
1586
1587
|
x: e,
|
|
1587
1588
|
y: e
|
|
1588
|
-
}),
|
|
1589
|
+
}), dr = {
|
|
1589
1590
|
left: "right",
|
|
1590
1591
|
right: "left",
|
|
1591
1592
|
bottom: "top",
|
|
1592
1593
|
top: "bottom"
|
|
1593
1594
|
};
|
|
1594
|
-
function
|
|
1595
|
-
return U(e,
|
|
1595
|
+
function fr(e, t, n) {
|
|
1596
|
+
return U(e, cr(t, n));
|
|
1596
1597
|
}
|
|
1597
1598
|
function G(e, t) {
|
|
1598
1599
|
return typeof e == "function" ? e(t) : e;
|
|
@@ -1600,57 +1601,57 @@ function G(e, t) {
|
|
|
1600
1601
|
function K(e) {
|
|
1601
1602
|
return e.split("-")[0];
|
|
1602
1603
|
}
|
|
1603
|
-
function
|
|
1604
|
+
function pr(e) {
|
|
1604
1605
|
return e.split("-")[1];
|
|
1605
1606
|
}
|
|
1606
|
-
function
|
|
1607
|
+
function mr(e) {
|
|
1607
1608
|
return e === "x" ? "y" : "x";
|
|
1608
1609
|
}
|
|
1609
|
-
function
|
|
1610
|
+
function hr(e) {
|
|
1610
1611
|
return e === "y" ? "height" : "width";
|
|
1611
1612
|
}
|
|
1612
1613
|
function q(e) {
|
|
1613
1614
|
let t = e[0];
|
|
1614
1615
|
return t === "t" || t === "b" ? "y" : "x";
|
|
1615
1616
|
}
|
|
1616
|
-
function
|
|
1617
|
-
return
|
|
1617
|
+
function gr(e) {
|
|
1618
|
+
return mr(q(e));
|
|
1618
1619
|
}
|
|
1619
|
-
function
|
|
1620
|
+
function _r(e, t, n) {
|
|
1620
1621
|
n === void 0 && (n = !1);
|
|
1621
|
-
let r =
|
|
1622
|
-
return t.reference[a] > t.floating[a] && (o =
|
|
1622
|
+
let r = pr(e), i = gr(e), a = hr(i), o = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
|
|
1623
|
+
return t.reference[a] > t.floating[a] && (o = Er(o)), [o, Er(o)];
|
|
1623
1624
|
}
|
|
1624
|
-
function
|
|
1625
|
-
let t =
|
|
1625
|
+
function vr(e) {
|
|
1626
|
+
let t = Er(e);
|
|
1626
1627
|
return [
|
|
1627
|
-
|
|
1628
|
+
yr(e),
|
|
1628
1629
|
t,
|
|
1629
|
-
|
|
1630
|
+
yr(t)
|
|
1630
1631
|
];
|
|
1631
1632
|
}
|
|
1632
|
-
function
|
|
1633
|
+
function yr(e) {
|
|
1633
1634
|
return e.includes("start") ? e.replace("start", "end") : e.replace("end", "start");
|
|
1634
1635
|
}
|
|
1635
|
-
var
|
|
1636
|
-
function
|
|
1636
|
+
var br = ["left", "right"], xr = ["right", "left"], Sr = ["top", "bottom"], Cr = ["bottom", "top"];
|
|
1637
|
+
function wr(e, t, n) {
|
|
1637
1638
|
switch (e) {
|
|
1638
1639
|
case "top":
|
|
1639
|
-
case "bottom": return n ? t ?
|
|
1640
|
+
case "bottom": return n ? t ? xr : br : t ? br : xr;
|
|
1640
1641
|
case "left":
|
|
1641
|
-
case "right": return t ?
|
|
1642
|
+
case "right": return t ? Sr : Cr;
|
|
1642
1643
|
default: return [];
|
|
1643
1644
|
}
|
|
1644
1645
|
}
|
|
1645
|
-
function
|
|
1646
|
-
let i =
|
|
1647
|
-
return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(
|
|
1646
|
+
function Tr(e, t, n, r) {
|
|
1647
|
+
let i = pr(e), a = wr(K(e), n === "start", r);
|
|
1648
|
+
return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(yr)))), a;
|
|
1648
1649
|
}
|
|
1649
|
-
function
|
|
1650
|
+
function Er(e) {
|
|
1650
1651
|
let t = K(e);
|
|
1651
|
-
return
|
|
1652
|
+
return dr[t] + e.slice(t.length);
|
|
1652
1653
|
}
|
|
1653
|
-
function
|
|
1654
|
+
function Dr(e) {
|
|
1654
1655
|
return {
|
|
1655
1656
|
top: 0,
|
|
1656
1657
|
right: 0,
|
|
@@ -1659,15 +1660,15 @@ function Er(e) {
|
|
|
1659
1660
|
...e
|
|
1660
1661
|
};
|
|
1661
1662
|
}
|
|
1662
|
-
function
|
|
1663
|
+
function Or(e) {
|
|
1663
1664
|
return typeof e == "number" ? {
|
|
1664
1665
|
top: e,
|
|
1665
1666
|
right: e,
|
|
1666
1667
|
bottom: e,
|
|
1667
1668
|
left: e
|
|
1668
|
-
} :
|
|
1669
|
+
} : Dr(e);
|
|
1669
1670
|
}
|
|
1670
|
-
function
|
|
1671
|
+
function kr(e) {
|
|
1671
1672
|
let { x: t, y: n, width: r, height: i } = e;
|
|
1672
1673
|
return {
|
|
1673
1674
|
width: r,
|
|
@@ -1682,8 +1683,8 @@ function Or(e) {
|
|
|
1682
1683
|
}
|
|
1683
1684
|
//#endregion
|
|
1684
1685
|
//#region ../node_modules/@floating-ui/core/dist/floating-ui.core.mjs
|
|
1685
|
-
function
|
|
1686
|
-
let { reference: r, floating: i } = e, a = q(t), o =
|
|
1686
|
+
function Ar(e, t, n) {
|
|
1687
|
+
let { reference: r, floating: i } = e, a = q(t), o = gr(t), s = hr(o), c = K(t), l = a === "y", u = r.x + r.width / 2 - i.width / 2, d = r.y + r.height / 2 - i.height / 2, f = r[s] / 2 - i[s] / 2, p;
|
|
1687
1688
|
switch (c) {
|
|
1688
1689
|
case "top":
|
|
1689
1690
|
p = {
|
|
@@ -1714,7 +1715,7 @@ function kr(e, t, n) {
|
|
|
1714
1715
|
y: r.y
|
|
1715
1716
|
};
|
|
1716
1717
|
}
|
|
1717
|
-
switch (
|
|
1718
|
+
switch (pr(t)) {
|
|
1718
1719
|
case "start":
|
|
1719
1720
|
p[o] -= f * (n && l ? -1 : 1);
|
|
1720
1721
|
break;
|
|
@@ -1724,9 +1725,9 @@ function kr(e, t, n) {
|
|
|
1724
1725
|
}
|
|
1725
1726
|
return p;
|
|
1726
1727
|
}
|
|
1727
|
-
async function
|
|
1728
|
+
async function jr(e, t) {
|
|
1728
1729
|
t === void 0 && (t = {});
|
|
1729
|
-
let { x: n, y: r, platform: i, rects: a, elements: o, strategy: s } = e, { boundary: c = "clippingAncestors", rootBoundary: l = "viewport", elementContext: u = "floating", altBoundary: d = !1, padding: f = 0 } = G(t, e), p =
|
|
1730
|
+
let { x: n, y: r, platform: i, rects: a, elements: o, strategy: s } = e, { boundary: c = "clippingAncestors", rootBoundary: l = "viewport", elementContext: u = "floating", altBoundary: d = !1, padding: f = 0 } = G(t, e), p = Or(f), m = o[d ? u === "floating" ? "reference" : "floating" : u], h = kr(await i.getClippingRect({
|
|
1730
1731
|
element: await (i.isElement == null ? void 0 : i.isElement(m)) ?? !0 ? m : m.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(o.floating)),
|
|
1731
1732
|
boundary: c,
|
|
1732
1733
|
rootBoundary: l,
|
|
@@ -1739,7 +1740,7 @@ async function Ar(e, t) {
|
|
|
1739
1740
|
} : a.reference, _ = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(o.floating)), v = await (i.isElement == null ? void 0 : i.isElement(_)) && await (i.getScale == null ? void 0 : i.getScale(_)) || {
|
|
1740
1741
|
x: 1,
|
|
1741
1742
|
y: 1
|
|
1742
|
-
}, y =
|
|
1743
|
+
}, y = kr(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
1743
1744
|
elements: o,
|
|
1744
1745
|
rect: g,
|
|
1745
1746
|
offsetParent: _,
|
|
@@ -1752,15 +1753,15 @@ async function Ar(e, t) {
|
|
|
1752
1753
|
right: (y.right - h.right + p.right) / v.x
|
|
1753
1754
|
};
|
|
1754
1755
|
}
|
|
1755
|
-
var
|
|
1756
|
+
var Mr = 50, Nr = async (e, t, n) => {
|
|
1756
1757
|
let { placement: r = "bottom", strategy: i = "absolute", middleware: a = [], platform: o } = n, s = o.detectOverflow ? o : {
|
|
1757
1758
|
...o,
|
|
1758
|
-
detectOverflow:
|
|
1759
|
+
detectOverflow: jr
|
|
1759
1760
|
}, c = await (o.isRTL == null ? void 0 : o.isRTL(t)), l = await o.getElementRects({
|
|
1760
1761
|
reference: e,
|
|
1761
1762
|
floating: t,
|
|
1762
1763
|
strategy: i
|
|
1763
|
-
}), { x: u, y: d } =
|
|
1764
|
+
}), { x: u, y: d } = Ar(l, r, c), f = r, p = 0, m = {};
|
|
1764
1765
|
for (let n = 0; n < a.length; n++) {
|
|
1765
1766
|
let h = a[n];
|
|
1766
1767
|
if (!h) continue;
|
|
@@ -1781,11 +1782,11 @@ var jr = 50, Mr = async (e, t, n) => {
|
|
|
1781
1782
|
u = v ?? u, d = y ?? d, m[g] = {
|
|
1782
1783
|
...m[g],
|
|
1783
1784
|
...b
|
|
1784
|
-
}, x && p <
|
|
1785
|
+
}, x && p < Mr && (p++, typeof x == "object" && (x.placement && (f = x.placement), x.rects && (l = x.rects === !0 ? await o.getElementRects({
|
|
1785
1786
|
reference: e,
|
|
1786
1787
|
floating: t,
|
|
1787
1788
|
strategy: i
|
|
1788
|
-
}) : x.rects), {x: u, y: d} =
|
|
1789
|
+
}) : x.rects), {x: u, y: d} = Ar(l, f, c)), n = -1);
|
|
1789
1790
|
}
|
|
1790
1791
|
return {
|
|
1791
1792
|
x: u,
|
|
@@ -1794,29 +1795,29 @@ var jr = 50, Mr = async (e, t, n) => {
|
|
|
1794
1795
|
strategy: i,
|
|
1795
1796
|
middlewareData: m
|
|
1796
1797
|
};
|
|
1797
|
-
},
|
|
1798
|
+
}, Pr = (e) => ({
|
|
1798
1799
|
name: "arrow",
|
|
1799
1800
|
options: e,
|
|
1800
1801
|
async fn(t) {
|
|
1801
1802
|
let { x: n, y: r, placement: i, rects: a, platform: o, elements: s, middlewareData: c } = t, { element: l, padding: u = 0 } = G(e, t) || {};
|
|
1802
1803
|
if (l == null) return {};
|
|
1803
|
-
let d =
|
|
1804
|
+
let d = Or(u), f = {
|
|
1804
1805
|
x: n,
|
|
1805
1806
|
y: r
|
|
1806
|
-
}, p =
|
|
1807
|
+
}, p = gr(i), m = hr(p), h = await o.getDimensions(l), g = p === "y", _ = g ? "top" : "left", v = g ? "bottom" : "right", y = g ? "clientHeight" : "clientWidth", b = a.reference[m] + a.reference[p] - f[p] - a.floating[m], x = f[p] - a.reference[p], S = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(l)), C = S ? S[y] : 0;
|
|
1807
1808
|
(!C || !await (o.isElement == null ? void 0 : o.isElement(S))) && (C = s.floating[y] || a.floating[m]);
|
|
1808
|
-
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1, ee =
|
|
1809
|
+
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1, ee = cr(d[_], T), E = cr(d[v], T), D = ee, O = C - h[m] - E, k = C / 2 - h[m] / 2 + w, te = fr(D, k, O), A = !c.arrow && pr(i) != null && k !== te && a.reference[m] / 2 - (k < D ? ee : E) - h[m] / 2 < 0, j = A ? k < D ? k - D : k - O : 0;
|
|
1809
1810
|
return {
|
|
1810
1811
|
[p]: f[p] + j,
|
|
1811
1812
|
data: {
|
|
1812
|
-
[p]:
|
|
1813
|
-
centerOffset:
|
|
1813
|
+
[p]: te,
|
|
1814
|
+
centerOffset: k - te - j,
|
|
1814
1815
|
...A && { alignmentOffset: j }
|
|
1815
1816
|
},
|
|
1816
1817
|
reset: A
|
|
1817
1818
|
};
|
|
1818
1819
|
}
|
|
1819
|
-
}),
|
|
1820
|
+
}), Fr = function(e) {
|
|
1820
1821
|
return e === void 0 && (e = {}), {
|
|
1821
1822
|
name: "flip",
|
|
1822
1823
|
options: e,
|
|
@@ -1824,11 +1825,11 @@ var jr = 50, Mr = async (e, t, n) => {
|
|
|
1824
1825
|
var n;
|
|
1825
1826
|
let { placement: r, middlewareData: i, rects: a, initialPlacement: o, platform: s, elements: c } = t, { mainAxis: l = !0, crossAxis: u = !0, fallbackPlacements: d, fallbackStrategy: f = "bestFit", fallbackAxisSideDirection: p = "none", flipAlignment: m = !0, ...h } = G(e, t);
|
|
1826
1827
|
if ((n = i.arrow) != null && n.alignmentOffset) return {};
|
|
1827
|
-
let g = K(r), _ = q(o), v = K(o) === o, y = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), b = d || (v || !m ? [
|
|
1828
|
-
!d && x && b.push(...
|
|
1828
|
+
let g = K(r), _ = q(o), v = K(o) === o, y = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), b = d || (v || !m ? [Er(o)] : vr(o)), x = p !== "none";
|
|
1829
|
+
!d && x && b.push(...Tr(o, m, p, y));
|
|
1829
1830
|
let S = [o, ...b], C = await s.detectOverflow(t, h), w = [], T = i.flip?.overflows || [];
|
|
1830
1831
|
if (l && w.push(C[g]), u) {
|
|
1831
|
-
let e =
|
|
1832
|
+
let e = _r(r, a, y);
|
|
1832
1833
|
w.push(C[e[0]], C[e[1]]);
|
|
1833
1834
|
}
|
|
1834
1835
|
if (T = [...T, {
|
|
@@ -1866,7 +1867,7 @@ var jr = 50, Mr = async (e, t, n) => {
|
|
|
1866
1867
|
}
|
|
1867
1868
|
};
|
|
1868
1869
|
};
|
|
1869
|
-
function
|
|
1870
|
+
function Ir(e, t) {
|
|
1870
1871
|
return {
|
|
1871
1872
|
top: e.top - t.height,
|
|
1872
1873
|
right: e.right - t.width,
|
|
@@ -1874,10 +1875,10 @@ function Fr(e, t) {
|
|
|
1874
1875
|
left: e.left - t.width
|
|
1875
1876
|
};
|
|
1876
1877
|
}
|
|
1877
|
-
function
|
|
1878
|
-
return
|
|
1878
|
+
function Lr(e) {
|
|
1879
|
+
return sr.some((t) => e[t] >= 0);
|
|
1879
1880
|
}
|
|
1880
|
-
var
|
|
1881
|
+
var Rr = function(e) {
|
|
1881
1882
|
return e === void 0 && (e = {}), {
|
|
1882
1883
|
name: "hide",
|
|
1883
1884
|
options: e,
|
|
@@ -1885,32 +1886,32 @@ var Lr = function(e) {
|
|
|
1885
1886
|
let { rects: n, platform: r } = t, { strategy: i = "referenceHidden", ...a } = G(e, t);
|
|
1886
1887
|
switch (i) {
|
|
1887
1888
|
case "referenceHidden": {
|
|
1888
|
-
let e =
|
|
1889
|
+
let e = Ir(await r.detectOverflow(t, {
|
|
1889
1890
|
...a,
|
|
1890
1891
|
elementContext: "reference"
|
|
1891
1892
|
}), n.reference);
|
|
1892
1893
|
return { data: {
|
|
1893
1894
|
referenceHiddenOffsets: e,
|
|
1894
|
-
referenceHidden:
|
|
1895
|
+
referenceHidden: Lr(e)
|
|
1895
1896
|
} };
|
|
1896
1897
|
}
|
|
1897
1898
|
case "escaped": {
|
|
1898
|
-
let e =
|
|
1899
|
+
let e = Ir(await r.detectOverflow(t, {
|
|
1899
1900
|
...a,
|
|
1900
1901
|
altBoundary: !0
|
|
1901
1902
|
}), n.floating);
|
|
1902
1903
|
return { data: {
|
|
1903
1904
|
escapedOffsets: e,
|
|
1904
|
-
escaped:
|
|
1905
|
+
escaped: Lr(e)
|
|
1905
1906
|
} };
|
|
1906
1907
|
}
|
|
1907
1908
|
default: return {};
|
|
1908
1909
|
}
|
|
1909
1910
|
}
|
|
1910
1911
|
};
|
|
1911
|
-
},
|
|
1912
|
-
async function
|
|
1913
|
-
let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = K(n), s =
|
|
1912
|
+
}, zr = /*#__PURE__*/ new Set(["left", "top"]);
|
|
1913
|
+
async function Br(e, t) {
|
|
1914
|
+
let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = K(n), s = pr(n), c = q(n) === "y", l = zr.has(o) ? -1 : 1, u = a && c ? -1 : 1, d = G(t, e), { mainAxis: f, crossAxis: p, alignmentAxis: m } = typeof d == "number" ? {
|
|
1914
1915
|
mainAxis: d,
|
|
1915
1916
|
crossAxis: 0,
|
|
1916
1917
|
alignmentAxis: null
|
|
@@ -1927,13 +1928,13 @@ async function zr(e, t) {
|
|
|
1927
1928
|
y: p * u
|
|
1928
1929
|
};
|
|
1929
1930
|
}
|
|
1930
|
-
var
|
|
1931
|
+
var Vr = function(e) {
|
|
1931
1932
|
return e === void 0 && (e = 0), {
|
|
1932
1933
|
name: "offset",
|
|
1933
1934
|
options: e,
|
|
1934
1935
|
async fn(t) {
|
|
1935
1936
|
var n;
|
|
1936
|
-
let { x: r, y: i, placement: a, middlewareData: o } = t, s = await
|
|
1937
|
+
let { x: r, y: i, placement: a, middlewareData: o } = t, s = await Br(t, e);
|
|
1937
1938
|
return a === o.offset?.placement && (n = o.arrow) != null && n.alignmentOffset ? {} : {
|
|
1938
1939
|
x: r + s.x,
|
|
1939
1940
|
y: i + s.y,
|
|
@@ -1944,7 +1945,7 @@ var Br = function(e) {
|
|
|
1944
1945
|
};
|
|
1945
1946
|
}
|
|
1946
1947
|
};
|
|
1947
|
-
},
|
|
1948
|
+
}, Hr = function(e) {
|
|
1948
1949
|
return e === void 0 && (e = {}), {
|
|
1949
1950
|
name: "shift",
|
|
1950
1951
|
options: e,
|
|
@@ -1958,14 +1959,14 @@ var Br = function(e) {
|
|
|
1958
1959
|
} }, ...l } = G(e, t), u = {
|
|
1959
1960
|
x: n,
|
|
1960
1961
|
y: r
|
|
1961
|
-
}, d = await a.detectOverflow(t, l), f = q(K(i)), p =
|
|
1962
|
+
}, d = await a.detectOverflow(t, l), f = q(K(i)), p = mr(f), m = u[p], h = u[f];
|
|
1962
1963
|
if (o) {
|
|
1963
1964
|
let e = p === "y" ? "top" : "left", t = p === "y" ? "bottom" : "right", n = m + d[e], r = m - d[t];
|
|
1964
|
-
m =
|
|
1965
|
+
m = fr(n, m, r);
|
|
1965
1966
|
}
|
|
1966
1967
|
if (s) {
|
|
1967
1968
|
let e = f === "y" ? "top" : "left", t = f === "y" ? "bottom" : "right", n = h + d[e], r = h - d[t];
|
|
1968
|
-
h =
|
|
1969
|
+
h = fr(n, h, r);
|
|
1969
1970
|
}
|
|
1970
1971
|
let g = c.fn({
|
|
1971
1972
|
...t,
|
|
@@ -1985,14 +1986,14 @@ var Br = function(e) {
|
|
|
1985
1986
|
};
|
|
1986
1987
|
}
|
|
1987
1988
|
};
|
|
1988
|
-
},
|
|
1989
|
+
}, Ur = function(e) {
|
|
1989
1990
|
return e === void 0 && (e = {}), {
|
|
1990
1991
|
options: e,
|
|
1991
1992
|
fn(t) {
|
|
1992
1993
|
let { x: n, y: r, placement: i, rects: a, middlewareData: o } = t, { offset: s = 0, mainAxis: c = !0, crossAxis: l = !0 } = G(e, t), u = {
|
|
1993
1994
|
x: n,
|
|
1994
1995
|
y: r
|
|
1995
|
-
}, d = q(i), f =
|
|
1996
|
+
}, d = q(i), f = mr(d), p = u[f], m = u[d], h = G(s, t), g = typeof h == "number" ? {
|
|
1996
1997
|
mainAxis: h,
|
|
1997
1998
|
crossAxis: 0
|
|
1998
1999
|
} : {
|
|
@@ -2005,7 +2006,7 @@ var Br = function(e) {
|
|
|
2005
2006
|
p < t ? p = t : p > n && (p = n);
|
|
2006
2007
|
}
|
|
2007
2008
|
if (l) {
|
|
2008
|
-
let e = f === "y" ? "width" : "height", t =
|
|
2009
|
+
let e = f === "y" ? "width" : "height", t = zr.has(K(i)), n = a.reference[d] - a.floating[e] + (t && o.offset?.[d] || 0) + (t ? 0 : g.crossAxis), r = a.reference[d] + a.reference[e] + (t ? 0 : o.offset?.[d] || 0) - (t ? g.crossAxis : 0);
|
|
2009
2010
|
m < n ? m = n : m > r && (m = r);
|
|
2010
2011
|
}
|
|
2011
2012
|
return {
|
|
@@ -2014,15 +2015,15 @@ var Br = function(e) {
|
|
|
2014
2015
|
};
|
|
2015
2016
|
}
|
|
2016
2017
|
};
|
|
2017
|
-
},
|
|
2018
|
+
}, Wr = function(e) {
|
|
2018
2019
|
return e === void 0 && (e = {}), {
|
|
2019
2020
|
name: "size",
|
|
2020
2021
|
options: e,
|
|
2021
2022
|
async fn(t) {
|
|
2022
2023
|
var n, r;
|
|
2023
|
-
let { placement: i, rects: a, platform: o, elements: s } = t, { apply: c = () => {}, ...l } = G(e, t), u = await o.detectOverflow(t, l), d = K(i), f =
|
|
2024
|
+
let { placement: i, rects: a, platform: o, elements: s } = t, { apply: c = () => {}, ...l } = G(e, t), u = await o.detectOverflow(t, l), d = K(i), f = pr(i), p = q(i) === "y", { width: m, height: h } = a.floating, g, _;
|
|
2024
2025
|
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");
|
|
2025
|
-
let v = h - u.top - u.bottom, y = m - u.left - u.right, b =
|
|
2026
|
+
let v = h - u.top - u.bottom, y = m - u.left - u.right, b = cr(h - u[g], v), x = cr(m - u[_], y), S = !t.middlewareData.shift, C = b, w = x;
|
|
2026
2027
|
if ((n = t.middlewareData.shift) != null && n.enabled.x && (w = y), (r = t.middlewareData.shift) != null && r.enabled.y && (C = v), S && !f) {
|
|
2027
2028
|
let e = U(u.left, 0), t = U(u.right, 0), n = U(u.top, 0), r = U(u.bottom, 0);
|
|
2028
2029
|
p ? w = m - 2 * (e !== 0 || t !== 0 ? e + t : U(u.left, u.right)) : C = h - 2 * (n !== 0 || r !== 0 ? n + r : U(u.top, u.bottom));
|
|
@@ -2039,39 +2040,39 @@ var Br = function(e) {
|
|
|
2039
2040
|
};
|
|
2040
2041
|
//#endregion
|
|
2041
2042
|
//#region ../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
|
|
2042
|
-
function
|
|
2043
|
+
function Gr() {
|
|
2043
2044
|
return typeof window < "u";
|
|
2044
2045
|
}
|
|
2045
|
-
function
|
|
2046
|
-
return
|
|
2046
|
+
function Kr(e) {
|
|
2047
|
+
return qr(e) ? (e.nodeName || "").toLowerCase() : "#document";
|
|
2047
2048
|
}
|
|
2048
2049
|
function J(e) {
|
|
2049
2050
|
var t;
|
|
2050
2051
|
return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
|
|
2051
2052
|
}
|
|
2052
2053
|
function Y(e) {
|
|
2053
|
-
return ((
|
|
2054
|
+
return ((qr(e) ? e.ownerDocument : e.document) || window.document)?.documentElement;
|
|
2054
2055
|
}
|
|
2055
|
-
function
|
|
2056
|
-
return
|
|
2056
|
+
function qr(e) {
|
|
2057
|
+
return Gr() ? e instanceof Node || e instanceof J(e).Node : !1;
|
|
2057
2058
|
}
|
|
2058
2059
|
function X(e) {
|
|
2059
|
-
return
|
|
2060
|
+
return Gr() ? e instanceof Element || e instanceof J(e).Element : !1;
|
|
2060
2061
|
}
|
|
2061
2062
|
function Z(e) {
|
|
2062
|
-
return
|
|
2063
|
-
}
|
|
2064
|
-
function qr(e) {
|
|
2065
|
-
return !Wr() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof J(e).ShadowRoot;
|
|
2063
|
+
return Gr() ? e instanceof HTMLElement || e instanceof J(e).HTMLElement : !1;
|
|
2066
2064
|
}
|
|
2067
2065
|
function Jr(e) {
|
|
2068
|
-
|
|
2069
|
-
return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
|
|
2066
|
+
return !Gr() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof J(e).ShadowRoot;
|
|
2070
2067
|
}
|
|
2071
2068
|
function Yr(e) {
|
|
2072
|
-
|
|
2069
|
+
let { overflow: t, overflowX: n, overflowY: r, display: i } = Q(e);
|
|
2070
|
+
return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
|
|
2073
2071
|
}
|
|
2074
2072
|
function Xr(e) {
|
|
2073
|
+
return /^(table|td|th)$/.test(Kr(e));
|
|
2074
|
+
}
|
|
2075
|
+
function Zr(e) {
|
|
2075
2076
|
try {
|
|
2076
2077
|
if (e.matches(":popover-open")) return !0;
|
|
2077
2078
|
} catch {}
|
|
@@ -2081,30 +2082,30 @@ function Xr(e) {
|
|
|
2081
2082
|
return !1;
|
|
2082
2083
|
}
|
|
2083
2084
|
}
|
|
2084
|
-
var
|
|
2085
|
-
function ti(e) {
|
|
2086
|
-
let t = X(e) ? Q(e) : e;
|
|
2087
|
-
return $r(t.transform) || $r(t.translate) || $r(t.scale) || $r(t.rotate) || $r(t.perspective) || !ri() && ($r(t.backdropFilter) || $r(t.filter)) || Zr.test(t.willChange || "") || Qr.test(t.contain || "");
|
|
2088
|
-
}
|
|
2085
|
+
var Qr = /transform|translate|scale|rotate|perspective|filter/, $r = /paint|layout|strict|content/, ei = (e) => !!e && e !== "none", ti;
|
|
2089
2086
|
function ni(e) {
|
|
2090
|
-
let t =
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2087
|
+
let t = X(e) ? Q(e) : e;
|
|
2088
|
+
return ei(t.transform) || ei(t.translate) || ei(t.scale) || ei(t.rotate) || ei(t.perspective) || !ii() && (ei(t.backdropFilter) || ei(t.filter)) || Qr.test(t.willChange || "") || $r.test(t.contain || "");
|
|
2089
|
+
}
|
|
2090
|
+
function ri(e) {
|
|
2091
|
+
let t = si(e);
|
|
2092
|
+
for (; Z(t) && !ai(t);) {
|
|
2093
|
+
if (ni(t)) return t;
|
|
2094
|
+
if (Zr(t)) return null;
|
|
2095
|
+
t = si(t);
|
|
2095
2096
|
}
|
|
2096
2097
|
return null;
|
|
2097
2098
|
}
|
|
2098
|
-
function
|
|
2099
|
-
return
|
|
2099
|
+
function ii() {
|
|
2100
|
+
return ti ??= typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none"), ti;
|
|
2100
2101
|
}
|
|
2101
|
-
function
|
|
2102
|
-
return /^(html|body|#document)$/.test(
|
|
2102
|
+
function ai(e) {
|
|
2103
|
+
return /^(html|body|#document)$/.test(Kr(e));
|
|
2103
2104
|
}
|
|
2104
2105
|
function Q(e) {
|
|
2105
2106
|
return J(e).getComputedStyle(e);
|
|
2106
2107
|
}
|
|
2107
|
-
function
|
|
2108
|
+
function oi(e) {
|
|
2108
2109
|
return X(e) ? {
|
|
2109
2110
|
scrollLeft: e.scrollLeft,
|
|
2110
2111
|
scrollTop: e.scrollTop
|
|
@@ -2113,101 +2114,101 @@ function ai(e) {
|
|
|
2113
2114
|
scrollTop: e.scrollY
|
|
2114
2115
|
};
|
|
2115
2116
|
}
|
|
2116
|
-
function oi(e) {
|
|
2117
|
-
if (Gr(e) === "html") return e;
|
|
2118
|
-
let t = e.assignedSlot || e.parentNode || qr(e) && e.host || Y(e);
|
|
2119
|
-
return qr(t) ? t.host : t;
|
|
2120
|
-
}
|
|
2121
2117
|
function si(e) {
|
|
2122
|
-
|
|
2123
|
-
|
|
2118
|
+
if (Kr(e) === "html") return e;
|
|
2119
|
+
let t = e.assignedSlot || e.parentNode || Jr(e) && e.host || Y(e);
|
|
2120
|
+
return Jr(t) ? t.host : t;
|
|
2124
2121
|
}
|
|
2125
|
-
function ci(e
|
|
2122
|
+
function ci(e) {
|
|
2123
|
+
let t = si(e);
|
|
2124
|
+
return ai(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : Z(t) && Yr(t) ? t : ci(t);
|
|
2125
|
+
}
|
|
2126
|
+
function li(e, t, n) {
|
|
2126
2127
|
t === void 0 && (t = []), n === void 0 && (n = !0);
|
|
2127
|
-
let r =
|
|
2128
|
+
let r = ci(e), i = r === e.ownerDocument?.body, a = J(r);
|
|
2128
2129
|
if (i) {
|
|
2129
|
-
let e =
|
|
2130
|
-
return t.concat(a, a.visualViewport || [],
|
|
2131
|
-
} else return t.concat(r,
|
|
2130
|
+
let e = ui(a);
|
|
2131
|
+
return t.concat(a, a.visualViewport || [], Yr(r) ? r : [], e && n ? li(e) : []);
|
|
2132
|
+
} else return t.concat(r, li(r, [], n));
|
|
2132
2133
|
}
|
|
2133
|
-
function
|
|
2134
|
+
function ui(e) {
|
|
2134
2135
|
return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
|
|
2135
2136
|
}
|
|
2136
2137
|
//#endregion
|
|
2137
2138
|
//#region ../node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
|
|
2138
|
-
function
|
|
2139
|
-
let t = Q(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = Z(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s =
|
|
2139
|
+
function di(e) {
|
|
2140
|
+
let t = Q(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = Z(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s = lr(n) !== a || lr(r) !== o;
|
|
2140
2141
|
return s && (n = a, r = o), {
|
|
2141
2142
|
width: n,
|
|
2142
2143
|
height: r,
|
|
2143
2144
|
$: s
|
|
2144
2145
|
};
|
|
2145
2146
|
}
|
|
2146
|
-
function
|
|
2147
|
+
function fi(e) {
|
|
2147
2148
|
return X(e) ? e : e.contextElement;
|
|
2148
2149
|
}
|
|
2149
|
-
function
|
|
2150
|
-
let t =
|
|
2150
|
+
function pi(e) {
|
|
2151
|
+
let t = fi(e);
|
|
2151
2152
|
if (!Z(t)) return W(1);
|
|
2152
|
-
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } =
|
|
2153
|
+
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = di(t), o = (a ? lr(n.width) : n.width) / r, s = (a ? lr(n.height) : n.height) / i;
|
|
2153
2154
|
return (!o || !Number.isFinite(o)) && (o = 1), (!s || !Number.isFinite(s)) && (s = 1), {
|
|
2154
2155
|
x: o,
|
|
2155
2156
|
y: s
|
|
2156
2157
|
};
|
|
2157
2158
|
}
|
|
2158
|
-
var
|
|
2159
|
-
function
|
|
2159
|
+
var mi = /*#__PURE__*/ W(0);
|
|
2160
|
+
function hi(e) {
|
|
2160
2161
|
let t = J(e);
|
|
2161
|
-
return !
|
|
2162
|
+
return !ii() || !t.visualViewport ? mi : {
|
|
2162
2163
|
x: t.visualViewport.offsetLeft,
|
|
2163
2164
|
y: t.visualViewport.offsetTop
|
|
2164
2165
|
};
|
|
2165
2166
|
}
|
|
2166
|
-
function
|
|
2167
|
+
function gi(e, t, n) {
|
|
2167
2168
|
return t === void 0 && (t = !1), !n || t && n !== J(e) ? !1 : t;
|
|
2168
2169
|
}
|
|
2169
|
-
function
|
|
2170
|
+
function _i(e, t, n, r) {
|
|
2170
2171
|
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
|
2171
|
-
let i = e.getBoundingClientRect(), a =
|
|
2172
|
-
t && (r ? X(r) && (o =
|
|
2173
|
-
let s =
|
|
2172
|
+
let i = e.getBoundingClientRect(), a = fi(e), o = W(1);
|
|
2173
|
+
t && (r ? X(r) && (o = pi(r)) : o = pi(e));
|
|
2174
|
+
let s = gi(a, n, r) ? hi(a) : W(0), c = (i.left + s.x) / o.x, l = (i.top + s.y) / o.y, u = i.width / o.x, d = i.height / o.y;
|
|
2174
2175
|
if (a) {
|
|
2175
|
-
let e = J(a), t = r && X(r) ? J(r) : r, n = e, i =
|
|
2176
|
+
let e = J(a), t = r && X(r) ? J(r) : r, n = e, i = ui(n);
|
|
2176
2177
|
for (; i && r && t !== n;) {
|
|
2177
|
-
let e =
|
|
2178
|
-
c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = J(i), i =
|
|
2178
|
+
let e = pi(i), t = i.getBoundingClientRect(), r = Q(i), a = t.left + (i.clientLeft + parseFloat(r.paddingLeft)) * e.x, o = t.top + (i.clientTop + parseFloat(r.paddingTop)) * e.y;
|
|
2179
|
+
c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = J(i), i = ui(n);
|
|
2179
2180
|
}
|
|
2180
2181
|
}
|
|
2181
|
-
return
|
|
2182
|
+
return kr({
|
|
2182
2183
|
width: u,
|
|
2183
2184
|
height: d,
|
|
2184
2185
|
x: c,
|
|
2185
2186
|
y: l
|
|
2186
2187
|
});
|
|
2187
2188
|
}
|
|
2188
|
-
function _i(e, t) {
|
|
2189
|
-
let n = ai(e).scrollLeft;
|
|
2190
|
-
return t ? t.left + n : gi(Y(e)).left + n;
|
|
2191
|
-
}
|
|
2192
2189
|
function vi(e, t) {
|
|
2190
|
+
let n = oi(e).scrollLeft;
|
|
2191
|
+
return t ? t.left + n : _i(Y(e)).left + n;
|
|
2192
|
+
}
|
|
2193
|
+
function yi(e, t) {
|
|
2193
2194
|
let n = e.getBoundingClientRect();
|
|
2194
2195
|
return {
|
|
2195
|
-
x: n.left + t.scrollLeft -
|
|
2196
|
+
x: n.left + t.scrollLeft - vi(e, n),
|
|
2196
2197
|
y: n.top + t.scrollTop
|
|
2197
2198
|
};
|
|
2198
2199
|
}
|
|
2199
|
-
function
|
|
2200
|
-
let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = Y(r), s = t ?
|
|
2200
|
+
function bi(e) {
|
|
2201
|
+
let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = Y(r), s = t ? Zr(t.floating) : !1;
|
|
2201
2202
|
if (r === o || s && a) return n;
|
|
2202
2203
|
let c = {
|
|
2203
2204
|
scrollLeft: 0,
|
|
2204
2205
|
scrollTop: 0
|
|
2205
2206
|
}, l = W(1), u = W(0), d = Z(r);
|
|
2206
|
-
if ((d || !d && !a) && ((
|
|
2207
|
-
let e =
|
|
2208
|
-
l =
|
|
2207
|
+
if ((d || !d && !a) && ((Kr(r) !== "body" || Yr(o)) && (c = oi(r)), d)) {
|
|
2208
|
+
let e = _i(r);
|
|
2209
|
+
l = pi(r), u.x = e.x + r.clientLeft, u.y = e.y + r.clientTop;
|
|
2209
2210
|
}
|
|
2210
|
-
let f = o && !d && !a ?
|
|
2211
|
+
let f = o && !d && !a ? yi(o, c) : W(0);
|
|
2211
2212
|
return {
|
|
2212
2213
|
width: n.width * l.x,
|
|
2213
2214
|
height: n.height * l.y,
|
|
@@ -2215,11 +2216,11 @@ function yi(e) {
|
|
|
2215
2216
|
y: n.y * l.y - c.scrollTop * l.y + u.y + f.y
|
|
2216
2217
|
};
|
|
2217
2218
|
}
|
|
2218
|
-
function
|
|
2219
|
+
function xi(e) {
|
|
2219
2220
|
return Array.from(e.getClientRects());
|
|
2220
2221
|
}
|
|
2221
|
-
function
|
|
2222
|
-
let t = Y(e), n =
|
|
2222
|
+
function Si(e) {
|
|
2223
|
+
let t = Y(e), n = oi(e), r = e.ownerDocument.body, i = U(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), a = U(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight), o = -n.scrollLeft + vi(e), s = -n.scrollTop;
|
|
2223
2224
|
return Q(r).direction === "rtl" && (o += U(t.clientWidth, r.clientWidth) - i), {
|
|
2224
2225
|
width: i,
|
|
2225
2226
|
height: a,
|
|
@@ -2227,19 +2228,19 @@ function xi(e) {
|
|
|
2227
2228
|
y: s
|
|
2228
2229
|
};
|
|
2229
2230
|
}
|
|
2230
|
-
var
|
|
2231
|
-
function
|
|
2231
|
+
var Ci = 25;
|
|
2232
|
+
function wi(e, t) {
|
|
2232
2233
|
let n = J(e), r = Y(e), i = n.visualViewport, a = r.clientWidth, o = r.clientHeight, s = 0, c = 0;
|
|
2233
2234
|
if (i) {
|
|
2234
2235
|
a = i.width, o = i.height;
|
|
2235
|
-
let e =
|
|
2236
|
+
let e = ii();
|
|
2236
2237
|
(!e || e && t === "fixed") && (s = i.offsetLeft, c = i.offsetTop);
|
|
2237
2238
|
}
|
|
2238
|
-
let l =
|
|
2239
|
+
let l = vi(r);
|
|
2239
2240
|
if (l <= 0) {
|
|
2240
2241
|
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);
|
|
2241
|
-
o <=
|
|
2242
|
-
} else l <=
|
|
2242
|
+
o <= Ci && (a -= o);
|
|
2243
|
+
} else l <= Ci && (a += l);
|
|
2243
2244
|
return {
|
|
2244
2245
|
width: a,
|
|
2245
2246
|
height: o,
|
|
@@ -2247,8 +2248,8 @@ function Ci(e, t) {
|
|
|
2247
2248
|
y: c
|
|
2248
2249
|
};
|
|
2249
2250
|
}
|
|
2250
|
-
function
|
|
2251
|
-
let n =
|
|
2251
|
+
function Ti(e, t) {
|
|
2252
|
+
let n = _i(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = Z(e) ? pi(e) : W(1);
|
|
2252
2253
|
return {
|
|
2253
2254
|
width: e.clientWidth * a.x,
|
|
2254
2255
|
height: e.clientHeight * a.y,
|
|
@@ -2256,13 +2257,13 @@ function wi(e, t) {
|
|
|
2256
2257
|
y: r * a.y
|
|
2257
2258
|
};
|
|
2258
2259
|
}
|
|
2259
|
-
function
|
|
2260
|
+
function Ei(e, t, n) {
|
|
2260
2261
|
let r;
|
|
2261
|
-
if (t === "viewport") r =
|
|
2262
|
-
else if (t === "document") r =
|
|
2263
|
-
else if (X(t)) r =
|
|
2262
|
+
if (t === "viewport") r = wi(e, n);
|
|
2263
|
+
else if (t === "document") r = Si(Y(e));
|
|
2264
|
+
else if (X(t)) r = Ti(t, n);
|
|
2264
2265
|
else {
|
|
2265
|
-
let n =
|
|
2266
|
+
let n = hi(e);
|
|
2266
2267
|
r = {
|
|
2267
2268
|
x: t.x - n.x,
|
|
2268
2269
|
y: t.y - n.y,
|
|
@@ -2270,27 +2271,27 @@ function Ti(e, t, n) {
|
|
|
2270
2271
|
height: t.height
|
|
2271
2272
|
};
|
|
2272
2273
|
}
|
|
2273
|
-
return
|
|
2274
|
-
}
|
|
2275
|
-
function Ei(e, t) {
|
|
2276
|
-
let n = oi(e);
|
|
2277
|
-
return n === t || !X(n) || ii(n) ? !1 : Q(n).position === "fixed" || Ei(n, t);
|
|
2274
|
+
return kr(r);
|
|
2278
2275
|
}
|
|
2279
2276
|
function Di(e, t) {
|
|
2277
|
+
let n = si(e);
|
|
2278
|
+
return n === t || !X(n) || ai(n) ? !1 : Q(n).position === "fixed" || Di(n, t);
|
|
2279
|
+
}
|
|
2280
|
+
function Oi(e, t) {
|
|
2280
2281
|
let n = t.get(e);
|
|
2281
2282
|
if (n) return n;
|
|
2282
|
-
let r =
|
|
2283
|
-
for (; X(o) && !
|
|
2284
|
-
let t = Q(o), n =
|
|
2285
|
-
!n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") ||
|
|
2283
|
+
let r = li(e, [], !1).filter((e) => X(e) && Kr(e) !== "body"), i = null, a = Q(e).position === "fixed", o = a ? si(e) : e;
|
|
2284
|
+
for (; X(o) && !ai(o);) {
|
|
2285
|
+
let t = Q(o), n = ni(o);
|
|
2286
|
+
!n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") || Yr(o) && !n && Di(e, o)) ? r = r.filter((e) => e !== o) : i = t, o = si(o);
|
|
2286
2287
|
}
|
|
2287
2288
|
return t.set(e, r), r;
|
|
2288
2289
|
}
|
|
2289
|
-
function
|
|
2290
|
-
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ?
|
|
2290
|
+
function ki(e) {
|
|
2291
|
+
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? Zr(t) ? [] : Oi(t, this._c) : [].concat(n), r], o = Ei(t, a[0], i), s = o.top, c = o.right, l = o.bottom, u = o.left;
|
|
2291
2292
|
for (let e = 1; e < a.length; e++) {
|
|
2292
|
-
let n =
|
|
2293
|
-
s = U(n.top, s), c =
|
|
2293
|
+
let n = Ei(t, a[e], i);
|
|
2294
|
+
s = U(n.top, s), c = cr(n.right, c), l = cr(n.bottom, l), u = U(n.left, u);
|
|
2294
2295
|
}
|
|
2295
2296
|
return {
|
|
2296
2297
|
width: c - u,
|
|
@@ -2299,27 +2300,27 @@ function Oi(e) {
|
|
|
2299
2300
|
y: s
|
|
2300
2301
|
};
|
|
2301
2302
|
}
|
|
2302
|
-
function
|
|
2303
|
-
let { width: t, height: n } =
|
|
2303
|
+
function Ai(e) {
|
|
2304
|
+
let { width: t, height: n } = di(e);
|
|
2304
2305
|
return {
|
|
2305
2306
|
width: t,
|
|
2306
2307
|
height: n
|
|
2307
2308
|
};
|
|
2308
2309
|
}
|
|
2309
|
-
function
|
|
2310
|
-
let r = Z(t), i = Y(t), a = n === "fixed", o =
|
|
2310
|
+
function ji(e, t, n) {
|
|
2311
|
+
let r = Z(t), i = Y(t), a = n === "fixed", o = _i(e, !0, a, t), s = {
|
|
2311
2312
|
scrollLeft: 0,
|
|
2312
2313
|
scrollTop: 0
|
|
2313
2314
|
}, c = W(0);
|
|
2314
2315
|
function l() {
|
|
2315
|
-
c.x =
|
|
2316
|
+
c.x = vi(i);
|
|
2316
2317
|
}
|
|
2317
|
-
if (r || !r && !a) if ((
|
|
2318
|
-
let e =
|
|
2318
|
+
if (r || !r && !a) if ((Kr(t) !== "body" || Yr(i)) && (s = oi(t)), r) {
|
|
2319
|
+
let e = _i(t, !0, a, t);
|
|
2319
2320
|
c.x = e.x + t.clientLeft, c.y = e.y + t.clientTop;
|
|
2320
2321
|
} else i && l();
|
|
2321
2322
|
a && !r && i && l();
|
|
2322
|
-
let u = i && !r && !a ?
|
|
2323
|
+
let u = i && !r && !a ? yi(i, s) : W(0);
|
|
2323
2324
|
return {
|
|
2324
2325
|
x: o.left + s.scrollLeft - c.x - u.x,
|
|
2325
2326
|
y: o.top + s.scrollTop - c.y - u.y,
|
|
@@ -2327,34 +2328,34 @@ function Ai(e, t, n) {
|
|
|
2327
2328
|
height: o.height
|
|
2328
2329
|
};
|
|
2329
2330
|
}
|
|
2330
|
-
function
|
|
2331
|
+
function Mi(e) {
|
|
2331
2332
|
return Q(e).position === "static";
|
|
2332
2333
|
}
|
|
2333
|
-
function
|
|
2334
|
+
function Ni(e, t) {
|
|
2334
2335
|
if (!Z(e) || Q(e).position === "fixed") return null;
|
|
2335
2336
|
if (t) return t(e);
|
|
2336
2337
|
let n = e.offsetParent;
|
|
2337
2338
|
return Y(e) === n && (n = n.ownerDocument.body), n;
|
|
2338
2339
|
}
|
|
2339
|
-
function
|
|
2340
|
+
function Pi(e, t) {
|
|
2340
2341
|
let n = J(e);
|
|
2341
|
-
if (
|
|
2342
|
+
if (Zr(e)) return n;
|
|
2342
2343
|
if (!Z(e)) {
|
|
2343
|
-
let t =
|
|
2344
|
-
for (; t && !
|
|
2345
|
-
if (X(t) && !
|
|
2346
|
-
t =
|
|
2344
|
+
let t = si(e);
|
|
2345
|
+
for (; t && !ai(t);) {
|
|
2346
|
+
if (X(t) && !Mi(t)) return t;
|
|
2347
|
+
t = si(t);
|
|
2347
2348
|
}
|
|
2348
2349
|
return n;
|
|
2349
2350
|
}
|
|
2350
|
-
let r =
|
|
2351
|
-
for (; r &&
|
|
2352
|
-
return r &&
|
|
2351
|
+
let r = Ni(e, t);
|
|
2352
|
+
for (; r && Xr(r) && Mi(r);) r = Ni(r, t);
|
|
2353
|
+
return r && ai(r) && Mi(r) && !ni(r) ? n : r || ri(e) || n;
|
|
2353
2354
|
}
|
|
2354
|
-
var
|
|
2355
|
-
let t = this.getOffsetParent ||
|
|
2355
|
+
var Fi = async function(e) {
|
|
2356
|
+
let t = this.getOffsetParent || Pi, n = this.getDimensions, r = await n(e.floating);
|
|
2356
2357
|
return {
|
|
2357
|
-
reference:
|
|
2358
|
+
reference: ji(e.reference, await t(e.floating), e.strategy),
|
|
2358
2359
|
floating: {
|
|
2359
2360
|
x: 0,
|
|
2360
2361
|
y: 0,
|
|
@@ -2363,25 +2364,25 @@ var Pi = async function(e) {
|
|
|
2363
2364
|
}
|
|
2364
2365
|
};
|
|
2365
2366
|
};
|
|
2366
|
-
function
|
|
2367
|
+
function Ii(e) {
|
|
2367
2368
|
return Q(e).direction === "rtl";
|
|
2368
2369
|
}
|
|
2369
|
-
var
|
|
2370
|
-
convertOffsetParentRelativeRectToViewportRelativeRect:
|
|
2370
|
+
var Li = {
|
|
2371
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: bi,
|
|
2371
2372
|
getDocumentElement: Y,
|
|
2372
|
-
getClippingRect:
|
|
2373
|
-
getOffsetParent:
|
|
2374
|
-
getElementRects:
|
|
2375
|
-
getClientRects:
|
|
2376
|
-
getDimensions:
|
|
2377
|
-
getScale:
|
|
2373
|
+
getClippingRect: ki,
|
|
2374
|
+
getOffsetParent: Pi,
|
|
2375
|
+
getElementRects: Fi,
|
|
2376
|
+
getClientRects: xi,
|
|
2377
|
+
getDimensions: Ai,
|
|
2378
|
+
getScale: pi,
|
|
2378
2379
|
isElement: X,
|
|
2379
|
-
isRTL:
|
|
2380
|
+
isRTL: Ii
|
|
2380
2381
|
};
|
|
2381
|
-
function
|
|
2382
|
+
function Ri(e, t) {
|
|
2382
2383
|
return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
|
|
2383
2384
|
}
|
|
2384
|
-
function
|
|
2385
|
+
function zi(e, t) {
|
|
2385
2386
|
let n = null, r, i = Y(e);
|
|
2386
2387
|
function a() {
|
|
2387
2388
|
var e;
|
|
@@ -2391,9 +2392,9 @@ function Ri(e, t) {
|
|
|
2391
2392
|
s === void 0 && (s = !1), c === void 0 && (c = 1), a();
|
|
2392
2393
|
let l = e.getBoundingClientRect(), { left: u, top: d, width: f, height: p } = l;
|
|
2393
2394
|
if (s || t(), !f || !p) return;
|
|
2394
|
-
let m =
|
|
2395
|
+
let m = ur(d), h = ur(i.clientWidth - (u + f)), g = ur(i.clientHeight - (d + p)), _ = ur(u), v = {
|
|
2395
2396
|
rootMargin: -m + "px " + -h + "px " + -g + "px " + -_ + "px",
|
|
2396
|
-
threshold: U(0,
|
|
2397
|
+
threshold: U(0, cr(1, c)) || 1
|
|
2397
2398
|
}, y = !0;
|
|
2398
2399
|
function b(t) {
|
|
2399
2400
|
let n = t[0].intersectionRatio;
|
|
@@ -2403,7 +2404,7 @@ function Ri(e, t) {
|
|
|
2403
2404
|
o(!1, 1e-7);
|
|
2404
2405
|
}, 1e3);
|
|
2405
2406
|
}
|
|
2406
|
-
n === 1 && !
|
|
2407
|
+
n === 1 && !Ri(l, e.getBoundingClientRect()) && o(), y = !1;
|
|
2407
2408
|
}
|
|
2408
2409
|
try {
|
|
2409
2410
|
n = new IntersectionObserver(b, {
|
|
@@ -2417,13 +2418,13 @@ function Ri(e, t) {
|
|
|
2417
2418
|
}
|
|
2418
2419
|
return o(!0), a;
|
|
2419
2420
|
}
|
|
2420
|
-
function
|
|
2421
|
+
function Bi(e, t, n, r) {
|
|
2421
2422
|
r === void 0 && (r = {});
|
|
2422
|
-
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l =
|
|
2423
|
+
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l = fi(e), u = i || a ? [...l ? li(l) : [], ...t ? li(t) : []] : [];
|
|
2423
2424
|
u.forEach((e) => {
|
|
2424
2425
|
i && e.addEventListener("scroll", n, { passive: !0 }), a && e.addEventListener("resize", n);
|
|
2425
2426
|
});
|
|
2426
|
-
let d = l && s ?
|
|
2427
|
+
let d = l && s ? zi(l, n) : null, f = -1, p = null;
|
|
2427
2428
|
o && (p = new ResizeObserver((e) => {
|
|
2428
2429
|
let [r] = e;
|
|
2429
2430
|
r && r.target === l && p && t && (p.unobserve(t), cancelAnimationFrame(f), f = requestAnimationFrame(() => {
|
|
@@ -2431,11 +2432,11 @@ function zi(e, t, n, r) {
|
|
|
2431
2432
|
(e = p) == null || e.observe(t);
|
|
2432
2433
|
})), n();
|
|
2433
2434
|
}), l && !c && p.observe(l), t && p.observe(t));
|
|
2434
|
-
let m, h = c ?
|
|
2435
|
+
let m, h = c ? _i(e) : null;
|
|
2435
2436
|
c && g();
|
|
2436
2437
|
function g() {
|
|
2437
|
-
let t =
|
|
2438
|
-
h && !
|
|
2438
|
+
let t = _i(e);
|
|
2439
|
+
h && !Ri(h, t) && n(), h = t, m = requestAnimationFrame(g);
|
|
2439
2440
|
}
|
|
2440
2441
|
return n(), () => {
|
|
2441
2442
|
var e;
|
|
@@ -2444,20 +2445,20 @@ function zi(e, t, n, r) {
|
|
|
2444
2445
|
}), d?.(), (e = p) == null || e.disconnect(), p = null, c && cancelAnimationFrame(m);
|
|
2445
2446
|
};
|
|
2446
2447
|
}
|
|
2447
|
-
var
|
|
2448
|
+
var Vi = Vr, Hi = Hr, Ui = Fr, Wi = Wr, Gi = Rr, Ki = Pr, qi = Ur, Ji = (e, t, n) => {
|
|
2448
2449
|
let r = /* @__PURE__ */ new Map(), i = {
|
|
2449
|
-
platform:
|
|
2450
|
+
platform: Li,
|
|
2450
2451
|
...n
|
|
2451
2452
|
}, a = {
|
|
2452
2453
|
...i.platform,
|
|
2453
2454
|
_c: r
|
|
2454
2455
|
};
|
|
2455
|
-
return
|
|
2456
|
+
return Nr(e, t, {
|
|
2456
2457
|
...i,
|
|
2457
2458
|
platform: a
|
|
2458
2459
|
});
|
|
2459
|
-
},
|
|
2460
|
-
function
|
|
2460
|
+
}, Yi = typeof document < "u" ? F.useLayoutEffect : function() {};
|
|
2461
|
+
function Xi(e, t) {
|
|
2461
2462
|
if (e === t) return !0;
|
|
2462
2463
|
if (typeof e != typeof t) return !1;
|
|
2463
2464
|
if (typeof e == "function" && e.toString() === t.toString()) return !0;
|
|
@@ -2465,33 +2466,33 @@ function Yi(e, t) {
|
|
|
2465
2466
|
if (e && t && typeof e == "object") {
|
|
2466
2467
|
if (Array.isArray(e)) {
|
|
2467
2468
|
if (n = e.length, n !== t.length) return !1;
|
|
2468
|
-
for (r = n; r-- !== 0;) if (!
|
|
2469
|
+
for (r = n; r-- !== 0;) if (!Xi(e[r], t[r])) return !1;
|
|
2469
2470
|
return !0;
|
|
2470
2471
|
}
|
|
2471
2472
|
if (i = Object.keys(e), n = i.length, n !== Object.keys(t).length) return !1;
|
|
2472
2473
|
for (r = n; r-- !== 0;) if (!{}.hasOwnProperty.call(t, i[r])) return !1;
|
|
2473
2474
|
for (r = n; r-- !== 0;) {
|
|
2474
2475
|
let n = i[r];
|
|
2475
|
-
if (!(n === "_owner" && e.$$typeof) && !
|
|
2476
|
+
if (!(n === "_owner" && e.$$typeof) && !Xi(e[n], t[n])) return !1;
|
|
2476
2477
|
}
|
|
2477
2478
|
return !0;
|
|
2478
2479
|
}
|
|
2479
2480
|
return e !== e && t !== t;
|
|
2480
2481
|
}
|
|
2481
|
-
function
|
|
2482
|
+
function Zi(e) {
|
|
2482
2483
|
return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
2483
2484
|
}
|
|
2484
|
-
function
|
|
2485
|
-
let n =
|
|
2485
|
+
function Qi(e, t) {
|
|
2486
|
+
let n = Zi(e);
|
|
2486
2487
|
return Math.round(t * n) / n;
|
|
2487
2488
|
}
|
|
2488
|
-
function
|
|
2489
|
+
function $i(e) {
|
|
2489
2490
|
let t = F.useRef(e);
|
|
2490
|
-
return
|
|
2491
|
+
return Yi(() => {
|
|
2491
2492
|
t.current = e;
|
|
2492
2493
|
}), t;
|
|
2493
2494
|
}
|
|
2494
|
-
function
|
|
2495
|
+
function ea(e) {
|
|
2495
2496
|
e === void 0 && (e = {});
|
|
2496
2497
|
let { placement: t = "bottom", strategy: n = "absolute", middleware: r = [], platform: i, elements: { reference: a, floating: o } = {}, transform: s = !0, whileElementsMounted: c, open: l } = e, [u, d] = F.useState({
|
|
2497
2498
|
x: 0,
|
|
@@ -2501,24 +2502,24 @@ function $i(e) {
|
|
|
2501
2502
|
middlewareData: {},
|
|
2502
2503
|
isPositioned: !1
|
|
2503
2504
|
}), [f, p] = F.useState(r);
|
|
2504
|
-
|
|
2505
|
+
Xi(f, r) || p(r);
|
|
2505
2506
|
let [m, h] = F.useState(null), [g, _] = F.useState(null), v = F.useCallback((e) => {
|
|
2506
2507
|
e !== S.current && (S.current = e, h(e));
|
|
2507
2508
|
}, []), y = F.useCallback((e) => {
|
|
2508
2509
|
e !== C.current && (C.current = e, _(e));
|
|
2509
|
-
}, []), b = a || m, x = o || g, S = F.useRef(null), C = F.useRef(null), w = F.useRef(u), T = c != null, ee =
|
|
2510
|
+
}, []), b = a || m, x = o || g, S = F.useRef(null), C = F.useRef(null), w = F.useRef(u), T = c != null, ee = $i(c), E = $i(i), D = $i(l), O = F.useCallback(() => {
|
|
2510
2511
|
if (!S.current || !C.current) return;
|
|
2511
2512
|
let e = {
|
|
2512
2513
|
placement: t,
|
|
2513
2514
|
strategy: n,
|
|
2514
2515
|
middleware: f
|
|
2515
2516
|
};
|
|
2516
|
-
|
|
2517
|
+
E.current && (e.platform = E.current), Ji(S.current, C.current, e).then((e) => {
|
|
2517
2518
|
let t = {
|
|
2518
2519
|
...e,
|
|
2519
|
-
isPositioned:
|
|
2520
|
+
isPositioned: D.current !== !1
|
|
2520
2521
|
};
|
|
2521
|
-
|
|
2522
|
+
k.current && !Xi(w.current, t) && (w.current = t, dt.flushSync(() => {
|
|
2522
2523
|
d(t);
|
|
2523
2524
|
}));
|
|
2524
2525
|
});
|
|
@@ -2526,31 +2527,31 @@ function $i(e) {
|
|
|
2526
2527
|
f,
|
|
2527
2528
|
t,
|
|
2528
2529
|
n,
|
|
2529
|
-
|
|
2530
|
-
|
|
2530
|
+
E,
|
|
2531
|
+
D
|
|
2531
2532
|
]);
|
|
2532
|
-
|
|
2533
|
+
Yi(() => {
|
|
2533
2534
|
l === !1 && w.current.isPositioned && (w.current.isPositioned = !1, d((e) => ({
|
|
2534
2535
|
...e,
|
|
2535
2536
|
isPositioned: !1
|
|
2536
2537
|
})));
|
|
2537
2538
|
}, [l]);
|
|
2538
|
-
let
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
}), []),
|
|
2539
|
+
let k = F.useRef(!1);
|
|
2540
|
+
Yi(() => (k.current = !0, () => {
|
|
2541
|
+
k.current = !1;
|
|
2542
|
+
}), []), Yi(() => {
|
|
2542
2543
|
if (b && (S.current = b), x && (C.current = x), b && x) {
|
|
2543
|
-
if (ee.current) return ee.current(b, x,
|
|
2544
|
-
|
|
2544
|
+
if (ee.current) return ee.current(b, x, O);
|
|
2545
|
+
O();
|
|
2545
2546
|
}
|
|
2546
2547
|
}, [
|
|
2547
2548
|
b,
|
|
2548
2549
|
x,
|
|
2549
|
-
|
|
2550
|
+
O,
|
|
2550
2551
|
ee,
|
|
2551
2552
|
T
|
|
2552
2553
|
]);
|
|
2553
|
-
let
|
|
2554
|
+
let te = F.useMemo(() => ({
|
|
2554
2555
|
reference: S,
|
|
2555
2556
|
floating: C,
|
|
2556
2557
|
setReference: v,
|
|
@@ -2565,11 +2566,11 @@ function $i(e) {
|
|
|
2565
2566
|
top: 0
|
|
2566
2567
|
};
|
|
2567
2568
|
if (!A.floating) return e;
|
|
2568
|
-
let t =
|
|
2569
|
+
let t = Qi(A.floating, u.x), r = Qi(A.floating, u.y);
|
|
2569
2570
|
return s ? {
|
|
2570
2571
|
...e,
|
|
2571
2572
|
transform: "translate(" + t + "px, " + r + "px)",
|
|
2572
|
-
...
|
|
2573
|
+
...Zi(A.floating) >= 1.5 && { willChange: "transform" }
|
|
2573
2574
|
} : {
|
|
2574
2575
|
position: n,
|
|
2575
2576
|
left: t,
|
|
@@ -2584,19 +2585,19 @@ function $i(e) {
|
|
|
2584
2585
|
]);
|
|
2585
2586
|
return F.useMemo(() => ({
|
|
2586
2587
|
...u,
|
|
2587
|
-
update:
|
|
2588
|
-
refs:
|
|
2588
|
+
update: O,
|
|
2589
|
+
refs: te,
|
|
2589
2590
|
elements: A,
|
|
2590
2591
|
floatingStyles: j
|
|
2591
2592
|
}), [
|
|
2592
2593
|
u,
|
|
2593
|
-
|
|
2594
|
-
|
|
2594
|
+
O,
|
|
2595
|
+
te,
|
|
2595
2596
|
A,
|
|
2596
2597
|
j
|
|
2597
2598
|
]);
|
|
2598
2599
|
}
|
|
2599
|
-
var
|
|
2600
|
+
var ta = (e) => {
|
|
2600
2601
|
function t(e) {
|
|
2601
2602
|
return {}.hasOwnProperty.call(e, "current");
|
|
2602
2603
|
}
|
|
@@ -2605,22 +2606,15 @@ var ea = (e) => {
|
|
|
2605
2606
|
options: e,
|
|
2606
2607
|
fn(n) {
|
|
2607
2608
|
let { element: r, padding: i } = typeof e == "function" ? e(n) : e;
|
|
2608
|
-
return r && t(r) ? r.current == null ? {} :
|
|
2609
|
+
return r && t(r) ? r.current == null ? {} : Ki({
|
|
2609
2610
|
element: r.current,
|
|
2610
2611
|
padding: i
|
|
2611
|
-
}).fn(n) : r ?
|
|
2612
|
+
}).fn(n) : r ? Ki({
|
|
2612
2613
|
element: r,
|
|
2613
2614
|
padding: i
|
|
2614
2615
|
}).fn(n) : {};
|
|
2615
2616
|
}
|
|
2616
2617
|
};
|
|
2617
|
-
}, ta = (e, t) => {
|
|
2618
|
-
let n = Bi(e);
|
|
2619
|
-
return {
|
|
2620
|
-
name: n.name,
|
|
2621
|
-
fn: n.fn,
|
|
2622
|
-
options: [e, t]
|
|
2623
|
-
};
|
|
2624
2618
|
}, na = (e, t) => {
|
|
2625
2619
|
let n = Vi(e);
|
|
2626
2620
|
return {
|
|
@@ -2628,17 +2622,17 @@ var ea = (e) => {
|
|
|
2628
2622
|
fn: n.fn,
|
|
2629
2623
|
options: [e, t]
|
|
2630
2624
|
};
|
|
2631
|
-
}, ra = (e, t) =>
|
|
2632
|
-
fn: Ki(e).fn,
|
|
2633
|
-
options: [e, t]
|
|
2634
|
-
}), ia = (e, t) => {
|
|
2625
|
+
}, ra = (e, t) => {
|
|
2635
2626
|
let n = Hi(e);
|
|
2636
2627
|
return {
|
|
2637
2628
|
name: n.name,
|
|
2638
2629
|
fn: n.fn,
|
|
2639
2630
|
options: [e, t]
|
|
2640
2631
|
};
|
|
2641
|
-
},
|
|
2632
|
+
}, ia = (e, t) => ({
|
|
2633
|
+
fn: qi(e).fn,
|
|
2634
|
+
options: [e, t]
|
|
2635
|
+
}), aa = (e, t) => {
|
|
2642
2636
|
let n = Ui(e);
|
|
2643
2637
|
return {
|
|
2644
2638
|
name: n.name,
|
|
@@ -2653,13 +2647,20 @@ var ea = (e) => {
|
|
|
2653
2647
|
options: [e, t]
|
|
2654
2648
|
};
|
|
2655
2649
|
}, sa = (e, t) => {
|
|
2656
|
-
let n =
|
|
2650
|
+
let n = Gi(e);
|
|
2657
2651
|
return {
|
|
2658
2652
|
name: n.name,
|
|
2659
2653
|
fn: n.fn,
|
|
2660
2654
|
options: [e, t]
|
|
2661
2655
|
};
|
|
2662
|
-
}, ca =
|
|
2656
|
+
}, ca = (e, t) => {
|
|
2657
|
+
let n = ta(e);
|
|
2658
|
+
return {
|
|
2659
|
+
name: n.name,
|
|
2660
|
+
fn: n.fn,
|
|
2661
|
+
options: [e, t]
|
|
2662
|
+
};
|
|
2663
|
+
}, la = "Arrow", ua = F.forwardRef((e, t) => {
|
|
2663
2664
|
let { children: n, width: r = 10, height: i = 5, ...a } = e;
|
|
2664
2665
|
return /* @__PURE__ */ (0, I.jsx)(H.svg, {
|
|
2665
2666
|
...a,
|
|
@@ -2671,13 +2672,13 @@ var ea = (e) => {
|
|
|
2671
2672
|
children: e.asChild ? n : /* @__PURE__ */ (0, I.jsx)("polygon", { points: "0,0 30,0 15,10" })
|
|
2672
2673
|
});
|
|
2673
2674
|
});
|
|
2674
|
-
|
|
2675
|
-
var
|
|
2675
|
+
ua.displayName = la;
|
|
2676
|
+
var da = ua;
|
|
2676
2677
|
//#endregion
|
|
2677
2678
|
//#region ../node_modules/@radix-ui/react-use-size/dist/index.mjs
|
|
2678
|
-
function
|
|
2679
|
+
function fa(e) {
|
|
2679
2680
|
let [t, n] = F.useState(void 0);
|
|
2680
|
-
return
|
|
2681
|
+
return rr(() => {
|
|
2681
2682
|
if (e) {
|
|
2682
2683
|
n({
|
|
2683
2684
|
width: e.offsetWidth,
|
|
@@ -2701,18 +2702,18 @@ function da(e) {
|
|
|
2701
2702
|
}
|
|
2702
2703
|
//#endregion
|
|
2703
2704
|
//#region ../node_modules/@radix-ui/react-popper/dist/index.mjs
|
|
2704
|
-
var
|
|
2705
|
+
var pa = "Popper", [ma, ha] = mn(pa), [ga, _a] = ma(pa), va = (e) => {
|
|
2705
2706
|
let { __scopePopper: t, children: n } = e, [r, i] = F.useState(null);
|
|
2706
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
2707
|
+
return /* @__PURE__ */ (0, I.jsx)(ga, {
|
|
2707
2708
|
scope: t,
|
|
2708
2709
|
anchor: r,
|
|
2709
2710
|
onAnchorChange: i,
|
|
2710
2711
|
children: n
|
|
2711
2712
|
});
|
|
2712
2713
|
};
|
|
2713
|
-
|
|
2714
|
-
var
|
|
2715
|
-
let { __scopePopper: n, virtualRef: r, ...i } = e, a =
|
|
2714
|
+
va.displayName = pa;
|
|
2715
|
+
var ya = "PopperAnchor", ba = F.forwardRef((e, t) => {
|
|
2716
|
+
let { __scopePopper: n, virtualRef: r, ...i } = e, a = _a(ya, n), o = F.useRef(null), s = V(t, o), c = F.useRef(null);
|
|
2716
2717
|
return F.useEffect(() => {
|
|
2717
2718
|
let e = c.current;
|
|
2718
2719
|
c.current = r?.current || o.current, e !== c.current && a.onAnchorChange(c.current);
|
|
@@ -2721,68 +2722,68 @@ var va = "PopperAnchor", ya = F.forwardRef((e, t) => {
|
|
|
2721
2722
|
ref: s
|
|
2722
2723
|
});
|
|
2723
2724
|
});
|
|
2724
|
-
|
|
2725
|
-
var
|
|
2726
|
-
let { __scopePopper: n, side: r = "bottom", sideOffset: i = 0, align: a = "center", alignOffset: o = 0, arrowPadding: s = 0, avoidCollisions: c = !0, collisionBoundary: l = [], collisionPadding: u = 0, sticky: d = "partial", hideWhenDetached: f = !1, updatePositionStrategy: p = "optimized", onPlaced: m, ...h } = e, g =
|
|
2725
|
+
ba.displayName = ya;
|
|
2726
|
+
var xa = "PopperContent", [Sa, Ca] = ma(xa), wa = F.forwardRef((e, t) => {
|
|
2727
|
+
let { __scopePopper: n, side: r = "bottom", sideOffset: i = 0, align: a = "center", alignOffset: o = 0, arrowPadding: s = 0, avoidCollisions: c = !0, collisionBoundary: l = [], collisionPadding: u = 0, sticky: d = "partial", hideWhenDetached: f = !1, updatePositionStrategy: p = "optimized", onPlaced: m, ...h } = e, g = _a(xa, n), [_, v] = F.useState(null), y = V(t, (e) => v(e)), [b, x] = F.useState(null), S = fa(b), C = S?.width ?? 0, w = S?.height ?? 0, T = r + (a === "center" ? "" : "-" + a), ee = typeof u == "number" ? u : {
|
|
2727
2728
|
top: 0,
|
|
2728
2729
|
right: 0,
|
|
2729
2730
|
bottom: 0,
|
|
2730
2731
|
left: 0,
|
|
2731
2732
|
...u
|
|
2732
|
-
},
|
|
2733
|
+
}, E = Array.isArray(l) ? l : [l], D = E.length > 0, O = {
|
|
2733
2734
|
padding: ee,
|
|
2734
|
-
boundary:
|
|
2735
|
-
altBoundary:
|
|
2736
|
-
}, { refs:
|
|
2735
|
+
boundary: E.filter(Oa),
|
|
2736
|
+
altBoundary: D
|
|
2737
|
+
}, { refs: k, floatingStyles: te, placement: A, isPositioned: j, middlewareData: M } = ea({
|
|
2737
2738
|
strategy: "fixed",
|
|
2738
2739
|
placement: T,
|
|
2739
|
-
whileElementsMounted: (...e) =>
|
|
2740
|
+
whileElementsMounted: (...e) => Bi(...e, { animationFrame: p === "always" }),
|
|
2740
2741
|
elements: { reference: g.anchor },
|
|
2741
2742
|
middleware: [
|
|
2742
|
-
|
|
2743
|
+
na({
|
|
2743
2744
|
mainAxis: i + w,
|
|
2744
2745
|
alignmentAxis: o
|
|
2745
2746
|
}),
|
|
2746
|
-
c &&
|
|
2747
|
+
c && ra({
|
|
2747
2748
|
mainAxis: !0,
|
|
2748
2749
|
crossAxis: !1,
|
|
2749
|
-
limiter: d === "partial" ?
|
|
2750
|
-
...
|
|
2750
|
+
limiter: d === "partial" ? ia() : void 0,
|
|
2751
|
+
...O
|
|
2751
2752
|
}),
|
|
2752
|
-
c &&
|
|
2753
|
-
|
|
2754
|
-
...
|
|
2753
|
+
c && aa({ ...O }),
|
|
2754
|
+
oa({
|
|
2755
|
+
...O,
|
|
2755
2756
|
apply: ({ elements: e, rects: t, availableWidth: n, availableHeight: r }) => {
|
|
2756
2757
|
let { width: i, height: a } = t.reference, o = e.floating.style;
|
|
2757
2758
|
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`);
|
|
2758
2759
|
}
|
|
2759
2760
|
}),
|
|
2760
|
-
b &&
|
|
2761
|
+
b && ca({
|
|
2761
2762
|
element: b,
|
|
2762
2763
|
padding: s
|
|
2763
2764
|
}),
|
|
2764
|
-
|
|
2765
|
+
ka({
|
|
2765
2766
|
arrowWidth: C,
|
|
2766
2767
|
arrowHeight: w
|
|
2767
2768
|
}),
|
|
2768
|
-
f &&
|
|
2769
|
+
f && sa({
|
|
2769
2770
|
strategy: "referenceHidden",
|
|
2770
|
-
...
|
|
2771
|
+
...O
|
|
2771
2772
|
})
|
|
2772
2773
|
]
|
|
2773
|
-
}), [ne, re] =
|
|
2774
|
-
|
|
2774
|
+
}), [ne, re] = Aa(A), ie = Cn(m);
|
|
2775
|
+
rr(() => {
|
|
2775
2776
|
j && ie?.();
|
|
2776
2777
|
}, [j, ie]);
|
|
2777
2778
|
let N = M.arrow?.x, ae = M.arrow?.y, oe = M.arrow?.centerOffset !== 0, [se, ce] = F.useState();
|
|
2778
|
-
return
|
|
2779
|
+
return rr(() => {
|
|
2779
2780
|
_ && ce(window.getComputedStyle(_).zIndex);
|
|
2780
2781
|
}, [_]), /* @__PURE__ */ (0, I.jsx)("div", {
|
|
2781
|
-
ref:
|
|
2782
|
+
ref: k.setFloating,
|
|
2782
2783
|
"data-radix-popper-content-wrapper": "",
|
|
2783
2784
|
style: {
|
|
2784
|
-
...
|
|
2785
|
-
transform: j ?
|
|
2785
|
+
...te,
|
|
2786
|
+
transform: j ? te.transform : "translate(0, -200%)",
|
|
2786
2787
|
minWidth: "max-content",
|
|
2787
2788
|
zIndex: se,
|
|
2788
2789
|
"--radix-popper-transform-origin": [M.transformOrigin?.x, M.transformOrigin?.y].join(" "),
|
|
@@ -2792,7 +2793,7 @@ var ba = "PopperContent", [xa, Sa] = pa(ba), Ca = F.forwardRef((e, t) => {
|
|
|
2792
2793
|
}
|
|
2793
2794
|
},
|
|
2794
2795
|
dir: e.dir,
|
|
2795
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
2796
|
+
children: /* @__PURE__ */ (0, I.jsx)(Sa, {
|
|
2796
2797
|
scope: n,
|
|
2797
2798
|
placedSide: ne,
|
|
2798
2799
|
onArrowChange: x,
|
|
@@ -2812,14 +2813,14 @@ var ba = "PopperContent", [xa, Sa] = pa(ba), Ca = F.forwardRef((e, t) => {
|
|
|
2812
2813
|
})
|
|
2813
2814
|
});
|
|
2814
2815
|
});
|
|
2815
|
-
|
|
2816
|
-
var
|
|
2816
|
+
wa.displayName = xa;
|
|
2817
|
+
var Ta = "PopperArrow", Ea = {
|
|
2817
2818
|
top: "bottom",
|
|
2818
2819
|
right: "left",
|
|
2819
2820
|
bottom: "top",
|
|
2820
2821
|
left: "right"
|
|
2821
|
-
},
|
|
2822
|
-
let { __scopePopper: n, ...r } = e, i =
|
|
2822
|
+
}, Da = F.forwardRef(function(e, t) {
|
|
2823
|
+
let { __scopePopper: n, ...r } = e, i = Ca(Ta, n), a = Ea[i.placedSide];
|
|
2823
2824
|
return /* @__PURE__ */ (0, I.jsx)("span", {
|
|
2824
2825
|
ref: i.onArrowChange,
|
|
2825
2826
|
style: {
|
|
@@ -2841,7 +2842,7 @@ var wa = "PopperArrow", Ta = {
|
|
|
2841
2842
|
}[i.placedSide],
|
|
2842
2843
|
visibility: i.shouldHideArrow ? "hidden" : void 0
|
|
2843
2844
|
},
|
|
2844
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
2845
|
+
children: /* @__PURE__ */ (0, I.jsx)(da, {
|
|
2845
2846
|
...r,
|
|
2846
2847
|
ref: t,
|
|
2847
2848
|
style: {
|
|
@@ -2851,15 +2852,15 @@ var wa = "PopperArrow", Ta = {
|
|
|
2851
2852
|
})
|
|
2852
2853
|
});
|
|
2853
2854
|
});
|
|
2854
|
-
|
|
2855
|
-
function
|
|
2855
|
+
Da.displayName = Ta;
|
|
2856
|
+
function Oa(e) {
|
|
2856
2857
|
return e !== null;
|
|
2857
2858
|
}
|
|
2858
|
-
var
|
|
2859
|
+
var ka = (e) => ({
|
|
2859
2860
|
name: "transformOrigin",
|
|
2860
2861
|
options: e,
|
|
2861
2862
|
fn(t) {
|
|
2862
|
-
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] =
|
|
2863
|
+
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] = Aa(n), u = {
|
|
2863
2864
|
start: "0%",
|
|
2864
2865
|
center: "50%",
|
|
2865
2866
|
end: "100%"
|
|
@@ -2870,32 +2871,32 @@ var Oa = (e) => ({
|
|
|
2870
2871
|
} };
|
|
2871
2872
|
}
|
|
2872
2873
|
});
|
|
2873
|
-
function
|
|
2874
|
+
function Aa(e) {
|
|
2874
2875
|
let [t, n = "center"] = e.split("-");
|
|
2875
2876
|
return [t, n];
|
|
2876
2877
|
}
|
|
2877
|
-
var
|
|
2878
|
+
var ja = va, Ma = ba, Na = wa, Pa = Da, Fa = "Portal", Ia = F.forwardRef((e, t) => {
|
|
2878
2879
|
let { container: n, ...r } = e, [i, a] = F.useState(!1);
|
|
2879
|
-
|
|
2880
|
+
rr(() => a(!0), []);
|
|
2880
2881
|
let o = n || i && globalThis?.document?.body;
|
|
2881
|
-
return o ?
|
|
2882
|
+
return o ? dt.createPortal(/* @__PURE__ */ (0, I.jsx)(H.div, {
|
|
2882
2883
|
...r,
|
|
2883
2884
|
ref: t
|
|
2884
2885
|
}), o) : null;
|
|
2885
2886
|
});
|
|
2886
|
-
|
|
2887
|
+
Ia.displayName = Fa;
|
|
2887
2888
|
//#endregion
|
|
2888
2889
|
//#region ../node_modules/@radix-ui/react-presence/dist/index.mjs
|
|
2889
|
-
function
|
|
2890
|
+
function La(e, t) {
|
|
2890
2891
|
return F.useReducer((e, n) => t[e][n] ?? e, e);
|
|
2891
2892
|
}
|
|
2892
|
-
var
|
|
2893
|
-
let { present: t, children: n } = e, r =
|
|
2893
|
+
var Ra = (e) => {
|
|
2894
|
+
let { present: t, children: n } = e, r = za(t), i = typeof n == "function" ? n({ present: r.isPresent }) : F.Children.only(n), a = V(r.ref, Va(i));
|
|
2894
2895
|
return typeof n == "function" || r.isPresent ? F.cloneElement(i, { ref: a }) : null;
|
|
2895
2896
|
};
|
|
2896
|
-
|
|
2897
|
-
function
|
|
2898
|
-
let [t, n] = F.useState(), r = F.useRef(null), i = F.useRef(e), a = F.useRef("none"), [o, s] =
|
|
2897
|
+
Ra.displayName = "Presence";
|
|
2898
|
+
function za(e) {
|
|
2899
|
+
let [t, n] = F.useState(), r = F.useRef(null), i = F.useRef(e), a = F.useRef("none"), [o, s] = La(e ? "mounted" : "unmounted", {
|
|
2899
2900
|
mounted: {
|
|
2900
2901
|
UNMOUNT: "unmounted",
|
|
2901
2902
|
ANIMATION_OUT: "unmountSuspended"
|
|
@@ -2907,18 +2908,18 @@ function Ra(e) {
|
|
|
2907
2908
|
unmounted: { MOUNT: "mounted" }
|
|
2908
2909
|
});
|
|
2909
2910
|
return F.useEffect(() => {
|
|
2910
|
-
let e =
|
|
2911
|
+
let e = Ba(r.current);
|
|
2911
2912
|
a.current = o === "mounted" ? e : "none";
|
|
2912
|
-
}, [o]),
|
|
2913
|
+
}, [o]), rr(() => {
|
|
2913
2914
|
let t = r.current, n = i.current;
|
|
2914
2915
|
if (n !== e) {
|
|
2915
|
-
let r = a.current, o =
|
|
2916
|
+
let r = a.current, o = Ba(t);
|
|
2916
2917
|
e ? s("MOUNT") : o === "none" || t?.display === "none" ? s("UNMOUNT") : s(n && r !== o ? "ANIMATION_OUT" : "UNMOUNT"), i.current = e;
|
|
2917
2918
|
}
|
|
2918
|
-
}, [e, s]),
|
|
2919
|
+
}, [e, s]), rr(() => {
|
|
2919
2920
|
if (t) {
|
|
2920
2921
|
let e, n = t.ownerDocument.defaultView ?? window, o = (a) => {
|
|
2921
|
-
let o =
|
|
2922
|
+
let o = Ba(r.current).includes(CSS.escape(a.animationName));
|
|
2922
2923
|
if (a.target === t && o && (s("ANIMATION_END"), !i.current)) {
|
|
2923
2924
|
let r = t.style.animationFillMode;
|
|
2924
2925
|
t.style.animationFillMode = "forwards", e = n.setTimeout(() => {
|
|
@@ -2926,7 +2927,7 @@ function Ra(e) {
|
|
|
2926
2927
|
});
|
|
2927
2928
|
}
|
|
2928
2929
|
}, c = (e) => {
|
|
2929
|
-
e.target === t && (a.current =
|
|
2930
|
+
e.target === t && (a.current = Ba(r.current));
|
|
2930
2931
|
};
|
|
2931
2932
|
return t.addEventListener("animationstart", c), t.addEventListener("animationcancel", o), t.addEventListener("animationend", o), () => {
|
|
2932
2933
|
n.clearTimeout(e), t.removeEventListener("animationstart", c), t.removeEventListener("animationcancel", o), t.removeEventListener("animationend", o);
|
|
@@ -2939,18 +2940,18 @@ function Ra(e) {
|
|
|
2939
2940
|
}, [])
|
|
2940
2941
|
};
|
|
2941
2942
|
}
|
|
2942
|
-
function
|
|
2943
|
+
function Ba(e) {
|
|
2943
2944
|
return e?.animationName || "none";
|
|
2944
2945
|
}
|
|
2945
|
-
function
|
|
2946
|
+
function Va(e) {
|
|
2946
2947
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
2947
2948
|
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);
|
|
2948
2949
|
}
|
|
2949
2950
|
//#endregion
|
|
2950
2951
|
//#region ../node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
|
|
2951
|
-
var
|
|
2952
|
-
function
|
|
2953
|
-
let [i, a, o] =
|
|
2952
|
+
var Ha = F.useInsertionEffect || rr;
|
|
2953
|
+
function Ua({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
2954
|
+
let [i, a, o] = Wa({
|
|
2954
2955
|
defaultProp: t,
|
|
2955
2956
|
onChange: n
|
|
2956
2957
|
}), s = e !== void 0, c = s ? e : i;
|
|
@@ -2963,7 +2964,7 @@ function Ha({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
|
2963
2964
|
}
|
|
2964
2965
|
return [c, F.useCallback((t) => {
|
|
2965
2966
|
if (s) {
|
|
2966
|
-
let n =
|
|
2967
|
+
let n = Ga(t) ? t(e) : t;
|
|
2967
2968
|
n !== e && o.current?.(n);
|
|
2968
2969
|
} else a(t);
|
|
2969
2970
|
}, [
|
|
@@ -2973,9 +2974,9 @@ function Ha({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
|
2973
2974
|
o
|
|
2974
2975
|
])];
|
|
2975
2976
|
}
|
|
2976
|
-
function
|
|
2977
|
+
function Wa({ defaultProp: e, onChange: t }) {
|
|
2977
2978
|
let [n, r] = F.useState(e), i = F.useRef(n), a = F.useRef(t);
|
|
2978
|
-
return
|
|
2979
|
+
return Ha(() => {
|
|
2979
2980
|
a.current = t;
|
|
2980
2981
|
}, [t]), F.useEffect(() => {
|
|
2981
2982
|
i.current !== n && (a.current?.(n), i.current = n);
|
|
@@ -2985,27 +2986,27 @@ function Ua({ defaultProp: e, onChange: t }) {
|
|
|
2985
2986
|
a
|
|
2986
2987
|
];
|
|
2987
2988
|
}
|
|
2988
|
-
function
|
|
2989
|
+
function Ga(e) {
|
|
2989
2990
|
return typeof e == "function";
|
|
2990
2991
|
}
|
|
2991
2992
|
//#endregion
|
|
2992
2993
|
//#region ../node_modules/aria-hidden/dist/es2015/index.js
|
|
2993
|
-
var
|
|
2994
|
+
var Ka = function(e) {
|
|
2994
2995
|
return typeof document > "u" ? null : (Array.isArray(e) ? e[0] : e).ownerDocument.body;
|
|
2995
|
-
},
|
|
2996
|
-
return e && (e.host ||
|
|
2997
|
-
},
|
|
2996
|
+
}, qa = /* @__PURE__ */ new WeakMap(), Ja = /* @__PURE__ */ new WeakMap(), Ya = {}, Xa = 0, Za = function(e) {
|
|
2997
|
+
return e && (e.host || Za(e.parentNode));
|
|
2998
|
+
}, Qa = function(e, t) {
|
|
2998
2999
|
return t.map(function(t) {
|
|
2999
3000
|
if (e.contains(t)) return t;
|
|
3000
|
-
var n =
|
|
3001
|
+
var n = Za(t);
|
|
3001
3002
|
return n && e.contains(n) ? n : (console.error("aria-hidden", t, "in not contained inside", e, ". Doing nothing"), null);
|
|
3002
3003
|
}).filter(function(e) {
|
|
3003
3004
|
return !!e;
|
|
3004
3005
|
});
|
|
3005
|
-
},
|
|
3006
|
-
var i =
|
|
3007
|
-
|
|
3008
|
-
var a =
|
|
3006
|
+
}, $a = function(e, t, n, r) {
|
|
3007
|
+
var i = Qa(t, Array.isArray(e) ? e : [e]);
|
|
3008
|
+
Ya[n] || (Ya[n] = /* @__PURE__ */ new WeakMap());
|
|
3009
|
+
var a = Ya[n], o = [], s = /* @__PURE__ */ new Set(), c = new Set(i), l = function(e) {
|
|
3009
3010
|
!e || s.has(e) || (s.add(e), l(e.parentNode));
|
|
3010
3011
|
};
|
|
3011
3012
|
i.forEach(l);
|
|
@@ -3013,23 +3014,23 @@ var Ga = function(e) {
|
|
|
3013
3014
|
!e || c.has(e) || Array.prototype.forEach.call(e.children, function(e) {
|
|
3014
3015
|
if (s.has(e)) u(e);
|
|
3015
3016
|
else try {
|
|
3016
|
-
var t = e.getAttribute(r), i = t !== null && t !== "false", c = (
|
|
3017
|
-
|
|
3017
|
+
var t = e.getAttribute(r), i = t !== null && t !== "false", c = (qa.get(e) || 0) + 1, l = (a.get(e) || 0) + 1;
|
|
3018
|
+
qa.set(e, c), a.set(e, l), o.push(e), c === 1 && i && Ja.set(e, !0), l === 1 && e.setAttribute(n, "true"), i || e.setAttribute(r, "true");
|
|
3018
3019
|
} catch (t) {
|
|
3019
3020
|
console.error("aria-hidden: cannot operate on ", e, t);
|
|
3020
3021
|
}
|
|
3021
3022
|
});
|
|
3022
3023
|
};
|
|
3023
|
-
return u(t), s.clear(),
|
|
3024
|
+
return u(t), s.clear(), Xa++, function() {
|
|
3024
3025
|
o.forEach(function(e) {
|
|
3025
|
-
var t =
|
|
3026
|
-
|
|
3027
|
-
}),
|
|
3026
|
+
var t = qa.get(e) - 1, i = a.get(e) - 1;
|
|
3027
|
+
qa.set(e, t), a.set(e, i), t || (Ja.has(e) || e.removeAttribute(r), Ja.delete(e)), i || e.removeAttribute(n);
|
|
3028
|
+
}), Xa--, Xa || (qa = /* @__PURE__ */ new WeakMap(), qa = /* @__PURE__ */ new WeakMap(), Ja = /* @__PURE__ */ new WeakMap(), Ya = {});
|
|
3028
3029
|
};
|
|
3029
|
-
},
|
|
3030
|
+
}, eo = function(e, t, n) {
|
|
3030
3031
|
n === void 0 && (n = "data-aria-hidden");
|
|
3031
|
-
var r = Array.from(Array.isArray(e) ? e : [e]), i = t ||
|
|
3032
|
-
return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live], script"))),
|
|
3032
|
+
var r = Array.from(Array.isArray(e) ? e : [e]), i = t || Ka(e);
|
|
3033
|
+
return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live], script"))), $a(r, i, n, "aria-hidden")) : function() {
|
|
3033
3034
|
return null;
|
|
3034
3035
|
};
|
|
3035
3036
|
}, $ = function() {
|
|
@@ -3038,13 +3039,13 @@ var Ga = function(e) {
|
|
|
3038
3039
|
return e;
|
|
3039
3040
|
}, $.apply(this, arguments);
|
|
3040
3041
|
};
|
|
3041
|
-
function
|
|
3042
|
+
function to(e, t) {
|
|
3042
3043
|
var n = {};
|
|
3043
3044
|
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
3044
3045
|
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]]);
|
|
3045
3046
|
return n;
|
|
3046
3047
|
}
|
|
3047
|
-
function
|
|
3048
|
+
function no(e, t, n, r) {
|
|
3048
3049
|
function i(e) {
|
|
3049
3050
|
return e instanceof n ? e : new n(function(t) {
|
|
3050
3051
|
t(e);
|
|
@@ -3071,7 +3072,7 @@ function to(e, t, n, r) {
|
|
|
3071
3072
|
c((r = r.apply(e, t || [])).next());
|
|
3072
3073
|
});
|
|
3073
3074
|
}
|
|
3074
|
-
function
|
|
3075
|
+
function ro(e, t) {
|
|
3075
3076
|
var n = {
|
|
3076
3077
|
label: 0,
|
|
3077
3078
|
sent: function() {
|
|
@@ -3141,7 +3142,7 @@ function no(e, t) {
|
|
|
3141
3142
|
};
|
|
3142
3143
|
}
|
|
3143
3144
|
}
|
|
3144
|
-
function
|
|
3145
|
+
function io(e, t) {
|
|
3145
3146
|
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
3146
3147
|
if (!n) return e;
|
|
3147
3148
|
var r = n.call(e), i, a = [], o;
|
|
@@ -3158,25 +3159,25 @@ function ro(e, t) {
|
|
|
3158
3159
|
}
|
|
3159
3160
|
return a;
|
|
3160
3161
|
}
|
|
3161
|
-
function
|
|
3162
|
-
for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(
|
|
3162
|
+
function ao() {
|
|
3163
|
+
for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(io(arguments[t]));
|
|
3163
3164
|
return e;
|
|
3164
3165
|
}
|
|
3165
|
-
function
|
|
3166
|
+
function oo(e, t, n) {
|
|
3166
3167
|
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]);
|
|
3167
3168
|
return e.concat(a || Array.prototype.slice.call(t));
|
|
3168
3169
|
}
|
|
3169
3170
|
//#endregion
|
|
3170
3171
|
//#region ../node_modules/react-remove-scroll-bar/dist/es2015/constants.js
|
|
3171
|
-
var
|
|
3172
|
+
var so = "right-scroll-bar-position", co = "width-before-scroll-bar", lo = "with-scroll-bars-hidden", uo = "--removed-body-scroll-bar-size";
|
|
3172
3173
|
//#endregion
|
|
3173
3174
|
//#region ../node_modules/use-callback-ref/dist/es2015/assignRef.js
|
|
3174
|
-
function
|
|
3175
|
+
function fo(e, t) {
|
|
3175
3176
|
return typeof e == "function" ? e(t) : e && (e.current = t), e;
|
|
3176
3177
|
}
|
|
3177
3178
|
//#endregion
|
|
3178
3179
|
//#region ../node_modules/use-callback-ref/dist/es2015/useRef.js
|
|
3179
|
-
function
|
|
3180
|
+
function po(e, t) {
|
|
3180
3181
|
var n = (0, F.useState)(function() {
|
|
3181
3182
|
return {
|
|
3182
3183
|
value: e,
|
|
@@ -3196,33 +3197,33 @@ function fo(e, t) {
|
|
|
3196
3197
|
}
|
|
3197
3198
|
//#endregion
|
|
3198
3199
|
//#region ../node_modules/use-callback-ref/dist/es2015/useMergeRef.js
|
|
3199
|
-
var
|
|
3200
|
-
function
|
|
3201
|
-
var n =
|
|
3200
|
+
var mo = typeof window < "u" ? F.useLayoutEffect : F.useEffect, ho = /* @__PURE__ */ new WeakMap();
|
|
3201
|
+
function go(e, t) {
|
|
3202
|
+
var n = po(t || null, function(t) {
|
|
3202
3203
|
return e.forEach(function(e) {
|
|
3203
|
-
return
|
|
3204
|
+
return fo(e, t);
|
|
3204
3205
|
});
|
|
3205
3206
|
});
|
|
3206
|
-
return
|
|
3207
|
-
var t =
|
|
3207
|
+
return mo(function() {
|
|
3208
|
+
var t = ho.get(n);
|
|
3208
3209
|
if (t) {
|
|
3209
3210
|
var r = new Set(t), i = new Set(e), a = n.current;
|
|
3210
3211
|
r.forEach(function(e) {
|
|
3211
|
-
i.has(e) ||
|
|
3212
|
+
i.has(e) || fo(e, null);
|
|
3212
3213
|
}), i.forEach(function(e) {
|
|
3213
|
-
r.has(e) ||
|
|
3214
|
+
r.has(e) || fo(e, a);
|
|
3214
3215
|
});
|
|
3215
3216
|
}
|
|
3216
|
-
|
|
3217
|
+
ho.set(n, e);
|
|
3217
3218
|
}, [e]), n;
|
|
3218
3219
|
}
|
|
3219
3220
|
//#endregion
|
|
3220
3221
|
//#region ../node_modules/use-sidecar/dist/es2015/medium.js
|
|
3221
|
-
function
|
|
3222
|
+
function _o(e) {
|
|
3222
3223
|
return e;
|
|
3223
3224
|
}
|
|
3224
|
-
function
|
|
3225
|
-
t === void 0 && (t =
|
|
3225
|
+
function vo(e, t) {
|
|
3226
|
+
t === void 0 && (t = _o);
|
|
3226
3227
|
var n = [], r = !1;
|
|
3227
3228
|
return {
|
|
3228
3229
|
read: function() {
|
|
@@ -3275,9 +3276,9 @@ function _o(e, t) {
|
|
|
3275
3276
|
}
|
|
3276
3277
|
};
|
|
3277
3278
|
}
|
|
3278
|
-
function
|
|
3279
|
+
function yo(e) {
|
|
3279
3280
|
e === void 0 && (e = {});
|
|
3280
|
-
var t =
|
|
3281
|
+
var t = vo(null);
|
|
3281
3282
|
return t.options = $({
|
|
3282
3283
|
async: !0,
|
|
3283
3284
|
ssr: !1
|
|
@@ -3285,25 +3286,25 @@ function vo(e) {
|
|
|
3285
3286
|
}
|
|
3286
3287
|
//#endregion
|
|
3287
3288
|
//#region ../node_modules/use-sidecar/dist/es2015/exports.js
|
|
3288
|
-
var
|
|
3289
|
-
var t = e.sideCar, n =
|
|
3289
|
+
var bo = function(e) {
|
|
3290
|
+
var t = e.sideCar, n = to(e, ["sideCar"]);
|
|
3290
3291
|
if (!t) throw Error("Sidecar: please provide `sideCar` property to import the right car");
|
|
3291
3292
|
var r = t.read();
|
|
3292
3293
|
if (!r) throw Error("Sidecar medium not found");
|
|
3293
3294
|
return F.createElement(r, $({}, n));
|
|
3294
3295
|
};
|
|
3295
|
-
|
|
3296
|
-
function
|
|
3297
|
-
return e.useMedium(t),
|
|
3296
|
+
bo.isSideCarExport = !0;
|
|
3297
|
+
function xo(e, t) {
|
|
3298
|
+
return e.useMedium(t), bo;
|
|
3298
3299
|
}
|
|
3299
3300
|
//#endregion
|
|
3300
3301
|
//#region ../node_modules/react-remove-scroll/dist/es2015/medium.js
|
|
3301
|
-
var
|
|
3302
|
+
var So = yo(), Co = function() {}, wo = F.forwardRef(function(e, t) {
|
|
3302
3303
|
var n = F.useRef(null), r = F.useState({
|
|
3303
|
-
onScrollCapture:
|
|
3304
|
-
onWheelCapture:
|
|
3305
|
-
onTouchMoveCapture:
|
|
3306
|
-
}), i = r[0], a = r[1], o = e.forwardProps, s = e.children, c = e.className, l = e.removeScrollBar, u = e.enabled, d = e.shards, f = e.sideCar, p = e.noRelative, m = e.noIsolation, h = e.inert, g = e.allowPinchZoom, _ = e.as, v = _ === void 0 ? "div" : _, y = e.gapMode, b =
|
|
3304
|
+
onScrollCapture: Co,
|
|
3305
|
+
onWheelCapture: Co,
|
|
3306
|
+
onTouchMoveCapture: Co
|
|
3307
|
+
}), i = r[0], a = r[1], o = e.forwardProps, s = e.children, c = e.className, l = e.removeScrollBar, u = e.enabled, d = e.shards, f = e.sideCar, p = e.noRelative, m = e.noIsolation, h = e.inert, g = e.allowPinchZoom, _ = e.as, v = _ === void 0 ? "div" : _, y = e.gapMode, b = to(e, [
|
|
3307
3308
|
"forwardProps",
|
|
3308
3309
|
"children",
|
|
3309
3310
|
"className",
|
|
@@ -3317,9 +3318,9 @@ var xo = vo(), So = function() {}, Co = F.forwardRef(function(e, t) {
|
|
|
3317
3318
|
"allowPinchZoom",
|
|
3318
3319
|
"as",
|
|
3319
3320
|
"gapMode"
|
|
3320
|
-
]), x = f, S =
|
|
3321
|
+
]), x = f, S = go([n, t]), C = $($({}, b), i);
|
|
3321
3322
|
return F.createElement(F.Fragment, null, u && F.createElement(x, {
|
|
3322
|
-
sideCar:
|
|
3323
|
+
sideCar: So,
|
|
3323
3324
|
removeScrollBar: l,
|
|
3324
3325
|
shards: d,
|
|
3325
3326
|
noRelative: p,
|
|
@@ -3334,47 +3335,47 @@ var xo = vo(), So = function() {}, Co = F.forwardRef(function(e, t) {
|
|
|
3334
3335
|
ref: S
|
|
3335
3336
|
}), s));
|
|
3336
3337
|
});
|
|
3337
|
-
|
|
3338
|
+
wo.defaultProps = {
|
|
3338
3339
|
enabled: !0,
|
|
3339
3340
|
removeScrollBar: !0,
|
|
3340
3341
|
inert: !1
|
|
3341
|
-
},
|
|
3342
|
-
fullWidth:
|
|
3343
|
-
zeroRight:
|
|
3342
|
+
}, wo.classNames = {
|
|
3343
|
+
fullWidth: co,
|
|
3344
|
+
zeroRight: so
|
|
3344
3345
|
};
|
|
3345
3346
|
//#endregion
|
|
3346
3347
|
//#region ../node_modules/get-nonce/dist/es2015/index.js
|
|
3347
|
-
var
|
|
3348
|
-
if (
|
|
3348
|
+
var To, Eo = function() {
|
|
3349
|
+
if (To) return To;
|
|
3349
3350
|
if (typeof __webpack_nonce__ < "u") return __webpack_nonce__;
|
|
3350
3351
|
};
|
|
3351
3352
|
//#endregion
|
|
3352
3353
|
//#region ../node_modules/react-style-singleton/dist/es2015/singleton.js
|
|
3353
|
-
function
|
|
3354
|
+
function Do() {
|
|
3354
3355
|
if (!document) return null;
|
|
3355
3356
|
var e = document.createElement("style");
|
|
3356
3357
|
e.type = "text/css";
|
|
3357
|
-
var t =
|
|
3358
|
+
var t = Eo();
|
|
3358
3359
|
return t && e.setAttribute("nonce", t), e;
|
|
3359
3360
|
}
|
|
3360
|
-
function
|
|
3361
|
+
function Oo(e, t) {
|
|
3361
3362
|
e.styleSheet ? e.styleSheet.cssText = t : e.appendChild(document.createTextNode(t));
|
|
3362
3363
|
}
|
|
3363
|
-
function
|
|
3364
|
+
function ko(e) {
|
|
3364
3365
|
(document.head || document.getElementsByTagName("head")[0]).appendChild(e);
|
|
3365
3366
|
}
|
|
3366
|
-
var
|
|
3367
|
+
var Ao = function() {
|
|
3367
3368
|
var e = 0, t = null;
|
|
3368
3369
|
return {
|
|
3369
3370
|
add: function(n) {
|
|
3370
|
-
e == 0 && (t =
|
|
3371
|
+
e == 0 && (t = Do()) && (Oo(t, n), ko(t)), e++;
|
|
3371
3372
|
},
|
|
3372
3373
|
remove: function() {
|
|
3373
3374
|
e--, !e && t && (t.parentNode && t.parentNode.removeChild(t), t = null);
|
|
3374
3375
|
}
|
|
3375
3376
|
};
|
|
3376
|
-
},
|
|
3377
|
-
var e =
|
|
3377
|
+
}, jo = function() {
|
|
3378
|
+
var e = Ao();
|
|
3378
3379
|
return function(t, n) {
|
|
3379
3380
|
F.useEffect(function() {
|
|
3380
3381
|
return e.add(t), function() {
|
|
@@ -3382,43 +3383,43 @@ var ko = function() {
|
|
|
3382
3383
|
};
|
|
3383
3384
|
}, [t && n]);
|
|
3384
3385
|
};
|
|
3385
|
-
},
|
|
3386
|
-
var e =
|
|
3386
|
+
}, Mo = function() {
|
|
3387
|
+
var e = jo();
|
|
3387
3388
|
return function(t) {
|
|
3388
3389
|
var n = t.styles, r = t.dynamic;
|
|
3389
3390
|
return e(n, r), null;
|
|
3390
3391
|
};
|
|
3391
|
-
},
|
|
3392
|
+
}, No = {
|
|
3392
3393
|
left: 0,
|
|
3393
3394
|
top: 0,
|
|
3394
3395
|
right: 0,
|
|
3395
3396
|
gap: 0
|
|
3396
|
-
}, No = function(e) {
|
|
3397
|
-
return parseInt(e || "", 10) || 0;
|
|
3398
3397
|
}, Po = function(e) {
|
|
3398
|
+
return parseInt(e || "", 10) || 0;
|
|
3399
|
+
}, Fo = function(e) {
|
|
3399
3400
|
var t = window.getComputedStyle(document.body), n = t[e === "padding" ? "paddingLeft" : "marginLeft"], r = t[e === "padding" ? "paddingTop" : "marginTop"], i = t[e === "padding" ? "paddingRight" : "marginRight"];
|
|
3400
3401
|
return [
|
|
3401
|
-
|
|
3402
|
-
|
|
3403
|
-
|
|
3402
|
+
Po(n),
|
|
3403
|
+
Po(r),
|
|
3404
|
+
Po(i)
|
|
3404
3405
|
];
|
|
3405
|
-
},
|
|
3406
|
-
if (e === void 0 && (e = "margin"), typeof window > "u") return
|
|
3407
|
-
var t =
|
|
3406
|
+
}, Io = function(e) {
|
|
3407
|
+
if (e === void 0 && (e = "margin"), typeof window > "u") return No;
|
|
3408
|
+
var t = Fo(e), n = document.documentElement.clientWidth, r = window.innerWidth;
|
|
3408
3409
|
return {
|
|
3409
3410
|
left: t[0],
|
|
3410
3411
|
top: t[1],
|
|
3411
3412
|
right: t[2],
|
|
3412
3413
|
gap: Math.max(0, r - n + t[2] - t[0])
|
|
3413
3414
|
};
|
|
3414
|
-
},
|
|
3415
|
+
}, Lo = Mo(), Ro = "data-scroll-locked", zo = function(e, t, n, r) {
|
|
3415
3416
|
var i = e.left, a = e.top, o = e.right, s = e.gap;
|
|
3416
3417
|
return n === void 0 && (n = "margin"), `
|
|
3417
|
-
.${
|
|
3418
|
+
.${lo} {
|
|
3418
3419
|
overflow: hidden ${r};
|
|
3419
3420
|
padding-right: ${s}px ${r};
|
|
3420
3421
|
}
|
|
3421
|
-
body[${
|
|
3422
|
+
body[${Ro}] {
|
|
3422
3423
|
overflow: hidden ${r};
|
|
3423
3424
|
overscroll-behavior: contain;
|
|
3424
3425
|
${[
|
|
@@ -3435,122 +3436,122 @@ var ko = function() {
|
|
|
3435
3436
|
].filter(Boolean).join("")}
|
|
3436
3437
|
}
|
|
3437
3438
|
|
|
3438
|
-
.${
|
|
3439
|
+
.${so} {
|
|
3439
3440
|
right: ${s}px ${r};
|
|
3440
3441
|
}
|
|
3441
3442
|
|
|
3442
|
-
.${
|
|
3443
|
+
.${co} {
|
|
3443
3444
|
margin-right: ${s}px ${r};
|
|
3444
3445
|
}
|
|
3445
3446
|
|
|
3446
|
-
.${
|
|
3447
|
+
.${so} .${so} {
|
|
3447
3448
|
right: 0 ${r};
|
|
3448
3449
|
}
|
|
3449
3450
|
|
|
3450
|
-
.${
|
|
3451
|
+
.${co} .${co} {
|
|
3451
3452
|
margin-right: 0 ${r};
|
|
3452
3453
|
}
|
|
3453
3454
|
|
|
3454
|
-
body[${
|
|
3455
|
-
${
|
|
3455
|
+
body[${Ro}] {
|
|
3456
|
+
${uo}: ${s}px;
|
|
3456
3457
|
}
|
|
3457
3458
|
`;
|
|
3458
|
-
},
|
|
3459
|
+
}, Bo = function() {
|
|
3459
3460
|
var e = parseInt(document.body.getAttribute("data-scroll-locked") || "0", 10);
|
|
3460
3461
|
return isFinite(e) ? e : 0;
|
|
3461
|
-
},
|
|
3462
|
+
}, Vo = function() {
|
|
3462
3463
|
F.useEffect(function() {
|
|
3463
|
-
return document.body.setAttribute(
|
|
3464
|
-
var e =
|
|
3465
|
-
e <= 0 ? document.body.removeAttribute(
|
|
3464
|
+
return document.body.setAttribute(Ro, (Bo() + 1).toString()), function() {
|
|
3465
|
+
var e = Bo() - 1;
|
|
3466
|
+
e <= 0 ? document.body.removeAttribute(Ro) : document.body.setAttribute(Ro, e.toString());
|
|
3466
3467
|
};
|
|
3467
3468
|
}, []);
|
|
3468
|
-
},
|
|
3469
|
+
}, Ho = function(e) {
|
|
3469
3470
|
var t = e.noRelative, n = e.noImportant, r = e.gapMode, i = r === void 0 ? "margin" : r;
|
|
3470
|
-
|
|
3471
|
+
Vo();
|
|
3471
3472
|
var a = F.useMemo(function() {
|
|
3472
|
-
return
|
|
3473
|
+
return Io(i);
|
|
3473
3474
|
}, [i]);
|
|
3474
|
-
return F.createElement(
|
|
3475
|
-
},
|
|
3475
|
+
return F.createElement(Lo, { styles: zo(a, !t, i, n ? "" : "!important") });
|
|
3476
|
+
}, Uo = !1;
|
|
3476
3477
|
if (typeof window < "u") try {
|
|
3477
|
-
var
|
|
3478
|
-
return
|
|
3478
|
+
var Wo = Object.defineProperty({}, "passive", { get: function() {
|
|
3479
|
+
return Uo = !0, !0;
|
|
3479
3480
|
} });
|
|
3480
|
-
window.addEventListener("test",
|
|
3481
|
+
window.addEventListener("test", Wo, Wo), window.removeEventListener("test", Wo, Wo);
|
|
3481
3482
|
} catch {
|
|
3482
|
-
|
|
3483
|
+
Uo = !1;
|
|
3483
3484
|
}
|
|
3484
|
-
var
|
|
3485
|
+
var Go = Uo ? { passive: !1 } : !1, Ko = function(e) {
|
|
3485
3486
|
return e.tagName === "TEXTAREA";
|
|
3486
|
-
},
|
|
3487
|
+
}, qo = function(e, t) {
|
|
3487
3488
|
if (!(e instanceof Element)) return !1;
|
|
3488
3489
|
var n = window.getComputedStyle(e);
|
|
3489
|
-
return n[t] !== "hidden" && !(n.overflowY === n.overflowX && !
|
|
3490
|
-
}, qo = function(e) {
|
|
3491
|
-
return Ko(e, "overflowY");
|
|
3490
|
+
return n[t] !== "hidden" && !(n.overflowY === n.overflowX && !Ko(e) && n[t] === "visible");
|
|
3492
3491
|
}, Jo = function(e) {
|
|
3493
|
-
return
|
|
3494
|
-
}, Yo = function(e
|
|
3492
|
+
return qo(e, "overflowY");
|
|
3493
|
+
}, Yo = function(e) {
|
|
3494
|
+
return qo(e, "overflowX");
|
|
3495
|
+
}, Xo = function(e, t) {
|
|
3495
3496
|
var n = t.ownerDocument, r = t;
|
|
3496
3497
|
do {
|
|
3497
|
-
if (typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host),
|
|
3498
|
-
var i =
|
|
3498
|
+
if (typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host), $o(e, r)) {
|
|
3499
|
+
var i = es(e, r);
|
|
3499
3500
|
if (i[1] > i[2]) return !0;
|
|
3500
3501
|
}
|
|
3501
3502
|
r = r.parentNode;
|
|
3502
3503
|
} while (r && r !== n.body);
|
|
3503
3504
|
return !1;
|
|
3504
|
-
},
|
|
3505
|
+
}, Zo = function(e) {
|
|
3505
3506
|
return [
|
|
3506
3507
|
e.scrollTop,
|
|
3507
3508
|
e.scrollHeight,
|
|
3508
3509
|
e.clientHeight
|
|
3509
3510
|
];
|
|
3510
|
-
},
|
|
3511
|
+
}, Qo = function(e) {
|
|
3511
3512
|
return [
|
|
3512
3513
|
e.scrollLeft,
|
|
3513
3514
|
e.scrollWidth,
|
|
3514
3515
|
e.clientWidth
|
|
3515
3516
|
];
|
|
3516
|
-
}, Qo = function(e, t) {
|
|
3517
|
-
return e === "v" ? qo(t) : Jo(t);
|
|
3518
3517
|
}, $o = function(e, t) {
|
|
3519
|
-
return e === "v" ?
|
|
3518
|
+
return e === "v" ? Jo(t) : Yo(t);
|
|
3520
3519
|
}, es = function(e, t) {
|
|
3520
|
+
return e === "v" ? Zo(t) : Qo(t);
|
|
3521
|
+
}, ts = function(e, t) {
|
|
3521
3522
|
return e === "h" && t === "rtl" ? -1 : 1;
|
|
3522
|
-
},
|
|
3523
|
-
var a =
|
|
3523
|
+
}, ns = function(e, t, n, r, i) {
|
|
3524
|
+
var a = ts(e, window.getComputedStyle(t).direction), o = a * r, s = n.target, c = t.contains(s), l = !1, u = o > 0, d = 0, f = 0;
|
|
3524
3525
|
do {
|
|
3525
3526
|
if (!s) break;
|
|
3526
|
-
var p =
|
|
3527
|
-
(m || h) &&
|
|
3527
|
+
var p = es(e, s), m = p[0], h = p[1] - p[2] - a * m;
|
|
3528
|
+
(m || h) && $o(e, s) && (d += h, f += m);
|
|
3528
3529
|
var g = s.parentNode;
|
|
3529
3530
|
s = g && g.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? g.host : g;
|
|
3530
3531
|
} while (!c && s !== document.body || c && (t.contains(s) || t === s));
|
|
3531
3532
|
return (u && (i && Math.abs(d) < 1 || !i && o > d) || !u && (i && Math.abs(f) < 1 || !i && -o > f)) && (l = !0), l;
|
|
3532
|
-
}, ns = function(e) {
|
|
3533
|
-
return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
|
|
3534
3533
|
}, rs = function(e) {
|
|
3535
|
-
return [e.
|
|
3534
|
+
return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
|
|
3536
3535
|
}, is = function(e) {
|
|
3536
|
+
return [e.deltaX, e.deltaY];
|
|
3537
|
+
}, as = function(e) {
|
|
3537
3538
|
return e && "current" in e ? e.current : e;
|
|
3538
|
-
},
|
|
3539
|
+
}, os = function(e, t) {
|
|
3539
3540
|
return e[0] === t[0] && e[1] === t[1];
|
|
3540
|
-
},
|
|
3541
|
+
}, ss = function(e) {
|
|
3541
3542
|
return `
|
|
3542
3543
|
.block-interactivity-${e} {pointer-events: none;}
|
|
3543
3544
|
.allow-interactivity-${e} {pointer-events: all;}
|
|
3544
3545
|
`;
|
|
3545
|
-
},
|
|
3546
|
-
function
|
|
3547
|
-
var t = F.useRef([]), n = F.useRef([0, 0]), r = F.useRef(), i = F.useState(
|
|
3546
|
+
}, cs = 0, ls = [];
|
|
3547
|
+
function us(e) {
|
|
3548
|
+
var t = F.useRef([]), n = F.useRef([0, 0]), r = F.useRef(), i = F.useState(cs++)[0], a = F.useState(Mo)[0], o = F.useRef(e);
|
|
3548
3549
|
F.useEffect(function() {
|
|
3549
3550
|
o.current = e;
|
|
3550
3551
|
}, [e]), F.useEffect(function() {
|
|
3551
3552
|
if (e.inert) {
|
|
3552
3553
|
document.body.classList.add(`block-interactivity-${i}`);
|
|
3553
|
-
var t =
|
|
3554
|
+
var t = oo([e.lockRef.current], (e.shards || []).map(as), !0).filter(Boolean);
|
|
3554
3555
|
return t.forEach(function(e) {
|
|
3555
3556
|
return e.classList.add(`allow-interactivity-${i}`);
|
|
3556
3557
|
}), function() {
|
|
@@ -3566,28 +3567,28 @@ function ls(e) {
|
|
|
3566
3567
|
]);
|
|
3567
3568
|
var s = F.useCallback(function(e, t) {
|
|
3568
3569
|
if ("touches" in e && e.touches.length === 2 || e.type === "wheel" && e.ctrlKey) return !o.current.allowPinchZoom;
|
|
3569
|
-
var i =
|
|
3570
|
+
var i = rs(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";
|
|
3570
3571
|
if ("touches" in e && d === "h" && u.type === "range") return !1;
|
|
3571
3572
|
var f = window.getSelection(), p = f && f.anchorNode;
|
|
3572
3573
|
if (p && (p === u || p.contains(u))) return !1;
|
|
3573
|
-
var m =
|
|
3574
|
+
var m = Xo(d, u);
|
|
3574
3575
|
if (!m) return !0;
|
|
3575
|
-
if (m ? l = d : (l = d === "v" ? "h" : "v", m =
|
|
3576
|
+
if (m ? l = d : (l = d === "v" ? "h" : "v", m = Xo(d, u)), !m) return !1;
|
|
3576
3577
|
if (!r.current && "changedTouches" in e && (s || c) && (r.current = l), !l) return !0;
|
|
3577
3578
|
var h = r.current || l;
|
|
3578
|
-
return
|
|
3579
|
+
return ns(h, t, e, h === "h" ? s : c, !0);
|
|
3579
3580
|
}, []), c = F.useCallback(function(e) {
|
|
3580
3581
|
var n = e;
|
|
3581
|
-
if (!(!
|
|
3582
|
-
var r = "deltaY" in n ?
|
|
3583
|
-
return e.name === n.type && (e.target === n.target || n.target === e.shadowParent) &&
|
|
3582
|
+
if (!(!ls.length || ls[ls.length - 1] !== a)) {
|
|
3583
|
+
var r = "deltaY" in n ? is(n) : rs(n), i = t.current.filter(function(e) {
|
|
3584
|
+
return e.name === n.type && (e.target === n.target || n.target === e.shadowParent) && os(e.delta, r);
|
|
3584
3585
|
})[0];
|
|
3585
3586
|
if (i && i.should) {
|
|
3586
3587
|
n.cancelable && n.preventDefault();
|
|
3587
3588
|
return;
|
|
3588
3589
|
}
|
|
3589
3590
|
if (!i) {
|
|
3590
|
-
var c = (o.current.shards || []).map(
|
|
3591
|
+
var c = (o.current.shards || []).map(as).filter(Boolean).filter(function(e) {
|
|
3591
3592
|
return e.contains(n.target);
|
|
3592
3593
|
});
|
|
3593
3594
|
(c.length > 0 ? s(n, c[0]) : !o.current.noIsolation) && n.cancelable && n.preventDefault();
|
|
@@ -3599,7 +3600,7 @@ function ls(e) {
|
|
|
3599
3600
|
delta: n,
|
|
3600
3601
|
target: r,
|
|
3601
3602
|
should: i,
|
|
3602
|
-
shadowParent:
|
|
3603
|
+
shadowParent: ds(r)
|
|
3603
3604
|
};
|
|
3604
3605
|
t.current.push(a), setTimeout(function() {
|
|
3605
3606
|
t.current = t.current.filter(function(e) {
|
|
@@ -3607,56 +3608,56 @@ function ls(e) {
|
|
|
3607
3608
|
});
|
|
3608
3609
|
}, 1);
|
|
3609
3610
|
}, []), u = F.useCallback(function(e) {
|
|
3610
|
-
n.current =
|
|
3611
|
+
n.current = rs(e), r.current = void 0;
|
|
3611
3612
|
}, []), d = F.useCallback(function(t) {
|
|
3612
|
-
l(t.type,
|
|
3613
|
+
l(t.type, is(t), t.target, s(t, e.lockRef.current));
|
|
3613
3614
|
}, []), f = F.useCallback(function(t) {
|
|
3614
|
-
l(t.type,
|
|
3615
|
+
l(t.type, rs(t), t.target, s(t, e.lockRef.current));
|
|
3615
3616
|
}, []);
|
|
3616
3617
|
F.useEffect(function() {
|
|
3617
|
-
return
|
|
3618
|
+
return ls.push(a), e.setCallbacks({
|
|
3618
3619
|
onScrollCapture: d,
|
|
3619
3620
|
onWheelCapture: d,
|
|
3620
3621
|
onTouchMoveCapture: f
|
|
3621
|
-
}), document.addEventListener("wheel", c,
|
|
3622
|
-
|
|
3622
|
+
}), document.addEventListener("wheel", c, Go), document.addEventListener("touchmove", c, Go), document.addEventListener("touchstart", u, Go), function() {
|
|
3623
|
+
ls = ls.filter(function(e) {
|
|
3623
3624
|
return e !== a;
|
|
3624
|
-
}), document.removeEventListener("wheel", c,
|
|
3625
|
+
}), document.removeEventListener("wheel", c, Go), document.removeEventListener("touchmove", c, Go), document.removeEventListener("touchstart", u, Go);
|
|
3625
3626
|
};
|
|
3626
3627
|
}, []);
|
|
3627
3628
|
var p = e.removeScrollBar, m = e.inert;
|
|
3628
|
-
return F.createElement(F.Fragment, null, m ? F.createElement(a, { styles:
|
|
3629
|
+
return F.createElement(F.Fragment, null, m ? F.createElement(a, { styles: ss(i) }) : null, p ? F.createElement(Ho, {
|
|
3629
3630
|
noRelative: e.noRelative,
|
|
3630
3631
|
gapMode: e.gapMode
|
|
3631
3632
|
}) : null);
|
|
3632
3633
|
}
|
|
3633
|
-
function
|
|
3634
|
+
function ds(e) {
|
|
3634
3635
|
for (var t = null; e !== null;) e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
|
|
3635
3636
|
return t;
|
|
3636
3637
|
}
|
|
3637
3638
|
//#endregion
|
|
3638
3639
|
//#region ../node_modules/react-remove-scroll/dist/es2015/sidecar.js
|
|
3639
|
-
var
|
|
3640
|
-
return F.createElement(
|
|
3640
|
+
var fs = xo(So, us), ps = F.forwardRef(function(e, t) {
|
|
3641
|
+
return F.createElement(wo, $({}, e, {
|
|
3641
3642
|
ref: t,
|
|
3642
|
-
sideCar:
|
|
3643
|
+
sideCar: fs
|
|
3643
3644
|
}));
|
|
3644
3645
|
});
|
|
3645
|
-
|
|
3646
|
+
ps.classNames = wo.classNames;
|
|
3646
3647
|
//#endregion
|
|
3647
3648
|
//#region ../node_modules/@radix-ui/react-popover/dist/index.mjs
|
|
3648
|
-
var
|
|
3649
|
-
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, s =
|
|
3649
|
+
var ms = "Popover", [hs, gs] = mn(ms, [ha]), _s = ha(), [vs, ys] = hs(ms), bs = (e) => {
|
|
3650
|
+
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, s = _s(t), c = F.useRef(null), [l, u] = F.useState(!1), [d, f] = Ua({
|
|
3650
3651
|
prop: r,
|
|
3651
3652
|
defaultProp: i ?? !1,
|
|
3652
3653
|
onChange: a,
|
|
3653
|
-
caller:
|
|
3654
|
+
caller: ms
|
|
3654
3655
|
});
|
|
3655
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
3656
|
+
return /* @__PURE__ */ (0, I.jsx)(ja, {
|
|
3656
3657
|
...s,
|
|
3657
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3658
|
+
children: /* @__PURE__ */ (0, I.jsx)(vs, {
|
|
3658
3659
|
scope: t,
|
|
3659
|
-
contentId:
|
|
3660
|
+
contentId: or(),
|
|
3660
3661
|
triggerRef: c,
|
|
3661
3662
|
open: d,
|
|
3662
3663
|
onOpenChange: f,
|
|
@@ -3669,42 +3670,42 @@ var ps = "Popover", [ms, hs] = pn(ps, [ma]), gs = ma(), [_s, vs] = ms(ps), ys =
|
|
|
3669
3670
|
})
|
|
3670
3671
|
});
|
|
3671
3672
|
};
|
|
3672
|
-
|
|
3673
|
-
var
|
|
3674
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3675
|
-
return F.useEffect(() => (o(), () => s()), [o, s]), /* @__PURE__ */ (0, I.jsx)(
|
|
3673
|
+
bs.displayName = ms;
|
|
3674
|
+
var xs = "PopoverAnchor", Ss = F.forwardRef((e, t) => {
|
|
3675
|
+
let { __scopePopover: n, ...r } = e, i = ys(xs, n), a = _s(n), { onCustomAnchorAdd: o, onCustomAnchorRemove: s } = i;
|
|
3676
|
+
return F.useEffect(() => (o(), () => s()), [o, s]), /* @__PURE__ */ (0, I.jsx)(Ma, {
|
|
3676
3677
|
...a,
|
|
3677
3678
|
...r,
|
|
3678
3679
|
ref: t
|
|
3679
3680
|
});
|
|
3680
3681
|
});
|
|
3681
|
-
|
|
3682
|
-
var
|
|
3683
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3682
|
+
Ss.displayName = xs;
|
|
3683
|
+
var Cs = "PopoverTrigger", ws = F.forwardRef((e, t) => {
|
|
3684
|
+
let { __scopePopover: n, ...r } = e, i = ys(Cs, n), a = _s(n), o = V(t, i.triggerRef), s = /* @__PURE__ */ (0, I.jsx)(H.button, {
|
|
3684
3685
|
type: "button",
|
|
3685
3686
|
"aria-haspopup": "dialog",
|
|
3686
3687
|
"aria-expanded": i.open,
|
|
3687
3688
|
"aria-controls": i.contentId,
|
|
3688
|
-
"data-state":
|
|
3689
|
+
"data-state": zs(i.open),
|
|
3689
3690
|
...r,
|
|
3690
3691
|
ref: o,
|
|
3691
3692
|
onClick: B(e.onClick, i.onOpenToggle)
|
|
3692
3693
|
});
|
|
3693
|
-
return i.hasCustomAnchor ? s : /* @__PURE__ */ (0, I.jsx)(
|
|
3694
|
+
return i.hasCustomAnchor ? s : /* @__PURE__ */ (0, I.jsx)(Ma, {
|
|
3694
3695
|
asChild: !0,
|
|
3695
3696
|
...a,
|
|
3696
3697
|
children: s
|
|
3697
3698
|
});
|
|
3698
3699
|
});
|
|
3699
|
-
|
|
3700
|
-
var
|
|
3701
|
-
let { __scopePopover: t, forceMount: n, children: r, container: i } = e, a =
|
|
3702
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
3700
|
+
ws.displayName = Cs;
|
|
3701
|
+
var Ts = "PopoverPortal", [Es, Ds] = hs(Ts, { forceMount: void 0 }), Os = (e) => {
|
|
3702
|
+
let { __scopePopover: t, forceMount: n, children: r, container: i } = e, a = ys(Ts, t);
|
|
3703
|
+
return /* @__PURE__ */ (0, I.jsx)(Es, {
|
|
3703
3704
|
scope: t,
|
|
3704
3705
|
forceMount: n,
|
|
3705
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3706
|
+
children: /* @__PURE__ */ (0, I.jsx)(Ra, {
|
|
3706
3707
|
present: n || a.open,
|
|
3707
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3708
|
+
children: /* @__PURE__ */ (0, I.jsx)(Ia, {
|
|
3708
3709
|
asChild: !0,
|
|
3709
3710
|
container: i,
|
|
3710
3711
|
children: r
|
|
@@ -3712,30 +3713,30 @@ var ws = "PopoverPortal", [Ts, Es] = ms(ws, { forceMount: void 0 }), Ds = (e) =>
|
|
|
3712
3713
|
})
|
|
3713
3714
|
});
|
|
3714
3715
|
};
|
|
3715
|
-
|
|
3716
|
-
var
|
|
3717
|
-
let n =
|
|
3718
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
3716
|
+
Os.displayName = Ts;
|
|
3717
|
+
var ks = "PopoverContent", As = F.forwardRef((e, t) => {
|
|
3718
|
+
let n = Ds(ks, e.__scopePopover), { forceMount: r = n.forceMount, ...i } = e, a = ys(ks, e.__scopePopover);
|
|
3719
|
+
return /* @__PURE__ */ (0, I.jsx)(Ra, {
|
|
3719
3720
|
present: r || a.open,
|
|
3720
|
-
children: a.modal ? /* @__PURE__ */ (0, I.jsx)(
|
|
3721
|
+
children: a.modal ? /* @__PURE__ */ (0, I.jsx)(Ms, {
|
|
3721
3722
|
...i,
|
|
3722
3723
|
ref: t
|
|
3723
|
-
}) : /* @__PURE__ */ (0, I.jsx)(
|
|
3724
|
+
}) : /* @__PURE__ */ (0, I.jsx)(Ns, {
|
|
3724
3725
|
...i,
|
|
3725
3726
|
ref: t
|
|
3726
3727
|
})
|
|
3727
3728
|
});
|
|
3728
3729
|
});
|
|
3729
|
-
|
|
3730
|
-
var
|
|
3731
|
-
let n =
|
|
3730
|
+
As.displayName = ks;
|
|
3731
|
+
var js = /* @__PURE__ */ gn("PopoverContent.RemoveScroll"), Ms = F.forwardRef((e, t) => {
|
|
3732
|
+
let n = ys(ks, e.__scopePopover), r = F.useRef(null), i = V(t, r), a = F.useRef(!1);
|
|
3732
3733
|
return F.useEffect(() => {
|
|
3733
3734
|
let e = r.current;
|
|
3734
|
-
if (e) return
|
|
3735
|
-
}, []), /* @__PURE__ */ (0, I.jsx)(
|
|
3736
|
-
as:
|
|
3735
|
+
if (e) return eo(e);
|
|
3736
|
+
}, []), /* @__PURE__ */ (0, I.jsx)(ps, {
|
|
3737
|
+
as: js,
|
|
3737
3738
|
allowPinchZoom: !0,
|
|
3738
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3739
|
+
children: /* @__PURE__ */ (0, I.jsx)(Ps, {
|
|
3739
3740
|
...e,
|
|
3740
3741
|
ref: i,
|
|
3741
3742
|
trapFocus: n.open,
|
|
@@ -3750,9 +3751,9 @@ var As = /* @__PURE__ */ hn("PopoverContent.RemoveScroll"), js = F.forwardRef((e
|
|
|
3750
3751
|
onFocusOutside: B(e.onFocusOutside, (e) => e.preventDefault(), { checkForDefaultPrevented: !1 })
|
|
3751
3752
|
})
|
|
3752
3753
|
});
|
|
3753
|
-
}),
|
|
3754
|
-
let n =
|
|
3755
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
3754
|
+
}), Ns = F.forwardRef((e, t) => {
|
|
3755
|
+
let n = ys(ks, e.__scopePopover), r = F.useRef(!1), i = F.useRef(!1);
|
|
3756
|
+
return /* @__PURE__ */ (0, I.jsx)(Ps, {
|
|
3756
3757
|
...e,
|
|
3757
3758
|
ref: t,
|
|
3758
3759
|
trapFocus: !1,
|
|
@@ -3766,15 +3767,15 @@ var As = /* @__PURE__ */ hn("PopoverContent.RemoveScroll"), js = F.forwardRef((e
|
|
|
3766
3767
|
n.triggerRef.current?.contains(a) && t.preventDefault(), t.detail.originalEvent.type === "focusin" && i.current && t.preventDefault();
|
|
3767
3768
|
}
|
|
3768
3769
|
});
|
|
3769
|
-
}),
|
|
3770
|
-
let { __scopePopover: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, disableOutsidePointerEvents: o, onEscapeKeyDown: s, onPointerDownOutside: c, onFocusOutside: l, onInteractOutside: u, ...d } = e, f =
|
|
3771
|
-
return
|
|
3770
|
+
}), Ps = F.forwardRef((e, t) => {
|
|
3771
|
+
let { __scopePopover: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, disableOutsidePointerEvents: o, onEscapeKeyDown: s, onPointerDownOutside: c, onFocusOutside: l, onInteractOutside: u, ...d } = e, f = ys(ks, n), p = _s(n);
|
|
3772
|
+
return zn(), /* @__PURE__ */ (0, I.jsx)(Gn, {
|
|
3772
3773
|
asChild: !0,
|
|
3773
3774
|
loop: !0,
|
|
3774
3775
|
trapped: r,
|
|
3775
3776
|
onMountAutoFocus: i,
|
|
3776
3777
|
onUnmountAutoFocus: a,
|
|
3777
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3778
|
+
children: /* @__PURE__ */ (0, I.jsx)(jn, {
|
|
3778
3779
|
asChild: !0,
|
|
3779
3780
|
disableOutsidePointerEvents: o,
|
|
3780
3781
|
onInteractOutside: u,
|
|
@@ -3782,8 +3783,8 @@ var As = /* @__PURE__ */ hn("PopoverContent.RemoveScroll"), js = F.forwardRef((e
|
|
|
3782
3783
|
onPointerDownOutside: c,
|
|
3783
3784
|
onFocusOutside: l,
|
|
3784
3785
|
onDismiss: () => f.onOpenChange(!1),
|
|
3785
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3786
|
-
"data-state":
|
|
3786
|
+
children: /* @__PURE__ */ (0, I.jsx)(Na, {
|
|
3787
|
+
"data-state": zs(f.open),
|
|
3787
3788
|
role: "dialog",
|
|
3788
3789
|
id: f.contentId,
|
|
3789
3790
|
...p,
|
|
@@ -3800,8 +3801,8 @@ var As = /* @__PURE__ */ hn("PopoverContent.RemoveScroll"), js = F.forwardRef((e
|
|
|
3800
3801
|
})
|
|
3801
3802
|
})
|
|
3802
3803
|
});
|
|
3803
|
-
}),
|
|
3804
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3804
|
+
}), Fs = "PopoverClose", Is = F.forwardRef((e, t) => {
|
|
3805
|
+
let { __scopePopover: n, ...r } = e, i = ys(Fs, n);
|
|
3805
3806
|
return /* @__PURE__ */ (0, I.jsx)(H.button, {
|
|
3806
3807
|
type: "button",
|
|
3807
3808
|
...r,
|
|
@@ -3809,36 +3810,36 @@ var As = /* @__PURE__ */ hn("PopoverContent.RemoveScroll"), js = F.forwardRef((e
|
|
|
3809
3810
|
onClick: B(e.onClick, () => i.onOpenChange(!1))
|
|
3810
3811
|
});
|
|
3811
3812
|
});
|
|
3812
|
-
|
|
3813
|
-
var
|
|
3814
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3815
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
3813
|
+
Is.displayName = Fs;
|
|
3814
|
+
var Ls = "PopoverArrow", Rs = F.forwardRef((e, t) => {
|
|
3815
|
+
let { __scopePopover: n, ...r } = e, i = _s(n);
|
|
3816
|
+
return /* @__PURE__ */ (0, I.jsx)(Pa, {
|
|
3816
3817
|
...i,
|
|
3817
3818
|
...r,
|
|
3818
3819
|
ref: t
|
|
3819
3820
|
});
|
|
3820
3821
|
});
|
|
3821
|
-
|
|
3822
|
-
function
|
|
3822
|
+
Rs.displayName = Ls;
|
|
3823
|
+
function zs(e) {
|
|
3823
3824
|
return e ? "open" : "closed";
|
|
3824
3825
|
}
|
|
3825
|
-
var
|
|
3826
|
+
var Bs = bs, Vs = ws, Hs = As, Us = Rs, Ws = ({ message: e, trigger: t, initialVisibility: n = !1 }) => /* @__PURE__ */ (0, I.jsxs)(Bs, {
|
|
3826
3827
|
defaultOpen: n,
|
|
3827
3828
|
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
3828
3829
|
className: "flex justify-center",
|
|
3829
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3830
|
+
children: /* @__PURE__ */ (0, I.jsx)(Vs, {
|
|
3830
3831
|
asChild: !0,
|
|
3831
3832
|
children: t
|
|
3832
3833
|
})
|
|
3833
|
-
}), /* @__PURE__ */ (0, I.jsxs)(
|
|
3834
|
+
}), /* @__PURE__ */ (0, I.jsxs)(Hs, {
|
|
3834
3835
|
className: "sid-popover__container",
|
|
3835
3836
|
sideOffset: 10,
|
|
3836
3837
|
side: "bottom",
|
|
3837
|
-
children: [e, /* @__PURE__ */ (0, I.jsx)(
|
|
3838
|
+
children: [e, /* @__PURE__ */ (0, I.jsx)(Us, { className: "sid-popover__caret" })]
|
|
3838
3839
|
})]
|
|
3839
|
-
}),
|
|
3840
|
-
let n =
|
|
3841
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
3840
|
+
}), Gs = ({ verificationService: e, initialVisibility: t = !1 }) => {
|
|
3841
|
+
let n = Ce();
|
|
3842
|
+
return /* @__PURE__ */ (0, I.jsx)(Ws, {
|
|
3842
3843
|
initialVisibility: t,
|
|
3843
3844
|
trigger: /* @__PURE__ */ (0, I.jsx)("button", {
|
|
3844
3845
|
type: "button",
|
|
@@ -3851,11 +3852,11 @@ var zs = ys, Bs = Cs, Vs = ks, Hs = Ls, Us = ({ message: e, trigger: t, initialV
|
|
|
3851
3852
|
context: n
|
|
3852
3853
|
}),
|
|
3853
3854
|
"\xA0",
|
|
3854
|
-
/* @__PURE__ */ (0, I.jsx)(
|
|
3855
|
+
/* @__PURE__ */ (0, I.jsx)(Tt, { verificationService: e })
|
|
3855
3856
|
] })
|
|
3856
3857
|
});
|
|
3857
|
-
},
|
|
3858
|
-
let t =
|
|
3858
|
+
}, Ks = ({ verificationService: e }) => {
|
|
3859
|
+
let t = T(() => e.programTheme.remainingRewardCodes, null);
|
|
3859
3860
|
return typeof t == "number" && t > 0 ? /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
3860
3861
|
className: "sid-rewards-remaining",
|
|
3861
3862
|
role: "note",
|
|
@@ -3869,11 +3870,11 @@ var zs = ys, Bs = Cs, Vs = ks, Hs = Ls, Us = ({ message: e, trigger: t, initialV
|
|
|
3869
3870
|
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-sm" })
|
|
3870
3871
|
]
|
|
3871
3872
|
}) : null;
|
|
3872
|
-
},
|
|
3873
|
-
let { verificationResponse: n } = e, r =
|
|
3873
|
+
}, qs = (e) => e !== void 0, Js = ({ verificationService: e, classNameIdentifier: t = void 0 }) => {
|
|
3874
|
+
let { verificationResponse: n } = e, r = qs(n) ? Ge(n) : !1, i = r ? "step.personalInfo.tryAgain.title" : "step.personalInfo.title", a = r ? "step.personalInfo.tryAgain.subtitle" : "step.personalInfo.subtitle";
|
|
3874
3875
|
return /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3875
3876
|
className: "sid-personal-info-header",
|
|
3876
|
-
children: /* @__PURE__ */ (0, I.jsxs)(
|
|
3877
|
+
children: /* @__PURE__ */ (0, I.jsxs)(dn, {
|
|
3877
3878
|
verificationService: e,
|
|
3878
3879
|
title: /* @__PURE__ */ (0, I.jsx)(P, {
|
|
3879
3880
|
id: i,
|
|
@@ -3887,7 +3888,7 @@ var zs = ys, Bs = Cs, Vs = ks, Hs = Ls, Us = ({ message: e, trigger: t, initialV
|
|
|
3887
3888
|
}),
|
|
3888
3889
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
3889
3890
|
className: "sid-header__how-verifying-works sid-l-horz-center",
|
|
3890
|
-
children: !r && /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(
|
|
3891
|
+
children: !r && /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Gs, { verificationService: e }), /* @__PURE__ */ (0, I.jsx)(Ks, { verificationService: e })] })
|
|
3891
3892
|
}),
|
|
3892
3893
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
3893
3894
|
className: "sid-h-medium-text sid-l-space-btm-sm sid-l-space-top-sm",
|
|
@@ -3896,15 +3897,15 @@ var zs = ys, Bs = Cs, Vs = ks, Hs = Ls, Us = ({ message: e, trigger: t, initialV
|
|
|
3896
3897
|
]
|
|
3897
3898
|
})
|
|
3898
3899
|
});
|
|
3899
|
-
},
|
|
3900
|
-
let { isEmbedded: i } =
|
|
3900
|
+
}, Ys = () => ({ isEmbedded: !!x("verificationIframeUid") }), Xs = ({ layout: e, children: t, verificationService: n, renderAsLandingPage: r }) => {
|
|
3901
|
+
let { isEmbedded: i } = Ys();
|
|
3901
3902
|
return !r || i ? /* @__PURE__ */ (0, I.jsx)(I.Fragment, { children: t }) : /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3902
3903
|
className: `sid-layout sid-layout--${e}`,
|
|
3903
3904
|
children: /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
3904
3905
|
className: "sid-layout__container",
|
|
3905
3906
|
children: [e === "fullRight" && /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3906
3907
|
className: "sid-layout__content",
|
|
3907
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3908
|
+
children: /* @__PURE__ */ (0, I.jsx)(Js, {
|
|
3908
3909
|
verificationService: n,
|
|
3909
3910
|
classNameIdentifier: "landing"
|
|
3910
3911
|
})
|
|
@@ -3917,37 +3918,37 @@ var zs = ys, Bs = Cs, Vs = ks, Hs = Ls, Us = ({ message: e, trigger: t, initialV
|
|
|
3917
3918
|
})]
|
|
3918
3919
|
})
|
|
3919
3920
|
});
|
|
3920
|
-
},
|
|
3921
|
+
}, Zs = ({ children: e }) => /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3921
3922
|
className: "sid sid-form-wrapper",
|
|
3922
3923
|
children: e
|
|
3923
|
-
}),
|
|
3924
|
-
let o =
|
|
3924
|
+
}), Qs = ({ locale: t, messages: n, programTheme: r, verificationService: i, programId: a }) => {
|
|
3925
|
+
let o = Ze(), s = b(), c = xe() ?? r, l = we(De, Ee), u = (0, F.useMemo)(() => l ? {
|
|
3925
3926
|
...i.verificationResponse,
|
|
3926
|
-
...
|
|
3927
|
-
} : i.verificationResponse, [
|
|
3927
|
+
...l
|
|
3928
|
+
} : i.verificationResponse, [l, i.verificationResponse]), f = (0, F.useMemo)(() => ({
|
|
3928
3929
|
...i,
|
|
3929
3930
|
programTheme: c,
|
|
3930
|
-
verificationResponse:
|
|
3931
|
-
formValidationOptions:
|
|
3931
|
+
verificationResponse: u,
|
|
3932
|
+
formValidationOptions: St(c, u, i.viewModel)
|
|
3932
3933
|
}), [
|
|
3933
3934
|
i,
|
|
3934
3935
|
c,
|
|
3935
|
-
|
|
3936
|
-
]), p = c.themeChoices?.landingPage
|
|
3936
|
+
u
|
|
3937
|
+
]), p = c.themeChoices?.landingPage?.layout || "center", { renderAs: h } = s, g = $e();
|
|
3937
3938
|
F.useEffect(() => {
|
|
3938
3939
|
try {
|
|
3939
3940
|
if (g && f && f.viewModel) {
|
|
3940
|
-
let e = (0,
|
|
3941
|
-
|
|
3942
|
-
let t =
|
|
3941
|
+
let e = (0, _t.default)(g);
|
|
3942
|
+
w(m.flags, e);
|
|
3943
|
+
let t = v(f.viewModel.metadata || {}, (t) => {
|
|
3943
3944
|
t.flags = e;
|
|
3944
|
-
}), n =
|
|
3945
|
+
}), n = v(f.viewModel, (e) => {
|
|
3945
3946
|
e.metadata = t;
|
|
3946
3947
|
});
|
|
3947
3948
|
f.updateViewModel(n);
|
|
3948
3949
|
}
|
|
3949
3950
|
} catch (e) {
|
|
3950
|
-
|
|
3951
|
+
D.error(e);
|
|
3951
3952
|
}
|
|
3952
3953
|
}, []), F.useEffect(() => {
|
|
3953
3954
|
if (f.verificationResponse.verificationId && s._launchDarklyUserTargeting && o) {
|
|
@@ -3965,32 +3966,32 @@ var zs = ys, Bs = Cs, Vs = ks, Hs = Ls, Us = ({ message: e, trigger: t, initialV
|
|
|
3965
3966
|
}
|
|
3966
3967
|
}, [f.verificationResponse.verificationId, o]), F.useEffect(() => {
|
|
3967
3968
|
try {
|
|
3968
|
-
|
|
3969
|
+
b()._launchDarklyFlagCb(g);
|
|
3969
3970
|
} catch {}
|
|
3970
3971
|
}, [g]);
|
|
3971
|
-
let _ =
|
|
3972
|
+
let _ = we(De, pe);
|
|
3972
3973
|
return /* @__PURE__ */ (0, I.jsx)(ie, {
|
|
3973
3974
|
locale: "en",
|
|
3974
3975
|
messages: {
|
|
3975
3976
|
...n,
|
|
3976
|
-
...(0,
|
|
3977
|
-
...(0,
|
|
3977
|
+
...(0, ut.default)(y(t)),
|
|
3978
|
+
...(0, ut.default)(_?.[t] ?? {})
|
|
3978
3979
|
},
|
|
3979
|
-
textComponent:
|
|
3980
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3980
|
+
textComponent: ln,
|
|
3981
|
+
children: /* @__PURE__ */ (0, I.jsx)(xt, {
|
|
3981
3982
|
themeChoices: c.themeChoices,
|
|
3982
|
-
customCssFromOptions:
|
|
3983
|
+
customCssFromOptions: b().customCss,
|
|
3983
3984
|
children: /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3984
|
-
className: `${
|
|
3985
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3985
|
+
className: `${vt.default.isRtlLang(d(t)) ? "sid-rtl" : "sid-ltr"} sid-locale-${t}`,
|
|
3986
|
+
children: /* @__PURE__ */ (0, I.jsx)(Zs, { children: /* @__PURE__ */ (0, I.jsx)(Xs, {
|
|
3986
3987
|
layout: p,
|
|
3987
3988
|
verificationService: f,
|
|
3988
|
-
renderAsLandingPage:
|
|
3989
|
+
renderAsLandingPage: h === "landingPage",
|
|
3989
3990
|
children: /* @__PURE__ */ (0, I.jsx)(F.Suspense, {
|
|
3990
|
-
fallback: /* @__PURE__ */ (0, I.jsx)(
|
|
3991
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3992
|
-
i18n:
|
|
3993
|
-
children: f.isLoading ? /* @__PURE__ */ (0, I.jsx)(
|
|
3991
|
+
fallback: /* @__PURE__ */ (0, I.jsx)(mt, { step: f.loadingStep }),
|
|
3992
|
+
children: /* @__PURE__ */ (0, I.jsx)(ct, {
|
|
3993
|
+
i18n: e,
|
|
3994
|
+
children: f.isLoading ? /* @__PURE__ */ (0, I.jsx)(mt, { step: f.loadingStep }) : /* @__PURE__ */ (0, I.jsxs)("div", { children: [!b().hideTestModeFlag && /* @__PURE__ */ (0, I.jsx)(un, { verificationService: f }), /* @__PURE__ */ (0, I.jsx)(cn, {
|
|
3994
3995
|
stepToLoad: f.overrideStep || f.verificationResponse.currentStep,
|
|
3995
3996
|
verificationService: f
|
|
3996
3997
|
})] })
|
|
@@ -3999,68 +4000,68 @@ var zs = ys, Bs = Cs, Vs = ks, Hs = Ls, Us = ({ message: e, trigger: t, initialV
|
|
|
3999
4000
|
}) })
|
|
4000
4001
|
})
|
|
4001
4002
|
})
|
|
4002
|
-
},
|
|
4003
|
-
},
|
|
4003
|
+
}, t);
|
|
4004
|
+
}, $s = () => {
|
|
4004
4005
|
let e = null;
|
|
4005
4006
|
document.addEventListener("keydown", (t) => {
|
|
4006
4007
|
if (t.key !== "Tab") return;
|
|
4007
4008
|
let n = document.querySelectorAll("button, .sid-link, input, select, textarea, [tabindex]:not([tabindex=\"-1\"]");
|
|
4008
|
-
e = n[n.length - 1], e && !t.shiftKey && document.activeElement === e && (
|
|
4009
|
+
e = n[n.length - 1], e && !t.shiftKey && document.activeElement === e && (Pe({
|
|
4009
4010
|
type: "focus",
|
|
4010
4011
|
focusOn: "firstElement"
|
|
4011
4012
|
}), t.preventDefault());
|
|
4012
4013
|
}), window.addEventListener("message", (t) => {
|
|
4013
4014
|
t.data.focusOn === "lastElement" && e && e.focus();
|
|
4014
|
-
}),
|
|
4015
|
+
}), Pe({
|
|
4015
4016
|
type: "focus",
|
|
4016
4017
|
focusOn: "firstElement"
|
|
4017
4018
|
});
|
|
4018
|
-
},
|
|
4019
|
+
}, ec = () => {
|
|
4019
4020
|
window.addEventListener("message", (e) => {
|
|
4020
|
-
e.data.isInLightBox === "true" &&
|
|
4021
|
+
e.data.isInLightBox === "true" && $s();
|
|
4021
4022
|
});
|
|
4022
|
-
},
|
|
4023
|
+
}, tc = class extends F.Component {
|
|
4023
4024
|
verificationService;
|
|
4024
4025
|
constructor(e) {
|
|
4025
|
-
super(e),
|
|
4026
|
+
super(e), D.info("NewVerificationComponent: constructing"), this.props.trackingId && this.props.trackingId.length ? D.info(`Attaching a trackingId to this verification request ${this.props.trackingId}`) : D.info("No trackingId to associate with the verification request");
|
|
4026
4027
|
}
|
|
4027
4028
|
componentDidMount() {
|
|
4028
|
-
if (
|
|
4029
|
+
if (c(), ec(), ye((e) => {
|
|
4029
4030
|
switch (e.data.action) {
|
|
4030
4031
|
case "setViewModel":
|
|
4031
|
-
|
|
4032
|
+
Ue(e.data.viewModel, {
|
|
4032
4033
|
partial: !0,
|
|
4033
4034
|
metadataCheck: !0,
|
|
4034
4035
|
externalUserIdCheck: !0
|
|
4035
4036
|
});
|
|
4036
4037
|
break;
|
|
4037
4038
|
case "setOptions":
|
|
4038
|
-
|
|
4039
|
+
p(e.data.options);
|
|
4039
4040
|
break;
|
|
4040
4041
|
default:
|
|
4041
4042
|
}
|
|
4042
|
-
}),
|
|
4043
|
+
}), Me()) D.info("Mocking loading screen. Not fetching new verification request.");
|
|
4043
4044
|
else {
|
|
4044
|
-
|
|
4045
|
-
let e =
|
|
4045
|
+
D.info("NewVerificationComponent: fetchNewVerificationRequest");
|
|
4046
|
+
let e = T(() => this.props.verificationService.verificationResponse.segment);
|
|
4046
4047
|
this.props.verificationService.fetchNewVerificationRequest(this.props.programId, e, this.props.verificationService.previousViewModel, this.props.trackingId);
|
|
4047
4048
|
}
|
|
4048
4049
|
}
|
|
4049
4050
|
render() {
|
|
4050
|
-
let { viewModel: e } = this.props.verificationService, t =
|
|
4051
|
+
let { viewModel: e } = this.props.verificationService, t = S(e), n;
|
|
4051
4052
|
this.props.messages && (n = this.props.messages);
|
|
4052
4053
|
let r = {
|
|
4053
4054
|
...n,
|
|
4054
|
-
...(0,
|
|
4055
|
+
...(0, ut.default)(y(t))
|
|
4055
4056
|
};
|
|
4056
|
-
if (this.props.verificationService.isLoading && !this.props.verificationService.loadingStep) return
|
|
4057
|
+
if (this.props.verificationService.isLoading && !this.props.verificationService.loadingStep) return D.info("NewVerificationComponent: VerificationService is loading"), /* @__PURE__ */ (0, I.jsx)(ie, {
|
|
4057
4058
|
locale: "en",
|
|
4058
4059
|
messages: r,
|
|
4059
|
-
textComponent:
|
|
4060
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
4060
|
+
textComponent: ln,
|
|
4061
|
+
children: /* @__PURE__ */ (0, I.jsx)(mt, {})
|
|
4061
4062
|
}, t);
|
|
4062
4063
|
let { programTheme: i } = this.props.verificationService, { verificationResponse: a } = this.props.verificationService;
|
|
4063
|
-
return
|
|
4064
|
+
return D.info("NewVerificationComponent: verificationResponse, viewModel", a, e), D.info(`NewVerificationComponent: locale: ${t}, currentStep: ${a.currentStep}, messages: `, n), /* @__PURE__ */ (0, I.jsx)(Qs, {
|
|
4064
4065
|
locale: t,
|
|
4065
4066
|
messages: n,
|
|
4066
4067
|
programTheme: i,
|
|
@@ -4068,63 +4069,63 @@ var zs = ys, Bs = Cs, Vs = ks, Hs = Ls, Us = ({ message: e, trigger: t, initialV
|
|
|
4068
4069
|
programId: this.props.programId
|
|
4069
4070
|
});
|
|
4070
4071
|
}
|
|
4071
|
-
},
|
|
4072
|
+
}, nc = ge((e, t) => ({ ...e }), (e, t) => ({
|
|
4072
4073
|
dispatch: e,
|
|
4073
|
-
fetchNewVerificationRequest:
|
|
4074
|
-
fetchExistingVerificationRequest:
|
|
4075
|
-
updateViewModel:
|
|
4076
|
-
updateLocale:
|
|
4077
|
-
updateProgramTheme:
|
|
4078
|
-
updateFieldValidationErrors:
|
|
4079
|
-
resetState:
|
|
4074
|
+
fetchNewVerificationRequest: We(e),
|
|
4075
|
+
fetchExistingVerificationRequest: Fe(e),
|
|
4076
|
+
updateViewModel: Re(e),
|
|
4077
|
+
updateLocale: Ye(e, t.programId),
|
|
4078
|
+
updateProgramTheme: Le(e),
|
|
4079
|
+
updateFieldValidationErrors: He(e),
|
|
4080
|
+
resetState: qe(e)
|
|
4080
4081
|
}), (e, t, n) => {
|
|
4081
4082
|
let { dispatch: r, ...i } = t, { programTheme: a } = e;
|
|
4082
4083
|
return {
|
|
4083
4084
|
verificationService: {
|
|
4084
4085
|
...e,
|
|
4085
4086
|
...i,
|
|
4086
|
-
submitStep:
|
|
4087
|
+
submitStep: Ie(r, a)
|
|
4087
4088
|
},
|
|
4088
4089
|
messages: e.messages,
|
|
4089
4090
|
...n
|
|
4090
4091
|
};
|
|
4091
|
-
})(
|
|
4092
|
+
})(tc), rc = (e) => ({
|
|
4092
4093
|
kind: "program",
|
|
4093
4094
|
key: e
|
|
4094
|
-
}),
|
|
4095
|
+
}), ic = ({ programId: e, children: t }) => /* @__PURE__ */ (0, I.jsx)(Qe, {
|
|
4095
4096
|
clientSideID: "6530161f9ff41712a2eef741",
|
|
4096
|
-
context:
|
|
4097
|
-
flags:
|
|
4097
|
+
context: rc(e),
|
|
4098
|
+
flags: et,
|
|
4098
4099
|
reactOptions: { useCamelCaseFlagKeys: !1 },
|
|
4099
4100
|
options: { streaming: !1 },
|
|
4100
4101
|
children: t
|
|
4101
|
-
}),
|
|
4102
|
-
|
|
4103
|
-
var
|
|
4102
|
+
}), ac = Ke();
|
|
4103
|
+
w(m.jslibVersionActual, T(() => ne(), "?")), w(m.clientVersion, T(() => ne(), "?"));
|
|
4104
|
+
var oc = F.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
4104
4105
|
try {
|
|
4105
|
-
|
|
4106
|
+
ze();
|
|
4106
4107
|
} catch (e) {
|
|
4107
|
-
|
|
4108
|
+
D.warn("Failed to add predefined hooks", e);
|
|
4108
4109
|
}
|
|
4109
4110
|
return (0, F.useEffect)(() => {
|
|
4110
|
-
|
|
4111
|
-
}),
|
|
4111
|
+
C();
|
|
4112
|
+
}), ac.dispatch({
|
|
4112
4113
|
programId: e,
|
|
4113
4114
|
type: "PROGRAM_ID"
|
|
4114
4115
|
}), n && (n.current = {
|
|
4115
|
-
refresh: F.useCallback(() =>
|
|
4116
|
-
reset: F.useCallback(() =>
|
|
4117
|
-
}), /* @__PURE__ */ (0, I.jsx)(
|
|
4118
|
-
store:
|
|
4119
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
4116
|
+
refresh: F.useCallback(() => ac.dispatch({ type: "FORCE_UPDATE" }), []),
|
|
4117
|
+
reset: F.useCallback(() => ac.dispatch({ type: "RESET_STATE" }), [])
|
|
4118
|
+
}), /* @__PURE__ */ (0, I.jsx)(he, {
|
|
4119
|
+
store: ac,
|
|
4120
|
+
children: /* @__PURE__ */ (0, I.jsx)(ic, {
|
|
4120
4121
|
programId: e,
|
|
4121
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
4122
|
+
children: /* @__PURE__ */ (0, I.jsx)(nc, {
|
|
4122
4123
|
programId: e,
|
|
4123
4124
|
trackingId: t
|
|
4124
4125
|
})
|
|
4125
4126
|
})
|
|
4126
4127
|
});
|
|
4127
|
-
}),
|
|
4128
|
+
}), sc = class e {
|
|
4128
4129
|
element;
|
|
4129
4130
|
programId;
|
|
4130
4131
|
trackingId;
|
|
@@ -4132,7 +4133,7 @@ var ac = F.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
4132
4133
|
ref;
|
|
4133
4134
|
constructor(t, n, r) {
|
|
4134
4135
|
if (!(this instanceof e)) throw Error("Method \"render\" not found. Did you use the \"new\" keyword when instantiating VerificationForm?");
|
|
4135
|
-
|
|
4136
|
+
D.info(`Constructing VerificationFormEs5 ${n}`), h(t), this.element = t, this.programId = n, this.trackingId = r, this.ref = F.createRef(), this.render();
|
|
4136
4137
|
}
|
|
4137
4138
|
refresh() {
|
|
4138
4139
|
this.ref.current.refresh();
|
|
@@ -4141,39 +4142,39 @@ var ac = F.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
4141
4142
|
this.ref.current.reset();
|
|
4142
4143
|
}
|
|
4143
4144
|
render() {
|
|
4144
|
-
|
|
4145
|
+
dt.render(/* @__PURE__ */ (0, I.jsx)(oc, {
|
|
4145
4146
|
programId: this.programId,
|
|
4146
4147
|
trackingId: this.trackingId,
|
|
4147
4148
|
ref: this.ref
|
|
4148
4149
|
}), this.element);
|
|
4149
4150
|
}
|
|
4150
4151
|
unmount() {
|
|
4151
|
-
|
|
4152
|
+
dt.unmountComponentAtNode(this.element);
|
|
4152
4153
|
}
|
|
4153
4154
|
};
|
|
4154
4155
|
//#endregion
|
|
4155
4156
|
//#region src/lib/state/previewMessages.ts
|
|
4156
|
-
function
|
|
4157
|
-
|
|
4158
|
-
...
|
|
4157
|
+
function cc(e, n) {
|
|
4158
|
+
De.set((t) => ({
|
|
4159
|
+
...t,
|
|
4159
4160
|
overrides: {
|
|
4160
|
-
...
|
|
4161
|
+
...t.overrides,
|
|
4161
4162
|
messages: {
|
|
4162
|
-
...
|
|
4163
|
+
...t.overrides.messages,
|
|
4163
4164
|
[e]: {
|
|
4164
|
-
...
|
|
4165
|
-
...
|
|
4165
|
+
...t.overrides.messages?.[e],
|
|
4166
|
+
...n
|
|
4166
4167
|
}
|
|
4167
4168
|
}
|
|
4168
4169
|
}
|
|
4169
|
-
})),
|
|
4170
|
+
})), t({ [e]: n });
|
|
4170
4171
|
}
|
|
4171
|
-
function
|
|
4172
|
-
|
|
4172
|
+
function lc(n) {
|
|
4173
|
+
n.forEach((t) => e.removeResourceBundle(t, i.OPTIONS)), t(b().messagesWithLocale);
|
|
4173
4174
|
}
|
|
4174
4175
|
//#endregion
|
|
4175
4176
|
//#region src/lib/state/previewResponse.ts
|
|
4176
|
-
var
|
|
4177
|
+
var uc = {
|
|
4177
4178
|
step: "mockStep",
|
|
4178
4179
|
previousStep: "mockPreviousStep",
|
|
4179
4180
|
segment: "mockSegment",
|
|
@@ -4187,14 +4188,14 @@ var lc = {
|
|
|
4187
4188
|
idCheckLoopServiceType: "mockIdCheckLoopServiceType",
|
|
4188
4189
|
docSelected: "mockDocSelected"
|
|
4189
4190
|
};
|
|
4190
|
-
async function
|
|
4191
|
+
async function dc(e) {
|
|
4191
4192
|
let t = {};
|
|
4192
4193
|
Object.keys(e).forEach((n) => {
|
|
4193
|
-
let r =
|
|
4194
|
+
let r = uc[n];
|
|
4194
4195
|
r && (t[r] = e[n]);
|
|
4195
|
-
}),
|
|
4196
|
-
let n = e.step ??
|
|
4197
|
-
|
|
4196
|
+
}), p(t);
|
|
4197
|
+
let n = e.step ?? De.get().overrides.mock?.step, r = n ? await Ae(n, Ke().getState().verificationResponse) : void 0;
|
|
4198
|
+
De.set((t) => ({
|
|
4198
4199
|
...t,
|
|
4199
4200
|
overrides: {
|
|
4200
4201
|
...t.overrides,
|
|
@@ -4208,58 +4209,65 @@ async function uc(e) {
|
|
|
4208
4209
|
}
|
|
4209
4210
|
//#endregion
|
|
4210
4211
|
//#region src/lib/state/previewApi.ts
|
|
4211
|
-
function dc(e) {
|
|
4212
|
-
le({ programTheme: e });
|
|
4213
|
-
}
|
|
4214
4212
|
function fc(e) {
|
|
4215
|
-
|
|
4213
|
+
ue({ programTheme: e });
|
|
4216
4214
|
}
|
|
4217
4215
|
function pc(e) {
|
|
4218
|
-
|
|
4216
|
+
ue({ programTheme: e });
|
|
4219
4217
|
}
|
|
4220
4218
|
function mc(e) {
|
|
4221
|
-
|
|
4222
|
-
return Je(t.dispatch, n)(e, r?.segment);
|
|
4219
|
+
ue({ response: e });
|
|
4223
4220
|
}
|
|
4224
|
-
function hc() {
|
|
4225
|
-
let
|
|
4226
|
-
|
|
4221
|
+
function hc(e) {
|
|
4222
|
+
let t = Ke(), { programId: n, verificationResponse: r } = t.getState();
|
|
4223
|
+
return Ye(t.dispatch, n)(e, r?.segment);
|
|
4224
|
+
}
|
|
4225
|
+
function gc() {
|
|
4226
|
+
let e = Object.keys(De.get().overrides.messages ?? {});
|
|
4227
|
+
de(), lc(e);
|
|
4227
4228
|
}
|
|
4228
4229
|
//#endregion
|
|
4229
4230
|
//#region src/lib/installScript/_mysheerid-preview.ts
|
|
4230
4231
|
j(A.programBuilderPreview);
|
|
4231
|
-
function
|
|
4232
|
-
return new
|
|
4233
|
-
}
|
|
4234
|
-
function _c(e) {
|
|
4235
|
-
ct(e);
|
|
4232
|
+
function _c(e, t) {
|
|
4233
|
+
return new sc(e, t);
|
|
4236
4234
|
}
|
|
4237
|
-
function vc(e) {
|
|
4238
|
-
|
|
4235
|
+
function vc(e, t) {
|
|
4236
|
+
return oe(), p({
|
|
4237
|
+
mockStep: t.step,
|
|
4238
|
+
mockSegment: "student"
|
|
4239
|
+
}), new sc(e, void 0);
|
|
4239
4240
|
}
|
|
4240
|
-
function yc() {
|
|
4241
|
-
|
|
4241
|
+
function yc(e) {
|
|
4242
|
+
lt(e);
|
|
4242
4243
|
}
|
|
4243
4244
|
function bc(e) {
|
|
4244
|
-
|
|
4245
|
-
}
|
|
4246
|
-
function xc(
|
|
4247
|
-
|
|
4248
|
-
}
|
|
4249
|
-
|
|
4250
|
-
|
|
4251
|
-
|
|
4252
|
-
|
|
4253
|
-
|
|
4254
|
-
|
|
4255
|
-
|
|
4256
|
-
|
|
4257
|
-
|
|
4258
|
-
|
|
4259
|
-
|
|
4260
|
-
|
|
4261
|
-
|
|
4262
|
-
|
|
4245
|
+
Ve(), p(e);
|
|
4246
|
+
}
|
|
4247
|
+
function xc() {
|
|
4248
|
+
s();
|
|
4249
|
+
}
|
|
4250
|
+
function Sc(e) {
|
|
4251
|
+
p({ _launchDarklyFlagCb: e });
|
|
4252
|
+
}
|
|
4253
|
+
function Cc(e, t, n) {
|
|
4254
|
+
return g(e, t, n);
|
|
4255
|
+
}
|
|
4256
|
+
var wc = {
|
|
4257
|
+
loadInElement: _c,
|
|
4258
|
+
renderMockProgram: vc,
|
|
4259
|
+
getProgramMessages: Cc,
|
|
4260
|
+
getFeatureFlags: Sc,
|
|
4261
|
+
setProgramThemeChoices: yc,
|
|
4262
|
+
setProgramOptions: bc,
|
|
4263
|
+
resetProgramOptions: xc,
|
|
4264
|
+
setPreviewBranding: fc,
|
|
4265
|
+
setPreviewConfiguration: pc,
|
|
4266
|
+
setPreviewMessages: cc,
|
|
4267
|
+
setPreviewResponse: mc,
|
|
4268
|
+
setPreviewMock: dc,
|
|
4269
|
+
setPreviewLocale: hc,
|
|
4270
|
+
clearPreview: gc
|
|
4263
4271
|
};
|
|
4264
4272
|
//#endregion
|
|
4265
|
-
export {
|
|
4273
|
+
export { Ot as A, gn as C, B as D, V as E, yt as M, mt as N, Bt as O, ft as P, Sn as S, pn as T, Gn as _, ro as a, Cn as b, Ua as c, gc as clearPreview, Ma as d, wc as default, Pa as f, or as g, Sc as getFeatureFlags, Cc as getProgramMessages, ha as h, no as i, Tt as j, Ft as k, Ra as l, _c as loadInElement, ja as m, Ks as n, ao as o, Na as p, ps as r, vc as renderMockProgram, xc as resetProgramOptions, eo as s, fc as setPreviewBranding, pc as setPreviewConfiguration, hc as setPreviewLocale, cc as setPreviewMessages, dc as setPreviewMock, mc as setPreviewResponse, bc as setProgramOptions, yc as setProgramThemeChoices, Js as t, Ia as u, zn as v, mn as w, H as x, jn as y };
|