PageSourceSearch

https://centuryguild.net/cdn/shop/t/22/assets/background-video.js?v=145675366241949236911753673605

js centuryguild.net collected 2026-09-25 18:42:47 UTC 2,128 bytes, 2 lines download raw bytes

1if(!customElements.get("background-video")){class BackgroundVideo extends HTMLElement{constructor(){super(),this.tl=!1,this.splittext=!1}connectedCallback(){let _this=this;document.body.classList.contains("animations-true")&&typeof gsap<"u"&&this.prepareAnimations();let video_container=this.querySelector(".background-video__iframe");video_container&&video_container.querySelector("iframe")&&(video_container.querySelector("iframe").onload=function(){_this.videoPlay(video_container)})}disconnectedCallback(){document.body.classList.contains("animations-true")&&typeof gsap<"u"&&(this.tl.kill(),this.splittext.revert())}videoPlay(video_container){setTimeout(()=>{video_container.dataset.provider==="youtube"?video_container.querySelector("iframe").contentWindow.postMessage(JSON.stringify({event:"command",func:"playVideo",args:""}),"*"):video_container.dataset.provider==="vimeo"&&video_container.querySelector("iframe").contentWindow.postMessage(JSON.stringify({method:"play"}),"*")},10)}prepareAnimations(){let section=this,button_offset=0;section.tl=gsap.timeline({scrollTrigger:{trigger:section,start:"top center"}}),document.fonts.ready.then(function(){if(section.splittext=new SplitText(section.querySelectorAll("h3, p"),{type:"lines, words",linesClass:"line-child"}),section.querySelector("h3")){let h3_duration=.7+(section.querySelectorAll("h3 .line-child div").length-1)*.05;section.tl.from(section.querySelectorAll("h3 .line-child div"),{duration:h3_duration,yPercent:"100",stagger:.05},0),button_offset+=h3_duration}if(section.querySelector("p")){let p_duration=.7+(section.querySelectorAll("p .line-child div").length-1)*.02;section.tl.from(section.querySelectorAll("p .line-child div"),{duration:p_duration,yPercent:"100",stagger:.02},0),button_offset+=p_duration}section.querySelector(".video-lightbox-modal__button")&&section.tl.fromTo(section.querySelector(".video-lightbox-modal__button"),{autoAlpha:0},{duration:.5,autoAlpha:1},button_offset*.4)})}}customElements.define("background-video",BackgroundVideo)}
2//# sourceMappingURL=/cdn/shop/t/22/assets/background-video.js.map?v=145675366241949236911753673605

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.