1import{$ as e,et as t,tt as n}from"./index-BE2-dWra.js";import{i as r}from"./mediaMeta-CYd0ph1V.js";function i(e){if(e==null)return``;let t=(e=>{let t=Number(e);if(!Number.isNaN(t)){let e=t<0xe8d4a51000?t*1e3:t,n=new Date(e);if(!Number.isNaN(n.getTime()))return n}let n=new Date(e);return Number.isNaN(n.getTime())?null:n})(e);if(!t)return``;let n=new Date,r=t.getFullYear(),i=String(t.getMonth()+1).padStart(2,`0`),a=String(t.getDate()).padStart(2,`0`),o=`${String(t.getHours()).padStart(2,`0`)}:${String(t.getMinutes()).padStart(2,`0`)}`,s=`${r}-${i}-${a}`,c=`${i}-${a}`;return r===n.getFullYear()?`${c} ${o}`:`${s} ${o}`}function a(r){e(n({title:r.title,description:t(r.intro,r.title),path:`/v/${r.vid}`,ogType:`video.other`,images:r.coverUrl?[{url:r.coverUrl,alt:r.title}]:void 0,keywords:[r.title,r.username??``,`è§é¢`,`OTTOhub`].filter(Boolean)}))}function o(r){e(n({title:r.title,description:t(r.content,r.title),path:`/b/${r.bid}`,ogType:`article`,images:r.thumbnails?.[0]?[{url:r.thumbnails[0],alt:r.title}]:void 0,keywords:[r.title,r.username??``,`卿`,`OTTOhub`].filter(
1Boolean)}))}function s(i){e(n({title:i.title,description:t(i.intro,i.title),path:`/media/${i.mediaId}`,ogType:`article`,images:i.fileUrl&&r(i.extension)===`image`?[{url:i.fileUrl,alt:i.title}]:void 0,keywords:[i.title,i.username??``,`ç´ æ`,`OTTOhub`].filter(Boolean)}))}export{i,s as n,a as r,o as t};
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.