1(function($) { 2 $(document).ready(function () { 3 4 // Rotator wpisów 5 6 jQuery('.post_rotator').each(function() { 7 let main_dom = jQuery(this); 8 9 new Swiper(main_dom.get(0), { 10 slidesPerView: 1, 11 spaceBetween: 30, 12 freeMode: false, 13 lazy: true, 14 autoHeight: false, 15 loop: main_dom.data('loop') != undefined ? main_dom.data('loop') : true, 16 watchSlidesProgress: true, 17 18 navigation: { 19 nextEl: main_dom.parent().find('.swiper-button-next').get(0), 20 prevEl: main_dom.parent().find('.swiper-button-prev').get(0), 21 }, 22 pagination: { 23 el: main_dom.find(".swiper-pagination").get(0), 24 clickable: true, 25 type: "progressbar", 26 }, 27 on: { 28 afterInit: function(swiper) { 29 swiper.lazy.loadInSlide(0); 30 } 31 }, 32 breakpoints: { 33 768: { 34 slidesPerView: 2, 35 }, 36 998: { 37 slidesPerView: 2, 38 }, 39 1200: { 40 slidesPerView: main_dom.data('sliderperview') != undefined ? main_dom.data('sliderperview') : 3, 41 }, 42 1440: { 43 slidesPerView: main_dom.data('sliderperview') != undefined ? main_dom.data('sliderperview') : 3, 44 spaceBetween: 40, 45 }, 46 1600: { 47 slidesPerView: main_dom.data('sliderperview') != undefined ? main_dom.data('sliderperview') : 3, 48 spaceBetween: 50, 49 } 50 } 51 }); 52 }) 53 54 }); 55})(window.jQuery); 56 57 58 59 60 61
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.