PageSourceSearch

https://cdn.metaratings.ru/_next/static/chunks/55062.efafc180a0840490.js

js metaratings.ru collected 2026-10-09 22:42:39 UTC 6,191 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[55062],{5424:e=>{e.exports={video:"Video_video__X64cX",localVideoPlayer:"Video_localVideoPlayer__xrBZ4",videoElement:"Video_videoElement__R4eJ7",controls:"Video_controls__z6P7U",controlButton:"Video_controlButton__ZFzDL",progress:"Video_progress__tq0mz",time:"Video_time__LCRa7",placeholder:"Video_placeholder__Tq7va"}},55062:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Video:()=>c});var n=r(60072),l=r(60004),i=r(53647),o=r(87520),a=r(26779),s=r(5424),u=r.n(s);let c=({iframe_url:e,video_url:t,preview_url:r,microdata:s})=>{let c;if(!e&&!t)return null;let[d,h]=(0,i.useIntersection)({rootMargin:"200px",disabled:!1}),m=(0,l.useRef)(null),x=!!t,p=(0,l.useRef)(null),v=(0,l.useRef)(null),[g,k]=(0,l.useState)(!1),[C,w]=(0,l.useState)(!1),[b,f]=(0,l.useState)(0),[j,_]=(0,l.useState)(0),[V,L]=(0,l.useState)(!1),y=(0,l.useCallback)(e=>{if(!Number.isFinite(e)||e<0)return"00:00";let t=Math.floor(e),r=Math.floor(t/60);return`${String(r).padStart(2,"0")}:${String(t%60).padStart(2,"0")}`},[]),M=(0,l.useMemo)(()=>`${y(b)} / ${y(j)}`,[b,j,y]),E=e||"",F=E&&(c=E.match(/^https?\:\/\/(?:www\.youtube(?:\-nocookie)?\.com\/|m\.youtube\.com\/|youtube\.com\/)?(?:ytscreeningroom\?vi?=|youtu\.be\/|vi?\/|user\/.+\/u\/\w{1,2}\/|embed\/|watch\?(?:.*\&)?vi?=|\&vi?=|\?(?:.*\&)?vi?=)([^#\&\?\n\/<>"']*)/i))&&c[1]||"",N=E;if(F){let e=new URL(E);e.searchParams.set("enablejsapi","1"),N=e.toString()}(0,l.useEffect)(()=>{let e=()=>{let e=v.current;e?L((document.fullscreenElement||document.webkitFullscreenElement||null)===e):L(!1)};return document.addEventListener("fullscreenchange",e),document.addEventListener("webkitfullscreenchange",e),()=>{document.removeEventListener("fullscreenchange",e),document.removeEventListener("webkitfullscreenchange",e)}},[]);let B=(0,l.useCallback)(()=>{let e=p.current;if(e){if(e.paused)return void e.play().catch(()=>null);e.pause()}},[]),H=(0,l.useCallback)(()=>{let e=p.current;e&&(e.muted=!e.muted)},[]),T=(0,l.useCallback)(e=>{let t=p.current;if(!t)return;let r=Number(e.target.value);t.currentTime=r,f(r)},[]),S=(0,l.useCallback)(async()=>{let e=v.current;if(!e)return;let t=document,r=(document.fullscreenElement||t.webkitFullscreenElement)===e;try{if(r)return void(document.exitFullscreen?await document.exitFullscreen():t.webkitExitFullscreen&&await t.webkitExitFullscreen());e.requestFullscreen?await e.requestFullscreen():e.webkitRequestFullscreen&&await e.webkitRequestFullscreen()}catch{}},[]),P=g?(0,n.jsxs)("svg",{viewBox:"0 0 24 24",width:"18",height:"18","aria-hidden":"true",children:[(0,n.jsx)("rect",{x:"6",y:"5",width:"4",height:"14",rx:"1.2",fill:"currentColor"}),(0,n.jsx)("rect",{x:"14",y:"5",width:"4",height:"14",rx:"1.2",fill:"currentColor"})]}):(0,n.jsx)("svg",{viewBox:"0 0 24 24",width:"18",height:"18","aria-hidden":"true",children:(0,n.jsx)("path",{d:"M8 5.7C8 4.9 8.9 4.4 9.6 4.9L18 10.2C18.7 10.7 18.7 11.7 18 12.2L9.6 17.5C8.9 18 8 17.5 8 16.7V5.7Z",fill:"currentColor"})}),R=C?(0,n.jsxs)("svg",{viewBox:"0 0 24 24",width:"18",height:"18","aria-hidden":"true",children:[(0,n.jsx)("path",{d:"M11 6.5L8.8 8.7H6.5C5.7 8.7 5 9.4 5 10.2V13.8C5 14.6 5.7 15.3 6.5 15.3H8.8L11 17.5C11.9 18.4 13.4 17.8 13.4 16.5V7.5C13.4 6.2 11.9 5.6 11 6.5Z",fill:"currentColor"}),(0,n.jsx)("path",{d:"M17.2 9.2L14.8 11.6M14.8 9.2L17.2 11.6",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round"})]}):(0,n.jsxs)("svg",{viewBox:"0 0 24 24",width:"18",height:"18","aria-hidden":"true",children:[(0,n.jsx)("path",{d:"M11 6.5L8.8 8.7H6.5C5.7 8.7 5 9.4 5 10.2V13.8C5 14.6 5.7 15.3 6.5 15.3H8.8L11 17.5C11.9 18.4 13.4 17.8 13.4 16.5V7.5C13.4 6.2 11.9 5.6 11 6.5Z",fill:"currentColor"}),(0,n.jsx)("path",{d:"M16 9.3C16.8 10 17.2 10.9 17.2 12C17.2 13.1 16.8 14 16 14.7",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round"}),(0,n.jsx)("path",{d:"M17.9 7.6C19.2 8.7 20 10.3 20 12C20 13.7 19.2 15.3 17.9 16.4",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round"})]}),q=V?(0,n.jsx)("svg",{viewBox:"0 0 24 24",width:"18",height:"18","aria-hidden":"true",children:(0,n.jsx)("path",{d:"M8.5 5H5V8.5M19 8.5V5H15.5M15.5 19H19V15.5M5 15.5V19H8.5",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})}):(0,n.jsx)("svg",{viewBox:"0 0 24 24",width:"18",height:"18","aria-hidden":"true",children:(0,n.jsx)("path",{d:"M9 5H5V9M15 5H19V9M19 15V19H15M5 15V19H9",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})});return(0,n.jsxs)(n.Fragment,{children:[(0,o.z2)(s)&&(0,n.jsx)(a.P,{microdata:s}),(0,n.jsxs)("div",{className:u().video,ref:e=>d(e),children:[!h&&(0,n.jsx)("div",{className:u().placeholder}),h&&x&&(0,n.jsxs)("div",{className:u().localVideoPlayer,ref:v,children:[(0,n.jsx)("video",{ref:p,className:u().videoElement,controls:!1,preload:"metadata",poster:r,playsInl
1ine:!0,onClick:B,onPlay:()=>k(!0),onPause:()=>k(!1),onTimeUpdate:e=>f(e.currentTarget.currentTime),onLoadedMetadata:e=>{_(e.currentTarget.duration||0),w(e.currentTarget.muted),f(e.currentTarget.currentTime||0)},onVolumeChange:e=>w(e.currentTarget.muted),onEnded:e=>{k(!1),f(e.currentTarget.currentTime)},children:(0,n.jsx)("source",{src:t})}),(0,n.jsxs)("div",{className:u().controls,children:[(0,n.jsx)("button",{type:"button",className:u().controlButton,"aria-label":g?"Поставить видео на паузу":"Воспроизвести видео",onClick:B,children:P}),(0,n.jsx)("button",{type:"button",className:u().controlButton,"aria-label":C?"Включить звук":"Выключить звук",onClick:H,children:R}),(0,n.jsx)("input",{type:"range",className:u().progress,min:0,max:j||0,step:.1,value:Math.min(b,j||0),onChange:T,"aria-label":"Перемотка видео",disabled:!j}),(0,n.jsx)("span",{className:u().time,children:M}),(0,n.jsx)("button",{type:"button",className:u().controlButton,"aria-label":V?"Выйти из полноэкранного режима":"Открыть полноэкранный режим",onClick:S,children:q})]})]}),h&&!x&&(0,n.jsx)("iframe",{id:F,src:N,ref:m,width:"100%",height:"480",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0})]})]})}}}]);

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.