PageSourceSearch

https://shawdiesels.co.nz/wp-content/cache/min/1/wp-content/themes…/assets/js/main.js?ver=1788320290

js shawdiesels.co.nz collected 2026-10-09 00:27:53 UTC 3,143 bytes, 3 lines download raw bytes

1jQuery(function($){"use strict";function updateZoomVh(){var ratio=window.outerWidth/window.innerWidth;var zoomPct=Math.round((ratio*100)/10)*10;zoomPct=Math.max(100,Math.min(zoomPct,200));document.documentElement.style.setProperty("--zoom-vh",zoomPct)}
2updateZoomVh();$(window).on("resize",updateZoomVh);$(".testimonials-slider").slick({slidesToShow:1,slidesToScroll:1,infinite:!0,speed:400,arrows:!0,prevArrow:'<button class="testimonial-arrow testimonial-arrow--prev" aria-label="Previous"><svg width="22" height="44" viewBox="0 0 22 44" fill="none" xmlns="http://www.w3.org/2000/svg"><polyline points="18,2 4,22 18,42" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></svg></button>',nextArrow:'<button class="testimonial-arrow testimonial-arrow--next" aria-label="Next"><svg width="22" height="44" viewBox="0 0 22 44" fill="none" xmlns="http://www.w3.org/2000/svg"><polyline points="4,2 18,22 4,42" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></svg></button>',dots:!1,});$(".testimonials-slider").on("beforeChange",function(){$(this).find(".testimonial-slide").each(function(){var $slide=$(this);if($slide.find(".testimonial-quote__short").length){$slide.find(".testimonial-quote__full").hide();$slide.find(".testimonial-quote__short").show();$slide.find(".testimonial-readmore").show()}})});$(document).on("click",".testimonial-readmore",function(e){e.preventDefault();var $slide=$(this).closest(".testimonial-slide");$slide.find(".testimonial-quote__short").hide();$slide.find(".testimonial-quote__full").show();$(this).hide()});$(".fc-product-carousel").slick({slidesToShow:3,slidesToScroll:1,infinite:!0,arrows:!0,dots:!1,speed:400,prevArrow:'<button class="product-carousel-arrow product-carousel-arrow--prev" aria-label="Previous"><svg width="22" height="44" viewBox="0 0 22 44" fill="none" xmlns="http://www.w3.org/2000/svg"><polyline points="18,2 4,22 18,42" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></svg></button>',nextArrow:'<button class="product-carousel-arrow product-carousel-arrow--next" aria-label="Next"><svg width="22" height="44" viewBox="0 0 22 44" fill="none" xmlns="http://www.w3.org/2000/svg"><polyline points="4,2 18,22 4,42" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></svg></button>',responsive:[{breakpoint:1024,settings:{slidesToShow:2,},},{breakpoint:640,settings:{slidesToShow:1,},},],});$(function(){var lastScrollTop=0;var $targets=$(".branding, .top-line-right");var ticking=!1;$(window).on("scroll",function(){if(!ticking){requestAnimationFrame(function(){var scrollTop=$(window).scrollTop();if(scrollTop>lastScrollTop&&scrollTop>0){$targets.addClass("scroll-on")}else{$targets.removeClass("scroll-on")}
3lastScrollTop=scrollTop;ticking=!1});ticking=!0}})})});document.addEventListener("DOMContentLoaded",function(){var menuToggleCaption=document.querySelector(".menu-toggle-caption");if(menuToggleCaption){menuToggleCaption.addEventListener("click",function(e){e.preventDefault()})}})

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.