1import{H as v,T as k,M as $}from"./D65yuzpB.js";import{_ as M}from"./DFQKjBxO.js";import{a5 as A,j as V,c as n,b as i,w as p,a as s,m as t,t as r,n as D,f as c,k as S,aH as B,l as _,o as a,g as H,bi as j}from"./h9yQLS9B.js";import{_ as z}from"./DdRY7Ab4.js";const C={class:"shadow-ellipse bg-cover bg-center bg-[url('~/assets/img/header/prix_nationaux_header.jpg')] h-[140px] md:h-[270px]"},N={class:"flex flex-col h-full justify-center items-center text-white"},P={key:0,class:"z-0 text-center md:leading-normal text-[38px] md:text-[100px] font-didot"},T={key:1,class:"z-0 text-center text-[18px] md:text-[45px]"},U={class:"container mx-auto"},E={class:"border-l-[3px] border-goldPrimary-500 px-3 mt-5 mb-8 md:mb-12"},F=["src","alt"],J={class:"flex justify-center mt-10 mb-16"},R=["href"],I={key:1,class:"mt-8 md:mt-12"},O={__name:"[sponsorSlug]",async setup(L){let o,m;const x=A(),{data:e,pending:h}=([o,m]=V(()=>S(()=>$fetch(`${_()}/api/post/slug/${x.params.sponsorSlug}`),{initialCache:!1},"$1J0A5c20JE")),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 Régionaux et Départementaux",to:"/vmf-en-action/prix-et-labels-vmf/prix-regionaux-et-departementaux"},{title:`${e.value.page_relation[0].title}`,to:`/vmf-en-action/prix-et-labels-vmf/prix-regionaux-et-departementaux/${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(()=>[H(r(t(e).header),1)]),_:1}),i(y,{name:"description",content:("useSetMetaDescription"in l?l.useSetMetaDescription:t(j))(t(e).wysiwyg)},null,8,["content"])]),_:1}),s("div",C,[s("div",N,[t(e).title.length<=15?(a(),n("h1",P,r(t(e).header),1)):(a(),n("h1",T,r(t(e).header),1))])]),t(h)?c("",!0):(a(),D(w,{key:0,title:t(e).title,breadcrumb:g},null,8,["title"])),s("div",U,[s("h2",E,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,F)):c("",!0),s("div",J,[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:z,alt:"Icon de redirection"},null,-1)])],8,R)):c("",!0)]),t(e).wysiwyg_secondary.length>11?(a(),n("h2",I,"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.