PageSourceSearch

https://layline-web-2026.pages.dev/_nuxt/Be368wjY.js

js layline-web-2026.pages.dev collected 2026-10-03 05:52:40 UTC 3,060 bytes, 1 lines download raw bytes

1import{K as k,u as L,bh as S,c as f,v as p,m as n,s as I,p as t,l as d,x as m,E as B,q as u,y as C,z as r,C as x,D as E}from"./DCxJSQUd.js";const $={class:"relative h-48 overflow-hidden bg-gradient-to-br from-gray-800 to-gray-900"},z={key:1,class:"w-full h-full flex items-center justify-center"},D={key:2,class:"absolute top-4 left-4"},N={class:"inline-flex items-center gap-1 bg-orange-500/90 backdrop-blur-sm px-3 py-1 rounded-full text-xs font-semibold text-white"},T={class:"p-6 flex flex-col flex-1"},R={class:"flex items-center gap-4 text-sm text-gray-500 mb-3"},j={key:0,class:"flex items-center gap-1"},M=["datetime"],P={key:1,class:"flex items-center gap-1"},q={class:"text-xl font-bold text-white mb-3 group-hover:text-orange-400 transition-colors line-clamp-2"},A={class:"text-gray-400 text-sm line-clamp-3 mb-4 flex-1"},O={class:"flex items-center gap-2 text-orange-400 font-semibold text-sm"},U={__name:"BlogCard",props:{post:{type:Object,required:!0},to:{type:String,default:null},imageProvider:{type:String,default:null}},setup(e){const{localizePath:o}=L(),{locale:a}=S(),c={de:"Weiterlesen",fr:"Lire la suite",es:"Leer más",it:"Leggi di più",en:"Read More"},g={de:"de-DE",fr:"fr-FR",es:"es-ES",it:"it-IT",en:"en-US"},s=e,l=f(()=>s.to?s.to:s.post.slug?o(`/resources/blog/${s.post.slug}`):"#"),_=f(()=>c[a.value]||c.en),v=h=>new Date(h).toLocaleDateString(g[a.value]||g.en,{year:"numeric",month:"short",day:"numeric"});return(h,b)=>{const y=B,i=C,w=E;return n(),p(w,{to:x(l),class:"group bg-gray-800/30 border border-gray-700/30 rounded-2xl overflow-hidden hover:bg-gray-800/50 hover:border-orange-500/30 transition-all duration-300 flex flex-col h-full"},{default:I(()=>[t("div",$,[e.post.image?(n(),p(y,{key:0,src:e.post.image,alt:e.post.title,provider:e.imageProvider,width:"800",height:"600",sizes:"100vw sm:50vw lg:33vw",loading:"lazy",decoding:"async",class:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-300"},null,8,["src","alt","provider"])):(n(),d("div",z,[u(i,{name:"i-ph-file-text",class:"w-16 h-16 text-gray-600"})])),e.post.category?(n(),d("div",D,[t("span",N,r(e.post.category),1)])):m("",!0)]),t("div",T,[t("div",R,[e.post.date?(n(),d("div",j,[u(i,{name:"i-ph-calendar",class:"w-4 h-4"}),t("time",{datetime:e.post.date},r(v(e.post.date)),9,M)])):m("",!0),e.post.readTime?(n(),d("div",P,[u(i,{name:"i-ph-clock",class:"w-4 h-4"}),t("span",null,r(e.post.readTime),1)])):m("",!0)]),t("h3",q,r(e.post.title),1),t("p",A,r(e.post.description),1),t("div",O,[t("span",null,r(x(_)),1),u(i,{name:"i-ph-arrow-right",class:"w-4 h-4 group-hover:translate-x-1 transition-transform"})])])]),_:1},8,["to"])}}},Z=k(U,[["__scopeId","data-v-7bbf181c"]]),V=["jpg","jpeg","png","webp"],F=()=>({getBlogCardImagePath:o=>{if(!o)return;const[a,c=""]=o.split("?");if(!a?.startsWith("/images/blog/"))return o;const s=a.match(/\.([a-zA-Z0-9]+)$/)?.[1]?.toLowerCase();if(!s||!V.includes(s)||a.endsWith(`-card.${s}`))return o;const l=a.replace(/\.[a-zA-Z0-9]+$/,`-card.${s}`);return c?`${l}?${c}`:l}});export{Z as _,F as u};

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.