1import{H as v,T as k,M as $}from"./D65yuzpB.js";import{_ as M}from"./DFQKjBxO.js";import{a5 as V,j as A,c as n,b as i,w as p,a as s,m as t,t as r,n as S,f as c,k as j,aH as B,l as _,o as a,g as C,bi as D}from"./h9yQLS9B.js";import{_ as H}from"./DdRY7Ab4.js";const P={class:"shadow-ellipse bg-cover bg-center bg-[url('~/assets/img/header/prix_nationaux_header.jpg')] h-[140px] md:h-[270px]"},T={class:"flex flex-col h-full justify-center items-center text-white"},z={key:0,class:"z-0 text-center md:leading-normal text-[38px] md:text-[100px] font-didot"},N={key:1,class:"z-0 text-center text-[18px] md:text-[45px]"},U={class:"container mx-auto"},F={class:"border-l-[3px] border-goldPrimary-500 px-3 mt-5 mb-8 md:mb-12"},E=["src","alt"],I={class:"flex justify-center mt-10 mb-16"},L=["href"],R={key:1,class:"mt-8 md:mt-12"},O={__name:"[sponsorSlug]",async setup(W){let o,m;const h=V(),{data:e,pending:x}=([o,m]=A(()=>j(()=>$fetch(`${_()}/api/post/slug/${h.params.sponsorSlug}`),{initialCache:!1},"$j-Pv18TtcC")),o=await o,m(),o),g=[{title:"Accueil",to:"/"},{title:"VMF en action",to:"/vmf-en-action"},{title:"Prix & labels VMF",to:"/vmf-en-action/prix-et-labels-vmf"},{title:"Prix nationaux",to:"/vmf-en-action/prix-et-labels-vmf/prix-nationaux"},{title:`${e.value.page_relation[0].title}`,to:`/vmf-en-action/prix-et-labels-vmf/prix-nationaux/${e.value.page_relation[0].slug}`}];return(l,d)=>{const f=k,y=$,b=v,w=M,u=B;return a(),n("div",null,[i(b,null,{default:p(()=>[i(f,null,{default:p(()=>[C(r(t(e).header),1)]),_:1}),i(y,{name:"description",content:("useSetMetaDescription"in l?l.useSetMetaDescription:t(D))(t(e).wysiwyg)},null,8,["content"])]),_:1}),s("div",P,[s("div",T,[t(e).title.length<=15?(a(),n("h1",z,r(t(e).header),1)):(a(),n("h1",N,r(t(e).header),1))])]),t(x)?c("",!0):(a(),S(w,{key:0,title:t(e).title,breadcrumb:g},null,8,["title"])),s("div",U,[s("h2",F,r(t(e).title),1),i(u,{"with-anchors":"",content:t(e).wysiwyg,class:"wysiwyg mt-8 md:mt-12 mb-8 md:mb-16"},null,8,["content"]),t(e).img_thumbnail?(a(),n("img",{key:0,loading:"lazy",class:"mx-auto max-h-full md:max-w-3xl lg:max-w-5xl rounded-[6px]",src:`${("useApiUrl"in l?l.useApiUrl:t(_))()}/uploads/posts/thumbnails/${t(e).img_thumbnail}`,alt:`Prix ${t(e).title}`},null,8,E)):c("",!0),s("div",I,[t(e).cta?(a(),n("a",{key:0,href:t(e).cta,target:"_blank",class:"btn-primary-white flex items-center gap-[10px]"},[...d[0]||(d[0]=[s("span",null,"Visiter le site internet",-1),s("img",{loading:"lazy",width:"14",height:"14",src:H,alt:"Icon de redirection"},null,-1)])],8,L)):c("",!0)]),t(e).wysiwyg_secondary.length>11?(a(),n("h2",R,"Lauréats")):c("",!0),i(u,{"with-anchors":"",content:t(e).wysiwyg_secondary,class:"wysiwyg mt-6 mb-8 md:mb-16"},null,8,["content"])])])}}};export{O 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.