PageSourceSearch

https://www.techgropse.com/blog/wp-content/plugins/cf7-country-code-drop-down/public//js/script.min.js

js techgropse.com collected 2026-09-26 01:19:50 UTC 1,758 bytes, 41 lines download raw bytes

1function intl_tel_object_assign(t) {
2    var n = {};
3    return (
4        t.forEach(function (t) {
5            Object.keys(t).forEach(function (e) {
6                t.hasOwnProperty(e) && (n[e] = t[e]);
7            });
8        }),
9        n
10    );
11}
12jQuery(".wpcf7-country-code").each(function () {
13    var t = jQuery(this),
14        n = {},
15        e = {};
16    null != t.data("preferredcountries") && "" != t.data("preferredcountries") && (n.preferredCountries = t.data("preferredcountries").split("|")),
17        (e = null != t.data("initialcountry") && "" != t.data("initialcountry") ? t.data("initialcountry") : "auto"),
18        (l = null != t.data("lookup-key") && "" != t.data("lookup-key") ? t.data("lookup-key") : "");
19    var r = {
20        initialCountry: e,
21        utilsScript: wpcf7_utils_url,
22        geoIpLookup: function (t) {
23            jQuery
24                .get("//extreme-ip-lookup.com/json/?key=" + l, function () {}, "jsonp")
25                .always(function (n) {
26                    var e = n && n.countryCode ? n.countryCode : "";
27                    t(e);
28                });
29        },
30    };
31    t.intlTelInput(intl_tel_object_assign([r, n]));
32    var i = t.parents("span")[0],
33        l = t.parents("form");
34        
35    l.submit(function () {
36            jQuery(i).children("input.wpcf7-country-code-full").val(t.intlTelInput("getNumber")),
37            jQuery(i).children("input.wpcf7-country-code-country-name").val(t.intlTelInput("getSelectedCountryData").name),
38            jQuery(i).children("input.wpcf7-country-code-country-code").val(t.intlTelInput("getSelectedCountryData").dialCode),
39            jQuery(i).children("input.wpcf7-country-code-country-iso2").val(t.intlTelInput("getSelectedCountryData").iso2);
40    });
41});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.