1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{9771:function(e,t,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return l(8498)}])},864:function(e,t){"use strict";t.Z={src:"/_next/static/media/hp-une.3b7a3191.svg",height:323,width:235,blurWidth:0,blurHeight:0}},6785:function(e,t){"use strict";t.Z={src:"/_next/static/media/leftchevron.f28327da.svg",height:29,width:57,blurWidth:0,blurHeight:0}},9502:function(e,t){"use strict";t.Z={src:"/_next/static/media/rightchevron.3eeeaa51.svg",height:33,width:53,blurWidth:0,blurHeight:0}},2763:function(e,t,l){"use strict";var s=l(1527),a=l(959),r=l(7575),i=l(2274),n=l(108),o=l(1773),x=l(1721),c=l(7841),d=l.n(c),p=l(961),g=l(7309),m=l(2972),u=l(6709),h=l(7208),f=l(1481),b=l(5018);let v=e=>{if(e instanceof Date){let t=new Date(e.getFullYear(),e.getMonth()+1);return new Intl.DateTimeFormat("fr-FR",{month:"long"}).format(t)}},j=e=>{if(e instanceof Date){let t=new Date(e.getFullYear(),e.getMonth()-1);return new Intl.DateTimeFormat("fr-FR",{month:"long"}).format(t)}},w=(e,t)=>{let l=(0,p.Z)(e,"d LLLL yyyy",new Date,{locale:g.Z}),s=t.filter(e=>"multiple"===e.eventsFields.dateType).some(e=>e.eventsFields.dates.some(e=>{let{date:t}=e,s=(0,p.Z)(t,"dd/MM/yyyy",new Date);return(0,u.Z)(l,s)}));return!!s||t.filter(e=>"range"===e.eventsFields.dateType).some(e=>{let{startDate:t,endDate:s}=e.eventsFields.dateRange,a=(0,p.Z)(t,"dd/MM/yyyy",new Date),r=(0,p.Z)(s,"dd/MM/yyyy",new Date);return(0,h.Z)(l,(0,b.Z)(a,-1))&&(0,f.Z)(l,(0,b.Z)(r,1))})},N=(e,t)=>{let l=t.filter(e=>"multiple"===e.eventsFields.dateType).filter(t=>t.eventsFields.dates.find(t=>{let{date:l}=t,s=(0,p.Z)(l,"dd/MM/yyyy",new Date);return(0,u.Z)(e,s)})),s=t.filter(e=>"range"===e.eventsFields.dateType).filter(t=>{let{startDate:l,endDate:s}=t.eventsFields.dateRange,a=(0,p.Z)(l,"dd/MM/yyyy",new Date),r=(0,p.Z)(s,"dd/MM/yyyy",new Date);return(0,h.Z)(e,(0,b.Z)(a,-1))&&(0,f.Z)(e,(0,b.Z)(r,1))});return[...l,...s]},y=e=>{let{data:t,isHomepage:l=!0}=e,c=(0,o.Z)(),p=a.createRef(),u=a.useRef(null),h=new Date,[f,b]=(0,a.useState)(h),[y,k]=(0,a.useState)([]),[Z,S]=(0,a.useState)(h),[_,L]=(0,a.useState)(j(h)),[D,T]=(0,a.useState)(v(h)),z=e=>{let{activeStartDate:t}=e;S(t)};(0,a.useEffect)(()=>{T(v(Z)),L(j(Z))},[Z]),(0,a.useEffect)(()=>{let e=document.querySelectorAll(".react-calendar__month-view__days abbr");e.forEach(e=>{w(e.ariaLabel,t)&&e.classList.add("has-event")})},[t,Z]);let P=a.useRef(!1);return(0,a.useEffect)(()=>{if(k(N(f,t)),P.current&&!c&&l&&u.current){let e=u.current.offsetTop;window.scrollTo({top:e-200,behavior:"smooth"})}},[f,t,c,l]),(0,s.jsxs)(i.Z,{variant:"full",children:[(0,s.jsxs)("div",{className:" ".concat(l&&"bg-blue lg:after:w-1/2 lg:after:block lg:after:absolute lg:after:left-0 lg:after:h-[350%] lg:after:-z-20 lg:after:bg-lightPink"," relative -z-10"),children:[l&&(0,s.jsx)("div",{className:"w-full -z-10 bg-blue h-[300px] lg:h-[500px] top-0 block absolute left-0 overflow-hidden",children:c&&(0,s.jsx)("img",{src:"/svg/hpthread1.svg",alt:"hpthread1",className:"right-0 absolute top-0"})}),(0,s.jsx)("div",{className:"p-3 lg:pb-14",children:l?(0,s.jsxs)(i.Z,{children:[(0,s.jsxs)("div",{className:"mt-6 lg:mt-20 relative",children:[c&&(0,s.jsx)("img",{src:"/svg/hpsvg1.svg",alt:"hpsvg1",className:"absolute -top-16 -left-10 h-[50px]"}),(0,s.jsx)("h2",{className:"text-[28px] lg:text-[80px] font-semibold text-poisedPeach",children:"Agenda"})]}),(0,s.jsx)("p",{className:"text-white mt-6 lg:text-[24px] lg:mt-10 lg:mb-14",children:"Les \xe9v\xe9nements \xe0 ne pas manquer"}),c&&(0,s.jsx)(n.Z,{text:"Tous les \xe9v\xe9nements",link:"/agenda",variant:"poisedPeach"})]}):(0,s.jsx)(i.Z,{children:(0,s.jsx)("h1",{className:"text-body lg:mt-8 text-[28px] lg:text-[51px] lg:leading-4 ",children:"Agenda : les \xe9v\xe9nements \xe0 ne pas manquer \xe0 Lyon"})})})]}),(0,s.jsx)(i.Z,{children:(0,s.jsxs)("div",{className:"flex flex-col md:flex-row lg:pb-10 md:justify-between",children:[(0,s.jsx)("div",{id:"custom-event-agenda",ref:u,className:"mb-8 m-2 lg:m-0 md:mb-0 lg:w-[50%] md:w-7/12 relative ".concat(c&&!l&&x.Pi.pink),children:(0,s.jsx)(r.ZP,{onChange:e=>{P.current=!0,b(e)},value:f,locale:"fr-FR",next2Label:null,nextLabel:"".concat(D," >"),prevLabel:"< ".concat(_),prev2Label:null,onActiveStartDateChange:z,ref:p})}),(0,s.jsxs)("div",{className:"m-2 lg:m-0 relative bg-white p-3 px-8 lg:px-12 border border-lightPoisedPeach flex flex-col pb-6 ".concat({true:"lg:w-[50%]",false:"lg:w-[46%]"}[l.toString()]," md:w-5/12 md:pb-0 ").concat(c&&!l&&x.Pi.blue),children:[(0,s.jsxs)("h3",{className:"text-center text-[20px] my-6 mt-12 font-semibold",children:["\xc9v\xe9nement(s) du"," ",(0,m.Z)(f,"d LLLL",{locale:g.Z})]}),0===y.length?(0,s.jsx)("p",{className:"border-t-2 border-t-lightPink flex flex-col gap-2 py-6 pl-4 hover:bg-orange hover:text-white transition-all duration-300",children:"Aucun \xe9v\xe9nement"}):y.map((e,t)=>(0,s.jsxs)(d(),{href:"/agenda/".concat(e.slug),className:"border-t-2 border-t-lightPink flex flex-col gap-2 py-6 pl-4 hover:bg-orange hover:text-white transition-all duration-300",children:[(0,s.jsx)("h4",{className:"font-semibold",children:e.title}),(0,s.jsx)("p",{dangerouslySetInnerHTML:{__html:e.eventsFields.eventPlace}})]},e.slug))]})]})}),!c&&(0,s.jsx)("div",{className:"flex w-full justify-center mt-10",children:(0,s.jsx)(n.Z,{text:"Tous les \xe9v\xe9nements",link:"/agenda",variant:"poisedPeach",isBold:!0})})]})};t.Z=y},8498:function(e,t,l){"use strict";l.r(t),l.d(t,{__N_SSG:function(){return F},default:function(){return M}});var s=l(1527),a=l(6103),r=l(959),i=l(2086),n=l(1721),o=l(1773),x=l(4151),c=l.n(x),d=l(7841),p=l.n(d),g=l(108);let m={blue:"after:block after:absolute after:top-[5px] after:-right-[5px] after:w-[5px] after:h-full before:block before:absolute before:-bottom-[5px] before:left-[5px] before:w-full before:h-[5px] after:bg-blue before:bg-blue",coral:"after:block after:absolute after:top-[5px] after:-right-[5px] after:w-[5px] after:h-full before:block before:absolute before:-bottom-[5px] before:left-[5px] before:w-full before:h-[5px] after:bg-coral before:bg-coral",pink:"after:block after:absolute after:top-[5px] after:-right-[5px] after:w-[5px] after:h-full before:block before:absolute before:-bottom-[5px] before:left-[5px] before:w-full before:h-[5px] after:bg-pink before:bg-pink",orange:"after:block after:absolute after:top-[5px] after:-right-[5px] after:w-[5px] after:h-full before:block before:absolute before:-bottom-[5px] before:left-[5px] before:w-full before:h-[5px] after:bg-orange before:bg-orange"},u=e=>{let{title:t,categories:l,slug:a,excerpt:i,featuredImage:o,variant:x,postContent:d}=e,u=m[n.y7.backgroundColor[x]],h=i||(null==d?void 0:d.flexible.find(e=>"Post_Postcontent_Flexible_Text"===e.fieldGroupName).text),[f,b]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{b(!0)},[]),(0,s.jsxs)("div",{className:"mb-[10px]",children:[(0,s.jsx)("div",{className:"relative w-full mb-5 cursor-pointer ".concat(u),children:(0,s.jsx)(p(),{href:"/".concat(a),children:(0,s.jsx)(c(),{width:o.node.mediaDetails.width,height:o.node.mediaDetails.height,src:o.node.sourceUrl,alt:t,className:"z-10 h-[220px] w-full object-cover",priority:!0})})}),(0,s.jsx)("div",{className:"flex mb-2",children:l.edges.filter(e=>{let{node:t}=e;return"a-la-une"!==t.slug}).map((e,t,l)=>{let{node:a}=e;return(0,s.jsxs)(p(),{className:"text-[17px] font-semibold ".concat(n.y7.textColor[x]," mr-1"),href:"/category/".concat(a.slug),children:[a.name,t!==l.length-1&&","]},t)})}),(0,s.jsx)(p(),{href:"/".concat(a),children:(0,s.jsx)("span",{className:"font-magicline text-[26px] text-blue leading-[36px] font-normal",children:t})}),h&&f&&(0,s.jsx)("div",{dangerouslySetInnerHTML:{__html:(null==h?void 0:h.substring(0,200).split(" ").slice(0,-1).join(" "))+"..."},className:"text-[16px] leading-[22px] mb-2 mt-1"}),(0,s.jsx)(g.Z,{text:"Lire l'article",variant:n.y7.ctaVariant[x],link:"/".concat(a),className:"inline-block mt-1 mb-12",isBold:!0})]})};var h=l(864),f=l(2274),b=l(6785),v=l(9502);let j=e=>{let t,{posts:l}=e,[a,x]=(0,r.useState)(l[0].post.slug),d=(0,r.useRef)(),p=e=>e%3==0?"primary":e%3==1?"secondary":e%3==2?"tertiary":void 0,g=(0,o.Z)();return(0,s.jsx)(f.Z,{children:(0,s.jsxs)("div",{className:"relative mt-10 lg:mt-[140px]",children:[g?(0,s.jsxs)(s.Fragment,{children:[" ",(0,s.jsxs)("h2",{className:"text-orange text-[100px] font-bold z-50 absolute left-20 -top-12",children:["\xc0 la"," ",(0,s.jsx)("span",{className:"inline-block font-magicline text-[80px] font-normal text-white bg-orange px-[58px] py-5
1-rotate-[5deg] translate-y-[70px] -translate-x-[125px]",children:"une"})]}),(0,s.jsx)(c(),{src:h.Z,alt:"Une",width:235,height:323,className:"absolute -bottom-10 -left-20"})]}):(0,s.jsx)("h2",{className:"text-[48px] text-orange font-bold mb-4",children:"\xc0 la une"}),g?(0,s.jsxs)("div",{className:"max-w-[1090px] mb-[175px] mx-auto relative",children:[(0,s.jsx)("div",{className:"absolute -left-[120px] top-[300px] w-[75px] h-[75px] bg-orange rounded-full flex items-center justify-center cursor-pointer",onClick:()=>d.current.slickPrev(),children:(0,s.jsx)(c(),{src:b.Z,width:48,height:23,alt:"previous"})}),(0,s.jsx)("div",{className:"absolute -right-[120px] top-[300px] w-[75px] h-[75px] bg-orange rounded-full flex items-center justify-center cursor-pointer ml-[100px]",onClick:()=>d.current.slickNext(),children:(0,s.jsx)(c(),{src:v.Z,width:48,height:23,alt:"previous"})}),(0,s.jsx)(i.Z,{dots:!0,infinite:!0,speed:500,slidesToShow:1,slidesToScroll:1,arrows:!1,fade:!0,customPaging:()=>(0,s.jsx)("div",{className:"w-[20px] h-[20px] rounded-full bg-blue "}),beforeChange:(e,s)=>{x(l[s].post.slug),t=!1},afterChange:()=>t=!1,ref:d,children:l.map((e,l)=>{let{post:r}=e;return(0,s.jsx)(n.ZP,{...r,variant:p(l),dragging:t,currentSlideSlug:a},r.slug)})})]}):(0,s.jsx)(s.Fragment,{children:l.map((e,t)=>{let{post:l}=e;return(0,s.jsx)(u,{...l,variant:p(t)},l.slug)})})]})})},w=e=>{let{data:t}=e,l=(0,o.Z)();return(0,s.jsxs)("div",{className:"flex flex-col lg:flex-row items-center",children:[(0,s.jsx)("div",{className:"flex flex-col w-full lg:w-1/2 lg-pr-16 2xl:pr-36 relative z-10 lg:pl-32 lg:mb-10",children:(0,s.jsxs)(f.Z,{children:[(0,s.jsxs)("div",{className:"flex mb-10 lg:mb-14",children:[(0,s.jsx)("h2",{className:"text-orange text-[32px] lg:text-[70px] xl:text-[80px] font-bold leading-tight",children:"\xc0 propos"}),(0,s.jsxs)("p",{className:"text-pink text-[32px] lg:text-[35px] font-magicline mt-12 lg:mt-24 -ml-14 lg:-ml-24 -rotate-3",children:["d","'","Inside Lyon"]})]}),(0,s.jsxs)("div",{className:"flex flex-col gap-3 mb-6 lg:mb-24",children:[(0,s.jsx)("p",{children:"Inside Lyon, câest une plateforme de communication en forme de m\xe9dia online, cr\xe9\xe9e par lâagence Izakna et anim\xe9e par des r\xe9dacteurs et des experts en cr\xe9ation de contenus marketing."}),(0,s.jsx)("p",{children:"On y valorise les plus belles adresses, marques et initiatives lyonnaises⦠Pour le lecteur, câest la garantie de d\xe9couvrir tout ce que Lyon peut offrir de meilleur !"}),(0,s.jsx)("p",{children:"D\xe9couvrez nos p\xe9pites dans les diff\xe9rentes cat\xe9gories : bonnes adresses gourmandes, shopping, talents, loisirs et culture⦠Nouveau ! Inside Lyon propose d\xe9sormais Inside Kids, une rubrique d\xe9di\xe9e aux enfants et \xe0 leurs parents, et bient\xf4t Outside Lyon une s\xe9rie dâarticles pour prendre le large. Utilisez aussi notre calendrier dâ\xe9v\xe9nements (rubrique Agenda) pour toujours savoir que faire \xe0 Lyon !"})]}),(0,s.jsx)("div",{className:"flex justify-center",children:(0,s.jsx)(g.Z,{link:"/inside-lyon",text:"En savoir plus",variant:"orange",isBold:!0})})]})}),(0,s.jsxs)("div",{className:"flex flex-col items-center w-full lg:w-1/2 mt-12 lg:mt-32 gap-8 bg-pink h-fit py-14 pb-8 relative z-0",children:[(0,s.jsx)("img",{src:"/svg/hpserpentin.svg",className:"absolute -left-8 lg:-left-28 bottom-2 lg:-bottom-36 lg:w-64 w-32 lg:rotate-0 rotate-[16deg]"}),(0,s.jsx)("h3",{className:"text-[50px] font-magicline text-white",children:"Instagram"}),(0,s.jsx)(p(),{href:"https://www.instagram.com/insidelyon/",target:"_blank",className:"px-8 lg:px-24 max-w-3xl",children:(0,s.jsx)(c(),{src:t.sourceUrl,alt:t.altText,width:t.mediaDetails.width,height:t.mediaDetails.height})}),(0,s.jsxs)("div",{className:"flex flex-col items-center relative w-48 lg:w-64",children:[(0,s.jsx)("p",{className:"text-[18px] text-white font-bold mb-4 text-center",children:"Suivez-nous sur"}),(0,s.jsx)(g.Z,{variant:"coral",text:"Instagram",isBlank:!0,isBold:!0,link:"https://www.instagram.com/insidelyon/"}),(0,s.jsx)("img",{src:"/svg/hptick2.svg",alt:"hptick2",className:"absolute left-0 bottom-0"}),(0,s.jsx)("img",{src:"/svg/hptick3.svg",alt:"hptick3",className:"absolute right-0 bottom-0"})]}),l&&(0,s.jsx)("img",{src:"/svg/hpu.svg",alt:"hpu",className:"absolute right-0 bottom-0 w-40"})]})]})},N=()=>(0,s.jsxs)("div",{className:"w-full lg:w-1/2 lg:bg-lightPink py-12 lg:py-32 relative overflow-hidden",children:[(0,s.jsx)(f.Z,{children:(0,s.jsx)(p(),{href:"https://www.agencecalissi.com/eshop/city-guide-lyonnais-1",target:"_blank",children:(0,s.jsxs)("div",{className:"pl-0 lg:pl-[26%] z-10 relative",children:[(0,s.jsx)("p",{className:"text-blue text-[28px] md:text-[36px] font-bold",children:"D\xe9couvrez notre"}),(0,s.jsx)("h2",{className:"text-blue font-magicline text-[48px] md:text-[80px] leading-normal mb-8",children:"City Guide"}),(0,s.jsx)("button",{className:"bg-blue hover:bg-orange text-white font-semibold transition ease px-5 lg:px-7 lg:py-3 py-2 font-adrianna rounded-3xl text-sm lg:text-base",children:"En savoir plus"})]})})}),(0,s.jsx)(c(),{src:"/img/cityguidehand-1024x768.webp",alt:"cityguidehand",width:533,height:400,className:"absolute bottom-0 -right-16 md:-right-16 z-0 md:w-[533px] w-[350px]"})]});var y=l(3234),k=l(3648);let Z=()=>{let[e,t]=(0,r.useState)(""),[l,a]=(0,r.useState)(!1),[i,n]=(0,r.useState)(void 0),o=async l=>{l.preventDefault(),e||n({isSuccess:!1,message:"Veuillez indiquer une adresse email valide."}),a(!0),n(void 0);let{response:s}=await fetch("/api/zoho/subscribe",{method:"POST",headers:{accept:"application/json","content-type":"application/json"},body:JSON.stringify({email:e})}).then(e=>e.json()).then(e=>e).catch(()=>({response:{code:"network_error"}}));if(a(!1),!s.code){n({isSuccess:!0,message:"Un e-mail de confirmation vous a \xe9t\xe9 envoy\xe9. Veuillez cliquer sur le lien pour valider votre inscription."}),t("");return}
1switch(s.code){case"invalid_parameter":n({isSuccess:!1,message:"L'adresse email saisie est invalide."});break;case"no_email_provided":n({isSuccess:!1,message:"Veuillez indiquer une adresse email valide."});break;case"already_subscribed":n({isSuccess:!1,message:"Cette adresse e-mail est d\xe9j\xe0 inscrite \xe0 la newsletter."});break;case"too_many_requests":n({isSuccess:!1,message:"Un e-mail de confirmation vous a d\xe9j\xe0 \xe9t\xe9 envoy\xe9. Veuillez r\xe9essayer plus tard."});break;case"already_unsubscribed":n({isSuccess:!1,message:"Cette adresse s'est d\xe9sinscrite de la newsletter. Veuillez nous contacter pour vous r\xe9inscrire."});break;default:n({isSuccess:!1,message:"Une erreur est survenue. Veuillez r\xe9essayer."})}};return(0,s.jsx)("div",{className:"w-full lg:w-1/2 flex flex-col py-16 lg:p-12 lg:pt-32 lg:pr-64 relative",children:(0,s.jsxs)(f.Z,{children:[(0,s.jsx)("img",{src:"/svg/hpmail.svg",alt:"hpmail",className:"absolute -z-10 right-12 md:right-48 top-8 md:top-4 w-16 md:w-24"}),(0,s.jsx)("p",{className:"text-[32px] md:text-[36px] font-magicline text-coral",children:"Inscrivez-vous \xe0 notre"}),(0,s.jsx)("h2",{className:"text-[32px] md:text-[80px] font-bold text-coral leading-normal",children:"newsletter"}),(0,s.jsx)("p",{className:"lg:w-[374px]",children:"1 fois par mois, le meilleur de Lyon dans votre bo\xeete mail !"}),(0,s.jsxs)("form",{onSubmit:o,className:"relative w-80 lg:w-full max-w-lg mt-4 md:mt-8",children:[(0,s.jsx)("input",{type:"email",placeholder:"Votre e-mail",className:" px-4 p-2 lg:px-6 rounded-2xl border border-poisedPeach lg:rounded-full text-bodyA69 placeholder-bodyA69 outline-none font-light italic w-full text-sm lg:text-lg",value:e,onChange:e=>t(e.target.value)}),(0,s.jsxs)("button",{type:"submit",className:"bg-blue hover:bg-orange text-white absolute top-0 right-0 h-full transition ease px-5 lg:px-7 lg:py-3 py-2 font-adrianna rounded-3xl text-sm lg:text-base flex items-center gap-2 font-semibold",children:[l&&(0,s.jsx)(k.fCD,{className:"animate-spin inline"}),"S","'","inscrire"]})]}),i&&(0,s.jsxs)("div",{className:"text-black text-sm flex items-center gap-1 mt-2",children:[i.isSuccess?(0,s.jsx)(y.bzc,{className:"text-lg"}):(0,s.jsx)(y.oHP,{className:"text-lg"}),(0,s.jsx)("p",{children:i.message})]})]})})},S={text:{pink:"text-pink",orange:"text-orange",coral:"text-coral"}},_=e=>{let{data:t}=e,l=(0,r.useRef)(),a=e=>e%3==0?"pink":e%3==1?"orange":e%3==2?"coral":void 0,n=(0,o.Z)(),[x,d]=(0,r.useState)(t);return(0,r.useEffect)(()=>{let e=[...t],l=e.length;for(;--l>0;){let t=Math.floor(Math.random()*(l+1)),s=e[t];e[t]=e[l],e[l]=s}d(e)},[t]),(0,s.jsxs)("div",{className:"relative lg:mt-[150px]",children:[(0,s.jsxs)(f.Z,{children:[(0,s.jsx)("h2",{className:"mb-10 inline-block text-[32px] lg:mb-[60px] lg:text-[48px] text-blue font-bold relative after:absolute after:w-[72px] after:h-[72px] after:bg-coral after:rounded-full after:-top-5 after:-right-8 after:-z-10 lg:after:w-[94px] lg:after:h-[94px] lg:after:-top-10",children:"Focus sur"}),(0,s.jsxs)("div",{className:"hidden lg:flex absolute right-[300px] top-0",children:[(0,s.jsx)("div",{className:"w-[55px] h-[55px] bg-blue rounded-full flex items-center justify-center cursor-pointer",onClick:()=>l.current.slickPrev(),children:(0,s.jsx)(c(),{src:b.Z,width:38,height:23,alt:"previous"})}),(0,s.jsx)("div",{className:"w-[55px] h-[55px] bg-blue rounded-full flex items-center justify-center cursor-pointer ml-[100px]",onClick:()=>l.current.slickNext(),children:(0,s.jsx)(c(),{src:v.Z,width:38,height:23,alt:"previous"})})]})]}),(0,s.jsx)(f.Z,{variant:"full",children:(0,s.jsx)(i.Z,{speed:300,slidesToShow:n?2:1.5,infinite:!0,slidesToScroll:1,arrows:!1,ref:l,children:x.map((e,t)=>{let{description:l,image:r,link:i,title:n}=e;return(0,s.jsx)("div",{className:"px-2 md:pl-16 lg:pl-32 3xl:pl-64 pb-2 ",children:(0,s.jsxs)("div",{className:" relative lg:pt-[125px] cursor-grab",children:[(0,s.jsx)("p",{className:"".concat(S.text[a(t)]," hidden lg:block text-[32px] font-bold my-3 lg:absolute lg:top-0 lg:text-[54px] 2xl:text-[80px] lg:leading-[60px] 2xl:leading-[80px] "),children:n}),(0,s.jsxs)("div",{className:"lg:flex",children:[(0,s.jsx)(c(),{src:r.sourceUrl,alt:r.altText,width:r.mediaDetails.width,height:r.mediaDetails.height,className:"lg:order-2 flex-1 w-full lg:w-[50%] h-[290px] lg:h-[410px] object-cover"}),(0,s.jsx)("p",{className:"".concat(S.text[a(t)]," text-[32px] font-bold my-3 lg:hidden"),children:n}),(0,s.jsxs)("div",{className:"lg:order-1 lg:flex-1 lg:pr-2",children:[(0,s.jsx)("p",{className:"text-[16px] lg:text-[18px] leading-[26px] mb-4 lg:mb-[30px] lg:pt-12 flex-1 lg:min-w-[250px]",children:l}),(0,s.jsx)(g.Z,{variant:a(t),text:"En savoir plus",link:i.url,isBlank:"_blank"===i.target,isBold:!0})]})]})]})},t)})})})]})};var L={src:"/_next/static/media/hparch.ecc2abc4.svg",height:544,width:547,blurWidth:0,blurHeight:0},D=l(9841);let T=e=>{let{data:t}=e;return(0,s.jsxs)(f.Z,{className:"overflow-hidden",children:[(0,s.jsxs)("div",{className:"lg:flex lg:items-center mt-[50px] relative pt-5 lg:mt-[200px]",children:[(0,s.jsxs)("div",{className:"lg:basis-1/2 lg:flex lg:justify-end lg:mr-16",children:[(0,s.jsx)("h2",{className:"text-[48px] text-orange font-bold max-w-[240px] absolute left-0 top-0 leading-[44px] lg:text-[80px] lg:max-w-[400px] lg:leading-[86px] lg:-top-16",children:"Le talent du mois"}),(0,s.jsxs)("div",{className:"flex w-[80%] mx-auto relative -z-20 lg:w-[70%] lg:mx-0",children:[(0,s.jsx)(c(),{src:t.image.sourceUrl,alt:t.image.altText,width:t.image.mediaDetails.width,height:t.image.mediaDetails.height,className:"z-20"}),(0,s.jsx)(c(),{alt:"svg",src:L,className:"absolute z-10 -top-8 -right-5 lg:scale-[1.2] lg:-top-[10px] lg:-left-[100px]"})]})]}),(0,s.jsxs)("div",{className:"mt-8 lg:mt-0 lg:basis-1/2",children:[(0,s.jsx)("span",{className:"block text-[24px] text-blue font-bold lg:text-[48px]",children:t.name}),(0,s.jsx)("span",{className:"inline-block font-magicline text-orange bg-blue px-8 py-2 text-[24px] -rotate-[3deg] mt-2 ml-[50%] -translate-x-[50%] lg:text-[36px] lg:py-5 lg:mt-6",children:t.tag}),(0,s.jsx)("div",{dangerouslySetInnerHTML:{__html:t.description},className:"text-[16px] mt-6 lg:text-[18px] lg:mt-12"}),(0,s.jsxs)("div",{className:"flex flex-col items-center mt-6 lg:flex-row ",children:[(0,s.jsx)(g.Z,{text:"D\xe9couvrir son travail",variant:"orange",link:t.link.url,isBlank:"_blank"===t.link.target,className:"mb-3 lg:mb-0 lg:mr-12",isBold:!0}),(0,s.jsxs)(p(),{href:"/category/talents",className:"flex items-center text-sm lg:text-base",children:["Tous les talents ",(0,s.jsx)(D.lzl,{className:"ml-2"})]})]})]})]}),(0,s.jsx)("div",{className:"relative h-24 mt-6 lg:h-64",children:(0,s.jsx)("img",{src:"/svg/hpthread3.svg",alt:"hpthread3",className:"absolute w-72 -right-24 lg:right-0 lg:w-[650px]"})})]})},z=e=>{let t,{posts:l}=e,a=(0,r.useRef)();(0,o.Z)();let n=e=>e%3==0?"orange":e%3==1?"pink":e%3==2?"blue":void 0,x={textColor:{blue:"text-blue",pink:"text-pink",orange:"text-orange"}};return(0,s.jsxs)("div",{className:"pb-12 relative",children:[(0,s.jsx)(f.Z,{children:(0,s.jsxs)("h2",{className:"mb-[70px] inline-block text-[32px] text-blue font-bold relative after:absolute after:w-[72px] after:h-[72px] after:bg-coral after:rounded-full after:-top-5 after:left-[150px] after:-z-10 lg:text-[80px] lg:after:w-[120px] lg:after:h-[120px] lg:after:left-[380px] lg:after:-top-12 lg:mb-[170px]",children:["Les articles"," ",(0,s.jsx)("span",{className:"inline-block font-magicline text-coral text-[28px] bg-blue py-1 px-[15px] font-normal -rotate-[8deg] -translate-x-[85px] translate-y-7 lg:text-[60px] lg:py-[25px] lg:px-[58px] lg:-translate-x-[305px] lg:translate-y-[80px]",children:"les plus lus"})]})}),(0,s.jsxs)(f.Z,{variant:"full",children:[(0,s.jsxs)("div",{className:"hidden lg:flex absolute right-[300px] top-[160px]",children:[(0,s.jsx)("div",{className:"w-[55px] h-[55px] bg-blue rounded-full flex items-center justify-center cursor-pointer",onClick:()=>a.current.slickPrev(),children:(0,s.jsx)(c(),{src:b.Z,width:38,height:23,alt:"previous"})}),(0,s.jsx)("div",{className:"w-[55px] h-[55px] bg-blue rounded-full flex items-center justify-center cursor-pointer ml-[100px]",onClick:()=>a.current.slickNext(),children:(0,s.jsx)(c(),{src:v.Z,width:38,height:23,alt:"previous"})})]}),(0,s.jsx)(i.Z,{infinite:!0,speed:500,slidesToShow:4.2,slidesToScroll:1,arrows:!1,beforeChange:()=>t=!0,afterChange:()=>t=!1,responsive:[{breakpoint:1500,settings:{slidesToShow:3.4}},{breakpoint:1250,settings:{slidesToShow:2.9}},{breakpoint:480,settings:{slidesToShow:1.4}}],ref:a,children:l.map((e,l)=>{let{post:{categories:a,featuredImage:r,title:i,slug:o}}=e;return(0,s.jsxs)("div",{className:"px-2 lg:px-12 pb-[20px] ",children:[(0,s.jsxs)(p(),{href:"/".concat(o),onClick:e=>t&&e.preventDefault(),children:[r&&(0,s.jsx)(c(),{src:r.node.sourceUrl,alt:r.node.altText,width:r.node.mediaDetails.width,height:r.node.mediaDetails.height,className:"w-full h-[205px] object-cover block"}),(0,s.jsx)("span",{className:"block text-[16px] ".concat(x.textColor[n(l)]," font-semibold mt-2 lg:text-[20px] lg:mt-4"),children:a.edges.filter(e=>{let{node:t}=e;return"a-la-une"!==t.slug}).map(e=>{let{node:t}=e;return t.name}).join(", ")}),(0,s.jsx)("span",{className:"block text-[16px] font-semibold mb-3 lg:text-[18px] lg:mb-6",children:i})]}),(0,s.jsx)(g.Z,{text:"Lire l'article",link:"/".concat(o),variant:n(l),isBold:!0})]},l)})})]})]})};var P=l(2763),C=l(8564),F=!0;function M(e){let{data:t,agendaData:l,preview:r}=e;return(0,s.jsxs)(a.Z,{preview:r,children:[(0,s.jsx)(C.Z,{title:t.page.seo.title,de
1scription:t.page.seo.metaDesc}),(0,s.jsx)("h1",{className:"sr-only",children:"Inside Lyon : guide des sorties, bonnes adresses et bons plans \xe0 Lyon"}),(0,s.jsx)(j,{posts:t.page.homepage.highlightedPosts}),(0,s.jsx)(z,{posts:t.popularPosts.popularPosts.posts}),(0,s.jsx)(P.Z,{data:l.events.nodes}),(0,s.jsx)(f.Z,{variant:"full",children:(0,s.jsxs)("div",{className:"mb-20 flex justify-center lg:flex-row flex-col border-b-[1px] border-lightPink",children:[(0,s.jsx)(N,{}),(0,s.jsx)(Z,{})]})}),(0,s.jsx)(_,{data:t.page.homepage.focusOn}),(0,s.jsx)(T,{data:t.page.homepage.monthTalent})," ",(0,s.jsx)(w,{data:t.page.homepage.instagram})]})}}},function(e){e.O(0,[219,292,351,607,86,379,774,888,179],function(){return e(e.s=9771)}),_N_E=e.O()}]);
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.