PageSourceSearch

https://openapi.com/_nuxt/COS9CiUB.js

js openapi.com collected 2026-10-02 16:30:29 UTC 5,259 bytes, 1 lines download raw bytes

1import{d as F,C as v,u as N,a as U,w as L,b as H,M as V,B as j,c as J,e as q,g as n,h as r,i as c,_ as z,j as t,q as s,t as o,x as i,S as Q,m as f,k as u,F as x,s as K,r as W,y as X,A as k}from"./DxwsPbbx.js";import{_ as Z}from"./ChOkAO1U.js";import{_ as ee}from"./T48QL3_h.js";import{D as te}from"./C8sNXmIN.js";import{S as se,u as ae}from"./BnAjaKrC.js";import"./DNKzesj5.js";const w=[242,243,244,245],oe={class:"body_content"},ne={class:"bgc-violet px-3 px-lg-0"},re={class:"pt80 pb80 px-3 px-lg-0"},le={class:"container"},ce={class:"row wow fadeInUp","data-wow-delay":"100ms"},ie={class:"col-xl-8 offset-xl-2"},_e={key:0,class:"badge bg-primary me-sm-2 text-uppercase"},de={class:"blog-title mb-0 h2"},ue={class:"lead text-dark"},pe={class:"blog-single-meta"},me={class:"post-author d-sm-flex align-items-center text-dark"},ge={key:0},he=["srcset"],fe=["src","alt"],we={key:2,class:"pr25"},be={class:"pr25"},ye={key:0,class:"row"},Se={class:"col-xl-8 offset-xl-2 mt-3"},ve={class:"large-thumb"},xe=["alt"],ke={class:"container"},Re={class:"row wow fadeInUp","data-wow-delay":"500ms"},Ee={class:"col-xl-8 offset-xl-2"},Ce=["innerHTML"],$e={key:0,class:"pt40"},Ie={class:"h3 text-uppercase mb-5 fw-700 text-center"},Ae={class:"list-unstyled"},Te={class:"media-body"},De={class:"mt-0 mb-1"},He=F({__name:"[article]",async setup(Pe){let p,b;const R=v().params.article,{locale:m,t:E}=N(),l=U().public.baseUrl,C=k(()=>`${l}/assets/content/${m.value}/news/slugs/${R}.json`),{data:$}=([p,b]=L(()=>H(C,{headers:{Pragma:"no-cache"}},"$xQiAJOaCcY")),p=await p,b(),p),e=$?.value;if(e===null)throw V({statusCode:404,statusMessage:"Page Not Found"});const g=j().getRoutes().filter(a=>a.name==="blog")[0].path,I=[{name:"Blog",slug:g},{name:e.title,slug:g+"/"+e.url_rewrite.replace(".html","")}],_=`${l}/assets/content/${m.value}/news/images/social_image/${e.social_image.filename}`,A=v(),T=l+A.fullPath;var y=l+"/assets/images/openapi-og-default.png";_.includes(".png")&&(y=_);const D=k(()=>![242,243,244,245].includes(parseInt(e.category_id))),S=J();Object.entries(e.hreflang).length??!1?S.update(e.hreflang??{}):S.update({en:"blog",it:"blog",fr:"blog",de:"blog"});const P=new te(m.value);let M=new se().getSingleNewsSchema(e,"blog");return ae(M),e.text=e.text.replaceAll("Indice dei contenuti",E("article.table_of_contents")),q({title:e.Metatag_Title,meta:[{name:"description",content:e.Metatag_Description},{property:"og:title",content:e.Metatag_Title},{property:"og:type",content:"website"},{property:"og:site_name",content:l},{property:"og:description",content:e.Metatag_Description},{property:"og:url",content:l+g+"/"+e.url_rewrite.replace(".html","")},{property:"og:image",content:y},{property:"og:image:width",content:"400"},{property:"og:image:height",content:"300"},{property:"og:image:alt",content:e.Metatag_Title}],link:[{rel:"canonical",href:T.replace("new.","")}]}),(a,Ge)=>{const O=z,G=Z,h=W,Y=ee,B=X;return n(),r(x,null,[c(O),t("div",oe,[t("div",ne,[c(G,{levels:I})]),t("section",re,[t("div",le,[t("div",ce,[t("div",ie,[s(e).category?(n(),r("span",_e,o(s(e).category),1)):i("",!0),t("h1",de,o(s(e).title),1),t("p",ue,o(s(e).subtitle),1),t("div",pe,[t("div",me,[("PRESS_CATEGORY_IDS"in a?a.PRESS_CATEGORY_IDS:s(w)).includes(parseInt(s(e).category_id))?i("",!0):(n(),r("picture",ge,[t("source",{srcset:"/assets/images/authors/"+s(e).author_url_rewrite+".webp",type:"image/webp"},null,8,he),t("img",{loading:"lazy",decoding:"async",src:"/assets/images/authors/"+s(e).author_url_rewrite+".webp",alt:s(e).author,class:"rounded-circle mr10",width:"40",height:"40"},null,8,fe)])),("PRESS_CATEGORY_IDS"in a?a.PRESS_CATEGORY_IDS:s(w)).includes(parseInt(s(e).category_id))?i("",!0):(n(),Q(h,{key:1,class:"pr25",to:{name:"editorial-team-slug",params:{slug:s(e).author_url_rewrite}}},{default:f(()=>[u(o(a.$t("article.author"))+": ",1),t("strong",null,o(s(e).author),1)]),_:1},8,["to"])),("PRESS_CATEGORY_IDS"in a?a.PRESS_CATEGORY_IDS:s(w)).includes(parseInt(s(e).category_id))?i("",!0):(n(),r("span",we,[u(o(a.$t("article.reading_time"))+": ",1),t("strong",null,o(s(e).reading_time)+" min",1)])),t("span",be,[u(o(a.$t("article.date"))+": ",1),t("strong",null,o(s(P).format(s(e).date)),1)])])])])]),s(D)?(n(),r("div",ye,[t("div",Se,[t("div",ve,[t("picture",null,[t("source",{srcset:_,type:"image/webp"}),t("source",{srcset:_,type:"image/png",class:"img-fluid w-100",width:"850",height:"420"}),t("img",{src:_,alt:s(e).social_image.image_alt,class:"img-fluid w-100",width:"850",height:"420"},null,8,xe)])])])])):i("",!0)]),t("div",ke,[t("div",Re,[t("div",Ee,[t("div",{class:"ui-content mt45 mb60 text-dark",innerHTML:s(e).text},null,8,Ce),c(Y),s(e).correlated?.length>0?(n(),r("div",$e,[t("h3",Ie,o(a.$t("article.related")),1),t("ul",Ae,[(n(!0),r(x,null,K(s(e).correlated,d=>(n(),r("li",{class:"media mb-4 pb-4 border-bottom",key:d.detail_id},[t("div",Te,[t("h4",De,[t("strong",null,[c(h,{to:{name:"blog-article",params:{article:d.url_rewrite.replace(".html","")}}},{default:f(()=>[u(o(d.title),1)]),_:2},1032,["to"])])]),t("p",null,[c(h,{class:"g-color-black",to:{name:"blog-article",params:{article:d.url_rewrite.replace(".html","")}}},{default:f(()=>
1[u(o(d.subtitle),1)]),_:2},1032,["to"])])])]))),128))])])):i("",!0)])])])])]),c(B)],64)}}});export{He 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.