PageSourceSearch

https://www.coteathome.co.uk/cdn/shop/t/16/assets/gallery.js?v=75479435014457189461767718231

js coteathome.co.uk collected 2026-09-25 18:39:20 UTC 1,401 bytes, 2 lines download raw bytes

1if(!customElements.get("theme-gallery")){class ThemeGallery extends HTMLElement{constructor(){super()}connectedCallback(){this.galleryVideoList=Array.from(this.querySelectorAll(".gallery--video")),this.hoverPlayList=this.galleryVideoList.filter(item=>item.classList.contains("hover-play")&&item),this.autoPlayList=this.galleryVideoList.filter(item=>!item.classList.contains("hover-play")&&item),this.autoPlayList.forEach((item,i)=>{item.querySelector("video").play()}),this.setHoverPlayList(),this.setAnimations(),Shopify.designMode&&this.addEventListener("shopify:section:load",event=>{this.setAnimations(),setTimeout(()=>{ScrollTrigger.refresh()},100)})}setHoverPlayList(){this.hoverPlayList.forEach((item,i)=>{item.querySelector("video").currentTime=.1,item.parentElement.addEventListener("mouseenter",()=>this.playVideo(item)),item.parentElement.addEventListener("mouseleave",()=>this.pauseVideo(item))})}playVideo(videoContainer){videoContainer.querySelector("video").play()}pauseVideo(videoContainer){videoContainer.querySelector("video").pause()}setAnimations(){ScrollTrigger.batch(this.querySelectorAll("figure"),{start:"top 90%",onEnter:(elements,triggers)=>{gsap.to(elements,{opacity:1,stagger:.15,ease:window.theme.settings.animation_easing})}})}}customElements.define("theme-gallery",ThemeGallery)}
2//# sourceMappingURL=/cdn/shop/t/16/assets/gallery.js.map?v=75479435014457189461767718231

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.