@sheerid/jslib 2.314.0 → 2.316.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 +856 -852
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/{AddressComponent-DT1QSw8o.js → AddressComponent-BxavEqNN.js} +14 -13
- package/chunk/{AddressComponent-BhsB0ubP.js.map → AddressComponent-BxavEqNN.js.map} +1 -1
- package/chunk/{AddressComponent-BhsB0ubP.js → AddressComponent-D2mEkfix.js} +14 -13
- package/chunk/{AddressComponent-DT1QSw8o.js.map → AddressComponent-D2mEkfix.js.map} +1 -1
- package/chunk/{AnnouncingHeader-CM01vEpF.js → AnnouncingHeader-C3W0VQzV.js} +6 -6
- package/chunk/{AnnouncingHeader-CM01vEpF.js.map → AnnouncingHeader-C3W0VQzV.js.map} +1 -1
- package/chunk/{AnnouncingHeader-CSh0UW8I.js → AnnouncingHeader-OtaykXZw.js} +6 -6
- package/chunk/{AnnouncingHeader-CSh0UW8I.js.map → AnnouncingHeader-OtaykXZw.js.map} +1 -1
- package/chunk/ApiUrls-C604MmkC.js +36 -0
- package/chunk/ApiUrls-C604MmkC.js.map +1 -0
- package/chunk/ApiUrls-DC453lFN.js +32 -0
- package/chunk/ApiUrls-DC453lFN.js.map +1 -0
- package/chunk/BirthDateComponent-BwcAqOFe.js +38 -0
- package/chunk/{BirthDateComponent-B3mQalKa.js.map → BirthDateComponent-BwcAqOFe.js.map} +1 -1
- package/chunk/{BirthDateComponent-BPaAXZlv.js → BirthDateComponent-d6voii3J.js} +14 -13
- package/chunk/{BirthDateComponent-BPaAXZlv.js.map → BirthDateComponent-d6voii3J.js.map} +1 -1
- package/chunk/{CaptchaComponent-Nm59DuJO.js → CaptchaComponent-Cw4MkQRy.js} +151 -150
- package/chunk/{CaptchaComponent-B-0n8Sgc.js.map → CaptchaComponent-Cw4MkQRy.js.map} +1 -1
- package/chunk/{CaptchaComponent-B-0n8Sgc.js → CaptchaComponent-Da7DkPA_.js} +128 -127
- package/chunk/{CaptchaComponent-Nm59DuJO.js.map → CaptchaComponent-Da7DkPA_.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-B47RYyd8.js → ChangeLocaleComponent--uRPSHsI.js} +27 -26
- package/chunk/{ChangeLocaleComponent-B47RYyd8.js.map → ChangeLocaleComponent--uRPSHsI.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-2ItMdEpd.js → ChangeLocaleComponent-CUEmQuoA.js} +27 -26
- package/chunk/{ChangeLocaleComponent-2ItMdEpd.js.map → ChangeLocaleComponent-CUEmQuoA.js.map} +1 -1
- package/chunk/{City-Dx5l48so.js → City-CR2xigNn.js} +14 -13
- package/chunk/{City-BZP2jWJC.js.map → City-CR2xigNn.js.map} +1 -1
- package/chunk/City-DoccJLpM.js +37 -0
- package/chunk/{City-Dx5l48so.js.map → City-DoccJLpM.js.map} +1 -1
- package/chunk/CollegeNameComponent-DwA9T43o.js +41 -0
- package/chunk/{CollegeNameComponent-DF_dcHnu.js.map → CollegeNameComponent-DwA9T43o.js.map} +1 -1
- package/chunk/{CollegeNameComponent-f6_gBtpS.js → CollegeNameComponent-gIG7563E.js} +18 -17
- package/chunk/{CollegeNameComponent-f6_gBtpS.js.map → CollegeNameComponent-gIG7563E.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-BN9qCovT.js → CopyToClipboardComponent-DdLZvzfB.js} +9 -9
- package/chunk/{CopyToClipboardComponent-BN9qCovT.js.map → CopyToClipboardComponent-DdLZvzfB.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-Dag4rxf8.js → CopyToClipboardComponent-De_3_3VT.js} +9 -9
- package/chunk/{CopyToClipboardComponent-Dag4rxf8.js.map → CopyToClipboardComponent-De_3_3VT.js.map} +1 -1
- package/chunk/CountryComponentWrapper-D6bRhqUP.js +84 -0
- package/chunk/{CountryComponentWrapper-CDJl-HHu.js.map → CountryComponentWrapper-D6bRhqUP.js.map} +1 -1
- package/chunk/CountryComponentWrapper-PZKJeo-8.js +80 -0
- package/chunk/{CountryComponentWrapper-CPH7Q2C9.js.map → CountryComponentWrapper-PZKJeo-8.js.map} +1 -1
- package/chunk/{DischargeDateComponent-DfiBSI4n.js → DischargeDateComponent-DllDTFXI.js} +39 -37
- package/chunk/{DischargeDateComponent-DfiBSI4n.js.map → DischargeDateComponent-DllDTFXI.js.map} +1 -1
- package/chunk/{DischargeDateComponent-Cx5GtJC0.js → DischargeDateComponent-sCHfnq4x.js} +42 -40
- package/chunk/{DischargeDateComponent-Cx5GtJC0.js.map → DischargeDateComponent-sCHfnq4x.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-D9eHyRtn.js → DriverLicenseNumberComponent-CdRJgKXz.js} +15 -14
- package/chunk/{DriverLicenseNumberComponent-D9eHyRtn.js.map → DriverLicenseNumberComponent-CdRJgKXz.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-DqGt7_Ww.js → DriverLicenseNumberComponent-iE4uZhjY.js} +15 -14
- package/chunk/{DriverLicenseNumberComponent-DqGt7_Ww.js.map → DriverLicenseNumberComponent-iE4uZhjY.js.map} +1 -1
- package/chunk/{EmailLoopPending-mlaNRUD9.js → EmailLoopPending-B3Y7-M0k.js} +32 -30
- package/chunk/{EmailLoopPending-mlaNRUD9.js.map → EmailLoopPending-B3Y7-M0k.js.map} +1 -1
- package/chunk/{EmailLoopPending-D67NiV5x.js → EmailLoopPending-DPEx2yPl.js} +28 -26
- package/chunk/{EmailLoopPending-D67NiV5x.js.map → EmailLoopPending-DPEx2yPl.js.map} +1 -1
- package/chunk/{ExtraMessage-DpGDn2nE.js → ExtraMessage-CR5rN46Q.js} +7 -7
- package/chunk/{ExtraMessage-DpGDn2nE.js.map → ExtraMessage-CR5rN46Q.js.map} +1 -1
- package/chunk/{ExtraMessage-G5N0ZMea.js → ExtraMessage-Dy5YujvI.js} +7 -7
- package/chunk/{ExtraMessage-G5N0ZMea.js.map → ExtraMessage-Dy5YujvI.js.map} +1 -1
- package/chunk/FirstResponderOrganizationComponent-Bnqi3SpC.js +39 -0
- package/chunk/{FirstResponderOrganizationComponent-BLgIjTUq.js.map → FirstResponderOrganizationComponent-Bnqi3SpC.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-BLgIjTUq.js → FirstResponderOrganizationComponent-CrsqGhmT.js} +17 -16
- package/chunk/{FirstResponderOrganizationComponent-exaiDKTT.js.map → FirstResponderOrganizationComponent-CrsqGhmT.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-D6tAkFNC.js → FormFieldInputSelect-DCe1fl-X.js} +7 -7
- package/chunk/{FormFieldInputSelect-BSKPqpm_.js.map → FormFieldInputSelect-DCe1fl-X.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-BSKPqpm_.js → FormFieldInputSelect-wzL--dyG.js} +7 -7
- package/chunk/{FormFieldInputSelect-D6tAkFNC.js.map → FormFieldInputSelect-wzL--dyG.js.map} +1 -1
- package/chunk/{FormFieldLayout-KJilu-sR.js → FormFieldLayout-Cx2ljZnE.js} +6 -6
- package/chunk/{FormFieldLayout-KJilu-sR.js.map → FormFieldLayout-Cx2ljZnE.js.map} +1 -1
- package/chunk/{FormFieldLayout-UCIBwDRH.js → FormFieldLayout-eZlxsUFO.js} +6 -6
- package/chunk/{FormFieldLayout-UCIBwDRH.js.map → FormFieldLayout-eZlxsUFO.js.map} +1 -1
- package/chunk/{FormFieldText-B_2IOFED.js → FormFieldText-BqN10-Wh.js} +7 -7
- package/chunk/{FormFieldText-B_2IOFED.js.map → FormFieldText-BqN10-Wh.js.map} +1 -1
- package/chunk/{FormFieldText-CkPmuIPf.js → FormFieldText-CSfUMOnT.js} +7 -7
- package/chunk/{FormFieldText-CkPmuIPf.js.map → FormFieldText-CSfUMOnT.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-Bz3TMnYw.js → FormFieldTypeahead-CP2_PAIw.js} +139 -137
- package/chunk/{FormFieldTypeahead-Bz3TMnYw.js.map → FormFieldTypeahead-CP2_PAIw.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-BRaA3hcO.js → FormFieldTypeahead-CoH3Km-j.js} +132 -130
- package/chunk/{FormFieldTypeahead-BRaA3hcO.js.map → FormFieldTypeahead-CoH3Km-j.js.map} +1 -1
- package/chunk/{FormFooterComponent-CVXgmWQR.js → FormFooterComponent-BNcMAlwo.js} +502 -502
- package/chunk/{FormFooterComponent-CVXgmWQR.js.map → FormFooterComponent-BNcMAlwo.js.map} +1 -1
- package/chunk/{FormFooterComponent-B4IrNZhK.js → FormFooterComponent-CCnomymd.js} +256 -256
- package/chunk/{FormFooterComponent-B4IrNZhK.js.map → FormFooterComponent-CCnomymd.js.map} +1 -1
- package/chunk/{FormSelectChoice-CbcfEHuQ.js → FormSelectChoice-BtoOF4T1.js} +25 -24
- package/chunk/FormSelectChoice-BtoOF4T1.js.map +1 -0
- package/chunk/{FormSelectChoice-CIB7HacQ.js → FormSelectChoice-OvLHNUCT.js} +29 -28
- package/chunk/FormSelectChoice-OvLHNUCT.js.map +1 -0
- package/chunk/{InputText-C2qEtF0t.js → InputText-CofmfudI.js} +6 -6
- package/chunk/{InputText-Bvj815Th.js.map → InputText-CofmfudI.js.map} +1 -1
- package/chunk/{InputText-Bvj815Th.js → InputText-Dcl3FSxA.js} +6 -6
- package/chunk/{InputText-C2qEtF0t.js.map → InputText-Dcl3FSxA.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-Dmo9gg0v.js → LicensedProfessionalOrganizationComponent-BpaFeYR-.js} +17 -16
- package/chunk/{LicensedProfessionalOrganizationComponent-3wnxm1gl.js.map → LicensedProfessionalOrganizationComponent-BpaFeYR-.js.map} +1 -1
- package/chunk/LicensedProfessionalOrganizationComponent-Do2puR4-.js +38 -0
- package/chunk/{LicensedProfessionalOrganizationComponent-Dmo9gg0v.js.map → LicensedProfessionalOrganizationComponent-Do2puR4-.js.map} +1 -1
- package/chunk/{LogoComponent-CNTRIZ82.js → LogoComponent-1FE2nzPz.js} +10 -9
- package/chunk/{LogoComponent-B4tFzxvs.js.map → LogoComponent-1FE2nzPz.js.map} +1 -1
- package/chunk/LogoComponent-Dwrer09q.js +28 -0
- package/chunk/{LogoComponent-CNTRIZ82.js.map → LogoComponent-Dwrer09q.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-Boc4boNa.js → LowIncomeOrganizationComponent-ClsRb34i.js} +37 -35
- package/chunk/{LowIncomeOrganizationComponent-BiLH2c8H.js.map → LowIncomeOrganizationComponent-ClsRb34i.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-BiLH2c8H.js → LowIncomeOrganizationComponent-DtM5LGeH.js} +34 -32
- package/chunk/{LowIncomeOrganizationComponent-Boc4boNa.js.map → LowIncomeOrganizationComponent-DtM5LGeH.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-CkLCcGTL.js → MedicalProfessionalOrganizationComponent-BGx4efvQ.js} +17 -16
- package/chunk/{MedicalProfessionalOrganizationComponent-DM-H8kwu.js.map → MedicalProfessionalOrganizationComponent-BGx4efvQ.js.map} +1 -1
- package/chunk/MedicalProfessionalOrganizationComponent-DH-kRN2y.js +39 -0
- package/chunk/{MedicalProfessionalOrganizationComponent-CkLCcGTL.js.map → MedicalProfessionalOrganizationComponent-DH-kRN2y.js.map} +1 -1
- package/chunk/{MemberIdComponent-DH_i2bP8.js → MemberIdComponent-Bwd8_Zby.js} +15 -14
- package/chunk/{MemberIdComponent-DH_i2bP8.js.map → MemberIdComponent-Bwd8_Zby.js.map} +1 -1
- package/chunk/MemberIdComponent-Op5eJ6S1.js +40 -0
- package/chunk/{MemberIdComponent-BviEO2xf.js.map → MemberIdComponent-Op5eJ6S1.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-CkdcFB5m.js → MembershipOrganizationComponent-B7Xe1YGg.js} +17 -16
- package/chunk/{MembershipOrganizationComponent-Dzoxr8Ix.js.map → MembershipOrganizationComponent-B7Xe1YGg.js.map} +1 -1
- package/chunk/MembershipOrganizationComponent-jn62suuT.js +38 -0
- package/chunk/{MembershipOrganizationComponent-CkdcFB5m.js.map → MembershipOrganizationComponent-jn62suuT.js.map} +1 -1
- package/chunk/Message-B40rYRnQ.js +660 -0
- package/chunk/Message-B40rYRnQ.js.map +1 -0
- package/chunk/Message-DeYfEIfJ.js +656 -0
- package/chunk/Message-DeYfEIfJ.js.map +1 -0
- package/chunk/Onfido-CTCgAwnB.js +4 -4
- package/chunk/{PersonalInfoStepSubmitButton-9dP-dawT.js → PersonalInfoStepSubmitButton-CT7lguuZ.js} +32 -31
- package/chunk/{PersonalInfoStepSubmitButton-9dP-dawT.js.map → PersonalInfoStepSubmitButton-CT7lguuZ.js.map} +1 -1
- package/chunk/{PersonalInfoStepSubmitButton-57KCa-Wu.js → PersonalInfoStepSubmitButton-jF2Q-TQ1.js} +42 -41
- package/chunk/{PersonalInfoStepSubmitButton-57KCa-Wu.js.map → PersonalInfoStepSubmitButton-jF2Q-TQ1.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-DM-VDAwi.js → PersonalInfoStepWrapper-8bWmgyhA.js} +10 -10
- package/chunk/{PersonalInfoStepWrapper-DM-VDAwi.js.map → PersonalInfoStepWrapper-8bWmgyhA.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-Xz-23FXk.js → PersonalInfoStepWrapper-Wq0T4gth.js} +17 -17
- package/chunk/PersonalInfoStepWrapper-Wq0T4gth.js.map +1 -0
- package/chunk/{PostalCodeComponent-Mn1fl8iu.js → PostalCodeComponent-CM7B9nbQ.js} +14 -13
- package/chunk/{PostalCodeComponent-B1YC9e96.js.map → PostalCodeComponent-CM7B9nbQ.js.map} +1 -1
- package/chunk/{PostalCodeComponent-B1YC9e96.js → PostalCodeComponent-DOaiP-XH.js} +14 -13
- package/chunk/{PostalCodeComponent-Mn1fl8iu.js.map → PostalCodeComponent-DOaiP-XH.js.map} +1 -1
- package/chunk/{SSN-sfKSdRmS.js → SSN-CLdLfiNj.js} +16 -15
- package/chunk/{SSN-B1VwdvmE.js.map → SSN-CLdLfiNj.js.map} +1 -1
- package/chunk/{SSN-B1VwdvmE.js → SSN-CxrFw1Bw.js} +14 -13
- package/chunk/{SSN-sfKSdRmS.js.map → SSN-CxrFw1Bw.js.map} +1 -1
- package/chunk/{StateSelectComponent-DhkRqivG.js → StateSelectComponent-Bs0zMXwM.js} +14 -13
- package/chunk/{StateSelectComponent-DhkRqivG.js.map → StateSelectComponent-Bs0zMXwM.js.map} +1 -1
- package/chunk/{StateSelectComponent-B7eQinP3.js → StateSelectComponent-CDUxaxhl.js} +12 -11
- package/chunk/{StateSelectComponent-B7eQinP3.js.map → StateSelectComponent-CDUxaxhl.js.map} +1 -1
- package/chunk/{StatusComponent-DJMknEBZ.js → StatusComponent-B9xHqfyT.js} +14 -13
- package/chunk/{StatusComponent-DHvMI6LS.js.map → StatusComponent-B9xHqfyT.js.map} +1 -1
- package/chunk/StatusComponent-wmBrTgh8.js +42 -0
- package/chunk/{StatusComponent-DJMknEBZ.js.map → StatusComponent-wmBrTgh8.js.map} +1 -1
- package/chunk/StepAgePersonalInfo-8s929DzY.js +177 -0
- package/chunk/{StepAgePersonalInfo-15a4u8lW.js.map → StepAgePersonalInfo-8s929DzY.js.map} +1 -1
- package/chunk/StepAgePersonalInfo-Bbh1q-Ny.js +173 -0
- package/chunk/{StepAgePersonalInfo-D2ax7PaI.js.map → StepAgePersonalInfo-Bbh1q-Ny.js.map} +1 -1
- package/chunk/{StepCard-BEucy3JJ.js → StepCard-C1asZqmo.js} +5 -5
- package/chunk/{StepCard-BEucy3JJ.js.map → StepCard-C1asZqmo.js.map} +1 -1
- package/chunk/{StepCard-Blp7ZcI-.js → StepCard-CSGX5DWE.js} +5 -5
- package/chunk/{StepCard-Blp7ZcI-.js.map → StepCard-CSGX5DWE.js.map} +1 -1
- package/chunk/StepCollectIdentifier-BnKW0Kpp.js +61 -0
- package/chunk/{StepCollectIdentifier-_kan_kzu.js.map → StepCollectIdentifier-BnKW0Kpp.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-_kan_kzu.js → StepCollectIdentifier-eNuejbhk.js} +20 -19
- package/chunk/{StepCollectIdentifier-8Wsj7KLS.js.map → StepCollectIdentifier-eNuejbhk.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-CrmPn11A.js → StepCollectMilitaryPersonalInfoComponent-CvVnTjMm.js} +40 -35
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-AUHqzV1P.js.map → StepCollectMilitaryPersonalInfoComponent-CvVnTjMm.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-AUHqzV1P.js → StepCollectMilitaryPersonalInfoComponent-IUKAcF4m.js} +42 -45
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-CrmPn11A.js.map → StepCollectMilitaryPersonalInfoComponent-IUKAcF4m.js.map} +1 -1
- package/chunk/StepCollectPersonalInfo-Bxj7rasK.js +373 -0
- package/chunk/{StepCollectPersonalInfo-PuREf52a.js.map → StepCollectPersonalInfo-Bxj7rasK.js.map} +1 -1
- package/chunk/StepCollectPersonalInfo-DmTVCQ3_.js +369 -0
- package/chunk/{StepCollectPersonalInfo-DWygvbfF.js.map → StepCollectPersonalInfo-DmTVCQ3_.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-Ds3ieihr.js → StepCompleteAuthentication-Bjs9HhHK.js} +30 -25
- package/chunk/{StepCompleteAuthentication-Ds3ieihr.js.map → StepCompleteAuthentication-Bjs9HhHK.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-B_0EZ3mH.js → StepCompleteAuthentication-CK8SYf3r.js} +31 -34
- package/chunk/{StepCompleteAuthentication-B_0EZ3mH.js.map → StepCompleteAuthentication-CK8SYf3r.js.map} +1 -1
- package/chunk/{StepConsolation-BFfTMQZf.js → StepConsolation-Do3BvzLY.js} +27 -25
- package/chunk/{StepConsolation-C5SL95Kz.js.map → StepConsolation-Do3BvzLY.js.map} +1 -1
- package/chunk/{StepConsolation-C5SL95Kz.js → StepConsolation-qIEGxdup.js} +24 -22
- package/chunk/{StepConsolation-BFfTMQZf.js.map → StepConsolation-qIEGxdup.js.map} +1 -1
- package/chunk/{StepDocUpload-DFGy-RZb.js → StepDocUpload-DZFVexGs.js} +109 -108
- package/chunk/{StepDocUpload-Cfe9u-Yg.js.map → StepDocUpload-DZFVexGs.js.map} +1 -1
- package/chunk/{StepDocUpload-Cfe9u-Yg.js → StepDocUpload-Dwczk00D.js} +479 -478
- package/chunk/{StepDocUpload-DFGy-RZb.js.map → StepDocUpload-Dwczk00D.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-DdmoAJlX.js → StepDriverLicensePersonalInfoComponent-BWtUxbIw.js} +30 -25
- package/chunk/{StepDriverLicensePersonalInfoComponent-DdmoAJlX.js.map → StepDriverLicensePersonalInfoComponent-BWtUxbIw.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-BZ3KgdE7.js → StepDriverLicensePersonalInfoComponent-CE_p8hWp.js} +47 -50
- package/chunk/{StepDriverLicensePersonalInfoComponent-BZ3KgdE7.js.map → StepDriverLicensePersonalInfoComponent-CE_p8hWp.js.map} +1 -1
- package/chunk/{StepEmailLoop-eZzSYgjK.js → StepEmailLoop-CPF3-q6j.js} +33 -32
- package/chunk/{StepEmailLoop-eZzSYgjK.js.map → StepEmailLoop-CPF3-q6j.js.map} +1 -1
- package/chunk/{StepEmailLoop-BvbQpNhg.js → StepEmailLoop-CuJwIM1_.js} +35 -34
- package/chunk/{StepEmailLoop-BvbQpNhg.js.map → StepEmailLoop-CuJwIM1_.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-KDfQnTyn.js → StepEmploymentPersonalInfo-D5nZkseJ.js} +75 -78
- package/chunk/{StepEmploymentPersonalInfo-COOXEbpc.js.map → StepEmploymentPersonalInfo-D5nZkseJ.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-COOXEbpc.js → StepEmploymentPersonalInfo-DkDvxjer.js} +60 -55
- package/chunk/{StepEmploymentPersonalInfo-KDfQnTyn.js.map → StepEmploymentPersonalInfo-DkDvxjer.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-uB0fD2gT.js → StepFirstResponderPersonalInfo-CLxwkudV.js} +39 -39
- package/chunk/{StepFirstResponderPersonalInfo-uB0fD2gT.js.map → StepFirstResponderPersonalInfo-CLxwkudV.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-BTcRuxq9.js → StepFirstResponderPersonalInfo-HdJfcO_z.js} +37 -37
- package/chunk/{StepFirstResponderPersonalInfo-BTcRuxq9.js.map → StepFirstResponderPersonalInfo-HdJfcO_z.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-CjJIJNeD.js → StepGeneralIdentityPersonalInfoComponent-DJ-NhRjo.js} +52 -55
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-CjJIJNeD.js.map → StepGeneralIdentityPersonalInfoComponent-DJ-NhRjo.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-Dkk-V7VL.js → StepGeneralIdentityPersonalInfoComponent-xgXKl9_S.js} +32 -27
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-Dkk-V7VL.js.map → StepGeneralIdentityPersonalInfoComponent-xgXKl9_S.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-d8gd6eV_.js → StepHybridIdentityPersonalInfoComponent-BjSAtSa6.js} +54 -57
- package/chunk/{StepHybridIdentityPersonalInfoComponent-d8gd6eV_.js.map → StepHybridIdentityPersonalInfoComponent-BjSAtSa6.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-iJy6_0b0.js → StepHybridIdentityPersonalInfoComponent-DIJLJ-No.js} +33 -28
- package/chunk/{StepHybridIdentityPersonalInfoComponent-iJy6_0b0.js.map → StepHybridIdentityPersonalInfoComponent-DIJLJ-No.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-CWyxFjNe.js → StepIDCheckLoop-DUYjdP69.js} +8 -8
- package/chunk/{StepIDCheckLoop-CWyxFjNe.js.map → StepIDCheckLoop-DUYjdP69.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-BRlf5SAt.js → StepIDCheckLoop-qIX2zLc8.js} +8 -8
- package/chunk/{StepIDCheckLoop-BRlf5SAt.js.map → StepIDCheckLoop-qIX2zLc8.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-3blrUlBA.js → StepIDCheckLoopOnfido-CV3kt9oK.js} +81 -79
- package/chunk/{StepIDCheckLoopOnfido-3blrUlBA.js.map → StepIDCheckLoopOnfido-CV3kt9oK.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-DY5Q80N_.js → StepIDCheckLoopOnfido-tvPCLWF8.js} +66 -64
- package/chunk/{StepIDCheckLoopOnfido-DY5Q80N_.js.map → StepIDCheckLoopOnfido-tvPCLWF8.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-CN-KQjeA.js → StepIDCheckLoopRegula-BILUu5tf.js} +41 -40
- package/chunk/{StepIDCheckLoopRegula-CN-KQjeA.js.map → StepIDCheckLoopRegula-BILUu5tf.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-DF-YhjX1.js → StepIDCheckLoopRegula-De-6wF71.js} +52 -51
- package/chunk/{StepIDCheckLoopRegula-DF-YhjX1.js.map → StepIDCheckLoopRegula-De-6wF71.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-DwNkTHc0.js → StepLicensedProfessionalPersonalInfo-1usJS0LC.js} +35 -30
- package/chunk/{StepLicensedProfessionalPersonalInfo-CZKyEpkF.js.map → StepLicensedProfessionalPersonalInfo-1usJS0LC.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-CZKyEpkF.js → StepLicensedProfessionalPersonalInfo-CG3ysYv5.js} +57 -60
- package/chunk/{StepLicensedProfessionalPersonalInfo-DwNkTHc0.js.map → StepLicensedProfessionalPersonalInfo-CG3ysYv5.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-BqQgGi0u.js → StepLowIncomePersonalInfo-BDfU93Fg.js} +83 -83
- package/chunk/{StepLowIncomePersonalInfo-BqQgGi0u.js.map → StepLowIncomePersonalInfo-BDfU93Fg.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-Bm4zhlQi.js → StepLowIncomePersonalInfo-Gb1n2pGQ.js} +80 -80
- package/chunk/{StepLowIncomePersonalInfo-Bm4zhlQi.js.map → StepLowIncomePersonalInfo-Gb1n2pGQ.js.map} +1 -1
- package/chunk/StepMedicalProfessionalPersonalInfo-39h1tErA.js +209 -0
- package/chunk/{StepMedicalProfessionalPersonalInfo-8vP1rQax.js.map → StepMedicalProfessionalPersonalInfo-39h1tErA.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-8vP1rQax.js → StepMedicalProfessionalPersonalInfo-DMrAMdhg.js} +79 -74
- package/chunk/{StepMedicalProfessionalPersonalInfo-BM1Innu0.js.map → StepMedicalProfessionalPersonalInfo-DMrAMdhg.js.map} +1 -1
- package/chunk/StepMemberPersonalInfo-BaXygfnb.js +160 -0
- package/chunk/{StepMemberPersonalInfo-6-8V13Wd.js.map → StepMemberPersonalInfo-BaXygfnb.js.map} +1 -1
- package/chunk/StepMemberPersonalInfo-BcAmXMmQ.js +156 -0
- package/chunk/{StepMemberPersonalInfo-JPen0Cdx.js.map → StepMemberPersonalInfo-BcAmXMmQ.js.map} +1 -1
- package/chunk/StepMoverPersonalInfo-BGrXmC7p.js +143 -0
- package/chunk/{StepMoverPersonalInfo-8W0j39Gd.js.map → StepMoverPersonalInfo-BGrXmC7p.js.map} +1 -1
- package/chunk/StepMoverPersonalInfo-BaKNdrcZ.js +147 -0
- package/chunk/{StepMoverPersonalInfo-BiHRl_6u.js.map → StepMoverPersonalInfo-BaKNdrcZ.js.map} +1 -1
- package/chunk/{StepOverrideComponent-CpFR0L_g.js → StepOverrideComponent-BB3pmLMm.js} +35 -34
- package/chunk/{StepOverrideComponent-CpFR0L_g.js.map → StepOverrideComponent-BB3pmLMm.js.map} +1 -1
- package/chunk/{StepOverrideComponent-BjEUdOOY.js → StepOverrideComponent-Bs0kS5Fn.js} +32 -31
- package/chunk/{StepOverrideComponent-BjEUdOOY.js.map → StepOverrideComponent-Bs0kS5Fn.js.map} +1 -1
- package/chunk/{StepSMSLoop-B8V9weE6.js → StepSMSLoop-BzPFHGko.js} +45 -39
- package/chunk/{StepSMSLoop-B8V9weE6.js.map → StepSMSLoop-BzPFHGko.js.map} +1 -1
- package/chunk/{StepSMSLoop-D7PRpbEu.js → StepSMSLoop-ChHl3FJv.js} +37 -39
- package/chunk/{StepSMSLoop-D7PRpbEu.js.map → StepSMSLoop-ChHl3FJv.js.map} +1 -1
- package/chunk/StepSSO-Bx1gQq5b.js +4 -4
- package/chunk/StepSSO-Cy9ViRyN.js +4 -4
- package/chunk/{StepSocialSecurityNumber-DLpCIKZ-.js → StepSocialSecurityNumber-D-MJ_k8J.js} +39 -38
- package/chunk/{StepSocialSecurityNumber-CqjBuMQi.js.map → StepSocialSecurityNumber-D-MJ_k8J.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-CqjBuMQi.js → StepSocialSecurityNumber-DWVLAzbC.js} +36 -35
- package/chunk/{StepSocialSecurityNumber-DLpCIKZ-.js.map → StepSocialSecurityNumber-DWVLAzbC.js.map} +1 -1
- package/chunk/StepStudentPersonalInfo-BBZZ7gam.js +237 -0
- package/chunk/{StepStudentPersonalInfo-Dvtm83FY.js.map → StepStudentPersonalInfo-BBZZ7gam.js.map} +1 -1
- package/chunk/StepStudentPersonalInfo-BUc4GbpM.js +233 -0
- package/chunk/{StepStudentPersonalInfo-ChDYBAZG.js.map → StepStudentPersonalInfo-BUc4GbpM.js.map} +1 -1
- package/chunk/{StepSuccess-D7nS4d-g.js → StepSuccess-CZdiXPoC.js} +59 -57
- package/chunk/{StepSuccess-D7nS4d-g.js.map → StepSuccess-CZdiXPoC.js.map} +1 -1
- package/chunk/{StepSuccess-BixNUZ52.js → StepSuccess-l84qE6Kp.js} +49 -47
- package/chunk/{StepSuccess-BixNUZ52.js.map → StepSuccess-l84qE6Kp.js.map} +1 -1
- package/chunk/StepTeacherPersonalInfo-Bn402aTO.js +153 -0
- package/chunk/{StepTeacherPersonalInfo-DF0rT1j8.js.map → StepTeacherPersonalInfo-Bn402aTO.js.map} +1 -1
- package/chunk/StepTeacherPersonalInfo-BuMUyAcB.js +157 -0
- package/chunk/{StepTeacherPersonalInfo-BuoLWqai.js.map → StepTeacherPersonalInfo-BuMUyAcB.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BFizJiyZ.js +4 -4
- package/chunk/StepThirdPartyLoop-C9d7QWS3.js +4 -4
- package/chunk/TeacherSchoolComponent-D9ZZzXXt.js +41 -0
- package/chunk/{TeacherSchoolComponent-C1Wugzcm.js.map → TeacherSchoolComponent-D9ZZzXXt.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-C6Rn4C5t.js → TeacherSchoolComponent-uIDJa9LF.js} +18 -17
- package/chunk/{TeacherSchoolComponent-C6Rn4C5t.js.map → TeacherSchoolComponent-uIDJa9LF.js.map} +1 -1
- package/chunk/{TestingRouteOverrides-DXjtFZZd.js → TestingRouteOverrides-Dq_tcy8v.js} +32 -32
- package/chunk/TestingRouteOverrides-Dq_tcy8v.js.map +1 -0
- package/chunk/{TestingRouteOverrides-fnlJLg1Z.js → TestingRouteOverrides-FmMiDhr9.js} +30 -30
- package/chunk/TestingRouteOverrides-FmMiDhr9.js.map +1 -0
- package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
- package/chunk/{Message-BJIH7xEA.js → VerificationApiClient-D-j3JgWo.js} +326 -970
- package/chunk/VerificationApiClient-D-j3JgWo.js.map +1 -0
- package/chunk/{Message-DcW8EpbY.js → VerificationApiClient-DbvSVsoF.js} +331 -975
- package/chunk/VerificationApiClient-DbvSVsoF.js.map +1 -0
- package/chunk/ar-D5CO913q.js +4 -4
- package/chunk/bg-1mhA5kYF.js +4 -4
- package/chunk/bn-IN-CpDqyRb_.js +4 -4
- package/chunk/clsx-DC8twM4t.js +4 -4
- package/chunk/countryUtils-Ckbc78Ow.js +12 -0
- package/chunk/{countryUtils-BsXU1kSm.js.map → countryUtils-Ckbc78Ow.js.map} +1 -1
- package/chunk/{countryUtils-BsXU1kSm.js → countryUtils-DGu3xN9n.js} +5 -5
- package/chunk/{countryUtils-CsytXtrZ.js.map → countryUtils-DGu3xN9n.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-CrOf4z_h.js → downshift.esm-BHmrbwB5.js} +156 -151
- package/chunk/{downshift.esm-pUcOp4cT.js.map → downshift.esm-BHmrbwB5.js.map} +1 -1
- package/chunk/{downshift.esm-pUcOp4cT.js → downshift.esm-Bo38bpfV.js} +135 -138
- package/chunk/{downshift.esm-CrOf4z_h.js.map → downshift.esm-Bo38bpfV.js.map} +1 -1
- package/chunk/el-DbDcvSPJ.js +4 -4
- package/chunk/{intl-BK4prEGw.js → empties-DtevBq9w.js} +819 -469
- package/chunk/empties-DtevBq9w.js.map +1 -0
- package/chunk/{i18next-iyVj5hRL.js → empties-xLh6FzDA.js} +685 -333
- package/chunk/empties-xLh6FzDA.js.map +1 -0
- package/chunk/en-GB-CNQ8Ww2j.js +4 -4
- package/chunk/es-ES-DWimqEZ_.js +4 -4
- package/chunk/es-qhC-seq5.js +4 -4
- package/chunk/et-yF9G-Mym.js +4 -4
- package/chunk/eventEmitter-CSG6jR7V.js +4 -4
- package/chunk/fa-BcdSf7og.js +4 -4
- package/chunk/fi-D-IP_KHm.js +4 -4
- package/chunk/fr-BmUuYxk0.js +4 -4
- package/chunk/fr-CA-DVQ4xmzZ.js +4 -4
- package/chunk/ga-DuZycND3.js +4 -4
- package/chunk/getInstallType-BRxisNNY.js +4 -4
- package/chunk/getInstallType-DlS_DNKt.js +4 -4
- package/chunk/hi-IN-l6Rn5Ewm.js +4 -4
- package/chunk/{hooks-D0X_qdc-.js → hooks-D4L3tNqJ.js} +59 -56
- package/chunk/{hooks-D0X_qdc-.js.map → hooks-D4L3tNqJ.js.map} +1 -1
- package/chunk/{hooks-B7aeAwHn.js → hooks-df3XJbin.js} +81 -86
- package/chunk/{hooks-B7aeAwHn.js.map → hooks-df3XJbin.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/{jsx-runtime-BUMIo32n.js → index.es-Cir3-TDI.js} +496 -895
- package/chunk/index.es-Cir3-TDI.js.map +1 -0
- package/chunk/{jsx-runtime-DwmrsRqi.js → index.es-Dw43pp1V.js} +496 -895
- package/chunk/index.es-Dw43pp1V.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-DQgZVOUX.js +414 -0
- package/chunk/jsx-runtime-DQgZVOUX.js.map +1 -0
- package/chunk/jsx-runtime-h9ybVYa3.js +410 -0
- package/chunk/jsx-runtime-h9ybVYa3.js.map +1 -0
- package/chunk/kk-Dvz4nK6K.js +4 -4
- package/chunk/ko-DzOqBMGC.js +4 -4
- package/chunk/lo-C2WPq55d.js +4 -4
- package/chunk/lt-BSDYvjTF.js +4 -4
- package/chunk/lv-CefDPT-M.js +4 -4
- package/chunk/mockProgramBranding-C9Ysu3Mp.js +4 -4
- package/chunk/mockProgramConfiguration-BNqSCrMG.js +4 -4
- package/chunk/mockProgramI18n-CgYx_1_a.js +4 -4
- package/chunk/mockProgramTheme-Cfk2dzF3.js +4 -4
- package/chunk/{mocks-DV23paUj.js → mocks-D7frr82N.js} +5 -5
- package/chunk/{mocks-DV23paUj.js.map → mocks-D7frr82N.js.map} +1 -1
- package/chunk/{mocks-R-p7VtJz.js → mocks-jT71x7MH.js} +5 -5
- package/chunk/{mocks-R-p7VtJz.js.map → mocks-jT71x7MH.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/pl-UYTjMIq_.js +4 -4
- package/chunk/{programThemeGetters-DlZHVdvX.js → programThemeGetters-B2hrl_I4.js} +378 -398
- package/chunk/programThemeGetters-B2hrl_I4.js.map +1 -0
- package/chunk/{programThemeGetters-DxY7DDdO.js → programThemeGetters-BhNmQw7_.js} +1743 -1766
- package/chunk/programThemeGetters-BhNmQw7_.js.map +1 -0
- package/chunk/pt-BR-C8SYMT-J.js +4 -4
- package/chunk/pt-uH-M3GdN.js +4 -4
- package/chunk/refs-Mq0rtW9K.js +4 -4
- package/chunk/ro-CAOSXZ7h.js +4 -4
- package/chunk/ru-iwYoEydL.js +4 -4
- package/chunk/runtimeTypes-B2AGNJMT.js +4 -4
- package/chunk/sk-DYYNV3zw.js +4 -4
- package/chunk/sl-D_-eeM5N.js +4 -4
- package/chunk/sr-BTi9_anL.js +4 -4
- package/chunk/{stepComponentHelpers-Dztw-HNP.js → stepComponentHelpers-3SlH9niv.js} +36 -37
- package/chunk/{stepComponentHelpers-CyqXTDdj.js.map → stepComponentHelpers-3SlH9niv.js.map} +1 -1
- package/chunk/{stepComponentHelpers-CyqXTDdj.js → stepComponentHelpers-BcYAcI_q.js} +26 -27
- package/chunk/{stepComponentHelpers-Dztw-HNP.js.map → stepComponentHelpers-BcYAcI_q.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-1jasoT_J.js +64 -0
- package/chunk/{useCollectFieldsEndpoint-Drk4Ums0.js.map → useCollectFieldsEndpoint-1jasoT_J.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-Drk4Ums0.js → useCollectFieldsEndpoint-CE4ZmnRu.js} +21 -20
- package/chunk/{useCollectFieldsEndpoint-Cu69CIHE.js.map → useCollectFieldsEndpoint-CE4ZmnRu.js.map} +1 -1
- package/chunk/{useMetrics-O66_lNx5.js → useMetrics-B96ha_3m.js} +16 -16
- package/chunk/{useMetrics-O66_lNx5.js.map → useMetrics-B96ha_3m.js.map} +1 -1
- package/chunk/{useMetrics-C13Ap129.js → useMetrics-BV3Mnauz.js} +16 -16
- package/chunk/{useMetrics-C13Ap129.js.map → useMetrics-BV3Mnauz.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 +1054 -1049
- package/sheerid.js.map +1 -1
- package/chunk/BirthDateComponent-B3mQalKa.js +0 -37
- package/chunk/City-BZP2jWJC.js +0 -36
- package/chunk/CollegeNameComponent-DF_dcHnu.js +0 -40
- package/chunk/CountryComponentWrapper-CDJl-HHu.js +0 -84
- package/chunk/CountryComponentWrapper-CPH7Q2C9.js +0 -80
- package/chunk/FirstResponderOrganizationComponent-exaiDKTT.js +0 -38
- package/chunk/FormSelectChoice-CIB7HacQ.js.map +0 -1
- package/chunk/FormSelectChoice-CbcfEHuQ.js.map +0 -1
- package/chunk/LicensedProfessionalOrganizationComponent-3wnxm1gl.js +0 -37
- package/chunk/LogoComponent-B4tFzxvs.js +0 -27
- package/chunk/MedicalProfessionalOrganizationComponent-DM-H8kwu.js +0 -38
- package/chunk/MemberIdComponent-BviEO2xf.js +0 -39
- package/chunk/MembershipOrganizationComponent-Dzoxr8Ix.js +0 -37
- package/chunk/Message-BJIH7xEA.js.map +0 -1
- package/chunk/Message-DcW8EpbY.js.map +0 -1
- package/chunk/PersonalInfoStepWrapper-Xz-23FXk.js.map +0 -1
- package/chunk/StatusComponent-DHvMI6LS.js +0 -41
- package/chunk/StepAgePersonalInfo-15a4u8lW.js +0 -172
- package/chunk/StepAgePersonalInfo-D2ax7PaI.js +0 -176
- package/chunk/StepCollectIdentifier-8Wsj7KLS.js +0 -60
- package/chunk/StepCollectPersonalInfo-DWygvbfF.js +0 -372
- package/chunk/StepCollectPersonalInfo-PuREf52a.js +0 -368
- package/chunk/StepMedicalProfessionalPersonalInfo-BM1Innu0.js +0 -212
- package/chunk/StepMemberPersonalInfo-6-8V13Wd.js +0 -159
- package/chunk/StepMemberPersonalInfo-JPen0Cdx.js +0 -155
- package/chunk/StepMoverPersonalInfo-8W0j39Gd.js +0 -146
- package/chunk/StepMoverPersonalInfo-BiHRl_6u.js +0 -142
- package/chunk/StepStudentPersonalInfo-ChDYBAZG.js +0 -232
- package/chunk/StepStudentPersonalInfo-Dvtm83FY.js +0 -236
- package/chunk/StepTeacherPersonalInfo-BuoLWqai.js +0 -152
- package/chunk/StepTeacherPersonalInfo-DF0rT1j8.js +0 -156
- package/chunk/TeacherSchoolComponent-C1Wugzcm.js +0 -40
- package/chunk/TestingRouteOverrides-DXjtFZZd.js.map +0 -1
- package/chunk/TestingRouteOverrides-fnlJLg1Z.js.map +0 -1
- package/chunk/countryUtils-CsytXtrZ.js +0 -12
- package/chunk/empties-BBKd53_B.js +0 -363
- package/chunk/empties-BBKd53_B.js.map +0 -1
- package/chunk/empties-DcQjcgEV.js +0 -367
- package/chunk/empties-DcQjcgEV.js.map +0 -1
- package/chunk/i18next-iyVj5hRL.js.map +0 -1
- package/chunk/intl-BK4prEGw.js.map +0 -1
- package/chunk/jsx-runtime-BUMIo32n.js.map +0 -1
- package/chunk/jsx-runtime-DwmrsRqi.js.map +0 -1
- package/chunk/programThemeGetters-DlZHVdvX.js.map +0 -1
- package/chunk/programThemeGetters-DxY7DDdO.js.map +0 -1
- package/chunk/useCollectFieldsEndpoint-Cu69CIHE.js +0 -63
package/_mysheerid-preview.js
CHANGED
|
@@ -4,50 +4,52 @@
|
|
|
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: Wed Nov 04 2026
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.316.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1793815397313
|
|
9
|
+
* BUILD_DATE: Wed Nov 04 2026 18:03:17 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: bb665aedf7c454e7b96109378831b676a31ea9eb
|
|
11
11
|
*/
|
|
12
|
-
import { A as e,
|
|
13
|
-
import { S as
|
|
14
|
-
import { n as
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import { B as
|
|
18
|
-
import { c as
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import { a as
|
|
22
|
-
import { i as
|
|
23
|
-
import { t as
|
|
24
|
-
import { t as
|
|
25
|
-
import { t as
|
|
12
|
+
import { A as e, C as t, D as n, F as r, Ft as i, I as a, It as o, L as s, Lt as c, N as l, O as u, P as d, S as f, T as p, Tt as m, _ as h, _t as g, c as _, d as v, f as y, g as b, h as x, k as S, mt as C, ot as w, p as T, u as E, v as D, w as ee, x as O, xt as k, z as te, zt as A } from "./chunk/empties-DtevBq9w.js";
|
|
13
|
+
import { S as j, b as M, h as ne, o as re, x as ie } from "./chunk/runtimeTypes-B2AGNJMT.js";
|
|
14
|
+
import { n as ae, r as oe, t as se } from "./chunk/getInstallType-BRxisNNY.js";
|
|
15
|
+
import { r as ce, t as le } from "./chunk/jsx-runtime-DQgZVOUX.js";
|
|
16
|
+
import { i as ue, r as de, t as N } from "./chunk/Message-B40rYRnQ.js";
|
|
17
|
+
import { B as fe, D as pe, E as me, H as he, L as ge, M as _e, N as ve, R as ye, T as be, V as xe, W as Se, _ as Ce, a as we, b as Te, c as Ee, d as De, f as Oe, g as ke, h as Ae, i as je, l as Me, m as Ne, o as Pe, s as Fe, t as Ie, v as Le, y as Re, z as ze } from "./chunk/programThemeGetters-B2hrl_I4.js";
|
|
18
|
+
import { c as Be, d as Ve, f as He, l as Ue, m as We, o as Ge, p as Ke, t as qe } from "./chunk/VerificationApiClient-D-j3JgWo.js";
|
|
19
|
+
import { p as Je } from "./chunk/ApiUrls-C604MmkC.js";
|
|
20
|
+
import { i as Ye, n as Xe, r as Ze, t as Qe } from "./chunk/TestingRouteOverrides-Dq_tcy8v.js";
|
|
21
|
+
import { D as $e, E as et, T as tt, a as nt, c as rt, d as it, f as at, h as ot, i as st, l as ct, m as lt, n as ut, o as dt, p as ft, r as pt, s as mt, t as ht, u as gt, w as _t } from "./chunk/FormFooterComponent-BNcMAlwo.js";
|
|
22
|
+
import { a as vt, i as yt, n as bt, r as xt, t as St } from "./chunk/hooks-D4L3tNqJ.js";
|
|
23
|
+
import { i as Ct, s as wt, t as Tt } from "./chunk/refs-Mq0rtW9K.js";
|
|
24
|
+
import { r as Et, t as P } from "./chunk/index.es-Cir3-TDI.js";
|
|
25
|
+
import { t as Dt } from "./chunk/LogoComponent-1FE2nzPz.js";
|
|
26
|
+
import { t as Ot } from "./chunk/strings-DWLVdUcm.js";
|
|
27
|
+
import { t as kt } from "./chunk/AnnouncingHeader-OtaykXZw.js";
|
|
26
28
|
//#region ../node_modules/react-i18next/dist/es/I18nextProvider.js
|
|
27
|
-
var
|
|
28
|
-
function
|
|
29
|
-
let r = (0,
|
|
29
|
+
var F = /* @__PURE__ */ A(ce());
|
|
30
|
+
function At({ i18n: e, defaultNS: t, children: n }) {
|
|
31
|
+
let r = (0, F.useMemo)(() => ({
|
|
30
32
|
i18n: e,
|
|
31
33
|
defaultNS: t
|
|
32
34
|
}), [e, t]);
|
|
33
|
-
return (0,
|
|
35
|
+
return (0, F.createElement)(ue.Provider, { value: r }, n);
|
|
34
36
|
}
|
|
35
37
|
//#endregion
|
|
36
38
|
//#region src/lib/VerificationService/ProgramTheme/ProgramTheme.ts
|
|
37
|
-
var
|
|
38
|
-
e.locale && e.messages &&
|
|
39
|
-
},
|
|
40
|
-
let
|
|
41
|
-
let { programTheme:
|
|
42
|
-
|
|
39
|
+
var jt = (e, t) => {
|
|
40
|
+
e.locale && e.messages && a(e), ve(e, t);
|
|
41
|
+
}, Mt = (e, t = { partial: !0 }) => {
|
|
42
|
+
let n = pt(), r = n.getState(), i = () => {
|
|
43
|
+
let { programTheme: r, programConfiguration: i, programI18n: a } = He(te(e));
|
|
44
|
+
j.info("Setting programTheme", r), a && jt(a, t.partial), i && pe(i, t.partial), it(n.dispatch)(r, t.partial), ye(r, t.partial);
|
|
43
45
|
};
|
|
44
|
-
|
|
46
|
+
r.isLoading ? _t({
|
|
45
47
|
name: "ON_VERIFICATION_READY",
|
|
46
48
|
callback: () => {
|
|
47
|
-
|
|
49
|
+
i();
|
|
48
50
|
}
|
|
49
|
-
}) :
|
|
50
|
-
},
|
|
51
|
+
}) : i();
|
|
52
|
+
}, Nt = /* @__PURE__ */ c(((e, t) => {
|
|
51
53
|
var n, r = n = {
|
|
52
54
|
_regexEscape: /([\.\*\+\^\$\[\]\\\(\)\|\{\}\,\-\:\?])/g,
|
|
53
55
|
_regexParseLocale: /^([a-zA-Z]*)([_\-a-zA-Z]*)$/,
|
|
@@ -114,13 +116,13 @@ var Mt = (e, t) => {
|
|
|
114
116
|
enumerable: !0,
|
|
115
117
|
configurable: !1
|
|
116
118
|
}), t.exports = r;
|
|
117
|
-
})),
|
|
118
|
-
var n =
|
|
119
|
+
})), Pt = /* @__PURE__ */ c(((e, t) => {
|
|
120
|
+
var n = Nt();
|
|
119
121
|
t.exports = {
|
|
120
122
|
isRtlLang: n.isRtlLang,
|
|
121
123
|
getLangDir: n.getLangDir
|
|
122
124
|
};
|
|
123
|
-
})),
|
|
125
|
+
})), Ft = /* @__PURE__ */ A(o(), 1), It = /* @__PURE__ */ A(Ve(), 1), Lt = /* @__PURE__ */ A(be(), 1), Rt = /* @__PURE__ */ A(Pt(), 1), I = {
|
|
124
126
|
landingBackgroundColor: "#fff",
|
|
125
127
|
landingPrimaryFontColor: "#000",
|
|
126
128
|
landingBackgroundImage: "none",
|
|
@@ -134,7 +136,7 @@ var Mt = (e, t) => {
|
|
|
134
136
|
formFont: "var(--sheerid-font-family-sans)",
|
|
135
137
|
cssVariables: null,
|
|
136
138
|
customStyles: null
|
|
137
|
-
},
|
|
139
|
+
}, zt = F.createContext(I), L = le(), R = {
|
|
138
140
|
landingBackgroundColor: "--sheerid-landing-background-color",
|
|
139
141
|
landingPrimaryFontColor: "--sheerid-landing-primary-font-color",
|
|
140
142
|
landingBackgroundImage: "--sheerid-landing-background-image-url",
|
|
@@ -148,7 +150,7 @@ var Mt = (e, t) => {
|
|
|
148
150
|
formFont: "--sheerid-font-family-body",
|
|
149
151
|
cssVariables: null,
|
|
150
152
|
customStyles: null
|
|
151
|
-
},
|
|
153
|
+
}, Bt = {
|
|
152
154
|
"--sheerid-color-fg-05": {
|
|
153
155
|
from: "--sheerid-color-bg",
|
|
154
156
|
to: "--sheerid-color-fg",
|
|
@@ -259,25 +261,25 @@ var Mt = (e, t) => {
|
|
|
259
261
|
to: "--sheerid-color-fg",
|
|
260
262
|
percentage: 3
|
|
261
263
|
}
|
|
262
|
-
},
|
|
263
|
-
let r = (e) => window.self === window.top ? e.replace(/body,/g, "").replace(/label,/g, "").replace(/button\[type=('|")submit('|")\]\s*?\{[\s\S]*?\}\n?/g, "").replace(/a:link,\s+a:visited,\s+a:hover,\s+a:active\s*?\{[\s\S]*?\}\n?/g, "").replace(/h1\s*?\{[\s\S]*?\}\n?/g, "") : e, i = t || e?.customCss || "", a = i ? r(i) : null, o = e?.landingPage, s = o?.backgroundColor ||
|
|
264
|
-
[
|
|
265
|
-
[
|
|
266
|
-
[
|
|
267
|
-
[
|
|
268
|
-
[
|
|
269
|
-
[
|
|
270
|
-
[
|
|
271
|
-
[
|
|
272
|
-
[
|
|
273
|
-
[
|
|
274
|
-
[
|
|
275
|
-
...Object.entries(
|
|
264
|
+
}, Vt = ({ themeChoices: e, customCssFromOptions: t, children: n }) => {
|
|
265
|
+
let r = (e) => window.self === window.top ? e.replace(/body,/g, "").replace(/label,/g, "").replace(/button\[type=('|")submit('|")\]\s*?\{[\s\S]*?\}\n?/g, "").replace(/a:link,\s+a:visited,\s+a:hover,\s+a:active\s*?\{[\s\S]*?\}\n?/g, "").replace(/h1\s*?\{[\s\S]*?\}\n?/g, "") : e, i = t || e?.customCss || "", a = i ? r(i) : null, o = e?.landingPage, s = o?.backgroundColor || I.landingBackgroundColor, c = o?.primaryFontColor || I.landingPrimaryFontColor, l = o?.backgroundImageUrl || I.landingBackgroundImage, u = e?.backgroundColor || I.formBackgroundColor, d = e?.primaryFontColor || I.formPrimaryFontColor, f = e?.buttonColor || I.formButtonColor, p = e?.buttonFontColor || I.formButtonFontColor, m = e?.linkColor || I.formLinkColor, h = e?.h1FontColor || I.formH1FontColor, g = e?.helperFontColor || I.formHelperFontColor, _ = e?.font || I.formFont, v = {
|
|
266
|
+
[R.landingBackgroundColor]: s,
|
|
267
|
+
[R.landingPrimaryFontColor]: c,
|
|
268
|
+
[R.landingBackgroundImage]: l === I.landingBackgroundImage ? I.landingBackgroundImage : `url(${l})`,
|
|
269
|
+
[R.formBackgroundColor]: u,
|
|
270
|
+
[R.formPrimaryFontColor]: d,
|
|
271
|
+
[R.formButtonColor]: f,
|
|
272
|
+
[R.formButtonFontColor]: p,
|
|
273
|
+
[R.formLinkColor]: m,
|
|
274
|
+
[R.formH1FontColor]: h,
|
|
275
|
+
[R.formHelperFontColor]: g,
|
|
276
|
+
[R.formFont]: _ === I.formFont ? I.formFont : `${_}, var(--sheerid-font-family-sans)`,
|
|
277
|
+
...Object.entries(Bt).reduce((e, [t, n]) => {
|
|
276
278
|
let r = n.from.startsWith("--") ? `var(${n.from})` : n.from, i = n.to.startsWith("--") ? `var(${n.to})` : n.to;
|
|
277
279
|
return e[t] = `color-mix(in oklab, ${r} ${100 - n.percentage}%, ${i} ${n.percentage}%)`, e;
|
|
278
280
|
}, {})
|
|
279
|
-
}, y =
|
|
280
|
-
return /* @__PURE__ */ (0,
|
|
281
|
+
}, y = F.useRef(null), b = ae() === se.cdnInlineIframe, x = ae() === se.cdnModalIframe;
|
|
282
|
+
return /* @__PURE__ */ (0, L.jsx)(zt.Provider, {
|
|
281
283
|
value: {
|
|
282
284
|
landingBackgroundColor: s,
|
|
283
285
|
landingPrimaryFontColor: c,
|
|
@@ -293,15 +295,15 @@ var Mt = (e, t) => {
|
|
|
293
295
|
cssVariables: v,
|
|
294
296
|
customStyles: a
|
|
295
297
|
},
|
|
296
|
-
children: /* @__PURE__ */ (0,
|
|
298
|
+
children: /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
297
299
|
style: v,
|
|
298
300
|
ref: y,
|
|
299
301
|
"data-in-iframe": b,
|
|
300
302
|
"data-in-modal": x,
|
|
301
|
-
children: [a && /* @__PURE__ */ (0,
|
|
303
|
+
children: [a && /* @__PURE__ */ (0, L.jsx)("style", { children: a }), n]
|
|
302
304
|
})
|
|
303
305
|
});
|
|
304
|
-
},
|
|
306
|
+
}, Ht = (e, t, n) => ({
|
|
305
307
|
minAge: t?.minAge || e?.minAge,
|
|
306
308
|
maxAge: t?.maxAge || e?.maxAge,
|
|
307
309
|
smsLoopEnabled: e?.smsLoopEnabled,
|
|
@@ -309,160 +311,162 @@ var Mt = (e, t) => {
|
|
|
309
311
|
transitionalMilitaryValidityDays: e?.transitionalMilitaryValidityDays,
|
|
310
312
|
currentStep: t?.currentStep,
|
|
311
313
|
viewModel: n
|
|
312
|
-
}),
|
|
314
|
+
}), Ut = {}, Wt = (e) => Ut[e] ? (j.log(`getOverridenComponent returning ${e}`), Ut[e]) : null, Gt = () => /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
313
315
|
className: "sid-spinner",
|
|
314
316
|
"data-testid": "sid-spinner",
|
|
315
317
|
children: [
|
|
316
|
-
/* @__PURE__ */ (0,
|
|
317
|
-
/* @__PURE__ */ (0,
|
|
318
|
-
/* @__PURE__ */ (0,
|
|
319
|
-
/* @__PURE__ */ (0,
|
|
318
|
+
/* @__PURE__ */ (0, L.jsx)("div", { className: "sid-spinner__frame" }),
|
|
319
|
+
/* @__PURE__ */ (0, L.jsx)("div", { className: "sid-spinner__frame" }),
|
|
320
|
+
/* @__PURE__ */ (0, L.jsx)("div", { className: "sid-spinner__frame" }),
|
|
321
|
+
/* @__PURE__ */ (0, L.jsx)("div", { className: "sid-spinner__frame" })
|
|
320
322
|
]
|
|
321
|
-
})
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
id: "step.personalInfo.verifyingSubtitle"
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
323
|
+
});
|
|
324
|
+
//#endregion
|
|
325
|
+
//#region src/components/LoadingScreen/LoadingScreenMessage.tsx
|
|
326
|
+
function Kt({ step: e }) {
|
|
327
|
+
return /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
328
|
+
className: "sid-loading-screen__message",
|
|
329
|
+
children: [ie(e) && /* @__PURE__ */ (0, L.jsx)("div", {
|
|
330
|
+
className: "sid-loading-screen__message-header",
|
|
331
|
+
role: "alert",
|
|
332
|
+
children: /* @__PURE__ */ (0, L.jsx)(N, { id: "step.personalInfo.verifyingTitle" })
|
|
333
|
+
}), /* @__PURE__ */ (0, L.jsx)("div", {
|
|
334
|
+
className: "sid-loading-screen__message-subhead",
|
|
335
|
+
children: /* @__PURE__ */ (0, L.jsx)(N, { id: "step.personalInfo.verifyingSubtitle" })
|
|
336
|
+
})]
|
|
337
|
+
});
|
|
338
|
+
}
|
|
339
|
+
//#endregion
|
|
340
|
+
//#region src/components/LoadingScreen/LoadingScreenComponent.tsx
|
|
341
|
+
var qt = ({ step: e }) => /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
338
342
|
className: "sid-loading-screen",
|
|
339
|
-
children: [/* @__PURE__ */ (0,
|
|
340
|
-
}),
|
|
343
|
+
children: [/* @__PURE__ */ (0, L.jsx)(Gt, {}), e && /* @__PURE__ */ (0, L.jsx)(Kt, { step: e })]
|
|
344
|
+
}), Jt = ({ verificationService: e, linkText: t }) => {
|
|
341
345
|
let { segment: n } = e.verificationResponse, { programId: r, programTheme: i } = e;
|
|
342
346
|
if (n) {
|
|
343
|
-
let a =
|
|
344
|
-
return /* @__PURE__ */ (0,
|
|
347
|
+
let a = Ie(i, n, r, E(e.viewModel), e.verificationResponse);
|
|
348
|
+
return /* @__PURE__ */ (0, L.jsx)(de, {
|
|
345
349
|
className: "sid-faq sid-link",
|
|
346
350
|
href: a,
|
|
347
|
-
children: t || /* @__PURE__ */ (0,
|
|
351
|
+
children: t || /* @__PURE__ */ (0, L.jsx)(P, {
|
|
348
352
|
id: "getHelp",
|
|
349
353
|
defaultMessage: "Get help"
|
|
350
354
|
})
|
|
351
355
|
});
|
|
352
356
|
}
|
|
353
357
|
return null;
|
|
354
|
-
},
|
|
358
|
+
}, Yt = /* @__PURE__ */ (0, L.jsx)(P, {
|
|
355
359
|
id: "poweredBy",
|
|
356
360
|
defaultMessage: "Verification services powered by SheerID."
|
|
357
|
-
}),
|
|
361
|
+
}), Xt = ({ verificationService: e, isCentered: t, variant: n = "default", hideFaqLink: r = !1 }) => {
|
|
358
362
|
switch (n) {
|
|
359
|
-
case "poweredby": return /* @__PURE__ */ (0,
|
|
363
|
+
case "poweredby": return /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
360
364
|
className: "sid-footer__powered-by-container-experiment",
|
|
361
|
-
children: [/* @__PURE__ */ (0,
|
|
365
|
+
children: [/* @__PURE__ */ (0, L.jsx)("div", {
|
|
362
366
|
className: "sid-footer__powered-by_powerby-experiment",
|
|
363
|
-
children:
|
|
364
|
-
}), !r && /* @__PURE__ */ (0,
|
|
367
|
+
children: Yt
|
|
368
|
+
}), !r && /* @__PURE__ */ (0, L.jsx)("div", {
|
|
365
369
|
className: "sid-footer__powered-by_powerby-experiment",
|
|
366
|
-
children: /* @__PURE__ */ (0,
|
|
370
|
+
children: /* @__PURE__ */ (0, L.jsx)(Jt, { verificationService: e })
|
|
367
371
|
})]
|
|
368
372
|
});
|
|
369
|
-
case "verificationby": return /* @__PURE__ */ (0,
|
|
373
|
+
case "verificationby": return /* @__PURE__ */ (0, L.jsx)("div", {
|
|
370
374
|
className: "sid-footer__powered-by-container--stacked sid-l-horz-center sid-footer__powered-by-experiment",
|
|
371
|
-
children: /* @__PURE__ */ (0,
|
|
375
|
+
children: /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
372
376
|
className: "sid-footer__powered-by-verificationby-experiment",
|
|
373
|
-
children: [/* @__PURE__ */ (0,
|
|
377
|
+
children: [/* @__PURE__ */ (0, L.jsx)("div", {
|
|
374
378
|
className: "sid-footer__powered-by-icon-experiment",
|
|
375
|
-
children: /* @__PURE__ */ (0,
|
|
379
|
+
children: /* @__PURE__ */ (0, L.jsx)("img", {
|
|
376
380
|
alt: "",
|
|
377
381
|
src: "https://com-sheerid-resources.s3.us-east-1.amazonaws.com/common/images/2018/icons/sheerid_logo.svg"
|
|
378
382
|
})
|
|
379
|
-
}),
|
|
383
|
+
}), Yt]
|
|
380
384
|
})
|
|
381
385
|
});
|
|
382
|
-
default: return /* @__PURE__ */ (0,
|
|
386
|
+
default: return /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
383
387
|
className: t ? "sid-footer__powered-by-container--stacked sid-l-horz-center" : "sid-footer__powered-by-container",
|
|
384
|
-
children: [/* @__PURE__ */ (0,
|
|
388
|
+
children: [/* @__PURE__ */ (0, L.jsx)("div", {
|
|
385
389
|
className: t ? "sid-footer__powered-by--stacked sid-l-horz-center" : "sid-footer__powered-by",
|
|
386
|
-
children:
|
|
387
|
-
}), !r && /* @__PURE__ */ (0,
|
|
390
|
+
children: Yt
|
|
391
|
+
}), !r && /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
388
392
|
className: t ? "sid-l-space-top-sm" : "",
|
|
389
|
-
children: ["\xA0", /* @__PURE__ */ (0,
|
|
393
|
+
children: ["\xA0", /* @__PURE__ */ (0, L.jsx)(Jt, { verificationService: e })]
|
|
390
394
|
})]
|
|
391
395
|
});
|
|
392
396
|
}
|
|
393
|
-
},
|
|
394
|
-
let n =
|
|
397
|
+
}, Zt = (e, t) => {
|
|
398
|
+
let n = F.useRef(null);
|
|
395
399
|
function r() {
|
|
396
400
|
clearInterval(n.current);
|
|
397
401
|
}
|
|
398
|
-
return
|
|
399
|
-
},
|
|
400
|
-
let a =
|
|
401
|
-
return /* @__PURE__ */ (0,
|
|
402
|
+
return F.useEffect(() => (n.current = setInterval(e, t), () => r()), [e, t]), r;
|
|
403
|
+
}, Qt = ({ stepName: e, messages: t, logo: n, cancelSingleSignOn: r, cancelButtonType: i = tn.PRIMARY }) => {
|
|
404
|
+
let a = Ot(e);
|
|
405
|
+
return /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
402
406
|
className: "sid-header sid-l-horz-center",
|
|
403
407
|
children: [
|
|
404
|
-
/* @__PURE__ */ (0,
|
|
408
|
+
/* @__PURE__ */ (0, L.jsx)("div", {
|
|
405
409
|
className: "sid-pending-logo-container sid-l-horz-center",
|
|
406
410
|
children: n
|
|
407
411
|
}),
|
|
408
|
-
/* @__PURE__ */ (0,
|
|
412
|
+
/* @__PURE__ */ (0, L.jsx)(kt, {
|
|
409
413
|
align: "center",
|
|
410
414
|
children: t.title
|
|
411
415
|
}),
|
|
412
|
-
/* @__PURE__ */ (0,
|
|
416
|
+
/* @__PURE__ */ (0, L.jsx)("div", {
|
|
413
417
|
className: "sid-header__subtitle-one",
|
|
414
418
|
children: t.subtitle
|
|
415
419
|
}),
|
|
416
|
-
t?.subtitle2 && /* @__PURE__ */ (0,
|
|
417
|
-
/* @__PURE__ */ (0,
|
|
420
|
+
t?.subtitle2 && /* @__PURE__ */ (0, L.jsx)("div", { className: "sid-l-space-top-xl" }),
|
|
421
|
+
/* @__PURE__ */ (0, L.jsxs)("div", {
|
|
418
422
|
className: "sid-header__subtitle-two sid-h-small-text sid-l-space-top-md",
|
|
419
|
-
children: [t?.subtitle2 && t.subtitle2, /* @__PURE__ */ (0,
|
|
423
|
+
children: [t?.subtitle2 && t.subtitle2, /* @__PURE__ */ (0, L.jsx)("div", {
|
|
420
424
|
className: `sid-form-region sid-${a}-pending-submit sid-submit-wrapper sid-l-space-top-md`,
|
|
421
|
-
children: /* @__PURE__ */ (0,
|
|
425
|
+
children: /* @__PURE__ */ (0, L.jsx)("button", {
|
|
422
426
|
onClick: r,
|
|
423
427
|
type: "submit",
|
|
424
|
-
className: `sid-btn sid-${a}-pending-submit-btn ${i ===
|
|
428
|
+
className: `sid-btn sid-${a}-pending-submit-btn ${i === tn.SECONDARY ? "sid-btn-light" : "sid-btn--dark"} sid-l-full-width`,
|
|
425
429
|
"aria-label": "submit",
|
|
426
430
|
children: t.cancel
|
|
427
431
|
})
|
|
428
432
|
})]
|
|
429
433
|
}),
|
|
430
|
-
t?.subtitle2 ? /* @__PURE__ */ (0,
|
|
434
|
+
t?.subtitle2 ? /* @__PURE__ */ (0, L.jsx)("div", { className: "sid-l-space-top-xl" }) : /* @__PURE__ */ (0, L.jsx)("div", { className: "sid-l-space-top-lg" })
|
|
431
435
|
]
|
|
432
436
|
});
|
|
433
|
-
},
|
|
437
|
+
}, $t = ({ stepName: e, messages: t, logo: n, cancelSingleSignOn: r, cancelButtonType: i = tn.PRIMARY }) => /* @__PURE__ */ (0, L.jsx)(Qt, {
|
|
434
438
|
messages: t,
|
|
435
439
|
stepName: e,
|
|
436
440
|
logo: n,
|
|
437
441
|
cancelSingleSignOn: r,
|
|
438
442
|
cancelButtonType: i
|
|
439
|
-
}),
|
|
440
|
-
let i =
|
|
441
|
-
return /* @__PURE__ */ (0,
|
|
443
|
+
}), en = ({ messages: e, verificationService: t, updateViewModelAndOpenLoginTab: n, dashedStepName: r }) => {
|
|
444
|
+
let i = St("hc-my-sheer-id-theme-builder");
|
|
445
|
+
return /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
442
446
|
className: "sid-header sid-l-horz-center",
|
|
443
447
|
children: [
|
|
444
|
-
/* @__PURE__ */ (0,
|
|
448
|
+
/* @__PURE__ */ (0, L.jsx)("div", {
|
|
445
449
|
className: `sid-${r}-logo-container sid-l-horz-center`,
|
|
446
|
-
children: /* @__PURE__ */ (0,
|
|
450
|
+
children: /* @__PURE__ */ (0, L.jsx)(Dt, {
|
|
447
451
|
verificationService: t,
|
|
448
|
-
fallbackLogo: !i && /* @__PURE__ */ (0,
|
|
452
|
+
fallbackLogo: !i && /* @__PURE__ */ (0, L.jsx)("img", {
|
|
449
453
|
className: `sid-${r}-logo-default sid-l-lead-image`,
|
|
450
454
|
alt: "",
|
|
451
455
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/sso-step.svg"
|
|
452
456
|
})
|
|
453
457
|
})
|
|
454
458
|
}),
|
|
455
|
-
/* @__PURE__ */ (0,
|
|
459
|
+
/* @__PURE__ */ (0, L.jsx)(kt, {
|
|
456
460
|
align: "center",
|
|
457
461
|
children: e.title
|
|
458
462
|
}),
|
|
459
|
-
/* @__PURE__ */ (0,
|
|
463
|
+
/* @__PURE__ */ (0, L.jsx)("div", {
|
|
460
464
|
className: "sid-header__subtitle-one",
|
|
461
465
|
children: e.subtitle
|
|
462
466
|
}),
|
|
463
|
-
/* @__PURE__ */ (0,
|
|
467
|
+
/* @__PURE__ */ (0, L.jsx)("div", {
|
|
464
468
|
className: `sid-form-region sid-${r}-submit sid-submit-wrapper sid-l-space-top-md`,
|
|
465
|
-
children: /* @__PURE__ */ (0,
|
|
469
|
+
children: /* @__PURE__ */ (0, L.jsx)("button", {
|
|
466
470
|
id: `sid-submit-btn-${r}`,
|
|
467
471
|
onClick: () => n("isSingleSignOnActive", !0),
|
|
468
472
|
type: "submit",
|
|
@@ -470,200 +474,200 @@ var Mt = (e, t) => {
|
|
|
470
474
|
children: e.login
|
|
471
475
|
})
|
|
472
476
|
}),
|
|
473
|
-
/* @__PURE__ */ (0,
|
|
477
|
+
/* @__PURE__ */ (0, L.jsx)("div", { className: "sid-l-space-top-lg" })
|
|
474
478
|
]
|
|
475
479
|
});
|
|
476
|
-
},
|
|
480
|
+
}, tn = /* @__PURE__ */ function(e) {
|
|
477
481
|
return e.PRIMARY = "primary", e.SECONDARY = "secondary", e;
|
|
478
|
-
}({}),
|
|
479
|
-
let { programId: i } = e, a = e.viewModel, o = e.previousViewModel || void 0, s = e.verificationResponse, c = e.previousVerificationResponse || void 0, { verificationId: l, locale:
|
|
482
|
+
}({}), nn = ({ verificationService: e, stepName: t, messages: n, cancelButtonType: r = "primary" }) => {
|
|
483
|
+
let { programId: i } = e, a = e.viewModel, o = e.previousViewModel || void 0, s = e.verificationResponse, c = e.previousVerificationResponse || void 0, { verificationId: l, locale: d } = e.verificationResponse, m = Ye(), h = Ot(t), g = St("hc-my-sheer-id-theme-builder"), _, v = /* @__PURE__ */ (0, L.jsx)(Dt, {
|
|
480
484
|
verificationService: e,
|
|
481
|
-
fallbackLogo: !
|
|
482
|
-
className: `sid-${
|
|
485
|
+
fallbackLogo: !g && /* @__PURE__ */ (0, L.jsx)("img", {
|
|
486
|
+
className: `sid-${h}-logo-default sid-l-lead-image`,
|
|
483
487
|
alt: "",
|
|
484
488
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg"
|
|
485
489
|
})
|
|
486
|
-
}),
|
|
490
|
+
}), y = () => setTimeout(() => {
|
|
487
491
|
e.fetchExistingVerificationRequest(i, l, c, o);
|
|
488
|
-
}, 1e3),
|
|
489
|
-
let r =
|
|
492
|
+
}, 1e3), b = (t, n) => {
|
|
493
|
+
let r = f(a, (e) => {
|
|
490
494
|
e[t] = n;
|
|
491
495
|
});
|
|
492
496
|
e.updateViewModel(r);
|
|
493
|
-
},
|
|
494
|
-
|
|
497
|
+
}, x = () => {
|
|
498
|
+
u(p.SSO_CANCEL_CLICKED, {
|
|
495
499
|
programId: i,
|
|
496
|
-
locale:
|
|
500
|
+
locale: d,
|
|
497
501
|
verificationId: l
|
|
498
|
-
}),
|
|
499
|
-
let n =
|
|
500
|
-
|
|
501
|
-
},
|
|
502
|
-
|
|
502
|
+
}), Tt();
|
|
503
|
+
let n = f(a, () => {});
|
|
504
|
+
j.info("SingleSignOnComponent submitting cancel request"), clearTimeout(_), e.submitStep(t, n, e.verificationResponse);
|
|
505
|
+
}, S = (e, t) => {
|
|
506
|
+
u(p.SSO_SIGN_IN_CLICKED, {
|
|
503
507
|
programId: i,
|
|
504
|
-
locale:
|
|
508
|
+
locale: d,
|
|
505
509
|
verificationId: l
|
|
506
|
-
}),
|
|
507
|
-
},
|
|
508
|
-
let e = t ===
|
|
509
|
-
|
|
510
|
+
}), b(e, t), C();
|
|
511
|
+
}, C = () => {
|
|
512
|
+
let e = t === M.sso ? Ge(s.loginUrl) : s.loginUrl;
|
|
513
|
+
k(e) ? (wt(window.open(e, "_blank")), Ct().focus()) : j.error("Invalid loginUrl - must be an absolute http(s) URL. Not opening the login tab.", "sso loginUrl");
|
|
510
514
|
};
|
|
511
|
-
return a.isSingleSignOnActive && !
|
|
512
|
-
id: `sid-step-${
|
|
513
|
-
className: `sid-${
|
|
514
|
-
"data-testid": `sid-step-${
|
|
515
|
-
children: [/* @__PURE__ */ (0,
|
|
515
|
+
return a.isSingleSignOnActive && !m && (_ = y()), !a.countryChoice && o && o.countryChoice && b("countryChoice", o.countryChoice), /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
516
|
+
id: `sid-step-${h}`,
|
|
517
|
+
className: `sid-${h}-container sid-l-container`,
|
|
518
|
+
"data-testid": `sid-step-${h}`,
|
|
519
|
+
children: [/* @__PURE__ */ (0, L.jsx)("div", {
|
|
516
520
|
role: "main",
|
|
517
|
-
children: a.isSingleSignOnActive ? /* @__PURE__ */ (0,
|
|
521
|
+
children: a.isSingleSignOnActive ? /* @__PURE__ */ (0, L.jsx)($t, {
|
|
518
522
|
stepName: t,
|
|
519
523
|
messages: n,
|
|
520
|
-
logo:
|
|
521
|
-
cancelSingleSignOn:
|
|
524
|
+
logo: v,
|
|
525
|
+
cancelSingleSignOn: x,
|
|
522
526
|
cancelButtonType: r
|
|
523
|
-
}) : /* @__PURE__ */ (0,
|
|
527
|
+
}) : /* @__PURE__ */ (0, L.jsx)(en, {
|
|
524
528
|
verificationService: e,
|
|
525
529
|
messages: n,
|
|
526
|
-
updateViewModelAndOpenLoginTab:
|
|
527
|
-
dashedStepName:
|
|
530
|
+
updateViewModelAndOpenLoginTab: S,
|
|
531
|
+
dashedStepName: h
|
|
528
532
|
})
|
|
529
|
-
}), /* @__PURE__ */ (0,
|
|
533
|
+
}), /* @__PURE__ */ (0, L.jsx)(ht, { verificationService: e })]
|
|
530
534
|
});
|
|
531
|
-
},
|
|
532
|
-
title: /* @__PURE__ */ (0,
|
|
535
|
+
}, rn = {
|
|
536
|
+
title: /* @__PURE__ */ (0, L.jsx)(P, {
|
|
533
537
|
id: "step.sso.title",
|
|
534
538
|
defaultMessage: "Verify using your school credentials",
|
|
535
539
|
tagName: "h1"
|
|
536
540
|
}),
|
|
537
|
-
subtitle: /* @__PURE__ */ (0,
|
|
541
|
+
subtitle: /* @__PURE__ */ (0, L.jsx)(P, {
|
|
538
542
|
id: "step.sso.subtitle",
|
|
539
543
|
defaultMessage: "Please sign in to your school's web portal. It will open in a new tab."
|
|
540
544
|
}),
|
|
541
|
-
login: /* @__PURE__ */ (0,
|
|
545
|
+
login: /* @__PURE__ */ (0, L.jsx)(P, {
|
|
542
546
|
id: "step.sso.login",
|
|
543
547
|
defaultMessage: "Sign in to my school"
|
|
544
548
|
}),
|
|
545
|
-
cancel: /* @__PURE__ */ (0,
|
|
549
|
+
cancel: /* @__PURE__ */ (0, L.jsx)(P, {
|
|
546
550
|
id: "step.sso.cancel",
|
|
547
551
|
defaultMessage: "Upload Proof of Enrollment"
|
|
548
552
|
}),
|
|
549
|
-
subtitle2: /* @__PURE__ */ (0,
|
|
553
|
+
subtitle2: /* @__PURE__ */ (0, L.jsx)(P, {
|
|
550
554
|
id: "step.sso.subtitle2",
|
|
551
555
|
defaultMessage: "Can't sign in to your school?"
|
|
552
556
|
})
|
|
553
|
-
},
|
|
557
|
+
}, an = ({ verificationService: e }) => /* @__PURE__ */ (0, L.jsx)(nn, {
|
|
554
558
|
verificationService: e,
|
|
555
|
-
stepName:
|
|
556
|
-
messages:
|
|
557
|
-
}),
|
|
559
|
+
stepName: M.sso,
|
|
560
|
+
messages: rn
|
|
561
|
+
}), on = ({ logo: e }) => /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
558
562
|
className: "sid-header sid-l-horz-center",
|
|
559
563
|
"data-testid": "sid-review-pending",
|
|
560
564
|
children: [
|
|
561
|
-
/* @__PURE__ */ (0,
|
|
565
|
+
/* @__PURE__ */ (0, L.jsx)("div", {
|
|
562
566
|
className: "sid-l-horz-center",
|
|
563
567
|
children: e
|
|
564
568
|
}),
|
|
565
|
-
/* @__PURE__ */ (0,
|
|
569
|
+
/* @__PURE__ */ (0, L.jsx)(kt, {
|
|
566
570
|
align: "center",
|
|
567
|
-
children: /* @__PURE__ */ (0,
|
|
571
|
+
children: /* @__PURE__ */ (0, L.jsx)(P, {
|
|
568
572
|
id: "step.pending.titleReview",
|
|
569
573
|
defaultMessage: "Reviewing",
|
|
570
574
|
tagName: "h1"
|
|
571
575
|
})
|
|
572
576
|
}),
|
|
573
|
-
/* @__PURE__ */ (0,
|
|
577
|
+
/* @__PURE__ */ (0, L.jsx)("div", { children: /* @__PURE__ */ (0, L.jsx)(P, {
|
|
574
578
|
id: "step.pending.uploadedDocument",
|
|
575
579
|
defaultMessage: "Your document was uploaded successfully and is being reviewed."
|
|
576
580
|
}) }),
|
|
577
|
-
/* @__PURE__ */ (0,
|
|
581
|
+
/* @__PURE__ */ (0, L.jsx)("div", {
|
|
578
582
|
className: "sid-header__subtitle-one sid-l-space-top-md",
|
|
579
|
-
children: /* @__PURE__ */ (0,
|
|
583
|
+
children: /* @__PURE__ */ (0, L.jsx)(N, { id: "step.pending.turnaroundTime" })
|
|
580
584
|
}),
|
|
581
|
-
/* @__PURE__ */ (0,
|
|
585
|
+
/* @__PURE__ */ (0, L.jsx)("div", {
|
|
582
586
|
className: "sid-header__subtitle-two sid-l-space-top-md",
|
|
583
|
-
children: /* @__PURE__ */ (0,
|
|
587
|
+
children: /* @__PURE__ */ (0, L.jsx)(P, {
|
|
584
588
|
id: "step.pending.subtitle2",
|
|
585
589
|
defaultMessage: "Wait here or let us notify you of the outcome."
|
|
586
590
|
})
|
|
587
591
|
}),
|
|
588
|
-
/* @__PURE__ */ (0,
|
|
592
|
+
/* @__PURE__ */ (0, L.jsx)("div", {
|
|
589
593
|
className: "sid-header__subtitle-three sid-l-space-top-md",
|
|
590
|
-
children: /* @__PURE__ */ (0,
|
|
594
|
+
children: /* @__PURE__ */ (0, L.jsx)(P, {
|
|
591
595
|
id: "step.pending.subtitle3",
|
|
592
596
|
defaultMessage: "You will be contacted via email."
|
|
593
597
|
})
|
|
594
598
|
}),
|
|
595
|
-
/* @__PURE__ */ (0,
|
|
599
|
+
/* @__PURE__ */ (0, L.jsx)("div", { className: "sid-l-space-top-xl" })
|
|
596
600
|
]
|
|
597
|
-
}),
|
|
601
|
+
}), sn = ({ logo: e }) => /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
598
602
|
className: "sid-header sid-l-horz-center",
|
|
599
603
|
"data-testid": "sid-review-pending",
|
|
600
604
|
children: [
|
|
601
|
-
/* @__PURE__ */ (0,
|
|
605
|
+
/* @__PURE__ */ (0, L.jsx)("div", {
|
|
602
606
|
className: "sid-l-horz-center",
|
|
603
607
|
children: e
|
|
604
608
|
}),
|
|
605
|
-
/* @__PURE__ */ (0,
|
|
609
|
+
/* @__PURE__ */ (0, L.jsx)(kt, {
|
|
606
610
|
align: "center",
|
|
607
|
-
children: /* @__PURE__ */ (0,
|
|
611
|
+
children: /* @__PURE__ */ (0, L.jsx)(P, {
|
|
608
612
|
id: "step.pending.idCheckLoop.title",
|
|
609
613
|
defaultMessage: "We're reviewing your documents",
|
|
610
614
|
tagName: "h1"
|
|
611
615
|
})
|
|
612
616
|
}),
|
|
613
|
-
/* @__PURE__ */ (0,
|
|
617
|
+
/* @__PURE__ */ (0, L.jsx)("div", {
|
|
614
618
|
className: "sid-header__subtitle-one",
|
|
615
|
-
children: /* @__PURE__ */ (0,
|
|
619
|
+
children: /* @__PURE__ */ (0, L.jsx)(P, {
|
|
616
620
|
id: "step.pending.idCheckLoop.subtitle",
|
|
617
621
|
defaultMessage: "Hold tight, turnaround time is typically a few minutes or less."
|
|
618
622
|
})
|
|
619
623
|
}),
|
|
620
|
-
/* @__PURE__ */ (0,
|
|
624
|
+
/* @__PURE__ */ (0, L.jsx)("div", {
|
|
621
625
|
className: "sid-header__subtitle-two sid-l-space-top-md sid-h-bold-text",
|
|
622
|
-
children: /* @__PURE__ */ (0,
|
|
626
|
+
children: /* @__PURE__ */ (0, L.jsx)(P, {
|
|
623
627
|
id: "step.pending.idCheckLoop.subtitle2",
|
|
624
628
|
defaultMessage: "We'll send you an email when we're finished reviewing."
|
|
625
629
|
})
|
|
626
630
|
}),
|
|
627
|
-
/* @__PURE__ */ (0,
|
|
631
|
+
/* @__PURE__ */ (0, L.jsx)("div", { className: "sid-l-space-top-xl" })
|
|
628
632
|
]
|
|
629
|
-
}),
|
|
630
|
-
title: /* @__PURE__ */ (0,
|
|
633
|
+
}), cn = { [ne.SIGNZY]: {
|
|
634
|
+
title: /* @__PURE__ */ (0, L.jsx)(P, {
|
|
631
635
|
id: "step.thirdPartyLoop.signzy.title",
|
|
632
636
|
tagName: "h1",
|
|
633
637
|
defaultMessage: "Verify using DigiLocker"
|
|
634
638
|
}),
|
|
635
|
-
subtitle: /* @__PURE__ */ (0,
|
|
639
|
+
subtitle: /* @__PURE__ */ (0, L.jsx)(P, {
|
|
636
640
|
id: "step.thirdPartyLoop.signzy.subtitle",
|
|
637
641
|
defaultMessage: "Verify using your DigiLocker login information"
|
|
638
642
|
}),
|
|
639
|
-
login: /* @__PURE__ */ (0,
|
|
643
|
+
login: /* @__PURE__ */ (0, L.jsx)(P, {
|
|
640
644
|
id: "step.thirdPartyLoop.signzy.login",
|
|
641
645
|
defaultMessage: "Sign in to DigiLocker"
|
|
642
646
|
}),
|
|
643
|
-
cancel: /* @__PURE__ */ (0,
|
|
647
|
+
cancel: /* @__PURE__ */ (0, L.jsx)(P, {
|
|
644
648
|
id: "step.thirdPartyLoop.signzy.cancel",
|
|
645
649
|
defaultMessage: "Upload Proof of Identity"
|
|
646
650
|
})
|
|
647
|
-
} },
|
|
648
|
-
let n = /* @__PURE__ */ (0,
|
|
651
|
+
} }, ln = ({ logo: e, isStepRoot: t = !1 }) => {
|
|
652
|
+
let n = /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
649
653
|
className: "sid-header sid-l-horz-center",
|
|
650
654
|
children: [
|
|
651
|
-
/* @__PURE__ */ (0,
|
|
655
|
+
/* @__PURE__ */ (0, L.jsx)("div", {
|
|
652
656
|
className: "sid-error-logo-container sid-l-horz-center",
|
|
653
657
|
children: e
|
|
654
658
|
}),
|
|
655
|
-
/* @__PURE__ */ (0,
|
|
659
|
+
/* @__PURE__ */ (0, L.jsx)(kt, {
|
|
656
660
|
align: "center",
|
|
657
|
-
children: /* @__PURE__ */ (0,
|
|
661
|
+
children: /* @__PURE__ */ (0, L.jsx)(P, {
|
|
658
662
|
id: "error",
|
|
659
663
|
tagName: "h1"
|
|
660
664
|
})
|
|
661
665
|
}),
|
|
662
|
-
/* @__PURE__ */ (0,
|
|
666
|
+
/* @__PURE__ */ (0, L.jsx)("div", {
|
|
663
667
|
className: "sid-header__subtitle sid-l-horz-center sid-l-space-top-md",
|
|
664
|
-
children: /* @__PURE__ */ (0,
|
|
668
|
+
children: /* @__PURE__ */ (0, L.jsx)("div", {
|
|
665
669
|
className: "sid-error-msg sid-l-horz-center",
|
|
666
|
-
children: /* @__PURE__ */ (0,
|
|
670
|
+
children: /* @__PURE__ */ (0, L.jsx)(P, {
|
|
667
671
|
id: "step.thirdPartyLoop.error",
|
|
668
672
|
defaultMessage: "Provider not supported"
|
|
669
673
|
})
|
|
@@ -671,243 +675,243 @@ var Mt = (e, t) => {
|
|
|
671
675
|
})
|
|
672
676
|
]
|
|
673
677
|
});
|
|
674
|
-
return /* @__PURE__ */ (0,
|
|
678
|
+
return /* @__PURE__ */ (0, L.jsx)("div", {
|
|
675
679
|
id: "sid-step-third-party-loop",
|
|
676
680
|
className: "sid-step-third-party-loop-container sid-l-container",
|
|
677
681
|
"data-testid": "sid-step-third-party-loop-error",
|
|
678
|
-
children: t ? /* @__PURE__ */ (0,
|
|
682
|
+
children: t ? /* @__PURE__ */ (0, L.jsx)("div", {
|
|
679
683
|
role: "main",
|
|
680
684
|
children: n
|
|
681
685
|
}) : n
|
|
682
686
|
});
|
|
683
|
-
},
|
|
684
|
-
let t =
|
|
685
|
-
return t ? /* @__PURE__ */ (0,
|
|
687
|
+
}, un = ({ verificationService: e }) => {
|
|
688
|
+
let t = cn[e.verificationResponse.thirdPartyLoopProvider] || void 0, n = St("hc-my-sheer-id-theme-builder");
|
|
689
|
+
return t ? /* @__PURE__ */ (0, L.jsx)(nn, {
|
|
686
690
|
verificationService: e,
|
|
687
|
-
stepName:
|
|
691
|
+
stepName: M.thirdPartyLoop,
|
|
688
692
|
messages: t,
|
|
689
|
-
cancelButtonType:
|
|
690
|
-
}) : /* @__PURE__ */ (0,
|
|
693
|
+
cancelButtonType: tn.SECONDARY
|
|
694
|
+
}) : /* @__PURE__ */ (0, L.jsx)(ln, {
|
|
691
695
|
isStepRoot: !0,
|
|
692
|
-
logo: /* @__PURE__ */ (0,
|
|
696
|
+
logo: /* @__PURE__ */ (0, L.jsx)(Dt, {
|
|
693
697
|
verificationService: e,
|
|
694
|
-
fallbackLogo: !n && /* @__PURE__ */ (0,
|
|
698
|
+
fallbackLogo: !n && /* @__PURE__ */ (0, L.jsx)("img", {
|
|
695
699
|
className: "sid-error-logo sid-l-lead-image",
|
|
696
700
|
alt: "",
|
|
697
701
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/circle-exclamation.svg"
|
|
698
702
|
})
|
|
699
703
|
})
|
|
700
704
|
});
|
|
701
|
-
},
|
|
702
|
-
let i =
|
|
703
|
-
return i ? /* @__PURE__ */ (0,
|
|
704
|
-
stepName:
|
|
705
|
+
}, dn = ({ logo: e, verificationLastResponse: t, cancelThirdPartyLoop: n, isMockingPreviousStepThirdPartyLoop: r }) => {
|
|
706
|
+
let i = cn[r ? Ze(C) : t?.thirdPartyLoopProvider] || void 0;
|
|
707
|
+
return i ? /* @__PURE__ */ (0, L.jsx)($t, {
|
|
708
|
+
stepName: M.thirdPartyLoop,
|
|
705
709
|
messages: i,
|
|
706
710
|
logo: e,
|
|
707
711
|
cancelSingleSignOn: n,
|
|
708
|
-
cancelButtonType:
|
|
709
|
-
}) : /* @__PURE__ */ (0,
|
|
710
|
-
},
|
|
711
|
-
let { programId: t } = e, { viewModel: n } = e, r = e.previousViewModel || void 0, i = e.verificationResponse.lastResponse || e.previousVerificationResponse || void 0, { verificationId: a } = e.verificationResponse, o =
|
|
712
|
-
|
|
713
|
-
if (!
|
|
714
|
-
let e = setTimeout(() =>
|
|
712
|
+
cancelButtonType: tn.SECONDARY
|
|
713
|
+
}) : /* @__PURE__ */ (0, L.jsx)(ln, { logo: e });
|
|
714
|
+
}, fn = 5e3, pn = 2e4, mn = 2e4, hn = 2e3, gn = ({ verificationService: e }) => {
|
|
715
|
+
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 = Ye(), s = Xe() && Xe() === M.sso, c = Xe() && Xe() === M.thirdPartyLoop, l = Xe() && Xe() === M.idCheckLoop, u = St("hc-my-sheer-id-theme-builder"), d = () => i?.currentStep === M.sso, p = () => i?.currentStep === M.thirdPartyLoop, m = () => i?.currentStep === M.idCheckLoop, h = d() || p() || s || c, g = m() || l, _ = !h && !g, [v, y] = F.useState(() => h ? hn : g ? mn : fn);
|
|
716
|
+
F.useEffect(() => {
|
|
717
|
+
if (!_) return;
|
|
718
|
+
let e = setTimeout(() => y(mn), pn);
|
|
715
719
|
return () => clearTimeout(e);
|
|
716
|
-
}, [
|
|
717
|
-
let
|
|
720
|
+
}, [_]);
|
|
721
|
+
let b = !o && Zt(() => {
|
|
718
722
|
e.fetchExistingVerificationRequest(t, a, i, r, !1);
|
|
719
|
-
},
|
|
720
|
-
let r =
|
|
721
|
-
|
|
722
|
-
},
|
|
723
|
+
}, v), x = (t) => {
|
|
724
|
+
let r = f(n, () => {});
|
|
725
|
+
j.info("StepSingleSignOnComponent submitting cancel request, step:", t), b(), Tt(), e.submitStep(t, r, i);
|
|
726
|
+
}, S = /* @__PURE__ */ (0, L.jsx)(Dt, {
|
|
723
727
|
verificationService: e,
|
|
724
|
-
fallbackLogo: !u && /* @__PURE__ */ (0,
|
|
728
|
+
fallbackLogo: !u && /* @__PURE__ */ (0, L.jsx)("img", {
|
|
725
729
|
className: "sid-l-lead-image",
|
|
726
730
|
alt: "",
|
|
727
731
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg"
|
|
728
732
|
})
|
|
729
733
|
});
|
|
730
|
-
return /* @__PURE__ */ (0,
|
|
734
|
+
return /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
731
735
|
id: "sid-step-pending",
|
|
732
736
|
className: "sid-l-container",
|
|
733
|
-
children: [/* @__PURE__ */ (0,
|
|
737
|
+
children: [/* @__PURE__ */ (0, L.jsx)("div", {
|
|
734
738
|
role: "main",
|
|
735
739
|
children: (() => {
|
|
736
|
-
let e = d() || s, t =
|
|
737
|
-
return e ? /* @__PURE__ */ (0,
|
|
738
|
-
stepName:
|
|
739
|
-
messages:
|
|
740
|
-
logo:
|
|
741
|
-
cancelSingleSignOn: () =>
|
|
742
|
-
}) : t ? /* @__PURE__ */ (0,
|
|
743
|
-
logo:
|
|
744
|
-
cancelThirdPartyLoop: () =>
|
|
740
|
+
let e = d() || s, t = p() || c, n = m() || l;
|
|
741
|
+
return e ? /* @__PURE__ */ (0, L.jsx)($t, {
|
|
742
|
+
stepName: M.sso,
|
|
743
|
+
messages: rn,
|
|
744
|
+
logo: S,
|
|
745
|
+
cancelSingleSignOn: () => x(M.sso)
|
|
746
|
+
}) : t ? /* @__PURE__ */ (0, L.jsx)(dn, {
|
|
747
|
+
logo: S,
|
|
748
|
+
cancelThirdPartyLoop: () => x(M.thirdPartyLoop),
|
|
745
749
|
verificationLastResponse: i,
|
|
746
750
|
isMockingPreviousStepThirdPartyLoop: c
|
|
747
|
-
}) : n ? /* @__PURE__ */ (0,
|
|
751
|
+
}) : n ? /* @__PURE__ */ (0, L.jsx)(sn, { logo: S }) : /* @__PURE__ */ (0, L.jsx)(on, { logo: S });
|
|
748
752
|
})()
|
|
749
|
-
}),
|
|
753
|
+
}), g ? /* @__PURE__ */ (0, L.jsx)(Xt, {
|
|
750
754
|
verificationService: e,
|
|
751
755
|
isCentered: !0
|
|
752
|
-
}) : /* @__PURE__ */ (0,
|
|
756
|
+
}) : /* @__PURE__ */ (0, L.jsxs)(ht, {
|
|
753
757
|
verificationService: e,
|
|
754
|
-
children: [/* @__PURE__ */ (0,
|
|
758
|
+
children: [/* @__PURE__ */ (0, L.jsx)("div", {}), " "]
|
|
755
759
|
})]
|
|
756
760
|
});
|
|
757
|
-
},
|
|
758
|
-
let e =
|
|
761
|
+
}, _n = () => {
|
|
762
|
+
let e = je(), t = Fe(), n = Oe(), r = i(() => n.segment), a = F.useCallback(() => {
|
|
759
763
|
if (window.self !== window.top) {
|
|
760
764
|
let e = new URL(window.location.href);
|
|
761
765
|
e.searchParams.delete("verificationId"), window.location.replace(e);
|
|
762
766
|
} else (async () => {
|
|
763
|
-
|
|
767
|
+
mt(e)(), await dt(e)(t, r, void 0, void 0, !0);
|
|
764
768
|
})();
|
|
765
769
|
}, [
|
|
766
770
|
e,
|
|
767
771
|
t,
|
|
768
772
|
r
|
|
769
773
|
]);
|
|
770
|
-
return /* @__PURE__ */ (0,
|
|
774
|
+
return /* @__PURE__ */ (0, L.jsx)("button", {
|
|
771
775
|
type: "button",
|
|
772
776
|
className: "sid-btn sid-btn-light sid-btn__try-again",
|
|
773
|
-
onClick:
|
|
774
|
-
onKeyPress:
|
|
775
|
-
children: /* @__PURE__ */ (0,
|
|
777
|
+
onClick: a,
|
|
778
|
+
onKeyPress: a,
|
|
779
|
+
children: /* @__PURE__ */ (0, L.jsx)(N, { id: "tryAgain" })
|
|
776
780
|
});
|
|
777
|
-
},
|
|
778
|
-
let t =
|
|
781
|
+
}, vn = ({ allowReset: e = !0 }) => {
|
|
782
|
+
let t = Pe()?.tryAgainButton;
|
|
779
783
|
switch (t?.mode) {
|
|
780
|
-
case "RESET": return e ? /* @__PURE__ */ (0,
|
|
781
|
-
case "REDIRECT": return
|
|
784
|
+
case "RESET": return e ? /* @__PURE__ */ (0, L.jsx)(_n, {}) : null;
|
|
785
|
+
case "REDIRECT": return k(t.url) ? /* @__PURE__ */ (0, L.jsx)(de, {
|
|
782
786
|
href: t.url,
|
|
783
787
|
target: "_top",
|
|
784
788
|
className: "sid-btn sid-btn-light sid-btn__try-again",
|
|
785
|
-
children: /* @__PURE__ */ (0,
|
|
786
|
-
}) : (
|
|
789
|
+
children: /* @__PURE__ */ (0, L.jsx)(N, { id: "tryAgain" })
|
|
790
|
+
}) : (j.error("Invalid tryAgainButton redirect url - must be an absolute http(s) URL."), null);
|
|
787
791
|
default: return null;
|
|
788
792
|
}
|
|
789
|
-
},
|
|
793
|
+
}, yn = {
|
|
790
794
|
NONE: "none",
|
|
791
795
|
RESET: "reset",
|
|
792
796
|
POSTMESSAGE: "postMessage",
|
|
793
797
|
REDIRECT: "redirect"
|
|
794
|
-
},
|
|
795
|
-
let e =
|
|
798
|
+
}, bn = () => {
|
|
799
|
+
let e = Oe(), t = () => Ue({
|
|
796
800
|
action: "tryAgain",
|
|
797
801
|
verificationResponse: e
|
|
798
802
|
});
|
|
799
|
-
return /* @__PURE__ */ (0,
|
|
803
|
+
return /* @__PURE__ */ (0, L.jsx)("button", {
|
|
800
804
|
type: "button",
|
|
801
805
|
className: "sid-btn sid-btn-light sid-btn__try-again",
|
|
802
806
|
onClick: t,
|
|
803
807
|
onKeyPress: t,
|
|
804
|
-
children: /* @__PURE__ */ (0,
|
|
808
|
+
children: /* @__PURE__ */ (0, L.jsx)(N, { id: "tryAgain" })
|
|
805
809
|
});
|
|
806
|
-
},
|
|
810
|
+
}, xn = ({ redirectUrl: e, target: t = "_blank" }) => /* @__PURE__ */ (0, L.jsx)(de, {
|
|
807
811
|
target: t,
|
|
808
812
|
href: e.toString(),
|
|
809
813
|
className: "sid-btn sid-btn--dark",
|
|
810
|
-
children: /* @__PURE__ */ (0,
|
|
811
|
-
}),
|
|
812
|
-
if (!(typeof e == "object" && "type" in e && Object.values(
|
|
813
|
-
},
|
|
814
|
-
let t =
|
|
815
|
-
if (!e && t?.type ===
|
|
814
|
+
children: /* @__PURE__ */ (0, L.jsx)(N, { id: "seeOtherOffers" })
|
|
815
|
+
}), Sn = (e) => {
|
|
816
|
+
if (!(typeof e == "object" && "type" in e && Object.values(yn).includes(e.type))) throw RangeError("Invalid tryAgainAction option type - using default TryAgainButton.");
|
|
817
|
+
}, Cn = ({ allowReset: e = !0 }) => {
|
|
818
|
+
let t = x("tryAgainAction");
|
|
819
|
+
if (!e && t?.type === yn.RESET) return null;
|
|
816
820
|
try {
|
|
817
|
-
switch (
|
|
818
|
-
case
|
|
819
|
-
case
|
|
820
|
-
case
|
|
821
|
-
if (!
|
|
822
|
-
return /* @__PURE__ */ (0,
|
|
821
|
+
switch (Sn(t), t.type) {
|
|
822
|
+
case yn.NONE: return null;
|
|
823
|
+
case yn.POSTMESSAGE: return window.self === window.top ? (j.error(`Invalid tryAgainAction option type "${t.type}" - page must be embedded in an iframe.`), null) : /* @__PURE__ */ (0, L.jsx)(bn, {});
|
|
824
|
+
case yn.REDIRECT:
|
|
825
|
+
if (!k(t.url)) throw RangeError("Invalid tryAgainAction redirect url - must be an absolute http(s) URL. Using default TryAgainButton.");
|
|
826
|
+
return /* @__PURE__ */ (0, L.jsx)(xn, {
|
|
823
827
|
redirectUrl: t.url,
|
|
824
828
|
target: t.target
|
|
825
829
|
});
|
|
826
|
-
case
|
|
830
|
+
case yn.RESET: return /* @__PURE__ */ (0, L.jsx)(_n, {});
|
|
827
831
|
default: throw RangeError("Invalid tryAgainAction option type - using default TryAgainButton.");
|
|
828
832
|
}
|
|
829
833
|
} catch (e) {
|
|
830
|
-
return
|
|
834
|
+
return j.error(e.message), /* @__PURE__ */ (0, L.jsx)(_n, {});
|
|
831
835
|
}
|
|
832
|
-
},
|
|
836
|
+
}, wn = ({ allowReset: e = !0 }) => St("hc-my-sheer-id-theme-builder") === !0 ? /* @__PURE__ */ (0, L.jsx)(vn, { allowReset: e }) : /* @__PURE__ */ (0, L.jsx)(Cn, { allowReset: e }), Tn = [
|
|
833
837
|
"docReviewLimitExceeded",
|
|
834
838
|
"verificationLimitExceeded",
|
|
835
839
|
"fraudRulesReject"
|
|
836
|
-
],
|
|
837
|
-
let t =
|
|
838
|
-
return /* @__PURE__ */ (0,
|
|
840
|
+
], En = ({ errorIds: e }) => {
|
|
841
|
+
let t = Ee(), n = e[0], r = t?.[`step.error.errorId.${n}.title`] ? `step.error.errorId.${n}.title` : "step.error.title";
|
|
842
|
+
return /* @__PURE__ */ (0, L.jsx)(kt, {
|
|
839
843
|
align: "center",
|
|
840
|
-
children: /* @__PURE__ */ (0,
|
|
844
|
+
children: /* @__PURE__ */ (0, L.jsx)("h1", { children: /* @__PURE__ */ (0, L.jsx)(N, { id: r }) })
|
|
841
845
|
});
|
|
842
|
-
},
|
|
846
|
+
}, Dn = ({ errorIds: e, errorDetailId: t }) => {
|
|
843
847
|
let n = /* @__PURE__ */ new Map();
|
|
844
|
-
return t ? n.set(t, `errorDetailId.${t}`) : e?.forEach((e) => n.set(e, `errorId.${e}`)), n.size > 0 ? /* @__PURE__ */ (0,
|
|
845
|
-
},
|
|
846
|
-
let t =
|
|
847
|
-
return t?.[n] ? /* @__PURE__ */ (0,
|
|
848
|
+
return t ? n.set(t, `errorDetailId.${t}`) : e?.forEach((e) => n.set(e, `errorId.${e}`)), n.size > 0 ? /* @__PURE__ */ (0, L.jsx)("p", { children: Array.from(n).map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(N, { id: t }, t)) }) : null;
|
|
849
|
+
}, On = ({ errorIds: e }) => {
|
|
850
|
+
let t = Ee(), n = `step.error.errorId.${e[0]}.note`;
|
|
851
|
+
return t?.[n] ? /* @__PURE__ */ (0, L.jsx)("p", {
|
|
848
852
|
className: "sid-error-note sid-h-small-text",
|
|
849
|
-
children: /* @__PURE__ */ (0,
|
|
853
|
+
children: /* @__PURE__ */ (0, L.jsx)(N, { id: n })
|
|
850
854
|
}) : null;
|
|
851
|
-
},
|
|
852
|
-
let r =
|
|
855
|
+
}, kn = ({ verificationService: e, errorIds: t, redirectUrl: n }) => {
|
|
856
|
+
let r = Ee();
|
|
853
857
|
if (t.includes("unauthorizedAccountStatus")) {
|
|
854
|
-
let t =
|
|
855
|
-
return t ? /* @__PURE__ */ (0,
|
|
858
|
+
let t = i(() => e.programTheme.config.brandInfo.faqUrl);
|
|
859
|
+
return t ? /* @__PURE__ */ (0, L.jsx)(de, {
|
|
856
860
|
href: t,
|
|
857
|
-
onClick: () =>
|
|
861
|
+
onClick: () => S(M.error, t),
|
|
858
862
|
className: "sid-btn sid-faq-btn sid-btn-light",
|
|
859
|
-
children: /* @__PURE__ */ (0,
|
|
863
|
+
children: /* @__PURE__ */ (0, L.jsx)(N, { id: "step.error.errorId.unauthorizedAccountStatus.buttonText" })
|
|
860
864
|
}) : null;
|
|
861
865
|
}
|
|
862
866
|
if (t.includes("verificationLimitExceeded")) return null;
|
|
863
|
-
if (t.includes("missingRequiredMetadata") || t.includes("missingRequiredExternalId")) return /* @__PURE__ */ (0,
|
|
864
|
-
let
|
|
865
|
-
return r?.[`step.error.errorId.${
|
|
867
|
+
if (t.includes("missingRequiredMetadata") || t.includes("missingRequiredExternalId")) return /* @__PURE__ */ (0, L.jsx)(wn, { allowReset: !1 });
|
|
868
|
+
let a = t[0];
|
|
869
|
+
return r?.[`step.error.errorId.${a}.buttonText`] && k(n) ? /* @__PURE__ */ (0, L.jsx)(de, {
|
|
866
870
|
href: n,
|
|
867
|
-
onClick: () =>
|
|
871
|
+
onClick: () => S(M.error, n),
|
|
868
872
|
className: "sid-btn sid-error-btn sid-btn-light",
|
|
869
|
-
children: /* @__PURE__ */ (0,
|
|
870
|
-
}) : /* @__PURE__ */ (0,
|
|
871
|
-
},
|
|
872
|
-
let { errorIds: n, redirectUrl: r, errorDetailId: i } = e.verificationResponse, a =
|
|
873
|
+
children: /* @__PURE__ */ (0, L.jsx)(N, { id: `step.error.errorId.${a}.buttonText` })
|
|
874
|
+
}) : /* @__PURE__ */ (0, L.jsx)(wn, {});
|
|
875
|
+
}, An = ({ verificationService: e, errorId: t }) => {
|
|
876
|
+
let { errorIds: n, redirectUrl: r, errorDetailId: i } = e.verificationResponse, a = St("hc-my-sheer-id-theme-builder"), o = /* @__PURE__ */ new Set();
|
|
873
877
|
t && o.add(t), Array.isArray(n) && n.forEach((e) => o.add(e));
|
|
874
|
-
let s = Array.from(o), c = s.some((e) =>
|
|
875
|
-
return /* @__PURE__ */ (0,
|
|
878
|
+
let s = Array.from(o), c = s.some((e) => Tn.includes(e));
|
|
879
|
+
return /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
876
880
|
id: "sid-step-error",
|
|
877
881
|
className: "sid-error-container sid-l-container",
|
|
878
|
-
children: [/* @__PURE__ */ (0,
|
|
882
|
+
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
|
|
879
883
|
className: "sid-header sid-l-horz-center",
|
|
880
884
|
role: "banner",
|
|
881
885
|
children: [
|
|
882
|
-
/* @__PURE__ */ (0,
|
|
886
|
+
/* @__PURE__ */ (0, L.jsx)("div", {
|
|
883
887
|
className: "sid-error-logo-container sid-l-horz-center",
|
|
884
|
-
children: /* @__PURE__ */ (0,
|
|
888
|
+
children: /* @__PURE__ */ (0, L.jsx)(Dt, {
|
|
885
889
|
verificationService: e,
|
|
886
|
-
fallbackLogo: !a && /* @__PURE__ */ (0,
|
|
890
|
+
fallbackLogo: !a && /* @__PURE__ */ (0, L.jsx)("img", {
|
|
887
891
|
className: "sid-error-logo sid-l-lead-image",
|
|
888
892
|
alt: "",
|
|
889
893
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/circle-exclamation.svg"
|
|
890
894
|
})
|
|
891
895
|
})
|
|
892
896
|
}),
|
|
893
|
-
/* @__PURE__ */ (0,
|
|
894
|
-
/* @__PURE__ */ (0,
|
|
897
|
+
/* @__PURE__ */ (0, L.jsx)(En, { errorIds: s }),
|
|
898
|
+
/* @__PURE__ */ (0, L.jsxs)("div", {
|
|
895
899
|
className: "sid-header__subtitle sid-l-horz-center sid-l-space-top-md",
|
|
896
900
|
children: [
|
|
897
|
-
/* @__PURE__ */ (0,
|
|
901
|
+
/* @__PURE__ */ (0, L.jsxs)("div", {
|
|
898
902
|
className: "sid-error-msg sid-l-horz-center",
|
|
899
|
-
children: [/* @__PURE__ */ (0,
|
|
903
|
+
children: [/* @__PURE__ */ (0, L.jsx)(Dn, {
|
|
900
904
|
errorIds: s,
|
|
901
905
|
errorDetailId: i
|
|
902
|
-
}), /* @__PURE__ */ (0,
|
|
906
|
+
}), /* @__PURE__ */ (0, L.jsx)(On, { errorIds: s })]
|
|
903
907
|
}),
|
|
904
|
-
c && /* @__PURE__ */ (0,
|
|
908
|
+
c && /* @__PURE__ */ (0, L.jsx)("p", {
|
|
905
909
|
className: "sid-error-contact-support sid-l-space-top-md",
|
|
906
|
-
children: /* @__PURE__ */ (0,
|
|
910
|
+
children: /* @__PURE__ */ (0, L.jsx)(N, { id: "contactSupport" })
|
|
907
911
|
}),
|
|
908
|
-
/* @__PURE__ */ (0,
|
|
912
|
+
/* @__PURE__ */ (0, L.jsx)("div", {
|
|
909
913
|
className: "sid-l-space-top-lg sid-error-button-container sid-l-horz-center",
|
|
910
|
-
children: /* @__PURE__ */ (0,
|
|
914
|
+
children: /* @__PURE__ */ (0, L.jsx)(kn, {
|
|
911
915
|
verificationService: e,
|
|
912
916
|
errorIds: s,
|
|
913
917
|
redirectUrl: r
|
|
@@ -916,266 +920,266 @@ var Mt = (e, t) => {
|
|
|
916
920
|
]
|
|
917
921
|
})
|
|
918
922
|
]
|
|
919
|
-
}), /* @__PURE__ */ (0,
|
|
923
|
+
}), /* @__PURE__ */ (0, L.jsx)("div", {
|
|
920
924
|
className: "sid-footer sid-powered-by-container sid-l-horz-center sid-l-space-top-xl sid-h-small-text",
|
|
921
|
-
children: /* @__PURE__ */ (0,
|
|
925
|
+
children: /* @__PURE__ */ (0, L.jsx)(Xt, {
|
|
922
926
|
verificationService: e,
|
|
923
927
|
isCentered: !0,
|
|
924
928
|
hideFaqLink: c
|
|
925
929
|
})
|
|
926
930
|
})]
|
|
927
931
|
});
|
|
928
|
-
},
|
|
929
|
-
StepPendingComponent:
|
|
930
|
-
StepErrorComponent:
|
|
931
|
-
StepStudentPersonalInfoComponent:
|
|
932
|
-
StepOverrideComponent:
|
|
933
|
-
StepAgePersonalInfoComponent:
|
|
934
|
-
StepSeniorPersonalInfoComponent:
|
|
935
|
-
StepCollectMilitaryPersonalInfoComponent:
|
|
936
|
-
StepCollectMilitaryStatusComponent:
|
|
937
|
-
StepActiveMilitaryPersonalInfoComponent:
|
|
938
|
-
StepInactiveMilitaryPersonalInfoComponent:
|
|
939
|
-
StepDriverLicensePersonalInfoComponent:
|
|
940
|
-
StepEmploymentPersonalInfoComponent:
|
|
941
|
-
StepFirstResponderPersonalInfoComponent:
|
|
942
|
-
StepGeneralIdentityPersonalInfoComponent:
|
|
943
|
-
StepHybridIdentityPersonalInfoComponent:
|
|
944
|
-
StepIDCheckLoopComponent:
|
|
945
|
-
StepLicensedProfessionalPersonalInfoComponent:
|
|
946
|
-
StepLowIncomePersonalInfoComponent:
|
|
947
|
-
StepMedicalProfessionalPersonalInfoComponent:
|
|
948
|
-
StepMemberPersonalInfoComponent:
|
|
949
|
-
StepConsolationComponent:
|
|
950
|
-
StepDocUploadComponent:
|
|
951
|
-
StepEmailLoopComponent:
|
|
952
|
-
StepPendingEmailLoopComponent:
|
|
953
|
-
StepMoverPersonalInfoComponent:
|
|
954
|
-
StepSMSLoopComponent:
|
|
955
|
-
StepSocialSecurity:
|
|
956
|
-
StepSSOComponent:
|
|
957
|
-
StepSuccessComponent:
|
|
958
|
-
StepTeacherPersonalInfoComponent:
|
|
959
|
-
StepCompleteAuthentication:
|
|
960
|
-
StepCollectIdentifierComponent:
|
|
961
|
-
StepCollectPersonalInfo:
|
|
962
|
-
StepThirdPartyLoopComponent:
|
|
963
|
-
},
|
|
964
|
-
|
|
965
|
-
let
|
|
966
|
-
switch ((0,
|
|
932
|
+
}, jn = {
|
|
933
|
+
StepPendingComponent: gn,
|
|
934
|
+
StepErrorComponent: An,
|
|
935
|
+
StepStudentPersonalInfoComponent: F.lazy(() => import("./chunk/StepStudentPersonalInfo-BBZZ7gam.js")),
|
|
936
|
+
StepOverrideComponent: F.lazy(() => import("./chunk/StepOverrideComponent-Bs0kS5Fn.js")),
|
|
937
|
+
StepAgePersonalInfoComponent: F.lazy(() => import("./chunk/StepAgePersonalInfo-8s929DzY.js")),
|
|
938
|
+
StepSeniorPersonalInfoComponent: F.lazy(() => import("./chunk/StepAgePersonalInfo-8s929DzY.js")),
|
|
939
|
+
StepCollectMilitaryPersonalInfoComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-CvVnTjMm.js")),
|
|
940
|
+
StepCollectMilitaryStatusComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-CvVnTjMm.js")),
|
|
941
|
+
StepActiveMilitaryPersonalInfoComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-CvVnTjMm.js")),
|
|
942
|
+
StepInactiveMilitaryPersonalInfoComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-CvVnTjMm.js")),
|
|
943
|
+
StepDriverLicensePersonalInfoComponent: F.lazy(() => import("./chunk/StepDriverLicensePersonalInfoComponent-BWtUxbIw.js")),
|
|
944
|
+
StepEmploymentPersonalInfoComponent: F.lazy(() => import("./chunk/StepEmploymentPersonalInfo-DkDvxjer.js")),
|
|
945
|
+
StepFirstResponderPersonalInfoComponent: F.lazy(() => import("./chunk/StepFirstResponderPersonalInfo-HdJfcO_z.js")),
|
|
946
|
+
StepGeneralIdentityPersonalInfoComponent: F.lazy(() => import("./chunk/StepGeneralIdentityPersonalInfoComponent-xgXKl9_S.js")),
|
|
947
|
+
StepHybridIdentityPersonalInfoComponent: F.lazy(() => import("./chunk/StepHybridIdentityPersonalInfoComponent-DIJLJ-No.js")),
|
|
948
|
+
StepIDCheckLoopComponent: F.lazy(() => import("./chunk/StepIDCheckLoop-DUYjdP69.js")),
|
|
949
|
+
StepLicensedProfessionalPersonalInfoComponent: F.lazy(() => import("./chunk/StepLicensedProfessionalPersonalInfo-1usJS0LC.js")),
|
|
950
|
+
StepLowIncomePersonalInfoComponent: F.lazy(() => import("./chunk/StepLowIncomePersonalInfo-BDfU93Fg.js")),
|
|
951
|
+
StepMedicalProfessionalPersonalInfoComponent: F.lazy(() => import("./chunk/StepMedicalProfessionalPersonalInfo-DMrAMdhg.js")),
|
|
952
|
+
StepMemberPersonalInfoComponent: F.lazy(() => import("./chunk/StepMemberPersonalInfo-BaXygfnb.js")),
|
|
953
|
+
StepConsolationComponent: F.lazy(() => import("./chunk/StepConsolation-qIEGxdup.js")),
|
|
954
|
+
StepDocUploadComponent: F.lazy(() => import("./chunk/StepDocUpload-DZFVexGs.js")),
|
|
955
|
+
StepEmailLoopComponent: F.lazy(() => import("./chunk/StepEmailLoop-CPF3-q6j.js")),
|
|
956
|
+
StepPendingEmailLoopComponent: F.lazy(() => import("./chunk/EmailLoopPending-B3Y7-M0k.js").then((e) => e.n)),
|
|
957
|
+
StepMoverPersonalInfoComponent: F.lazy(() => import("./chunk/StepMoverPersonalInfo-BaKNdrcZ.js")),
|
|
958
|
+
StepSMSLoopComponent: F.lazy(() => import("./chunk/StepSMSLoop-BzPFHGko.js")),
|
|
959
|
+
StepSocialSecurity: F.lazy(() => import("./chunk/StepSocialSecurityNumber-DWVLAzbC.js")),
|
|
960
|
+
StepSSOComponent: F.lazy(() => import("./chunk/StepSSO-Cy9ViRyN.js")),
|
|
961
|
+
StepSuccessComponent: F.lazy(() => import("./chunk/StepSuccess-l84qE6Kp.js")),
|
|
962
|
+
StepTeacherPersonalInfoComponent: F.lazy(() => import("./chunk/StepTeacherPersonalInfo-BuMUyAcB.js")),
|
|
963
|
+
StepCompleteAuthentication: F.lazy(() => import("./chunk/StepCompleteAuthentication-Bjs9HhHK.js")),
|
|
964
|
+
StepCollectIdentifierComponent: F.lazy(() => import("./chunk/StepCollectIdentifier-eNuejbhk.js")),
|
|
965
|
+
StepCollectPersonalInfo: F.lazy(() => import("./chunk/StepCollectPersonalInfo-Bxj7rasK.js")),
|
|
966
|
+
StepThirdPartyLoopComponent: F.lazy(() => import("./chunk/StepThirdPartyLoop-C9d7QWS3.js"))
|
|
967
|
+
}, z = (e) => (j.info("getComponent", e), Wt(e) || jn[e]), Mn = () => /* @__PURE__ */ (0, L.jsx)(qt, {}), Nn = ({ stepToLoad: t, verificationService: n }) => {
|
|
968
|
+
j.info(`LoadStepComponent: rendering step: ${t}`);
|
|
969
|
+
let r;
|
|
970
|
+
switch ((0, F.useEffect)(() => {
|
|
967
971
|
try {
|
|
968
|
-
performance.mark(
|
|
972
|
+
performance.mark(ee.INITIAL_STEP_LOAD);
|
|
969
973
|
} catch {}
|
|
970
|
-
}, []),
|
|
971
|
-
if (!["pending", "error"].includes(
|
|
972
|
-
performance.mark(
|
|
973
|
-
eventName:
|
|
974
|
-
params: { step:
|
|
974
|
+
}, []), F.useEffect(() => {
|
|
975
|
+
if (!["pending", "error"].includes(t)) try {
|
|
976
|
+
performance.mark(p.STEP_SEEN), e({
|
|
977
|
+
eventName: p.STEP_SEEN,
|
|
978
|
+
params: { step: t }
|
|
975
979
|
});
|
|
976
980
|
} catch (e) {
|
|
977
|
-
|
|
981
|
+
j.error(e);
|
|
978
982
|
}
|
|
979
|
-
}, [
|
|
983
|
+
}, [t]), t) {
|
|
980
984
|
case "collectPersonalInfo":
|
|
981
|
-
|
|
985
|
+
r = z("StepCollectPersonalInfo");
|
|
982
986
|
break;
|
|
983
987
|
case "collectStudentPersonalInfo":
|
|
984
|
-
|
|
988
|
+
r = z("StepStudentPersonalInfoComponent");
|
|
985
989
|
break;
|
|
986
990
|
case "collectSeniorPersonalInfo":
|
|
987
|
-
|
|
991
|
+
r = z("StepSeniorPersonalInfoComponent");
|
|
988
992
|
break;
|
|
989
993
|
case "collectAgePersonalInfo":
|
|
990
|
-
|
|
994
|
+
r = z("StepAgePersonalInfoComponent");
|
|
991
995
|
break;
|
|
992
996
|
case "collectTeacherPersonalInfo":
|
|
993
|
-
|
|
997
|
+
r = z("StepTeacherPersonalInfoComponent");
|
|
994
998
|
break;
|
|
995
999
|
case "collectMemberPersonalInfo":
|
|
996
|
-
|
|
1000
|
+
r = z("StepMemberPersonalInfoComponent");
|
|
997
1001
|
break;
|
|
998
1002
|
case "collectMilitaryStatus":
|
|
999
|
-
|
|
1003
|
+
r = z("StepCollectMilitaryStatusComponent");
|
|
1000
1004
|
break;
|
|
1001
1005
|
case "collectActiveMilitaryPersonalInfo":
|
|
1002
|
-
|
|
1006
|
+
r = z("StepActiveMilitaryPersonalInfoComponent");
|
|
1003
1007
|
break;
|
|
1004
1008
|
case "collectInactiveMilitaryPersonalInfo":
|
|
1005
|
-
|
|
1009
|
+
r = z("StepInactiveMilitaryPersonalInfoComponent");
|
|
1006
1010
|
break;
|
|
1007
1011
|
case "collectMilitaryPersonalInfo":
|
|
1008
|
-
|
|
1012
|
+
r = z("StepCollectMilitaryPersonalInfoComponent");
|
|
1009
1013
|
break;
|
|
1010
1014
|
case "collectFirstResponderPersonalInfo":
|
|
1011
|
-
|
|
1015
|
+
r = z("StepFirstResponderPersonalInfoComponent");
|
|
1012
1016
|
break;
|
|
1013
1017
|
case "collectMedicalProfessionalPersonalInfo":
|
|
1014
|
-
|
|
1018
|
+
r = z("StepMedicalProfessionalPersonalInfoComponent");
|
|
1015
1019
|
break;
|
|
1016
1020
|
case "collectEmployeePersonalInfo":
|
|
1017
|
-
|
|
1021
|
+
r = z("StepEmploymentPersonalInfoComponent");
|
|
1018
1022
|
break;
|
|
1019
1023
|
case "collectDriverLicensePersonalInfo":
|
|
1020
|
-
|
|
1024
|
+
r = z("StepDriverLicensePersonalInfoComponent");
|
|
1021
1025
|
break;
|
|
1022
1026
|
case "collectGeneralIdentityPersonalInfo":
|
|
1023
|
-
|
|
1027
|
+
r = z("StepGeneralIdentityPersonalInfoComponent");
|
|
1024
1028
|
break;
|
|
1025
1029
|
case "collectHybridIdentityPersonalInfo":
|
|
1026
|
-
|
|
1030
|
+
r = z("StepHybridIdentityPersonalInfoComponent");
|
|
1027
1031
|
break;
|
|
1028
1032
|
case "collectLicensedProfessionalPersonalInfo":
|
|
1029
|
-
|
|
1033
|
+
r = z("StepLicensedProfessionalPersonalInfoComponent");
|
|
1030
1034
|
break;
|
|
1031
1035
|
case "collectMoverPersonalInfo":
|
|
1032
|
-
|
|
1036
|
+
r = z("StepMoverPersonalInfoComponent");
|
|
1033
1037
|
break;
|
|
1034
1038
|
case "collectLowIncomePersonalInfo":
|
|
1035
|
-
|
|
1039
|
+
r = z("StepLowIncomePersonalInfoComponent");
|
|
1036
1040
|
break;
|
|
1037
1041
|
case "collectSocialSecurityNumber":
|
|
1038
|
-
|
|
1042
|
+
r = z("StepSocialSecurity");
|
|
1039
1043
|
break;
|
|
1040
1044
|
case "success":
|
|
1041
|
-
|
|
1045
|
+
r = z("StepSuccessComponent");
|
|
1042
1046
|
break;
|
|
1043
1047
|
case "consolation":
|
|
1044
|
-
|
|
1048
|
+
r = z("StepConsolationComponent");
|
|
1045
1049
|
break;
|
|
1046
1050
|
case "override":
|
|
1047
|
-
|
|
1051
|
+
r = z("StepOverrideComponent");
|
|
1048
1052
|
break;
|
|
1049
1053
|
case "docUpload":
|
|
1050
|
-
|
|
1054
|
+
r = z("StepDocUploadComponent");
|
|
1051
1055
|
break;
|
|
1052
1056
|
case "pending":
|
|
1053
|
-
|
|
1057
|
+
r = z("StepPendingComponent");
|
|
1054
1058
|
break;
|
|
1055
1059
|
case "sso":
|
|
1056
|
-
|
|
1060
|
+
r = z("StepSSOComponent");
|
|
1057
1061
|
break;
|
|
1058
1062
|
case "thirdPartyLoop":
|
|
1059
|
-
|
|
1063
|
+
r = z("StepThirdPartyLoopComponent");
|
|
1060
1064
|
break;
|
|
1061
1065
|
case "smsLoop":
|
|
1062
|
-
|
|
1066
|
+
r = z("StepSMSLoopComponent");
|
|
1063
1067
|
break;
|
|
1064
1068
|
case "emailLoop":
|
|
1065
|
-
|
|
1069
|
+
r = z("StepEmailLoopComponent");
|
|
1066
1070
|
break;
|
|
1067
1071
|
case "idCheckLoop":
|
|
1068
|
-
|
|
1072
|
+
r = z("StepIDCheckLoopComponent");
|
|
1069
1073
|
break;
|
|
1070
1074
|
case "collectIdentifier":
|
|
1071
|
-
|
|
1075
|
+
r = z("StepCollectIdentifierComponent");
|
|
1072
1076
|
break;
|
|
1073
1077
|
case "completeAuthentication":
|
|
1074
|
-
|
|
1078
|
+
r = z("StepCompleteAuthentication");
|
|
1075
1079
|
break;
|
|
1076
|
-
case "missingRequiredMetadata": return
|
|
1077
|
-
verificationService:
|
|
1080
|
+
case "missingRequiredMetadata": return r = z("StepErrorComponent"), /* @__PURE__ */ (0, L.jsx)(r, {
|
|
1081
|
+
verificationService: n,
|
|
1078
1082
|
errorId: "missingRequiredMetadata"
|
|
1079
1083
|
});
|
|
1080
|
-
case "missingRequiredExternalId": return
|
|
1081
|
-
verificationService:
|
|
1084
|
+
case "missingRequiredExternalId": return r = z("StepErrorComponent"), /* @__PURE__ */ (0, L.jsx)(r, {
|
|
1085
|
+
verificationService: n,
|
|
1082
1086
|
errorId: "missingRequiredExternalId"
|
|
1083
1087
|
});
|
|
1084
1088
|
case "error":
|
|
1085
|
-
|
|
1089
|
+
r = z("StepErrorComponent");
|
|
1086
1090
|
break;
|
|
1087
1091
|
case "cancelDocUpload":
|
|
1088
1092
|
case "cancelEmailLoop":
|
|
1089
1093
|
case "cancelSocialSecurityNumber":
|
|
1090
1094
|
case "docReviewLimitExceeded":
|
|
1091
|
-
case "emailLoopCollectOrganizationEmail": return
|
|
1092
|
-
verificationService:
|
|
1095
|
+
case "emailLoopCollectOrganizationEmail": return j.error("Attempted to load unexpected step", t), /* @__PURE__ */ (0, L.jsx)(An, {
|
|
1096
|
+
verificationService: n,
|
|
1093
1097
|
errorId: "invalidStep"
|
|
1094
1098
|
});
|
|
1095
|
-
default: return
|
|
1096
|
-
verificationService:
|
|
1099
|
+
default: return j.error("Unable to load step", t), /* @__PURE__ */ (0, L.jsx)(An, {
|
|
1100
|
+
verificationService: n,
|
|
1097
1101
|
errorId: "invalidStep"
|
|
1098
1102
|
});
|
|
1099
1103
|
}
|
|
1100
|
-
return /* @__PURE__ */ (0,
|
|
1101
|
-
fallback:
|
|
1102
|
-
children: /* @__PURE__ */ (0,
|
|
1104
|
+
return /* @__PURE__ */ (0, L.jsx)(F.Suspense, {
|
|
1105
|
+
fallback: Mn(),
|
|
1106
|
+
children: /* @__PURE__ */ (0, L.jsx)(r, { verificationService: n })
|
|
1103
1107
|
});
|
|
1104
|
-
},
|
|
1108
|
+
}, Pn = ({ dangerouslySetInnerHTML: e, ...t }) => e ? /* @__PURE__ */ (0, L.jsx)("span", {
|
|
1105
1109
|
dangerouslySetInnerHTML: e,
|
|
1106
1110
|
...t
|
|
1107
|
-
}) : /* @__PURE__ */ (0,
|
|
1111
|
+
}) : /* @__PURE__ */ (0, L.jsx)(F.Fragment, { ...t }), Fn = (e) => Pe()?.isTestMode ? /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
1108
1112
|
className: "sid-test-mode-flag sid-l-container sid-l-horz-center",
|
|
1109
1113
|
role: "note",
|
|
1110
|
-
children: ["Test Mode", /* @__PURE__ */ (0,
|
|
1114
|
+
children: ["Test Mode", /* @__PURE__ */ (0, L.jsx)(de, {
|
|
1111
1115
|
className: "sid-test-mode-flag__link",
|
|
1112
1116
|
href: "https://developer.sheerid.com/getting-started#test-program",
|
|
1113
1117
|
"aria-label": "learn more about a sheerid test mode program",
|
|
1114
1118
|
children: "(learn more)"
|
|
1115
1119
|
})]
|
|
1116
|
-
}) : null,
|
|
1120
|
+
}) : null, In = ({ verificationService: e, title: t, children: n, fallbackLogo: r, classNameIdentifier: i = void 0 }) => /* @__PURE__ */ (0, L.jsxs)("header", {
|
|
1117
1121
|
className: "sid-header",
|
|
1118
1122
|
children: [
|
|
1119
|
-
/* @__PURE__ */ (0,
|
|
1123
|
+
/* @__PURE__ */ (0, L.jsx)("div", {
|
|
1120
1124
|
className: `sid-logo-container sid-l-horz-center ${i ? `sid-${i}-logo-container` : ""}`,
|
|
1121
|
-
children: /* @__PURE__ */ (0,
|
|
1125
|
+
children: /* @__PURE__ */ (0, L.jsx)(Dt, {
|
|
1122
1126
|
verificationService: e,
|
|
1123
1127
|
fallbackLogo: r
|
|
1124
1128
|
})
|
|
1125
1129
|
}),
|
|
1126
|
-
/* @__PURE__ */ (0,
|
|
1130
|
+
/* @__PURE__ */ (0, L.jsx)("div", {
|
|
1127
1131
|
className: `sid-header__title sid-l-horz-center ${i ? `sid-${i}-header` : ""}`,
|
|
1128
|
-
children: /* @__PURE__ */ (0,
|
|
1132
|
+
children: /* @__PURE__ */ (0, L.jsx)("h1", { children: t })
|
|
1129
1133
|
}),
|
|
1130
1134
|
n
|
|
1131
1135
|
]
|
|
1132
1136
|
});
|
|
1133
1137
|
typeof window < "u" && window.document && window.document.createElement;
|
|
1134
|
-
function
|
|
1138
|
+
function B(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
|
|
1135
1139
|
return function(r) {
|
|
1136
1140
|
if (e?.(r), n === !1 || !r.defaultPrevented) return t?.(r);
|
|
1137
1141
|
};
|
|
1138
1142
|
}
|
|
1139
1143
|
//#endregion
|
|
1140
1144
|
//#region ../node_modules/@radix-ui/react-compose-refs/dist/index.mjs
|
|
1141
|
-
function
|
|
1145
|
+
function Ln(e, t) {
|
|
1142
1146
|
if (typeof e == "function") return e(t);
|
|
1143
1147
|
e != null && (e.current = t);
|
|
1144
1148
|
}
|
|
1145
|
-
function
|
|
1149
|
+
function Rn(...e) {
|
|
1146
1150
|
return (t) => {
|
|
1147
1151
|
let n = !1, r = e.map((e) => {
|
|
1148
|
-
let r =
|
|
1152
|
+
let r = Ln(e, t);
|
|
1149
1153
|
return !n && typeof r == "function" && (n = !0), r;
|
|
1150
1154
|
});
|
|
1151
1155
|
if (n) return () => {
|
|
1152
1156
|
for (let t = 0; t < r.length; t++) {
|
|
1153
1157
|
let n = r[t];
|
|
1154
|
-
typeof n == "function" ? n() :
|
|
1158
|
+
typeof n == "function" ? n() : Ln(e[t], null);
|
|
1155
1159
|
}
|
|
1156
1160
|
};
|
|
1157
1161
|
};
|
|
1158
1162
|
}
|
|
1159
|
-
function
|
|
1160
|
-
return
|
|
1163
|
+
function V(...e) {
|
|
1164
|
+
return F.useCallback(Rn(...e), e);
|
|
1161
1165
|
}
|
|
1162
1166
|
//#endregion
|
|
1163
1167
|
//#region ../node_modules/@radix-ui/react-context/dist/index.mjs
|
|
1164
|
-
function
|
|
1168
|
+
function zn(e, t = []) {
|
|
1165
1169
|
let n = [];
|
|
1166
1170
|
function r(t, r) {
|
|
1167
|
-
let i =
|
|
1171
|
+
let i = F.createContext(r), a = n.length;
|
|
1168
1172
|
n = [...n, r];
|
|
1169
1173
|
let o = (t) => {
|
|
1170
|
-
let { scope: n, children: r, ...o } = t, s = n?.[e]?.[a] || i, c =
|
|
1171
|
-
return /* @__PURE__ */ (0,
|
|
1174
|
+
let { scope: n, children: r, ...o } = t, s = n?.[e]?.[a] || i, c = F.useMemo(() => o, Object.values(o));
|
|
1175
|
+
return /* @__PURE__ */ (0, L.jsx)(s.Provider, {
|
|
1172
1176
|
value: c,
|
|
1173
1177
|
children: r
|
|
1174
1178
|
});
|
|
1175
1179
|
};
|
|
1176
1180
|
o.displayName = t + "Provider";
|
|
1177
1181
|
function s(n, o) {
|
|
1178
|
-
let s = o?.[e]?.[a] || i, c =
|
|
1182
|
+
let s = o?.[e]?.[a] || i, c = F.useContext(s);
|
|
1179
1183
|
if (c) return c;
|
|
1180
1184
|
if (r !== void 0) return r;
|
|
1181
1185
|
throw Error(`\`${n}\` must be used within \`${t}\``);
|
|
@@ -1183,18 +1187,18 @@ function Bn(e, t = []) {
|
|
|
1183
1187
|
return [o, s];
|
|
1184
1188
|
}
|
|
1185
1189
|
let i = () => {
|
|
1186
|
-
let t = n.map((e) =>
|
|
1190
|
+
let t = n.map((e) => F.createContext(e));
|
|
1187
1191
|
return function(n) {
|
|
1188
1192
|
let r = n?.[e] || t;
|
|
1189
|
-
return
|
|
1193
|
+
return F.useMemo(() => ({ [`__scope${e}`]: {
|
|
1190
1194
|
...n,
|
|
1191
1195
|
[e]: r
|
|
1192
1196
|
} }), [n, r]);
|
|
1193
1197
|
};
|
|
1194
1198
|
};
|
|
1195
|
-
return i.scopeName = e, [r,
|
|
1199
|
+
return i.scopeName = e, [r, Bn(i, ...t)];
|
|
1196
1200
|
}
|
|
1197
|
-
function
|
|
1201
|
+
function Bn(...e) {
|
|
1198
1202
|
let t = e[0];
|
|
1199
1203
|
if (e.length === 1) return t;
|
|
1200
1204
|
let n = () => {
|
|
@@ -1210,7 +1214,7 @@ function Vn(...e) {
|
|
|
1210
1214
|
...i
|
|
1211
1215
|
};
|
|
1212
1216
|
}, {});
|
|
1213
|
-
return
|
|
1217
|
+
return F.useMemo(() => ({ [`__scope${t.scopeName}`]: r }), [r]);
|
|
1214
1218
|
};
|
|
1215
1219
|
};
|
|
1216
1220
|
return n.scopeName = t.scopeName, n;
|
|
@@ -1218,18 +1222,18 @@ function Vn(...e) {
|
|
|
1218
1222
|
//#endregion
|
|
1219
1223
|
//#region ../node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
1220
1224
|
// @__NO_SIDE_EFFECTS__
|
|
1221
|
-
function
|
|
1222
|
-
let t = /* @__PURE__ */
|
|
1223
|
-
let { children: r, ...i } = e, a =
|
|
1225
|
+
function Vn(e) {
|
|
1226
|
+
let t = /* @__PURE__ */ Hn(e), n = F.forwardRef((e, n) => {
|
|
1227
|
+
let { children: r, ...i } = e, a = F.Children.toArray(r), o = a.find(Wn);
|
|
1224
1228
|
if (o) {
|
|
1225
|
-
let e = o.props.children, r = a.map((t) => t === o ?
|
|
1226
|
-
return /* @__PURE__ */ (0,
|
|
1229
|
+
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);
|
|
1230
|
+
return /* @__PURE__ */ (0, L.jsx)(t, {
|
|
1227
1231
|
...i,
|
|
1228
1232
|
ref: n,
|
|
1229
|
-
children:
|
|
1233
|
+
children: F.isValidElement(e) ? F.cloneElement(e, void 0, r) : null
|
|
1230
1234
|
});
|
|
1231
1235
|
}
|
|
1232
|
-
return /* @__PURE__ */ (0,
|
|
1236
|
+
return /* @__PURE__ */ (0, L.jsx)(t, {
|
|
1233
1237
|
...i,
|
|
1234
1238
|
ref: n,
|
|
1235
1239
|
children: r
|
|
@@ -1238,22 +1242,22 @@ function Hn(e) {
|
|
|
1238
1242
|
return n.displayName = `${e}.Slot`, n;
|
|
1239
1243
|
}
|
|
1240
1244
|
// @__NO_SIDE_EFFECTS__
|
|
1241
|
-
function
|
|
1242
|
-
let t =
|
|
1245
|
+
function Hn(e) {
|
|
1246
|
+
let t = F.forwardRef((e, t) => {
|
|
1243
1247
|
let { children: n, ...r } = e;
|
|
1244
|
-
if (
|
|
1245
|
-
let e =
|
|
1246
|
-
return n.type !==
|
|
1248
|
+
if (F.isValidElement(n)) {
|
|
1249
|
+
let e = Kn(n), i = Gn(r, n.props);
|
|
1250
|
+
return n.type !== F.Fragment && (i.ref = t ? Rn(t, e) : e), F.cloneElement(n, i);
|
|
1247
1251
|
}
|
|
1248
|
-
return
|
|
1252
|
+
return F.Children.count(n) > 1 ? F.Children.only(null) : null;
|
|
1249
1253
|
});
|
|
1250
1254
|
return t.displayName = `${e}.SlotClone`, t;
|
|
1251
1255
|
}
|
|
1252
|
-
var
|
|
1253
|
-
function
|
|
1254
|
-
return
|
|
1256
|
+
var Un = Symbol("radix.slottable");
|
|
1257
|
+
function Wn(e) {
|
|
1258
|
+
return F.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === Un;
|
|
1255
1259
|
}
|
|
1256
|
-
function
|
|
1260
|
+
function Gn(e, t) {
|
|
1257
1261
|
let n = { ...t };
|
|
1258
1262
|
for (let r in t) {
|
|
1259
1263
|
let i = e[r], a = t[r];
|
|
@@ -1270,13 +1274,13 @@ function Kn(e, t) {
|
|
|
1270
1274
|
...n
|
|
1271
1275
|
};
|
|
1272
1276
|
}
|
|
1273
|
-
function
|
|
1277
|
+
function Kn(e) {
|
|
1274
1278
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
1275
1279
|
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);
|
|
1276
1280
|
}
|
|
1277
1281
|
//#endregion
|
|
1278
1282
|
//#region ../node_modules/@radix-ui/react-primitive/dist/index.mjs
|
|
1279
|
-
var
|
|
1283
|
+
var H = [
|
|
1280
1284
|
"a",
|
|
1281
1285
|
"button",
|
|
1282
1286
|
"div",
|
|
@@ -1295,9 +1299,9 @@ var V = [
|
|
|
1295
1299
|
"svg",
|
|
1296
1300
|
"ul"
|
|
1297
1301
|
].reduce((e, t) => {
|
|
1298
|
-
let n = /* @__PURE__ */
|
|
1302
|
+
let n = /* @__PURE__ */ Vn(`Primitive.${t}`), r = F.forwardRef((e, r) => {
|
|
1299
1303
|
let { asChild: i, ...a } = e, o = i ? n : t;
|
|
1300
|
-
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ (0,
|
|
1304
|
+
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ (0, L.jsx)(o, {
|
|
1301
1305
|
...a,
|
|
1302
1306
|
ref: r
|
|
1303
1307
|
});
|
|
@@ -1307,22 +1311,22 @@ var V = [
|
|
|
1307
1311
|
[t]: r
|
|
1308
1312
|
};
|
|
1309
1313
|
}, {});
|
|
1310
|
-
function
|
|
1311
|
-
e &&
|
|
1314
|
+
function qn(e, t) {
|
|
1315
|
+
e && Lt.flushSync(() => e.dispatchEvent(t));
|
|
1312
1316
|
}
|
|
1313
1317
|
//#endregion
|
|
1314
1318
|
//#region ../node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
|
|
1315
|
-
function
|
|
1316
|
-
let t =
|
|
1317
|
-
return
|
|
1319
|
+
function Jn(e) {
|
|
1320
|
+
let t = F.useRef(e);
|
|
1321
|
+
return F.useEffect(() => {
|
|
1318
1322
|
t.current = e;
|
|
1319
|
-
}),
|
|
1323
|
+
}), F.useMemo(() => (...e) => t.current?.(...e), []);
|
|
1320
1324
|
}
|
|
1321
1325
|
//#endregion
|
|
1322
1326
|
//#region ../node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs
|
|
1323
|
-
function
|
|
1324
|
-
let n =
|
|
1325
|
-
|
|
1327
|
+
function Yn(e, t = globalThis?.document) {
|
|
1328
|
+
let n = Jn(e);
|
|
1329
|
+
F.useEffect(() => {
|
|
1326
1330
|
let e = (e) => {
|
|
1327
1331
|
e.key === "Escape" && n(e);
|
|
1328
1332
|
};
|
|
@@ -1331,67 +1335,67 @@ function Xn(e, t = globalThis?.document) {
|
|
|
1331
1335
|
}
|
|
1332
1336
|
//#endregion
|
|
1333
1337
|
//#region ../node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
|
|
1334
|
-
var
|
|
1338
|
+
var Xn = "DismissableLayer", Zn = "dismissableLayer.update", Qn = "dismissableLayer.pointerDownOutside", $n = "dismissableLayer.focusOutside", er, tr = F.createContext({
|
|
1335
1339
|
layers: /* @__PURE__ */ new Set(),
|
|
1336
1340
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
1337
1341
|
branches: /* @__PURE__ */ new Set()
|
|
1338
|
-
}),
|
|
1339
|
-
let { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: o, onDismiss: s, ...c } = e, l =
|
|
1342
|
+
}), nr = F.forwardRef((e, t) => {
|
|
1343
|
+
let { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: o, onDismiss: s, ...c } = e, l = F.useContext(tr), [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 = ar((e) => {
|
|
1340
1344
|
let t = e.target, n = [...l.branches].some((e) => e.contains(t));
|
|
1341
1345
|
b && !n && (i?.(e), o?.(e), e.defaultPrevented || s?.());
|
|
1342
|
-
}, f), S =
|
|
1346
|
+
}, f), S = or((e) => {
|
|
1343
1347
|
let t = e.target;
|
|
1344
1348
|
[...l.branches].some((e) => e.contains(t)) || (a?.(e), o?.(e), e.defaultPrevented || s?.());
|
|
1345
1349
|
}, f);
|
|
1346
|
-
return
|
|
1350
|
+
return Yn((e) => {
|
|
1347
1351
|
v === l.layers.size - 1 && (r?.(e), !e.defaultPrevented && s && (e.preventDefault(), s()));
|
|
1348
|
-
}, f),
|
|
1349
|
-
if (u) return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (
|
|
1350
|
-
n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (f.body.style.pointerEvents =
|
|
1352
|
+
}, f), F.useEffect(() => {
|
|
1353
|
+
if (u) return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (er = f.body.style.pointerEvents, f.body.style.pointerEvents = "none"), l.layersWithOutsidePointerEventsDisabled.add(u)), l.layers.add(u), sr(), () => {
|
|
1354
|
+
n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (f.body.style.pointerEvents = er);
|
|
1351
1355
|
};
|
|
1352
1356
|
}, [
|
|
1353
1357
|
u,
|
|
1354
1358
|
f,
|
|
1355
1359
|
n,
|
|
1356
1360
|
l
|
|
1357
|
-
]),
|
|
1358
|
-
u && (l.layers.delete(u), l.layersWithOutsidePointerEventsDisabled.delete(u),
|
|
1359
|
-
}, [u, l]),
|
|
1361
|
+
]), F.useEffect(() => () => {
|
|
1362
|
+
u && (l.layers.delete(u), l.layersWithOutsidePointerEventsDisabled.delete(u), sr());
|
|
1363
|
+
}, [u, l]), F.useEffect(() => {
|
|
1360
1364
|
let e = () => p({});
|
|
1361
|
-
return document.addEventListener(
|
|
1362
|
-
}, []), /* @__PURE__ */ (0,
|
|
1365
|
+
return document.addEventListener(Zn, e), () => document.removeEventListener(Zn, e);
|
|
1366
|
+
}, []), /* @__PURE__ */ (0, L.jsx)(H.div, {
|
|
1363
1367
|
...c,
|
|
1364
1368
|
ref: m,
|
|
1365
1369
|
style: {
|
|
1366
1370
|
pointerEvents: y ? b ? "auto" : "none" : void 0,
|
|
1367
1371
|
...e.style
|
|
1368
1372
|
},
|
|
1369
|
-
onFocusCapture:
|
|
1370
|
-
onBlurCapture:
|
|
1371
|
-
onPointerDownCapture:
|
|
1373
|
+
onFocusCapture: B(e.onFocusCapture, S.onFocusCapture),
|
|
1374
|
+
onBlurCapture: B(e.onBlurCapture, S.onBlurCapture),
|
|
1375
|
+
onPointerDownCapture: B(e.onPointerDownCapture, x.onPointerDownCapture)
|
|
1372
1376
|
});
|
|
1373
1377
|
});
|
|
1374
|
-
|
|
1375
|
-
var
|
|
1376
|
-
let n =
|
|
1377
|
-
return
|
|
1378
|
+
nr.displayName = Xn;
|
|
1379
|
+
var rr = "DismissableLayerBranch", ir = F.forwardRef((e, t) => {
|
|
1380
|
+
let n = F.useContext(tr), r = F.useRef(null), i = V(t, r);
|
|
1381
|
+
return F.useEffect(() => {
|
|
1378
1382
|
let e = r.current;
|
|
1379
1383
|
if (e) return n.branches.add(e), () => {
|
|
1380
1384
|
n.branches.delete(e);
|
|
1381
1385
|
};
|
|
1382
|
-
}, [n.branches]), /* @__PURE__ */ (0,
|
|
1386
|
+
}, [n.branches]), /* @__PURE__ */ (0, L.jsx)(H.div, {
|
|
1383
1387
|
...e,
|
|
1384
1388
|
ref: i
|
|
1385
1389
|
});
|
|
1386
1390
|
});
|
|
1387
|
-
|
|
1388
|
-
function
|
|
1389
|
-
let n =
|
|
1390
|
-
return
|
|
1391
|
+
ir.displayName = rr;
|
|
1392
|
+
function ar(e, t = globalThis?.document) {
|
|
1393
|
+
let n = Jn(e), r = F.useRef(!1), i = F.useRef(() => {});
|
|
1394
|
+
return F.useEffect(() => {
|
|
1391
1395
|
let e = (e) => {
|
|
1392
1396
|
if (e.target && !r.current) {
|
|
1393
1397
|
let r = function() {
|
|
1394
|
-
|
|
1398
|
+
cr(Qn, n, a, { discrete: !0 });
|
|
1395
1399
|
}, a = { originalEvent: e };
|
|
1396
1400
|
e.pointerType === "touch" ? (t.removeEventListener("click", i.current), i.current = r, t.addEventListener("click", i.current, { once: !0 })) : r();
|
|
1397
1401
|
} else t.removeEventListener("click", i.current);
|
|
@@ -1404,11 +1408,11 @@ function or(e, t = globalThis?.document) {
|
|
|
1404
1408
|
};
|
|
1405
1409
|
}, [t, n]), { onPointerDownCapture: () => r.current = !0 };
|
|
1406
1410
|
}
|
|
1407
|
-
function
|
|
1408
|
-
let n =
|
|
1409
|
-
return
|
|
1411
|
+
function or(e, t = globalThis?.document) {
|
|
1412
|
+
let n = Jn(e), r = F.useRef(!1);
|
|
1413
|
+
return F.useEffect(() => {
|
|
1410
1414
|
let e = (e) => {
|
|
1411
|
-
e.target && !r.current &&
|
|
1415
|
+
e.target && !r.current && cr($n, n, { originalEvent: e }, { discrete: !1 });
|
|
1412
1416
|
};
|
|
1413
1417
|
return t.addEventListener("focusin", e), () => t.removeEventListener("focusin", e);
|
|
1414
1418
|
}, [t, n]), {
|
|
@@ -1416,40 +1420,40 @@ function sr(e, t = globalThis?.document) {
|
|
|
1416
1420
|
onBlurCapture: () => r.current = !1
|
|
1417
1421
|
};
|
|
1418
1422
|
}
|
|
1419
|
-
function
|
|
1420
|
-
let e = new CustomEvent(
|
|
1423
|
+
function sr() {
|
|
1424
|
+
let e = new CustomEvent(Zn);
|
|
1421
1425
|
document.dispatchEvent(e);
|
|
1422
1426
|
}
|
|
1423
|
-
function
|
|
1427
|
+
function cr(e, t, n, { discrete: r }) {
|
|
1424
1428
|
let i = n.originalEvent.target, a = new CustomEvent(e, {
|
|
1425
1429
|
bubbles: !1,
|
|
1426
1430
|
cancelable: !0,
|
|
1427
1431
|
detail: n
|
|
1428
1432
|
});
|
|
1429
|
-
t && i.addEventListener(e, t, { once: !0 }), r ?
|
|
1433
|
+
t && i.addEventListener(e, t, { once: !0 }), r ? qn(i, a) : i.dispatchEvent(a);
|
|
1430
1434
|
}
|
|
1431
1435
|
//#endregion
|
|
1432
1436
|
//#region ../node_modules/@radix-ui/react-focus-guards/dist/index.mjs
|
|
1433
|
-
var
|
|
1434
|
-
function
|
|
1435
|
-
|
|
1437
|
+
var lr = 0;
|
|
1438
|
+
function ur() {
|
|
1439
|
+
F.useEffect(() => {
|
|
1436
1440
|
let e = document.querySelectorAll("[data-radix-focus-guard]");
|
|
1437
|
-
return document.body.insertAdjacentElement("afterbegin", e[0] ??
|
|
1438
|
-
|
|
1441
|
+
return document.body.insertAdjacentElement("afterbegin", e[0] ?? dr()), document.body.insertAdjacentElement("beforeend", e[1] ?? dr()), lr++, () => {
|
|
1442
|
+
lr === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((e) => e.remove()), lr--;
|
|
1439
1443
|
};
|
|
1440
1444
|
}, []);
|
|
1441
1445
|
}
|
|
1442
|
-
function
|
|
1446
|
+
function dr() {
|
|
1443
1447
|
let e = document.createElement("span");
|
|
1444
1448
|
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;
|
|
1445
1449
|
}
|
|
1446
1450
|
//#endregion
|
|
1447
1451
|
//#region ../node_modules/@radix-ui/react-focus-scope/dist/index.mjs
|
|
1448
|
-
var
|
|
1452
|
+
var fr = "focusScope.autoFocusOnMount", pr = "focusScope.autoFocusOnUnmount", mr = {
|
|
1449
1453
|
bubbles: !1,
|
|
1450
1454
|
cancelable: !0
|
|
1451
|
-
},
|
|
1452
|
-
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [s, c] =
|
|
1455
|
+
}, hr = "FocusScope", gr = F.forwardRef((e, t) => {
|
|
1456
|
+
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [s, c] = F.useState(null), l = Jn(i), u = Jn(a), d = F.useRef(null), f = V(t, (e) => c(e)), p = F.useRef({
|
|
1453
1457
|
paused: !1,
|
|
1454
1458
|
pause() {
|
|
1455
1459
|
this.paused = !0;
|
|
@@ -1458,18 +1462,18 @@ var pr = "focusScope.autoFocusOnMount", mr = "focusScope.autoFocusOnUnmount", hr
|
|
|
1458
1462
|
this.paused = !1;
|
|
1459
1463
|
}
|
|
1460
1464
|
}).current;
|
|
1461
|
-
|
|
1465
|
+
F.useEffect(() => {
|
|
1462
1466
|
if (r) {
|
|
1463
1467
|
let e = function(e) {
|
|
1464
1468
|
if (p.paused || !s) return;
|
|
1465
1469
|
let t = e.target;
|
|
1466
|
-
s.contains(t) ? d.current = t :
|
|
1470
|
+
s.contains(t) ? d.current = t : Cr(d.current, { select: !0 });
|
|
1467
1471
|
}, t = function(e) {
|
|
1468
1472
|
if (p.paused || !s) return;
|
|
1469
1473
|
let t = e.relatedTarget;
|
|
1470
|
-
t !== null && (s.contains(t) ||
|
|
1474
|
+
t !== null && (s.contains(t) || Cr(d.current, { select: !0 }));
|
|
1471
1475
|
}, n = function(e) {
|
|
1472
|
-
if (document.activeElement === document.body) for (let t of e) t.removedNodes.length > 0 &&
|
|
1476
|
+
if (document.activeElement === document.body) for (let t of e) t.removedNodes.length > 0 && Cr(s);
|
|
1473
1477
|
};
|
|
1474
1478
|
document.addEventListener("focusin", e), document.addEventListener("focusout", t);
|
|
1475
1479
|
let r = new MutationObserver(n);
|
|
@@ -1484,18 +1488,18 @@ var pr = "focusScope.autoFocusOnMount", mr = "focusScope.autoFocusOnUnmount", hr
|
|
|
1484
1488
|
r,
|
|
1485
1489
|
s,
|
|
1486
1490
|
p.paused
|
|
1487
|
-
]),
|
|
1491
|
+
]), F.useEffect(() => {
|
|
1488
1492
|
if (s) {
|
|
1489
1493
|
wr.add(p);
|
|
1490
1494
|
let e = document.activeElement;
|
|
1491
1495
|
if (!s.contains(e)) {
|
|
1492
|
-
let t = new CustomEvent(
|
|
1493
|
-
s.addEventListener(
|
|
1496
|
+
let t = new CustomEvent(fr, mr);
|
|
1497
|
+
s.addEventListener(fr, l), s.dispatchEvent(t), t.defaultPrevented || (_r(Dr(yr(s)), { select: !0 }), document.activeElement === e && Cr(s));
|
|
1494
1498
|
}
|
|
1495
1499
|
return () => {
|
|
1496
|
-
s.removeEventListener(
|
|
1497
|
-
let t = new CustomEvent(
|
|
1498
|
-
s.addEventListener(
|
|
1500
|
+
s.removeEventListener(fr, l), setTimeout(() => {
|
|
1501
|
+
let t = new CustomEvent(pr, mr);
|
|
1502
|
+
s.addEventListener(pr, u), s.dispatchEvent(t), t.defaultPrevented || Cr(e ?? document.body, { select: !0 }), s.removeEventListener(pr, u), wr.remove(p);
|
|
1499
1503
|
}, 0);
|
|
1500
1504
|
};
|
|
1501
1505
|
}
|
|
@@ -1505,35 +1509,35 @@ var pr = "focusScope.autoFocusOnMount", mr = "focusScope.autoFocusOnUnmount", hr
|
|
|
1505
1509
|
u,
|
|
1506
1510
|
p
|
|
1507
1511
|
]);
|
|
1508
|
-
let m =
|
|
1512
|
+
let m = F.useCallback((e) => {
|
|
1509
1513
|
if (!n && !r || p.paused) return;
|
|
1510
1514
|
let t = e.key === "Tab" && !e.altKey && !e.ctrlKey && !e.metaKey, i = document.activeElement;
|
|
1511
1515
|
if (t && i) {
|
|
1512
|
-
let t = e.currentTarget, [r, a] =
|
|
1513
|
-
r && a ? !e.shiftKey && i === a ? (e.preventDefault(), n &&
|
|
1516
|
+
let t = e.currentTarget, [r, a] = vr(t);
|
|
1517
|
+
r && a ? !e.shiftKey && i === a ? (e.preventDefault(), n && Cr(r, { select: !0 })) : e.shiftKey && i === r && (e.preventDefault(), n && Cr(a, { select: !0 })) : i === t && e.preventDefault();
|
|
1514
1518
|
}
|
|
1515
1519
|
}, [
|
|
1516
1520
|
n,
|
|
1517
1521
|
r,
|
|
1518
1522
|
p.paused
|
|
1519
1523
|
]);
|
|
1520
|
-
return /* @__PURE__ */ (0,
|
|
1524
|
+
return /* @__PURE__ */ (0, L.jsx)(H.div, {
|
|
1521
1525
|
tabIndex: -1,
|
|
1522
1526
|
...o,
|
|
1523
1527
|
ref: f,
|
|
1524
1528
|
onKeyDown: m
|
|
1525
1529
|
});
|
|
1526
1530
|
});
|
|
1527
|
-
|
|
1528
|
-
function
|
|
1531
|
+
gr.displayName = hr;
|
|
1532
|
+
function _r(e, { select: t = !1 } = {}) {
|
|
1529
1533
|
let n = document.activeElement;
|
|
1530
|
-
for (let r of e) if (
|
|
1534
|
+
for (let r of e) if (Cr(r, { select: t }), document.activeElement !== n) return;
|
|
1531
1535
|
}
|
|
1532
|
-
function
|
|
1533
|
-
let t =
|
|
1534
|
-
return [
|
|
1536
|
+
function vr(e) {
|
|
1537
|
+
let t = yr(e);
|
|
1538
|
+
return [br(t, e), br(t.reverse(), e)];
|
|
1535
1539
|
}
|
|
1536
|
-
function
|
|
1540
|
+
function yr(e) {
|
|
1537
1541
|
let t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, { acceptNode: (e) => {
|
|
1538
1542
|
let t = e.tagName === "INPUT" && e.type === "hidden";
|
|
1539
1543
|
return e.disabled || e.hidden || t ? NodeFilter.FILTER_SKIP : e.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
|
|
@@ -1541,10 +1545,10 @@ function br(e) {
|
|
|
1541
1545
|
for (; n.nextNode();) t.push(n.currentNode);
|
|
1542
1546
|
return t;
|
|
1543
1547
|
}
|
|
1544
|
-
function
|
|
1545
|
-
for (let n of e) if (!
|
|
1548
|
+
function br(e, t) {
|
|
1549
|
+
for (let n of e) if (!xr(n, { upTo: t })) return n;
|
|
1546
1550
|
}
|
|
1547
|
-
function
|
|
1551
|
+
function xr(e, { upTo: t }) {
|
|
1548
1552
|
if (getComputedStyle(e).visibility === "hidden") return !0;
|
|
1549
1553
|
for (; e;) {
|
|
1550
1554
|
if (t !== void 0 && e === t) return !1;
|
|
@@ -1553,13 +1557,13 @@ function Sr(e, { upTo: t }) {
|
|
|
1553
1557
|
}
|
|
1554
1558
|
return !1;
|
|
1555
1559
|
}
|
|
1556
|
-
function
|
|
1560
|
+
function Sr(e) {
|
|
1557
1561
|
return e instanceof HTMLInputElement && "select" in e;
|
|
1558
1562
|
}
|
|
1559
|
-
function
|
|
1563
|
+
function Cr(e, { select: t = !1 } = {}) {
|
|
1560
1564
|
if (e && e.focus) {
|
|
1561
1565
|
let n = document.activeElement;
|
|
1562
|
-
e.focus({ preventScroll: !0 }), e !== n &&
|
|
1566
|
+
e.focus({ preventScroll: !0 }), e !== n && Sr(e) && t && e.select();
|
|
1563
1567
|
}
|
|
1564
1568
|
}
|
|
1565
1569
|
var wr = Tr();
|
|
@@ -1584,9 +1588,9 @@ function Dr(e) {
|
|
|
1584
1588
|
}
|
|
1585
1589
|
//#endregion
|
|
1586
1590
|
//#region ../node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
|
|
1587
|
-
var Or = globalThis?.document ?
|
|
1591
|
+
var Or = globalThis?.document ? F.useLayoutEffect : () => {}, kr = F.useId || (() => void 0), Ar = 0;
|
|
1588
1592
|
function jr(e) {
|
|
1589
|
-
let [t, n] =
|
|
1593
|
+
let [t, n] = F.useState(kr());
|
|
1590
1594
|
return Or(() => {
|
|
1591
1595
|
e || n((e) => e ?? String(Ar++));
|
|
1592
1596
|
}, [e]), e || (t ? `radix-${t}` : "");
|
|
@@ -1819,12 +1823,12 @@ var ri = 50, ii = async (e, t, n) => {
|
|
|
1819
1823
|
y: r
|
|
1820
1824
|
}, p = Vr(i), m = Br(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;
|
|
1821
1825
|
(!C || !await (o.isElement == null ? void 0 : o.isElement(S))) && (C = s.floating[y] || a.floating[m]);
|
|
1822
|
-
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1,
|
|
1826
|
+
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1, E = Nr(d[_], T), D = Nr(d[v], T), ee = E, O = C - h[m] - D, k = C / 2 - h[m] / 2 + w, te = Lr(ee, k, O), A = !c.arrow && Rr(i) != null && k !== te && a.reference[m] / 2 - (k < ee ? E : D) - h[m] / 2 < 0, j = A ? k < ee ? k - ee : k - O : 0;
|
|
1823
1827
|
return {
|
|
1824
1828
|
[p]: f[p] + j,
|
|
1825
1829
|
data: {
|
|
1826
|
-
[p]:
|
|
1827
|
-
centerOffset:
|
|
1830
|
+
[p]: te,
|
|
1831
|
+
centerOffset: k - te - j,
|
|
1828
1832
|
...A && { alignmentOffset: j }
|
|
1829
1833
|
},
|
|
1830
1834
|
reset: A
|
|
@@ -2471,7 +2475,7 @@ var fa = fi, pa = pi, ma = oi, ha = hi, ga = li, _a = ai, va = mi, ya = (e, t, n
|
|
|
2471
2475
|
...i,
|
|
2472
2476
|
platform: a
|
|
2473
2477
|
});
|
|
2474
|
-
}, ba = typeof document < "u" ?
|
|
2478
|
+
}, ba = typeof document < "u" ? F.useLayoutEffect : function() {};
|
|
2475
2479
|
function xa(e, t) {
|
|
2476
2480
|
if (e === t) return !0;
|
|
2477
2481
|
if (typeof e != typeof t) return !1;
|
|
@@ -2501,39 +2505,39 @@ function Ca(e, t) {
|
|
|
2501
2505
|
return Math.round(t * n) / n;
|
|
2502
2506
|
}
|
|
2503
2507
|
function wa(e) {
|
|
2504
|
-
let t =
|
|
2508
|
+
let t = F.useRef(e);
|
|
2505
2509
|
return ba(() => {
|
|
2506
2510
|
t.current = e;
|
|
2507
2511
|
}), t;
|
|
2508
2512
|
}
|
|
2509
2513
|
function Ta(e) {
|
|
2510
2514
|
e === void 0 && (e = {});
|
|
2511
|
-
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] =
|
|
2515
|
+
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({
|
|
2512
2516
|
x: 0,
|
|
2513
2517
|
y: 0,
|
|
2514
2518
|
strategy: n,
|
|
2515
2519
|
placement: t,
|
|
2516
2520
|
middlewareData: {},
|
|
2517
2521
|
isPositioned: !1
|
|
2518
|
-
}), [f, p] =
|
|
2522
|
+
}), [f, p] = F.useState(r);
|
|
2519
2523
|
xa(f, r) || p(r);
|
|
2520
|
-
let [m, h] =
|
|
2524
|
+
let [m, h] = F.useState(null), [g, _] = F.useState(null), v = F.useCallback((e) => {
|
|
2521
2525
|
e !== S.current && (S.current = e, h(e));
|
|
2522
|
-
}, []), y =
|
|
2526
|
+
}, []), y = F.useCallback((e) => {
|
|
2523
2527
|
e !== C.current && (C.current = e, _(e));
|
|
2524
|
-
}, []), b = a || m, x = o || g, S =
|
|
2528
|
+
}, []), b = a || m, x = o || g, S = F.useRef(null), C = F.useRef(null), w = F.useRef(u), T = c != null, E = wa(c), D = wa(i), ee = wa(l), O = F.useCallback(() => {
|
|
2525
2529
|
if (!S.current || !C.current) return;
|
|
2526
2530
|
let e = {
|
|
2527
2531
|
placement: t,
|
|
2528
2532
|
strategy: n,
|
|
2529
2533
|
middleware: f
|
|
2530
2534
|
};
|
|
2531
|
-
|
|
2535
|
+
D.current && (e.platform = D.current), ya(S.current, C.current, e).then((e) => {
|
|
2532
2536
|
let t = {
|
|
2533
2537
|
...e,
|
|
2534
|
-
isPositioned:
|
|
2538
|
+
isPositioned: ee.current !== !1
|
|
2535
2539
|
};
|
|
2536
|
-
|
|
2540
|
+
k.current && !xa(w.current, t) && (w.current = t, Lt.flushSync(() => {
|
|
2537
2541
|
d(t);
|
|
2538
2542
|
}));
|
|
2539
2543
|
});
|
|
@@ -2541,8 +2545,8 @@ function Ta(e) {
|
|
|
2541
2545
|
f,
|
|
2542
2546
|
t,
|
|
2543
2547
|
n,
|
|
2544
|
-
|
|
2545
|
-
|
|
2548
|
+
D,
|
|
2549
|
+
ee
|
|
2546
2550
|
]);
|
|
2547
2551
|
ba(() => {
|
|
2548
2552
|
l === !1 && w.current.isPositioned && (w.current.isPositioned = !1, d((e) => ({
|
|
@@ -2550,30 +2554,30 @@ function Ta(e) {
|
|
|
2550
2554
|
isPositioned: !1
|
|
2551
2555
|
})));
|
|
2552
2556
|
}, [l]);
|
|
2553
|
-
let
|
|
2554
|
-
ba(() => (
|
|
2555
|
-
|
|
2557
|
+
let k = F.useRef(!1);
|
|
2558
|
+
ba(() => (k.current = !0, () => {
|
|
2559
|
+
k.current = !1;
|
|
2556
2560
|
}), []), ba(() => {
|
|
2557
2561
|
if (b && (S.current = b), x && (C.current = x), b && x) {
|
|
2558
|
-
if (
|
|
2559
|
-
|
|
2562
|
+
if (E.current) return E.current(b, x, O);
|
|
2563
|
+
O();
|
|
2560
2564
|
}
|
|
2561
2565
|
}, [
|
|
2562
2566
|
b,
|
|
2563
2567
|
x,
|
|
2564
|
-
|
|
2565
|
-
|
|
2568
|
+
O,
|
|
2569
|
+
E,
|
|
2566
2570
|
T
|
|
2567
2571
|
]);
|
|
2568
|
-
let
|
|
2572
|
+
let te = F.useMemo(() => ({
|
|
2569
2573
|
reference: S,
|
|
2570
2574
|
floating: C,
|
|
2571
2575
|
setReference: v,
|
|
2572
2576
|
setFloating: y
|
|
2573
|
-
}), [v, y]), A =
|
|
2577
|
+
}), [v, y]), A = F.useMemo(() => ({
|
|
2574
2578
|
reference: b,
|
|
2575
2579
|
floating: x
|
|
2576
|
-
}), [b, x]), j =
|
|
2580
|
+
}), [b, x]), j = F.useMemo(() => {
|
|
2577
2581
|
let e = {
|
|
2578
2582
|
position: n,
|
|
2579
2583
|
left: 0,
|
|
@@ -2597,16 +2601,16 @@ function Ta(e) {
|
|
|
2597
2601
|
u.x,
|
|
2598
2602
|
u.y
|
|
2599
2603
|
]);
|
|
2600
|
-
return
|
|
2604
|
+
return F.useMemo(() => ({
|
|
2601
2605
|
...u,
|
|
2602
|
-
update:
|
|
2603
|
-
refs:
|
|
2606
|
+
update: O,
|
|
2607
|
+
refs: te,
|
|
2604
2608
|
elements: A,
|
|
2605
2609
|
floatingStyles: j
|
|
2606
2610
|
}), [
|
|
2607
2611
|
u,
|
|
2608
|
-
|
|
2609
|
-
|
|
2612
|
+
O,
|
|
2613
|
+
te,
|
|
2610
2614
|
A,
|
|
2611
2615
|
j
|
|
2612
2616
|
]);
|
|
@@ -2674,16 +2678,16 @@ var Ea = (e) => {
|
|
|
2674
2678
|
fn: n.fn,
|
|
2675
2679
|
options: [e, t]
|
|
2676
2680
|
};
|
|
2677
|
-
}, Pa = "Arrow", Fa =
|
|
2681
|
+
}, Pa = "Arrow", Fa = F.forwardRef((e, t) => {
|
|
2678
2682
|
let { children: n, width: r = 10, height: i = 5, ...a } = e;
|
|
2679
|
-
return /* @__PURE__ */ (0,
|
|
2683
|
+
return /* @__PURE__ */ (0, L.jsx)(H.svg, {
|
|
2680
2684
|
...a,
|
|
2681
2685
|
ref: t,
|
|
2682
2686
|
width: r,
|
|
2683
2687
|
height: i,
|
|
2684
2688
|
viewBox: "0 0 30 10",
|
|
2685
2689
|
preserveAspectRatio: "none",
|
|
2686
|
-
children: e.asChild ? n : /* @__PURE__ */ (0,
|
|
2690
|
+
children: e.asChild ? n : /* @__PURE__ */ (0, L.jsx)("polygon", { points: "0,0 30,0 15,10" })
|
|
2687
2691
|
});
|
|
2688
2692
|
});
|
|
2689
2693
|
Fa.displayName = Pa;
|
|
@@ -2691,7 +2695,7 @@ var Ia = Fa;
|
|
|
2691
2695
|
//#endregion
|
|
2692
2696
|
//#region ../node_modules/@radix-ui/react-use-size/dist/index.mjs
|
|
2693
2697
|
function La(e) {
|
|
2694
|
-
let [t, n] =
|
|
2698
|
+
let [t, n] = F.useState(void 0);
|
|
2695
2699
|
return Or(() => {
|
|
2696
2700
|
if (e) {
|
|
2697
2701
|
n({
|
|
@@ -2717,9 +2721,9 @@ function La(e) {
|
|
|
2717
2721
|
}
|
|
2718
2722
|
//#endregion
|
|
2719
2723
|
//#region ../node_modules/@radix-ui/react-popper/dist/index.mjs
|
|
2720
|
-
var Ra = "Popper", [za, Ba] =
|
|
2721
|
-
let { __scopePopper: t, children: n } = e, [r, i] =
|
|
2722
|
-
return /* @__PURE__ */ (0,
|
|
2724
|
+
var Ra = "Popper", [za, Ba] = zn(Ra), [Va, Ha] = za(Ra), Ua = (e) => {
|
|
2725
|
+
let { __scopePopper: t, children: n } = e, [r, i] = F.useState(null);
|
|
2726
|
+
return /* @__PURE__ */ (0, L.jsx)(Va, {
|
|
2723
2727
|
scope: t,
|
|
2724
2728
|
anchor: r,
|
|
2725
2729
|
onAnchorChange: i,
|
|
@@ -2727,29 +2731,29 @@ var Ra = "Popper", [za, Ba] = Bn(Ra), [Va, Ha] = za(Ra), Ua = (e) => {
|
|
|
2727
2731
|
});
|
|
2728
2732
|
};
|
|
2729
2733
|
Ua.displayName = Ra;
|
|
2730
|
-
var Wa = "PopperAnchor", Ga =
|
|
2731
|
-
let { __scopePopper: n, virtualRef: r, ...i } = e, a = Ha(Wa, n), o =
|
|
2732
|
-
return
|
|
2734
|
+
var Wa = "PopperAnchor", Ga = F.forwardRef((e, t) => {
|
|
2735
|
+
let { __scopePopper: n, virtualRef: r, ...i } = e, a = Ha(Wa, n), o = F.useRef(null), s = V(t, o), c = F.useRef(null);
|
|
2736
|
+
return F.useEffect(() => {
|
|
2733
2737
|
let e = c.current;
|
|
2734
2738
|
c.current = r?.current || o.current, e !== c.current && a.onAnchorChange(c.current);
|
|
2735
|
-
}), r ? null : /* @__PURE__ */ (0,
|
|
2739
|
+
}), r ? null : /* @__PURE__ */ (0, L.jsx)(H.div, {
|
|
2736
2740
|
...i,
|
|
2737
2741
|
ref: s
|
|
2738
2742
|
});
|
|
2739
2743
|
});
|
|
2740
2744
|
Ga.displayName = Wa;
|
|
2741
|
-
var Ka = "PopperContent", [qa, Ja] = za(Ka), Ya =
|
|
2742
|
-
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 = Ha(Ka, n), [_, v] =
|
|
2745
|
+
var Ka = "PopperContent", [qa, Ja] = za(Ka), Ya = F.forwardRef((e, t) => {
|
|
2746
|
+
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 = Ha(Ka, n), [_, v] = F.useState(null), y = V(t, (e) => v(e)), [b, x] = F.useState(null), S = La(b), C = S?.width ?? 0, w = S?.height ?? 0, T = r + (a === "center" ? "" : "-" + a), E = typeof u == "number" ? u : {
|
|
2743
2747
|
top: 0,
|
|
2744
2748
|
right: 0,
|
|
2745
2749
|
bottom: 0,
|
|
2746
2750
|
left: 0,
|
|
2747
2751
|
...u
|
|
2748
|
-
},
|
|
2749
|
-
padding:
|
|
2750
|
-
boundary:
|
|
2751
|
-
altBoundary:
|
|
2752
|
-
}, { refs:
|
|
2752
|
+
}, D = Array.isArray(l) ? l : [l], ee = D.length > 0, O = {
|
|
2753
|
+
padding: E,
|
|
2754
|
+
boundary: D.filter($a),
|
|
2755
|
+
altBoundary: ee
|
|
2756
|
+
}, { refs: k, floatingStyles: te, placement: A, isPositioned: j, middlewareData: M } = Ta({
|
|
2753
2757
|
strategy: "fixed",
|
|
2754
2758
|
placement: T,
|
|
2755
2759
|
whileElementsMounted: (...e) => da(...e, { animationFrame: p === "always" }),
|
|
@@ -2763,11 +2767,11 @@ var Ka = "PopperContent", [qa, Ja] = za(Ka), Ya = P.forwardRef((e, t) => {
|
|
|
2763
2767
|
mainAxis: !0,
|
|
2764
2768
|
crossAxis: !1,
|
|
2765
2769
|
limiter: d === "partial" ? ka() : void 0,
|
|
2766
|
-
...
|
|
2770
|
+
...O
|
|
2767
2771
|
}),
|
|
2768
|
-
c && Aa({ ...
|
|
2772
|
+
c && Aa({ ...O }),
|
|
2769
2773
|
ja({
|
|
2770
|
-
...
|
|
2774
|
+
...O,
|
|
2771
2775
|
apply: ({ elements: e, rects: t, availableWidth: n, availableHeight: r }) => {
|
|
2772
2776
|
let { width: i, height: a } = t.reference, o = e.floating.style;
|
|
2773
2777
|
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`);
|
|
@@ -2783,41 +2787,41 @@ var Ka = "PopperContent", [qa, Ja] = za(Ka), Ya = P.forwardRef((e, t) => {
|
|
|
2783
2787
|
}),
|
|
2784
2788
|
f && Ma({
|
|
2785
2789
|
strategy: "referenceHidden",
|
|
2786
|
-
...
|
|
2790
|
+
...O
|
|
2787
2791
|
})
|
|
2788
2792
|
]
|
|
2789
|
-
}), [
|
|
2793
|
+
}), [ne, re] = to(A), ie = Jn(m);
|
|
2790
2794
|
Or(() => {
|
|
2791
|
-
j &&
|
|
2792
|
-
}, [j,
|
|
2793
|
-
let
|
|
2795
|
+
j && ie?.();
|
|
2796
|
+
}, [j, ie]);
|
|
2797
|
+
let ae = M.arrow?.x, oe = M.arrow?.y, se = M.arrow?.centerOffset !== 0, [ce, le] = F.useState();
|
|
2794
2798
|
return Or(() => {
|
|
2795
2799
|
_ && le(window.getComputedStyle(_).zIndex);
|
|
2796
|
-
}, [_]), /* @__PURE__ */ (0,
|
|
2797
|
-
ref:
|
|
2800
|
+
}, [_]), /* @__PURE__ */ (0, L.jsx)("div", {
|
|
2801
|
+
ref: k.setFloating,
|
|
2798
2802
|
"data-radix-popper-content-wrapper": "",
|
|
2799
2803
|
style: {
|
|
2800
|
-
...
|
|
2801
|
-
transform: j ?
|
|
2804
|
+
...te,
|
|
2805
|
+
transform: j ? te.transform : "translate(0, -200%)",
|
|
2802
2806
|
minWidth: "max-content",
|
|
2803
2807
|
zIndex: ce,
|
|
2804
|
-
"--radix-popper-transform-origin": [
|
|
2805
|
-
...
|
|
2808
|
+
"--radix-popper-transform-origin": [M.transformOrigin?.x, M.transformOrigin?.y].join(" "),
|
|
2809
|
+
...M.hide?.referenceHidden && {
|
|
2806
2810
|
visibility: "hidden",
|
|
2807
2811
|
pointerEvents: "none"
|
|
2808
2812
|
}
|
|
2809
2813
|
},
|
|
2810
2814
|
dir: e.dir,
|
|
2811
|
-
children: /* @__PURE__ */ (0,
|
|
2815
|
+
children: /* @__PURE__ */ (0, L.jsx)(qa, {
|
|
2812
2816
|
scope: n,
|
|
2813
|
-
placedSide:
|
|
2817
|
+
placedSide: ne,
|
|
2814
2818
|
onArrowChange: x,
|
|
2815
|
-
arrowX:
|
|
2816
|
-
arrowY:
|
|
2817
|
-
shouldHideArrow:
|
|
2818
|
-
children: /* @__PURE__ */ (0,
|
|
2819
|
-
"data-side":
|
|
2820
|
-
"data-align":
|
|
2819
|
+
arrowX: ae,
|
|
2820
|
+
arrowY: oe,
|
|
2821
|
+
shouldHideArrow: se,
|
|
2822
|
+
children: /* @__PURE__ */ (0, L.jsx)(H.div, {
|
|
2823
|
+
"data-side": ne,
|
|
2824
|
+
"data-align": re,
|
|
2821
2825
|
...h,
|
|
2822
2826
|
ref: y,
|
|
2823
2827
|
style: {
|
|
@@ -2834,9 +2838,9 @@ var Xa = "PopperArrow", Za = {
|
|
|
2834
2838
|
right: "left",
|
|
2835
2839
|
bottom: "top",
|
|
2836
2840
|
left: "right"
|
|
2837
|
-
}, Qa =
|
|
2841
|
+
}, Qa = F.forwardRef(function(e, t) {
|
|
2838
2842
|
let { __scopePopper: n, ...r } = e, i = Ja(Xa, n), a = Za[i.placedSide];
|
|
2839
|
-
return /* @__PURE__ */ (0,
|
|
2843
|
+
return /* @__PURE__ */ (0, L.jsx)("span", {
|
|
2840
2844
|
ref: i.onArrowChange,
|
|
2841
2845
|
style: {
|
|
2842
2846
|
position: "absolute",
|
|
@@ -2857,7 +2861,7 @@ var Xa = "PopperArrow", Za = {
|
|
|
2857
2861
|
}[i.placedSide],
|
|
2858
2862
|
visibility: i.shouldHideArrow ? "hidden" : void 0
|
|
2859
2863
|
},
|
|
2860
|
-
children: /* @__PURE__ */ (0,
|
|
2864
|
+
children: /* @__PURE__ */ (0, L.jsx)(Ia, {
|
|
2861
2865
|
...r,
|
|
2862
2866
|
ref: t,
|
|
2863
2867
|
style: {
|
|
@@ -2890,11 +2894,11 @@ function to(e) {
|
|
|
2890
2894
|
let [t, n = "center"] = e.split("-");
|
|
2891
2895
|
return [t, n];
|
|
2892
2896
|
}
|
|
2893
|
-
var no = Ua, ro = Ga, io = Ya, ao = Qa, oo = "Portal", so =
|
|
2894
|
-
let { container: n, ...r } = e, [i, a] =
|
|
2897
|
+
var no = Ua, ro = Ga, io = Ya, ao = Qa, oo = "Portal", so = F.forwardRef((e, t) => {
|
|
2898
|
+
let { container: n, ...r } = e, [i, a] = F.useState(!1);
|
|
2895
2899
|
Or(() => a(!0), []);
|
|
2896
2900
|
let o = n || i && globalThis?.document?.body;
|
|
2897
|
-
return o ?
|
|
2901
|
+
return o ? Lt.createPortal(/* @__PURE__ */ (0, L.jsx)(H.div, {
|
|
2898
2902
|
...r,
|
|
2899
2903
|
ref: t
|
|
2900
2904
|
}), o) : null;
|
|
@@ -2903,15 +2907,15 @@ so.displayName = oo;
|
|
|
2903
2907
|
//#endregion
|
|
2904
2908
|
//#region ../node_modules/@radix-ui/react-presence/dist/index.mjs
|
|
2905
2909
|
function co(e, t) {
|
|
2906
|
-
return
|
|
2910
|
+
return F.useReducer((e, n) => t[e][n] ?? e, e);
|
|
2907
2911
|
}
|
|
2908
2912
|
var lo = (e) => {
|
|
2909
|
-
let { present: t, children: n } = e, r = uo(t), i = typeof n == "function" ? n({ present: r.isPresent }) :
|
|
2910
|
-
return typeof n == "function" || r.isPresent ?
|
|
2913
|
+
let { present: t, children: n } = e, r = uo(t), i = typeof n == "function" ? n({ present: r.isPresent }) : F.Children.only(n), a = V(r.ref, po(i));
|
|
2914
|
+
return typeof n == "function" || r.isPresent ? F.cloneElement(i, { ref: a }) : null;
|
|
2911
2915
|
};
|
|
2912
2916
|
lo.displayName = "Presence";
|
|
2913
2917
|
function uo(e) {
|
|
2914
|
-
let [t, n] =
|
|
2918
|
+
let [t, n] = F.useState(), r = F.useRef(null), i = F.useRef(e), a = F.useRef("none"), [o, s] = co(e ? "mounted" : "unmounted", {
|
|
2915
2919
|
mounted: {
|
|
2916
2920
|
UNMOUNT: "unmounted",
|
|
2917
2921
|
ANIMATION_OUT: "unmountSuspended"
|
|
@@ -2922,7 +2926,7 @@ function uo(e) {
|
|
|
2922
2926
|
},
|
|
2923
2927
|
unmounted: { MOUNT: "mounted" }
|
|
2924
2928
|
});
|
|
2925
|
-
return
|
|
2929
|
+
return F.useEffect(() => {
|
|
2926
2930
|
let e = fo(r.current);
|
|
2927
2931
|
a.current = o === "mounted" ? e : "none";
|
|
2928
2932
|
}, [o]), Or(() => {
|
|
@@ -2951,7 +2955,7 @@ function uo(e) {
|
|
|
2951
2955
|
s("ANIMATION_END");
|
|
2952
2956
|
}, [t, s]), {
|
|
2953
2957
|
isPresent: ["mounted", "unmountSuspended"].includes(o),
|
|
2954
|
-
ref:
|
|
2958
|
+
ref: F.useCallback((e) => {
|
|
2955
2959
|
r.current = e ? getComputedStyle(e) : null, n(e);
|
|
2956
2960
|
}, [])
|
|
2957
2961
|
};
|
|
@@ -2965,20 +2969,20 @@ function po(e) {
|
|
|
2965
2969
|
}
|
|
2966
2970
|
//#endregion
|
|
2967
2971
|
//#region ../node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
|
|
2968
|
-
var mo =
|
|
2972
|
+
var mo = F.useInsertionEffect || Or;
|
|
2969
2973
|
function ho({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
2970
2974
|
let [i, a, o] = go({
|
|
2971
2975
|
defaultProp: t,
|
|
2972
2976
|
onChange: n
|
|
2973
2977
|
}), s = e !== void 0, c = s ? e : i;
|
|
2974
2978
|
{
|
|
2975
|
-
let t =
|
|
2976
|
-
|
|
2979
|
+
let t = F.useRef(e !== void 0);
|
|
2980
|
+
F.useEffect(() => {
|
|
2977
2981
|
let e = t.current;
|
|
2978
2982
|
e !== s && console.warn(`${r} is changing from ${e ? "controlled" : "uncontrolled"} to ${s ? "controlled" : "uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`), t.current = s;
|
|
2979
2983
|
}, [s, r]);
|
|
2980
2984
|
}
|
|
2981
|
-
return [c,
|
|
2985
|
+
return [c, F.useCallback((t) => {
|
|
2982
2986
|
if (s) {
|
|
2983
2987
|
let n = _o(t) ? t(e) : t;
|
|
2984
2988
|
n !== e && o.current?.(n);
|
|
@@ -2991,10 +2995,10 @@ function ho({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
|
2991
2995
|
])];
|
|
2992
2996
|
}
|
|
2993
2997
|
function go({ defaultProp: e, onChange: t }) {
|
|
2994
|
-
let [n, r] =
|
|
2998
|
+
let [n, r] = F.useState(e), i = F.useRef(n), a = F.useRef(t);
|
|
2995
2999
|
return mo(() => {
|
|
2996
3000
|
a.current = t;
|
|
2997
|
-
}, [t]),
|
|
3001
|
+
}, [t]), F.useEffect(() => {
|
|
2998
3002
|
i.current !== n && (a.current?.(n), i.current = n);
|
|
2999
3003
|
}, [n, i]), [
|
|
3000
3004
|
n,
|
|
@@ -3194,7 +3198,7 @@ function Lo(e, t) {
|
|
|
3194
3198
|
//#endregion
|
|
3195
3199
|
//#region ../node_modules/use-callback-ref/dist/es2015/useRef.js
|
|
3196
3200
|
function Ro(e, t) {
|
|
3197
|
-
var n = (0,
|
|
3201
|
+
var n = (0, F.useState)(function() {
|
|
3198
3202
|
return {
|
|
3199
3203
|
value: e,
|
|
3200
3204
|
callback: t,
|
|
@@ -3213,7 +3217,7 @@ function Ro(e, t) {
|
|
|
3213
3217
|
}
|
|
3214
3218
|
//#endregion
|
|
3215
3219
|
//#region ../node_modules/use-callback-ref/dist/es2015/useMergeRef.js
|
|
3216
|
-
var zo = typeof window < "u" ?
|
|
3220
|
+
var zo = typeof window < "u" ? F.useLayoutEffect : F.useEffect, Bo = /* @__PURE__ */ new WeakMap();
|
|
3217
3221
|
function Vo(e, t) {
|
|
3218
3222
|
var n = Ro(t || null, function(t) {
|
|
3219
3223
|
return e.forEach(function(e) {
|
|
@@ -3307,7 +3311,7 @@ var Go = function(e) {
|
|
|
3307
3311
|
if (!t) throw Error("Sidecar: please provide `sideCar` property to import the right car");
|
|
3308
3312
|
var r = t.read();
|
|
3309
3313
|
if (!r) throw Error("Sidecar medium not found");
|
|
3310
|
-
return
|
|
3314
|
+
return F.createElement(r, $({}, n));
|
|
3311
3315
|
};
|
|
3312
3316
|
Go.isSideCarExport = !0;
|
|
3313
3317
|
function Ko(e, t) {
|
|
@@ -3315,8 +3319,8 @@ function Ko(e, t) {
|
|
|
3315
3319
|
}
|
|
3316
3320
|
//#endregion
|
|
3317
3321
|
//#region ../node_modules/react-remove-scroll/dist/es2015/medium.js
|
|
3318
|
-
var qo = Wo(), Jo = function() {}, Yo =
|
|
3319
|
-
var n =
|
|
3322
|
+
var qo = Wo(), Jo = function() {}, Yo = F.forwardRef(function(e, t) {
|
|
3323
|
+
var n = F.useRef(null), r = F.useState({
|
|
3320
3324
|
onScrollCapture: Jo,
|
|
3321
3325
|
onWheelCapture: Jo,
|
|
3322
3326
|
onTouchMoveCapture: Jo
|
|
@@ -3335,7 +3339,7 @@ var qo = Wo(), Jo = function() {}, Yo = P.forwardRef(function(e, t) {
|
|
|
3335
3339
|
"as",
|
|
3336
3340
|
"gapMode"
|
|
3337
3341
|
]), x = f, S = Vo([n, t]), C = $($({}, b), i);
|
|
3338
|
-
return
|
|
3342
|
+
return F.createElement(F.Fragment, null, u && F.createElement(x, {
|
|
3339
3343
|
sideCar: qo,
|
|
3340
3344
|
removeScrollBar: l,
|
|
3341
3345
|
shards: d,
|
|
@@ -3346,7 +3350,7 @@ var qo = Wo(), Jo = function() {}, Yo = P.forwardRef(function(e, t) {
|
|
|
3346
3350
|
allowPinchZoom: !!g,
|
|
3347
3351
|
lockRef: n,
|
|
3348
3352
|
gapMode: y
|
|
3349
|
-
}), o ?
|
|
3353
|
+
}), o ? F.cloneElement(F.Children.only(s), $($({}, C), { ref: S })) : F.createElement(v, $({}, C, {
|
|
3350
3354
|
className: c,
|
|
3351
3355
|
ref: S
|
|
3352
3356
|
}), s));
|
|
@@ -3392,7 +3396,7 @@ var es = function() {
|
|
|
3392
3396
|
}, ts = function() {
|
|
3393
3397
|
var e = es();
|
|
3394
3398
|
return function(t, n) {
|
|
3395
|
-
|
|
3399
|
+
F.useEffect(function() {
|
|
3396
3400
|
return e.add(t), function() {
|
|
3397
3401
|
e.remove();
|
|
3398
3402
|
};
|
|
@@ -3475,7 +3479,7 @@ var es = function() {
|
|
|
3475
3479
|
var e = parseInt(document.body.getAttribute("data-scroll-locked") || "0", 10);
|
|
3476
3480
|
return isFinite(e) ? e : 0;
|
|
3477
3481
|
}, ds = function() {
|
|
3478
|
-
|
|
3482
|
+
F.useEffect(function() {
|
|
3479
3483
|
return document.body.setAttribute(cs, (us() + 1).toString()), function() {
|
|
3480
3484
|
var e = us() - 1;
|
|
3481
3485
|
e <= 0 ? document.body.removeAttribute(cs) : document.body.setAttribute(cs, e.toString());
|
|
@@ -3484,10 +3488,10 @@ var es = function() {
|
|
|
3484
3488
|
}, fs = function(e) {
|
|
3485
3489
|
var t = e.noRelative, n = e.noImportant, r = e.gapMode, i = r === void 0 ? "margin" : r;
|
|
3486
3490
|
ds();
|
|
3487
|
-
var a =
|
|
3491
|
+
var a = F.useMemo(function() {
|
|
3488
3492
|
return os(i);
|
|
3489
3493
|
}, [i]);
|
|
3490
|
-
return
|
|
3494
|
+
return F.createElement(ss, { styles: ls(a, !t, i, n ? "" : "!important") });
|
|
3491
3495
|
}, ps = !1;
|
|
3492
3496
|
if (typeof window < "u") try {
|
|
3493
3497
|
var ms = Object.defineProperty({}, "passive", { get: function() {
|
|
@@ -3560,10 +3564,10 @@ var hs = ps ? { passive: !1 } : !1, gs = function(e) {
|
|
|
3560
3564
|
`;
|
|
3561
3565
|
}, Ms = 0, Ns = [];
|
|
3562
3566
|
function Ps(e) {
|
|
3563
|
-
var t =
|
|
3564
|
-
|
|
3567
|
+
var t = F.useRef([]), n = F.useRef([0, 0]), r = F.useRef(), i = F.useState(Ms++)[0], a = F.useState(ns)[0], o = F.useRef(e);
|
|
3568
|
+
F.useEffect(function() {
|
|
3565
3569
|
o.current = e;
|
|
3566
|
-
}, [e]),
|
|
3570
|
+
}, [e]), F.useEffect(function() {
|
|
3567
3571
|
if (e.inert) {
|
|
3568
3572
|
document.body.classList.add(`block-interactivity-${i}`);
|
|
3569
3573
|
var t = Mo([e.lockRef.current], (e.shards || []).map(ks), !0).filter(Boolean);
|
|
@@ -3580,7 +3584,7 @@ function Ps(e) {
|
|
|
3580
3584
|
e.lockRef.current,
|
|
3581
3585
|
e.shards
|
|
3582
3586
|
]);
|
|
3583
|
-
var s =
|
|
3587
|
+
var s = F.useCallback(function(e, t) {
|
|
3584
3588
|
if ("touches" in e && e.touches.length === 2 || e.type === "wheel" && e.ctrlKey) return !o.current.allowPinchZoom;
|
|
3585
3589
|
var i = Ds(e), a = n.current, s = "deltaX" in e ? e.deltaX : a[0] - i[0], c = "deltaY" in e ? e.deltaY : a[1] - i[1], l, u = e.target, d = Math.abs(s) > Math.abs(c) ? "h" : "v";
|
|
3586
3590
|
if ("touches" in e && d === "h" && u.type === "range") return !1;
|
|
@@ -3592,7 +3596,7 @@ function Ps(e) {
|
|
|
3592
3596
|
if (!r.current && "changedTouches" in e && (s || c) && (r.current = l), !l) return !0;
|
|
3593
3597
|
var h = r.current || l;
|
|
3594
3598
|
return Es(h, t, e, h === "h" ? s : c, !0);
|
|
3595
|
-
}, []), c =
|
|
3599
|
+
}, []), c = F.useCallback(function(e) {
|
|
3596
3600
|
var n = e;
|
|
3597
3601
|
if (Ns.length && Ns[Ns.length - 1] === a) {
|
|
3598
3602
|
var r = "deltaY" in n ? Os(n) : Ds(n), i = t.current.filter(function(e) {
|
|
@@ -3606,7 +3610,7 @@ function Ps(e) {
|
|
|
3606
3610
|
(c.length > 0 ? s(n, c[0]) : !o.current.noIsolation) && n.cancelable && n.preventDefault();
|
|
3607
3611
|
}
|
|
3608
3612
|
}
|
|
3609
|
-
}, []), l =
|
|
3613
|
+
}, []), l = F.useCallback(function(e, n, r, i) {
|
|
3610
3614
|
var a = {
|
|
3611
3615
|
name: e,
|
|
3612
3616
|
delta: n,
|
|
@@ -3619,14 +3623,14 @@ function Ps(e) {
|
|
|
3619
3623
|
return e !== a;
|
|
3620
3624
|
});
|
|
3621
3625
|
}, 1);
|
|
3622
|
-
}, []), u =
|
|
3626
|
+
}, []), u = F.useCallback(function(e) {
|
|
3623
3627
|
n.current = Ds(e), r.current = void 0;
|
|
3624
|
-
}, []), d =
|
|
3628
|
+
}, []), d = F.useCallback(function(t) {
|
|
3625
3629
|
l(t.type, Os(t), t.target, s(t, e.lockRef.current));
|
|
3626
|
-
}, []), f =
|
|
3630
|
+
}, []), f = F.useCallback(function(t) {
|
|
3627
3631
|
l(t.type, Ds(t), t.target, s(t, e.lockRef.current));
|
|
3628
3632
|
}, []);
|
|
3629
|
-
|
|
3633
|
+
F.useEffect(function() {
|
|
3630
3634
|
return Ns.push(a), e.setCallbacks({
|
|
3631
3635
|
onScrollCapture: d,
|
|
3632
3636
|
onWheelCapture: d,
|
|
@@ -3638,7 +3642,7 @@ function Ps(e) {
|
|
|
3638
3642
|
};
|
|
3639
3643
|
}, []);
|
|
3640
3644
|
var p = e.removeScrollBar, m = e.inert;
|
|
3641
|
-
return
|
|
3645
|
+
return F.createElement(F.Fragment, null, m ? F.createElement(a, { styles: js(i) }) : null, p ? F.createElement(fs, {
|
|
3642
3646
|
noRelative: e.noRelative,
|
|
3643
3647
|
gapMode: e.gapMode
|
|
3644
3648
|
}) : null);
|
|
@@ -3649,8 +3653,8 @@ function Fs(e) {
|
|
|
3649
3653
|
}
|
|
3650
3654
|
//#endregion
|
|
3651
3655
|
//#region ../node_modules/react-remove-scroll/dist/es2015/sidecar.js
|
|
3652
|
-
var Is = Ko(qo, Ps), Ls =
|
|
3653
|
-
return
|
|
3656
|
+
var Is = Ko(qo, Ps), Ls = F.forwardRef(function(e, t) {
|
|
3657
|
+
return F.createElement(Yo, $({}, e, {
|
|
3654
3658
|
ref: t,
|
|
3655
3659
|
sideCar: Is
|
|
3656
3660
|
}));
|
|
@@ -3658,42 +3662,42 @@ var Is = Ko(qo, Ps), Ls = P.forwardRef(function(e, t) {
|
|
|
3658
3662
|
Ls.classNames = Yo.classNames;
|
|
3659
3663
|
//#endregion
|
|
3660
3664
|
//#region ../node_modules/@radix-ui/react-popover/dist/index.mjs
|
|
3661
|
-
var Rs = "Popover", [zs, Bs] =
|
|
3662
|
-
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, s = Vs(t), c =
|
|
3665
|
+
var Rs = "Popover", [zs, Bs] = zn(Rs, [Ba]), Vs = Ba(), [Hs, Us] = zs(Rs), Ws = (e) => {
|
|
3666
|
+
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, s = Vs(t), c = F.useRef(null), [l, u] = F.useState(!1), [d, f] = ho({
|
|
3663
3667
|
prop: r,
|
|
3664
3668
|
defaultProp: i ?? !1,
|
|
3665
3669
|
onChange: a,
|
|
3666
3670
|
caller: Rs
|
|
3667
3671
|
});
|
|
3668
|
-
return /* @__PURE__ */ (0,
|
|
3672
|
+
return /* @__PURE__ */ (0, L.jsx)(no, {
|
|
3669
3673
|
...s,
|
|
3670
|
-
children: /* @__PURE__ */ (0,
|
|
3674
|
+
children: /* @__PURE__ */ (0, L.jsx)(Hs, {
|
|
3671
3675
|
scope: t,
|
|
3672
3676
|
contentId: jr(),
|
|
3673
3677
|
triggerRef: c,
|
|
3674
3678
|
open: d,
|
|
3675
3679
|
onOpenChange: f,
|
|
3676
|
-
onOpenToggle:
|
|
3680
|
+
onOpenToggle: F.useCallback(() => f((e) => !e), [f]),
|
|
3677
3681
|
hasCustomAnchor: l,
|
|
3678
|
-
onCustomAnchorAdd:
|
|
3679
|
-
onCustomAnchorRemove:
|
|
3682
|
+
onCustomAnchorAdd: F.useCallback(() => u(!0), []),
|
|
3683
|
+
onCustomAnchorRemove: F.useCallback(() => u(!1), []),
|
|
3680
3684
|
modal: o,
|
|
3681
3685
|
children: n
|
|
3682
3686
|
})
|
|
3683
3687
|
});
|
|
3684
3688
|
};
|
|
3685
3689
|
Ws.displayName = Rs;
|
|
3686
|
-
var Gs = "PopoverAnchor", Ks =
|
|
3690
|
+
var Gs = "PopoverAnchor", Ks = F.forwardRef((e, t) => {
|
|
3687
3691
|
let { __scopePopover: n, ...r } = e, i = Us(Gs, n), a = Vs(n), { onCustomAnchorAdd: o, onCustomAnchorRemove: s } = i;
|
|
3688
|
-
return
|
|
3692
|
+
return F.useEffect(() => (o(), () => s()), [o, s]), /* @__PURE__ */ (0, L.jsx)(ro, {
|
|
3689
3693
|
...a,
|
|
3690
3694
|
...r,
|
|
3691
3695
|
ref: t
|
|
3692
3696
|
});
|
|
3693
3697
|
});
|
|
3694
3698
|
Ks.displayName = Gs;
|
|
3695
|
-
var qs = "PopoverTrigger", Js =
|
|
3696
|
-
let { __scopePopover: n, ...r } = e, i = Us(qs, n), a = Vs(n), o =
|
|
3699
|
+
var qs = "PopoverTrigger", Js = F.forwardRef((e, t) => {
|
|
3700
|
+
let { __scopePopover: n, ...r } = e, i = Us(qs, n), a = Vs(n), o = V(t, i.triggerRef), s = /* @__PURE__ */ (0, L.jsx)(H.button, {
|
|
3697
3701
|
type: "button",
|
|
3698
3702
|
"aria-haspopup": "dialog",
|
|
3699
3703
|
"aria-expanded": i.open,
|
|
@@ -3701,55 +3705,55 @@ var qs = "PopoverTrigger", Js = P.forwardRef((e, t) => {
|
|
|
3701
3705
|
"data-state": sc(i.open),
|
|
3702
3706
|
...r,
|
|
3703
3707
|
ref: o,
|
|
3704
|
-
onClick:
|
|
3708
|
+
onClick: B(e.onClick, i.onOpenToggle)
|
|
3705
3709
|
});
|
|
3706
|
-
return i.hasCustomAnchor ? s : /* @__PURE__ */ (0,
|
|
3710
|
+
return i.hasCustomAnchor ? s : /* @__PURE__ */ (0, L.jsx)(ro, {
|
|
3707
3711
|
asChild: !0,
|
|
3708
3712
|
...a,
|
|
3709
3713
|
children: s
|
|
3710
3714
|
});
|
|
3711
3715
|
});
|
|
3712
3716
|
Js.displayName = qs;
|
|
3713
|
-
var [Ys, Xs] = zs("PopoverPortal", { forceMount: void 0 }), Zs = "PopoverContent", Qs =
|
|
3717
|
+
var [Ys, Xs] = zs("PopoverPortal", { forceMount: void 0 }), Zs = "PopoverContent", Qs = F.forwardRef((e, t) => {
|
|
3714
3718
|
let n = Xs(Zs, e.__scopePopover), { forceMount: r = n.forceMount, ...i } = e, a = Us(Zs, e.__scopePopover);
|
|
3715
|
-
return /* @__PURE__ */ (0,
|
|
3719
|
+
return /* @__PURE__ */ (0, L.jsx)(lo, {
|
|
3716
3720
|
present: r || a.open,
|
|
3717
|
-
children: a.modal ? /* @__PURE__ */ (0,
|
|
3721
|
+
children: a.modal ? /* @__PURE__ */ (0, L.jsx)(ec, {
|
|
3718
3722
|
...i,
|
|
3719
3723
|
ref: t
|
|
3720
|
-
}) : /* @__PURE__ */ (0,
|
|
3724
|
+
}) : /* @__PURE__ */ (0, L.jsx)(tc, {
|
|
3721
3725
|
...i,
|
|
3722
3726
|
ref: t
|
|
3723
3727
|
})
|
|
3724
3728
|
});
|
|
3725
3729
|
});
|
|
3726
3730
|
Qs.displayName = Zs;
|
|
3727
|
-
var $s = /* @__PURE__ */
|
|
3728
|
-
let n = Us(Zs, e.__scopePopover), r =
|
|
3729
|
-
return
|
|
3731
|
+
var $s = /* @__PURE__ */ Vn("PopoverContent.RemoveScroll"), ec = F.forwardRef((e, t) => {
|
|
3732
|
+
let n = Us(Zs, e.__scopePopover), r = F.useRef(null), i = V(t, r), a = F.useRef(!1);
|
|
3733
|
+
return F.useEffect(() => {
|
|
3730
3734
|
let e = r.current;
|
|
3731
3735
|
if (e) return Eo(e);
|
|
3732
|
-
}, []), /* @__PURE__ */ (0,
|
|
3736
|
+
}, []), /* @__PURE__ */ (0, L.jsx)(Ls, {
|
|
3733
3737
|
as: $s,
|
|
3734
3738
|
allowPinchZoom: !0,
|
|
3735
|
-
children: /* @__PURE__ */ (0,
|
|
3739
|
+
children: /* @__PURE__ */ (0, L.jsx)(nc, {
|
|
3736
3740
|
...e,
|
|
3737
3741
|
ref: i,
|
|
3738
3742
|
trapFocus: n.open,
|
|
3739
3743
|
disableOutsidePointerEvents: !0,
|
|
3740
|
-
onCloseAutoFocus:
|
|
3744
|
+
onCloseAutoFocus: B(e.onCloseAutoFocus, (e) => {
|
|
3741
3745
|
e.preventDefault(), a.current || n.triggerRef.current?.focus();
|
|
3742
3746
|
}),
|
|
3743
|
-
onPointerDownOutside:
|
|
3747
|
+
onPointerDownOutside: B(e.onPointerDownOutside, (e) => {
|
|
3744
3748
|
let t = e.detail.originalEvent, n = t.button === 0 && t.ctrlKey === !0, r = t.button === 2 || n;
|
|
3745
3749
|
a.current = r;
|
|
3746
3750
|
}, { checkForDefaultPrevented: !1 }),
|
|
3747
|
-
onFocusOutside:
|
|
3751
|
+
onFocusOutside: B(e.onFocusOutside, (e) => e.preventDefault(), { checkForDefaultPrevented: !1 })
|
|
3748
3752
|
})
|
|
3749
3753
|
});
|
|
3750
|
-
}), tc =
|
|
3751
|
-
let n = Us(Zs, e.__scopePopover), r =
|
|
3752
|
-
return /* @__PURE__ */ (0,
|
|
3754
|
+
}), tc = F.forwardRef((e, t) => {
|
|
3755
|
+
let n = Us(Zs, e.__scopePopover), r = F.useRef(!1), i = F.useRef(!1);
|
|
3756
|
+
return /* @__PURE__ */ (0, L.jsx)(nc, {
|
|
3753
3757
|
...e,
|
|
3754
3758
|
ref: t,
|
|
3755
3759
|
trapFocus: !1,
|
|
@@ -3763,15 +3767,15 @@ var $s = /* @__PURE__ */ Hn("PopoverContent.RemoveScroll"), ec = P.forwardRef((e
|
|
|
3763
3767
|
n.triggerRef.current?.contains(a) && t.preventDefault(), t.detail.originalEvent.type === "focusin" && i.current && t.preventDefault();
|
|
3764
3768
|
}
|
|
3765
3769
|
});
|
|
3766
|
-
}), nc =
|
|
3770
|
+
}), nc = F.forwardRef((e, t) => {
|
|
3767
3771
|
let { __scopePopover: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, disableOutsidePointerEvents: o, onEscapeKeyDown: s, onPointerDownOutside: c, onFocusOutside: l, onInteractOutside: u, ...d } = e, f = Us(Zs, n), p = Vs(n);
|
|
3768
|
-
return
|
|
3772
|
+
return ur(), /* @__PURE__ */ (0, L.jsx)(gr, {
|
|
3769
3773
|
asChild: !0,
|
|
3770
3774
|
loop: !0,
|
|
3771
3775
|
trapped: r,
|
|
3772
3776
|
onMountAutoFocus: i,
|
|
3773
3777
|
onUnmountAutoFocus: a,
|
|
3774
|
-
children: /* @__PURE__ */ (0,
|
|
3778
|
+
children: /* @__PURE__ */ (0, L.jsx)(nr, {
|
|
3775
3779
|
asChild: !0,
|
|
3776
3780
|
disableOutsidePointerEvents: o,
|
|
3777
3781
|
onInteractOutside: u,
|
|
@@ -3779,7 +3783,7 @@ var $s = /* @__PURE__ */ Hn("PopoverContent.RemoveScroll"), ec = P.forwardRef((e
|
|
|
3779
3783
|
onPointerDownOutside: c,
|
|
3780
3784
|
onFocusOutside: l,
|
|
3781
3785
|
onDismiss: () => f.onOpenChange(!1),
|
|
3782
|
-
children: /* @__PURE__ */ (0,
|
|
3786
|
+
children: /* @__PURE__ */ (0, L.jsx)(io, {
|
|
3783
3787
|
"data-state": sc(f.open),
|
|
3784
3788
|
role: "dialog",
|
|
3785
3789
|
id: f.contentId,
|
|
@@ -3797,19 +3801,19 @@ var $s = /* @__PURE__ */ Hn("PopoverContent.RemoveScroll"), ec = P.forwardRef((e
|
|
|
3797
3801
|
})
|
|
3798
3802
|
})
|
|
3799
3803
|
});
|
|
3800
|
-
}), rc = "PopoverClose", ic =
|
|
3804
|
+
}), rc = "PopoverClose", ic = F.forwardRef((e, t) => {
|
|
3801
3805
|
let { __scopePopover: n, ...r } = e, i = Us(rc, n);
|
|
3802
|
-
return /* @__PURE__ */ (0,
|
|
3806
|
+
return /* @__PURE__ */ (0, L.jsx)(H.button, {
|
|
3803
3807
|
type: "button",
|
|
3804
3808
|
...r,
|
|
3805
3809
|
ref: t,
|
|
3806
|
-
onClick:
|
|
3810
|
+
onClick: B(e.onClick, () => i.onOpenChange(!1))
|
|
3807
3811
|
});
|
|
3808
3812
|
});
|
|
3809
3813
|
ic.displayName = rc;
|
|
3810
|
-
var ac = "PopoverArrow", oc =
|
|
3814
|
+
var ac = "PopoverArrow", oc = F.forwardRef((e, t) => {
|
|
3811
3815
|
let { __scopePopover: n, ...r } = e, i = Vs(n);
|
|
3812
|
-
return /* @__PURE__ */ (0,
|
|
3816
|
+
return /* @__PURE__ */ (0, L.jsx)(ao, {
|
|
3813
3817
|
...i,
|
|
3814
3818
|
...r,
|
|
3815
3819
|
ref: t
|
|
@@ -3819,169 +3823,169 @@ oc.displayName = ac;
|
|
|
3819
3823
|
function sc(e) {
|
|
3820
3824
|
return e ? "open" : "closed";
|
|
3821
3825
|
}
|
|
3822
|
-
var cc = Ws, lc = Js, uc = Qs, dc = oc, fc = ({ message: e, trigger: t, initialVisibility: n = !1 }) => /* @__PURE__ */ (0,
|
|
3826
|
+
var cc = Ws, lc = Js, uc = Qs, dc = oc, fc = ({ message: e, trigger: t, initialVisibility: n = !1 }) => /* @__PURE__ */ (0, L.jsxs)(cc, {
|
|
3823
3827
|
defaultOpen: n,
|
|
3824
|
-
children: [/* @__PURE__ */ (0,
|
|
3828
|
+
children: [/* @__PURE__ */ (0, L.jsx)("div", {
|
|
3825
3829
|
className: "flex justify-center",
|
|
3826
|
-
children: /* @__PURE__ */ (0,
|
|
3830
|
+
children: /* @__PURE__ */ (0, L.jsx)(lc, {
|
|
3827
3831
|
asChild: !0,
|
|
3828
3832
|
children: t
|
|
3829
3833
|
})
|
|
3830
|
-
}), /* @__PURE__ */ (0,
|
|
3834
|
+
}), /* @__PURE__ */ (0, L.jsxs)(uc, {
|
|
3831
3835
|
className: "sid-popover__container",
|
|
3832
3836
|
sideOffset: 10,
|
|
3833
3837
|
side: "bottom",
|
|
3834
|
-
children: [e, /* @__PURE__ */ (0,
|
|
3838
|
+
children: [e, /* @__PURE__ */ (0, L.jsx)(dc, { className: "sid-popover__caret" })]
|
|
3835
3839
|
})]
|
|
3836
|
-
}), pc = ({ verificationService: e, initialVisibility: t = !1 }) => /* @__PURE__ */ (0,
|
|
3840
|
+
}), pc = ({ verificationService: e, initialVisibility: t = !1 }) => /* @__PURE__ */ (0, L.jsx)(fc, {
|
|
3837
3841
|
initialVisibility: t,
|
|
3838
|
-
trigger: /* @__PURE__ */ (0,
|
|
3842
|
+
trigger: /* @__PURE__ */ (0, L.jsx)("button", {
|
|
3839
3843
|
type: "button",
|
|
3840
3844
|
className: "sid-h-btn-link-like sid-link sid-how-does-verifying-work-hoverable",
|
|
3841
|
-
children: /* @__PURE__ */ (0,
|
|
3845
|
+
children: /* @__PURE__ */ (0, L.jsx)(N, { id: "howDoesVerifyingWork" })
|
|
3842
3846
|
}),
|
|
3843
|
-
message: /* @__PURE__ */ (0,
|
|
3844
|
-
/* @__PURE__ */ (0,
|
|
3847
|
+
message: /* @__PURE__ */ (0, L.jsxs)("div", { children: [
|
|
3848
|
+
/* @__PURE__ */ (0, L.jsx)(N, { id: "step.personalInfo.howDoesVerifyingWorkDetails" }),
|
|
3845
3849
|
"\xA0",
|
|
3846
|
-
/* @__PURE__ */ (0,
|
|
3850
|
+
/* @__PURE__ */ (0, L.jsx)(Jt, { verificationService: e })
|
|
3847
3851
|
] })
|
|
3848
3852
|
}), mc = (e) => {
|
|
3849
|
-
let t =
|
|
3850
|
-
return typeof r == "number" && r > 0 ? /* @__PURE__ */ (0,
|
|
3853
|
+
let t = Ee(), n = Pe(), r = i(() => n.remainingRewardCodes, null);
|
|
3854
|
+
return typeof r == "number" && r > 0 ? /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
3851
3855
|
className: "sid-rewards-remaining",
|
|
3852
3856
|
role: "note",
|
|
3853
3857
|
children: [
|
|
3854
|
-
/* @__PURE__ */ (0,
|
|
3855
|
-
/* @__PURE__ */ (0,
|
|
3858
|
+
/* @__PURE__ */ (0, L.jsx)("div", { className: "sid-l-space-top-md" }),
|
|
3859
|
+
/* @__PURE__ */ (0, L.jsx)(P, {
|
|
3856
3860
|
id: "lowRewardPool",
|
|
3857
3861
|
defaultMessage: t?.lowRewardPool,
|
|
3858
3862
|
values: { offersRemaining: r }
|
|
3859
3863
|
}),
|
|
3860
|
-
/* @__PURE__ */ (0,
|
|
3864
|
+
/* @__PURE__ */ (0, L.jsx)("div", { className: "sid-l-space-top-sm" })
|
|
3861
3865
|
]
|
|
3862
3866
|
}) : null;
|
|
3863
3867
|
}, hc = (e) => e !== void 0, gc = ({ verificationService: e, classNameIdentifier: t = void 0 }) => {
|
|
3864
|
-
let { verificationResponse: n } = e, r = hc(n) ?
|
|
3865
|
-
return /* @__PURE__ */ (0,
|
|
3868
|
+
let { verificationResponse: n } = e, r = hc(n) ? lt(n) : !1;
|
|
3869
|
+
return /* @__PURE__ */ (0, L.jsx)("div", {
|
|
3866
3870
|
className: "sid-personal-info-header",
|
|
3867
|
-
children: /* @__PURE__ */ (0,
|
|
3871
|
+
children: /* @__PURE__ */ (0, L.jsxs)(In, {
|
|
3868
3872
|
verificationService: e,
|
|
3869
|
-
title: /* @__PURE__ */ (0,
|
|
3873
|
+
title: /* @__PURE__ */ (0, L.jsx)(N, { id: r ? "step.personalInfo.tryAgain.title" : "step.personalInfo.title" }),
|
|
3870
3874
|
classNameIdentifier: t,
|
|
3871
3875
|
children: [
|
|
3872
|
-
/* @__PURE__ */ (0,
|
|
3876
|
+
/* @__PURE__ */ (0, L.jsx)("div", {
|
|
3873
3877
|
className: `sid-header__subtitle sid-l-horz-center ${r ? "sid-header__subtitle--error" : ""}`,
|
|
3874
|
-
children: /* @__PURE__ */ (0,
|
|
3878
|
+
children: /* @__PURE__ */ (0, L.jsx)(P, { id: r ? "step.personalInfo.tryAgain.subtitle" : "step.personalInfo.subtitle" })
|
|
3875
3879
|
}),
|
|
3876
|
-
/* @__PURE__ */ (0,
|
|
3880
|
+
/* @__PURE__ */ (0, L.jsx)("div", {
|
|
3877
3881
|
className: "sid-header__how-verifying-works sid-l-horz-center",
|
|
3878
|
-
children: !r && /* @__PURE__ */ (0,
|
|
3882
|
+
children: !r && /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(pc, { verificationService: e }), /* @__PURE__ */ (0, L.jsx)(mc, { verificationService: e })] })
|
|
3879
3883
|
}),
|
|
3880
|
-
/* @__PURE__ */ (0,
|
|
3884
|
+
/* @__PURE__ */ (0, L.jsx)("div", {
|
|
3881
3885
|
className: "sid-h-medium-text sid-l-space-btm-sm sid-l-space-top-sm",
|
|
3882
|
-
children: /* @__PURE__ */ (0,
|
|
3886
|
+
children: /* @__PURE__ */ (0, L.jsx)(P, { id: "requiredFields" })
|
|
3883
3887
|
})
|
|
3884
3888
|
]
|
|
3885
3889
|
})
|
|
3886
3890
|
});
|
|
3887
|
-
}, _c = () => ({ isEmbedded: !!
|
|
3891
|
+
}, _c = () => ({ isEmbedded: !!g("verificationIframeUid") }), vc = ({ layout: e, children: t, verificationService: n, renderAsLandingPage: r }) => {
|
|
3888
3892
|
let { isEmbedded: i } = _c();
|
|
3889
|
-
return !r || i ? /* @__PURE__ */ (0,
|
|
3893
|
+
return !r || i ? /* @__PURE__ */ (0, L.jsx)(L.Fragment, { children: t }) : /* @__PURE__ */ (0, L.jsx)("div", {
|
|
3890
3894
|
className: `sid-layout sid-layout--${e}`,
|
|
3891
|
-
children: /* @__PURE__ */ (0,
|
|
3895
|
+
children: /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
3892
3896
|
className: "sid-layout__container",
|
|
3893
|
-
children: [e === "fullRight" && /* @__PURE__ */ (0,
|
|
3897
|
+
children: [e === "fullRight" && /* @__PURE__ */ (0, L.jsx)("div", {
|
|
3894
3898
|
className: "sid-layout__content",
|
|
3895
|
-
children: /* @__PURE__ */ (0,
|
|
3899
|
+
children: /* @__PURE__ */ (0, L.jsx)(gc, {
|
|
3896
3900
|
verificationService: n,
|
|
3897
3901
|
classNameIdentifier: "landing"
|
|
3898
3902
|
})
|
|
3899
|
-
}), /* @__PURE__ */ (0,
|
|
3903
|
+
}), /* @__PURE__ */ (0, L.jsx)("div", {
|
|
3900
3904
|
className: "sid-layout__form-container",
|
|
3901
|
-
children: /* @__PURE__ */ (0,
|
|
3905
|
+
children: /* @__PURE__ */ (0, L.jsx)("div", {
|
|
3902
3906
|
className: "sid-layout__form",
|
|
3903
3907
|
children: t
|
|
3904
3908
|
})
|
|
3905
3909
|
})]
|
|
3906
3910
|
})
|
|
3907
3911
|
});
|
|
3908
|
-
}, yc = ({ children: e }) => /* @__PURE__ */ (0,
|
|
3912
|
+
}, yc = ({ children: e }) => /* @__PURE__ */ (0, L.jsx)("div", {
|
|
3909
3913
|
className: "sid sid-form-wrapper",
|
|
3910
3914
|
children: e
|
|
3911
|
-
}), bc = ({ locale: e, programTheme:
|
|
3912
|
-
let
|
|
3913
|
-
...
|
|
3914
|
-
...
|
|
3915
|
-
} :
|
|
3916
|
-
...
|
|
3917
|
-
programTheme:
|
|
3918
|
-
verificationResponse:
|
|
3919
|
-
formValidationOptions:
|
|
3915
|
+
}), bc = ({ locale: e, programTheme: n, verificationService: r, programId: i }) => {
|
|
3916
|
+
let a = vt(), { renderAs: o, _launchDarklyUserTargeting: c } = b(), u = Me() ?? n, d = Pe(), p = De(), { isLoading: m, loadingStep: h } = we(), g = Le(ze, xe), _ = (0, F.useMemo)(() => g ? {
|
|
3917
|
+
...r.verificationResponse,
|
|
3918
|
+
...g
|
|
3919
|
+
} : r.verificationResponse, [g, r.verificationResponse]), v = (0, F.useMemo)(() => ({
|
|
3920
|
+
...r,
|
|
3921
|
+
programTheme: u,
|
|
3922
|
+
verificationResponse: _,
|
|
3923
|
+
formValidationOptions: Ht(d, _, r.viewModel)
|
|
3920
3924
|
}), [
|
|
3921
|
-
|
|
3922
|
-
|
|
3923
|
-
|
|
3924
|
-
|
|
3925
|
-
]),
|
|
3926
|
-
|
|
3925
|
+
r,
|
|
3926
|
+
u,
|
|
3927
|
+
d,
|
|
3928
|
+
_
|
|
3929
|
+
]), x = u?.themeChoices?.landingPage?.layout || "center", S = bt();
|
|
3930
|
+
F.useEffect(() => {
|
|
3927
3931
|
try {
|
|
3928
|
-
if (
|
|
3929
|
-
let e = (0,
|
|
3930
|
-
|
|
3931
|
-
let
|
|
3932
|
+
if (S && v && v.viewModel) {
|
|
3933
|
+
let e = (0, It.default)(S);
|
|
3934
|
+
l(t.flags, e);
|
|
3935
|
+
let n = v.viewModel.metadata || {}, r = f(n, (t) => {
|
|
3932
3936
|
t.flags = e;
|
|
3933
|
-
}),
|
|
3934
|
-
e.metadata =
|
|
3937
|
+
}), i = f(v.viewModel, (e) => {
|
|
3938
|
+
e.metadata = r;
|
|
3935
3939
|
});
|
|
3936
|
-
|
|
3940
|
+
v.updateViewModel(i);
|
|
3937
3941
|
}
|
|
3938
3942
|
} catch (e) {
|
|
3939
|
-
|
|
3943
|
+
j.error(e);
|
|
3940
3944
|
}
|
|
3941
|
-
}, []),
|
|
3942
|
-
if (
|
|
3945
|
+
}, []), F.useEffect(() => {
|
|
3946
|
+
if (p && c && a) {
|
|
3943
3947
|
let e = {
|
|
3944
3948
|
kind: "multi",
|
|
3945
3949
|
user: {
|
|
3946
|
-
key:
|
|
3947
|
-
locale:
|
|
3948
|
-
segment:
|
|
3949
|
-
installType:
|
|
3950
|
+
key: p,
|
|
3951
|
+
locale: v.verificationResponse.locale,
|
|
3952
|
+
segment: v.verificationResponse.segment,
|
|
3953
|
+
installType: ae()
|
|
3950
3954
|
},
|
|
3951
|
-
program: { key:
|
|
3955
|
+
program: { key: i }
|
|
3952
3956
|
};
|
|
3953
|
-
|
|
3957
|
+
a.identify(e);
|
|
3954
3958
|
}
|
|
3955
|
-
}, [
|
|
3959
|
+
}, [p, a]), F.useEffect(() => {
|
|
3956
3960
|
try {
|
|
3957
|
-
|
|
3961
|
+
b()._launchDarklyFlagCb(S);
|
|
3958
3962
|
} catch {}
|
|
3959
|
-
}, [
|
|
3960
|
-
let
|
|
3961
|
-
...
|
|
3962
|
-
...(0,
|
|
3963
|
-
...(0,
|
|
3963
|
+
}, [S]);
|
|
3964
|
+
let C = Ee(), E = Le(ze, fe), D = {
|
|
3965
|
+
...C,
|
|
3966
|
+
...(0, Ft.default)(y(e)),
|
|
3967
|
+
...(0, Ft.default)(E?.[e] ?? {})
|
|
3964
3968
|
};
|
|
3965
|
-
return /* @__PURE__ */ (0,
|
|
3969
|
+
return /* @__PURE__ */ (0, L.jsx)(Et, {
|
|
3966
3970
|
locale: "en",
|
|
3967
|
-
messages:
|
|
3968
|
-
textComponent:
|
|
3969
|
-
children: /* @__PURE__ */ (0,
|
|
3970
|
-
themeChoices:
|
|
3971
|
-
customCssFromOptions:
|
|
3972
|
-
children: /* @__PURE__ */ (0,
|
|
3973
|
-
className: `${
|
|
3974
|
-
children: /* @__PURE__ */ (0,
|
|
3975
|
-
layout:
|
|
3976
|
-
verificationService:
|
|
3977
|
-
renderAsLandingPage:
|
|
3978
|
-
children: /* @__PURE__ */ (0,
|
|
3979
|
-
i18n:
|
|
3980
|
-
children: /* @__PURE__ */ (0,
|
|
3981
|
-
fallback: /* @__PURE__ */ (0,
|
|
3982
|
-
children:
|
|
3983
|
-
stepToLoad:
|
|
3984
|
-
verificationService:
|
|
3971
|
+
messages: D,
|
|
3972
|
+
textComponent: Pn,
|
|
3973
|
+
children: /* @__PURE__ */ (0, L.jsx)(Vt, {
|
|
3974
|
+
themeChoices: u?.themeChoices,
|
|
3975
|
+
customCssFromOptions: b().customCss,
|
|
3976
|
+
children: /* @__PURE__ */ (0, L.jsx)("div", {
|
|
3977
|
+
className: `${Rt.default.isRtlLang(T(e)) ? "sid-rtl" : "sid-ltr"} sid-locale-${e}`,
|
|
3978
|
+
children: /* @__PURE__ */ (0, L.jsx)(yc, { children: /* @__PURE__ */ (0, L.jsx)(vc, {
|
|
3979
|
+
layout: x,
|
|
3980
|
+
verificationService: v,
|
|
3981
|
+
renderAsLandingPage: o === "landingPage",
|
|
3982
|
+
children: /* @__PURE__ */ (0, L.jsx)(At, {
|
|
3983
|
+
i18n: s,
|
|
3984
|
+
children: /* @__PURE__ */ (0, L.jsx)(F.Suspense, {
|
|
3985
|
+
fallback: /* @__PURE__ */ (0, L.jsx)(qt, { step: h }),
|
|
3986
|
+
children: m ? /* @__PURE__ */ (0, L.jsx)(qt, { step: h }) : Ze("mockStep") === re.loading ? /* @__PURE__ */ (0, L.jsx)(qt, { step: Ze(w) }) : /* @__PURE__ */ (0, L.jsxs)("div", { children: [!b().hideTestModeFlag && /* @__PURE__ */ (0, L.jsx)(Fn, { verificationService: v }), /* @__PURE__ */ (0, L.jsx)(Nn, {
|
|
3987
|
+
stepToLoad: v.overrideStep || v.verificationResponse?.currentStep,
|
|
3988
|
+
verificationService: v
|
|
3985
3989
|
})] })
|
|
3986
3990
|
})
|
|
3987
3991
|
})
|
|
@@ -3994,13 +3998,13 @@ var cc = Ws, lc = Js, uc = Qs, dc = oc, fc = ({ message: e, trigger: t, initialV
|
|
|
3994
3998
|
document.addEventListener("keydown", (t) => {
|
|
3995
3999
|
if (t.key !== "Tab") return;
|
|
3996
4000
|
let n = document.querySelectorAll("button, .sid-link, input, select, textarea, [tabindex]:not([tabindex=\"-1\"]");
|
|
3997
|
-
e = n[n.length - 1], e && !t.shiftKey && document.activeElement === e && (
|
|
4001
|
+
e = n[n.length - 1], e && !t.shiftKey && document.activeElement === e && ($e({
|
|
3998
4002
|
type: "focus",
|
|
3999
4003
|
focusOn: "firstElement"
|
|
4000
4004
|
}), t.preventDefault());
|
|
4001
4005
|
}), window.addEventListener("message", (t) => {
|
|
4002
4006
|
t.data.focusOn === "lastElement" && e && e.focus();
|
|
4003
|
-
}),
|
|
4007
|
+
}), $e({
|
|
4004
4008
|
type: "focus",
|
|
4005
4009
|
focusOn: "firstElement"
|
|
4006
4010
|
});
|
|
@@ -4008,97 +4012,97 @@ var cc = Ws, lc = Js, uc = Qs, dc = oc, fc = ({ message: e, trigger: t, initialV
|
|
|
4008
4012
|
window.addEventListener("message", (e) => {
|
|
4009
4013
|
e.data.isInLightBox === "true" && xc();
|
|
4010
4014
|
});
|
|
4011
|
-
}, Cc = class extends
|
|
4015
|
+
}, Cc = class extends F.Component {
|
|
4012
4016
|
verificationService;
|
|
4013
4017
|
constructor(e) {
|
|
4014
|
-
super(e),
|
|
4018
|
+
super(e), j.info("NewVerificationComponent: constructing"), this.props.trackingId && this.props.trackingId.length ? j.info(`Attaching a trackingId to this verification request ${this.props.trackingId}`) : j.info("No trackingId to associate with the verification request");
|
|
4015
4019
|
}
|
|
4016
4020
|
componentDidMount() {
|
|
4017
|
-
|
|
4021
|
+
O(), Sc(), Be((e) => {
|
|
4018
4022
|
switch (e.data.action) {
|
|
4019
4023
|
case "setViewModel":
|
|
4020
|
-
|
|
4024
|
+
ut(e.data.viewModel, {
|
|
4021
4025
|
partial: !0,
|
|
4022
4026
|
metadataCheck: !0,
|
|
4023
4027
|
externalUserIdCheck: !0
|
|
4024
4028
|
});
|
|
4025
4029
|
break;
|
|
4026
|
-
case "setOptions":
|
|
4030
|
+
case "setOptions": D(e.data.options);
|
|
4027
4031
|
}
|
|
4028
|
-
}),
|
|
4029
|
-
let e =
|
|
4032
|
+
}), j.info("NewVerificationComponent: fetchNewVerificationRequest");
|
|
4033
|
+
let e = i(() => this.props.verificationService.verificationResponse.segment);
|
|
4030
4034
|
this.props.verificationService.fetchNewVerificationRequest(this.props.programId, e, this.props.verificationService.previousViewModel, this.props.trackingId);
|
|
4031
4035
|
}
|
|
4032
4036
|
render() {
|
|
4033
|
-
let { viewModel: e } = this.props.verificationService, t =
|
|
4034
|
-
return
|
|
4037
|
+
let { viewModel: e } = this.props.verificationService, t = E(e), { programTheme: n } = this.props.verificationService, { verificationResponse: r } = this.props.verificationService;
|
|
4038
|
+
return j.info("NewVerificationComponent: verificationResponse, viewModel", r, e), j.info(`NewVerificationComponent: locale: ${t}, currentStep: ${r?.currentStep}`), /* @__PURE__ */ (0, L.jsx)(bc, {
|
|
4035
4039
|
locale: t,
|
|
4036
4040
|
programTheme: n,
|
|
4037
4041
|
verificationService: this.props.verificationService,
|
|
4038
4042
|
programId: this.props.programId
|
|
4039
4043
|
});
|
|
4040
4044
|
}
|
|
4041
|
-
}, wc =
|
|
4045
|
+
}, wc = Te((e, t) => ({ ...e }), (e, t) => ({
|
|
4042
4046
|
dispatch: e,
|
|
4043
|
-
fetchNewVerificationRequest:
|
|
4044
|
-
fetchExistingVerificationRequest:
|
|
4045
|
-
updateViewModel:
|
|
4046
|
-
updateLocale:
|
|
4047
|
-
updateProgramTheme:
|
|
4048
|
-
updateFieldValidationErrors:
|
|
4049
|
-
resetState:
|
|
4047
|
+
fetchNewVerificationRequest: dt(e),
|
|
4048
|
+
fetchExistingVerificationRequest: nt(e),
|
|
4049
|
+
updateViewModel: at(e),
|
|
4050
|
+
updateLocale: gt(e, t.programId),
|
|
4051
|
+
updateProgramTheme: it(e),
|
|
4052
|
+
updateFieldValidationErrors: ct(e),
|
|
4053
|
+
resetState: mt(e)
|
|
4050
4054
|
}), (e, t, n) => {
|
|
4051
4055
|
let { dispatch: r, ...i } = t, { programTheme: a } = e;
|
|
4052
4056
|
return {
|
|
4053
4057
|
verificationService: {
|
|
4054
4058
|
...e,
|
|
4055
4059
|
...i,
|
|
4056
|
-
submitStep:
|
|
4060
|
+
submitStep: rt(r, a)
|
|
4057
4061
|
},
|
|
4058
4062
|
...n
|
|
4059
4063
|
};
|
|
4060
4064
|
})(Cc), Tc = (e) => ({
|
|
4061
4065
|
kind: "program",
|
|
4062
4066
|
key: e
|
|
4063
|
-
}), Ec = ({ programId: e, children: t }) => /* @__PURE__ */ (0,
|
|
4067
|
+
}), Ec = ({ programId: e, children: t }) => /* @__PURE__ */ (0, L.jsx)(yt, {
|
|
4064
4068
|
clientSideID: "6530161f9ff41712a2eef741",
|
|
4065
4069
|
context: Tc(e),
|
|
4066
|
-
flags:
|
|
4070
|
+
flags: xt,
|
|
4067
4071
|
reactOptions: { useCamelCaseFlagKeys: !1 },
|
|
4068
4072
|
options: { streaming: !1 },
|
|
4069
4073
|
children: t
|
|
4070
4074
|
}), Dc = ({ programId: e }) => {
|
|
4071
|
-
let t =
|
|
4072
|
-
return (0,
|
|
4075
|
+
let t = St("hc-my-sheer-id-theme-builder") === !0;
|
|
4076
|
+
return (0, F.useEffect)(() => {
|
|
4073
4077
|
if (!t || !e) return;
|
|
4074
4078
|
let n = !0;
|
|
4075
|
-
return
|
|
4076
|
-
n &&
|
|
4079
|
+
return qe.fetchProgramBranding(e).then((e) => {
|
|
4080
|
+
n && ke(e);
|
|
4077
4081
|
}).catch(() => void 0), () => {
|
|
4078
|
-
n = !1,
|
|
4082
|
+
n = !1, Ae();
|
|
4079
4083
|
};
|
|
4080
4084
|
}, [t, e]), null;
|
|
4081
|
-
}, Oc =
|
|
4082
|
-
|
|
4083
|
-
var kc =
|
|
4085
|
+
}, Oc = pt();
|
|
4086
|
+
l(t.jslibVersionActual, i(() => Je(), "?")), l(t.clientVersion, i(() => Je(), "?"));
|
|
4087
|
+
var kc = F.forwardRef(({ programId: e, trackingId: t = void 0 }, r) => {
|
|
4084
4088
|
try {
|
|
4085
|
-
|
|
4089
|
+
tt();
|
|
4086
4090
|
} catch (e) {
|
|
4087
|
-
|
|
4091
|
+
j.warn("Failed to add predefined hooks", e);
|
|
4088
4092
|
}
|
|
4089
|
-
return (0,
|
|
4090
|
-
|
|
4093
|
+
return (0, F.useEffect)(() => {
|
|
4094
|
+
n();
|
|
4091
4095
|
}), Oc.dispatch({
|
|
4092
4096
|
programId: e,
|
|
4093
4097
|
type: "PROGRAM_ID"
|
|
4094
|
-
}),
|
|
4095
|
-
refresh:
|
|
4096
|
-
reset:
|
|
4097
|
-
}), /* @__PURE__ */ (0,
|
|
4098
|
+
}), r && (r.current = {
|
|
4099
|
+
refresh: F.useCallback(() => Oc.dispatch({ type: "FORCE_UPDATE" }), []),
|
|
4100
|
+
reset: F.useCallback(() => Oc.dispatch({ type: "RESET_STATE" }), [])
|
|
4101
|
+
}), /* @__PURE__ */ (0, L.jsx)(Re, {
|
|
4098
4102
|
store: Oc,
|
|
4099
|
-
children: /* @__PURE__ */ (0,
|
|
4103
|
+
children: /* @__PURE__ */ (0, L.jsxs)(Ec, {
|
|
4100
4104
|
programId: e,
|
|
4101
|
-
children: [/* @__PURE__ */ (0,
|
|
4105
|
+
children: [/* @__PURE__ */ (0, L.jsx)(Dc, { programId: e }), /* @__PURE__ */ (0, L.jsx)(wc, {
|
|
4102
4106
|
programId: e,
|
|
4103
4107
|
trackingId: t
|
|
4104
4108
|
})]
|
|
@@ -4112,7 +4116,7 @@ var kc = P.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
4112
4116
|
ref;
|
|
4113
4117
|
constructor(t, n, r) {
|
|
4114
4118
|
if (!(this instanceof e)) throw Error("Method \"render\" not found. Did you use the \"new\" keyword when instantiating VerificationForm?");
|
|
4115
|
-
|
|
4119
|
+
j.info(`Constructing VerificationFormEs5 ${n}`), m(t), this.element = t, this.programId = n, this.trackingId = r, this.ref = F.createRef(), this.render();
|
|
4116
4120
|
}
|
|
4117
4121
|
refresh() {
|
|
4118
4122
|
this.ref.current.refresh();
|
|
@@ -4121,16 +4125,16 @@ var kc = P.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
4121
4125
|
this.ref.current.reset();
|
|
4122
4126
|
}
|
|
4123
4127
|
render() {
|
|
4124
|
-
|
|
4128
|
+
Lt.render(/* @__PURE__ */ (0, L.jsx)(kc, {
|
|
4125
4129
|
programId: this.programId,
|
|
4126
4130
|
trackingId: this.trackingId,
|
|
4127
4131
|
ref: this.ref
|
|
4128
4132
|
}), this.element);
|
|
4129
4133
|
}
|
|
4130
4134
|
unmount() {
|
|
4131
|
-
|
|
4135
|
+
Lt.unmountComponentAtNode(this.element);
|
|
4132
4136
|
}
|
|
4133
|
-
}, jc =
|
|
4137
|
+
}, jc = Se({ formState: void 0 }), Mc = { collectStudentPersonalInfo: {
|
|
4134
4138
|
firstName: "Jane",
|
|
4135
4139
|
lastName: "Doe",
|
|
4136
4140
|
email: "jane.doe@example.edu",
|
|
@@ -4141,23 +4145,23 @@ var kc = P.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
4141
4145
|
name: "Example University"
|
|
4142
4146
|
}
|
|
4143
4147
|
} }, Nc = () => {
|
|
4144
|
-
let e =
|
|
4145
|
-
return
|
|
4148
|
+
let e = _();
|
|
4149
|
+
return ft.forEach((t, n) => {
|
|
4146
4150
|
e[t] = n;
|
|
4147
4151
|
}), e.marketConsentValue = "marketConsentRequired", e;
|
|
4148
4152
|
}, Pc = (e) => {
|
|
4149
4153
|
let t = e ? Mc[e] : void 0;
|
|
4150
4154
|
if (!t) return;
|
|
4151
4155
|
let { formState: n } = jc.get();
|
|
4152
|
-
if (n === "filled")
|
|
4156
|
+
if (n === "filled") ut(t);
|
|
4153
4157
|
else {
|
|
4154
|
-
let n =
|
|
4155
|
-
|
|
4158
|
+
let n = ot(e);
|
|
4159
|
+
ut(Object.fromEntries(Object.keys(t).map((e) => [e, n[e]])));
|
|
4156
4160
|
}
|
|
4157
|
-
|
|
4161
|
+
ct(pt().dispatch)(n === "errors" ? Nc() : _());
|
|
4158
4162
|
}, Fc = (e) => {
|
|
4159
|
-
let { isLoading: t, verificationResponse: n } =
|
|
4160
|
-
t ?
|
|
4163
|
+
let { isLoading: t, verificationResponse: n } = pt().getState();
|
|
4164
|
+
t ? et.once("ON_VERIFICATION_READY", (t) => e(t?.currentStep)) : e(n?.currentStep);
|
|
4161
4165
|
};
|
|
4162
4166
|
function Ic(e) {
|
|
4163
4167
|
jc.set((t) => t.formState === e ? t : { formState: e }), Fc(Pc);
|
|
@@ -4171,7 +4175,7 @@ function Rc() {
|
|
|
4171
4175
|
//#endregion
|
|
4172
4176
|
//#region src/lib/state/previewMessages.ts
|
|
4173
4177
|
function zc(e, t) {
|
|
4174
|
-
|
|
4178
|
+
ze.set((n) => ({
|
|
4175
4179
|
...n,
|
|
4176
4180
|
overrides: {
|
|
4177
4181
|
...n.overrides,
|
|
@@ -4183,10 +4187,10 @@ function zc(e, t) {
|
|
|
4183
4187
|
}
|
|
4184
4188
|
}
|
|
4185
4189
|
}
|
|
4186
|
-
})),
|
|
4190
|
+
})), r({ [e]: t });
|
|
4187
4191
|
}
|
|
4188
4192
|
function Bc(e) {
|
|
4189
|
-
e.forEach((e) =>
|
|
4193
|
+
e.forEach((e) => s.removeResourceBundle(e, d.OPTIONS)), r(b().messagesWithLocale);
|
|
4190
4194
|
}
|
|
4191
4195
|
//#endregion
|
|
4192
4196
|
//#region src/lib/state/previewResponse.ts
|
|
@@ -4209,9 +4213,9 @@ async function Hc(e) {
|
|
|
4209
4213
|
Object.keys(e).forEach((n) => {
|
|
4210
4214
|
let r = Vc[n];
|
|
4211
4215
|
r && (t[r] = e[n]);
|
|
4212
|
-
}),
|
|
4213
|
-
let n = e.step ??
|
|
4214
|
-
|
|
4216
|
+
}), D(t);
|
|
4217
|
+
let n = e.step ?? ze.get().overrides.mock?.step, r = n ? await Qe(n, pt().getState().verificationResponse) : void 0;
|
|
4218
|
+
ze.set((t) => ({
|
|
4215
4219
|
...t,
|
|
4216
4220
|
overrides: {
|
|
4217
4221
|
...t.overrides,
|
|
@@ -4226,30 +4230,30 @@ async function Hc(e) {
|
|
|
4226
4230
|
//#endregion
|
|
4227
4231
|
//#region src/lib/state/previewApi.ts
|
|
4228
4232
|
function Uc(e) {
|
|
4229
|
-
|
|
4233
|
+
Ce(e);
|
|
4230
4234
|
}
|
|
4231
4235
|
function Wc(e) {
|
|
4232
|
-
|
|
4236
|
+
_e(e);
|
|
4233
4237
|
}
|
|
4234
4238
|
function Gc(e) {
|
|
4235
|
-
|
|
4239
|
+
he({ response: e });
|
|
4236
4240
|
}
|
|
4237
4241
|
function Kc(e) {
|
|
4238
|
-
let t =
|
|
4239
|
-
return
|
|
4242
|
+
let t = pt(), { programId: n, verificationResponse: r } = t.getState();
|
|
4243
|
+
return gt(t.dispatch, n)(e, r?.segment);
|
|
4240
4244
|
}
|
|
4241
4245
|
function qc() {
|
|
4242
|
-
let e = Object.keys(
|
|
4243
|
-
|
|
4246
|
+
let e = Object.keys(ze.get().overrides.messages ?? {});
|
|
4247
|
+
ge(), me(), Ne(), Bc(e), Lc(), Ke();
|
|
4244
4248
|
}
|
|
4245
4249
|
//#endregion
|
|
4246
4250
|
//#region src/lib/installScript/_mysheerid-preview.ts
|
|
4247
|
-
|
|
4251
|
+
oe(se.programBuilderPreview);
|
|
4248
4252
|
function Jc(e, t) {
|
|
4249
4253
|
return new Ac(e, t);
|
|
4250
4254
|
}
|
|
4251
4255
|
function Yc(e, t) {
|
|
4252
|
-
|
|
4256
|
+
We(), D({
|
|
4253
4257
|
mockStep: t.step,
|
|
4254
4258
|
mockSegment: "student"
|
|
4255
4259
|
});
|
|
@@ -4257,19 +4261,19 @@ function Yc(e, t) {
|
|
|
4257
4261
|
return Rc(), n;
|
|
4258
4262
|
}
|
|
4259
4263
|
function Xc(e) {
|
|
4260
|
-
|
|
4264
|
+
Mt(e);
|
|
4261
4265
|
}
|
|
4262
4266
|
function Zc(e) {
|
|
4263
|
-
|
|
4267
|
+
st(), D(e);
|
|
4264
4268
|
}
|
|
4265
4269
|
function Qc() {
|
|
4266
|
-
|
|
4270
|
+
h();
|
|
4267
4271
|
}
|
|
4268
4272
|
function $c(e) {
|
|
4269
|
-
|
|
4273
|
+
D({ _launchDarklyFlagCb: e });
|
|
4270
4274
|
}
|
|
4271
4275
|
function el(e, t, n) {
|
|
4272
|
-
return
|
|
4276
|
+
return v(e, t, n);
|
|
4273
4277
|
}
|
|
4274
4278
|
var tl = {
|
|
4275
4279
|
loadInElement: Jc,
|
|
@@ -4289,4 +4293,4 @@ var tl = {
|
|
|
4289
4293
|
clearPreview: qc
|
|
4290
4294
|
};
|
|
4291
4295
|
//#endregion
|
|
4292
|
-
export {
|
|
4296
|
+
export { Zt as A, Vn as C, B as D, V as E, qt as M, Gt as N, un as O, zt as P, qn as S, Rn as T, gr as _, ko as a, Jn as b, ho as c, qc as clearPreview, ro as d, tl as default, ao as f, jr as g, $c as getFeatureFlags, el as getProgramMessages, Ba as h, Oo as i, Jt as j, an as k, lo as l, Jc as loadInElement, no as m, mc as n, jo as o, io as p, Ls as r, Yc as renderMockProgram, Qc as resetProgramOptions, Eo as s, Uc as setPreviewBranding, Wc as setPreviewConfiguration, Ic as setPreviewFormState, Kc as setPreviewLocale, zc as setPreviewMessages, Hc as setPreviewMock, Gc as setPreviewResponse, Zc as setProgramOptions, Xc as setProgramThemeChoices, gc as t, so as u, ur as v, zn as w, H as x, nr as y };
|