1import{L as B,p as i,ae as T,aA as L,Z as $,X as K,aM as M,aN as D,q as o,s as n,t as a,aO as O,Q as h,o as s,ag as f,af as g,al as r,ac as w,M as E,ad as k,z as A,as as G,aG as C,m as v,n as d,aQ as V,a6 as W}from"./AD6TCemB.js";import{A as S}from"./D8rUavB6.js";import{u as U}from"./DX_bn6FK.js";import{s as H}from"./BebU7VCm.js";import{g as Y}from"./DfR5smH_.js";import{u as q}from"./BiRkbko4.js";(function(){try{var l=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};l.SENTRY_RELEASE={id:"1.0.130"};var u=new l.Error().stack;u&&(l._sentryDebugIds=l._sentryDebugIds||{},l._sentryDebugIds[u]="5dc4de80-f2b4-4be2-8ee5-34cdae3db324",l._sentryDebugIdIdentifier="sentry-dbid-5dc4de80-f2b4-4be2-8ee5-34cdae3db324")}catch{}})();const x={"data-page-name":"newsroom"},z={class:"background"},F={class:"title"},Q={class:"wrapper"},X={class:"groups"},Z={class:"group-header"},j={class:"group-title"},J={key:0,class:"cards"},ee={key:1,class:"cards"},te=3,ae=B({__name:"index",setup(l){const u=[{key:"pressReleases",titlei18nKey:i.PRESS_RELEASES.i18nKey,path:i.PRESS_RELEASES.path,bottomButtoni18nKey:"View_All_Press_Releases",showAuthorImage:!1},{key:"inTheNews",titlei18nKey:i.IN_THE_NEWS.i18nKey,path:i.IN_THE_NEWS.path,bottomButtoni18nKey:"View_All_Articles",showAuthorImage:!0}],y=T(),R=`url('${L("primary-simple")}')`,{data:N,execute:I}=$({operation:"LatestNewsroomArticlesByCategory"}),m=v(()=>u.map(e=>({...e,articles:d(N.value,`${e.key}.data`,[])}))),b=v(()=>m.value.every(({articles:e})=>!A(e))),P=(e,_)=>({publishedAt:d(e,"publish_at"),title:d(e,"data.title"),description:d(e,"data.preview"),button:{label:U(e).buttonLabel,link:H(e,"data.data.preview_button_link",Y(e))},authorImage:_?d(e,"data.data.preview_author_image"):void 0}),c=V(null);return K(()=>{c.value=new M,b.value||c.value.start(async()=>(await I({dedupe:"defer"}),b.value?m.value:c.value?.again))}),D(()=>{c.value?.stop()}),q("newsroom","Page"),(e,_)=>(o(),n("div",x,[a("div",z,[_[0]||(_[0]=a("div",{class:"gradient"},null,-1)),a("div",{style:O({backgroundImage:R}),class:"pattern"},null,4)]),a("header",null,[a("h1",F,h(e.$t(s(i).NEWSROOM.i18nKey)),1)]),a("div",Q,[a("div",X,[(o(!0),n(f,null,g(s(m),t=>(o(),n("section",{key:t.key,class:"group"},[a("header",Z,[a("h2",j,h(e.$t(t.titlei18nKey)),1),r(s(k).Card,{to:s(y)(t.path),tag:"app-link","trailing-icon":"arrow-right"},{default:w(()=>[E(h(e.$t("View_All")),1)]),_:1},8,["to"])]),r(C,{name:"fade",mode:"out-in"},{default:w(()=>[("isEmpty"in e?e.isEmpty:s(A))(t.articles)?(o(),n("ul",J,[(o(),n(f,null,g(te,p=>a("li",{key:`${t.key}-skeleton-${p}`,class:"card"},[r(s(S).NewsBlockSkeleton)])),64))])):(o(),n("ul",ee,[(o(!0),n(f,null,g(t.articles,p=>(o(),n("li",{key:`${t.key}-article-${p.id}`,class:"card"},[r(s(S).NewsBlock,G({ref_for:!0},P(p,t.showAuthorImage)),null,16)]))),128))]))]),_:2},1024),r(s(k).Regular,{to:s(y)(t.path),tag:"app-link",accent:"orange","trailing-icon":"arrow-right"},{default:w(()=>[E(h(e.$t(t.bottomButtoni18nKey)),1)]),_:2},1032,["to"])]))),128))])])]))}}),de=W(ae,[["__scopeId","data-v-01157fb9"]]);export{de 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.