@sheerid/jslib 2.284.0 → 2.286.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_mysheerid-preview.css +4 -4
- package/_mysheerid-preview.js +1019 -1011
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/{AddressComponent-CZv5pMP1.js → AddressComponent-D2wuzHQj.js} +8 -8
- package/chunk/{AddressComponent-CSguvpox.js.map → AddressComponent-D2wuzHQj.js.map} +1 -1
- package/chunk/{AddressComponent-CSguvpox.js → AddressComponent-y-Ii5tpl.js} +8 -8
- package/chunk/{AddressComponent-CZv5pMP1.js.map → AddressComponent-y-Ii5tpl.js.map} +1 -1
- package/chunk/{AnnouncingHeader-B84Vw5oF.js → AnnouncingHeader-B0Ku-xl_.js} +6 -6
- package/chunk/{AnnouncingHeader-B84Vw5oF.js.map → AnnouncingHeader-B0Ku-xl_.js.map} +1 -1
- package/chunk/{AnnouncingHeader-BJHHK6ve.js → AnnouncingHeader-CXTQdbKG.js} +6 -6
- package/chunk/{AnnouncingHeader-BJHHK6ve.js.map → AnnouncingHeader-CXTQdbKG.js.map} +1 -1
- package/chunk/ApiUrls--L4q-5Tm.js +51 -0
- package/chunk/{ApiUrls-JG2nS1h7.js.map → ApiUrls--L4q-5Tm.js.map} +1 -1
- package/chunk/ApiUrls-ChWDTwjL.js +45 -0
- package/chunk/{ApiUrls-krufIliq.js.map → ApiUrls-ChWDTwjL.js.map} +1 -1
- package/chunk/{BirthDateComponent-OZHQ-MHd.js → BirthDateComponent-CKJzVObF.js} +8 -8
- package/chunk/{BirthDateComponent-CqKNTR4J.js.map → BirthDateComponent-CKJzVObF.js.map} +1 -1
- package/chunk/{BirthDateComponent-CqKNTR4J.js → BirthDateComponent-DahQFdmp.js} +8 -8
- package/chunk/{BirthDateComponent-OZHQ-MHd.js.map → BirthDateComponent-DahQFdmp.js.map} +1 -1
- package/chunk/{CaptchaComponent-523RAr_6.js → CaptchaComponent-C8wOP7tS.js} +63 -62
- package/chunk/{CaptchaComponent-523RAr_6.js.map → CaptchaComponent-C8wOP7tS.js.map} +1 -1
- package/chunk/{CaptchaComponent-DejDOamZ.js → CaptchaComponent-DYlkYclc.js} +111 -110
- package/chunk/{CaptchaComponent-DejDOamZ.js.map → CaptchaComponent-DYlkYclc.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-C86ehiKN.js → ChangeLocaleComponent-D1wLkrWR.js} +9 -9
- package/chunk/{ChangeLocaleComponent-C86ehiKN.js.map → ChangeLocaleComponent-D1wLkrWR.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-DKs0nm4K.js → ChangeLocaleComponent-DjOWvlLc.js} +9 -9
- package/chunk/{ChangeLocaleComponent-DKs0nm4K.js.map → ChangeLocaleComponent-DjOWvlLc.js.map} +1 -1
- package/chunk/{City-Cp8nDZib.js → City-DVhhliBQ.js} +8 -8
- package/chunk/{City-Cp8nDZib.js.map → City-DVhhliBQ.js.map} +1 -1
- package/chunk/{City-DcB9Lt5k.js → City-D_2sVMWL.js} +8 -8
- package/chunk/{City-DcB9Lt5k.js.map → City-D_2sVMWL.js.map} +1 -1
- package/chunk/{CollegeNameComponent-zYtmC72a.js → CollegeNameComponent-CZ6mrVxh.js} +10 -10
- package/chunk/{CollegeNameComponent-Dwcg89D2.js.map → CollegeNameComponent-CZ6mrVxh.js.map} +1 -1
- package/chunk/{CollegeNameComponent-Dwcg89D2.js → CollegeNameComponent-Dg61STNl.js} +10 -10
- package/chunk/{CollegeNameComponent-zYtmC72a.js.map → CollegeNameComponent-Dg61STNl.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-Hd6_alz8.js → CopyToClipboardComponent-3wpB0lTx.js} +9 -9
- package/chunk/{CopyToClipboardComponent-Cx3fFPKm.js.map → CopyToClipboardComponent-3wpB0lTx.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-Cx3fFPKm.js → CopyToClipboardComponent-BXe124AZ.js} +9 -9
- package/chunk/{CopyToClipboardComponent-Hd6_alz8.js.map → CopyToClipboardComponent-BXe124AZ.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-BaPPGjxt.js → CountryComponentWrapper-CF45pXeO.js} +12 -12
- package/chunk/{CountryComponentWrapper-BaPPGjxt.js.map → CountryComponentWrapper-CF45pXeO.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-Bv66MHPy.js → CountryComponentWrapper-CjUUQdjn.js} +12 -12
- package/chunk/{CountryComponentWrapper-Bv66MHPy.js.map → CountryComponentWrapper-CjUUQdjn.js.map} +1 -1
- package/chunk/{DischargeDateComponent-D7QZ9ldm.js → DischargeDateComponent-BSQ4xUCZ.js} +32 -31
- package/chunk/{DischargeDateComponent-D7QZ9ldm.js.map → DischargeDateComponent-BSQ4xUCZ.js.map} +1 -1
- package/chunk/{DischargeDateComponent-CH9R5iB8.js → DischargeDateComponent-a3Sq69xT.js} +14 -13
- package/chunk/{DischargeDateComponent-CH9R5iB8.js.map → DischargeDateComponent-a3Sq69xT.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-C57lvLGk.js → DriverLicenseNumberComponent-CRUuQK5_.js} +8 -8
- package/chunk/{DriverLicenseNumberComponent-B7IX8jy2.js.map → DriverLicenseNumberComponent-CRUuQK5_.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-B7IX8jy2.js → DriverLicenseNumberComponent-Dnva3RYJ.js} +8 -8
- package/chunk/{DriverLicenseNumberComponent-C57lvLGk.js.map → DriverLicenseNumberComponent-Dnva3RYJ.js.map} +1 -1
- package/chunk/{EmailLoopPending-CVWkH7cw.js → EmailLoopPending-BA1IDc-u.js} +20 -19
- package/chunk/{EmailLoopPending-B-2p8HiB.js.map → EmailLoopPending-BA1IDc-u.js.map} +1 -1
- package/chunk/{EmailLoopPending-B-2p8HiB.js → EmailLoopPending-BnP7C168.js} +29 -28
- package/chunk/{EmailLoopPending-CVWkH7cw.js.map → EmailLoopPending-BnP7C168.js.map} +1 -1
- package/chunk/{ExtraMessage-D7S6IK6P.js → ExtraMessage-BqjXp3Gj.js} +7 -7
- package/chunk/{ExtraMessage-D7S6IK6P.js.map → ExtraMessage-BqjXp3Gj.js.map} +1 -1
- package/chunk/{ExtraMessage-FucjC5O0.js → ExtraMessage-tf_vMomh.js} +7 -7
- package/chunk/{ExtraMessage-FucjC5O0.js.map → ExtraMessage-tf_vMomh.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-DNnsBBW9.js → FirstResponderOrganizationComponent-DfkH9LH8.js} +9 -9
- package/chunk/{FirstResponderOrganizationComponent-D6TQ0Pik.js.map → FirstResponderOrganizationComponent-DfkH9LH8.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-D6TQ0Pik.js → FirstResponderOrganizationComponent-DzB64as1.js} +9 -9
- package/chunk/{FirstResponderOrganizationComponent-DNnsBBW9.js.map → FirstResponderOrganizationComponent-DzB64as1.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-Cx3LRp-Q.js → FormFieldInputSelect-CiiD44BO.js} +7 -7
- package/chunk/{FormFieldInputSelect-B1AsyOIV.js.map → FormFieldInputSelect-CiiD44BO.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-B1AsyOIV.js → FormFieldInputSelect-uuCBOaNc.js} +7 -7
- package/chunk/{FormFieldInputSelect-Cx3LRp-Q.js.map → FormFieldInputSelect-uuCBOaNc.js.map} +1 -1
- package/chunk/{FormFieldLayout-CfcTWF4b.js → FormFieldLayout-DEKIQK2R.js} +6 -6
- package/chunk/{FormFieldLayout-CfcTWF4b.js.map → FormFieldLayout-DEKIQK2R.js.map} +1 -1
- package/chunk/{FormFieldLayout-CsDsfcRv.js → FormFieldLayout-NkmhFC9B.js} +6 -6
- package/chunk/{FormFieldLayout-CsDsfcRv.js.map → FormFieldLayout-NkmhFC9B.js.map} +1 -1
- package/chunk/{FormFieldText-Cba-r9FE.js → FormFieldText-Bn9WIKiI.js} +7 -7
- package/chunk/{FormFieldText-Cba-r9FE.js.map → FormFieldText-Bn9WIKiI.js.map} +1 -1
- package/chunk/{FormFieldText-CoWhLvws.js → FormFieldText-Py7x4EZ6.js} +7 -7
- package/chunk/{FormFieldText-CoWhLvws.js.map → FormFieldText-Py7x4EZ6.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-D320YKH8.js → FormFieldTypeahead--Zb8Crog.js} +113 -112
- package/chunk/{FormFieldTypeahead-D320YKH8.js.map → FormFieldTypeahead--Zb8Crog.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-B7FmlNZl.js → FormFieldTypeahead-DihXl104.js} +98 -97
- package/chunk/{FormFieldTypeahead-B7FmlNZl.js.map → FormFieldTypeahead-DihXl104.js.map} +1 -1
- package/chunk/{FormFooterComponent-Ckbv1OLP.js → FormFooterComponent-BYIO3JLm.js} +294 -293
- package/chunk/{FormFooterComponent-Ckbv1OLP.js.map → FormFooterComponent-BYIO3JLm.js.map} +1 -1
- package/chunk/{FormFooterComponent-BkIJY29l.js → FormFooterComponent-umNY1fch.js} +397 -396
- package/chunk/{FormFooterComponent-BkIJY29l.js.map → FormFooterComponent-umNY1fch.js.map} +1 -1
- package/chunk/{FormSelectChoice-BpoNPaWE.js → FormSelectChoice-CQr1Jubb.js} +27 -26
- package/chunk/{FormSelectChoice-B8o9l8mY.js.map → FormSelectChoice-CQr1Jubb.js.map} +1 -1
- package/chunk/{FormSelectChoice-B8o9l8mY.js → FormSelectChoice-CqnTysyY.js} +10 -9
- package/chunk/{FormSelectChoice-BpoNPaWE.js.map → FormSelectChoice-CqnTysyY.js.map} +1 -1
- package/chunk/{InputText-CQYoeUfw.js → InputText-CMu4ei8e.js} +7 -7
- package/chunk/{InputText-C4PEMeZJ.js.map → InputText-CMu4ei8e.js.map} +1 -1
- package/chunk/{InputText-C4PEMeZJ.js → InputText-dflyPe3J.js} +7 -7
- package/chunk/{InputText-CQYoeUfw.js.map → InputText-dflyPe3J.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-B_roPqG_.js → LicensedProfessionalOrganizationComponent-CklhhuuU.js} +9 -9
- package/chunk/{LicensedProfessionalOrganizationComponent-BE8IFZ0S.js.map → LicensedProfessionalOrganizationComponent-CklhhuuU.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-BE8IFZ0S.js → LicensedProfessionalOrganizationComponent-kHIgzWD4.js} +9 -9
- package/chunk/{LicensedProfessionalOrganizationComponent-B_roPqG_.js.map → LicensedProfessionalOrganizationComponent-kHIgzWD4.js.map} +1 -1
- package/chunk/{LogoComponent-Cq0AZvcg.js → LogoComponent-BDhMcJvy.js} +6 -6
- package/chunk/{LogoComponent-Cq0AZvcg.js.map → LogoComponent-BDhMcJvy.js.map} +1 -1
- package/chunk/{LogoComponent-DKi0XFRw.js → LogoComponent-DASXTR4v.js} +6 -6
- package/chunk/{LogoComponent-DKi0XFRw.js.map → LogoComponent-DASXTR4v.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-DqgDy9db.js → LowIncomeOrganizationComponent-PrYNPhRF.js} +30 -29
- package/chunk/{LowIncomeOrganizationComponent-17Ee4XYb.js.map → LowIncomeOrganizationComponent-PrYNPhRF.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-17Ee4XYb.js → LowIncomeOrganizationComponent-YZhd7as_.js} +16 -15
- package/chunk/{LowIncomeOrganizationComponent-DqgDy9db.js.map → LowIncomeOrganizationComponent-YZhd7as_.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-D86MbFqB.js → MedicalProfessionalOrganizationComponent-Bjy3TNon.js} +9 -9
- package/chunk/{MedicalProfessionalOrganizationComponent-D86MbFqB.js.map → MedicalProfessionalOrganizationComponent-Bjy3TNon.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-QG6PF2Gf.js → MedicalProfessionalOrganizationComponent-CsMXEJrO.js} +9 -9
- package/chunk/{MedicalProfessionalOrganizationComponent-QG6PF2Gf.js.map → MedicalProfessionalOrganizationComponent-CsMXEJrO.js.map} +1 -1
- package/chunk/{MemberIdComponent-YFPKpB-w.js → MemberIdComponent-BOy5wl75.js} +8 -8
- package/chunk/{MemberIdComponent-DcyepYUb.js.map → MemberIdComponent-BOy5wl75.js.map} +1 -1
- package/chunk/{MemberIdComponent-DcyepYUb.js → MemberIdComponent-CI5xHJ_c.js} +8 -8
- package/chunk/{MemberIdComponent-YFPKpB-w.js.map → MemberIdComponent-CI5xHJ_c.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-CfieVzom.js → MembershipOrganizationComponent-BzDNiluc.js} +9 -9
- package/chunk/{MembershipOrganizationComponent-Cbp4HZMa.js.map → MembershipOrganizationComponent-BzDNiluc.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-Cbp4HZMa.js → MembershipOrganizationComponent-D21Lq_Wf.js} +9 -9
- package/chunk/{MembershipOrganizationComponent-CfieVzom.js.map → MembershipOrganizationComponent-D21Lq_Wf.js.map} +1 -1
- package/chunk/{Message-CLRlAd43.js → Message-9_oXkro6.js} +1600 -1590
- package/chunk/Message-9_oXkro6.js.map +1 -0
- package/chunk/{Message-BNNsbHmI.js → Message-C66R6xdJ.js} +1050 -1038
- package/chunk/Message-C66R6xdJ.js.map +1 -0
- package/chunk/Onfido-CTCgAwnB.js +4 -4
- package/chunk/{PersonalInfoStepSubmitButton-D3mRi9aO.js → PersonalInfoStepSubmitButton-BfDq_I9X.js} +23 -22
- package/chunk/{PersonalInfoStepSubmitButton-CxGmsDKD.js.map → PersonalInfoStepSubmitButton-BfDq_I9X.js.map} +1 -1
- package/chunk/{PersonalInfoStepSubmitButton-CxGmsDKD.js → PersonalInfoStepSubmitButton-C31TPJsr.js} +37 -36
- package/chunk/{PersonalInfoStepSubmitButton-D3mRi9aO.js.map → PersonalInfoStepSubmitButton-C31TPJsr.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-L7CiE7rH.js → PersonalInfoStepWrapper-BV0AbuZQ.js} +26 -25
- package/chunk/{PersonalInfoStepWrapper-L7CiE7rH.js.map → PersonalInfoStepWrapper-BV0AbuZQ.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-HGsdCjac.js → PersonalInfoStepWrapper-_qMmj4Yd.js} +16 -15
- package/chunk/{PersonalInfoStepWrapper-HGsdCjac.js.map → PersonalInfoStepWrapper-_qMmj4Yd.js.map} +1 -1
- package/chunk/{PostalCodeComponent-DQizi-5r.js → PostalCodeComponent-CNRdl96V.js} +8 -8
- package/chunk/{PostalCodeComponent-DANP7Ree.js.map → PostalCodeComponent-CNRdl96V.js.map} +1 -1
- package/chunk/{PostalCodeComponent-DANP7Ree.js → PostalCodeComponent-CNwKrZsf.js} +8 -8
- package/chunk/{PostalCodeComponent-DQizi-5r.js.map → PostalCodeComponent-CNwKrZsf.js.map} +1 -1
- package/chunk/{SSN-B31LIw_T.js → SSN-B8MCDSEI.js} +15 -15
- package/chunk/{SSN-43JXhumT.js.map → SSN-B8MCDSEI.js.map} +1 -1
- package/chunk/{SSN-43JXhumT.js → SSN-C_hXBSkj.js} +9 -9
- package/chunk/{SSN-B31LIw_T.js.map → SSN-C_hXBSkj.js.map} +1 -1
- package/chunk/{StateSelectComponent-CY5xfRHI.js → StateSelectComponent-BhdLtglI.js} +7 -7
- package/chunk/{StateSelectComponent-CY5xfRHI.js.map → StateSelectComponent-BhdLtglI.js.map} +1 -1
- package/chunk/{StateSelectComponent-XeAVHT-j.js → StateSelectComponent-DnqzEF_0.js} +7 -7
- package/chunk/{StateSelectComponent-XeAVHT-j.js.map → StateSelectComponent-DnqzEF_0.js.map} +1 -1
- package/chunk/{StatusComponent-hCupxbMY.js → StatusComponent-BH8l0sab.js} +9 -9
- package/chunk/{StatusComponent-hCupxbMY.js.map → StatusComponent-BH8l0sab.js.map} +1 -1
- package/chunk/{StatusComponent-DElMh8XL.js → StatusComponent-CZ7P00k-.js} +9 -9
- package/chunk/{StatusComponent-DElMh8XL.js.map → StatusComponent-CZ7P00k-.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-BxrqqLkE.js → StepAgePersonalInfo-uxXEKMVy.js} +54 -53
- package/chunk/{StepAgePersonalInfo-Bbdiu3mC.js.map → StepAgePersonalInfo-uxXEKMVy.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-Bbdiu3mC.js → StepAgePersonalInfo-yrJkeJGX.js} +22 -21
- package/chunk/{StepAgePersonalInfo-BxrqqLkE.js.map → StepAgePersonalInfo-yrJkeJGX.js.map} +1 -1
- package/chunk/{StepCard-BPyR9qva.js → StepCard-DQ9JkAjb.js} +5 -5
- package/chunk/{StepCard-5V1_mxeM.js.map → StepCard-DQ9JkAjb.js.map} +1 -1
- package/chunk/{StepCard-5V1_mxeM.js → StepCard-EHeqFY3Y.js} +5 -5
- package/chunk/{StepCard-BPyR9qva.js.map → StepCard-EHeqFY3Y.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-EsA17z_o.js → StepCollectIdentifier-BTdrX-OE.js} +22 -21
- package/chunk/{StepCollectIdentifier-BqRgMUYf.js.map → StepCollectIdentifier-BTdrX-OE.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-BqRgMUYf.js → StepCollectIdentifier-QJDHynf_.js} +14 -13
- package/chunk/{StepCollectIdentifier-EsA17z_o.js.map → StepCollectIdentifier-QJDHynf_.js.map} +1 -1
- package/chunk/StepCollectMilitaryPersonalInfoComponent-BoBiEFTG.js +246 -0
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-BRzAAXZV.js.map → StepCollectMilitaryPersonalInfoComponent-BoBiEFTG.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-D0kGiKdF.js → StepCollectMilitaryPersonalInfoComponent-DnoOIWHU.js} +35 -34
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-D0kGiKdF.js.map → StepCollectMilitaryPersonalInfoComponent-DnoOIWHU.js.map} +1 -1
- package/chunk/StepCollectPersonalInfo-D4HeUZom.js +373 -0
- package/chunk/{StepCollectPersonalInfo-D9OvB7el.js.map → StepCollectPersonalInfo-D4HeUZom.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-D9OvB7el.js → StepCollectPersonalInfo-tIJ-vjG4.js} +115 -118
- package/chunk/{StepCollectPersonalInfo-B3fsiQf6.js.map → StepCollectPersonalInfo-tIJ-vjG4.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-CAXDVjfM.js → StepCompleteAuthentication-D7GOINsk.js} +27 -26
- package/chunk/{StepCompleteAuthentication-CAXDVjfM.js.map → StepCompleteAuthentication-D7GOINsk.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-fSePWmI2.js → StepCompleteAuthentication-W7k49rug.js} +17 -16
- package/chunk/{StepCompleteAuthentication-fSePWmI2.js.map → StepCompleteAuthentication-W7k49rug.js.map} +1 -1
- package/chunk/{StepConsolation-Ds4gcJ87.js → StepConsolation-CoQuWtJq.js} +9 -9
- package/chunk/{StepConsolation-BT7NQVer.js.map → StepConsolation-CoQuWtJq.js.map} +1 -1
- package/chunk/{StepConsolation-BT7NQVer.js → StepConsolation-YVxz5A3X.js} +25 -25
- package/chunk/{StepConsolation-Ds4gcJ87.js.map → StepConsolation-YVxz5A3X.js.map} +1 -1
- package/chunk/{StepDocUpload-BFgFE1P6.js → StepDocUpload-8h2y1K6O.js} +629 -628
- package/chunk/{StepDocUpload-BFgFE1P6.js.map → StepDocUpload-8h2y1K6O.js.map} +1 -1
- package/chunk/{StepDocUpload-BPvduGCK.js → StepDocUpload-Dy5N14OB.js} +616 -615
- package/chunk/{StepDocUpload-BPvduGCK.js.map → StepDocUpload-Dy5N14OB.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-Dfy2j5oz.js → StepDriverLicensePersonalInfoComponent-DJcYF8X1.js} +46 -45
- package/chunk/{StepDriverLicensePersonalInfoComponent-DdUPQPYB.js.map → StepDriverLicensePersonalInfoComponent-DJcYF8X1.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-DdUPQPYB.js → StepDriverLicensePersonalInfoComponent-mfmdHfHS.js} +21 -20
- package/chunk/{StepDriverLicensePersonalInfoComponent-Dfy2j5oz.js.map → StepDriverLicensePersonalInfoComponent-mfmdHfHS.js.map} +1 -1
- package/chunk/{StepEmailLoop-0kk1ZVQR.js → StepEmailLoop-C7c8DTXQ.js} +34 -33
- package/chunk/{StepEmailLoop-0kk1ZVQR.js.map → StepEmailLoop-C7c8DTXQ.js.map} +1 -1
- package/chunk/{StepEmailLoop-D0p8Uguc.js → StepEmailLoop-D3ifl2Sv.js} +17 -16
- package/chunk/{StepEmailLoop-D0p8Uguc.js.map → StepEmailLoop-D3ifl2Sv.js.map} +1 -1
- package/chunk/StepEmploymentPersonalInfo-DuBXeE06.js +217 -0
- package/chunk/{StepEmploymentPersonalInfo-BshfK2mS.js.map → StepEmploymentPersonalInfo-DuBXeE06.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-BxYmesv2.js → StepEmploymentPersonalInfo-VcfGDPHF.js} +25 -24
- package/chunk/{StepEmploymentPersonalInfo-BxYmesv2.js.map → StepEmploymentPersonalInfo-VcfGDPHF.js.map} +1 -1
- package/chunk/StepFirstResponderPersonalInfo-7etOnfoT.js +183 -0
- package/chunk/{StepFirstResponderPersonalInfo-BYVMAm6O.js.map → StepFirstResponderPersonalInfo-7etOnfoT.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-Blb2f1Ec.js → StepFirstResponderPersonalInfo-Dnb0aEWK.js} +37 -36
- package/chunk/{StepFirstResponderPersonalInfo-Blb2f1Ec.js.map → StepFirstResponderPersonalInfo-Dnb0aEWK.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-DWpW5EH-.js → StepGeneralIdentityPersonalInfoComponent-BqpnwYYj.js} +24 -23
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-C5PK2VHb.js.map → StepGeneralIdentityPersonalInfoComponent-BqpnwYYj.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-C5PK2VHb.js → StepGeneralIdentityPersonalInfoComponent-DJpsXpNg.js} +51 -50
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-DWpW5EH-.js.map → StepGeneralIdentityPersonalInfoComponent-DJpsXpNg.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-BArnt4Lg.js → StepHybridIdentityPersonalInfoComponent-CzFYhlAE.js} +53 -52
- package/chunk/{StepHybridIdentityPersonalInfoComponent-BArnt4Lg.js.map → StepHybridIdentityPersonalInfoComponent-CzFYhlAE.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-BjSmUmIf.js → StepHybridIdentityPersonalInfoComponent-JbxItzli.js} +25 -24
- package/chunk/{StepHybridIdentityPersonalInfoComponent-BjSmUmIf.js.map → StepHybridIdentityPersonalInfoComponent-JbxItzli.js.map} +1 -1
- package/chunk/StepIDCheckLoop-CKJFpdU7.js +25 -0
- package/chunk/{StepIDCheckLoop-CTbTYEFE.js.map → StepIDCheckLoop-CKJFpdU7.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-CTbTYEFE.js → StepIDCheckLoop-UPYtuj_3.js} +9 -8
- package/chunk/{StepIDCheckLoop-DoGmWgkC.js.map → StepIDCheckLoop-UPYtuj_3.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-zlOMgXN8.js → StepIDCheckLoopOnfido-BqOq60sP.js} +72 -71
- package/chunk/{StepIDCheckLoopOnfido-C62k0412.js.map → StepIDCheckLoopOnfido-BqOq60sP.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-C62k0412.js → StepIDCheckLoopOnfido-DWV0RKh2.js} +41 -40
- package/chunk/{StepIDCheckLoopOnfido-zlOMgXN8.js.map → StepIDCheckLoopOnfido-DWV0RKh2.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-fI3_fV_g.js → StepIDCheckLoopRegula-B8ap2gkD.js} +17 -16
- package/chunk/{StepIDCheckLoopRegula-LJjYzq94.js.map → StepIDCheckLoopRegula-B8ap2gkD.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-LJjYzq94.js → StepIDCheckLoopRegula-BRw-tnai.js} +53 -52
- package/chunk/{StepIDCheckLoopRegula-fI3_fV_g.js.map → StepIDCheckLoopRegula-BRw-tnai.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-BK5QWbnL.js → StepLicensedProfessionalPersonalInfo-CFaCOVfa.js} +57 -56
- package/chunk/{StepLicensedProfessionalPersonalInfo-BK5QWbnL.js.map → StepLicensedProfessionalPersonalInfo-CFaCOVfa.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-CVIIdb59.js → StepLicensedProfessionalPersonalInfo-DxuvNwwr.js} +26 -25
- package/chunk/{StepLicensedProfessionalPersonalInfo-CVIIdb59.js.map → StepLicensedProfessionalPersonalInfo-DxuvNwwr.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-CRkSd58F.js → StepLowIncomePersonalInfo-B3XQJ7pP.js} +88 -87
- package/chunk/{StepLowIncomePersonalInfo-CRkSd58F.js.map → StepLowIncomePersonalInfo-B3XQJ7pP.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-Cp_wp8r6.js → StepLowIncomePersonalInfo-CFNPyuDa.js} +35 -34
- package/chunk/{StepLowIncomePersonalInfo-Cp_wp8r6.js.map → StepLowIncomePersonalInfo-CFNPyuDa.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-DLJvzVU3.js → StepMedicalProfessionalPersonalInfo-DMGMtX8O.js} +24 -23
- package/chunk/{StepMedicalProfessionalPersonalInfo-B3MhjH-2.js.map → StepMedicalProfessionalPersonalInfo-DMGMtX8O.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-B3MhjH-2.js → StepMedicalProfessionalPersonalInfo-DlsJbwe3.js} +87 -86
- package/chunk/{StepMedicalProfessionalPersonalInfo-DLJvzVU3.js.map → StepMedicalProfessionalPersonalInfo-DlsJbwe3.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-BVIvEnYz.js → StepMemberPersonalInfo-BtRlES0-.js} +22 -21
- package/chunk/{StepMemberPersonalInfo-BuwhMukd.js.map → StepMemberPersonalInfo-BtRlES0-.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-BuwhMukd.js → StepMemberPersonalInfo-Ddm4N4Cl.js} +43 -42
- package/chunk/{StepMemberPersonalInfo-BVIvEnYz.js.map → StepMemberPersonalInfo-Ddm4N4Cl.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-DHIRdMxl.js → StepMoverPersonalInfo-IQdRsRMu.js} +20 -19
- package/chunk/{StepMoverPersonalInfo-B73ekEZL.js.map → StepMoverPersonalInfo-IQdRsRMu.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-B73ekEZL.js → StepMoverPersonalInfo-rp6MCvDz.js} +44 -43
- package/chunk/{StepMoverPersonalInfo-DHIRdMxl.js.map → StepMoverPersonalInfo-rp6MCvDz.js.map} +1 -1
- package/chunk/{StepOverrideComponent-ZtSooB8Z.js → StepOverrideComponent-Bm9qgm9B.js} +15 -14
- package/chunk/{StepOverrideComponent-Dwswmn0U.js.map → StepOverrideComponent-Bm9qgm9B.js.map} +1 -1
- package/chunk/{StepOverrideComponent-Dwswmn0U.js → StepOverrideComponent-JlYf0fjU.js} +28 -27
- package/chunk/{StepOverrideComponent-ZtSooB8Z.js.map → StepOverrideComponent-JlYf0fjU.js.map} +1 -1
- package/chunk/{StepSMSLoop-DAzf3bD-.js → StepSMSLoop-B5crGkEN.js} +18 -17
- package/chunk/{StepSMSLoop-Bsikw-E1.js.map → StepSMSLoop-B5crGkEN.js.map} +1 -1
- package/chunk/{StepSMSLoop-Bsikw-E1.js → StepSMSLoop-jWZFKQ5c.js} +36 -35
- package/chunk/{StepSMSLoop-DAzf3bD-.js.map → StepSMSLoop-jWZFKQ5c.js.map} +1 -1
- package/chunk/StepSSO-BGHCbduX.js +4 -4
- package/chunk/StepSSO-ZHByQpHa.js +4 -4
- package/chunk/{StepSocialSecurityNumber-ClndT3ZW.js → StepSocialSecurityNumber-Cvfvpujv.js} +38 -37
- package/chunk/{StepSocialSecurityNumber-ClndT3ZW.js.map → StepSocialSecurityNumber-Cvfvpujv.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-DDLyA-I2.js → StepSocialSecurityNumber-Dx8LFJum.js} +18 -17
- package/chunk/{StepSocialSecurityNumber-DDLyA-I2.js.map → StepSocialSecurityNumber-Dx8LFJum.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-tUMOn2y-.js → StepStudentPersonalInfo-BEzuVykn.js} +51 -50
- package/chunk/{StepStudentPersonalInfo-C6P3vkk8.js.map → StepStudentPersonalInfo-BEzuVykn.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-C6P3vkk8.js → StepStudentPersonalInfo-C7MbAgm1.js} +29 -28
- package/chunk/{StepStudentPersonalInfo-tUMOn2y-.js.map → StepStudentPersonalInfo-C7MbAgm1.js.map} +1 -1
- package/chunk/{StepSuccess-D1oodD3-.js → StepSuccess-BRV0a57v.js} +36 -35
- package/chunk/{StepSuccess-B2UNOf5i.js.map → StepSuccess-BRV0a57v.js.map} +1 -1
- package/chunk/{StepSuccess-B2UNOf5i.js → StepSuccess-Dhs4EnW-.js} +49 -48
- package/chunk/{StepSuccess-D1oodD3-.js.map → StepSuccess-Dhs4EnW-.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-8kn84kw2.js → StepTeacherPersonalInfo-D1hIdA2Q.js} +43 -42
- package/chunk/{StepTeacherPersonalInfo-8kn84kw2.js.map → StepTeacherPersonalInfo-D1hIdA2Q.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-DiiP4TW3.js → StepTeacherPersonalInfo-LG20UfTt.js} +21 -20
- package/chunk/{StepTeacherPersonalInfo-DiiP4TW3.js.map → StepTeacherPersonalInfo-LG20UfTt.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BrKuZcYb.js +4 -4
- package/chunk/StepThirdPartyLoop-CbFTIlwP.js +4 -4
- package/chunk/{TeacherSchoolComponent-Dd9XYJ8W.js → TeacherSchoolComponent-BOMW9EkO.js} +10 -10
- package/chunk/{TeacherSchoolComponent-Dd9XYJ8W.js.map → TeacherSchoolComponent-BOMW9EkO.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-wXWnR8Nd.js → TeacherSchoolComponent-BZcQyAYO.js} +10 -10
- package/chunk/{TeacherSchoolComponent-wXWnR8Nd.js.map → TeacherSchoolComponent-BZcQyAYO.js.map} +1 -1
- package/chunk/TestingRouteOverrides-EggQSvgh.js +78 -0
- package/chunk/{TestingRouteOverrides-D4n0RZk2.js.map → TestingRouteOverrides-EggQSvgh.js.map} +1 -1
- package/chunk/TestingRouteOverrides-ipf_F-iY.js +82 -0
- package/chunk/{TestingRouteOverrides-uUJqRbL9.js.map → TestingRouteOverrides-ipf_F-iY.js.map} +1 -1
- package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
- package/chunk/ar-D5CO913q.js +4 -4
- package/chunk/bg-1mhA5kYF.js +4 -4
- package/chunk/bn-IN-CpDqyRb_.js +4 -4
- package/chunk/clsx-CB5rauS5.js +4 -4
- package/chunk/{countryUtils-_E2yHebn.js → countryUtils-BBN8jYxF.js} +5 -5
- package/chunk/{countryUtils-D0YJQD1a.js.map → countryUtils-BBN8jYxF.js.map} +1 -1
- package/chunk/countryUtils-n_5QoHGV.js +12 -0
- package/chunk/{countryUtils-_E2yHebn.js.map → countryUtils-n_5QoHGV.js.map} +1 -1
- package/chunk/cs-Chh7FAGt.js +4 -4
- package/chunk/da-DwrVoxto.js +4 -4
- package/chunk/de-IWGZLhgY.js +4 -4
- package/chunk/{downshift.esm-EsIc8yi0.js → downshift.esm-Bc0gEum9.js} +7 -7
- package/chunk/{downshift.esm-BdUQwm0I.js.map → downshift.esm-Bc0gEum9.js.map} +1 -1
- package/chunk/{downshift.esm-BdUQwm0I.js → downshift.esm-Bg5HUokY.js} +7 -7
- package/chunk/{downshift.esm-EsIc8yi0.js.map → downshift.esm-Bg5HUokY.js.map} +1 -1
- package/chunk/el-DbDcvSPJ.js +4 -4
- package/chunk/{empties-BOZDJKb1.js → empties-DHI3R7ys.js} +5 -5
- package/chunk/{empties-BOZDJKb1.js.map → empties-DHI3R7ys.js.map} +1 -1
- package/chunk/{empties-zYUS2tEa.js → empties-Dhc64eA5.js} +5 -5
- package/chunk/{empties-zYUS2tEa.js.map → empties-Dhc64eA5.js.map} +1 -1
- package/chunk/en-GB-BBkjjtqq.js +4 -4
- package/chunk/es-ES-DWimqEZ_.js +4 -4
- package/chunk/es-qhC-seq5.js +4 -4
- package/chunk/et-yF9G-Mym.js +4 -4
- package/chunk/eventEmitter-CSG6jR7V.js +4 -4
- package/chunk/fa-BcdSf7og.js +4 -4
- package/chunk/fi-D-IP_KHm.js +4 -4
- package/chunk/fr-BmUuYxk0.js +4 -4
- package/chunk/fr-CA-DVQ4xmzZ.js +4 -4
- package/chunk/ga-DuZycND3.js +4 -4
- package/chunk/hi-IN-l6Rn5Ewm.js +4 -4
- package/chunk/{hooks-DY9jekmV.js → hooks-B8Gr4Mtw.js} +60 -59
- package/chunk/{hooks-DPmC5aMQ.js.map → hooks-B8Gr4Mtw.js.map} +1 -1
- package/chunk/{hooks-DPmC5aMQ.js → hooks-Cl3P7QIh.js} +72 -71
- package/chunk/{hooks-DY9jekmV.js.map → hooks-Cl3P7QIh.js.map} +1 -1
- package/chunk/hr-BtqyDzDB.js +4 -4
- package/chunk/hu-C6syKJfb.js +4 -4
- package/chunk/id-GgI-Z2a5.js +4 -4
- package/chunk/{options-kkjACM14.js → intl-CvSmE54g.js} +2102 -2275
- package/chunk/intl-CvSmE54g.js.map +1 -0
- package/chunk/is-CvmKEON9.js +4 -4
- package/chunk/it-CnmveGgC.js +4 -4
- package/chunk/iw-DFUYHkxF.js +4 -4
- package/chunk/ja-CjVb2tWW.js +4 -4
- package/chunk/{jsx-runtime-n0jD1uEy.js → jsx-runtime-CyXcV_93.js} +18 -18
- package/chunk/{jsx-runtime-DmTh-fvV.js.map → jsx-runtime-CyXcV_93.js.map} +1 -1
- package/chunk/{jsx-runtime-DmTh-fvV.js → jsx-runtime-JSlXFmKD.js} +18 -18
- package/chunk/{jsx-runtime-n0jD1uEy.js.map → jsx-runtime-JSlXFmKD.js.map} +1 -1
- package/chunk/kk-Dvz4nK6K.js +4 -4
- package/chunk/ko-DzOqBMGC.js +4 -4
- package/chunk/lo-C2WPq55d.js +4 -4
- package/chunk/lt-BSDYvjTF.js +4 -4
- package/chunk/lv-CefDPT-M.js +4 -4
- package/chunk/mockProgramTheme-CBqgtg7A.js +65 -0
- package/chunk/mockProgramTheme-CBqgtg7A.js.map +1 -0
- package/chunk/{mocks-C69Rqq8D.js → mocks-Dpf6dNc6.js} +9 -9
- package/chunk/{mocks-CvUvRHV_.js.map → mocks-Dpf6dNc6.js.map} +1 -1
- package/chunk/{mocks-CvUvRHV_.js → mocks-DrV8NINc.js} +9 -9
- package/chunk/{mocks-C69Rqq8D.js.map → mocks-DrV8NINc.js.map} +1 -1
- package/chunk/ms-BjestZxy.js +4 -4
- package/chunk/nl-B1FyUfCT.js +4 -4
- package/chunk/nl-BE-CbeAd3nq.js +4 -4
- package/chunk/no-Dr633Ddi.js +4 -4
- package/chunk/{intl-DwZU2l1o.js → options-CRzdSTAR.js} +1114 -1295
- package/chunk/options-CRzdSTAR.js.map +1 -0
- package/chunk/pl-UYTjMIq_.js +4 -4
- package/chunk/{programThemeGetters-rty9XxxN.js → programThemeGetters-DYWYXv-a.js} +51 -46
- package/chunk/{programThemeGetters-CZMLVLDB.js.map → programThemeGetters-DYWYXv-a.js.map} +1 -1
- package/chunk/programThemeGetters-VBnkSxuj.js +150 -0
- package/chunk/{programThemeGetters-rty9XxxN.js.map → programThemeGetters-VBnkSxuj.js.map} +1 -1
- package/chunk/pt-BR-C8SYMT-J.js +4 -4
- package/chunk/pt-uH-M3GdN.js +4 -4
- package/chunk/{refs-DC2-V94e.js → refs-Mq0rtW9K.js} +5 -5
- package/chunk/{refs-D3MifwJO.js.map → refs-Mq0rtW9K.js.map} +1 -1
- package/chunk/ro-CAOSXZ7h.js +4 -4
- package/chunk/ru-iwYoEydL.js +4 -4
- package/chunk/runtimeTypes-B2AGNJMT.js +193 -0
- package/chunk/runtimeTypes-B2AGNJMT.js.map +1 -0
- package/chunk/sk-DYYNV3zw.js +4 -4
- package/chunk/sl-D_-eeM5N.js +4 -4
- package/chunk/sr-BTi9_anL.js +4 -4
- package/chunk/{stepComponentHelpers-DN6dYb4A.js → stepComponentHelpers-DKGaTSta.js} +31 -30
- package/chunk/{stepComponentHelpers-BhSQbOUm.js.map → stepComponentHelpers-DKGaTSta.js.map} +1 -1
- package/chunk/{stepComponentHelpers-BhSQbOUm.js → stepComponentHelpers-DXPc6DBY.js} +43 -42
- package/chunk/{stepComponentHelpers-DN6dYb4A.js.map → stepComponentHelpers-DXPc6DBY.js.map} +1 -1
- package/chunk/strings-DWLVdUcm.js +4 -4
- package/chunk/sv-DRwY4shG.js +4 -4
- package/chunk/sw-Bvj2mYmM.js +4 -4
- package/chunk/ta-CmtaYoNe.js +4 -4
- package/chunk/th-12r2yKkJ.js +4 -4
- package/chunk/tl-BGNfO7md.js +4 -4
- package/chunk/tr-DH2ZSJhs.js +4 -4
- package/chunk/uk-CELBZlTd.js +4 -4
- package/chunk/ur-MR8DTbmd.js +4 -4
- package/chunk/useCollectFieldsEndpoint-B2MFWUCD.js +62 -0
- package/chunk/{useCollectFieldsEndpoint-CNprsQwH.js.map → useCollectFieldsEndpoint-B2MFWUCD.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-QkleZJ0t.js → useCollectFieldsEndpoint-Dua3Cwp5.js} +17 -16
- package/chunk/{useCollectFieldsEndpoint-QkleZJ0t.js.map → useCollectFieldsEndpoint-Dua3Cwp5.js.map} +1 -1
- package/chunk/{useMetrics-Bd0EhnNL.js → useMetrics-BBypvN8X.js} +14 -13
- package/chunk/{useMetrics-Bd0EhnNL.js.map → useMetrics-BBypvN8X.js.map} +1 -1
- package/chunk/{useMetrics-h8PVjepD.js → useMetrics-Grd89oUa.js} +20 -19
- package/chunk/{useMetrics-h8PVjepD.js.map → useMetrics-Grd89oUa.js.map} +1 -1
- package/chunk/vi-DtZ-SqD5.js +4 -4
- package/chunk/zh-DjyVyYac.js +4 -4
- package/chunk/zh-HK-CN1HarHq.js +4 -4
- package/chunk/zu-DPhgIh1z.js +4 -4
- package/package.json +1 -1
- package/sheerid-install.css +4 -4
- package/sheerid-install.js +4 -4
- package/sheerid.css +4 -4
- package/sheerid.js +814 -813
- package/sheerid.js.map +1 -1
- package/chunk/ApiUrls-JG2nS1h7.js +0 -50
- package/chunk/ApiUrls-krufIliq.js +0 -44
- package/chunk/Message-BNNsbHmI.js.map +0 -1
- package/chunk/Message-CLRlAd43.js.map +0 -1
- package/chunk/StepCollectMilitaryPersonalInfoComponent-BRzAAXZV.js +0 -245
- package/chunk/StepCollectPersonalInfo-B3fsiQf6.js +0 -368
- package/chunk/StepEmploymentPersonalInfo-BshfK2mS.js +0 -216
- package/chunk/StepFirstResponderPersonalInfo-BYVMAm6O.js +0 -182
- package/chunk/StepIDCheckLoop-DoGmWgkC.js +0 -24
- package/chunk/TestingRouteOverrides-D4n0RZk2.js +0 -81
- package/chunk/TestingRouteOverrides-uUJqRbL9.js +0 -77
- package/chunk/countryUtils-D0YJQD1a.js +0 -12
- package/chunk/intl-DwZU2l1o.js.map +0 -1
- package/chunk/options-kkjACM14.js.map +0 -1
- package/chunk/programThemeGetters-CZMLVLDB.js +0 -153
- package/chunk/refs-D3MifwJO.js +0 -29
- package/chunk/refs-DC2-V94e.js.map +0 -1
- package/chunk/useCollectFieldsEndpoint-CNprsQwH.js +0 -61
package/sheerid.js
CHANGED
|
@@ -1,62 +1,63 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE:
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.286.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1789602705295
|
|
5
|
+
* BUILD_DATE: Wed Sep 16 2026 23:51:45 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 6fd856ef6c8333c8408563f4b448705da6f1af44
|
|
7
7
|
*/
|
|
8
|
-
import { D as e, E as t,
|
|
9
|
-
import { c as
|
|
10
|
-
import { A as
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import { i as
|
|
15
|
-
import {
|
|
16
|
-
import { i as
|
|
17
|
-
import { t as
|
|
18
|
-
import { t as
|
|
19
|
-
import { t as
|
|
8
|
+
import { D as e, E as t, Et as n, O as r, Ot as i, S as a, T as o, at as s, b as c, c as l, d as u, g as d, gt as f, h as p, i as m, l as h, lt as g, m as _, n as v, p as y, r as b, s as x, t as S, u as C, ut as w, y as T } from "./chunk/options-CRzdSTAR.js";
|
|
9
|
+
import { c as ee, i as E, n as D, t as O } from "./chunk/jsx-runtime-CyXcV_93.js";
|
|
10
|
+
import { A as k, D as te, O as A, P as j, S as ne, T as re, a as ie, c as ae, d as oe, f as se, g as ce, i as le, k as ue, m as de, o as fe, p as pe, r as me, s as he, t as M, u as ge, w as _e, x as ve } from "./chunk/Message-9_oXkro6.js";
|
|
11
|
+
import { S as N, b as P, h as ye, x as be } from "./chunk/runtimeTypes-B2AGNJMT.js";
|
|
12
|
+
import { a as xe, i as Se, r as Ce, s as we, t as Te } from "./chunk/TestingRouteOverrides-EggQSvgh.js";
|
|
13
|
+
import { f as Ee, p as De, u as Oe } from "./chunk/ApiUrls-ChWDTwjL.js";
|
|
14
|
+
import { C as ke, S as Ae, _ as je, a as Me, b as Ne, c as Pe, d as Fe, f as Ie, g as Le, h as Re, i as ze, l as Be, m as Ve, n as He, o as Ue, p as We, r as Ge, s as Ke, t as qe, u as Je, v as Ye, w as Xe, x as Ze, y as Qe } from "./chunk/FormFooterComponent-umNY1fch.js";
|
|
15
|
+
import { i as $e } from "./chunk/programThemeGetters-VBnkSxuj.js";
|
|
16
|
+
import { a as et, i as tt, n as nt, r as rt, t as it } from "./chunk/hooks-Cl3P7QIh.js";
|
|
17
|
+
import { i as at, s as ot, t as st } from "./chunk/refs-Mq0rtW9K.js";
|
|
18
|
+
import { t as ct } from "./chunk/LogoComponent-DASXTR4v.js";
|
|
19
|
+
import { t as lt } from "./chunk/strings-DWLVdUcm.js";
|
|
20
|
+
import { t as ut } from "./chunk/AnnouncingHeader-CXTQdbKG.js";
|
|
20
21
|
//#region ../node_modules/react-i18next/dist/es/I18nextProvider.js
|
|
21
|
-
var
|
|
22
|
-
function
|
|
23
|
-
let r = (0,
|
|
22
|
+
var F = /* @__PURE__ */ i(ee());
|
|
23
|
+
function dt({ i18n: e, defaultNS: t, children: n }) {
|
|
24
|
+
let r = (0, F.useMemo)(() => ({
|
|
24
25
|
i18n: e,
|
|
25
26
|
defaultNS: t
|
|
26
27
|
}), [e, t]);
|
|
27
|
-
return (0,
|
|
28
|
+
return (0, F.createElement)(A.Provider, { value: r }, n);
|
|
28
29
|
}
|
|
29
30
|
//#endregion
|
|
30
31
|
//#region src/components/LoadingSpinner/LoadingSpinnerComponent.tsx
|
|
31
|
-
var
|
|
32
|
+
var ft = /* @__PURE__ */ i(j(), 1), pt = /* @__PURE__ */ i(g(), 1), I = O(), mt = () => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
32
33
|
className: "sid-spinner",
|
|
33
34
|
"data-testid": "sid-spinner",
|
|
34
35
|
children: [
|
|
35
|
-
/* @__PURE__ */ (0,
|
|
36
|
-
/* @__PURE__ */ (0,
|
|
37
|
-
/* @__PURE__ */ (0,
|
|
38
|
-
/* @__PURE__ */ (0,
|
|
36
|
+
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-spinner__frame" }),
|
|
37
|
+
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-spinner__frame" }),
|
|
38
|
+
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-spinner__frame" }),
|
|
39
|
+
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-spinner__frame" })
|
|
39
40
|
]
|
|
40
|
-
}),
|
|
41
|
+
}), ht = ({ step: e }) => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
41
42
|
className: "sid-loading-screen__message",
|
|
42
|
-
children: [
|
|
43
|
+
children: [be(e) && /* @__PURE__ */ (0, I.jsx)("div", {
|
|
43
44
|
className: "sid-loading-screen__message-header",
|
|
44
45
|
role: "alert",
|
|
45
|
-
children: /* @__PURE__ */ (0,
|
|
46
|
+
children: /* @__PURE__ */ (0, I.jsx)(D, {
|
|
46
47
|
id: "step.personalInfo.verifyingTitle",
|
|
47
48
|
defaultMessage: "Verifying your status"
|
|
48
49
|
})
|
|
49
|
-
}), /* @__PURE__ */ (0,
|
|
50
|
+
}), /* @__PURE__ */ (0, I.jsx)("div", {
|
|
50
51
|
className: "sid-loading-screen__message-subhead",
|
|
51
|
-
children: /* @__PURE__ */ (0,
|
|
52
|
+
children: /* @__PURE__ */ (0, I.jsx)(D, {
|
|
52
53
|
id: "step.personalInfo.verifyingSubtitle",
|
|
53
54
|
defaultMessage: "This should only take a minute"
|
|
54
55
|
})
|
|
55
56
|
})]
|
|
56
|
-
}),
|
|
57
|
+
}), gt = ({ step: e = Te() }) => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
57
58
|
className: "sid-loading-screen",
|
|
58
|
-
children: [/* @__PURE__ */ (0,
|
|
59
|
-
}),
|
|
59
|
+
children: [/* @__PURE__ */ (0, I.jsx)(mt, {}), e && /* @__PURE__ */ (0, I.jsx)(ht, { step: e })]
|
|
60
|
+
}), _t = /* @__PURE__ */ n(((e, t) => {
|
|
60
61
|
var n, r = n = {
|
|
61
62
|
_regexEscape: /([\.\*\+\^\$\[\]\\\(\)\|\{\}\,\-\:\?])/g,
|
|
62
63
|
_regexParseLocale: /^([a-zA-Z]*)([_\-a-zA-Z]*)$/,
|
|
@@ -123,13 +124,13 @@ var mt = /* @__PURE__ */ n(ae(), 1), ht = /* @__PURE__ */ n(b(), 1), P = j(), gt
|
|
|
123
124
|
enumerable: !0,
|
|
124
125
|
configurable: !1
|
|
125
126
|
}), t.exports = r;
|
|
126
|
-
})),
|
|
127
|
-
var n =
|
|
127
|
+
})), vt = /* @__PURE__ */ n(((e, t) => {
|
|
128
|
+
var n = _t();
|
|
128
129
|
t.exports = {
|
|
129
130
|
isRtlLang: n.isRtlLang,
|
|
130
131
|
getLangDir: n.getLangDir
|
|
131
132
|
};
|
|
132
|
-
})),
|
|
133
|
+
})), yt = /* @__PURE__ */ i(te(), 1), bt = /* @__PURE__ */ i(vt(), 1), L = {
|
|
133
134
|
landingBackgroundColor: "#fff",
|
|
134
135
|
landingPrimaryFontColor: "#000",
|
|
135
136
|
landingBackgroundImage: "none",
|
|
@@ -143,7 +144,7 @@ var mt = /* @__PURE__ */ n(ae(), 1), ht = /* @__PURE__ */ n(b(), 1), P = j(), gt
|
|
|
143
144
|
formFont: "var(--sheerid-font-family-sans)",
|
|
144
145
|
cssVariables: null,
|
|
145
146
|
customStyles: null
|
|
146
|
-
},
|
|
147
|
+
}, xt = F.createContext(L), R = {
|
|
147
148
|
landingBackgroundColor: "--sheerid-landing-background-color",
|
|
148
149
|
landingPrimaryFontColor: "--sheerid-landing-primary-font-color",
|
|
149
150
|
landingBackgroundImage: "--sheerid-landing-background-image-url",
|
|
@@ -157,7 +158,7 @@ var mt = /* @__PURE__ */ n(ae(), 1), ht = /* @__PURE__ */ n(b(), 1), P = j(), gt
|
|
|
157
158
|
formFont: "--sheerid-font-family-body",
|
|
158
159
|
cssVariables: null,
|
|
159
160
|
customStyles: null
|
|
160
|
-
},
|
|
161
|
+
}, St = {
|
|
161
162
|
"--sheerid-color-fg-05": {
|
|
162
163
|
from: "--sheerid-color-bg",
|
|
163
164
|
to: "--sheerid-color-fg",
|
|
@@ -268,25 +269,25 @@ var mt = /* @__PURE__ */ n(ae(), 1), ht = /* @__PURE__ */ n(b(), 1), P = j(), gt
|
|
|
268
269
|
to: "--sheerid-color-fg",
|
|
269
270
|
percentage: 3
|
|
270
271
|
}
|
|
271
|
-
},
|
|
272
|
-
let r = (e) => window.self === window.top ? e.replace(/body,/g, "").replace(/label,/g, "").replace(/button\[type=('|")submit('|")\]\s*?\{[\s\S]*?\}\n?/g, "").replace(/a:link,\s+a:visited,\s+a:hover,\s+a:active\s*?\{[\s\S]*?\}\n?/g, "").replace(/h1\s*?\{[\s\S]*?\}\n?/g, "") : e, i = t || e?.customCss || "", a = i ? r(i) : null, o = e?.landingPage, s = o?.backgroundColor ||
|
|
273
|
-
[
|
|
274
|
-
[
|
|
275
|
-
[
|
|
276
|
-
[
|
|
277
|
-
[
|
|
278
|
-
[
|
|
279
|
-
[
|
|
280
|
-
[
|
|
281
|
-
[
|
|
282
|
-
[
|
|
283
|
-
[
|
|
284
|
-
...Object.entries(
|
|
272
|
+
}, Ct = ({ themeChoices: e, customCssFromOptions: t, children: n }) => {
|
|
273
|
+
let r = (e) => window.self === window.top ? e.replace(/body,/g, "").replace(/label,/g, "").replace(/button\[type=('|")submit('|")\]\s*?\{[\s\S]*?\}\n?/g, "").replace(/a:link,\s+a:visited,\s+a:hover,\s+a:active\s*?\{[\s\S]*?\}\n?/g, "").replace(/h1\s*?\{[\s\S]*?\}\n?/g, "") : e, i = t || e?.customCss || "", a = i ? r(i) : null, o = e?.landingPage, s = o?.backgroundColor || L.landingBackgroundColor, c = o?.primaryFontColor || L.landingPrimaryFontColor, l = o?.backgroundImageUrl || L.landingBackgroundImage, u = e?.backgroundColor || L.formBackgroundColor, d = e?.primaryFontColor || L.formPrimaryFontColor, f = e?.buttonColor || L.formButtonColor, p = e?.buttonFontColor || L.formButtonFontColor, m = e?.linkColor || L.formLinkColor, h = e?.h1FontColor || L.formH1FontColor, g = e?.helperFontColor || L.formHelperFontColor, _ = e?.font || L.formFont, v = {
|
|
274
|
+
[R.landingBackgroundColor]: s,
|
|
275
|
+
[R.landingPrimaryFontColor]: c,
|
|
276
|
+
[R.landingBackgroundImage]: l === L.landingBackgroundImage ? L.landingBackgroundImage : `url(${l})`,
|
|
277
|
+
[R.formBackgroundColor]: u,
|
|
278
|
+
[R.formPrimaryFontColor]: d,
|
|
279
|
+
[R.formButtonColor]: f,
|
|
280
|
+
[R.formButtonFontColor]: p,
|
|
281
|
+
[R.formLinkColor]: m,
|
|
282
|
+
[R.formH1FontColor]: h,
|
|
283
|
+
[R.formHelperFontColor]: g,
|
|
284
|
+
[R.formFont]: _ === L.formFont ? L.formFont : `${_}, var(--sheerid-font-family-sans)`,
|
|
285
|
+
...Object.entries(St).reduce((e, [t, n]) => {
|
|
285
286
|
let r = n.from.startsWith("--") ? `var(${n.from})` : n.from, i = n.to.startsWith("--") ? `var(${n.to})` : n.to;
|
|
286
287
|
return e[t] = `color-mix(in oklab, ${r} ${100 - n.percentage}%, ${i} ${n.percentage}%)`, e;
|
|
287
288
|
}, {})
|
|
288
|
-
}, y =
|
|
289
|
-
return /* @__PURE__ */ (0,
|
|
289
|
+
}, y = F.useRef(null), b = De() === Ee.cdnInlineIframe, x = De() === Ee.cdnModalIframe;
|
|
290
|
+
return /* @__PURE__ */ (0, I.jsx)(xt.Provider, {
|
|
290
291
|
value: {
|
|
291
292
|
landingBackgroundColor: s,
|
|
292
293
|
landingPrimaryFontColor: c,
|
|
@@ -302,15 +303,15 @@ var mt = /* @__PURE__ */ n(ae(), 1), ht = /* @__PURE__ */ n(b(), 1), P = j(), gt
|
|
|
302
303
|
cssVariables: v,
|
|
303
304
|
customStyles: a
|
|
304
305
|
},
|
|
305
|
-
children: /* @__PURE__ */ (0,
|
|
306
|
+
children: /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
306
307
|
style: v,
|
|
307
308
|
ref: y,
|
|
308
309
|
"data-in-iframe": b,
|
|
309
310
|
"data-in-modal": x,
|
|
310
|
-
children: [a && /* @__PURE__ */ (0,
|
|
311
|
+
children: [a && /* @__PURE__ */ (0, I.jsx)("style", { children: a }), n]
|
|
311
312
|
})
|
|
312
313
|
});
|
|
313
|
-
},
|
|
314
|
+
}, wt = (e, t, n) => ({
|
|
314
315
|
minAge: t?.minAge || e?.config?.minAge,
|
|
315
316
|
maxAge: t?.maxAge || e?.config?.maxAge,
|
|
316
317
|
smsLoopEnabled: e?.smsLoopEnabled,
|
|
@@ -318,132 +319,132 @@ var mt = /* @__PURE__ */ n(ae(), 1), ht = /* @__PURE__ */ n(b(), 1), P = j(), gt
|
|
|
318
319
|
transitionalMilitaryValidityDays: e?.transitionalMilitaryValidityDays,
|
|
319
320
|
currentStep: t?.currentStep,
|
|
320
321
|
viewModel: n
|
|
321
|
-
}),
|
|
322
|
-
|
|
323
|
-
},
|
|
324
|
-
|
|
325
|
-
},
|
|
322
|
+
}), Tt = {}, Et = (e, t) => {
|
|
323
|
+
N.log(`overrideComponent registering ${e}`), Tt[e] = t;
|
|
324
|
+
}, Dt = (e) => Tt[e] ? (N.log(`getOverridenComponent returning ${e}`), Tt[e]) : null, Ot = () => {
|
|
325
|
+
Tt = {};
|
|
326
|
+
}, kt = ({ verificationService: e, linkText: t }) => {
|
|
326
327
|
let { segment: n } = e.verificationResponse, { programId: r, programTheme: i } = e;
|
|
327
|
-
return n ? /* @__PURE__ */ (0,
|
|
328
|
+
return n ? /* @__PURE__ */ (0, I.jsx)(me, {
|
|
328
329
|
className: "sid-faq sid-link",
|
|
329
|
-
href:
|
|
330
|
-
children: t || /* @__PURE__ */ (0,
|
|
330
|
+
href: $e(i, n, r, o(e.viewModel), e.verificationResponse),
|
|
331
|
+
children: t || /* @__PURE__ */ (0, I.jsx)(D, {
|
|
331
332
|
id: "getHelp",
|
|
332
333
|
defaultMessage: "Get help"
|
|
333
334
|
})
|
|
334
335
|
}) : null;
|
|
335
|
-
},
|
|
336
|
+
}, At = /* @__PURE__ */ (0, I.jsx)(D, {
|
|
336
337
|
id: "poweredBy",
|
|
337
338
|
defaultMessage: "Verification services powered by SheerID."
|
|
338
|
-
}),
|
|
339
|
+
}), jt = ({ verificationService: e, isCentered: t, variant: n = "default", hideFaqLink: r = !1 }) => {
|
|
339
340
|
switch (n) {
|
|
340
|
-
case "poweredby": return /* @__PURE__ */ (0,
|
|
341
|
+
case "poweredby": return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
341
342
|
className: "sid-footer__powered-by-container-experiment",
|
|
342
|
-
children: [/* @__PURE__ */ (0,
|
|
343
|
+
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
343
344
|
className: "sid-footer__powered-by_powerby-experiment",
|
|
344
|
-
children:
|
|
345
|
-
}), !r && /* @__PURE__ */ (0,
|
|
345
|
+
children: At
|
|
346
|
+
}), !r && /* @__PURE__ */ (0, I.jsx)("div", {
|
|
346
347
|
className: "sid-footer__powered-by_powerby-experiment",
|
|
347
|
-
children: /* @__PURE__ */ (0,
|
|
348
|
+
children: /* @__PURE__ */ (0, I.jsx)(kt, { verificationService: e })
|
|
348
349
|
})]
|
|
349
350
|
});
|
|
350
|
-
case "verificationby": return /* @__PURE__ */ (0,
|
|
351
|
+
case "verificationby": return /* @__PURE__ */ (0, I.jsx)("div", {
|
|
351
352
|
className: "sid-footer__powered-by-container--stacked sid-l-horz-center sid-footer__powered-by-experiment",
|
|
352
|
-
children: /* @__PURE__ */ (0,
|
|
353
|
+
children: /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
353
354
|
className: "sid-footer__powered-by-verificationby-experiment",
|
|
354
|
-
children: [/* @__PURE__ */ (0,
|
|
355
|
+
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
355
356
|
className: "sid-footer__powered-by-icon-experiment",
|
|
356
|
-
children: /* @__PURE__ */ (0,
|
|
357
|
+
children: /* @__PURE__ */ (0, I.jsx)("img", {
|
|
357
358
|
alt: "",
|
|
358
359
|
src: "https://com-sheerid-resources.s3.us-east-1.amazonaws.com/common/images/2018/icons/sheerid_logo.svg"
|
|
359
360
|
})
|
|
360
|
-
}),
|
|
361
|
+
}), At]
|
|
361
362
|
})
|
|
362
363
|
});
|
|
363
|
-
default: return /* @__PURE__ */ (0,
|
|
364
|
+
default: return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
364
365
|
className: t ? "sid-footer__powered-by-container--stacked sid-l-horz-center" : "sid-footer__powered-by-container",
|
|
365
|
-
children: [/* @__PURE__ */ (0,
|
|
366
|
+
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
366
367
|
className: t ? "sid-footer__powered-by--stacked sid-l-horz-center" : "sid-footer__powered-by",
|
|
367
|
-
children:
|
|
368
|
-
}), !r && /* @__PURE__ */ (0,
|
|
368
|
+
children: At
|
|
369
|
+
}), !r && /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
369
370
|
className: t ? "sid-l-space-top-sm" : "",
|
|
370
|
-
children: ["\xA0", /* @__PURE__ */ (0,
|
|
371
|
+
children: ["\xA0", /* @__PURE__ */ (0, I.jsx)(kt, { verificationService: e })]
|
|
371
372
|
})]
|
|
372
373
|
});
|
|
373
374
|
}
|
|
374
|
-
},
|
|
375
|
-
let n =
|
|
375
|
+
}, Mt = (e, t) => {
|
|
376
|
+
let n = F.useRef(null);
|
|
376
377
|
function r() {
|
|
377
378
|
clearInterval(n.current);
|
|
378
379
|
}
|
|
379
|
-
return
|
|
380
|
-
},
|
|
381
|
-
let a =
|
|
382
|
-
return /* @__PURE__ */ (0,
|
|
380
|
+
return F.useEffect(() => (n.current = setInterval(e, t), () => r()), [e, t]), r;
|
|
381
|
+
}, Nt = ({ stepName: e, messages: t, logo: n, cancelSingleSignOn: r, cancelButtonType: i = It.PRIMARY }) => {
|
|
382
|
+
let a = lt(e);
|
|
383
|
+
return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
383
384
|
className: "sid-header sid-l-horz-center",
|
|
384
385
|
children: [
|
|
385
|
-
/* @__PURE__ */ (0,
|
|
386
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
386
387
|
className: "sid-pending-logo-container sid-l-horz-center",
|
|
387
388
|
children: n
|
|
388
389
|
}),
|
|
389
|
-
/* @__PURE__ */ (0,
|
|
390
|
+
/* @__PURE__ */ (0, I.jsx)(ut, {
|
|
390
391
|
align: "center",
|
|
391
392
|
children: t.title
|
|
392
393
|
}),
|
|
393
|
-
/* @__PURE__ */ (0,
|
|
394
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
394
395
|
className: "sid-header__subtitle-one",
|
|
395
396
|
children: t.subtitle
|
|
396
397
|
}),
|
|
397
|
-
t?.subtitle2 && /* @__PURE__ */ (0,
|
|
398
|
-
/* @__PURE__ */ (0,
|
|
398
|
+
t?.subtitle2 && /* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-xl" }),
|
|
399
|
+
/* @__PURE__ */ (0, I.jsxs)("div", {
|
|
399
400
|
className: "sid-header__subtitle-two sid-h-small-text sid-l-space-top-md",
|
|
400
|
-
children: [t?.subtitle2 && t.subtitle2, /* @__PURE__ */ (0,
|
|
401
|
+
children: [t?.subtitle2 && t.subtitle2, /* @__PURE__ */ (0, I.jsx)("div", {
|
|
401
402
|
className: `sid-form-region sid-${a}-pending-submit sid-submit-wrapper sid-l-space-top-md`,
|
|
402
|
-
children: /* @__PURE__ */ (0,
|
|
403
|
+
children: /* @__PURE__ */ (0, I.jsx)("button", {
|
|
403
404
|
onClick: r,
|
|
404
405
|
type: "submit",
|
|
405
|
-
className: `sid-btn sid-${a}-pending-submit-btn ${i ===
|
|
406
|
+
className: `sid-btn sid-${a}-pending-submit-btn ${i === It.SECONDARY ? "sid-btn-light" : "sid-btn--dark"} sid-l-full-width`,
|
|
406
407
|
"aria-label": "submit",
|
|
407
408
|
children: t.cancel
|
|
408
409
|
})
|
|
409
410
|
})]
|
|
410
411
|
}),
|
|
411
|
-
t?.subtitle2 ? /* @__PURE__ */ (0,
|
|
412
|
+
t?.subtitle2 ? /* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-xl" }) : /* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-lg" })
|
|
412
413
|
]
|
|
413
414
|
});
|
|
414
|
-
},
|
|
415
|
+
}, Pt = ({ stepName: e, messages: t, logo: n, cancelSingleSignOn: r, cancelButtonType: i = It.PRIMARY }) => /* @__PURE__ */ (0, I.jsx)(Nt, {
|
|
415
416
|
messages: t,
|
|
416
417
|
stepName: e,
|
|
417
418
|
logo: n,
|
|
418
419
|
cancelSingleSignOn: r,
|
|
419
420
|
cancelButtonType: i
|
|
420
|
-
}),
|
|
421
|
-
let i =
|
|
422
|
-
return /* @__PURE__ */ (0,
|
|
421
|
+
}), Ft = ({ messages: e, verificationService: t, updateViewModelAndOpenLoginTab: n, dashedStepName: r }) => {
|
|
422
|
+
let i = it("hc-my-sheer-id-theme-builder");
|
|
423
|
+
return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
423
424
|
className: "sid-header sid-l-horz-center",
|
|
424
425
|
children: [
|
|
425
|
-
/* @__PURE__ */ (0,
|
|
426
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
426
427
|
className: `sid-${r}-logo-container sid-l-horz-center`,
|
|
427
|
-
children: /* @__PURE__ */ (0,
|
|
428
|
+
children: /* @__PURE__ */ (0, I.jsx)(ct, {
|
|
428
429
|
verificationService: t,
|
|
429
|
-
fallbackLogo: !i && /* @__PURE__ */ (0,
|
|
430
|
+
fallbackLogo: !i && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
430
431
|
className: `sid-${r}-logo-default sid-l-lead-image`,
|
|
431
432
|
alt: "",
|
|
432
433
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/sso-step.svg"
|
|
433
434
|
})
|
|
434
435
|
})
|
|
435
436
|
}),
|
|
436
|
-
/* @__PURE__ */ (0,
|
|
437
|
+
/* @__PURE__ */ (0, I.jsx)(ut, {
|
|
437
438
|
align: "center",
|
|
438
439
|
children: e.title
|
|
439
440
|
}),
|
|
440
|
-
/* @__PURE__ */ (0,
|
|
441
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
441
442
|
className: "sid-header__subtitle-one",
|
|
442
443
|
children: e.subtitle
|
|
443
444
|
}),
|
|
444
|
-
/* @__PURE__ */ (0,
|
|
445
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
445
446
|
className: `sid-form-region sid-${r}-submit sid-submit-wrapper sid-l-space-top-md`,
|
|
446
|
-
children: /* @__PURE__ */ (0,
|
|
447
|
+
children: /* @__PURE__ */ (0, I.jsx)("button", {
|
|
447
448
|
id: `sid-submit-btn-${r}`,
|
|
448
449
|
onClick: () => n("isSingleSignOnActive", !0),
|
|
449
450
|
type: "submit",
|
|
@@ -451,200 +452,200 @@ var mt = /* @__PURE__ */ n(ae(), 1), ht = /* @__PURE__ */ n(b(), 1), P = j(), gt
|
|
|
451
452
|
children: e.login
|
|
452
453
|
})
|
|
453
454
|
}),
|
|
454
|
-
/* @__PURE__ */ (0,
|
|
455
|
+
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-lg" })
|
|
455
456
|
]
|
|
456
457
|
});
|
|
457
|
-
},
|
|
458
|
+
}, It = /* @__PURE__ */ function(e) {
|
|
458
459
|
return e.PRIMARY = "primary", e.SECONDARY = "secondary", e;
|
|
459
|
-
}({}),
|
|
460
|
-
let { programId:
|
|
460
|
+
}({}), Lt = ({ verificationService: e, stepName: t, messages: n, cancelButtonType: r = "primary" }) => {
|
|
461
|
+
let { programId: i } = e, a = e.viewModel, o = e.previousViewModel || void 0, s = e.verificationResponse, c = e.previousVerificationResponse || void 0, { verificationId: d, locale: f } = e.verificationResponse, p = xe(), m = lt(t), h = it("hc-my-sheer-id-theme-builder"), g, v = /* @__PURE__ */ (0, I.jsx)(ct, {
|
|
461
462
|
verificationService: e,
|
|
462
|
-
fallbackLogo: !
|
|
463
|
-
className: `sid-${
|
|
463
|
+
fallbackLogo: !h && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
464
|
+
className: `sid-${m}-logo-default sid-l-lead-image`,
|
|
464
465
|
alt: "",
|
|
465
466
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg"
|
|
466
467
|
})
|
|
467
|
-
}),
|
|
468
|
-
e.fetchExistingVerificationRequest(
|
|
469
|
-
}, 1e3),
|
|
470
|
-
let r =
|
|
468
|
+
}), y = () => setTimeout(() => {
|
|
469
|
+
e.fetchExistingVerificationRequest(i, d, c, o);
|
|
470
|
+
}, 1e3), b = (t, n) => {
|
|
471
|
+
let r = l(a, (e) => {
|
|
471
472
|
e[t] = n;
|
|
472
473
|
});
|
|
473
474
|
e.updateViewModel(r);
|
|
474
|
-
},
|
|
475
|
-
|
|
476
|
-
programId:
|
|
475
|
+
}, x = () => {
|
|
476
|
+
_(u.SSO_CANCEL_CLICKED, {
|
|
477
|
+
programId: i,
|
|
477
478
|
locale: f,
|
|
478
479
|
verificationId: d
|
|
479
|
-
}),
|
|
480
|
-
let n =
|
|
481
|
-
|
|
482
|
-
},
|
|
483
|
-
|
|
484
|
-
programId:
|
|
480
|
+
}), st();
|
|
481
|
+
let n = l(a, () => {});
|
|
482
|
+
N.info("SingleSignOnComponent submitting cancel request"), clearTimeout(g), e.submitStep(t, n, e.verificationResponse);
|
|
483
|
+
}, S = (e, t) => {
|
|
484
|
+
_(u.SSO_SIGN_IN_CLICKED, {
|
|
485
|
+
programId: i,
|
|
485
486
|
locale: f,
|
|
486
487
|
verificationId: d
|
|
487
|
-
}),
|
|
488
|
-
},
|
|
489
|
-
let e = t ===
|
|
490
|
-
|
|
488
|
+
}), b(e, t), C();
|
|
489
|
+
}, C = () => {
|
|
490
|
+
let e = t === P.sso ? ve(s.loginUrl) : s.loginUrl;
|
|
491
|
+
ot(window.open(e, "_blank")), at().focus();
|
|
491
492
|
};
|
|
492
|
-
return
|
|
493
|
-
id: `sid-step-${
|
|
494
|
-
className: `sid-${
|
|
495
|
-
"data-testid": `sid-step-${
|
|
496
|
-
children: [/* @__PURE__ */ (0,
|
|
493
|
+
return a.isSingleSignOnActive && !p && (g = y()), !a.countryChoice && o && o.countryChoice && b("countryChoice", o.countryChoice), /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
494
|
+
id: `sid-step-${m}`,
|
|
495
|
+
className: `sid-${m}-container sid-l-container`,
|
|
496
|
+
"data-testid": `sid-step-${m}`,
|
|
497
|
+
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
497
498
|
role: "main",
|
|
498
|
-
children:
|
|
499
|
+
children: a.isSingleSignOnActive ? /* @__PURE__ */ (0, I.jsx)(Pt, {
|
|
499
500
|
stepName: t,
|
|
500
501
|
messages: n,
|
|
501
|
-
logo:
|
|
502
|
-
cancelSingleSignOn:
|
|
503
|
-
cancelButtonType:
|
|
504
|
-
}) : /* @__PURE__ */ (0,
|
|
502
|
+
logo: v,
|
|
503
|
+
cancelSingleSignOn: x,
|
|
504
|
+
cancelButtonType: r
|
|
505
|
+
}) : /* @__PURE__ */ (0, I.jsx)(Ft, {
|
|
505
506
|
verificationService: e,
|
|
506
507
|
messages: n,
|
|
507
|
-
updateViewModelAndOpenLoginTab:
|
|
508
|
-
dashedStepName:
|
|
508
|
+
updateViewModelAndOpenLoginTab: S,
|
|
509
|
+
dashedStepName: m
|
|
509
510
|
})
|
|
510
|
-
}), /* @__PURE__ */ (0,
|
|
511
|
+
}), /* @__PURE__ */ (0, I.jsx)(qe, { verificationService: e })]
|
|
511
512
|
});
|
|
512
|
-
},
|
|
513
|
-
title: /* @__PURE__ */ (0,
|
|
513
|
+
}, Rt = {
|
|
514
|
+
title: /* @__PURE__ */ (0, I.jsx)(D, {
|
|
514
515
|
id: "step.sso.title",
|
|
515
516
|
defaultMessage: "Verify using your school credentials",
|
|
516
517
|
tagName: "h1"
|
|
517
518
|
}),
|
|
518
|
-
subtitle: /* @__PURE__ */ (0,
|
|
519
|
+
subtitle: /* @__PURE__ */ (0, I.jsx)(D, {
|
|
519
520
|
id: "step.sso.subtitle",
|
|
520
521
|
defaultMessage: "Please sign in to your school's web portal. It will open in a new tab."
|
|
521
522
|
}),
|
|
522
|
-
login: /* @__PURE__ */ (0,
|
|
523
|
+
login: /* @__PURE__ */ (0, I.jsx)(D, {
|
|
523
524
|
id: "step.sso.login",
|
|
524
525
|
defaultMessage: "Sign in to my school"
|
|
525
526
|
}),
|
|
526
|
-
cancel: /* @__PURE__ */ (0,
|
|
527
|
+
cancel: /* @__PURE__ */ (0, I.jsx)(D, {
|
|
527
528
|
id: "step.sso.cancel",
|
|
528
529
|
defaultMessage: "Upload Proof of Enrollment"
|
|
529
530
|
}),
|
|
530
|
-
subtitle2: /* @__PURE__ */ (0,
|
|
531
|
+
subtitle2: /* @__PURE__ */ (0, I.jsx)(D, {
|
|
531
532
|
id: "step.sso.subtitle2",
|
|
532
533
|
defaultMessage: "Can't sign in to your school?"
|
|
533
534
|
})
|
|
534
|
-
},
|
|
535
|
+
}, zt = ({ verificationService: e }) => /* @__PURE__ */ (0, I.jsx)(Lt, {
|
|
535
536
|
verificationService: e,
|
|
536
|
-
stepName:
|
|
537
|
-
messages:
|
|
538
|
-
}),
|
|
537
|
+
stepName: P.sso,
|
|
538
|
+
messages: Rt
|
|
539
|
+
}), Bt = ({ logo: e }) => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
539
540
|
className: "sid-header sid-l-horz-center",
|
|
540
541
|
"data-testid": "sid-review-pending",
|
|
541
542
|
children: [
|
|
542
|
-
/* @__PURE__ */ (0,
|
|
543
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
543
544
|
className: "sid-l-horz-center",
|
|
544
545
|
children: e
|
|
545
546
|
}),
|
|
546
|
-
/* @__PURE__ */ (0,
|
|
547
|
+
/* @__PURE__ */ (0, I.jsx)(ut, {
|
|
547
548
|
align: "center",
|
|
548
|
-
children: /* @__PURE__ */ (0,
|
|
549
|
+
children: /* @__PURE__ */ (0, I.jsx)(D, {
|
|
549
550
|
id: "step.pending.titleReview",
|
|
550
551
|
defaultMessage: "Reviewing",
|
|
551
552
|
tagName: "h1"
|
|
552
553
|
})
|
|
553
554
|
}),
|
|
554
|
-
/* @__PURE__ */ (0,
|
|
555
|
+
/* @__PURE__ */ (0, I.jsx)("div", { children: /* @__PURE__ */ (0, I.jsx)(D, {
|
|
555
556
|
id: "step.pending.uploadedDocument",
|
|
556
557
|
defaultMessage: "Your document was uploaded successfully and is being reviewed."
|
|
557
558
|
}) }),
|
|
558
|
-
/* @__PURE__ */ (0,
|
|
559
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
559
560
|
className: "sid-header__subtitle-one sid-l-space-top-md",
|
|
560
|
-
children: /* @__PURE__ */ (0,
|
|
561
|
+
children: /* @__PURE__ */ (0, I.jsx)(M, { id: "step.pending.turnaroundTime" })
|
|
561
562
|
}),
|
|
562
|
-
/* @__PURE__ */ (0,
|
|
563
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
563
564
|
className: "sid-header__subtitle-two sid-l-space-top-md",
|
|
564
|
-
children: /* @__PURE__ */ (0,
|
|
565
|
+
children: /* @__PURE__ */ (0, I.jsx)(D, {
|
|
565
566
|
id: "step.pending.subtitle2",
|
|
566
567
|
defaultMessage: "Wait here or let us notify you of the outcome."
|
|
567
568
|
})
|
|
568
569
|
}),
|
|
569
|
-
/* @__PURE__ */ (0,
|
|
570
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
570
571
|
className: "sid-header__subtitle-three sid-l-space-top-md",
|
|
571
|
-
children: /* @__PURE__ */ (0,
|
|
572
|
+
children: /* @__PURE__ */ (0, I.jsx)(D, {
|
|
572
573
|
id: "step.pending.subtitle3",
|
|
573
574
|
defaultMessage: "You will be contacted via email."
|
|
574
575
|
})
|
|
575
576
|
}),
|
|
576
|
-
/* @__PURE__ */ (0,
|
|
577
|
+
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-xl" })
|
|
577
578
|
]
|
|
578
|
-
}),
|
|
579
|
+
}), Vt = ({ logo: e }) => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
579
580
|
className: "sid-header sid-l-horz-center",
|
|
580
581
|
"data-testid": "sid-review-pending",
|
|
581
582
|
children: [
|
|
582
|
-
/* @__PURE__ */ (0,
|
|
583
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
583
584
|
className: "sid-l-horz-center",
|
|
584
585
|
children: e
|
|
585
586
|
}),
|
|
586
|
-
/* @__PURE__ */ (0,
|
|
587
|
+
/* @__PURE__ */ (0, I.jsx)(ut, {
|
|
587
588
|
align: "center",
|
|
588
|
-
children: /* @__PURE__ */ (0,
|
|
589
|
+
children: /* @__PURE__ */ (0, I.jsx)(D, {
|
|
589
590
|
id: "step.pending.idCheckLoop.title",
|
|
590
591
|
defaultMessage: "We're reviewing your documents",
|
|
591
592
|
tagName: "h1"
|
|
592
593
|
})
|
|
593
594
|
}),
|
|
594
|
-
/* @__PURE__ */ (0,
|
|
595
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
595
596
|
className: "sid-header__subtitle-one",
|
|
596
|
-
children: /* @__PURE__ */ (0,
|
|
597
|
+
children: /* @__PURE__ */ (0, I.jsx)(D, {
|
|
597
598
|
id: "step.pending.idCheckLoop.subtitle",
|
|
598
599
|
defaultMessage: "Hold tight, turnaround time is typically a few minutes or less."
|
|
599
600
|
})
|
|
600
601
|
}),
|
|
601
|
-
/* @__PURE__ */ (0,
|
|
602
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
602
603
|
className: "sid-header__subtitle-two sid-l-space-top-md sid-h-bold-text",
|
|
603
|
-
children: /* @__PURE__ */ (0,
|
|
604
|
+
children: /* @__PURE__ */ (0, I.jsx)(D, {
|
|
604
605
|
id: "step.pending.idCheckLoop.subtitle2",
|
|
605
606
|
defaultMessage: "We'll send you an email when we're finished reviewing."
|
|
606
607
|
})
|
|
607
608
|
}),
|
|
608
|
-
/* @__PURE__ */ (0,
|
|
609
|
+
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-xl" })
|
|
609
610
|
]
|
|
610
|
-
}),
|
|
611
|
-
title: /* @__PURE__ */ (0,
|
|
611
|
+
}), Ht = { [ye.SIGNZY]: {
|
|
612
|
+
title: /* @__PURE__ */ (0, I.jsx)(D, {
|
|
612
613
|
id: "step.thirdPartyLoop.signzy.title",
|
|
613
614
|
tagName: "h1",
|
|
614
615
|
defaultMessage: "Verify using DigiLocker"
|
|
615
616
|
}),
|
|
616
|
-
subtitle: /* @__PURE__ */ (0,
|
|
617
|
+
subtitle: /* @__PURE__ */ (0, I.jsx)(D, {
|
|
617
618
|
id: "step.thirdPartyLoop.signzy.subtitle",
|
|
618
619
|
defaultMessage: "Verify using your DigiLocker login information"
|
|
619
620
|
}),
|
|
620
|
-
login: /* @__PURE__ */ (0,
|
|
621
|
+
login: /* @__PURE__ */ (0, I.jsx)(D, {
|
|
621
622
|
id: "step.thirdPartyLoop.signzy.login",
|
|
622
623
|
defaultMessage: "Sign in to DigiLocker"
|
|
623
624
|
}),
|
|
624
|
-
cancel: /* @__PURE__ */ (0,
|
|
625
|
+
cancel: /* @__PURE__ */ (0, I.jsx)(D, {
|
|
625
626
|
id: "step.thirdPartyLoop.signzy.cancel",
|
|
626
627
|
defaultMessage: "Upload Proof of Identity"
|
|
627
628
|
})
|
|
628
|
-
} },
|
|
629
|
-
let n = /* @__PURE__ */ (0,
|
|
629
|
+
} }, Ut = ({ logo: e, isStepRoot: t = !1 }) => {
|
|
630
|
+
let n = /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
630
631
|
className: "sid-header sid-l-horz-center",
|
|
631
632
|
children: [
|
|
632
|
-
/* @__PURE__ */ (0,
|
|
633
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
633
634
|
className: "sid-error-logo-container sid-l-horz-center",
|
|
634
635
|
children: e
|
|
635
636
|
}),
|
|
636
|
-
/* @__PURE__ */ (0,
|
|
637
|
+
/* @__PURE__ */ (0, I.jsx)(ut, {
|
|
637
638
|
align: "center",
|
|
638
|
-
children: /* @__PURE__ */ (0,
|
|
639
|
+
children: /* @__PURE__ */ (0, I.jsx)(D, {
|
|
639
640
|
id: "error",
|
|
640
641
|
tagName: "h1"
|
|
641
642
|
})
|
|
642
643
|
}),
|
|
643
|
-
/* @__PURE__ */ (0,
|
|
644
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
644
645
|
className: "sid-header__subtitle sid-l-horz-center sid-l-space-top-md",
|
|
645
|
-
children: /* @__PURE__ */ (0,
|
|
646
|
+
children: /* @__PURE__ */ (0, I.jsx)("div", {
|
|
646
647
|
className: "sid-error-msg sid-l-horz-center",
|
|
647
|
-
children: /* @__PURE__ */ (0,
|
|
648
|
+
children: /* @__PURE__ */ (0, I.jsx)(D, {
|
|
648
649
|
id: "step.thirdPartyLoop.error",
|
|
649
650
|
defaultMessage: "Provider not supported"
|
|
650
651
|
})
|
|
@@ -652,235 +653,235 @@ var mt = /* @__PURE__ */ n(ae(), 1), ht = /* @__PURE__ */ n(b(), 1), P = j(), gt
|
|
|
652
653
|
})
|
|
653
654
|
]
|
|
654
655
|
});
|
|
655
|
-
return /* @__PURE__ */ (0,
|
|
656
|
+
return /* @__PURE__ */ (0, I.jsx)("div", {
|
|
656
657
|
id: "sid-step-third-party-loop",
|
|
657
658
|
className: "sid-step-third-party-loop-container sid-l-container",
|
|
658
659
|
"data-testid": "sid-step-third-party-loop-error",
|
|
659
|
-
children: t ? /* @__PURE__ */ (0,
|
|
660
|
+
children: t ? /* @__PURE__ */ (0, I.jsx)("div", {
|
|
660
661
|
role: "main",
|
|
661
662
|
children: n
|
|
662
663
|
}) : n
|
|
663
664
|
});
|
|
664
|
-
},
|
|
665
|
-
let t =
|
|
666
|
-
return t ? /* @__PURE__ */ (0,
|
|
665
|
+
}, Wt = ({ verificationService: e }) => {
|
|
666
|
+
let t = Ht[e.verificationResponse.thirdPartyLoopProvider] || void 0, n = it("hc-my-sheer-id-theme-builder");
|
|
667
|
+
return t ? /* @__PURE__ */ (0, I.jsx)(Lt, {
|
|
667
668
|
verificationService: e,
|
|
668
|
-
stepName:
|
|
669
|
+
stepName: P.thirdPartyLoop,
|
|
669
670
|
messages: t,
|
|
670
|
-
cancelButtonType:
|
|
671
|
-
}) : /* @__PURE__ */ (0,
|
|
671
|
+
cancelButtonType: It.SECONDARY
|
|
672
|
+
}) : /* @__PURE__ */ (0, I.jsx)(Ut, {
|
|
672
673
|
isStepRoot: !0,
|
|
673
|
-
logo: /* @__PURE__ */ (0,
|
|
674
|
+
logo: /* @__PURE__ */ (0, I.jsx)(ct, {
|
|
674
675
|
verificationService: e,
|
|
675
|
-
fallbackLogo: !n && /* @__PURE__ */ (0,
|
|
676
|
+
fallbackLogo: !n && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
676
677
|
className: "sid-error-logo sid-l-lead-image",
|
|
677
678
|
alt: "",
|
|
678
679
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/circle-exclamation.svg"
|
|
679
680
|
})
|
|
680
681
|
})
|
|
681
682
|
});
|
|
682
|
-
},
|
|
683
|
-
let
|
|
684
|
-
return
|
|
685
|
-
stepName:
|
|
686
|
-
messages:
|
|
683
|
+
}, Gt = ({ logo: e, verificationLastResponse: t, cancelThirdPartyLoop: n, isMockingPreviousStepThirdPartyLoop: r }) => {
|
|
684
|
+
let i = Ht[r ? Se("thirdPartyLoopProvider") : t?.thirdPartyLoopProvider] || void 0;
|
|
685
|
+
return i ? /* @__PURE__ */ (0, I.jsx)(Pt, {
|
|
686
|
+
stepName: P.thirdPartyLoop,
|
|
687
|
+
messages: i,
|
|
687
688
|
logo: e,
|
|
688
689
|
cancelSingleSignOn: n,
|
|
689
|
-
cancelButtonType:
|
|
690
|
-
}) : /* @__PURE__ */ (0,
|
|
691
|
-
},
|
|
692
|
-
let { programId: t } = e, { viewModel: n } = e,
|
|
693
|
-
|
|
694
|
-
if (!
|
|
695
|
-
let e = setTimeout(() =>
|
|
690
|
+
cancelButtonType: It.SECONDARY
|
|
691
|
+
}) : /* @__PURE__ */ (0, I.jsx)(Ut, { logo: e });
|
|
692
|
+
}, Kt = 5e3, qt = 2e4, Jt = 2e4, Yt = 2e3, Xt = ({ verificationService: e }) => {
|
|
693
|
+
let { programId: t } = e, { viewModel: n } = e, r = e.previousViewModel || void 0, i = e.verificationResponse.lastResponse || e.previousVerificationResponse || void 0, { verificationId: a } = e.verificationResponse, o = xe(), s = Ce() && Ce() === P.sso, c = Ce() && Ce() === P.thirdPartyLoop, u = Ce() && Ce() === P.idCheckLoop, d = it("hc-my-sheer-id-theme-builder"), f = () => i?.currentStep === P.sso, p = () => i?.currentStep === P.thirdPartyLoop, m = () => i?.currentStep === P.idCheckLoop, h = f() || p() || s || c, g = m() || u, _ = !h && !g, [v, y] = F.useState(() => h ? Yt : g ? Jt : Kt);
|
|
694
|
+
F.useEffect(() => {
|
|
695
|
+
if (!_) return;
|
|
696
|
+
let e = setTimeout(() => y(Jt), qt);
|
|
696
697
|
return () => clearTimeout(e);
|
|
697
|
-
}, [
|
|
698
|
-
let
|
|
699
|
-
e.fetchExistingVerificationRequest(t,
|
|
700
|
-
},
|
|
701
|
-
let r =
|
|
702
|
-
|
|
703
|
-
},
|
|
698
|
+
}, [_]);
|
|
699
|
+
let b = !o && Mt(() => {
|
|
700
|
+
e.fetchExistingVerificationRequest(t, a, i, r, !1);
|
|
701
|
+
}, v), x = (t) => {
|
|
702
|
+
let r = l(n, () => {});
|
|
703
|
+
N.info("StepSingleSignOnComponent submitting cancel request, step:", t), b(), st(), e.submitStep(t, r, i);
|
|
704
|
+
}, S = /* @__PURE__ */ (0, I.jsx)(ct, {
|
|
704
705
|
verificationService: e,
|
|
705
|
-
fallbackLogo: !
|
|
706
|
+
fallbackLogo: !d && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
706
707
|
className: "sid-l-lead-image",
|
|
707
708
|
alt: "",
|
|
708
709
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg"
|
|
709
710
|
})
|
|
710
711
|
});
|
|
711
|
-
return /* @__PURE__ */ (0,
|
|
712
|
+
return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
712
713
|
id: "sid-step-pending",
|
|
713
714
|
className: "sid-l-container",
|
|
714
|
-
children: [/* @__PURE__ */ (0,
|
|
715
|
+
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
715
716
|
role: "main",
|
|
716
717
|
children: (() => {
|
|
717
|
-
let e =
|
|
718
|
-
return e ? /* @__PURE__ */ (0,
|
|
719
|
-
stepName:
|
|
720
|
-
messages:
|
|
721
|
-
logo:
|
|
722
|
-
cancelSingleSignOn: () =>
|
|
723
|
-
}) : t ? /* @__PURE__ */ (0,
|
|
724
|
-
logo:
|
|
725
|
-
cancelThirdPartyLoop: () =>
|
|
726
|
-
verificationLastResponse:
|
|
727
|
-
isMockingPreviousStepThirdPartyLoop:
|
|
728
|
-
}) : n ? /* @__PURE__ */ (0,
|
|
718
|
+
let e = f() || s, t = p() || c, n = m() || u;
|
|
719
|
+
return e ? /* @__PURE__ */ (0, I.jsx)(Pt, {
|
|
720
|
+
stepName: P.sso,
|
|
721
|
+
messages: Rt,
|
|
722
|
+
logo: S,
|
|
723
|
+
cancelSingleSignOn: () => x(P.sso)
|
|
724
|
+
}) : t ? /* @__PURE__ */ (0, I.jsx)(Gt, {
|
|
725
|
+
logo: S,
|
|
726
|
+
cancelThirdPartyLoop: () => x(P.thirdPartyLoop),
|
|
727
|
+
verificationLastResponse: i,
|
|
728
|
+
isMockingPreviousStepThirdPartyLoop: c
|
|
729
|
+
}) : n ? /* @__PURE__ */ (0, I.jsx)(Vt, { logo: S }) : /* @__PURE__ */ (0, I.jsx)(Bt, { logo: S });
|
|
729
730
|
})()
|
|
730
|
-
}),
|
|
731
|
+
}), g ? /* @__PURE__ */ (0, I.jsx)(jt, {
|
|
731
732
|
verificationService: e,
|
|
732
733
|
isCentered: !0
|
|
733
|
-
}) : /* @__PURE__ */ (0,
|
|
734
|
+
}) : /* @__PURE__ */ (0, I.jsxs)(qe, {
|
|
734
735
|
verificationService: e,
|
|
735
|
-
children: [/* @__PURE__ */ (0,
|
|
736
|
+
children: [/* @__PURE__ */ (0, I.jsx)("div", {}), " "]
|
|
736
737
|
})]
|
|
737
738
|
});
|
|
738
|
-
},
|
|
739
|
-
let e =
|
|
739
|
+
}, Zt = () => {
|
|
740
|
+
let e = le(), t = ie(), n = ae(), r = w(() => n.segment), i = F.useCallback(() => {
|
|
740
741
|
if (window.self !== window.top) {
|
|
741
742
|
let e = new URL(window.location.href);
|
|
742
743
|
e.searchParams.delete("verificationId"), window.location.replace(e);
|
|
743
744
|
return;
|
|
744
745
|
}
|
|
745
746
|
(async () => {
|
|
746
|
-
|
|
747
|
+
Be(e)(), await Pe(e)(t, r, void 0, void 0, !0);
|
|
747
748
|
})();
|
|
748
749
|
}, [
|
|
749
750
|
e,
|
|
750
751
|
t,
|
|
751
752
|
r
|
|
752
753
|
]);
|
|
753
|
-
return /* @__PURE__ */ (0,
|
|
754
|
+
return /* @__PURE__ */ (0, I.jsx)("button", {
|
|
754
755
|
type: "button",
|
|
755
756
|
className: "sid-btn sid-btn-light sid-btn__try-again",
|
|
756
757
|
onClick: i,
|
|
757
758
|
onKeyPress: i,
|
|
758
|
-
children: /* @__PURE__ */ (0,
|
|
759
|
+
children: /* @__PURE__ */ (0, I.jsx)(M, { id: "tryAgain" })
|
|
759
760
|
});
|
|
760
|
-
},
|
|
761
|
+
}, Qt = {
|
|
761
762
|
NONE: "none",
|
|
762
763
|
RESET: "reset",
|
|
763
764
|
POSTMESSAGE: "postMessage",
|
|
764
765
|
REDIRECT: "redirect"
|
|
765
|
-
},
|
|
766
|
-
let e =
|
|
766
|
+
}, $t = () => {
|
|
767
|
+
let e = ae(), t = () => re({
|
|
767
768
|
action: "tryAgain",
|
|
768
769
|
verificationResponse: e
|
|
769
770
|
});
|
|
770
|
-
return /* @__PURE__ */ (0,
|
|
771
|
+
return /* @__PURE__ */ (0, I.jsx)("button", {
|
|
771
772
|
type: "button",
|
|
772
773
|
className: "sid-btn sid-btn-light sid-btn__try-again",
|
|
773
774
|
onClick: t,
|
|
774
775
|
onKeyPress: t,
|
|
775
|
-
children: /* @__PURE__ */ (0,
|
|
776
|
+
children: /* @__PURE__ */ (0, I.jsx)(M, { id: "tryAgain" })
|
|
776
777
|
});
|
|
777
|
-
},
|
|
778
|
+
}, en = ({ redirectUrl: e, target: t = "_blank" }) => /* @__PURE__ */ (0, I.jsx)(me, {
|
|
778
779
|
target: t,
|
|
779
780
|
href: e.toString(),
|
|
780
781
|
className: "sid-btn sid-btn--dark",
|
|
781
|
-
children: /* @__PURE__ */ (0,
|
|
782
|
-
}),
|
|
783
|
-
if (!(typeof e == "object" && "type" in e && Object.values(
|
|
784
|
-
},
|
|
785
|
-
let e =
|
|
782
|
+
children: /* @__PURE__ */ (0, I.jsx)(M, { id: "seeOtherOffers" })
|
|
783
|
+
}), tn = (e) => {
|
|
784
|
+
if (!(typeof e == "object" && "type" in e && Object.values(Qt).includes(e.type))) throw RangeError("Invalid tryAgainAction option type - using default TryAgainButton.");
|
|
785
|
+
}, nn = () => {
|
|
786
|
+
let e = S("tryAgainAction");
|
|
786
787
|
try {
|
|
787
|
-
switch (
|
|
788
|
-
case
|
|
789
|
-
case
|
|
790
|
-
case
|
|
788
|
+
switch (tn(e), e.type) {
|
|
789
|
+
case Qt.NONE: return null;
|
|
790
|
+
case Qt.POSTMESSAGE: return window.self === window.top ? (N.error(`Invalid tryAgainAction option type "${e.type}" - page must be embedded in an iframe.`), null) : /* @__PURE__ */ (0, I.jsx)($t, {});
|
|
791
|
+
case Qt.REDIRECT: return /* @__PURE__ */ (0, I.jsx)(en, {
|
|
791
792
|
redirectUrl: e.url,
|
|
792
793
|
target: e.target
|
|
793
794
|
});
|
|
794
|
-
case
|
|
795
|
+
case Qt.RESET: return /* @__PURE__ */ (0, I.jsx)(Zt, {});
|
|
795
796
|
default: throw RangeError("Invalid tryAgainAction option type - using default TryAgainButton.");
|
|
796
797
|
}
|
|
797
798
|
} catch (e) {
|
|
798
|
-
return
|
|
799
|
+
return N.error(e.message), /* @__PURE__ */ (0, I.jsx)(Zt, {});
|
|
799
800
|
}
|
|
800
|
-
},
|
|
801
|
+
}, rn = [
|
|
801
802
|
"docReviewLimitExceeded",
|
|
802
803
|
"verificationLimitExceeded",
|
|
803
804
|
"fraudRulesReject"
|
|
804
|
-
],
|
|
805
|
+
], an = ({ verificationService: e, errorIds: t }) => {
|
|
805
806
|
let n = t[0];
|
|
806
|
-
return /* @__PURE__ */ (0,
|
|
807
|
+
return /* @__PURE__ */ (0, I.jsx)(ut, {
|
|
807
808
|
align: "center",
|
|
808
|
-
children: /* @__PURE__ */ (0,
|
|
809
|
+
children: /* @__PURE__ */ (0, I.jsx)("h1", { children: /* @__PURE__ */ (0, I.jsx)(M, { id: e?.messages[`step.error.errorId.${n}.title`] ? `step.error.errorId.${n}.title` : "step.error.title" }) })
|
|
809
810
|
});
|
|
810
|
-
},
|
|
811
|
+
}, on = ({ errorIds: e, errorDetailId: t }) => {
|
|
811
812
|
let n = /* @__PURE__ */ new Map();
|
|
812
|
-
return t ? n.set(t, `errorDetailId.${t}`) : e?.forEach((e) => n.set(e, `errorId.${e}`)), n.size > 0 ? /* @__PURE__ */ (0,
|
|
813
|
-
},
|
|
813
|
+
return t ? n.set(t, `errorDetailId.${t}`) : e?.forEach((e) => n.set(e, `errorId.${e}`)), n.size > 0 ? /* @__PURE__ */ (0, I.jsx)("p", { children: Array.from(n).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(M, { id: t }, t)) }) : null;
|
|
814
|
+
}, sn = ({ verificationService: e, errorIds: t }) => {
|
|
814
815
|
let n = `step.error.errorId.${t[0]}.note`;
|
|
815
|
-
return e.messages?.[n] ? /* @__PURE__ */ (0,
|
|
816
|
+
return e.messages?.[n] ? /* @__PURE__ */ (0, I.jsx)("p", {
|
|
816
817
|
className: "sid-error-note sid-h-small-text",
|
|
817
|
-
children: /* @__PURE__ */ (0,
|
|
818
|
+
children: /* @__PURE__ */ (0, I.jsx)(M, { id: n })
|
|
818
819
|
}) : null;
|
|
819
|
-
},
|
|
820
|
+
}, cn = ({ verificationService: e, errorIds: t, redirectUrl: n }) => {
|
|
820
821
|
if (t.includes("unauthorizedAccountStatus")) {
|
|
821
|
-
let t =
|
|
822
|
-
return t ? /* @__PURE__ */ (0,
|
|
822
|
+
let t = w(() => e.programTheme.config.brandInfo.faqUrl);
|
|
823
|
+
return t ? /* @__PURE__ */ (0, I.jsx)(me, {
|
|
823
824
|
href: t,
|
|
824
|
-
onClick: () =>
|
|
825
|
+
onClick: () => p(P.error, t),
|
|
825
826
|
className: "sid-btn sid-faq-btn sid-btn-light",
|
|
826
|
-
children: /* @__PURE__ */ (0,
|
|
827
|
+
children: /* @__PURE__ */ (0, I.jsx)(M, { id: "step.error.errorId.unauthorizedAccountStatus.buttonText" })
|
|
827
828
|
}) : null;
|
|
828
829
|
}
|
|
829
830
|
if (t.includes("verificationLimitExceeded")) return null;
|
|
830
|
-
if (t.includes("missingRequiredMetadata") || t.includes("missingRequiredExternalId")) return
|
|
831
|
-
let
|
|
832
|
-
return e.messages?.[`step.error.errorId.${
|
|
831
|
+
if (t.includes("missingRequiredMetadata") || t.includes("missingRequiredExternalId")) return S("tryAgainAction").type === "reset" ? null : /* @__PURE__ */ (0, I.jsx)(nn, {});
|
|
832
|
+
let r = t[0];
|
|
833
|
+
return e.messages?.[`step.error.errorId.${r}.buttonText`] && n ? /* @__PURE__ */ (0, I.jsx)(me, {
|
|
833
834
|
href: n,
|
|
834
|
-
onClick: () =>
|
|
835
|
+
onClick: () => p(P.error, n),
|
|
835
836
|
className: "sid-btn sid-error-btn sid-btn-light",
|
|
836
|
-
children: /* @__PURE__ */ (0,
|
|
837
|
-
}) : /* @__PURE__ */ (0,
|
|
838
|
-
},
|
|
839
|
-
let { errorIds: n, redirectUrl: r, errorDetailId: i } = e.verificationResponse, a =
|
|
837
|
+
children: /* @__PURE__ */ (0, I.jsx)(M, { id: `step.error.errorId.${r}.buttonText` })
|
|
838
|
+
}) : /* @__PURE__ */ (0, I.jsx)(nn, {});
|
|
839
|
+
}, ln = ({ verificationService: e, errorId: t }) => {
|
|
840
|
+
let { errorIds: n, redirectUrl: r, errorDetailId: i } = e.verificationResponse, a = it("hc-my-sheer-id-theme-builder"), o = /* @__PURE__ */ new Set();
|
|
840
841
|
t && o.add(t), Array.isArray(n) && n.forEach((e) => o.add(e));
|
|
841
|
-
let s = Array.from(o), c = s.some((e) =>
|
|
842
|
-
return /* @__PURE__ */ (0,
|
|
842
|
+
let s = Array.from(o), c = s.some((e) => rn.includes(e));
|
|
843
|
+
return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
843
844
|
id: "sid-step-error",
|
|
844
845
|
className: "sid-error-container sid-l-container",
|
|
845
|
-
children: [/* @__PURE__ */ (0,
|
|
846
|
+
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
|
|
846
847
|
className: "sid-header sid-l-horz-center",
|
|
847
848
|
role: "banner",
|
|
848
849
|
children: [
|
|
849
|
-
/* @__PURE__ */ (0,
|
|
850
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
850
851
|
className: "sid-error-logo-container sid-l-horz-center",
|
|
851
|
-
children: /* @__PURE__ */ (0,
|
|
852
|
+
children: /* @__PURE__ */ (0, I.jsx)(ct, {
|
|
852
853
|
verificationService: e,
|
|
853
|
-
fallbackLogo: !a && /* @__PURE__ */ (0,
|
|
854
|
+
fallbackLogo: !a && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
854
855
|
className: "sid-error-logo sid-l-lead-image",
|
|
855
856
|
alt: "",
|
|
856
857
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/circle-exclamation.svg"
|
|
857
858
|
})
|
|
858
859
|
})
|
|
859
860
|
}),
|
|
860
|
-
/* @__PURE__ */ (0,
|
|
861
|
+
/* @__PURE__ */ (0, I.jsx)(an, {
|
|
861
862
|
verificationService: e,
|
|
862
863
|
errorIds: s
|
|
863
864
|
}),
|
|
864
|
-
/* @__PURE__ */ (0,
|
|
865
|
+
/* @__PURE__ */ (0, I.jsxs)("div", {
|
|
865
866
|
className: "sid-header__subtitle sid-l-horz-center sid-l-space-top-md",
|
|
866
867
|
children: [
|
|
867
|
-
/* @__PURE__ */ (0,
|
|
868
|
+
/* @__PURE__ */ (0, I.jsxs)("div", {
|
|
868
869
|
className: "sid-error-msg sid-l-horz-center",
|
|
869
|
-
children: [/* @__PURE__ */ (0,
|
|
870
|
+
children: [/* @__PURE__ */ (0, I.jsx)(on, {
|
|
870
871
|
errorIds: s,
|
|
871
872
|
errorDetailId: i
|
|
872
|
-
}), /* @__PURE__ */ (0,
|
|
873
|
+
}), /* @__PURE__ */ (0, I.jsx)(sn, {
|
|
873
874
|
verificationService: e,
|
|
874
875
|
errorIds: s
|
|
875
876
|
})]
|
|
876
877
|
}),
|
|
877
|
-
c && /* @__PURE__ */ (0,
|
|
878
|
+
c && /* @__PURE__ */ (0, I.jsx)("p", {
|
|
878
879
|
className: "sid-error-contact-support sid-l-space-top-md",
|
|
879
|
-
children: /* @__PURE__ */ (0,
|
|
880
|
+
children: /* @__PURE__ */ (0, I.jsx)(M, { id: "contactSupport" })
|
|
880
881
|
}),
|
|
881
|
-
/* @__PURE__ */ (0,
|
|
882
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
882
883
|
className: "sid-l-space-top-lg sid-error-button-container sid-l-horz-center",
|
|
883
|
-
children: /* @__PURE__ */ (0,
|
|
884
|
+
children: /* @__PURE__ */ (0, I.jsx)(cn, {
|
|
884
885
|
verificationService: e,
|
|
885
886
|
errorIds: s,
|
|
886
887
|
redirectUrl: r
|
|
@@ -889,266 +890,266 @@ var mt = /* @__PURE__ */ n(ae(), 1), ht = /* @__PURE__ */ n(b(), 1), P = j(), gt
|
|
|
889
890
|
]
|
|
890
891
|
})
|
|
891
892
|
]
|
|
892
|
-
}), /* @__PURE__ */ (0,
|
|
893
|
+
}), /* @__PURE__ */ (0, I.jsx)("div", {
|
|
893
894
|
className: "sid-footer sid-powered-by-container sid-l-horz-center sid-l-space-top-xl sid-h-small-text",
|
|
894
|
-
children: /* @__PURE__ */ (0,
|
|
895
|
+
children: /* @__PURE__ */ (0, I.jsx)(jt, {
|
|
895
896
|
verificationService: e,
|
|
896
897
|
isCentered: !0,
|
|
897
898
|
hideFaqLink: c
|
|
898
899
|
})
|
|
899
900
|
})]
|
|
900
901
|
});
|
|
901
|
-
},
|
|
902
|
-
StepPendingComponent:
|
|
903
|
-
StepErrorComponent:
|
|
904
|
-
StepStudentPersonalInfoComponent:
|
|
905
|
-
StepOverrideComponent:
|
|
906
|
-
StepAgePersonalInfoComponent:
|
|
907
|
-
StepSeniorPersonalInfoComponent:
|
|
908
|
-
StepCollectMilitaryPersonalInfoComponent:
|
|
909
|
-
StepCollectMilitaryStatusComponent:
|
|
910
|
-
StepActiveMilitaryPersonalInfoComponent:
|
|
911
|
-
StepInactiveMilitaryPersonalInfoComponent:
|
|
912
|
-
StepDriverLicensePersonalInfoComponent:
|
|
913
|
-
StepEmploymentPersonalInfoComponent:
|
|
914
|
-
StepFirstResponderPersonalInfoComponent:
|
|
915
|
-
StepGeneralIdentityPersonalInfoComponent:
|
|
916
|
-
StepHybridIdentityPersonalInfoComponent:
|
|
917
|
-
StepIDCheckLoopComponent:
|
|
918
|
-
StepLicensedProfessionalPersonalInfoComponent:
|
|
919
|
-
StepLowIncomePersonalInfoComponent:
|
|
920
|
-
StepMedicalProfessionalPersonalInfoComponent:
|
|
921
|
-
StepMemberPersonalInfoComponent:
|
|
922
|
-
StepConsolationComponent:
|
|
923
|
-
StepDocUploadComponent:
|
|
924
|
-
StepEmailLoopComponent:
|
|
925
|
-
StepPendingEmailLoopComponent:
|
|
926
|
-
StepMoverPersonalInfoComponent:
|
|
927
|
-
StepSMSLoopComponent:
|
|
928
|
-
StepSocialSecurity:
|
|
929
|
-
StepSSOComponent:
|
|
930
|
-
StepSuccessComponent:
|
|
931
|
-
StepTeacherPersonalInfoComponent:
|
|
932
|
-
StepCompleteAuthentication:
|
|
933
|
-
StepCollectIdentifierComponent:
|
|
934
|
-
StepCollectPersonalInfo:
|
|
935
|
-
StepThirdPartyLoopComponent:
|
|
936
|
-
},
|
|
937
|
-
|
|
902
|
+
}, un = {
|
|
903
|
+
StepPendingComponent: Xt,
|
|
904
|
+
StepErrorComponent: ln,
|
|
905
|
+
StepStudentPersonalInfoComponent: F.lazy(() => import("./chunk/StepStudentPersonalInfo-BEzuVykn.js")),
|
|
906
|
+
StepOverrideComponent: F.lazy(() => import("./chunk/StepOverrideComponent-JlYf0fjU.js")),
|
|
907
|
+
StepAgePersonalInfoComponent: F.lazy(() => import("./chunk/StepAgePersonalInfo-uxXEKMVy.js")),
|
|
908
|
+
StepSeniorPersonalInfoComponent: F.lazy(() => import("./chunk/StepAgePersonalInfo-uxXEKMVy.js")),
|
|
909
|
+
StepCollectMilitaryPersonalInfoComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-BoBiEFTG.js")),
|
|
910
|
+
StepCollectMilitaryStatusComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-BoBiEFTG.js")),
|
|
911
|
+
StepActiveMilitaryPersonalInfoComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-BoBiEFTG.js")),
|
|
912
|
+
StepInactiveMilitaryPersonalInfoComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-BoBiEFTG.js")),
|
|
913
|
+
StepDriverLicensePersonalInfoComponent: F.lazy(() => import("./chunk/StepDriverLicensePersonalInfoComponent-DJcYF8X1.js")),
|
|
914
|
+
StepEmploymentPersonalInfoComponent: F.lazy(() => import("./chunk/StepEmploymentPersonalInfo-DuBXeE06.js")),
|
|
915
|
+
StepFirstResponderPersonalInfoComponent: F.lazy(() => import("./chunk/StepFirstResponderPersonalInfo-7etOnfoT.js")),
|
|
916
|
+
StepGeneralIdentityPersonalInfoComponent: F.lazy(() => import("./chunk/StepGeneralIdentityPersonalInfoComponent-DJpsXpNg.js")),
|
|
917
|
+
StepHybridIdentityPersonalInfoComponent: F.lazy(() => import("./chunk/StepHybridIdentityPersonalInfoComponent-CzFYhlAE.js")),
|
|
918
|
+
StepIDCheckLoopComponent: F.lazy(() => import("./chunk/StepIDCheckLoop-CKJFpdU7.js")),
|
|
919
|
+
StepLicensedProfessionalPersonalInfoComponent: F.lazy(() => import("./chunk/StepLicensedProfessionalPersonalInfo-CFaCOVfa.js")),
|
|
920
|
+
StepLowIncomePersonalInfoComponent: F.lazy(() => import("./chunk/StepLowIncomePersonalInfo-B3XQJ7pP.js")),
|
|
921
|
+
StepMedicalProfessionalPersonalInfoComponent: F.lazy(() => import("./chunk/StepMedicalProfessionalPersonalInfo-DlsJbwe3.js")),
|
|
922
|
+
StepMemberPersonalInfoComponent: F.lazy(() => import("./chunk/StepMemberPersonalInfo-Ddm4N4Cl.js")),
|
|
923
|
+
StepConsolationComponent: F.lazy(() => import("./chunk/StepConsolation-YVxz5A3X.js")),
|
|
924
|
+
StepDocUploadComponent: F.lazy(() => import("./chunk/StepDocUpload-8h2y1K6O.js")),
|
|
925
|
+
StepEmailLoopComponent: F.lazy(() => import("./chunk/StepEmailLoop-C7c8DTXQ.js")),
|
|
926
|
+
StepPendingEmailLoopComponent: F.lazy(() => import("./chunk/EmailLoopPending-BnP7C168.js").then((e) => e.n)),
|
|
927
|
+
StepMoverPersonalInfoComponent: F.lazy(() => import("./chunk/StepMoverPersonalInfo-rp6MCvDz.js")),
|
|
928
|
+
StepSMSLoopComponent: F.lazy(() => import("./chunk/StepSMSLoop-jWZFKQ5c.js")),
|
|
929
|
+
StepSocialSecurity: F.lazy(() => import("./chunk/StepSocialSecurityNumber-Cvfvpujv.js")),
|
|
930
|
+
StepSSOComponent: F.lazy(() => import("./chunk/StepSSO-ZHByQpHa.js")),
|
|
931
|
+
StepSuccessComponent: F.lazy(() => import("./chunk/StepSuccess-Dhs4EnW-.js")),
|
|
932
|
+
StepTeacherPersonalInfoComponent: F.lazy(() => import("./chunk/StepTeacherPersonalInfo-D1hIdA2Q.js")),
|
|
933
|
+
StepCompleteAuthentication: F.lazy(() => import("./chunk/StepCompleteAuthentication-D7GOINsk.js")),
|
|
934
|
+
StepCollectIdentifierComponent: F.lazy(() => import("./chunk/StepCollectIdentifier-BTdrX-OE.js")),
|
|
935
|
+
StepCollectPersonalInfo: F.lazy(() => import("./chunk/StepCollectPersonalInfo-tIJ-vjG4.js")),
|
|
936
|
+
StepThirdPartyLoopComponent: F.lazy(() => import("./chunk/StepThirdPartyLoop-BrKuZcYb.js"))
|
|
937
|
+
}, z = (e) => (N.info("getComponent", e), Dt(e) || un[e]), dn = () => /* @__PURE__ */ (0, I.jsx)(gt, {}), fn = ({ stepToLoad: e, verificationService: t }) => {
|
|
938
|
+
N.info(`LoadStepComponent: rendering step: ${e}`);
|
|
938
939
|
let n;
|
|
939
|
-
switch ((0,
|
|
940
|
+
switch ((0, F.useEffect)(() => {
|
|
940
941
|
try {
|
|
941
|
-
performance.mark(
|
|
942
|
+
performance.mark(C.INITIAL_STEP_LOAD);
|
|
942
943
|
} catch {}
|
|
943
|
-
}, []),
|
|
944
|
+
}, []), F.useEffect(() => {
|
|
944
945
|
if (!["pending", "error"].includes(e)) try {
|
|
945
|
-
performance.mark(
|
|
946
|
-
eventName:
|
|
946
|
+
performance.mark(u.STEP_SEEN), d({
|
|
947
|
+
eventName: u.STEP_SEEN,
|
|
947
948
|
params: { step: e }
|
|
948
949
|
});
|
|
949
950
|
} catch (e) {
|
|
950
|
-
|
|
951
|
+
N.error(e);
|
|
951
952
|
}
|
|
952
953
|
}, [e]), e) {
|
|
953
954
|
case "collectPersonalInfo":
|
|
954
|
-
n =
|
|
955
|
+
n = z("StepCollectPersonalInfo");
|
|
955
956
|
break;
|
|
956
957
|
case "collectStudentPersonalInfo":
|
|
957
|
-
n =
|
|
958
|
+
n = z("StepStudentPersonalInfoComponent");
|
|
958
959
|
break;
|
|
959
960
|
case "collectSeniorPersonalInfo":
|
|
960
|
-
n =
|
|
961
|
+
n = z("StepSeniorPersonalInfoComponent");
|
|
961
962
|
break;
|
|
962
963
|
case "collectAgePersonalInfo":
|
|
963
|
-
n =
|
|
964
|
+
n = z("StepAgePersonalInfoComponent");
|
|
964
965
|
break;
|
|
965
966
|
case "collectTeacherPersonalInfo":
|
|
966
|
-
n =
|
|
967
|
+
n = z("StepTeacherPersonalInfoComponent");
|
|
967
968
|
break;
|
|
968
969
|
case "collectMemberPersonalInfo":
|
|
969
|
-
n =
|
|
970
|
+
n = z("StepMemberPersonalInfoComponent");
|
|
970
971
|
break;
|
|
971
972
|
case "collectMilitaryStatus":
|
|
972
|
-
n =
|
|
973
|
+
n = z("StepCollectMilitaryStatusComponent");
|
|
973
974
|
break;
|
|
974
975
|
case "collectActiveMilitaryPersonalInfo":
|
|
975
|
-
n =
|
|
976
|
+
n = z("StepActiveMilitaryPersonalInfoComponent");
|
|
976
977
|
break;
|
|
977
978
|
case "collectInactiveMilitaryPersonalInfo":
|
|
978
|
-
n =
|
|
979
|
+
n = z("StepInactiveMilitaryPersonalInfoComponent");
|
|
979
980
|
break;
|
|
980
981
|
case "collectMilitaryPersonalInfo":
|
|
981
|
-
n =
|
|
982
|
+
n = z("StepCollectMilitaryPersonalInfoComponent");
|
|
982
983
|
break;
|
|
983
984
|
case "collectFirstResponderPersonalInfo":
|
|
984
|
-
n =
|
|
985
|
+
n = z("StepFirstResponderPersonalInfoComponent");
|
|
985
986
|
break;
|
|
986
987
|
case "collectMedicalProfessionalPersonalInfo":
|
|
987
|
-
n =
|
|
988
|
+
n = z("StepMedicalProfessionalPersonalInfoComponent");
|
|
988
989
|
break;
|
|
989
990
|
case "collectEmployeePersonalInfo":
|
|
990
|
-
n =
|
|
991
|
+
n = z("StepEmploymentPersonalInfoComponent");
|
|
991
992
|
break;
|
|
992
993
|
case "collectDriverLicensePersonalInfo":
|
|
993
|
-
n =
|
|
994
|
+
n = z("StepDriverLicensePersonalInfoComponent");
|
|
994
995
|
break;
|
|
995
996
|
case "collectGeneralIdentityPersonalInfo":
|
|
996
|
-
n =
|
|
997
|
+
n = z("StepGeneralIdentityPersonalInfoComponent");
|
|
997
998
|
break;
|
|
998
999
|
case "collectHybridIdentityPersonalInfo":
|
|
999
|
-
n =
|
|
1000
|
+
n = z("StepHybridIdentityPersonalInfoComponent");
|
|
1000
1001
|
break;
|
|
1001
1002
|
case "collectLicensedProfessionalPersonalInfo":
|
|
1002
|
-
n =
|
|
1003
|
+
n = z("StepLicensedProfessionalPersonalInfoComponent");
|
|
1003
1004
|
break;
|
|
1004
1005
|
case "collectMoverPersonalInfo":
|
|
1005
|
-
n =
|
|
1006
|
+
n = z("StepMoverPersonalInfoComponent");
|
|
1006
1007
|
break;
|
|
1007
1008
|
case "collectLowIncomePersonalInfo":
|
|
1008
|
-
n =
|
|
1009
|
+
n = z("StepLowIncomePersonalInfoComponent");
|
|
1009
1010
|
break;
|
|
1010
1011
|
case "collectSocialSecurityNumber":
|
|
1011
|
-
n =
|
|
1012
|
+
n = z("StepSocialSecurity");
|
|
1012
1013
|
break;
|
|
1013
1014
|
case "success":
|
|
1014
|
-
n =
|
|
1015
|
+
n = z("StepSuccessComponent");
|
|
1015
1016
|
break;
|
|
1016
1017
|
case "consolation":
|
|
1017
|
-
n =
|
|
1018
|
+
n = z("StepConsolationComponent");
|
|
1018
1019
|
break;
|
|
1019
1020
|
case "override":
|
|
1020
|
-
n =
|
|
1021
|
+
n = z("StepOverrideComponent");
|
|
1021
1022
|
break;
|
|
1022
1023
|
case "docUpload":
|
|
1023
|
-
n =
|
|
1024
|
+
n = z("StepDocUploadComponent");
|
|
1024
1025
|
break;
|
|
1025
1026
|
case "pending":
|
|
1026
|
-
n =
|
|
1027
|
+
n = z("StepPendingComponent");
|
|
1027
1028
|
break;
|
|
1028
1029
|
case "sso":
|
|
1029
|
-
n =
|
|
1030
|
+
n = z("StepSSOComponent");
|
|
1030
1031
|
break;
|
|
1031
1032
|
case "thirdPartyLoop":
|
|
1032
|
-
n =
|
|
1033
|
+
n = z("StepThirdPartyLoopComponent");
|
|
1033
1034
|
break;
|
|
1034
1035
|
case "smsLoop":
|
|
1035
|
-
n =
|
|
1036
|
+
n = z("StepSMSLoopComponent");
|
|
1036
1037
|
break;
|
|
1037
1038
|
case "emailLoop":
|
|
1038
|
-
n =
|
|
1039
|
+
n = z("StepEmailLoopComponent");
|
|
1039
1040
|
break;
|
|
1040
1041
|
case "idCheckLoop":
|
|
1041
|
-
n =
|
|
1042
|
+
n = z("StepIDCheckLoopComponent");
|
|
1042
1043
|
break;
|
|
1043
1044
|
case "collectIdentifier":
|
|
1044
|
-
n =
|
|
1045
|
+
n = z("StepCollectIdentifierComponent");
|
|
1045
1046
|
break;
|
|
1046
1047
|
case "completeAuthentication":
|
|
1047
|
-
n =
|
|
1048
|
+
n = z("StepCompleteAuthentication");
|
|
1048
1049
|
break;
|
|
1049
|
-
case "missingRequiredMetadata": return n =
|
|
1050
|
+
case "missingRequiredMetadata": return n = z("StepErrorComponent"), /* @__PURE__ */ (0, I.jsx)(n, {
|
|
1050
1051
|
verificationService: t,
|
|
1051
1052
|
errorId: "missingRequiredMetadata"
|
|
1052
1053
|
});
|
|
1053
|
-
case "missingRequiredExternalId": return n =
|
|
1054
|
+
case "missingRequiredExternalId": return n = z("StepErrorComponent"), /* @__PURE__ */ (0, I.jsx)(n, {
|
|
1054
1055
|
verificationService: t,
|
|
1055
1056
|
errorId: "missingRequiredExternalId"
|
|
1056
1057
|
});
|
|
1057
1058
|
case "error":
|
|
1058
|
-
n =
|
|
1059
|
+
n = z("StepErrorComponent");
|
|
1059
1060
|
break;
|
|
1060
1061
|
case "cancelDocUpload":
|
|
1061
1062
|
case "cancelEmailLoop":
|
|
1062
1063
|
case "cancelSocialSecurityNumber":
|
|
1063
1064
|
case "docReviewLimitExceeded":
|
|
1064
|
-
case "emailLoopCollectOrganizationEmail": return
|
|
1065
|
+
case "emailLoopCollectOrganizationEmail": return N.error("Attempted to load unexpected step", e), /* @__PURE__ */ (0, I.jsx)(ln, {
|
|
1065
1066
|
verificationService: t,
|
|
1066
1067
|
errorId: "invalidStep"
|
|
1067
1068
|
});
|
|
1068
|
-
default: return
|
|
1069
|
+
default: return N.error("Unable to load step", e), /* @__PURE__ */ (0, I.jsx)(ln, {
|
|
1069
1070
|
verificationService: t,
|
|
1070
1071
|
errorId: "invalidStep"
|
|
1071
1072
|
});
|
|
1072
1073
|
}
|
|
1073
|
-
return /* @__PURE__ */ (0,
|
|
1074
|
-
fallback:
|
|
1075
|
-
children: /* @__PURE__ */ (0,
|
|
1074
|
+
return /* @__PURE__ */ (0, I.jsx)(F.Suspense, {
|
|
1075
|
+
fallback: dn(),
|
|
1076
|
+
children: /* @__PURE__ */ (0, I.jsx)(n, { verificationService: t })
|
|
1076
1077
|
});
|
|
1077
|
-
},
|
|
1078
|
+
}, pn = ({ dangerouslySetInnerHTML: e, ...t }) => e ? /* @__PURE__ */ (0, I.jsx)("span", {
|
|
1078
1079
|
dangerouslySetInnerHTML: e,
|
|
1079
1080
|
...t
|
|
1080
|
-
}) : /* @__PURE__ */ (0,
|
|
1081
|
+
}) : /* @__PURE__ */ (0, I.jsx)(F.Fragment, { ...t }), mn = ({ verificationService: e }) => e.programTheme?.isTestMode ? /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
1081
1082
|
className: "sid-test-mode-flag sid-l-container sid-l-horz-center",
|
|
1082
1083
|
role: "note",
|
|
1083
|
-
children: ["Test Mode", /* @__PURE__ */ (0,
|
|
1084
|
+
children: ["Test Mode", /* @__PURE__ */ (0, I.jsx)(me, {
|
|
1084
1085
|
className: "sid-test-mode-flag__link",
|
|
1085
1086
|
href: "https://developer.sheerid.com/getting-started#test-program",
|
|
1086
1087
|
"aria-label": "learn more about a sheerid test mode program",
|
|
1087
1088
|
children: "(learn more)"
|
|
1088
1089
|
})]
|
|
1089
|
-
}) : null,
|
|
1090
|
+
}) : null, hn = ({ verificationService: e, title: t, children: n, fallbackLogo: r, classNameIdentifier: i = void 0 }) => /* @__PURE__ */ (0, I.jsxs)("header", {
|
|
1090
1091
|
className: "sid-header",
|
|
1091
1092
|
children: [
|
|
1092
|
-
/* @__PURE__ */ (0,
|
|
1093
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
1093
1094
|
className: `sid-logo-container sid-l-horz-center ${i ? `sid-${i}-logo-container` : ""}`,
|
|
1094
|
-
children: /* @__PURE__ */ (0,
|
|
1095
|
+
children: /* @__PURE__ */ (0, I.jsx)(ct, {
|
|
1095
1096
|
verificationService: e,
|
|
1096
1097
|
fallbackLogo: r
|
|
1097
1098
|
})
|
|
1098
1099
|
}),
|
|
1099
|
-
/* @__PURE__ */ (0,
|
|
1100
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
1100
1101
|
className: `sid-header__title sid-l-horz-center ${i ? `sid-${i}-header` : ""}`,
|
|
1101
|
-
children: /* @__PURE__ */ (0,
|
|
1102
|
+
children: /* @__PURE__ */ (0, I.jsx)("h1", { children: t })
|
|
1102
1103
|
}),
|
|
1103
1104
|
n
|
|
1104
1105
|
]
|
|
1105
1106
|
});
|
|
1106
1107
|
typeof window < "u" && window.document && window.document.createElement;
|
|
1107
|
-
function
|
|
1108
|
+
function B(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
|
|
1108
1109
|
return function(r) {
|
|
1109
1110
|
if (e?.(r), n === !1 || !r.defaultPrevented) return t?.(r);
|
|
1110
1111
|
};
|
|
1111
1112
|
}
|
|
1112
1113
|
//#endregion
|
|
1113
1114
|
//#region ../node_modules/@radix-ui/react-compose-refs/dist/index.mjs
|
|
1114
|
-
function
|
|
1115
|
+
function gn(e, t) {
|
|
1115
1116
|
if (typeof e == "function") return e(t);
|
|
1116
1117
|
e != null && (e.current = t);
|
|
1117
1118
|
}
|
|
1118
|
-
function
|
|
1119
|
+
function _n(...e) {
|
|
1119
1120
|
return (t) => {
|
|
1120
1121
|
let n = !1, r = e.map((e) => {
|
|
1121
|
-
let r =
|
|
1122
|
+
let r = gn(e, t);
|
|
1122
1123
|
return !n && typeof r == "function" && (n = !0), r;
|
|
1123
1124
|
});
|
|
1124
1125
|
if (n) return () => {
|
|
1125
1126
|
for (let t = 0; t < r.length; t++) {
|
|
1126
1127
|
let n = r[t];
|
|
1127
|
-
typeof n == "function" ? n() :
|
|
1128
|
+
typeof n == "function" ? n() : gn(e[t], null);
|
|
1128
1129
|
}
|
|
1129
1130
|
};
|
|
1130
1131
|
};
|
|
1131
1132
|
}
|
|
1132
|
-
function
|
|
1133
|
-
return
|
|
1133
|
+
function V(...e) {
|
|
1134
|
+
return F.useCallback(_n(...e), e);
|
|
1134
1135
|
}
|
|
1135
1136
|
//#endregion
|
|
1136
1137
|
//#region ../node_modules/@radix-ui/react-context/dist/index.mjs
|
|
1137
|
-
function
|
|
1138
|
+
function vn(e, t = []) {
|
|
1138
1139
|
let n = [];
|
|
1139
1140
|
function r(t, r) {
|
|
1140
|
-
let i =
|
|
1141
|
+
let i = F.createContext(r), a = n.length;
|
|
1141
1142
|
n = [...n, r];
|
|
1142
1143
|
let o = (t) => {
|
|
1143
|
-
let { scope: n, children: r, ...o } = t, s = n?.[e]?.[a] || i, c =
|
|
1144
|
-
return /* @__PURE__ */ (0,
|
|
1144
|
+
let { scope: n, children: r, ...o } = t, s = n?.[e]?.[a] || i, c = F.useMemo(() => o, Object.values(o));
|
|
1145
|
+
return /* @__PURE__ */ (0, I.jsx)(s.Provider, {
|
|
1145
1146
|
value: c,
|
|
1146
1147
|
children: r
|
|
1147
1148
|
});
|
|
1148
1149
|
};
|
|
1149
1150
|
o.displayName = t + "Provider";
|
|
1150
1151
|
function s(n, o) {
|
|
1151
|
-
let s = o?.[e]?.[a] || i, c =
|
|
1152
|
+
let s = o?.[e]?.[a] || i, c = F.useContext(s);
|
|
1152
1153
|
if (c) return c;
|
|
1153
1154
|
if (r !== void 0) return r;
|
|
1154
1155
|
throw Error(`\`${n}\` must be used within \`${t}\``);
|
|
@@ -1156,18 +1157,18 @@ function bn(e, t = []) {
|
|
|
1156
1157
|
return [o, s];
|
|
1157
1158
|
}
|
|
1158
1159
|
let i = () => {
|
|
1159
|
-
let t = n.map((e) =>
|
|
1160
|
+
let t = n.map((e) => F.createContext(e));
|
|
1160
1161
|
return function(n) {
|
|
1161
1162
|
let r = n?.[e] || t;
|
|
1162
|
-
return
|
|
1163
|
+
return F.useMemo(() => ({ [`__scope${e}`]: {
|
|
1163
1164
|
...n,
|
|
1164
1165
|
[e]: r
|
|
1165
1166
|
} }), [n, r]);
|
|
1166
1167
|
};
|
|
1167
1168
|
};
|
|
1168
|
-
return i.scopeName = e, [r,
|
|
1169
|
+
return i.scopeName = e, [r, yn(i, ...t)];
|
|
1169
1170
|
}
|
|
1170
|
-
function
|
|
1171
|
+
function yn(...e) {
|
|
1171
1172
|
let t = e[0];
|
|
1172
1173
|
if (e.length === 1) return t;
|
|
1173
1174
|
let n = () => {
|
|
@@ -1183,7 +1184,7 @@ function xn(...e) {
|
|
|
1183
1184
|
...i
|
|
1184
1185
|
};
|
|
1185
1186
|
}, {});
|
|
1186
|
-
return
|
|
1187
|
+
return F.useMemo(() => ({ [`__scope${t.scopeName}`]: r }), [r]);
|
|
1187
1188
|
};
|
|
1188
1189
|
};
|
|
1189
1190
|
return n.scopeName = t.scopeName, n;
|
|
@@ -1191,18 +1192,18 @@ function xn(...e) {
|
|
|
1191
1192
|
//#endregion
|
|
1192
1193
|
//#region ../node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
1193
1194
|
// @__NO_SIDE_EFFECTS__
|
|
1194
|
-
function
|
|
1195
|
-
let t = /* @__PURE__ */
|
|
1196
|
-
let { children: r, ...i } = e, a =
|
|
1195
|
+
function bn(e) {
|
|
1196
|
+
let t = /* @__PURE__ */ xn(e), n = F.forwardRef((e, n) => {
|
|
1197
|
+
let { children: r, ...i } = e, a = F.Children.toArray(r), o = a.find(Cn);
|
|
1197
1198
|
if (o) {
|
|
1198
|
-
let e = o.props.children, r = a.map((t) => t === o ?
|
|
1199
|
-
return /* @__PURE__ */ (0,
|
|
1199
|
+
let e = o.props.children, r = a.map((t) => t === o ? F.Children.count(e) > 1 ? F.Children.only(null) : F.isValidElement(e) ? e.props.children : null : t);
|
|
1200
|
+
return /* @__PURE__ */ (0, I.jsx)(t, {
|
|
1200
1201
|
...i,
|
|
1201
1202
|
ref: n,
|
|
1202
|
-
children:
|
|
1203
|
+
children: F.isValidElement(e) ? F.cloneElement(e, void 0, r) : null
|
|
1203
1204
|
});
|
|
1204
1205
|
}
|
|
1205
|
-
return /* @__PURE__ */ (0,
|
|
1206
|
+
return /* @__PURE__ */ (0, I.jsx)(t, {
|
|
1206
1207
|
...i,
|
|
1207
1208
|
ref: n,
|
|
1208
1209
|
children: r
|
|
@@ -1211,22 +1212,22 @@ function Sn(e) {
|
|
|
1211
1212
|
return n.displayName = `${e}.Slot`, n;
|
|
1212
1213
|
}
|
|
1213
1214
|
// @__NO_SIDE_EFFECTS__
|
|
1214
|
-
function
|
|
1215
|
-
let t =
|
|
1215
|
+
function xn(e) {
|
|
1216
|
+
let t = F.forwardRef((e, t) => {
|
|
1216
1217
|
let { children: n, ...r } = e;
|
|
1217
|
-
if (
|
|
1218
|
-
let e =
|
|
1219
|
-
return n.type !==
|
|
1218
|
+
if (F.isValidElement(n)) {
|
|
1219
|
+
let e = Tn(n), i = wn(r, n.props);
|
|
1220
|
+
return n.type !== F.Fragment && (i.ref = t ? _n(t, e) : e), F.cloneElement(n, i);
|
|
1220
1221
|
}
|
|
1221
|
-
return
|
|
1222
|
+
return F.Children.count(n) > 1 ? F.Children.only(null) : null;
|
|
1222
1223
|
});
|
|
1223
1224
|
return t.displayName = `${e}.SlotClone`, t;
|
|
1224
1225
|
}
|
|
1225
|
-
var
|
|
1226
|
-
function
|
|
1227
|
-
return
|
|
1226
|
+
var Sn = Symbol("radix.slottable");
|
|
1227
|
+
function Cn(e) {
|
|
1228
|
+
return F.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === Sn;
|
|
1228
1229
|
}
|
|
1229
|
-
function
|
|
1230
|
+
function wn(e, t) {
|
|
1230
1231
|
let n = { ...t };
|
|
1231
1232
|
for (let r in t) {
|
|
1232
1233
|
let i = e[r], a = t[r];
|
|
@@ -1243,13 +1244,13 @@ function En(e, t) {
|
|
|
1243
1244
|
...n
|
|
1244
1245
|
};
|
|
1245
1246
|
}
|
|
1246
|
-
function
|
|
1247
|
+
function Tn(e) {
|
|
1247
1248
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
1248
1249
|
return n ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
|
|
1249
1250
|
}
|
|
1250
1251
|
//#endregion
|
|
1251
1252
|
//#region ../node_modules/@radix-ui/react-primitive/dist/index.mjs
|
|
1252
|
-
var
|
|
1253
|
+
var H = [
|
|
1253
1254
|
"a",
|
|
1254
1255
|
"button",
|
|
1255
1256
|
"div",
|
|
@@ -1268,9 +1269,9 @@ var B = [
|
|
|
1268
1269
|
"svg",
|
|
1269
1270
|
"ul"
|
|
1270
1271
|
].reduce((e, t) => {
|
|
1271
|
-
let n = /* @__PURE__ */
|
|
1272
|
+
let n = /* @__PURE__ */ bn(`Primitive.${t}`), r = F.forwardRef((e, r) => {
|
|
1272
1273
|
let { asChild: i, ...a } = e, o = i ? n : t;
|
|
1273
|
-
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ (0,
|
|
1274
|
+
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ (0, I.jsx)(o, {
|
|
1274
1275
|
...a,
|
|
1275
1276
|
ref: r
|
|
1276
1277
|
});
|
|
@@ -1280,22 +1281,22 @@ var B = [
|
|
|
1280
1281
|
[t]: r
|
|
1281
1282
|
};
|
|
1282
1283
|
}, {});
|
|
1283
|
-
function
|
|
1284
|
-
e &&
|
|
1284
|
+
function En(e, t) {
|
|
1285
|
+
e && ft.flushSync(() => e.dispatchEvent(t));
|
|
1285
1286
|
}
|
|
1286
1287
|
//#endregion
|
|
1287
1288
|
//#region ../node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
|
|
1288
|
-
function
|
|
1289
|
-
let t =
|
|
1290
|
-
return
|
|
1289
|
+
function Dn(e) {
|
|
1290
|
+
let t = F.useRef(e);
|
|
1291
|
+
return F.useEffect(() => {
|
|
1291
1292
|
t.current = e;
|
|
1292
|
-
}),
|
|
1293
|
+
}), F.useMemo(() => (...e) => t.current?.(...e), []);
|
|
1293
1294
|
}
|
|
1294
1295
|
//#endregion
|
|
1295
1296
|
//#region ../node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs
|
|
1296
|
-
function
|
|
1297
|
-
let n =
|
|
1298
|
-
|
|
1297
|
+
function On(e, t = globalThis?.document) {
|
|
1298
|
+
let n = Dn(e);
|
|
1299
|
+
F.useEffect(() => {
|
|
1299
1300
|
let e = (e) => {
|
|
1300
1301
|
e.key === "Escape" && n(e);
|
|
1301
1302
|
};
|
|
@@ -1304,67 +1305,67 @@ function An(e, t = globalThis?.document) {
|
|
|
1304
1305
|
}
|
|
1305
1306
|
//#endregion
|
|
1306
1307
|
//#region ../node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
|
|
1307
|
-
var
|
|
1308
|
+
var kn = "DismissableLayer", An = "dismissableLayer.update", jn = "dismissableLayer.pointerDownOutside", Mn = "dismissableLayer.focusOutside", Nn, Pn = F.createContext({
|
|
1308
1309
|
layers: /* @__PURE__ */ new Set(),
|
|
1309
1310
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
1310
1311
|
branches: /* @__PURE__ */ new Set()
|
|
1311
|
-
}),
|
|
1312
|
-
let { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: o, onDismiss: s, ...c } = e, l =
|
|
1312
|
+
}), Fn = F.forwardRef((e, t) => {
|
|
1313
|
+
let { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: o, onDismiss: s, ...c } = e, l = F.useContext(Pn), [u, d] = F.useState(null), f = u?.ownerDocument ?? globalThis?.document, [, p] = F.useState({}), m = V(t, (e) => d(e)), h = Array.from(l.layers), [g] = [...l.layersWithOutsidePointerEventsDisabled].slice(-1), _ = h.indexOf(g), v = u ? h.indexOf(u) : -1, y = l.layersWithOutsidePointerEventsDisabled.size > 0, b = v >= _, x = Rn((e) => {
|
|
1313
1314
|
let t = e.target, n = [...l.branches].some((e) => e.contains(t));
|
|
1314
1315
|
!b || n || (i?.(e), o?.(e), e.defaultPrevented || s?.());
|
|
1315
|
-
}, f), S =
|
|
1316
|
+
}, f), S = zn((e) => {
|
|
1316
1317
|
let t = e.target;
|
|
1317
1318
|
[...l.branches].some((e) => e.contains(t)) || (a?.(e), o?.(e), e.defaultPrevented || s?.());
|
|
1318
1319
|
}, f);
|
|
1319
|
-
return
|
|
1320
|
+
return On((e) => {
|
|
1320
1321
|
v === l.layers.size - 1 && (r?.(e), !e.defaultPrevented && s && (e.preventDefault(), s()));
|
|
1321
|
-
}, f),
|
|
1322
|
-
if (u) return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (
|
|
1323
|
-
n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (f.body.style.pointerEvents =
|
|
1322
|
+
}, f), F.useEffect(() => {
|
|
1323
|
+
if (u) return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (Nn = f.body.style.pointerEvents, f.body.style.pointerEvents = "none"), l.layersWithOutsidePointerEventsDisabled.add(u)), l.layers.add(u), Bn(), () => {
|
|
1324
|
+
n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (f.body.style.pointerEvents = Nn);
|
|
1324
1325
|
};
|
|
1325
1326
|
}, [
|
|
1326
1327
|
u,
|
|
1327
1328
|
f,
|
|
1328
1329
|
n,
|
|
1329
1330
|
l
|
|
1330
|
-
]),
|
|
1331
|
-
u && (l.layers.delete(u), l.layersWithOutsidePointerEventsDisabled.delete(u),
|
|
1332
|
-
}, [u, l]),
|
|
1331
|
+
]), F.useEffect(() => () => {
|
|
1332
|
+
u && (l.layers.delete(u), l.layersWithOutsidePointerEventsDisabled.delete(u), Bn());
|
|
1333
|
+
}, [u, l]), F.useEffect(() => {
|
|
1333
1334
|
let e = () => p({});
|
|
1334
|
-
return document.addEventListener(
|
|
1335
|
-
}, []), /* @__PURE__ */ (0,
|
|
1335
|
+
return document.addEventListener(An, e), () => document.removeEventListener(An, e);
|
|
1336
|
+
}, []), /* @__PURE__ */ (0, I.jsx)(H.div, {
|
|
1336
1337
|
...c,
|
|
1337
1338
|
ref: m,
|
|
1338
1339
|
style: {
|
|
1339
1340
|
pointerEvents: y ? b ? "auto" : "none" : void 0,
|
|
1340
1341
|
...e.style
|
|
1341
1342
|
},
|
|
1342
|
-
onFocusCapture:
|
|
1343
|
-
onBlurCapture:
|
|
1344
|
-
onPointerDownCapture:
|
|
1343
|
+
onFocusCapture: B(e.onFocusCapture, S.onFocusCapture),
|
|
1344
|
+
onBlurCapture: B(e.onBlurCapture, S.onBlurCapture),
|
|
1345
|
+
onPointerDownCapture: B(e.onPointerDownCapture, x.onPointerDownCapture)
|
|
1345
1346
|
});
|
|
1346
1347
|
});
|
|
1347
|
-
|
|
1348
|
-
var
|
|
1349
|
-
let n =
|
|
1350
|
-
return
|
|
1348
|
+
Fn.displayName = kn;
|
|
1349
|
+
var In = "DismissableLayerBranch", Ln = F.forwardRef((e, t) => {
|
|
1350
|
+
let n = F.useContext(Pn), r = F.useRef(null), i = V(t, r);
|
|
1351
|
+
return F.useEffect(() => {
|
|
1351
1352
|
let e = r.current;
|
|
1352
1353
|
if (e) return n.branches.add(e), () => {
|
|
1353
1354
|
n.branches.delete(e);
|
|
1354
1355
|
};
|
|
1355
|
-
}, [n.branches]), /* @__PURE__ */ (0,
|
|
1356
|
+
}, [n.branches]), /* @__PURE__ */ (0, I.jsx)(H.div, {
|
|
1356
1357
|
...e,
|
|
1357
1358
|
ref: i
|
|
1358
1359
|
});
|
|
1359
1360
|
});
|
|
1360
|
-
|
|
1361
|
-
function
|
|
1362
|
-
let n =
|
|
1363
|
-
return
|
|
1361
|
+
Ln.displayName = In;
|
|
1362
|
+
function Rn(e, t = globalThis?.document) {
|
|
1363
|
+
let n = Dn(e), r = F.useRef(!1), i = F.useRef(() => {});
|
|
1364
|
+
return F.useEffect(() => {
|
|
1364
1365
|
let e = (e) => {
|
|
1365
1366
|
if (e.target && !r.current) {
|
|
1366
1367
|
let r = function() {
|
|
1367
|
-
|
|
1368
|
+
Vn(jn, n, a, { discrete: !0 });
|
|
1368
1369
|
}, a = { originalEvent: e };
|
|
1369
1370
|
e.pointerType === "touch" ? (t.removeEventListener("click", i.current), i.current = r, t.addEventListener("click", i.current, { once: !0 })) : r();
|
|
1370
1371
|
} else t.removeEventListener("click", i.current);
|
|
@@ -1377,11 +1378,11 @@ function Bn(e, t = globalThis?.document) {
|
|
|
1377
1378
|
};
|
|
1378
1379
|
}, [t, n]), { onPointerDownCapture: () => r.current = !0 };
|
|
1379
1380
|
}
|
|
1380
|
-
function
|
|
1381
|
-
let n =
|
|
1382
|
-
return
|
|
1381
|
+
function zn(e, t = globalThis?.document) {
|
|
1382
|
+
let n = Dn(e), r = F.useRef(!1);
|
|
1383
|
+
return F.useEffect(() => {
|
|
1383
1384
|
let e = (e) => {
|
|
1384
|
-
e.target && !r.current &&
|
|
1385
|
+
e.target && !r.current && Vn(Mn, n, { originalEvent: e }, { discrete: !1 });
|
|
1385
1386
|
};
|
|
1386
1387
|
return t.addEventListener("focusin", e), () => t.removeEventListener("focusin", e);
|
|
1387
1388
|
}, [t, n]), {
|
|
@@ -1389,40 +1390,40 @@ function Vn(e, t = globalThis?.document) {
|
|
|
1389
1390
|
onBlurCapture: () => r.current = !1
|
|
1390
1391
|
};
|
|
1391
1392
|
}
|
|
1392
|
-
function
|
|
1393
|
-
let e = new CustomEvent(
|
|
1393
|
+
function Bn() {
|
|
1394
|
+
let e = new CustomEvent(An);
|
|
1394
1395
|
document.dispatchEvent(e);
|
|
1395
1396
|
}
|
|
1396
|
-
function
|
|
1397
|
+
function Vn(e, t, n, { discrete: r }) {
|
|
1397
1398
|
let i = n.originalEvent.target, a = new CustomEvent(e, {
|
|
1398
1399
|
bubbles: !1,
|
|
1399
1400
|
cancelable: !0,
|
|
1400
1401
|
detail: n
|
|
1401
1402
|
});
|
|
1402
|
-
t && i.addEventListener(e, t, { once: !0 }), r ?
|
|
1403
|
+
t && i.addEventListener(e, t, { once: !0 }), r ? En(i, a) : i.dispatchEvent(a);
|
|
1403
1404
|
}
|
|
1404
1405
|
//#endregion
|
|
1405
1406
|
//#region ../node_modules/@radix-ui/react-focus-guards/dist/index.mjs
|
|
1406
|
-
var
|
|
1407
|
-
function
|
|
1408
|
-
|
|
1407
|
+
var Hn = 0;
|
|
1408
|
+
function Un() {
|
|
1409
|
+
F.useEffect(() => {
|
|
1409
1410
|
let e = document.querySelectorAll("[data-radix-focus-guard]");
|
|
1410
|
-
return document.body.insertAdjacentElement("afterbegin", e[0] ??
|
|
1411
|
-
|
|
1411
|
+
return document.body.insertAdjacentElement("afterbegin", e[0] ?? Wn()), document.body.insertAdjacentElement("beforeend", e[1] ?? Wn()), Hn++, () => {
|
|
1412
|
+
Hn === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((e) => e.remove()), Hn--;
|
|
1412
1413
|
};
|
|
1413
1414
|
}, []);
|
|
1414
1415
|
}
|
|
1415
|
-
function
|
|
1416
|
+
function Wn() {
|
|
1416
1417
|
let e = document.createElement("span");
|
|
1417
1418
|
return e.setAttribute("data-radix-focus-guard", ""), e.tabIndex = 0, e.style.outline = "none", e.style.opacity = "0", e.style.position = "fixed", e.style.pointerEvents = "none", e;
|
|
1418
1419
|
}
|
|
1419
1420
|
//#endregion
|
|
1420
1421
|
//#region ../node_modules/@radix-ui/react-focus-scope/dist/index.mjs
|
|
1421
|
-
var
|
|
1422
|
+
var Gn = "focusScope.autoFocusOnMount", Kn = "focusScope.autoFocusOnUnmount", qn = {
|
|
1422
1423
|
bubbles: !1,
|
|
1423
1424
|
cancelable: !0
|
|
1424
|
-
},
|
|
1425
|
-
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [s, c] =
|
|
1425
|
+
}, Jn = "FocusScope", Yn = F.forwardRef((e, t) => {
|
|
1426
|
+
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [s, c] = F.useState(null), l = Dn(i), u = Dn(a), d = F.useRef(null), f = V(t, (e) => c(e)), p = F.useRef({
|
|
1426
1427
|
paused: !1,
|
|
1427
1428
|
pause() {
|
|
1428
1429
|
this.paused = !0;
|
|
@@ -1431,18 +1432,18 @@ var qn = "focusScope.autoFocusOnMount", Jn = "focusScope.autoFocusOnUnmount", Yn
|
|
|
1431
1432
|
this.paused = !1;
|
|
1432
1433
|
}
|
|
1433
1434
|
}).current;
|
|
1434
|
-
|
|
1435
|
+
F.useEffect(() => {
|
|
1435
1436
|
if (r) {
|
|
1436
1437
|
let e = function(e) {
|
|
1437
1438
|
if (p.paused || !s) return;
|
|
1438
1439
|
let t = e.target;
|
|
1439
|
-
s.contains(t) ? d.current = t :
|
|
1440
|
+
s.contains(t) ? d.current = t : nr(d.current, { select: !0 });
|
|
1440
1441
|
}, t = function(e) {
|
|
1441
1442
|
if (p.paused || !s) return;
|
|
1442
1443
|
let t = e.relatedTarget;
|
|
1443
|
-
t !== null && (s.contains(t) ||
|
|
1444
|
+
t !== null && (s.contains(t) || nr(d.current, { select: !0 }));
|
|
1444
1445
|
}, n = function(e) {
|
|
1445
|
-
if (document.activeElement === document.body) for (let t of e) t.removedNodes.length > 0 &&
|
|
1446
|
+
if (document.activeElement === document.body) for (let t of e) t.removedNodes.length > 0 && nr(s);
|
|
1446
1447
|
};
|
|
1447
1448
|
document.addEventListener("focusin", e), document.addEventListener("focusout", t);
|
|
1448
1449
|
let r = new MutationObserver(n);
|
|
@@ -1457,18 +1458,18 @@ var qn = "focusScope.autoFocusOnMount", Jn = "focusScope.autoFocusOnUnmount", Yn
|
|
|
1457
1458
|
r,
|
|
1458
1459
|
s,
|
|
1459
1460
|
p.paused
|
|
1460
|
-
]),
|
|
1461
|
+
]), F.useEffect(() => {
|
|
1461
1462
|
if (s) {
|
|
1462
|
-
|
|
1463
|
+
rr.add(p);
|
|
1463
1464
|
let e = document.activeElement;
|
|
1464
1465
|
if (!s.contains(e)) {
|
|
1465
|
-
let t = new CustomEvent(
|
|
1466
|
-
s.addEventListener(
|
|
1466
|
+
let t = new CustomEvent(Gn, qn);
|
|
1467
|
+
s.addEventListener(Gn, l), s.dispatchEvent(t), t.defaultPrevented || (Xn(or(Qn(s)), { select: !0 }), document.activeElement === e && nr(s));
|
|
1467
1468
|
}
|
|
1468
1469
|
return () => {
|
|
1469
|
-
s.removeEventListener(
|
|
1470
|
-
let t = new CustomEvent(
|
|
1471
|
-
s.addEventListener(
|
|
1470
|
+
s.removeEventListener(Gn, l), setTimeout(() => {
|
|
1471
|
+
let t = new CustomEvent(Kn, qn);
|
|
1472
|
+
s.addEventListener(Kn, u), s.dispatchEvent(t), t.defaultPrevented || nr(e ?? document.body, { select: !0 }), s.removeEventListener(Kn, u), rr.remove(p);
|
|
1472
1473
|
}, 0);
|
|
1473
1474
|
};
|
|
1474
1475
|
}
|
|
@@ -1478,35 +1479,35 @@ var qn = "focusScope.autoFocusOnMount", Jn = "focusScope.autoFocusOnUnmount", Yn
|
|
|
1478
1479
|
u,
|
|
1479
1480
|
p
|
|
1480
1481
|
]);
|
|
1481
|
-
let m =
|
|
1482
|
+
let m = F.useCallback((e) => {
|
|
1482
1483
|
if (!n && !r || p.paused) return;
|
|
1483
1484
|
let t = e.key === "Tab" && !e.altKey && !e.ctrlKey && !e.metaKey, i = document.activeElement;
|
|
1484
1485
|
if (t && i) {
|
|
1485
|
-
let t = e.currentTarget, [r, a] =
|
|
1486
|
-
r && a ? !e.shiftKey && i === a ? (e.preventDefault(), n &&
|
|
1486
|
+
let t = e.currentTarget, [r, a] = Zn(t);
|
|
1487
|
+
r && a ? !e.shiftKey && i === a ? (e.preventDefault(), n && nr(r, { select: !0 })) : e.shiftKey && i === r && (e.preventDefault(), n && nr(a, { select: !0 })) : i === t && e.preventDefault();
|
|
1487
1488
|
}
|
|
1488
1489
|
}, [
|
|
1489
1490
|
n,
|
|
1490
1491
|
r,
|
|
1491
1492
|
p.paused
|
|
1492
1493
|
]);
|
|
1493
|
-
return /* @__PURE__ */ (0,
|
|
1494
|
+
return /* @__PURE__ */ (0, I.jsx)(H.div, {
|
|
1494
1495
|
tabIndex: -1,
|
|
1495
1496
|
...o,
|
|
1496
1497
|
ref: f,
|
|
1497
1498
|
onKeyDown: m
|
|
1498
1499
|
});
|
|
1499
1500
|
});
|
|
1500
|
-
|
|
1501
|
-
function
|
|
1501
|
+
Yn.displayName = Jn;
|
|
1502
|
+
function Xn(e, { select: t = !1 } = {}) {
|
|
1502
1503
|
let n = document.activeElement;
|
|
1503
|
-
for (let r of e) if (
|
|
1504
|
+
for (let r of e) if (nr(r, { select: t }), document.activeElement !== n) return;
|
|
1504
1505
|
}
|
|
1505
|
-
function
|
|
1506
|
-
let t =
|
|
1507
|
-
return [
|
|
1506
|
+
function Zn(e) {
|
|
1507
|
+
let t = Qn(e);
|
|
1508
|
+
return [$n(t, e), $n(t.reverse(), e)];
|
|
1508
1509
|
}
|
|
1509
|
-
function
|
|
1510
|
+
function Qn(e) {
|
|
1510
1511
|
let t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, { acceptNode: (e) => {
|
|
1511
1512
|
let t = e.tagName === "INPUT" && e.type === "hidden";
|
|
1512
1513
|
return e.disabled || e.hidden || t ? NodeFilter.FILTER_SKIP : e.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
|
|
@@ -1514,10 +1515,10 @@ function er(e) {
|
|
|
1514
1515
|
for (; n.nextNode();) t.push(n.currentNode);
|
|
1515
1516
|
return t;
|
|
1516
1517
|
}
|
|
1517
|
-
function
|
|
1518
|
-
for (let n of e) if (!
|
|
1518
|
+
function $n(e, t) {
|
|
1519
|
+
for (let n of e) if (!er(n, { upTo: t })) return n;
|
|
1519
1520
|
}
|
|
1520
|
-
function
|
|
1521
|
+
function er(e, { upTo: t }) {
|
|
1521
1522
|
if (getComputedStyle(e).visibility === "hidden") return !0;
|
|
1522
1523
|
for (; e;) {
|
|
1523
1524
|
if (t !== void 0 && e === t) return !1;
|
|
@@ -1526,41 +1527,41 @@ function nr(e, { upTo: t }) {
|
|
|
1526
1527
|
}
|
|
1527
1528
|
return !1;
|
|
1528
1529
|
}
|
|
1529
|
-
function
|
|
1530
|
+
function tr(e) {
|
|
1530
1531
|
return e instanceof HTMLInputElement && "select" in e;
|
|
1531
1532
|
}
|
|
1532
|
-
function
|
|
1533
|
+
function nr(e, { select: t = !1 } = {}) {
|
|
1533
1534
|
if (e && e.focus) {
|
|
1534
1535
|
let n = document.activeElement;
|
|
1535
|
-
e.focus({ preventScroll: !0 }), e !== n &&
|
|
1536
|
+
e.focus({ preventScroll: !0 }), e !== n && tr(e) && t && e.select();
|
|
1536
1537
|
}
|
|
1537
1538
|
}
|
|
1538
|
-
var
|
|
1539
|
-
function
|
|
1539
|
+
var rr = ir();
|
|
1540
|
+
function ir() {
|
|
1540
1541
|
let e = [];
|
|
1541
1542
|
return {
|
|
1542
1543
|
add(t) {
|
|
1543
1544
|
let n = e[0];
|
|
1544
|
-
t !== n && n?.pause(), e =
|
|
1545
|
+
t !== n && n?.pause(), e = ar(e, t), e.unshift(t);
|
|
1545
1546
|
},
|
|
1546
1547
|
remove(t) {
|
|
1547
|
-
e =
|
|
1548
|
+
e = ar(e, t), e[0]?.resume();
|
|
1548
1549
|
}
|
|
1549
1550
|
};
|
|
1550
1551
|
}
|
|
1551
|
-
function
|
|
1552
|
+
function ar(e, t) {
|
|
1552
1553
|
let n = [...e], r = n.indexOf(t);
|
|
1553
1554
|
return r !== -1 && n.splice(r, 1), n;
|
|
1554
1555
|
}
|
|
1555
|
-
function
|
|
1556
|
+
function or(e) {
|
|
1556
1557
|
return e.filter((e) => e.tagName !== "A");
|
|
1557
1558
|
}
|
|
1558
1559
|
//#endregion
|
|
1559
1560
|
//#region ../node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
|
|
1560
|
-
var
|
|
1561
|
+
var sr = globalThis?.document ? F.useLayoutEffect : () => {}, cr = F.useId || (() => void 0), lr = 0;
|
|
1561
1562
|
function ur(e) {
|
|
1562
|
-
let [t, n] =
|
|
1563
|
-
return
|
|
1563
|
+
let [t, n] = F.useState(cr());
|
|
1564
|
+
return sr(() => {
|
|
1564
1565
|
e || n((e) => e ?? String(lr++));
|
|
1565
1566
|
}, [e]), e || (t ? `radix-${t}` : "");
|
|
1566
1567
|
}
|
|
@@ -1794,12 +1795,12 @@ var Ir = 50, Lr = async (e, t, n) => {
|
|
|
1794
1795
|
y: r
|
|
1795
1796
|
}, p = br(i), m = yr(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;
|
|
1796
1797
|
(!C || !await (o.isElement == null ? void 0 : o.isElement(S))) && (C = s.floating[y] || a.floating[m]);
|
|
1797
|
-
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1, ee = fr(d[_], T),
|
|
1798
|
+
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1, ee = fr(d[_], T), E = fr(d[v], T), D = ee, O = C - h[m] - E, k = C / 2 - h[m] / 2 + w, te = gr(D, k, O), A = !c.arrow && _r(i) != null && k !== te && a.reference[m] / 2 - (k < D ? ee : E) - h[m] / 2 < 0, j = A ? k < D ? k - D : k - O : 0;
|
|
1798
1799
|
return {
|
|
1799
1800
|
[p]: f[p] + j,
|
|
1800
1801
|
data: {
|
|
1801
|
-
[p]:
|
|
1802
|
-
centerOffset:
|
|
1802
|
+
[p]: te,
|
|
1803
|
+
centerOffset: k - te - j,
|
|
1803
1804
|
...A && { alignmentOffset: j }
|
|
1804
1805
|
},
|
|
1805
1806
|
reset: A
|
|
@@ -2445,7 +2446,7 @@ var Gi = Gr, Ki = Kr, qi = zr, Ji = Jr, Yi = Hr, Xi = Rr, Zi = qr, Qi = (e, t, n
|
|
|
2445
2446
|
...i,
|
|
2446
2447
|
platform: a
|
|
2447
2448
|
});
|
|
2448
|
-
}, $i = typeof document < "u" ?
|
|
2449
|
+
}, $i = typeof document < "u" ? F.useLayoutEffect : function() {};
|
|
2449
2450
|
function ea(e, t) {
|
|
2450
2451
|
if (e === t) return !0;
|
|
2451
2452
|
if (typeof e != typeof t) return !1;
|
|
@@ -2475,39 +2476,39 @@ function na(e, t) {
|
|
|
2475
2476
|
return Math.round(t * n) / n;
|
|
2476
2477
|
}
|
|
2477
2478
|
function ra(e) {
|
|
2478
|
-
let t =
|
|
2479
|
+
let t = F.useRef(e);
|
|
2479
2480
|
return $i(() => {
|
|
2480
2481
|
t.current = e;
|
|
2481
2482
|
}), t;
|
|
2482
2483
|
}
|
|
2483
2484
|
function ia(e) {
|
|
2484
2485
|
e === void 0 && (e = {});
|
|
2485
|
-
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] =
|
|
2486
|
+
let { placement: t = "bottom", strategy: n = "absolute", middleware: r = [], platform: i, elements: { reference: a, floating: o } = {}, transform: s = !0, whileElementsMounted: c, open: l } = e, [u, d] = F.useState({
|
|
2486
2487
|
x: 0,
|
|
2487
2488
|
y: 0,
|
|
2488
2489
|
strategy: n,
|
|
2489
2490
|
placement: t,
|
|
2490
2491
|
middlewareData: {},
|
|
2491
2492
|
isPositioned: !1
|
|
2492
|
-
}), [f, p] =
|
|
2493
|
+
}), [f, p] = F.useState(r);
|
|
2493
2494
|
ea(f, r) || p(r);
|
|
2494
|
-
let [m, h] =
|
|
2495
|
+
let [m, h] = F.useState(null), [g, _] = F.useState(null), v = F.useCallback((e) => {
|
|
2495
2496
|
e !== S.current && (S.current = e, h(e));
|
|
2496
|
-
}, []), y =
|
|
2497
|
+
}, []), y = F.useCallback((e) => {
|
|
2497
2498
|
e !== C.current && (C.current = e, _(e));
|
|
2498
|
-
}, []), b = a || m, x = o || g, S =
|
|
2499
|
+
}, []), b = a || m, x = o || g, S = F.useRef(null), C = F.useRef(null), w = F.useRef(u), T = c != null, ee = ra(c), E = ra(i), D = ra(l), O = F.useCallback(() => {
|
|
2499
2500
|
if (!S.current || !C.current) return;
|
|
2500
2501
|
let e = {
|
|
2501
2502
|
placement: t,
|
|
2502
2503
|
strategy: n,
|
|
2503
2504
|
middleware: f
|
|
2504
2505
|
};
|
|
2505
|
-
|
|
2506
|
+
E.current && (e.platform = E.current), Qi(S.current, C.current, e).then((e) => {
|
|
2506
2507
|
let t = {
|
|
2507
2508
|
...e,
|
|
2508
|
-
isPositioned:
|
|
2509
|
+
isPositioned: D.current !== !1
|
|
2509
2510
|
};
|
|
2510
|
-
|
|
2511
|
+
k.current && !ea(w.current, t) && (w.current = t, ft.flushSync(() => {
|
|
2511
2512
|
d(t);
|
|
2512
2513
|
}));
|
|
2513
2514
|
});
|
|
@@ -2515,8 +2516,8 @@ function ia(e) {
|
|
|
2515
2516
|
f,
|
|
2516
2517
|
t,
|
|
2517
2518
|
n,
|
|
2518
|
-
|
|
2519
|
-
|
|
2519
|
+
E,
|
|
2520
|
+
D
|
|
2520
2521
|
]);
|
|
2521
2522
|
$i(() => {
|
|
2522
2523
|
l === !1 && w.current.isPositioned && (w.current.isPositioned = !1, d((e) => ({
|
|
@@ -2524,30 +2525,30 @@ function ia(e) {
|
|
|
2524
2525
|
isPositioned: !1
|
|
2525
2526
|
})));
|
|
2526
2527
|
}, [l]);
|
|
2527
|
-
let
|
|
2528
|
-
$i(() => (
|
|
2529
|
-
|
|
2528
|
+
let k = F.useRef(!1);
|
|
2529
|
+
$i(() => (k.current = !0, () => {
|
|
2530
|
+
k.current = !1;
|
|
2530
2531
|
}), []), $i(() => {
|
|
2531
2532
|
if (b && (S.current = b), x && (C.current = x), b && x) {
|
|
2532
|
-
if (ee.current) return ee.current(b, x,
|
|
2533
|
-
|
|
2533
|
+
if (ee.current) return ee.current(b, x, O);
|
|
2534
|
+
O();
|
|
2534
2535
|
}
|
|
2535
2536
|
}, [
|
|
2536
2537
|
b,
|
|
2537
2538
|
x,
|
|
2538
|
-
|
|
2539
|
+
O,
|
|
2539
2540
|
ee,
|
|
2540
2541
|
T
|
|
2541
2542
|
]);
|
|
2542
|
-
let
|
|
2543
|
+
let te = F.useMemo(() => ({
|
|
2543
2544
|
reference: S,
|
|
2544
2545
|
floating: C,
|
|
2545
2546
|
setReference: v,
|
|
2546
2547
|
setFloating: y
|
|
2547
|
-
}), [v, y]), A =
|
|
2548
|
+
}), [v, y]), A = F.useMemo(() => ({
|
|
2548
2549
|
reference: b,
|
|
2549
2550
|
floating: x
|
|
2550
|
-
}), [b, x]), j =
|
|
2551
|
+
}), [b, x]), j = F.useMemo(() => {
|
|
2551
2552
|
let e = {
|
|
2552
2553
|
position: n,
|
|
2553
2554
|
left: 0,
|
|
@@ -2571,16 +2572,16 @@ function ia(e) {
|
|
|
2571
2572
|
u.x,
|
|
2572
2573
|
u.y
|
|
2573
2574
|
]);
|
|
2574
|
-
return
|
|
2575
|
+
return F.useMemo(() => ({
|
|
2575
2576
|
...u,
|
|
2576
|
-
update:
|
|
2577
|
-
refs:
|
|
2577
|
+
update: O,
|
|
2578
|
+
refs: te,
|
|
2578
2579
|
elements: A,
|
|
2579
2580
|
floatingStyles: j
|
|
2580
2581
|
}), [
|
|
2581
2582
|
u,
|
|
2582
|
-
|
|
2583
|
-
|
|
2583
|
+
O,
|
|
2584
|
+
te,
|
|
2584
2585
|
A,
|
|
2585
2586
|
j
|
|
2586
2587
|
]);
|
|
@@ -2648,16 +2649,16 @@ var aa = (e) => {
|
|
|
2648
2649
|
fn: n.fn,
|
|
2649
2650
|
options: [e, t]
|
|
2650
2651
|
};
|
|
2651
|
-
}, pa = "Arrow", ma =
|
|
2652
|
+
}, pa = "Arrow", ma = F.forwardRef((e, t) => {
|
|
2652
2653
|
let { children: n, width: r = 10, height: i = 5, ...a } = e;
|
|
2653
|
-
return /* @__PURE__ */ (0,
|
|
2654
|
+
return /* @__PURE__ */ (0, I.jsx)(H.svg, {
|
|
2654
2655
|
...a,
|
|
2655
2656
|
ref: t,
|
|
2656
2657
|
width: r,
|
|
2657
2658
|
height: i,
|
|
2658
2659
|
viewBox: "0 0 30 10",
|
|
2659
2660
|
preserveAspectRatio: "none",
|
|
2660
|
-
children: e.asChild ? n : /* @__PURE__ */ (0,
|
|
2661
|
+
children: e.asChild ? n : /* @__PURE__ */ (0, I.jsx)("polygon", { points: "0,0 30,0 15,10" })
|
|
2661
2662
|
});
|
|
2662
2663
|
});
|
|
2663
2664
|
ma.displayName = pa;
|
|
@@ -2665,8 +2666,8 @@ var ha = ma;
|
|
|
2665
2666
|
//#endregion
|
|
2666
2667
|
//#region ../node_modules/@radix-ui/react-use-size/dist/index.mjs
|
|
2667
2668
|
function ga(e) {
|
|
2668
|
-
let [t, n] =
|
|
2669
|
-
return
|
|
2669
|
+
let [t, n] = F.useState(void 0);
|
|
2670
|
+
return sr(() => {
|
|
2670
2671
|
if (e) {
|
|
2671
2672
|
n({
|
|
2672
2673
|
width: e.offsetWidth,
|
|
@@ -2690,9 +2691,9 @@ function ga(e) {
|
|
|
2690
2691
|
}
|
|
2691
2692
|
//#endregion
|
|
2692
2693
|
//#region ../node_modules/@radix-ui/react-popper/dist/index.mjs
|
|
2693
|
-
var _a = "Popper", [va, ya] =
|
|
2694
|
-
let { __scopePopper: t, children: n } = e, [r, i] =
|
|
2695
|
-
return /* @__PURE__ */ (0,
|
|
2694
|
+
var _a = "Popper", [va, ya] = vn(_a), [ba, xa] = va(_a), Sa = (e) => {
|
|
2695
|
+
let { __scopePopper: t, children: n } = e, [r, i] = F.useState(null);
|
|
2696
|
+
return /* @__PURE__ */ (0, I.jsx)(ba, {
|
|
2696
2697
|
scope: t,
|
|
2697
2698
|
anchor: r,
|
|
2698
2699
|
onAnchorChange: i,
|
|
@@ -2700,29 +2701,29 @@ var _a = "Popper", [va, ya] = bn(_a), [ba, xa] = va(_a), Sa = (e) => {
|
|
|
2700
2701
|
});
|
|
2701
2702
|
};
|
|
2702
2703
|
Sa.displayName = _a;
|
|
2703
|
-
var Ca = "PopperAnchor", wa =
|
|
2704
|
-
let { __scopePopper: n, virtualRef: r, ...i } = e, a = xa(Ca, n), o =
|
|
2705
|
-
return
|
|
2704
|
+
var Ca = "PopperAnchor", wa = F.forwardRef((e, t) => {
|
|
2705
|
+
let { __scopePopper: n, virtualRef: r, ...i } = e, a = xa(Ca, n), o = F.useRef(null), s = V(t, o), c = F.useRef(null);
|
|
2706
|
+
return F.useEffect(() => {
|
|
2706
2707
|
let e = c.current;
|
|
2707
2708
|
c.current = r?.current || o.current, e !== c.current && a.onAnchorChange(c.current);
|
|
2708
|
-
}), r ? null : /* @__PURE__ */ (0,
|
|
2709
|
+
}), r ? null : /* @__PURE__ */ (0, I.jsx)(H.div, {
|
|
2709
2710
|
...i,
|
|
2710
2711
|
ref: s
|
|
2711
2712
|
});
|
|
2712
2713
|
});
|
|
2713
2714
|
wa.displayName = Ca;
|
|
2714
|
-
var Ta = "PopperContent", [Ea, Da] = va(Ta), Oa =
|
|
2715
|
-
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 = xa(Ta, n), [_, v] =
|
|
2715
|
+
var Ta = "PopperContent", [Ea, Da] = va(Ta), Oa = F.forwardRef((e, t) => {
|
|
2716
|
+
let { __scopePopper: n, side: r = "bottom", sideOffset: i = 0, align: a = "center", alignOffset: o = 0, arrowPadding: s = 0, avoidCollisions: c = !0, collisionBoundary: l = [], collisionPadding: u = 0, sticky: d = "partial", hideWhenDetached: f = !1, updatePositionStrategy: p = "optimized", onPlaced: m, ...h } = e, g = xa(Ta, n), [_, v] = F.useState(null), y = V(t, (e) => v(e)), [b, x] = F.useState(null), S = ga(b), C = S?.width ?? 0, w = S?.height ?? 0, T = r + (a === "center" ? "" : "-" + a), ee = typeof u == "number" ? u : {
|
|
2716
2717
|
top: 0,
|
|
2717
2718
|
right: 0,
|
|
2718
2719
|
bottom: 0,
|
|
2719
2720
|
left: 0,
|
|
2720
2721
|
...u
|
|
2721
|
-
},
|
|
2722
|
+
}, E = Array.isArray(l) ? l : [l], D = E.length > 0, O = {
|
|
2722
2723
|
padding: ee,
|
|
2723
|
-
boundary:
|
|
2724
|
-
altBoundary:
|
|
2725
|
-
}, { refs:
|
|
2724
|
+
boundary: E.filter(Ma),
|
|
2725
|
+
altBoundary: D
|
|
2726
|
+
}, { refs: k, floatingStyles: te, placement: A, isPositioned: j, middlewareData: ne } = ia({
|
|
2726
2727
|
strategy: "fixed",
|
|
2727
2728
|
placement: T,
|
|
2728
2729
|
whileElementsMounted: (...e) => Wi(...e, { animationFrame: p === "always" }),
|
|
@@ -2736,11 +2737,11 @@ var Ta = "PopperContent", [Ea, Da] = va(Ta), Oa = N.forwardRef((e, t) => {
|
|
|
2736
2737
|
mainAxis: !0,
|
|
2737
2738
|
crossAxis: !1,
|
|
2738
2739
|
limiter: d === "partial" ? ca() : void 0,
|
|
2739
|
-
...
|
|
2740
|
+
...O
|
|
2740
2741
|
}),
|
|
2741
|
-
c && la({ ...
|
|
2742
|
+
c && la({ ...O }),
|
|
2742
2743
|
ua({
|
|
2743
|
-
...
|
|
2744
|
+
...O,
|
|
2744
2745
|
apply: ({ elements: e, rects: t, availableWidth: n, availableHeight: r }) => {
|
|
2745
2746
|
let { width: i, height: a } = t.reference, o = e.floating.style;
|
|
2746
2747
|
o.setProperty("--radix-popper-available-width", `${n}px`), o.setProperty("--radix-popper-available-height", `${r}px`), o.setProperty("--radix-popper-anchor-width", `${i}px`), o.setProperty("--radix-popper-anchor-height", `${a}px`);
|
|
@@ -2756,22 +2757,22 @@ var Ta = "PopperContent", [Ea, Da] = va(Ta), Oa = N.forwardRef((e, t) => {
|
|
|
2756
2757
|
}),
|
|
2757
2758
|
f && da({
|
|
2758
2759
|
strategy: "referenceHidden",
|
|
2759
|
-
...
|
|
2760
|
+
...O
|
|
2760
2761
|
})
|
|
2761
2762
|
]
|
|
2762
|
-
}), [re, ie] = Pa(A), ae =
|
|
2763
|
-
|
|
2763
|
+
}), [re, ie] = Pa(A), ae = Dn(m);
|
|
2764
|
+
sr(() => {
|
|
2764
2765
|
j && ae?.();
|
|
2765
2766
|
}, [j, ae]);
|
|
2766
|
-
let oe = ne.arrow?.x, se = ne.arrow?.y, ce = ne.arrow?.centerOffset !== 0, [le, ue] =
|
|
2767
|
-
return
|
|
2767
|
+
let oe = ne.arrow?.x, se = ne.arrow?.y, ce = ne.arrow?.centerOffset !== 0, [le, ue] = F.useState();
|
|
2768
|
+
return sr(() => {
|
|
2768
2769
|
_ && ue(window.getComputedStyle(_).zIndex);
|
|
2769
|
-
}, [_]), /* @__PURE__ */ (0,
|
|
2770
|
-
ref:
|
|
2770
|
+
}, [_]), /* @__PURE__ */ (0, I.jsx)("div", {
|
|
2771
|
+
ref: k.setFloating,
|
|
2771
2772
|
"data-radix-popper-content-wrapper": "",
|
|
2772
2773
|
style: {
|
|
2773
|
-
...
|
|
2774
|
-
transform: j ?
|
|
2774
|
+
...te,
|
|
2775
|
+
transform: j ? te.transform : "translate(0, -200%)",
|
|
2775
2776
|
minWidth: "max-content",
|
|
2776
2777
|
zIndex: le,
|
|
2777
2778
|
"--radix-popper-transform-origin": [ne.transformOrigin?.x, ne.transformOrigin?.y].join(" "),
|
|
@@ -2781,14 +2782,14 @@ var Ta = "PopperContent", [Ea, Da] = va(Ta), Oa = N.forwardRef((e, t) => {
|
|
|
2781
2782
|
}
|
|
2782
2783
|
},
|
|
2783
2784
|
dir: e.dir,
|
|
2784
|
-
children: /* @__PURE__ */ (0,
|
|
2785
|
+
children: /* @__PURE__ */ (0, I.jsx)(Ea, {
|
|
2785
2786
|
scope: n,
|
|
2786
2787
|
placedSide: re,
|
|
2787
2788
|
onArrowChange: x,
|
|
2788
2789
|
arrowX: oe,
|
|
2789
2790
|
arrowY: se,
|
|
2790
2791
|
shouldHideArrow: ce,
|
|
2791
|
-
children: /* @__PURE__ */ (0,
|
|
2792
|
+
children: /* @__PURE__ */ (0, I.jsx)(H.div, {
|
|
2792
2793
|
"data-side": re,
|
|
2793
2794
|
"data-align": ie,
|
|
2794
2795
|
...h,
|
|
@@ -2807,9 +2808,9 @@ var ka = "PopperArrow", Aa = {
|
|
|
2807
2808
|
right: "left",
|
|
2808
2809
|
bottom: "top",
|
|
2809
2810
|
left: "right"
|
|
2810
|
-
}, ja =
|
|
2811
|
+
}, ja = F.forwardRef(function(e, t) {
|
|
2811
2812
|
let { __scopePopper: n, ...r } = e, i = Da(ka, n), a = Aa[i.placedSide];
|
|
2812
|
-
return /* @__PURE__ */ (0,
|
|
2813
|
+
return /* @__PURE__ */ (0, I.jsx)("span", {
|
|
2813
2814
|
ref: i.onArrowChange,
|
|
2814
2815
|
style: {
|
|
2815
2816
|
position: "absolute",
|
|
@@ -2830,7 +2831,7 @@ var ka = "PopperArrow", Aa = {
|
|
|
2830
2831
|
}[i.placedSide],
|
|
2831
2832
|
visibility: i.shouldHideArrow ? "hidden" : void 0
|
|
2832
2833
|
},
|
|
2833
|
-
children: /* @__PURE__ */ (0,
|
|
2834
|
+
children: /* @__PURE__ */ (0, I.jsx)(ha, {
|
|
2834
2835
|
...r,
|
|
2835
2836
|
ref: t,
|
|
2836
2837
|
style: {
|
|
@@ -2863,11 +2864,11 @@ function Pa(e) {
|
|
|
2863
2864
|
let [t, n = "center"] = e.split("-");
|
|
2864
2865
|
return [t, n];
|
|
2865
2866
|
}
|
|
2866
|
-
var Fa = Sa, Ia = wa, La = Oa, Ra = ja, za = "Portal", Ba =
|
|
2867
|
-
let { container: n, ...r } = e, [i, a] =
|
|
2868
|
-
|
|
2867
|
+
var Fa = Sa, Ia = wa, La = Oa, Ra = ja, za = "Portal", Ba = F.forwardRef((e, t) => {
|
|
2868
|
+
let { container: n, ...r } = e, [i, a] = F.useState(!1);
|
|
2869
|
+
sr(() => a(!0), []);
|
|
2869
2870
|
let o = n || i && globalThis?.document?.body;
|
|
2870
|
-
return o ?
|
|
2871
|
+
return o ? ft.createPortal(/* @__PURE__ */ (0, I.jsx)(H.div, {
|
|
2871
2872
|
...r,
|
|
2872
2873
|
ref: t
|
|
2873
2874
|
}), o) : null;
|
|
@@ -2876,15 +2877,15 @@ Ba.displayName = za;
|
|
|
2876
2877
|
//#endregion
|
|
2877
2878
|
//#region ../node_modules/@radix-ui/react-presence/dist/index.mjs
|
|
2878
2879
|
function Va(e, t) {
|
|
2879
|
-
return
|
|
2880
|
+
return F.useReducer((e, n) => t[e][n] ?? e, e);
|
|
2880
2881
|
}
|
|
2881
2882
|
var Ha = (e) => {
|
|
2882
|
-
let { present: t, children: n } = e, r = Ua(t), i = typeof n == "function" ? n({ present: r.isPresent }) :
|
|
2883
|
-
return typeof n == "function" || r.isPresent ?
|
|
2883
|
+
let { present: t, children: n } = e, r = Ua(t), i = typeof n == "function" ? n({ present: r.isPresent }) : F.Children.only(n), a = V(r.ref, Ga(i));
|
|
2884
|
+
return typeof n == "function" || r.isPresent ? F.cloneElement(i, { ref: a }) : null;
|
|
2884
2885
|
};
|
|
2885
2886
|
Ha.displayName = "Presence";
|
|
2886
2887
|
function Ua(e) {
|
|
2887
|
-
let [t, n] =
|
|
2888
|
+
let [t, n] = F.useState(), r = F.useRef(null), i = F.useRef(e), a = F.useRef("none"), [o, s] = Va(e ? "mounted" : "unmounted", {
|
|
2888
2889
|
mounted: {
|
|
2889
2890
|
UNMOUNT: "unmounted",
|
|
2890
2891
|
ANIMATION_OUT: "unmountSuspended"
|
|
@@ -2895,16 +2896,16 @@ function Ua(e) {
|
|
|
2895
2896
|
},
|
|
2896
2897
|
unmounted: { MOUNT: "mounted" }
|
|
2897
2898
|
});
|
|
2898
|
-
return
|
|
2899
|
+
return F.useEffect(() => {
|
|
2899
2900
|
let e = Wa(r.current);
|
|
2900
2901
|
a.current = o === "mounted" ? e : "none";
|
|
2901
|
-
}, [o]),
|
|
2902
|
+
}, [o]), sr(() => {
|
|
2902
2903
|
let t = r.current, n = i.current;
|
|
2903
2904
|
if (n !== e) {
|
|
2904
2905
|
let r = a.current, o = Wa(t);
|
|
2905
2906
|
e ? s("MOUNT") : o === "none" || t?.display === "none" ? s("UNMOUNT") : s(n && r !== o ? "ANIMATION_OUT" : "UNMOUNT"), i.current = e;
|
|
2906
2907
|
}
|
|
2907
|
-
}, [e, s]),
|
|
2908
|
+
}, [e, s]), sr(() => {
|
|
2908
2909
|
if (t) {
|
|
2909
2910
|
let e, n = t.ownerDocument.defaultView ?? window, o = (a) => {
|
|
2910
2911
|
let o = Wa(r.current).includes(CSS.escape(a.animationName));
|
|
@@ -2923,7 +2924,7 @@ function Ua(e) {
|
|
|
2923
2924
|
} else s("ANIMATION_END");
|
|
2924
2925
|
}, [t, s]), {
|
|
2925
2926
|
isPresent: ["mounted", "unmountSuspended"].includes(o),
|
|
2926
|
-
ref:
|
|
2927
|
+
ref: F.useCallback((e) => {
|
|
2927
2928
|
r.current = e ? getComputedStyle(e) : null, n(e);
|
|
2928
2929
|
}, [])
|
|
2929
2930
|
};
|
|
@@ -2937,20 +2938,20 @@ function Ga(e) {
|
|
|
2937
2938
|
}
|
|
2938
2939
|
//#endregion
|
|
2939
2940
|
//#region ../node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
|
|
2940
|
-
var Ka =
|
|
2941
|
+
var Ka = F.useInsertionEffect || sr;
|
|
2941
2942
|
function qa({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
2942
2943
|
let [i, a, o] = Ja({
|
|
2943
2944
|
defaultProp: t,
|
|
2944
2945
|
onChange: n
|
|
2945
2946
|
}), s = e !== void 0, c = s ? e : i;
|
|
2946
2947
|
{
|
|
2947
|
-
let t =
|
|
2948
|
-
|
|
2948
|
+
let t = F.useRef(e !== void 0);
|
|
2949
|
+
F.useEffect(() => {
|
|
2949
2950
|
let e = t.current;
|
|
2950
2951
|
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;
|
|
2951
2952
|
}, [s, r]);
|
|
2952
2953
|
}
|
|
2953
|
-
return [c,
|
|
2954
|
+
return [c, F.useCallback((t) => {
|
|
2954
2955
|
if (s) {
|
|
2955
2956
|
let n = Ya(t) ? t(e) : t;
|
|
2956
2957
|
n !== e && o.current?.(n);
|
|
@@ -2963,10 +2964,10 @@ function qa({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
|
2963
2964
|
])];
|
|
2964
2965
|
}
|
|
2965
2966
|
function Ja({ defaultProp: e, onChange: t }) {
|
|
2966
|
-
let [n, r] =
|
|
2967
|
+
let [n, r] = F.useState(e), i = F.useRef(n), a = F.useRef(t);
|
|
2967
2968
|
return Ka(() => {
|
|
2968
2969
|
a.current = t;
|
|
2969
|
-
}, [t]),
|
|
2970
|
+
}, [t]), F.useEffect(() => {
|
|
2970
2971
|
i.current !== n && (a.current?.(n), i.current = n);
|
|
2971
2972
|
}, [n, i]), [
|
|
2972
2973
|
n,
|
|
@@ -3166,7 +3167,7 @@ function go(e, t) {
|
|
|
3166
3167
|
//#endregion
|
|
3167
3168
|
//#region ../node_modules/use-callback-ref/dist/es2015/useRef.js
|
|
3168
3169
|
function _o(e, t) {
|
|
3169
|
-
var n = (0,
|
|
3170
|
+
var n = (0, F.useState)(function() {
|
|
3170
3171
|
return {
|
|
3171
3172
|
value: e,
|
|
3172
3173
|
callback: t,
|
|
@@ -3185,7 +3186,7 @@ function _o(e, t) {
|
|
|
3185
3186
|
}
|
|
3186
3187
|
//#endregion
|
|
3187
3188
|
//#region ../node_modules/use-callback-ref/dist/es2015/useMergeRef.js
|
|
3188
|
-
var vo = typeof window < "u" ?
|
|
3189
|
+
var vo = typeof window < "u" ? F.useLayoutEffect : F.useEffect, yo = /* @__PURE__ */ new WeakMap();
|
|
3189
3190
|
function bo(e, t) {
|
|
3190
3191
|
var n = _o(t || null, function(t) {
|
|
3191
3192
|
return e.forEach(function(e) {
|
|
@@ -3279,7 +3280,7 @@ var wo = function(e) {
|
|
|
3279
3280
|
if (!t) throw Error("Sidecar: please provide `sideCar` property to import the right car");
|
|
3280
3281
|
var r = t.read();
|
|
3281
3282
|
if (!r) throw Error("Sidecar medium not found");
|
|
3282
|
-
return
|
|
3283
|
+
return F.createElement(r, $({}, n));
|
|
3283
3284
|
};
|
|
3284
3285
|
wo.isSideCarExport = !0;
|
|
3285
3286
|
function To(e, t) {
|
|
@@ -3287,8 +3288,8 @@ function To(e, t) {
|
|
|
3287
3288
|
}
|
|
3288
3289
|
//#endregion
|
|
3289
3290
|
//#region ../node_modules/react-remove-scroll/dist/es2015/medium.js
|
|
3290
|
-
var Eo = Co(), Do = function() {}, Oo =
|
|
3291
|
-
var n =
|
|
3291
|
+
var Eo = Co(), Do = function() {}, Oo = F.forwardRef(function(e, t) {
|
|
3292
|
+
var n = F.useRef(null), r = F.useState({
|
|
3292
3293
|
onScrollCapture: Do,
|
|
3293
3294
|
onWheelCapture: Do,
|
|
3294
3295
|
onTouchMoveCapture: Do
|
|
@@ -3307,7 +3308,7 @@ var Eo = Co(), Do = function() {}, Oo = N.forwardRef(function(e, t) {
|
|
|
3307
3308
|
"as",
|
|
3308
3309
|
"gapMode"
|
|
3309
3310
|
]), x = f, S = bo([n, t]), C = $($({}, b), i);
|
|
3310
|
-
return
|
|
3311
|
+
return F.createElement(F.Fragment, null, u && F.createElement(x, {
|
|
3311
3312
|
sideCar: Eo,
|
|
3312
3313
|
removeScrollBar: l,
|
|
3313
3314
|
shards: d,
|
|
@@ -3318,7 +3319,7 @@ var Eo = Co(), Do = function() {}, Oo = N.forwardRef(function(e, t) {
|
|
|
3318
3319
|
allowPinchZoom: !!g,
|
|
3319
3320
|
lockRef: n,
|
|
3320
3321
|
gapMode: y
|
|
3321
|
-
}), o ?
|
|
3322
|
+
}), o ? F.cloneElement(F.Children.only(s), $($({}, C), { ref: S })) : F.createElement(v, $({}, C, {
|
|
3322
3323
|
className: c,
|
|
3323
3324
|
ref: S
|
|
3324
3325
|
}), s));
|
|
@@ -3365,7 +3366,7 @@ var Po = function() {
|
|
|
3365
3366
|
}, Fo = function() {
|
|
3366
3367
|
var e = Po();
|
|
3367
3368
|
return function(t, n) {
|
|
3368
|
-
|
|
3369
|
+
F.useEffect(function() {
|
|
3369
3370
|
return e.add(t), function() {
|
|
3370
3371
|
e.remove();
|
|
3371
3372
|
};
|
|
@@ -3448,7 +3449,7 @@ var Po = function() {
|
|
|
3448
3449
|
var e = parseInt(document.body.getAttribute("data-scroll-locked") || "0", 10);
|
|
3449
3450
|
return isFinite(e) ? e : 0;
|
|
3450
3451
|
}, Go = function() {
|
|
3451
|
-
|
|
3452
|
+
F.useEffect(function() {
|
|
3452
3453
|
return document.body.setAttribute(Ho, (Wo() + 1).toString()), function() {
|
|
3453
3454
|
var e = Wo() - 1;
|
|
3454
3455
|
e <= 0 ? document.body.removeAttribute(Ho) : document.body.setAttribute(Ho, e.toString());
|
|
@@ -3457,10 +3458,10 @@ var Po = function() {
|
|
|
3457
3458
|
}, Ko = function(e) {
|
|
3458
3459
|
var t = e.noRelative, n = e.noImportant, r = e.gapMode, i = r === void 0 ? "margin" : r;
|
|
3459
3460
|
Go();
|
|
3460
|
-
var a =
|
|
3461
|
+
var a = F.useMemo(function() {
|
|
3461
3462
|
return Bo(i);
|
|
3462
3463
|
}, [i]);
|
|
3463
|
-
return
|
|
3464
|
+
return F.createElement(Vo, { styles: Uo(a, !t, i, n ? "" : "!important") });
|
|
3464
3465
|
}, qo = !1;
|
|
3465
3466
|
if (typeof window < "u") try {
|
|
3466
3467
|
var Jo = Object.defineProperty({}, "passive", { get: function() {
|
|
@@ -3533,10 +3534,10 @@ var Yo = qo ? { passive: !1 } : !1, Xo = function(e) {
|
|
|
3533
3534
|
`;
|
|
3534
3535
|
}, fs = 0, ps = [];
|
|
3535
3536
|
function ms(e) {
|
|
3536
|
-
var t =
|
|
3537
|
-
|
|
3537
|
+
var t = F.useRef([]), n = F.useRef([0, 0]), r = F.useRef(), i = F.useState(fs++)[0], a = F.useState(Io)[0], o = F.useRef(e);
|
|
3538
|
+
F.useEffect(function() {
|
|
3538
3539
|
o.current = e;
|
|
3539
|
-
}, [e]),
|
|
3540
|
+
}, [e]), F.useEffect(function() {
|
|
3540
3541
|
if (e.inert) {
|
|
3541
3542
|
document.body.classList.add(`block-interactivity-${i}`);
|
|
3542
3543
|
var t = uo([e.lockRef.current], (e.shards || []).map(ls), !0).filter(Boolean);
|
|
@@ -3553,7 +3554,7 @@ function ms(e) {
|
|
|
3553
3554
|
e.lockRef.current,
|
|
3554
3555
|
e.shards
|
|
3555
3556
|
]);
|
|
3556
|
-
var s =
|
|
3557
|
+
var s = F.useCallback(function(e, t) {
|
|
3557
3558
|
if ("touches" in e && e.touches.length === 2 || e.type === "wheel" && e.ctrlKey) return !o.current.allowPinchZoom;
|
|
3558
3559
|
var i = ss(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";
|
|
3559
3560
|
if ("touches" in e && d === "h" && u.type === "range") return !1;
|
|
@@ -3565,7 +3566,7 @@ function ms(e) {
|
|
|
3565
3566
|
if (!r.current && "changedTouches" in e && (s || c) && (r.current = l), !l) return !0;
|
|
3566
3567
|
var h = r.current || l;
|
|
3567
3568
|
return os(h, t, e, h === "h" ? s : c, !0);
|
|
3568
|
-
}, []), c =
|
|
3569
|
+
}, []), c = F.useCallback(function(e) {
|
|
3569
3570
|
var n = e;
|
|
3570
3571
|
if (!(!ps.length || ps[ps.length - 1] !== a)) {
|
|
3571
3572
|
var r = "deltaY" in n ? cs(n) : ss(n), i = t.current.filter(function(e) {
|
|
@@ -3582,7 +3583,7 @@ function ms(e) {
|
|
|
3582
3583
|
(c.length > 0 ? s(n, c[0]) : !o.current.noIsolation) && n.cancelable && n.preventDefault();
|
|
3583
3584
|
}
|
|
3584
3585
|
}
|
|
3585
|
-
}, []), l =
|
|
3586
|
+
}, []), l = F.useCallback(function(e, n, r, i) {
|
|
3586
3587
|
var a = {
|
|
3587
3588
|
name: e,
|
|
3588
3589
|
delta: n,
|
|
@@ -3595,14 +3596,14 @@ function ms(e) {
|
|
|
3595
3596
|
return e !== a;
|
|
3596
3597
|
});
|
|
3597
3598
|
}, 1);
|
|
3598
|
-
}, []), u =
|
|
3599
|
+
}, []), u = F.useCallback(function(e) {
|
|
3599
3600
|
n.current = ss(e), r.current = void 0;
|
|
3600
|
-
}, []), d =
|
|
3601
|
+
}, []), d = F.useCallback(function(t) {
|
|
3601
3602
|
l(t.type, cs(t), t.target, s(t, e.lockRef.current));
|
|
3602
|
-
}, []), f =
|
|
3603
|
+
}, []), f = F.useCallback(function(t) {
|
|
3603
3604
|
l(t.type, ss(t), t.target, s(t, e.lockRef.current));
|
|
3604
3605
|
}, []);
|
|
3605
|
-
|
|
3606
|
+
F.useEffect(function() {
|
|
3606
3607
|
return ps.push(a), e.setCallbacks({
|
|
3607
3608
|
onScrollCapture: d,
|
|
3608
3609
|
onWheelCapture: d,
|
|
@@ -3614,7 +3615,7 @@ function ms(e) {
|
|
|
3614
3615
|
};
|
|
3615
3616
|
}, []);
|
|
3616
3617
|
var p = e.removeScrollBar, m = e.inert;
|
|
3617
|
-
return
|
|
3618
|
+
return F.createElement(F.Fragment, null, m ? F.createElement(a, { styles: ds(i) }) : null, p ? F.createElement(Ko, {
|
|
3618
3619
|
noRelative: e.noRelative,
|
|
3619
3620
|
gapMode: e.gapMode
|
|
3620
3621
|
}) : null);
|
|
@@ -3625,8 +3626,8 @@ function hs(e) {
|
|
|
3625
3626
|
}
|
|
3626
3627
|
//#endregion
|
|
3627
3628
|
//#region ../node_modules/react-remove-scroll/dist/es2015/sidecar.js
|
|
3628
|
-
var gs = To(Eo, ms), _s =
|
|
3629
|
-
return
|
|
3629
|
+
var gs = To(Eo, ms), _s = F.forwardRef(function(e, t) {
|
|
3630
|
+
return F.createElement(Oo, $({}, e, {
|
|
3630
3631
|
ref: t,
|
|
3631
3632
|
sideCar: gs
|
|
3632
3633
|
}));
|
|
@@ -3634,42 +3635,42 @@ var gs = To(Eo, ms), _s = N.forwardRef(function(e, t) {
|
|
|
3634
3635
|
_s.classNames = Oo.classNames;
|
|
3635
3636
|
//#endregion
|
|
3636
3637
|
//#region ../node_modules/@radix-ui/react-popover/dist/index.mjs
|
|
3637
|
-
var vs = "Popover", [ys, bs] =
|
|
3638
|
-
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, s = xs(t), c =
|
|
3638
|
+
var vs = "Popover", [ys, bs] = vn(vs, [ya]), xs = ya(), [Ss, Cs] = ys(vs), ws = (e) => {
|
|
3639
|
+
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, s = xs(t), c = F.useRef(null), [l, u] = F.useState(!1), [d, f] = qa({
|
|
3639
3640
|
prop: r,
|
|
3640
3641
|
defaultProp: i ?? !1,
|
|
3641
3642
|
onChange: a,
|
|
3642
3643
|
caller: vs
|
|
3643
3644
|
});
|
|
3644
|
-
return /* @__PURE__ */ (0,
|
|
3645
|
+
return /* @__PURE__ */ (0, I.jsx)(Fa, {
|
|
3645
3646
|
...s,
|
|
3646
|
-
children: /* @__PURE__ */ (0,
|
|
3647
|
+
children: /* @__PURE__ */ (0, I.jsx)(Ss, {
|
|
3647
3648
|
scope: t,
|
|
3648
3649
|
contentId: ur(),
|
|
3649
3650
|
triggerRef: c,
|
|
3650
3651
|
open: d,
|
|
3651
3652
|
onOpenChange: f,
|
|
3652
|
-
onOpenToggle:
|
|
3653
|
+
onOpenToggle: F.useCallback(() => f((e) => !e), [f]),
|
|
3653
3654
|
hasCustomAnchor: l,
|
|
3654
|
-
onCustomAnchorAdd:
|
|
3655
|
-
onCustomAnchorRemove:
|
|
3655
|
+
onCustomAnchorAdd: F.useCallback(() => u(!0), []),
|
|
3656
|
+
onCustomAnchorRemove: F.useCallback(() => u(!1), []),
|
|
3656
3657
|
modal: o,
|
|
3657
3658
|
children: n
|
|
3658
3659
|
})
|
|
3659
3660
|
});
|
|
3660
3661
|
};
|
|
3661
3662
|
ws.displayName = vs;
|
|
3662
|
-
var Ts = "PopoverAnchor", Es =
|
|
3663
|
+
var Ts = "PopoverAnchor", Es = F.forwardRef((e, t) => {
|
|
3663
3664
|
let { __scopePopover: n, ...r } = e, i = Cs(Ts, n), a = xs(n), { onCustomAnchorAdd: o, onCustomAnchorRemove: s } = i;
|
|
3664
|
-
return
|
|
3665
|
+
return F.useEffect(() => (o(), () => s()), [o, s]), /* @__PURE__ */ (0, I.jsx)(Ia, {
|
|
3665
3666
|
...a,
|
|
3666
3667
|
...r,
|
|
3667
3668
|
ref: t
|
|
3668
3669
|
});
|
|
3669
3670
|
});
|
|
3670
3671
|
Es.displayName = Ts;
|
|
3671
|
-
var Ds = "PopoverTrigger", Os =
|
|
3672
|
-
let { __scopePopover: n, ...r } = e, i = Cs(Ds, n), a = xs(n), o =
|
|
3672
|
+
var Ds = "PopoverTrigger", Os = F.forwardRef((e, t) => {
|
|
3673
|
+
let { __scopePopover: n, ...r } = e, i = Cs(Ds, n), a = xs(n), o = V(t, i.triggerRef), s = /* @__PURE__ */ (0, I.jsx)(H.button, {
|
|
3673
3674
|
type: "button",
|
|
3674
3675
|
"aria-haspopup": "dialog",
|
|
3675
3676
|
"aria-expanded": i.open,
|
|
@@ -3677,9 +3678,9 @@ var Ds = "PopoverTrigger", Os = N.forwardRef((e, t) => {
|
|
|
3677
3678
|
"data-state": Us(i.open),
|
|
3678
3679
|
...r,
|
|
3679
3680
|
ref: o,
|
|
3680
|
-
onClick:
|
|
3681
|
+
onClick: B(e.onClick, i.onOpenToggle)
|
|
3681
3682
|
});
|
|
3682
|
-
return i.hasCustomAnchor ? s : /* @__PURE__ */ (0,
|
|
3683
|
+
return i.hasCustomAnchor ? s : /* @__PURE__ */ (0, I.jsx)(Ia, {
|
|
3683
3684
|
asChild: !0,
|
|
3684
3685
|
...a,
|
|
3685
3686
|
children: s
|
|
@@ -3688,12 +3689,12 @@ var Ds = "PopoverTrigger", Os = N.forwardRef((e, t) => {
|
|
|
3688
3689
|
Os.displayName = Ds;
|
|
3689
3690
|
var ks = "PopoverPortal", [As, js] = ys(ks, { forceMount: void 0 }), Ms = (e) => {
|
|
3690
3691
|
let { __scopePopover: t, forceMount: n, children: r, container: i } = e, a = Cs(ks, t);
|
|
3691
|
-
return /* @__PURE__ */ (0,
|
|
3692
|
+
return /* @__PURE__ */ (0, I.jsx)(As, {
|
|
3692
3693
|
scope: t,
|
|
3693
3694
|
forceMount: n,
|
|
3694
|
-
children: /* @__PURE__ */ (0,
|
|
3695
|
+
children: /* @__PURE__ */ (0, I.jsx)(Ha, {
|
|
3695
3696
|
present: n || a.open,
|
|
3696
|
-
children: /* @__PURE__ */ (0,
|
|
3697
|
+
children: /* @__PURE__ */ (0, I.jsx)(Ba, {
|
|
3697
3698
|
asChild: !0,
|
|
3698
3699
|
container: i,
|
|
3699
3700
|
children: r
|
|
@@ -3702,46 +3703,46 @@ var ks = "PopoverPortal", [As, js] = ys(ks, { forceMount: void 0 }), Ms = (e) =>
|
|
|
3702
3703
|
});
|
|
3703
3704
|
};
|
|
3704
3705
|
Ms.displayName = ks;
|
|
3705
|
-
var Ns = "PopoverContent", Ps =
|
|
3706
|
+
var Ns = "PopoverContent", Ps = F.forwardRef((e, t) => {
|
|
3706
3707
|
let n = js(Ns, e.__scopePopover), { forceMount: r = n.forceMount, ...i } = e, a = Cs(Ns, e.__scopePopover);
|
|
3707
|
-
return /* @__PURE__ */ (0,
|
|
3708
|
+
return /* @__PURE__ */ (0, I.jsx)(Ha, {
|
|
3708
3709
|
present: r || a.open,
|
|
3709
|
-
children: a.modal ? /* @__PURE__ */ (0,
|
|
3710
|
+
children: a.modal ? /* @__PURE__ */ (0, I.jsx)(Is, {
|
|
3710
3711
|
...i,
|
|
3711
3712
|
ref: t
|
|
3712
|
-
}) : /* @__PURE__ */ (0,
|
|
3713
|
+
}) : /* @__PURE__ */ (0, I.jsx)(Ls, {
|
|
3713
3714
|
...i,
|
|
3714
3715
|
ref: t
|
|
3715
3716
|
})
|
|
3716
3717
|
});
|
|
3717
3718
|
});
|
|
3718
3719
|
Ps.displayName = Ns;
|
|
3719
|
-
var Fs = /* @__PURE__ */
|
|
3720
|
-
let n = Cs(Ns, e.__scopePopover), r =
|
|
3721
|
-
return
|
|
3720
|
+
var Fs = /* @__PURE__ */ bn("PopoverContent.RemoveScroll"), Is = F.forwardRef((e, t) => {
|
|
3721
|
+
let n = Cs(Ns, e.__scopePopover), r = F.useRef(null), i = V(t, r), a = F.useRef(!1);
|
|
3722
|
+
return F.useEffect(() => {
|
|
3722
3723
|
let e = r.current;
|
|
3723
3724
|
if (e) return io(e);
|
|
3724
|
-
}, []), /* @__PURE__ */ (0,
|
|
3725
|
+
}, []), /* @__PURE__ */ (0, I.jsx)(_s, {
|
|
3725
3726
|
as: Fs,
|
|
3726
3727
|
allowPinchZoom: !0,
|
|
3727
|
-
children: /* @__PURE__ */ (0,
|
|
3728
|
+
children: /* @__PURE__ */ (0, I.jsx)(Rs, {
|
|
3728
3729
|
...e,
|
|
3729
3730
|
ref: i,
|
|
3730
3731
|
trapFocus: n.open,
|
|
3731
3732
|
disableOutsidePointerEvents: !0,
|
|
3732
|
-
onCloseAutoFocus:
|
|
3733
|
+
onCloseAutoFocus: B(e.onCloseAutoFocus, (e) => {
|
|
3733
3734
|
e.preventDefault(), a.current || n.triggerRef.current?.focus();
|
|
3734
3735
|
}),
|
|
3735
|
-
onPointerDownOutside:
|
|
3736
|
+
onPointerDownOutside: B(e.onPointerDownOutside, (e) => {
|
|
3736
3737
|
let t = e.detail.originalEvent, n = t.button === 0 && t.ctrlKey === !0;
|
|
3737
3738
|
a.current = t.button === 2 || n;
|
|
3738
3739
|
}, { checkForDefaultPrevented: !1 }),
|
|
3739
|
-
onFocusOutside:
|
|
3740
|
+
onFocusOutside: B(e.onFocusOutside, (e) => e.preventDefault(), { checkForDefaultPrevented: !1 })
|
|
3740
3741
|
})
|
|
3741
3742
|
});
|
|
3742
|
-
}), Ls =
|
|
3743
|
-
let n = Cs(Ns, e.__scopePopover), r =
|
|
3744
|
-
return /* @__PURE__ */ (0,
|
|
3743
|
+
}), Ls = F.forwardRef((e, t) => {
|
|
3744
|
+
let n = Cs(Ns, e.__scopePopover), r = F.useRef(!1), i = F.useRef(!1);
|
|
3745
|
+
return /* @__PURE__ */ (0, I.jsx)(Rs, {
|
|
3745
3746
|
...e,
|
|
3746
3747
|
ref: t,
|
|
3747
3748
|
trapFocus: !1,
|
|
@@ -3755,15 +3756,15 @@ var Fs = /* @__PURE__ */ Sn("PopoverContent.RemoveScroll"), Is = N.forwardRef((e
|
|
|
3755
3756
|
n.triggerRef.current?.contains(a) && t.preventDefault(), t.detail.originalEvent.type === "focusin" && i.current && t.preventDefault();
|
|
3756
3757
|
}
|
|
3757
3758
|
});
|
|
3758
|
-
}), Rs =
|
|
3759
|
+
}), Rs = F.forwardRef((e, t) => {
|
|
3759
3760
|
let { __scopePopover: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, disableOutsidePointerEvents: o, onEscapeKeyDown: s, onPointerDownOutside: c, onFocusOutside: l, onInteractOutside: u, ...d } = e, f = Cs(Ns, n), p = xs(n);
|
|
3760
|
-
return
|
|
3761
|
+
return Un(), /* @__PURE__ */ (0, I.jsx)(Yn, {
|
|
3761
3762
|
asChild: !0,
|
|
3762
3763
|
loop: !0,
|
|
3763
3764
|
trapped: r,
|
|
3764
3765
|
onMountAutoFocus: i,
|
|
3765
3766
|
onUnmountAutoFocus: a,
|
|
3766
|
-
children: /* @__PURE__ */ (0,
|
|
3767
|
+
children: /* @__PURE__ */ (0, I.jsx)(Fn, {
|
|
3767
3768
|
asChild: !0,
|
|
3768
3769
|
disableOutsidePointerEvents: o,
|
|
3769
3770
|
onInteractOutside: u,
|
|
@@ -3771,7 +3772,7 @@ var Fs = /* @__PURE__ */ Sn("PopoverContent.RemoveScroll"), Is = N.forwardRef((e
|
|
|
3771
3772
|
onPointerDownOutside: c,
|
|
3772
3773
|
onFocusOutside: l,
|
|
3773
3774
|
onDismiss: () => f.onOpenChange(!1),
|
|
3774
|
-
children: /* @__PURE__ */ (0,
|
|
3775
|
+
children: /* @__PURE__ */ (0, I.jsx)(La, {
|
|
3775
3776
|
"data-state": Us(f.open),
|
|
3776
3777
|
role: "dialog",
|
|
3777
3778
|
id: f.contentId,
|
|
@@ -3789,19 +3790,19 @@ var Fs = /* @__PURE__ */ Sn("PopoverContent.RemoveScroll"), Is = N.forwardRef((e
|
|
|
3789
3790
|
})
|
|
3790
3791
|
})
|
|
3791
3792
|
});
|
|
3792
|
-
}), zs = "PopoverClose", Bs =
|
|
3793
|
+
}), zs = "PopoverClose", Bs = F.forwardRef((e, t) => {
|
|
3793
3794
|
let { __scopePopover: n, ...r } = e, i = Cs(zs, n);
|
|
3794
|
-
return /* @__PURE__ */ (0,
|
|
3795
|
+
return /* @__PURE__ */ (0, I.jsx)(H.button, {
|
|
3795
3796
|
type: "button",
|
|
3796
3797
|
...r,
|
|
3797
3798
|
ref: t,
|
|
3798
|
-
onClick:
|
|
3799
|
+
onClick: B(e.onClick, () => i.onOpenChange(!1))
|
|
3799
3800
|
});
|
|
3800
3801
|
});
|
|
3801
3802
|
Bs.displayName = zs;
|
|
3802
|
-
var Vs = "PopoverArrow", Hs =
|
|
3803
|
+
var Vs = "PopoverArrow", Hs = F.forwardRef((e, t) => {
|
|
3803
3804
|
let { __scopePopover: n, ...r } = e, i = xs(n);
|
|
3804
|
-
return /* @__PURE__ */ (0,
|
|
3805
|
+
return /* @__PURE__ */ (0, I.jsx)(Ra, {
|
|
3805
3806
|
...i,
|
|
3806
3807
|
...r,
|
|
3807
3808
|
ref: t
|
|
@@ -3811,177 +3812,177 @@ Hs.displayName = Vs;
|
|
|
3811
3812
|
function Us(e) {
|
|
3812
3813
|
return e ? "open" : "closed";
|
|
3813
3814
|
}
|
|
3814
|
-
var Ws = ws, Gs = Os, Ks = Ps, qs = Hs, Js = ({ message: e, trigger: t, initialVisibility: n = !1 }) => /* @__PURE__ */ (0,
|
|
3815
|
+
var Ws = ws, Gs = Os, Ks = Ps, qs = Hs, Js = ({ message: e, trigger: t, initialVisibility: n = !1 }) => /* @__PURE__ */ (0, I.jsxs)(Ws, {
|
|
3815
3816
|
defaultOpen: n,
|
|
3816
|
-
children: [/* @__PURE__ */ (0,
|
|
3817
|
+
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
3817
3818
|
className: "flex justify-center",
|
|
3818
|
-
children: /* @__PURE__ */ (0,
|
|
3819
|
+
children: /* @__PURE__ */ (0, I.jsx)(Gs, {
|
|
3819
3820
|
asChild: !0,
|
|
3820
3821
|
children: t
|
|
3821
3822
|
})
|
|
3822
|
-
}), /* @__PURE__ */ (0,
|
|
3823
|
+
}), /* @__PURE__ */ (0, I.jsxs)(Ks, {
|
|
3823
3824
|
className: "sid-popover__container",
|
|
3824
3825
|
sideOffset: 10,
|
|
3825
3826
|
side: "bottom",
|
|
3826
|
-
children: [e, /* @__PURE__ */ (0,
|
|
3827
|
+
children: [e, /* @__PURE__ */ (0, I.jsx)(qs, { className: "sid-popover__caret" })]
|
|
3827
3828
|
})]
|
|
3828
3829
|
}), Ys = ({ verificationService: e, initialVisibility: t = !1 }) => {
|
|
3829
|
-
let n =
|
|
3830
|
-
return /* @__PURE__ */ (0,
|
|
3830
|
+
let n = he();
|
|
3831
|
+
return /* @__PURE__ */ (0, I.jsx)(Js, {
|
|
3831
3832
|
initialVisibility: t,
|
|
3832
|
-
trigger: /* @__PURE__ */ (0,
|
|
3833
|
+
trigger: /* @__PURE__ */ (0, I.jsx)("button", {
|
|
3833
3834
|
type: "button",
|
|
3834
3835
|
className: "sid-h-btn-link-like sid-link sid-how-does-verifying-work-hoverable",
|
|
3835
|
-
children: /* @__PURE__ */ (0,
|
|
3836
|
+
children: /* @__PURE__ */ (0, I.jsx)(M, { id: "howDoesVerifyingWork" })
|
|
3836
3837
|
}),
|
|
3837
|
-
message: /* @__PURE__ */ (0,
|
|
3838
|
-
/* @__PURE__ */ (0,
|
|
3838
|
+
message: /* @__PURE__ */ (0, I.jsxs)("div", { children: [
|
|
3839
|
+
/* @__PURE__ */ (0, I.jsx)(M, {
|
|
3839
3840
|
id: "step.personalInfo.howDoesVerifyingWorkDetails",
|
|
3840
3841
|
context: n
|
|
3841
3842
|
}),
|
|
3842
3843
|
"\xA0",
|
|
3843
|
-
/* @__PURE__ */ (0,
|
|
3844
|
+
/* @__PURE__ */ (0, I.jsx)(kt, { verificationService: e })
|
|
3844
3845
|
] })
|
|
3845
3846
|
});
|
|
3846
3847
|
}, Xs = ({ verificationService: e }) => {
|
|
3847
|
-
let t =
|
|
3848
|
-
return typeof t == "number" && t > 0 ? /* @__PURE__ */ (0,
|
|
3848
|
+
let t = w(() => e.programTheme.remainingRewardCodes, null);
|
|
3849
|
+
return typeof t == "number" && t > 0 ? /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
3849
3850
|
className: "sid-rewards-remaining",
|
|
3850
3851
|
role: "note",
|
|
3851
3852
|
children: [
|
|
3852
|
-
/* @__PURE__ */ (0,
|
|
3853
|
-
/* @__PURE__ */ (0,
|
|
3853
|
+
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-md" }),
|
|
3854
|
+
/* @__PURE__ */ (0, I.jsx)(D, {
|
|
3854
3855
|
id: "lowRewardPool",
|
|
3855
3856
|
defaultMessage: e.messages.lowRewardPool,
|
|
3856
3857
|
values: { offersRemaining: t }
|
|
3857
3858
|
}),
|
|
3858
|
-
/* @__PURE__ */ (0,
|
|
3859
|
+
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-sm" })
|
|
3859
3860
|
]
|
|
3860
3861
|
}) : null;
|
|
3861
3862
|
}, Zs = (e) => e !== void 0, Qs = ({ verificationService: e, classNameIdentifier: t = void 0 }) => {
|
|
3862
|
-
let { verificationResponse: n } = e, r = Zs(n) ?
|
|
3863
|
-
return /* @__PURE__ */ (0,
|
|
3863
|
+
let { verificationResponse: n } = e, r = Zs(n) ? Re(n) : !1, i = r ? "step.personalInfo.tryAgain.title" : "step.personalInfo.title", a = r ? "step.personalInfo.tryAgain.subtitle" : "step.personalInfo.subtitle";
|
|
3864
|
+
return /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3864
3865
|
className: "sid-personal-info-header",
|
|
3865
|
-
children: /* @__PURE__ */ (0,
|
|
3866
|
+
children: /* @__PURE__ */ (0, I.jsxs)(hn, {
|
|
3866
3867
|
verificationService: e,
|
|
3867
|
-
title: /* @__PURE__ */ (0,
|
|
3868
|
+
title: /* @__PURE__ */ (0, I.jsx)(M, {
|
|
3868
3869
|
id: i,
|
|
3869
3870
|
context: n.segment
|
|
3870
3871
|
}),
|
|
3871
3872
|
classNameIdentifier: t,
|
|
3872
3873
|
children: [
|
|
3873
|
-
/* @__PURE__ */ (0,
|
|
3874
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
3874
3875
|
className: `sid-header__subtitle sid-l-horz-center ${r ? "sid-header__subtitle--error" : ""}`,
|
|
3875
|
-
children: /* @__PURE__ */ (0,
|
|
3876
|
+
children: /* @__PURE__ */ (0, I.jsx)(D, { id: a })
|
|
3876
3877
|
}),
|
|
3877
|
-
/* @__PURE__ */ (0,
|
|
3878
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
3878
3879
|
className: "sid-header__how-verifying-works sid-l-horz-center",
|
|
3879
|
-
children: !r && /* @__PURE__ */ (0,
|
|
3880
|
+
children: !r && /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Ys, { verificationService: e }), /* @__PURE__ */ (0, I.jsx)(Xs, { verificationService: e })] })
|
|
3880
3881
|
}),
|
|
3881
|
-
/* @__PURE__ */ (0,
|
|
3882
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
3882
3883
|
className: "sid-h-medium-text sid-l-space-btm-sm sid-l-space-top-sm",
|
|
3883
|
-
children: /* @__PURE__ */ (0,
|
|
3884
|
+
children: /* @__PURE__ */ (0, I.jsx)(D, { id: "requiredFields" })
|
|
3884
3885
|
})
|
|
3885
3886
|
]
|
|
3886
3887
|
})
|
|
3887
3888
|
});
|
|
3888
|
-
}, $s = () => ({ isEmbedded: !!
|
|
3889
|
+
}, $s = () => ({ isEmbedded: !!s("verificationIframeUid") }), ec = ({ layout: e, children: t, verificationService: n, renderAsLandingPage: r }) => {
|
|
3889
3890
|
let { isEmbedded: i } = $s();
|
|
3890
|
-
return !r || i ? /* @__PURE__ */ (0,
|
|
3891
|
+
return !r || i ? /* @__PURE__ */ (0, I.jsx)(I.Fragment, { children: t }) : /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3891
3892
|
className: `sid-layout sid-layout--${e}`,
|
|
3892
|
-
children: /* @__PURE__ */ (0,
|
|
3893
|
+
children: /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
3893
3894
|
className: "sid-layout__container",
|
|
3894
|
-
children: [e === "fullRight" && /* @__PURE__ */ (0,
|
|
3895
|
+
children: [e === "fullRight" && /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3895
3896
|
className: "sid-layout__content",
|
|
3896
|
-
children: /* @__PURE__ */ (0,
|
|
3897
|
+
children: /* @__PURE__ */ (0, I.jsx)(Qs, {
|
|
3897
3898
|
verificationService: n,
|
|
3898
3899
|
classNameIdentifier: "landing"
|
|
3899
3900
|
})
|
|
3900
|
-
}), /* @__PURE__ */ (0,
|
|
3901
|
+
}), /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3901
3902
|
className: "sid-layout__form-container",
|
|
3902
|
-
children: /* @__PURE__ */ (0,
|
|
3903
|
+
children: /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3903
3904
|
className: "sid-layout__form",
|
|
3904
3905
|
children: t
|
|
3905
3906
|
})
|
|
3906
3907
|
})]
|
|
3907
3908
|
})
|
|
3908
3909
|
});
|
|
3909
|
-
}, tc = ({ children: e }) => /* @__PURE__ */ (0,
|
|
3910
|
+
}, tc = ({ children: e }) => /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3910
3911
|
className: "sid sid-form-wrapper",
|
|
3911
3912
|
children: e
|
|
3912
|
-
}), nc = ({ locale: t, messages: n, programTheme:
|
|
3913
|
-
let s =
|
|
3914
|
-
...
|
|
3915
|
-
...
|
|
3916
|
-
} :
|
|
3917
|
-
...
|
|
3918
|
-
programTheme:
|
|
3919
|
-
verificationResponse:
|
|
3920
|
-
formValidationOptions:
|
|
3913
|
+
}), nc = ({ locale: t, messages: n, programTheme: i, verificationService: a, programId: o }) => {
|
|
3914
|
+
let s = et(), u = v(), d = fe() ?? i, f = ge(se, de), p = (0, F.useMemo)(() => f ? {
|
|
3915
|
+
...a.verificationResponse,
|
|
3916
|
+
...f
|
|
3917
|
+
} : a.verificationResponse, [f, a.verificationResponse]), m = (0, F.useMemo)(() => ({
|
|
3918
|
+
...a,
|
|
3919
|
+
programTheme: d,
|
|
3920
|
+
verificationResponse: p,
|
|
3921
|
+
formValidationOptions: wt(d, p, a.viewModel)
|
|
3921
3922
|
}), [
|
|
3922
|
-
|
|
3923
|
-
|
|
3924
|
-
|
|
3925
|
-
]), g =
|
|
3926
|
-
|
|
3923
|
+
a,
|
|
3924
|
+
d,
|
|
3925
|
+
p
|
|
3926
|
+
]), g = d.themeChoices?.landingPage?.layout || "center", { renderAs: _ } = u, y = nt();
|
|
3927
|
+
F.useEffect(() => {
|
|
3927
3928
|
try {
|
|
3928
|
-
if (
|
|
3929
|
-
let e = (0,
|
|
3930
|
-
|
|
3931
|
-
let t =
|
|
3929
|
+
if (y && m && m.viewModel) {
|
|
3930
|
+
let e = (0, yt.default)(y);
|
|
3931
|
+
T(h.flags, e);
|
|
3932
|
+
let t = l(m.viewModel.metadata || {}, (t) => {
|
|
3932
3933
|
t.flags = e;
|
|
3933
|
-
}), n =
|
|
3934
|
+
}), n = l(m.viewModel, (e) => {
|
|
3934
3935
|
e.metadata = t;
|
|
3935
3936
|
});
|
|
3936
|
-
|
|
3937
|
+
m.updateViewModel(n);
|
|
3937
3938
|
}
|
|
3938
3939
|
} catch (e) {
|
|
3939
|
-
|
|
3940
|
+
N.error(e);
|
|
3940
3941
|
}
|
|
3941
|
-
}, []),
|
|
3942
|
-
if (
|
|
3942
|
+
}, []), F.useEffect(() => {
|
|
3943
|
+
if (m.verificationResponse.verificationId && u._launchDarklyUserTargeting && s) {
|
|
3943
3944
|
let e = {
|
|
3944
3945
|
kind: "multi",
|
|
3945
3946
|
user: {
|
|
3946
|
-
key:
|
|
3947
|
-
locale:
|
|
3948
|
-
segment:
|
|
3949
|
-
installType:
|
|
3947
|
+
key: m.verificationResponse.verificationId,
|
|
3948
|
+
locale: m.verificationResponse.locale,
|
|
3949
|
+
segment: m.verificationResponse.segment,
|
|
3950
|
+
installType: De()
|
|
3950
3951
|
},
|
|
3951
3952
|
program: { key: o }
|
|
3952
3953
|
};
|
|
3953
|
-
|
|
3954
|
+
d.accountId && (e.account = { key: d.accountId }), s.identify(e);
|
|
3954
3955
|
}
|
|
3955
|
-
}, [
|
|
3956
|
+
}, [m.verificationResponse.verificationId, s]), F.useEffect(() => {
|
|
3956
3957
|
try {
|
|
3957
|
-
|
|
3958
|
+
v()._launchDarklyFlagCb(y);
|
|
3958
3959
|
} catch {}
|
|
3959
|
-
}, [
|
|
3960
|
-
let b =
|
|
3961
|
-
return /* @__PURE__ */ (0,
|
|
3960
|
+
}, [y]);
|
|
3961
|
+
let b = ge(se, pe);
|
|
3962
|
+
return /* @__PURE__ */ (0, I.jsx)(E, {
|
|
3962
3963
|
locale: "en",
|
|
3963
3964
|
messages: {
|
|
3964
3965
|
...n,
|
|
3965
|
-
...(0,
|
|
3966
|
-
...(0,
|
|
3966
|
+
...(0, pt.default)(e(t)),
|
|
3967
|
+
...(0, pt.default)(b?.[t] ?? {})
|
|
3967
3968
|
},
|
|
3968
|
-
textComponent:
|
|
3969
|
-
children: /* @__PURE__ */ (0,
|
|
3970
|
-
themeChoices:
|
|
3971
|
-
customCssFromOptions:
|
|
3972
|
-
children: /* @__PURE__ */ (0,
|
|
3973
|
-
className: `${
|
|
3974
|
-
children: /* @__PURE__ */ (0,
|
|
3969
|
+
textComponent: pn,
|
|
3970
|
+
children: /* @__PURE__ */ (0, I.jsx)(Ct, {
|
|
3971
|
+
themeChoices: d.themeChoices,
|
|
3972
|
+
customCssFromOptions: v().customCss,
|
|
3973
|
+
children: /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3974
|
+
className: `${bt.default.isRtlLang(r(t)) ? "sid-rtl" : "sid-ltr"} sid-locale-${t}`,
|
|
3975
|
+
children: /* @__PURE__ */ (0, I.jsx)(tc, { children: /* @__PURE__ */ (0, I.jsx)(ec, {
|
|
3975
3976
|
layout: g,
|
|
3976
|
-
verificationService:
|
|
3977
|
+
verificationService: m,
|
|
3977
3978
|
renderAsLandingPage: _ === "landingPage",
|
|
3978
|
-
children: /* @__PURE__ */ (0,
|
|
3979
|
-
fallback: /* @__PURE__ */ (0,
|
|
3980
|
-
children: /* @__PURE__ */ (0,
|
|
3981
|
-
i18n:
|
|
3982
|
-
children:
|
|
3983
|
-
stepToLoad:
|
|
3984
|
-
verificationService:
|
|
3979
|
+
children: /* @__PURE__ */ (0, I.jsx)(F.Suspense, {
|
|
3980
|
+
fallback: /* @__PURE__ */ (0, I.jsx)(gt, { step: m.loadingStep }),
|
|
3981
|
+
children: /* @__PURE__ */ (0, I.jsx)(dt, {
|
|
3982
|
+
i18n: c,
|
|
3983
|
+
children: m.isLoading ? /* @__PURE__ */ (0, I.jsx)(gt, { step: m.loadingStep }) : /* @__PURE__ */ (0, I.jsxs)("div", { children: [!v().hideTestModeFlag && /* @__PURE__ */ (0, I.jsx)(mn, { verificationService: m }), /* @__PURE__ */ (0, I.jsx)(fn, {
|
|
3984
|
+
stepToLoad: m.overrideStep || m.verificationResponse.currentStep,
|
|
3985
|
+
verificationService: m
|
|
3985
3986
|
})] })
|
|
3986
3987
|
})
|
|
3987
3988
|
})
|
|
@@ -3994,13 +3995,13 @@ var Ws = ws, Gs = Os, Ks = Ps, qs = Hs, Js = ({ message: e, trigger: t, initialV
|
|
|
3994
3995
|
document.addEventListener("keydown", (t) => {
|
|
3995
3996
|
if (t.key !== "Tab") return;
|
|
3996
3997
|
let n = document.querySelectorAll("button, .sid-link, input, select, textarea, [tabindex]:not([tabindex=\"-1\"]");
|
|
3997
|
-
e = n[n.length - 1], e && !t.shiftKey && document.activeElement === e && (
|
|
3998
|
+
e = n[n.length - 1], e && !t.shiftKey && document.activeElement === e && (ke({
|
|
3998
3999
|
type: "focus",
|
|
3999
4000
|
focusOn: "firstElement"
|
|
4000
4001
|
}), t.preventDefault());
|
|
4001
4002
|
}), window.addEventListener("message", (t) => {
|
|
4002
4003
|
t.data.focusOn === "lastElement" && e && e.focus();
|
|
4003
|
-
}),
|
|
4004
|
+
}), ke({
|
|
4004
4005
|
type: "focus",
|
|
4005
4006
|
focusOn: "firstElement"
|
|
4006
4007
|
});
|
|
@@ -4008,48 +4009,48 @@ var Ws = ws, Gs = Os, Ks = Ps, qs = Hs, Js = ({ message: e, trigger: t, initialV
|
|
|
4008
4009
|
window.addEventListener("message", (e) => {
|
|
4009
4010
|
e.data.isInLightBox === "true" && rc();
|
|
4010
4011
|
});
|
|
4011
|
-
}, ac = class extends
|
|
4012
|
+
}, ac = class extends F.Component {
|
|
4012
4013
|
verificationService;
|
|
4013
4014
|
constructor(e) {
|
|
4014
|
-
super(e),
|
|
4015
|
+
super(e), N.info("NewVerificationComponent: constructing"), this.props.trackingId && this.props.trackingId.length ? N.info(`Attaching a trackingId to this verification request ${this.props.trackingId}`) : N.info("No trackingId to associate with the verification request");
|
|
4015
4016
|
}
|
|
4016
4017
|
componentDidMount() {
|
|
4017
|
-
if (
|
|
4018
|
+
if (x(), ic(), _e((e) => {
|
|
4018
4019
|
switch (e.data.action) {
|
|
4019
4020
|
case "setViewModel":
|
|
4020
|
-
|
|
4021
|
+
Ge(e.data.viewModel, {
|
|
4021
4022
|
partial: !0,
|
|
4022
4023
|
metadataCheck: !0,
|
|
4023
4024
|
externalUserIdCheck: !0
|
|
4024
4025
|
});
|
|
4025
4026
|
break;
|
|
4026
4027
|
case "setOptions":
|
|
4027
|
-
|
|
4028
|
+
m(e.data.options);
|
|
4028
4029
|
break;
|
|
4029
4030
|
default:
|
|
4030
4031
|
}
|
|
4031
|
-
}),
|
|
4032
|
+
}), we()) N.info("Mocking loading screen. Not fetching new verification request.");
|
|
4032
4033
|
else {
|
|
4033
|
-
|
|
4034
|
-
let e =
|
|
4034
|
+
N.info("NewVerificationComponent: fetchNewVerificationRequest");
|
|
4035
|
+
let e = w(() => this.props.verificationService.verificationResponse.segment);
|
|
4035
4036
|
this.props.verificationService.fetchNewVerificationRequest(this.props.programId, e, this.props.verificationService.previousViewModel, this.props.trackingId);
|
|
4036
4037
|
}
|
|
4037
4038
|
}
|
|
4038
4039
|
render() {
|
|
4039
|
-
let { viewModel: t } = this.props.verificationService, n =
|
|
4040
|
+
let { viewModel: t } = this.props.verificationService, n = o(t), r;
|
|
4040
4041
|
this.props.messages && (r = this.props.messages);
|
|
4041
4042
|
let i = {
|
|
4042
4043
|
...r,
|
|
4043
|
-
...(0,
|
|
4044
|
+
...(0, pt.default)(e(n))
|
|
4044
4045
|
};
|
|
4045
|
-
if (this.props.verificationService.isLoading && !this.props.verificationService.loadingStep) return
|
|
4046
|
+
if (this.props.verificationService.isLoading && !this.props.verificationService.loadingStep) return N.info("NewVerificationComponent: VerificationService is loading"), /* @__PURE__ */ (0, I.jsx)(E, {
|
|
4046
4047
|
locale: "en",
|
|
4047
4048
|
messages: i,
|
|
4048
|
-
textComponent:
|
|
4049
|
-
children: /* @__PURE__ */ (0,
|
|
4049
|
+
textComponent: pn,
|
|
4050
|
+
children: /* @__PURE__ */ (0, I.jsx)(gt, {})
|
|
4050
4051
|
}, n);
|
|
4051
|
-
let { programTheme: a } = this.props.verificationService, { verificationResponse:
|
|
4052
|
-
return
|
|
4052
|
+
let { programTheme: a } = this.props.verificationService, { verificationResponse: s } = this.props.verificationService;
|
|
4053
|
+
return N.info("NewVerificationComponent: verificationResponse, viewModel", s, t), N.info(`NewVerificationComponent: locale: ${n}, currentStep: ${s.currentStep}, messages: `, r), /* @__PURE__ */ (0, I.jsx)(nc, {
|
|
4053
4054
|
locale: n,
|
|
4054
4055
|
messages: r,
|
|
4055
4056
|
programTheme: a,
|
|
@@ -4057,22 +4058,22 @@ var Ws = ws, Gs = Os, Ks = Ps, qs = Hs, Js = ({ message: e, trigger: t, initialV
|
|
|
4057
4058
|
programId: this.props.programId
|
|
4058
4059
|
});
|
|
4059
4060
|
}
|
|
4060
|
-
}, oc =
|
|
4061
|
+
}, oc = k((e, t) => ({ ...e }), (e, t) => ({
|
|
4061
4062
|
dispatch: e,
|
|
4062
|
-
fetchNewVerificationRequest:
|
|
4063
|
-
fetchExistingVerificationRequest:
|
|
4064
|
-
updateViewModel:
|
|
4065
|
-
updateLocale:
|
|
4066
|
-
updateProgramTheme:
|
|
4067
|
-
updateFieldValidationErrors:
|
|
4068
|
-
resetState:
|
|
4063
|
+
fetchNewVerificationRequest: Pe(e),
|
|
4064
|
+
fetchExistingVerificationRequest: Ke(e),
|
|
4065
|
+
updateViewModel: Ve(e),
|
|
4066
|
+
updateLocale: Ie(e, t.programId),
|
|
4067
|
+
updateProgramTheme: We(e),
|
|
4068
|
+
updateFieldValidationErrors: Fe(e),
|
|
4069
|
+
resetState: Be(e)
|
|
4069
4070
|
}), (e, t, n) => {
|
|
4070
4071
|
let { dispatch: r, ...i } = t, { programTheme: a } = e;
|
|
4071
4072
|
return {
|
|
4072
4073
|
verificationService: {
|
|
4073
4074
|
...e,
|
|
4074
4075
|
...i,
|
|
4075
|
-
submitStep:
|
|
4076
|
+
submitStep: Je(r, a)
|
|
4076
4077
|
},
|
|
4077
4078
|
messages: e.messages,
|
|
4078
4079
|
...n
|
|
@@ -4080,34 +4081,34 @@ var Ws = ws, Gs = Os, Ks = Ps, qs = Hs, Js = ({ message: e, trigger: t, initialV
|
|
|
4080
4081
|
})(ac), sc = (e) => ({
|
|
4081
4082
|
kind: "program",
|
|
4082
4083
|
key: e
|
|
4083
|
-
}), cc = ({ programId: e, children: t }) => /* @__PURE__ */ (0,
|
|
4084
|
+
}), cc = ({ programId: e, children: t }) => /* @__PURE__ */ (0, I.jsx)(tt, {
|
|
4084
4085
|
clientSideID: "6530161f9ff41712a2eef741",
|
|
4085
4086
|
context: sc(e),
|
|
4086
|
-
flags:
|
|
4087
|
+
flags: rt,
|
|
4087
4088
|
reactOptions: { useCamelCaseFlagKeys: !1 },
|
|
4088
4089
|
options: { streaming: !1 },
|
|
4089
4090
|
children: t
|
|
4090
|
-
}), lc =
|
|
4091
|
-
|
|
4092
|
-
var uc =
|
|
4091
|
+
}), lc = ze();
|
|
4092
|
+
T(h.jslibVersionActual, w(() => Oe(), "?")), T(h.clientVersion, w(() => Oe(), "?"));
|
|
4093
|
+
var uc = F.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
4093
4094
|
try {
|
|
4094
|
-
|
|
4095
|
+
Ze();
|
|
4095
4096
|
} catch (e) {
|
|
4096
|
-
|
|
4097
|
+
N.warn("Failed to add predefined hooks", e);
|
|
4097
4098
|
}
|
|
4098
|
-
return (0,
|
|
4099
|
-
|
|
4099
|
+
return (0, F.useEffect)(() => {
|
|
4100
|
+
y();
|
|
4100
4101
|
}), lc.dispatch({
|
|
4101
4102
|
programId: e,
|
|
4102
4103
|
type: "PROGRAM_ID"
|
|
4103
4104
|
}), n && (n.current = {
|
|
4104
|
-
refresh:
|
|
4105
|
-
reset:
|
|
4106
|
-
}), /* @__PURE__ */ (0,
|
|
4105
|
+
refresh: F.useCallback(() => lc.dispatch({ type: "FORCE_UPDATE" }), []),
|
|
4106
|
+
reset: F.useCallback(() => lc.dispatch({ type: "RESET_STATE" }), [])
|
|
4107
|
+
}), /* @__PURE__ */ (0, I.jsx)(ue, {
|
|
4107
4108
|
store: lc,
|
|
4108
|
-
children: /* @__PURE__ */ (0,
|
|
4109
|
+
children: /* @__PURE__ */ (0, I.jsx)(cc, {
|
|
4109
4110
|
programId: e,
|
|
4110
|
-
children: /* @__PURE__ */ (0,
|
|
4111
|
+
children: /* @__PURE__ */ (0, I.jsx)(oc, {
|
|
4111
4112
|
programId: e,
|
|
4112
4113
|
trackingId: t
|
|
4113
4114
|
})
|
|
@@ -4121,7 +4122,7 @@ var uc = N.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
4121
4122
|
ref;
|
|
4122
4123
|
constructor(t, n, r) {
|
|
4123
4124
|
if (!(this instanceof e)) throw Error("Method \"render\" not found. Did you use the \"new\" keyword when instantiating VerificationForm?");
|
|
4124
|
-
|
|
4125
|
+
N.info(`Constructing VerificationFormEs5 ${n}`), f(t), this.element = t, this.programId = n, this.trackingId = r, this.ref = F.createRef(), this.render();
|
|
4125
4126
|
}
|
|
4126
4127
|
refresh() {
|
|
4127
4128
|
this.ref.current.refresh();
|
|
@@ -4130,14 +4131,14 @@ var uc = N.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
4130
4131
|
this.ref.current.reset();
|
|
4131
4132
|
}
|
|
4132
4133
|
render() {
|
|
4133
|
-
|
|
4134
|
+
ft.render(/* @__PURE__ */ (0, I.jsx)(uc, {
|
|
4134
4135
|
programId: this.programId,
|
|
4135
4136
|
trackingId: this.trackingId,
|
|
4136
4137
|
ref: this.ref
|
|
4137
4138
|
}), this.element);
|
|
4138
4139
|
}
|
|
4139
4140
|
unmount() {
|
|
4140
|
-
|
|
4141
|
+
ft.unmountComponentAtNode(this.element);
|
|
4141
4142
|
}
|
|
4142
4143
|
}, fc = async () => {
|
|
4143
4144
|
if (!document.getElementById("ipqs")) return new Promise((e) => {
|
|
@@ -4147,15 +4148,15 @@ var uc = N.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
4147
4148
|
};
|
|
4148
4149
|
});
|
|
4149
4150
|
}, pc = async (e, t) => {
|
|
4150
|
-
if (
|
|
4151
|
+
if (w(() => e.ipqsDeviceFingerprintEnabled, !1)) try {
|
|
4151
4152
|
await fc(), window.IPQ = { Callback: () => {
|
|
4152
4153
|
window.Startup.Store("transactionID", t), window.Startup.Init();
|
|
4153
4154
|
} };
|
|
4154
4155
|
} catch (e) {
|
|
4155
|
-
|
|
4156
|
+
N.error(e, "Failed to collect IPQS device data");
|
|
4156
4157
|
}
|
|
4157
4158
|
}, mc = async (e, t) => {
|
|
4158
|
-
if (!
|
|
4159
|
+
if (!w(() => e.threatMetrixEnabled, !1)) return;
|
|
4159
4160
|
let n = e.threatMetrixOrgId || "cnl2my47";
|
|
4160
4161
|
try {
|
|
4161
4162
|
let { ThreatMetrix: e } = await import(
|
|
@@ -4164,7 +4165,7 @@ var uc = N.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
4164
4165
|
);
|
|
4165
4166
|
e !== void 0 && e.hasOwnProperty("profile") && typeof e.profile == "function" && e.profile("content.sheerid.com", n, t);
|
|
4166
4167
|
} catch (e) {
|
|
4167
|
-
|
|
4168
|
+
N.error(e, "Failed to collect ThreatMetrix device data");
|
|
4168
4169
|
}
|
|
4169
4170
|
}, hc = /* @__PURE__ */ new Map(), gc = (e, t) => {
|
|
4170
4171
|
let n = hc.get(t);
|
|
@@ -4173,36 +4174,36 @@ var uc = N.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
4173
4174
|
let [, , n] = await Promise.all([
|
|
4174
4175
|
mc(e, t),
|
|
4175
4176
|
pc(e, t),
|
|
4176
|
-
|
|
4177
|
+
Qe(e, t)
|
|
4177
4178
|
]);
|
|
4178
4179
|
return n ? { fpSessionId: n } : {};
|
|
4179
4180
|
})();
|
|
4180
4181
|
return hc.set(t, r), r;
|
|
4181
4182
|
}, _c = {
|
|
4182
4183
|
getMessages: t,
|
|
4183
|
-
setViewModel:
|
|
4184
|
-
resetViewModel:
|
|
4185
|
-
setOptions:
|
|
4186
|
-
resetOptions:
|
|
4187
|
-
refreshStore:
|
|
4188
|
-
setMetadata:
|
|
4189
|
-
getMetadata:
|
|
4190
|
-
resetMetadata:
|
|
4191
|
-
conversion:
|
|
4192
|
-
overrideComponent:
|
|
4193
|
-
resetOverriddenComponents:
|
|
4194
|
-
postVerificationSizeUpdates:
|
|
4195
|
-
addHook:
|
|
4196
|
-
hooks:
|
|
4184
|
+
setViewModel: Ge,
|
|
4185
|
+
resetViewModel: He,
|
|
4186
|
+
setOptions: m,
|
|
4187
|
+
resetOptions: b,
|
|
4188
|
+
refreshStore: Me,
|
|
4189
|
+
setMetadata: Ye,
|
|
4190
|
+
getMetadata: Le,
|
|
4191
|
+
resetMetadata: je,
|
|
4192
|
+
conversion: ne,
|
|
4193
|
+
overrideComponent: Et,
|
|
4194
|
+
resetOverriddenComponents: Ot,
|
|
4195
|
+
postVerificationSizeUpdates: Xe,
|
|
4196
|
+
addHook: Ne,
|
|
4197
|
+
hooks: Ae,
|
|
4197
4198
|
VerificationForm: dc,
|
|
4198
|
-
collectDeviceProfile: async (e, t) => gc(await
|
|
4199
|
-
resetStore:
|
|
4199
|
+
collectDeviceProfile: async (e, t) => gc(await ce.fetchProgramTheme(t), e),
|
|
4200
|
+
resetStore: Ue,
|
|
4200
4201
|
setProgramTheme: (e, t = { partial: !0 }) => {
|
|
4201
|
-
let n =
|
|
4202
|
-
let r =
|
|
4203
|
-
|
|
4202
|
+
let n = ze(), r = n.getState(), i = () => {
|
|
4203
|
+
let r = a(e);
|
|
4204
|
+
N.info("Setting programTheme", r), We(n.dispatch)(r, t.partial), oe(r, t.partial);
|
|
4204
4205
|
};
|
|
4205
|
-
r.isLoading ?
|
|
4206
|
+
r.isLoading ? Ne({
|
|
4206
4207
|
name: "ON_VERIFICATION_READY",
|
|
4207
4208
|
callback: () => {
|
|
4208
4209
|
i();
|
|
@@ -4211,4 +4212,4 @@ var uc = N.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
4211
4212
|
}
|
|
4212
4213
|
};
|
|
4213
4214
|
//#endregion
|
|
4214
|
-
export {
|
|
4215
|
+
export { zt as A, En as C, V as D, _n as E, mt as F, kt as M, xt as N, B as O, gt as P, H as S, vn as T, ur as _, oo as a, Fn as b, io as c, Ba as d, _c as default, Ia as f, ya as g, Fa as h, _s as i, Mt as j, Wt as k, qa as l, La as m, Qs as n, so as o, Ra as p, Xs as r, lo as s, gc as t, Ha as u, Yn as v, bn as w, Dn as x, Un as y };
|