1document.querySelectorAll("[data-intersection-observer]").forEach((intersectElement,i)=>{const intersectionID=intersectElement.dataset.id,observerElement=document.querySelector(`[data-id="${intersectionID}"]`),intersectOnce=observerElement.dataset.intersectOnce||!0,observerOptions={rootMargin:"0px 0px -50% 0px",threshold:0,...JSON.parse(observerElement.dataset.intersectionObserver||"{}")||{}},animationBody=observerElement.querySelector(".full-width-banner__animation--body"),animationElements=observerElement.querySelectorAll(".full-width-banner__animation"),intersectionObserver=new IntersectionObserver(entries=>{entries.forEach(entry=>{if(entry.isIntersecting){if(intersectionID!==entry.target.dataset.id||observerElement.classList.contains("isAnimated")&&intersectOnce)return;observerElement.classList.remove("inAnimation");let animationDelay=animationBody.dataset.animationDelay||300,animationDuration=animationBody.dataset.animationDuration||900;setAnimation({observerElement,animationBody,animationElements}),setTimeout(()=>{observerElement.classList.contains("isAnimated")&&intersectOnce?intersectionObserver.unobserve(observerElement):observerElement.classList.contains(!intersectOnce)&&observerElement.classList.remove("isAnimated")},animationElements.length*(animationDelay+animationDuration)+animationDelay)}})},observerOptions);intersectionObserver.observe(observerElement);function setAnimation(params){const{observerElement:observerElement2,animationBody:animationBody2,animationElements:animationElements2}=params;let animationDelay=animationBody2.dataset.animationDelay||300,animationDuration=animationBody2.dataset.animationDuration||900;animationElements2.forEach((element,i2)=>{i2++,animationDelay=element.dataset.animationDelay||animationDelay,animationDuration=element.dataset.animationDuration||animationDuration,setTimeout(()=>{element.classList.add("inAnimation"),element.querySelector("*").style.animationDuration=`${animationDuration}ms`},i2*animationDelay),setTimeout(()=>{element.querySelector("*").style.animationDuration="",element.querySelector("*").style.length===0&&element.querySelector("*").removeAttribute("style"),element.classList.remove("inAnimation"),element.classList.add("isAnimated"),i2===animationElements2.length&&(observerElement2.classList.remove("inAnimation"),observerElement2.classList.add("isAnimated"))},i2*(animationDelay+animationDuration))})}}); 2//# sourceMappingURL=/cdn/shop/t/54/assets/intersection-observer.js.map?v=80307249683113050001759801226
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.