1jQuery(function($){ 2 $('.hero-slider').on('afterChange', function(slick, currentSlide){ 3 scaleBgImages(); 4 }); 5 $('.hero-slider').slick({ 6 dots: true, 7 arrows: false, 8 prevArrow: '<div class="slick-prev slider-prev slider-arrow"><svg class="icon"><use xlink:href="#long-arrow-left" /></svg></div>', 9 nextArrow: '<div class="slick-next slider-next slider-arrow"><svg class="icon"><use xlink:href="#long-arrow-right" /></svg></div>', 10 infinite: true, 11 swipe: false, 12 autoplay: true, 13 autoplaySpeed: 3000, 14 slidesToShow: 1, 15 slidesToScroll: 1, 16 }) 17 18 setTimeout(function(){ 19 scaleBgImages(); 20 // setupSlideLinks(); 21 }, 500) 22 23 function setupSlideLinks() { 24 let slides = $('.hero-slide'); 25 26 slides.each(function(){ 27 $(this).find('.slide-dot').click(function(){ 28 let num = $(this).data('slidenum'); 29 $('.hero-slider').slick('slickGoTo', num); 30 }); 31 }) 32 } 33});
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.