1import{_ as S}from"./xGzWroPi.js";import{b as A,r as y,a3 as j,e as r,o,f as t,h as _,t as d,g as a,N as I,O as R,_ as D,c as x,k as $,F as f,v as w,m as H,p as C,j as q,s as N,u as P,i as z,a as F,d as V}from"./DQ4ufq07.js";import{u as O}from"./CFqj3bO1.js";import{_ as U}from"./DcdVQec4.js";import{_ as T}from"./BLlqBRux.js";import"./C_ogViTd.js";import"./C8RYPtiM.js";import"./DqCr4ncP.js";import"./DdtqgitB.js";import"./DaWZu8wl.js";import"./BoSFYqUw.js";const Q={class:"pt-[90px] md:pt-[120px] xl:pt-[140px] pb-[30px] md:pb-[40px] xl:pb-[50px] px-2 w-full md:w-[680px] xl:w-[667px] mx-auto flex flex-col justify-center items-center space-y-2 xl:space-y-4"},W={class:"px-[11px] py-[5px] bg-primary-100/10 dark:bg-primary-100 text-alternate-100 dark:text-backgroundlight-100 rounded-full font-quicksand font-[600] text-[12px]"},K={class:"ctitle1 text-backgrounddark-100 dark:text-backgroundlight-100 text-center"},G={class:"cbody text-center dark:text-backgroundlight-100"},J={__name:"Headline",setup(v){const{query:n}=A(),c=y(),e=y("");c.value=n.q,e.value=n.q;const h=j(),u=async()=>{R(h(`/blog/search?q=${e.value}`))};return(p,s)=>{const b=S;return o(),r("div",Q,[t("p",W,d(p.$t("ressourcesConnaissances")),1),t("h1",K,d(p.$t("articlesConseilsEnSecurite")),1),t("p",G,d(p.$t("articlesConseilsDescription")),1),_(b,{modelValue:a(e),"onUpdate:modelValue":s[0]||(s[0]=l=>I(e)?e.value=l:null),onLaunch:u},null,8,["modelValue"])])}}},X={class:"container space-y-[15px] mt-[70px]"},Y={class:"ctitle5 dark:text-backgroundlight-100"},Z={class:"grid grid-cols-12 gap-4 xl:gap-6"},ee={class:"col-span-12 lg:col-span-6 xl:col-span-6 lg:min-h-[600px]"},te={class:"space-y-[15px] rounded-[12px] xl:rounded-[18px] hover:bg-slate-100 dark:hover:bg-backgrounddark-200 hover:drop-shadow-md transition-all duration-300 cursor-pointer h-full flex flex-col"},se={class:"w-full h-[200px] sm:h-[350px] lg:h-full xl:flex-1 relative overflow-hidden"},ae=["src","alt"],oe={class:"space-y-[12px] p-2 xl:p-4"},le={class:"csmall text-alternate-100 dark:text-primary-100"},re=["innerHTML"],ne={class:"cbody line-clamp-3 dark:text-backgroundlight-100"},ce={class:"flex gap-1"},ie={class:"col-span-12 lg:col-span-6 xl:col-span-6 space-y-[20px] xl:space-y-[50px]"}
1,de=["src","alt"],pe={class:"space-y-[4px] lg:space-y-[8px] py-2"},ue={class:"csmall text-alternate-100 dark:text-primary-100"},ge=["innerHTML"],he={class:"font-quicksand text-[16px] xl:text-[14px] font-[300] line-clamp-3 2xl:line-clamp-4 dark:text-backgroundlight-100"},me={class:"flex gap-1"},_e={__name:"Lastarticles",props:["blogs"],setup(v){const n=v,c=x(()=>n.blogs.map(s=>({wpId:s.wpId,id:s.id,imageData:{path:s.cover.path,alt:s.cover.alt},displayDate:s.displayDate,title:s.title,preview:s.yoast.description,categories:s.categories}))),e=x(()=>c.value[0]),h=x(()=>c.value.slice(1)),u=O(),p=()=>{u.allPageLoading=!0};return(s,b)=>{const l=H;return o(),r("div",X,[t("h2",Y,d(s.$t("derniersArticles")),1),t("div",Z,[t("div",ee,[_(l,{onClick:p,to:s.localePath(`/blog/${a(e).id}`)},{default:$(()=>[t("article",te,[t("div",se,[t("img",{src:a(e).imageData.path,alt:a(e).imageData.alt,class:"rounded-[8px] xl:rounded-[12px] absolute inset-0 w-full h-full object-cover"},null,8,ae)]),t("header",oe,[t("time",le,d(a(e).displayDate),1),t("h3",{class:"ctitle5 dark:text-backgroundlight-100",innerHTML:a(e).title},null,8,re),t("p",ne,d(a(e).preview),1),t("div",ce,[(o(!0),r(f,null,w(a(e).categories,(i,m)=>(o(),r("div",{key:m,class:"bg-secondary-100/10 text-secondary-100 ccaption rounded-full py-1 px-3"},d(i),1))),128))])])])]),_:1},8,["to"])]),t("div",ie,[(o(!0),r(f,null,w(a(h),(i,m)=>(o(),C(l,{onClick:p,to:s.localePath(`/blog/${i.id}`),key:m,class:"csecondaryblog flex flex-col sm:flex-row gap-3 sm:gap-4 xl:gap-5 p-2 lg:p-0 rounded-[12px] xl:rounded-[18px] hover:bg-slate-100 dark:hover:bg-backgrounddark-200 hover:drop-shadow-md duration-300 cursor-pointer"},{default:$(()=>[t("img",{src:i.imageData.path,alt:i.imageData.alt,class:"w-full sm:w-[250px] lg:w-[200px] xl:w-[270px] h-[200px] lg:h-auto rounded-[8px] xl:rounded-[12px] object-cover object-center"},null,8,de),t("header",pe,[t("time",ue,d(i.displayDate),1),t("h3",{class:"ctitle5 leading-7 dark:text-backgroundlight-100",innerHTML:i.title},null,8,ge),t("p",he,d(i.preview),1),t("div",me,[(o(!0),r(f,null,w(i.categories,(g,k)=>(o(),r("div",{key:k,class:"bg-secondary-100/10 text-secondary-100 ccaption rounded-full py-1 px-3"},d(g),1))),128))])])]),_:2},1032,["to"]))),128))])])])}}},ve=D(_e,[["__scopeId","data-v-c478f7d9"]]),ye={class:"container space-y-[15px] pt-[40px] xl:pt-[80px]"},xe={class:"ctitle5 dark:text-backgroundlight-100"},be={class:"grid grid-cols-12 gap-6 sm:gap-3 xl:gap-4"},fe={__name:"Allarticles",props:["blogs"],setup(v){const n=v,c=x(()=>n.blogs.map(e=>({wpId:e.wpId,id:e.id,imageData:{path:e.cover.path,alt:e.cover.alt},displayDate:e.displayDate,title:e.title,preview:e.yoast.description,categories:e.categories})));return(e,h)=>{const u=U;return o(),r("div",ye,[t("h2",xe,d(e.$t("tousLesArticles")),1),t("div",be,[(o(!0),r(f,null,w(a(c),(p,s)=>(o(),r("div",{class:"col-span-12 sm:col-span-6 lg:col-span-4 2xl:col-span-3 pb-8",key:s},[_(u,{data:p},null,8,["data"])]))),128))]),q("",!0)])}}},we={class:"container space-y-[15px] mt-[70px]"},ke={__name:"Skeleton",setup(v){return(n,c)=>(o(),r("div",we,[...c[0]||(c[0]=[N('<section><div class="container px-6 py-10 mx-auto animate-pulse"><div class="grid grid-cols-1 gap-8 mt-8 xl:mt-12 xl:gap-12 sm:grid-cols-2 xl:grid-cols-4 lg:grid-cols-3"><div class="w-full"><div class="w-full h-64 bg-gray-300 rounded-lg dark:bg-gray-600"></div><h1 class="w-56 h-2 mt-4 bg-gray-200 rounded-lg dark:bg-gray-700"></h1><p class="w-24 h-2 mt-4 bg-gray-200 rounded-lg dark:bg-gray-700"></p></div><div class="w-full"><div class="w-full h-64 bg-gray-300 rounded-lg dark:bg-gray-600"></div><h1 class="w-56 h-2 mt-4 bg-gray-200 rounded-lg dark:bg-gray-700"></h1><p class="w-24 h-2 mt-4 bg-gray-200 rounded-lg dark:bg-gray-700"></p></div><div class="w-full"><div class="w-full h-64 bg-gray-300 rounded-lg dark:bg-gray-600"></div><h1 class="w-56 h-2 mt-4 bg-gray-200 rounded-lg dark:bg-gray-700"></h1><p class="w-24 h-2 mt-4 bg-gray-200 rounded-lg dark:bg-gray-700"></p></div><div class="w-full"><div class="w-full h-64 bg-gray-300 rounded-lg dark:bg-gray-600"></div><h1 class="w-56 h-2 mt-4 bg-gray-200 rounded-lg dark:bg-gray-700"></h1><p class="w-24 h-2 mt-4 bg-gray-200 rounded-lg dark:bg-gray-700"></p></div><div class="w-full"><div class="w-full h-64 bg-gray-300 rounded-lg dark:bg-gray-600"></div><h1 class="w-56 h-2 mt-4 bg-gray-200 rounded-lg dark:bg-gray-700"></h1><p class="w-24 h-2 mt-4 bg-gray-200 rounded-lg dark:bg-gray-700"></p></div><div class="w-full"><div class="w-full h-64 bg-gray-300 rounded-lg dark:bg-gray-600"></div><h1 class="w-56 h-2 mt-4 bg-gray-200 rounded-lg dark:bg-gray-700"></h1><p class="w-24 h-2 mt-4 bg-gray-200 rounded-lg dark:bg-gray-700"></p></div><div class="w-full"><div class="w-full h-64 bg-gray-300 rounded-lg dark:bg-gray-600"></div><h1 class="w-56 h-2 mt-4 bg-gray-200 rounded-lg dark:bg-gray-700"></h1><p class="w-24 h-2 mt-4 bg-gray-200 rounded-lg dark:bg-gray-700"></p></div><div class="w-full"><div class="w-full h-64 bg-gray-300 rounded-lg dark:bg-gray-600"></div><h1 class="w-56 h-2 mt-4 bg-gray-200 rounded-lg dark:bg-gray-700"></h1><p class="w-24 h-2 mt-4 bg-gray-200 rounded-lg dark:bg-gray-700"></p></div></div></div></section>',1)])]))}},$e={class:"relative overflow-hidden"},Ae={key:0},De={key:1},Ce={__name:"index",setup(v){const{locale:n}=P(),c=y({fr:{title:"Nous serions ravis de discuter de votre projet",subtitle:"Que vou
1s ayez des questions, des besoins spécifiques ou souhaitiez simplement en savoir plus sur nos solutions, notre équipe est à votre disposition pour vous aider. N'hésitez pas à nous contacter pour échanger sur vos projets et découvrir comment nous pouvons contribuer à votre sécurité"},en:{title:"We would be delighted to discuss your project with you.",subtitle:"Whether you have questions, specific requirements or simply want to find out more about our solutions, our team is ready to help. Don't hesitate to contact us to discuss your projects and find out how we can contribute to your safety."}}),e=y(!0),h=y([]),u=y([]),p=async()=>{const m=await $fetch("/api/blog/posts",{method:"get",query:{lang:n.value}});if(m.success){const g=m.data;h.value=g.slice(0,3),u.value=g.slice(3),e.value=!1}};z(async()=>{await p()});const s=F(),b={fr:{title:"Blog | ACCOR EMEA",metaDescription:"Découvrez les derniers articles sur les solutions de sécurité et de sûreté avec le blog d'ACCOR EMEA. Restez informé des tendances actuelles, des innovations et des conseils d'experts.",cover:`${s.public.baseUrlFrontend}/og-image.webp`},en:{title:"Blog | ACCOR EMEA",metaDescription:"Discover the latest articles on safety and security solutions with the ACCOR EMEA blog. Keep up to date with current trends, innovations and expert advice.",cover:`${s.public.baseUrlFrontend}/og-image.webp`}},l=x(()=>b[`${n.value}`]),i=A();return V({htmlAttrs:{lang:n.value},title:l.value.title,meta:[{name:"description",content:l.value.metaDescription},{property:"og:title",content:l.value.title},{property:"og:description",content:l.value.metaDescription},{property:"og:image",content:l.value.cover},{property:"og:image_url",content:l.value.cover},{property:"og:site_name",content:"ACCOR EMEA"},{property:"og:url",content:`${s.public.baseUrlFrontend}${i.fullPath}`},{property:"og:type",content:"website"},{name:"twitter:card",content:"summary_large_image"},{name:"twitter:title",content:l.value.title},{name:"twitter:description",content:l.value.metaDescription},{name:"twitter:url",content:`${s.public.baseUrlFrontend}{route.fullPath}`},{name:"twitter:image",content:l.value.cover},{name:"robots",content:"index, follow"}],link:[{rel:"canonical",href:`${s.public.baseUrlFrontend}${i.fullPath}`}]}),(m,g)=>{const k=J,L=ve,B=fe,E=T,M=ke;return o(),r("div",$e,[g[0]||(g[0]=t("div",{class:"w-[140px] aspect-square bg-secondary-100 csquare1 rounded-full absolute left-[300px] top-[200px] -z-10"},null,-1)),g[1]||(g[1]=t("div",{class:"w-[140px] aspect-square bg-primary-100 csquare2 rounded-full absolute left-[470px] top-[300px] -z-10"},null,-1)),_(k),a(e)?(o(),r("div",De,[_(M)])):(o(),r("div",Ae,[_(L,{blogs:a(h)},null,8,["blogs"]),a(u).length?(o(),C(B,{key:0,blogs:a(u)},null,8,["blogs"])):q("",!0),_(E,{title:a(c)[`${a(n)}`].title,subtitle:a(c)[`${a(n)}`].subtitle},null,8,["title","subtitle"])]))])}}},Pe=D(Ce,[["__scopeId","data-v-2d6b6430"]]);export{Pe 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.