PageSourceSearch

https://biaggi.com/cdn/shop/t/104/assets/component-video-background.js?v=12554752630904806151745337696

js biaggi.com collected 2026-09-24 09:36:48 UTC 1,741 bytes, 2 lines download raw bytes

1if(typeof VideoBackgroundElement!="function"){class VideoBackgroundElement2 extends HTMLElement{constructor(){super(),this._eventSuccess=new Event("success"),this._eventFail=new Event("fail");const video=this.querySelector("video");video.addEventListener("error",e=>{this.switchFallback()}),video.addEventListener("playing",e=>{this.classList.contains("loaded")||(this.classList.add("loaded"),this.dispatchEvent(this._eventSuccess))}),video.addEventListener("stalled",e=>{this.classList.contains("loaded")||this.switchFallback()});const handleIntersection=(entries,observer)=>{entries[0].isIntersecting&&(observer.unobserve(this),video.querySelectorAll("source").forEach(elm=>{elm.src=elm.dataset.src}),video.load())};new IntersectionObserver(handleIntersection.bind(this),{rootMargin:"0px 0px 400px 0px"}).observe(this)}switchFallback(){const fallback=this.parentElement.querySelector(`[data-video-background-fallback][data-id="${this.dataset.id}"]`);fallback&&(fallback.append(fallback.querySelector("template").content.cloneNode(!0)),fallback.querySelector("img").setAttribute("srcset",fallback.querySelector("img").getAttribute("srcset"))),this.dispatchEvent(this._eventFail)}}typeof customElements.get("video-background-element")>"u"&&customElements.define("video-background-element",VideoBackgroundElement2)}document.addEventListener("shopify:section:load",e=>{e.target.classList.contains("mount-video-background")&&setTimeout(()=>{e.target.querySelectorAll("video-background-element").forEach(elm=>{elm.querySelectorAll("source").forEach(source=>{source.src=source.dataset.src}),elm.querySelector("video").load()})},500)});
2//# sourceMappingURL=/cdn/shop/t/104/assets/component-video-background.js.map?v=12554752630904806151745337696

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.