@sheerid/jslib 2.276.0 → 2.278.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 +874 -869
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/AddressComponent-CaMRwh5O.js +37 -0
- package/chunk/AddressComponent-CaMRwh5O.js.map +1 -0
- package/chunk/AddressComponent-LZTJCC-l.js +41 -0
- package/chunk/AddressComponent-LZTJCC-l.js.map +1 -0
- package/chunk/{AnnouncingHeader-BlnfAnLI.js → AnnouncingHeader-CCVSQeQR.js} +6 -6
- package/chunk/{AnnouncingHeader-BlnfAnLI.js.map → AnnouncingHeader-CCVSQeQR.js.map} +1 -1
- package/chunk/{AnnouncingHeader-CegZwDFd.js → AnnouncingHeader-YPjBYzsZ.js} +6 -6
- package/chunk/{AnnouncingHeader-CegZwDFd.js.map → AnnouncingHeader-YPjBYzsZ.js.map} +1 -1
- package/chunk/ApiUrls-DRCiQtw6.js +44 -0
- package/chunk/ApiUrls-DRCiQtw6.js.map +1 -0
- package/chunk/{ApiUrls-DtgMSGlO.js → ApiUrls-_Hc7S_uv.js} +12 -8
- package/chunk/ApiUrls-_Hc7S_uv.js.map +1 -0
- package/chunk/{BirthDateComponent-2CJqlbNU.js → BirthDateComponent-CAQJ-IWM.js} +8 -8
- package/chunk/{BirthDateComponent-2CJqlbNU.js.map → BirthDateComponent-CAQJ-IWM.js.map} +1 -1
- package/chunk/{BirthDateComponent-BYO6Kfgc.js → BirthDateComponent-_BjsBSM4.js} +8 -8
- package/chunk/{BirthDateComponent-BYO6Kfgc.js.map → BirthDateComponent-_BjsBSM4.js.map} +1 -1
- package/chunk/{CaptchaComponent-CoajXhka.js → CaptchaComponent-BqREyMje.js} +220 -219
- package/chunk/CaptchaComponent-BqREyMje.js.map +1 -0
- package/chunk/{CaptchaComponent-DnyafWoN.js → CaptchaComponent-D2OIvL-b.js} +220 -219
- package/chunk/CaptchaComponent-D2OIvL-b.js.map +1 -0
- package/chunk/{ChangeLocaleComponent-C4jVlT7w.js → ChangeLocaleComponent-BvnXlDa-.js} +8 -8
- package/chunk/{ChangeLocaleComponent-C4jVlT7w.js.map → ChangeLocaleComponent-BvnXlDa-.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-Z-taCJ6R.js → ChangeLocaleComponent-CpHB_D8Q.js} +8 -8
- package/chunk/{ChangeLocaleComponent-Z-taCJ6R.js.map → ChangeLocaleComponent-CpHB_D8Q.js.map} +1 -1
- package/chunk/City-B6bQRRvQ.js +40 -0
- package/chunk/City-B6bQRRvQ.js.map +1 -0
- package/chunk/City-CCBan228.js +36 -0
- package/chunk/City-CCBan228.js.map +1 -0
- package/chunk/{CollegeNameComponent-C-Vq-0f_.js → CollegeNameComponent-BbxIOfzR.js} +9 -9
- package/chunk/{CollegeNameComponent-C-Vq-0f_.js.map → CollegeNameComponent-BbxIOfzR.js.map} +1 -1
- package/chunk/{CollegeNameComponent-TPDjSelK.js → CollegeNameComponent-CEJO0-bq.js} +9 -9
- package/chunk/{CollegeNameComponent-TPDjSelK.js.map → CollegeNameComponent-CEJO0-bq.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-BdTGehGx.js → CopyToClipboardComponent-DGi3bxV2.js} +9 -9
- package/chunk/{CopyToClipboardComponent-BdTGehGx.js.map → CopyToClipboardComponent-DGi3bxV2.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-DkrM2SFa.js → CopyToClipboardComponent-cLuyXFes.js} +9 -9
- package/chunk/{CopyToClipboardComponent-DkrM2SFa.js.map → CopyToClipboardComponent-cLuyXFes.js.map} +1 -1
- package/chunk/CountryComponentWrapper-BNtvUusJ.js +82 -0
- package/chunk/CountryComponentWrapper-BNtvUusJ.js.map +1 -0
- package/chunk/CountryComponentWrapper-CW4yj9IF.js +78 -0
- package/chunk/CountryComponentWrapper-CW4yj9IF.js.map +1 -0
- package/chunk/DischargeDateComponent-CNaz5UZP.js +120 -0
- package/chunk/DischargeDateComponent-CNaz5UZP.js.map +1 -0
- package/chunk/DischargeDateComponent-tTwN3FLy.js +116 -0
- package/chunk/DischargeDateComponent-tTwN3FLy.js.map +1 -0
- package/chunk/DriverLicenseNumberComponent-B5_svahy.js +43 -0
- package/chunk/DriverLicenseNumberComponent-B5_svahy.js.map +1 -0
- package/chunk/DriverLicenseNumberComponent-vsVldXkA.js +39 -0
- package/chunk/DriverLicenseNumberComponent-vsVldXkA.js.map +1 -0
- package/chunk/{EmailLoopPending-DbehVow3.js → EmailLoopPending-CYCQv7pW.js} +25 -25
- package/chunk/{EmailLoopPending-C7SKw1We.js.map → EmailLoopPending-CYCQv7pW.js.map} +1 -1
- package/chunk/{EmailLoopPending-C7SKw1We.js → EmailLoopPending-DNFHR6Ck.js} +24 -24
- package/chunk/{EmailLoopPending-DbehVow3.js.map → EmailLoopPending-DNFHR6Ck.js.map} +1 -1
- package/chunk/{ExtraMessage-CIU0SFFU.js → ExtraMessage-Byw0Tgm1.js} +7 -7
- package/chunk/{ExtraMessage-CIU0SFFU.js.map → ExtraMessage-Byw0Tgm1.js.map} +1 -1
- package/chunk/{ExtraMessage-f9Om84tg.js → ExtraMessage-g4LSV-H2.js} +7 -7
- package/chunk/{ExtraMessage-f9Om84tg.js.map → ExtraMessage-g4LSV-H2.js.map} +1 -1
- package/chunk/FirstResponderOrganizationComponent-BtIXngo4.js +41 -0
- package/chunk/FirstResponderOrganizationComponent-BtIXngo4.js.map +1 -0
- package/chunk/FirstResponderOrganizationComponent-DVF6aC7P.js +37 -0
- package/chunk/FirstResponderOrganizationComponent-DVF6aC7P.js.map +1 -0
- package/chunk/{FormFieldInputSelect-BAVhOrsd.js → FormFieldInputSelect-D1aFx17c.js} +7 -7
- package/chunk/{FormFieldInputSelect-BAVhOrsd.js.map → FormFieldInputSelect-D1aFx17c.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-BioVB7zS.js → FormFieldInputSelect-ie6Vx1Bx.js} +7 -7
- package/chunk/{FormFieldInputSelect-BioVB7zS.js.map → FormFieldInputSelect-ie6Vx1Bx.js.map} +1 -1
- package/chunk/{FormFieldLayout-Bav93prH.js → FormFieldLayout-C4SCdGBC.js} +6 -6
- package/chunk/{FormFieldLayout-Bav93prH.js.map → FormFieldLayout-C4SCdGBC.js.map} +1 -1
- package/chunk/{FormFieldLayout-C-P2QCto.js → FormFieldLayout-Cj_v9kYa.js} +6 -6
- package/chunk/{FormFieldLayout-C-P2QCto.js.map → FormFieldLayout-Cj_v9kYa.js.map} +1 -1
- package/chunk/{FormFieldText-mvPCLbUG.js → FormFieldText-BbdrtNh_.js} +7 -7
- package/chunk/{FormFieldText-BPefsplc.js.map → FormFieldText-BbdrtNh_.js.map} +1 -1
- package/chunk/{FormFieldText-BPefsplc.js → FormFieldText-Gf13Luq7.js} +7 -7
- package/chunk/{FormFieldText-mvPCLbUG.js.map → FormFieldText-Gf13Luq7.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-D5lcrGM-.js → FormFieldTypeahead-DQEez7ko.js} +518 -521
- package/chunk/{FormFieldTypeahead-D5lcrGM-.js.map → FormFieldTypeahead-DQEez7ko.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-Cd4-ak1z.js → FormFieldTypeahead-uKX8ZHqO.js} +432 -435
- package/chunk/{FormFieldTypeahead-Cd4-ak1z.js.map → FormFieldTypeahead-uKX8ZHqO.js.map} +1 -1
- package/chunk/FormFooterComponent-BHQc5VBK.js +2007 -0
- package/chunk/FormFooterComponent-BHQc5VBK.js.map +1 -0
- package/chunk/FormFooterComponent-CAoH3NjO.js +1981 -0
- package/chunk/FormFooterComponent-CAoH3NjO.js.map +1 -0
- package/chunk/{FormSelectChoice-BMOCwG1_.js → FormSelectChoice-Cm99LmoK.js} +16 -16
- package/chunk/{FormSelectChoice-BMOCwG1_.js.map → FormSelectChoice-Cm99LmoK.js.map} +1 -1
- package/chunk/{FormSelectChoice-xPF_7dfg.js → FormSelectChoice-DjcUTWnw.js} +16 -16
- package/chunk/{FormSelectChoice-xPF_7dfg.js.map → FormSelectChoice-DjcUTWnw.js.map} +1 -1
- package/chunk/{InputText-B4CjWTez.js → InputText-BXPuBlPq.js} +7 -7
- package/chunk/{InputText-B4CjWTez.js.map → InputText-BXPuBlPq.js.map} +1 -1
- package/chunk/{InputText-Dc_DjXbQ.js → InputText-h_myNeHr.js} +7 -7
- package/chunk/{InputText-Dc_DjXbQ.js.map → InputText-h_myNeHr.js.map} +1 -1
- package/chunk/LicensedProfessionalOrganizationComponent-BHrQmG_W.js +40 -0
- package/chunk/LicensedProfessionalOrganizationComponent-BHrQmG_W.js.map +1 -0
- package/chunk/LicensedProfessionalOrganizationComponent-DMdDUhnU.js +36 -0
- package/chunk/LicensedProfessionalOrganizationComponent-DMdDUhnU.js.map +1 -0
- package/chunk/{LogoComponent-BaBfWuKr.js → LogoComponent-Do8K5ydz.js} +6 -6
- package/chunk/{LogoComponent-BaBfWuKr.js.map → LogoComponent-Do8K5ydz.js.map} +1 -1
- package/chunk/{LogoComponent-DSoOQ1Uz.js → LogoComponent-Dx1G-rzE.js} +6 -6
- package/chunk/{LogoComponent-DSoOQ1Uz.js.map → LogoComponent-Dx1G-rzE.js.map} +1 -1
- package/chunk/LowIncomeOrganizationComponent-CZnbIM2h.js +101 -0
- package/chunk/LowIncomeOrganizationComponent-CZnbIM2h.js.map +1 -0
- package/chunk/LowIncomeOrganizationComponent-DLxB_wnC.js +105 -0
- package/chunk/LowIncomeOrganizationComponent-DLxB_wnC.js.map +1 -0
- package/chunk/MedicalProfessionalOrganizationComponent-CozwSmoI.js +41 -0
- package/chunk/MedicalProfessionalOrganizationComponent-CozwSmoI.js.map +1 -0
- package/chunk/MedicalProfessionalOrganizationComponent-t-k48G10.js +37 -0
- package/chunk/MedicalProfessionalOrganizationComponent-t-k48G10.js.map +1 -0
- package/chunk/MemberIdComponent-BzUuPdSk.js +39 -0
- package/chunk/MemberIdComponent-BzUuPdSk.js.map +1 -0
- package/chunk/MemberIdComponent-CYqH9MG5.js +43 -0
- package/chunk/MemberIdComponent-CYqH9MG5.js.map +1 -0
- package/chunk/MembershipOrganizationComponent-BPQ27RX9.js +40 -0
- package/chunk/MembershipOrganizationComponent-BPQ27RX9.js.map +1 -0
- package/chunk/MembershipOrganizationComponent-Bbu2i3Dm.js +36 -0
- package/chunk/MembershipOrganizationComponent-Bbu2i3Dm.js.map +1 -0
- package/chunk/{FormFooterComponent-BuRQRQFI.js → Message-BK3a2RyH.js} +1419 -3379
- package/chunk/Message-BK3a2RyH.js.map +1 -0
- package/chunk/Message-CSa2etjX.js +6859 -0
- package/chunk/Message-CSa2etjX.js.map +1 -0
- package/chunk/Onfido-CTCgAwnB.js +4 -4
- package/chunk/{PersonalInfoStepSubmitButton-_wFfZCyV.js → PersonalInfoStepSubmitButton-BcdQUzMO.js} +51 -48
- package/chunk/PersonalInfoStepSubmitButton-BcdQUzMO.js.map +1 -0
- package/chunk/{PersonalInfoStepSubmitButton-DvMU95pj.js → PersonalInfoStepSubmitButton-VxT_vwVv.js} +43 -40
- package/chunk/PersonalInfoStepSubmitButton-VxT_vwVv.js.map +1 -0
- package/chunk/{PersonalInfoStepWrapper-BCe97Fbw.js → PersonalInfoStepWrapper-BHS3GKl7.js} +7 -7
- package/chunk/{PersonalInfoStepWrapper-BCe97Fbw.js.map → PersonalInfoStepWrapper-BHS3GKl7.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-C-DG20qY.js → PersonalInfoStepWrapper-CxRB64LQ.js} +21 -21
- package/chunk/{PersonalInfoStepWrapper-C-DG20qY.js.map → PersonalInfoStepWrapper-CxRB64LQ.js.map} +1 -1
- package/chunk/PostalCodeComponent-CKbC80_m.js +38 -0
- package/chunk/PostalCodeComponent-CKbC80_m.js.map +1 -0
- package/chunk/PostalCodeComponent-jmSOU3LM.js +42 -0
- package/chunk/PostalCodeComponent-jmSOU3LM.js.map +1 -0
- package/chunk/SSN-DHAzpgQK.js +45 -0
- package/chunk/SSN-DHAzpgQK.js.map +1 -0
- package/chunk/SSN-DNVykxAU.js +49 -0
- package/chunk/SSN-DNVykxAU.js.map +1 -0
- package/chunk/StateSelectComponent-B5lHw2N5.js +42 -0
- package/chunk/StateSelectComponent-B5lHw2N5.js.map +1 -0
- package/chunk/StateSelectComponent-B7Cp6ANo.js +38 -0
- package/chunk/StateSelectComponent-B7Cp6ANo.js.map +1 -0
- package/chunk/{StatusComponent-DUPrDBFL.js → StatusComponent-CrGh5fqB.js} +15 -14
- package/chunk/StatusComponent-CrGh5fqB.js.map +1 -0
- package/chunk/{StatusComponent-C--lHDG1.js → StatusComponent-CyX5COrt.js} +15 -14
- package/chunk/StatusComponent-CyX5COrt.js.map +1 -0
- package/chunk/{StepAgePersonalInfo-B3prBGtM.js → StepAgePersonalInfo-BswIeVCd.js} +43 -47
- package/chunk/{StepAgePersonalInfo-B3prBGtM.js.map → StepAgePersonalInfo-BswIeVCd.js.map} +1 -1
- package/chunk/StepAgePersonalInfo-CHBH5ROm.js +174 -0
- package/chunk/{StepAgePersonalInfo-Bqy4A9R_.js.map → StepAgePersonalInfo-CHBH5ROm.js.map} +1 -1
- package/chunk/{StepCard-DOhBSDPW.js → StepCard-B0o7IN6g.js} +5 -5
- package/chunk/{StepCard-DOhBSDPW.js.map → StepCard-B0o7IN6g.js.map} +1 -1
- package/chunk/{StepCard-Ym7mbGWv.js → StepCard-CWT2BiAH.js} +5 -5
- package/chunk/{StepCard-Ym7mbGWv.js.map → StepCard-CWT2BiAH.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-BPVZi_2Z.js → StepCollectIdentifier-D8IjgFjI.js} +11 -11
- package/chunk/{StepCollectIdentifier-BPVZi_2Z.js.map → StepCollectIdentifier-D8IjgFjI.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-DIYCPon1.js → StepCollectIdentifier-dPXJHRwi.js} +16 -16
- package/chunk/{StepCollectIdentifier-DIYCPon1.js.map → StepCollectIdentifier-dPXJHRwi.js.map} +1 -1
- package/chunk/StepCollectMilitaryPersonalInfoComponent-BanhTbjr.js +249 -0
- package/chunk/StepCollectMilitaryPersonalInfoComponent-BanhTbjr.js.map +1 -0
- package/chunk/StepCollectMilitaryPersonalInfoComponent-nUcsuObN.js +245 -0
- package/chunk/StepCollectMilitaryPersonalInfoComponent-nUcsuObN.js.map +1 -0
- package/chunk/StepCollectPersonalInfo-BLClPcAC.js +372 -0
- package/chunk/StepCollectPersonalInfo-BLClPcAC.js.map +1 -0
- package/chunk/StepCollectPersonalInfo-BvBAA_0_.js +368 -0
- package/chunk/StepCollectPersonalInfo-BvBAA_0_.js.map +1 -0
- package/chunk/{StepCompleteAuthentication-Yz3dPahs.js → StepCompleteAuthentication-Cnv_QzG7.js} +21 -21
- package/chunk/{StepCompleteAuthentication-BmYjAKgP.js.map → StepCompleteAuthentication-Cnv_QzG7.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-BmYjAKgP.js → StepCompleteAuthentication-D7NH3MFa.js} +21 -21
- package/chunk/{StepCompleteAuthentication-Yz3dPahs.js.map → StepCompleteAuthentication-D7NH3MFa.js.map} +1 -1
- package/chunk/{StepConsolation-CuDYCCAE.js → StepConsolation-CKbOj-OW.js} +9 -9
- package/chunk/{StepConsolation-DPjGqB9c.js.map → StepConsolation-CKbOj-OW.js.map} +1 -1
- package/chunk/{StepConsolation-DPjGqB9c.js → StepConsolation-qvCq7iMz.js} +9 -9
- package/chunk/{StepConsolation-CuDYCCAE.js.map → StepConsolation-qvCq7iMz.js.map} +1 -1
- package/chunk/{StepDocUpload-DXh4w_Gy.js → StepDocUpload-CelPrD2S.js} +224 -223
- package/chunk/{StepDocUpload-DXh4w_Gy.js.map → StepDocUpload-CelPrD2S.js.map} +1 -1
- package/chunk/{StepDocUpload-wmENbcHT.js → StepDocUpload-hbZjFKLA.js} +217 -216
- package/chunk/{StepDocUpload-wmENbcHT.js.map → StepDocUpload-hbZjFKLA.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-DsWHV5ef.js → StepDriverLicensePersonalInfoComponent-DeMFZtEJ.js} +32 -32
- package/chunk/{StepDriverLicensePersonalInfoComponent-C89uw9hB.js.map → StepDriverLicensePersonalInfoComponent-DeMFZtEJ.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-C89uw9hB.js → StepDriverLicensePersonalInfoComponent-Dz5hU0Hz.js} +36 -36
- package/chunk/{StepDriverLicensePersonalInfoComponent-DsWHV5ef.js.map → StepDriverLicensePersonalInfoComponent-Dz5hU0Hz.js.map} +1 -1
- package/chunk/{StepEmailLoop-qLTbVSgG.js → StepEmailLoop-B_D0MzXV.js} +17 -17
- package/chunk/{StepEmailLoop-CgImGOHm.js.map → StepEmailLoop-B_D0MzXV.js.map} +1 -1
- package/chunk/{StepEmailLoop-CgImGOHm.js → StepEmailLoop-DnFBaEUV.js} +17 -17
- package/chunk/{StepEmailLoop-qLTbVSgG.js.map → StepEmailLoop-DnFBaEUV.js.map} +1 -1
- package/chunk/StepEmploymentPersonalInfo-CWyReZIX.js +220 -0
- package/chunk/StepEmploymentPersonalInfo-CWyReZIX.js.map +1 -0
- package/chunk/StepEmploymentPersonalInfo-D6wk7BPP.js +216 -0
- package/chunk/StepEmploymentPersonalInfo-D6wk7BPP.js.map +1 -0
- package/chunk/StepFirstResponderPersonalInfo-BEYQjJZE.js +186 -0
- package/chunk/StepFirstResponderPersonalInfo-BEYQjJZE.js.map +1 -0
- package/chunk/StepFirstResponderPersonalInfo-WFafxPno.js +182 -0
- package/chunk/StepFirstResponderPersonalInfo-WFafxPno.js.map +1 -0
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-DtnhsOS8.js → StepGeneralIdentityPersonalInfoComponent-CO2Kb2oA.js} +41 -41
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-DtnhsOS8.js.map → StepGeneralIdentityPersonalInfoComponent-CO2Kb2oA.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-C0xjZ49y.js → StepGeneralIdentityPersonalInfoComponent-Cu_uA-EX.js} +45 -45
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-C0xjZ49y.js.map → StepGeneralIdentityPersonalInfoComponent-Cu_uA-EX.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-BrfsVxoL.js → StepHybridIdentityPersonalInfoComponent-DjYZWEyO.js} +44 -44
- package/chunk/{StepHybridIdentityPersonalInfoComponent-BrfsVxoL.js.map → StepHybridIdentityPersonalInfoComponent-DjYZWEyO.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-DtWwTb-w.js → StepHybridIdentityPersonalInfoComponent-Dnr2P36W.js} +48 -48
- package/chunk/{StepHybridIdentityPersonalInfoComponent-DtWwTb-w.js.map → StepHybridIdentityPersonalInfoComponent-Dnr2P36W.js.map} +1 -1
- package/chunk/StepIDCheckLoop-3dEcYNM-.js +24 -0
- package/chunk/{StepIDCheckLoop-CqMy-kih.js.map → StepIDCheckLoop-3dEcYNM-.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-D3fkw6rR.js → StepIDCheckLoop-ADjD8T7n.js} +8 -8
- package/chunk/{StepIDCheckLoop-D3fkw6rR.js.map → StepIDCheckLoop-ADjD8T7n.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-CPqxoGK2.js → StepIDCheckLoopOnfido-DFITsdwV.js} +49 -49
- package/chunk/{StepIDCheckLoopOnfido-CuHGDZD7.js.map → StepIDCheckLoopOnfido-DFITsdwV.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-CuHGDZD7.js → StepIDCheckLoopOnfido-u841Fq12.js} +54 -54
- package/chunk/{StepIDCheckLoopOnfido-CPqxoGK2.js.map → StepIDCheckLoopOnfido-u841Fq12.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-DgO-1qZp.js → StepIDCheckLoopRegula-4XrJNB8_.js} +22 -21
- package/chunk/{StepIDCheckLoopRegula-B0OCBK0E.js.map → StepIDCheckLoopRegula-4XrJNB8_.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-B0OCBK0E.js → StepIDCheckLoopRegula-DDU-aqdl.js} +22 -21
- package/chunk/{StepIDCheckLoopRegula-DgO-1qZp.js.map → StepIDCheckLoopRegula-DDU-aqdl.js.map} +1 -1
- package/chunk/StepLicensedProfessionalPersonalInfo-BXscxOmH.js +180 -0
- package/chunk/StepLicensedProfessionalPersonalInfo-BXscxOmH.js.map +1 -0
- package/chunk/StepLicensedProfessionalPersonalInfo-CvU4u5nA.js +176 -0
- package/chunk/StepLicensedProfessionalPersonalInfo-CvU4u5nA.js.map +1 -0
- package/chunk/StepLowIncomePersonalInfo-BD5AdV7z.js +234 -0
- package/chunk/StepLowIncomePersonalInfo-BD5AdV7z.js.map +1 -0
- package/chunk/StepLowIncomePersonalInfo-BlvN-faw.js +238 -0
- package/chunk/StepLowIncomePersonalInfo-BlvN-faw.js.map +1 -0
- package/chunk/StepMedicalProfessionalPersonalInfo-D-wc9M27.js +208 -0
- package/chunk/StepMedicalProfessionalPersonalInfo-D-wc9M27.js.map +1 -0
- package/chunk/StepMedicalProfessionalPersonalInfo-DzPoAdkI.js +212 -0
- package/chunk/StepMedicalProfessionalPersonalInfo-DzPoAdkI.js.map +1 -0
- package/chunk/StepMemberPersonalInfo-BwhcP3-x.js +157 -0
- package/chunk/{StepMemberPersonalInfo-BkdO0M03.js.map → StepMemberPersonalInfo-BwhcP3-x.js.map} +1 -1
- package/chunk/StepMemberPersonalInfo-DcH87kDt.js +153 -0
- package/chunk/{StepMemberPersonalInfo-iiEeEHMd.js.map → StepMemberPersonalInfo-DcH87kDt.js.map} +1 -1
- package/chunk/StepMoverPersonalInfo-C3e_5Bhi.js +140 -0
- package/chunk/{StepMoverPersonalInfo-B8ulp8r4.js.map → StepMoverPersonalInfo-C3e_5Bhi.js.map} +1 -1
- package/chunk/StepMoverPersonalInfo-DdAYuWun.js +144 -0
- package/chunk/{StepMoverPersonalInfo-ddojJbVP.js.map → StepMoverPersonalInfo-DdAYuWun.js.map} +1 -1
- package/chunk/{StepOverrideComponent-1C4izDUn.js → StepOverrideComponent-BA6ZbYda.js} +16 -16
- package/chunk/{StepOverrideComponent-1C4izDUn.js.map → StepOverrideComponent-BA6ZbYda.js.map} +1 -1
- package/chunk/{StepOverrideComponent-CW4AqS1W.js → StepOverrideComponent-C58-KkL6.js} +16 -16
- package/chunk/{StepOverrideComponent-CW4AqS1W.js.map → StepOverrideComponent-C58-KkL6.js.map} +1 -1
- package/chunk/StepSMSLoop-CiFQF0bq.js +181 -0
- package/chunk/StepSMSLoop-CiFQF0bq.js.map +1 -0
- package/chunk/StepSMSLoop-DmbMtSCW.js +185 -0
- package/chunk/StepSMSLoop-DmbMtSCW.js.map +1 -0
- package/chunk/StepSSO-BGHCbduX.js +4 -4
- package/chunk/StepSSO-ZHByQpHa.js +4 -4
- package/chunk/{StepSocialSecurityNumber-2cDHkFtc.js → StepSocialSecurityNumber-6QeIRjAc.js} +26 -26
- package/chunk/{StepSocialSecurityNumber-S4ajjj2k.js.map → StepSocialSecurityNumber-6QeIRjAc.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-S4ajjj2k.js → StepSocialSecurityNumber-kcHexBbp.js} +26 -26
- package/chunk/{StepSocialSecurityNumber-2cDHkFtc.js.map → StepSocialSecurityNumber-kcHexBbp.js.map} +1 -1
- package/chunk/StepStudentPersonalInfo-CJJbSZ_C.js +216 -0
- package/chunk/StepStudentPersonalInfo-CJJbSZ_C.js.map +1 -0
- package/chunk/StepStudentPersonalInfo-ubt7IGBA.js +220 -0
- package/chunk/StepStudentPersonalInfo-ubt7IGBA.js.map +1 -0
- package/chunk/{StepSuccess-D_IWaCdF.js → StepSuccess-Cc0UdSaD.js} +29 -29
- package/chunk/{StepSuccess-CAGzawu7.js.map → StepSuccess-Cc0UdSaD.js.map} +1 -1
- package/chunk/{StepSuccess-CAGzawu7.js → StepSuccess-ZEmH-ZFX.js} +30 -30
- package/chunk/{StepSuccess-D_IWaCdF.js.map → StepSuccess-ZEmH-ZFX.js.map} +1 -1
- package/chunk/StepTeacherPersonalInfo-CiHN6WAb.js +154 -0
- package/chunk/{StepTeacherPersonalInfo-CJXMX4i-.js.map → StepTeacherPersonalInfo-CiHN6WAb.js.map} +1 -1
- package/chunk/StepTeacherPersonalInfo-X7uaefYx.js +150 -0
- package/chunk/{StepTeacherPersonalInfo-DuQ_2jzT.js.map → StepTeacherPersonalInfo-X7uaefYx.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BrKuZcYb.js +4 -4
- package/chunk/StepThirdPartyLoop-CbFTIlwP.js +4 -4
- package/chunk/{TeacherSchoolComponent-3hHaynGt.js → TeacherSchoolComponent-DH3cPm43.js} +9 -9
- package/chunk/{TeacherSchoolComponent-3hHaynGt.js.map → TeacherSchoolComponent-DH3cPm43.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-CTUcGZBk.js → TeacherSchoolComponent-DL4ZFk5x.js} +9 -9
- package/chunk/{TeacherSchoolComponent-CTUcGZBk.js.map → TeacherSchoolComponent-DL4ZFk5x.js.map} +1 -1
- package/chunk/{TestingRouteOverrides-MQkB4gbS.js → TestingRouteOverrides-CAGESMw9.js} +26 -26
- package/chunk/{TestingRouteOverrides-B51tlkPN.js.map → TestingRouteOverrides-CAGESMw9.js.map} +1 -1
- package/chunk/TestingRouteOverrides-CrhfSmLr.js +77 -0
- package/chunk/{TestingRouteOverrides-MQkB4gbS.js.map → TestingRouteOverrides-CrhfSmLr.js.map} +1 -1
- package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
- package/chunk/{VerificationApiClient-BuZNO3k4.js → VerificationApiClient-CVe2IgK7.js} +377 -414
- package/chunk/{VerificationApiClient-CSmDqqJd.js.map → VerificationApiClient-CVe2IgK7.js.map} +1 -1
- package/chunk/{VerificationApiClient-CSmDqqJd.js → VerificationApiClient-DOQLbKh3.js} +424 -421
- package/chunk/{VerificationApiClient-BuZNO3k4.js.map → VerificationApiClient-DOQLbKh3.js.map} +1 -1
- package/chunk/ar-Dh-2G5c3.js +4 -4
- package/chunk/bg-BbAhdJRh.js +4 -4
- package/chunk/bn-IN-Cx3Q5Utp.js +4 -4
- package/chunk/{countryUtils-AmQexyFX.js → countryUtils-AR9k3KRg.js} +5 -5
- package/chunk/{countryUtils-AmQexyFX.js.map → countryUtils-AR9k3KRg.js.map} +1 -1
- package/chunk/countryUtils-DWqId-zY.js +12 -0
- package/chunk/{countryUtils-_b1AEFmu.js.map → countryUtils-DWqId-zY.js.map} +1 -1
- package/chunk/cs-CYGsmvju.js +4 -4
- package/chunk/da-COZWvvUD.js +4 -4
- package/chunk/de-BHclNQGr.js +4 -4
- package/chunk/{downshift.esm-TD1ZHIGw.js → downshift.esm-5BwX87os.js} +7 -7
- package/chunk/{downshift.esm-a6BpIuFH.js.map → downshift.esm-5BwX87os.js.map} +1 -1
- package/chunk/{downshift.esm-a6BpIuFH.js → downshift.esm-GtunYkBG.js} +7 -7
- package/chunk/{downshift.esm-TD1ZHIGw.js.map → downshift.esm-GtunYkBG.js.map} +1 -1
- package/chunk/el-Bv_XQ0FX.js +4 -4
- package/chunk/{empties-Cng4q8t3.js → empties-B6naRhes.js} +64 -73
- package/chunk/empties-B6naRhes.js.map +1 -0
- package/chunk/{empties-B6yh07nS.js → empties-Crmkxudi.js} +64 -73
- package/chunk/empties-Crmkxudi.js.map +1 -0
- package/chunk/en-GB-CkENrh2I.js +4 -4
- package/chunk/es-BRKAFTKN.js +4 -4
- package/chunk/es-ES-BWfAbWbQ.js +4 -4
- package/chunk/et-CxMgVbW2.js +4 -4
- package/chunk/eventEmitter-CSG6jR7V.js +4 -4
- package/chunk/fa-BEC3aNBF.js +4 -4
- package/chunk/fi-BaP3FR15.js +4 -4
- package/chunk/fr-CA-CS4SuM-m.js +4 -4
- package/chunk/fr-DSU2B7p2.js +4 -4
- package/chunk/ga-DZEr9X_A.js +4 -4
- package/chunk/hi-IN-DvBVpWNQ.js +4 -4
- package/chunk/{hooks-D2tFSceS.js → hooks-C15H5pD-.js} +481 -481
- package/chunk/hooks-C15H5pD-.js.map +1 -0
- package/chunk/{hooks-B179G474.js → hooks-ChQrxN58.js} +480 -480
- package/chunk/hooks-ChQrxN58.js.map +1 -0
- package/chunk/hr-CL1lHDbu.js +4 -4
- package/chunk/hu-Cf5Uq9R_.js +4 -4
- package/chunk/id-ay9yilKx.js +4 -4
- package/chunk/{intl-Ft_65Lzo.js → intl-e5WHiYfA.js} +7 -6
- package/chunk/intl-e5WHiYfA.js.map +1 -0
- package/chunk/is-tpzRyIZi.js +4 -4
- package/chunk/it-C3-BupR4.js +4 -4
- package/chunk/iw-CBna3XPT.js +4 -4
- package/chunk/ja-DvXOkZRn.js +4 -4
- package/chunk/{jsx-runtime-DOqJBLjd.js → jsx-runtime-Ini3eO9_.js} +18 -18
- package/chunk/{jsx-runtime-DOqJBLjd.js.map → jsx-runtime-Ini3eO9_.js.map} +1 -1
- package/chunk/{jsx-runtime-Bq9F3xvK.js → jsx-runtime-LqzCS-0D.js} +18 -18
- package/chunk/{jsx-runtime-Bq9F3xvK.js.map → jsx-runtime-LqzCS-0D.js.map} +1 -1
- package/chunk/kk-DGXgY6Uw.js +4 -4
- package/chunk/ko-BlUGwGxN.js +4 -4
- package/chunk/lo-DT6wxwS1.js +4 -4
- package/chunk/lt-CT5-H4ci.js +4 -4
- package/chunk/lv-CBMD1XRp.js +4 -4
- package/chunk/{mocks-CoMRz_O2.js → mocks-DGc1byho.js} +10 -9
- package/chunk/{mocks-CoMRz_O2.js.map → mocks-DGc1byho.js.map} +1 -1
- package/chunk/{mocks-C1va3xs9.js → mocks-RU9BGNOn.js} +9 -8
- package/chunk/{mocks-C1va3xs9.js.map → mocks-RU9BGNOn.js.map} +1 -1
- package/chunk/ms-DuxNeOgk.js +4 -4
- package/chunk/nl-BE-D028qM7-.js +4 -4
- package/chunk/nl-DEuaat_s.js +4 -4
- package/chunk/no-CjeRjD1D.js +4 -4
- package/chunk/{options-Co1RW3vc.js → options-pBCAJBwS.js} +7 -6
- package/chunk/options-pBCAJBwS.js.map +1 -0
- package/chunk/pl-X0qJw7IS.js +4 -4
- package/chunk/{programThemeGetters-De_Bowzi.js → programThemeGetters-C9Sw0RZq.js} +45 -45
- package/chunk/{programThemeGetters-D2JwF5p-.js.map → programThemeGetters-C9Sw0RZq.js.map} +1 -1
- package/chunk/programThemeGetters-uLsgGat1.js +153 -0
- package/chunk/{programThemeGetters-De_Bowzi.js.map → programThemeGetters-uLsgGat1.js.map} +1 -1
- package/chunk/pt-BR-C6XmLn3o.js +4 -4
- package/chunk/pt-o7v4iOVx.js +4 -4
- package/chunk/{refs-Cz53Qfgi.js → refs-CGvEbCaw.js} +5 -5
- package/chunk/{refs-BgqdAkVI.js.map → refs-CGvEbCaw.js.map} +1 -1
- package/chunk/{refs-BgqdAkVI.js → refs-CI3K5ndt.js} +5 -5
- package/chunk/{refs-Cz53Qfgi.js.map → refs-CI3K5ndt.js.map} +1 -1
- package/chunk/ro-C74ZR3HS.js +4 -4
- package/chunk/ru-BA9P3RVu.js +4 -4
- package/chunk/sk-DmyizV49.js +4 -4
- package/chunk/sl-Cxm3YoWE.js +4 -4
- package/chunk/sr-gOtgEOlP.js +4 -4
- package/chunk/stepComponentHelpers-BdqtwfRd.js +133 -0
- package/chunk/stepComponentHelpers-BdqtwfRd.js.map +1 -0
- package/chunk/stepComponentHelpers-DIHMDrmF.js +129 -0
- package/chunk/stepComponentHelpers-DIHMDrmF.js.map +1 -0
- package/chunk/strings-DWLVdUcm.js +4 -4
- package/chunk/sv-DnCUWo1-.js +4 -4
- package/chunk/sw-BY7XXvUU.js +4 -4
- package/chunk/ta-CVL0b6Hh.js +4 -4
- package/chunk/th-CyU0RW3x.js +4 -4
- package/chunk/tl-BfgQ0irB.js +4 -4
- package/chunk/tr-BPg_L4bY.js +4 -4
- package/chunk/uk-CNaioa7V.js +4 -4
- package/chunk/ur-Ht1Mcpm0.js +4 -4
- package/chunk/useCollectFieldsEndpoint-74jMd594.js +66 -0
- package/chunk/useCollectFieldsEndpoint-74jMd594.js.map +1 -0
- package/chunk/useCollectFieldsEndpoint-dSngHehw.js +62 -0
- package/chunk/useCollectFieldsEndpoint-dSngHehw.js.map +1 -0
- package/chunk/{useMetrics-DBzqwN2m.js → useMetrics-BrHWTzbP.js} +19 -19
- package/chunk/{useMetrics-saY5Oa2a.js.map → useMetrics-BrHWTzbP.js.map} +1 -1
- package/chunk/{useMetrics-saY5Oa2a.js → useMetrics-O5xTFm6y.js} +19 -19
- package/chunk/{useMetrics-DBzqwN2m.js.map → useMetrics-O5xTFm6y.js.map} +1 -1
- package/chunk/vi-sI1BYLXG.js +4 -4
- package/chunk/zh-DNG4VB8r.js +4 -4
- package/chunk/zh-HK-5Y3ROXEm.js +4 -4
- package/chunk/zu-DNMG8Idu.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 +884 -879
- package/sheerid.js.map +1 -1
- package/chunk/AddressComponent-C89pD6Mq.js +0 -36
- package/chunk/AddressComponent-C89pD6Mq.js.map +0 -1
- package/chunk/AddressComponent-DeNJR0XJ.js +0 -40
- package/chunk/AddressComponent-DeNJR0XJ.js.map +0 -1
- package/chunk/ApiUrls-Cn6zYY4_.js +0 -40
- package/chunk/ApiUrls-Cn6zYY4_.js.map +0 -1
- package/chunk/ApiUrls-DtgMSGlO.js.map +0 -1
- package/chunk/CaptchaComponent-CoajXhka.js.map +0 -1
- package/chunk/CaptchaComponent-DnyafWoN.js.map +0 -1
- package/chunk/City-CEOnA40d.js +0 -39
- package/chunk/City-CEOnA40d.js.map +0 -1
- package/chunk/City-CHFvccq5.js +0 -35
- package/chunk/City-CHFvccq5.js.map +0 -1
- package/chunk/CountryComponentWrapper-C45AFJGi.js +0 -82
- package/chunk/CountryComponentWrapper-C45AFJGi.js.map +0 -1
- package/chunk/CountryComponentWrapper-CsMhIsMa.js +0 -78
- package/chunk/CountryComponentWrapper-CsMhIsMa.js.map +0 -1
- package/chunk/DischargeDateComponent-W6LVGtRA.js +0 -117
- package/chunk/DischargeDateComponent-W6LVGtRA.js.map +0 -1
- package/chunk/DischargeDateComponent-YwN1LS7c.js +0 -121
- package/chunk/DischargeDateComponent-YwN1LS7c.js.map +0 -1
- package/chunk/DriverLicenseNumberComponent-BgyfMAeh.js +0 -38
- package/chunk/DriverLicenseNumberComponent-BgyfMAeh.js.map +0 -1
- package/chunk/DriverLicenseNumberComponent-DWRBwzc1.js +0 -42
- package/chunk/DriverLicenseNumberComponent-DWRBwzc1.js.map +0 -1
- package/chunk/FirstResponderOrganizationComponent-CCzd7O89.js +0 -40
- package/chunk/FirstResponderOrganizationComponent-CCzd7O89.js.map +0 -1
- package/chunk/FirstResponderOrganizationComponent-D3iJl4at.js +0 -36
- package/chunk/FirstResponderOrganizationComponent-D3iJl4at.js.map +0 -1
- package/chunk/FormFooterComponent-BEDJQK_Z.js +0 -8849
- package/chunk/FormFooterComponent-BEDJQK_Z.js.map +0 -1
- package/chunk/FormFooterComponent-BuRQRQFI.js.map +0 -1
- package/chunk/LicensedProfessionalOrganizationComponent-CP_MLvtk.js +0 -39
- package/chunk/LicensedProfessionalOrganizationComponent-CP_MLvtk.js.map +0 -1
- package/chunk/LicensedProfessionalOrganizationComponent-Dwbseq8o.js +0 -35
- package/chunk/LicensedProfessionalOrganizationComponent-Dwbseq8o.js.map +0 -1
- package/chunk/LowIncomeOrganizationComponent-BXmap6Rx.js +0 -110
- package/chunk/LowIncomeOrganizationComponent-BXmap6Rx.js.map +0 -1
- package/chunk/LowIncomeOrganizationComponent-D8CNP5HY.js +0 -106
- package/chunk/LowIncomeOrganizationComponent-D8CNP5HY.js.map +0 -1
- package/chunk/MedicalProfessionalOrganizationComponent-BbYalsLY.js +0 -36
- package/chunk/MedicalProfessionalOrganizationComponent-BbYalsLY.js.map +0 -1
- package/chunk/MedicalProfessionalOrganizationComponent-KmjANRJ9.js +0 -40
- package/chunk/MedicalProfessionalOrganizationComponent-KmjANRJ9.js.map +0 -1
- package/chunk/MemberIdComponent-TNTlU0wZ.js +0 -42
- package/chunk/MemberIdComponent-TNTlU0wZ.js.map +0 -1
- package/chunk/MemberIdComponent-ubWwGiAG.js +0 -38
- package/chunk/MemberIdComponent-ubWwGiAG.js.map +0 -1
- package/chunk/MembershipOrganizationComponent-BlYWLmzA.js +0 -39
- package/chunk/MembershipOrganizationComponent-BlYWLmzA.js.map +0 -1
- package/chunk/MembershipOrganizationComponent-QqiCbPz3.js +0 -35
- package/chunk/MembershipOrganizationComponent-QqiCbPz3.js.map +0 -1
- package/chunk/PersonalInfoStepSubmitButton-DvMU95pj.js.map +0 -1
- package/chunk/PersonalInfoStepSubmitButton-_wFfZCyV.js.map +0 -1
- package/chunk/PostalCodeComponent-BF8Fplpm.js +0 -41
- package/chunk/PostalCodeComponent-BF8Fplpm.js.map +0 -1
- package/chunk/PostalCodeComponent-Cn7FPVh2.js +0 -37
- package/chunk/PostalCodeComponent-Cn7FPVh2.js.map +0 -1
- package/chunk/SSN-CbSneflU.js +0 -48
- package/chunk/SSN-CbSneflU.js.map +0 -1
- package/chunk/SSN-DPn5f0xr.js +0 -44
- package/chunk/SSN-DPn5f0xr.js.map +0 -1
- package/chunk/StateSelectComponent-BMxcczlp.js +0 -44
- package/chunk/StateSelectComponent-BMxcczlp.js.map +0 -1
- package/chunk/StateSelectComponent-Fwkoplfb.js +0 -40
- package/chunk/StateSelectComponent-Fwkoplfb.js.map +0 -1
- package/chunk/StatusComponent-C--lHDG1.js.map +0 -1
- package/chunk/StatusComponent-DUPrDBFL.js.map +0 -1
- package/chunk/StepActiveMilitaryPersonalInfoComponent-BQ1iNc2_.js +0 -179
- package/chunk/StepActiveMilitaryPersonalInfoComponent-BQ1iNc2_.js.map +0 -1
- package/chunk/StepActiveMilitaryPersonalInfoComponent-KweeN4OQ.js +0 -183
- package/chunk/StepActiveMilitaryPersonalInfoComponent-KweeN4OQ.js.map +0 -1
- package/chunk/StepAgePersonalInfo-Bqy4A9R_.js +0 -170
- package/chunk/StepCollectMilitaryStatusComponent-CNctoDoi.js +0 -13
- package/chunk/StepCollectMilitaryStatusComponent-DCVnycL7.js +0 -9
- package/chunk/StepCollectPersonalInfo-BOCmDplo.js +0 -358
- package/chunk/StepCollectPersonalInfo-BOCmDplo.js.map +0 -1
- package/chunk/StepCollectPersonalInfo-R9fs-nQd.js +0 -362
- package/chunk/StepCollectPersonalInfo-R9fs-nQd.js.map +0 -1
- package/chunk/StepEmploymentPersonalInfo-BokWlHYE.js +0 -215
- package/chunk/StepEmploymentPersonalInfo-BokWlHYE.js.map +0 -1
- package/chunk/StepEmploymentPersonalInfo-DmWrWi0w.js +0 -219
- package/chunk/StepEmploymentPersonalInfo-DmWrWi0w.js.map +0 -1
- package/chunk/StepFirstResponderPersonalInfo--u-ggEEq.js +0 -172
- package/chunk/StepFirstResponderPersonalInfo--u-ggEEq.js.map +0 -1
- package/chunk/StepFirstResponderPersonalInfo-Cs4BiLuq.js +0 -176
- package/chunk/StepFirstResponderPersonalInfo-Cs4BiLuq.js.map +0 -1
- package/chunk/StepIDCheckLoop-CqMy-kih.js +0 -24
- package/chunk/StepInactiveMilitaryPersonalInfoComponent-BUL3KyDd.js +0 -237
- package/chunk/StepInactiveMilitaryPersonalInfoComponent-BUL3KyDd.js.map +0 -1
- package/chunk/StepInactiveMilitaryPersonalInfoComponent-DD3ijaER.js +0 -241
- package/chunk/StepInactiveMilitaryPersonalInfoComponent-DD3ijaER.js.map +0 -1
- package/chunk/StepLicensedProfessionalPersonalInfo-BoMh77dS.js +0 -190
- package/chunk/StepLicensedProfessionalPersonalInfo-BoMh77dS.js.map +0 -1
- package/chunk/StepLicensedProfessionalPersonalInfo-CJUnLQJn.js +0 -186
- package/chunk/StepLicensedProfessionalPersonalInfo-CJUnLQJn.js.map +0 -1
- package/chunk/StepLowIncomePersonalInfo-KsWVTeO_.js +0 -223
- package/chunk/StepLowIncomePersonalInfo-KsWVTeO_.js.map +0 -1
- package/chunk/StepLowIncomePersonalInfo-WixW7jSE.js +0 -227
- package/chunk/StepLowIncomePersonalInfo-WixW7jSE.js.map +0 -1
- package/chunk/StepMedicalProfessionalPersonalInfo-CkP3ijlv.js +0 -203
- package/chunk/StepMedicalProfessionalPersonalInfo-CkP3ijlv.js.map +0 -1
- package/chunk/StepMedicalProfessionalPersonalInfo-ZWnPprFj.js +0 -207
- package/chunk/StepMedicalProfessionalPersonalInfo-ZWnPprFj.js.map +0 -1
- package/chunk/StepMemberPersonalInfo-BkdO0M03.js +0 -157
- package/chunk/StepMemberPersonalInfo-iiEeEHMd.js +0 -153
- package/chunk/StepMoverPersonalInfo-B8ulp8r4.js +0 -144
- package/chunk/StepMoverPersonalInfo-ddojJbVP.js +0 -140
- package/chunk/StepSMSLoop-CYsBZ7tK.js +0 -180
- package/chunk/StepSMSLoop-CYsBZ7tK.js.map +0 -1
- package/chunk/StepSMSLoop-ZFEdfzI7.js +0 -184
- package/chunk/StepSMSLoop-ZFEdfzI7.js.map +0 -1
- package/chunk/StepStudentPersonalInfo-CPEy1x3k.js +0 -222
- package/chunk/StepStudentPersonalInfo-CPEy1x3k.js.map +0 -1
- package/chunk/StepStudentPersonalInfo-DNqHAtn-.js +0 -218
- package/chunk/StepStudentPersonalInfo-DNqHAtn-.js.map +0 -1
- package/chunk/StepTeacherPersonalInfo-CJXMX4i-.js +0 -150
- package/chunk/StepTeacherPersonalInfo-DuQ_2jzT.js +0 -154
- package/chunk/TestingRouteOverrides-B51tlkPN.js +0 -77
- package/chunk/VerificationApiUtils-BBxvDM3j.js +0 -25
- package/chunk/VerificationApiUtils-BBxvDM3j.js.map +0 -1
- package/chunk/VerificationApiUtils-CFvFUGWV.js +0 -21
- package/chunk/VerificationApiUtils-CFvFUGWV.js.map +0 -1
- package/chunk/countryUtils-_b1AEFmu.js +0 -12
- package/chunk/empties-B6yh07nS.js.map +0 -1
- package/chunk/empties-Cng4q8t3.js.map +0 -1
- package/chunk/hooks-B179G474.js.map +0 -1
- package/chunk/hooks-D2tFSceS.js.map +0 -1
- package/chunk/intl-Ft_65Lzo.js.map +0 -1
- package/chunk/militaryStepHelpers-CJ4smMQ2.js +0 -22
- package/chunk/militaryStepHelpers-CJ4smMQ2.js.map +0 -1
- package/chunk/militaryStepHelpers-tnlMV7Ug.js +0 -26
- package/chunk/militaryStepHelpers-tnlMV7Ug.js.map +0 -1
- package/chunk/options-Co1RW3vc.js.map +0 -1
- package/chunk/programThemeGetters-D2JwF5p-.js +0 -153
- package/chunk/stepComponentHelpers-2Sq02uha.js +0 -174
- package/chunk/stepComponentHelpers-2Sq02uha.js.map +0 -1
- package/chunk/stepComponentHelpers-uJDQGcgs.js +0 -170
- package/chunk/stepComponentHelpers-uJDQGcgs.js.map +0 -1
- package/chunk/useCollectFieldsEndpoint-BU9xoRkC.js +0 -37
- package/chunk/useCollectFieldsEndpoint-BU9xoRkC.js.map +0 -1
- package/chunk/useCollectFieldsEndpoint-EgQ_hVpj.js +0 -41
- package/chunk/useCollectFieldsEndpoint-EgQ_hVpj.js.map +0 -1
package/_mysheerid-preview.js
CHANGED
|
@@ -4,74 +4,75 @@
|
|
|
4
4
|
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* VERSION: 2.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE:
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.278.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1788969605732
|
|
9
|
+
* BUILD_DATE: Wed Sep 09 2026 16:00:05 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 8a89332fc253f0825b74dafece3ffed62b9fd070
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import { c as
|
|
15
|
-
import {
|
|
16
|
-
import { c as
|
|
17
|
-
import { a as
|
|
18
|
-
import { i as Ye } from "./chunk/
|
|
19
|
-
import {
|
|
20
|
-
import { i as
|
|
21
|
-
import { t as it } from "./chunk/
|
|
22
|
-
import { t as at } from "./chunk/
|
|
23
|
-
import { t as ot } from "./chunk/
|
|
12
|
+
import { Bt as e, D as t, E as n, Ht as r, Nt as i, O as a, Pt as o, Rt as s, T as c, Wt as l, b as u, c as d, f, g as p, h as m, i as h, jt as g, l as _, m as v, n as y, o as b, ot as x, p as S, pt as C, r as w, s as T, t as ee, v as te, w as E, x as D, y as O, zt as ne } from "./chunk/intl-e5WHiYfA.js";
|
|
13
|
+
import { f as k, m as A, p as j, u as re } from "./chunk/ApiUrls-_Hc7S_uv.js";
|
|
14
|
+
import { c as ie, i as ae, n as M, t as oe } from "./chunk/jsx-runtime-LqzCS-0D.js";
|
|
15
|
+
import { S as se, _ as ce, a as le, b as ue, c as de, d as fe, f as pe, g as me, i as he, o as ge, r as _e, s as ve, t as N, u as ye, v as be, w as xe, x as Se, y as Ce } from "./chunk/Message-BK3a2RyH.js";
|
|
16
|
+
import { c as we, d as Te, l as Ee, o as De } from "./chunk/VerificationApiClient-CVe2IgK7.js";
|
|
17
|
+
import { a as Oe, i as ke, n as Ae, r as je, s as Me, t as Ne } from "./chunk/TestingRouteOverrides-CAGESMw9.js";
|
|
18
|
+
import { _ as Pe, a as Fe, c as Ie, d as Le, f as Re, g as ze, h as Be, i as Ve, l as He, n as Ue, o as We, p as Ge, r as Ke, s as qe, t as Je, u as Ye } from "./chunk/FormFooterComponent-CAoH3NjO.js";
|
|
19
|
+
import { i as Xe } from "./chunk/programThemeGetters-uLsgGat1.js";
|
|
20
|
+
import { a as Ze, i as Qe, n as $e, r as et, t as tt } from "./chunk/hooks-C15H5pD-.js";
|
|
21
|
+
import { i as nt, s as rt, t as it } from "./chunk/refs-CI3K5ndt.js";
|
|
22
|
+
import { t as at } from "./chunk/LogoComponent-Dx1G-rzE.js";
|
|
23
|
+
import { t as ot } from "./chunk/strings-DWLVdUcm.js";
|
|
24
|
+
import { t as st } from "./chunk/AnnouncingHeader-YPjBYzsZ.js";
|
|
24
25
|
//#region ../node_modules/react-i18next/dist/es/I18nextProvider.js
|
|
25
|
-
var
|
|
26
|
-
function
|
|
27
|
-
let r = (0,
|
|
26
|
+
var P = /* @__PURE__ */ l(ie());
|
|
27
|
+
function ct({ i18n: e, defaultNS: t, children: n }) {
|
|
28
|
+
let r = (0, P.useMemo)(() => ({
|
|
28
29
|
i18n: e,
|
|
29
30
|
defaultNS: t
|
|
30
31
|
}), [e, t]);
|
|
31
|
-
return (0,
|
|
32
|
+
return (0, P.createElement)(xe.Provider, { value: r }, n);
|
|
32
33
|
}
|
|
33
34
|
//#endregion
|
|
34
35
|
//#region src/lib/VerificationService/ProgramTheme/ProgramTheme.ts
|
|
35
|
-
var
|
|
36
|
-
let
|
|
37
|
-
let
|
|
38
|
-
|
|
36
|
+
var lt = (t, n = { partial: !0 }) => {
|
|
37
|
+
let r = Ke(), i = r.getState(), o = () => {
|
|
38
|
+
let i = a(t);
|
|
39
|
+
e.info("Setting programTheme", i), Le(r.dispatch)(i, n.partial), be(i, n.partial);
|
|
39
40
|
};
|
|
40
|
-
|
|
41
|
+
i.isLoading ? Be({
|
|
41
42
|
name: "ON_VERIFICATION_READY",
|
|
42
43
|
callback: () => {
|
|
43
|
-
|
|
44
|
+
o();
|
|
44
45
|
}
|
|
45
|
-
}) :
|
|
46
|
-
},
|
|
46
|
+
}) : o();
|
|
47
|
+
}, ut = /* @__PURE__ */ l(ne(), 1), dt = /* @__PURE__ */ l(me(), 1), F = oe(), ft = () => /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
47
48
|
className: "sid-spinner",
|
|
48
49
|
"data-testid": "sid-spinner",
|
|
49
50
|
children: [
|
|
50
|
-
/* @__PURE__ */ (0,
|
|
51
|
-
/* @__PURE__ */ (0,
|
|
52
|
-
/* @__PURE__ */ (0,
|
|
53
|
-
/* @__PURE__ */ (0,
|
|
51
|
+
/* @__PURE__ */ (0, F.jsx)("div", { className: "sid-spinner__frame" }),
|
|
52
|
+
/* @__PURE__ */ (0, F.jsx)("div", { className: "sid-spinner__frame" }),
|
|
53
|
+
/* @__PURE__ */ (0, F.jsx)("div", { className: "sid-spinner__frame" }),
|
|
54
|
+
/* @__PURE__ */ (0, F.jsx)("div", { className: "sid-spinner__frame" })
|
|
54
55
|
]
|
|
55
|
-
}),
|
|
56
|
+
}), pt = ({ step: e }) => /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
56
57
|
className: "sid-loading-screen__message",
|
|
57
|
-
children: [
|
|
58
|
+
children: [o(e) && /* @__PURE__ */ (0, F.jsx)("div", {
|
|
58
59
|
className: "sid-loading-screen__message-header",
|
|
59
60
|
role: "alert",
|
|
60
|
-
children: /* @__PURE__ */ (0,
|
|
61
|
+
children: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
61
62
|
id: "step.personalInfo.verifyingTitle",
|
|
62
63
|
defaultMessage: "Verifying your status"
|
|
63
64
|
})
|
|
64
|
-
}), /* @__PURE__ */ (0,
|
|
65
|
+
}), /* @__PURE__ */ (0, F.jsx)("div", {
|
|
65
66
|
className: "sid-loading-screen__message-subhead",
|
|
66
|
-
children: /* @__PURE__ */ (0,
|
|
67
|
+
children: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
67
68
|
id: "step.personalInfo.verifyingSubtitle",
|
|
68
69
|
defaultMessage: "This should only take a minute"
|
|
69
70
|
})
|
|
70
71
|
})]
|
|
71
|
-
}),
|
|
72
|
+
}), mt = ({ step: e = Ne() }) => /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
72
73
|
className: "sid-loading-screen",
|
|
73
|
-
children: [/* @__PURE__ */ (0,
|
|
74
|
-
}),
|
|
74
|
+
children: [/* @__PURE__ */ (0, F.jsx)(ft, {}), e && /* @__PURE__ */ (0, F.jsx)(pt, { step: e })]
|
|
75
|
+
}), ht = /* @__PURE__ */ r(((e, t) => {
|
|
75
76
|
var n, r = n = {
|
|
76
77
|
_regexEscape: /([\.\*\+\^\$\[\]\\\(\)\|\{\}\,\-\:\?])/g,
|
|
77
78
|
_regexParseLocale: /^([a-zA-Z]*)([_\-a-zA-Z]*)$/,
|
|
@@ -138,13 +139,13 @@ var ct = (e, t = { partial: !0 }) => {
|
|
|
138
139
|
enumerable: !0,
|
|
139
140
|
configurable: !1
|
|
140
141
|
}), t.exports = r;
|
|
141
|
-
})),
|
|
142
|
-
var n =
|
|
142
|
+
})), gt = /* @__PURE__ */ r(((e, t) => {
|
|
143
|
+
var n = ht();
|
|
143
144
|
t.exports = {
|
|
144
145
|
isRtlLang: n.isRtlLang,
|
|
145
146
|
getLangDir: n.getLangDir
|
|
146
147
|
};
|
|
147
|
-
})),
|
|
148
|
+
})), _t = /* @__PURE__ */ l(Te(), 1), vt = /* @__PURE__ */ l(gt(), 1), I = {
|
|
148
149
|
landingBackgroundColor: "#fff",
|
|
149
150
|
landingPrimaryFontColor: "#000",
|
|
150
151
|
landingBackgroundImage: "none",
|
|
@@ -158,7 +159,7 @@ var ct = (e, t = { partial: !0 }) => {
|
|
|
158
159
|
formFont: "var(--sheerid-font-family-sans)",
|
|
159
160
|
cssVariables: null,
|
|
160
161
|
customStyles: null
|
|
161
|
-
},
|
|
162
|
+
}, yt = P.createContext(I), L = {
|
|
162
163
|
landingBackgroundColor: "--sheerid-landing-background-color",
|
|
163
164
|
landingPrimaryFontColor: "--sheerid-landing-primary-font-color",
|
|
164
165
|
landingBackgroundImage: "--sheerid-landing-background-image-url",
|
|
@@ -172,7 +173,7 @@ var ct = (e, t = { partial: !0 }) => {
|
|
|
172
173
|
formFont: "--sheerid-font-family-body",
|
|
173
174
|
cssVariables: null,
|
|
174
175
|
customStyles: null
|
|
175
|
-
},
|
|
176
|
+
}, bt = {
|
|
176
177
|
"--sheerid-color-fg-05": {
|
|
177
178
|
from: "--sheerid-color-bg",
|
|
178
179
|
to: "--sheerid-color-fg",
|
|
@@ -283,25 +284,25 @@ var ct = (e, t = { partial: !0 }) => {
|
|
|
283
284
|
to: "--sheerid-color-fg",
|
|
284
285
|
percentage: 3
|
|
285
286
|
}
|
|
286
|
-
},
|
|
287
|
-
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 ||
|
|
288
|
-
[
|
|
289
|
-
[
|
|
290
|
-
[
|
|
291
|
-
[
|
|
292
|
-
[
|
|
293
|
-
[
|
|
294
|
-
[
|
|
295
|
-
[
|
|
296
|
-
[
|
|
297
|
-
[
|
|
298
|
-
[
|
|
299
|
-
...Object.entries(
|
|
287
|
+
}, xt = ({ themeChoices: e, customCssFromOptions: t, children: n }) => {
|
|
288
|
+
let r = (e) => window.self === window.top ? e.replace(/body,/g, "").replace(/label,/g, "").replace(/button\[type=('|")submit('|")\]\s*?\{[\s\S]*?\}\n?/g, "").replace(/a:link,\s+a:visited,\s+a:hover,\s+a:active\s*?\{[\s\S]*?\}\n?/g, "").replace(/h1\s*?\{[\s\S]*?\}\n?/g, "") : e, i = t || e?.customCss || "", a = i ? r(i) : null, o = e?.landingPage, s = o?.backgroundColor || 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 = {
|
|
289
|
+
[L.landingBackgroundColor]: s,
|
|
290
|
+
[L.landingPrimaryFontColor]: c,
|
|
291
|
+
[L.landingBackgroundImage]: l === I.landingBackgroundImage ? I.landingBackgroundImage : `url(${l})`,
|
|
292
|
+
[L.formBackgroundColor]: u,
|
|
293
|
+
[L.formPrimaryFontColor]: d,
|
|
294
|
+
[L.formButtonColor]: f,
|
|
295
|
+
[L.formButtonFontColor]: p,
|
|
296
|
+
[L.formLinkColor]: m,
|
|
297
|
+
[L.formH1FontColor]: h,
|
|
298
|
+
[L.formHelperFontColor]: g,
|
|
299
|
+
[L.formFont]: _ === I.formFont ? I.formFont : `${_}, var(--sheerid-font-family-sans)`,
|
|
300
|
+
...Object.entries(bt).reduce((e, [t, n]) => {
|
|
300
301
|
let r = n.from.startsWith("--") ? `var(${n.from})` : n.from, i = n.to.startsWith("--") ? `var(${n.to})` : n.to;
|
|
301
302
|
return e[t] = `color-mix(in oklab, ${r} ${100 - n.percentage}%, ${i} ${n.percentage}%)`, e;
|
|
302
303
|
}, {})
|
|
303
|
-
}, y =
|
|
304
|
-
return /* @__PURE__ */ (0,
|
|
304
|
+
}, y = P.useRef(null), b = j() === k.cdnInlineIframe, x = j() === k.cdnModalIframe;
|
|
305
|
+
return /* @__PURE__ */ (0, F.jsx)(yt.Provider, {
|
|
305
306
|
value: {
|
|
306
307
|
landingBackgroundColor: s,
|
|
307
308
|
landingPrimaryFontColor: c,
|
|
@@ -317,15 +318,15 @@ var ct = (e, t = { partial: !0 }) => {
|
|
|
317
318
|
cssVariables: v,
|
|
318
319
|
customStyles: a
|
|
319
320
|
},
|
|
320
|
-
children: /* @__PURE__ */ (0,
|
|
321
|
+
children: /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
321
322
|
style: v,
|
|
322
323
|
ref: y,
|
|
323
324
|
"data-in-iframe": b,
|
|
324
325
|
"data-in-modal": x,
|
|
325
|
-
children: [a && /* @__PURE__ */ (0,
|
|
326
|
+
children: [a && /* @__PURE__ */ (0, F.jsx)("style", { children: a }), n]
|
|
326
327
|
})
|
|
327
328
|
});
|
|
328
|
-
},
|
|
329
|
+
}, St = (e, t, n) => ({
|
|
329
330
|
minAge: t?.minAge || e?.config?.minAge,
|
|
330
331
|
maxAge: t?.maxAge || e?.config?.maxAge,
|
|
331
332
|
smsLoopEnabled: e?.smsLoopEnabled,
|
|
@@ -333,128 +334,128 @@ var ct = (e, t = { partial: !0 }) => {
|
|
|
333
334
|
transitionalMilitaryValidityDays: e?.transitionalMilitaryValidityDays,
|
|
334
335
|
currentStep: t?.currentStep,
|
|
335
336
|
viewModel: n
|
|
336
|
-
}),
|
|
337
|
+
}), Ct = {}, wt = (t) => Ct[t] ? (e.log(`getOverridenComponent returning ${t}`), Ct[t]) : null, Tt = ({ verificationService: e, linkText: t }) => {
|
|
337
338
|
let { segment: n } = e.verificationResponse, { programId: r, programTheme: i } = e;
|
|
338
|
-
return n ? /* @__PURE__ */ (0,
|
|
339
|
+
return n ? /* @__PURE__ */ (0, F.jsx)(_e, {
|
|
339
340
|
className: "sid-faq sid-link",
|
|
340
|
-
href:
|
|
341
|
-
children: t || /* @__PURE__ */ (0,
|
|
341
|
+
href: Xe(i, n, r, ee(e.viewModel), e.verificationResponse),
|
|
342
|
+
children: t || /* @__PURE__ */ (0, F.jsx)(M, {
|
|
342
343
|
id: "getHelp",
|
|
343
344
|
defaultMessage: "Get help"
|
|
344
345
|
})
|
|
345
346
|
}) : null;
|
|
346
|
-
},
|
|
347
|
+
}, Et = /* @__PURE__ */ (0, F.jsx)(M, {
|
|
347
348
|
id: "poweredBy",
|
|
348
349
|
defaultMessage: "Verification services powered by SheerID."
|
|
349
|
-
}),
|
|
350
|
+
}), Dt = ({ verificationService: e, isCentered: t, variant: n = "default", hideFaqLink: r = !1 }) => {
|
|
350
351
|
switch (n) {
|
|
351
|
-
case "poweredby": return /* @__PURE__ */ (0,
|
|
352
|
+
case "poweredby": return /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
352
353
|
className: "sid-footer__powered-by-container-experiment",
|
|
353
|
-
children: [/* @__PURE__ */ (0,
|
|
354
|
+
children: [/* @__PURE__ */ (0, F.jsx)("div", {
|
|
354
355
|
className: "sid-footer__powered-by_powerby-experiment",
|
|
355
|
-
children:
|
|
356
|
-
}), !r && /* @__PURE__ */ (0,
|
|
356
|
+
children: Et
|
|
357
|
+
}), !r && /* @__PURE__ */ (0, F.jsx)("div", {
|
|
357
358
|
className: "sid-footer__powered-by_powerby-experiment",
|
|
358
|
-
children: /* @__PURE__ */ (0,
|
|
359
|
+
children: /* @__PURE__ */ (0, F.jsx)(Tt, { verificationService: e })
|
|
359
360
|
})]
|
|
360
361
|
});
|
|
361
|
-
case "verificationby": return /* @__PURE__ */ (0,
|
|
362
|
+
case "verificationby": return /* @__PURE__ */ (0, F.jsx)("div", {
|
|
362
363
|
className: "sid-footer__powered-by-container--stacked sid-l-horz-center sid-footer__powered-by-experiment",
|
|
363
|
-
children: /* @__PURE__ */ (0,
|
|
364
|
+
children: /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
364
365
|
className: "sid-footer__powered-by-verificationby-experiment",
|
|
365
|
-
children: [/* @__PURE__ */ (0,
|
|
366
|
+
children: [/* @__PURE__ */ (0, F.jsx)("div", {
|
|
366
367
|
className: "sid-footer__powered-by-icon-experiment",
|
|
367
|
-
children: /* @__PURE__ */ (0,
|
|
368
|
+
children: /* @__PURE__ */ (0, F.jsx)("img", {
|
|
368
369
|
alt: "",
|
|
369
370
|
src: "https://com-sheerid-resources.s3.us-east-1.amazonaws.com/common/images/2018/icons/sheerid_logo.svg"
|
|
370
371
|
})
|
|
371
|
-
}),
|
|
372
|
+
}), Et]
|
|
372
373
|
})
|
|
373
374
|
});
|
|
374
|
-
default: return /* @__PURE__ */ (0,
|
|
375
|
+
default: return /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
375
376
|
className: t ? "sid-footer__powered-by-container--stacked sid-l-horz-center" : "sid-footer__powered-by-container",
|
|
376
|
-
children: [/* @__PURE__ */ (0,
|
|
377
|
+
children: [/* @__PURE__ */ (0, F.jsx)("div", {
|
|
377
378
|
className: t ? "sid-footer__powered-by--stacked sid-l-horz-center" : "sid-footer__powered-by",
|
|
378
|
-
children:
|
|
379
|
-
}), !r && /* @__PURE__ */ (0,
|
|
379
|
+
children: Et
|
|
380
|
+
}), !r && /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
380
381
|
className: t ? "sid-l-space-top-sm" : "",
|
|
381
|
-
children: ["\xA0", /* @__PURE__ */ (0,
|
|
382
|
+
children: ["\xA0", /* @__PURE__ */ (0, F.jsx)(Tt, { verificationService: e })]
|
|
382
383
|
})]
|
|
383
384
|
});
|
|
384
385
|
}
|
|
385
|
-
},
|
|
386
|
-
let n =
|
|
386
|
+
}, Ot = (e, t) => {
|
|
387
|
+
let n = P.useRef(null);
|
|
387
388
|
function r() {
|
|
388
389
|
clearInterval(n.current);
|
|
389
390
|
}
|
|
390
|
-
return
|
|
391
|
-
},
|
|
392
|
-
let a =
|
|
393
|
-
return /* @__PURE__ */ (0,
|
|
391
|
+
return P.useEffect(() => (n.current = setInterval(e, t), () => r()), [e, t]), r;
|
|
392
|
+
}, kt = ({ stepName: e, messages: t, logo: n, cancelSingleSignOn: r, cancelButtonType: i = Mt.PRIMARY }) => {
|
|
393
|
+
let a = ot(e);
|
|
394
|
+
return /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
394
395
|
className: "sid-header sid-l-horz-center",
|
|
395
396
|
children: [
|
|
396
|
-
/* @__PURE__ */ (0,
|
|
397
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
397
398
|
className: "sid-pending-logo-container sid-l-horz-center",
|
|
398
399
|
children: n
|
|
399
400
|
}),
|
|
400
|
-
/* @__PURE__ */ (0,
|
|
401
|
+
/* @__PURE__ */ (0, F.jsx)(st, {
|
|
401
402
|
align: "center",
|
|
402
403
|
children: t.title
|
|
403
404
|
}),
|
|
404
|
-
/* @__PURE__ */ (0,
|
|
405
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
405
406
|
className: "sid-header__subtitle-one",
|
|
406
407
|
children: t.subtitle
|
|
407
408
|
}),
|
|
408
|
-
t?.subtitle2 && /* @__PURE__ */ (0,
|
|
409
|
-
/* @__PURE__ */ (0,
|
|
409
|
+
t?.subtitle2 && /* @__PURE__ */ (0, F.jsx)("div", { className: "sid-l-space-top-xl" }),
|
|
410
|
+
/* @__PURE__ */ (0, F.jsxs)("div", {
|
|
410
411
|
className: "sid-header__subtitle-two sid-h-small-text sid-l-space-top-md",
|
|
411
|
-
children: [t?.subtitle2 && t.subtitle2, /* @__PURE__ */ (0,
|
|
412
|
+
children: [t?.subtitle2 && t.subtitle2, /* @__PURE__ */ (0, F.jsx)("div", {
|
|
412
413
|
className: `sid-form-region sid-${a}-pending-submit sid-submit-wrapper sid-l-space-top-md`,
|
|
413
|
-
children: /* @__PURE__ */ (0,
|
|
414
|
+
children: /* @__PURE__ */ (0, F.jsx)("button", {
|
|
414
415
|
onClick: r,
|
|
415
416
|
type: "submit",
|
|
416
|
-
className: `sid-btn sid-${a}-pending-submit-btn ${i ===
|
|
417
|
+
className: `sid-btn sid-${a}-pending-submit-btn ${i === Mt.SECONDARY ? "sid-btn-light" : "sid-btn--dark"} sid-l-full-width`,
|
|
417
418
|
"aria-label": "submit",
|
|
418
419
|
children: t.cancel
|
|
419
420
|
})
|
|
420
421
|
})]
|
|
421
422
|
}),
|
|
422
|
-
t?.subtitle2 ? /* @__PURE__ */ (0,
|
|
423
|
+
t?.subtitle2 ? /* @__PURE__ */ (0, F.jsx)("div", { className: "sid-l-space-top-xl" }) : /* @__PURE__ */ (0, F.jsx)("div", { className: "sid-l-space-top-lg" })
|
|
423
424
|
]
|
|
424
425
|
});
|
|
425
|
-
},
|
|
426
|
+
}, At = ({ stepName: e, messages: t, logo: n, cancelSingleSignOn: r, cancelButtonType: i = Mt.PRIMARY }) => /* @__PURE__ */ (0, F.jsx)(kt, {
|
|
426
427
|
messages: t,
|
|
427
428
|
stepName: e,
|
|
428
429
|
logo: n,
|
|
429
430
|
cancelSingleSignOn: r,
|
|
430
431
|
cancelButtonType: i
|
|
431
|
-
}),
|
|
432
|
-
let i =
|
|
433
|
-
return /* @__PURE__ */ (0,
|
|
432
|
+
}), jt = ({ messages: e, verificationService: t, updateViewModelAndOpenLoginTab: n, dashedStepName: r }) => {
|
|
433
|
+
let i = tt("hc-my-sheer-id-theme-builder");
|
|
434
|
+
return /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
434
435
|
className: "sid-header sid-l-horz-center",
|
|
435
436
|
children: [
|
|
436
|
-
/* @__PURE__ */ (0,
|
|
437
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
437
438
|
className: `sid-${r}-logo-container sid-l-horz-center`,
|
|
438
|
-
children: /* @__PURE__ */ (0,
|
|
439
|
+
children: /* @__PURE__ */ (0, F.jsx)(at, {
|
|
439
440
|
verificationService: t,
|
|
440
|
-
fallbackLogo: !i && /* @__PURE__ */ (0,
|
|
441
|
+
fallbackLogo: !i && /* @__PURE__ */ (0, F.jsx)("img", {
|
|
441
442
|
className: `sid-${r}-logo-default sid-l-lead-image`,
|
|
442
443
|
alt: "",
|
|
443
444
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/sso-step.svg"
|
|
444
445
|
})
|
|
445
446
|
})
|
|
446
447
|
}),
|
|
447
|
-
/* @__PURE__ */ (0,
|
|
448
|
+
/* @__PURE__ */ (0, F.jsx)(st, {
|
|
448
449
|
align: "center",
|
|
449
450
|
children: e.title
|
|
450
451
|
}),
|
|
451
|
-
/* @__PURE__ */ (0,
|
|
452
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
452
453
|
className: "sid-header__subtitle-one",
|
|
453
454
|
children: e.subtitle
|
|
454
455
|
}),
|
|
455
|
-
/* @__PURE__ */ (0,
|
|
456
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
456
457
|
className: `sid-form-region sid-${r}-submit sid-submit-wrapper sid-l-space-top-md`,
|
|
457
|
-
children: /* @__PURE__ */ (0,
|
|
458
|
+
children: /* @__PURE__ */ (0, F.jsx)("button", {
|
|
458
459
|
id: `sid-submit-btn-${r}`,
|
|
459
460
|
onClick: () => n("isSingleSignOnActive", !0),
|
|
460
461
|
type: "submit",
|
|
@@ -462,200 +463,200 @@ var ct = (e, t = { partial: !0 }) => {
|
|
|
462
463
|
children: e.login
|
|
463
464
|
})
|
|
464
465
|
}),
|
|
465
|
-
/* @__PURE__ */ (0,
|
|
466
|
+
/* @__PURE__ */ (0, F.jsx)("div", { className: "sid-l-space-top-lg" })
|
|
466
467
|
]
|
|
467
468
|
});
|
|
468
|
-
},
|
|
469
|
+
}, Mt = /* @__PURE__ */ function(e) {
|
|
469
470
|
return e.PRIMARY = "primary", e.SECONDARY = "secondary", e;
|
|
470
|
-
}({}),
|
|
471
|
-
let { programId:
|
|
472
|
-
verificationService:
|
|
473
|
-
fallbackLogo: !g && /* @__PURE__ */ (0,
|
|
474
|
-
className: `sid-${
|
|
471
|
+
}({}), Nt = ({ verificationService: t, stepName: n, messages: r, cancelButtonType: a = "primary" }) => {
|
|
472
|
+
let { programId: o } = t, s = t.viewModel, c = t.previousViewModel || void 0, l = t.verificationResponse, u = t.previousVerificationResponse || void 0, { verificationId: d, locale: f } = t.verificationResponse, m = Oe(), h = ot(n), g = tt("hc-my-sheer-id-theme-builder"), _, v = /* @__PURE__ */ (0, F.jsx)(at, {
|
|
473
|
+
verificationService: t,
|
|
474
|
+
fallbackLogo: !g && /* @__PURE__ */ (0, F.jsx)("img", {
|
|
475
|
+
className: `sid-${h}-logo-default sid-l-lead-image`,
|
|
475
476
|
alt: "",
|
|
476
477
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg"
|
|
477
478
|
})
|
|
478
479
|
}), y = () => setTimeout(() => {
|
|
479
|
-
|
|
480
|
-
}, 1e3), b = (
|
|
481
|
-
let r =
|
|
482
|
-
e
|
|
480
|
+
t.fetchExistingVerificationRequest(o, d, u, c);
|
|
481
|
+
}, 1e3), b = (e, n) => {
|
|
482
|
+
let r = S(s, (t) => {
|
|
483
|
+
t[e] = n;
|
|
483
484
|
});
|
|
484
|
-
|
|
485
|
+
t.updateViewModel(r);
|
|
485
486
|
}, x = () => {
|
|
486
|
-
|
|
487
|
-
programId:
|
|
487
|
+
O(p.SSO_CANCEL_CLICKED, {
|
|
488
|
+
programId: o,
|
|
488
489
|
locale: f,
|
|
489
|
-
verificationId:
|
|
490
|
-
}),
|
|
491
|
-
let
|
|
492
|
-
|
|
493
|
-
},
|
|
494
|
-
|
|
495
|
-
programId:
|
|
490
|
+
verificationId: d
|
|
491
|
+
}), it();
|
|
492
|
+
let r = S(s, () => {});
|
|
493
|
+
e.info("SingleSignOnComponent submitting cancel request"), clearTimeout(_), t.submitStep(n, r, t.verificationResponse);
|
|
494
|
+
}, C = (e, t) => {
|
|
495
|
+
O(p.SSO_SIGN_IN_CLICKED, {
|
|
496
|
+
programId: o,
|
|
496
497
|
locale: f,
|
|
497
|
-
verificationId:
|
|
498
|
+
verificationId: d
|
|
498
499
|
}), b(e, t), w();
|
|
499
500
|
}, w = () => {
|
|
500
|
-
let e =
|
|
501
|
-
|
|
501
|
+
let e = n === i.sso ? De(l.loginUrl) : l.loginUrl;
|
|
502
|
+
rt(window.open(e, "_blank")), nt().focus();
|
|
502
503
|
};
|
|
503
|
-
return
|
|
504
|
-
id: `sid-step-${
|
|
505
|
-
className: `sid-${
|
|
506
|
-
"data-testid": `sid-step-${
|
|
507
|
-
children: [/* @__PURE__ */ (0,
|
|
504
|
+
return s.isSingleSignOnActive && !m && (_ = y()), !s.countryChoice && c && c.countryChoice && b("countryChoice", c.countryChoice), /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
505
|
+
id: `sid-step-${h}`,
|
|
506
|
+
className: `sid-${h}-container sid-l-container`,
|
|
507
|
+
"data-testid": `sid-step-${h}`,
|
|
508
|
+
children: [/* @__PURE__ */ (0, F.jsx)("div", {
|
|
508
509
|
role: "main",
|
|
509
|
-
children:
|
|
510
|
-
stepName:
|
|
511
|
-
messages:
|
|
510
|
+
children: s.isSingleSignOnActive ? /* @__PURE__ */ (0, F.jsx)(At, {
|
|
511
|
+
stepName: n,
|
|
512
|
+
messages: r,
|
|
512
513
|
logo: v,
|
|
513
514
|
cancelSingleSignOn: x,
|
|
514
|
-
cancelButtonType:
|
|
515
|
-
}) : /* @__PURE__ */ (0,
|
|
516
|
-
verificationService:
|
|
517
|
-
messages:
|
|
518
|
-
updateViewModelAndOpenLoginTab:
|
|
519
|
-
dashedStepName:
|
|
515
|
+
cancelButtonType: a
|
|
516
|
+
}) : /* @__PURE__ */ (0, F.jsx)(jt, {
|
|
517
|
+
verificationService: t,
|
|
518
|
+
messages: r,
|
|
519
|
+
updateViewModelAndOpenLoginTab: C,
|
|
520
|
+
dashedStepName: h
|
|
520
521
|
})
|
|
521
|
-
}), /* @__PURE__ */ (0,
|
|
522
|
+
}), /* @__PURE__ */ (0, F.jsx)(Je, { verificationService: t })]
|
|
522
523
|
});
|
|
523
|
-
},
|
|
524
|
-
title: /* @__PURE__ */ (0,
|
|
524
|
+
}, Pt = {
|
|
525
|
+
title: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
525
526
|
id: "step.sso.title",
|
|
526
527
|
defaultMessage: "Verify using your school credentials",
|
|
527
528
|
tagName: "h1"
|
|
528
529
|
}),
|
|
529
|
-
subtitle: /* @__PURE__ */ (0,
|
|
530
|
+
subtitle: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
530
531
|
id: "step.sso.subtitle",
|
|
531
532
|
defaultMessage: "Please sign in to your school's web portal. It will open in a new tab."
|
|
532
533
|
}),
|
|
533
|
-
login: /* @__PURE__ */ (0,
|
|
534
|
+
login: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
534
535
|
id: "step.sso.login",
|
|
535
536
|
defaultMessage: "Sign in to my school"
|
|
536
537
|
}),
|
|
537
|
-
cancel: /* @__PURE__ */ (0,
|
|
538
|
+
cancel: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
538
539
|
id: "step.sso.cancel",
|
|
539
540
|
defaultMessage: "Upload Proof of Enrollment"
|
|
540
541
|
}),
|
|
541
|
-
subtitle2: /* @__PURE__ */ (0,
|
|
542
|
+
subtitle2: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
542
543
|
id: "step.sso.subtitle2",
|
|
543
544
|
defaultMessage: "Can't sign in to your school?"
|
|
544
545
|
})
|
|
545
|
-
},
|
|
546
|
+
}, Ft = ({ verificationService: e }) => /* @__PURE__ */ (0, F.jsx)(Nt, {
|
|
546
547
|
verificationService: e,
|
|
547
|
-
stepName:
|
|
548
|
-
messages:
|
|
549
|
-
}),
|
|
548
|
+
stepName: i.sso,
|
|
549
|
+
messages: Pt
|
|
550
|
+
}), It = ({ logo: e }) => /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
550
551
|
className: "sid-header sid-l-horz-center",
|
|
551
552
|
"data-testid": "sid-review-pending",
|
|
552
553
|
children: [
|
|
553
|
-
/* @__PURE__ */ (0,
|
|
554
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
554
555
|
className: "sid-l-horz-center",
|
|
555
556
|
children: e
|
|
556
557
|
}),
|
|
557
|
-
/* @__PURE__ */ (0,
|
|
558
|
+
/* @__PURE__ */ (0, F.jsx)(st, {
|
|
558
559
|
align: "center",
|
|
559
|
-
children: /* @__PURE__ */ (0,
|
|
560
|
+
children: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
560
561
|
id: "step.pending.titleReview",
|
|
561
562
|
defaultMessage: "Reviewing",
|
|
562
563
|
tagName: "h1"
|
|
563
564
|
})
|
|
564
565
|
}),
|
|
565
|
-
/* @__PURE__ */ (0,
|
|
566
|
+
/* @__PURE__ */ (0, F.jsx)("div", { children: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
566
567
|
id: "step.pending.uploadedDocument",
|
|
567
568
|
defaultMessage: "Your document was uploaded successfully and is being reviewed."
|
|
568
569
|
}) }),
|
|
569
|
-
/* @__PURE__ */ (0,
|
|
570
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
570
571
|
className: "sid-header__subtitle-one sid-l-space-top-md",
|
|
571
|
-
children: /* @__PURE__ */ (0,
|
|
572
|
+
children: /* @__PURE__ */ (0, F.jsx)(N, { id: "step.pending.turnaroundTime" })
|
|
572
573
|
}),
|
|
573
|
-
/* @__PURE__ */ (0,
|
|
574
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
574
575
|
className: "sid-header__subtitle-two sid-l-space-top-md",
|
|
575
|
-
children: /* @__PURE__ */ (0,
|
|
576
|
+
children: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
576
577
|
id: "step.pending.subtitle2",
|
|
577
578
|
defaultMessage: "Wait here or let us notify you of the outcome."
|
|
578
579
|
})
|
|
579
580
|
}),
|
|
580
|
-
/* @__PURE__ */ (0,
|
|
581
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
581
582
|
className: "sid-header__subtitle-three sid-l-space-top-md",
|
|
582
|
-
children: /* @__PURE__ */ (0,
|
|
583
|
+
children: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
583
584
|
id: "step.pending.subtitle3",
|
|
584
585
|
defaultMessage: "You will be contacted via email."
|
|
585
586
|
})
|
|
586
587
|
}),
|
|
587
|
-
/* @__PURE__ */ (0,
|
|
588
|
+
/* @__PURE__ */ (0, F.jsx)("div", { className: "sid-l-space-top-xl" })
|
|
588
589
|
]
|
|
589
|
-
}),
|
|
590
|
+
}), Lt = ({ logo: e }) => /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
590
591
|
className: "sid-header sid-l-horz-center",
|
|
591
592
|
"data-testid": "sid-review-pending",
|
|
592
593
|
children: [
|
|
593
|
-
/* @__PURE__ */ (0,
|
|
594
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
594
595
|
className: "sid-l-horz-center",
|
|
595
596
|
children: e
|
|
596
597
|
}),
|
|
597
|
-
/* @__PURE__ */ (0,
|
|
598
|
+
/* @__PURE__ */ (0, F.jsx)(st, {
|
|
598
599
|
align: "center",
|
|
599
|
-
children: /* @__PURE__ */ (0,
|
|
600
|
+
children: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
600
601
|
id: "step.pending.idCheckLoop.title",
|
|
601
602
|
defaultMessage: "We're reviewing your documents",
|
|
602
603
|
tagName: "h1"
|
|
603
604
|
})
|
|
604
605
|
}),
|
|
605
|
-
/* @__PURE__ */ (0,
|
|
606
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
606
607
|
className: "sid-header__subtitle-one",
|
|
607
|
-
children: /* @__PURE__ */ (0,
|
|
608
|
+
children: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
608
609
|
id: "step.pending.idCheckLoop.subtitle",
|
|
609
610
|
defaultMessage: "Hold tight, turnaround time is typically a few minutes or less."
|
|
610
611
|
})
|
|
611
612
|
}),
|
|
612
|
-
/* @__PURE__ */ (0,
|
|
613
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
613
614
|
className: "sid-header__subtitle-two sid-l-space-top-md sid-h-bold-text",
|
|
614
|
-
children: /* @__PURE__ */ (0,
|
|
615
|
+
children: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
615
616
|
id: "step.pending.idCheckLoop.subtitle2",
|
|
616
617
|
defaultMessage: "We'll send you an email when we're finished reviewing."
|
|
617
618
|
})
|
|
618
619
|
}),
|
|
619
|
-
/* @__PURE__ */ (0,
|
|
620
|
+
/* @__PURE__ */ (0, F.jsx)("div", { className: "sid-l-space-top-xl" })
|
|
620
621
|
]
|
|
621
|
-
}),
|
|
622
|
-
title: /* @__PURE__ */ (0,
|
|
622
|
+
}), Rt = { [g.SIGNZY]: {
|
|
623
|
+
title: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
623
624
|
id: "step.thirdPartyLoop.signzy.title",
|
|
624
625
|
tagName: "h1",
|
|
625
626
|
defaultMessage: "Verify using DigiLocker"
|
|
626
627
|
}),
|
|
627
|
-
subtitle: /* @__PURE__ */ (0,
|
|
628
|
+
subtitle: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
628
629
|
id: "step.thirdPartyLoop.signzy.subtitle",
|
|
629
630
|
defaultMessage: "Verify using your DigiLocker login information"
|
|
630
631
|
}),
|
|
631
|
-
login: /* @__PURE__ */ (0,
|
|
632
|
+
login: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
632
633
|
id: "step.thirdPartyLoop.signzy.login",
|
|
633
634
|
defaultMessage: "Sign in to DigiLocker"
|
|
634
635
|
}),
|
|
635
|
-
cancel: /* @__PURE__ */ (0,
|
|
636
|
+
cancel: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
636
637
|
id: "step.thirdPartyLoop.signzy.cancel",
|
|
637
638
|
defaultMessage: "Upload Proof of Identity"
|
|
638
639
|
})
|
|
639
|
-
} },
|
|
640
|
-
let n = /* @__PURE__ */ (0,
|
|
640
|
+
} }, zt = ({ logo: e, isStepRoot: t = !1 }) => {
|
|
641
|
+
let n = /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
641
642
|
className: "sid-header sid-l-horz-center",
|
|
642
643
|
children: [
|
|
643
|
-
/* @__PURE__ */ (0,
|
|
644
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
644
645
|
className: "sid-error-logo-container sid-l-horz-center",
|
|
645
646
|
children: e
|
|
646
647
|
}),
|
|
647
|
-
/* @__PURE__ */ (0,
|
|
648
|
+
/* @__PURE__ */ (0, F.jsx)(st, {
|
|
648
649
|
align: "center",
|
|
649
|
-
children: /* @__PURE__ */ (0,
|
|
650
|
+
children: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
650
651
|
id: "error",
|
|
651
652
|
tagName: "h1"
|
|
652
653
|
})
|
|
653
654
|
}),
|
|
654
|
-
/* @__PURE__ */ (0,
|
|
655
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
655
656
|
className: "sid-header__subtitle sid-l-horz-center sid-l-space-top-md",
|
|
656
|
-
children: /* @__PURE__ */ (0,
|
|
657
|
+
children: /* @__PURE__ */ (0, F.jsx)("div", {
|
|
657
658
|
className: "sid-error-msg sid-l-horz-center",
|
|
658
|
-
children: /* @__PURE__ */ (0,
|
|
659
|
+
children: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
659
660
|
id: "step.thirdPartyLoop.error",
|
|
660
661
|
defaultMessage: "Provider not supported"
|
|
661
662
|
})
|
|
@@ -663,226 +664,226 @@ var ct = (e, t = { partial: !0 }) => {
|
|
|
663
664
|
})
|
|
664
665
|
]
|
|
665
666
|
});
|
|
666
|
-
return /* @__PURE__ */ (0,
|
|
667
|
+
return /* @__PURE__ */ (0, F.jsx)("div", {
|
|
667
668
|
id: "sid-step-third-party-loop",
|
|
668
669
|
className: "sid-step-third-party-loop-container sid-l-container",
|
|
669
670
|
"data-testid": "sid-step-third-party-loop-error",
|
|
670
|
-
children: t ? /* @__PURE__ */ (0,
|
|
671
|
+
children: t ? /* @__PURE__ */ (0, F.jsx)("div", {
|
|
671
672
|
role: "main",
|
|
672
673
|
children: n
|
|
673
674
|
}) : n
|
|
674
675
|
});
|
|
675
|
-
},
|
|
676
|
-
let t =
|
|
677
|
-
return t ? /* @__PURE__ */ (0,
|
|
676
|
+
}, Bt = ({ verificationService: e }) => {
|
|
677
|
+
let t = Rt[e.verificationResponse.thirdPartyLoopProvider] || void 0, n = tt("hc-my-sheer-id-theme-builder");
|
|
678
|
+
return t ? /* @__PURE__ */ (0, F.jsx)(Nt, {
|
|
678
679
|
verificationService: e,
|
|
679
|
-
stepName:
|
|
680
|
+
stepName: i.thirdPartyLoop,
|
|
680
681
|
messages: t,
|
|
681
|
-
cancelButtonType:
|
|
682
|
-
}) : /* @__PURE__ */ (0,
|
|
682
|
+
cancelButtonType: Mt.SECONDARY
|
|
683
|
+
}) : /* @__PURE__ */ (0, F.jsx)(zt, {
|
|
683
684
|
isStepRoot: !0,
|
|
684
|
-
logo: /* @__PURE__ */ (0,
|
|
685
|
+
logo: /* @__PURE__ */ (0, F.jsx)(at, {
|
|
685
686
|
verificationService: e,
|
|
686
|
-
fallbackLogo: !n && /* @__PURE__ */ (0,
|
|
687
|
+
fallbackLogo: !n && /* @__PURE__ */ (0, F.jsx)("img", {
|
|
687
688
|
className: "sid-error-logo sid-l-lead-image",
|
|
688
689
|
alt: "",
|
|
689
690
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/circle-exclamation.svg"
|
|
690
691
|
})
|
|
691
692
|
})
|
|
692
693
|
});
|
|
693
|
-
},
|
|
694
|
-
let
|
|
695
|
-
return
|
|
696
|
-
stepName:
|
|
697
|
-
messages:
|
|
694
|
+
}, Vt = ({ logo: e, verificationLastResponse: t, cancelThirdPartyLoop: n, isMockingPreviousStepThirdPartyLoop: r }) => {
|
|
695
|
+
let a = Rt[r ? ke("thirdPartyLoopProvider") : t?.thirdPartyLoopProvider] || void 0;
|
|
696
|
+
return a ? /* @__PURE__ */ (0, F.jsx)(At, {
|
|
697
|
+
stepName: i.thirdPartyLoop,
|
|
698
|
+
messages: a,
|
|
698
699
|
logo: e,
|
|
699
700
|
cancelSingleSignOn: n,
|
|
700
|
-
cancelButtonType:
|
|
701
|
-
}) : /* @__PURE__ */ (0,
|
|
702
|
-
},
|
|
703
|
-
let { programId:
|
|
704
|
-
|
|
701
|
+
cancelButtonType: Mt.SECONDARY
|
|
702
|
+
}) : /* @__PURE__ */ (0, F.jsx)(zt, { logo: e });
|
|
703
|
+
}, Ht = 5e3, Ut = 2e4, Wt = 2e4, Gt = 2e3, Kt = ({ verificationService: t }) => {
|
|
704
|
+
let { programId: n } = t, { viewModel: r } = t, a = t.previousViewModel || void 0, o = t.verificationResponse.lastResponse || t.previousVerificationResponse || void 0, { verificationId: s } = t.verificationResponse, c = Oe(), l = je() && je() === i.sso, u = je() && je() === i.thirdPartyLoop, d = je() && je() === i.idCheckLoop, f = tt("hc-my-sheer-id-theme-builder"), p = () => o?.currentStep === i.sso, m = () => o?.currentStep === i.thirdPartyLoop, h = () => o?.currentStep === i.idCheckLoop, g = p() || m() || l || u, _ = h() || d, v = !g && !_, [y, b] = P.useState(() => g ? Gt : _ ? Wt : Ht);
|
|
705
|
+
P.useEffect(() => {
|
|
705
706
|
if (!v) return;
|
|
706
|
-
let e = setTimeout(() => b(
|
|
707
|
+
let e = setTimeout(() => b(Wt), Ut);
|
|
707
708
|
return () => clearTimeout(e);
|
|
708
709
|
}, [v]);
|
|
709
|
-
let x = !
|
|
710
|
-
|
|
711
|
-
}, y),
|
|
712
|
-
let
|
|
713
|
-
|
|
714
|
-
}, w = /* @__PURE__ */ (0,
|
|
715
|
-
verificationService:
|
|
716
|
-
fallbackLogo: !f && /* @__PURE__ */ (0,
|
|
710
|
+
let x = !c && Ot(() => {
|
|
711
|
+
t.fetchExistingVerificationRequest(n, s, o, a, !1);
|
|
712
|
+
}, y), C = (n) => {
|
|
713
|
+
let i = S(r, () => {});
|
|
714
|
+
e.info("StepSingleSignOnComponent submitting cancel request, step:", n), x(), it(), t.submitStep(n, i, o);
|
|
715
|
+
}, w = /* @__PURE__ */ (0, F.jsx)(at, {
|
|
716
|
+
verificationService: t,
|
|
717
|
+
fallbackLogo: !f && /* @__PURE__ */ (0, F.jsx)("img", {
|
|
717
718
|
className: "sid-l-lead-image",
|
|
718
719
|
alt: "",
|
|
719
720
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg"
|
|
720
721
|
})
|
|
721
722
|
});
|
|
722
|
-
return /* @__PURE__ */ (0,
|
|
723
|
+
return /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
723
724
|
id: "sid-step-pending",
|
|
724
725
|
className: "sid-l-container",
|
|
725
|
-
children: [/* @__PURE__ */ (0,
|
|
726
|
+
children: [/* @__PURE__ */ (0, F.jsx)("div", {
|
|
726
727
|
role: "main",
|
|
727
728
|
children: (() => {
|
|
728
|
-
let e = p() ||
|
|
729
|
-
return e ? /* @__PURE__ */ (0,
|
|
730
|
-
stepName:
|
|
731
|
-
messages:
|
|
729
|
+
let e = p() || l, t = m() || u, n = h() || d;
|
|
730
|
+
return e ? /* @__PURE__ */ (0, F.jsx)(At, {
|
|
731
|
+
stepName: i.sso,
|
|
732
|
+
messages: Pt,
|
|
732
733
|
logo: w,
|
|
733
|
-
cancelSingleSignOn: () =>
|
|
734
|
-
}) : t ? /* @__PURE__ */ (0,
|
|
734
|
+
cancelSingleSignOn: () => C(i.sso)
|
|
735
|
+
}) : t ? /* @__PURE__ */ (0, F.jsx)(Vt, {
|
|
735
736
|
logo: w,
|
|
736
|
-
cancelThirdPartyLoop: () =>
|
|
737
|
-
verificationLastResponse:
|
|
738
|
-
isMockingPreviousStepThirdPartyLoop:
|
|
739
|
-
}) : n ? /* @__PURE__ */ (0,
|
|
737
|
+
cancelThirdPartyLoop: () => C(i.thirdPartyLoop),
|
|
738
|
+
verificationLastResponse: o,
|
|
739
|
+
isMockingPreviousStepThirdPartyLoop: u
|
|
740
|
+
}) : n ? /* @__PURE__ */ (0, F.jsx)(Lt, { logo: w }) : /* @__PURE__ */ (0, F.jsx)(It, { logo: w });
|
|
740
741
|
})()
|
|
741
|
-
}), _ ? /* @__PURE__ */ (0,
|
|
742
|
-
verificationService:
|
|
742
|
+
}), _ ? /* @__PURE__ */ (0, F.jsx)(Dt, {
|
|
743
|
+
verificationService: t,
|
|
743
744
|
isCentered: !0
|
|
744
|
-
}) : /* @__PURE__ */ (0,
|
|
745
|
-
verificationService:
|
|
746
|
-
children: [/* @__PURE__ */ (0,
|
|
745
|
+
}) : /* @__PURE__ */ (0, F.jsxs)(Je, {
|
|
746
|
+
verificationService: t,
|
|
747
|
+
children: [/* @__PURE__ */ (0, F.jsx)("div", {}), " "]
|
|
747
748
|
})]
|
|
748
749
|
});
|
|
749
|
-
},
|
|
750
|
-
let e =
|
|
750
|
+
}, qt = () => {
|
|
751
|
+
let e = he(), t = le(), n = de(), r = s(() => n.segment), i = P.useCallback(() => {
|
|
751
752
|
if (window.self !== window.top) {
|
|
752
753
|
let e = new URL(window.location.href);
|
|
753
754
|
e.searchParams.delete("verificationId"), window.location.replace(e);
|
|
754
755
|
return;
|
|
755
756
|
}
|
|
756
757
|
(async () => {
|
|
757
|
-
|
|
758
|
+
qe(e)(), await We(e)(t, r, void 0, void 0, !0);
|
|
758
759
|
})();
|
|
759
760
|
}, [
|
|
760
761
|
e,
|
|
761
762
|
t,
|
|
762
|
-
|
|
763
|
+
r
|
|
763
764
|
]);
|
|
764
|
-
return /* @__PURE__ */ (0,
|
|
765
|
+
return /* @__PURE__ */ (0, F.jsx)("button", {
|
|
765
766
|
type: "button",
|
|
766
767
|
className: "sid-btn sid-btn-light sid-btn__try-again",
|
|
767
|
-
onClick:
|
|
768
|
-
onKeyPress:
|
|
769
|
-
children: /* @__PURE__ */ (0,
|
|
768
|
+
onClick: i,
|
|
769
|
+
onKeyPress: i,
|
|
770
|
+
children: /* @__PURE__ */ (0, F.jsx)(N, { id: "tryAgain" })
|
|
770
771
|
});
|
|
771
|
-
},
|
|
772
|
+
}, Jt = {
|
|
772
773
|
NONE: "none",
|
|
773
774
|
RESET: "reset",
|
|
774
775
|
POSTMESSAGE: "postMessage",
|
|
775
776
|
REDIRECT: "redirect"
|
|
776
|
-
},
|
|
777
|
-
let e =
|
|
777
|
+
}, Yt = () => {
|
|
778
|
+
let e = de(), t = () => Ee({
|
|
778
779
|
action: "tryAgain",
|
|
779
780
|
verificationResponse: e
|
|
780
781
|
});
|
|
781
|
-
return /* @__PURE__ */ (0,
|
|
782
|
+
return /* @__PURE__ */ (0, F.jsx)("button", {
|
|
782
783
|
type: "button",
|
|
783
784
|
className: "sid-btn sid-btn-light sid-btn__try-again",
|
|
784
785
|
onClick: t,
|
|
785
786
|
onKeyPress: t,
|
|
786
|
-
children: /* @__PURE__ */ (0,
|
|
787
|
+
children: /* @__PURE__ */ (0, F.jsx)(N, { id: "tryAgain" })
|
|
787
788
|
});
|
|
788
|
-
},
|
|
789
|
+
}, Xt = ({ redirectUrl: e, target: t = "_blank" }) => /* @__PURE__ */ (0, F.jsx)(_e, {
|
|
789
790
|
target: t,
|
|
790
791
|
href: e.toString(),
|
|
791
792
|
className: "sid-btn sid-btn--dark",
|
|
792
|
-
children: /* @__PURE__ */ (0,
|
|
793
|
-
}),
|
|
794
|
-
if (!(typeof e == "object" && "type" in e && Object.values(
|
|
795
|
-
},
|
|
796
|
-
let
|
|
793
|
+
children: /* @__PURE__ */ (0, F.jsx)(N, { id: "seeOtherOffers" })
|
|
794
|
+
}), Zt = (e) => {
|
|
795
|
+
if (!(typeof e == "object" && "type" in e && Object.values(Jt).includes(e.type))) throw RangeError("Invalid tryAgainAction option type - using default TryAgainButton.");
|
|
796
|
+
}, Qt = () => {
|
|
797
|
+
let t = b("tryAgainAction");
|
|
797
798
|
try {
|
|
798
|
-
switch (
|
|
799
|
-
case
|
|
800
|
-
case
|
|
801
|
-
case
|
|
802
|
-
redirectUrl:
|
|
803
|
-
target:
|
|
799
|
+
switch (Zt(t), t.type) {
|
|
800
|
+
case Jt.NONE: return null;
|
|
801
|
+
case Jt.POSTMESSAGE: return window.self === window.top ? (e.error(`Invalid tryAgainAction option type "${t.type}" - page must be embedded in an iframe.`), null) : /* @__PURE__ */ (0, F.jsx)(Yt, {});
|
|
802
|
+
case Jt.REDIRECT: return /* @__PURE__ */ (0, F.jsx)(Xt, {
|
|
803
|
+
redirectUrl: t.url,
|
|
804
|
+
target: t.target
|
|
804
805
|
});
|
|
805
|
-
case
|
|
806
|
+
case Jt.RESET: return /* @__PURE__ */ (0, F.jsx)(qt, {});
|
|
806
807
|
default: throw RangeError("Invalid tryAgainAction option type - using default TryAgainButton.");
|
|
807
808
|
}
|
|
808
|
-
} catch (
|
|
809
|
-
return
|
|
809
|
+
} catch (t) {
|
|
810
|
+
return e.error(t.message), /* @__PURE__ */ (0, F.jsx)(qt, {});
|
|
810
811
|
}
|
|
811
|
-
},
|
|
812
|
+
}, $t = [
|
|
812
813
|
"docReviewLimitExceeded",
|
|
813
814
|
"verificationLimitExceeded",
|
|
814
815
|
"fraudRulesReject"
|
|
815
|
-
],
|
|
816
|
+
], en = ({ verificationService: e, errorIds: t }) => {
|
|
816
817
|
let n = t[0];
|
|
817
|
-
return /* @__PURE__ */ (0,
|
|
818
|
+
return /* @__PURE__ */ (0, F.jsx)(st, {
|
|
818
819
|
align: "center",
|
|
819
|
-
children: /* @__PURE__ */ (0,
|
|
820
|
+
children: /* @__PURE__ */ (0, F.jsx)("h1", { children: /* @__PURE__ */ (0, F.jsx)(N, { id: e?.messages[`step.error.errorId.${n}.title`] ? `step.error.errorId.${n}.title` : "step.error.title" }) })
|
|
820
821
|
});
|
|
821
|
-
},
|
|
822
|
+
}, tn = ({ errorIds: e, errorDetailId: t }) => {
|
|
822
823
|
let n = /* @__PURE__ */ new Map();
|
|
823
|
-
return t ? n.set(t, `errorDetailId.${t}`) : e?.forEach((e) => n.set(e, `errorId.${e}`)), n.size > 0 ? /* @__PURE__ */ (0,
|
|
824
|
-
},
|
|
824
|
+
return t ? n.set(t, `errorDetailId.${t}`) : e?.forEach((e) => n.set(e, `errorId.${e}`)), n.size > 0 ? /* @__PURE__ */ (0, F.jsx)("p", { children: Array.from(n).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(N, { id: t }, t)) }) : null;
|
|
825
|
+
}, nn = ({ verificationService: e, errorIds: t, redirectUrl: n }) => {
|
|
825
826
|
if (t.includes("unauthorizedAccountStatus")) {
|
|
826
|
-
let t =
|
|
827
|
-
return t ? /* @__PURE__ */ (0,
|
|
827
|
+
let t = s(() => e.programTheme.config.brandInfo.faqUrl);
|
|
828
|
+
return t ? /* @__PURE__ */ (0, F.jsx)(_e, {
|
|
828
829
|
href: t,
|
|
829
|
-
onClick: () =>
|
|
830
|
+
onClick: () => u(i.error, t),
|
|
830
831
|
className: "sid-btn sid-faq-btn sid-btn-light",
|
|
831
|
-
children: /* @__PURE__ */ (0,
|
|
832
|
+
children: /* @__PURE__ */ (0, F.jsx)(N, { id: "step.error.errorId.unauthorizedAccountStatus.buttonText" })
|
|
832
833
|
}) : null;
|
|
833
834
|
}
|
|
834
835
|
if (t.includes("verificationLimitExceeded")) return null;
|
|
835
|
-
if (t.includes("missingRequiredMetadata") || t.includes("missingRequiredExternalId")) return
|
|
836
|
-
let
|
|
837
|
-
return e.messages?.[`step.error.errorId.${
|
|
836
|
+
if (t.includes("missingRequiredMetadata") || t.includes("missingRequiredExternalId")) return b("tryAgainAction").type === "reset" ? null : /* @__PURE__ */ (0, F.jsx)(Qt, {});
|
|
837
|
+
let r = t[0];
|
|
838
|
+
return e.messages?.[`step.error.errorId.${r}.buttonText`] && n ? /* @__PURE__ */ (0, F.jsx)(_e, {
|
|
838
839
|
href: n,
|
|
839
|
-
onClick: () =>
|
|
840
|
+
onClick: () => u(i.error, n),
|
|
840
841
|
className: "sid-btn sid-error-btn sid-btn-light",
|
|
841
|
-
children: /* @__PURE__ */ (0,
|
|
842
|
-
}) : /* @__PURE__ */ (0,
|
|
843
|
-
},
|
|
844
|
-
let { errorIds: n, redirectUrl: r, errorDetailId: i } = e.verificationResponse, a =
|
|
842
|
+
children: /* @__PURE__ */ (0, F.jsx)(N, { id: `step.error.errorId.${r}.buttonText` })
|
|
843
|
+
}) : /* @__PURE__ */ (0, F.jsx)(Qt, {});
|
|
844
|
+
}, rn = ({ verificationService: e, errorId: t }) => {
|
|
845
|
+
let { errorIds: n, redirectUrl: r, errorDetailId: i } = e.verificationResponse, a = tt("hc-my-sheer-id-theme-builder"), o = /* @__PURE__ */ new Set();
|
|
845
846
|
t && o.add(t), Array.isArray(n) && n.forEach((e) => o.add(e));
|
|
846
|
-
let s = Array.from(o), c = s.some((e) =>
|
|
847
|
-
return /* @__PURE__ */ (0,
|
|
847
|
+
let s = Array.from(o), c = s.some((e) => $t.includes(e));
|
|
848
|
+
return /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
848
849
|
id: "sid-step-error",
|
|
849
850
|
className: "sid-error-container sid-l-container",
|
|
850
|
-
children: [/* @__PURE__ */ (0,
|
|
851
|
+
children: [/* @__PURE__ */ (0, F.jsxs)("div", {
|
|
851
852
|
className: "sid-header sid-l-horz-center",
|
|
852
853
|
role: "banner",
|
|
853
854
|
children: [
|
|
854
|
-
/* @__PURE__ */ (0,
|
|
855
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
855
856
|
className: "sid-error-logo-container sid-l-horz-center",
|
|
856
|
-
children: /* @__PURE__ */ (0,
|
|
857
|
+
children: /* @__PURE__ */ (0, F.jsx)(at, {
|
|
857
858
|
verificationService: e,
|
|
858
|
-
fallbackLogo: !a && /* @__PURE__ */ (0,
|
|
859
|
+
fallbackLogo: !a && /* @__PURE__ */ (0, F.jsx)("img", {
|
|
859
860
|
className: "sid-error-logo sid-l-lead-image",
|
|
860
861
|
alt: "",
|
|
861
862
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/circle-exclamation.svg"
|
|
862
863
|
})
|
|
863
864
|
})
|
|
864
865
|
}),
|
|
865
|
-
/* @__PURE__ */ (0,
|
|
866
|
+
/* @__PURE__ */ (0, F.jsx)(en, {
|
|
866
867
|
verificationService: e,
|
|
867
868
|
errorIds: s
|
|
868
869
|
}),
|
|
869
|
-
/* @__PURE__ */ (0,
|
|
870
|
+
/* @__PURE__ */ (0, F.jsxs)("div", {
|
|
870
871
|
className: "sid-header__subtitle sid-l-horz-center sid-l-space-top-md",
|
|
871
872
|
children: [
|
|
872
|
-
/* @__PURE__ */ (0,
|
|
873
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
873
874
|
className: "sid-error-msg sid-l-horz-center",
|
|
874
|
-
children: /* @__PURE__ */ (0,
|
|
875
|
+
children: /* @__PURE__ */ (0, F.jsx)(tn, {
|
|
875
876
|
errorIds: s,
|
|
876
877
|
errorDetailId: i
|
|
877
878
|
})
|
|
878
879
|
}),
|
|
879
|
-
c && /* @__PURE__ */ (0,
|
|
880
|
+
c && /* @__PURE__ */ (0, F.jsx)("p", {
|
|
880
881
|
className: "sid-error-contact-support sid-l-space-top-md",
|
|
881
|
-
children: /* @__PURE__ */ (0,
|
|
882
|
+
children: /* @__PURE__ */ (0, F.jsx)(N, { id: "contactSupport" })
|
|
882
883
|
}),
|
|
883
|
-
/* @__PURE__ */ (0,
|
|
884
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
884
885
|
className: "sid-l-space-top-lg sid-error-button-container sid-l-horz-center",
|
|
885
|
-
children: /* @__PURE__ */ (0,
|
|
886
|
+
children: /* @__PURE__ */ (0, F.jsx)(nn, {
|
|
886
887
|
verificationService: e,
|
|
887
888
|
errorIds: s,
|
|
888
889
|
redirectUrl: r
|
|
@@ -891,262 +892,266 @@ var ct = (e, t = { partial: !0 }) => {
|
|
|
891
892
|
]
|
|
892
893
|
})
|
|
893
894
|
]
|
|
894
|
-
}), /* @__PURE__ */ (0,
|
|
895
|
+
}), /* @__PURE__ */ (0, F.jsx)("div", {
|
|
895
896
|
className: "sid-footer sid-powered-by-container sid-l-horz-center sid-l-space-top-xl sid-h-small-text",
|
|
896
|
-
children: /* @__PURE__ */ (0,
|
|
897
|
+
children: /* @__PURE__ */ (0, F.jsx)(Dt, {
|
|
897
898
|
verificationService: e,
|
|
898
899
|
isCentered: !0,
|
|
899
900
|
hideFaqLink: c
|
|
900
901
|
})
|
|
901
902
|
})]
|
|
902
903
|
});
|
|
903
|
-
},
|
|
904
|
-
StepPendingComponent:
|
|
905
|
-
StepErrorComponent:
|
|
906
|
-
StepStudentPersonalInfoComponent:
|
|
907
|
-
StepOverrideComponent:
|
|
908
|
-
StepAgePersonalInfoComponent:
|
|
909
|
-
StepSeniorPersonalInfoComponent:
|
|
910
|
-
|
|
911
|
-
StepCollectMilitaryStatusComponent:
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
904
|
+
}, an = {
|
|
905
|
+
StepPendingComponent: Kt,
|
|
906
|
+
StepErrorComponent: rn,
|
|
907
|
+
StepStudentPersonalInfoComponent: P.lazy(() => import("./chunk/StepStudentPersonalInfo-ubt7IGBA.js")),
|
|
908
|
+
StepOverrideComponent: P.lazy(() => import("./chunk/StepOverrideComponent-C58-KkL6.js")),
|
|
909
|
+
StepAgePersonalInfoComponent: P.lazy(() => import("./chunk/StepAgePersonalInfo-CHBH5ROm.js")),
|
|
910
|
+
StepSeniorPersonalInfoComponent: P.lazy(() => import("./chunk/StepAgePersonalInfo-CHBH5ROm.js")),
|
|
911
|
+
StepCollectMilitaryPersonalInfoComponent: P.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-BanhTbjr.js")),
|
|
912
|
+
StepCollectMilitaryStatusComponent: P.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-BanhTbjr.js")),
|
|
913
|
+
StepActiveMilitaryPersonalInfoComponent: P.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-BanhTbjr.js")),
|
|
914
|
+
StepInactiveMilitaryPersonalInfoComponent: P.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-BanhTbjr.js")),
|
|
915
|
+
StepDriverLicensePersonalInfoComponent: P.lazy(() => import("./chunk/StepDriverLicensePersonalInfoComponent-DeMFZtEJ.js")),
|
|
916
|
+
StepEmploymentPersonalInfoComponent: P.lazy(() => import("./chunk/StepEmploymentPersonalInfo-CWyReZIX.js")),
|
|
917
|
+
StepFirstResponderPersonalInfoComponent: P.lazy(() => import("./chunk/StepFirstResponderPersonalInfo-BEYQjJZE.js")),
|
|
918
|
+
StepGeneralIdentityPersonalInfoComponent: P.lazy(() => import("./chunk/StepGeneralIdentityPersonalInfoComponent-CO2Kb2oA.js")),
|
|
919
|
+
StepHybridIdentityPersonalInfoComponent: P.lazy(() => import("./chunk/StepHybridIdentityPersonalInfoComponent-DjYZWEyO.js")),
|
|
920
|
+
StepIDCheckLoopComponent: P.lazy(() => import("./chunk/StepIDCheckLoop-ADjD8T7n.js")),
|
|
921
|
+
StepLicensedProfessionalPersonalInfoComponent: P.lazy(() => import("./chunk/StepLicensedProfessionalPersonalInfo-BXscxOmH.js")),
|
|
922
|
+
StepLowIncomePersonalInfoComponent: P.lazy(() => import("./chunk/StepLowIncomePersonalInfo-BlvN-faw.js")),
|
|
923
|
+
StepMedicalProfessionalPersonalInfoComponent: P.lazy(() => import("./chunk/StepMedicalProfessionalPersonalInfo-DzPoAdkI.js")),
|
|
924
|
+
StepMemberPersonalInfoComponent: P.lazy(() => import("./chunk/StepMemberPersonalInfo-BwhcP3-x.js")),
|
|
925
|
+
StepConsolationComponent: P.lazy(() => import("./chunk/StepConsolation-CKbOj-OW.js")),
|
|
926
|
+
StepDocUploadComponent: P.lazy(() => import("./chunk/StepDocUpload-hbZjFKLA.js")),
|
|
927
|
+
StepEmailLoopComponent: P.lazy(() => import("./chunk/StepEmailLoop-DnFBaEUV.js")),
|
|
928
|
+
StepPendingEmailLoopComponent: P.lazy(() => import("./chunk/EmailLoopPending-DNFHR6Ck.js").then((e) => e.n)),
|
|
929
|
+
StepMoverPersonalInfoComponent: P.lazy(() => import("./chunk/StepMoverPersonalInfo-DdAYuWun.js")),
|
|
930
|
+
StepSMSLoopComponent: P.lazy(() => import("./chunk/StepSMSLoop-DmbMtSCW.js")),
|
|
931
|
+
StepSocialSecurity: P.lazy(() => import("./chunk/StepSocialSecurityNumber-kcHexBbp.js")),
|
|
932
|
+
StepSSOComponent: P.lazy(() => import("./chunk/StepSSO-BGHCbduX.js")),
|
|
933
|
+
StepSuccessComponent: P.lazy(() => import("./chunk/StepSuccess-ZEmH-ZFX.js")),
|
|
934
|
+
StepTeacherPersonalInfoComponent: P.lazy(() => import("./chunk/StepTeacherPersonalInfo-CiHN6WAb.js")),
|
|
935
|
+
StepCompleteAuthentication: P.lazy(() => import("./chunk/StepCompleteAuthentication-D7NH3MFa.js")),
|
|
936
|
+
StepCollectIdentifierComponent: P.lazy(() => import("./chunk/StepCollectIdentifier-D8IjgFjI.js")),
|
|
937
|
+
StepCollectPersonalInfo: P.lazy(() => import("./chunk/StepCollectPersonalInfo-BLClPcAC.js")),
|
|
938
|
+
StepThirdPartyLoopComponent: P.lazy(() => import("./chunk/StepThirdPartyLoop-CbFTIlwP.js"))
|
|
939
|
+
}, R = (t) => (e.info("getComponent", t), wt(t) || an[t]), on = () => /* @__PURE__ */ (0, F.jsx)(mt, {}), sn = ({ stepToLoad: t, verificationService: n }) => {
|
|
940
|
+
e.info(`LoadStepComponent: rendering step: ${t}`);
|
|
941
|
+
let r;
|
|
942
|
+
switch ((0, P.useEffect)(() => {
|
|
941
943
|
try {
|
|
942
|
-
performance.mark(
|
|
944
|
+
performance.mark(m.INITIAL_STEP_LOAD);
|
|
943
945
|
} catch {}
|
|
944
|
-
}, []),
|
|
945
|
-
if (!["pending", "error"].includes(
|
|
946
|
-
performance.mark(
|
|
947
|
-
eventName:
|
|
948
|
-
params: { step:
|
|
946
|
+
}, []), P.useEffect(() => {
|
|
947
|
+
if (!["pending", "error"].includes(t)) try {
|
|
948
|
+
performance.mark(p.STEP_SEEN), D({
|
|
949
|
+
eventName: p.STEP_SEEN,
|
|
950
|
+
params: { step: t }
|
|
949
951
|
});
|
|
950
|
-
} catch (
|
|
951
|
-
|
|
952
|
+
} catch (t) {
|
|
953
|
+
e.error(t);
|
|
952
954
|
}
|
|
953
|
-
}, [
|
|
955
|
+
}, [t]), t) {
|
|
954
956
|
case "collectPersonalInfo":
|
|
955
|
-
|
|
957
|
+
r = R("StepCollectPersonalInfo");
|
|
956
958
|
break;
|
|
957
959
|
case "collectStudentPersonalInfo":
|
|
958
|
-
|
|
960
|
+
r = R("StepStudentPersonalInfoComponent");
|
|
959
961
|
break;
|
|
960
962
|
case "collectSeniorPersonalInfo":
|
|
961
|
-
|
|
963
|
+
r = R("StepSeniorPersonalInfoComponent");
|
|
962
964
|
break;
|
|
963
965
|
case "collectAgePersonalInfo":
|
|
964
|
-
|
|
966
|
+
r = R("StepAgePersonalInfoComponent");
|
|
965
967
|
break;
|
|
966
968
|
case "collectTeacherPersonalInfo":
|
|
967
|
-
|
|
969
|
+
r = R("StepTeacherPersonalInfoComponent");
|
|
968
970
|
break;
|
|
969
971
|
case "collectMemberPersonalInfo":
|
|
970
|
-
|
|
972
|
+
r = R("StepMemberPersonalInfoComponent");
|
|
971
973
|
break;
|
|
972
974
|
case "collectMilitaryStatus":
|
|
973
|
-
|
|
975
|
+
r = R("StepCollectMilitaryStatusComponent");
|
|
974
976
|
break;
|
|
975
977
|
case "collectActiveMilitaryPersonalInfo":
|
|
976
|
-
|
|
978
|
+
r = R("StepActiveMilitaryPersonalInfoComponent");
|
|
977
979
|
break;
|
|
978
980
|
case "collectInactiveMilitaryPersonalInfo":
|
|
979
|
-
|
|
981
|
+
r = R("StepInactiveMilitaryPersonalInfoComponent");
|
|
982
|
+
break;
|
|
983
|
+
case "collectMilitaryPersonalInfo":
|
|
984
|
+
r = R("StepCollectMilitaryPersonalInfoComponent");
|
|
980
985
|
break;
|
|
981
986
|
case "collectFirstResponderPersonalInfo":
|
|
982
|
-
|
|
987
|
+
r = R("StepFirstResponderPersonalInfoComponent");
|
|
983
988
|
break;
|
|
984
989
|
case "collectMedicalProfessionalPersonalInfo":
|
|
985
|
-
|
|
990
|
+
r = R("StepMedicalProfessionalPersonalInfoComponent");
|
|
986
991
|
break;
|
|
987
992
|
case "collectEmployeePersonalInfo":
|
|
988
|
-
|
|
993
|
+
r = R("StepEmploymentPersonalInfoComponent");
|
|
989
994
|
break;
|
|
990
995
|
case "collectDriverLicensePersonalInfo":
|
|
991
|
-
|
|
996
|
+
r = R("StepDriverLicensePersonalInfoComponent");
|
|
992
997
|
break;
|
|
993
998
|
case "collectGeneralIdentityPersonalInfo":
|
|
994
|
-
|
|
999
|
+
r = R("StepGeneralIdentityPersonalInfoComponent");
|
|
995
1000
|
break;
|
|
996
1001
|
case "collectHybridIdentityPersonalInfo":
|
|
997
|
-
|
|
1002
|
+
r = R("StepHybridIdentityPersonalInfoComponent");
|
|
998
1003
|
break;
|
|
999
1004
|
case "collectLicensedProfessionalPersonalInfo":
|
|
1000
|
-
|
|
1005
|
+
r = R("StepLicensedProfessionalPersonalInfoComponent");
|
|
1001
1006
|
break;
|
|
1002
1007
|
case "collectMoverPersonalInfo":
|
|
1003
|
-
|
|
1008
|
+
r = R("StepMoverPersonalInfoComponent");
|
|
1004
1009
|
break;
|
|
1005
1010
|
case "collectLowIncomePersonalInfo":
|
|
1006
|
-
|
|
1011
|
+
r = R("StepLowIncomePersonalInfoComponent");
|
|
1007
1012
|
break;
|
|
1008
1013
|
case "collectSocialSecurityNumber":
|
|
1009
|
-
|
|
1014
|
+
r = R("StepSocialSecurity");
|
|
1010
1015
|
break;
|
|
1011
1016
|
case "success":
|
|
1012
|
-
|
|
1017
|
+
r = R("StepSuccessComponent");
|
|
1013
1018
|
break;
|
|
1014
1019
|
case "consolation":
|
|
1015
|
-
|
|
1020
|
+
r = R("StepConsolationComponent");
|
|
1016
1021
|
break;
|
|
1017
1022
|
case "override":
|
|
1018
|
-
|
|
1023
|
+
r = R("StepOverrideComponent");
|
|
1019
1024
|
break;
|
|
1020
1025
|
case "docUpload":
|
|
1021
|
-
|
|
1026
|
+
r = R("StepDocUploadComponent");
|
|
1022
1027
|
break;
|
|
1023
1028
|
case "pending":
|
|
1024
|
-
|
|
1029
|
+
r = R("StepPendingComponent");
|
|
1025
1030
|
break;
|
|
1026
1031
|
case "sso":
|
|
1027
|
-
|
|
1032
|
+
r = R("StepSSOComponent");
|
|
1028
1033
|
break;
|
|
1029
1034
|
case "thirdPartyLoop":
|
|
1030
|
-
|
|
1035
|
+
r = R("StepThirdPartyLoopComponent");
|
|
1031
1036
|
break;
|
|
1032
1037
|
case "smsLoop":
|
|
1033
|
-
|
|
1038
|
+
r = R("StepSMSLoopComponent");
|
|
1034
1039
|
break;
|
|
1035
1040
|
case "emailLoop":
|
|
1036
|
-
|
|
1041
|
+
r = R("StepEmailLoopComponent");
|
|
1037
1042
|
break;
|
|
1038
1043
|
case "idCheckLoop":
|
|
1039
|
-
|
|
1044
|
+
r = R("StepIDCheckLoopComponent");
|
|
1040
1045
|
break;
|
|
1041
1046
|
case "collectIdentifier":
|
|
1042
|
-
|
|
1047
|
+
r = R("StepCollectIdentifierComponent");
|
|
1043
1048
|
break;
|
|
1044
1049
|
case "completeAuthentication":
|
|
1045
|
-
|
|
1050
|
+
r = R("StepCompleteAuthentication");
|
|
1046
1051
|
break;
|
|
1047
|
-
case "missingRequiredMetadata": return
|
|
1048
|
-
verificationService:
|
|
1052
|
+
case "missingRequiredMetadata": return r = R("StepErrorComponent"), /* @__PURE__ */ (0, F.jsx)(r, {
|
|
1053
|
+
verificationService: n,
|
|
1049
1054
|
errorId: "missingRequiredMetadata"
|
|
1050
1055
|
});
|
|
1051
|
-
case "missingRequiredExternalId": return
|
|
1052
|
-
verificationService:
|
|
1056
|
+
case "missingRequiredExternalId": return r = R("StepErrorComponent"), /* @__PURE__ */ (0, F.jsx)(r, {
|
|
1057
|
+
verificationService: n,
|
|
1053
1058
|
errorId: "missingRequiredExternalId"
|
|
1054
1059
|
});
|
|
1055
1060
|
case "error":
|
|
1056
|
-
|
|
1061
|
+
r = R("StepErrorComponent");
|
|
1057
1062
|
break;
|
|
1058
1063
|
case "cancelDocUpload":
|
|
1059
1064
|
case "cancelEmailLoop":
|
|
1060
1065
|
case "cancelSocialSecurityNumber":
|
|
1061
1066
|
case "docReviewLimitExceeded":
|
|
1062
|
-
case "emailLoopCollectOrganizationEmail": return
|
|
1063
|
-
verificationService:
|
|
1067
|
+
case "emailLoopCollectOrganizationEmail": return e.error("Attempted to load unexpected step", t), /* @__PURE__ */ (0, F.jsx)(rn, {
|
|
1068
|
+
verificationService: n,
|
|
1064
1069
|
errorId: "invalidStep"
|
|
1065
1070
|
});
|
|
1066
|
-
default: return
|
|
1067
|
-
verificationService:
|
|
1071
|
+
default: return e.error("Unable to load step", t), /* @__PURE__ */ (0, F.jsx)(rn, {
|
|
1072
|
+
verificationService: n,
|
|
1068
1073
|
errorId: "invalidStep"
|
|
1069
1074
|
});
|
|
1070
1075
|
}
|
|
1071
|
-
return /* @__PURE__ */ (0,
|
|
1072
|
-
fallback:
|
|
1073
|
-
children: /* @__PURE__ */ (0,
|
|
1076
|
+
return /* @__PURE__ */ (0, F.jsx)(P.Suspense, {
|
|
1077
|
+
fallback: on(),
|
|
1078
|
+
children: /* @__PURE__ */ (0, F.jsx)(r, { verificationService: n })
|
|
1074
1079
|
});
|
|
1075
|
-
},
|
|
1080
|
+
}, cn = ({ dangerouslySetInnerHTML: e, ...t }) => e ? /* @__PURE__ */ (0, F.jsx)("span", {
|
|
1076
1081
|
dangerouslySetInnerHTML: e,
|
|
1077
1082
|
...t
|
|
1078
|
-
}) : /* @__PURE__ */ (0,
|
|
1083
|
+
}) : /* @__PURE__ */ (0, F.jsx)(P.Fragment, { ...t }), ln = ({ verificationService: e }) => e.programTheme?.isTestMode ? /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
1079
1084
|
className: "sid-test-mode-flag sid-l-container sid-l-horz-center",
|
|
1080
1085
|
role: "note",
|
|
1081
|
-
children: ["Test Mode", /* @__PURE__ */ (0,
|
|
1086
|
+
children: ["Test Mode", /* @__PURE__ */ (0, F.jsx)(_e, {
|
|
1082
1087
|
className: "sid-test-mode-flag__link",
|
|
1083
1088
|
href: "https://developer.sheerid.com/getting-started#test-program",
|
|
1084
1089
|
"aria-label": "learn more about a sheerid test mode program",
|
|
1085
1090
|
children: "(learn more)"
|
|
1086
1091
|
})]
|
|
1087
|
-
}) : null,
|
|
1092
|
+
}) : null, un = ({ verificationService: e, title: t, children: n, fallbackLogo: r, classNameIdentifier: i = void 0 }) => /* @__PURE__ */ (0, F.jsxs)("header", {
|
|
1088
1093
|
className: "sid-header",
|
|
1089
1094
|
children: [
|
|
1090
|
-
/* @__PURE__ */ (0,
|
|
1095
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
1091
1096
|
className: `sid-logo-container sid-l-horz-center ${i ? `sid-${i}-logo-container` : ""}`,
|
|
1092
|
-
children: /* @__PURE__ */ (0,
|
|
1097
|
+
children: /* @__PURE__ */ (0, F.jsx)(at, {
|
|
1093
1098
|
verificationService: e,
|
|
1094
1099
|
fallbackLogo: r
|
|
1095
1100
|
})
|
|
1096
1101
|
}),
|
|
1097
|
-
/* @__PURE__ */ (0,
|
|
1102
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
1098
1103
|
className: `sid-header__title sid-l-horz-center ${i ? `sid-${i}-header` : ""}`,
|
|
1099
|
-
children: /* @__PURE__ */ (0,
|
|
1104
|
+
children: /* @__PURE__ */ (0, F.jsx)("h1", { children: t })
|
|
1100
1105
|
}),
|
|
1101
1106
|
n
|
|
1102
1107
|
]
|
|
1103
1108
|
});
|
|
1104
1109
|
typeof window < "u" && window.document && window.document.createElement;
|
|
1105
|
-
function
|
|
1110
|
+
function z(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
|
|
1106
1111
|
return function(r) {
|
|
1107
1112
|
if (e?.(r), n === !1 || !r.defaultPrevented) return t?.(r);
|
|
1108
1113
|
};
|
|
1109
1114
|
}
|
|
1110
1115
|
//#endregion
|
|
1111
1116
|
//#region ../node_modules/@radix-ui/react-compose-refs/dist/index.mjs
|
|
1112
|
-
function
|
|
1117
|
+
function dn(e, t) {
|
|
1113
1118
|
if (typeof e == "function") return e(t);
|
|
1114
1119
|
e != null && (e.current = t);
|
|
1115
1120
|
}
|
|
1116
|
-
function
|
|
1121
|
+
function fn(...e) {
|
|
1117
1122
|
return (t) => {
|
|
1118
1123
|
let n = !1, r = e.map((e) => {
|
|
1119
|
-
let r =
|
|
1124
|
+
let r = dn(e, t);
|
|
1120
1125
|
return !n && typeof r == "function" && (n = !0), r;
|
|
1121
1126
|
});
|
|
1122
1127
|
if (n) return () => {
|
|
1123
1128
|
for (let t = 0; t < r.length; t++) {
|
|
1124
1129
|
let n = r[t];
|
|
1125
|
-
typeof n == "function" ? n() :
|
|
1130
|
+
typeof n == "function" ? n() : dn(e[t], null);
|
|
1126
1131
|
}
|
|
1127
1132
|
};
|
|
1128
1133
|
};
|
|
1129
1134
|
}
|
|
1130
|
-
function
|
|
1131
|
-
return
|
|
1135
|
+
function B(...e) {
|
|
1136
|
+
return P.useCallback(fn(...e), e);
|
|
1132
1137
|
}
|
|
1133
1138
|
//#endregion
|
|
1134
1139
|
//#region ../node_modules/@radix-ui/react-context/dist/index.mjs
|
|
1135
|
-
function
|
|
1140
|
+
function pn(e, t = []) {
|
|
1136
1141
|
let n = [];
|
|
1137
1142
|
function r(t, r) {
|
|
1138
|
-
let i =
|
|
1143
|
+
let i = P.createContext(r), a = n.length;
|
|
1139
1144
|
n = [...n, r];
|
|
1140
1145
|
let o = (t) => {
|
|
1141
|
-
let { scope: n, children: r, ...o } = t, s = n?.[e]?.[a] || i, c =
|
|
1142
|
-
return /* @__PURE__ */ (0,
|
|
1146
|
+
let { scope: n, children: r, ...o } = t, s = n?.[e]?.[a] || i, c = P.useMemo(() => o, Object.values(o));
|
|
1147
|
+
return /* @__PURE__ */ (0, F.jsx)(s.Provider, {
|
|
1143
1148
|
value: c,
|
|
1144
1149
|
children: r
|
|
1145
1150
|
});
|
|
1146
1151
|
};
|
|
1147
1152
|
o.displayName = t + "Provider";
|
|
1148
1153
|
function s(n, o) {
|
|
1149
|
-
let s = o?.[e]?.[a] || i, c =
|
|
1154
|
+
let s = o?.[e]?.[a] || i, c = P.useContext(s);
|
|
1150
1155
|
if (c) return c;
|
|
1151
1156
|
if (r !== void 0) return r;
|
|
1152
1157
|
throw Error(`\`${n}\` must be used within \`${t}\``);
|
|
@@ -1154,18 +1159,18 @@ function fn(e, t = []) {
|
|
|
1154
1159
|
return [o, s];
|
|
1155
1160
|
}
|
|
1156
1161
|
let i = () => {
|
|
1157
|
-
let t = n.map((e) =>
|
|
1162
|
+
let t = n.map((e) => P.createContext(e));
|
|
1158
1163
|
return function(n) {
|
|
1159
1164
|
let r = n?.[e] || t;
|
|
1160
|
-
return
|
|
1165
|
+
return P.useMemo(() => ({ [`__scope${e}`]: {
|
|
1161
1166
|
...n,
|
|
1162
1167
|
[e]: r
|
|
1163
1168
|
} }), [n, r]);
|
|
1164
1169
|
};
|
|
1165
1170
|
};
|
|
1166
|
-
return i.scopeName = e, [r,
|
|
1171
|
+
return i.scopeName = e, [r, mn(i, ...t)];
|
|
1167
1172
|
}
|
|
1168
|
-
function
|
|
1173
|
+
function mn(...e) {
|
|
1169
1174
|
let t = e[0];
|
|
1170
1175
|
if (e.length === 1) return t;
|
|
1171
1176
|
let n = () => {
|
|
@@ -1181,7 +1186,7 @@ function pn(...e) {
|
|
|
1181
1186
|
...i
|
|
1182
1187
|
};
|
|
1183
1188
|
}, {});
|
|
1184
|
-
return
|
|
1189
|
+
return P.useMemo(() => ({ [`__scope${t.scopeName}`]: r }), [r]);
|
|
1185
1190
|
};
|
|
1186
1191
|
};
|
|
1187
1192
|
return n.scopeName = t.scopeName, n;
|
|
@@ -1189,18 +1194,18 @@ function pn(...e) {
|
|
|
1189
1194
|
//#endregion
|
|
1190
1195
|
//#region ../node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
1191
1196
|
// @__NO_SIDE_EFFECTS__
|
|
1192
|
-
function
|
|
1193
|
-
let t = /* @__PURE__ */
|
|
1194
|
-
let { children: r, ...i } = e, a =
|
|
1197
|
+
function hn(e) {
|
|
1198
|
+
let t = /* @__PURE__ */ gn(e), n = P.forwardRef((e, n) => {
|
|
1199
|
+
let { children: r, ...i } = e, a = P.Children.toArray(r), o = a.find(vn);
|
|
1195
1200
|
if (o) {
|
|
1196
|
-
let e = o.props.children, r = a.map((t) => t === o ?
|
|
1197
|
-
return /* @__PURE__ */ (0,
|
|
1201
|
+
let e = o.props.children, r = a.map((t) => t === o ? P.Children.count(e) > 1 ? P.Children.only(null) : P.isValidElement(e) ? e.props.children : null : t);
|
|
1202
|
+
return /* @__PURE__ */ (0, F.jsx)(t, {
|
|
1198
1203
|
...i,
|
|
1199
1204
|
ref: n,
|
|
1200
|
-
children:
|
|
1205
|
+
children: P.isValidElement(e) ? P.cloneElement(e, void 0, r) : null
|
|
1201
1206
|
});
|
|
1202
1207
|
}
|
|
1203
|
-
return /* @__PURE__ */ (0,
|
|
1208
|
+
return /* @__PURE__ */ (0, F.jsx)(t, {
|
|
1204
1209
|
...i,
|
|
1205
1210
|
ref: n,
|
|
1206
1211
|
children: r
|
|
@@ -1209,22 +1214,22 @@ function mn(e) {
|
|
|
1209
1214
|
return n.displayName = `${e}.Slot`, n;
|
|
1210
1215
|
}
|
|
1211
1216
|
// @__NO_SIDE_EFFECTS__
|
|
1212
|
-
function
|
|
1213
|
-
let t =
|
|
1217
|
+
function gn(e) {
|
|
1218
|
+
let t = P.forwardRef((e, t) => {
|
|
1214
1219
|
let { children: n, ...r } = e;
|
|
1215
|
-
if (
|
|
1216
|
-
let e =
|
|
1217
|
-
return n.type !==
|
|
1220
|
+
if (P.isValidElement(n)) {
|
|
1221
|
+
let e = bn(n), i = yn(r, n.props);
|
|
1222
|
+
return n.type !== P.Fragment && (i.ref = t ? fn(t, e) : e), P.cloneElement(n, i);
|
|
1218
1223
|
}
|
|
1219
|
-
return
|
|
1224
|
+
return P.Children.count(n) > 1 ? P.Children.only(null) : null;
|
|
1220
1225
|
});
|
|
1221
1226
|
return t.displayName = `${e}.SlotClone`, t;
|
|
1222
1227
|
}
|
|
1223
|
-
var
|
|
1224
|
-
function
|
|
1225
|
-
return
|
|
1228
|
+
var _n = Symbol("radix.slottable");
|
|
1229
|
+
function vn(e) {
|
|
1230
|
+
return P.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === _n;
|
|
1226
1231
|
}
|
|
1227
|
-
function
|
|
1232
|
+
function yn(e, t) {
|
|
1228
1233
|
let n = { ...t };
|
|
1229
1234
|
for (let r in t) {
|
|
1230
1235
|
let i = e[r], a = t[r];
|
|
@@ -1241,13 +1246,13 @@ function vn(e, t) {
|
|
|
1241
1246
|
...n
|
|
1242
1247
|
};
|
|
1243
1248
|
}
|
|
1244
|
-
function
|
|
1249
|
+
function bn(e) {
|
|
1245
1250
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
1246
1251
|
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);
|
|
1247
1252
|
}
|
|
1248
1253
|
//#endregion
|
|
1249
1254
|
//#region ../node_modules/@radix-ui/react-primitive/dist/index.mjs
|
|
1250
|
-
var
|
|
1255
|
+
var V = [
|
|
1251
1256
|
"a",
|
|
1252
1257
|
"button",
|
|
1253
1258
|
"div",
|
|
@@ -1266,9 +1271,9 @@ var H = [
|
|
|
1266
1271
|
"svg",
|
|
1267
1272
|
"ul"
|
|
1268
1273
|
].reduce((e, t) => {
|
|
1269
|
-
let n = /* @__PURE__ */
|
|
1274
|
+
let n = /* @__PURE__ */ hn(`Primitive.${t}`), r = P.forwardRef((e, r) => {
|
|
1270
1275
|
let { asChild: i, ...a } = e, o = i ? n : t;
|
|
1271
|
-
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ (0,
|
|
1276
|
+
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ (0, F.jsx)(o, {
|
|
1272
1277
|
...a,
|
|
1273
1278
|
ref: r
|
|
1274
1279
|
});
|
|
@@ -1278,22 +1283,22 @@ var H = [
|
|
|
1278
1283
|
[t]: r
|
|
1279
1284
|
};
|
|
1280
1285
|
}, {});
|
|
1281
|
-
function
|
|
1282
|
-
e &&
|
|
1286
|
+
function xn(e, t) {
|
|
1287
|
+
e && dt.flushSync(() => e.dispatchEvent(t));
|
|
1283
1288
|
}
|
|
1284
1289
|
//#endregion
|
|
1285
1290
|
//#region ../node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
|
|
1286
|
-
function
|
|
1287
|
-
let t =
|
|
1288
|
-
return
|
|
1291
|
+
function Sn(e) {
|
|
1292
|
+
let t = P.useRef(e);
|
|
1293
|
+
return P.useEffect(() => {
|
|
1289
1294
|
t.current = e;
|
|
1290
|
-
}),
|
|
1295
|
+
}), P.useMemo(() => (...e) => t.current?.(...e), []);
|
|
1291
1296
|
}
|
|
1292
1297
|
//#endregion
|
|
1293
1298
|
//#region ../node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs
|
|
1294
|
-
function
|
|
1295
|
-
let n =
|
|
1296
|
-
|
|
1299
|
+
function Cn(e, t = globalThis?.document) {
|
|
1300
|
+
let n = Sn(e);
|
|
1301
|
+
P.useEffect(() => {
|
|
1297
1302
|
let e = (e) => {
|
|
1298
1303
|
e.key === "Escape" && n(e);
|
|
1299
1304
|
};
|
|
@@ -1302,67 +1307,67 @@ function Sn(e, t = globalThis?.document) {
|
|
|
1302
1307
|
}
|
|
1303
1308
|
//#endregion
|
|
1304
1309
|
//#region ../node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
|
|
1305
|
-
var
|
|
1310
|
+
var wn = "DismissableLayer", Tn = "dismissableLayer.update", En = "dismissableLayer.pointerDownOutside", Dn = "dismissableLayer.focusOutside", On, kn = P.createContext({
|
|
1306
1311
|
layers: /* @__PURE__ */ new Set(),
|
|
1307
1312
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
1308
1313
|
branches: /* @__PURE__ */ new Set()
|
|
1309
|
-
}),
|
|
1310
|
-
let { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: o, onDismiss: s, ...c } = e, l =
|
|
1314
|
+
}), An = P.forwardRef((e, t) => {
|
|
1315
|
+
let { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: o, onDismiss: s, ...c } = e, l = P.useContext(kn), [u, d] = P.useState(null), f = u?.ownerDocument ?? globalThis?.document, [, p] = P.useState({}), m = B(t, (e) => d(e)), h = Array.from(l.layers), [g] = [...l.layersWithOutsidePointerEventsDisabled].slice(-1), _ = h.indexOf(g), v = u ? h.indexOf(u) : -1, y = l.layersWithOutsidePointerEventsDisabled.size > 0, b = v >= _, x = Nn((e) => {
|
|
1311
1316
|
let t = e.target, n = [...l.branches].some((e) => e.contains(t));
|
|
1312
1317
|
!b || n || (i?.(e), o?.(e), e.defaultPrevented || s?.());
|
|
1313
|
-
}, f), S =
|
|
1318
|
+
}, f), S = Pn((e) => {
|
|
1314
1319
|
let t = e.target;
|
|
1315
1320
|
[...l.branches].some((e) => e.contains(t)) || (a?.(e), o?.(e), e.defaultPrevented || s?.());
|
|
1316
1321
|
}, f);
|
|
1317
|
-
return
|
|
1322
|
+
return Cn((e) => {
|
|
1318
1323
|
v === l.layers.size - 1 && (r?.(e), !e.defaultPrevented && s && (e.preventDefault(), s()));
|
|
1319
|
-
}, f),
|
|
1320
|
-
if (u) return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (
|
|
1321
|
-
n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (f.body.style.pointerEvents =
|
|
1324
|
+
}, f), P.useEffect(() => {
|
|
1325
|
+
if (u) return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (On = f.body.style.pointerEvents, f.body.style.pointerEvents = "none"), l.layersWithOutsidePointerEventsDisabled.add(u)), l.layers.add(u), Fn(), () => {
|
|
1326
|
+
n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (f.body.style.pointerEvents = On);
|
|
1322
1327
|
};
|
|
1323
1328
|
}, [
|
|
1324
1329
|
u,
|
|
1325
1330
|
f,
|
|
1326
1331
|
n,
|
|
1327
1332
|
l
|
|
1328
|
-
]),
|
|
1329
|
-
u && (l.layers.delete(u), l.layersWithOutsidePointerEventsDisabled.delete(u),
|
|
1330
|
-
}, [u, l]),
|
|
1333
|
+
]), P.useEffect(() => () => {
|
|
1334
|
+
u && (l.layers.delete(u), l.layersWithOutsidePointerEventsDisabled.delete(u), Fn());
|
|
1335
|
+
}, [u, l]), P.useEffect(() => {
|
|
1331
1336
|
let e = () => p({});
|
|
1332
|
-
return document.addEventListener(
|
|
1333
|
-
}, []), /* @__PURE__ */ (0,
|
|
1337
|
+
return document.addEventListener(Tn, e), () => document.removeEventListener(Tn, e);
|
|
1338
|
+
}, []), /* @__PURE__ */ (0, F.jsx)(V.div, {
|
|
1334
1339
|
...c,
|
|
1335
1340
|
ref: m,
|
|
1336
1341
|
style: {
|
|
1337
1342
|
pointerEvents: y ? b ? "auto" : "none" : void 0,
|
|
1338
1343
|
...e.style
|
|
1339
1344
|
},
|
|
1340
|
-
onFocusCapture:
|
|
1341
|
-
onBlurCapture:
|
|
1342
|
-
onPointerDownCapture:
|
|
1345
|
+
onFocusCapture: z(e.onFocusCapture, S.onFocusCapture),
|
|
1346
|
+
onBlurCapture: z(e.onBlurCapture, S.onBlurCapture),
|
|
1347
|
+
onPointerDownCapture: z(e.onPointerDownCapture, x.onPointerDownCapture)
|
|
1343
1348
|
});
|
|
1344
1349
|
});
|
|
1345
|
-
|
|
1346
|
-
var
|
|
1347
|
-
let n =
|
|
1348
|
-
return
|
|
1350
|
+
An.displayName = wn;
|
|
1351
|
+
var jn = "DismissableLayerBranch", Mn = P.forwardRef((e, t) => {
|
|
1352
|
+
let n = P.useContext(kn), r = P.useRef(null), i = B(t, r);
|
|
1353
|
+
return P.useEffect(() => {
|
|
1349
1354
|
let e = r.current;
|
|
1350
1355
|
if (e) return n.branches.add(e), () => {
|
|
1351
1356
|
n.branches.delete(e);
|
|
1352
1357
|
};
|
|
1353
|
-
}, [n.branches]), /* @__PURE__ */ (0,
|
|
1358
|
+
}, [n.branches]), /* @__PURE__ */ (0, F.jsx)(V.div, {
|
|
1354
1359
|
...e,
|
|
1355
1360
|
ref: i
|
|
1356
1361
|
});
|
|
1357
1362
|
});
|
|
1358
|
-
|
|
1359
|
-
function
|
|
1360
|
-
let n =
|
|
1361
|
-
return
|
|
1363
|
+
Mn.displayName = jn;
|
|
1364
|
+
function Nn(e, t = globalThis?.document) {
|
|
1365
|
+
let n = Sn(e), r = P.useRef(!1), i = P.useRef(() => {});
|
|
1366
|
+
return P.useEffect(() => {
|
|
1362
1367
|
let e = (e) => {
|
|
1363
1368
|
if (e.target && !r.current) {
|
|
1364
1369
|
let r = function() {
|
|
1365
|
-
|
|
1370
|
+
In(En, n, a, { discrete: !0 });
|
|
1366
1371
|
}, a = { originalEvent: e };
|
|
1367
1372
|
e.pointerType === "touch" ? (t.removeEventListener("click", i.current), i.current = r, t.addEventListener("click", i.current, { once: !0 })) : r();
|
|
1368
1373
|
} else t.removeEventListener("click", i.current);
|
|
@@ -1375,11 +1380,11 @@ function Mn(e, t = globalThis?.document) {
|
|
|
1375
1380
|
};
|
|
1376
1381
|
}, [t, n]), { onPointerDownCapture: () => r.current = !0 };
|
|
1377
1382
|
}
|
|
1378
|
-
function
|
|
1379
|
-
let n =
|
|
1380
|
-
return
|
|
1383
|
+
function Pn(e, t = globalThis?.document) {
|
|
1384
|
+
let n = Sn(e), r = P.useRef(!1);
|
|
1385
|
+
return P.useEffect(() => {
|
|
1381
1386
|
let e = (e) => {
|
|
1382
|
-
e.target && !r.current &&
|
|
1387
|
+
e.target && !r.current && In(Dn, n, { originalEvent: e }, { discrete: !1 });
|
|
1383
1388
|
};
|
|
1384
1389
|
return t.addEventListener("focusin", e), () => t.removeEventListener("focusin", e);
|
|
1385
1390
|
}, [t, n]), {
|
|
@@ -1387,40 +1392,40 @@ function Nn(e, t = globalThis?.document) {
|
|
|
1387
1392
|
onBlurCapture: () => r.current = !1
|
|
1388
1393
|
};
|
|
1389
1394
|
}
|
|
1390
|
-
function
|
|
1391
|
-
let e = new CustomEvent(
|
|
1395
|
+
function Fn() {
|
|
1396
|
+
let e = new CustomEvent(Tn);
|
|
1392
1397
|
document.dispatchEvent(e);
|
|
1393
1398
|
}
|
|
1394
|
-
function
|
|
1399
|
+
function In(e, t, n, { discrete: r }) {
|
|
1395
1400
|
let i = n.originalEvent.target, a = new CustomEvent(e, {
|
|
1396
1401
|
bubbles: !1,
|
|
1397
1402
|
cancelable: !0,
|
|
1398
1403
|
detail: n
|
|
1399
1404
|
});
|
|
1400
|
-
t && i.addEventListener(e, t, { once: !0 }), r ?
|
|
1405
|
+
t && i.addEventListener(e, t, { once: !0 }), r ? xn(i, a) : i.dispatchEvent(a);
|
|
1401
1406
|
}
|
|
1402
1407
|
//#endregion
|
|
1403
1408
|
//#region ../node_modules/@radix-ui/react-focus-guards/dist/index.mjs
|
|
1404
|
-
var
|
|
1405
|
-
function
|
|
1406
|
-
|
|
1409
|
+
var Ln = 0;
|
|
1410
|
+
function Rn() {
|
|
1411
|
+
P.useEffect(() => {
|
|
1407
1412
|
let e = document.querySelectorAll("[data-radix-focus-guard]");
|
|
1408
|
-
return document.body.insertAdjacentElement("afterbegin", e[0] ??
|
|
1409
|
-
|
|
1413
|
+
return document.body.insertAdjacentElement("afterbegin", e[0] ?? zn()), document.body.insertAdjacentElement("beforeend", e[1] ?? zn()), Ln++, () => {
|
|
1414
|
+
Ln === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((e) => e.remove()), Ln--;
|
|
1410
1415
|
};
|
|
1411
1416
|
}, []);
|
|
1412
1417
|
}
|
|
1413
|
-
function
|
|
1418
|
+
function zn() {
|
|
1414
1419
|
let e = document.createElement("span");
|
|
1415
1420
|
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;
|
|
1416
1421
|
}
|
|
1417
1422
|
//#endregion
|
|
1418
1423
|
//#region ../node_modules/@radix-ui/react-focus-scope/dist/index.mjs
|
|
1419
|
-
var
|
|
1424
|
+
var Bn = "focusScope.autoFocusOnMount", Vn = "focusScope.autoFocusOnUnmount", Hn = {
|
|
1420
1425
|
bubbles: !1,
|
|
1421
1426
|
cancelable: !0
|
|
1422
|
-
},
|
|
1423
|
-
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [s, c] =
|
|
1427
|
+
}, Un = "FocusScope", Wn = P.forwardRef((e, t) => {
|
|
1428
|
+
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [s, c] = P.useState(null), l = Sn(i), u = Sn(a), d = P.useRef(null), f = B(t, (e) => c(e)), p = P.useRef({
|
|
1424
1429
|
paused: !1,
|
|
1425
1430
|
pause() {
|
|
1426
1431
|
this.paused = !0;
|
|
@@ -1429,18 +1434,18 @@ var zn = "focusScope.autoFocusOnMount", Bn = "focusScope.autoFocusOnUnmount", Vn
|
|
|
1429
1434
|
this.paused = !1;
|
|
1430
1435
|
}
|
|
1431
1436
|
}).current;
|
|
1432
|
-
|
|
1437
|
+
P.useEffect(() => {
|
|
1433
1438
|
if (r) {
|
|
1434
1439
|
let e = function(e) {
|
|
1435
1440
|
if (p.paused || !s) return;
|
|
1436
1441
|
let t = e.target;
|
|
1437
|
-
s.contains(t) ? d.current = t :
|
|
1442
|
+
s.contains(t) ? d.current = t : Zn(d.current, { select: !0 });
|
|
1438
1443
|
}, t = function(e) {
|
|
1439
1444
|
if (p.paused || !s) return;
|
|
1440
1445
|
let t = e.relatedTarget;
|
|
1441
|
-
t !== null && (s.contains(t) ||
|
|
1446
|
+
t !== null && (s.contains(t) || Zn(d.current, { select: !0 }));
|
|
1442
1447
|
}, n = function(e) {
|
|
1443
|
-
if (document.activeElement === document.body) for (let t of e) t.removedNodes.length > 0 &&
|
|
1448
|
+
if (document.activeElement === document.body) for (let t of e) t.removedNodes.length > 0 && Zn(s);
|
|
1444
1449
|
};
|
|
1445
1450
|
document.addEventListener("focusin", e), document.addEventListener("focusout", t);
|
|
1446
1451
|
let r = new MutationObserver(n);
|
|
@@ -1455,18 +1460,18 @@ var zn = "focusScope.autoFocusOnMount", Bn = "focusScope.autoFocusOnUnmount", Vn
|
|
|
1455
1460
|
r,
|
|
1456
1461
|
s,
|
|
1457
1462
|
p.paused
|
|
1458
|
-
]),
|
|
1463
|
+
]), P.useEffect(() => {
|
|
1459
1464
|
if (s) {
|
|
1460
|
-
|
|
1465
|
+
Qn.add(p);
|
|
1461
1466
|
let e = document.activeElement;
|
|
1462
1467
|
if (!s.contains(e)) {
|
|
1463
|
-
let t = new CustomEvent(
|
|
1464
|
-
s.addEventListener(
|
|
1468
|
+
let t = new CustomEvent(Bn, Hn);
|
|
1469
|
+
s.addEventListener(Bn, l), s.dispatchEvent(t), t.defaultPrevented || (Gn(tr(qn(s)), { select: !0 }), document.activeElement === e && Zn(s));
|
|
1465
1470
|
}
|
|
1466
1471
|
return () => {
|
|
1467
|
-
s.removeEventListener(
|
|
1468
|
-
let t = new CustomEvent(
|
|
1469
|
-
s.addEventListener(
|
|
1472
|
+
s.removeEventListener(Bn, l), setTimeout(() => {
|
|
1473
|
+
let t = new CustomEvent(Vn, Hn);
|
|
1474
|
+
s.addEventListener(Vn, u), s.dispatchEvent(t), t.defaultPrevented || Zn(e ?? document.body, { select: !0 }), s.removeEventListener(Vn, u), Qn.remove(p);
|
|
1470
1475
|
}, 0);
|
|
1471
1476
|
};
|
|
1472
1477
|
}
|
|
@@ -1476,35 +1481,35 @@ var zn = "focusScope.autoFocusOnMount", Bn = "focusScope.autoFocusOnUnmount", Vn
|
|
|
1476
1481
|
u,
|
|
1477
1482
|
p
|
|
1478
1483
|
]);
|
|
1479
|
-
let m =
|
|
1484
|
+
let m = P.useCallback((e) => {
|
|
1480
1485
|
if (!n && !r || p.paused) return;
|
|
1481
1486
|
let t = e.key === "Tab" && !e.altKey && !e.ctrlKey && !e.metaKey, i = document.activeElement;
|
|
1482
1487
|
if (t && i) {
|
|
1483
|
-
let t = e.currentTarget, [r, a] =
|
|
1484
|
-
r && a ? !e.shiftKey && i === a ? (e.preventDefault(), n &&
|
|
1488
|
+
let t = e.currentTarget, [r, a] = Kn(t);
|
|
1489
|
+
r && a ? !e.shiftKey && i === a ? (e.preventDefault(), n && Zn(r, { select: !0 })) : e.shiftKey && i === r && (e.preventDefault(), n && Zn(a, { select: !0 })) : i === t && e.preventDefault();
|
|
1485
1490
|
}
|
|
1486
1491
|
}, [
|
|
1487
1492
|
n,
|
|
1488
1493
|
r,
|
|
1489
1494
|
p.paused
|
|
1490
1495
|
]);
|
|
1491
|
-
return /* @__PURE__ */ (0,
|
|
1496
|
+
return /* @__PURE__ */ (0, F.jsx)(V.div, {
|
|
1492
1497
|
tabIndex: -1,
|
|
1493
1498
|
...o,
|
|
1494
1499
|
ref: f,
|
|
1495
1500
|
onKeyDown: m
|
|
1496
1501
|
});
|
|
1497
1502
|
});
|
|
1498
|
-
|
|
1499
|
-
function
|
|
1503
|
+
Wn.displayName = Un;
|
|
1504
|
+
function Gn(e, { select: t = !1 } = {}) {
|
|
1500
1505
|
let n = document.activeElement;
|
|
1501
|
-
for (let r of e) if (
|
|
1502
|
-
}
|
|
1503
|
-
function Gn(e) {
|
|
1504
|
-
let t = Kn(e);
|
|
1505
|
-
return [qn(t, e), qn(t.reverse(), e)];
|
|
1506
|
+
for (let r of e) if (Zn(r, { select: t }), document.activeElement !== n) return;
|
|
1506
1507
|
}
|
|
1507
1508
|
function Kn(e) {
|
|
1509
|
+
let t = qn(e);
|
|
1510
|
+
return [Jn(t, e), Jn(t.reverse(), e)];
|
|
1511
|
+
}
|
|
1512
|
+
function qn(e) {
|
|
1508
1513
|
let t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, { acceptNode: (e) => {
|
|
1509
1514
|
let t = e.tagName === "INPUT" && e.type === "hidden";
|
|
1510
1515
|
return e.disabled || e.hidden || t ? NodeFilter.FILTER_SKIP : e.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
|
|
@@ -1512,10 +1517,10 @@ function Kn(e) {
|
|
|
1512
1517
|
for (; n.nextNode();) t.push(n.currentNode);
|
|
1513
1518
|
return t;
|
|
1514
1519
|
}
|
|
1515
|
-
function
|
|
1516
|
-
for (let n of e) if (!
|
|
1520
|
+
function Jn(e, t) {
|
|
1521
|
+
for (let n of e) if (!Yn(n, { upTo: t })) return n;
|
|
1517
1522
|
}
|
|
1518
|
-
function
|
|
1523
|
+
function Yn(e, { upTo: t }) {
|
|
1519
1524
|
if (getComputedStyle(e).visibility === "hidden") return !0;
|
|
1520
1525
|
for (; e;) {
|
|
1521
1526
|
if (t !== void 0 && e === t) return !1;
|
|
@@ -1524,41 +1529,41 @@ function Jn(e, { upTo: t }) {
|
|
|
1524
1529
|
}
|
|
1525
1530
|
return !1;
|
|
1526
1531
|
}
|
|
1527
|
-
function
|
|
1532
|
+
function Xn(e) {
|
|
1528
1533
|
return e instanceof HTMLInputElement && "select" in e;
|
|
1529
1534
|
}
|
|
1530
|
-
function
|
|
1535
|
+
function Zn(e, { select: t = !1 } = {}) {
|
|
1531
1536
|
if (e && e.focus) {
|
|
1532
1537
|
let n = document.activeElement;
|
|
1533
|
-
e.focus({ preventScroll: !0 }), e !== n &&
|
|
1538
|
+
e.focus({ preventScroll: !0 }), e !== n && Xn(e) && t && e.select();
|
|
1534
1539
|
}
|
|
1535
1540
|
}
|
|
1536
|
-
var
|
|
1537
|
-
function
|
|
1541
|
+
var Qn = $n();
|
|
1542
|
+
function $n() {
|
|
1538
1543
|
let e = [];
|
|
1539
1544
|
return {
|
|
1540
1545
|
add(t) {
|
|
1541
1546
|
let n = e[0];
|
|
1542
|
-
t !== n && n?.pause(), e =
|
|
1547
|
+
t !== n && n?.pause(), e = er(e, t), e.unshift(t);
|
|
1543
1548
|
},
|
|
1544
1549
|
remove(t) {
|
|
1545
|
-
e =
|
|
1550
|
+
e = er(e, t), e[0]?.resume();
|
|
1546
1551
|
}
|
|
1547
1552
|
};
|
|
1548
1553
|
}
|
|
1549
|
-
function
|
|
1554
|
+
function er(e, t) {
|
|
1550
1555
|
let n = [...e], r = n.indexOf(t);
|
|
1551
1556
|
return r !== -1 && n.splice(r, 1), n;
|
|
1552
1557
|
}
|
|
1553
|
-
function
|
|
1558
|
+
function tr(e) {
|
|
1554
1559
|
return e.filter((e) => e.tagName !== "A");
|
|
1555
1560
|
}
|
|
1556
1561
|
//#endregion
|
|
1557
1562
|
//#region ../node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
|
|
1558
|
-
var
|
|
1563
|
+
var H = globalThis?.document ? P.useLayoutEffect : () => {}, nr = P.useId || (() => void 0), rr = 0;
|
|
1559
1564
|
function ir(e) {
|
|
1560
|
-
let [t, n] =
|
|
1561
|
-
return
|
|
1565
|
+
let [t, n] = P.useState(nr());
|
|
1566
|
+
return H(() => {
|
|
1562
1567
|
e || n((e) => e ?? String(rr++));
|
|
1563
1568
|
}, [e]), e || (t ? `radix-${t}` : "");
|
|
1564
1569
|
}
|
|
@@ -1792,15 +1797,15 @@ var Ar = 50, jr = async (e, t, n) => {
|
|
|
1792
1797
|
y: r
|
|
1793
1798
|
}, p = mr(i), m = pr(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;
|
|
1794
1799
|
(!C || !await (o.isElement == null ? void 0 : o.isElement(S))) && (C = s.floating[y] || a.floating[m]);
|
|
1795
|
-
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1,
|
|
1800
|
+
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1, ee = or(d[_], T), te = or(d[v], T), E = ee, D = C - h[m] - te, O = C / 2 - h[m] / 2 + w, ne = ur(E, O, D), k = !c.arrow && dr(i) != null && O !== ne && a.reference[m] / 2 - (O < E ? ee : te) - h[m] / 2 < 0, A = k ? O < E ? O - E : O - D : 0;
|
|
1796
1801
|
return {
|
|
1797
|
-
[p]: f[p] +
|
|
1802
|
+
[p]: f[p] + A,
|
|
1798
1803
|
data: {
|
|
1799
|
-
[p]:
|
|
1800
|
-
centerOffset:
|
|
1801
|
-
...
|
|
1804
|
+
[p]: ne,
|
|
1805
|
+
centerOffset: O - ne - A,
|
|
1806
|
+
...k && { alignmentOffset: A }
|
|
1802
1807
|
},
|
|
1803
|
-
reset:
|
|
1808
|
+
reset: k
|
|
1804
1809
|
};
|
|
1805
1810
|
}
|
|
1806
1811
|
}), Nr = function(e) {
|
|
@@ -2443,7 +2448,7 @@ var zi = zr, Bi = Br, Vi = Nr, Hi = Hr, Ui = Ir, Wi = Mr, Gi = Vr, Ki = (e, t, n
|
|
|
2443
2448
|
...i,
|
|
2444
2449
|
platform: a
|
|
2445
2450
|
});
|
|
2446
|
-
}, qi = typeof document < "u" ?
|
|
2451
|
+
}, qi = typeof document < "u" ? P.useLayoutEffect : function() {};
|
|
2447
2452
|
function Ji(e, t) {
|
|
2448
2453
|
if (e === t) return !0;
|
|
2449
2454
|
if (typeof e != typeof t) return !1;
|
|
@@ -2473,39 +2478,39 @@ function Xi(e, t) {
|
|
|
2473
2478
|
return Math.round(t * n) / n;
|
|
2474
2479
|
}
|
|
2475
2480
|
function Zi(e) {
|
|
2476
|
-
let t =
|
|
2481
|
+
let t = P.useRef(e);
|
|
2477
2482
|
return qi(() => {
|
|
2478
2483
|
t.current = e;
|
|
2479
2484
|
}), t;
|
|
2480
2485
|
}
|
|
2481
2486
|
function Qi(e) {
|
|
2482
2487
|
e === void 0 && (e = {});
|
|
2483
|
-
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] =
|
|
2488
|
+
let { placement: t = "bottom", strategy: n = "absolute", middleware: r = [], platform: i, elements: { reference: a, floating: o } = {}, transform: s = !0, whileElementsMounted: c, open: l } = e, [u, d] = P.useState({
|
|
2484
2489
|
x: 0,
|
|
2485
2490
|
y: 0,
|
|
2486
2491
|
strategy: n,
|
|
2487
2492
|
placement: t,
|
|
2488
2493
|
middlewareData: {},
|
|
2489
2494
|
isPositioned: !1
|
|
2490
|
-
}), [f, p] =
|
|
2495
|
+
}), [f, p] = P.useState(r);
|
|
2491
2496
|
Ji(f, r) || p(r);
|
|
2492
|
-
let [m, h] =
|
|
2497
|
+
let [m, h] = P.useState(null), [g, _] = P.useState(null), v = P.useCallback((e) => {
|
|
2493
2498
|
e !== S.current && (S.current = e, h(e));
|
|
2494
|
-
}, []), y =
|
|
2499
|
+
}, []), y = P.useCallback((e) => {
|
|
2495
2500
|
e !== C.current && (C.current = e, _(e));
|
|
2496
|
-
}, []), b = a || m, x = o || g, S =
|
|
2501
|
+
}, []), b = a || m, x = o || g, S = P.useRef(null), C = P.useRef(null), w = P.useRef(u), T = c != null, ee = Zi(c), te = Zi(i), E = Zi(l), D = P.useCallback(() => {
|
|
2497
2502
|
if (!S.current || !C.current) return;
|
|
2498
2503
|
let e = {
|
|
2499
2504
|
placement: t,
|
|
2500
2505
|
strategy: n,
|
|
2501
2506
|
middleware: f
|
|
2502
2507
|
};
|
|
2503
|
-
|
|
2508
|
+
te.current && (e.platform = te.current), Ki(S.current, C.current, e).then((e) => {
|
|
2504
2509
|
let t = {
|
|
2505
2510
|
...e,
|
|
2506
|
-
isPositioned:
|
|
2511
|
+
isPositioned: E.current !== !1
|
|
2507
2512
|
};
|
|
2508
|
-
|
|
2513
|
+
O.current && !Ji(w.current, t) && (w.current = t, dt.flushSync(() => {
|
|
2509
2514
|
d(t);
|
|
2510
2515
|
}));
|
|
2511
2516
|
});
|
|
@@ -2513,8 +2518,8 @@ function Qi(e) {
|
|
|
2513
2518
|
f,
|
|
2514
2519
|
t,
|
|
2515
2520
|
n,
|
|
2516
|
-
|
|
2517
|
-
|
|
2521
|
+
te,
|
|
2522
|
+
E
|
|
2518
2523
|
]);
|
|
2519
2524
|
qi(() => {
|
|
2520
2525
|
l === !1 && w.current.isPositioned && (w.current.isPositioned = !1, d((e) => ({
|
|
@@ -2522,41 +2527,41 @@ function Qi(e) {
|
|
|
2522
2527
|
isPositioned: !1
|
|
2523
2528
|
})));
|
|
2524
2529
|
}, [l]);
|
|
2525
|
-
let
|
|
2526
|
-
qi(() => (
|
|
2527
|
-
|
|
2530
|
+
let O = P.useRef(!1);
|
|
2531
|
+
qi(() => (O.current = !0, () => {
|
|
2532
|
+
O.current = !1;
|
|
2528
2533
|
}), []), qi(() => {
|
|
2529
2534
|
if (b && (S.current = b), x && (C.current = x), b && x) {
|
|
2530
|
-
if (
|
|
2531
|
-
|
|
2535
|
+
if (ee.current) return ee.current(b, x, D);
|
|
2536
|
+
D();
|
|
2532
2537
|
}
|
|
2533
2538
|
}, [
|
|
2534
2539
|
b,
|
|
2535
2540
|
x,
|
|
2536
|
-
|
|
2537
|
-
|
|
2541
|
+
D,
|
|
2542
|
+
ee,
|
|
2538
2543
|
T
|
|
2539
2544
|
]);
|
|
2540
|
-
let
|
|
2545
|
+
let ne = P.useMemo(() => ({
|
|
2541
2546
|
reference: S,
|
|
2542
2547
|
floating: C,
|
|
2543
2548
|
setReference: v,
|
|
2544
2549
|
setFloating: y
|
|
2545
|
-
}), [v, y]),
|
|
2550
|
+
}), [v, y]), k = P.useMemo(() => ({
|
|
2546
2551
|
reference: b,
|
|
2547
2552
|
floating: x
|
|
2548
|
-
}), [b, x]),
|
|
2553
|
+
}), [b, x]), A = P.useMemo(() => {
|
|
2549
2554
|
let e = {
|
|
2550
2555
|
position: n,
|
|
2551
2556
|
left: 0,
|
|
2552
2557
|
top: 0
|
|
2553
2558
|
};
|
|
2554
|
-
if (!
|
|
2555
|
-
let t = Xi(
|
|
2559
|
+
if (!k.floating) return e;
|
|
2560
|
+
let t = Xi(k.floating, u.x), r = Xi(k.floating, u.y);
|
|
2556
2561
|
return s ? {
|
|
2557
2562
|
...e,
|
|
2558
2563
|
transform: "translate(" + t + "px, " + r + "px)",
|
|
2559
|
-
...Yi(
|
|
2564
|
+
...Yi(k.floating) >= 1.5 && { willChange: "transform" }
|
|
2560
2565
|
} : {
|
|
2561
2566
|
position: n,
|
|
2562
2567
|
left: t,
|
|
@@ -2565,22 +2570,22 @@ function Qi(e) {
|
|
|
2565
2570
|
}, [
|
|
2566
2571
|
n,
|
|
2567
2572
|
s,
|
|
2568
|
-
|
|
2573
|
+
k.floating,
|
|
2569
2574
|
u.x,
|
|
2570
2575
|
u.y
|
|
2571
2576
|
]);
|
|
2572
|
-
return
|
|
2577
|
+
return P.useMemo(() => ({
|
|
2573
2578
|
...u,
|
|
2574
|
-
update:
|
|
2575
|
-
refs:
|
|
2576
|
-
elements:
|
|
2577
|
-
floatingStyles:
|
|
2579
|
+
update: D,
|
|
2580
|
+
refs: ne,
|
|
2581
|
+
elements: k,
|
|
2582
|
+
floatingStyles: A
|
|
2578
2583
|
}), [
|
|
2579
2584
|
u,
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2585
|
+
D,
|
|
2586
|
+
ne,
|
|
2587
|
+
k,
|
|
2588
|
+
A
|
|
2584
2589
|
]);
|
|
2585
2590
|
}
|
|
2586
2591
|
var $i = (e) => {
|
|
@@ -2646,16 +2651,16 @@ var $i = (e) => {
|
|
|
2646
2651
|
fn: n.fn,
|
|
2647
2652
|
options: [e, t]
|
|
2648
2653
|
};
|
|
2649
|
-
}, sa = "Arrow", ca =
|
|
2654
|
+
}, sa = "Arrow", ca = P.forwardRef((e, t) => {
|
|
2650
2655
|
let { children: n, width: r = 10, height: i = 5, ...a } = e;
|
|
2651
|
-
return /* @__PURE__ */ (0,
|
|
2656
|
+
return /* @__PURE__ */ (0, F.jsx)(V.svg, {
|
|
2652
2657
|
...a,
|
|
2653
2658
|
ref: t,
|
|
2654
2659
|
width: r,
|
|
2655
2660
|
height: i,
|
|
2656
2661
|
viewBox: "0 0 30 10",
|
|
2657
2662
|
preserveAspectRatio: "none",
|
|
2658
|
-
children: e.asChild ? n : /* @__PURE__ */ (0,
|
|
2663
|
+
children: e.asChild ? n : /* @__PURE__ */ (0, F.jsx)("polygon", { points: "0,0 30,0 15,10" })
|
|
2659
2664
|
});
|
|
2660
2665
|
});
|
|
2661
2666
|
ca.displayName = sa;
|
|
@@ -2663,8 +2668,8 @@ var la = ca;
|
|
|
2663
2668
|
//#endregion
|
|
2664
2669
|
//#region ../node_modules/@radix-ui/react-use-size/dist/index.mjs
|
|
2665
2670
|
function ua(e) {
|
|
2666
|
-
let [t, n] =
|
|
2667
|
-
return
|
|
2671
|
+
let [t, n] = P.useState(void 0);
|
|
2672
|
+
return H(() => {
|
|
2668
2673
|
if (e) {
|
|
2669
2674
|
n({
|
|
2670
2675
|
width: e.offsetWidth,
|
|
@@ -2688,9 +2693,9 @@ function ua(e) {
|
|
|
2688
2693
|
}
|
|
2689
2694
|
//#endregion
|
|
2690
2695
|
//#region ../node_modules/@radix-ui/react-popper/dist/index.mjs
|
|
2691
|
-
var da = "Popper", [fa, pa] =
|
|
2692
|
-
let { __scopePopper: t, children: n } = e, [r, i] =
|
|
2693
|
-
return /* @__PURE__ */ (0,
|
|
2696
|
+
var da = "Popper", [fa, pa] = pn(da), [ma, ha] = fa(da), ga = (e) => {
|
|
2697
|
+
let { __scopePopper: t, children: n } = e, [r, i] = P.useState(null);
|
|
2698
|
+
return /* @__PURE__ */ (0, F.jsx)(ma, {
|
|
2694
2699
|
scope: t,
|
|
2695
2700
|
anchor: r,
|
|
2696
2701
|
onAnchorChange: i,
|
|
@@ -2698,29 +2703,29 @@ var da = "Popper", [fa, pa] = fn(da), [ma, ha] = fa(da), ga = (e) => {
|
|
|
2698
2703
|
});
|
|
2699
2704
|
};
|
|
2700
2705
|
ga.displayName = da;
|
|
2701
|
-
var _a = "PopperAnchor", va =
|
|
2702
|
-
let { __scopePopper: n, virtualRef: r, ...i } = e, a = ha(_a, n), o =
|
|
2703
|
-
return
|
|
2706
|
+
var _a = "PopperAnchor", va = P.forwardRef((e, t) => {
|
|
2707
|
+
let { __scopePopper: n, virtualRef: r, ...i } = e, a = ha(_a, n), o = P.useRef(null), s = B(t, o), c = P.useRef(null);
|
|
2708
|
+
return P.useEffect(() => {
|
|
2704
2709
|
let e = c.current;
|
|
2705
2710
|
c.current = r?.current || o.current, e !== c.current && a.onAnchorChange(c.current);
|
|
2706
|
-
}), r ? null : /* @__PURE__ */ (0,
|
|
2711
|
+
}), r ? null : /* @__PURE__ */ (0, F.jsx)(V.div, {
|
|
2707
2712
|
...i,
|
|
2708
2713
|
ref: s
|
|
2709
2714
|
});
|
|
2710
2715
|
});
|
|
2711
2716
|
va.displayName = _a;
|
|
2712
|
-
var ya = "PopperContent", [ba, xa] = fa(ya), Sa =
|
|
2713
|
-
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(ya, n), [_, v] =
|
|
2717
|
+
var ya = "PopperContent", [ba, xa] = fa(ya), Sa = P.forwardRef((e, t) => {
|
|
2718
|
+
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(ya, n), [_, v] = P.useState(null), y = B(t, (e) => v(e)), [b, x] = P.useState(null), S = ua(b), C = S?.width ?? 0, w = S?.height ?? 0, T = r + (a === "center" ? "" : "-" + a), ee = typeof u == "number" ? u : {
|
|
2714
2719
|
top: 0,
|
|
2715
2720
|
right: 0,
|
|
2716
2721
|
bottom: 0,
|
|
2717
2722
|
left: 0,
|
|
2718
2723
|
...u
|
|
2719
|
-
},
|
|
2720
|
-
padding:
|
|
2721
|
-
boundary:
|
|
2722
|
-
altBoundary:
|
|
2723
|
-
}, { refs:
|
|
2724
|
+
}, te = Array.isArray(l) ? l : [l], E = te.length > 0, D = {
|
|
2725
|
+
padding: ee,
|
|
2726
|
+
boundary: te.filter(Ea),
|
|
2727
|
+
altBoundary: E
|
|
2728
|
+
}, { refs: O, floatingStyles: ne, placement: k, isPositioned: A, middlewareData: j } = Qi({
|
|
2724
2729
|
strategy: "fixed",
|
|
2725
2730
|
placement: T,
|
|
2726
2731
|
whileElementsMounted: (...e) => Ri(...e, { animationFrame: p === "always" }),
|
|
@@ -2734,11 +2739,11 @@ var ya = "PopperContent", [ba, xa] = fa(ya), Sa = F.forwardRef((e, t) => {
|
|
|
2734
2739
|
mainAxis: !0,
|
|
2735
2740
|
crossAxis: !1,
|
|
2736
2741
|
limiter: d === "partial" ? na() : void 0,
|
|
2737
|
-
...
|
|
2742
|
+
...D
|
|
2738
2743
|
}),
|
|
2739
|
-
c && ra({ ...
|
|
2744
|
+
c && ra({ ...D }),
|
|
2740
2745
|
ia({
|
|
2741
|
-
...
|
|
2746
|
+
...D,
|
|
2742
2747
|
apply: ({ elements: e, rects: t, availableWidth: n, availableHeight: r }) => {
|
|
2743
2748
|
let { width: i, height: a } = t.reference, o = e.floating.style;
|
|
2744
2749
|
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`);
|
|
@@ -2754,46 +2759,46 @@ var ya = "PopperContent", [ba, xa] = fa(ya), Sa = F.forwardRef((e, t) => {
|
|
|
2754
2759
|
}),
|
|
2755
2760
|
f && aa({
|
|
2756
2761
|
strategy: "referenceHidden",
|
|
2757
|
-
...
|
|
2762
|
+
...D
|
|
2758
2763
|
})
|
|
2759
2764
|
]
|
|
2760
|
-
}), [
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
}, [
|
|
2764
|
-
let
|
|
2765
|
-
return
|
|
2766
|
-
_ &&
|
|
2767
|
-
}, [_]), /* @__PURE__ */ (0,
|
|
2768
|
-
ref:
|
|
2765
|
+
}), [re, ie] = Oa(k), ae = Sn(m);
|
|
2766
|
+
H(() => {
|
|
2767
|
+
A && ae?.();
|
|
2768
|
+
}, [A, ae]);
|
|
2769
|
+
let M = j.arrow?.x, oe = j.arrow?.y, se = j.arrow?.centerOffset !== 0, [ce, le] = P.useState();
|
|
2770
|
+
return H(() => {
|
|
2771
|
+
_ && le(window.getComputedStyle(_).zIndex);
|
|
2772
|
+
}, [_]), /* @__PURE__ */ (0, F.jsx)("div", {
|
|
2773
|
+
ref: O.setFloating,
|
|
2769
2774
|
"data-radix-popper-content-wrapper": "",
|
|
2770
2775
|
style: {
|
|
2771
|
-
...
|
|
2772
|
-
transform:
|
|
2776
|
+
...ne,
|
|
2777
|
+
transform: A ? ne.transform : "translate(0, -200%)",
|
|
2773
2778
|
minWidth: "max-content",
|
|
2774
|
-
zIndex:
|
|
2775
|
-
"--radix-popper-transform-origin": [
|
|
2776
|
-
...
|
|
2779
|
+
zIndex: ce,
|
|
2780
|
+
"--radix-popper-transform-origin": [j.transformOrigin?.x, j.transformOrigin?.y].join(" "),
|
|
2781
|
+
...j.hide?.referenceHidden && {
|
|
2777
2782
|
visibility: "hidden",
|
|
2778
2783
|
pointerEvents: "none"
|
|
2779
2784
|
}
|
|
2780
2785
|
},
|
|
2781
2786
|
dir: e.dir,
|
|
2782
|
-
children: /* @__PURE__ */ (0,
|
|
2787
|
+
children: /* @__PURE__ */ (0, F.jsx)(ba, {
|
|
2783
2788
|
scope: n,
|
|
2784
|
-
placedSide:
|
|
2789
|
+
placedSide: re,
|
|
2785
2790
|
onArrowChange: x,
|
|
2786
|
-
arrowX:
|
|
2787
|
-
arrowY:
|
|
2788
|
-
shouldHideArrow:
|
|
2789
|
-
children: /* @__PURE__ */ (0,
|
|
2790
|
-
"data-side":
|
|
2791
|
-
"data-align":
|
|
2791
|
+
arrowX: M,
|
|
2792
|
+
arrowY: oe,
|
|
2793
|
+
shouldHideArrow: se,
|
|
2794
|
+
children: /* @__PURE__ */ (0, F.jsx)(V.div, {
|
|
2795
|
+
"data-side": re,
|
|
2796
|
+
"data-align": ie,
|
|
2792
2797
|
...h,
|
|
2793
2798
|
ref: y,
|
|
2794
2799
|
style: {
|
|
2795
2800
|
...h.style,
|
|
2796
|
-
animation:
|
|
2801
|
+
animation: A ? void 0 : "none"
|
|
2797
2802
|
}
|
|
2798
2803
|
})
|
|
2799
2804
|
})
|
|
@@ -2805,9 +2810,9 @@ var Ca = "PopperArrow", wa = {
|
|
|
2805
2810
|
right: "left",
|
|
2806
2811
|
bottom: "top",
|
|
2807
2812
|
left: "right"
|
|
2808
|
-
}, Ta =
|
|
2813
|
+
}, Ta = P.forwardRef(function(e, t) {
|
|
2809
2814
|
let { __scopePopper: n, ...r } = e, i = xa(Ca, n), a = wa[i.placedSide];
|
|
2810
|
-
return /* @__PURE__ */ (0,
|
|
2815
|
+
return /* @__PURE__ */ (0, F.jsx)("span", {
|
|
2811
2816
|
ref: i.onArrowChange,
|
|
2812
2817
|
style: {
|
|
2813
2818
|
position: "absolute",
|
|
@@ -2828,7 +2833,7 @@ var Ca = "PopperArrow", wa = {
|
|
|
2828
2833
|
}[i.placedSide],
|
|
2829
2834
|
visibility: i.shouldHideArrow ? "hidden" : void 0
|
|
2830
2835
|
},
|
|
2831
|
-
children: /* @__PURE__ */ (0,
|
|
2836
|
+
children: /* @__PURE__ */ (0, F.jsx)(la, {
|
|
2832
2837
|
...r,
|
|
2833
2838
|
ref: t,
|
|
2834
2839
|
style: {
|
|
@@ -2861,11 +2866,11 @@ function Oa(e) {
|
|
|
2861
2866
|
let [t, n = "center"] = e.split("-");
|
|
2862
2867
|
return [t, n];
|
|
2863
2868
|
}
|
|
2864
|
-
var ka = ga, Aa = va, ja = Sa, Ma = Ta, Na = "Portal", Pa =
|
|
2865
|
-
let { container: n, ...r } = e, [i, a] =
|
|
2866
|
-
|
|
2869
|
+
var ka = ga, Aa = va, ja = Sa, Ma = Ta, Na = "Portal", Pa = P.forwardRef((e, t) => {
|
|
2870
|
+
let { container: n, ...r } = e, [i, a] = P.useState(!1);
|
|
2871
|
+
H(() => a(!0), []);
|
|
2867
2872
|
let o = n || i && globalThis?.document?.body;
|
|
2868
|
-
return o ?
|
|
2873
|
+
return o ? dt.createPortal(/* @__PURE__ */ (0, F.jsx)(V.div, {
|
|
2869
2874
|
...r,
|
|
2870
2875
|
ref: t
|
|
2871
2876
|
}), o) : null;
|
|
@@ -2874,15 +2879,15 @@ Pa.displayName = Na;
|
|
|
2874
2879
|
//#endregion
|
|
2875
2880
|
//#region ../node_modules/@radix-ui/react-presence/dist/index.mjs
|
|
2876
2881
|
function Fa(e, t) {
|
|
2877
|
-
return
|
|
2882
|
+
return P.useReducer((e, n) => t[e][n] ?? e, e);
|
|
2878
2883
|
}
|
|
2879
2884
|
var Ia = (e) => {
|
|
2880
|
-
let { present: t, children: n } = e, r = La(t), i = typeof n == "function" ? n({ present: r.isPresent }) :
|
|
2881
|
-
return typeof n == "function" || r.isPresent ?
|
|
2885
|
+
let { present: t, children: n } = e, r = La(t), i = typeof n == "function" ? n({ present: r.isPresent }) : P.Children.only(n), a = B(r.ref, za(i));
|
|
2886
|
+
return typeof n == "function" || r.isPresent ? P.cloneElement(i, { ref: a }) : null;
|
|
2882
2887
|
};
|
|
2883
2888
|
Ia.displayName = "Presence";
|
|
2884
2889
|
function La(e) {
|
|
2885
|
-
let [t, n] =
|
|
2890
|
+
let [t, n] = P.useState(), r = P.useRef(null), i = P.useRef(e), a = P.useRef("none"), [o, s] = Fa(e ? "mounted" : "unmounted", {
|
|
2886
2891
|
mounted: {
|
|
2887
2892
|
UNMOUNT: "unmounted",
|
|
2888
2893
|
ANIMATION_OUT: "unmountSuspended"
|
|
@@ -2893,16 +2898,16 @@ function La(e) {
|
|
|
2893
2898
|
},
|
|
2894
2899
|
unmounted: { MOUNT: "mounted" }
|
|
2895
2900
|
});
|
|
2896
|
-
return
|
|
2901
|
+
return P.useEffect(() => {
|
|
2897
2902
|
let e = Ra(r.current);
|
|
2898
2903
|
a.current = o === "mounted" ? e : "none";
|
|
2899
|
-
}, [o]),
|
|
2904
|
+
}, [o]), H(() => {
|
|
2900
2905
|
let t = r.current, n = i.current;
|
|
2901
2906
|
if (n !== e) {
|
|
2902
2907
|
let r = a.current, o = Ra(t);
|
|
2903
2908
|
e ? s("MOUNT") : o === "none" || t?.display === "none" ? s("UNMOUNT") : s(n && r !== o ? "ANIMATION_OUT" : "UNMOUNT"), i.current = e;
|
|
2904
2909
|
}
|
|
2905
|
-
}, [e, s]),
|
|
2910
|
+
}, [e, s]), H(() => {
|
|
2906
2911
|
if (t) {
|
|
2907
2912
|
let e, n = t.ownerDocument.defaultView ?? window, o = (a) => {
|
|
2908
2913
|
let o = Ra(r.current).includes(CSS.escape(a.animationName));
|
|
@@ -2921,7 +2926,7 @@ function La(e) {
|
|
|
2921
2926
|
} else s("ANIMATION_END");
|
|
2922
2927
|
}, [t, s]), {
|
|
2923
2928
|
isPresent: ["mounted", "unmountSuspended"].includes(o),
|
|
2924
|
-
ref:
|
|
2929
|
+
ref: P.useCallback((e) => {
|
|
2925
2930
|
r.current = e ? getComputedStyle(e) : null, n(e);
|
|
2926
2931
|
}, [])
|
|
2927
2932
|
};
|
|
@@ -2935,20 +2940,20 @@ function za(e) {
|
|
|
2935
2940
|
}
|
|
2936
2941
|
//#endregion
|
|
2937
2942
|
//#region ../node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
|
|
2938
|
-
var Ba =
|
|
2943
|
+
var Ba = P.useInsertionEffect || H;
|
|
2939
2944
|
function Va({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
2940
2945
|
let [i, a, o] = Ha({
|
|
2941
2946
|
defaultProp: t,
|
|
2942
2947
|
onChange: n
|
|
2943
2948
|
}), s = e !== void 0, c = s ? e : i;
|
|
2944
2949
|
{
|
|
2945
|
-
let t =
|
|
2946
|
-
|
|
2950
|
+
let t = P.useRef(e !== void 0);
|
|
2951
|
+
P.useEffect(() => {
|
|
2947
2952
|
let e = t.current;
|
|
2948
2953
|
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;
|
|
2949
2954
|
}, [s, r]);
|
|
2950
2955
|
}
|
|
2951
|
-
return [c,
|
|
2956
|
+
return [c, P.useCallback((t) => {
|
|
2952
2957
|
if (s) {
|
|
2953
2958
|
let n = Ua(t) ? t(e) : t;
|
|
2954
2959
|
n !== e && o.current?.(n);
|
|
@@ -2961,10 +2966,10 @@ function Va({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
|
2961
2966
|
])];
|
|
2962
2967
|
}
|
|
2963
2968
|
function Ha({ defaultProp: e, onChange: t }) {
|
|
2964
|
-
let [n, r] =
|
|
2969
|
+
let [n, r] = P.useState(e), i = P.useRef(n), a = P.useRef(t);
|
|
2965
2970
|
return Ba(() => {
|
|
2966
2971
|
a.current = t;
|
|
2967
|
-
}, [t]),
|
|
2972
|
+
}, [t]), P.useEffect(() => {
|
|
2968
2973
|
i.current !== n && (a.current?.(n), i.current = n);
|
|
2969
2974
|
}, [n, i]), [
|
|
2970
2975
|
n,
|
|
@@ -3164,7 +3169,7 @@ function lo(e, t) {
|
|
|
3164
3169
|
//#endregion
|
|
3165
3170
|
//#region ../node_modules/use-callback-ref/dist/es2015/useRef.js
|
|
3166
3171
|
function uo(e, t) {
|
|
3167
|
-
var n = (0,
|
|
3172
|
+
var n = (0, P.useState)(function() {
|
|
3168
3173
|
return {
|
|
3169
3174
|
value: e,
|
|
3170
3175
|
callback: t,
|
|
@@ -3183,7 +3188,7 @@ function uo(e, t) {
|
|
|
3183
3188
|
}
|
|
3184
3189
|
//#endregion
|
|
3185
3190
|
//#region ../node_modules/use-callback-ref/dist/es2015/useMergeRef.js
|
|
3186
|
-
var fo = typeof window < "u" ?
|
|
3191
|
+
var fo = typeof window < "u" ? P.useLayoutEffect : P.useEffect, po = /* @__PURE__ */ new WeakMap();
|
|
3187
3192
|
function mo(e, t) {
|
|
3188
3193
|
var n = uo(t || null, function(t) {
|
|
3189
3194
|
return e.forEach(function(e) {
|
|
@@ -3277,7 +3282,7 @@ var vo = function(e) {
|
|
|
3277
3282
|
if (!t) throw Error("Sidecar: please provide `sideCar` property to import the right car");
|
|
3278
3283
|
var r = t.read();
|
|
3279
3284
|
if (!r) throw Error("Sidecar medium not found");
|
|
3280
|
-
return
|
|
3285
|
+
return P.createElement(r, $({}, n));
|
|
3281
3286
|
};
|
|
3282
3287
|
vo.isSideCarExport = !0;
|
|
3283
3288
|
function yo(e, t) {
|
|
@@ -3285,8 +3290,8 @@ function yo(e, t) {
|
|
|
3285
3290
|
}
|
|
3286
3291
|
//#endregion
|
|
3287
3292
|
//#region ../node_modules/react-remove-scroll/dist/es2015/medium.js
|
|
3288
|
-
var bo = _o(), xo = function() {}, So =
|
|
3289
|
-
var n =
|
|
3293
|
+
var bo = _o(), xo = function() {}, So = P.forwardRef(function(e, t) {
|
|
3294
|
+
var n = P.useRef(null), r = P.useState({
|
|
3290
3295
|
onScrollCapture: xo,
|
|
3291
3296
|
onWheelCapture: xo,
|
|
3292
3297
|
onTouchMoveCapture: xo
|
|
@@ -3305,7 +3310,7 @@ var bo = _o(), xo = function() {}, So = F.forwardRef(function(e, t) {
|
|
|
3305
3310
|
"as",
|
|
3306
3311
|
"gapMode"
|
|
3307
3312
|
]), x = f, S = mo([n, t]), C = $($({}, b), i);
|
|
3308
|
-
return
|
|
3313
|
+
return P.createElement(P.Fragment, null, u && P.createElement(x, {
|
|
3309
3314
|
sideCar: bo,
|
|
3310
3315
|
removeScrollBar: l,
|
|
3311
3316
|
shards: d,
|
|
@@ -3316,7 +3321,7 @@ var bo = _o(), xo = function() {}, So = F.forwardRef(function(e, t) {
|
|
|
3316
3321
|
allowPinchZoom: !!g,
|
|
3317
3322
|
lockRef: n,
|
|
3318
3323
|
gapMode: y
|
|
3319
|
-
}), o ?
|
|
3324
|
+
}), o ? P.cloneElement(P.Children.only(s), $($({}, C), { ref: S })) : P.createElement(v, $({}, C, {
|
|
3320
3325
|
className: c,
|
|
3321
3326
|
ref: S
|
|
3322
3327
|
}), s));
|
|
@@ -3363,7 +3368,7 @@ var Oo = function() {
|
|
|
3363
3368
|
}, ko = function() {
|
|
3364
3369
|
var e = Oo();
|
|
3365
3370
|
return function(t, n) {
|
|
3366
|
-
|
|
3371
|
+
P.useEffect(function() {
|
|
3367
3372
|
return e.add(t), function() {
|
|
3368
3373
|
e.remove();
|
|
3369
3374
|
};
|
|
@@ -3446,7 +3451,7 @@ var Oo = function() {
|
|
|
3446
3451
|
var e = parseInt(document.body.getAttribute("data-scroll-locked") || "0", 10);
|
|
3447
3452
|
return isFinite(e) ? e : 0;
|
|
3448
3453
|
}, zo = function() {
|
|
3449
|
-
|
|
3454
|
+
P.useEffect(function() {
|
|
3450
3455
|
return document.body.setAttribute(Io, (Ro() + 1).toString()), function() {
|
|
3451
3456
|
var e = Ro() - 1;
|
|
3452
3457
|
e <= 0 ? document.body.removeAttribute(Io) : document.body.setAttribute(Io, e.toString());
|
|
@@ -3455,10 +3460,10 @@ var Oo = function() {
|
|
|
3455
3460
|
}, Bo = function(e) {
|
|
3456
3461
|
var t = e.noRelative, n = e.noImportant, r = e.gapMode, i = r === void 0 ? "margin" : r;
|
|
3457
3462
|
zo();
|
|
3458
|
-
var a =
|
|
3463
|
+
var a = P.useMemo(function() {
|
|
3459
3464
|
return Po(i);
|
|
3460
3465
|
}, [i]);
|
|
3461
|
-
return
|
|
3466
|
+
return P.createElement(Fo, { styles: Lo(a, !t, i, n ? "" : "!important") });
|
|
3462
3467
|
}, Vo = !1;
|
|
3463
3468
|
if (typeof window < "u") try {
|
|
3464
3469
|
var Ho = Object.defineProperty({}, "passive", { get: function() {
|
|
@@ -3531,10 +3536,10 @@ var Uo = Vo ? { passive: !1 } : !1, Wo = function(e) {
|
|
|
3531
3536
|
`;
|
|
3532
3537
|
}, os = 0, ss = [];
|
|
3533
3538
|
function cs(e) {
|
|
3534
|
-
var t =
|
|
3535
|
-
|
|
3539
|
+
var t = P.useRef([]), n = P.useRef([0, 0]), r = P.useRef(), i = P.useState(os++)[0], a = P.useState(Ao)[0], o = P.useRef(e);
|
|
3540
|
+
P.useEffect(function() {
|
|
3536
3541
|
o.current = e;
|
|
3537
|
-
}, [e]),
|
|
3542
|
+
}, [e]), P.useEffect(function() {
|
|
3538
3543
|
if (e.inert) {
|
|
3539
3544
|
document.body.classList.add(`block-interactivity-${i}`);
|
|
3540
3545
|
var t = io([e.lockRef.current], (e.shards || []).map(rs), !0).filter(Boolean);
|
|
@@ -3551,7 +3556,7 @@ function cs(e) {
|
|
|
3551
3556
|
e.lockRef.current,
|
|
3552
3557
|
e.shards
|
|
3553
3558
|
]);
|
|
3554
|
-
var s =
|
|
3559
|
+
var s = P.useCallback(function(e, t) {
|
|
3555
3560
|
if ("touches" in e && e.touches.length === 2 || e.type === "wheel" && e.ctrlKey) return !o.current.allowPinchZoom;
|
|
3556
3561
|
var i = ts(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";
|
|
3557
3562
|
if ("touches" in e && d === "h" && u.type === "range") return !1;
|
|
@@ -3563,7 +3568,7 @@ function cs(e) {
|
|
|
3563
3568
|
if (!r.current && "changedTouches" in e && (s || c) && (r.current = l), !l) return !0;
|
|
3564
3569
|
var h = r.current || l;
|
|
3565
3570
|
return es(h, t, e, h === "h" ? s : c, !0);
|
|
3566
|
-
}, []), c =
|
|
3571
|
+
}, []), c = P.useCallback(function(e) {
|
|
3567
3572
|
var n = e;
|
|
3568
3573
|
if (!(!ss.length || ss[ss.length - 1] !== a)) {
|
|
3569
3574
|
var r = "deltaY" in n ? ns(n) : ts(n), i = t.current.filter(function(e) {
|
|
@@ -3580,7 +3585,7 @@ function cs(e) {
|
|
|
3580
3585
|
(c.length > 0 ? s(n, c[0]) : !o.current.noIsolation) && n.cancelable && n.preventDefault();
|
|
3581
3586
|
}
|
|
3582
3587
|
}
|
|
3583
|
-
}, []), l =
|
|
3588
|
+
}, []), l = P.useCallback(function(e, n, r, i) {
|
|
3584
3589
|
var a = {
|
|
3585
3590
|
name: e,
|
|
3586
3591
|
delta: n,
|
|
@@ -3593,14 +3598,14 @@ function cs(e) {
|
|
|
3593
3598
|
return e !== a;
|
|
3594
3599
|
});
|
|
3595
3600
|
}, 1);
|
|
3596
|
-
}, []), u =
|
|
3601
|
+
}, []), u = P.useCallback(function(e) {
|
|
3597
3602
|
n.current = ts(e), r.current = void 0;
|
|
3598
|
-
}, []), d =
|
|
3603
|
+
}, []), d = P.useCallback(function(t) {
|
|
3599
3604
|
l(t.type, ns(t), t.target, s(t, e.lockRef.current));
|
|
3600
|
-
}, []), f =
|
|
3605
|
+
}, []), f = P.useCallback(function(t) {
|
|
3601
3606
|
l(t.type, ts(t), t.target, s(t, e.lockRef.current));
|
|
3602
3607
|
}, []);
|
|
3603
|
-
|
|
3608
|
+
P.useEffect(function() {
|
|
3604
3609
|
return ss.push(a), e.setCallbacks({
|
|
3605
3610
|
onScrollCapture: d,
|
|
3606
3611
|
onWheelCapture: d,
|
|
@@ -3612,7 +3617,7 @@ function cs(e) {
|
|
|
3612
3617
|
};
|
|
3613
3618
|
}, []);
|
|
3614
3619
|
var p = e.removeScrollBar, m = e.inert;
|
|
3615
|
-
return
|
|
3620
|
+
return P.createElement(P.Fragment, null, m ? P.createElement(a, { styles: as(i) }) : null, p ? P.createElement(Bo, {
|
|
3616
3621
|
noRelative: e.noRelative,
|
|
3617
3622
|
gapMode: e.gapMode
|
|
3618
3623
|
}) : null);
|
|
@@ -3623,8 +3628,8 @@ function ls(e) {
|
|
|
3623
3628
|
}
|
|
3624
3629
|
//#endregion
|
|
3625
3630
|
//#region ../node_modules/react-remove-scroll/dist/es2015/sidecar.js
|
|
3626
|
-
var us = yo(bo, cs), ds =
|
|
3627
|
-
return
|
|
3631
|
+
var us = yo(bo, cs), ds = P.forwardRef(function(e, t) {
|
|
3632
|
+
return P.createElement(So, $({}, e, {
|
|
3628
3633
|
ref: t,
|
|
3629
3634
|
sideCar: us
|
|
3630
3635
|
}));
|
|
@@ -3632,42 +3637,42 @@ var us = yo(bo, cs), ds = F.forwardRef(function(e, t) {
|
|
|
3632
3637
|
ds.classNames = So.classNames;
|
|
3633
3638
|
//#endregion
|
|
3634
3639
|
//#region ../node_modules/@radix-ui/react-popover/dist/index.mjs
|
|
3635
|
-
var fs = "Popover", [ps, ms] =
|
|
3636
|
-
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, s = hs(t), c =
|
|
3640
|
+
var fs = "Popover", [ps, ms] = pn(fs, [pa]), hs = pa(), [gs, _s] = ps(fs), vs = (e) => {
|
|
3641
|
+
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, s = hs(t), c = P.useRef(null), [l, u] = P.useState(!1), [d, f] = Va({
|
|
3637
3642
|
prop: r,
|
|
3638
3643
|
defaultProp: i ?? !1,
|
|
3639
3644
|
onChange: a,
|
|
3640
3645
|
caller: fs
|
|
3641
3646
|
});
|
|
3642
|
-
return /* @__PURE__ */ (0,
|
|
3647
|
+
return /* @__PURE__ */ (0, F.jsx)(ka, {
|
|
3643
3648
|
...s,
|
|
3644
|
-
children: /* @__PURE__ */ (0,
|
|
3649
|
+
children: /* @__PURE__ */ (0, F.jsx)(gs, {
|
|
3645
3650
|
scope: t,
|
|
3646
3651
|
contentId: ir(),
|
|
3647
3652
|
triggerRef: c,
|
|
3648
3653
|
open: d,
|
|
3649
3654
|
onOpenChange: f,
|
|
3650
|
-
onOpenToggle:
|
|
3655
|
+
onOpenToggle: P.useCallback(() => f((e) => !e), [f]),
|
|
3651
3656
|
hasCustomAnchor: l,
|
|
3652
|
-
onCustomAnchorAdd:
|
|
3653
|
-
onCustomAnchorRemove:
|
|
3657
|
+
onCustomAnchorAdd: P.useCallback(() => u(!0), []),
|
|
3658
|
+
onCustomAnchorRemove: P.useCallback(() => u(!1), []),
|
|
3654
3659
|
modal: o,
|
|
3655
3660
|
children: n
|
|
3656
3661
|
})
|
|
3657
3662
|
});
|
|
3658
3663
|
};
|
|
3659
3664
|
vs.displayName = fs;
|
|
3660
|
-
var ys = "PopoverAnchor", bs =
|
|
3665
|
+
var ys = "PopoverAnchor", bs = P.forwardRef((e, t) => {
|
|
3661
3666
|
let { __scopePopover: n, ...r } = e, i = _s(ys, n), a = hs(n), { onCustomAnchorAdd: o, onCustomAnchorRemove: s } = i;
|
|
3662
|
-
return
|
|
3667
|
+
return P.useEffect(() => (o(), () => s()), [o, s]), /* @__PURE__ */ (0, F.jsx)(Aa, {
|
|
3663
3668
|
...a,
|
|
3664
3669
|
...r,
|
|
3665
3670
|
ref: t
|
|
3666
3671
|
});
|
|
3667
3672
|
});
|
|
3668
3673
|
bs.displayName = ys;
|
|
3669
|
-
var xs = "PopoverTrigger", Ss =
|
|
3670
|
-
let { __scopePopover: n, ...r } = e, i = _s(xs, n), a = hs(n), o =
|
|
3674
|
+
var xs = "PopoverTrigger", Ss = P.forwardRef((e, t) => {
|
|
3675
|
+
let { __scopePopover: n, ...r } = e, i = _s(xs, n), a = hs(n), o = B(t, i.triggerRef), s = /* @__PURE__ */ (0, F.jsx)(V.button, {
|
|
3671
3676
|
type: "button",
|
|
3672
3677
|
"aria-haspopup": "dialog",
|
|
3673
3678
|
"aria-expanded": i.open,
|
|
@@ -3675,9 +3680,9 @@ var xs = "PopoverTrigger", Ss = F.forwardRef((e, t) => {
|
|
|
3675
3680
|
"data-state": Ls(i.open),
|
|
3676
3681
|
...r,
|
|
3677
3682
|
ref: o,
|
|
3678
|
-
onClick:
|
|
3683
|
+
onClick: z(e.onClick, i.onOpenToggle)
|
|
3679
3684
|
});
|
|
3680
|
-
return i.hasCustomAnchor ? s : /* @__PURE__ */ (0,
|
|
3685
|
+
return i.hasCustomAnchor ? s : /* @__PURE__ */ (0, F.jsx)(Aa, {
|
|
3681
3686
|
asChild: !0,
|
|
3682
3687
|
...a,
|
|
3683
3688
|
children: s
|
|
@@ -3686,12 +3691,12 @@ var xs = "PopoverTrigger", Ss = F.forwardRef((e, t) => {
|
|
|
3686
3691
|
Ss.displayName = xs;
|
|
3687
3692
|
var Cs = "PopoverPortal", [ws, Ts] = ps(Cs, { forceMount: void 0 }), Es = (e) => {
|
|
3688
3693
|
let { __scopePopover: t, forceMount: n, children: r, container: i } = e, a = _s(Cs, t);
|
|
3689
|
-
return /* @__PURE__ */ (0,
|
|
3694
|
+
return /* @__PURE__ */ (0, F.jsx)(ws, {
|
|
3690
3695
|
scope: t,
|
|
3691
3696
|
forceMount: n,
|
|
3692
|
-
children: /* @__PURE__ */ (0,
|
|
3697
|
+
children: /* @__PURE__ */ (0, F.jsx)(Ia, {
|
|
3693
3698
|
present: n || a.open,
|
|
3694
|
-
children: /* @__PURE__ */ (0,
|
|
3699
|
+
children: /* @__PURE__ */ (0, F.jsx)(Pa, {
|
|
3695
3700
|
asChild: !0,
|
|
3696
3701
|
container: i,
|
|
3697
3702
|
children: r
|
|
@@ -3700,46 +3705,46 @@ var Cs = "PopoverPortal", [ws, Ts] = ps(Cs, { forceMount: void 0 }), Es = (e) =>
|
|
|
3700
3705
|
});
|
|
3701
3706
|
};
|
|
3702
3707
|
Es.displayName = Cs;
|
|
3703
|
-
var Ds = "PopoverContent", Os =
|
|
3708
|
+
var Ds = "PopoverContent", Os = P.forwardRef((e, t) => {
|
|
3704
3709
|
let n = Ts(Ds, e.__scopePopover), { forceMount: r = n.forceMount, ...i } = e, a = _s(Ds, e.__scopePopover);
|
|
3705
|
-
return /* @__PURE__ */ (0,
|
|
3710
|
+
return /* @__PURE__ */ (0, F.jsx)(Ia, {
|
|
3706
3711
|
present: r || a.open,
|
|
3707
|
-
children: a.modal ? /* @__PURE__ */ (0,
|
|
3712
|
+
children: a.modal ? /* @__PURE__ */ (0, F.jsx)(As, {
|
|
3708
3713
|
...i,
|
|
3709
3714
|
ref: t
|
|
3710
|
-
}) : /* @__PURE__ */ (0,
|
|
3715
|
+
}) : /* @__PURE__ */ (0, F.jsx)(js, {
|
|
3711
3716
|
...i,
|
|
3712
3717
|
ref: t
|
|
3713
3718
|
})
|
|
3714
3719
|
});
|
|
3715
3720
|
});
|
|
3716
3721
|
Os.displayName = Ds;
|
|
3717
|
-
var ks = /* @__PURE__ */
|
|
3718
|
-
let n = _s(Ds, e.__scopePopover), r =
|
|
3719
|
-
return
|
|
3722
|
+
var ks = /* @__PURE__ */ hn("PopoverContent.RemoveScroll"), As = P.forwardRef((e, t) => {
|
|
3723
|
+
let n = _s(Ds, e.__scopePopover), r = P.useRef(null), i = B(t, r), a = P.useRef(!1);
|
|
3724
|
+
return P.useEffect(() => {
|
|
3720
3725
|
let e = r.current;
|
|
3721
3726
|
if (e) return Qa(e);
|
|
3722
|
-
}, []), /* @__PURE__ */ (0,
|
|
3727
|
+
}, []), /* @__PURE__ */ (0, F.jsx)(ds, {
|
|
3723
3728
|
as: ks,
|
|
3724
3729
|
allowPinchZoom: !0,
|
|
3725
|
-
children: /* @__PURE__ */ (0,
|
|
3730
|
+
children: /* @__PURE__ */ (0, F.jsx)(Ms, {
|
|
3726
3731
|
...e,
|
|
3727
3732
|
ref: i,
|
|
3728
3733
|
trapFocus: n.open,
|
|
3729
3734
|
disableOutsidePointerEvents: !0,
|
|
3730
|
-
onCloseAutoFocus:
|
|
3735
|
+
onCloseAutoFocus: z(e.onCloseAutoFocus, (e) => {
|
|
3731
3736
|
e.preventDefault(), a.current || n.triggerRef.current?.focus();
|
|
3732
3737
|
}),
|
|
3733
|
-
onPointerDownOutside:
|
|
3738
|
+
onPointerDownOutside: z(e.onPointerDownOutside, (e) => {
|
|
3734
3739
|
let t = e.detail.originalEvent, n = t.button === 0 && t.ctrlKey === !0;
|
|
3735
3740
|
a.current = t.button === 2 || n;
|
|
3736
3741
|
}, { checkForDefaultPrevented: !1 }),
|
|
3737
|
-
onFocusOutside:
|
|
3742
|
+
onFocusOutside: z(e.onFocusOutside, (e) => e.preventDefault(), { checkForDefaultPrevented: !1 })
|
|
3738
3743
|
})
|
|
3739
3744
|
});
|
|
3740
|
-
}), js =
|
|
3741
|
-
let n = _s(Ds, e.__scopePopover), r =
|
|
3742
|
-
return /* @__PURE__ */ (0,
|
|
3745
|
+
}), js = P.forwardRef((e, t) => {
|
|
3746
|
+
let n = _s(Ds, e.__scopePopover), r = P.useRef(!1), i = P.useRef(!1);
|
|
3747
|
+
return /* @__PURE__ */ (0, F.jsx)(Ms, {
|
|
3743
3748
|
...e,
|
|
3744
3749
|
ref: t,
|
|
3745
3750
|
trapFocus: !1,
|
|
@@ -3753,15 +3758,15 @@ var ks = /* @__PURE__ */ mn("PopoverContent.RemoveScroll"), As = F.forwardRef((e
|
|
|
3753
3758
|
n.triggerRef.current?.contains(a) && t.preventDefault(), t.detail.originalEvent.type === "focusin" && i.current && t.preventDefault();
|
|
3754
3759
|
}
|
|
3755
3760
|
});
|
|
3756
|
-
}), Ms =
|
|
3761
|
+
}), Ms = P.forwardRef((e, t) => {
|
|
3757
3762
|
let { __scopePopover: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, disableOutsidePointerEvents: o, onEscapeKeyDown: s, onPointerDownOutside: c, onFocusOutside: l, onInteractOutside: u, ...d } = e, f = _s(Ds, n), p = hs(n);
|
|
3758
|
-
return
|
|
3763
|
+
return Rn(), /* @__PURE__ */ (0, F.jsx)(Wn, {
|
|
3759
3764
|
asChild: !0,
|
|
3760
3765
|
loop: !0,
|
|
3761
3766
|
trapped: r,
|
|
3762
3767
|
onMountAutoFocus: i,
|
|
3763
3768
|
onUnmountAutoFocus: a,
|
|
3764
|
-
children: /* @__PURE__ */ (0,
|
|
3769
|
+
children: /* @__PURE__ */ (0, F.jsx)(An, {
|
|
3765
3770
|
asChild: !0,
|
|
3766
3771
|
disableOutsidePointerEvents: o,
|
|
3767
3772
|
onInteractOutside: u,
|
|
@@ -3769,7 +3774,7 @@ var ks = /* @__PURE__ */ mn("PopoverContent.RemoveScroll"), As = F.forwardRef((e
|
|
|
3769
3774
|
onPointerDownOutside: c,
|
|
3770
3775
|
onFocusOutside: l,
|
|
3771
3776
|
onDismiss: () => f.onOpenChange(!1),
|
|
3772
|
-
children: /* @__PURE__ */ (0,
|
|
3777
|
+
children: /* @__PURE__ */ (0, F.jsx)(ja, {
|
|
3773
3778
|
"data-state": Ls(f.open),
|
|
3774
3779
|
role: "dialog",
|
|
3775
3780
|
id: f.contentId,
|
|
@@ -3787,19 +3792,19 @@ var ks = /* @__PURE__ */ mn("PopoverContent.RemoveScroll"), As = F.forwardRef((e
|
|
|
3787
3792
|
})
|
|
3788
3793
|
})
|
|
3789
3794
|
});
|
|
3790
|
-
}), Ns = "PopoverClose", Ps =
|
|
3795
|
+
}), Ns = "PopoverClose", Ps = P.forwardRef((e, t) => {
|
|
3791
3796
|
let { __scopePopover: n, ...r } = e, i = _s(Ns, n);
|
|
3792
|
-
return /* @__PURE__ */ (0,
|
|
3797
|
+
return /* @__PURE__ */ (0, F.jsx)(V.button, {
|
|
3793
3798
|
type: "button",
|
|
3794
3799
|
...r,
|
|
3795
3800
|
ref: t,
|
|
3796
|
-
onClick:
|
|
3801
|
+
onClick: z(e.onClick, () => i.onOpenChange(!1))
|
|
3797
3802
|
});
|
|
3798
3803
|
});
|
|
3799
3804
|
Ps.displayName = Ns;
|
|
3800
|
-
var Fs = "PopoverArrow", Is =
|
|
3805
|
+
var Fs = "PopoverArrow", Is = P.forwardRef((e, t) => {
|
|
3801
3806
|
let { __scopePopover: n, ...r } = e, i = hs(n);
|
|
3802
|
-
return /* @__PURE__ */ (0,
|
|
3807
|
+
return /* @__PURE__ */ (0, F.jsx)(Ma, {
|
|
3803
3808
|
...i,
|
|
3804
3809
|
...r,
|
|
3805
3810
|
ref: t
|
|
@@ -3809,175 +3814,175 @@ Is.displayName = Fs;
|
|
|
3809
3814
|
function Ls(e) {
|
|
3810
3815
|
return e ? "open" : "closed";
|
|
3811
3816
|
}
|
|
3812
|
-
var Rs = vs, zs = Ss, Bs = Os, Vs = Is, Hs = ({ message: e, trigger: t, initialVisibility: n = !1 }) => /* @__PURE__ */ (0,
|
|
3817
|
+
var Rs = vs, zs = Ss, Bs = Os, Vs = Is, Hs = ({ message: e, trigger: t, initialVisibility: n = !1 }) => /* @__PURE__ */ (0, F.jsxs)(Rs, {
|
|
3813
3818
|
defaultOpen: n,
|
|
3814
|
-
children: [/* @__PURE__ */ (0,
|
|
3819
|
+
children: [/* @__PURE__ */ (0, F.jsx)("div", {
|
|
3815
3820
|
className: "flex justify-center",
|
|
3816
|
-
children: /* @__PURE__ */ (0,
|
|
3821
|
+
children: /* @__PURE__ */ (0, F.jsx)(zs, {
|
|
3817
3822
|
asChild: !0,
|
|
3818
3823
|
children: t
|
|
3819
3824
|
})
|
|
3820
|
-
}), /* @__PURE__ */ (0,
|
|
3825
|
+
}), /* @__PURE__ */ (0, F.jsxs)(Bs, {
|
|
3821
3826
|
className: "sid-popover__container",
|
|
3822
3827
|
sideOffset: 10,
|
|
3823
3828
|
side: "bottom",
|
|
3824
|
-
children: [e, /* @__PURE__ */ (0,
|
|
3829
|
+
children: [e, /* @__PURE__ */ (0, F.jsx)(Vs, { className: "sid-popover__caret" })]
|
|
3825
3830
|
})]
|
|
3826
3831
|
}), Us = ({ verificationService: e, initialVisibility: t = !1 }) => {
|
|
3827
|
-
let n =
|
|
3828
|
-
return /* @__PURE__ */ (0,
|
|
3832
|
+
let n = ve();
|
|
3833
|
+
return /* @__PURE__ */ (0, F.jsx)(Hs, {
|
|
3829
3834
|
initialVisibility: t,
|
|
3830
|
-
trigger: /* @__PURE__ */ (0,
|
|
3835
|
+
trigger: /* @__PURE__ */ (0, F.jsx)("button", {
|
|
3831
3836
|
type: "button",
|
|
3832
3837
|
className: "sid-h-btn-link-like sid-link sid-how-does-verifying-work-hoverable",
|
|
3833
|
-
children: /* @__PURE__ */ (0,
|
|
3838
|
+
children: /* @__PURE__ */ (0, F.jsx)(N, { id: "howDoesVerifyingWork" })
|
|
3834
3839
|
}),
|
|
3835
|
-
message: /* @__PURE__ */ (0,
|
|
3836
|
-
/* @__PURE__ */ (0,
|
|
3840
|
+
message: /* @__PURE__ */ (0, F.jsxs)("div", { children: [
|
|
3841
|
+
/* @__PURE__ */ (0, F.jsx)(N, {
|
|
3837
3842
|
id: "step.personalInfo.howDoesVerifyingWorkDetails",
|
|
3838
3843
|
context: n
|
|
3839
3844
|
}),
|
|
3840
3845
|
"\xA0",
|
|
3841
|
-
/* @__PURE__ */ (0,
|
|
3846
|
+
/* @__PURE__ */ (0, F.jsx)(Tt, { verificationService: e })
|
|
3842
3847
|
] })
|
|
3843
3848
|
});
|
|
3844
3849
|
}, Ws = ({ verificationService: e }) => {
|
|
3845
|
-
let t =
|
|
3846
|
-
return typeof t == "number" && t > 0 ? /* @__PURE__ */ (0,
|
|
3850
|
+
let t = s(() => e.programTheme.remainingRewardCodes, null);
|
|
3851
|
+
return typeof t == "number" && t > 0 ? /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
3847
3852
|
className: "sid-rewards-remaining",
|
|
3848
3853
|
role: "note",
|
|
3849
3854
|
children: [
|
|
3850
|
-
/* @__PURE__ */ (0,
|
|
3851
|
-
/* @__PURE__ */ (0,
|
|
3855
|
+
/* @__PURE__ */ (0, F.jsx)("div", { className: "sid-l-space-top-md" }),
|
|
3856
|
+
/* @__PURE__ */ (0, F.jsx)(M, {
|
|
3852
3857
|
id: "lowRewardPool",
|
|
3853
3858
|
defaultMessage: e.messages.lowRewardPool,
|
|
3854
3859
|
values: { offersRemaining: t }
|
|
3855
3860
|
}),
|
|
3856
|
-
/* @__PURE__ */ (0,
|
|
3861
|
+
/* @__PURE__ */ (0, F.jsx)("div", { className: "sid-l-space-top-sm" })
|
|
3857
3862
|
]
|
|
3858
3863
|
}) : null;
|
|
3859
3864
|
}, Gs = (e) => e !== void 0, Ks = ({ verificationService: e, classNameIdentifier: t = void 0 }) => {
|
|
3860
|
-
let { verificationResponse: n } = e, r = Gs(n) ?
|
|
3861
|
-
return /* @__PURE__ */ (0,
|
|
3865
|
+
let { verificationResponse: n } = e, r = Gs(n) ? Ge(n) : !1, i = r ? "step.personalInfo.tryAgain.title" : "step.personalInfo.title", a = r ? "step.personalInfo.tryAgain.subtitle" : "step.personalInfo.subtitle";
|
|
3866
|
+
return /* @__PURE__ */ (0, F.jsx)("div", {
|
|
3862
3867
|
className: "sid-personal-info-header",
|
|
3863
|
-
children: /* @__PURE__ */ (0,
|
|
3868
|
+
children: /* @__PURE__ */ (0, F.jsxs)(un, {
|
|
3864
3869
|
verificationService: e,
|
|
3865
|
-
title: /* @__PURE__ */ (0,
|
|
3870
|
+
title: /* @__PURE__ */ (0, F.jsx)(N, {
|
|
3866
3871
|
id: i,
|
|
3867
3872
|
context: n.segment
|
|
3868
3873
|
}),
|
|
3869
3874
|
classNameIdentifier: t,
|
|
3870
3875
|
children: [
|
|
3871
|
-
/* @__PURE__ */ (0,
|
|
3876
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
3872
3877
|
className: `sid-header__subtitle sid-l-horz-center ${r ? "sid-header__subtitle--error" : ""}`,
|
|
3873
|
-
children: /* @__PURE__ */ (0,
|
|
3878
|
+
children: /* @__PURE__ */ (0, F.jsx)(M, { id: a })
|
|
3874
3879
|
}),
|
|
3875
|
-
/* @__PURE__ */ (0,
|
|
3880
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
3876
3881
|
className: "sid-header__how-verifying-works sid-l-horz-center",
|
|
3877
|
-
children: !r && /* @__PURE__ */ (0,
|
|
3882
|
+
children: !r && /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(Us, { verificationService: e }), /* @__PURE__ */ (0, F.jsx)(Ws, { verificationService: e })] })
|
|
3878
3883
|
}),
|
|
3879
|
-
/* @__PURE__ */ (0,
|
|
3884
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
3880
3885
|
className: "sid-h-medium-text sid-l-space-btm-sm sid-l-space-top-sm",
|
|
3881
|
-
children: /* @__PURE__ */ (0,
|
|
3886
|
+
children: /* @__PURE__ */ (0, F.jsx)(M, { id: "requiredFields" })
|
|
3882
3887
|
})
|
|
3883
3888
|
]
|
|
3884
3889
|
})
|
|
3885
3890
|
});
|
|
3886
|
-
}, qs = () => ({ isEmbedded: !!
|
|
3891
|
+
}, qs = () => ({ isEmbedded: !!x("verificationIframeUid") }), Js = ({ layout: e, children: t, verificationService: n, renderAsLandingPage: r }) => {
|
|
3887
3892
|
let { isEmbedded: i } = qs();
|
|
3888
|
-
return !r || i ? /* @__PURE__ */ (0,
|
|
3893
|
+
return !r || i ? /* @__PURE__ */ (0, F.jsx)(F.Fragment, { children: t }) : /* @__PURE__ */ (0, F.jsx)("div", {
|
|
3889
3894
|
className: `sid-layout sid-layout--${e}`,
|
|
3890
|
-
children: /* @__PURE__ */ (0,
|
|
3895
|
+
children: /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
3891
3896
|
className: "sid-layout__container",
|
|
3892
|
-
children: [e === "fullRight" && /* @__PURE__ */ (0,
|
|
3897
|
+
children: [e === "fullRight" && /* @__PURE__ */ (0, F.jsx)("div", {
|
|
3893
3898
|
className: "sid-layout__content",
|
|
3894
|
-
children: /* @__PURE__ */ (0,
|
|
3899
|
+
children: /* @__PURE__ */ (0, F.jsx)(Ks, {
|
|
3895
3900
|
verificationService: n,
|
|
3896
3901
|
classNameIdentifier: "landing"
|
|
3897
3902
|
})
|
|
3898
|
-
}), /* @__PURE__ */ (0,
|
|
3903
|
+
}), /* @__PURE__ */ (0, F.jsx)("div", {
|
|
3899
3904
|
className: "sid-layout__form-container",
|
|
3900
|
-
children: /* @__PURE__ */ (0,
|
|
3905
|
+
children: /* @__PURE__ */ (0, F.jsx)("div", {
|
|
3901
3906
|
className: "sid-layout__form",
|
|
3902
3907
|
children: t
|
|
3903
3908
|
})
|
|
3904
3909
|
})]
|
|
3905
3910
|
})
|
|
3906
3911
|
});
|
|
3907
|
-
}, Ys = ({ children: e }) => /* @__PURE__ */ (0,
|
|
3912
|
+
}, Ys = ({ children: e }) => /* @__PURE__ */ (0, F.jsx)("div", {
|
|
3908
3913
|
className: "sid sid-form-wrapper",
|
|
3909
3914
|
children: e
|
|
3910
|
-
}), Xs = ({ locale:
|
|
3911
|
-
let
|
|
3912
|
-
...
|
|
3913
|
-
...
|
|
3914
|
-
} :
|
|
3915
|
-
...
|
|
3916
|
-
programTheme:
|
|
3917
|
-
verificationResponse:
|
|
3918
|
-
formValidationOptions:
|
|
3915
|
+
}), Xs = ({ locale: n, messages: r, programTheme: i, verificationService: a, programId: o }) => {
|
|
3916
|
+
let s = Ze(), c = T(), l = ge() ?? i, u = ye(Ce, Se), d = (0, P.useMemo)(() => u ? {
|
|
3917
|
+
...a.verificationResponse,
|
|
3918
|
+
...u
|
|
3919
|
+
} : a.verificationResponse, [u, a.verificationResponse]), f = (0, P.useMemo)(() => ({
|
|
3920
|
+
...a,
|
|
3921
|
+
programTheme: l,
|
|
3922
|
+
verificationResponse: d,
|
|
3923
|
+
formValidationOptions: St(l, d, a.viewModel)
|
|
3919
3924
|
}), [
|
|
3920
|
-
|
|
3921
|
-
|
|
3922
|
-
|
|
3923
|
-
]), p =
|
|
3924
|
-
|
|
3925
|
+
a,
|
|
3926
|
+
l,
|
|
3927
|
+
d
|
|
3928
|
+
]), p = l.themeChoices?.landingPage.layout || "center", { renderAs: m } = c, g = $e();
|
|
3929
|
+
P.useEffect(() => {
|
|
3925
3930
|
try {
|
|
3926
|
-
if (
|
|
3927
|
-
let e = (0,
|
|
3928
|
-
|
|
3929
|
-
let t =
|
|
3931
|
+
if (g && f && f.viewModel) {
|
|
3932
|
+
let e = (0, _t.default)(g);
|
|
3933
|
+
E(v.flags, e);
|
|
3934
|
+
let t = S(f.viewModel.metadata || {}, (t) => {
|
|
3930
3935
|
t.flags = e;
|
|
3931
|
-
}), n =
|
|
3936
|
+
}), n = S(f.viewModel, (e) => {
|
|
3932
3937
|
e.metadata = t;
|
|
3933
3938
|
});
|
|
3934
3939
|
f.updateViewModel(n);
|
|
3935
3940
|
}
|
|
3936
|
-
} catch (
|
|
3937
|
-
|
|
3941
|
+
} catch (t) {
|
|
3942
|
+
e.error(t);
|
|
3938
3943
|
}
|
|
3939
|
-
}, []),
|
|
3940
|
-
if (f.verificationResponse.verificationId &&
|
|
3944
|
+
}, []), P.useEffect(() => {
|
|
3945
|
+
if (f.verificationResponse.verificationId && c._launchDarklyUserTargeting && s) {
|
|
3941
3946
|
let e = {
|
|
3942
3947
|
kind: "multi",
|
|
3943
3948
|
user: {
|
|
3944
3949
|
key: f.verificationResponse.verificationId,
|
|
3945
3950
|
locale: f.verificationResponse.locale,
|
|
3946
3951
|
segment: f.verificationResponse.segment,
|
|
3947
|
-
installType:
|
|
3952
|
+
installType: j()
|
|
3948
3953
|
},
|
|
3949
|
-
program: { key:
|
|
3954
|
+
program: { key: o }
|
|
3950
3955
|
};
|
|
3951
|
-
|
|
3956
|
+
l.accountId && (e.account = { key: l.accountId }), s.identify(e);
|
|
3952
3957
|
}
|
|
3953
|
-
}, [f.verificationResponse.verificationId,
|
|
3958
|
+
}, [f.verificationResponse.verificationId, s]), P.useEffect(() => {
|
|
3954
3959
|
try {
|
|
3955
|
-
|
|
3960
|
+
T()._launchDarklyFlagCb(g);
|
|
3956
3961
|
} catch {}
|
|
3957
|
-
}, [
|
|
3958
|
-
let
|
|
3959
|
-
return /* @__PURE__ */ (0,
|
|
3962
|
+
}, [g]);
|
|
3963
|
+
let _ = ye(Ce, ue);
|
|
3964
|
+
return /* @__PURE__ */ (0, F.jsx)(ae, {
|
|
3960
3965
|
locale: "en",
|
|
3961
3966
|
messages: {
|
|
3962
|
-
...
|
|
3963
|
-
...(0,
|
|
3964
|
-
...(0,
|
|
3967
|
+
...r,
|
|
3968
|
+
...(0, ut.default)(w(n)),
|
|
3969
|
+
...(0, ut.default)(_?.[n] ?? {})
|
|
3965
3970
|
},
|
|
3966
|
-
textComponent:
|
|
3967
|
-
children: /* @__PURE__ */ (0,
|
|
3968
|
-
themeChoices:
|
|
3969
|
-
customCssFromOptions:
|
|
3970
|
-
children: /* @__PURE__ */ (0,
|
|
3971
|
-
className: `${
|
|
3972
|
-
children: /* @__PURE__ */ (0,
|
|
3971
|
+
textComponent: cn,
|
|
3972
|
+
children: /* @__PURE__ */ (0, F.jsx)(xt, {
|
|
3973
|
+
themeChoices: l.themeChoices,
|
|
3974
|
+
customCssFromOptions: T().customCss,
|
|
3975
|
+
children: /* @__PURE__ */ (0, F.jsx)("div", {
|
|
3976
|
+
className: `${vt.default.isRtlLang(h(n)) ? "sid-rtl" : "sid-ltr"} sid-locale-${n}`,
|
|
3977
|
+
children: /* @__PURE__ */ (0, F.jsx)(Ys, { children: /* @__PURE__ */ (0, F.jsx)(Js, {
|
|
3973
3978
|
layout: p,
|
|
3974
3979
|
verificationService: f,
|
|
3975
3980
|
renderAsLandingPage: m === "landingPage",
|
|
3976
|
-
children: /* @__PURE__ */ (0,
|
|
3977
|
-
fallback: /* @__PURE__ */ (0,
|
|
3978
|
-
children: /* @__PURE__ */ (0,
|
|
3979
|
-
i18n:
|
|
3980
|
-
children: f.isLoading ? /* @__PURE__ */ (0,
|
|
3981
|
+
children: /* @__PURE__ */ (0, F.jsx)(P.Suspense, {
|
|
3982
|
+
fallback: /* @__PURE__ */ (0, F.jsx)(mt, { step: f.loadingStep }),
|
|
3983
|
+
children: /* @__PURE__ */ (0, F.jsx)(ct, {
|
|
3984
|
+
i18n: t,
|
|
3985
|
+
children: f.isLoading ? /* @__PURE__ */ (0, F.jsx)(mt, { step: f.loadingStep }) : /* @__PURE__ */ (0, F.jsxs)("div", { children: [!T().hideTestModeFlag && /* @__PURE__ */ (0, F.jsx)(ln, { verificationService: f }), /* @__PURE__ */ (0, F.jsx)(sn, {
|
|
3981
3986
|
stepToLoad: f.overrideStep || f.verificationResponse.currentStep,
|
|
3982
3987
|
verificationService: f
|
|
3983
3988
|
})] })
|
|
@@ -3986,19 +3991,19 @@ var Rs = vs, zs = Ss, Bs = Os, Vs = Is, Hs = ({ message: e, trigger: t, initialV
|
|
|
3986
3991
|
}) })
|
|
3987
3992
|
})
|
|
3988
3993
|
})
|
|
3989
|
-
},
|
|
3994
|
+
}, n);
|
|
3990
3995
|
}, Zs = () => {
|
|
3991
3996
|
let e = null;
|
|
3992
3997
|
document.addEventListener("keydown", (t) => {
|
|
3993
3998
|
if (t.key !== "Tab") return;
|
|
3994
3999
|
let n = document.querySelectorAll("button, .sid-link, input, select, textarea, [tabindex]:not([tabindex=\"-1\"]");
|
|
3995
|
-
e = n[n.length - 1], e && !t.shiftKey && document.activeElement === e && (
|
|
4000
|
+
e = n[n.length - 1], e && !t.shiftKey && document.activeElement === e && (Pe({
|
|
3996
4001
|
type: "focus",
|
|
3997
4002
|
focusOn: "firstElement"
|
|
3998
4003
|
}), t.preventDefault());
|
|
3999
4004
|
}), window.addEventListener("message", (t) => {
|
|
4000
4005
|
t.data.focusOn === "lastElement" && e && e.focus();
|
|
4001
|
-
}),
|
|
4006
|
+
}), Pe({
|
|
4002
4007
|
type: "focus",
|
|
4003
4008
|
focusOn: "firstElement"
|
|
4004
4009
|
});
|
|
@@ -4006,71 +4011,71 @@ var Rs = vs, zs = Ss, Bs = Os, Vs = Is, Hs = ({ message: e, trigger: t, initialV
|
|
|
4006
4011
|
window.addEventListener("message", (e) => {
|
|
4007
4012
|
e.data.isInLightBox === "true" && Zs();
|
|
4008
4013
|
});
|
|
4009
|
-
}, $s = class extends
|
|
4014
|
+
}, $s = class extends P.Component {
|
|
4010
4015
|
verificationService;
|
|
4011
|
-
constructor(
|
|
4012
|
-
super(
|
|
4016
|
+
constructor(t) {
|
|
4017
|
+
super(t), e.info("NewVerificationComponent: constructing"), this.props.trackingId && this.props.trackingId.length ? e.info(`Attaching a trackingId to this verification request ${this.props.trackingId}`) : e.info("No trackingId to associate with the verification request");
|
|
4013
4018
|
}
|
|
4014
4019
|
componentDidMount() {
|
|
4015
|
-
if (
|
|
4020
|
+
if (f(), Qs(), we((e) => {
|
|
4016
4021
|
switch (e.data.action) {
|
|
4017
4022
|
case "setViewModel":
|
|
4018
|
-
|
|
4023
|
+
Ue(e.data.viewModel, {
|
|
4019
4024
|
partial: !0,
|
|
4020
4025
|
metadataCheck: !0,
|
|
4021
4026
|
externalUserIdCheck: !0
|
|
4022
4027
|
});
|
|
4023
4028
|
break;
|
|
4024
4029
|
case "setOptions":
|
|
4025
|
-
|
|
4030
|
+
_(e.data.options);
|
|
4026
4031
|
break;
|
|
4027
4032
|
default:
|
|
4028
4033
|
}
|
|
4029
|
-
}),
|
|
4034
|
+
}), Me()) e.info("Mocking loading screen. Not fetching new verification request.");
|
|
4030
4035
|
else {
|
|
4031
|
-
|
|
4032
|
-
let
|
|
4033
|
-
this.props.verificationService.fetchNewVerificationRequest(this.props.programId,
|
|
4036
|
+
e.info("NewVerificationComponent: fetchNewVerificationRequest");
|
|
4037
|
+
let t = s(() => this.props.verificationService.verificationResponse.segment);
|
|
4038
|
+
this.props.verificationService.fetchNewVerificationRequest(this.props.programId, t, this.props.verificationService.previousViewModel, this.props.trackingId);
|
|
4034
4039
|
}
|
|
4035
4040
|
}
|
|
4036
4041
|
render() {
|
|
4037
|
-
let { viewModel:
|
|
4038
|
-
this.props.messages && (
|
|
4039
|
-
let
|
|
4040
|
-
...
|
|
4041
|
-
...(0,
|
|
4042
|
+
let { viewModel: t } = this.props.verificationService, n = ee(t), r;
|
|
4043
|
+
this.props.messages && (r = this.props.messages);
|
|
4044
|
+
let i = {
|
|
4045
|
+
...r,
|
|
4046
|
+
...(0, ut.default)(w(n))
|
|
4042
4047
|
};
|
|
4043
|
-
if (this.props.verificationService.isLoading && !this.props.verificationService.loadingStep) return
|
|
4048
|
+
if (this.props.verificationService.isLoading && !this.props.verificationService.loadingStep) return e.info("NewVerificationComponent: VerificationService is loading"), /* @__PURE__ */ (0, F.jsx)(ae, {
|
|
4044
4049
|
locale: "en",
|
|
4050
|
+
messages: i,
|
|
4051
|
+
textComponent: cn,
|
|
4052
|
+
children: /* @__PURE__ */ (0, F.jsx)(mt, {})
|
|
4053
|
+
}, n);
|
|
4054
|
+
let { programTheme: a } = this.props.verificationService, { verificationResponse: o } = this.props.verificationService;
|
|
4055
|
+
return e.info("NewVerificationComponent: verificationResponse, viewModel", o, t), e.info(`NewVerificationComponent: locale: ${n}, currentStep: ${o.currentStep}, messages: `, r), /* @__PURE__ */ (0, F.jsx)(Xs, {
|
|
4056
|
+
locale: n,
|
|
4045
4057
|
messages: r,
|
|
4046
|
-
|
|
4047
|
-
children: /* @__PURE__ */ (0, I.jsx)(pt, {})
|
|
4048
|
-
}, t);
|
|
4049
|
-
let { programTheme: i } = this.props.verificationService, { verificationResponse: a } = this.props.verificationService;
|
|
4050
|
-
return d.info("NewVerificationComponent: verificationResponse, viewModel", a, e), d.info(`NewVerificationComponent: locale: ${t}, currentStep: ${a.currentStep}, messages: `, n), /* @__PURE__ */ (0, I.jsx)(Xs, {
|
|
4051
|
-
locale: t,
|
|
4052
|
-
messages: n,
|
|
4053
|
-
programTheme: i,
|
|
4058
|
+
programTheme: a,
|
|
4054
4059
|
verificationService: this.props.verificationService,
|
|
4055
4060
|
programId: this.props.programId
|
|
4056
4061
|
});
|
|
4057
4062
|
}
|
|
4058
|
-
}, ec =
|
|
4063
|
+
}, ec = pe((e, t) => ({ ...e }), (e, t) => ({
|
|
4059
4064
|
dispatch: e,
|
|
4060
|
-
fetchNewVerificationRequest:
|
|
4061
|
-
fetchExistingVerificationRequest:
|
|
4062
|
-
updateViewModel:
|
|
4063
|
-
updateLocale:
|
|
4064
|
-
updateProgramTheme:
|
|
4065
|
-
updateFieldValidationErrors:
|
|
4066
|
-
resetState:
|
|
4065
|
+
fetchNewVerificationRequest: We(e),
|
|
4066
|
+
fetchExistingVerificationRequest: Fe(e),
|
|
4067
|
+
updateViewModel: Re(e),
|
|
4068
|
+
updateLocale: Ye(e, t.programId),
|
|
4069
|
+
updateProgramTheme: Le(e),
|
|
4070
|
+
updateFieldValidationErrors: He(e),
|
|
4071
|
+
resetState: qe(e)
|
|
4067
4072
|
}), (e, t, n) => {
|
|
4068
4073
|
let { dispatch: r, ...i } = t, { programTheme: a } = e;
|
|
4069
4074
|
return {
|
|
4070
4075
|
verificationService: {
|
|
4071
4076
|
...e,
|
|
4072
4077
|
...i,
|
|
4073
|
-
submitStep:
|
|
4078
|
+
submitStep: Ie(r, a)
|
|
4074
4079
|
},
|
|
4075
4080
|
messages: e.messages,
|
|
4076
4081
|
...n
|
|
@@ -4078,48 +4083,48 @@ var Rs = vs, zs = Ss, Bs = Os, Vs = Is, Hs = ({ message: e, trigger: t, initialV
|
|
|
4078
4083
|
})($s), tc = (e) => ({
|
|
4079
4084
|
kind: "program",
|
|
4080
4085
|
key: e
|
|
4081
|
-
}), nc = ({ programId: e, children: t }) => /* @__PURE__ */ (0,
|
|
4086
|
+
}), nc = ({ programId: e, children: t }) => /* @__PURE__ */ (0, F.jsx)(Qe, {
|
|
4082
4087
|
clientSideID: "6530161f9ff41712a2eef741",
|
|
4083
4088
|
context: tc(e),
|
|
4084
|
-
flags:
|
|
4089
|
+
flags: et,
|
|
4085
4090
|
reactOptions: { useCamelCaseFlagKeys: !1 },
|
|
4086
4091
|
options: { streaming: !1 },
|
|
4087
4092
|
children: t
|
|
4088
|
-
}), rc =
|
|
4089
|
-
|
|
4090
|
-
var ic =
|
|
4093
|
+
}), rc = Ke();
|
|
4094
|
+
E(v.jslibVersionActual, s(() => re(), "?")), E(v.clientVersion, s(() => re(), "?"));
|
|
4095
|
+
var ic = P.forwardRef(({ programId: t, trackingId: n = void 0 }, r) => {
|
|
4091
4096
|
try {
|
|
4092
|
-
|
|
4093
|
-
} catch (
|
|
4094
|
-
|
|
4097
|
+
ze();
|
|
4098
|
+
} catch (t) {
|
|
4099
|
+
e.warn("Failed to add predefined hooks", t);
|
|
4095
4100
|
}
|
|
4096
|
-
return (0,
|
|
4097
|
-
|
|
4101
|
+
return (0, P.useEffect)(() => {
|
|
4102
|
+
te();
|
|
4098
4103
|
}), rc.dispatch({
|
|
4099
|
-
programId:
|
|
4104
|
+
programId: t,
|
|
4100
4105
|
type: "PROGRAM_ID"
|
|
4101
|
-
}),
|
|
4102
|
-
refresh:
|
|
4103
|
-
reset:
|
|
4104
|
-
}), /* @__PURE__ */ (0,
|
|
4106
|
+
}), r && (r.current = {
|
|
4107
|
+
refresh: P.useCallback(() => rc.dispatch({ type: "FORCE_UPDATE" }), []),
|
|
4108
|
+
reset: P.useCallback(() => rc.dispatch({ type: "RESET_STATE" }), [])
|
|
4109
|
+
}), /* @__PURE__ */ (0, F.jsx)(fe, {
|
|
4105
4110
|
store: rc,
|
|
4106
|
-
children: /* @__PURE__ */ (0,
|
|
4107
|
-
programId:
|
|
4108
|
-
children: /* @__PURE__ */ (0,
|
|
4109
|
-
programId:
|
|
4110
|
-
trackingId:
|
|
4111
|
+
children: /* @__PURE__ */ (0, F.jsx)(nc, {
|
|
4112
|
+
programId: t,
|
|
4113
|
+
children: /* @__PURE__ */ (0, F.jsx)(ec, {
|
|
4114
|
+
programId: t,
|
|
4115
|
+
trackingId: n
|
|
4111
4116
|
})
|
|
4112
4117
|
})
|
|
4113
4118
|
});
|
|
4114
|
-
}), ac = class
|
|
4119
|
+
}), ac = class t {
|
|
4115
4120
|
element;
|
|
4116
4121
|
programId;
|
|
4117
4122
|
trackingId;
|
|
4118
4123
|
viewModel;
|
|
4119
4124
|
ref;
|
|
4120
|
-
constructor(
|
|
4121
|
-
if (!(this instanceof
|
|
4122
|
-
|
|
4125
|
+
constructor(n, r, i) {
|
|
4126
|
+
if (!(this instanceof t)) throw Error("Method \"render\" not found. Did you use the \"new\" keyword when instantiating VerificationForm?");
|
|
4127
|
+
e.info(`Constructing VerificationFormEs5 ${r}`), C(n), this.element = n, this.programId = r, this.trackingId = i, this.ref = P.createRef(), this.render();
|
|
4123
4128
|
}
|
|
4124
4129
|
refresh() {
|
|
4125
4130
|
this.ref.current.refresh();
|
|
@@ -4128,35 +4133,35 @@ var ic = F.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
4128
4133
|
this.ref.current.reset();
|
|
4129
4134
|
}
|
|
4130
4135
|
render() {
|
|
4131
|
-
|
|
4136
|
+
dt.render(/* @__PURE__ */ (0, F.jsx)(ic, {
|
|
4132
4137
|
programId: this.programId,
|
|
4133
4138
|
trackingId: this.trackingId,
|
|
4134
4139
|
ref: this.ref
|
|
4135
4140
|
}), this.element);
|
|
4136
4141
|
}
|
|
4137
4142
|
unmount() {
|
|
4138
|
-
|
|
4143
|
+
dt.unmountComponentAtNode(this.element);
|
|
4139
4144
|
}
|
|
4140
4145
|
};
|
|
4141
4146
|
//#endregion
|
|
4142
4147
|
//#region src/lib/state/previewMessages.ts
|
|
4143
|
-
function oc(e,
|
|
4144
|
-
|
|
4145
|
-
...
|
|
4148
|
+
function oc(e, t) {
|
|
4149
|
+
Ce.set((n) => ({
|
|
4150
|
+
...n,
|
|
4146
4151
|
overrides: {
|
|
4147
|
-
...
|
|
4152
|
+
...n.overrides,
|
|
4148
4153
|
messages: {
|
|
4149
|
-
...
|
|
4154
|
+
...n.overrides.messages,
|
|
4150
4155
|
[e]: {
|
|
4151
|
-
...
|
|
4152
|
-
...
|
|
4156
|
+
...n.overrides.messages?.[e],
|
|
4157
|
+
...t
|
|
4153
4158
|
}
|
|
4154
4159
|
}
|
|
4155
4160
|
}
|
|
4156
|
-
})),
|
|
4161
|
+
})), n({ [e]: t });
|
|
4157
4162
|
}
|
|
4158
|
-
function sc(
|
|
4159
|
-
|
|
4163
|
+
function sc(e) {
|
|
4164
|
+
e.forEach((e) => t.removeResourceBundle(e, c.OPTIONS)), n(T().messagesWithLocale);
|
|
4160
4165
|
}
|
|
4161
4166
|
//#endregion
|
|
4162
4167
|
//#region src/lib/state/previewResponse.ts
|
|
@@ -4179,9 +4184,9 @@ async function lc(e) {
|
|
|
4179
4184
|
Object.keys(e).forEach((n) => {
|
|
4180
4185
|
let r = cc[n];
|
|
4181
4186
|
r && (t[r] = e[n]);
|
|
4182
|
-
}),
|
|
4183
|
-
let n = e.step ??
|
|
4184
|
-
|
|
4187
|
+
}), _(t);
|
|
4188
|
+
let n = e.step ?? Ce.get().overrides.mock?.step, r = n ? await Ae(n, Ke().getState().verificationResponse) : void 0;
|
|
4189
|
+
Ce.set((t) => ({
|
|
4185
4190
|
...t,
|
|
4186
4191
|
overrides: {
|
|
4187
4192
|
...t.overrides,
|
|
@@ -4196,42 +4201,42 @@ async function lc(e) {
|
|
|
4196
4201
|
//#endregion
|
|
4197
4202
|
//#region src/lib/state/previewApi.ts
|
|
4198
4203
|
function uc(e) {
|
|
4199
|
-
|
|
4204
|
+
se({ programTheme: e });
|
|
4200
4205
|
}
|
|
4201
4206
|
function dc(e) {
|
|
4202
|
-
|
|
4207
|
+
se({ programTheme: e });
|
|
4203
4208
|
}
|
|
4204
4209
|
function fc(e) {
|
|
4205
|
-
|
|
4210
|
+
se({ response: e });
|
|
4206
4211
|
}
|
|
4207
4212
|
function pc(e) {
|
|
4208
|
-
let t =
|
|
4209
|
-
return
|
|
4213
|
+
let t = Ke(), { programId: n, verificationResponse: r } = t.getState();
|
|
4214
|
+
return Ye(t.dispatch, n)(e, r?.segment);
|
|
4210
4215
|
}
|
|
4211
4216
|
function mc() {
|
|
4212
|
-
let e = Object.keys(
|
|
4213
|
-
|
|
4217
|
+
let e = Object.keys(Ce.get().overrides.messages ?? {});
|
|
4218
|
+
ce(), sc(e);
|
|
4214
4219
|
}
|
|
4215
4220
|
//#endregion
|
|
4216
4221
|
//#region src/lib/installScript/_mysheerid-preview.ts
|
|
4217
|
-
|
|
4222
|
+
A(k.programBuilderPreview);
|
|
4218
4223
|
function hc(e, t) {
|
|
4219
4224
|
return new ac(e, t);
|
|
4220
4225
|
}
|
|
4221
4226
|
function gc(e) {
|
|
4222
|
-
|
|
4227
|
+
lt(e);
|
|
4223
4228
|
}
|
|
4224
4229
|
function _c(e) {
|
|
4225
|
-
|
|
4230
|
+
Ve(), _(e);
|
|
4226
4231
|
}
|
|
4227
4232
|
function vc() {
|
|
4228
|
-
|
|
4233
|
+
d();
|
|
4229
4234
|
}
|
|
4230
4235
|
function yc(e) {
|
|
4231
|
-
|
|
4236
|
+
_({ _launchDarklyFlagCb: e });
|
|
4232
4237
|
}
|
|
4233
4238
|
function bc(e, t, n) {
|
|
4234
|
-
return
|
|
4239
|
+
return y(e, t, n);
|
|
4235
4240
|
}
|
|
4236
4241
|
var xc = {
|
|
4237
4242
|
loadInElement: hc,
|
|
@@ -4249,4 +4254,4 @@ var xc = {
|
|
|
4249
4254
|
clearPreview: mc
|
|
4250
4255
|
};
|
|
4251
4256
|
//#endregion
|
|
4252
|
-
export {
|
|
4257
|
+
export { Ot as A, hn as C, z as D, B as E, yt as M, mt as N, Bt as O, ft as P, xn as S, fn as T, Wn as _, to as a, Sn as b, Va as c, mc as clearPreview, Aa as d, xc as default, Ma as f, ir as g, yc as getFeatureFlags, bc as getProgramMessages, pa as h, eo as i, Tt as j, Ft as k, Ia as l, hc as loadInElement, ka as m, Ws as n, ro as o, ja as p, ds as r, vc as resetProgramOptions, Qa as s, uc as setPreviewBranding, dc as setPreviewConfiguration, pc as setPreviewLocale, oc as setPreviewMessages, lc as setPreviewMock, fc as setPreviewResponse, _c as setProgramOptions, gc as setProgramThemeChoices, Ks as t, Pa as u, Rn as v, pn as w, V as x, An as y };
|