PageSourceSearch

https://www.ilristorantemediterraneo.it/wp-content/themes/wp_nuvo/framework/widgets/widgets.js?ver=4.4.33

js ilristorantemediterraneo.it collected 2026-10-06 12:17:50 UTC 2,827 bytes, 71 lines download raw bytes

1(function ($) {
2    "use strict";
3    jQuery(document).ready(function ($) {
4        var display;
5        var no_display;
6        $('body').click(function (e) {
7            var target = $(e.target);
8            if (target.parents('.shopping_cart_dropdown').length == 0 && !target.hasClass('shopping_cart_dropdown')) {
9                $('.widget_searchform_content,.shopping_cart_dropdown').removeClass('active');
10            }
11        });
12        $('.widget_searchform_content,.shopping_cart_dropdown').click(function (e) {
13            e.stopPropagation();
14        });
15       $('.widget_cart_search_wrap [data-display]').click(function (e) {
16            var container = $(this).parents('.widget_cart_search_wrap');
17            console.log(container);
18            e.stopPropagation();
19            var _this = $(this);
20            display = _this.attr('data-display');
21            no_display = _this.attr('data-no_display');
22            if ($(display, container).hasClass('active')) {
23                $(display, container).removeClass('active');
24            } else {
25                $(display, container).addClass('active');
26                setTimeout(function () {
27                    var offset = $(display).offset().left + $(display).outerWidth() - $(window).width()
28                    if (offset > 0) {
29                        $(display).css({
30                            left: 0 - offset
31                        });
32                    } else {
33                        $(display).css({
34                            left: 0
35                        });
36
37                    }
38                }, 10);
39                $(no_display, container).removeClass('active');
40                /* $(display).css({
41                    left: 0
42                }); */
43            }
44        });
45        $(window).scroll(function () {
46            $('.widget_searchform_content,.shopping_cart_dropdown').each(function () {
47                if ($(this).hasClass('active')) {
48                    $(this).removeClass('active');
49                }
50            })
51        })
52        //Scroll on cart
53        setTimeout(function () {
54            $('.shopping_cart_dropdown_inner').css({
55                maxHeight: '300px',
56                overflow: 'hidden'
57            }).bind('mousewheel', function (event) {
58                event.preventDefault();
59                var scrollTop = this.scrollTop;
60                this.scrollTop = (scrollTop + ((event.deltaY * event.deltaFactor) * -1));
61            });
62        }, 1000);
63        /*
64        $('.shopping_cart_dropdown_inner').hide().css({maxHeight:'300px'}).bind('mousewheel', function (event) {
65            event.preventDefault();
66            var scrollTop = this.scrollTop;
67            this.scrollTop = (scrollTop + ((event.deltaY * event.deltaFactor) * -1));
68        });
69        */
70    })
71})(jQuery);

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.