1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[724],{9720:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/author/[slug]",function(){return r(5681)}])},864:function(e,t){"use strict";t.Z={src:"/_next/static/media/hp-une.3b7a3191.svg",height:323,width:235,blurWidth:0,blurHeight:0}},5830:function(e,t,r){"use strict";var a=r(1527),n=r(108),l=r(1721),o=r(4151),s=r.n(o),c=r(7841),i=r.n(c),u=r(2065),d=r(864);let x={hoverBackgroundColor:{primary:"hover:before:bg-pink hover:after:bg-pink",secondary:"hover:before:bg-coral hover:after:bg-coral",tertiary:"hover:before:bg-orange hover:after:bg-orange"},hoverTextColor:{primary:"hover:text-coral",secondary:"hover:text-orange",tertiary:"hover:text-pink"},textColor:{primary:"text-pink",secondary:"text-coral",tertiary:"text-orange"},hoverButtonColor:{primary:"hover:bg-coral",secondary:"hover:bg-orange",tertiary:"hover:bg-pink"},buttonVariant:{primary:"pink",secondary:"coralBis",tertiary:"orange"}},h=e=>{var t;let{author:r,date:o,excerpt:c,featuredImage:h,slug:m,title:f,category:p,variant:v,index:g}=e,b=(0,u.Z)(o),j=l.Pi[l.y7.backgroundColor[v]];return(0,a.jsxs)("div",{className:"flex flex-col mt-10 md:mt-20 relative",children:[1===g&&(0,a.jsx)(s(),{src:d.Z,alt:"Une",width:235,height:323,className:"hidden lg:block lg:absolute bottom-60 -left-[270px]"}),(0,a.jsx)(i(),{href:"/".concat(m),children:(0,a.jsx)("h2",{className:"".concat(x.textColor[v]," text-[24px] md:text-4xl font-bold mb-1 md:mb-4 ").concat(x.hoverTextColor[v]),children:f})}),(0,a.jsxs)("p",{className:"mb-8 md:mb-10 text-[14px] md:text-[18px] ".concat(x.textColor[v]),children:[p," | Derni\xe8re mise \xe0 jour le ",b," par"," ",null==r?void 0:null===(t=r.node)||void 0===t?void 0:t.name]}),h&&(0,a.jsx)(i(),{href:"/".concat(m),children:(0,a.jsx)("div",{className:"relative w-full cursor-pointer ".concat(j," ").concat(x.hoverBackgroundColor[v]),children:(0,a.jsx)(s(),{width:970,height:513,src:h.node.sourceUrl,alt:h.node.altText,className:"z-10 md:h-[513px] h-auto w-full object-cover"})})}),c&&(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:c.substring(0,280).split(" ").slice(0,-1).join(" ")+"..."},className:"mt-12 font-base mb-10"}),(0,a.jsx)(n.Z,{link:"/".concat(m),variant:x.buttonVariant[v],text:"Lire l'article",className:"w-fit ".concat(x.hoverButtonColor[v])}),(0,a.jsx)("div",{className:"w-full h-[1px] bg-lightPink mt-10"})]})};t.Z=h},2989:function(e,t,r){"use strict";var a=r(1527),n=r(2274);r(959);var l=r(4648),o=r(4391);let s=e=>{let{posts:t}=e;return(0,a.jsx)(n.Z,{children:(0,a.jsxs)("div",{className:"flex flex-col my-16 lg:my-24",children:[(0,a.jsx)("h2",{className:"text-coral font-bold text-[22px] lg:text-[30px] mb-8",children:"Les articles les plus lus"}),(0,a.jsx)("div",{className:"flex justify-start gap-x-4 flex-wrap",children:t.map((e,t)=>{let{post:r}=e;return(0,a.jsx)(l.Z,{...r,variant:(0,o.Z)(t),isSlider:!1},r.slug)})})]})})};t.Z=s},4648:function(e,t,r){"use strict";var a=r(1527);r(959);var n=r(108),l=r(4151),o=r.n(l),s=r(7841),c=r.n(s);let i={backgroundColor:{primary:"bg-poisedPeach",secondary:"bg-blue",tertiary:"bg-orange"},hoverColor:{primary:"hover:bg-coral",secondary:"hover:bg-orange",tertiary:"hover:bg-poisedPeach"},textColor:{primary:"text-poisedPeach",secondary:"text-blue",tertiary:"text-orange"}},u=e=>{let{categories:t,featuredImage:r,title:l,slug:s,variant:u,isSlider:d=!0,dragging:x=!1}=e;return(0,a.jsxs)("div",{className:"flex flex-col justify-between h-[370px] mx-2 ".concat(d&&"px-8"," ").concat(!d&&"w-full lg:w-[calc((100%-48px)/4)] mb-10 mx-0"),children:[(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsxs)(c(),{href:"/".concat(s),className:"relative xl:w-100 xl:h-[206px] w-full h-[170px]",onClick:e=>x&&e.preventDefault(),children:[(0,a.jsx)("div",{className:"absolute w-full h-full bg-black"}),r&&(0,a.jsx)(o(),{src:r.node.sourceUrl,alt:r.node.altText,fill:!0,className:"object-cover hover:opacity-60 transition-all duration-500"})]}),(0,a.jsx)("p",{className:"font-bold ".concat(i.textColor[u]," text-xl mt-2"),children:t.edges.filter(e=>{let{node:t}=e;return"a-la-une"!==t.slug}).map(e=>{let{node:t}=e;return t.name}).join(", ")}),(0,a.jsx)("p",{className:"text-base font-bold",children:l})]}),(0,a.jsx)(n.Z,{text:"Lire l'article",link:"/".concat(s),variant:"orange",isBold:!0,className:"w-fit ".concat(i.backgroundColor[u]," ").concat(i.hoverColor[u])})]})};t.Z=u},8128:function(e,t,r){"use strict";var a=r(1527),n=r(7841),l=r.n(n),o=r(2274),s=r(6873),c=r(7206),i=r(5421),u=r(57);let d=e=>e?e.charAt(0).toUpperCase()+e.slice(1):e,x=e=>{let{title:t,variant:r="default"}=e,n=(0,s.useRouter)(),x=n.asPath,h="primary"===r?"text-coral":"text-bodyA99",m=x.split("?")[0].split("/").filter(
1Boolean),f=[{name:"Accueil",url:"".concat(u._O,"/")}];return m.length>1&&f.push({name:d(decodeURIComponent(m[0])),url:"".concat(u._O,"/").concat(m[0])}),f.push({name:t,url:m.length?"".concat(u._O,"/").concat(m.join("/")):"".concat(u._O,"/")}),(0,a.jsxs)(o.Z,{children:[(0,a.jsx)(c.Z,{data:(0,i.ij)(f)}),(0,a.jsx)("p",{className:"".concat("primary"===r?"text-poisedPeach":"text-bodyA69"," text-base font-adrianna font-light mb-5"),children:(0,a.jsxs)("span",{children:[(0,a.jsx)("span",{children:(0,a.jsx)(l(),{href:"/",className:h,children:"Accueil"})}),"\xa0\xbb\xa0",x.split("/").length>2&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{children:(0,a.jsx)(l(),{href:"/".concat(x.split("/")[1]),className:"".concat(h," capitalize"),children:x.split("/")[1]})}),"\xa0\xbb\xa0"]}),(0,a.jsx)("span",{"aria-current":"page",children:t})]})})]})};t.Z=x},5681:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSG:function(){return v},default:function(){return g}});var a=r(1527),n=r(6873),l=r(6019),o=r.n(l),s=r(6103),c=r(2274),i=r(8128),u=r(8564),d=r(7206),x=r(5830),h=r(2989),m=r(4391),f=r(5421),p=r(57),v=!0;function g(e){var t,r,l;let{author:v,popularPosts:g}=e,b=(0,n.useRouter)();if(!b.isFallback&&!(null==v?void 0:v.slug))return(0,a.jsx)(o(),{statusCode:404});if(!v)return null;let j=((null===(t=v.posts)||void 0===t?void 0:t.edges)||[]).map(e=>{let{node:t}=e;return t}),y="".concat(p._O,"/author/").concat(v.slug),N=v.description||"Tous les articles de ".concat(v.name," sur Inside Lyon : sorties, bonnes adresses et culture \xe0 Lyon.");return(0,a.jsx)(s.Z,{preview:!1,children:(0,a.jsxs)("article",{children:[(0,a.jsx)(u.Z,{title:"".concat(v.name," ⢠Inside Lyon"),description:N,image:null===(r=v.avatar)||void 0===r?void 0:r.url}),(0,a.jsx)(d.Z,{data:(0,f.tf)(v,y)}),(0,a.jsx)("div",{className:"text-center",children:(0,a.jsx)(i.Z,{title:v.name,variant:"primary"})}),(0,a.jsx)(c.Z,{variant:"small",children:(0,a.jsxs)("div",{className:"flex flex-col items-center text-center",children:[(null===(l=v.avatar)||void 0===l?void 0:l.url)&&(0,a.jsx)("img",{src:v.avatar.url,alt:v.name,width:96,height:96,className:"rounded-full"}),(0,a.jsx)("h1",{className:"text-[28px] md:text-[52px] font-bold mt-4 leading-tight",children:v.name}),v.description&&(0,a.jsx)("p",{className:"mt-4 max-w-2xl font-light",children:v.description})]})}),j.length>0&&(0,a.jsxs)(c.Z,{variant:"small",children:[(0,a.jsxs)("h2",{className:"text-[22px] md:text-[32px] font-bold mt-10",children:["Les articles de ",v.name]}),(0,a.jsx)("div",{className:"flex flex-col w-full",children:j.map((e,t)=>{var r,n,l;return(0,a.jsx)(x.Z,{author:{node:v},date:e.modified||e.date,excerpt:e.excerpt,featuredImage:e.featuredImage,slug:e.slug,title:e.title,category:(null===(r=null===(n=e.categories)||void 0===n?void 0:null===(l=n.edges)||void 0===l?void 0:l.find(e=>{let{node:t}=e;return"a-la-une"!==t.slug}))||void 0===r?void 0:r.node.name)||"Inside Lyon",variant:(0,m.Z)(t),index:t},e.slug)})})]}),(0,a.jsx)(h.Z,{posts:g})]})})}},2065:function(e,t,r){"use strict";function a(e){if(!e)return;let t=new Date(e),r=Intl.DateTimeFormat("fr",{year:"numeric",month:"long",day:"numeric"}).format(t);return r}r.d(t,{Z:function(){return a}})},4391:function(e,t){"use strict";let r=e=>e%3==0?"primary":e%3==1?"secondary":e%3==2?"tertiary":void 0;t.Z=r},6019:function(e,t,r){e.exports=r(8756)},847:function(e,t,r){"use strict";r.d(t,{w_:function(){return c}});var a=r(959),n={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},l=a.createContext&&a.createContext(n),o=function(){return(o=Object.assign||function(e){for(var t,r=1,a=arguments.length;r<a;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},s=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(r[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,a=Object.getOwnPropertySymbols(e);n<a.length;n++)0>t.indexOf(a[n])&&Object.prototype.propertyIsEnumerable.call(e,a[n])&&(r[a[n]]=e[a[n]]);return r};function c(e){return function(t){return a.createElement(i,o({attr:o({},e.attr)},t),function e(t){return t&&t.map(function(t,r){return a.createElement(t.tag,o({key:r},t.attr),e(t.child))})}(e.child))}}function i(e){var t=function(t){var r,n=e.attr,l=e.size,c=e.title,i=s(e,["attr","size","title"]),u=l||t.size||"1em";return t.className&&(r=t.className),e.className&&(r=(r?r+" ":"")+e.className),a.createElement("svg",o({stroke:"currentColor",fill:"
1currentColor",strokeWidth:"0"},t.attr,n,i,{className:r,style:o(o({color:e.color||t.color},t.style),e.style),height:u,width:u,xmlns:"http://www.w3.org/2000/svg"}),c&&a.createElement("title",null,c),e.children)};return void 0!==l?a.createElement(l.Consumer,null,function(e){return t(e)}):t(n)}}},function(e){e.O(0,[219,292,379,774,888,179],function(){return e(e.s=9720)}),_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.