1class CruiseTextItems extends HTMLElement { 2 connectedCallback() { 3 this.querySelectorAll("dotlottie-player").forEach((player) => { 4 const observer = new IntersectionObserver( 5 (entries, obs) => { 6 if (entries[0].isIntersecting) { 7 player.play(); 8 obs.disconnect(); 9 } 10 }, 11 { threshold: 0.3 } 12 ); 13 observer.observe(player); 14 }); 15 } 16} 17 18customElements.get("cruise-text-items") || 19 customElements.define("cruise-text-items", CruiseTextItems);
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.