PageSourceSearch

https://menzela.ru/build/assets/ActualVideo-0a63800c.js

js menzela.ru collected 2026-10-02 18:03:56 UTC 1,325 bytes, 1 lines download raw bytes

1const e=document.querySelector(".new-video-widget_social"),c=e==null?void 0:e.querySelectorAll(".new-video-widget__container"),r=e==null?void 0:e.querySelectorAll(".new-video-widget__item"),o=e==null?void 0:e.querySelector(".prev"),d=e==null?void 0:e.querySelector(".next");r&&r.length>0&&(e.querySelector(".new-video-widget__item.activeVideo")||r[0].classList.add("activeVideo"));function l(t){const i=t==null?void 0:t.querySelector(".new-video-widget__video");i&&(i.src="")}function s(){const t=e==null?void 0:e.querySelector(".new-video-widget__item.activeVideo");return t&&r?Array.from(r).indexOf(t):0}function a(t){if(!r||r.length===0)return;let i=s();l(r[i]),r[i].classList.remove("activeVideo");let n=i+t;n>=r.length&&(n=0),n<0&&(n=r.length-1),r[n].classList.add("activeVideo")}c&&c.length>0&&c.forEach(t=>{t.addEventListener("click",()=>{const i=t.getAttribute("data-id");if(i&&!t.querySelector(".new-video-widget__video")){const n=document.createElement("iframe");n.className="new-video-widget__video",n.src=`https://www.youtube.com/embed/${i}?autoplay=1`,n.setAttribute("frameborder","0"),n.setAttribute("allowfullscreen",""),n.setAttribute("loading","lazy"),n.setAttribute("allow","autoplay; encrypted-media"),t.appendChild(n)}})});o&&o.addEventListener("click",()=>a(-1));d&&d.addEventListener("click",()=>a(1));

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.