@sheerid/jslib 2.231.0 → 2.233.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 +25 -25
- package/chunk/{ActiveDutyStartDateComponent-BNwC2c3Y.js → ActiveDutyStartDateComponent-Bva1jSuC.js} +6 -6
- package/chunk/{ActiveDutyStartDateComponent-BNwC2c3Y.js.map → ActiveDutyStartDateComponent-Bva1jSuC.js.map} +1 -1
- package/chunk/{ActiveDutyStartDateComponent-CF9c-0bL.js → ActiveDutyStartDateComponent-DjLuLM5N.js} +6 -6
- package/chunk/{ActiveDutyStartDateComponent-CF9c-0bL.js.map → ActiveDutyStartDateComponent-DjLuLM5N.js.map} +1 -1
- package/chunk/AddressComponent-AiyIPiCz.js +4 -4
- package/chunk/AddressComponent-DV2Wsw6k.js +4 -4
- package/chunk/{CaptchaComponent-CnWyxiTy.js → CaptchaComponent-Blq_Is9l.js} +471 -470
- package/chunk/CaptchaComponent-Blq_Is9l.js.map +1 -0
- package/chunk/{CaptchaComponent-SmUa6m52.js → CaptchaComponent-Ch8H0h-Q.js} +471 -470
- package/chunk/CaptchaComponent-Ch8H0h-Q.js.map +1 -0
- package/chunk/ChangeLocaleComponent-Cu2DR-Q3.js +4 -4
- package/chunk/ChangeLocaleComponent-DUnfgQuX.js +4 -4
- package/chunk/City-BmrJpnS6.js +4 -4
- package/chunk/City-yVVnZQTP.js +4 -4
- package/chunk/{CollegeNameComponent-DtKPZHb-.js → CollegeNameComponent-DE9SHF1U.js} +5 -5
- package/chunk/{CollegeNameComponent-DaTimEqC.js.map → CollegeNameComponent-DE9SHF1U.js.map} +1 -1
- package/chunk/{CollegeNameComponent-DaTimEqC.js → CollegeNameComponent-Ds6XzZ97.js} +5 -5
- package/chunk/{CollegeNameComponent-DtKPZHb-.js.map → CollegeNameComponent-Ds6XzZ97.js.map} +1 -1
- package/chunk/CopyToClipboardComponent-9hyfSMC0.js +4 -4
- package/chunk/CopyToClipboardComponent-H3bJGcOM.js +4 -4
- package/chunk/{CountryComponentWrapper-Ceq-eink.js → CountryComponentWrapper-Bm0vWZt6.js} +5 -5
- package/chunk/{CountryComponentWrapper--2UQ7mXP.js.map → CountryComponentWrapper-Bm0vWZt6.js.map} +1 -1
- package/chunk/{CountryComponentWrapper--2UQ7mXP.js → CountryComponentWrapper-Cd8jQ2X0.js} +5 -5
- package/chunk/{CountryComponentWrapper-Ceq-eink.js.map → CountryComponentWrapper-Cd8jQ2X0.js.map} +1 -1
- package/chunk/DriverLicenseNumberComponent-D9cakdvU.js +4 -4
- package/chunk/DriverLicenseNumberComponent-ziLNYB8e.js +4 -4
- package/chunk/{EBTCardNumberComponent-oYQJ_tP7.js → EBTCardNumberComponent-B0FU-ZTo.js} +6 -6
- package/chunk/{EBTCardNumberComponent-B1kv4R4G.js.map → EBTCardNumberComponent-B0FU-ZTo.js.map} +1 -1
- package/chunk/{EBTCardNumberComponent-B1kv4R4G.js → EBTCardNumberComponent-CIs3mn52.js} +6 -6
- package/chunk/{EBTCardNumberComponent-oYQJ_tP7.js.map → EBTCardNumberComponent-CIs3mn52.js.map} +1 -1
- package/chunk/EmailLoopPending-In0FH-Ap.js +4 -4
- package/chunk/EmailLoopPending-lxRF0bx8.js +4 -4
- package/chunk/{FirstResponderOrganizationComponent-fPxZFdpO.js → FirstResponderOrganizationComponent-BpreqGNN.js} +5 -5
- package/chunk/{FirstResponderOrganizationComponent-Bru1a0U7.js.map → FirstResponderOrganizationComponent-BpreqGNN.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-Bru1a0U7.js → FirstResponderOrganizationComponent-pU8-QJb-.js} +5 -5
- package/chunk/{FirstResponderOrganizationComponent-fPxZFdpO.js.map → FirstResponderOrganizationComponent-pU8-QJb-.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-o7QZaYhS.js → FormFieldInputSelect-CqYEnYU4.js} +5 -5
- package/chunk/{FormFieldInputSelect-CjWY_ush.js.map → FormFieldInputSelect-CqYEnYU4.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-CjWY_ush.js → FormFieldInputSelect-dcrJSfDS.js} +5 -5
- package/chunk/{FormFieldInputSelect-o7QZaYhS.js.map → FormFieldInputSelect-dcrJSfDS.js.map} +1 -1
- package/chunk/FormFieldLayout-DDEEmlGC.js +4 -4
- package/chunk/FormFieldLayout-DEVPpEyA.js +4 -4
- package/chunk/FormFieldText-CJ-GVpZE.js +4 -4
- package/chunk/FormFieldText-CaWtYVur.js +4 -4
- package/chunk/{FormFieldTypeahead-C6eS7yJg.js → FormFieldTypeahead-8We95dMu.js} +5 -5
- package/chunk/{FormFieldTypeahead-C6eS7yJg.js.map → FormFieldTypeahead-8We95dMu.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-CyKKVK89.js → FormFieldTypeahead-D10k5Acd.js} +5 -5
- package/chunk/{FormFieldTypeahead-CyKKVK89.js.map → FormFieldTypeahead-D10k5Acd.js.map} +1 -1
- package/chunk/{FormSelectChoice-C-rIlDKl.js → FormSelectChoice-BvS7u8GG.js} +11 -11
- package/chunk/{FormSelectChoice-BahCx4wG.js.map → FormSelectChoice-BvS7u8GG.js.map} +1 -1
- package/chunk/{FormSelectChoice-BahCx4wG.js → FormSelectChoice-T5Js-Kan.js} +11 -11
- package/chunk/{FormSelectChoice-C-rIlDKl.js.map → FormSelectChoice-T5Js-Kan.js.map} +1 -1
- package/chunk/InputText-CCNbZmMe.js +4 -4
- package/chunk/InputText-PEiatRRJ.js +4 -4
- package/chunk/{LicensedProfessionalOrganizationComponent-CnR_qF3r.js → LicensedProfessionalOrganizationComponent-CKUKnIOk.js} +5 -5
- package/chunk/{LicensedProfessionalOrganizationComponent-C5pc7hVJ.js.map → LicensedProfessionalOrganizationComponent-CKUKnIOk.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-C5pc7hVJ.js → LicensedProfessionalOrganizationComponent-DNaPYuVS.js} +5 -5
- package/chunk/{LicensedProfessionalOrganizationComponent-CnR_qF3r.js.map → LicensedProfessionalOrganizationComponent-DNaPYuVS.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-DBf6V49M.js → MedicalProfessionalOrganizationComponent-Cvx-Z96q.js} +5 -5
- package/chunk/{MedicalProfessionalOrganizationComponent-CXHX25GN.js.map → MedicalProfessionalOrganizationComponent-Cvx-Z96q.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-CXHX25GN.js → MedicalProfessionalOrganizationComponent-DRiEzR_D.js} +5 -5
- package/chunk/{MedicalProfessionalOrganizationComponent-DBf6V49M.js.map → MedicalProfessionalOrganizationComponent-DRiEzR_D.js.map} +1 -1
- package/chunk/MemberIdComponent-C8mVSo9m.js +4 -4
- package/chunk/MemberIdComponent-oanWSvQh.js +4 -4
- package/chunk/{MembershipOrganizationComponent-CN6_d_Fk.js → MembershipOrganizationComponent-CwkwDdwd.js} +5 -5
- package/chunk/{MembershipOrganizationComponent-CN6_d_Fk.js.map → MembershipOrganizationComponent-CwkwDdwd.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-yu-UNXIK.js → MembershipOrganizationComponent-DTCpEuqR.js} +5 -5
- package/chunk/{MembershipOrganizationComponent-yu-UNXIK.js.map → MembershipOrganizationComponent-DTCpEuqR.js.map} +1 -1
- package/chunk/Onfido-BG8cDEVW.js +4 -4
- package/chunk/PersonalInfoStepSubmitButton-j44RdZDq.js +4 -4
- package/chunk/PersonalInfoStepSubmitButton-v_kWLmEw.js +4 -4
- package/chunk/PersonalInfoStepWrapper-BOBNCgik.js +4 -4
- package/chunk/PersonalInfoStepWrapper-PV06WMKL.js +4 -4
- package/chunk/PostalCodeComponent-DrCcV90W.js +4 -4
- package/chunk/PostalCodeComponent-KXVfZkLx.js +4 -4
- package/chunk/SSN-B_z2R4Bx.js +4 -4
- package/chunk/SSN-Hb1lTx8A.js +4 -4
- package/chunk/{StateSelectComponent-CIpB-Rh1.js → StateSelectComponent-B8ImFN5o.js} +5 -5
- package/chunk/{StateSelectComponent-CChSqKXz.js.map → StateSelectComponent-B8ImFN5o.js.map} +1 -1
- package/chunk/{StateSelectComponent-CChSqKXz.js → StateSelectComponent-BJvkEwls.js} +5 -5
- package/chunk/{StateSelectComponent-CIpB-Rh1.js.map → StateSelectComponent-BJvkEwls.js.map} +1 -1
- package/chunk/{StatusComponent-pmuIhuXi.js → StatusComponent-C3iIOm56.js} +5 -5
- package/chunk/{StatusComponent-C6J1B7Tl.js.map → StatusComponent-C3iIOm56.js.map} +1 -1
- package/chunk/{StatusComponent-C6J1B7Tl.js → StatusComponent-DBpJ4nvX.js} +5 -5
- package/chunk/{StatusComponent-pmuIhuXi.js.map → StatusComponent-DBpJ4nvX.js.map} +1 -1
- package/chunk/{StepCard-CIfaQVu-.js → StepCard-CRczNQ4p.js} +6 -6
- package/chunk/{StepCard-CIfaQVu-.js.map → StepCard-CRczNQ4p.js.map} +1 -1
- package/chunk/{StepCard-dcwCtPrW.js → StepCard-DFC9lqEv.js} +6 -6
- package/chunk/{StepCard-dcwCtPrW.js.map → StepCard-DFC9lqEv.js.map} +1 -1
- package/chunk/{StepCollectMilitaryStatusComponent-7aKgQ9Sj.js → StepCollectMilitaryStatusComponent-C-p6hVeK.js} +9 -9
- package/chunk/{StepCollectMilitaryStatusComponent-7aKgQ9Sj.js.map → StepCollectMilitaryStatusComponent-C-p6hVeK.js.map} +1 -1
- package/chunk/{StepCollectMilitaryStatusComponent-BRimaaXv.js → StepCollectMilitaryStatusComponent-DSzS9kou.js} +9 -9
- package/chunk/{StepCollectMilitaryStatusComponent-BRimaaXv.js.map → StepCollectMilitaryStatusComponent-DSzS9kou.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-BwVtnrmJ.js → StepDriverLicensePersonalInfoComponent-COgZtQdB.js} +6 -6
- package/chunk/{StepDriverLicensePersonalInfoComponent-2TPYKvF4.js.map → StepDriverLicensePersonalInfoComponent-COgZtQdB.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-2TPYKvF4.js → StepDriverLicensePersonalInfoComponent-DXvRC1J2.js} +6 -6
- package/chunk/{StepDriverLicensePersonalInfoComponent-BwVtnrmJ.js.map → StepDriverLicensePersonalInfoComponent-DXvRC1J2.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-B_GAU5ZU.js → StepGeneralIdentityPersonalInfoComponent-BAwhyp5h.js} +7 -7
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-B_GAU5ZU.js.map → StepGeneralIdentityPersonalInfoComponent-BAwhyp5h.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-D51YIuCd.js → StepGeneralIdentityPersonalInfoComponent-DDsA_aGz.js} +7 -7
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-D51YIuCd.js.map → StepGeneralIdentityPersonalInfoComponent-DDsA_aGz.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-kap6IZbx.js → StepHybridIdentityPersonalInfoComponent-BLS7aKEN.js} +7 -7
- package/chunk/{StepHybridIdentityPersonalInfoComponent-kap6IZbx.js.map → StepHybridIdentityPersonalInfoComponent-BLS7aKEN.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-zAjPWGNG.js → StepHybridIdentityPersonalInfoComponent-DxYqr80H.js} +7 -7
- package/chunk/{StepHybridIdentityPersonalInfoComponent-zAjPWGNG.js.map → StepHybridIdentityPersonalInfoComponent-DxYqr80H.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-djTS20UT.js → StepIDCheckLoopOnfido-B9YZcPBj.js} +6 -6
- package/chunk/{StepIDCheckLoopOnfido-Sg4a19wV.js.map → StepIDCheckLoopOnfido-B9YZcPBj.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-Sg4a19wV.js → StepIDCheckLoopOnfido-DGrckStv.js} +6 -6
- package/chunk/{StepIDCheckLoopOnfido-djTS20UT.js.map → StepIDCheckLoopOnfido-DGrckStv.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-B5I-ojjy.js → StepIDCheckLoopRegula-DjF8ZDnp.js} +5 -5
- package/chunk/{StepIDCheckLoopRegula-B5I-ojjy.js.map → StepIDCheckLoopRegula-DjF8ZDnp.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-DZA5G1Z6.js → StepIDCheckLoopRegula-tRWeYsEe.js} +5 -5
- package/chunk/{StepIDCheckLoopRegula-DZA5G1Z6.js.map → StepIDCheckLoopRegula-tRWeYsEe.js.map} +1 -1
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-Bieu_7kd.js → StepInactiveMilitaryPersonalInfoComponent-DJAAzlTP.js} +10 -10
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-Bieu_7kd.js.map → StepInactiveMilitaryPersonalInfoComponent-DJAAzlTP.js.map} +1 -1
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-Czd3ecq6.js → StepInactiveMilitaryPersonalInfoComponent-dNU8MQlk.js} +10 -10
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-Czd3ecq6.js.map → StepInactiveMilitaryPersonalInfoComponent-dNU8MQlk.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-Bf3ZhJ_c.js → TeacherSchoolComponent-CrNBGA88.js} +5 -5
- package/chunk/{TeacherSchoolComponent-BSHPjiwQ.js.map → TeacherSchoolComponent-CrNBGA88.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-BSHPjiwQ.js → TeacherSchoolComponent-D7tRXy1z.js} +5 -5
- package/chunk/{TeacherSchoolComponent-Bf3ZhJ_c.js.map → TeacherSchoolComponent-D7tRXy1z.js.map} +1 -1
- package/chunk/ar-DRRl0F7-.js +4 -4
- package/chunk/bg-F0WsRCx8.js +4 -4
- package/chunk/bn-IN-CMjQj55J.js +4 -4
- package/chunk/cs-fNk_NoQI.js +4 -4
- package/chunk/da-KMILteCO.js +4 -4
- package/chunk/de-CWVNPgGa.js +4 -4
- package/chunk/downshift.esm-CtrbqQGL.js +4 -4
- package/chunk/downshift.esm-huKBwB2d.js +4 -4
- package/chunk/el-Cwv4peel.js +4 -4
- package/chunk/en-GB-Dqonxi7-.js +4 -4
- package/chunk/es-ES-C4H8ciVZ.js +4 -4
- package/chunk/es-hn_UHPBI.js +4 -4
- package/chunk/fi-CYcXXvjq.js +4 -4
- package/chunk/fr-CA-CGAQ-6AP.js +4 -4
- package/chunk/fr-D_IYCyUP.js +4 -4
- package/chunk/ga-45LsHAEB.js +4 -4
- package/chunk/hi-IN-ChuePzRc.js +4 -4
- package/chunk/hr-CX75fSnP.js +4 -4
- package/chunk/hu-BaLNR_Fx.js +4 -4
- package/chunk/id-BuJILOHQ.js +4 -4
- package/chunk/{index-brtM2eoI.js → index-8Pv9mAlU.js} +8 -8
- package/chunk/{index-brtM2eoI.js.map → index-8Pv9mAlU.js.map} +1 -1
- package/chunk/index-B0SBEWOf.js +4 -4
- package/chunk/index-B4FcNhzB.js +4 -4
- package/chunk/index-BA3bE-f-.js +4 -4
- package/chunk/{index-D62LImgf.js → index-BG38FvB_.js} +8 -8
- package/chunk/{index-CfHHbJNm.js.map → index-BG38FvB_.js.map} +1 -1
- package/chunk/index-BZ1nv-sB.js +4 -4
- package/chunk/index-BbOCWcRK.js +4 -4
- package/chunk/{index-DGCqI3ez.js → index-BgDTx15o.js} +9 -9
- package/chunk/{index-Ccp2Exqo.js.map → index-BgDTx15o.js.map} +1 -1
- package/chunk/{index-Blxi9-p3.js → index-BhTi8pBC.js} +5 -5
- package/chunk/{index-Blxi9-p3.js.map → index-BhTi8pBC.js.map} +1 -1
- package/chunk/index-Bn00xQJF.js +4 -4
- package/chunk/{index-DsIG7oZ5.js → index-Bo42CUOf.js} +17 -17
- package/chunk/{index-DsIG7oZ5.js.map → index-Bo42CUOf.js.map} +1 -1
- package/chunk/{index-CMYxhs0t.js → index-BqorOxSL.js} +9 -9
- package/chunk/{index-CMYxhs0t.js.map → index-BqorOxSL.js.map} +1 -1
- package/chunk/index-Brpm5gN6.js +4 -4
- package/chunk/{index-CTjvQpKK.js → index-C3qLWNqJ.js} +7 -7
- package/chunk/{index-CTjvQpKK.js.map → index-C3qLWNqJ.js.map} +1 -1
- package/chunk/index-CHDBBfsg.js +4 -4
- package/chunk/{index-BDfHyxH2.js → index-COkTEkcG.js} +9 -9
- package/chunk/{index-BDfHyxH2.js.map → index-COkTEkcG.js.map} +1 -1
- package/chunk/index-CR19uOwz.js +4 -4
- package/chunk/index-CTGY1a4m.js +4 -4
- package/chunk/index-CaBrLsal.js +4 -4
- package/chunk/{index-B6DSPaeb.js → index-CaUGE60w.js} +9 -9
- package/chunk/{index-B6DSPaeb.js.map → index-CaUGE60w.js.map} +1 -1
- package/chunk/{index-BKpiJJJ9.js → index-CnoZPKNq.js} +9 -9
- package/chunk/{index-BKpiJJJ9.js.map → index-CnoZPKNq.js.map} +1 -1
- package/chunk/index-CrPc1exn.js +4 -4
- package/chunk/{index-4SoX7nBO.js → index-Ctt3OBcG.js} +8 -8
- package/chunk/{index-DM6d_MOp.js.map → index-Ctt3OBcG.js.map} +1 -1
- package/chunk/{index-CfHHbJNm.js → index-CuIn9psY.js} +8 -8
- package/chunk/{index-D62LImgf.js.map → index-CuIn9psY.js.map} +1 -1
- package/chunk/index-CwaTj-69.js +4 -4
- package/chunk/index-D2d6x5LN.js +4 -4
- package/chunk/index-D7Mqx5na.js +4 -4
- package/chunk/{index-yLck7gVG.js → index-DDOie7I6.js} +8 -8
- package/chunk/{index-yLck7gVG.js.map → index-DDOie7I6.js.map} +1 -1
- package/chunk/index-DFoMYB8K.js +4 -4
- package/chunk/{index-CMwYcIy7.js → index-DG51xMuU.js} +10 -10
- package/chunk/{index-B0gkU4sD.js.map → index-DG51xMuU.js.map} +1 -1
- package/chunk/index-DIkWpujR.js +4 -4
- package/chunk/{index-DM6d_MOp.js → index-DJu2A0Dj.js} +8 -8
- package/chunk/{index-4SoX7nBO.js.map → index-DJu2A0Dj.js.map} +1 -1
- package/chunk/{index-Di4VOQ0c.js → index-DQXlORPg.js} +9 -9
- package/chunk/{index-Di4VOQ0c.js.map → index-DQXlORPg.js.map} +1 -1
- package/chunk/{index-CO75J-sD.js → index-DfWrK5cl.js} +17 -17
- package/chunk/{index-CO75J-sD.js.map → index-DfWrK5cl.js.map} +1 -1
- package/chunk/{index-XxwXcW8j.js → index-Dj6o39Jh.js} +7 -7
- package/chunk/{index-XxwXcW8j.js.map → index-Dj6o39Jh.js.map} +1 -1
- package/chunk/{index-B0gkU4sD.js → index-DlYU3RMt.js} +10 -10
- package/chunk/{index-CMwYcIy7.js.map → index-DlYU3RMt.js.map} +1 -1
- package/chunk/index-EUJqfdiJ.js +4 -4
- package/chunk/{index-Cgw-oCXC.js → index-Fn3AJ3YB.js} +5 -5
- package/chunk/{index-Cgw-oCXC.js.map → index-Fn3AJ3YB.js.map} +1 -1
- package/chunk/{index-Ccp2Exqo.js → index-XS4CFK0d.js} +9 -9
- package/chunk/{index-DGCqI3ez.js.map → index-XS4CFK0d.js.map} +1 -1
- package/chunk/index-dTu4ORna.js +4 -4
- package/chunk/{index-Tt8XFCKg.js → index-kUVTGFsl.js} +9 -9
- package/chunk/{index-Tt8XFCKg.js.map → index-kUVTGFsl.js.map} +1 -1
- package/chunk/is-B3D8NTKa.js +4 -4
- package/chunk/it-CzAy2lzA.js +4 -4
- package/chunk/iw-C9nimuXe.js +4 -4
- package/chunk/ja-BEXgm7zu.js +4 -4
- package/chunk/ko-Ct-zPR2E.js +4 -4
- package/chunk/lo-Di9C_kLP.js +4 -4
- package/chunk/lt-CEBQxuWT.js +4 -4
- package/chunk/{militaryStepHelpers-jW2_4c1l.js → militaryStepHelpers-BINEywf8.js} +5 -5
- package/chunk/{militaryStepHelpers-0OUuQpBw.js.map → militaryStepHelpers-BINEywf8.js.map} +1 -1
- package/chunk/{militaryStepHelpers-0OUuQpBw.js → militaryStepHelpers-CqXwxXhq.js} +5 -5
- package/chunk/{militaryStepHelpers-jW2_4c1l.js.map → militaryStepHelpers-CqXwxXhq.js.map} +1 -1
- package/chunk/mocks-CeAm-JFs.js +4 -4
- package/chunk/mocks-ClJ0M6QH.js +4 -4
- package/chunk/ms-CxGIGN7C.js +4 -4
- package/chunk/nl-BE-DPBUnfk6.js +4 -4
- package/chunk/nl-BIm7MF9X.js +4 -4
- package/chunk/no-BmBisNVx.js +4 -4
- package/chunk/pl-BOGNzi_o.js +4 -4
- package/chunk/pt-BR-uABX_syI.js +4 -4
- package/chunk/pt-MSESKPWr.js +4 -4
- package/chunk/ro-DoSzUhte.js +4 -4
- package/chunk/ru-_re-OOAp.js +4 -4
- package/chunk/sk-BS3zToE5.js +4 -4
- package/chunk/sl-CVBUMpyN.js +4 -4
- package/chunk/sr-Cmqfavur.js +4 -4
- package/chunk/sv-BzRp9aoC.js +4 -4
- package/chunk/sw-C4I4Ivyc.js +4 -4
- package/chunk/th-SsMlrFQN.js +4 -4
- package/chunk/tr-i4hcCWIF.js +4 -4
- package/chunk/uk-CLl1S03h.js +4 -4
- package/chunk/ur-CfVN1Pr2.js +4 -4
- package/chunk/useCollectFieldsEndpoint-Cd6d_u47.js +4 -4
- package/chunk/useCollectFieldsEndpoint-DqTjyVEr.js +4 -4
- package/chunk/useMetrics-D2fG6cgw.js +4 -4
- package/chunk/useMetrics-wq7yrL0b.js +4 -4
- package/chunk/vi-STS0AV-q.js +4 -4
- package/chunk/zh-HK-DGm6tmJZ.js +4 -4
- package/chunk/zh-rPW1DJOh.js +4 -4
- package/chunk/zu-D7Vc6viT.js +4 -4
- package/package.json +1 -1
- package/sheerid-install.css +4 -4
- package/sheerid-install.js +36 -36
- package/sheerid-install.js.map +1 -1
- package/sheerid.css +5 -5
- package/sheerid.js +25 -25
- package/chunk/CaptchaComponent-CnWyxiTy.js.map +0 -1
- package/chunk/CaptchaComponent-SmUa6m52.js.map +0 -1
|
@@ -4,15 +4,15 @@
|
|
|
4
4
|
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* VERSION: 2.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE:
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.233.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1779293766865
|
|
9
|
+
* BUILD_DATE: Wed May 20 2026 16:16:06 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: af3eefec141e5dda945559406ba048843622f3b9
|
|
11
11
|
*/
|
|
12
|
-
import { b as Oe, s as $t, j as l, d as
|
|
12
|
+
import { b as Oe, s as $t, j as l, d as Ve, R as Re, ao as ir, a$ as Qt, F as ge, g as Nt, b0 as or, W as yr, i as it, H as gr, l as Tt, h as ct, p as Xt, aA as St, a4 as vr, b1 as Cr, ai as _r, b2 as xr, J as Lt, o as jr, r as wr, E as Sr, b3 as Tr, N as Nr } from "../_mysheerid-preview.js";
|
|
13
13
|
import { a as sr, F as lr, g as Ir } from "./FormFieldLayout-DDEEmlGC.js";
|
|
14
14
|
import { F as Pt } from "./FormFieldText-CJ-GVpZE.js";
|
|
15
|
-
import { I as ur, g as er } from "./FormSelectChoice-
|
|
15
|
+
import { I as ur, g as er } from "./FormSelectChoice-BvS7u8GG.js";
|
|
16
16
|
import { I as tr } from "./InputText-PEiatRRJ.js";
|
|
17
17
|
import { u as Er, M as Ne } from "./useMetrics-D2fG6cgw.js";
|
|
18
18
|
const Mr = ({
|
|
@@ -22,12 +22,12 @@ const Mr = ({
|
|
|
22
22
|
ariaLabelledby: i,
|
|
23
23
|
ariaDescribedBy: f,
|
|
24
24
|
id: v = "new",
|
|
25
|
-
disabled:
|
|
25
|
+
disabled: S = !1
|
|
26
26
|
}) => {
|
|
27
|
-
const E = i ? { "aria-labelledby": i } : {}, M = Oe.useRef(null),
|
|
27
|
+
const E = i ? { "aria-labelledby": i } : {}, M = Oe.useRef(null), G = () => {
|
|
28
28
|
M.current && c(!M.current.checked);
|
|
29
|
-
},
|
|
30
|
-
(z.key === " " || z.key === "Enter") && (z.preventDefault(),
|
|
29
|
+
}, le = (z) => {
|
|
30
|
+
(z.key === " " || z.key === "Enter") && (z.preventDefault(), G());
|
|
31
31
|
};
|
|
32
32
|
return Oe.useEffect(() => {
|
|
33
33
|
$t("optIn", M.current);
|
|
@@ -45,7 +45,7 @@ const Mr = ({
|
|
|
45
45
|
ref: M,
|
|
46
46
|
"aria-invalid": r,
|
|
47
47
|
"aria-describedby": f,
|
|
48
|
-
disabled:
|
|
48
|
+
disabled: S,
|
|
49
49
|
tabIndex: -1
|
|
50
50
|
}
|
|
51
51
|
),
|
|
@@ -54,8 +54,8 @@ const Mr = ({
|
|
|
54
54
|
{
|
|
55
55
|
...E,
|
|
56
56
|
className: `sid-checkbox__input-like ${r ? "sid-checkbox__input-like--error" : ""}`,
|
|
57
|
-
onClick:
|
|
58
|
-
onKeyDown:
|
|
57
|
+
onClick: G,
|
|
58
|
+
onKeyDown: le,
|
|
59
59
|
role: "checkbox",
|
|
60
60
|
"aria-checked": o,
|
|
61
61
|
tabIndex: 0,
|
|
@@ -71,25 +71,26 @@ const Mr = ({
|
|
|
71
71
|
verificationService: f,
|
|
72
72
|
disabled: v = !1
|
|
73
73
|
}) => {
|
|
74
|
-
const
|
|
75
|
-
(
|
|
76
|
-
const
|
|
77
|
-
if (c && !
|
|
78
|
-
return
|
|
74
|
+
const S = "marketConsentValue", E = `sid-${Ve(S)}-error`, M = `sid-${Ve(S)}-label`, G = Re.useCallback(
|
|
75
|
+
(_) => {
|
|
76
|
+
const $ = "marketConsentRequired";
|
|
77
|
+
if (c && !_)
|
|
78
|
+
return $;
|
|
79
79
|
},
|
|
80
80
|
[c]
|
|
81
|
-
),
|
|
81
|
+
), z = (f && f.programTheme && ir(f.programTheme) || {}).message || "Yes, send me {company} marketing communications about exclusive sales, special offers, latest products and more";
|
|
82
82
|
return Re.useEffect(() => {
|
|
83
|
-
Qt(
|
|
84
|
-
}, [
|
|
85
|
-
Qt(
|
|
86
|
-
}, [
|
|
83
|
+
Qt(S, G);
|
|
84
|
+
}, [S, G]), Re.useEffect(() => {
|
|
85
|
+
Qt(S, G);
|
|
86
|
+
}, [S, G]), /* @__PURE__ */ l.jsxs("div", { className: "sid-field sid-opt-in", children: [
|
|
87
87
|
/* @__PURE__ */ l.jsx("div", { className: "sid-l-space-top-md" }),
|
|
88
88
|
/* @__PURE__ */ l.jsx("div", { className: "sid-l-position", children: /* @__PURE__ */ l.jsxs("label", { htmlFor: "sid-opt-in__optIn", children: [
|
|
89
89
|
/* @__PURE__ */ l.jsx(
|
|
90
90
|
Rt,
|
|
91
91
|
{
|
|
92
92
|
id: "optIn",
|
|
93
|
+
ariaLabelledby: M,
|
|
93
94
|
ariaDescribedBy: r ? E : void 0,
|
|
94
95
|
isErrored: r,
|
|
95
96
|
onChange: o,
|
|
@@ -97,14 +98,14 @@ const Mr = ({
|
|
|
97
98
|
disabled: v
|
|
98
99
|
}
|
|
99
100
|
),
|
|
100
|
-
/* @__PURE__ */ l.jsx("div", { className: "sid-field__label sid-checkbox__label", children: f ? /* @__PURE__ */ l.jsx(ge, { id: "companyName", defaultMessage: "{Company}", children: (
|
|
101
|
+
/* @__PURE__ */ l.jsx("div", { className: "sid-field__label sid-checkbox__label", id: M, children: f ? /* @__PURE__ */ l.jsx(ge, { id: "companyName", defaultMessage: "{Company}", children: (_) => /* @__PURE__ */ l.jsx(
|
|
101
102
|
ge,
|
|
102
103
|
{
|
|
103
104
|
id: "optIn",
|
|
104
|
-
values: { company:
|
|
105
|
-
defaultMessage:
|
|
105
|
+
values: { company: _ },
|
|
106
|
+
defaultMessage: z
|
|
106
107
|
}
|
|
107
|
-
) }) : /* @__PURE__ */ l.jsx(ge, { id: "optIn", defaultMessage:
|
|
108
|
+
) }) : /* @__PURE__ */ l.jsx(ge, { id: "optIn", defaultMessage: z }) }),
|
|
108
109
|
r && /* @__PURE__ */ l.jsx("div", { className: "sid-field-error", id: E, children: /* @__PURE__ */ l.jsx(
|
|
109
110
|
ge,
|
|
110
111
|
{
|
|
@@ -121,12 +122,12 @@ const Mr = ({
|
|
|
121
122
|
viewModel: i,
|
|
122
123
|
disabled: f = !1
|
|
123
124
|
}) => {
|
|
124
|
-
const { programTheme: v } = r,
|
|
125
|
-
return Nt("marketConsentValue")?.hidden ? null :
|
|
125
|
+
const { programTheme: v } = r, S = ir(v);
|
|
126
|
+
return Nt("marketConsentValue")?.hidden ? null : S.enabled ? /* @__PURE__ */ l.jsx(
|
|
126
127
|
kr,
|
|
127
128
|
{
|
|
128
129
|
isErrored: c,
|
|
129
|
-
isRequired:
|
|
130
|
+
isRequired: S.required,
|
|
130
131
|
verificationService: r,
|
|
131
132
|
value: i.metadata && i.metadata.marketConsentValue || !1,
|
|
132
133
|
onChange: (M) => o(M),
|
|
@@ -150,9 +151,9 @@ function Or() {
|
|
|
150
151
|
}, o.t = function(i, f) {
|
|
151
152
|
if (1 & f && (i = o(i)), 8 & f || 4 & f && typeof i == "object" && i && i.__esModule) return i;
|
|
152
153
|
var v = /* @__PURE__ */ Object.create(null);
|
|
153
|
-
if (o.r(v), Object.defineProperty(v, "default", { enumerable: !0, value: i }), 2 & f && typeof i != "string") for (var
|
|
154
|
+
if (o.r(v), Object.defineProperty(v, "default", { enumerable: !0, value: i }), 2 & f && typeof i != "string") for (var S in i) o.d(v, S, (function(E) {
|
|
154
155
|
return i[E];
|
|
155
|
-
}).bind(null,
|
|
156
|
+
}).bind(null, S));
|
|
156
157
|
return v;
|
|
157
158
|
}, o.n = function(i) {
|
|
158
159
|
var f = i && i.__esModule ? function() {
|
|
@@ -171,18 +172,18 @@ function Or() {
|
|
|
171
172
|
(function() {
|
|
172
173
|
var f = {}.hasOwnProperty;
|
|
173
174
|
function v() {
|
|
174
|
-
for (var
|
|
175
|
+
for (var S = [], E = 0; E < arguments.length; E++) {
|
|
175
176
|
var M = arguments[E];
|
|
176
177
|
if (M) {
|
|
177
|
-
var
|
|
178
|
-
if (
|
|
178
|
+
var G = typeof M;
|
|
179
|
+
if (G === "string" || G === "number") S.push(M);
|
|
179
180
|
else if (Array.isArray(M) && M.length) {
|
|
180
|
-
var
|
|
181
|
-
|
|
182
|
-
} else if (
|
|
181
|
+
var le = v.apply(null, M);
|
|
182
|
+
le && S.push(le);
|
|
183
|
+
} else if (G === "object") for (var z in M) f.call(M, z) && M[z] && S.push(z);
|
|
183
184
|
}
|
|
184
185
|
}
|
|
185
|
-
return
|
|
186
|
+
return S.join(" ");
|
|
186
187
|
}
|
|
187
188
|
r.exports ? (v.default = v, r.exports = v) : (i = (function() {
|
|
188
189
|
return v;
|
|
@@ -190,42 +191,42 @@ function Or() {
|
|
|
190
191
|
})();
|
|
191
192
|
}, function(r, c, o) {
|
|
192
193
|
(function(i) {
|
|
193
|
-
var f = /^\s+|\s+$/g, v = /^[-+]0x[0-9a-f]+$/i,
|
|
194
|
-
function b(
|
|
195
|
-
if (typeof
|
|
196
|
-
if (k(
|
|
197
|
-
var y =
|
|
198
|
-
return y == "0" && 1 /
|
|
199
|
-
}
|
|
200
|
-
function
|
|
201
|
-
var y = typeof
|
|
202
|
-
return !!
|
|
203
|
-
}
|
|
204
|
-
function k(
|
|
205
|
-
return typeof
|
|
194
|
+
var f = /^\s+|\s+$/g, v = /^[-+]0x[0-9a-f]+$/i, S = /^0b[01]+$/i, E = /^0o[0-7]+$/i, M = parseInt, G = typeof i == "object" && i && i.Object === Object && i, le = typeof self == "object" && self && self.Object === Object && self, z = G || le || Function("return this")(), _ = Object.prototype.toString, $ = z.Symbol, V = $ ? $.prototype : void 0, X = V ? V.toString : void 0;
|
|
195
|
+
function b(T) {
|
|
196
|
+
if (typeof T == "string") return T;
|
|
197
|
+
if (k(T)) return X ? X.call(T) : "";
|
|
198
|
+
var y = T + "";
|
|
199
|
+
return y == "0" && 1 / T == -1 / 0 ? "-0" : y;
|
|
200
|
+
}
|
|
201
|
+
function oe(T) {
|
|
202
|
+
var y = typeof T;
|
|
203
|
+
return !!T && (y == "object" || y == "function");
|
|
204
|
+
}
|
|
205
|
+
function k(T) {
|
|
206
|
+
return typeof T == "symbol" || /* @__PURE__ */ (function(y) {
|
|
206
207
|
return !!y && typeof y == "object";
|
|
207
|
-
})(
|
|
208
|
+
})(T) && _.call(T) == "[object Symbol]";
|
|
208
209
|
}
|
|
209
|
-
function R(
|
|
210
|
-
return
|
|
210
|
+
function R(T) {
|
|
211
|
+
return T ? (T = (function(y) {
|
|
211
212
|
if (typeof y == "number") return y;
|
|
212
213
|
if (k(y)) return NaN;
|
|
213
|
-
if (
|
|
214
|
+
if (oe(y)) {
|
|
214
215
|
var ee = typeof y.valueOf == "function" ? y.valueOf() : y;
|
|
215
|
-
y =
|
|
216
|
+
y = oe(ee) ? ee + "" : ee;
|
|
216
217
|
}
|
|
217
218
|
if (typeof y != "string") return y === 0 ? y : +y;
|
|
218
219
|
y = y.replace(f, "");
|
|
219
|
-
var B =
|
|
220
|
+
var B = S.test(y);
|
|
220
221
|
return B || E.test(y) ? M(y.slice(2), B ? 2 : 8) : v.test(y) ? NaN : +y;
|
|
221
|
-
})(
|
|
222
|
-
}
|
|
223
|
-
r.exports = function(
|
|
224
|
-
var B,
|
|
225
|
-
return
|
|
226
|
-
var Ce = R(ve),
|
|
227
|
-
return Ce == Ce ?
|
|
228
|
-
})(ee), ue = 0, te =
|
|
222
|
+
})(T)) === 1 / 0 || T === -1 / 0 ? 17976931348623157e292 * (T < 0 ? -1 : 1) : T == T ? T : 0 : T === 0 ? T : 0;
|
|
223
|
+
}
|
|
224
|
+
r.exports = function(T, y, ee) {
|
|
225
|
+
var B, J, ue, te;
|
|
226
|
+
return T = (B = T) == null ? "" : b(B), J = (function(ve) {
|
|
227
|
+
var Ce = R(ve), Y = Ce % 1;
|
|
228
|
+
return Ce == Ce ? Y ? Ce - Y : Ce : 0;
|
|
229
|
+
})(ee), ue = 0, te = T.length, J == J && (te !== void 0 && (J = J <= te ? J : te), ue !== void 0 && (J = J >= ue ? J : ue)), ee = J, y = b(y), T.slice(ee, ee + y.length) == y;
|
|
229
230
|
};
|
|
230
231
|
}).call(this, o(3));
|
|
231
232
|
}, function(r, c) {
|
|
@@ -241,44 +242,44 @@ function Or() {
|
|
|
241
242
|
r.exports = o;
|
|
242
243
|
}, function(r, c, o) {
|
|
243
244
|
(function(i) {
|
|
244
|
-
var f = /^\[object .+?Constructor\]$/, v = typeof i == "object" && i && i.Object === Object && i,
|
|
245
|
+
var f = /^\[object .+?Constructor\]$/, v = typeof i == "object" && i && i.Object === Object && i, S = typeof self == "object" && self && self.Object === Object && self, E = v || S || Function("return this")(), M, G = Array.prototype, le = Function.prototype, z = Object.prototype, _ = E["__core-js_shared__"], $ = (M = /[^.]+$/.exec(_ && _.keys && _.keys.IE_PROTO || "")) ? "Symbol(src)_1." + M : "", V = le.toString, X = z.hasOwnProperty, b = z.toString, oe = RegExp("^" + V.call(X).replace(/[\\^$.*+?()[\]{}|]/g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"), k = G.splice, R = ve(E, "Map"), T = ve(Object, "create");
|
|
245
246
|
function y(d) {
|
|
246
247
|
var C = -1, h = d ? d.length : 0;
|
|
247
248
|
for (this.clear(); ++C < h; ) {
|
|
248
|
-
var
|
|
249
|
-
this.set(
|
|
249
|
+
var x = d[C];
|
|
250
|
+
this.set(x[0], x[1]);
|
|
250
251
|
}
|
|
251
252
|
}
|
|
252
253
|
function ee(d) {
|
|
253
254
|
var C = -1, h = d ? d.length : 0;
|
|
254
255
|
for (this.clear(); ++C < h; ) {
|
|
255
|
-
var
|
|
256
|
-
this.set(
|
|
256
|
+
var x = d[C];
|
|
257
|
+
this.set(x[0], x[1]);
|
|
257
258
|
}
|
|
258
259
|
}
|
|
259
260
|
function B(d) {
|
|
260
261
|
var C = -1, h = d ? d.length : 0;
|
|
261
262
|
for (this.clear(); ++C < h; ) {
|
|
262
|
-
var
|
|
263
|
-
this.set(
|
|
263
|
+
var x = d[C];
|
|
264
|
+
this.set(x[0], x[1]);
|
|
264
265
|
}
|
|
265
266
|
}
|
|
266
|
-
function
|
|
267
|
-
for (var h,
|
|
267
|
+
function J(d, C) {
|
|
268
|
+
for (var h, x, fe = d.length; fe--; ) if ((h = d[fe][0]) === (x = C) || h != h && x != x) return fe;
|
|
268
269
|
return -1;
|
|
269
270
|
}
|
|
270
271
|
function ue(d) {
|
|
271
|
-
return !(!
|
|
272
|
-
var
|
|
273
|
-
return
|
|
272
|
+
return !(!Y(d) || (C = d, $ && $ in C)) && ((function(h) {
|
|
273
|
+
var x = Y(h) ? b.call(h) : "";
|
|
274
|
+
return x == "[object Function]" || x == "[object GeneratorFunction]";
|
|
274
275
|
})(d) || (function(h) {
|
|
275
|
-
var
|
|
276
|
+
var x = !1;
|
|
276
277
|
if (h != null && typeof h.toString != "function") try {
|
|
277
|
-
|
|
278
|
+
x = !!(h + "");
|
|
278
279
|
} catch {
|
|
279
280
|
}
|
|
280
|
-
return
|
|
281
|
-
})(d) ?
|
|
281
|
+
return x;
|
|
282
|
+
})(d) ? oe : f).test((function(h) {
|
|
282
283
|
if (h != null) {
|
|
283
284
|
try {
|
|
284
285
|
return V.call(h);
|
|
@@ -294,58 +295,58 @@ function Or() {
|
|
|
294
295
|
var C;
|
|
295
296
|
}
|
|
296
297
|
function te(d, C) {
|
|
297
|
-
var h,
|
|
298
|
-
return ((
|
|
298
|
+
var h, x, fe = d.__data__;
|
|
299
|
+
return ((x = typeof (h = C)) == "string" || x == "number" || x == "symbol" || x == "boolean" ? h !== "__proto__" : h === null) ? fe[typeof C == "string" ? "string" : "hash"] : fe.map;
|
|
299
300
|
}
|
|
300
301
|
function ve(d, C) {
|
|
301
|
-
var h = (function(
|
|
302
|
-
return
|
|
302
|
+
var h = (function(x, fe) {
|
|
303
|
+
return x?.[fe];
|
|
303
304
|
})(d, C);
|
|
304
305
|
return ue(h) ? h : void 0;
|
|
305
306
|
}
|
|
306
307
|
function Ce(d, C) {
|
|
307
308
|
if (typeof d != "function" || C && typeof C != "function") throw new TypeError("Expected a function");
|
|
308
309
|
var h = function() {
|
|
309
|
-
var
|
|
310
|
+
var x = arguments, fe = C ? C.apply(this, x) : x[0], ke = h.cache;
|
|
310
311
|
if (ke.has(fe)) return ke.get(fe);
|
|
311
|
-
var w = d.apply(this,
|
|
312
|
+
var w = d.apply(this, x);
|
|
312
313
|
return h.cache = ke.set(fe, w), w;
|
|
313
314
|
};
|
|
314
315
|
return h.cache = new (Ce.Cache || B)(), h;
|
|
315
316
|
}
|
|
316
|
-
function
|
|
317
|
+
function Y(d) {
|
|
317
318
|
var C = typeof d;
|
|
318
319
|
return !!d && (C == "object" || C == "function");
|
|
319
320
|
}
|
|
320
321
|
y.prototype.clear = function() {
|
|
321
|
-
this.__data__ =
|
|
322
|
+
this.__data__ = T ? T(null) : {};
|
|
322
323
|
}, y.prototype.delete = function(d) {
|
|
323
324
|
return this.has(d) && delete this.__data__[d];
|
|
324
325
|
}, y.prototype.get = function(d) {
|
|
325
326
|
var C = this.__data__;
|
|
326
|
-
if (
|
|
327
|
+
if (T) {
|
|
327
328
|
var h = C[d];
|
|
328
329
|
return h === "__lodash_hash_undefined__" ? void 0 : h;
|
|
329
330
|
}
|
|
330
331
|
return X.call(C, d) ? C[d] : void 0;
|
|
331
332
|
}, y.prototype.has = function(d) {
|
|
332
333
|
var C = this.__data__;
|
|
333
|
-
return
|
|
334
|
+
return T ? C[d] !== void 0 : X.call(C, d);
|
|
334
335
|
}, y.prototype.set = function(d, C) {
|
|
335
|
-
return this.__data__[d] =
|
|
336
|
+
return this.__data__[d] = T && C === void 0 ? "__lodash_hash_undefined__" : C, this;
|
|
336
337
|
}, ee.prototype.clear = function() {
|
|
337
338
|
this.__data__ = [];
|
|
338
339
|
}, ee.prototype.delete = function(d) {
|
|
339
|
-
var C = this.__data__, h =
|
|
340
|
+
var C = this.__data__, h = J(C, d);
|
|
340
341
|
return !(h < 0) && (h == C.length - 1 ? C.pop() : k.call(C, h, 1), !0);
|
|
341
342
|
}, ee.prototype.get = function(d) {
|
|
342
|
-
var C = this.__data__, h =
|
|
343
|
+
var C = this.__data__, h = J(C, d);
|
|
343
344
|
return h < 0 ? void 0 : C[h][1];
|
|
344
345
|
}, ee.prototype.has = function(d) {
|
|
345
|
-
return
|
|
346
|
+
return J(this.__data__, d) > -1;
|
|
346
347
|
}, ee.prototype.set = function(d, C) {
|
|
347
|
-
var h = this.__data__,
|
|
348
|
-
return
|
|
348
|
+
var h = this.__data__, x = J(h, d);
|
|
349
|
+
return x < 0 ? h.push([d, C]) : h[x][1] = C, this;
|
|
349
350
|
}, B.prototype.clear = function() {
|
|
350
351
|
this.__data__ = { hash: new y(), map: new (R || ee)(), string: new y() };
|
|
351
352
|
}, B.prototype.delete = function(d) {
|
|
@@ -360,19 +361,19 @@ function Or() {
|
|
|
360
361
|
}).call(this, o(3));
|
|
361
362
|
}, function(r, c, o) {
|
|
362
363
|
(function(i) {
|
|
363
|
-
var f = /^\s+|\s+$/g, v = /^[-+]0x[0-9a-f]+$/i,
|
|
364
|
+
var f = /^\s+|\s+$/g, v = /^[-+]0x[0-9a-f]+$/i, S = /^0b[01]+$/i, E = /^0o[0-7]+$/i, M = parseInt, G = typeof i == "object" && i && i.Object === Object && i, le = typeof self == "object" && self && self.Object === Object && self, z = G || le || Function("return this")(), _ = Object.prototype.toString, $ = Math.max, V = Math.min, X = function() {
|
|
364
365
|
return z.Date.now();
|
|
365
366
|
};
|
|
366
367
|
function b(k) {
|
|
367
368
|
var R = typeof k;
|
|
368
369
|
return !!k && (R == "object" || R == "function");
|
|
369
370
|
}
|
|
370
|
-
function
|
|
371
|
+
function oe(k) {
|
|
371
372
|
if (typeof k == "number") return k;
|
|
372
373
|
if ((function(y) {
|
|
373
374
|
return typeof y == "symbol" || /* @__PURE__ */ (function(ee) {
|
|
374
375
|
return !!ee && typeof ee == "object";
|
|
375
|
-
})(y) &&
|
|
376
|
+
})(y) && _.call(y) == "[object Symbol]";
|
|
376
377
|
})(k)) return NaN;
|
|
377
378
|
if (b(k)) {
|
|
378
379
|
var R = typeof k.valueOf == "function" ? k.valueOf() : k;
|
|
@@ -380,59 +381,59 @@ function Or() {
|
|
|
380
381
|
}
|
|
381
382
|
if (typeof k != "string") return k === 0 ? k : +k;
|
|
382
383
|
k = k.replace(f, "");
|
|
383
|
-
var
|
|
384
|
-
return
|
|
384
|
+
var T = S.test(k);
|
|
385
|
+
return T || E.test(k) ? M(k.slice(2), T ? 2 : 8) : v.test(k) ? NaN : +k;
|
|
385
386
|
}
|
|
386
|
-
r.exports = function(k, R,
|
|
387
|
-
var y, ee, B,
|
|
387
|
+
r.exports = function(k, R, T) {
|
|
388
|
+
var y, ee, B, J, ue, te, ve = 0, Ce = !1, Y = !1, d = !0;
|
|
388
389
|
if (typeof k != "function") throw new TypeError("Expected a function");
|
|
389
390
|
function C(m) {
|
|
390
|
-
var D = y,
|
|
391
|
-
return y = ee = void 0, ve = m,
|
|
391
|
+
var D = y, K = ee;
|
|
392
|
+
return y = ee = void 0, ve = m, J = k.apply(K, D);
|
|
392
393
|
}
|
|
393
394
|
function h(m) {
|
|
394
|
-
return ve = m, ue = setTimeout(fe, R), Ce ? C(m) :
|
|
395
|
+
return ve = m, ue = setTimeout(fe, R), Ce ? C(m) : J;
|
|
395
396
|
}
|
|
396
|
-
function
|
|
397
|
+
function x(m) {
|
|
397
398
|
var D = m - te;
|
|
398
|
-
return te === void 0 || D >= R || D < 0 ||
|
|
399
|
+
return te === void 0 || D >= R || D < 0 || Y && m - ve >= B;
|
|
399
400
|
}
|
|
400
401
|
function fe() {
|
|
401
402
|
var m = X();
|
|
402
|
-
if (
|
|
403
|
+
if (x(m)) return ke(m);
|
|
403
404
|
ue = setTimeout(fe, (function(D) {
|
|
404
|
-
var
|
|
405
|
-
return
|
|
405
|
+
var K = R - (D - te);
|
|
406
|
+
return Y ? V(K, B - (D - ve)) : K;
|
|
406
407
|
})(m));
|
|
407
408
|
}
|
|
408
409
|
function ke(m) {
|
|
409
|
-
return ue = void 0, d && y ? C(m) : (y = ee = void 0,
|
|
410
|
+
return ue = void 0, d && y ? C(m) : (y = ee = void 0, J);
|
|
410
411
|
}
|
|
411
412
|
function w() {
|
|
412
|
-
var m = X(), D =
|
|
413
|
+
var m = X(), D = x(m);
|
|
413
414
|
if (y = arguments, ee = this, te = m, D) {
|
|
414
415
|
if (ue === void 0) return h(te);
|
|
415
|
-
if (
|
|
416
|
+
if (Y) return ue = setTimeout(fe, R), C(te);
|
|
416
417
|
}
|
|
417
|
-
return ue === void 0 && (ue = setTimeout(fe, R)),
|
|
418
|
+
return ue === void 0 && (ue = setTimeout(fe, R)), J;
|
|
418
419
|
}
|
|
419
|
-
return R =
|
|
420
|
+
return R = oe(R) || 0, b(T) && (Ce = !!T.leading, B = (Y = "maxWait" in T) ? $(oe(T.maxWait) || 0, R) : B, d = "trailing" in T ? !!T.trailing : d), w.cancel = function() {
|
|
420
421
|
ue !== void 0 && clearTimeout(ue), ve = 0, y = te = ee = ue = void 0;
|
|
421
422
|
}, w.flush = function() {
|
|
422
|
-
return ue === void 0 ?
|
|
423
|
+
return ue === void 0 ? J : ke(X());
|
|
423
424
|
}, w;
|
|
424
425
|
};
|
|
425
426
|
}).call(this, o(3));
|
|
426
427
|
}, function(r, c, o) {
|
|
427
428
|
(function(i, f) {
|
|
428
|
-
var v = "[object Arguments]",
|
|
429
|
-
b["[object Float32Array]"] = b["[object Float64Array]"] = b["[object Int8Array]"] = b["[object Int16Array]"] = b["[object Int32Array]"] = b["[object Uint8Array]"] = b["[object Uint8ClampedArray]"] = b["[object Uint16Array]"] = b["[object Uint32Array]"] = !0, b[v] = b["[object Array]"] = b["[object ArrayBuffer]"] = b["[object Boolean]"] = b["[object DataView]"] = b["[object Date]"] = b["[object Error]"] = b["[object Function]"] = b[
|
|
430
|
-
var
|
|
429
|
+
var v = "[object Arguments]", S = "[object Map]", E = "[object Object]", M = "[object Set]", G = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, le = /^\w*$/, z = /^\./, _ = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, $ = /\\(\\)?/g, V = /^\[object .+?Constructor\]$/, X = /^(?:0|[1-9]\d*)$/, b = {};
|
|
430
|
+
b["[object Float32Array]"] = b["[object Float64Array]"] = b["[object Int8Array]"] = b["[object Int16Array]"] = b["[object Int32Array]"] = b["[object Uint8Array]"] = b["[object Uint8ClampedArray]"] = b["[object Uint16Array]"] = b["[object Uint32Array]"] = !0, b[v] = b["[object Array]"] = b["[object ArrayBuffer]"] = b["[object Boolean]"] = b["[object DataView]"] = b["[object Date]"] = b["[object Error]"] = b["[object Function]"] = b[S] = b["[object Number]"] = b[E] = b["[object RegExp]"] = b[M] = b["[object String]"] = b["[object WeakMap]"] = !1;
|
|
431
|
+
var oe = typeof i == "object" && i && i.Object === Object && i, k = typeof self == "object" && self && self.Object === Object && self, R = oe || k || Function("return this")(), T = c && !c.nodeType && c, y = T && typeof f == "object" && f && !f.nodeType && f, ee = y && y.exports === T && oe.process, B = (function() {
|
|
431
432
|
try {
|
|
432
433
|
return ee && ee.binding("util");
|
|
433
434
|
} catch {
|
|
434
435
|
}
|
|
435
|
-
})(),
|
|
436
|
+
})(), J = B && B.isTypedArray;
|
|
436
437
|
function ue(t, a, s, p) {
|
|
437
438
|
var F = -1, L = t ? t.length : 0;
|
|
438
439
|
for (p && L && (s = t[++F]); ++F < L; ) s = a(s, t[F], F, t);
|
|
@@ -443,8 +444,8 @@ function Or() {
|
|
|
443
444
|
return !1;
|
|
444
445
|
}
|
|
445
446
|
function ve(t, a, s, p, F) {
|
|
446
|
-
return F(t, (function(L,
|
|
447
|
-
s = p ? (p = !1, L) : a(s, L,
|
|
447
|
+
return F(t, (function(L, W, xe) {
|
|
448
|
+
s = p ? (p = !1, L) : a(s, L, W, xe);
|
|
448
449
|
})), s;
|
|
449
450
|
}
|
|
450
451
|
function Ce(t) {
|
|
@@ -455,7 +456,7 @@ function Or() {
|
|
|
455
456
|
}
|
|
456
457
|
return a;
|
|
457
458
|
}
|
|
458
|
-
function
|
|
459
|
+
function Y(t) {
|
|
459
460
|
var a = -1, s = Array(t.size);
|
|
460
461
|
return t.forEach((function(p, F) {
|
|
461
462
|
s[++a] = [F, p];
|
|
@@ -467,9 +468,9 @@ function Or() {
|
|
|
467
468
|
s[++a] = p;
|
|
468
469
|
})), s;
|
|
469
470
|
}
|
|
470
|
-
var C, h,
|
|
471
|
-
return h(
|
|
472
|
-
}), ie = tt(R, "DataView"), we = tt(R, "Map"), H = tt(R, "Promise"), n = tt(R, "Set"), u = tt(R, "WeakMap"),
|
|
471
|
+
var C, h, x, fe = Array.prototype, ke = Function.prototype, w = Object.prototype, m = R["__core-js_shared__"], D = (C = /[^.]+$/.exec(m && m.keys && m.keys.IE_PROTO || "")) ? "Symbol(src)_1." + C : "", K = ke.toString, g = w.hasOwnProperty, e = w.toString, ne = RegExp("^" + K.call(g).replace(/[\\^$.*+?()[\]{}|]/g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"), re = R.Symbol, Q = R.Uint8Array, ce = w.propertyIsEnumerable, pe = fe.splice, me = (h = Object.keys, x = Object, function(t) {
|
|
472
|
+
return h(x(t));
|
|
473
|
+
}), ie = tt(R, "DataView"), we = tt(R, "Map"), H = tt(R, "Promise"), n = tt(R, "Set"), u = tt(R, "WeakMap"), j = tt(Object, "create"), U = Ze(ie), P = Ze(we), q = Ze(H), Z = Ze(n), de = Ze(u), N = re ? re.prototype : void 0, A = N ? N.valueOf : void 0, ae = N ? N.toString : void 0;
|
|
473
474
|
function I(t) {
|
|
474
475
|
var a = -1, s = t ? t.length : 0;
|
|
475
476
|
for (this.clear(); ++a < s; ) {
|
|
@@ -499,8 +500,8 @@ function Or() {
|
|
|
499
500
|
this.__data__ = new O(t);
|
|
500
501
|
}
|
|
501
502
|
function Ae(t, a) {
|
|
502
|
-
var s = qe(t) || Gt(t) ? (function(
|
|
503
|
-
for (var je = -1, be = Array(
|
|
503
|
+
var s = qe(t) || Gt(t) ? (function(W, xe) {
|
|
504
|
+
for (var je = -1, be = Array(W); ++je < W; ) be[je] = xe(je);
|
|
504
505
|
return be;
|
|
505
506
|
})(t.length, String) : [], p = s.length, F = !!p;
|
|
506
507
|
for (var L in t) !g.call(t, L) || F && (L == "length" || Vt(L, p)) || s.push(L);
|
|
@@ -511,21 +512,21 @@ function Or() {
|
|
|
511
512
|
return -1;
|
|
512
513
|
}
|
|
513
514
|
I.prototype.clear = function() {
|
|
514
|
-
this.__data__ =
|
|
515
|
+
this.__data__ = j ? j(null) : {};
|
|
515
516
|
}, I.prototype.delete = function(t) {
|
|
516
517
|
return this.has(t) && delete this.__data__[t];
|
|
517
518
|
}, I.prototype.get = function(t) {
|
|
518
519
|
var a = this.__data__;
|
|
519
|
-
if (
|
|
520
|
+
if (j) {
|
|
520
521
|
var s = a[t];
|
|
521
522
|
return s === "__lodash_hash_undefined__" ? void 0 : s;
|
|
522
523
|
}
|
|
523
524
|
return g.call(a, t) ? a[t] : void 0;
|
|
524
525
|
}, I.prototype.has = function(t) {
|
|
525
526
|
var a = this.__data__;
|
|
526
|
-
return
|
|
527
|
+
return j ? a[t] !== void 0 : g.call(a, t);
|
|
527
528
|
}, I.prototype.set = function(t, a) {
|
|
528
|
-
return this.__data__[t] =
|
|
529
|
+
return this.__data__[t] = j && a === void 0 ? "__lodash_hash_undefined__" : a, this;
|
|
529
530
|
}, O.prototype.clear = function() {
|
|
530
531
|
this.__data__ = [];
|
|
531
532
|
}, O.prototype.delete = function(t) {
|
|
@@ -579,8 +580,8 @@ function Or() {
|
|
|
579
580
|
return t;
|
|
580
581
|
}), et = /* @__PURE__ */ (function(t) {
|
|
581
582
|
return function(a, s, p) {
|
|
582
|
-
for (var F = -1, L = Object(a),
|
|
583
|
-
var je =
|
|
583
|
+
for (var F = -1, L = Object(a), W = p(a), xe = W.length; xe--; ) {
|
|
584
|
+
var je = W[++F];
|
|
584
585
|
if (s(L[je], je, L) === !1) break;
|
|
585
586
|
}
|
|
586
587
|
return a;
|
|
@@ -594,17 +595,17 @@ function Or() {
|
|
|
594
595
|
return t != null && a in Object(t);
|
|
595
596
|
}
|
|
596
597
|
function st(t, a, s, p, F) {
|
|
597
|
-
return t === a || (t == null || a == null || !mt(t) && !bt(a) ? t != t && a != a : (function(L,
|
|
598
|
-
var $e = qe(L), Me = qe(
|
|
599
|
-
$e || (Te = (Te = Ue(L)) == v ? E : Te), Me || (Ie = (Ie = Ue(
|
|
600
|
-
var Pe = Te == E && !Ce(L), rt = Ie == E && !Ce(
|
|
601
|
-
if (Ge && !Pe) return
|
|
598
|
+
return t === a || (t == null || a == null || !mt(t) && !bt(a) ? t != t && a != a : (function(L, W, xe, je, be, se) {
|
|
599
|
+
var $e = qe(L), Me = qe(W), Te = "[object Array]", Ie = "[object Array]";
|
|
600
|
+
$e || (Te = (Te = Ue(L)) == v ? E : Te), Me || (Ie = (Ie = Ue(W)) == v ? E : Ie);
|
|
601
|
+
var Pe = Te == E && !Ce(L), rt = Ie == E && !Ce(W), Ge = Te == Ie;
|
|
602
|
+
if (Ge && !Pe) return se || (se = new Ee()), $e || pr(L) ? Bt(L, W, xe, je, be, se) : (function(ye, he, Dt, Qe, gt, Le, ze) {
|
|
602
603
|
switch (Dt) {
|
|
603
604
|
case "[object DataView]":
|
|
604
605
|
if (ye.byteLength != he.byteLength || ye.byteOffset != he.byteOffset) return !1;
|
|
605
606
|
ye = ye.buffer, he = he.buffer;
|
|
606
607
|
case "[object ArrayBuffer]":
|
|
607
|
-
return !(ye.byteLength != he.byteLength || !Qe(new
|
|
608
|
+
return !(ye.byteLength != he.byteLength || !Qe(new Q(ye), new Q(he)));
|
|
608
609
|
case "[object Boolean]":
|
|
609
610
|
case "[object Date]":
|
|
610
611
|
case "[object Number]":
|
|
@@ -614,43 +615,43 @@ function Or() {
|
|
|
614
615
|
case "[object RegExp]":
|
|
615
616
|
case "[object String]":
|
|
616
617
|
return ye == he + "";
|
|
617
|
-
case
|
|
618
|
-
var Ke =
|
|
618
|
+
case S:
|
|
619
|
+
var Ke = Y;
|
|
619
620
|
case M:
|
|
620
621
|
var ut = 2 & Le;
|
|
621
622
|
if (Ke || (Ke = d), ye.size != he.size && !ut) return !1;
|
|
622
|
-
var vt =
|
|
623
|
+
var vt = ze.get(ye);
|
|
623
624
|
if (vt) return vt == he;
|
|
624
|
-
Le |= 1,
|
|
625
|
-
var at = Bt(Ke(ye), Ke(he), Qe, gt, Le,
|
|
626
|
-
return
|
|
625
|
+
Le |= 1, ze.set(ye, he);
|
|
626
|
+
var at = Bt(Ke(ye), Ke(he), Qe, gt, Le, ze);
|
|
627
|
+
return ze.delete(ye), at;
|
|
627
628
|
case "[object Symbol]":
|
|
628
629
|
if (A) return A.call(ye) == A.call(he);
|
|
629
630
|
}
|
|
630
631
|
return !1;
|
|
631
|
-
})(L,
|
|
632
|
+
})(L, W, Te, xe, je, be, se);
|
|
632
633
|
if (!(2 & be)) {
|
|
633
|
-
var Wt = Pe && g.call(L, "__wrapped__"), Jt = rt && g.call(
|
|
634
|
+
var Wt = Pe && g.call(L, "__wrapped__"), Jt = rt && g.call(W, "__wrapped__");
|
|
634
635
|
if (Wt || Jt) {
|
|
635
|
-
var mr = Wt ? L.value() : L, br = Jt ?
|
|
636
|
-
return
|
|
636
|
+
var mr = Wt ? L.value() : L, br = Jt ? W.value() : W;
|
|
637
|
+
return se || (se = new Ee()), xe(mr, br, je, be, se);
|
|
637
638
|
}
|
|
638
639
|
}
|
|
639
|
-
return Ge ? (
|
|
640
|
-
var
|
|
641
|
-
if (ut != vt && !
|
|
640
|
+
return Ge ? (se || (se = new Ee()), (function(ye, he, Dt, Qe, gt, Le) {
|
|
641
|
+
var ze = 2 & gt, Ke = yt(ye), ut = Ke.length, vt = yt(he).length;
|
|
642
|
+
if (ut != vt && !ze) return !1;
|
|
642
643
|
for (var at = ut; at--; ) {
|
|
643
644
|
var We = Ke[at];
|
|
644
|
-
if (!(
|
|
645
|
+
if (!(ze ? We in he : g.call(he, We))) return !1;
|
|
645
646
|
}
|
|
646
647
|
var Yt = Le.get(ye);
|
|
647
648
|
if (Yt && Le.get(he)) return Yt == he;
|
|
648
649
|
var Ct = !0;
|
|
649
650
|
Le.set(ye, he), Le.set(he, ye);
|
|
650
|
-
for (var Ft =
|
|
651
|
+
for (var Ft = ze; ++at < ut; ) {
|
|
651
652
|
We = Ke[at];
|
|
652
653
|
var _t = ye[We], xt = he[We];
|
|
653
|
-
if (Qe) var Zt =
|
|
654
|
+
if (Qe) var Zt = ze ? Qe(xt, _t, We, he, ye, Le) : Qe(_t, xt, We, ye, he, Le);
|
|
654
655
|
if (!(Zt === void 0 ? _t === xt || Dt(_t, xt, Qe, gt, Le) : Zt)) {
|
|
655
656
|
Ct = !1;
|
|
656
657
|
break;
|
|
@@ -662,7 +663,7 @@ function Or() {
|
|
|
662
663
|
jt == wt || !("constructor" in ye) || !("constructor" in he) || typeof jt == "function" && jt instanceof jt && typeof wt == "function" && wt instanceof wt || (Ct = !1);
|
|
663
664
|
}
|
|
664
665
|
return Le.delete(ye), Le.delete(he), Ct;
|
|
665
|
-
})(L,
|
|
666
|
+
})(L, W, xe, je, be, se)) : !1;
|
|
666
667
|
})(t, a, st, s, p, F));
|
|
667
668
|
}
|
|
668
669
|
function lt(t) {
|
|
@@ -673,42 +674,42 @@ function Or() {
|
|
|
673
674
|
function cr(t) {
|
|
674
675
|
return typeof t == "function" ? t : t == null ? hr : typeof t == "object" ? qe(t) ? (function(p, F) {
|
|
675
676
|
return pt(p) && zt(F) ? Ut(ht(p), F) : function(L) {
|
|
676
|
-
var
|
|
677
|
-
var
|
|
678
|
-
return
|
|
677
|
+
var W = (function(xe, je, be) {
|
|
678
|
+
var se = xe == null ? void 0 : ot(xe, je);
|
|
679
|
+
return se === void 0 ? be : se;
|
|
679
680
|
})(L, p);
|
|
680
|
-
return
|
|
681
|
-
return xe != null && (function(be,
|
|
682
|
-
|
|
683
|
-
for (var Me, Te = -1, Ie =
|
|
684
|
-
var Pe = ht(
|
|
681
|
+
return W === void 0 && W === F ? (function(xe, je) {
|
|
682
|
+
return xe != null && (function(be, se, $e) {
|
|
683
|
+
se = pt(se, be) ? [se] : Ht(se);
|
|
684
|
+
for (var Me, Te = -1, Ie = se.length; ++Te < Ie; ) {
|
|
685
|
+
var Pe = ht(se[Te]);
|
|
685
686
|
if (!(Me = be != null && $e(be, Pe))) break;
|
|
686
687
|
be = be[Pe];
|
|
687
688
|
}
|
|
688
689
|
return Me || !!(Ie = be ? be.length : 0) && kt(Ie) && Vt(Pe, Ie) && (qe(be) || Gt(be));
|
|
689
690
|
})(xe, je, It);
|
|
690
|
-
})(L, p) : st(F,
|
|
691
|
+
})(L, p) : st(F, W, void 0, 3);
|
|
691
692
|
};
|
|
692
693
|
})(t[0], t[1]) : (function(p) {
|
|
693
694
|
var F = (function(L) {
|
|
694
|
-
for (var
|
|
695
|
-
var je =
|
|
696
|
-
|
|
695
|
+
for (var W = yt(L), xe = W.length; xe--; ) {
|
|
696
|
+
var je = W[xe], be = L[je];
|
|
697
|
+
W[xe] = [je, be, zt(be)];
|
|
697
698
|
}
|
|
698
|
-
return
|
|
699
|
+
return W;
|
|
699
700
|
})(p);
|
|
700
701
|
return F.length == 1 && F[0][2] ? Ut(F[0][0], F[0][1]) : function(L) {
|
|
701
|
-
return L === p || (function(
|
|
702
|
-
var
|
|
703
|
-
if (
|
|
704
|
-
for (
|
|
705
|
-
var Me = je[
|
|
706
|
-
if (Me[2] ? Me[1] !==
|
|
702
|
+
return L === p || (function(W, xe, je, be) {
|
|
703
|
+
var se = je.length, $e = se;
|
|
704
|
+
if (W == null) return !$e;
|
|
705
|
+
for (W = Object(W); se--; ) {
|
|
706
|
+
var Me = je[se];
|
|
707
|
+
if (Me[2] ? Me[1] !== W[Me[0]] : !(Me[0] in W)) return !1;
|
|
707
708
|
}
|
|
708
|
-
for (; ++
|
|
709
|
-
var Te = (Me = je[
|
|
709
|
+
for (; ++se < $e; ) {
|
|
710
|
+
var Te = (Me = je[se])[0], Ie = W[Te], Pe = Me[1];
|
|
710
711
|
if (Me[2]) {
|
|
711
|
-
if (Ie === void 0 && !(Te in
|
|
712
|
+
if (Ie === void 0 && !(Te in W)) return !1;
|
|
712
713
|
} else {
|
|
713
714
|
var rt = new Ee(), Ge;
|
|
714
715
|
if (!(Ge === void 0 ? st(Pe, Ie, be, 3, rt) : Ge)) return !1;
|
|
@@ -736,14 +737,14 @@ function Or() {
|
|
|
736
737
|
return qe(t) ? t : fr(t);
|
|
737
738
|
}
|
|
738
739
|
function Bt(t, a, s, p, F, L) {
|
|
739
|
-
var
|
|
740
|
-
if (xe != je && !(
|
|
740
|
+
var W = 2 & F, xe = t.length, je = a.length;
|
|
741
|
+
if (xe != je && !(W && je > xe)) return !1;
|
|
741
742
|
var be = L.get(t);
|
|
742
743
|
if (be && L.get(a)) return be == a;
|
|
743
|
-
var
|
|
744
|
-
for (L.set(t, a), L.set(a, t); ++
|
|
745
|
-
var Te = t[
|
|
746
|
-
if (p) var Pe =
|
|
744
|
+
var se = -1, $e = !0, Me = 1 & F ? new Fe() : void 0;
|
|
745
|
+
for (L.set(t, a), L.set(a, t); ++se < xe; ) {
|
|
746
|
+
var Te = t[se], Ie = a[se];
|
|
747
|
+
if (p) var Pe = W ? p(Ie, Te, se, a, t, L) : p(Te, Ie, se, t, a, L);
|
|
747
748
|
if (Pe !== void 0) {
|
|
748
749
|
if (Pe) continue;
|
|
749
750
|
$e = !1;
|
|
@@ -782,7 +783,7 @@ function Or() {
|
|
|
782
783
|
function pt(t, a) {
|
|
783
784
|
if (qe(t)) return !1;
|
|
784
785
|
var s = typeof t;
|
|
785
|
-
return !(s != "number" && s != "symbol" && s != "boolean" && t != null && !Ot(t)) ||
|
|
786
|
+
return !(s != "number" && s != "symbol" && s != "boolean" && t != null && !Ot(t)) || le.test(t) || !G.test(t) || a != null && t in Object(a);
|
|
786
787
|
}
|
|
787
788
|
function zt(t) {
|
|
788
789
|
return t == t && !mt(t);
|
|
@@ -792,16 +793,16 @@ function Or() {
|
|
|
792
793
|
return s != null && s[t] === a && (a !== void 0 || t in Object(s));
|
|
793
794
|
};
|
|
794
795
|
}
|
|
795
|
-
(ie && Ue(new ie(new ArrayBuffer(1))) != "[object DataView]" || we && Ue(new we()) !=
|
|
796
|
+
(ie && Ue(new ie(new ArrayBuffer(1))) != "[object DataView]" || we && Ue(new we()) != S || H && Ue(H.resolve()) != "[object Promise]" || n && Ue(new n()) != M || u && Ue(new u()) != "[object WeakMap]") && (Ue = function(t) {
|
|
796
797
|
var a = e.call(t), s = a == E ? t.constructor : void 0, p = s ? Ze(s) : void 0;
|
|
797
798
|
if (p) switch (p) {
|
|
798
799
|
case U:
|
|
799
800
|
return "[object DataView]";
|
|
800
801
|
case P:
|
|
801
|
-
return
|
|
802
|
+
return S;
|
|
802
803
|
case q:
|
|
803
804
|
return "[object Promise]";
|
|
804
|
-
case
|
|
805
|
+
case Z:
|
|
805
806
|
return M;
|
|
806
807
|
case de:
|
|
807
808
|
return "[object WeakMap]";
|
|
@@ -817,8 +818,8 @@ function Or() {
|
|
|
817
818
|
return F == "0" && 1 / p == -1 / 0 ? "-0" : F;
|
|
818
819
|
})(a);
|
|
819
820
|
var s = [];
|
|
820
|
-
return z.test(t) && s.push(""), t.replace(
|
|
821
|
-
s.push(L ?
|
|
821
|
+
return z.test(t) && s.push(""), t.replace(_, (function(p, F, L, W) {
|
|
822
|
+
s.push(L ? W.replace($, "$1") : F || p);
|
|
822
823
|
})), s;
|
|
823
824
|
}));
|
|
824
825
|
function ht(t) {
|
|
@@ -829,7 +830,7 @@ function Or() {
|
|
|
829
830
|
function Ze(t) {
|
|
830
831
|
if (t != null) {
|
|
831
832
|
try {
|
|
832
|
-
return
|
|
833
|
+
return K.call(t);
|
|
833
834
|
} catch {
|
|
834
835
|
}
|
|
835
836
|
try {
|
|
@@ -844,8 +845,8 @@ function Or() {
|
|
|
844
845
|
var s = function() {
|
|
845
846
|
var p = arguments, F = a ? a.apply(this, p) : p[0], L = s.cache;
|
|
846
847
|
if (L.has(F)) return L.get(F);
|
|
847
|
-
var
|
|
848
|
-
return s.cache = L.set(F,
|
|
848
|
+
var W = t.apply(this, p);
|
|
849
|
+
return s.cache = L.set(F, W), W;
|
|
849
850
|
};
|
|
850
851
|
return s.cache = new (Et.Cache || _e)(), s;
|
|
851
852
|
}
|
|
@@ -879,11 +880,11 @@ function Or() {
|
|
|
879
880
|
function Ot(t) {
|
|
880
881
|
return typeof t == "symbol" || bt(t) && e.call(t) == "[object Symbol]";
|
|
881
882
|
}
|
|
882
|
-
var pr =
|
|
883
|
+
var pr = J ? /* @__PURE__ */ (function(t) {
|
|
883
884
|
return function(a) {
|
|
884
885
|
return t(a);
|
|
885
886
|
};
|
|
886
|
-
})(
|
|
887
|
+
})(J) : function(t) {
|
|
887
888
|
return bt(t) && kt(t.length) && !!b[e.call(t)];
|
|
888
889
|
};
|
|
889
890
|
function yt(t) {
|
|
@@ -920,14 +921,14 @@ function Or() {
|
|
|
920
921
|
function v(w) {
|
|
921
922
|
return (function(m) {
|
|
922
923
|
if (Array.isArray(m)) {
|
|
923
|
-
for (var D = 0,
|
|
924
|
-
return
|
|
924
|
+
for (var D = 0, K = new Array(m.length); D < m.length; D++) K[D] = m[D];
|
|
925
|
+
return K;
|
|
925
926
|
}
|
|
926
927
|
})(w) || f(w) || (function() {
|
|
927
928
|
throw new TypeError("Invalid attempt to spread non-iterable instance");
|
|
928
929
|
})();
|
|
929
930
|
}
|
|
930
|
-
function
|
|
931
|
+
function S(w) {
|
|
931
932
|
if (Array.isArray(w)) return w;
|
|
932
933
|
}
|
|
933
934
|
function E() {
|
|
@@ -936,27 +937,27 @@ function Or() {
|
|
|
936
937
|
function M(w, m) {
|
|
937
938
|
if (!(w instanceof m)) throw new TypeError("Cannot call a class as a function");
|
|
938
939
|
}
|
|
939
|
-
function
|
|
940
|
+
function G(w, m) {
|
|
940
941
|
for (var D = 0; D < m.length; D++) {
|
|
941
|
-
var
|
|
942
|
-
|
|
942
|
+
var K = m[D];
|
|
943
|
+
K.enumerable = K.enumerable || !1, K.configurable = !0, "value" in K && (K.writable = !0), Object.defineProperty(w, K.key, K);
|
|
943
944
|
}
|
|
944
945
|
}
|
|
945
|
-
function
|
|
946
|
-
return (
|
|
946
|
+
function le(w) {
|
|
947
|
+
return (le = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(m) {
|
|
947
948
|
return typeof m;
|
|
948
949
|
} : function(m) {
|
|
949
950
|
return m && typeof Symbol == "function" && m.constructor === Symbol && m !== Symbol.prototype ? "symbol" : typeof m;
|
|
950
951
|
})(w);
|
|
951
952
|
}
|
|
952
953
|
function z(w) {
|
|
953
|
-
return (z = typeof Symbol == "function" &&
|
|
954
|
-
return
|
|
954
|
+
return (z = typeof Symbol == "function" && le(Symbol.iterator) === "symbol" ? function(m) {
|
|
955
|
+
return le(m);
|
|
955
956
|
} : function(m) {
|
|
956
|
-
return m && typeof Symbol == "function" && m.constructor === Symbol && m !== Symbol.prototype ? "symbol" :
|
|
957
|
+
return m && typeof Symbol == "function" && m.constructor === Symbol && m !== Symbol.prototype ? "symbol" : le(m);
|
|
957
958
|
})(w);
|
|
958
959
|
}
|
|
959
|
-
function
|
|
960
|
+
function _(w) {
|
|
960
961
|
if (w === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
961
962
|
return w;
|
|
962
963
|
}
|
|
@@ -966,18 +967,18 @@ function Or() {
|
|
|
966
967
|
})(w);
|
|
967
968
|
}
|
|
968
969
|
function V(w, m) {
|
|
969
|
-
return (V = Object.setPrototypeOf || function(D,
|
|
970
|
-
return D.__proto__ =
|
|
970
|
+
return (V = Object.setPrototypeOf || function(D, K) {
|
|
971
|
+
return D.__proto__ = K, D;
|
|
971
972
|
})(w, m);
|
|
972
973
|
}
|
|
973
974
|
o.r(c);
|
|
974
|
-
var X = o(0), b = o.n(X),
|
|
975
|
+
var X = o(0), b = o.n(X), oe = o(5), k = o.n(oe), R = o(4), T = o.n(R), y = o(6), ee = o.n(y), B = o(2), J = o.n(B), ue = o(1), te = o.n(ue);
|
|
975
976
|
o(8);
|
|
976
977
|
function ve(w, m) {
|
|
977
|
-
return
|
|
978
|
+
return S(w) || (function(D, K) {
|
|
978
979
|
var g = [], e = !0, ne = !1, re = void 0;
|
|
979
980
|
try {
|
|
980
|
-
for (var
|
|
981
|
+
for (var Q, ce = D[Symbol.iterator](); !(e = (Q = ce.next()).done) && (g.push(Q.value), !K || g.length !== K); e = !0) ;
|
|
981
982
|
} catch (pe) {
|
|
982
983
|
ne = !0, re = pe;
|
|
983
984
|
} finally {
|
|
@@ -990,56 +991,56 @@ function Or() {
|
|
|
990
991
|
return g;
|
|
991
992
|
})(w, m) || E();
|
|
992
993
|
}
|
|
993
|
-
var Ce = [["Afghanistan", ["asia"], "af", "93"], ["Albania", ["europe"], "al", "355"], ["Algeria", ["africa", "north-africa"], "dz", "213"], ["Andorra", ["europe"], "ad", "376"], ["Angola", ["africa"], "ao", "244"], ["Antigua and Barbuda", ["america", "carribean"], "ag", "1268"], ["Argentina", ["america", "south-america"], "ar", "54", "(..) ........", 0, ["11", "221", "223", "261", "264", "2652", "280", "2905", "291", "2920", "2966", "299", "341", "342", "343", "351", "376", "379", "381", "3833", "385", "387", "388"]], ["Armenia", ["asia", "ex-ussr"], "am", "374", ".. ......"], ["Aruba", ["america", "carribean"], "aw", "297"], ["Australia", ["oceania"], "au", "61", "(..) .... ....", 0, ["2", "3", "4", "7", "8", "02", "03", "04", "07", "08"]], ["Austria", ["europe", "eu-union"], "at", "43"], ["Azerbaijan", ["asia", "ex-ussr"], "az", "994", "(..) ... .. .."], ["Bahamas", ["america", "carribean"], "bs", "1242"], ["Bahrain", ["middle-east"], "bh", "973"], ["Bangladesh", ["asia"], "bd", "880"], ["Barbados", ["america", "carribean"], "bb", "1246"], ["Belarus", ["europe", "ex-ussr"], "by", "375", "(..) ... .. .."], ["Belgium", ["europe", "eu-union"], "be", "32", "... .. .. .."], ["Belize", ["america", "central-america"], "bz", "501"], ["Benin", ["africa"], "bj", "229"], ["Bhutan", ["asia"], "bt", "975"], ["Bolivia", ["america", "south-america"], "bo", "591"], ["Bosnia and Herzegovina", ["europe", "ex-yugos"], "ba", "387"], ["Botswana", ["africa"], "bw", "267"], ["Brazil", ["america", "south-america"], "br", "55", "(..) ........."], ["British Indian Ocean Territory", ["asia"], "io", "246"], ["Brunei", ["asia"], "bn", "673"], ["Bulgaria", ["europe", "eu-union"], "bg", "359"], ["Burkina Faso", ["africa"], "bf", "226"], ["Burundi", ["africa"], "bi", "257"], ["Cambodia", ["asia"], "kh", "855"], ["Cameroon", ["africa"], "cm", "237"], ["Canada", ["america", "north-america"], "ca", "1", "(...) ...-....", 1, ["204", "226", "236", "249", "250", "289", "306", "343", "365", "387", "403", "416", "418", "431", "437", "438", "450", "506", "514", "519", "548", "579", "581", "587", "604", "613", "639", "647", "672", "705", "709", "742", "778", "780", "782", "807", "819", "825", "867", "873", "902", "905"]], ["Cape Verde", ["africa"], "cv", "238"], ["Caribbean Netherlands", ["america", "carribean"], "bq", "599", "", 1], ["Central African Republic", ["africa"], "cf", "236"], ["Chad", ["africa"], "td", "235"], ["Chile", ["america", "south-america"], "cl", "56"], ["China", ["asia"], "cn", "86", "..-........."], ["Colombia", ["america", "south-america"], "co", "57", "... ... ...."], ["Comoros", ["africa"], "km", "269"], ["Congo", ["africa"], "cd", "243"], ["Congo", ["africa"], "cg", "242"], ["Costa Rica", ["america", "central-america"], "cr", "506", "....-...."], ["Côte d’Ivoire", ["africa"], "ci", "225", ".. .. .. .."], ["Croatia", ["europe", "eu-union", "ex-yugos"], "hr", "385"], ["Cuba", ["america", "carribean"], "cu", "53"], ["Curaçao", ["america", "carribean"], "cw", "599", "", 0], ["Cyprus", ["europe", "eu-union"], "cy", "357", ".. ......"], ["Czech Republic", ["europe", "eu-union"], "cz", "420", "... ... ..."], ["Denmark", ["europe", "eu-union", "baltic"], "dk", "45", ".. .. .. .."], ["Djibouti", ["africa"], "dj", "253"], ["Dominica", ["america", "carribean"], "dm", "1767"], ["Dominican Republic", ["america", "carribean"], "do", "1", "", 2, ["809", "829", "849"]], ["Ecuador", ["america", "south-america"], "ec", "593"], ["Egypt", ["africa", "north-africa"], "eg", "20"], ["El Salvador", ["america", "central-america"], "sv", "503", "....-...."], ["Equatorial Guinea", ["africa"], "gq", "240"], ["Eritrea", ["africa"], "er", "291"], ["Estonia", ["europe", "eu-union", "ex-ussr", "baltic"], "ee", "372", ".... ......"], ["Ethiopia", ["africa"], "et", "251"], ["Fiji", ["oceania"], "fj", "679"], ["Finland", ["europe", "eu-union", "baltic"], "fi", "358", ".. ... .. .."], ["France", ["europe", "eu-union"], "fr", "33", ". .. .. .. .."], ["French Guiana", ["america", "south-america"], "gf", "594"], ["French Polynesia", ["oceania"], "pf", "689"], ["Gabon", ["africa"], "ga", "241"], ["Gambia", ["africa"], "gm", "220"], ["Georgia", ["asia", "ex-ussr"], "ge", "995"], ["Germany", ["europe", "eu-union", "baltic"], "de", "49", ".... ........"], ["Ghana", ["africa"], "gh", "233"], ["Greece", ["europe", "eu-union"], "gr", "30"], ["Grenada", ["america", "carribean"], "gd", "1473"], ["Guadeloupe", ["america", "carribean"], "gp", "590", "", 0], ["Guam", ["oceania"], "gu", "1671"], ["Guatemala", ["america", "central-america"], "gt", "502", "....-...."], ["Guinea", ["africa"], "gn", "224"], ["Guinea-Bissau", ["africa"], "gw", "245"], ["Guyana", ["america", "south-america"], "gy", "592"], ["Haiti", ["america", "carribean"], "ht", "509", "....-...."], ["Honduras", ["america", "central-america"], "hn", "504"], ["Hong Kong", ["asia"], "hk", "852", ".... ...."], ["Hungary", ["europe", "eu-union"], "hu", "36"], ["Iceland", ["europe"], "is", "354", "... ...."], ["India", ["asia"], "in", "91", ".....-....."], ["Indonesia", ["asia"], "id", "62"], ["Iran", ["middle-east"], "ir", "98", "... ... ...."], ["Iraq", ["middle-east"], "iq", "964"], ["Ireland", ["europe", "eu-union"], "ie", "353", ".. ......."], ["Israel", ["middle-east"], "il", "972", "... ... ...."], ["Italy", ["europe", "eu-union"], "it", "39", "... .......", 0], ["Jamaica", ["america", "carribean"], "jm", "1876"], ["Japan", ["asia"], "jp", "81", ".. .... ...."], ["Jordan", ["middle-east"], "jo", "962"], ["Kazakhstan", ["asia", "ex-ussr"], "kz", "7", "... ...-..-..", 1, ["310", "311", "312", "313", "315", "318", "321", "324", "325", "326", "327", "336", "7172", "73622"]], ["Kenya", ["africa"], "ke", "254"], ["Kiribati", ["oceania"], "ki", "686"], ["Kosovo", ["europe", "ex-yugos"], "xk", "383"], ["Kuwait", ["middle-east"], "kw", "965"], ["Kyrgyzstan", ["asia", "ex-ussr"], "kg", "996", "... ... ..."], ["Laos", ["asia"], "la", "856"], ["Latvia", ["europe", "eu-union", "ex-ussr", "baltic"], "lv", "371", ".. ... ..."], ["Lebanon", ["middle-east"], "lb", "961"], ["Lesotho", ["africa"], "ls", "266"], ["Liberia", ["africa"], "lr", "231"], ["Libya", ["africa", "north-africa"], "ly", "218"], ["Liechtenstein", ["europe"], "li", "423"], ["Lithuania", ["europe", "eu-union", "ex-ussr", "baltic"], "lt", "370"], ["Luxembourg", ["europe", "eu-union"], "lu", "352"], ["Macau", ["asia"], "mo", "853"], ["Macedonia", ["europe", "ex-yugos"], "mk", "389"], ["Madagascar", ["africa"], "mg", "261"], ["Malawi", ["africa"], "mw", "265"], ["Malaysia", ["asia"], "my", "60", "..-....-...."], ["Maldives", ["asia"], "mv", "960"], ["Mali", ["africa"], "ml", "223"], ["Malta", ["europe", "eu-union"], "mt", "356"], ["Marshall Islands", ["oceania"], "mh", "692"], ["Martinique", ["america", "carribean"], "mq", "596"], ["Mauritania", ["africa"], "mr", "222"], ["Mauritius", ["africa"], "mu", "230"], ["Mexico", ["america", "central-america"], "mx", "52", "... ... ....", 0, ["55", "81", "33", "656", "664", "998", "774", "229"]], ["Micronesia", ["oceania"], "fm", "691"], ["Moldova", ["europe"], "md", "373", "(..) ..-..-.."], ["Monaco", ["europe"], "mc", "377"], ["Mongolia", ["asia"], "mn", "976"], ["Montenegro", ["europe", "ex-yugos"], "me", "382"], ["Morocco", ["africa", "north-africa"], "ma", "212"], ["Mozambique", ["africa"], "mz", "258"], ["Myanmar", ["asia"], "mm", "95"], ["Namibia", ["africa"], "na", "264"], ["Nauru", ["africa"], "nr", "674"], ["Nepal", ["asia"], "np", "977"], ["Netherlands", ["europe", "eu-union"], "nl", "31", ".. ........"], ["New Caledonia", ["oceania"], "nc", "687"], ["New Zealand", ["oceania"], "nz", "64", "...-...-...."], ["Nicaragua", ["america", "central-america"], "ni", "505"], ["Niger", ["africa"], "ne", "227"], ["Nigeria", ["africa"], "ng", "234"], ["North Korea", ["asia"], "kp", "850"], ["Norway", ["europe", "baltic"], "no", "47", "... .. ..."], ["Oman", ["middle-east"], "om", "968"], ["Pakistan", ["asia"], "pk", "92", "...-......."], ["Palau", ["oceania"], "pw", "680"], ["Palestine", ["middle-east"], "ps", "970"], ["Panama", ["america", "central-america"], "pa", "507"], ["Papua New Guinea", ["oceania"], "pg", "675"], ["Paraguay", ["america", "south-america"], "py", "595"], ["Peru", ["america", "south-america"], "pe", "51"], ["Philippines", ["asia"], "ph", "63", ".... ......."], ["Poland", ["europe", "eu-union", "baltic"], "pl", "48", "...-...-..."], ["Portugal", ["europe", "eu-union"], "pt", "351"], ["Puerto Rico", ["america", "carribean"], "pr", "1", "", 3, ["787", "939"]], ["Qatar", ["middle-east"], "qa", "974"], ["Réunion", ["africa"], "re", "262"], ["Romania", ["europe", "eu-union"], "ro", "40"], ["Russia", ["europe", "asia", "ex-ussr", "baltic"], "ru", "7", "(...) ...-..-..", 0], ["Rwanda", ["africa"], "rw", "250"], ["Saint Kitts and Nevis", ["america", "carribean"], "kn", "1869"], ["Saint Lucia", ["america", "carribean"], "lc", "1758"], ["Saint Vincent and the Grenadines", ["america", "carribean"], "vc", "1784"], ["Samoa", ["oceania"], "ws", "685"], ["San Marino", ["europe"], "sm", "378"], ["São Tomé and Príncipe", ["africa"], "st", "239"], ["Saudi Arabia", ["middle-east"], "sa", "966"], ["Senegal", ["africa"], "sn", "221"], ["Serbia", ["europe", "ex-yugos"], "rs", "381"], ["Seychelles", ["africa"], "sc", "248"], ["Sierra Leone", ["africa"], "sl", "232"], ["Singapore", ["asia"], "sg", "65", "....-...."], ["Slovakia", ["europe", "eu-union"], "sk", "421"], ["Slovenia", ["europe", "eu-union", "ex-yugos"], "si", "386"], ["Solomon Islands", ["oceania"], "sb", "677"], ["Somalia", ["africa"], "so", "252"], ["South Africa", ["africa"], "za", "27"], ["South Korea", ["asia"], "kr", "82", "... .... ...."], ["South Sudan", ["africa", "north-africa"], "ss", "211"], ["Spain", ["europe", "eu-union"], "es", "34", "... ... ..."], ["Sri Lanka", ["asia"], "lk", "94"], ["Sudan", ["africa"], "sd", "249"], ["Suriname", ["america", "south-america"], "sr", "597"], ["Swaziland", ["africa"], "sz", "268"], ["Sweden", ["europe", "eu-union", "baltic"], "se", "46", "(...) ...-..."], ["Switzerland", ["europe"], "ch", "41", ".. ... .. .."], ["Syria", ["middle-east"], "sy", "963"], ["Taiwan", ["asia"], "tw", "886"], ["Tajikistan", ["asia", "ex-ussr"], "tj", "992"], ["Tanzania", ["africa"], "tz", "255"], ["Thailand", ["asia"], "th", "66"], ["Timor-Leste", ["asia"], "tl", "670"], ["Togo", ["africa"], "tg", "228"], ["Tonga", ["oceania"], "to", "676"], ["Trinidad and Tobago", ["america", "carribean"], "tt", "1868"], ["Tunisia", ["africa", "north-africa"], "tn", "216"], ["Turkey", ["europe"], "tr", "90", "... ... .. .."], ["Turkmenistan", ["asia", "ex-ussr"], "tm", "993"], ["Tuvalu", ["asia"], "tv", "688"], ["Uganda", ["africa"], "ug", "256"], ["Ukraine", ["europe", "ex-ussr"], "ua", "380", "(..) ... .. .."], ["United Arab Emirates", ["middle-east"], "ae", "971"], ["United Kingdom", ["europe", "eu-union"], "gb", "44", ".... ......"], ["United States", ["america", "north-america"], "us", "1", "(...) ...-....", 0, ["907", "205", "251", "256", "334", "479", "501", "870", "480", "520", "602", "623", "928", "209", "213", "310", "323", "408", "415", "510", "530", "559", "562", "619", "626", "650", "661", "707", "714", "760", "805", "818", "831", "858", "909", "916", "925", "949", "951", "303", "719", "970", "203", "860", "202", "302", "239", "305", "321", "352", "386", "407", "561", "727", "772", "813", "850", "863", "904", "941", "954", "229", "404", "478", "706", "770", "912", "808", "319", "515", "563", "641", "712", "208", "217", "309", "312", "618", "630", "708", "773", "815", "847", "219", "260", "317", "574", "765", "812", "316", "620", "785", "913", "270", "502", "606", "859", "225", "318", "337", "504", "985", "413", "508", "617", "781", "978", "301", "410", "207", "231", "248", "269", "313", "517", "586", "616", "734", "810", "906", "989", "218", "320", "507", "612", "651", "763", "952", "314", "417", "573", "636", "660", "816", "228", "601", "662", "406", "252", "336", "704", "828", "910", "919", "701", "308", "402", "603", "201", "609", "732", "856", "908", "973", "505", "575", "702", "775", "212", "315", "516", "518", "585", "607", "631", "716", "718", "845", "914", "216", "330", "419", "440", "513", "614", "740", "937", "405", "580", "918", "503", "541", "215", "412", "570", "610", "717", "724", "814", "401", "803", "843", "864", "605", "423", "615", "731", "865", "901", "931", "210", "214", "254", "281", "325", "361", "409", "432", "512", "713", "806", "817", "830", "903", "915", "936", "940", "956", "972", "979", "435", "801", "276", "434", "540", "703", "757", "804", "802", "206", "253", "360", "425", "509", "262", "414", "608", "715", "920", "304", "307"]], ["Uruguay", ["america", "south-america"], "uy", "598"], ["Uzbekistan", ["asia", "ex-ussr"], "uz", "998", ".. ... .. .."], ["Vanuatu", ["oceania"], "vu", "678"], ["Vatican City", ["europe"], "va", "39", ".. .... ....", 1], ["Venezuela", ["america", "south-america"], "ve", "58"], ["Vietnam", ["asia"], "vn", "84"], ["Yemen", ["middle-east"], "ye", "967"], ["Zambia", ["africa"], "zm", "260"], ["Zimbabwe", ["africa"], "zw", "263"]], J = [["American Samoa", ["oceania"], "as", "1684"], ["Anguilla", ["america", "carribean"], "ai", "1264"], ["Bermuda", ["america", "north-america"], "bm", "1441"], ["British Virgin Islands", ["america", "carribean"], "vg", "1284"], ["Cayman Islands", ["america", "carribean"], "ky", "1345"], ["Cook Islands", ["oceania"], "ck", "682"], ["Falkland Islands", ["america", "south-america"], "fk", "500"], ["Faroe Islands", ["europe"], "fo", "298"], ["Gibraltar", ["europe"], "gi", "350"], ["Greenland", ["america"], "gl", "299"], ["Jersey", ["europe", "eu-union"], "je", "44", ".... ......"], ["Montserrat", ["america", "carribean"], "ms", "1664"], ["Niue", ["asia"], "nu", "683"], ["Norfolk Island", ["oceania"], "nf", "672"], ["Northern Mariana Islands", ["oceania"], "mp", "1670"], ["Saint Barthélemy", ["america", "carribean"], "bl", "590", "", 1], ["Saint Helena", ["africa"], "sh", "290"], ["Saint Martin", ["america", "carribean"], "mf", "590", "", 2], ["Saint Pierre and Miquelon", ["america", "north-america"], "pm", "508"], ["Sint Maarten", ["america", "carribean"], "sx", "1721"], ["Tokelau", ["oceania"], "tk", "690"], ["Turks and Caicos Islands", ["america", "carribean"], "tc", "1649"], ["U.S. Virgin Islands", ["america", "carribean"], "vi", "1340"], ["Wallis and Futuna", ["oceania"], "wf", "681"]];
|
|
994
|
-
function d(w, m, D,
|
|
995
|
-
return !D || g ? w + "".padEnd(m.length, ".") + " " +
|
|
994
|
+
var Ce = [["Afghanistan", ["asia"], "af", "93"], ["Albania", ["europe"], "al", "355"], ["Algeria", ["africa", "north-africa"], "dz", "213"], ["Andorra", ["europe"], "ad", "376"], ["Angola", ["africa"], "ao", "244"], ["Antigua and Barbuda", ["america", "carribean"], "ag", "1268"], ["Argentina", ["america", "south-america"], "ar", "54", "(..) ........", 0, ["11", "221", "223", "261", "264", "2652", "280", "2905", "291", "2920", "2966", "299", "341", "342", "343", "351", "376", "379", "381", "3833", "385", "387", "388"]], ["Armenia", ["asia", "ex-ussr"], "am", "374", ".. ......"], ["Aruba", ["america", "carribean"], "aw", "297"], ["Australia", ["oceania"], "au", "61", "(..) .... ....", 0, ["2", "3", "4", "7", "8", "02", "03", "04", "07", "08"]], ["Austria", ["europe", "eu-union"], "at", "43"], ["Azerbaijan", ["asia", "ex-ussr"], "az", "994", "(..) ... .. .."], ["Bahamas", ["america", "carribean"], "bs", "1242"], ["Bahrain", ["middle-east"], "bh", "973"], ["Bangladesh", ["asia"], "bd", "880"], ["Barbados", ["america", "carribean"], "bb", "1246"], ["Belarus", ["europe", "ex-ussr"], "by", "375", "(..) ... .. .."], ["Belgium", ["europe", "eu-union"], "be", "32", "... .. .. .."], ["Belize", ["america", "central-america"], "bz", "501"], ["Benin", ["africa"], "bj", "229"], ["Bhutan", ["asia"], "bt", "975"], ["Bolivia", ["america", "south-america"], "bo", "591"], ["Bosnia and Herzegovina", ["europe", "ex-yugos"], "ba", "387"], ["Botswana", ["africa"], "bw", "267"], ["Brazil", ["america", "south-america"], "br", "55", "(..) ........."], ["British Indian Ocean Territory", ["asia"], "io", "246"], ["Brunei", ["asia"], "bn", "673"], ["Bulgaria", ["europe", "eu-union"], "bg", "359"], ["Burkina Faso", ["africa"], "bf", "226"], ["Burundi", ["africa"], "bi", "257"], ["Cambodia", ["asia"], "kh", "855"], ["Cameroon", ["africa"], "cm", "237"], ["Canada", ["america", "north-america"], "ca", "1", "(...) ...-....", 1, ["204", "226", "236", "249", "250", "289", "306", "343", "365", "387", "403", "416", "418", "431", "437", "438", "450", "506", "514", "519", "548", "579", "581", "587", "604", "613", "639", "647", "672", "705", "709", "742", "778", "780", "782", "807", "819", "825", "867", "873", "902", "905"]], ["Cape Verde", ["africa"], "cv", "238"], ["Caribbean Netherlands", ["america", "carribean"], "bq", "599", "", 1], ["Central African Republic", ["africa"], "cf", "236"], ["Chad", ["africa"], "td", "235"], ["Chile", ["america", "south-america"], "cl", "56"], ["China", ["asia"], "cn", "86", "..-........."], ["Colombia", ["america", "south-america"], "co", "57", "... ... ...."], ["Comoros", ["africa"], "km", "269"], ["Congo", ["africa"], "cd", "243"], ["Congo", ["africa"], "cg", "242"], ["Costa Rica", ["america", "central-america"], "cr", "506", "....-...."], ["Côte d’Ivoire", ["africa"], "ci", "225", ".. .. .. .."], ["Croatia", ["europe", "eu-union", "ex-yugos"], "hr", "385"], ["Cuba", ["america", "carribean"], "cu", "53"], ["Curaçao", ["america", "carribean"], "cw", "599", "", 0], ["Cyprus", ["europe", "eu-union"], "cy", "357", ".. ......"], ["Czech Republic", ["europe", "eu-union"], "cz", "420", "... ... ..."], ["Denmark", ["europe", "eu-union", "baltic"], "dk", "45", ".. .. .. .."], ["Djibouti", ["africa"], "dj", "253"], ["Dominica", ["america", "carribean"], "dm", "1767"], ["Dominican Republic", ["america", "carribean"], "do", "1", "", 2, ["809", "829", "849"]], ["Ecuador", ["america", "south-america"], "ec", "593"], ["Egypt", ["africa", "north-africa"], "eg", "20"], ["El Salvador", ["america", "central-america"], "sv", "503", "....-...."], ["Equatorial Guinea", ["africa"], "gq", "240"], ["Eritrea", ["africa"], "er", "291"], ["Estonia", ["europe", "eu-union", "ex-ussr", "baltic"], "ee", "372", ".... ......"], ["Ethiopia", ["africa"], "et", "251"], ["Fiji", ["oceania"], "fj", "679"], ["Finland", ["europe", "eu-union", "baltic"], "fi", "358", ".. ... .. .."], ["France", ["europe", "eu-union"], "fr", "33", ". .. .. .. .."], ["French Guiana", ["america", "south-america"], "gf", "594"], ["French Polynesia", ["oceania"], "pf", "689"], ["Gabon", ["africa"], "ga", "241"], ["Gambia", ["africa"], "gm", "220"], ["Georgia", ["asia", "ex-ussr"], "ge", "995"], ["Germany", ["europe", "eu-union", "baltic"], "de", "49", ".... ........"], ["Ghana", ["africa"], "gh", "233"], ["Greece", ["europe", "eu-union"], "gr", "30"], ["Grenada", ["america", "carribean"], "gd", "1473"], ["Guadeloupe", ["america", "carribean"], "gp", "590", "", 0], ["Guam", ["oceania"], "gu", "1671"], ["Guatemala", ["america", "central-america"], "gt", "502", "....-...."], ["Guinea", ["africa"], "gn", "224"], ["Guinea-Bissau", ["africa"], "gw", "245"], ["Guyana", ["america", "south-america"], "gy", "592"], ["Haiti", ["america", "carribean"], "ht", "509", "....-...."], ["Honduras", ["america", "central-america"], "hn", "504"], ["Hong Kong", ["asia"], "hk", "852", ".... ...."], ["Hungary", ["europe", "eu-union"], "hu", "36"], ["Iceland", ["europe"], "is", "354", "... ...."], ["India", ["asia"], "in", "91", ".....-....."], ["Indonesia", ["asia"], "id", "62"], ["Iran", ["middle-east"], "ir", "98", "... ... ...."], ["Iraq", ["middle-east"], "iq", "964"], ["Ireland", ["europe", "eu-union"], "ie", "353", ".. ......."], ["Israel", ["middle-east"], "il", "972", "... ... ...."], ["Italy", ["europe", "eu-union"], "it", "39", "... .......", 0], ["Jamaica", ["america", "carribean"], "jm", "1876"], ["Japan", ["asia"], "jp", "81", ".. .... ...."], ["Jordan", ["middle-east"], "jo", "962"], ["Kazakhstan", ["asia", "ex-ussr"], "kz", "7", "... ...-..-..", 1, ["310", "311", "312", "313", "315", "318", "321", "324", "325", "326", "327", "336", "7172", "73622"]], ["Kenya", ["africa"], "ke", "254"], ["Kiribati", ["oceania"], "ki", "686"], ["Kosovo", ["europe", "ex-yugos"], "xk", "383"], ["Kuwait", ["middle-east"], "kw", "965"], ["Kyrgyzstan", ["asia", "ex-ussr"], "kg", "996", "... ... ..."], ["Laos", ["asia"], "la", "856"], ["Latvia", ["europe", "eu-union", "ex-ussr", "baltic"], "lv", "371", ".. ... ..."], ["Lebanon", ["middle-east"], "lb", "961"], ["Lesotho", ["africa"], "ls", "266"], ["Liberia", ["africa"], "lr", "231"], ["Libya", ["africa", "north-africa"], "ly", "218"], ["Liechtenstein", ["europe"], "li", "423"], ["Lithuania", ["europe", "eu-union", "ex-ussr", "baltic"], "lt", "370"], ["Luxembourg", ["europe", "eu-union"], "lu", "352"], ["Macau", ["asia"], "mo", "853"], ["Macedonia", ["europe", "ex-yugos"], "mk", "389"], ["Madagascar", ["africa"], "mg", "261"], ["Malawi", ["africa"], "mw", "265"], ["Malaysia", ["asia"], "my", "60", "..-....-...."], ["Maldives", ["asia"], "mv", "960"], ["Mali", ["africa"], "ml", "223"], ["Malta", ["europe", "eu-union"], "mt", "356"], ["Marshall Islands", ["oceania"], "mh", "692"], ["Martinique", ["america", "carribean"], "mq", "596"], ["Mauritania", ["africa"], "mr", "222"], ["Mauritius", ["africa"], "mu", "230"], ["Mexico", ["america", "central-america"], "mx", "52", "... ... ....", 0, ["55", "81", "33", "656", "664", "998", "774", "229"]], ["Micronesia", ["oceania"], "fm", "691"], ["Moldova", ["europe"], "md", "373", "(..) ..-..-.."], ["Monaco", ["europe"], "mc", "377"], ["Mongolia", ["asia"], "mn", "976"], ["Montenegro", ["europe", "ex-yugos"], "me", "382"], ["Morocco", ["africa", "north-africa"], "ma", "212"], ["Mozambique", ["africa"], "mz", "258"], ["Myanmar", ["asia"], "mm", "95"], ["Namibia", ["africa"], "na", "264"], ["Nauru", ["africa"], "nr", "674"], ["Nepal", ["asia"], "np", "977"], ["Netherlands", ["europe", "eu-union"], "nl", "31", ".. ........"], ["New Caledonia", ["oceania"], "nc", "687"], ["New Zealand", ["oceania"], "nz", "64", "...-...-...."], ["Nicaragua", ["america", "central-america"], "ni", "505"], ["Niger", ["africa"], "ne", "227"], ["Nigeria", ["africa"], "ng", "234"], ["North Korea", ["asia"], "kp", "850"], ["Norway", ["europe", "baltic"], "no", "47", "... .. ..."], ["Oman", ["middle-east"], "om", "968"], ["Pakistan", ["asia"], "pk", "92", "...-......."], ["Palau", ["oceania"], "pw", "680"], ["Palestine", ["middle-east"], "ps", "970"], ["Panama", ["america", "central-america"], "pa", "507"], ["Papua New Guinea", ["oceania"], "pg", "675"], ["Paraguay", ["america", "south-america"], "py", "595"], ["Peru", ["america", "south-america"], "pe", "51"], ["Philippines", ["asia"], "ph", "63", ".... ......."], ["Poland", ["europe", "eu-union", "baltic"], "pl", "48", "...-...-..."], ["Portugal", ["europe", "eu-union"], "pt", "351"], ["Puerto Rico", ["america", "carribean"], "pr", "1", "", 3, ["787", "939"]], ["Qatar", ["middle-east"], "qa", "974"], ["Réunion", ["africa"], "re", "262"], ["Romania", ["europe", "eu-union"], "ro", "40"], ["Russia", ["europe", "asia", "ex-ussr", "baltic"], "ru", "7", "(...) ...-..-..", 0], ["Rwanda", ["africa"], "rw", "250"], ["Saint Kitts and Nevis", ["america", "carribean"], "kn", "1869"], ["Saint Lucia", ["america", "carribean"], "lc", "1758"], ["Saint Vincent and the Grenadines", ["america", "carribean"], "vc", "1784"], ["Samoa", ["oceania"], "ws", "685"], ["San Marino", ["europe"], "sm", "378"], ["São Tomé and Príncipe", ["africa"], "st", "239"], ["Saudi Arabia", ["middle-east"], "sa", "966"], ["Senegal", ["africa"], "sn", "221"], ["Serbia", ["europe", "ex-yugos"], "rs", "381"], ["Seychelles", ["africa"], "sc", "248"], ["Sierra Leone", ["africa"], "sl", "232"], ["Singapore", ["asia"], "sg", "65", "....-...."], ["Slovakia", ["europe", "eu-union"], "sk", "421"], ["Slovenia", ["europe", "eu-union", "ex-yugos"], "si", "386"], ["Solomon Islands", ["oceania"], "sb", "677"], ["Somalia", ["africa"], "so", "252"], ["South Africa", ["africa"], "za", "27"], ["South Korea", ["asia"], "kr", "82", "... .... ...."], ["South Sudan", ["africa", "north-africa"], "ss", "211"], ["Spain", ["europe", "eu-union"], "es", "34", "... ... ..."], ["Sri Lanka", ["asia"], "lk", "94"], ["Sudan", ["africa"], "sd", "249"], ["Suriname", ["america", "south-america"], "sr", "597"], ["Swaziland", ["africa"], "sz", "268"], ["Sweden", ["europe", "eu-union", "baltic"], "se", "46", "(...) ...-..."], ["Switzerland", ["europe"], "ch", "41", ".. ... .. .."], ["Syria", ["middle-east"], "sy", "963"], ["Taiwan", ["asia"], "tw", "886"], ["Tajikistan", ["asia", "ex-ussr"], "tj", "992"], ["Tanzania", ["africa"], "tz", "255"], ["Thailand", ["asia"], "th", "66"], ["Timor-Leste", ["asia"], "tl", "670"], ["Togo", ["africa"], "tg", "228"], ["Tonga", ["oceania"], "to", "676"], ["Trinidad and Tobago", ["america", "carribean"], "tt", "1868"], ["Tunisia", ["africa", "north-africa"], "tn", "216"], ["Turkey", ["europe"], "tr", "90", "... ... .. .."], ["Turkmenistan", ["asia", "ex-ussr"], "tm", "993"], ["Tuvalu", ["asia"], "tv", "688"], ["Uganda", ["africa"], "ug", "256"], ["Ukraine", ["europe", "ex-ussr"], "ua", "380", "(..) ... .. .."], ["United Arab Emirates", ["middle-east"], "ae", "971"], ["United Kingdom", ["europe", "eu-union"], "gb", "44", ".... ......"], ["United States", ["america", "north-america"], "us", "1", "(...) ...-....", 0, ["907", "205", "251", "256", "334", "479", "501", "870", "480", "520", "602", "623", "928", "209", "213", "310", "323", "408", "415", "510", "530", "559", "562", "619", "626", "650", "661", "707", "714", "760", "805", "818", "831", "858", "909", "916", "925", "949", "951", "303", "719", "970", "203", "860", "202", "302", "239", "305", "321", "352", "386", "407", "561", "727", "772", "813", "850", "863", "904", "941", "954", "229", "404", "478", "706", "770", "912", "808", "319", "515", "563", "641", "712", "208", "217", "309", "312", "618", "630", "708", "773", "815", "847", "219", "260", "317", "574", "765", "812", "316", "620", "785", "913", "270", "502", "606", "859", "225", "318", "337", "504", "985", "413", "508", "617", "781", "978", "301", "410", "207", "231", "248", "269", "313", "517", "586", "616", "734", "810", "906", "989", "218", "320", "507", "612", "651", "763", "952", "314", "417", "573", "636", "660", "816", "228", "601", "662", "406", "252", "336", "704", "828", "910", "919", "701", "308", "402", "603", "201", "609", "732", "856", "908", "973", "505", "575", "702", "775", "212", "315", "516", "518", "585", "607", "631", "716", "718", "845", "914", "216", "330", "419", "440", "513", "614", "740", "937", "405", "580", "918", "503", "541", "215", "412", "570", "610", "717", "724", "814", "401", "803", "843", "864", "605", "423", "615", "731", "865", "901", "931", "210", "214", "254", "281", "325", "361", "409", "432", "512", "713", "806", "817", "830", "903", "915", "936", "940", "956", "972", "979", "435", "801", "276", "434", "540", "703", "757", "804", "802", "206", "253", "360", "425", "509", "262", "414", "608", "715", "920", "304", "307"]], ["Uruguay", ["america", "south-america"], "uy", "598"], ["Uzbekistan", ["asia", "ex-ussr"], "uz", "998", ".. ... .. .."], ["Vanuatu", ["oceania"], "vu", "678"], ["Vatican City", ["europe"], "va", "39", ".. .... ....", 1], ["Venezuela", ["america", "south-america"], "ve", "58"], ["Vietnam", ["asia"], "vn", "84"], ["Yemen", ["middle-east"], "ye", "967"], ["Zambia", ["africa"], "zm", "260"], ["Zimbabwe", ["africa"], "zw", "263"]], Y = [["American Samoa", ["oceania"], "as", "1684"], ["Anguilla", ["america", "carribean"], "ai", "1264"], ["Bermuda", ["america", "north-america"], "bm", "1441"], ["British Virgin Islands", ["america", "carribean"], "vg", "1284"], ["Cayman Islands", ["america", "carribean"], "ky", "1345"], ["Cook Islands", ["oceania"], "ck", "682"], ["Falkland Islands", ["america", "south-america"], "fk", "500"], ["Faroe Islands", ["europe"], "fo", "298"], ["Gibraltar", ["europe"], "gi", "350"], ["Greenland", ["america"], "gl", "299"], ["Jersey", ["europe", "eu-union"], "je", "44", ".... ......"], ["Montserrat", ["america", "carribean"], "ms", "1664"], ["Niue", ["asia"], "nu", "683"], ["Norfolk Island", ["oceania"], "nf", "672"], ["Northern Mariana Islands", ["oceania"], "mp", "1670"], ["Saint Barthélemy", ["america", "carribean"], "bl", "590", "", 1], ["Saint Helena", ["africa"], "sh", "290"], ["Saint Martin", ["america", "carribean"], "mf", "590", "", 2], ["Saint Pierre and Miquelon", ["america", "north-america"], "pm", "508"], ["Sint Maarten", ["america", "carribean"], "sx", "1721"], ["Tokelau", ["oceania"], "tk", "690"], ["Turks and Caicos Islands", ["america", "carribean"], "tc", "1649"], ["U.S. Virgin Islands", ["america", "carribean"], "vi", "1340"], ["Wallis and Futuna", ["oceania"], "wf", "681"]];
|
|
995
|
+
function d(w, m, D, K, g) {
|
|
996
|
+
return !D || g ? w + "".padEnd(m.length, ".") + " " + K : w + "".padEnd(m.length, ".") + " " + D;
|
|
996
997
|
}
|
|
997
|
-
function C(w, m, D,
|
|
998
|
+
function C(w, m, D, K, g) {
|
|
998
999
|
var e, ne, re = [];
|
|
999
|
-
return ne = m === !0, [(e = []).concat.apply(e, v(w.map((function(
|
|
1000
|
-
var ce = { name:
|
|
1001
|
-
return
|
|
1000
|
+
return ne = m === !0, [(e = []).concat.apply(e, v(w.map((function(Q) {
|
|
1001
|
+
var ce = { name: Q[0], regions: Q[1], iso2: Q[2], countryCode: Q[3], dialCode: Q[3], format: d(D, Q[3], Q[4], K, g), priority: Q[5] || 0 }, pe = [];
|
|
1002
|
+
return Q[6] && Q[6].map((function(me) {
|
|
1002
1003
|
var ie = (function(we) {
|
|
1003
1004
|
for (var H = 1; H < arguments.length; H++) {
|
|
1004
1005
|
var n = arguments[H] != null ? arguments[H] : {}, u = Object.keys(n);
|
|
1005
|
-
typeof Object.getOwnPropertySymbols == "function" && (u = u.concat(Object.getOwnPropertySymbols(n).filter((function(
|
|
1006
|
-
return Object.getOwnPropertyDescriptor(n,
|
|
1007
|
-
})))), u.forEach((function(
|
|
1008
|
-
i(we,
|
|
1006
|
+
typeof Object.getOwnPropertySymbols == "function" && (u = u.concat(Object.getOwnPropertySymbols(n).filter((function(j) {
|
|
1007
|
+
return Object.getOwnPropertyDescriptor(n, j).enumerable;
|
|
1008
|
+
})))), u.forEach((function(j) {
|
|
1009
|
+
i(we, j, n[j]);
|
|
1009
1010
|
}));
|
|
1010
1011
|
}
|
|
1011
1012
|
return we;
|
|
1012
1013
|
})({}, ce);
|
|
1013
|
-
ie.dialCode =
|
|
1014
|
-
})), pe.length > 0 ? (ce.mainCode = !0, ne || m.constructor.name === "Array" && m.includes(
|
|
1014
|
+
ie.dialCode = Q[3] + me, ie.isAreaCode = !0, ie.areaCodeLength = me.length, pe.push(ie);
|
|
1015
|
+
})), pe.length > 0 ? (ce.mainCode = !0, ne || m.constructor.name === "Array" && m.includes(Q[2]) ? (ce.hasAreaCodes = !0, [ce].concat(pe)) : (re = re.concat(pe), [ce])) : [ce];
|
|
1015
1016
|
})))), re];
|
|
1016
1017
|
}
|
|
1017
|
-
function h(w, m, D,
|
|
1018
|
+
function h(w, m, D, K) {
|
|
1018
1019
|
if (D !== null) {
|
|
1019
1020
|
var g = Object.keys(D), e = Object.values(D);
|
|
1020
1021
|
g.forEach((function(ne, re) {
|
|
1021
|
-
if (
|
|
1022
|
-
var
|
|
1022
|
+
if (K) return w.push([ne, e[re]]);
|
|
1023
|
+
var Q = w.findIndex((function(pe) {
|
|
1023
1024
|
return pe[0] === ne;
|
|
1024
1025
|
}));
|
|
1025
|
-
if (
|
|
1026
|
+
if (Q === -1) {
|
|
1026
1027
|
var ce = [ne];
|
|
1027
1028
|
ce[m] = e[re], w.push(ce);
|
|
1028
|
-
} else w[
|
|
1029
|
+
} else w[Q][m] = e[re];
|
|
1029
1030
|
}));
|
|
1030
1031
|
}
|
|
1031
1032
|
}
|
|
1032
|
-
function
|
|
1033
|
+
function x(w, m) {
|
|
1033
1034
|
return m.length === 0 ? w : w.map((function(D) {
|
|
1034
|
-
var
|
|
1035
|
+
var K = m.findIndex((function(e) {
|
|
1035
1036
|
return e[0] === D[2];
|
|
1036
1037
|
}));
|
|
1037
|
-
if (
|
|
1038
|
-
var g = m[
|
|
1038
|
+
if (K === -1) return D;
|
|
1039
|
+
var g = m[K];
|
|
1039
1040
|
return g[1] && (D[4] = g[1]), g[3] && (D[5] = g[3]), g[2] && (D[6] = g[2]), D;
|
|
1040
1041
|
}));
|
|
1041
1042
|
}
|
|
1042
|
-
var fe = function w(m, D,
|
|
1043
|
+
var fe = function w(m, D, K, g, e, ne, re, Q, ce, pe, me, ie, we, H) {
|
|
1043
1044
|
M(this, w), this.filterRegions = function(N, A) {
|
|
1044
1045
|
if (typeof N == "string") {
|
|
1045
1046
|
var ae = N;
|
|
@@ -1095,53 +1096,53 @@ function Or() {
|
|
|
1095
1096
|
var n = (function(N, A, ae) {
|
|
1096
1097
|
var I = [];
|
|
1097
1098
|
return h(I, 1, N, !0), h(I, 3, A), h(I, 2, ae), I;
|
|
1098
|
-
})(
|
|
1099
|
+
})(Q, ce, pe), u = x(JSON.parse(JSON.stringify(Ce)), n), j = x(JSON.parse(JSON.stringify(Y)), n), U = ve(C(u, m, ie, we, H), 2), P = U[0], q = U[1];
|
|
1099
1100
|
if (D) {
|
|
1100
|
-
var
|
|
1101
|
-
|
|
1101
|
+
var Z = ve(C(j, m, ie, we, H), 2), de = Z[0];
|
|
1102
|
+
Z[1], P = this.sortTerritories(de, P);
|
|
1102
1103
|
}
|
|
1103
|
-
|
|
1104
|
+
K && (P = this.filterRegions(K, P)), this.onlyCountries = this.localizeCountries(this.excludeCountries(this.getFilteredCountryList(g, P, re.includes("onlyCountries")), ne), me, re.includes("onlyCountries")), this.preferredCountries = e.length === 0 ? [] : this.localizeCountries(this.getFilteredCountryList(e, P, re.includes("preferredCountries")), me, re.includes("preferredCountries")), this.hiddenAreaCodes = this.excludeCountries(this.getFilteredCountryList(g, q), ne);
|
|
1104
1105
|
}, ke = (function(w) {
|
|
1105
1106
|
function m(g) {
|
|
1106
1107
|
var e;
|
|
1107
1108
|
M(this, m), (e = (function(n, u) {
|
|
1108
|
-
return !u || z(u) !== "object" && typeof u != "function" ?
|
|
1109
|
-
})(this, $(m).call(this, g))).getProbableCandidate =
|
|
1109
|
+
return !u || z(u) !== "object" && typeof u != "function" ? _(n) : u;
|
|
1110
|
+
})(this, $(m).call(this, g))).getProbableCandidate = T()((function(n) {
|
|
1110
1111
|
return n && n.length !== 0 ? e.state.onlyCountries.filter((function(u) {
|
|
1111
|
-
return
|
|
1112
|
-
}),
|
|
1113
|
-
})), e.guessSelectedCountry =
|
|
1112
|
+
return J()(u.name.toLowerCase(), n.toLowerCase());
|
|
1113
|
+
}), _(_(e)))[0] : null;
|
|
1114
|
+
})), e.guessSelectedCountry = T()((function(n, u, j, U) {
|
|
1114
1115
|
var P;
|
|
1115
1116
|
if (e.props.enableAreaCodes === !1 && (U.some((function(de) {
|
|
1116
|
-
if (
|
|
1117
|
+
if (J()(n, de.dialCode)) return j.some((function(N) {
|
|
1117
1118
|
if (de.iso2 === N.iso2 && N.mainCode) return P = N, !0;
|
|
1118
1119
|
})), !0;
|
|
1119
1120
|
})), P)) return P;
|
|
1120
|
-
var q =
|
|
1121
|
+
var q = j.find((function(de) {
|
|
1121
1122
|
return de.iso2 == u;
|
|
1122
1123
|
}));
|
|
1123
1124
|
if (n.trim() === "") return q;
|
|
1124
|
-
var
|
|
1125
|
-
return
|
|
1126
|
-
}), { dialCode: "", priority: 10001 },
|
|
1127
|
-
return
|
|
1125
|
+
var Z = j.reduce((function(de, N) {
|
|
1126
|
+
return J()(n, N.dialCode) && (N.dialCode.length > de.dialCode.length || N.dialCode.length === de.dialCode.length && N.priority < de.priority) ? N : de;
|
|
1127
|
+
}), { dialCode: "", priority: 10001 }, _(_(e)));
|
|
1128
|
+
return Z.name ? Z : q;
|
|
1128
1129
|
})), e.updateCountry = function(n) {
|
|
1129
|
-
var u,
|
|
1130
|
-
(u = n.indexOf(0) >= "0" && n.indexOf(0) <= "9" ?
|
|
1130
|
+
var u, j = e.state.onlyCountries;
|
|
1131
|
+
(u = n.indexOf(0) >= "0" && n.indexOf(0) <= "9" ? j.find((function(U) {
|
|
1131
1132
|
return U.dialCode == +n;
|
|
1132
|
-
})) :
|
|
1133
|
+
})) : j.find((function(U) {
|
|
1133
1134
|
return U.iso2 == n;
|
|
1134
1135
|
}))) && u.dialCode && e.setState({ selectedCountry: u, formattedNumber: e.props.disableCountryCode ? "" : e.formatNumber(u.dialCode, u) });
|
|
1135
1136
|
}, e.scrollTo = function(n, u) {
|
|
1136
1137
|
if (n) {
|
|
1137
|
-
var
|
|
1138
|
-
if (
|
|
1139
|
-
var U =
|
|
1140
|
-
if (e.props.enableSearch ? A < P + 32 : A < P) u && (I -= O),
|
|
1138
|
+
var j = e.dropdownRef;
|
|
1139
|
+
if (j && document.body) {
|
|
1140
|
+
var U = j.offsetHeight, P = j.getBoundingClientRect().top + document.body.scrollTop, q = P + U, Z = n, de = Z.getBoundingClientRect(), N = Z.offsetHeight, A = de.top + document.body.scrollTop, ae = A + N, I = A - P + j.scrollTop, O = U / 2 - N / 2;
|
|
1141
|
+
if (e.props.enableSearch ? A < P + 32 : A < P) u && (I -= O), j.scrollTop = I;
|
|
1141
1142
|
else if (ae > q) {
|
|
1142
1143
|
u && (I += O);
|
|
1143
1144
|
var _e = U - N;
|
|
1144
|
-
|
|
1145
|
+
j.scrollTop = I - _e;
|
|
1145
1146
|
}
|
|
1146
1147
|
}
|
|
1147
1148
|
}
|
|
@@ -1150,13 +1151,13 @@ function Or() {
|
|
|
1150
1151
|
n && document.body && (n.scrollTop = 0);
|
|
1151
1152
|
}, e.formatNumber = function(n, u) {
|
|
1152
1153
|
if (!u) return n;
|
|
1153
|
-
var
|
|
1154
|
-
if (q ? ((
|
|
1155
|
-
if (n && n.length < 2 || !
|
|
1156
|
-
var A, ae = ee()(
|
|
1154
|
+
var j, U = u.format, P = e.props, q = P.disableCountryCode, Z = P.enableAreaCodeStretch, de = P.enableLongNumbers, N = P.autoFormat;
|
|
1155
|
+
if (q ? ((j = U.split(" ")).shift(), j = j.join(" ")) : Z && u.isAreaCode ? ((j = U.split(" "))[1] = j[1].replace(/\.+/, "".padEnd(u.areaCodeLength, ".")), j = j.join(" ")) : j = U, !n || n.length === 0) return q ? "" : e.props.prefix;
|
|
1156
|
+
if (n && n.length < 2 || !j || !N) return q ? n : e.props.prefix + n;
|
|
1157
|
+
var A, ae = ee()(j, (function(I, O) {
|
|
1157
1158
|
if (I.remainingText.length === 0) return I;
|
|
1158
1159
|
if (O !== ".") return { formattedText: I.formattedText + O, remainingText: I.remainingText };
|
|
1159
|
-
var _e, Fe =
|
|
1160
|
+
var _e, Fe = S(_e = I.remainingText) || f(_e) || E(), Ee = Fe[0], Ae = Fe.slice(1);
|
|
1160
1161
|
return { formattedText: I.formattedText + Ee, remainingText: Ae };
|
|
1161
1162
|
}), { formattedText: "", remainingText: n.split("") });
|
|
1162
1163
|
return (A = de ? ae.formattedText + ae.remainingText.join("") : ae.formattedText).includes("(") && !A.includes(")") && (A += ")"), A;
|
|
@@ -1173,19 +1174,19 @@ function Or() {
|
|
|
1173
1174
|
return e.state.selectedCountry ? { name: e.state.selectedCountry.name || "", dialCode: e.state.selectedCountry.dialCode || "", countryCode: e.state.selectedCountry.iso2 || "", format: e.state.selectedCountry.format || "" } : {};
|
|
1174
1175
|
}, e.handleFlagDropdownClick = function(n) {
|
|
1175
1176
|
if (n.preventDefault(), e.state.showDropdown || !e.props.disabled) {
|
|
1176
|
-
var u = e.state,
|
|
1177
|
-
return
|
|
1177
|
+
var u = e.state, j = u.preferredCountries, U = u.onlyCountries, P = u.selectedCountry, q = e.concatPreferredCountries(j, U).findIndex((function(Z) {
|
|
1178
|
+
return Z.dialCode === P.dialCode && Z.iso2 === P.iso2;
|
|
1178
1179
|
}));
|
|
1179
1180
|
e.setState({ showDropdown: !e.state.showDropdown, highlightCountryIndex: q }, (function() {
|
|
1180
1181
|
e.state.showDropdown && e.scrollTo(e.getElement(e.state.highlightCountryIndex));
|
|
1181
1182
|
}));
|
|
1182
1183
|
}
|
|
1183
1184
|
}, e.handleInput = function(n) {
|
|
1184
|
-
var u = n.target.value,
|
|
1185
|
+
var u = n.target.value, j = e.props, U = j.prefix, P = j.onChange, q = e.props.disableCountryCode ? "" : U, Z = e.state.selectedCountry, de = e.state.freezeSelection;
|
|
1185
1186
|
if (!e.props.countryCodeEditable) {
|
|
1186
|
-
var N = U + (
|
|
1187
|
-
return Se.iso2 ===
|
|
1188
|
-
})).dialCode :
|
|
1187
|
+
var N = U + (Z.hasAreaCodes ? e.state.onlyCountries.find((function(Se) {
|
|
1188
|
+
return Se.iso2 === Z.iso2 && Se.mainCode;
|
|
1189
|
+
})).dialCode : Z.dialCode);
|
|
1189
1190
|
if (u.slice(0, N.length) !== N) return;
|
|
1190
1191
|
}
|
|
1191
1192
|
if (u === U) return P && P("", e.getCountryData(), n, ""), e.setState({ formattedNumber: "" });
|
|
@@ -1194,10 +1195,10 @@ function Or() {
|
|
|
1194
1195
|
var A = e.props.country, ae = e.state, I = ae.onlyCountries, O = ae.selectedCountry, _e = ae.hiddenAreaCodes;
|
|
1195
1196
|
if (P && n.persist(), u.length > 0) {
|
|
1196
1197
|
var Fe = u.replace(/\D/g, "");
|
|
1197
|
-
(!e.state.freezeSelection || O && O.dialCode.length > Fe.length) && (
|
|
1198
|
+
(!e.state.freezeSelection || O && O.dialCode.length > Fe.length) && (Z = e.props.disableCountryGuess ? O : e.guessSelectedCountry(Fe.substring(0, 6), A, I, _e) || O, de = !1), q = e.formatNumber(Fe, Z), Z = Z.dialCode ? Z : O;
|
|
1198
1199
|
}
|
|
1199
1200
|
var Ee = n.target.selectionStart, Ae = n.target.selectionStart, He = e.state.formattedNumber, Ye = q.length - He.length;
|
|
1200
|
-
e.setState({ formattedNumber: q, freezeSelection: de, selectedCountry:
|
|
1201
|
+
e.setState({ formattedNumber: q, freezeSelection: de, selectedCountry: Z }, (function() {
|
|
1201
1202
|
Ye > 0 && (Ae -= Ye), q.charAt(q.length - 1) == ")" ? e.numberInputRef.setSelectionRange(q.length - 1, q.length - 1) : Ae > 0 && He.length >= q.length ? e.numberInputRef.setSelectionRange(Ae, Ae) : Ee < He.length && e.numberInputRef.setSelectionRange(Ee, Ee), P && P(q.replace(/[^0-9]+/g, ""), e.getCountryData(), n, q);
|
|
1202
1203
|
}));
|
|
1203
1204
|
}
|
|
@@ -1207,13 +1208,13 @@ function Or() {
|
|
|
1207
1208
|
var u = n.target.value.length;
|
|
1208
1209
|
n.target.setSelectionRange(0, u);
|
|
1209
1210
|
}, e.handleFlagItemClick = function(n, u) {
|
|
1210
|
-
var
|
|
1211
|
+
var j = e.state.selectedCountry, U = e.state.onlyCountries.find((function(de) {
|
|
1211
1212
|
return de == n;
|
|
1212
1213
|
}));
|
|
1213
1214
|
if (U) {
|
|
1214
|
-
var P = e.state.formattedNumber.replace(" ", "").replace("(", "").replace(")", "").replace("-", ""), q = P.length > 1 ? P.replace(
|
|
1215
|
-
e.setState({ showDropdown: !1, selectedCountry: U, freezeSelection: !0, formattedNumber:
|
|
1216
|
-
e.cursorToEnd(), e.props.onChange && e.props.onChange(
|
|
1215
|
+
var P = e.state.formattedNumber.replace(" ", "").replace("(", "").replace(")", "").replace("-", ""), q = P.length > 1 ? P.replace(j.dialCode, U.dialCode) : U.dialCode, Z = e.formatNumber(q.replace(/\D/g, ""), U);
|
|
1216
|
+
e.setState({ showDropdown: !1, selectedCountry: U, freezeSelection: !0, formattedNumber: Z, searchValue: "" }, (function() {
|
|
1217
|
+
e.cursorToEnd(), e.props.onChange && e.props.onChange(Z.replace(/[^0-9]+/g, ""), e.getCountryData(), u, Z);
|
|
1217
1218
|
}));
|
|
1218
1219
|
}
|
|
1219
1220
|
}, e.handleInputFocus = function(n) {
|
|
@@ -1231,15 +1232,15 @@ function Or() {
|
|
|
1231
1232
|
var u = e.state.highlightCountryIndex + n;
|
|
1232
1233
|
return u < 0 || u >= e.state.onlyCountries.length + e.state.preferredCountries.length ? u - n : e.props.enableSearch && u > e.getSearchFilteredCountries().length ? 0 : u;
|
|
1233
1234
|
}, e.searchCountry = function() {
|
|
1234
|
-
var n = e.getProbableCandidate(e.state.queryString) || e.state.onlyCountries[0], u = e.state.onlyCountries.findIndex((function(
|
|
1235
|
-
return
|
|
1235
|
+
var n = e.getProbableCandidate(e.state.queryString) || e.state.onlyCountries[0], u = e.state.onlyCountries.findIndex((function(j) {
|
|
1236
|
+
return j == n;
|
|
1236
1237
|
})) + e.state.preferredCountries.length;
|
|
1237
1238
|
e.scrollTo(e.getElement(u), !0), e.setState({ queryString: "", highlightCountryIndex: u });
|
|
1238
1239
|
}, e.handleKeydown = function(n) {
|
|
1239
|
-
var u = e.props.keys,
|
|
1240
|
-
if (
|
|
1241
|
-
if (
|
|
1242
|
-
if (e.state.showDropdown && !e.props.disabled && (!
|
|
1240
|
+
var u = e.props.keys, j = n.target.className;
|
|
1241
|
+
if (j.includes("selected-flag") && n.which === u.ENTER && !e.state.showDropdown) return e.handleFlagDropdownClick(n);
|
|
1242
|
+
if (j.includes("form-control") && (n.which === u.ENTER || n.which === u.ESC)) return n.target.blur();
|
|
1243
|
+
if (e.state.showDropdown && !e.props.disabled && (!j.includes("search-box") || n.which === u.UP || n.which === u.DOWN || n.which === u.ENTER || n.which === u.ESC && n.target.value === "")) {
|
|
1243
1244
|
n.preventDefault ? n.preventDefault() : n.returnValue = !1;
|
|
1244
1245
|
var U = function(P) {
|
|
1245
1246
|
e.setState({ highlightCountryIndex: e.getHighlightCountryIndex(P) }, (function() {
|
|
@@ -1265,15 +1266,15 @@ function Or() {
|
|
|
1265
1266
|
}
|
|
1266
1267
|
}
|
|
1267
1268
|
}, e.handleInputKeyDown = function(n) {
|
|
1268
|
-
var u = e.props,
|
|
1269
|
-
n.which ===
|
|
1269
|
+
var u = e.props, j = u.keys, U = u.onEnterKeyPress, P = u.onKeyDown;
|
|
1270
|
+
n.which === j.ENTER && U && U(n), P && P(n);
|
|
1270
1271
|
}, e.handleClickOutside = function(n) {
|
|
1271
1272
|
e.dropdownRef && !e.dropdownContainerRef.contains(n.target) && e.state.showDropdown && e.setState({ showDropdown: !1 });
|
|
1272
1273
|
}, e.handleSearchChange = function(n) {
|
|
1273
|
-
var u = n.currentTarget.value,
|
|
1274
|
+
var u = n.currentTarget.value, j = e.state, U = j.preferredCountries, P = j.selectedCountry, q = 0;
|
|
1274
1275
|
if (u === "" && P) {
|
|
1275
|
-
var
|
|
1276
|
-
q = e.concatPreferredCountries(U,
|
|
1276
|
+
var Z = e.state.onlyCountries;
|
|
1277
|
+
q = e.concatPreferredCountries(U, Z).findIndex((function(de) {
|
|
1277
1278
|
return de == P;
|
|
1278
1279
|
})), setTimeout((function() {
|
|
1279
1280
|
return e.scrollTo(e.getElement(q));
|
|
@@ -1285,34 +1286,34 @@ function Or() {
|
|
|
1285
1286
|
}, e.getDropdownCountryName = function(n) {
|
|
1286
1287
|
return n.localName || n.name;
|
|
1287
1288
|
}, e.getSearchFilteredCountries = function() {
|
|
1288
|
-
var n = e.state, u = n.preferredCountries,
|
|
1289
|
-
if (P &&
|
|
1290
|
-
if (/^\d+$/.test(
|
|
1289
|
+
var n = e.state, u = n.preferredCountries, j = n.onlyCountries, U = n.searchValue, P = e.props.enableSearch, q = e.concatPreferredCountries(u, j), Z = U.trim().toLowerCase().replace("+", "");
|
|
1290
|
+
if (P && Z) {
|
|
1291
|
+
if (/^\d+$/.test(Z)) return q.filter((function(A) {
|
|
1291
1292
|
var ae = A.dialCode;
|
|
1292
1293
|
return ["".concat(ae)].some((function(I) {
|
|
1293
|
-
return I.toLowerCase().includes(
|
|
1294
|
+
return I.toLowerCase().includes(Z);
|
|
1294
1295
|
}));
|
|
1295
1296
|
}));
|
|
1296
1297
|
var de = q.filter((function(A) {
|
|
1297
1298
|
var ae = A.iso2;
|
|
1298
1299
|
return ["".concat(ae)].some((function(I) {
|
|
1299
|
-
return I.toLowerCase().includes(
|
|
1300
|
+
return I.toLowerCase().includes(Z);
|
|
1300
1301
|
}));
|
|
1301
1302
|
})), N = q.filter((function(A) {
|
|
1302
1303
|
var ae = A.name, I = A.localName;
|
|
1303
1304
|
return A.iso2, ["".concat(ae), "".concat(I || "")].some((function(O) {
|
|
1304
|
-
return O.toLowerCase().includes(
|
|
1305
|
+
return O.toLowerCase().includes(Z);
|
|
1305
1306
|
}));
|
|
1306
1307
|
}));
|
|
1307
1308
|
return e.scrollToTop(), v(new Set([].concat(de, N)));
|
|
1308
1309
|
}
|
|
1309
1310
|
return q;
|
|
1310
1311
|
}, e.getCountryDropdownList = function() {
|
|
1311
|
-
var n = e.state, u = n.preferredCountries,
|
|
1312
|
-
var ot =
|
|
1312
|
+
var n = e.state, u = n.preferredCountries, j = n.highlightCountryIndex, U = n.showDropdown, P = n.searchValue, q = e.props, Z = q.disableDropdown, de = q.prefix, N = e.props, A = N.enableSearch, ae = N.searchNotFound, I = N.disableSearchIcon, O = N.searchClass, _e = N.searchStyle, Fe = N.searchPlaceholder, Ee = N.autocompleteSearch, Ae = e.getSearchFilteredCountries().map((function(Se, et) {
|
|
1313
|
+
var ot = j === et, It = te()({ country: !0, preferred: Se.iso2 === "us" || Se.iso2 === "gb", active: Se.iso2 === "us", highlight: ot }), st = "flag ".concat(Se.iso2);
|
|
1313
1314
|
return b.a.createElement("li", Object.assign({ ref: function(lt) {
|
|
1314
1315
|
return e["flag_no_".concat(et)] = lt;
|
|
1315
|
-
}, key: "flag_no_".concat(et), "data-flag-key": "flag_no_".concat(et), className: It, "data-dial-code": "1", tabIndex:
|
|
1316
|
+
}, key: "flag_no_".concat(et), "data-flag-key": "flag_no_".concat(et), className: It, "data-dial-code": "1", tabIndex: Z ? "-1" : "0", "data-country-code": Se.iso2, onClick: function(lt) {
|
|
1316
1317
|
return e.handleFlagItemClick(Se, lt);
|
|
1317
1318
|
}, role: "option" }, ot ? { "aria-selected": !0 } : {}), b.a.createElement("div", { className: st }), b.a.createElement("span", { className: "country-name" }, e.getDropdownCountryName(Se)), b.a.createElement("span", { className: "dial-code" }, Se.format ? e.formatNumber(Se.dialCode, Se) : de + Se.dialCode));
|
|
1318
1319
|
})), He = b.a.createElement("li", { key: "dashes", className: "divider" });
|
|
@@ -1322,22 +1323,22 @@ function Or() {
|
|
|
1322
1323
|
return !A && Se && Se.focus(), e.dropdownRef = Se;
|
|
1323
1324
|
}, className: Ye, style: e.props.dropdownStyle, role: "listbox", tabIndex: "0" }, A && b.a.createElement("li", { className: te()(i({ search: !0 }, O, O)) }, !I && b.a.createElement("span", { className: te()(i({ "search-emoji": !0 }, "".concat(O, "-emoji"), O)), role: "img", "aria-label": "Magnifying glass" }, "🔎"), b.a.createElement("input", { className: te()(i({ "search-box": !0 }, "".concat(O, "-box"), O)), style: _e, type: "search", placeholder: Fe, autoFocus: !0, autoComplete: Ee ? "on" : "off", value: P, onChange: e.handleSearchChange })), Ae.length > 0 ? Ae : b.a.createElement("li", { className: "no-entries-message" }, b.a.createElement("span", null, ae)));
|
|
1324
1325
|
};
|
|
1325
|
-
var ne, re = new fe(g.enableAreaCodes, g.enableTerritories, g.regions, g.onlyCountries, g.preferredCountries, g.excludeCountries, g.preserveOrder, g.masks, g.priority, g.areaCodes, g.localization, g.prefix, g.defaultMask, g.alwaysDefaultMask),
|
|
1326
|
-
ne = g.disableInitialCountryGuess ? 0 : me.length > 1 ? e.guessSelectedCountry(me.substring(0, 6), g.country,
|
|
1326
|
+
var ne, re = new fe(g.enableAreaCodes, g.enableTerritories, g.regions, g.onlyCountries, g.preferredCountries, g.excludeCountries, g.preserveOrder, g.masks, g.priority, g.areaCodes, g.localization, g.prefix, g.defaultMask, g.alwaysDefaultMask), Q = re.onlyCountries, ce = re.preferredCountries, pe = re.hiddenAreaCodes, me = g.value ? g.value.replace(/\D/g, "") : "";
|
|
1327
|
+
ne = g.disableInitialCountryGuess ? 0 : me.length > 1 ? e.guessSelectedCountry(me.substring(0, 6), g.country, Q, pe) || 0 : g.country && Q.find((function(n) {
|
|
1327
1328
|
return n.iso2 == g.country;
|
|
1328
1329
|
})) || 0;
|
|
1329
|
-
var ie, we = me.length < 2 && ne && !
|
|
1330
|
+
var ie, we = me.length < 2 && ne && !J()(me, ne.dialCode) ? ne.dialCode : "";
|
|
1330
1331
|
ie = me === "" && ne === 0 ? "" : e.formatNumber((g.disableCountryCode ? "" : we) + me, ne.name ? ne : void 0);
|
|
1331
|
-
var H =
|
|
1332
|
+
var H = Q.findIndex((function(n) {
|
|
1332
1333
|
return n == ne;
|
|
1333
1334
|
}));
|
|
1334
|
-
return e.state = { showDropdown: g.showDropdown, formattedNumber: ie, onlyCountries:
|
|
1335
|
+
return e.state = { showDropdown: g.showDropdown, formattedNumber: ie, onlyCountries: Q, preferredCountries: ce, hiddenAreaCodes: pe, selectedCountry: ne, highlightCountryIndex: H, queryString: "", freezeSelection: !1, debouncedQueryStingSearcher: k()(e.searchCountry, 250), searchValue: "" }, e;
|
|
1335
1336
|
}
|
|
1336
|
-
var D,
|
|
1337
|
+
var D, K;
|
|
1337
1338
|
return (function(g, e) {
|
|
1338
1339
|
if (typeof e != "function" && e !== null) throw new TypeError("Super expression must either be null or a function");
|
|
1339
1340
|
g.prototype = Object.create(e && e.prototype, { constructor: { value: g, writable: !0, configurable: !0 } }), e && V(g, e);
|
|
1340
|
-
})(m, w), D = m, (
|
|
1341
|
+
})(m, w), D = m, (K = [{ key: "componentDidMount", value: function() {
|
|
1341
1342
|
document.addEventListener && this.props.enableClickOutside && document.addEventListener("mousedown", this.handleClickOutside), this.props.onMount && this.props.onMount(this.state.formattedNumber.replace(/[^0-9]+/g, ""), this.getCountryData(), this.state.formattedNumber);
|
|
1342
1343
|
} }, { key: "componentWillUnmount", value: function() {
|
|
1343
1344
|
document.removeEventListener && this.props.enableClickOutside && document.removeEventListener("mousedown", this.handleClickOutside);
|
|
@@ -1345,28 +1346,28 @@ function Or() {
|
|
|
1345
1346
|
g.country !== this.props.country ? this.updateCountry(this.props.country) : g.value !== this.props.value && this.updateFormattedNumber(this.props.value);
|
|
1346
1347
|
} }, { key: "updateFormattedNumber", value: function(g) {
|
|
1347
1348
|
if (g === null) return this.setState({ selectedCountry: 0, formattedNumber: "" });
|
|
1348
|
-
var e = this.state, ne = e.onlyCountries, re = e.selectedCountry,
|
|
1349
|
+
var e = this.state, ne = e.onlyCountries, re = e.selectedCountry, Q = e.hiddenAreaCodes, ce = this.props, pe = ce.country, me = ce.prefix;
|
|
1349
1350
|
if (g === "") return this.setState({ selectedCountry: re, formattedNumber: "" });
|
|
1350
1351
|
var ie, we, H = g.replace(/\D/g, "");
|
|
1351
|
-
if (re &&
|
|
1352
|
+
if (re && J()(g, me + re.dialCode)) we = this.formatNumber(H, re), this.setState({ formattedNumber: we });
|
|
1352
1353
|
else {
|
|
1353
|
-
var n = (ie = this.props.disableCountryGuess ? re : this.guessSelectedCountry(H.substring(0, 6), pe, ne,
|
|
1354
|
+
var n = (ie = this.props.disableCountryGuess ? re : this.guessSelectedCountry(H.substring(0, 6), pe, ne, Q) || re) && J()(H, me + ie.dialCode) ? ie.dialCode : "";
|
|
1354
1355
|
we = this.formatNumber((this.props.disableCountryCode ? "" : n) + H, ie || void 0), this.setState({ selectedCountry: ie, formattedNumber: we });
|
|
1355
1356
|
}
|
|
1356
1357
|
} }, { key: "render", value: function() {
|
|
1357
|
-
var g, e, ne, re = this,
|
|
1358
|
-
if (typeof
|
|
1358
|
+
var g, e, ne, re = this, Q = this.state, ce = Q.onlyCountries, pe = Q.selectedCountry, me = Q.showDropdown, ie = Q.formattedNumber, we = Q.hiddenAreaCodes, H = this.props, n = H.disableDropdown, u = H.renderStringAsFlag, j = H.isValid, U = H.defaultErrorMessage, P = H.specialLabel;
|
|
1359
|
+
if (typeof j == "boolean") e = j;
|
|
1359
1360
|
else {
|
|
1360
|
-
var q =
|
|
1361
|
+
var q = j(ie.replace(/\D/g, ""), pe, ce, we);
|
|
1361
1362
|
typeof q == "boolean" ? (e = q) === !1 && (ne = U) : (e = !1, ne = q);
|
|
1362
1363
|
}
|
|
1363
|
-
var
|
|
1364
|
-
return b.a.createElement("div", { className: "".concat(
|
|
1364
|
+
var Z = te()((i(g = {}, this.props.containerClass, !0), i(g, "react-tel-input", !0), g)), de = te()({ arrow: !0, up: me }), N = te()(i({ "form-control": !0, "invalid-number": !e, open: me }, this.props.inputClass, !0)), A = te()({ "selected-flag": !0, open: me }), ae = te()(i({ "flag-dropdown": !0, "invalid-number": !e, open: me }, this.props.buttonClass, !0)), I = "flag ".concat(pe && pe.iso2);
|
|
1365
|
+
return b.a.createElement("div", { className: "".concat(Z, " ").concat(this.props.className), style: this.props.style || this.props.containerStyle, onKeyDown: this.handleKeydown }, P && b.a.createElement("div", { className: "special-label" }, P), ne && b.a.createElement("div", { className: "invalid-number-message" }, ne), b.a.createElement("input", Object.assign({ className: N, style: this.props.inputStyle, onChange: this.handleInput, onClick: this.handleInputClick, onDoubleClick: this.handleDoubleClick, onFocus: this.handleInputFocus, onBlur: this.handleInputBlur, onCopy: this.handleInputCopy, value: ie, onKeyDown: this.handleInputKeyDown, placeholder: this.props.placeholder, disabled: this.props.disabled, type: "tel" }, this.props.inputProps, { ref: function(O) {
|
|
1365
1366
|
re.numberInputRef = O, typeof re.props.inputProps.ref == "function" ? re.props.inputProps.ref(O) : typeof re.props.inputProps.ref == "object" && (re.props.inputProps.ref.current = O);
|
|
1366
1367
|
} })), b.a.createElement("div", { className: ae, style: this.props.buttonStyle, ref: function(O) {
|
|
1367
1368
|
return re.dropdownContainerRef = O;
|
|
1368
1369
|
} }, u ? b.a.createElement("div", { className: A }, u) : b.a.createElement("div", { onClick: n ? void 0 : this.handleFlagDropdownClick, className: A, title: pe ? "".concat(pe.localName || pe.name, ": + ").concat(pe.dialCode) : "", tabIndex: n ? "-1" : "0", role: "button", "aria-haspopup": "listbox", "aria-expanded": !!me || void 0 }, b.a.createElement("div", { className: I }, !n && b.a.createElement("div", { className: de }))), me && this.getCountryDropdownList()));
|
|
1369
|
-
} }]) &&
|
|
1370
|
+
} }]) && G(D.prototype, K), m;
|
|
1370
1371
|
})(b.a.Component);
|
|
1371
1372
|
ke.defaultProps = { country: "", value: "", onlyCountries: [], preferredCountries: [], excludeCountries: [], placeholder: "1 (702) 123-4567", searchPlaceholder: "search", searchNotFound: "No entries to show", flagsImagePath: "./flags.png", disabled: !1, containerStyle: {}, inputStyle: {}, buttonStyle: {}, dropdownStyle: {}, searchStyle: {}, containerClass: "", inputClass: "", buttonClass: "", dropdownClass: "", searchClass: "", className: "", autoFormat: !0, enableAreaCodes: !1, enableTerritories: !1, disableCountryCode: !1, disableDropdown: !1, enableLongNumbers: !1, countryCodeEditable: !0, enableSearch: !1, disableSearchIcon: !1, disableInitialCountryGuess: !1, disableCountryGuess: !1, regions: "", inputProps: {}, localization: {}, masks: null, priority: null, areaCodes: null, preserveOrder: [], defaultMask: "... ... ... ... ..", alwaysDefaultMask: !1, prefix: "+", copyNumbersOnly: !0, renderStringAsFlag: "", autocompleteSearch: !1, jumpCursorToEnd: !0, enableAreaCodeStretch: !1, enableClickOutside: !0, showDropdown: !1, isValid: !0, defaultErrorMessage: "", specialLabel: "Phone", onEnterKeyPress: null, keys: { UP: 38, DOWN: 40, RIGHT: 39, LEFT: 37, ENTER: 13, ESC: 27, PLUS: 43, A: 65, Z: 90, SPACE: 32, TAB: 9 } }, c.default = ke;
|
|
1372
1373
|
}])), At;
|
|
@@ -1381,29 +1382,29 @@ const Fr = /* @__PURE__ */ yr(Dr), Lr = ({
|
|
|
1381
1382
|
// eslint-disable-next-line
|
|
1382
1383
|
intl: v,
|
|
1383
1384
|
// deprecated
|
|
1384
|
-
isRequired:
|
|
1385
|
+
isRequired: S = !1,
|
|
1385
1386
|
onKeyDown: E = void 0,
|
|
1386
1387
|
placeholder: M = "",
|
|
1387
|
-
displaySmsConsent:
|
|
1388
|
+
displaySmsConsent: G = !0,
|
|
1388
1389
|
// eslint-disable-next-line
|
|
1389
|
-
requireCarrierConsent:
|
|
1390
|
+
requireCarrierConsent: le = !1,
|
|
1390
1391
|
// deprecated
|
|
1391
1392
|
carrierConsent: z = !1,
|
|
1392
1393
|
// eslint-disable-next-line
|
|
1393
|
-
internationalSupport:
|
|
1394
|
+
internationalSupport: _ = !1,
|
|
1394
1395
|
// deprecated
|
|
1395
1396
|
selectedCountryCode: $ = "us",
|
|
1396
1397
|
disabled: V = !1,
|
|
1397
1398
|
label: X
|
|
1398
1399
|
}) => {
|
|
1399
|
-
const [b,
|
|
1400
|
+
const [b, oe] = Re.useState(""), k = () => S ? "" : /* @__PURE__ */ l.jsx(
|
|
1400
1401
|
ge,
|
|
1401
1402
|
{
|
|
1402
1403
|
id: "phoneNumberExplanation",
|
|
1403
1404
|
defaultMessage: "Optional - get text notifications of status updates"
|
|
1404
1405
|
}
|
|
1405
|
-
), R = Oe.useRef(null),
|
|
1406
|
-
b ||
|
|
1406
|
+
), R = Oe.useRef(null), T = "sid-phone-number-error", y = (B, J) => {
|
|
1407
|
+
b || oe(J.dialCode), B.slice(b.length) ? o(`+${B}`) : o("");
|
|
1407
1408
|
};
|
|
1408
1409
|
return Oe.useEffect(() => {
|
|
1409
1410
|
R.current && $t("phoneNumber", R.current);
|
|
@@ -1416,7 +1417,7 @@ const Fr = /* @__PURE__ */ yr(Dr), Lr = ({
|
|
|
1416
1417
|
htmlForLabel: "sid-phone-number",
|
|
1417
1418
|
id: "sid-phone-number-label",
|
|
1418
1419
|
displayClasses: `sid-field__label-with-explanation${M && "sid-h-screen-reader-only"}`,
|
|
1419
|
-
isRequired:
|
|
1420
|
+
isRequired: S,
|
|
1420
1421
|
children: i || k()
|
|
1421
1422
|
}
|
|
1422
1423
|
),
|
|
@@ -1425,10 +1426,10 @@ const Fr = /* @__PURE__ */ yr(Dr), Lr = ({
|
|
|
1425
1426
|
{
|
|
1426
1427
|
country: $.toLowerCase(),
|
|
1427
1428
|
containerClass: "react-tel-input sid-phone-number__wrapper",
|
|
1428
|
-
inputClass: `sid-text-input sid-phone-number__field sid-phone-number__field--intl ${
|
|
1429
|
+
inputClass: `sid-text-input sid-phone-number__field sid-phone-number__field--intl ${S ? "sid-text-input--required" : ""} sid-l-full-width ${c ? "sid-text-input--error" : ""}`,
|
|
1429
1430
|
autoFormat: !1,
|
|
1430
1431
|
value: r || `${b}`,
|
|
1431
|
-
onChange: (B,
|
|
1432
|
+
onChange: (B, J) => y(B, J),
|
|
1432
1433
|
placeholder: M,
|
|
1433
1434
|
ref: R,
|
|
1434
1435
|
inputProps: {
|
|
@@ -1438,33 +1439,33 @@ const Fr = /* @__PURE__ */ yr(Dr), Lr = ({
|
|
|
1438
1439
|
"data-testid": "phone-number-input"
|
|
1439
1440
|
},
|
|
1440
1441
|
"aria-labelledby": "sid-phone-number-label",
|
|
1441
|
-
"aria-describedby": c ?
|
|
1442
|
+
"aria-describedby": c ? T : "",
|
|
1442
1443
|
"aria-invalid": c,
|
|
1443
1444
|
countryCodeEditable: !1,
|
|
1444
1445
|
disabled: V,
|
|
1445
1446
|
disableCountryGuess: !0
|
|
1446
1447
|
}
|
|
1447
1448
|
),
|
|
1448
|
-
c && /* @__PURE__ */ l.jsx("div", { className: "sid-field-error", id:
|
|
1449
|
+
c && /* @__PURE__ */ l.jsx("div", { className: "sid-field-error", id: T, children: /* @__PURE__ */ l.jsx(
|
|
1449
1450
|
ge,
|
|
1450
1451
|
{
|
|
1451
1452
|
id: "errorId.invalidPhoneNumber",
|
|
1452
1453
|
defaultMessage: "Invalid mobile number"
|
|
1453
1454
|
}
|
|
1454
1455
|
) }),
|
|
1455
|
-
|
|
1456
|
+
G && /* @__PURE__ */ l.jsx("div", { className: "sid-h-small-text sid-l-space-top-md sid-sms-consent", children: /* @__PURE__ */ l.jsx(
|
|
1456
1457
|
ge,
|
|
1457
1458
|
{
|
|
1458
1459
|
id: "phoneNumberWarnMessage1",
|
|
1459
1460
|
defaultMessage: "By submitting this form with a mobile number, you consent to receive SMS/text messages for verification purposes. Standard phone carrier text messaging (SMS) and data rates may apply."
|
|
1460
1461
|
}
|
|
1461
1462
|
) }),
|
|
1462
|
-
|
|
1463
|
+
le && /* @__PURE__ */ l.jsx("div", { className: "sid-l-position sid-carrier-disclosure-consent", children: /* @__PURE__ */ l.jsx("div", { className: "sid-h-small-text sid-l-space-top-md", children: /* @__PURE__ */ l.jsxs("label", { htmlFor: "sid-opt-in__carrier-consent", children: [
|
|
1463
1464
|
/* @__PURE__ */ l.jsx(
|
|
1464
1465
|
Rt,
|
|
1465
1466
|
{
|
|
1466
1467
|
id: "carrier-consent",
|
|
1467
|
-
ariaDescribedBy:
|
|
1468
|
+
ariaDescribedBy: T,
|
|
1468
1469
|
isErrored: !!c,
|
|
1469
1470
|
value: z,
|
|
1470
1471
|
onChange: (B) => f && f(B)
|
|
@@ -1586,16 +1587,16 @@ const zr = ({
|
|
|
1586
1587
|
isRequired: i = !0,
|
|
1587
1588
|
value: f = "2000-01-01",
|
|
1588
1589
|
errorMsg: v,
|
|
1589
|
-
label:
|
|
1590
|
+
label: S,
|
|
1590
1591
|
explanation: E,
|
|
1591
1592
|
fieldName: M,
|
|
1592
|
-
fieldId:
|
|
1593
|
-
mode:
|
|
1593
|
+
fieldId: G,
|
|
1594
|
+
mode: le = "date",
|
|
1594
1595
|
locale: z = gr,
|
|
1595
|
-
disabled:
|
|
1596
|
+
disabled: _ = !1,
|
|
1596
1597
|
autoComplete: $
|
|
1597
1598
|
}) => {
|
|
1598
|
-
const V = `sid-${
|
|
1599
|
+
const V = `sid-${G}`, X = `sid-${G}-error`, b = f.split("-"), oe = Number.parseInt(b[0], 10) || void 0, k = Number.parseInt(b[1], 10) || void 0, R = le === "month" ? 1 : Number.parseInt(b[2], 10) || void 0, T = [
|
|
1599
1600
|
{ value: "1", label: c.formatHTMLMessage({ id: "dateTime.january", defaultMessage: "January" }) },
|
|
1600
1601
|
{ value: "2", label: c.formatHTMLMessage({ id: "dateTime.february", defaultMessage: "February" }) },
|
|
1601
1602
|
{ value: "3", label: c.formatHTMLMessage({ id: "dateTime.march", defaultMessage: "March" }) },
|
|
@@ -1608,33 +1609,33 @@ const zr = ({
|
|
|
1608
1609
|
{ value: "10", label: c.formatHTMLMessage({ id: "dateTime.october", defaultMessage: "October" }) },
|
|
1609
1610
|
{ value: "11", label: c.formatHTMLMessage({ id: "dateTime.november", defaultMessage: "November" }) },
|
|
1610
1611
|
{ value: "12", label: c.formatHTMLMessage({ id: "dateTime.december", defaultMessage: "December" }) }
|
|
1611
|
-
], y = (h,
|
|
1612
|
-
if (y(
|
|
1612
|
+
], y = (h, x, fe) => (!fe || fe === "") && (!x || x === "") && (!h || h === ""), ee = (h) => {
|
|
1613
|
+
if (y(oe, h, R)) {
|
|
1613
1614
|
r("");
|
|
1614
1615
|
return;
|
|
1615
1616
|
}
|
|
1616
|
-
(h === "" || h === null) && r(`${
|
|
1617
|
-
const
|
|
1618
|
-
typeof
|
|
1617
|
+
(h === "" || h === null) && r(`${oe}--${R}`);
|
|
1618
|
+
const x = Number.parseInt(h, 10);
|
|
1619
|
+
typeof x == "number" && x >= 1 && x <= 12 ? r(`${oe}-${Je(h)}-${Je(R)}`) : Tt.warn(`Value '${x}' is an invalid month`);
|
|
1619
1620
|
}, B = (h) => {
|
|
1620
|
-
if (y(
|
|
1621
|
+
if (y(oe, k, h)) {
|
|
1621
1622
|
r("");
|
|
1622
1623
|
return;
|
|
1623
1624
|
}
|
|
1624
|
-
h === "" && r(`${
|
|
1625
|
-
const
|
|
1626
|
-
typeof
|
|
1627
|
-
},
|
|
1625
|
+
h === "" && r(`${oe}-${k}-`);
|
|
1626
|
+
const x = Number.parseInt(h, 10);
|
|
1627
|
+
typeof x == "number" && x >= 1 && x <= 31 ? r(`${oe}-${Je(k)}-${Je(x)}`) : Tt.warn(`Value '${x}' is an invalid day`);
|
|
1628
|
+
}, J = (h) => {
|
|
1628
1629
|
if (y(h, k, R)) {
|
|
1629
1630
|
r("");
|
|
1630
1631
|
return;
|
|
1631
1632
|
}
|
|
1632
1633
|
h === "" && r(`-${k}-${R}`);
|
|
1633
|
-
const
|
|
1634
|
-
typeof
|
|
1634
|
+
const x = Number.parseInt(h, 10);
|
|
1635
|
+
typeof x == "number" && x >= 1 ? r(`${x}-${Je(k)}-${Je(R)}`) : Tt.warn(`Value '${x}' is an invalid year`);
|
|
1635
1636
|
}, ue = () => {
|
|
1636
|
-
r(!R && !k && !
|
|
1637
|
-
}, te = `${V}__month`, ve = `${V}-label`, Ce = /* @__PURE__ */ l.jsx("div", { className: "sid-field-error", id: X, children: v }),
|
|
1637
|
+
r(!R && !k && !oe ? "" : `${oe}-${Je(k)}-${Je(R)}`);
|
|
1638
|
+
}, te = `${V}__month`, ve = `${V}-label`, Ce = /* @__PURE__ */ l.jsx("div", { className: "sid-field-error", id: X, children: v }), Y = /* @__PURE__ */ l.jsx(
|
|
1638
1639
|
ur,
|
|
1639
1640
|
{
|
|
1640
1641
|
className: `${V}__month sid-date__month`,
|
|
@@ -1643,23 +1644,23 @@ const zr = ({
|
|
|
1643
1644
|
fieldLabelId: ve,
|
|
1644
1645
|
ariaDescribedBy: o ? X : void 0,
|
|
1645
1646
|
isErrored: o,
|
|
1646
|
-
options:
|
|
1647
|
+
options: T,
|
|
1647
1648
|
onChange: (h) => {
|
|
1648
1649
|
ee(h ? h.value : null);
|
|
1649
1650
|
},
|
|
1650
1651
|
placeholder: c.formatHTMLMessage({ id: "dateTime.month", defaultMessage: "Month" }),
|
|
1651
1652
|
suppressPlaceholder: !1,
|
|
1652
|
-
value: k ?
|
|
1653
|
+
value: k ? T[k - 1] : void 0,
|
|
1653
1654
|
isRequired: i,
|
|
1654
1655
|
buttonRef: "inputSelectButtonBirthDate",
|
|
1655
|
-
disabled:
|
|
1656
|
+
disabled: _,
|
|
1656
1657
|
autoComplete: $ ? `${$}-month` : void 0
|
|
1657
1658
|
}
|
|
1658
|
-
), d =
|
|
1659
|
+
), d = le === "date" && /* @__PURE__ */ l.jsx(
|
|
1659
1660
|
tr,
|
|
1660
1661
|
{
|
|
1661
1662
|
className: `${V}__day sid-date__day sid-text-input sid-text-input--required ${o ? "sid-text-input--error" : ""}`,
|
|
1662
|
-
id: `${
|
|
1663
|
+
id: `${G}-day`,
|
|
1663
1664
|
isErrored: o,
|
|
1664
1665
|
min: 1,
|
|
1665
1666
|
max: 31,
|
|
@@ -1675,19 +1676,19 @@ const zr = ({
|
|
|
1675
1676
|
refId: `${M}Day`,
|
|
1676
1677
|
type: "text",
|
|
1677
1678
|
value: R || "",
|
|
1678
|
-
disabled:
|
|
1679
|
+
disabled: _,
|
|
1679
1680
|
autoComplete: $ ? `${$}-day` : void 0
|
|
1680
1681
|
}
|
|
1681
1682
|
), C = /* @__PURE__ */ l.jsx(
|
|
1682
1683
|
tr,
|
|
1683
1684
|
{
|
|
1684
1685
|
className: `${V}__year sid-date__year sid-text-input sid-text-input--required ${o ? "sid-text-input--error" : ""}`,
|
|
1685
|
-
id: `${
|
|
1686
|
+
id: `${G}-year`,
|
|
1686
1687
|
name: `${V}-year`,
|
|
1687
1688
|
type: "text",
|
|
1688
1689
|
isErrored: o,
|
|
1689
1690
|
inputMode: "numeric",
|
|
1690
|
-
value:
|
|
1691
|
+
value: oe || "",
|
|
1691
1692
|
pattern: "\\d*",
|
|
1692
1693
|
placeholder: c.formatHTMLMessage({ id: "dateTime.year", defaultMessage: "Year" }),
|
|
1693
1694
|
hidePlaceholder: !1,
|
|
@@ -1695,9 +1696,9 @@ const zr = ({
|
|
|
1695
1696
|
"aria-labelledby": ve,
|
|
1696
1697
|
"aria-required": i,
|
|
1697
1698
|
refId: `${M}Year`,
|
|
1698
|
-
onChange: (h) =>
|
|
1699
|
+
onChange: (h) => J(h.target.value),
|
|
1699
1700
|
onBlur: ue,
|
|
1700
|
-
disabled:
|
|
1701
|
+
disabled: _,
|
|
1701
1702
|
autoComplete: $ ? `${$}-year` : void 0
|
|
1702
1703
|
}
|
|
1703
1704
|
);
|
|
@@ -1706,7 +1707,7 @@ const zr = ({
|
|
|
1706
1707
|
/* @__PURE__ */ l.jsx(
|
|
1707
1708
|
sr,
|
|
1708
1709
|
{
|
|
1709
|
-
text:
|
|
1710
|
+
text: S,
|
|
1710
1711
|
htmlForLabel: te,
|
|
1711
1712
|
id: ve,
|
|
1712
1713
|
displayClasses: "sid-used-for-verification-purposes-label sid-field__label-with-explanation",
|
|
@@ -1717,9 +1718,9 @@ const zr = ({
|
|
|
1717
1718
|
/* @__PURE__ */ l.jsxs("div", { className: `${V}__inputs sid-date__inputs`, children: [
|
|
1718
1719
|
Vr(z) ? /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
1719
1720
|
d,
|
|
1720
|
-
|
|
1721
|
+
Y
|
|
1721
1722
|
] }) : /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
1722
|
-
|
|
1723
|
+
Y,
|
|
1723
1724
|
d
|
|
1724
1725
|
] }),
|
|
1725
1726
|
C
|
|
@@ -1734,17 +1735,17 @@ const zr = ({
|
|
|
1734
1735
|
errorMessage: f,
|
|
1735
1736
|
disabled: v = !1
|
|
1736
1737
|
}) => {
|
|
1737
|
-
const
|
|
1738
|
-
return /* @__PURE__ */ l.jsxs("div", { className: `sid-field sid-${
|
|
1738
|
+
const S = `${r}Label`, E = `sid-${Ve(S)}`, M = `sid-${Ve(S)}-error`, G = () => o(!c);
|
|
1739
|
+
return /* @__PURE__ */ l.jsxs("div", { className: `sid-field sid-${Ve(r)}`, children: [
|
|
1739
1740
|
/* @__PURE__ */ l.jsx("div", { className: "sid-l-space-top-md" }),
|
|
1740
1741
|
/* @__PURE__ */ l.jsxs("div", { className: "sid-checkbox-flex", children: [
|
|
1741
1742
|
/* @__PURE__ */ l.jsx(
|
|
1742
1743
|
Rt,
|
|
1743
1744
|
{
|
|
1744
|
-
id:
|
|
1745
|
+
id: Ve(r),
|
|
1745
1746
|
isErrored: !!f,
|
|
1746
1747
|
value: c,
|
|
1747
|
-
onChange:
|
|
1748
|
+
onChange: G,
|
|
1748
1749
|
ariaLabelledby: E,
|
|
1749
1750
|
ariaDescribedBy: f ? M : "",
|
|
1750
1751
|
disabled: v
|
|
@@ -1754,8 +1755,8 @@ const zr = ({
|
|
|
1754
1755
|
"div",
|
|
1755
1756
|
{
|
|
1756
1757
|
className: "sid-checkbox__label",
|
|
1757
|
-
onClick:
|
|
1758
|
-
onKeyPress:
|
|
1758
|
+
onClick: G,
|
|
1759
|
+
onKeyPress: G,
|
|
1759
1760
|
role: "button",
|
|
1760
1761
|
tabIndex: 0,
|
|
1761
1762
|
id: E,
|
|
@@ -1772,37 +1773,37 @@ const zr = ({
|
|
|
1772
1773
|
fieldId: i,
|
|
1773
1774
|
label: f,
|
|
1774
1775
|
placeholder: v = "",
|
|
1775
|
-
errorMessage:
|
|
1776
|
+
errorMessage: S,
|
|
1776
1777
|
required: E,
|
|
1777
1778
|
showPlaceholderAndHideLabel: M = !1,
|
|
1778
|
-
onKeyDown:
|
|
1779
|
-
disabled:
|
|
1779
|
+
onKeyDown: G = void 0,
|
|
1780
|
+
disabled: le = !1
|
|
1780
1781
|
}) => {
|
|
1781
|
-
const z = `${i}Label`,
|
|
1782
|
+
const z = `${i}Label`, _ = `sid-${Ve(z)}`, $ = `sid-${Ve(i)}-error`;
|
|
1782
1783
|
return /* @__PURE__ */ l.jsx(
|
|
1783
1784
|
lr,
|
|
1784
1785
|
{
|
|
1785
1786
|
fieldId: i,
|
|
1786
1787
|
label: f,
|
|
1787
|
-
errorMessage:
|
|
1788
|
+
errorMessage: S,
|
|
1788
1789
|
showPlaceholderAndHideLabel: M,
|
|
1789
1790
|
isRequired: E,
|
|
1790
1791
|
children: /* @__PURE__ */ l.jsx(
|
|
1791
1792
|
ur,
|
|
1792
1793
|
{
|
|
1793
1794
|
fieldId: i,
|
|
1794
|
-
inputId: `sid-${
|
|
1795
|
-
fieldLabelId:
|
|
1796
|
-
isErrored: !!
|
|
1795
|
+
inputId: `sid-${Ve(i)}`,
|
|
1796
|
+
fieldLabelId: _,
|
|
1797
|
+
isErrored: !!S,
|
|
1797
1798
|
options: c,
|
|
1798
1799
|
onChange: (V) => o(V?.value.toString() || ""),
|
|
1799
|
-
onKeyDown:
|
|
1800
|
+
onKeyDown: G,
|
|
1800
1801
|
value: c.find((V) => V.value === r),
|
|
1801
1802
|
suppressPlaceholder: !M,
|
|
1802
1803
|
placeholder: v,
|
|
1803
|
-
ariaDescribedBy:
|
|
1804
|
+
ariaDescribedBy: S ? $ : void 0,
|
|
1804
1805
|
isRequired: E,
|
|
1805
|
-
disabled:
|
|
1806
|
+
disabled: le
|
|
1806
1807
|
}
|
|
1807
1808
|
)
|
|
1808
1809
|
}
|
|
@@ -1815,9 +1816,9 @@ const zr = ({
|
|
|
1815
1816
|
onChange: f,
|
|
1816
1817
|
disabled: v = !1
|
|
1817
1818
|
}) => {
|
|
1818
|
-
const
|
|
1819
|
+
const S = Oe.useRef(null);
|
|
1819
1820
|
return Oe.useEffect(() => {
|
|
1820
|
-
$t(r,
|
|
1821
|
+
$t(r, S.current);
|
|
1821
1822
|
}), /* @__PURE__ */ l.jsxs("label", { className: "sid-radio__input sid-radio__input-label", children: [
|
|
1822
1823
|
/* @__PURE__ */ l.jsx(
|
|
1823
1824
|
"input",
|
|
@@ -1828,7 +1829,7 @@ const zr = ({
|
|
|
1828
1829
|
checked: o.value === i,
|
|
1829
1830
|
value: o.value,
|
|
1830
1831
|
onChange: (E) => E.target.checked && f(o.value),
|
|
1831
|
-
ref:
|
|
1832
|
+
ref: S,
|
|
1832
1833
|
disabled: v
|
|
1833
1834
|
}
|
|
1834
1835
|
),
|
|
@@ -1841,30 +1842,30 @@ const zr = ({
|
|
|
1841
1842
|
label: i,
|
|
1842
1843
|
explanation: f = void 0,
|
|
1843
1844
|
required: v,
|
|
1844
|
-
errorMessage:
|
|
1845
|
+
errorMessage: S,
|
|
1845
1846
|
value: E,
|
|
1846
1847
|
disabled: M = !1
|
|
1847
1848
|
}) => {
|
|
1848
|
-
const
|
|
1849
|
+
const G = Ve(r), le = Ir(r);
|
|
1849
1850
|
return /* @__PURE__ */ l.jsx(
|
|
1850
1851
|
lr,
|
|
1851
1852
|
{
|
|
1852
|
-
fieldId:
|
|
1853
|
+
fieldId: G,
|
|
1853
1854
|
label: i,
|
|
1854
1855
|
explanation: f,
|
|
1855
|
-
errorMessage:
|
|
1856
|
+
errorMessage: S,
|
|
1856
1857
|
isRequired: v,
|
|
1857
1858
|
children: /* @__PURE__ */ l.jsx(
|
|
1858
1859
|
"div",
|
|
1859
1860
|
{
|
|
1860
1861
|
role: "group",
|
|
1861
|
-
className: `sid-radio__inputs sid-${
|
|
1862
|
-
"aria-labelledby":
|
|
1863
|
-
children: o.map((z,
|
|
1862
|
+
className: `sid-radio__inputs sid-${G}__inputs sid-radio-grid${S ? " sid-radio__inputs--error" : ""}`,
|
|
1863
|
+
"aria-labelledby": le,
|
|
1864
|
+
children: o.map((z, _) => /* @__PURE__ */ l.jsx(
|
|
1864
1865
|
Kr,
|
|
1865
1866
|
{
|
|
1866
1867
|
fieldId: r,
|
|
1867
|
-
index:
|
|
1868
|
+
index: _,
|
|
1868
1869
|
option: z,
|
|
1869
1870
|
value: E,
|
|
1870
1871
|
onChange: c,
|
|
@@ -1885,14 +1886,14 @@ const zr = ({
|
|
|
1885
1886
|
DATEYM: "dateYm"
|
|
1886
1887
|
}, dt = (r) => `${r.fieldId}Label`, nt = (r) => `${r.fieldId}Explanation`, Jr = (r) => `${r.fieldId}Placeholder`, fa = it(
|
|
1887
1888
|
({ config: r, verificationService: c, intl: o }) => {
|
|
1888
|
-
const i = ct(() => c.viewModel.metadata[r.fieldId]), f = ct(() => c.fieldValidationErrors[r.fieldId]), v = (
|
|
1889
|
+
const i = ct(() => c.viewModel.metadata[r.fieldId]), f = ct(() => c.fieldValidationErrors[r.fieldId]), v = (S) => {
|
|
1889
1890
|
c.updateViewModel(
|
|
1890
1891
|
Xt(c.viewModel, (E) => {
|
|
1891
|
-
E.metadata = E.metadata || {}, E.metadata[r.fieldId] =
|
|
1892
|
+
E.metadata = E.metadata || {}, E.metadata[r.fieldId] = S;
|
|
1892
1893
|
})
|
|
1893
1894
|
), c.updateFieldValidationErrors(
|
|
1894
1895
|
Xt(c.fieldValidationErrors, (E) => {
|
|
1895
|
-
r.validate(
|
|
1896
|
+
r.validate(S) === void 0 && delete E[r.fieldId];
|
|
1896
1897
|
})
|
|
1897
1898
|
);
|
|
1898
1899
|
};
|
|
@@ -1985,7 +1986,7 @@ const zr = ({
|
|
|
1985
1986
|
);
|
|
1986
1987
|
case Xe.DATE:
|
|
1987
1988
|
case Xe.DATEYM:
|
|
1988
|
-
const
|
|
1989
|
+
const S = r.fieldType === Xe.DATEYM ? "month" : void 0;
|
|
1989
1990
|
return /* @__PURE__ */ l.jsx(
|
|
1990
1991
|
Ur,
|
|
1991
1992
|
{
|
|
@@ -2011,7 +2012,7 @@ const zr = ({
|
|
|
2011
2012
|
}
|
|
2012
2013
|
),
|
|
2013
2014
|
isRequired: r.required,
|
|
2014
|
-
mode:
|
|
2015
|
+
mode: S
|
|
2015
2016
|
}
|
|
2016
2017
|
);
|
|
2017
2018
|
case Xe.RADIO:
|
|
@@ -2050,57 +2051,57 @@ var De = {}, ar;
|
|
|
2050
2051
|
function Yr() {
|
|
2051
2052
|
if (ar) return De;
|
|
2052
2053
|
ar = 1;
|
|
2053
|
-
var r = De && De.__createBinding || (Object.create ? (function(
|
|
2054
|
+
var r = De && De.__createBinding || (Object.create ? (function(_, $, V, X) {
|
|
2054
2055
|
X === void 0 && (X = V);
|
|
2055
2056
|
var b = Object.getOwnPropertyDescriptor($, V);
|
|
2056
2057
|
(!b || ("get" in b ? !$.__esModule : b.writable || b.configurable)) && (b = { enumerable: !0, get: function() {
|
|
2057
2058
|
return $[V];
|
|
2058
|
-
} }), Object.defineProperty(
|
|
2059
|
-
}) : (function(
|
|
2060
|
-
X === void 0 && (X = V),
|
|
2061
|
-
})), c = De && De.__setModuleDefault || (Object.create ? (function(
|
|
2062
|
-
Object.defineProperty(
|
|
2063
|
-
}) : function(
|
|
2064
|
-
|
|
2065
|
-
}), o = De && De.__importStar || function(
|
|
2066
|
-
if (
|
|
2059
|
+
} }), Object.defineProperty(_, X, b);
|
|
2060
|
+
}) : (function(_, $, V, X) {
|
|
2061
|
+
X === void 0 && (X = V), _[X] = $[V];
|
|
2062
|
+
})), c = De && De.__setModuleDefault || (Object.create ? (function(_, $) {
|
|
2063
|
+
Object.defineProperty(_, "default", { enumerable: !0, value: $ });
|
|
2064
|
+
}) : function(_, $) {
|
|
2065
|
+
_.default = $;
|
|
2066
|
+
}), o = De && De.__importStar || function(_) {
|
|
2067
|
+
if (_ && _.__esModule) return _;
|
|
2067
2068
|
var $ = {};
|
|
2068
|
-
if (
|
|
2069
|
-
return c($,
|
|
2069
|
+
if (_ != null) for (var V in _) V !== "default" && Object.prototype.hasOwnProperty.call(_, V) && r($, _, V);
|
|
2070
|
+
return c($, _), $;
|
|
2070
2071
|
};
|
|
2071
2072
|
Object.defineProperty(De, "__esModule", { value: !0 }), De.useTurnstile = De.Turnstile = void 0;
|
|
2072
2073
|
const i = o(or()), f = typeof globalThis < "u" ? globalThis : window;
|
|
2073
|
-
let v = typeof f.turnstile < "u" ? "ready" : "unloaded",
|
|
2074
|
-
const M = new Promise((
|
|
2075
|
-
E = { resolve:
|
|
2074
|
+
let v = typeof f.turnstile < "u" ? "ready" : "unloaded", S, E;
|
|
2075
|
+
const M = new Promise((_, $) => {
|
|
2076
|
+
E = { resolve: _, reject: $ }, v === "ready" && _(void 0);
|
|
2076
2077
|
});
|
|
2077
2078
|
{
|
|
2078
|
-
const
|
|
2079
|
-
|
|
2079
|
+
const _ = "cf__reactTurnstileOnLoad", $ = "https://challenges.cloudflare.com/turnstile/v0/api.js";
|
|
2080
|
+
S = () => {
|
|
2080
2081
|
if (v === "unloaded") {
|
|
2081
|
-
v = "loading", f[
|
|
2082
|
-
E.resolve(), v = "ready", delete f[
|
|
2082
|
+
v = "loading", f[_] = () => {
|
|
2083
|
+
E.resolve(), v = "ready", delete f[_];
|
|
2083
2084
|
};
|
|
2084
|
-
const V = `${$}?onload=${
|
|
2085
|
+
const V = `${$}?onload=${_}&render=explicit`, X = document.createElement("script");
|
|
2085
2086
|
X.src = V, X.async = !0, X.addEventListener("error", () => {
|
|
2086
|
-
E.reject("Failed to load Turnstile."), delete f[
|
|
2087
|
+
E.reject("Failed to load Turnstile."), delete f[_];
|
|
2087
2088
|
}), document.head.appendChild(X);
|
|
2088
2089
|
}
|
|
2089
2090
|
return M;
|
|
2090
2091
|
};
|
|
2091
2092
|
}
|
|
2092
|
-
function
|
|
2093
|
+
function G({ id: _, className: $, style: V, sitekey: X, action: b, cData: oe, theme: k, language: R, tabIndex: T, responseField: y, responseFieldName: ee, size: B, fixedSize: J, retry: ue, retryInterval: te, refreshExpired: ve, appearance: Ce, execution: Y, userRef: d, onVerify: C, onSuccess: h, onLoad: x, onError: fe, onExpire: ke, onTimeout: w, onAfterInteractive: m, onBeforeInteractive: D, onUnsupported: K }) {
|
|
2093
2094
|
const g = (0, i.useRef)(null), e = (0, i.useState)({
|
|
2094
2095
|
onVerify: C,
|
|
2095
2096
|
onSuccess: h,
|
|
2096
|
-
onLoad:
|
|
2097
|
+
onLoad: x,
|
|
2097
2098
|
onError: fe,
|
|
2098
2099
|
onExpire: ke,
|
|
2099
2100
|
onTimeout: w,
|
|
2100
2101
|
onAfterInteractive: m,
|
|
2101
2102
|
onBeforeInteractive: D,
|
|
2102
|
-
onUnsupported:
|
|
2103
|
-
})[0], ne = d ?? g, re =
|
|
2103
|
+
onUnsupported: K
|
|
2104
|
+
})[0], ne = d ?? g, re = J ? {
|
|
2104
2105
|
width: B === "compact" ? "130px" : B === "flexible" ? "100%" : "300px",
|
|
2105
2106
|
height: B === "compact" ? "120px" : "65px",
|
|
2106
2107
|
...V
|
|
@@ -2108,26 +2109,26 @@ function Yr() {
|
|
|
2108
2109
|
return (0, i.useEffect)(() => {
|
|
2109
2110
|
if (!ne.current)
|
|
2110
2111
|
return;
|
|
2111
|
-
let
|
|
2112
|
+
let Q = !1, ce = "";
|
|
2112
2113
|
return (async () => {
|
|
2113
2114
|
var pe, me;
|
|
2114
2115
|
if (v !== "ready")
|
|
2115
2116
|
try {
|
|
2116
|
-
await
|
|
2117
|
+
await S();
|
|
2117
2118
|
} catch (H) {
|
|
2118
2119
|
(pe = e.onError) === null || pe === void 0 || pe.call(e, H);
|
|
2119
2120
|
return;
|
|
2120
2121
|
}
|
|
2121
|
-
if (
|
|
2122
|
+
if (Q || !ne.current)
|
|
2122
2123
|
return;
|
|
2123
2124
|
let ie;
|
|
2124
2125
|
const we = {
|
|
2125
2126
|
sitekey: X,
|
|
2126
2127
|
action: b,
|
|
2127
|
-
cData:
|
|
2128
|
+
cData: oe,
|
|
2128
2129
|
theme: k,
|
|
2129
2130
|
language: R,
|
|
2130
|
-
tabindex:
|
|
2131
|
+
tabindex: T,
|
|
2131
2132
|
"response-field": y,
|
|
2132
2133
|
"response-field-name": ee,
|
|
2133
2134
|
size: B,
|
|
@@ -2135,10 +2136,10 @@ function Yr() {
|
|
|
2135
2136
|
"retry-interval": te,
|
|
2136
2137
|
"refresh-expired": ve,
|
|
2137
2138
|
appearance: Ce,
|
|
2138
|
-
execution:
|
|
2139
|
+
execution: Y,
|
|
2139
2140
|
callback: (H, n) => {
|
|
2140
|
-
var u,
|
|
2141
|
-
(u = e.onVerify) === null || u === void 0 || u.call(e, H, ie), (
|
|
2141
|
+
var u, j;
|
|
2142
|
+
(u = e.onVerify) === null || u === void 0 || u.call(e, H, ie), (j = e.onSuccess) === null || j === void 0 || j.call(e, H, n, ie);
|
|
2142
2143
|
},
|
|
2143
2144
|
"error-callback": (H) => {
|
|
2144
2145
|
var n;
|
|
@@ -2165,17 +2166,17 @@ function Yr() {
|
|
|
2165
2166
|
return (H = e.onUnsupported) === null || H === void 0 ? void 0 : H.call(e, ie);
|
|
2166
2167
|
}
|
|
2167
2168
|
};
|
|
2168
|
-
ce = window.turnstile.render(ne.current, we), ie =
|
|
2169
|
+
ce = window.turnstile.render(ne.current, we), ie = le(ce), (me = e.onLoad) === null || me === void 0 || me.call(e, ce, ie);
|
|
2169
2170
|
})(), () => {
|
|
2170
|
-
|
|
2171
|
+
Q = !0, ce && window.turnstile.remove(ce);
|
|
2171
2172
|
};
|
|
2172
2173
|
}, [
|
|
2173
2174
|
X,
|
|
2174
2175
|
b,
|
|
2175
|
-
|
|
2176
|
+
oe,
|
|
2176
2177
|
k,
|
|
2177
2178
|
R,
|
|
2178
|
-
|
|
2179
|
+
T,
|
|
2179
2180
|
y,
|
|
2180
2181
|
ee,
|
|
2181
2182
|
B,
|
|
@@ -2183,32 +2184,32 @@ function Yr() {
|
|
|
2183
2184
|
te,
|
|
2184
2185
|
ve,
|
|
2185
2186
|
Ce,
|
|
2186
|
-
|
|
2187
|
+
Y
|
|
2187
2188
|
]), (0, i.useEffect)(() => {
|
|
2188
|
-
e.onVerify = C, e.onSuccess = h, e.onLoad =
|
|
2189
|
+
e.onVerify = C, e.onSuccess = h, e.onLoad = x, e.onError = fe, e.onExpire = ke, e.onTimeout = w, e.onAfterInteractive = m, e.onBeforeInteractive = D, e.onUnsupported = K;
|
|
2189
2190
|
}, [
|
|
2190
2191
|
C,
|
|
2191
2192
|
h,
|
|
2192
|
-
|
|
2193
|
+
x,
|
|
2193
2194
|
fe,
|
|
2194
2195
|
ke,
|
|
2195
2196
|
w,
|
|
2196
2197
|
m,
|
|
2197
2198
|
D,
|
|
2198
|
-
|
|
2199
|
-
]), i.default.createElement("div", { ref: ne, id:
|
|
2199
|
+
K
|
|
2200
|
+
]), i.default.createElement("div", { ref: ne, id: _, className: $, style: re });
|
|
2200
2201
|
}
|
|
2201
|
-
De.Turnstile =
|
|
2202
|
-
function
|
|
2202
|
+
De.Turnstile = G, De.default = G;
|
|
2203
|
+
function le(_) {
|
|
2203
2204
|
return {
|
|
2204
|
-
execute: ($) => window.turnstile.execute(
|
|
2205
|
-
reset: () => window.turnstile.reset(
|
|
2206
|
-
getResponse: () => window.turnstile.getResponse(
|
|
2207
|
-
isExpired: () => window.turnstile.isExpired(
|
|
2205
|
+
execute: ($) => window.turnstile.execute(_, $),
|
|
2206
|
+
reset: () => window.turnstile.reset(_),
|
|
2207
|
+
getResponse: () => window.turnstile.getResponse(_),
|
|
2208
|
+
isExpired: () => window.turnstile.isExpired(_)
|
|
2208
2209
|
};
|
|
2209
2210
|
}
|
|
2210
2211
|
function z() {
|
|
2211
|
-
const [
|
|
2212
|
+
const [_, $] = (0, i.useState)(v);
|
|
2212
2213
|
return (0, i.useEffect)(() => {
|
|
2213
2214
|
v !== "ready" && M.then(() => $(v));
|
|
2214
2215
|
}, []), f.turnstile;
|
|
@@ -2283,35 +2284,35 @@ const Zr = () => /* @__PURE__ */ l.jsxs(
|
|
|
2283
2284
|
o && /* @__PURE__ */ l.jsx("button", { type: "button", className: "sid-captcha-notification__retry-button", onClick: o, children: /* @__PURE__ */ l.jsx(St, { id: "step.personalInfo.captcha.retryButton" }) })
|
|
2284
2285
|
] }) : null;
|
|
2285
2286
|
}, Xr = it(Qr), ea = 12e4, ta = 1e4, Be = /* @__PURE__ */ new Set(), pa = ({ verificationService: r, isErrored: c }) => {
|
|
2286
|
-
const o = nr.useTurnstile(), i = vr("captcha") === "enabled", { programTheme: f, programId: v } = r,
|
|
2287
|
-
Be.has(
|
|
2288
|
-
},
|
|
2287
|
+
const o = nr.useTurnstile(), i = vr("captcha") === "enabled", { programTheme: f, programId: v } = r, S = r.verificationResponse.segment, E = Cr(f) || i, { trackEvent: M, recordNumericMetric: G, flush: le } = Er({ segment: S, programId: v }), z = (Y) => {
|
|
2288
|
+
Be.has(Y) || (Be.add(Y), M(Y));
|
|
2289
|
+
}, _ = _r(xr), $ = _ === "loading" || _ === "success" ? _ : null, V = !!_ && $ === null, X = !!_, [b, oe] = Re.useState("idle"), [k, R] = Re.useState(!1), [T, y] = Re.useState(c);
|
|
2289
2290
|
Re.useEffect(() => {
|
|
2290
2291
|
y(c);
|
|
2291
2292
|
}, [c]);
|
|
2292
2293
|
const ee = () => {
|
|
2293
|
-
z(Ne.CaptchaRetryClicked),
|
|
2294
|
-
}, B = (
|
|
2295
|
-
Lt({ captchaToken:
|
|
2296
|
-
},
|
|
2297
|
-
const
|
|
2294
|
+
z(Ne.CaptchaRetryClicked), oe("loading"), o?.reset();
|
|
2295
|
+
}, B = (Y) => {
|
|
2296
|
+
Lt({ captchaToken: Y }), jr("captchaToken", Y, r);
|
|
2297
|
+
}, J = () => {
|
|
2298
|
+
const Y = r.viewModel?.fieldsToSkipValidation || [];
|
|
2298
2299
|
Lt({
|
|
2299
|
-
fieldsToSkipValidation:
|
|
2300
|
+
fieldsToSkipValidation: Y.filter((d) => d !== "captchaToken")
|
|
2300
2301
|
}), B("");
|
|
2301
2302
|
}, ue = () => {
|
|
2302
|
-
const
|
|
2303
|
+
const Y = r.viewModel?.fieldsToSkipValidation || [];
|
|
2303
2304
|
Lt({
|
|
2304
2305
|
captchaToken: void 0,
|
|
2305
|
-
fieldsToSkipValidation:
|
|
2306
|
+
fieldsToSkipValidation: Y.includes("captchaToken") ? Y : [...Y, "captchaToken"]
|
|
2306
2307
|
});
|
|
2307
|
-
}, te = (
|
|
2308
|
-
z(Ne.CaptchaVerified),
|
|
2309
|
-
}, ve = (
|
|
2308
|
+
}, te = (Y) => {
|
|
2309
|
+
z(Ne.CaptchaVerified), oe((d) => d === "loading" ? "success" : d), y(!1), B(Y);
|
|
2310
|
+
}, ve = (Y) => {
|
|
2310
2311
|
if (!k)
|
|
2311
2312
|
z(Ne.CaptchaErrorScriptLoad);
|
|
2312
2313
|
else if (!Be.has(Ne.CaptchaErrorClient)) {
|
|
2313
|
-
const d = parseInt(
|
|
2314
|
-
|
|
2314
|
+
const d = parseInt(Y, 10);
|
|
2315
|
+
G(Ne.CaptchaErrorClientCode, isNaN(d) ? 0 : d), wr({
|
|
2315
2316
|
eventName: Sr.CAPTCHA_CLIENT_ERROR_CODE,
|
|
2316
2317
|
params: {
|
|
2317
2318
|
[Nr.ERROR_CODE]: isNaN(d) ? 0 : d,
|
|
@@ -2319,30 +2320,30 @@ const Zr = () => /* @__PURE__ */ l.jsxs(
|
|
|
2319
2320
|
}
|
|
2320
2321
|
}), z(Ne.CaptchaErrorClient);
|
|
2321
2322
|
}
|
|
2322
|
-
|
|
2323
|
+
oe("idle"), y(!0), B("");
|
|
2323
2324
|
}, Ce = () => {
|
|
2324
|
-
z(Ne.CaptchaErrorBrowserCompatibility),
|
|
2325
|
+
z(Ne.CaptchaErrorBrowserCompatibility), oe("idle"), y(!0), B("");
|
|
2325
2326
|
};
|
|
2326
2327
|
return Re.useEffect(() => {
|
|
2327
|
-
!E || !c || !k || (z(Ne.CaptchaErrorServer),
|
|
2328
|
+
!E || !c || !k || (z(Ne.CaptchaErrorServer), oe("loading"), B(""), o?.reset());
|
|
2328
2329
|
}, [E, c, k]), Re.useEffect(() => {
|
|
2329
2330
|
if (!E)
|
|
2330
2331
|
return;
|
|
2331
|
-
const
|
|
2332
|
+
const Y = setTimeout(J, 0), d = () => Be.has(Ne.CaptchaVerified) || Be.has(Ne.CaptchaErrorClient) || Be.has(Ne.CaptchaErrorScriptLoad) || Be.has(Ne.CaptchaErrorBrowserCompatibility) || Be.has(Ne.CaptchaErrorLoadTimeout), C = () => {
|
|
2332
2333
|
d() || (Be.has(Ne.CaptchaRendered) ? z(Ne.CaptchaAbandonedAfterRender) : z(Ne.CaptchaUnmountedBeforeRender));
|
|
2333
2334
|
}, h = () => {
|
|
2334
|
-
C(),
|
|
2335
|
+
C(), le();
|
|
2335
2336
|
};
|
|
2336
2337
|
return window.addEventListener("beforeunload", h), () => {
|
|
2337
|
-
clearTimeout(
|
|
2338
|
+
clearTimeout(Y), window.removeEventListener("beforeunload", h), C(), ue();
|
|
2338
2339
|
};
|
|
2339
2340
|
}, [E]), Re.useEffect(() => {
|
|
2340
2341
|
if (!E || k || X)
|
|
2341
2342
|
return;
|
|
2342
|
-
const
|
|
2343
|
+
const Y = setTimeout(() => {
|
|
2343
2344
|
Be.has(Ne.CaptchaErrorScriptLoad) || z(Ne.CaptchaErrorLoadTimeout), y(!0);
|
|
2344
2345
|
}, ta);
|
|
2345
|
-
return () => clearTimeout(
|
|
2346
|
+
return () => clearTimeout(Y);
|
|
2346
2347
|
}, [E, k]), E ? /* @__PURE__ */ l.jsxs("div", { children: [
|
|
2347
2348
|
!X && /* @__PURE__ */ l.jsx(
|
|
2348
2349
|
nr.Turnstile,
|
|
@@ -2364,9 +2365,9 @@ const Zr = () => /* @__PURE__ */ l.jsxs(
|
|
|
2364
2365
|
/* @__PURE__ */ l.jsx(
|
|
2365
2366
|
Xr,
|
|
2366
2367
|
{
|
|
2367
|
-
hasError:
|
|
2368
|
+
hasError: T || V,
|
|
2368
2369
|
uiState: $ ?? b,
|
|
2369
|
-
onRetry: k && b === "idle" &&
|
|
2370
|
+
onRetry: k && b === "idle" && T ? ee : void 0
|
|
2370
2371
|
}
|
|
2371
2372
|
)
|
|
2372
2373
|
] }) : null;
|