(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[208],{189:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/articles/sommes-nous-tous-fous/[slug]",function(){return n(9542)}])},3358:function(t,e,n){"use strict";var i=n(5893),a=n(9008),r=n.n(a),s=n(5675),o=n.n(s),c=n(3985),l=n(2546),u=n(6523),m=n(2658),_=n.n(m),d=n(8975),p=n(6900),g=n(1228);e.Z=t=>{let{article:e,preview:n,formattedSubcategoryName:a}=t,s="".concat("https://www.gai-savoir.fr","/articles/").concat(a,"/").concat(e.attributes.slug);return(0,i.jsxs)("div",{className:_().container,children:[(0,i.jsxs)(r(),{children:[(0,i.jsx)("title",{children:e.attributes.title}),(0,i.jsx)("meta",{name:"description",content:e.attributes.excerpt}),(0,i.jsx)("link",{rel:"icon",href:"/favicon.ico"}),(0,i.jsx)(d.Z,{title:e.attributes.title,description:e.attributes.excerpt,url:s})]}),n&&(0,i.jsx)("div",{className:_().previewMode,children:"PREVIEW MODE"}),(0,i.jsx)(p.Z,{}),(0,i.jsx)("h1",{className:_().title,children:e.attributes.title}),(0,i.jsx)("div",{className:_().authorInfo,children:"".concat(e.attributes.author,", le ").concat((0,g.Z)(e.attributes.published))}),(0,i.jsxs)("div",{className:_().contentContainer,children:[e.attributes.content?(0,i.jsx)("div",{className:_().component,children:(0,i.jsx)(c.D,{children:e.attributes.content})}):null,e.attributes.content_components&&0!==e.attributes.content_components.length?(0,i.jsx)(i.Fragment,{children:e.attributes.content_components.map((t,e)=>"content.text"===t.__component?(0,i.jsx)("div",{className:_().component,children:(0,i.jsx)(c.D,{children:t.text})},e):"content.image"===t.__component?(0,i.jsx)("div",{className:_().component,children:(0,i.jsxs)("figure",{children:[(0,i.jsx)(o(),{src:t.image.data.attributes.formats.medium.url,width:t.image.data.attributes.formats.medium.width,height:t.image.data.attributes.formats.medium.height,sizes:"100vw",alt:t.alternative_text||""}),t.caption?(0,i.jsx)("figcaption",{className:_().figcaption,children:t.caption}):null]})},e):"content.carousel"===t.__component?(0,i.jsx)("div",{className:_().component,children:(0,i.jsx)(l.tq,{navigation:!0,pagination:!0,modules:[u.W_,u.tl],children:t.images.data.map(t=>(0,i.jsx)(l.o5,{children:(0,i.jsx)(o(),{src:t.attributes.formats.medium.url,width:t.attributes.formats.medium.width,height:t.attributes.formats.medium.height,className:_().carouselImage,sizes:"100vw",alt:""})},t.attributes.hash))})},e):void 0)}):null,(0,i.jsx)("div",{className:_().greenBackground}),(0,i.jsx)("div",{className:_().purpleBackground})]})]})}},6900:function(t,e,n){"use strict";var i=n(5893),a=n(1664),r=n.n(a),s=n(9874),o=n.n(s);e.Z=()=>(0,i.jsxs)(r(),{href:"/",className:o().homePageLink,children:[(0,i.jsx)("div",{className:o().triangle}),(0,i.jsx)("div",{className:o().homePageLinkText,children:"RETOUR ACCUEIL"})]})},8975:function(t,e,n){"use strict";var i=n(5893);e.Z=t=>{let{title:e,description:n,url:a,image:r}=t,s="/social_media_links_sharing_default.png";return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("meta",{property:"og:title",content:e}),(0,i.jsx)("meta",{property:"og:description",content:n}),(0,i.jsx)("meta",{property:"og:url",content:a}),(0,i.jsx)("meta",{property:"og:image",content:r||s}),(0,i.jsx)("meta",{property:"og:type",content:"article"}),(0,i.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,i.jsx)("meta",{name:"twitter:image",content:r||s})]})}},9542:function(t,e,n){"use strict";n.r(e),n.d(e,{__N_SSG:function(){return s}});var i=n(5893),a=n(3358),r=n(7859),s=!0;e.default=t=>{let{article:e,preview:n}=t;return(0,i.jsx)(a.Z,{article:e,preview:n,formattedSubcategoryName:r.iT.CRAZY})}},1228:function(t,e){"use strict";e.Z=t=>new Date(t).toLocaleDateString("fr-FR")},2658:function(t){t.exports={primaryBlueColor:"#221760",colorPurple:"#7467ef",container:"Article_container__p_Jd9",previewMode:"Article_previewMode__U68EN",title:"Article_title__PTASe",authorInfo:"Article_authorInfo___p8O2",contentContainer:"Article_contentContainer__DjU3Y",component:"Article_component__v3eXK",figcaption:"Article_figcaption__rJfMk",carouselImage:"Article_carouselImage__b1uEZ",greenBackground:"Article_greenBackground__oR5ft",purpleBackground:"Article_purpleBackground__amjLd"}},9874:function(t){t.exports={primaryBlueColor:"#221760",colorPurple:"#7467ef",homePageLink:"HomePageLink_homePageLink__jkL2l",triangle:"HomePageLink_triangle__UP6Yf",homePageLinkText:"HomePageLink_homePageLinkText__LHCDG"}}},function(t){t.O(0,[81,546,774,888,179],function(){return t(t.s=189)}),_N_E=t.O()}]);