PageSourceSearch

https://www.greeninvoice.co.il/wp-content/themes/public-website/assets/js/category-slider.js?ver=1.1.115

js greeninvoice.co.il collected 2026-10-02 02:29:23 UTC 1,764 bytes, 1 lines download raw bytes

1!function($){const Category_Slider={sliders:$(".slider"),init:function(){this.sliders.each((function(index,element){$(this).addClass(`slider-${index}`),Category_Slider.initSlider(`.slider-${index}`)})),window.Category_Slider=this},destroy:function(){window.Category_Slider.sliders.find(".swiper.swiper-initialized").each((function(index,element){element.swiper.destroy()}))},initMobile:function(){window.matchMedia("(min-width: 1024px)").matches?window.Category_Slider.destroy():window.Category_Slider.init()},initSlider:function(selector){window.matchMedia("(min-width: 1024px)").matches||new Swiper(`${selector} .swiper`,{loop:!1,infinite:!0,slidesPerView:1.15,spaceBetween:10,slidesOffsetBefore:24,slidesOffsetAfter:24,pagination:{el:".swiper-pagination"},navigation:{nextEl:`${selector} .button-next`,prevEl:`${selector} .button-prev`},keyboard:{enabled:!0,onlyInViewport:!0,pageUpDown:!1},breakpoints:{375:{spaceBetween:10},425:{slidesPerView:1.45,spaceBetween:20,slidesOffsetBefore:50,slidesOffsetAfter:50},768:{slidesPerView:2.45,spaceBetween:20,slidesOffsetBefore:24,slidesOffsetAfter:24},1024:{slidesPerView:3.45,spaceBetween:30,slidesOffsetBefore:152,slidesOffsetAfter:152,pagination:{enabled:!1}},1366:{slidesPerView:3.9,spaceBetween:30,slidesOffsetBefore:110,slidesOffsetAfter:110,pagination:{enabled:!1}},1440:{slidesPerView:4.15,spaceBetween:30,slidesOffsetBefore:146,slidesOffsetAfter:146,pagination:{enabled:!1}},1900:{slidesPerView:5.2,spaceBetween:30,slidesOffsetBefore:376,slidesOffsetAfter:306,pagination:{enabled:!1}}}})}};$(document).ready((function(){Category_Slider.init(),$(window).trigger("morning/category-slider/ready")})),$(window).on("resize morning/category-slider/ready",(function(e){window.Category_Slider.initMobile()}))}(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.