PageSourceSearch

https://vc.ru/assets/index38-BJ-DnMrX.js

js vc.ru collected 2026-09-24 07:39:20 UTC 908 bytes, 1 lines download raw bytes

1import{f1 as i,f4 as s,f3 as n,f7 as m,f5 as l,f2 as f,fc as u}from"./index-DcSVvNrM.js";const h=i({cast(a){return typeof a=="string"&&(a={url:a}),a},alias:"video",defaults:{"@type":"VideoObject"},inheritMeta:[{meta:"title",key:"name"},"description","image","inLanguage",{meta:"datePublished",key:"uploadDate"}],idPrefix:"host",resolve(a,e){if(a.uploadDate&&(a.uploadDate=m(a.uploadDate)),a.url=l(e.meta.host,a.url),a.caption&&!a.description&&(a.description=a.caption),a.description||(a.description="No description"),a.thumbnailUrl&&(typeof a.thumbnailUrl=="string"||Array.isArray(a.thumbnailUrl))){const t=s(a.thumbnailUrl).map(r=>l(e.meta.host,r));a.thumbnailUrl=t.length>1?t:t[0]}return a.thumbnail&&(a.thumbnail=f(a.thumbnailUrl,e,u)),a},resolveRootNode(a,{find:e}){var t;if(a.image&&!a.thumbnail){const r=s(a.image)[0];n(a,"thumbnail",(t=e(r["@id"]))==null?void 0:t.url)}}});export{h as videoResolver};

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.