PageSourceSearch

https://www.basilicasanpietro.va/_nuxt/DdDsgfkl.js

js basilicasanpietro.va collected 2026-09-24 08:49:34 UTC 3,171 bytes, 1 lines download raw bytes

1import{B as F,u as O,c as R,w as k,h as w,o,f as u,q as n,t as d,n as g,y as L,F as D,s as E,j as p,g as l,a4 as H,v as _,z as Q,U as N,r as G,Q as J,P as K,i,V as M}from"./zD-EGUJh.js";import W from"./BUiXDdvh.js";import{_ as X}from"./CYYMCP4T.js";import"./Di7nMAoy.js";import"./Ca7wkz6Y.js";import"./H-XbUWND.js";import"./BzjxVUVE.js";const Y={class:"news-preview-container"},Z={class:"mb-3 border-black row border-bottom"},tt={class:"text-center col-sm-12 col-md-4 d-flex flex-column justify-content-center"},et={class:"mb-3"},nt={class:"mb-5 text-custom-gray"},at={class:"col-sm-12 col-md-8"},ot={class:"row"},st={class:"latest-row"},ct={class:"px-1"},lt={class:"px-2 flex-fill"},rt={class:"mb-3 date"},it={style:{"line-height":"1"}},mt={__name:"NewsPreview",props:{component:{type:Object,default:()=>({})}},async setup(e){let a,m;const s=e,{locale:r}=O(),S=i(()=>s.component.ctaText&&s.component.ctaStyle),T=i(()=>s.component.ctaText2&&s.component.ctaStyle2&&s.component.ctaLink2),C=i(()=>s.component.ctaLink||"/news"),x=R(),{data:$}=([a,m]=k(()=>w(`highlighted-${r.value}`,()=>x("news-articles",{params:{filters:{highlighted:{$eq:"true"}},sort:"publishDate:desc",locale:r.value,populate:"image"}}))),a=await a,m(),a),{data:A}=([a,m]=k(()=>w(`latest-${r.value}`,()=>x("news-articles",{params:{"pagination[pageSize]":"4",locale:r.value,sort:"publishDate:desc",populate:"image"}}))),a=await a,m(),a),P=t=>new Date(t).toLocaleDateString(r.value,{year:"numeric",month:"long",day:"numeric"}),y=t=>t.imageUrl?t.imageUrl:X(t.image?.url),b=t=>t?[...t].sort((v,h)=>new Date(h.publishDate)-new Date(v.publishDate)):void 0,B=t=>t?t.length>50?t.slice(0,50)+"...":t:"",I=i(()=>{const t=$.value?.data??[];return b(t)||[]}),U=i(()=>{const t=A.value?.data??[];return b(t)||[]});return(t,v)=>{const h=Q,f=M,V=W,j=J,z=K;return o(),u("div",Y,[n("div",Z,[n("div",tt,[n("h2",et,d(e.component.title),1),n("p",nt,[g(h,null,{default:L(()=>[typeof e.component.text=="string"?(o(),u(D,{key:0},[E(d(e.component.text),1)],64)):Array.isArray(e.component.text)?(o(),p(l(H),{key:1,content:e.component.text},null,8,["content"])):_("",!0)]),_:1})]),l(S)?(o(),p(f,{key:0,text:e.component.ctaText,link:l(C),style:N(e.component.ctaStyle),"aria-label":e.component.ctaAriaLabel,target:e.component.ctaTarget,class:"mb-3"},null,8,["text","link","style","aria-label","target"])):_("",!0),l(T)?(o(),p(f,{key:1,text:e.component.ctaText2,link:e.component.ctaLink2,style:N(e.component.ctaStyle2),"aria-label":e.component.ctaAriaLabel2,target:e.component.ctaTarget2,class:"mb-4"},null,8,["text","link","style","aria-label","target"])):_("",!0)]),n("div",at,[g(V,{records:l(I),"record-type":"new","show-cta":!1},null,8,["records"])])]),n("div",ot,[(o(!0),u(D,null,G(l(U),(c,q)=>(o(),u("div",{key:`news-${q}`,class:"mb-3 col-sm-12 col-xl-3"},[g(z,{to:`/news/${c.slug}`,class:"card-link"},{default:L(()=>[n("div",st,[n("div",ct,[y(c)?(o(),p(j,{key:0,src:y(c),alt:c.altImage,class:"latest-news-image"},null,8,["src","alt"])):_("",!0)]),n("div",lt,[n("div",rt,d(P(c.publishDate)),1),n("h6",it,d(B(c.title)),1)])])]),_:2},1032,["to"])]))),128))])])}}},yt=F(mt,[["__scopeId","data-v-4732094c"]]);export{yt 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.