PageSourceSearch

https://cdn.smotrim.ru/static/assets/_nuxt/DWNqjB4j.js

js smotrim.ru collected 2026-09-24 06:25:06 UTC 1,462 bytes, 1 lines download raw bytes

1import{q as u,a as v,T as y,d as b,o as g,C as w}from"./Bz8wT4n7.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new r.Error().stack;t&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[t]="698d9372-5c80-4105-9348-419550ea25b1",r._sentryDebugIdIdentifier="sentry-dbid-698d9372-5c80-4105-9348-419550ea25b1")}catch{}})();const h={__name:"LazyVideo",props:{src:{type:String,required:!0}},emits:["play-error","load-error"],setup(r,{emit:t}){const s=r,c=t,n=u(null),d=u(null),f=(e,o="")=>{c("play-error",{error:e,context:o,src:s.src})},p=e=>{const i=e.target?.error;let a="Unknown error";if(i)switch(i.code){case 1:a="Video loading aborted";break;case 2:a="Network error while loading video";break;case 3:a="Video decoding failed";break;case 4:a="Video format not supported";break}console.error("[Lazy Video] Load error:",a),c("load-error",{error:i,errorMessage:a,src:s.src})},l=async(e=!1)=>{if(n.value)try{n.value.src=s.src,await n.value.play()}catch(o){f(o,e?"intersection":"manual")}};return v(()=>{if(n.value){if(!("IntersectionObserver"in window)){l(!1);return}d.value=new IntersectionObserver(e=>{e.forEach(o=>{o.isIntersecting&&(l(!0),d.value?.disconnect())})},{rootMargin:"50px"}),d.value.observe(n.value)}}),y(()=>{d.value?.disconnect()}),(e,o)=>(g(),b("video",w({ref_key:"videoRef",ref:n,preload:"none"},e.$attrs,{onError:p}),null,16))}};export{h as default};

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.