PageSourceSearch

https://candeloeventi.it/wp-content/plugins/woo-essential/assets/js/dnwoo.catCarousel.divi4.js?ver=1789403603

js candeloeventi.it collected 2026-10-03 22:09:58 UTC 3,050 bytes, 91 lines download raw bytes

1jQuery(function($) {
2  $(".dnwoo_product_cate_grid_carousel_active").each(function(e) {
3    const wooCat = $(this).data();
4
5    const wooCatBreakpoint =
6      wooCat.breakpoints && wooCat.breakpoints.split("|");
7
8    const wooCatBetween = wooCat.spacebetween && wooCat.spacebetween.split("|");
9
10    const wooCatCarousel = new Swiper(this, {
11      autoHeight: "on" === wooCat.autoheight,
12      speed: wooCat.speed ? parseInt(wooCat.speed) : 400,
13      centeredSlides: "on" === wooCat.center,
14      direction: "horizontal",
15      slidesPerView: wooCatBreakpoint && parseInt(wooCatBreakpoint[0]),
16      spaceBetween: wooCatBetween && parseInt(wooCatBetween[0]),
17      grabCursor: "on" === wooCat.grabCursor,
18      loop: "on" === wooCat.loop,
19      autoplay: {
20        enabled: "on" === wooCat.autoplay,
21        delay: wooCat.delay ? parseInt(wooCat.delay) : 5000,
22      },
23      effect: "coverflow",
24      coverflowEffect: {
25        slideShadows: "on" === wooCat.shadow,
26        rotate: +wooCat.rotate,
27        stretch: +wooCat.stretch,
28        depth: +wooCat.depth,
29      },
30      keyboard: {
31        enabled: "on" === wooCat.keyboardenable,
32        onlyInViewport: false,
33      },
34      mousewheel: {
35        enabled: "on" === wooCat.mouse,
36        invert: true,
37      },
38      pagination: {
39        el: ".swiper-pagination",
40        dynamicBullets: "on" === wooCat.paginationBullets,
41        clickable: true,
42        type: wooCat.paginationType,
43      },
44      navigation: {
45        nextEl:
46          $(this).siblings(".swiper-button-next")[0] ||
47          $(this)
48            .siblings(".swiper-button-container")
49            .children(".swiper-button-next")[0],
50        prevEl:
51          $(this).siblings(".swiper-button-prev")[0] ||
52          $(this)
53            .siblings(".swiper-button-container")
54            .children(".swiper-button-prev")[0],
55      },
56      breakpoints: {
57        // when window width is >= 1024px
58        1024: {
59          slidesPerView:
60            wooCatBreakpoint.length && parseInt(wooCatBreakpoint[0]),
61          spaceBetween: wooCatBetween && parseInt(wooCatBetween[0]),
62        },
63        // when window width is >= 768px
64        768: {
65          slidesPerView:
66            wooCatBreakpoint.length && parseInt(wooCatBreakpoint[1]),
67          spaceBetween: wooCatBetween && parseInt(wooCatBetween[1]),
68        },
69        // when window width is >= 479px
70        479: {
71          slidesPerView: wooCatBreakpoint && parseInt(wooCatBreakpoint[2]),
72          spaceBetween: wooCatBetween && parseInt(wooCatBetween[2]),
73        },
74        // when window width is >= 200px
75        200: {
76          slidesPerView: wooCatBreakpoint && parseInt(wooCatBreakpoint[2]),
77          spaceBetween: wooCatBetween && parseInt(wooCatBetween[2]),
78        },
79      },
80    });
81
82    if ("on" === wooCat.autoplay && wooCat.pauseonhover === "on") {
83      $(this).mouseenter(function() {
84        wooCatCarousel.autoplay.stop();
85      });
86      $(this).mouseleave(function() {
87        wooCatCarousel.autoplay.start();
88      });
89    }
90  });
91});

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.