PageSourceSearch

https://ashdeco.com/cdn/shop/t/21/compiled_assets/scripts.js?v=17375566745966388231777266277

js ashdeco.com collected 2026-10-04 03:59:45 UTC 2,399 bytes, 2 lines download raw bytes

1(function(){var __sections__={};(function(){for(var i=0,s=document.getElementById("sections-script").getAttribute("data-sections").split(",");i<s.length;i++)__sections__[s[i]]=!0})(),(function(){if(!(!__sections__["hero-slider"]&&!Shopify.designMode))try{var initHeroSlider2=function(root){if(root.dataset.hsliderInit==="1")return;root.dataset.hsliderInit="1";var track=root.querySelector(".hslider__track");if(!track)return;var slides=track.children;if(!slides||slides.length<2)return;var dots=root.querySelectorAll(".hslider__dot"),arrows=root.querySelectorAll(".hslider__arrow"),autoplay=root.dataset.autoplay==="true",loop=root.dataset.loop!=="false",interval=parseInt(root.dataset.interval,10)||6e3,i=0,timer=null;function go(n){loop?i=(n+slides.length)%slides.length:i=Math.max(0,Math.min(slides.length-1,n));for(var k=0;k<slides.length;k++)slides[k].classList.toggle("is-active",k===i);dots.forEach(function(d,k2){d.classList.toggle("is-active",k2===i),d.setAttribute("aria-selected",k2===i?"true":"false")})}arrows.forEach(function(a){a.addEventListener("click",function(e){e.preventDefault(),go(i+parseInt(a.dataset.dir,10)),restart()})}),dots.forEach(function(d){d.addEventListener("click",function(e){e.preventDefault(),go(parseInt(d.dataset.i,10)),restart()})});function start(){autoplay&&!timer&&(timer=setInterval(function(){go(i+1)},interval))}function stop(){timer&&(clearInterval(timer),timer=null)}function restart(){stop(),start()}root.addEventListener("mouseenter",stop),root.addEventListener("mouseleave",start);var x0=null;root.addEventListener("touchstart",function(e){x0=e.touches[0].clientX},{passive:!0}),root.addEventListener("touchend",function(e){if(x0!=null){var dx=e.changedTouches[0].clientX-x0;Math.abs(dx)>40&&(go(i+(dx<0?1:-1)),restart()),x0=null}}),start()},bootAllHeroSliders2=function(){document.querySelectorAll('[data-section-type="hero-slider"]').forEach(initHeroSlider2)},initHeroSlider=initHeroSlider2,bootAllHeroSliders=bootAllHeroSliders2;document.readyState==="loading"?document.addEventListener("DOMContentLoaded",bootAllHeroSliders2):bootAllHeroSliders2(),document.addEventListener("shopify:section:load",function(e){var root=e.target.querySelector('[data-section-type="hero-slider"]');root&&initHeroSlider2(root)})}catch(e){console.error(e)}})()})();
2//# sourceMappingURL=/cdn/shop/t/21/compiled_assets/scripts.js.map?v=17375566745966388231777266277

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.