PageSourceSearch

https://www.mirkrasok.ru/bitrix/js/arturgolubev.cssinliner/video/script.min.js?17054166363210

js mirkrasok.ru collected 2026-10-03 20:56:42 UTC 3,210 bytes, 1 lines download raw bytes

1function agll_rutube_init(){for(var e,t,a,i=document.querySelectorAll(".js-rt-ll"),l=0;l<i.length;l++)i[l].classList.contains("ag-yt-ll-inited")||(e=i[l].dataset.preview,t=document.createElement("div"),a=document.createElement("div"),t.classList.add("ag-yt-ll-img"),i[l].appendChild(t),t.style.backgroundImage="url('"+e+"')",a.classList.add("ag-yt-ll-playbtn"),i[l].appendChild(a),i[l].querySelector(".ag-yt-ll-playbtn").addEventListener("click",function(){var e=this.parentElement,t=document.createElement("iframe");t.src="https://rutube.ru/play/embed/"+e.dataset.video+"?autoplay=1&ref=0",t.setAttribute("frameBorder","0"),t.setAttribute("allow","clipboard-write; autoplay"),t.setAttribute("id","rutube_"+e.dataset.video),t.setAttribute("allowfullscreen",""),t.setAttribute("webkitAllowFullScreen",""),t.setAttribute("mozallowfullscreen",""),e.appendChild(t)}),i[l].classList.add("ag-yt-ll-inited"));window.addEventListener("message",function(e){if("https://rutube.ru"==e.origin)try{var t=JSON.parse(e.data);"player:ready"===t.type&&setTimeout(function(){var e=document.getElementById("rutube_"+t.data.videoId);e.contentWindow.postMessage(JSON.stringify({type:"player:play",data:{}}),"*"),e.contentWindow.postMessage(JSON.stringify({type:"player:pause",data:{}}),"*")},1e3)}catch(e){}})}function agll_youtube_init(){var e,t,a=document.querySelectorAll(".js-yt-ll");a.length&&window.screen.width<767&&((e=document.createElement("script")).src="https://www.youtube.com/iframe_api",(t=document.getElementsByTagName("script")[0]).parentNode.insertBefore(e,t));for(var i,l,n,d=0;d<a.length;d++)a[d].classList.contains("ag-yt-ll-inited")||(i=a[d].dataset.preview,l=document.createElement("div"),n=document.createElement("div"),l.classList.add("ag-yt-ll-img"),a[d].appendChild(l),l.style.backgroundImage="url('//img.youtube.com/vi/"+a[d].dataset.video+"/"+i+".jpg')",n.classList.add("ag-yt-ll-playbtn"),a[d].appendChild(n),a[d].querySelector(".ag-yt-ll-playbtn").addEventListener("click",function(){var e,t;"object"==typeof YT?((e=this.parentElement).setAttribute("id","video-"+e.dataset.video),new YT.Player("video-"+e.dataset.video,{videoId:e.dataset.video,playerVars:{autoplay:1},events:{onReady:function(e){e.target.mute(),e.target.playVideo()}}})):(e=this.parentElement,(t=document.createElement("iframe")).src="https://www."+e.dataset.domain+".com/embed/"+e.dataset.video+"?autoplay=1",t.setAttribute("allow","accelerometer;autoplay;encrypted-media;gyroscope;picture-in-picture"),t.setAttribute("allowfullscreen",""),e.appendChild(t))}),a[d].classList.add("ag-yt-ll-inited"))}function agll_videoframe_resize(){for(var e=document.querySelectorAll(".ag-yt-ll"),t=0;t<e.length;t++){var a=e[t].dataset.fw,i=e[t].dataset.fh;a&&i&&(0<e[t].offsetWidth&&e[t].offsetWidth<a?(a=e[t].offsetWidth/a*i,e[t].style.height=a+"px"):e[t].style.height=i+"px")}}void 0!==window.frameCacheVars&&"function"==typeof BX?BX.addCustomEvent("onFrameDataReceived",function(e){agll_rutube_init(),agll_youtube_init(),agll_videoframe_resize()}):document.addEventListener("DOMContentLoaded",function(e){agll_rutube_init(),agll_youtube_init(),agll_videoframe_resize()}),window.addEventListener("resize",function(e){agll_videoframe_resize()});

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.