1const d=()=>{const o=document.querySelectorAll(".js-video");for(let t of o){const e=t.querySelector(".video__video video"),l=t.querySelector(".video__overlay");e.removeAttribute("controls"),e.paused&&l.addEventListener("click",i=>{i.preventDefault(),e.play()},{once:!0}),e.addEventListener("play",()=>{t.classList.add("video--has-played"),t.classList.add("video--playing"),e.setAttribute("controls","true")}),e.addEventListener("pause",()=>{t.classList.remove("video--playing")})}};export{d as initVideo};
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.