1import{u as g,w as k,e as _,i as n,b as e,c,h as a,t as p,g as f,_ as w,C as x,o as s,B as y,A as B}from"./CnnHI4eV.js";import{_ as C}from"./SbgH_t8g.js";import{u as b}from"./C_LtU1BF.js";import"./BnmJMHbg.js";import"./CpWmnYms.js";const v={class:"page-mecene"},N={class:"page-mecene__header row"},V={class:"page-mecene__header__content col-6"},A={class:"h1--l"},L={key:0,class:"page-mecene__description wrapper is-grid"},T=["innerHTML"],D={__name:"[slug]",async setup($){let o,r;const l=g(),{data:t}=([o,r]=k(()=>b(`/wp-json/wpnuxt/v1/posts/mecenes/${l.params.slug}`)),o=await o,r(),o);return(i,m)=>{const u=w,d=x,h=C;return s(),_("div",v,[n("section",N,[e(t).meta.sponsor__image?(s(),c(u,{key:0,class:"page-mecene__header__image col-6",image:e(t).meta.sponsor__image},null,8,["image"])):a("",!0),n("div",V,[n("h1",A,p(e(t).post_title),1)])]),e(t).meta.chapo||e(t).meta.sponsor__link?(s(),_("div",L,[e(t).meta.chapo?(s(),_("p",{key:0,class:"h-text",innerHTML:e(t).meta.chapo},null,8,T)):a("",!0),e(t).meta.sponsor__link?(s(),c(d,{key:1,to:e(t).meta.sponsor__link,target:"_blank",class:"cta cta--primary"},{default:f(()=>[y(p(("__"in i?i.__:e(B))("Visiter le site web"))+" ",1),m[0]||(m[0]=n("span",{"aria-hidden":"true",class:"icon-external-link ms-2"},null,-1))]),_:1},8,["to"])):a("",!0)])):a("",!0),e(t).meta.content?(s(),c(h,{key:1,data:e(t).meta.content},null,8,["data"])):a("",!0)])}}};export{D 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.