PageSourceSearch

https://internacionales.uba.ar/wp-content/plugins/ultimate-addons-…/country-dropdown/assets/js/script.js

js uba.ar collected 2026-09-24 08:24:51 UTC 1,747 bytes, 51 lines download raw bytes

1(function ($) {
2
3    // Country function for load the signature
4    function uacf7_country_load() {
5
6        var forms = $('.wpcf7-form');
7
8        forms.each(function () {
9            var formId = $(this).find('input[name="_wpcf7"]').val();
10            $('.uacf7-form-' + formId).find('input.uacf7_country_dropdown_with_flag').each(function () {
11                var fieldId = jQuery(this).attr('id');
12                var defaultCountry = jQuery(this).attr('country-code');
13                var onlyCountries = jQuery(this).attr('only-countries');
14                if (typeof onlyCountries !== "undefined" && onlyCountries != '') {
15                    onlyCountries = JSON.parse(onlyCountries);
16                } else {
17                    onlyCountries = '';
18                }
19                $("#" + fieldId).countrySelect({
20                    defaultCountry: defaultCountry,
21                    onlyCountries: onlyCountries,
22                    responsiveDropdown: true,
23                    preferredCountries: []
24                });
25            });
26        });
27    }
28
29    uacf7_country_load();
30
31    // Recall the country function if repeater addon repeat
32    $(document).on('click', '.uacf7_repeater_add', function () {
33        uacf7_country_load();
34        // var scriptId = 'uacf7-country-select-library-js';
35        // var scriptSrc = $('#' + scriptId).attr('src');
36
37        // // Remove the existing script tag
38        // $('#' + scriptId).remove();
39
40        // // Create a new script tag
41        // var newScript = document.createElement('script');
42        // newScript.id = scriptId;
43        // newScript.src = scriptSrc;
44
45        // // Append the new script tag to the head
46        // $('head').append(newScript);
47
48    });
49
50})(jQuery);
51

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.