PageSourceSearch

https://www.pometon.com/_nuxt/YddyCZMu.js

js pometon.com collected 2026-10-06 05:23:08 UTC 3,211 bytes, 1 lines download raw bytes

1import{_ as z}from"./DMzOtg_S.js";import{_ as J}from"./C2em8eCr.js";import{_ as K}from"./Csd2jvSC.js";import{d as O,as as H,ao as Q,af as r,aa as n,H as L,am as _,aj as M,u as t,ap as g,al as h,ak as f,G as W,aq as X,a9 as Y,ax as Z,ab as ee}from"./_MbA3FA0.js";import{d as te,i as se,a as ae,j as oe,b as ne,c as re,u as le}from"./D7enOkY_.js";import{u as j}from"./CL-6es_X.js";import{_ as ce}from"./DlAUqK2U.js";import"./TMMvcIpE.js";const ie={class:"pt-28 container"},me=["src","alt"],de={class:"md:container md:max-w-[800px] md:mx-auto pt-10 pb-20 md:py-24"},ue={class:"text-m-mob md:text-m font-semibold mb-6 md:mb-12"},pe=["innerHTML"],_e={key:1,class:"related-articles mb-16 md:mb-24"},ge={class:"text-l-mob md:text-l font-semibold mb-10 md:mb-20 text-center"},he={class:"grid md:grid-cols-3 gap-10"},fe={__name:"[slug]",async setup(ve){var x;let a,l;const S=te(),v=se(),{t:w,locale:m,locales:V}=ae(),A=oe(),F=ne({}),c=O(3),{data:U}=([a,l]=H(()=>j("getPost",{slug:v.params.slug})),a=await a,l(),a),e=U.value.post,{data:q}=([a,l]=H(()=>j("getPosts",{language:m.value.toUpperCase(),first:30})),a=await a,l(),a),E=e.tags.nodes.map(s=>s.slug),d=q.value.posts.nodes.filter(s=>s.tags.nodes.map(o=>E.includes(o.slug))&&s.postId!==e.postId),i={[m.value]:{slug:v.params.slug}};(x=e.translations)!=null&&x.length&&e.translations.forEach(({language:s,slug:o})=>{i[s.slug]={slug:o}}),A(i);const G=()=>{c.value=c.value+3};re({title:e.seo.title,ogTitle:e.seo.opengraphTitle,description:e.seo.metaDesc,ogDescription:e.seo.opengraphDescription,ogImage:e.seo.opengraphImage?e.seo.opengraphImage:"og-image.jpg",ogType:e.seo.opengraphType,twitterCard:"summary_large_image"});let u=F.value.link;return u=u.map(s=>{if(s.rel==="alternate"){for(const o of V.value)if(s.hreflang.includes(o.code)){const p=o.code==="it"?"/it/news/":"/en/news/";s.href="https://www.pometon.com"+p+i[o.code].slug+"/"}}return s.rel==="alternate"&&s.hreflang==="x-default"&&(s.href="https://www.pometon.com/en/news/"+i.en.slug+"/"),s}),le({link:u}),(s,o)=>{var I,y,k,T,C,N,P,B;const p=z,R=J,$=K,b=Q("title-reveal");return n(),r("div",ie,[L(p,{prev:{link:t(S)("news"),text:"News"},"current-page":t(e).title},null,8,["prev","current-page"]),(y=(I=t(e).featuredImage)==null?void 0:I.node)!=null&&y.sourceUrl?(n(),r("img",{key:0,src:(k=t(e).featuredImage)==null?void 0:k.node.sourceUrl,alt:((N=(C=(T
1=t(e).featuredImage)==null?void 0:T.node.fields)==null?void 0:C.altText)==null?void 0:N[t(m)])||"",class:"h-[50dvh] md:h-[70dvh] rounded-3xl w-full object-cover"},null,8,me)):_("",!0),M("div",de,[g((n(),r("h1",ue,[h(f(t(e).title),1)])),[[b]]),(P=t(e).articlesFields)!=null&&P.text?(n(),r("div",{key:0,innerHTML:(B=t(e).articlesFields)==null?void 0:B.text,class:"content-news"},null,8,pe)):_("",!0)]),t(d).length?(n(),r("div",_e,[g((n(),r("h2",ge,[h(f(t(w)("news.related.title")),1)])),[[b]]),M("div",he,[(n(!0),r(W,null,X(t(d).slice(0,t(c)),D=>(n(),Y(R,{key:D.postId,article:D},null,8,["article"]))),128))]),g(L($,{green:"",class:"load-more-news block mx-auto w-fit mt-10 md:mt-20",onClick:G},{default:ee(()=>[h(f(t(w)("loadMore")),1)]),_:1},512),[[Z,t(c)<t(d).length]])])):_("",!0)])}}},Ne=ce(fe,[["__scopeId","data-v-97838200"]]);export{Ne 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.