PageSourceSearch

https://elfmec.ru/_nuxt/Po8cK_8i.js

js elfmec.ru collected 2026-10-08 13:48:26 UTC 1,525 bytes, 1 lines download raw bytes

1import{c as e}from"./iWUf_mW-.js";import{D as t,Fn as n,_ as r,b as i,g as a,k as o,mt as s,qt as c,rn as l,v as u,y as d}from"./2opt8qvw.js";import{t as f}from"./BHojbsre.js";import{t as p}from"./BOncWQzD2.js";import{t as m}from"./BwMyzTM6.js";var h={key:1,class:`size-16 md:size-20 rounded-lg bg-neutral-100 dark:bg-neutral-800 flex items-center justify-center shrink-0`},g={class:`min-w-0 flex flex-col gap-1`},_={key:0,class:`text-xs text-neutral-500 dark:text-neutral-400`},v={class:`font-medium text-neutral-900 dark:text-neutral-200 group-hover:text-primary-600 dark:group-hover:text-primary-400 line-clamp-3`},y=Object.assign(o({__name:`NewsCard`,props:{title:{},slug:{},poster:{},postDate:{}},setup(o){let y=e(),b=o,x=a(()=>b.postDate?new Date(b.postDate).toLocaleDateString(`ru-RU`):``);return(e,a)=>{let b=m,S=p,C=f;return s(),u(C,{target:`_blank`,to:`/blog/${o.slug}`,class:`group flex items-center gap-4 p-3 rounded-lg border border-neutral-200 dark:border-neutral-600 bg-white dark:bg-accented hover:border-primary-400 dark:hover:border-primary-500 transition-colors`},{default:c(()=>[o.poster?.url?(s(),u(b,{key:0,src:n(y).public.apiUrl+o.poster.url,alt:o.poster.alternativeText||o.title,class:`size-16 md:size-20 rounded-lg object-cover shrink-0 dark:opacity-80`},null,8,[`src`,`alt`])):(s(),i(`div`,h,[t(S,{name:`heroicons:newspaper`,class:`size-8 text-neutral-400`})])),r(`div`,g,[n(x)?(s(),i(`span`,_,l(n(x)),1)):d(``,!0),r(`span`,v,l(o.title),1)])]),_:1},8,[`to`])}}}),{__name:`NewsCard`});export{y 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.