@sheerid/jslib 2.304.0 → 2.306.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 +1096 -1103
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/{AddressComponent-OHgf-_sl.js → AddressComponent-CcEzpDGt.js} +8 -8
- package/chunk/{AddressComponent-DIp4rtF_.js.map → AddressComponent-CcEzpDGt.js.map} +1 -1
- package/chunk/{AddressComponent-DIp4rtF_.js → AddressComponent-uJCuo22u.js} +8 -8
- package/chunk/{AddressComponent-OHgf-_sl.js.map → AddressComponent-uJCuo22u.js.map} +1 -1
- package/chunk/{AnnouncingHeader-zH7WLU2-.js → AnnouncingHeader-DKOYC3b9.js} +6 -6
- package/chunk/{AnnouncingHeader-CnV2m0Ak.js.map → AnnouncingHeader-DKOYC3b9.js.map} +1 -1
- package/chunk/{AnnouncingHeader-CnV2m0Ak.js → AnnouncingHeader-gJrk6VDV.js} +6 -6
- package/chunk/{AnnouncingHeader-zH7WLU2-.js.map → AnnouncingHeader-gJrk6VDV.js.map} +1 -1
- package/chunk/{BirthDateComponent-oQPnVqSa.js → BirthDateComponent-DPwL_esM.js} +8 -8
- package/chunk/{BirthDateComponent-CucjHQqp.js.map → BirthDateComponent-DPwL_esM.js.map} +1 -1
- package/chunk/{BirthDateComponent-CucjHQqp.js → BirthDateComponent-c3-VfXxt.js} +8 -8
- package/chunk/{BirthDateComponent-oQPnVqSa.js.map → BirthDateComponent-c3-VfXxt.js.map} +1 -1
- package/chunk/{CaptchaComponent-D98si3Jy.js → CaptchaComponent-3YIkG9Wr.js} +54 -54
- package/chunk/{CaptchaComponent-D98si3Jy.js.map → CaptchaComponent-3YIkG9Wr.js.map} +1 -1
- package/chunk/{CaptchaComponent-DqGHJA-M.js → CaptchaComponent-B9U-3SMZ.js} +88 -88
- package/chunk/{CaptchaComponent-DqGHJA-M.js.map → CaptchaComponent-B9U-3SMZ.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-C8snL44m.js → ChangeLocaleComponent-FiBBf-GR.js} +9 -9
- package/chunk/{ChangeLocaleComponent-C8snL44m.js.map → ChangeLocaleComponent-FiBBf-GR.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-CeHqgN6J.js → ChangeLocaleComponent-k7OjzNbY.js} +9 -9
- package/chunk/{ChangeLocaleComponent-CeHqgN6J.js.map → ChangeLocaleComponent-k7OjzNbY.js.map} +1 -1
- package/chunk/{City-7bUXB6DM.js → City-DWGcObHo.js} +8 -8
- package/chunk/{City-7bUXB6DM.js.map → City-DWGcObHo.js.map} +1 -1
- package/chunk/{City-aUxxLZ7_.js → City-PTqumFny.js} +8 -8
- package/chunk/{City-aUxxLZ7_.js.map → City-PTqumFny.js.map} +1 -1
- package/chunk/{CollegeNameComponent-YAs8pRV4.js → CollegeNameComponent-CxOhMPuq.js} +11 -11
- package/chunk/{CollegeNameComponent-B5as2wyn.js.map → CollegeNameComponent-CxOhMPuq.js.map} +1 -1
- package/chunk/{CollegeNameComponent-B5as2wyn.js → CollegeNameComponent-O9Aa01US.js} +11 -11
- package/chunk/{CollegeNameComponent-YAs8pRV4.js.map → CollegeNameComponent-O9Aa01US.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-BdrpxpHJ.js → CopyToClipboardComponent-BorxChs8.js} +9 -9
- package/chunk/{CopyToClipboardComponent-BdrpxpHJ.js.map → CopyToClipboardComponent-BorxChs8.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-Dm3-3x4b.js → CopyToClipboardComponent-ystjPwTW.js} +9 -9
- package/chunk/{CopyToClipboardComponent-Dm3-3x4b.js.map → CopyToClipboardComponent-ystjPwTW.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-IoxuPmMC.js → CountryComponentWrapper-CZK3RrMe.js} +12 -12
- package/chunk/{CountryComponentWrapper-BTUytS2o.js.map → CountryComponentWrapper-CZK3RrMe.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-BTUytS2o.js → CountryComponentWrapper-DangmyAi.js} +29 -29
- package/chunk/{CountryComponentWrapper-IoxuPmMC.js.map → CountryComponentWrapper-DangmyAi.js.map} +1 -1
- package/chunk/{DischargeDateComponent-Cy1_zOya.js → DischargeDateComponent-CS7xH5hw.js} +16 -16
- package/chunk/{DischargeDateComponent-CTZiOL4E.js.map → DischargeDateComponent-CS7xH5hw.js.map} +1 -1
- package/chunk/{DischargeDateComponent-CTZiOL4E.js → DischargeDateComponent-D7ahRNvU.js} +17 -17
- package/chunk/{DischargeDateComponent-Cy1_zOya.js.map → DischargeDateComponent-D7ahRNvU.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-CxSJbkjt.js → DriverLicenseNumberComponent-CIqKv5_E.js} +8 -8
- package/chunk/{DriverLicenseNumberComponent-CxSJbkjt.js.map → DriverLicenseNumberComponent-CIqKv5_E.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-Rky9SG-A.js → DriverLicenseNumberComponent-riQXCF7X.js} +8 -8
- package/chunk/{DriverLicenseNumberComponent-Rky9SG-A.js.map → DriverLicenseNumberComponent-riQXCF7X.js.map} +1 -1
- package/chunk/{EmailLoopPending-BZWT0n5I.js → EmailLoopPending-BvvnCpWf.js} +12 -12
- package/chunk/{EmailLoopPending-BZWT0n5I.js.map → EmailLoopPending-BvvnCpWf.js.map} +1 -1
- package/chunk/{EmailLoopPending-C319a8WP.js → EmailLoopPending-CfFPbM5A.js} +14 -14
- package/chunk/{EmailLoopPending-C319a8WP.js.map → EmailLoopPending-CfFPbM5A.js.map} +1 -1
- package/chunk/{ExtraMessage-B58a-KYp.js → ExtraMessage-B0Pl1Fx3.js} +7 -7
- package/chunk/{ExtraMessage-B58a-KYp.js.map → ExtraMessage-B0Pl1Fx3.js.map} +1 -1
- package/chunk/{ExtraMessage-C1LGtDyk.js → ExtraMessage-BtQiKR6F.js} +7 -7
- package/chunk/{ExtraMessage-C1LGtDyk.js.map → ExtraMessage-BtQiKR6F.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-HTKkHwO4.js → FirstResponderOrganizationComponent-3LHhZthH.js} +9 -9
- package/chunk/{FirstResponderOrganizationComponent-D6M_yo4M.js.map → FirstResponderOrganizationComponent-3LHhZthH.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-D6M_yo4M.js → FirstResponderOrganizationComponent-Cn3DJnck.js} +9 -9
- package/chunk/{FirstResponderOrganizationComponent-HTKkHwO4.js.map → FirstResponderOrganizationComponent-Cn3DJnck.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-Cb6lHKHg.js → FormFieldInputSelect-BHFYCp09.js} +7 -7
- package/chunk/{FormFieldInputSelect-Cb6lHKHg.js.map → FormFieldInputSelect-BHFYCp09.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-e0N6kc8Y.js → FormFieldInputSelect-CWAKAPf9.js} +7 -7
- package/chunk/{FormFieldInputSelect-e0N6kc8Y.js.map → FormFieldInputSelect-CWAKAPf9.js.map} +1 -1
- package/chunk/{FormFieldLayout-D1tb5nAu.js → FormFieldLayout-B5_PsKrR.js} +6 -6
- package/chunk/{FormFieldLayout-D1tb5nAu.js.map → FormFieldLayout-B5_PsKrR.js.map} +1 -1
- package/chunk/{FormFieldLayout-Dt_dMiDh.js → FormFieldLayout-CRgEwTkx.js} +6 -6
- package/chunk/{FormFieldLayout-Dt_dMiDh.js.map → FormFieldLayout-CRgEwTkx.js.map} +1 -1
- package/chunk/{FormFieldText-CsFISbyw.js → FormFieldText-BWImUS8U.js} +7 -7
- package/chunk/{FormFieldText-BU2NBm1H.js.map → FormFieldText-BWImUS8U.js.map} +1 -1
- package/chunk/{FormFieldText-BU2NBm1H.js → FormFieldText-D4SW8w-w.js} +7 -7
- package/chunk/{FormFieldText-CsFISbyw.js.map → FormFieldText-D4SW8w-w.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-BsM6Ruie.js → FormFieldTypeahead-C27MDdwq.js} +85 -85
- package/chunk/{FormFieldTypeahead-BsM6Ruie.js.map → FormFieldTypeahead-C27MDdwq.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-QR_lJrFB.js → FormFieldTypeahead-DLN-DRL3.js} +42 -42
- package/chunk/{FormFieldTypeahead-QR_lJrFB.js.map → FormFieldTypeahead-DLN-DRL3.js.map} +1 -1
- package/chunk/{FormFooterComponent-DGcfJdwH.js → FormFooterComponent-D0U-oYDf.js} +520 -520
- package/chunk/FormFooterComponent-D0U-oYDf.js.map +1 -0
- package/chunk/{FormFooterComponent-DmKzIyrc.js → FormFooterComponent-DzG4p93f.js} +466 -466
- package/chunk/FormFooterComponent-DzG4p93f.js.map +1 -0
- package/chunk/{FormSelectChoice-Bv5aMXMd.js → FormSelectChoice-2j71fL0j.js} +8 -8
- package/chunk/{FormSelectChoice-Bv5aMXMd.js.map → FormSelectChoice-2j71fL0j.js.map} +1 -1
- package/chunk/{FormSelectChoice-CE1QacNH.js → FormSelectChoice-BGa9KqEI.js} +8 -8
- package/chunk/{FormSelectChoice-CE1QacNH.js.map → FormSelectChoice-BGa9KqEI.js.map} +1 -1
- package/chunk/{InputText-DMztCQmi.js → InputText-CS8Q8oNz.js} +6 -6
- package/chunk/{InputText-CuBi-ytU.js.map → InputText-CS8Q8oNz.js.map} +1 -1
- package/chunk/{InputText-CuBi-ytU.js → InputText-D__c437o.js} +6 -6
- package/chunk/{InputText-DMztCQmi.js.map → InputText-D__c437o.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-BzyJSQrq.js → LicensedProfessionalOrganizationComponent-BFocaYeI.js} +9 -9
- package/chunk/{LicensedProfessionalOrganizationComponent-BzyJSQrq.js.map → LicensedProfessionalOrganizationComponent-BFocaYeI.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-JXLsT4Ua.js → LicensedProfessionalOrganizationComponent-TdpFCMlR.js} +9 -9
- package/chunk/{LicensedProfessionalOrganizationComponent-JXLsT4Ua.js.map → LicensedProfessionalOrganizationComponent-TdpFCMlR.js.map} +1 -1
- package/chunk/{LogoComponent-B9xpaOmb.js → LogoComponent-BcMnrRvP.js} +6 -6
- package/chunk/{LogoComponent-B9xpaOmb.js.map → LogoComponent-BcMnrRvP.js.map} +1 -1
- package/chunk/{LogoComponent-CcqFEsge.js → LogoComponent-Dygket6f.js} +6 -6
- package/chunk/{LogoComponent-CcqFEsge.js.map → LogoComponent-Dygket6f.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-FQA-80EB.js → LowIncomeOrganizationComponent-BrsVGnzb.js} +15 -15
- package/chunk/{LowIncomeOrganizationComponent-FQA-80EB.js.map → LowIncomeOrganizationComponent-BrsVGnzb.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-DlRk_SSB.js → LowIncomeOrganizationComponent-DEwaJ0BF.js} +12 -12
- package/chunk/{LowIncomeOrganizationComponent-DlRk_SSB.js.map → LowIncomeOrganizationComponent-DEwaJ0BF.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-GUaeaxBA.js → MedicalProfessionalOrganizationComponent-BY2Hq4h6.js} +9 -9
- package/chunk/{MedicalProfessionalOrganizationComponent-GUaeaxBA.js.map → MedicalProfessionalOrganizationComponent-BY2Hq4h6.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-B52FvTE1.js → MedicalProfessionalOrganizationComponent-BdBFSzZK.js} +9 -9
- package/chunk/{MedicalProfessionalOrganizationComponent-B52FvTE1.js.map → MedicalProfessionalOrganizationComponent-BdBFSzZK.js.map} +1 -1
- package/chunk/{MemberIdComponent-CKOJTsUZ.js → MemberIdComponent-CK7-5MwH.js} +8 -8
- package/chunk/{MemberIdComponent-CKOJTsUZ.js.map → MemberIdComponent-CK7-5MwH.js.map} +1 -1
- package/chunk/{MemberIdComponent-DKvGJ5w8.js → MemberIdComponent-KkHtb-GL.js} +8 -8
- package/chunk/{MemberIdComponent-DKvGJ5w8.js.map → MemberIdComponent-KkHtb-GL.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-BsP0oS9k.js → MembershipOrganizationComponent-fWo6qweD.js} +9 -9
- package/chunk/{MembershipOrganizationComponent-BsP0oS9k.js.map → MembershipOrganizationComponent-fWo6qweD.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-DlERUS3X.js → MembershipOrganizationComponent-z2gRbxPZ.js} +9 -9
- package/chunk/{MembershipOrganizationComponent-DlERUS3X.js.map → MembershipOrganizationComponent-z2gRbxPZ.js.map} +1 -1
- package/chunk/{Message-BToMuDnF.js → Message-D1m8rtsf.js} +7375 -7325
- package/chunk/Message-D1m8rtsf.js.map +1 -0
- package/chunk/{Message-BcRlg1D8.js → Message-bCY_JxvZ.js} +7861 -7811
- package/chunk/Message-bCY_JxvZ.js.map +1 -0
- package/chunk/Onfido-CTCgAwnB.js +4 -4
- package/chunk/{PersonalInfoStepSubmitButton-B3cCavK_.js → PersonalInfoStepSubmitButton-6Kg-pZ_I.js} +20 -20
- package/chunk/{PersonalInfoStepSubmitButton-B3cCavK_.js.map → PersonalInfoStepSubmitButton-6Kg-pZ_I.js.map} +1 -1
- package/chunk/{PersonalInfoStepSubmitButton-DvsmVrOf.js → PersonalInfoStepSubmitButton-DF3V6hJY.js} +19 -19
- package/chunk/{PersonalInfoStepSubmitButton-DvsmVrOf.js.map → PersonalInfoStepSubmitButton-DF3V6hJY.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-BvUX_IV3.js → PersonalInfoStepWrapper-BHXuN88z.js} +8 -8
- package/chunk/{PersonalInfoStepWrapper-BvUX_IV3.js.map → PersonalInfoStepWrapper-BHXuN88z.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-B58Hl9Sp.js → PersonalInfoStepWrapper-DuKZA7Bm.js} +7 -7
- package/chunk/{PersonalInfoStepWrapper-B58Hl9Sp.js.map → PersonalInfoStepWrapper-DuKZA7Bm.js.map} +1 -1
- package/chunk/{PostalCodeComponent-FVc2Nso4.js → PostalCodeComponent-BDLw-xEX.js} +8 -8
- package/chunk/{PostalCodeComponent-CrWWddQS.js.map → PostalCodeComponent-BDLw-xEX.js.map} +1 -1
- package/chunk/{PostalCodeComponent-CrWWddQS.js → PostalCodeComponent-BDVa1QY7.js} +8 -8
- package/chunk/{PostalCodeComponent-FVc2Nso4.js.map → PostalCodeComponent-BDVa1QY7.js.map} +1 -1
- package/chunk/{SSN-5QKevvwg.js → SSN-C4RsyvaG.js} +8 -8
- package/chunk/{SSN-5QKevvwg.js.map → SSN-C4RsyvaG.js.map} +1 -1
- package/chunk/{SSN-rfoKEogO.js → SSN-Dn0TLNb9.js} +8 -8
- package/chunk/{SSN-rfoKEogO.js.map → SSN-Dn0TLNb9.js.map} +1 -1
- package/chunk/StateSelectComponent-BuF9uoFe.js +46 -0
- package/chunk/StateSelectComponent-BuF9uoFe.js.map +1 -0
- package/chunk/StateSelectComponent-OMXNQVGE.js +42 -0
- package/chunk/StateSelectComponent-OMXNQVGE.js.map +1 -0
- package/chunk/{StatusComponent-DoH2jBJe.js → StatusComponent-B-1gIOek.js} +10 -10
- package/chunk/{StatusComponent-DoH2jBJe.js.map → StatusComponent-B-1gIOek.js.map} +1 -1
- package/chunk/{StatusComponent-CXUgeCAX.js → StatusComponent-U699Nzbq.js} +10 -10
- package/chunk/{StatusComponent-CXUgeCAX.js.map → StatusComponent-U699Nzbq.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-CjTZNsVe.js → StepAgePersonalInfo-C8-SdaGI.js} +58 -58
- package/chunk/{StepAgePersonalInfo-CjTZNsVe.js.map → StepAgePersonalInfo-C8-SdaGI.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-DYHJqeaB.js → StepAgePersonalInfo-DMMuSV6H.js} +58 -58
- package/chunk/{StepAgePersonalInfo-DYHJqeaB.js.map → StepAgePersonalInfo-DMMuSV6H.js.map} +1 -1
- package/chunk/{StepCard-DJR-l3sW.js → StepCard-B72CFYHs.js} +5 -5
- package/chunk/{StepCard-DJR-l3sW.js.map → StepCard-B72CFYHs.js.map} +1 -1
- package/chunk/{StepCard-wwTRGIhn.js → StepCard-Bvt7Kykz.js} +5 -5
- package/chunk/{StepCard-wwTRGIhn.js.map → StepCard-Bvt7Kykz.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-DE0gBqAY.js → StepCollectIdentifier-Cf_OO2eb.js} +9 -9
- package/chunk/{StepCollectIdentifier-DE0gBqAY.js.map → StepCollectIdentifier-Cf_OO2eb.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-BxkG6FC9.js → StepCollectIdentifier-D8BXMPSm.js} +9 -9
- package/chunk/{StepCollectIdentifier-BxkG6FC9.js.map → StepCollectIdentifier-D8BXMPSm.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-DfiGcf5I.js → StepCollectMilitaryPersonalInfoComponent--ylC8N5Z.js} +24 -24
- package/chunk/{StepCollectMilitaryPersonalInfoComponent--Ie4B0yl.js.map → StepCollectMilitaryPersonalInfoComponent--ylC8N5Z.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent--Ie4B0yl.js → StepCollectMilitaryPersonalInfoComponent-D-xxPyNf.js} +24 -24
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-DfiGcf5I.js.map → StepCollectMilitaryPersonalInfoComponent-D-xxPyNf.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-lnriADQY.js → StepCollectPersonalInfo-CIskNcb_.js} +121 -121
- package/chunk/{StepCollectPersonalInfo-lnriADQY.js.map → StepCollectPersonalInfo-CIskNcb_.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-vwWUcMyH.js → StepCollectPersonalInfo-CaVYVLpx.js} +122 -122
- package/chunk/{StepCollectPersonalInfo-vwWUcMyH.js.map → StepCollectPersonalInfo-CaVYVLpx.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-BJTAm52g.js → StepCompleteAuthentication-BrdV0iN-.js} +9 -9
- package/chunk/{StepCompleteAuthentication-BJTAm52g.js.map → StepCompleteAuthentication-BrdV0iN-.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-BUA2xrtE.js → StepCompleteAuthentication-DLwlKmBO.js} +20 -20
- package/chunk/{StepCompleteAuthentication-BUA2xrtE.js.map → StepCompleteAuthentication-DLwlKmBO.js.map} +1 -1
- package/chunk/{StepConsolation-CRoBFGTd.js → StepConsolation-BzbijBhL.js} +8 -8
- package/chunk/{StepConsolation-Dw4IOp9l.js.map → StepConsolation-BzbijBhL.js.map} +1 -1
- package/chunk/{StepConsolation-Dw4IOp9l.js → StepConsolation-DFQwmpUe.js} +8 -8
- package/chunk/{StepConsolation-CRoBFGTd.js.map → StepConsolation-DFQwmpUe.js.map} +1 -1
- package/chunk/{StepDocUpload-xEtdWGcK.js → StepDocUpload-CFcyuvS6.js} +30 -30
- package/chunk/{StepDocUpload-xEtdWGcK.js.map → StepDocUpload-CFcyuvS6.js.map} +1 -1
- package/chunk/{StepDocUpload-BUzQ9g81.js → StepDocUpload-h1JWZUZC.js} +23 -23
- package/chunk/{StepDocUpload-BUzQ9g81.js.map → StepDocUpload-h1JWZUZC.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-Dx_8OM3-.js → StepDriverLicensePersonalInfoComponent-DFc0FiIt.js} +15 -15
- package/chunk/{StepDriverLicensePersonalInfoComponent-BxUpMImU.js.map → StepDriverLicensePersonalInfoComponent-DFc0FiIt.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-BxUpMImU.js → StepDriverLicensePersonalInfoComponent-s_PvlzNE.js} +15 -15
- package/chunk/{StepDriverLicensePersonalInfoComponent-Dx_8OM3-.js.map → StepDriverLicensePersonalInfoComponent-s_PvlzNE.js.map} +1 -1
- package/chunk/{StepEmailLoop-mfub_mok.js → StepEmailLoop-D5T68VTx.js} +13 -13
- package/chunk/{StepEmailLoop-Nw-rJgsm.js.map → StepEmailLoop-D5T68VTx.js.map} +1 -1
- package/chunk/{StepEmailLoop-Nw-rJgsm.js → StepEmailLoop-DLoLfr39.js} +13 -13
- package/chunk/{StepEmailLoop-mfub_mok.js.map → StepEmailLoop-DLoLfr39.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-jfNudNTZ.js → StepEmploymentPersonalInfo-BiXV9zG6.js} +20 -20
- package/chunk/{StepEmploymentPersonalInfo-DMkrJYj7.js.map → StepEmploymentPersonalInfo-BiXV9zG6.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-DMkrJYj7.js → StepEmploymentPersonalInfo-ByAaA9uJ.js} +20 -20
- package/chunk/{StepEmploymentPersonalInfo-jfNudNTZ.js.map → StepEmploymentPersonalInfo-ByAaA9uJ.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-CYFtsRm-.js → StepFirstResponderPersonalInfo-BqS568ZP.js} +22 -22
- package/chunk/{StepFirstResponderPersonalInfo-CFqJv92p.js.map → StepFirstResponderPersonalInfo-BqS568ZP.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-CFqJv92p.js → StepFirstResponderPersonalInfo-DEc90JZ2.js} +22 -22
- package/chunk/{StepFirstResponderPersonalInfo-CYFtsRm-.js.map → StepFirstResponderPersonalInfo-DEc90JZ2.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-k27Awiqm.js → StepGeneralIdentityPersonalInfoComponent-2_g0jDtn.js} +18 -18
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-BaVIwPSY.js.map → StepGeneralIdentityPersonalInfoComponent-2_g0jDtn.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-BaVIwPSY.js → StepGeneralIdentityPersonalInfoComponent-B3_zfixj.js} +18 -18
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-k27Awiqm.js.map → StepGeneralIdentityPersonalInfoComponent-B3_zfixj.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-D0luWaZH.js → StepHybridIdentityPersonalInfoComponent-BFhxyJWJ.js} +19 -19
- package/chunk/{StepHybridIdentityPersonalInfoComponent-D0luWaZH.js.map → StepHybridIdentityPersonalInfoComponent-BFhxyJWJ.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-k2Y3yuVP.js → StepHybridIdentityPersonalInfoComponent-DzYYUzME.js} +19 -19
- package/chunk/{StepHybridIdentityPersonalInfoComponent-k2Y3yuVP.js.map → StepHybridIdentityPersonalInfoComponent-DzYYUzME.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-BtLu63gH.js → StepIDCheckLoop-8HP5_FVH.js} +8 -8
- package/chunk/{StepIDCheckLoop-BtLu63gH.js.map → StepIDCheckLoop-8HP5_FVH.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-qMDVYGF6.js → StepIDCheckLoop-D-Y9rKsk.js} +8 -8
- package/chunk/{StepIDCheckLoop-qMDVYGF6.js.map → StepIDCheckLoop-D-Y9rKsk.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-Cn2taSRq.js → StepIDCheckLoopOnfido-C_EEaIvS.js} +27 -27
- package/chunk/{StepIDCheckLoopOnfido-D9hJvwHI.js.map → StepIDCheckLoopOnfido-C_EEaIvS.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-D9hJvwHI.js → StepIDCheckLoopOnfido-DQacZCgs.js} +16 -16
- package/chunk/{StepIDCheckLoopOnfido-Cn2taSRq.js.map → StepIDCheckLoopOnfido-DQacZCgs.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-B0gSu2f2.js → StepIDCheckLoopRegula-DEiy_meG.js} +11 -11
- package/chunk/{StepIDCheckLoopRegula-B0gSu2f2.js.map → StepIDCheckLoopRegula-DEiy_meG.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-C5taOj9i.js → StepIDCheckLoopRegula-FMQtQ00c.js} +11 -11
- package/chunk/{StepIDCheckLoopRegula-C5taOj9i.js.map → StepIDCheckLoopRegula-FMQtQ00c.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-tWD68oFU.js → StepLicensedProfessionalPersonalInfo-B6qktzsF.js} +21 -21
- package/chunk/{StepLicensedProfessionalPersonalInfo-Db4rc2F6.js.map → StepLicensedProfessionalPersonalInfo-B6qktzsF.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-Db4rc2F6.js → StepLicensedProfessionalPersonalInfo-f6waS68x.js} +21 -21
- package/chunk/{StepLicensedProfessionalPersonalInfo-tWD68oFU.js.map → StepLicensedProfessionalPersonalInfo-f6waS68x.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-C8ZXtF9i.js → StepLowIncomePersonalInfo-CVrkhAxr.js} +25 -25
- package/chunk/{StepLowIncomePersonalInfo-C8ZXtF9i.js.map → StepLowIncomePersonalInfo-CVrkhAxr.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-DTQzLFYh.js → StepLowIncomePersonalInfo-Cpr_D1eF.js} +74 -74
- package/chunk/{StepLowIncomePersonalInfo-DTQzLFYh.js.map → StepLowIncomePersonalInfo-Cpr_D1eF.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-CEWvfZIo.js → StepMedicalProfessionalPersonalInfo-BMdmppPh.js} +22 -22
- package/chunk/{StepMedicalProfessionalPersonalInfo-CEWvfZIo.js.map → StepMedicalProfessionalPersonalInfo-BMdmppPh.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-D81j6Sg7.js → StepMedicalProfessionalPersonalInfo-CR_cOA88.js} +22 -22
- package/chunk/{StepMedicalProfessionalPersonalInfo-D81j6Sg7.js.map → StepMedicalProfessionalPersonalInfo-CR_cOA88.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-Idz-W2bu.js → StepMemberPersonalInfo-3ycGLGMb.js} +17 -17
- package/chunk/{StepMemberPersonalInfo-B__oOkWE.js.map → StepMemberPersonalInfo-3ycGLGMb.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-B__oOkWE.js → StepMemberPersonalInfo-BTBjBkLR.js} +57 -57
- package/chunk/{StepMemberPersonalInfo-Idz-W2bu.js.map → StepMemberPersonalInfo-BTBjBkLR.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-BItSb2hF.js → StepMoverPersonalInfo-CHmJAEta.js} +47 -47
- package/chunk/{StepMoverPersonalInfo-BItSb2hF.js.map → StepMoverPersonalInfo-CHmJAEta.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-EJ5M2CDv.js → StepMoverPersonalInfo-CJEvhUg5.js} +15 -15
- package/chunk/{StepMoverPersonalInfo-EJ5M2CDv.js.map → StepMoverPersonalInfo-CJEvhUg5.js.map} +1 -1
- package/chunk/{StepOverrideComponent-BABa7V4t.js → StepOverrideComponent-B9fvWbBC.js} +21 -21
- package/chunk/{StepOverrideComponent-Cfltty36.js.map → StepOverrideComponent-B9fvWbBC.js.map} +1 -1
- package/chunk/{StepOverrideComponent-Cfltty36.js → StepOverrideComponent-BYUbyZkl.js} +21 -21
- package/chunk/{StepOverrideComponent-BABa7V4t.js.map → StepOverrideComponent-BYUbyZkl.js.map} +1 -1
- package/chunk/{StepSMSLoop-DfGhOhOr.js → StepSMSLoop-BR4v_UvU.js} +22 -22
- package/chunk/{StepSMSLoop-DfGhOhOr.js.map → StepSMSLoop-BR4v_UvU.js.map} +1 -1
- package/chunk/{StepSMSLoop-vn3IgTp0.js → StepSMSLoop-Dp77AMrb.js} +24 -24
- package/chunk/{StepSMSLoop-vn3IgTp0.js.map → StepSMSLoop-Dp77AMrb.js.map} +1 -1
- package/chunk/StepSSO-BGHCbduX.js +4 -4
- package/chunk/StepSSO-ZHByQpHa.js +4 -4
- package/chunk/{StepSocialSecurityNumber-CjG9oKtT.js → StepSocialSecurityNumber-A2Q_UluD.js} +12 -12
- package/chunk/{StepSocialSecurityNumber-BEhNPFMA.js.map → StepSocialSecurityNumber-A2Q_UluD.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-BEhNPFMA.js → StepSocialSecurityNumber-BO5uts-s.js} +24 -24
- package/chunk/{StepSocialSecurityNumber-CjG9oKtT.js.map → StepSocialSecurityNumber-BO5uts-s.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-6sEXvlbs.js → StepStudentPersonalInfo-CLchkf6y.js} +64 -64
- package/chunk/{StepStudentPersonalInfo-6sEXvlbs.js.map → StepStudentPersonalInfo-CLchkf6y.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-NYJN6QM4.js → StepStudentPersonalInfo-oc0V1SEn.js} +22 -22
- package/chunk/{StepStudentPersonalInfo-NYJN6QM4.js.map → StepStudentPersonalInfo-oc0V1SEn.js.map} +1 -1
- package/chunk/{StepSuccess-DXYPrAoS.js → StepSuccess-DYAR3u5v.js} +25 -25
- package/chunk/{StepSuccess-BSGiXxfN.js.map → StepSuccess-DYAR3u5v.js.map} +1 -1
- package/chunk/{StepSuccess-BSGiXxfN.js → StepSuccess-z93uD3YR.js} +26 -26
- package/chunk/{StepSuccess-DXYPrAoS.js.map → StepSuccess-z93uD3YR.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-DH19GPsU.js → StepTeacherPersonalInfo-Bm4zMphQ.js} +18 -18
- package/chunk/{StepTeacherPersonalInfo-BnUPd7A_.js.map → StepTeacherPersonalInfo-Bm4zMphQ.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-BnUPd7A_.js → StepTeacherPersonalInfo-UxRien1W.js} +18 -18
- package/chunk/{StepTeacherPersonalInfo-DH19GPsU.js.map → StepTeacherPersonalInfo-UxRien1W.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BrKuZcYb.js +4 -4
- package/chunk/StepThirdPartyLoop-CbFTIlwP.js +4 -4
- package/chunk/{TeacherSchoolComponent-I15vrTCE.js → TeacherSchoolComponent-B-8Zac1k.js} +11 -11
- package/chunk/{TeacherSchoolComponent-I15vrTCE.js.map → TeacherSchoolComponent-B-8Zac1k.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-pnmySE96.js → TeacherSchoolComponent-Bnurez7X.js} +11 -11
- package/chunk/{TeacherSchoolComponent-pnmySE96.js.map → TeacherSchoolComponent-Bnurez7X.js.map} +1 -1
- package/chunk/{TestingRouteOverrides-Bx1n-xCR.js → TestingRouteOverrides-CqkLaStu.js} +26 -26
- package/chunk/{TestingRouteOverrides-Bx1n-xCR.js.map → TestingRouteOverrides-CqkLaStu.js.map} +1 -1
- package/chunk/{TestingRouteOverrides-DHe5BulD.js → TestingRouteOverrides-DUx5spVA.js} +24 -24
- package/chunk/{TestingRouteOverrides-DHe5BulD.js.map → TestingRouteOverrides-DUx5spVA.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-CdNf-73_.js → countryUtils-CSpfIQmr.js} +5 -5
- package/chunk/{countryUtils-CdNf-73_.js.map → countryUtils-CSpfIQmr.js.map} +1 -1
- package/chunk/countryUtils-ROgCMKtt.js +12 -0
- package/chunk/{countryUtils-CniUDXes.js.map → countryUtils-ROgCMKtt.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-D0Q-rG8L.js → downshift.esm-B_3QLNGg.js} +124 -124
- package/chunk/{downshift.esm-DUM3sJ7L.js.map → downshift.esm-B_3QLNGg.js.map} +1 -1
- package/chunk/{downshift.esm-DUM3sJ7L.js → downshift.esm-dTKHfRuW.js} +7 -7
- package/chunk/{downshift.esm-D0Q-rG8L.js.map → downshift.esm-dTKHfRuW.js.map} +1 -1
- package/chunk/el-DbDcvSPJ.js +4 -4
- package/chunk/{empties-C5H0EoXJ.js → empties-C1INRgC4.js} +53 -56
- package/chunk/empties-C1INRgC4.js.map +1 -0
- package/chunk/{empties-DaNcqYFb.js → empties-C38lUQIl.js} +9 -12
- package/chunk/empties-C38lUQIl.js.map +1 -0
- package/chunk/en-GB-CNQ8Ww2j.js +4 -4
- package/chunk/es-ES-DWimqEZ_.js +4 -4
- package/chunk/es-qhC-seq5.js +4 -4
- package/chunk/et-yF9G-Mym.js +4 -4
- package/chunk/eventEmitter-CSG6jR7V.js +4 -4
- package/chunk/fa-BcdSf7og.js +4 -4
- package/chunk/fi-D-IP_KHm.js +4 -4
- package/chunk/fr-BmUuYxk0.js +4 -4
- package/chunk/fr-CA-DVQ4xmzZ.js +4 -4
- package/chunk/ga-DuZycND3.js +4 -4
- package/chunk/hi-IN-l6Rn5Ewm.js +4 -4
- package/chunk/{hooks-BF7oPgCe.js → hooks-DFk9wlFh.js} +52 -52
- package/chunk/hooks-DFk9wlFh.js.map +1 -0
- package/chunk/{hooks-Bqhz6E9V.js → hooks-Y72jcEAM.js} +48 -48
- package/chunk/hooks-Y72jcEAM.js.map +1 -0
- package/chunk/hr-BtqyDzDB.js +4 -4
- package/chunk/hu-C6syKJfb.js +4 -4
- package/chunk/id-GgI-Z2a5.js +4 -4
- package/chunk/{intl-DYOqmiaL.js → intl-D5sUivUy.js} +285 -273
- package/chunk/intl-D5sUivUy.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-DQO6A867.js → jsx-runtime-BfITI5pK.js} +19 -19
- package/chunk/{jsx-runtime-DtApx7WX.js.map → jsx-runtime-BfITI5pK.js.map} +1 -1
- package/chunk/{jsx-runtime-DtApx7WX.js → jsx-runtime-CB6nLaN6.js} +19 -19
- package/chunk/{jsx-runtime-DQO6A867.js.map → jsx-runtime-CB6nLaN6.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/mockProgramConfiguration-YBQMVL51.js +49 -0
- package/chunk/mockProgramConfiguration-YBQMVL51.js.map +1 -0
- package/chunk/mockProgramI18n-CgYx_1_a.js +18 -0
- package/chunk/mockProgramI18n-CgYx_1_a.js.map +1 -0
- package/chunk/{mockProgramTheme-CBqgtg7A.js → mockProgramTheme-CPG4vkJd.js} +4 -8
- package/chunk/mockProgramTheme-CPG4vkJd.js.map +1 -0
- package/chunk/{mocks-D8UIPfvt.js → mocks-BJWOJTTC.js} +73 -74
- package/chunk/mocks-BJWOJTTC.js.map +1 -0
- package/chunk/{mocks-denu632X.js → mocks-BtNIwVeT.js} +73 -74
- package/chunk/mocks-BtNIwVeT.js.map +1 -0
- 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/{options-DsRV5fwh.js → options-BCFIfBTZ.js} +356 -344
- package/chunk/options-BCFIfBTZ.js.map +1 -0
- package/chunk/pl-UYTjMIq_.js +4 -4
- package/chunk/programThemeGetters-CKWD2Nuw.js +164 -0
- package/chunk/programThemeGetters-CKWD2Nuw.js.map +1 -0
- package/chunk/programThemeGetters-DKJV4UNP.js +158 -0
- package/chunk/programThemeGetters-DKJV4UNP.js.map +1 -0
- package/chunk/pt-BR-C8SYMT-J.js +4 -4
- package/chunk/pt-uH-M3GdN.js +4 -4
- package/chunk/refs-Mq0rtW9K.js +4 -4
- package/chunk/ro-CAOSXZ7h.js +4 -4
- package/chunk/ru-iwYoEydL.js +4 -4
- package/chunk/runtimeTypes-B2AGNJMT.js +4 -4
- package/chunk/sk-DYYNV3zw.js +4 -4
- package/chunk/sl-D_-eeM5N.js +4 -4
- package/chunk/sr-BTi9_anL.js +4 -4
- package/chunk/{stepComponentHelpers-DOISo3yJ.js → stepComponentHelpers--E4kvS6y.js} +14 -14
- package/chunk/{stepComponentHelpers-BElircEH.js.map → stepComponentHelpers--E4kvS6y.js.map} +1 -1
- package/chunk/{stepComponentHelpers-BElircEH.js → stepComponentHelpers-CD1Gfspm.js} +34 -34
- package/chunk/{stepComponentHelpers-DOISo3yJ.js.map → stepComponentHelpers-CD1Gfspm.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-DbalWE2_.js → useCollectFieldsEndpoint-BFxNI9mD.js} +19 -19
- package/chunk/{useCollectFieldsEndpoint-DbalWE2_.js.map → useCollectFieldsEndpoint-BFxNI9mD.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-DODNTDbS.js → useCollectFieldsEndpoint-Dy61hji9.js} +16 -16
- package/chunk/{useCollectFieldsEndpoint-DODNTDbS.js.map → useCollectFieldsEndpoint-Dy61hji9.js.map} +1 -1
- package/chunk/{useMetrics-f-F1IOc3.js → useMetrics-CtsRRjGJ.js} +7 -7
- package/chunk/{useMetrics-XHSibxjX.js.map → useMetrics-CtsRRjGJ.js.map} +1 -1
- package/chunk/{useMetrics-XHSibxjX.js → useMetrics-jabV9gsZ.js} +7 -7
- package/chunk/{useMetrics-f-F1IOc3.js.map → useMetrics-jabV9gsZ.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 +1356 -1363
- package/sheerid.js.map +1 -1
- package/chunk/FormFooterComponent-DGcfJdwH.js.map +0 -1
- package/chunk/FormFooterComponent-DmKzIyrc.js.map +0 -1
- package/chunk/Message-BToMuDnF.js.map +0 -1
- package/chunk/Message-BcRlg1D8.js.map +0 -1
- package/chunk/StateSelectComponent-BaUHQef8.js +0 -46
- package/chunk/StateSelectComponent-BaUHQef8.js.map +0 -1
- package/chunk/StateSelectComponent-Bl0sEDiJ.js +0 -42
- package/chunk/StateSelectComponent-Bl0sEDiJ.js.map +0 -1
- package/chunk/countryUtils-CniUDXes.js +0 -12
- package/chunk/empties-C5H0EoXJ.js.map +0 -1
- package/chunk/empties-DaNcqYFb.js.map +0 -1
- package/chunk/hooks-BF7oPgCe.js.map +0 -1
- package/chunk/hooks-Bqhz6E9V.js.map +0 -1
- package/chunk/intl-DYOqmiaL.js.map +0 -1
- package/chunk/mockProgramTheme-CBqgtg7A.js.map +0 -1
- package/chunk/mocks-D8UIPfvt.js.map +0 -1
- package/chunk/mocks-denu632X.js.map +0 -1
- package/chunk/options-DsRV5fwh.js.map +0 -1
- package/chunk/programThemeGetters-BD2PXz0k.js +0 -182
- package/chunk/programThemeGetters-BD2PXz0k.js.map +0 -1
- package/chunk/programThemeGetters-DTXDRpA2.js +0 -188
- package/chunk/programThemeGetters-DTXDRpA2.js.map +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Fri Oct
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.306.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1792784358815
|
|
5
|
+
* BUILD_DATE: Fri Oct 23 2026 19:39:18 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 051dca165a15b769b71940fd854aaa10b824ca55
|
|
7
7
|
*/
|
|
8
8
|
import { D as e, E as t, S as n, T as r, _ as i, a, n as o, r as s, v as c, w as l, y as u } from "./runtimeTypes-B2AGNJMT.js";
|
|
9
9
|
//#region \0rolldown/runtime.js
|
|
@@ -154,55 +154,55 @@ var _e = /* @__PURE__ */ _(((e, t) => {
|
|
|
154
154
|
".jpeg",
|
|
155
155
|
".png",
|
|
156
156
|
".pdf"
|
|
157
|
-
], Ee = "file", D = "mockStep", O = "mockSegment",
|
|
157
|
+
], Ee = "file", D = "mockStep", O = "mockSegment", k = "mockSubSegment", A = "mockErrorId", De = "mockErrorDetailId", Oe = "mockRewardCode", ke = "mockRedirectUrl", Ae = "mockConsumerInfoState", je = "mockIdCheckLoopServiceType", Me = "mockDocSelected", Ne = "mockPreviousStep", Pe = "thirdPartyLoopProvider", Fe = "ssoMethod", Ie = "installPageUrl", Le = "installType", Re = "externalUserId", ze = "mockCaptchaState", Be = "https://verify.sheerid.com/verification-support/feedback.html?token=", Ve = "https://support.sheerid.com", He = "https://www.cloudflare.com/privacypolicy/", Ue = 1e4, We = /* @__PURE__ */ "firstName.lastName.memberId.organization.birthDate.email.phoneNumber.postalCode.address1.city.state.dischargeDate.activeDutyStartDate.status.statuses.docUpload.country.smsCode.socialSecurityNumber.marketConsentValue.carrierConsentValue.driverLicenseNumber.overrideCode.ebtCardNumber.organizationEmail.authenticationCode".split("."), j = (e) => typeof e == "string", M = () => {
|
|
158
158
|
let e, t, n = new Promise((n, r) => {
|
|
159
159
|
e = n, t = r;
|
|
160
160
|
});
|
|
161
161
|
return n.resolve = e, n.reject = t, n;
|
|
162
|
-
},
|
|
162
|
+
}, Ge = (e) => e == null ? "" : "" + e, Ke = (e, t, n) => {
|
|
163
163
|
e.forEach((e) => {
|
|
164
164
|
t[e] && (n[e] = t[e]);
|
|
165
165
|
});
|
|
166
|
-
},
|
|
167
|
-
let r =
|
|
166
|
+
}, qe = /###/g, Je = (e) => e && e.indexOf("###") > -1 ? e.replace(qe, ".") : e, Ye = (e) => !e || j(e), Xe = (e, t, n) => {
|
|
167
|
+
let r = j(t) ? t.split(".") : t, i = 0;
|
|
168
168
|
for (; i < r.length - 1;) {
|
|
169
|
-
if (
|
|
170
|
-
let t =
|
|
169
|
+
if (Ye(e)) return {};
|
|
170
|
+
let t = Je(r[i]);
|
|
171
171
|
!e[t] && n && (e[t] = new n()), e = Object.prototype.hasOwnProperty.call(e, t) ? e[t] : {}, ++i;
|
|
172
172
|
}
|
|
173
|
-
return
|
|
173
|
+
return Ye(e) ? {} : {
|
|
174
174
|
obj: e,
|
|
175
|
-
k:
|
|
175
|
+
k: Je(r[i])
|
|
176
176
|
};
|
|
177
|
-
},
|
|
178
|
-
let { obj: r, k: i } =
|
|
177
|
+
}, Ze = (e, t, n) => {
|
|
178
|
+
let { obj: r, k: i } = Xe(e, t, Object);
|
|
179
179
|
if (r !== void 0 || t.length === 1) {
|
|
180
180
|
r[i] = n;
|
|
181
181
|
return;
|
|
182
182
|
}
|
|
183
|
-
let a = t[t.length - 1], o = t.slice(0, t.length - 1), s =
|
|
184
|
-
for (; s.obj === void 0 && o.length;) a = `${o[o.length - 1]}.${a}`, o = o.slice(0, o.length - 1), s =
|
|
183
|
+
let a = t[t.length - 1], o = t.slice(0, t.length - 1), s = Xe(e, o, Object);
|
|
184
|
+
for (; s.obj === void 0 && o.length;) a = `${o[o.length - 1]}.${a}`, o = o.slice(0, o.length - 1), s = Xe(e, o, Object), s?.obj && s.obj[`${s.k}.${a}`] !== void 0 && (s.obj = void 0);
|
|
185
185
|
s.obj[`${s.k}.${a}`] = n;
|
|
186
|
-
},
|
|
187
|
-
let { obj: i, k: a } =
|
|
186
|
+
}, Qe = (e, t, n, r) => {
|
|
187
|
+
let { obj: i, k: a } = Xe(e, t, Object);
|
|
188
188
|
i[a] = i[a] || [], i[a].push(n);
|
|
189
|
-
},
|
|
190
|
-
let { obj: n, k: r } =
|
|
189
|
+
}, $e = (e, t) => {
|
|
190
|
+
let { obj: n, k: r } = Xe(e, t);
|
|
191
191
|
if (n && Object.prototype.hasOwnProperty.call(n, r)) return n[r];
|
|
192
|
-
},
|
|
193
|
-
let r =
|
|
194
|
-
return r === void 0 ?
|
|
195
|
-
},
|
|
196
|
-
for (let r in t) r !== "__proto__" && r !== "constructor" && (r in e ?
|
|
192
|
+
}, et = (e, t, n) => {
|
|
193
|
+
let r = $e(e, n);
|
|
194
|
+
return r === void 0 ? $e(t, n) : r;
|
|
195
|
+
}, tt = (e, t, n) => {
|
|
196
|
+
for (let r in t) r !== "__proto__" && r !== "constructor" && (r in e ? j(e[r]) || e[r] instanceof String || j(t[r]) || t[r] instanceof String ? n && (e[r] = t[r]) : tt(e[r], t[r], n) : e[r] = t[r]);
|
|
197
197
|
return e;
|
|
198
|
-
},
|
|
198
|
+
}, N = (e) => e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&"), nt = {
|
|
199
199
|
"&": "&",
|
|
200
200
|
"<": "<",
|
|
201
201
|
">": ">",
|
|
202
202
|
"\"": """,
|
|
203
203
|
"'": "'",
|
|
204
204
|
"/": "/"
|
|
205
|
-
},
|
|
205
|
+
}, rt = (e) => j(e) ? e.replace(/[&<>"'\/]/g, (e) => nt[e]) : e, it = class {
|
|
206
206
|
constructor(e) {
|
|
207
207
|
this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
|
|
208
208
|
}
|
|
@@ -212,23 +212,23 @@ var _e = /* @__PURE__ */ _(((e, t) => {
|
|
|
212
212
|
let n = new RegExp(e);
|
|
213
213
|
return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(e, n), this.regExpQueue.push(e), n;
|
|
214
214
|
}
|
|
215
|
-
},
|
|
215
|
+
}, at = [
|
|
216
216
|
" ",
|
|
217
217
|
",",
|
|
218
218
|
"?",
|
|
219
219
|
"!",
|
|
220
220
|
";"
|
|
221
|
-
],
|
|
221
|
+
], ot = new it(20), st = (e, t, n) => {
|
|
222
222
|
t ||= "", n ||= "";
|
|
223
|
-
let r =
|
|
223
|
+
let r = at.filter((e) => t.indexOf(e) < 0 && n.indexOf(e) < 0);
|
|
224
224
|
if (r.length === 0) return !0;
|
|
225
|
-
let i =
|
|
225
|
+
let i = ot.getRegExp(`(${r.map((e) => e === "?" ? "\\?" : e).join("|")})`), a = !i.test(e);
|
|
226
226
|
if (!a) {
|
|
227
227
|
let t = e.indexOf(n);
|
|
228
228
|
t > 0 && !i.test(e.substring(0, t)) && (a = !0);
|
|
229
229
|
}
|
|
230
230
|
return a;
|
|
231
|
-
},
|
|
231
|
+
}, ct = (e, t, n = ".") => {
|
|
232
232
|
if (!e) return;
|
|
233
233
|
if (e[t]) return Object.prototype.hasOwnProperty.call(e, t) ? e[t] : void 0;
|
|
234
234
|
let r = t.split(n), i = e;
|
|
@@ -247,7 +247,7 @@ var _e = /* @__PURE__ */ _(((e, t) => {
|
|
|
247
247
|
i = t;
|
|
248
248
|
}
|
|
249
249
|
return i;
|
|
250
|
-
},
|
|
250
|
+
}, P = (e) => e?.replace(/_/g, "-"), lt = {
|
|
251
251
|
type: "logger",
|
|
252
252
|
log(e) {
|
|
253
253
|
this.output("log", e);
|
|
@@ -261,12 +261,12 @@ var _e = /* @__PURE__ */ _(((e, t) => {
|
|
|
261
261
|
output(e, t) {
|
|
262
262
|
console?.[e]?.apply?.(console, t);
|
|
263
263
|
}
|
|
264
|
-
},
|
|
264
|
+
}, F = new class e {
|
|
265
265
|
constructor(e, t = {}) {
|
|
266
266
|
this.init(e, t);
|
|
267
267
|
}
|
|
268
268
|
init(e, t = {}) {
|
|
269
|
-
this.prefix = t.prefix || "i18next:", this.logger = e ||
|
|
269
|
+
this.prefix = t.prefix || "i18next:", this.logger = e || lt, this.options = t, this.debug = t.debug;
|
|
270
270
|
}
|
|
271
271
|
log(...e) {
|
|
272
272
|
return this.forward(e, "log", "", !0);
|
|
@@ -281,7 +281,7 @@ var _e = /* @__PURE__ */ _(((e, t) => {
|
|
|
281
281
|
return this.forward(e, "warn", "WARNING DEPRECATED: ", !0);
|
|
282
282
|
}
|
|
283
283
|
forward(e, t, n, r) {
|
|
284
|
-
return r && !this.debug ? null : (
|
|
284
|
+
return r && !this.debug ? null : (j(e[0]) && (e[0] = `${n}${this.prefix} ${e[0]}`), this.logger[t](e));
|
|
285
285
|
}
|
|
286
286
|
create(t) {
|
|
287
287
|
return new e(this.logger, {
|
|
@@ -292,7 +292,7 @@ var _e = /* @__PURE__ */ _(((e, t) => {
|
|
|
292
292
|
clone(t) {
|
|
293
293
|
return t ||= this.options, t.prefix = t.prefix || this.prefix, new e(this.logger, t);
|
|
294
294
|
}
|
|
295
|
-
}(),
|
|
295
|
+
}(), ut = class {
|
|
296
296
|
constructor() {
|
|
297
297
|
this.observers = {};
|
|
298
298
|
}
|
|
@@ -319,7 +319,7 @@ var _e = /* @__PURE__ */ _(((e, t) => {
|
|
|
319
319
|
for (let i = 0; i < r; i++) n.apply(n, [e, ...t]);
|
|
320
320
|
});
|
|
321
321
|
}
|
|
322
|
-
},
|
|
322
|
+
}, dt = class extends ut {
|
|
323
323
|
constructor(e, t = {
|
|
324
324
|
ns: ["translation"],
|
|
325
325
|
defaultNS: "translation"
|
|
@@ -335,16 +335,16 @@ var _e = /* @__PURE__ */ _(((e, t) => {
|
|
|
335
335
|
}
|
|
336
336
|
getResource(e, t, n, r = {}) {
|
|
337
337
|
let i = r.keySeparator === void 0 ? this.options.keySeparator : r.keySeparator, a = r.ignoreJSONStructure === void 0 ? this.options.ignoreJSONStructure : r.ignoreJSONStructure, o;
|
|
338
|
-
e.indexOf(".") > -1 ? o = e.split(".") : (o = [e, t], n && (Array.isArray(n) ? o.push(...n) :
|
|
339
|
-
let s =
|
|
340
|
-
return !s && !t && !n && e.indexOf(".") > -1 && (e = o[0], t = o[1], n = o.slice(2).join(".")), s || !a || !
|
|
338
|
+
e.indexOf(".") > -1 ? o = e.split(".") : (o = [e, t], n && (Array.isArray(n) ? o.push(...n) : j(n) && i ? o.push(...n.split(i)) : o.push(n)));
|
|
339
|
+
let s = $e(this.data, o);
|
|
340
|
+
return !s && !t && !n && e.indexOf(".") > -1 && (e = o[0], t = o[1], n = o.slice(2).join(".")), s || !a || !j(n) ? s : ct(this.data?.[e]?.[t], n, i);
|
|
341
341
|
}
|
|
342
342
|
addResource(e, t, n, r, i = { silent: !1 }) {
|
|
343
343
|
let a = i.keySeparator === void 0 ? this.options.keySeparator : i.keySeparator, o = [e, t];
|
|
344
|
-
n && (o = o.concat(a ? n.split(a) : n)), e.indexOf(".") > -1 && (o = e.split("."), r = t, t = o[1]), this.addNamespaces(t),
|
|
344
|
+
n && (o = o.concat(a ? n.split(a) : n)), e.indexOf(".") > -1 && (o = e.split("."), r = t, t = o[1]), this.addNamespaces(t), Ze(this.data, o, r), i.silent || this.emit("added", e, t, n, r);
|
|
345
345
|
}
|
|
346
346
|
addResources(e, t, n, r = { silent: !1 }) {
|
|
347
|
-
for (let r in n) (
|
|
347
|
+
for (let r in n) (j(n[r]) || Array.isArray(n[r])) && this.addResource(e, t, r, n[r], { silent: !0 });
|
|
348
348
|
r.silent || this.emit("added", e, t, n);
|
|
349
349
|
}
|
|
350
350
|
addResourceBundle(e, t, n, r, i, a = {
|
|
@@ -353,11 +353,11 @@ var _e = /* @__PURE__ */ _(((e, t) => {
|
|
|
353
353
|
}) {
|
|
354
354
|
let o = [e, t];
|
|
355
355
|
e.indexOf(".") > -1 && (o = e.split("."), r = n, n = t, t = o[1]), this.addNamespaces(t);
|
|
356
|
-
let s =
|
|
357
|
-
a.skipCopy || (n = JSON.parse(JSON.stringify(n))), r ?
|
|
356
|
+
let s = $e(this.data, o) || {};
|
|
357
|
+
a.skipCopy || (n = JSON.parse(JSON.stringify(n))), r ? tt(s, n, i) : s = {
|
|
358
358
|
...s,
|
|
359
359
|
...n
|
|
360
|
-
},
|
|
360
|
+
}, Ze(this.data, o, s), a.silent || this.emit("added", e, t, n);
|
|
361
361
|
}
|
|
362
362
|
removeResourceBundle(e, t) {
|
|
363
363
|
this.hasResourceBundle(e, t) && delete this.data[e][t], this.removeNamespaces(t), this.emit("removed", e, t);
|
|
@@ -378,7 +378,7 @@ var _e = /* @__PURE__ */ _(((e, t) => {
|
|
|
378
378
|
toJSON() {
|
|
379
379
|
return this.data;
|
|
380
380
|
}
|
|
381
|
-
},
|
|
381
|
+
}, ft = {
|
|
382
382
|
processors: {},
|
|
383
383
|
addPostProcessor(e) {
|
|
384
384
|
this.processors[e.name] = e;
|
|
@@ -388,22 +388,22 @@ var _e = /* @__PURE__ */ _(((e, t) => {
|
|
|
388
388
|
t = this.processors[e]?.process(t, n, r, i) ?? t;
|
|
389
389
|
}), t;
|
|
390
390
|
}
|
|
391
|
-
},
|
|
392
|
-
function
|
|
391
|
+
}, pt = Symbol("i18next/PATH_KEY");
|
|
392
|
+
function mt() {
|
|
393
393
|
let e = [], t = Object.create(null), n;
|
|
394
|
-
return t.get = (r, i) => (n?.revoke?.(), i ===
|
|
394
|
+
return t.get = (r, i) => (n?.revoke?.(), i === pt ? e : (e.push(i), n = Proxy.revocable(r, t), n.proxy)), Proxy.revocable(Object.create(null), t).proxy;
|
|
395
395
|
}
|
|
396
|
-
function
|
|
397
|
-
let { [
|
|
396
|
+
function I(e, t) {
|
|
397
|
+
let { [pt]: n } = e(mt()), r = t?.keySeparator ?? ".", i = t?.nsSeparator ?? ":";
|
|
398
398
|
if (n.length > 1 && i) {
|
|
399
399
|
let e = t?.ns, a = Array.isArray(e) ? e : null;
|
|
400
400
|
if (a && a.length > 1 && a.slice(1).includes(n[0])) return `${n[0]}${i}${n.slice(1).join(r)}`;
|
|
401
401
|
}
|
|
402
402
|
return n.join(r);
|
|
403
403
|
}
|
|
404
|
-
var
|
|
404
|
+
var ht = {}, gt = (e) => !j(e) && typeof e != "boolean" && typeof e != "number", _t = class e extends ut {
|
|
405
405
|
constructor(e, t = {}) {
|
|
406
|
-
super(),
|
|
406
|
+
super(), Ke([
|
|
407
407
|
"resourceStore",
|
|
408
408
|
"languageUtils",
|
|
409
409
|
"pluralResolver",
|
|
@@ -411,7 +411,7 @@ var pt = {}, mt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
411
411
|
"backendConnector",
|
|
412
412
|
"i18nFormat",
|
|
413
413
|
"utils"
|
|
414
|
-
], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger =
|
|
414
|
+
], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = F.create("translator");
|
|
415
415
|
}
|
|
416
416
|
changeLanguage(e) {
|
|
417
417
|
e && (this.language = e);
|
|
@@ -421,34 +421,34 @@ var pt = {}, mt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
421
421
|
if (e == null) return !1;
|
|
422
422
|
let r = this.resolve(e, n);
|
|
423
423
|
if (r?.res === void 0) return !1;
|
|
424
|
-
let i =
|
|
424
|
+
let i = gt(r.res);
|
|
425
425
|
return !(n.returnObjects === !1 && i);
|
|
426
426
|
}
|
|
427
427
|
extractFromKey(e, t) {
|
|
428
428
|
let n = t.nsSeparator === void 0 ? this.options.nsSeparator : t.nsSeparator;
|
|
429
429
|
n === void 0 && (n = ":");
|
|
430
|
-
let r = t.keySeparator === void 0 ? this.options.keySeparator : t.keySeparator, i = t.ns || this.options.defaultNS || [], a = n && e.indexOf(n) > -1, o = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !
|
|
430
|
+
let r = t.keySeparator === void 0 ? this.options.keySeparator : t.keySeparator, i = t.ns || this.options.defaultNS || [], a = n && e.indexOf(n) > -1, o = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !st(e, n, r);
|
|
431
431
|
if (a && !o) {
|
|
432
432
|
let t = e.match(this.interpolator.nestingRegexp);
|
|
433
433
|
if (t && t.length > 0) return {
|
|
434
434
|
key: e,
|
|
435
|
-
namespaces:
|
|
435
|
+
namespaces: j(i) ? [i] : i
|
|
436
436
|
};
|
|
437
437
|
let a = e.split(n);
|
|
438
438
|
(n !== r || n === r && this.options.ns.indexOf(a[0]) > -1) && (i = a.shift()), e = a.join(r);
|
|
439
439
|
}
|
|
440
440
|
return {
|
|
441
441
|
key: e,
|
|
442
|
-
namespaces:
|
|
442
|
+
namespaces: j(i) ? [i] : i
|
|
443
443
|
};
|
|
444
444
|
}
|
|
445
445
|
translate(t, n, r) {
|
|
446
446
|
let i = typeof n == "object" ? { ...n } : n;
|
|
447
447
|
if (typeof i != "object" && this.options.overloadTranslationOptionHandler && (i = this.options.overloadTranslationOptionHandler(arguments)), typeof i == "object" && (i = { ...i }), i ||= {}, t == null) return "";
|
|
448
|
-
typeof t == "function" && (t =
|
|
448
|
+
typeof t == "function" && (t = I(t, {
|
|
449
449
|
...this.options,
|
|
450
450
|
...i
|
|
451
|
-
})), Array.isArray(t) || (t = [String(t)]), t = t.map((e) => typeof e == "function" ?
|
|
451
|
+
})), Array.isArray(t) || (t = [String(t)]), t = t.map((e) => typeof e == "function" ? I(e, {
|
|
452
452
|
...this.options,
|
|
453
453
|
...i
|
|
454
454
|
}) : String(e));
|
|
@@ -474,10 +474,10 @@ var pt = {}, mt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
474
474
|
"[object Number]",
|
|
475
475
|
"[object Function]",
|
|
476
476
|
"[object RegExp]"
|
|
477
|
-
], v = i.joinArrays === void 0 ? this.options.joinArrays : i.joinArrays, y = !this.i18nFormat || this.i18nFormat.handleAsObject, b = i.count !== void 0 && !
|
|
477
|
+
], v = i.joinArrays === void 0 ? this.options.joinArrays : i.joinArrays, y = !this.i18nFormat || this.i18nFormat.handleAsObject, b = i.count !== void 0 && !j(i.count), x = e.hasDefaultValue(i), S = b ? this.pluralResolver.getSuffix(d, i.count, i) : "", ee = i.ordinal && b ? this.pluralResolver.getSuffix(d, i.count, { ordinal: !1 }) : "", C = b && !i.ordinal && i.count === 0, w = C && i[`defaultValue${this.options.pluralSeparator}zero`] || i[`defaultValue${S}`] || i[`defaultValue${ee}`] || i.defaultValue, T = m;
|
|
478
478
|
y && !m && x && (T = w);
|
|
479
|
-
let te =
|
|
480
|
-
if (y && T && te && _.indexOf(ne) < 0 && !(
|
|
479
|
+
let te = gt(T), ne = Object.prototype.toString.apply(T);
|
|
480
|
+
if (y && T && te && _.indexOf(ne) < 0 && !(j(v) && Array.isArray(T))) {
|
|
481
481
|
if (!i.returnObjects && !this.options.returnObjects) {
|
|
482
482
|
this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
|
|
483
483
|
let e = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(h, T, {
|
|
@@ -492,7 +492,7 @@ var pt = {}, mt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
492
492
|
let r = `${n}${o}${e}`;
|
|
493
493
|
x && !m ? t[e] = this.translate(r, {
|
|
494
494
|
...i,
|
|
495
|
-
defaultValue:
|
|
495
|
+
defaultValue: gt(w) ? w[e] : void 0,
|
|
496
496
|
joinArrays: !1,
|
|
497
497
|
ns: c
|
|
498
498
|
}) : t[e] = this.translate(r, {
|
|
@@ -503,7 +503,7 @@ var pt = {}, mt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
503
503
|
}
|
|
504
504
|
m = t;
|
|
505
505
|
}
|
|
506
|
-
} else if (y &&
|
|
506
|
+
} else if (y && j(v) && Array.isArray(m)) m = m.join(v), m &&= this.extendTranslation(m, t, i, r);
|
|
507
507
|
else {
|
|
508
508
|
let e = !1, n = !1;
|
|
509
509
|
!this.isValidLookup(m) && x && (e = !0, m = w), this.isValidLookup(m) || (n = !0, m = s);
|
|
@@ -547,12 +547,12 @@ var pt = {}, mt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
547
547
|
...n.interpolation
|
|
548
548
|
}
|
|
549
549
|
});
|
|
550
|
-
let a =
|
|
550
|
+
let a = j(e) && (n?.interpolation?.skipOnVariables === void 0 ? this.options.interpolation.skipOnVariables : n.interpolation.skipOnVariables), o;
|
|
551
551
|
if (a) {
|
|
552
552
|
let t = e.match(this.interpolator.nestingRegexp);
|
|
553
553
|
o = t && t.length;
|
|
554
554
|
}
|
|
555
|
-
let s = n.replace && !
|
|
555
|
+
let s = n.replace && !j(n.replace) ? n.replace : n;
|
|
556
556
|
if (this.options.interpolation.defaultVariables && (s = {
|
|
557
557
|
...this.options.interpolation.defaultVariables,
|
|
558
558
|
...s
|
|
@@ -562,8 +562,8 @@ var pt = {}, mt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
562
562
|
}
|
|
563
563
|
!n.lng && r && r.res && (n.lng = this.language || r.usedLng), n.nest !== !1 && (e = this.interpolator.nest(e, (...e) => i?.[0] === e[0] && !n.context ? (this.logger.warn(`It seems you are nesting recursively key: ${e[0]} in key: ${t[0]}`), null) : this.translate(...e, t), n)), n.interpolation && this.interpolator.reset();
|
|
564
564
|
}
|
|
565
|
-
let a = n.postProcess || this.options.postProcess, o =
|
|
566
|
-
return e != null && o?.length && n.applyPostProcessor !== !1 && (e =
|
|
565
|
+
let a = n.postProcess || this.options.postProcess, o = j(a) ? [a] : a;
|
|
566
|
+
return e != null && o?.length && n.applyPostProcessor !== !1 && (e = ft.handle(o, e, t, this.options && this.options.postProcessPassResolved ? {
|
|
567
567
|
i18nResolved: {
|
|
568
568
|
...r,
|
|
569
569
|
usedParams: this.getUsedParamsDetails(n)
|
|
@@ -573,7 +573,7 @@ var pt = {}, mt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
573
573
|
}
|
|
574
574
|
resolve(e, t = {}) {
|
|
575
575
|
let n, r, i, a, o;
|
|
576
|
-
return
|
|
576
|
+
return j(e) && (e = [e]), Array.isArray(e) && (e = e.map((e) => typeof e == "function" ? I(e, {
|
|
577
577
|
...this.options,
|
|
578
578
|
...t
|
|
579
579
|
}) : e)), e.forEach((e) => {
|
|
@@ -582,9 +582,9 @@ var pt = {}, mt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
582
582
|
r = c;
|
|
583
583
|
let l = s.namespaces;
|
|
584
584
|
this.options.fallbackNS && (l = l.concat(this.options.fallbackNS));
|
|
585
|
-
let u = t.count !== void 0 && !
|
|
585
|
+
let u = t.count !== void 0 && !j(t.count), d = u && !t.ordinal && t.count === 0, f = t.context !== void 0 && (j(t.context) || typeof t.context == "number") && t.context !== "", p = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
|
|
586
586
|
l.forEach((e) => {
|
|
587
|
-
this.isValidLookup(n) || (o = e, !
|
|
587
|
+
this.isValidLookup(n) || (o = e, !ht[`${p[0]}-${e}`] && this.utils?.hasLoadedNamespace && !this.utils?.hasLoadedNamespace(o) && (ht[`${p[0]}-${e}`] = !0, this.logger.warn(`key "${r}" for languages "${p.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), p.forEach((r) => {
|
|
588
588
|
if (this.isValidLookup(n)) return;
|
|
589
589
|
a = r;
|
|
590
590
|
let o = [c];
|
|
@@ -633,7 +633,7 @@ var pt = {}, mt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
633
633
|
"joinArrays",
|
|
634
634
|
"postProcess",
|
|
635
635
|
"interpolation"
|
|
636
|
-
], n = e.replace && !
|
|
636
|
+
], n = e.replace && !j(e.replace), r = n ? e.replace : e;
|
|
637
637
|
if (n && e.count !== void 0 && (r.count = e.count), this.options.interpolation.defaultVariables && (r = {
|
|
638
638
|
...this.options.interpolation.defaultVariables,
|
|
639
639
|
...r
|
|
@@ -647,22 +647,22 @@ var pt = {}, mt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
647
647
|
for (let t in e) if (Object.prototype.hasOwnProperty.call(e, t) && t.substring(0, 12) === "defaultValue" && e[t] !== void 0) return !0;
|
|
648
648
|
return !1;
|
|
649
649
|
}
|
|
650
|
-
},
|
|
650
|
+
}, vt = class {
|
|
651
651
|
constructor(e) {
|
|
652
|
-
this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger =
|
|
652
|
+
this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = F.create("languageUtils");
|
|
653
653
|
}
|
|
654
654
|
getScriptPartFromCode(e) {
|
|
655
|
-
if (e =
|
|
655
|
+
if (e = P(e), !e || e.indexOf("-") < 0) return null;
|
|
656
656
|
let t = e.split("-");
|
|
657
657
|
return t.length === 2 || (t.pop(), t[t.length - 1].toLowerCase() === "x") ? null : this.formatLanguageCode(t.join("-"));
|
|
658
658
|
}
|
|
659
659
|
getLanguagePartFromCode(e) {
|
|
660
|
-
if (e =
|
|
660
|
+
if (e = P(e), !e || e.indexOf("-") < 0) return e;
|
|
661
661
|
let t = e.split("-");
|
|
662
662
|
return this.formatLanguageCode(t[0]);
|
|
663
663
|
}
|
|
664
664
|
formatLanguageCode(e) {
|
|
665
|
-
if (
|
|
665
|
+
if (j(e) && e.indexOf("-") > -1) {
|
|
666
666
|
let t;
|
|
667
667
|
try {
|
|
668
668
|
t = Intl.getCanonicalLocales(e)[0];
|
|
@@ -694,7 +694,7 @@ var pt = {}, mt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
694
694
|
}
|
|
695
695
|
getFallbackCodes(e, t) {
|
|
696
696
|
if (!e) return [];
|
|
697
|
-
if (typeof e == "function" && (e = e(t)),
|
|
697
|
+
if (typeof e == "function" && (e = e(t)), j(e) && (e = [e]), Array.isArray(e)) return e;
|
|
698
698
|
if (!t) return e.default || [];
|
|
699
699
|
let n = e[t];
|
|
700
700
|
return n ||= e[this.getScriptPartFromCode(t)], n ||= e[this.formatLanguageCode(t)], n ||= e[this.getLanguagePartFromCode(t)], n ||= e.default, n || [];
|
|
@@ -703,29 +703,29 @@ var pt = {}, mt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
703
703
|
let n = this.getFallbackCodes((t === !1 ? [] : t) || this.options.fallbackLng || [], e), r = [], i = (e) => {
|
|
704
704
|
e && (this.isSupportedCode(e) ? r.push(e) : this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`));
|
|
705
705
|
};
|
|
706
|
-
return
|
|
706
|
+
return j(e) && (e.indexOf("-") > -1 || e.indexOf("_") > -1) ? (this.options.load !== "languageOnly" && i(this.formatLanguageCode(e)), this.options.load !== "languageOnly" && this.options.load !== "currentOnly" && i(this.getScriptPartFromCode(e)), this.options.load !== "currentOnly" && i(this.getLanguagePartFromCode(e))) : j(e) && i(this.formatLanguageCode(e)), n.forEach((e) => {
|
|
707
707
|
r.indexOf(e) < 0 && i(this.formatLanguageCode(e));
|
|
708
708
|
}), r;
|
|
709
709
|
}
|
|
710
|
-
},
|
|
710
|
+
}, yt = {
|
|
711
711
|
zero: 0,
|
|
712
712
|
one: 1,
|
|
713
713
|
two: 2,
|
|
714
714
|
few: 3,
|
|
715
715
|
many: 4,
|
|
716
716
|
other: 5
|
|
717
|
-
},
|
|
717
|
+
}, bt = {
|
|
718
718
|
select: (e) => e === 1 ? "one" : "other",
|
|
719
719
|
resolvedOptions: () => ({ pluralCategories: ["one", "other"] })
|
|
720
|
-
},
|
|
720
|
+
}, xt = class {
|
|
721
721
|
constructor(e, t = {}) {
|
|
722
|
-
this.languageUtils = e, this.options = t, this.logger =
|
|
722
|
+
this.languageUtils = e, this.options = t, this.logger = F.create("pluralResolver"), this.pluralRulesCache = {};
|
|
723
723
|
}
|
|
724
724
|
clearCache() {
|
|
725
725
|
this.pluralRulesCache = {};
|
|
726
726
|
}
|
|
727
727
|
getRule(e, t = {}) {
|
|
728
|
-
let n =
|
|
728
|
+
let n = P(e === "dev" ? "en" : e), r = t.ordinal ? "ordinal" : "cardinal", i = JSON.stringify({
|
|
729
729
|
cleanedCode: n,
|
|
730
730
|
type: r
|
|
731
731
|
});
|
|
@@ -734,8 +734,8 @@ var pt = {}, mt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
734
734
|
try {
|
|
735
735
|
a = new Intl.PluralRules(n, { type: r });
|
|
736
736
|
} catch {
|
|
737
|
-
if (typeof Intl > "u") return this.logger.error("No Intl support, please use an Intl polyfill!"),
|
|
738
|
-
if (!e.match(/-|_/)) return
|
|
737
|
+
if (typeof Intl > "u") return this.logger.error("No Intl support, please use an Intl polyfill!"), bt;
|
|
738
|
+
if (!e.match(/-|_/)) return bt;
|
|
739
739
|
let n = this.languageUtils.getLanguagePartFromCode(e);
|
|
740
740
|
a = this.getRule(n, t);
|
|
741
741
|
}
|
|
@@ -750,23 +750,23 @@ var pt = {}, mt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
750
750
|
}
|
|
751
751
|
getSuffixes(e, t = {}) {
|
|
752
752
|
let n = this.getRule(e, t);
|
|
753
|
-
return n ||= this.getRule("dev", t), n ? n.resolvedOptions().pluralCategories.sort((e, t) =>
|
|
753
|
+
return n ||= this.getRule("dev", t), n ? n.resolvedOptions().pluralCategories.sort((e, t) => yt[e] - yt[t]).map((e) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${e}`) : [];
|
|
754
754
|
}
|
|
755
755
|
getSuffix(e, t, n = {}) {
|
|
756
756
|
let r = this.getRule(e, n);
|
|
757
757
|
return r ? `${this.options.prepend}${n.ordinal ? `ordinal${this.options.prepend}` : ""}${r.select(t)}` : (this.logger.warn(`no plural rule found for: ${e}`), this.getSuffix("dev", t, n));
|
|
758
758
|
}
|
|
759
|
-
},
|
|
760
|
-
let a =
|
|
761
|
-
return !a && i &&
|
|
762
|
-
},
|
|
759
|
+
}, St = (e, t, n, r = ".", i = !0) => {
|
|
760
|
+
let a = et(e, t, n);
|
|
761
|
+
return !a && i && j(n) && (a = ct(e, n, r), a === void 0 && (a = ct(t, n, r))), a;
|
|
762
|
+
}, Ct = (e) => e.replace(/\$/g, "$$$$"), wt = class {
|
|
763
763
|
constructor(e = {}) {
|
|
764
|
-
this.logger =
|
|
764
|
+
this.logger = F.create("interpolator"), this.options = e, this.format = e?.interpolation?.format || ((e) => e), this.init(e);
|
|
765
765
|
}
|
|
766
766
|
init(e = {}) {
|
|
767
767
|
e.interpolation ||= { escapeValue: !0 };
|
|
768
768
|
let { escape: t, escapeValue: n, useRawValueToEscape: r, prefix: i, prefixEscaped: a, suffix: o, suffixEscaped: s, formatSeparator: c, unescapeSuffix: l, unescapePrefix: u, nestingPrefix: d, nestingPrefixEscaped: f, nestingSuffix: p, nestingSuffixEscaped: m, nestingOptionsSeparator: h, maxReplaces: g, alwaysFormat: _ } = e.interpolation;
|
|
769
|
-
this.escape = t === void 0 ?
|
|
769
|
+
this.escape = t === void 0 ? rt : t, this.escapeValue = n === void 0 ? !0 : n, this.useRawValueToEscape = r === void 0 ? !1 : r, this.prefix = i ? N(i) : a || "{{", this.suffix = o ? N(o) : s || "}}", this.formatSeparator = c || ",", this.unescapePrefix = l ? "" : u || "-", this.unescapeSuffix = this.unescapePrefix ? "" : l || "", this.nestingPrefix = d ? N(d) : f || N("$t("), this.nestingSuffix = p ? N(p) : m || N(")"), this.nestingOptionsSeparator = h || ",", this.maxReplaces = g || 1e3, this.alwaysFormat = _ === void 0 ? !1 : _, this.resetRegExp();
|
|
770
770
|
}
|
|
771
771
|
reset() {
|
|
772
772
|
this.options && this.init(this.options);
|
|
@@ -778,7 +778,7 @@ var pt = {}, mt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
778
778
|
interpolate(e, t, n, r) {
|
|
779
779
|
let i, a, o, s = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, c = (e) => {
|
|
780
780
|
if (e.indexOf(this.formatSeparator) < 0) {
|
|
781
|
-
let i =
|
|
781
|
+
let i = St(t, s, e, this.options.keySeparator, this.options.ignoreJSONStructure);
|
|
782
782
|
return this.alwaysFormat ? this.format(i, void 0, n, {
|
|
783
783
|
...r,
|
|
784
784
|
...t,
|
|
@@ -786,7 +786,7 @@ var pt = {}, mt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
786
786
|
}) : i;
|
|
787
787
|
}
|
|
788
788
|
let i = e.split(this.formatSeparator), a = i.shift().trim(), o = i.join(this.formatSeparator).trim();
|
|
789
|
-
return this.format(
|
|
789
|
+
return this.format(St(t, s, a, this.options.keySeparator, this.options.ignoreJSONStructure), o, n, {
|
|
790
790
|
...r,
|
|
791
791
|
...t,
|
|
792
792
|
interpolationkey: a
|
|
@@ -796,22 +796,22 @@ var pt = {}, mt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
796
796
|
let l = r?.missingInterpolationHandler || this.options.missingInterpolationHandler, u = r?.interpolation?.skipOnVariables === void 0 ? this.options.interpolation.skipOnVariables : r.interpolation.skipOnVariables;
|
|
797
797
|
return [{
|
|
798
798
|
regex: this.regexpUnescape,
|
|
799
|
-
safeValue: (e) =>
|
|
799
|
+
safeValue: (e) => Ct(e)
|
|
800
800
|
}, {
|
|
801
801
|
regex: this.regexp,
|
|
802
|
-
safeValue: (e) => this.escapeValue ?
|
|
802
|
+
safeValue: (e) => this.escapeValue ? Ct(this.escape(e)) : Ct(e)
|
|
803
803
|
}].forEach((t) => {
|
|
804
804
|
for (o = 0; i = t.regex.exec(e);) {
|
|
805
805
|
let n = i[1].trim();
|
|
806
806
|
if (a = c(n), a === void 0) if (typeof l == "function") {
|
|
807
807
|
let t = l(e, i, r);
|
|
808
|
-
a =
|
|
808
|
+
a = j(t) ? t : "";
|
|
809
809
|
} else if (r && Object.prototype.hasOwnProperty.call(r, n)) a = "";
|
|
810
810
|
else if (u) {
|
|
811
811
|
a = i[0];
|
|
812
812
|
continue;
|
|
813
813
|
} else this.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`), a = "";
|
|
814
|
-
else !
|
|
814
|
+
else !j(a) && !this.useRawValueToEscape && (a = Ge(a));
|
|
815
815
|
let s = t.safeValue(a);
|
|
816
816
|
if (e = e.replace(i[0], s), u ? (t.regex.lastIndex += a.length, t.regex.lastIndex -= i[0].length) : t.regex.lastIndex = 0, o++, o >= this.maxReplaces) break;
|
|
817
817
|
}
|
|
@@ -821,7 +821,7 @@ var pt = {}, mt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
821
821
|
let r, i, a, o = (e, t) => {
|
|
822
822
|
let n = this.nestingOptionsSeparator;
|
|
823
823
|
if (e.indexOf(n) < 0) return e;
|
|
824
|
-
let r = e.split(RegExp(`${
|
|
824
|
+
let r = e.split(RegExp(`${N(n)}[ ]*{`)), i = `{${r[1]}`;
|
|
825
825
|
e = r[0], i = this.interpolate(i, a);
|
|
826
826
|
let o = i.match(/'/g), s = i.match(/"/g);
|
|
827
827
|
((o?.length ?? 0) % 2 == 0 && !s || (s?.length ?? 0) % 2 != 0) && (i = i.replace(/'/g, "\""));
|
|
@@ -837,17 +837,17 @@ var pt = {}, mt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
837
837
|
};
|
|
838
838
|
for (; r = this.nestingRegexp.exec(e);) {
|
|
839
839
|
let s = [];
|
|
840
|
-
a = { ...n }, a = a.replace && !
|
|
840
|
+
a = { ...n }, a = a.replace && !j(a.replace) ? a.replace : a, a.applyPostProcessor = !1, delete a.defaultValue;
|
|
841
841
|
let c = /{.*}/.test(r[1]) ? r[1].lastIndexOf("}") + 1 : r[1].indexOf(this.formatSeparator);
|
|
842
|
-
if (c !== -1 && (s = r[1].slice(c).split(this.formatSeparator).map((e) => e.trim()).filter(Boolean), r[1] = r[1].slice(0, c)), i = t(o.call(this, r[1].trim(), a), a), i && r[0] === e && !
|
|
843
|
-
|
|
842
|
+
if (c !== -1 && (s = r[1].slice(c).split(this.formatSeparator).map((e) => e.trim()).filter(Boolean), r[1] = r[1].slice(0, c)), i = t(o.call(this, r[1].trim(), a), a), i && r[0] === e && !j(i)) return i;
|
|
843
|
+
j(i) || (i = Ge(i)), i ||= (this.logger.warn(`missed to resolve ${r[1]} for nesting ${e}`), ""), s.length && (i = s.reduce((e, t) => this.format(e, t, n.lng, {
|
|
844
844
|
...n,
|
|
845
845
|
interpolationkey: r[1].trim()
|
|
846
846
|
}), i.trim())), e = e.replace(r[0], i), this.regexp.lastIndex = 0;
|
|
847
847
|
}
|
|
848
848
|
return e;
|
|
849
849
|
}
|
|
850
|
-
},
|
|
850
|
+
}, Tt = (e) => {
|
|
851
851
|
let t = e.toLowerCase().trim(), n = {};
|
|
852
852
|
if (e.indexOf("(") > -1) {
|
|
853
853
|
let r = e.split("(");
|
|
@@ -864,7 +864,7 @@ var pt = {}, mt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
864
864
|
formatName: t,
|
|
865
865
|
formatOptions: n
|
|
866
866
|
};
|
|
867
|
-
},
|
|
867
|
+
}, Et = (e) => {
|
|
868
868
|
let t = {};
|
|
869
869
|
return (n, r, i) => {
|
|
870
870
|
let a = i;
|
|
@@ -873,15 +873,15 @@ var pt = {}, mt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
873
873
|
[i.interpolationkey]: void 0
|
|
874
874
|
});
|
|
875
875
|
let o = r + JSON.stringify(a), s = t[o];
|
|
876
|
-
return s || (s = e(
|
|
876
|
+
return s || (s = e(P(r), i), t[o] = s), s(n);
|
|
877
877
|
};
|
|
878
|
-
},
|
|
878
|
+
}, Dt = (e) => (t, n, r) => e(P(n), r)(t), Ot = class {
|
|
879
879
|
constructor(e = {}) {
|
|
880
|
-
this.logger =
|
|
880
|
+
this.logger = F.create("formatter"), this.options = e, this.init(e);
|
|
881
881
|
}
|
|
882
882
|
init(e, t = { interpolation: {} }) {
|
|
883
883
|
this.formatSeparator = t.interpolation.formatSeparator || ",";
|
|
884
|
-
let n = t.cacheInBuiltFormats ?
|
|
884
|
+
let n = t.cacheInBuiltFormats ? Et : Dt;
|
|
885
885
|
this.formats = {
|
|
886
886
|
number: n((e, t) => {
|
|
887
887
|
let n = new Intl.NumberFormat(e, { ...t });
|
|
@@ -912,7 +912,7 @@ var pt = {}, mt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
912
912
|
this.formats[e.toLowerCase().trim()] = t;
|
|
913
913
|
}
|
|
914
914
|
addCached(e, t) {
|
|
915
|
-
this.formats[e.toLowerCase().trim()] =
|
|
915
|
+
this.formats[e.toLowerCase().trim()] = Et(t);
|
|
916
916
|
}
|
|
917
917
|
format(e, t, n, r = {}) {
|
|
918
918
|
let i = t.split(this.formatSeparator);
|
|
@@ -921,7 +921,7 @@ var pt = {}, mt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
921
921
|
i[0] = [i[0], ...i.splice(1, e)].join(this.formatSeparator);
|
|
922
922
|
}
|
|
923
923
|
return i.reduce((e, t) => {
|
|
924
|
-
let { formatName: i, formatOptions: a } =
|
|
924
|
+
let { formatName: i, formatOptions: a } = Tt(t);
|
|
925
925
|
if (this.formats[i]) {
|
|
926
926
|
let t = e;
|
|
927
927
|
try {
|
|
@@ -939,11 +939,11 @@ var pt = {}, mt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
939
939
|
return e;
|
|
940
940
|
}, e);
|
|
941
941
|
}
|
|
942
|
-
},
|
|
942
|
+
}, kt = (e, t) => {
|
|
943
943
|
e.pending[t] !== void 0 && (delete e.pending[t], e.pendingCount--);
|
|
944
|
-
},
|
|
944
|
+
}, At = class extends ut {
|
|
945
945
|
constructor(e, t, n, r = {}) {
|
|
946
|
-
super(), this.backend = e, this.store = t, this.services = n, this.languageUtils = n.languageUtils, this.options = r, this.logger =
|
|
946
|
+
super(), this.backend = e, this.store = t, this.services = n, this.languageUtils = n.languageUtils, this.options = r, this.logger = F.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = r.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = r.maxRetries >= 0 ? r.maxRetries : 5, this.retryTimeout = r.retryTimeout >= 1 ? r.retryTimeout : 350, this.state = {}, this.queue = [], this.backend?.init?.(n, r.backend, r);
|
|
947
947
|
}
|
|
948
948
|
queueLoad(e, t, n, r) {
|
|
949
949
|
let i = {}, a = {}, o = {}, s = {};
|
|
@@ -971,7 +971,7 @@ var pt = {}, mt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
971
971
|
t && this.emit("failedLoading", i, a, t), !t && n && this.store.addResourceBundle(i, a, n, void 0, void 0, { skipCopy: !0 }), this.state[e] = t ? -1 : 2, t && n && (this.state[e] = 0);
|
|
972
972
|
let o = {};
|
|
973
973
|
this.queue.forEach((n) => {
|
|
974
|
-
|
|
974
|
+
Qe(n.loaded, [i], a), kt(n, e), t && n.errors.push(t), n.pendingCount === 0 && !n.done && (Object.keys(n.loaded).forEach((e) => {
|
|
975
975
|
o[e] || (o[e] = {});
|
|
976
976
|
let t = n.loaded[e];
|
|
977
977
|
t.length && t.forEach((t) => {
|
|
@@ -1020,7 +1020,7 @@ var pt = {}, mt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1020
1020
|
}
|
|
1021
1021
|
prepareLoading(e, t, n = {}, r) {
|
|
1022
1022
|
if (!this.backend) return this.logger.warn("No backend was added via i18next.use. Will not load resources."), r && r();
|
|
1023
|
-
|
|
1023
|
+
j(e) && (e = this.languageUtils.toResolveHierarchy(e)), j(t) && (t = [t]);
|
|
1024
1024
|
let i = this.queueLoad(e, t, n, r);
|
|
1025
1025
|
if (!i.toLoad.length) return i.pending.length || r(), null;
|
|
1026
1026
|
i.toLoad.forEach((e) => {
|
|
@@ -1061,7 +1061,7 @@ var pt = {}, mt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1061
1061
|
!e || !e[0] || this.store.addResource(e[0], t, n, r);
|
|
1062
1062
|
}
|
|
1063
1063
|
}
|
|
1064
|
-
},
|
|
1064
|
+
}, jt = () => ({
|
|
1065
1065
|
debug: !1,
|
|
1066
1066
|
initAsync: !0,
|
|
1067
1067
|
ns: ["translation"],
|
|
@@ -1096,7 +1096,7 @@ var pt = {}, mt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1096
1096
|
appendNamespaceToCIMode: !1,
|
|
1097
1097
|
overloadTranslationOptionHandler: (e) => {
|
|
1098
1098
|
let t = {};
|
|
1099
|
-
if (typeof e[1] == "object" && (t = e[1]),
|
|
1099
|
+
if (typeof e[1] == "object" && (t = e[1]), j(e[1]) && (t.defaultValue = e[1]), j(e[2]) && (t.tDescription = e[2]), typeof e[2] == "object" || typeof e[3] == "object") {
|
|
1100
1100
|
let n = e[3] || e[2];
|
|
1101
1101
|
Object.keys(n).forEach((e) => {
|
|
1102
1102
|
t[e] = n[e];
|
|
@@ -1118,15 +1118,15 @@ var pt = {}, mt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1118
1118
|
skipOnVariables: !0
|
|
1119
1119
|
},
|
|
1120
1120
|
cacheInBuiltFormats: !0
|
|
1121
|
-
}),
|
|
1121
|
+
}), Mt = (e) => (j(e.ns) && (e.ns = [e.ns]), j(e.fallbackLng) && (e.fallbackLng = [e.fallbackLng]), j(e.fallbackNS) && (e.fallbackNS = [e.fallbackNS]), e.supportedLngs?.indexOf?.("cimode") < 0 && (e.supportedLngs = e.supportedLngs.concat(["cimode"])), typeof e.initImmediate == "boolean" && (e.initAsync = e.initImmediate), e), Nt = () => {}, Pt = (e) => {
|
|
1122
1122
|
Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach((t) => {
|
|
1123
1123
|
typeof e[t] == "function" && (e[t] = e[t].bind(e));
|
|
1124
1124
|
});
|
|
1125
|
-
},
|
|
1126
|
-
typeof globalThis < "u" && (globalThis[
|
|
1127
|
-
},
|
|
1125
|
+
}, Ft = "__i18next_supportNoticeShown", It = () => !!(typeof globalThis < "u" && globalThis[Ft] || typeof process < "u" && process.env && process.env.I18NEXT_NO_SUPPORT_NOTICE || typeof process < "u" && process.env), Lt = () => {
|
|
1126
|
+
typeof globalThis < "u" && (globalThis[Ft] = !0);
|
|
1127
|
+
}, Rt = (e) => !!(e?.modules?.backend?.name?.indexOf("Locize") > 0 || e?.modules?.backend?.constructor?.name?.indexOf("Locize") > 0 || e?.options?.backend?.backends && e.options.backend.backends.some((e) => e?.name?.indexOf("Locize") > 0 || e?.constructor?.name?.indexOf("Locize") > 0) || e?.options?.backend?.projectId || e?.options?.backend?.backendOptions && e.options.backend.backendOptions.some((e) => e?.projectId)), L = class e extends ut {
|
|
1128
1128
|
constructor(e = {}, t) {
|
|
1129
|
-
if (super(), this.options =
|
|
1129
|
+
if (super(), this.options = Mt(e), this.services = {}, this.logger = F, this.modules = { external: [] }, Pt(this), t && !this.isInitialized && !e.isClone) {
|
|
1130
1130
|
if (!this.options.initAsync) return this.init(e, t), this;
|
|
1131
1131
|
setTimeout(() => {
|
|
1132
1132
|
this.init(e, t);
|
|
@@ -1134,36 +1134,36 @@ var pt = {}, mt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1134
1134
|
}
|
|
1135
1135
|
}
|
|
1136
1136
|
init(e = {}, t) {
|
|
1137
|
-
this.isInitializing = !0, typeof e == "function" && (t = e, e = {}), e.defaultNS == null && e.ns && (
|
|
1138
|
-
let n =
|
|
1137
|
+
this.isInitializing = !0, typeof e == "function" && (t = e, e = {}), e.defaultNS == null && e.ns && (j(e.ns) ? e.defaultNS = e.ns : e.ns.indexOf("translation") < 0 && (e.defaultNS = e.ns[0]));
|
|
1138
|
+
let n = jt();
|
|
1139
1139
|
this.options = {
|
|
1140
1140
|
...n,
|
|
1141
1141
|
...this.options,
|
|
1142
|
-
...
|
|
1142
|
+
...Mt(e)
|
|
1143
1143
|
}, this.options.interpolation = {
|
|
1144
1144
|
...n.interpolation,
|
|
1145
1145
|
...this.options.interpolation
|
|
1146
|
-
}, e.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = e.keySeparator), e.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = e.nsSeparator), typeof this.options.overloadTranslationOptionHandler != "function" && (this.options.overloadTranslationOptionHandler = n.overloadTranslationOptionHandler), this.options.showSupportNotice !== !1 && !
|
|
1146
|
+
}, e.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = e.keySeparator), e.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = e.nsSeparator), typeof this.options.overloadTranslationOptionHandler != "function" && (this.options.overloadTranslationOptionHandler = n.overloadTranslationOptionHandler), this.options.showSupportNotice !== !1 && !Rt(this) && !It() && (typeof console < "u" && console.info !== void 0 && console.info("🌐 i18next is made possible by our own product, Locize — consider powering your project with managed localization (AI, CDN, integrations): https://locize.com 💙"), Lt());
|
|
1147
1147
|
let r = (e) => e ? typeof e == "function" ? new e() : e : null;
|
|
1148
1148
|
if (!this.options.isClone) {
|
|
1149
|
-
this.modules.logger ?
|
|
1149
|
+
this.modules.logger ? F.init(r(this.modules.logger), this.options) : F.init(null, this.options);
|
|
1150
1150
|
let e;
|
|
1151
|
-
e = this.modules.formatter ? this.modules.formatter :
|
|
1152
|
-
let t = new
|
|
1153
|
-
this.store = new
|
|
1151
|
+
e = this.modules.formatter ? this.modules.formatter : Ot;
|
|
1152
|
+
let t = new vt(this.options);
|
|
1153
|
+
this.store = new dt(this.options.resources, this.options);
|
|
1154
1154
|
let i = this.services;
|
|
1155
|
-
i.logger =
|
|
1155
|
+
i.logger = F, i.resourceStore = this.store, i.languageUtils = t, i.pluralResolver = new xt(t, {
|
|
1156
1156
|
prepend: this.options.pluralSeparator,
|
|
1157
1157
|
simplifyPluralSuffix: this.options.simplifyPluralSuffix
|
|
1158
|
-
}), this.options.interpolation.format && this.options.interpolation.format !== n.interpolation.format && this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"), e && (!this.options.interpolation.format || this.options.interpolation.format === n.interpolation.format) && (i.formatter = r(e), i.formatter.init && i.formatter.init(i, this.options), this.options.interpolation.format = i.formatter.format.bind(i.formatter)), i.interpolator = new
|
|
1158
|
+
}), this.options.interpolation.format && this.options.interpolation.format !== n.interpolation.format && this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"), e && (!this.options.interpolation.format || this.options.interpolation.format === n.interpolation.format) && (i.formatter = r(e), i.formatter.init && i.formatter.init(i, this.options), this.options.interpolation.format = i.formatter.format.bind(i.formatter)), i.interpolator = new wt(this.options), i.utils = { hasLoadedNamespace: this.hasLoadedNamespace.bind(this) }, i.backendConnector = new At(r(this.modules.backend), i.resourceStore, i, this.options), i.backendConnector.on("*", (e, ...t) => {
|
|
1159
1159
|
this.emit(e, ...t);
|
|
1160
|
-
}), this.modules.languageDetector && (i.languageDetector = r(this.modules.languageDetector), i.languageDetector.init && i.languageDetector.init(i, this.options.detection, this.options)), this.modules.i18nFormat && (i.i18nFormat = r(this.modules.i18nFormat), i.i18nFormat.init && i.i18nFormat.init(this)), this.translator = new
|
|
1160
|
+
}), this.modules.languageDetector && (i.languageDetector = r(this.modules.languageDetector), i.languageDetector.init && i.languageDetector.init(i, this.options.detection, this.options)), this.modules.i18nFormat && (i.i18nFormat = r(this.modules.i18nFormat), i.i18nFormat.init && i.i18nFormat.init(this)), this.translator = new _t(this.services, this.options), this.translator.on("*", (e, ...t) => {
|
|
1161
1161
|
this.emit(e, ...t);
|
|
1162
1162
|
}), this.modules.external.forEach((e) => {
|
|
1163
1163
|
e.init && e.init(this);
|
|
1164
1164
|
});
|
|
1165
1165
|
}
|
|
1166
|
-
if (this.format = this.options.interpolation.format, t ||=
|
|
1166
|
+
if (this.format = this.options.interpolation.format, t ||= Nt, this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
|
|
1167
1167
|
let e = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);
|
|
1168
1168
|
e.length > 0 && e[0] !== "dev" && (this.options.lng = e[0]);
|
|
1169
1169
|
}
|
|
@@ -1182,7 +1182,7 @@ var pt = {}, mt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1182
1182
|
].forEach((e) => {
|
|
1183
1183
|
this[e] = (...t) => (this.store[e](...t), this);
|
|
1184
1184
|
});
|
|
1185
|
-
let i =
|
|
1185
|
+
let i = M(), a = () => {
|
|
1186
1186
|
let e = (e, n) => {
|
|
1187
1187
|
this.isInitializing = !1, this.isInitialized && !this.initializedStoreOnce && this.logger.warn("init: i18next is already initialized. You should call init just once!"), this.isInitialized = !0, this.options.isClone || this.logger.log("initialized", this.options), this.emit("initialized", this.options), i.resolve(n), t(e, n);
|
|
1188
1188
|
};
|
|
@@ -1191,8 +1191,8 @@ var pt = {}, mt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1191
1191
|
};
|
|
1192
1192
|
return this.options.resources || !this.options.initAsync ? a() : setTimeout(a, 0), i;
|
|
1193
1193
|
}
|
|
1194
|
-
loadResources(e, t =
|
|
1195
|
-
let n = t, r =
|
|
1194
|
+
loadResources(e, t = Nt) {
|
|
1195
|
+
let n = t, r = j(e) ? e : this.language;
|
|
1196
1196
|
if (typeof e == "function" && (n = e), !this.options.resources || this.options.partialBundledLanguages) {
|
|
1197
1197
|
if (r?.toLowerCase() === "cimode" && (!this.options.preload || this.options.preload.length === 0)) return n();
|
|
1198
1198
|
let e = [], t = (t) => {
|
|
@@ -1206,15 +1206,15 @@ var pt = {}, mt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1206
1206
|
} else n(null);
|
|
1207
1207
|
}
|
|
1208
1208
|
reloadResources(e, t, n) {
|
|
1209
|
-
let r =
|
|
1210
|
-
return typeof e == "function" && (n = e, e = void 0), typeof t == "function" && (n = t, t = void 0), e ||= this.languages, t ||= this.options.ns, n ||=
|
|
1209
|
+
let r = M();
|
|
1210
|
+
return typeof e == "function" && (n = e, e = void 0), typeof t == "function" && (n = t, t = void 0), e ||= this.languages, t ||= this.options.ns, n ||= Nt, this.services.backendConnector.reload(e, t, (e) => {
|
|
1211
1211
|
r.resolve(), n(e);
|
|
1212
1212
|
}), r;
|
|
1213
1213
|
}
|
|
1214
1214
|
use(e) {
|
|
1215
1215
|
if (!e) throw Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
|
|
1216
1216
|
if (!e.type) throw Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
|
|
1217
|
-
return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" &&
|
|
1217
|
+
return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" && ft.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
|
|
1218
1218
|
}
|
|
1219
1219
|
setResolvedLanguage(e) {
|
|
1220
1220
|
if (!(!e || !this.languages) && !(["cimode", "dev"].indexOf(e) > -1)) {
|
|
@@ -1230,7 +1230,7 @@ var pt = {}, mt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1230
1230
|
}
|
|
1231
1231
|
changeLanguage(e, t) {
|
|
1232
1232
|
this.isLanguageChangingTo = e;
|
|
1233
|
-
let n =
|
|
1233
|
+
let n = M();
|
|
1234
1234
|
this.emit("languageChanging", e);
|
|
1235
1235
|
let r = (e) => {
|
|
1236
1236
|
this.language = e, this.languages = this.services.languageUtils.toResolveHierarchy(e), this.resolvedLanguage = void 0, this.setResolvedLanguage(e);
|
|
@@ -1238,7 +1238,7 @@ var pt = {}, mt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1238
1238
|
a ? this.isLanguageChangingTo === e && (r(a), this.translator.changeLanguage(a), this.isLanguageChangingTo = void 0, this.emit("languageChanged", a), this.logger.log("languageChanged", a)) : this.isLanguageChangingTo = void 0, n.resolve((...e) => this.t(...e)), t && t(i, (...e) => this.t(...e));
|
|
1239
1239
|
}, a = (t) => {
|
|
1240
1240
|
!e && !t && this.services.languageDetector && (t = []);
|
|
1241
|
-
let n =
|
|
1241
|
+
let n = j(t) ? t : t && t[0], a = this.store.hasLanguageSomeTranslations(n) ? n : this.services.languageUtils.getBestMatchFromCodes(j(t) ? [t] : t);
|
|
1242
1242
|
a && (this.language || r(a), this.translator.language || this.translator.changeLanguage(a), this.services.languageDetector?.cacheUserLanguage?.(a)), this.loadResources(a, (e) => {
|
|
1243
1243
|
i(e, a);
|
|
1244
1244
|
});
|
|
@@ -1253,11 +1253,11 @@ var pt = {}, mt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1253
1253
|
...this.options,
|
|
1254
1254
|
...a
|
|
1255
1255
|
};
|
|
1256
|
-
typeof a.keyPrefix == "function" && (a.keyPrefix =
|
|
1256
|
+
typeof a.keyPrefix == "function" && (a.keyPrefix = I(a.keyPrefix, o));
|
|
1257
1257
|
let s = this.options.keySeparator || ".", c;
|
|
1258
|
-
return a.keyPrefix && Array.isArray(e) ? c = e.map((e) => (typeof e == "function" && (e =
|
|
1258
|
+
return a.keyPrefix && Array.isArray(e) ? c = e.map((e) => (typeof e == "function" && (e = I(e, o)), `${a.keyPrefix}${s}${e}`)) : (typeof e == "function" && (e = I(e, o)), c = a.keyPrefix ? `${a.keyPrefix}${s}${e}` : e), this.t(c, a);
|
|
1259
1259
|
};
|
|
1260
|
-
return
|
|
1260
|
+
return j(e) ? r.lng = e : r.lngs = e, r.ns = t, r.keyPrefix = n, r;
|
|
1261
1261
|
}
|
|
1262
1262
|
t(...e) {
|
|
1263
1263
|
return this.translator?.translate(...e);
|
|
@@ -1284,16 +1284,16 @@ var pt = {}, mt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1284
1284
|
return !!(this.hasResourceBundle(n, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || a(n, e) && (!r || a(i, e)));
|
|
1285
1285
|
}
|
|
1286
1286
|
loadNamespaces(e, t) {
|
|
1287
|
-
let n =
|
|
1288
|
-
return this.options.ns ? (
|
|
1287
|
+
let n = M();
|
|
1288
|
+
return this.options.ns ? (j(e) && (e = [e]), e.forEach((e) => {
|
|
1289
1289
|
this.options.ns.indexOf(e) < 0 && this.options.ns.push(e);
|
|
1290
1290
|
}), this.loadResources((e) => {
|
|
1291
1291
|
n.resolve(), t && t(e);
|
|
1292
1292
|
}), n) : (t && t(), Promise.resolve());
|
|
1293
1293
|
}
|
|
1294
1294
|
loadLanguages(e, t) {
|
|
1295
|
-
let n =
|
|
1296
|
-
|
|
1295
|
+
let n = M();
|
|
1296
|
+
j(e) && (e = [e]);
|
|
1297
1297
|
let r = this.options.preload || [], i = e.filter((e) => r.indexOf(e) < 0 && this.services.languageUtils.isSupportedCode(e));
|
|
1298
1298
|
return i.length ? (this.options.preload = r.concat(i), this.loadResources((e) => {
|
|
1299
1299
|
n.resolve(), t && t(e);
|
|
@@ -1308,14 +1308,14 @@ var pt = {}, mt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1308
1308
|
if (e && e.direction) return e.direction;
|
|
1309
1309
|
}
|
|
1310
1310
|
} catch {}
|
|
1311
|
-
let t = /* @__PURE__ */ "ar.shu.sqr.ssh.xaa.yhd.yud.aao.abh.abv.acm.acq.acw.acx.acy.adf.ads.aeb.aec.afb.ajp.apc.apd.arb.arq.ars.ary.arz.auz.avl.ayh.ayl.ayn.ayp.bbz.pga.he.iw.ps.pbt.pbu.pst.prp.prd.ug.ur.ydd.yds.yih.ji.yi.hbo.men.xmn.fa.jpr.peo.pes.prs.dv.sam.ckb".split("."), n = this.services?.languageUtils || new
|
|
1311
|
+
let t = /* @__PURE__ */ "ar.shu.sqr.ssh.xaa.yhd.yud.aao.abh.abv.acm.acq.acw.acx.acy.adf.ads.aeb.aec.afb.ajp.apc.apd.arb.arq.ars.ary.arz.auz.avl.ayh.ayl.ayn.ayp.bbz.pga.he.iw.ps.pbt.pbu.pst.prp.prd.ug.ur.ydd.yds.yih.ji.yi.hbo.men.xmn.fa.jpr.peo.pes.prs.dv.sam.ckb".split("."), n = this.services?.languageUtils || new vt(jt());
|
|
1312
1312
|
return e.toLowerCase().indexOf("-latn") > 1 ? "ltr" : t.indexOf(n.getLanguagePartFromCode(e)) > -1 || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
|
|
1313
1313
|
}
|
|
1314
1314
|
static createInstance(t = {}, n) {
|
|
1315
1315
|
let r = new e(t, n);
|
|
1316
1316
|
return r.createInstance = e.createInstance, r;
|
|
1317
1317
|
}
|
|
1318
|
-
cloneInstance(t = {}, n =
|
|
1318
|
+
cloneInstance(t = {}, n = Nt) {
|
|
1319
1319
|
let r = t.forkResourceStore;
|
|
1320
1320
|
r && delete t.forkResourceStore;
|
|
1321
1321
|
let i = {
|
|
@@ -1329,18 +1329,18 @@ var pt = {}, mt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1329
1329
|
"language"
|
|
1330
1330
|
].forEach((e) => {
|
|
1331
1331
|
a[e] = this[e];
|
|
1332
|
-
}), a.services = { ...this.services }, a.services.utils = { hasLoadedNamespace: a.hasLoadedNamespace.bind(a) }, r && (a.store = new
|
|
1332
|
+
}), a.services = { ...this.services }, a.services.utils = { hasLoadedNamespace: a.hasLoadedNamespace.bind(a) }, r && (a.store = new dt(Object.keys(this.store.data).reduce((e, t) => (e[t] = { ...this.store.data[t] }, e[t] = Object.keys(e[t]).reduce((n, r) => (n[r] = { ...e[t][r] }, n), e[t]), e), {}), i), a.services.resourceStore = a.store), t.interpolation) {
|
|
1333
1333
|
let e = {
|
|
1334
|
-
...
|
|
1334
|
+
...jt().interpolation,
|
|
1335
1335
|
...this.options.interpolation,
|
|
1336
1336
|
...t.interpolation
|
|
1337
1337
|
}, n = {
|
|
1338
1338
|
...i,
|
|
1339
1339
|
interpolation: e
|
|
1340
1340
|
};
|
|
1341
|
-
a.services.interpolator = new
|
|
1341
|
+
a.services.interpolator = new wt(n);
|
|
1342
1342
|
}
|
|
1343
|
-
return a.translator = new
|
|
1343
|
+
return a.translator = new _t(a.services, i), a.translator.on("*", (e, ...t) => {
|
|
1344
1344
|
a.emit(e, ...t);
|
|
1345
1345
|
}), a.init(i, n), a.translator.options = i, a.translator.backendConnector.services.utils = { hasLoadedNamespace: a.hasLoadedNamespace.bind(a) }, a;
|
|
1346
1346
|
}
|
|
@@ -1354,10 +1354,10 @@ var pt = {}, mt = (e) => !M(e) && typeof e != "boolean" && typeof e != "number",
|
|
|
1354
1354
|
};
|
|
1355
1355
|
}
|
|
1356
1356
|
}.createInstance();
|
|
1357
|
-
|
|
1357
|
+
L.createInstance, L.dir, L.init, L.loadResources, L.reloadResources, L.use, L.changeLanguage, L.getFixedT, L.t, L.exists, L.setDefaultNamespace, L.hasLoadedNamespace, L.loadNamespaces, L.loadLanguages;
|
|
1358
1358
|
//#endregion
|
|
1359
1359
|
//#region ../node_modules/i18next-resources-to-backend/dist/esm/index.js
|
|
1360
|
-
var
|
|
1360
|
+
var zt = function(e) {
|
|
1361
1361
|
return {
|
|
1362
1362
|
type: "backend",
|
|
1363
1363
|
init: function(e, t, n) {},
|
|
@@ -1380,7 +1380,7 @@ var Lt = function(e) {
|
|
|
1380
1380
|
r(null, e && e[t] && e[t][n]);
|
|
1381
1381
|
}
|
|
1382
1382
|
};
|
|
1383
|
-
},
|
|
1383
|
+
}, Bt = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, Vt = {
|
|
1384
1384
|
"&": "&",
|
|
1385
1385
|
"&": "&",
|
|
1386
1386
|
"<": "<",
|
|
@@ -1401,7 +1401,7 @@ var Lt = function(e) {
|
|
|
1401
1401
|
"…": "…",
|
|
1402
1402
|
"/": "/",
|
|
1403
1403
|
"/": "/"
|
|
1404
|
-
},
|
|
1404
|
+
}, Ht = (e) => Vt[e], Ut = (e) => e.replace(Bt, Ht), Wt = {
|
|
1405
1405
|
bindI18n: "languageChanged",
|
|
1406
1406
|
bindI18nStore: "",
|
|
1407
1407
|
transEmptyNodeValue: "",
|
|
@@ -1414,21 +1414,21 @@ var Lt = function(e) {
|
|
|
1414
1414
|
"p"
|
|
1415
1415
|
],
|
|
1416
1416
|
useSuspense: !0,
|
|
1417
|
-
unescape:
|
|
1417
|
+
unescape: Ut,
|
|
1418
1418
|
transDefaultProps: void 0
|
|
1419
|
-
},
|
|
1420
|
-
|
|
1421
|
-
...
|
|
1419
|
+
}, Gt = (e = {}) => {
|
|
1420
|
+
Wt = {
|
|
1421
|
+
...Wt,
|
|
1422
1422
|
...e
|
|
1423
1423
|
};
|
|
1424
|
-
},
|
|
1425
|
-
|
|
1426
|
-
},
|
|
1424
|
+
}, Kt = () => Wt, qt, Jt = (e) => {
|
|
1425
|
+
qt = e;
|
|
1426
|
+
}, Yt = () => qt, Xt = {
|
|
1427
1427
|
type: "3rdParty",
|
|
1428
1428
|
init(e) {
|
|
1429
|
-
|
|
1429
|
+
Gt(e.options.react), Jt(e);
|
|
1430
1430
|
}
|
|
1431
|
-
},
|
|
1431
|
+
}, Zt = {
|
|
1432
1432
|
"defaultMessages.ACTIVE_DUTY": "Active Duty",
|
|
1433
1433
|
"defaultMessages.ARCHITECT": "Architect",
|
|
1434
1434
|
"defaultMessages.CHILD_CARE_WORKER": "Child Care Worker",
|
|
@@ -2580,11 +2580,11 @@ var Lt = function(e) {
|
|
|
2580
2580
|
"defaultMessages.step.docUpload.uploadInfo.issueDate": "An issue date within the last 90 days",
|
|
2581
2581
|
"defaultMessages.step.docUpload.uploadInfo.enrollmentProof": "Proof of <strong>current enrollment</strong>, shown by one of the following:",
|
|
2582
2582
|
"defaultMessages.contactSupport": "If you believe you're eligible, see our <faqLink>help center</faqLink> or <feedbackFormLink>contact SheerID support</feedbackFormLink>"
|
|
2583
|
-
},
|
|
2583
|
+
}, R = /* @__PURE__ */ b(_e(), 1), Qt = /* @__PURE__ */ new Map(), $t = (e) => {
|
|
2584
2584
|
let t = Object.keys(e).reduce((t, n) => (e[n] && (t[n] = e[n]), t), {});
|
|
2585
|
-
return
|
|
2586
|
-
},
|
|
2587
|
-
if (
|
|
2585
|
+
return R.flatten.unflatten(t);
|
|
2586
|
+
}, en = async (e) => {
|
|
2587
|
+
if (Qt.has(e)) return Qt.get(e);
|
|
2588
2588
|
let t = (async () => {
|
|
2589
2589
|
let t;
|
|
2590
2590
|
switch (e) {
|
|
@@ -2637,7 +2637,7 @@ var Lt = function(e) {
|
|
|
2637
2637
|
).then((e) => e.default);
|
|
2638
2638
|
break;
|
|
2639
2639
|
case "en-US":
|
|
2640
|
-
t =
|
|
2640
|
+
t = Zt;
|
|
2641
2641
|
break;
|
|
2642
2642
|
case "es-ES":
|
|
2643
2643
|
t = await import(
|
|
@@ -2909,25 +2909,25 @@ var Lt = function(e) {
|
|
|
2909
2909
|
"./zu-DPhgIh1z.js"
|
|
2910
2910
|
).then((e) => e.default);
|
|
2911
2911
|
break;
|
|
2912
|
-
default: n.warn(`getMessagesModuleByLocale: Unable to load messages for ${e}, falling back to en-US`), t =
|
|
2912
|
+
default: n.warn(`getMessagesModuleByLocale: Unable to load messages for ${e}, falling back to en-US`), t = Zt;
|
|
2913
2913
|
}
|
|
2914
|
-
return
|
|
2914
|
+
return $t(t);
|
|
2915
2915
|
})();
|
|
2916
|
-
return
|
|
2917
|
-
},
|
|
2918
|
-
let t = (0,
|
|
2916
|
+
return Qt.set(e, t), t;
|
|
2917
|
+
}, tn = (e) => {
|
|
2918
|
+
let t = (0, R.flatten)(e), n = {};
|
|
2919
2919
|
return Object.keys(t).forEach((e) => {
|
|
2920
2920
|
typeof t[e] == "string" && (n[e] = t[e]);
|
|
2921
2921
|
}), n;
|
|
2922
|
-
},
|
|
2922
|
+
}, nn = (e) => {
|
|
2923
2923
|
let t = {};
|
|
2924
2924
|
return $().messagesWithLocale[e] && (t = $().messagesWithLocale[e]), t;
|
|
2925
|
-
},
|
|
2925
|
+
}, rn = (e) => e === "iw" ? "he" : e, an = async (e, t, r) => {
|
|
2926
2926
|
let i = e;
|
|
2927
2927
|
re(i) || (n.error(`Invalid locale ${i}, falling back to ${E} for the verification form`, "Invalid locale"), i = E);
|
|
2928
|
-
let a = await
|
|
2929
|
-
return Object.assign({}, d, o ? (0,
|
|
2930
|
-
},
|
|
2928
|
+
let a = await en(i), o = a ? a.defaultMessages : {}, s = a && a.segmentMessages, c = r && s ? a.segmentMessages[r] : {}, l = nn(i), u = t ? tn(t) : {}, d = i === "en-US" ? {} : await an(E, t, r);
|
|
2929
|
+
return Object.assign({}, d, o ? (0, R.flatten)(o) : {}, c ? (0, R.flatten)(c) : {}, u, l ? (0, R.flatten)(l) : {});
|
|
2930
|
+
}, on = (e, t) => {
|
|
2931
2931
|
function n() {
|
|
2932
2932
|
return ye(window.location.href).get("locale") || void 0;
|
|
2933
2933
|
}
|
|
@@ -2935,7 +2935,15 @@ var Lt = function(e) {
|
|
|
2935
2935
|
if (re(r)) return r;
|
|
2936
2936
|
let i = r.substring(0, 2);
|
|
2937
2937
|
return re(i) ? i : E;
|
|
2938
|
-
},
|
|
2938
|
+
}, sn = (e) => e.replace("-", "_"), cn = (e) => {
|
|
2939
|
+
let t;
|
|
2940
|
+
try {
|
|
2941
|
+
t = e.messages, t.step?.personalInfo?.howDoesVerifyingWorkDetails && (t.step.personalInfo.howDoesVerifyingWorkDetails = t.step.personalInfo.howDoesVerifyingWorkDetails.replace(/(?<!\{)\{companyName\}(?!\})/g, "{{companyName}}")), t.step?.pending?.subtitle && (t.step.pending.subtitle = t.step.pending.subtitle.replace(/(?<!\{)\{maxReviewTime\}(?!\})/g, "{{maxReviewTime}}")), t.step?.pending?.turnaroundTime && (t.step.pending.turnaroundTime = t.step.pending.turnaroundTime.replace("{estReviewTime}", "{{estimatedReviewTime}}"), t.step.pending.turnaroundTime = t.step.pending.turnaroundTime.replace(/(?<!\{)\{maxReviewTime\}(?!\})/g, "{{maxReviewTime}}")), t.step?.docUpload?.reviewTime && (t.step.docUpload.reviewTime = t.step.docUpload.reviewTime.replace(/(?<!\{)\{estimatedWaitTime\}(?!\})/g, "{{estimatedReviewTime}}"));
|
|
2942
|
+
} catch {
|
|
2943
|
+
n.error("Unable to get theme messages");
|
|
2944
|
+
}
|
|
2945
|
+
return t;
|
|
2946
|
+
}, ln = /* @__PURE__ */ b((/* @__PURE__ */ _(((e, t) => {
|
|
2939
2947
|
var n = (function() {
|
|
2940
2948
|
function e(e, t) {
|
|
2941
2949
|
return t != null && e instanceof t;
|
|
@@ -3037,13 +3045,13 @@ var Lt = function(e) {
|
|
|
3037
3045
|
})();
|
|
3038
3046
|
typeof t == "object" && t.exports && (t.exports = n);
|
|
3039
3047
|
})))(), 1);
|
|
3040
|
-
function
|
|
3048
|
+
function un(e) {
|
|
3041
3049
|
return Array.isArray(e) ? !1 : typeof e != "object" || Object.keys(e).length === 0;
|
|
3042
3050
|
}
|
|
3043
|
-
function
|
|
3044
|
-
return (0,
|
|
3051
|
+
function dn(e) {
|
|
3052
|
+
return (0, ln.default)(e);
|
|
3045
3053
|
}
|
|
3046
|
-
function
|
|
3054
|
+
function fn(...e) {
|
|
3047
3055
|
let t = (e) => e && typeof e == "object";
|
|
3048
3056
|
function n(e, r) {
|
|
3049
3057
|
return Object.keys(r).forEach((i) => {
|
|
@@ -3057,37 +3065,37 @@ function un(...e) {
|
|
|
3057
3065
|
for (; i = e.shift();) n(r, i);
|
|
3058
3066
|
return r;
|
|
3059
3067
|
}
|
|
3060
|
-
var
|
|
3061
|
-
function
|
|
3062
|
-
if (!
|
|
3068
|
+
var pn = (e) => typeof e == "object" && !!e && !Array.isArray(e);
|
|
3069
|
+
function mn(e, t) {
|
|
3070
|
+
if (!pn(e) || !pn(t)) return t === void 0 ? e : t;
|
|
3063
3071
|
let n = { ...e };
|
|
3064
3072
|
return Object.keys(t).forEach((e) => {
|
|
3065
|
-
n[e] =
|
|
3073
|
+
n[e] = mn(n[e], t[e]);
|
|
3066
3074
|
}), n;
|
|
3067
3075
|
}
|
|
3068
3076
|
//#endregion
|
|
3069
3077
|
//#region src/lib/intl/i18next.ts
|
|
3070
|
-
var
|
|
3078
|
+
var z = {
|
|
3071
3079
|
DEFAULT: "default",
|
|
3072
3080
|
THEME: "theme",
|
|
3073
3081
|
OPTIONS: "options"
|
|
3074
3082
|
};
|
|
3075
|
-
|
|
3083
|
+
L.on("missingKey", (e, t, r, i) => {
|
|
3076
3084
|
n.warn(`i18next: MISSING KEY in ${t}.${r} for languages: ${e.join(", ")}`, { result: i });
|
|
3077
3085
|
});
|
|
3078
|
-
function
|
|
3086
|
+
function hn(e, t) {
|
|
3079
3087
|
if (typeof t != "object") return;
|
|
3080
3088
|
let n = {};
|
|
3081
3089
|
return Object.entries(t).forEach(([t, r]) => {
|
|
3082
|
-
typeof r == "string" && (n[`${t}_${e}`] = r), typeof r == "object" && (n[t] =
|
|
3090
|
+
typeof r == "string" && (n[`${t}_${e}`] = r), typeof r == "object" && (n[t] = hn(e, r));
|
|
3083
3091
|
}), n;
|
|
3084
3092
|
}
|
|
3085
|
-
async function
|
|
3086
|
-
let r = await
|
|
3093
|
+
async function gn(e, t) {
|
|
3094
|
+
let r = await en(e), i;
|
|
3087
3095
|
switch (t) {
|
|
3088
3096
|
case "default": {
|
|
3089
|
-
let e = Object.entries(r.segmentMessages).map(([e, t]) =>
|
|
3090
|
-
i =
|
|
3097
|
+
let e = Object.entries(r.segmentMessages).map(([e, t]) => hn(e, t));
|
|
3098
|
+
i = fn({}, r.defaultMessages, ...e);
|
|
3091
3099
|
break;
|
|
3092
3100
|
}
|
|
3093
3101
|
case "theme": break;
|
|
@@ -3096,35 +3104,39 @@ async function hn(e, t) {
|
|
|
3096
3104
|
}
|
|
3097
3105
|
return i;
|
|
3098
3106
|
}
|
|
3099
|
-
var
|
|
3107
|
+
var _n = {
|
|
3100
3108
|
debug: !1,
|
|
3101
3109
|
partialBundledLanguages: !0,
|
|
3102
|
-
ns: Object.values(
|
|
3103
|
-
defaultNS:
|
|
3104
|
-
fallbackNS: [
|
|
3110
|
+
ns: Object.values(z),
|
|
3111
|
+
defaultNS: z.OPTIONS,
|
|
3112
|
+
fallbackNS: [z.THEME, z.DEFAULT],
|
|
3105
3113
|
fallbackLng: !1,
|
|
3106
3114
|
react: { transSupportBasicHtmlNodes: !1 },
|
|
3107
3115
|
showSupportNotice: !1
|
|
3108
3116
|
};
|
|
3109
|
-
|
|
3110
|
-
function
|
|
3117
|
+
L.use(Xt).use(zt(gn)).init(_n);
|
|
3118
|
+
function vn(e) {
|
|
3111
3119
|
e && (Array.isArray(e) ? e.forEach((e) => n.error(e)) : n.error(e));
|
|
3112
3120
|
}
|
|
3113
|
-
function
|
|
3121
|
+
function yn(e, t = L) {
|
|
3114
3122
|
e && Object.entries(e).forEach(([e, n]) => {
|
|
3115
|
-
n && t.addResourceBundle(e,
|
|
3123
|
+
n && t.addResourceBundle(e, z.OPTIONS, n, !1, !0);
|
|
3116
3124
|
});
|
|
3117
3125
|
}
|
|
3118
|
-
|
|
3126
|
+
function bn(e, t = e.locale) {
|
|
3127
|
+
let n = cn(e);
|
|
3128
|
+
return L.addResourceBundle(t, z.THEME, n, !1, !0), n;
|
|
3129
|
+
}
|
|
3130
|
+
var xn = L, Sn = /* @__PURE__ */ function(e) {
|
|
3119
3131
|
return e.TRUE = "true", e.FALSE = "false", e;
|
|
3120
|
-
}({}),
|
|
3132
|
+
}({}), Cn = ["sheerid.com"], wn = /* @__PURE__ */ function(e) {
|
|
3121
3133
|
return e.ASR_SELECTED = "AsrSelected", e.ASR_TIPS_SHOWN = "AsrTipsShown", e.ASR_SEARCH_AFTER_TIPS = "AsrSearchAfterTips", e.FORM_PASTE = "FormPaste", e.INVALID_FORM_SUBMIT = "InvalidFormSubmit", e.STEP_SEEN = "StepSeen", e.STEP_SUBMITTED = "StepSubmitted", e.STEP_ACCEPTED = "StepAccepted", e.ORG_SELECTED = "OrgSelected", e.ORGS_DISPLAYED = "OrgsDisplayed", e.VIEW_EXPERIMENT = "ViewExperiment", e.SUCCESS_REDIRECT_CLICKED = "SuccessRedirectClicked", e.SSO_SIGN_IN_CLICKED = "SsoSignInClicked", e.SSO_CANCEL_CLICKED = "SsoCancelClicked", e.DOC_UPLOAD_ADD_FILES = "DocUploadAddFiles", e.DOC_UPLOAD_REMOVE_FILES = "DocUploadRemoveFiles", e.CAPTCHA_CLIENT_ERROR_CODE = "CaptchaClientErrorCode", e.COLLECT_STARTED = "CollectStarted", e.COLLECT_SUBMITTED = "CollectSubmitted", e.PERFORMANCE = "Performance", e.USER_PROPERTIES = "user_properties", e.VERIFICATION = "Verification", e.VERIFICATION_HELP = "VerificationHelp", e;
|
|
3122
|
-
}({}),
|
|
3134
|
+
}({}), Tn = /* @__PURE__ */ function(e) {
|
|
3123
3135
|
return e.age = "age", e.jslibVersionActual = "jslibVersionActual", e.clientVersion = "clientVersion", e.programId = "programId", e.segment = "segment", e.subSegment = "subSegment", e.testMode = "testMode", e.testRequest = "testRequest", e.verificationId = "verificationId", e.flags = "flags", e.options = "options", e.flag = "flag", e.step = "step", e.stepAction = "step_action", e.identifier = "id", e.verificationHelpStatus = "verificationHelpStatus", e.visibilityState = "visibilityState", e;
|
|
3124
|
-
}({}),
|
|
3136
|
+
}({}), En = /* @__PURE__ */ function(e) {
|
|
3125
3137
|
return e.EVENT_DURATION = "eventDuration", e.QUERY_LENGTH = "queryLength", e.SELECTED_RESULT_RANK = "selectedResultRank", e.NUMBER_OF_RESULTS = "numberOfResults", e.NUMBER_REWORKS = "numberReworks", e.INITIAL_STEP_LOAD = "initialStepLoad", e.LCP = "largestContentfulPaint", e.ERROR_CODE = "errorCode", e;
|
|
3126
3138
|
}({});
|
|
3127
|
-
function
|
|
3139
|
+
function Dn(e, t, r) {
|
|
3128
3140
|
if (l()) return n.info("Not able to track");
|
|
3129
3141
|
try {
|
|
3130
3142
|
return window.gtag(e, t, r);
|
|
@@ -3132,28 +3144,28 @@ function Tn(e, t, r) {
|
|
|
3132
3144
|
n.warn(`Failed ${e}:${t} event`, r);
|
|
3133
3145
|
}
|
|
3134
3146
|
}
|
|
3135
|
-
var
|
|
3147
|
+
var On = async (e) => {
|
|
3136
3148
|
try {
|
|
3137
3149
|
let n = {
|
|
3138
3150
|
...await r() || {},
|
|
3139
3151
|
...e.params
|
|
3140
3152
|
};
|
|
3141
|
-
|
|
3153
|
+
Dn("event", e.eventName, n), t() && window.NREUM.addPageAction(e.eventName, n);
|
|
3142
3154
|
} catch (e) {
|
|
3143
3155
|
n.error(e);
|
|
3144
3156
|
}
|
|
3145
|
-
},
|
|
3146
|
-
|
|
3157
|
+
}, kn = async (e, t) => {
|
|
3158
|
+
On({
|
|
3147
3159
|
eventName: e,
|
|
3148
3160
|
params: t
|
|
3149
3161
|
});
|
|
3150
|
-
},
|
|
3162
|
+
}, An = (t, r) => {
|
|
3151
3163
|
if (e({ [t]: r }), !l()) try {
|
|
3152
|
-
|
|
3164
|
+
Dn("set", "user_properties", { [t]: r });
|
|
3153
3165
|
} catch (e) {
|
|
3154
3166
|
n.warn(`Failed to set ${t}`, e);
|
|
3155
3167
|
}
|
|
3156
|
-
},
|
|
3168
|
+
}, jn = (t) => {
|
|
3157
3169
|
try {
|
|
3158
3170
|
e({
|
|
3159
3171
|
verificationId: t.verificationId,
|
|
@@ -3164,20 +3176,20 @@ var En = async (e) => {
|
|
|
3164
3176
|
} catch (e) {
|
|
3165
3177
|
n.warn(e);
|
|
3166
3178
|
}
|
|
3167
|
-
},
|
|
3179
|
+
}, Mn = An, Nn = (e) => {
|
|
3168
3180
|
try {
|
|
3169
3181
|
let { email: t } = e;
|
|
3170
|
-
t &&
|
|
3182
|
+
t && Cn.filter((e) => t.indexOf(e) > -1).length > 0 && Mn("testRequest", "true");
|
|
3171
3183
|
} catch (e) {
|
|
3172
3184
|
n.warn("Error setting testRequest dimension", e);
|
|
3173
3185
|
}
|
|
3174
3186
|
};
|
|
3175
|
-
function
|
|
3187
|
+
function Pn() {
|
|
3176
3188
|
try {
|
|
3177
3189
|
if (PerformanceObserver.supportedEntryTypes.includes("largest-contentful-paint")) {
|
|
3178
3190
|
let e = new PerformanceObserver((t) => {
|
|
3179
3191
|
let r = t.getEntries(), i = r[r.length - 1];
|
|
3180
|
-
n.log("Performance:", "largestContentfulPaint", i.startTime),
|
|
3192
|
+
n.log("Performance:", "largestContentfulPaint", i.startTime), In("largestContentfulPaint", i.startTime), e.disconnect();
|
|
3181
3193
|
});
|
|
3182
3194
|
e.observe({
|
|
3183
3195
|
type: "largest-contentful-paint",
|
|
@@ -3189,7 +3201,7 @@ function Mn() {
|
|
|
3189
3201
|
let r = t.getEntries();
|
|
3190
3202
|
r = r.filter((e) => e.name === "initialStepLoad");
|
|
3191
3203
|
let i = r[0];
|
|
3192
|
-
i && (n.log("Performance:", "initialStepLoad", i.startTime),
|
|
3204
|
+
i && (n.log("Performance:", "initialStepLoad", i.startTime), In("initialStepLoad", i.startTime), e.disconnect());
|
|
3193
3205
|
});
|
|
3194
3206
|
e.observe({
|
|
3195
3207
|
type: "mark",
|
|
@@ -3200,13 +3212,13 @@ function Mn() {
|
|
|
3200
3212
|
n.warn("Error setting up observePerformanceMetrics", e);
|
|
3201
3213
|
}
|
|
3202
3214
|
}
|
|
3203
|
-
var
|
|
3204
|
-
|
|
3215
|
+
var Fn = (e, t = "") => {
|
|
3216
|
+
Dn("event", "Verification", {
|
|
3205
3217
|
step: e,
|
|
3206
3218
|
step_action: t
|
|
3207
3219
|
});
|
|
3208
|
-
},
|
|
3209
|
-
|
|
3220
|
+
}, In = (e, t) => {
|
|
3221
|
+
Dn("event", "Performance", {
|
|
3210
3222
|
name: e,
|
|
3211
3223
|
value: t
|
|
3212
3224
|
});
|
|
@@ -3228,8 +3240,8 @@ function H(e) {
|
|
|
3228
3240
|
var t = Object.getPrototypeOf(e);
|
|
3229
3241
|
if (t === null) return !0;
|
|
3230
3242
|
var n = Object.hasOwnProperty.call(t, "constructor") && t.constructor;
|
|
3231
|
-
return n === Object || typeof n == "function" && Function.toString.call(n) ===
|
|
3232
|
-
}(e) || Array.isArray(e) || !!e[
|
|
3243
|
+
return n === Object || typeof n == "function" && Function.toString.call(n) === vr;
|
|
3244
|
+
}(e) || Array.isArray(e) || !!e[_r] || !!e.constructor?.[_r] || Bn(e) || Vn(e));
|
|
3233
3245
|
}
|
|
3234
3246
|
function U(e, t, n) {
|
|
3235
3247
|
n === void 0 && (n = !1), W(e) === 0 ? (n ? Object.keys : X)(e).forEach((function(r) {
|
|
@@ -3240,33 +3252,33 @@ function U(e, t, n) {
|
|
|
3240
3252
|
}
|
|
3241
3253
|
function W(e) {
|
|
3242
3254
|
var t = e[Y];
|
|
3243
|
-
return t ? t.i > 3 ? t.i - 4 : t.i : Array.isArray(e) ? 1 :
|
|
3255
|
+
return t ? t.i > 3 ? t.i - 4 : t.i : Array.isArray(e) ? 1 : Bn(e) ? 2 : Vn(e) ? 3 : 0;
|
|
3244
3256
|
}
|
|
3245
3257
|
function G(e, t) {
|
|
3246
3258
|
return W(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t);
|
|
3247
3259
|
}
|
|
3248
|
-
function
|
|
3260
|
+
function Ln(e, t) {
|
|
3249
3261
|
return W(e) === 2 ? e.get(t) : e[t];
|
|
3250
3262
|
}
|
|
3251
|
-
function
|
|
3263
|
+
function Rn(e, t, n) {
|
|
3252
3264
|
var r = W(e);
|
|
3253
3265
|
r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;
|
|
3254
3266
|
}
|
|
3255
|
-
function
|
|
3267
|
+
function zn(e, t) {
|
|
3256
3268
|
return e === t ? e !== 0 || 1 / e == 1 / t : e != e && t != t;
|
|
3257
3269
|
}
|
|
3258
|
-
function
|
|
3259
|
-
return
|
|
3270
|
+
function Bn(e) {
|
|
3271
|
+
return pr && e instanceof Map;
|
|
3260
3272
|
}
|
|
3261
|
-
function
|
|
3262
|
-
return
|
|
3273
|
+
function Vn(e) {
|
|
3274
|
+
return mr && e instanceof Set;
|
|
3263
3275
|
}
|
|
3264
3276
|
function K(e) {
|
|
3265
3277
|
return e.o || e.t;
|
|
3266
3278
|
}
|
|
3267
|
-
function
|
|
3279
|
+
function Hn(e) {
|
|
3268
3280
|
if (Array.isArray(e)) return Array.prototype.slice.call(e);
|
|
3269
|
-
var t =
|
|
3281
|
+
var t = yr(e);
|
|
3270
3282
|
delete t[Y];
|
|
3271
3283
|
for (var n = X(t), r = 0; r < n.length; r++) {
|
|
3272
3284
|
var i = n[r], a = t[i];
|
|
@@ -3279,90 +3291,90 @@ function Bn(e) {
|
|
|
3279
3291
|
}
|
|
3280
3292
|
return Object.create(Object.getPrototypeOf(e), t);
|
|
3281
3293
|
}
|
|
3282
|
-
function
|
|
3283
|
-
return t === void 0 && (t = !1),
|
|
3284
|
-
return
|
|
3294
|
+
function Un(e, t) {
|
|
3295
|
+
return t === void 0 && (t = !1), Gn(e) || V(e) || !H(e) || (W(e) > 1 && (e.set = e.add = e.clear = e.delete = Wn), Object.freeze(e), t && U(e, (function(e, t) {
|
|
3296
|
+
return Un(t, !0);
|
|
3285
3297
|
}), !0)), e;
|
|
3286
3298
|
}
|
|
3287
|
-
function
|
|
3299
|
+
function Wn() {
|
|
3288
3300
|
B(2);
|
|
3289
3301
|
}
|
|
3290
|
-
function
|
|
3302
|
+
function Gn(e) {
|
|
3291
3303
|
return typeof e != "object" || !e || Object.isFrozen(e);
|
|
3292
3304
|
}
|
|
3293
3305
|
function q(e) {
|
|
3294
|
-
var t =
|
|
3306
|
+
var t = br[e];
|
|
3295
3307
|
return t || B(18, e), t;
|
|
3296
3308
|
}
|
|
3297
|
-
function
|
|
3298
|
-
|
|
3309
|
+
function Kn(e, t) {
|
|
3310
|
+
br[e] || (br[e] = t);
|
|
3299
3311
|
}
|
|
3300
|
-
function
|
|
3301
|
-
return
|
|
3312
|
+
function qn() {
|
|
3313
|
+
return dr;
|
|
3302
3314
|
}
|
|
3303
|
-
function
|
|
3315
|
+
function Jn(e, t) {
|
|
3304
3316
|
t && (q("Patches"), e.u = [], e.s = [], e.v = t);
|
|
3305
3317
|
}
|
|
3306
|
-
function
|
|
3307
|
-
|
|
3318
|
+
function Yn(e) {
|
|
3319
|
+
Xn(e), e.p.forEach(Qn), e.p = null;
|
|
3308
3320
|
}
|
|
3309
|
-
function
|
|
3310
|
-
e ===
|
|
3321
|
+
function Xn(e) {
|
|
3322
|
+
e === dr && (dr = e.l);
|
|
3311
3323
|
}
|
|
3312
|
-
function
|
|
3313
|
-
return
|
|
3324
|
+
function Zn(e) {
|
|
3325
|
+
return dr = {
|
|
3314
3326
|
p: [],
|
|
3315
|
-
l:
|
|
3327
|
+
l: dr,
|
|
3316
3328
|
h: e,
|
|
3317
3329
|
m: !0,
|
|
3318
3330
|
_: 0
|
|
3319
3331
|
};
|
|
3320
3332
|
}
|
|
3321
|
-
function
|
|
3333
|
+
function Qn(e) {
|
|
3322
3334
|
var t = e[Y];
|
|
3323
3335
|
t.i === 0 || t.i === 1 ? t.j() : t.g = !0;
|
|
3324
3336
|
}
|
|
3325
|
-
function
|
|
3337
|
+
function $n(e, t) {
|
|
3326
3338
|
t._ = t.p.length;
|
|
3327
3339
|
var n = t.p[0], r = e !== void 0 && e !== n;
|
|
3328
|
-
return t.h.O || q("ES5").S(t, e, r), r ? (n[Y].P && (
|
|
3340
|
+
return t.h.O || q("ES5").S(t, e, r), r ? (n[Y].P && (Yn(t), B(4)), H(e) && (e = er(t, e), t.l || nr(t, e)), t.u && q("Patches").M(n[Y].t, e, t.u, t.s)) : e = er(t, n, []), Yn(t), t.u && t.v(t.u, t.s), e === gr ? void 0 : e;
|
|
3329
3341
|
}
|
|
3330
|
-
function
|
|
3331
|
-
if (
|
|
3342
|
+
function er(e, t, n) {
|
|
3343
|
+
if (Gn(t)) return t;
|
|
3332
3344
|
var r = t[Y];
|
|
3333
3345
|
if (!r) return U(t, (function(i, a) {
|
|
3334
|
-
return
|
|
3346
|
+
return tr(e, r, t, i, a, n);
|
|
3335
3347
|
}), !0), t;
|
|
3336
3348
|
if (r.A !== e) return t;
|
|
3337
|
-
if (!r.P) return
|
|
3349
|
+
if (!r.P) return nr(e, r.t, !0), r.t;
|
|
3338
3350
|
if (!r.I) {
|
|
3339
3351
|
r.I = !0, r.A._--;
|
|
3340
|
-
var i = r.i === 4 || r.i === 5 ? r.o =
|
|
3352
|
+
var i = r.i === 4 || r.i === 5 ? r.o = Hn(r.k) : r.o, a = i, o = !1;
|
|
3341
3353
|
r.i === 3 && (a = new Set(i), i.clear(), o = !0), U(a, (function(t, a) {
|
|
3342
|
-
return
|
|
3343
|
-
})),
|
|
3354
|
+
return tr(e, r, i, t, a, n, o);
|
|
3355
|
+
})), nr(e, i, !1), n && e.u && q("Patches").N(r, n, e.u, e.s);
|
|
3344
3356
|
}
|
|
3345
3357
|
return r.o;
|
|
3346
3358
|
}
|
|
3347
|
-
function
|
|
3359
|
+
function tr(e, t, n, r, i, a, o) {
|
|
3348
3360
|
if (V(i)) {
|
|
3349
|
-
var s =
|
|
3350
|
-
if (
|
|
3361
|
+
var s = er(e, i, a && t && t.i !== 3 && !G(t.R, r) ? a.concat(r) : void 0);
|
|
3362
|
+
if (Rn(n, r, s), !V(s)) return;
|
|
3351
3363
|
e.m = !1;
|
|
3352
3364
|
} else o && n.add(i);
|
|
3353
|
-
if (H(i) && !
|
|
3365
|
+
if (H(i) && !Gn(i)) {
|
|
3354
3366
|
if (!e.h.D && e._ < 1) return;
|
|
3355
|
-
|
|
3367
|
+
er(e, i), t && t.A.l || nr(e, i);
|
|
3356
3368
|
}
|
|
3357
3369
|
}
|
|
3358
|
-
function
|
|
3359
|
-
n === void 0 && (n = !1), !e.l && e.h.D && e.m &&
|
|
3370
|
+
function nr(e, t, n) {
|
|
3371
|
+
n === void 0 && (n = !1), !e.l && e.h.D && e.m && Un(t, n);
|
|
3360
3372
|
}
|
|
3361
|
-
function
|
|
3373
|
+
function rr(e, t) {
|
|
3362
3374
|
var n = e[Y];
|
|
3363
3375
|
return (n ? K(n) : e)[t];
|
|
3364
3376
|
}
|
|
3365
|
-
function
|
|
3377
|
+
function ir(e, t) {
|
|
3366
3378
|
if (t in e) for (var n = Object.getPrototypeOf(e); n;) {
|
|
3367
3379
|
var r = Object.getOwnPropertyDescriptor(n, t);
|
|
3368
3380
|
if (r) return r;
|
|
@@ -3372,14 +3384,14 @@ function nr(e, t) {
|
|
|
3372
3384
|
function J(e) {
|
|
3373
3385
|
e.P || (e.P = !0, e.l && J(e.l));
|
|
3374
3386
|
}
|
|
3375
|
-
function
|
|
3376
|
-
e.o ||=
|
|
3387
|
+
function ar(e) {
|
|
3388
|
+
e.o ||= Hn(e.t);
|
|
3377
3389
|
}
|
|
3378
|
-
function
|
|
3379
|
-
var r =
|
|
3390
|
+
function or(e, t, n) {
|
|
3391
|
+
var r = Bn(t) ? q("MapSet").F(t, n) : Vn(t) ? q("MapSet").T(t, n) : e.O ? function(e, t) {
|
|
3380
3392
|
var n = Array.isArray(e), r = {
|
|
3381
3393
|
i: +!!n,
|
|
3382
|
-
A: t ? t.A :
|
|
3394
|
+
A: t ? t.A : qn(),
|
|
3383
3395
|
P: !1,
|
|
3384
3396
|
I: !1,
|
|
3385
3397
|
R: {},
|
|
@@ -3389,34 +3401,34 @@ function ir(e, t, n) {
|
|
|
3389
3401
|
o: null,
|
|
3390
3402
|
j: null,
|
|
3391
3403
|
C: !1
|
|
3392
|
-
}, i = r, a =
|
|
3393
|
-
n && (i = [r], a =
|
|
3404
|
+
}, i = r, a = xr;
|
|
3405
|
+
n && (i = [r], a = Sr);
|
|
3394
3406
|
var o = Proxy.revocable(i, a), s = o.revoke, c = o.proxy;
|
|
3395
3407
|
return r.k = c, r.j = s, c;
|
|
3396
3408
|
}(t, n) : q("ES5").J(t, n);
|
|
3397
|
-
return (n ? n.A :
|
|
3409
|
+
return (n ? n.A : qn()).p.push(r), r;
|
|
3398
3410
|
}
|
|
3399
|
-
function
|
|
3411
|
+
function sr(e) {
|
|
3400
3412
|
return V(e) || B(22, e), function e(t) {
|
|
3401
3413
|
if (!H(t)) return t;
|
|
3402
3414
|
var n, r = t[Y], i = W(t);
|
|
3403
3415
|
if (r) {
|
|
3404
3416
|
if (!r.P && (r.i < 4 || !q("ES5").K(r))) return r.t;
|
|
3405
|
-
r.I = !0, n =
|
|
3406
|
-
} else n =
|
|
3417
|
+
r.I = !0, n = cr(t, i), r.I = !1;
|
|
3418
|
+
} else n = cr(t, i);
|
|
3407
3419
|
return U(n, (function(t, i) {
|
|
3408
|
-
r &&
|
|
3420
|
+
r && Ln(r.t, t) === i || Rn(n, t, e(i));
|
|
3409
3421
|
})), i === 3 ? new Set(n) : n;
|
|
3410
3422
|
}(e);
|
|
3411
3423
|
}
|
|
3412
|
-
function
|
|
3424
|
+
function cr(e, t) {
|
|
3413
3425
|
switch (t) {
|
|
3414
3426
|
case 2: return new Map(e);
|
|
3415
3427
|
case 3: return Array.from(e);
|
|
3416
3428
|
}
|
|
3417
|
-
return
|
|
3429
|
+
return Hn(e);
|
|
3418
3430
|
}
|
|
3419
|
-
function
|
|
3431
|
+
function lr() {
|
|
3420
3432
|
function e(e, t) {
|
|
3421
3433
|
var n = i[e];
|
|
3422
3434
|
return n ? n.enumerable = t : i[e] = n = {
|
|
@@ -3424,11 +3436,11 @@ function sr() {
|
|
|
3424
3436
|
enumerable: t,
|
|
3425
3437
|
get: function() {
|
|
3426
3438
|
var t = this[Y];
|
|
3427
|
-
return
|
|
3439
|
+
return xr.get(t, e);
|
|
3428
3440
|
},
|
|
3429
3441
|
set: function(t) {
|
|
3430
3442
|
var n = this[Y];
|
|
3431
|
-
|
|
3443
|
+
xr.set(n, e, t);
|
|
3432
3444
|
}
|
|
3433
3445
|
}, n;
|
|
3434
3446
|
}
|
|
@@ -3450,7 +3462,7 @@ function sr() {
|
|
|
3450
3462
|
var o = t[a];
|
|
3451
3463
|
if (o === void 0 && !G(t, a)) return !0;
|
|
3452
3464
|
var s = n[a], c = s && s[Y];
|
|
3453
|
-
if (c ? c.t !== o : !
|
|
3465
|
+
if (c ? c.t !== o : !zn(s, o)) return !0;
|
|
3454
3466
|
}
|
|
3455
3467
|
}
|
|
3456
3468
|
var l = !!t[Y];
|
|
@@ -3465,14 +3477,14 @@ function sr() {
|
|
|
3465
3477
|
return !1;
|
|
3466
3478
|
}
|
|
3467
3479
|
var i = {};
|
|
3468
|
-
|
|
3480
|
+
Kn("ES5", {
|
|
3469
3481
|
J: function(t, n) {
|
|
3470
3482
|
var r = Array.isArray(t), i = function(t, n) {
|
|
3471
3483
|
if (t) {
|
|
3472
3484
|
for (var r = Array(n.length), i = 0; i < n.length; i++) Object.defineProperty(r, "" + i, e(i, !0));
|
|
3473
3485
|
return r;
|
|
3474
3486
|
}
|
|
3475
|
-
var a =
|
|
3487
|
+
var a = yr(n);
|
|
3476
3488
|
delete a[Y];
|
|
3477
3489
|
for (var o = X(a), s = 0; s < o.length; s++) {
|
|
3478
3490
|
var c = o[s];
|
|
@@ -3481,7 +3493,7 @@ function sr() {
|
|
|
3481
3493
|
return Object.create(Object.getPrototypeOf(n), a);
|
|
3482
3494
|
}(r, t), a = {
|
|
3483
3495
|
i: r ? 5 : 4,
|
|
3484
|
-
A: n ? n.A :
|
|
3496
|
+
A: n ? n.A : qn(),
|
|
3485
3497
|
P: !1,
|
|
3486
3498
|
I: !1,
|
|
3487
3499
|
R: {},
|
|
@@ -3522,23 +3534,23 @@ function sr() {
|
|
|
3522
3534
|
}
|
|
3523
3535
|
});
|
|
3524
3536
|
}
|
|
3525
|
-
var
|
|
3537
|
+
var ur, dr, fr = typeof Symbol < "u" && typeof Symbol("x") == "symbol", pr = typeof Map < "u", mr = typeof Set < "u", hr = typeof Proxy < "u" && Proxy.revocable !== void 0 && typeof Reflect < "u", gr = fr ? Symbol.for("immer-nothing") : ((ur = {})["immer-nothing"] = !0, ur), _r = fr ? Symbol.for("immer-draftable") : "__$immer_draftable", Y = fr ? Symbol.for("immer-state") : "__$immer_state", vr = "" + Object.prototype.constructor, X = typeof Reflect < "u" && Reflect.ownKeys ? Reflect.ownKeys : Object.getOwnPropertySymbols === void 0 ? Object.getOwnPropertyNames : function(e) {
|
|
3526
3538
|
return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e));
|
|
3527
|
-
},
|
|
3539
|
+
}, yr = Object.getOwnPropertyDescriptors || function(e) {
|
|
3528
3540
|
var t = {};
|
|
3529
3541
|
return X(e).forEach((function(n) {
|
|
3530
3542
|
t[n] = Object.getOwnPropertyDescriptor(e, n);
|
|
3531
3543
|
})), t;
|
|
3532
|
-
},
|
|
3544
|
+
}, br = {}, xr = {
|
|
3533
3545
|
get: function(e, t) {
|
|
3534
3546
|
if (t === Y) return e;
|
|
3535
3547
|
var n = K(e);
|
|
3536
3548
|
if (!G(n, t)) return function(e, t, n) {
|
|
3537
|
-
var r =
|
|
3549
|
+
var r = ir(t, n);
|
|
3538
3550
|
return r ? "value" in r ? r.value : r.get?.call(e.k) : void 0;
|
|
3539
3551
|
}(e, n, t);
|
|
3540
3552
|
var r = n[t];
|
|
3541
|
-
return e.I || !H(r) ? r : r ===
|
|
3553
|
+
return e.I || !H(r) ? r : r === rr(e.t, t) ? (ar(e), e.o[t] = or(e.A.h, r, e)) : r;
|
|
3542
3554
|
},
|
|
3543
3555
|
has: function(e, t) {
|
|
3544
3556
|
return t in K(e);
|
|
@@ -3547,18 +3559,18 @@ var cr, lr, ur = typeof Symbol < "u" && typeof Symbol("x") == "symbol", dr = typ
|
|
|
3547
3559
|
return Reflect.ownKeys(K(e));
|
|
3548
3560
|
},
|
|
3549
3561
|
set: function(e, t, n) {
|
|
3550
|
-
var r =
|
|
3562
|
+
var r = ir(K(e), t);
|
|
3551
3563
|
if (r?.set) return r.set.call(e.k, n), !0;
|
|
3552
3564
|
if (!e.P) {
|
|
3553
|
-
var i =
|
|
3565
|
+
var i = rr(K(e), t), a = i?.[Y];
|
|
3554
3566
|
if (a && a.t === n) return e.o[t] = n, e.R[t] = !1, !0;
|
|
3555
|
-
if (
|
|
3556
|
-
|
|
3567
|
+
if (zn(n, i) && (n !== void 0 || G(e.t, t))) return !0;
|
|
3568
|
+
ar(e), J(e);
|
|
3557
3569
|
}
|
|
3558
3570
|
return e.o[t] === n && (n !== void 0 || t in e.o) || Number.isNaN(n) && Number.isNaN(e.o[t]) || (e.o[t] = n, e.R[t] = !0), !0;
|
|
3559
3571
|
},
|
|
3560
3572
|
deleteProperty: function(e, t) {
|
|
3561
|
-
return
|
|
3573
|
+
return rr(e.t, t) !== void 0 || t in e.t ? (e.R[t] = !1, ar(e), J(e)) : delete e.R[t], e.o && delete e.o[t], !0;
|
|
3562
3574
|
},
|
|
3563
3575
|
getOwnPropertyDescriptor: function(e, t) {
|
|
3564
3576
|
var n = K(e), r = Reflect.getOwnPropertyDescriptor(n, t);
|
|
@@ -3578,20 +3590,20 @@ var cr, lr, ur = typeof Symbol < "u" && typeof Symbol("x") == "symbol", dr = typ
|
|
|
3578
3590
|
setPrototypeOf: function() {
|
|
3579
3591
|
B(12);
|
|
3580
3592
|
}
|
|
3581
|
-
},
|
|
3582
|
-
U(
|
|
3583
|
-
|
|
3593
|
+
}, Sr = {};
|
|
3594
|
+
U(xr, (function(e, t) {
|
|
3595
|
+
Sr[e] = function() {
|
|
3584
3596
|
return arguments[0] = arguments[0][0], t.apply(this, arguments);
|
|
3585
3597
|
};
|
|
3586
|
-
})),
|
|
3587
|
-
return
|
|
3588
|
-
},
|
|
3589
|
-
return
|
|
3598
|
+
})), Sr.deleteProperty = function(e, t) {
|
|
3599
|
+
return Sr.set.call(this, e, t, void 0);
|
|
3600
|
+
}, Sr.set = function(e, t, n) {
|
|
3601
|
+
return xr.set.call(this, e[0], t, n, e[0]);
|
|
3590
3602
|
};
|
|
3591
3603
|
var Z = new (function() {
|
|
3592
3604
|
function e(e) {
|
|
3593
3605
|
var t = this;
|
|
3594
|
-
this.O =
|
|
3606
|
+
this.O = hr, this.D = !0, this.produce = function(e, n, r) {
|
|
3595
3607
|
if (typeof e == "function" && typeof n != "function") {
|
|
3596
3608
|
var i = n;
|
|
3597
3609
|
n = e;
|
|
@@ -3608,20 +3620,20 @@ var Z = new (function() {
|
|
|
3608
3620
|
}
|
|
3609
3621
|
var o;
|
|
3610
3622
|
if (typeof n != "function" && B(6), r !== void 0 && typeof r != "function" && B(7), H(e)) {
|
|
3611
|
-
var s =
|
|
3623
|
+
var s = Zn(t), c = or(t, e, void 0), l = !0;
|
|
3612
3624
|
try {
|
|
3613
3625
|
o = n(c), l = !1;
|
|
3614
3626
|
} finally {
|
|
3615
|
-
l ?
|
|
3627
|
+
l ? Yn(s) : Xn(s);
|
|
3616
3628
|
}
|
|
3617
3629
|
return typeof Promise < "u" && o instanceof Promise ? o.then((function(e) {
|
|
3618
|
-
return
|
|
3630
|
+
return Jn(s, r), $n(e, s);
|
|
3619
3631
|
}), (function(e) {
|
|
3620
|
-
throw
|
|
3621
|
-
})) : (
|
|
3632
|
+
throw Yn(s), e;
|
|
3633
|
+
})) : (Jn(s, r), $n(o, s));
|
|
3622
3634
|
}
|
|
3623
3635
|
if (!e || typeof e != "object") {
|
|
3624
|
-
if ((o = n(e)) === void 0 && (o = e), o ===
|
|
3636
|
+
if ((o = n(e)) === void 0 && (o = e), o === gr && (o = void 0), t.D && Un(o, !0), r) {
|
|
3625
3637
|
var u = [], d = [];
|
|
3626
3638
|
q("Patches").M(e, o, u, d), r(u, d);
|
|
3627
3639
|
}
|
|
@@ -3653,16 +3665,16 @@ var Z = new (function() {
|
|
|
3653
3665
|
}
|
|
3654
3666
|
var t = e.prototype;
|
|
3655
3667
|
return t.createDraft = function(e) {
|
|
3656
|
-
H(e) || B(8), V(e) && (e =
|
|
3657
|
-
var t =
|
|
3658
|
-
return n[Y].C = !0,
|
|
3668
|
+
H(e) || B(8), V(e) && (e = sr(e));
|
|
3669
|
+
var t = Zn(this), n = or(this, e, void 0);
|
|
3670
|
+
return n[Y].C = !0, Xn(t), n;
|
|
3659
3671
|
}, t.finishDraft = function(e, t) {
|
|
3660
3672
|
var n = (e && e[Y]).A;
|
|
3661
|
-
return
|
|
3673
|
+
return Jn(n, t), $n(void 0, n);
|
|
3662
3674
|
}, t.setAutoFreeze = function(e) {
|
|
3663
3675
|
this.D = e;
|
|
3664
3676
|
}, t.setUseProxies = function(e) {
|
|
3665
|
-
e && !
|
|
3677
|
+
e && !hr && B(20), this.O = e;
|
|
3666
3678
|
}, t.applyPatches = function(e, t) {
|
|
3667
3679
|
var n;
|
|
3668
3680
|
for (n = t.length - 1; n >= 0; n--) {
|
|
@@ -3678,18 +3690,18 @@ var Z = new (function() {
|
|
|
3678
3690
|
return i(e, t);
|
|
3679
3691
|
}));
|
|
3680
3692
|
}, e;
|
|
3681
|
-
}())(),
|
|
3693
|
+
}())(), Cr = Z.produce;
|
|
3682
3694
|
Z.produceWithPatches.bind(Z), Z.setAutoFreeze.bind(Z), Z.setUseProxies.bind(Z), Z.applyPatches.bind(Z), Z.createDraft.bind(Z), Z.finishDraft.bind(Z);
|
|
3683
3695
|
//#endregion
|
|
3684
3696
|
//#region src/lib/utils/arrays.ts
|
|
3685
|
-
function
|
|
3697
|
+
function wr(e) {
|
|
3686
3698
|
return e.sort().filter((e, t, n) => !t || e !== n[t - 1]);
|
|
3687
3699
|
}
|
|
3688
|
-
var
|
|
3700
|
+
var Tr = (e, t) => e < t ? -1 : +(e > t), Er = (e, t) => Cr(e, (n) => {
|
|
3689
3701
|
if (!Array.isArray(n)) return e;
|
|
3690
3702
|
let r = n.indexOf(t, 0);
|
|
3691
3703
|
return r > -1 && n.splice(r, 1), n;
|
|
3692
|
-
}),
|
|
3704
|
+
}), Dr = {
|
|
3693
3705
|
restApi: {
|
|
3694
3706
|
serviceUrl: "https://services.sheerid.com/",
|
|
3695
3707
|
resources: {
|
|
@@ -3744,7 +3756,7 @@ var Cr = (e, t) => e < t ? -1 : +(e > t), wr = (e, t) => xr(e, (n) => {
|
|
|
3744
3756
|
verificationId: void 0,
|
|
3745
3757
|
externalUserId: void 0,
|
|
3746
3758
|
minimumOrganizationSearchLength: 1,
|
|
3747
|
-
httpRequestTimeout:
|
|
3759
|
+
httpRequestTimeout: Ue,
|
|
3748
3760
|
hideTestModeFlag: !1,
|
|
3749
3761
|
hideMilitaryFamilyAcceptableUploads: !1,
|
|
3750
3762
|
customFormFields: [],
|
|
@@ -3753,16 +3765,16 @@ var Cr = (e, t) => e < t ? -1 : +(e > t), wr = (e, t) => xr(e, (n) => {
|
|
|
3753
3765
|
tryAgainAction: { type: "reset" },
|
|
3754
3766
|
_launchDarklyUserTargeting: !1,
|
|
3755
3767
|
_launchDarklyFlagCb: () => {}
|
|
3756
|
-
}, Q = { ...
|
|
3768
|
+
}, Q = { ...Dr }, $ = () => Q, Or = (e) => {
|
|
3757
3769
|
let t = $();
|
|
3758
3770
|
if (Object.prototype.hasOwnProperty.call(t, e)) return $()[e];
|
|
3759
|
-
},
|
|
3760
|
-
Q = { ...
|
|
3761
|
-
},
|
|
3771
|
+
}, kr = () => {
|
|
3772
|
+
Q = { ...Dr };
|
|
3773
|
+
}, Ar = (e) => {
|
|
3762
3774
|
try {
|
|
3763
3775
|
if (typeof e == "object") {
|
|
3764
3776
|
let t = Object.keys(e);
|
|
3765
|
-
|
|
3777
|
+
un(e.messagesWithLocale) && (t = Er(t, "messagesWithLocale")), un(e.messages) && (t = Er(t, "messages")), t.length > 0 && An(Tn.options, t.join(","));
|
|
3766
3778
|
}
|
|
3767
3779
|
} catch (e) {
|
|
3768
3780
|
n.error(e);
|
|
@@ -3779,10 +3791,10 @@ var Cr = (e, t) => e < t ? -1 : +(e > t), wr = (e, t) => xr(e, (n) => {
|
|
|
3779
3791
|
let t = ve(e.restApi.serviceUrl);
|
|
3780
3792
|
Q.restApi.serviceUrl = t, n.info(`option "serviceUrl" set to ${Q.restApi.serviceUrl}`);
|
|
3781
3793
|
}
|
|
3782
|
-
if (e.hasOwnProperty("mockStep") && (te(e[D]), Q[D] = e[D], n.info(`option "${D}" set to ${Q[D]}`)), e.hasOwnProperty("mockPreviousStep") && (te(e[D]), Q[
|
|
3794
|
+
if (e.hasOwnProperty("mockStep") && (te(e[D]), Q[D] = e[D], n.info(`option "${D}" set to ${Q[D]}`)), e.hasOwnProperty("mockPreviousStep") && (te(e[D]), Q[Ne] = e[Ne], n.info(`option "${Ne}" set to ${Q[Ne]}`)), e.hasOwnProperty("mockSegment") && (Q[O] = e[O], n.info(`option "${O}" set to ${Q[O]}`)), e.hasOwnProperty("mockSubSegment") && (Q[k] = e[k], n.info(`option "${k}" set to ${Q[k]}`)), e.hasOwnProperty("mockErrorId") && (Q[A] = e[A], n.info(`option "${A}" set to ${Q[A]}`)), e.hasOwnProperty("mockErrorDetailId") && (Q[De] = e[De], n.info(`option "${De}" set to ${Q[De]}`)), e.hasOwnProperty("mockCaptchaState") && (Q[ze] = e[ze], n.info(`option "${ze}" set to ${Q[ze]}`)), e.hasOwnProperty("mockRewardCode") && (Q[Oe] = e[Oe], n.info(`option "${Oe}" set to ${Q[Oe]}`)), e.hasOwnProperty("mockRedirectUrl") && (Q[ke] = e[ke], n.info(`option "${ke}" set to ${Q[ke]}`)), e.hasOwnProperty("mockConsumerInfoState") && (te(e[D]), Q[Ae] = e[Ae], n.info(`option "${Ae}" set to ${Q[Ae]}`)), e.hasOwnProperty("mockIdCheckLoopServiceType") && (Q[je] = e[je], n.info(`option "${je}" set to ${Q[je]}`)), e.hasOwnProperty("installPageUrl") && (Q[Ie] = e[Ie], n.info(`option "${Ie}" set to ${Q[Ie]}`)), e.hasOwnProperty("mockDocSelected") && (Q[Me] = e[Me], n.info(`option "${Me}" set to ${Q[Me]}`)), e.hasOwnProperty("mockResponse") && (Q.mockResponse = dn(e.mockResponse), n.info("option \"mockResponse\" set to", Q.mockResponse)), e.hasOwnProperty("messages") && (Q.messagesWithLocale = {
|
|
3783
3795
|
...Q.messagesWithLocale,
|
|
3784
3796
|
"en-US": e.messages
|
|
3785
|
-
}, n.warn("option \"messages\" has been deprecated and replaced with \"messagesWithLocale\". Messages have been set for locale \"en-US\" using: ", Q.messagesWithLocale, "\nThese messages will override existing messages of the same key for \"en-US\" locale.")), e.hasOwnProperty("messagesWithLocale") && (Q.messagesWithLocale =
|
|
3797
|
+
}, n.warn("option \"messages\" has been deprecated and replaced with \"messagesWithLocale\". Messages have been set for locale \"en-US\" using: ", Q.messagesWithLocale, "\nThese messages will override existing messages of the same key for \"en-US\" locale.")), e.hasOwnProperty("messagesWithLocale") && (Q.messagesWithLocale = fn({}, Q.messagesWithLocale, e.messagesWithLocale), e && e.messagesWithLocale && i(Object.keys(e.messagesWithLocale)), yn(Q.messagesWithLocale), n.info("option \"messagesWithLocale\" set to", Q.messagesWithLocale)), e.hasOwnProperty("locale")) try {
|
|
3786
3798
|
ne(e.locale), Q.locale = e.locale, n.info(`option "locale" set to ${Q.locale}`);
|
|
3787
3799
|
} catch (e) {
|
|
3788
3800
|
n.error(e);
|
|
@@ -3793,4 +3805,4 @@ var Cr = (e, t) => e < t ? -1 : +(e > t), wr = (e, t) => xr(e, (n) => {
|
|
|
3793
3805
|
}, n.info("option \"cookies\" set to", Q.cookies)), e.hasOwnProperty("useFingerprinting") && (Q.useFingerprinting = e.useFingerprinting, n.info("option \"useFingerprinting\" set to", Q.useFingerprinting)), e.hasOwnProperty("marketConsent") && (Q.marketConsent = e.marketConsent, n.info("option \"market consent\" set to", Q.marketConsent)), e.hasOwnProperty("verificationId") && (Q.verificationId = e.verificationId, n.info("option \"verificationId\" set to", Q.verificationId)), e.hasOwnProperty("externalUserId") && (Q.externalUserId = e.externalUserId, n.info("option \"externalUserId\" set to", Q.externalUserId)), e.hasOwnProperty("minimumOrganizationSearchLength") && (Q.minimumOrganizationSearchLength = e.minimumOrganizationSearchLength, n.info("option \"minimumOrganizationSearchLength\" set to", Q.minimumOrganizationSearchLength)), e.hasOwnProperty("customCss") && (Q.customCss = e.customCss, n.info("option \"customCss\" set to", Q.customCss)), e.hasOwnProperty("logoUrl") && (Q.logoUrl = e.logoUrl, n.info("option \"logoUrl\" set to", Q.logoUrl)), e.hasOwnProperty("httpRequestTimeout") && (Q.httpRequestTimeout = e.httpRequestTimeout, n.info("option \"httpRequestTimeout\" set to", Q.httpRequestTimeout)), e.hasOwnProperty("privacyPolicyUrl") && (Q.privacyPolicyUrl = e.privacyPolicyUrl, n.info("option \"privacyPolicyUrl\" set to", Q.privacyPolicyUrl)), (e.hasOwnProperty("hideTestModeFlag") || be("hideTestModeFlag")) && (Q.hideTestModeFlag = e.hideTestModeFlag || be("hideTestModeFlag") === "true", n.info("option \"hideTestModeFlag\" set to", Q.hideTestModeFlag)), e.hasOwnProperty("hideMilitaryFamilyAcceptableUploads") && (Q.hideMilitaryFamilyAcceptableUploads = e.hideMilitaryFamilyAcceptableUploads, n.info("option \"hideMilitaryFamilyAcceptableUploads\" set to", Q.hideMilitaryFamilyAcceptableUploads)), e.hasOwnProperty("customFormFields") && (Q.customFormFields = e.customFormFields, n.info("option \"customFormFields\" set to", Q.customFormFields)), e.hasOwnProperty("formFieldConfig") && (Q.formFieldConfig = e.formFieldConfig, n.info("option \"formFieldConfig\" set to", Q.formFieldConfig)), e.hasOwnProperty("customMetadata") && (Q.customMetadata = e.customMetadata, n.info("option \"customMetadata\" set to", Q.customMetadata)), e.hasOwnProperty("renderAs") && (Q.renderAs = e.renderAs, n.info("option \"renderAs\" set to", Q.renderAs)), Object.prototype.hasOwnProperty.call(e, "tryAgainAction") && (Q.tryAgainAction = e.tryAgainAction, n.info("option \"tryAgainAction\" set to", Q.tryAgainAction)), e.hasOwnProperty("_launchDarklyUserTargeting") && (Q._launchDarklyUserTargeting = e._launchDarklyUserTargeting, n.info("option \"_launchDarklyUserTargeting\" set to", Q._launchDarklyUserTargeting)), e.hasOwnProperty("_launchDarklyFlagCb") && (Q._launchDarklyFlagCb = e._launchDarklyFlagCb, n.info("option \"_launchDarklyFlagCb\" set to", Q._launchDarklyFlagCb));
|
|
3794
3806
|
};
|
|
3795
3807
|
//#endregion
|
|
3796
|
-
export {
|
|
3808
|
+
export { O as $, sn as A, b as At, We as B, dn as C, me as Ct, an as D, ee as Dt, on as E, w as Et, we as F, Re as G, Me as H, Te as I, Le as J, je as K, He as L, Kt as M, Ut as N, nn as O, _ as Ot, I as P, Oe as Q, E as R, vn as S, T as St, mn as T, C as Tt, De as U, ze as V, A as W, ke as X, Ne as Y, Ae as Z, jn as _, se as _t, Tr as a, Ee as at, bn as b, ae as bt, Cr as c, Se as ct, wn as d, _e as dt, Fe as et, Sn as f, ge as ft, On as g, ue as gt, Fn as h, oe as ht, Ar as i, Ve as it, Yt as j, rn as k, v as kt, Tn as l, xe as lt, kn as m, pe as mt, $ as n, k as nt, wr as o, be as ot, Pn as p, fe as pt, Ie as q, kr as r, Pe as rt, lr as s, ye as st, Or as t, D as tt, En as u, Ce as ut, Nn as v, ie as vt, fn as w, he as wt, xn as x, de as xt, An as y, ne as yt, Be as z };
|