1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[382],{270:(e,t,a)=>{"use strict";a.r(t),a.d(t,{__N_SSG:()=>_,default:()=>u});var r=a(7876),o=a(8655),i=a(2150),n=a.n(i),l=a(4232),s=a(9099),c=a(1367),g=a(8230),p=a.n(g),d=a(4924),h=a(9538),m=a(5763),_=!0;let u=e=>{let{globalData:t,category:a,articles:i}=e;(0,h.A)();let g=[],[_,u]=(0,l.useState)(!0);for(let e of((0,l.useEffect)(()=>{u(window.innerWidth<=768)},[]),i)){let t={"@context":"https://schema.org","@type":"BlogPosting",headline:e.name,image:[e.image],datePublished:e.structuredCreatedAt,dateModified:e.structuredUpdatedAt,author:[{"@type":"Organization",name:"Atorika",url:"https://www.atorika.fr/decouvrir-atorika"}]};g.push(t)}let y=(0,d.Y)(a,!0);var w=0;return(0,s.useRouter)().isFallback||null===a?(0,r.jsx)(o.Rh,{}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(o.UN,{children:[(0,r.jsx)("title",{children:a.metaTitle}),(0,r.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(y)}}),(0,r.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(g)}}),(0,r.jsx)("meta",{name:"description",content:a.metaDescription}),a.metaKeywords&&(0,r.jsx)("meta",{name:"keywords",content:a.metaKeywords}),(0,r.jsx)("link",{rel:"canonical",href:"https://www.atorika.fr"+a.completeSlug}),(0,r.jsx)("meta",{property:"og:url",content:"https://www.atorika.fr"+a.completeSlug}),(0,r.jsx)("meta",{property:"og:title",content:a.metaTitle}),(0,r.jsx)("meta",{property:"og:description",content:a.metaDescription}),a.image&&(0,r.jsx)("meta",{property:"og:image",content:"https://cdn.atorika.fr/uploads/blog/article/"+a.image})]}),(0,r.jsxs)(o.H6,{globalData:t,children:[(0,r.jsx)(o.lq,{bgColor:"var(--var-yellow-color)",bgImage:a.image?"https://cdn.atorika.fr/uploads/blog/category/"+a.image:c.A,ariane:a,arianeAdd:{name:"Blog",slug:"/blog"},pageName:a.parent?.title??"Le blog d'Atorika",title:a.h1Ttitle}),(0,r.jsx)("div",{className:n().categoryWrapper,children:a?.children?.length>0&&(0,r.jsx)(o.BR,{idCarousel:w++,nbSlideParVue:_?1.7:4,section:{type:"carousel",items:a.children.map(e=>({type:"childrenBlog",data:e}))??[]}},"children-"+a.completeSlug)}),(0,r.jsxs)("div",{className:n().contentContainer,children:[(0,r.jsxs)("div",{className:n().detailsContainer,children:[(0,r.jsx)("div",{className:n().description,dangerouslySetInnerHTML:{__html:(0,m.nQ)(a.description)}}),(0,r.jsxs)("div",{className:n().containerCategory,children:[a?.brothers?.length>0&&(0,r.jsx)("div",{className:n().uppercaseTitle,children:"Toutes les cat\xe9gories"}),a?.brothers?.map((e,t)=>r.jsx(p(),{className:n().categoryName,href:e?.completeSlug,children:m.KP(e.title)},t))]})]}),(0,r.jsx)("div",{className:n().articlesWrapper,children:null===i?(0,r.jsx)(o.Rh,{}):0===i.length?(0,r.jsx)("p",{children:"Il n'y a pas d'article dans cette cat\xe9gorie."}):i.map((e,t)=>(0,r.jsx)(o.JV,{article:e},t))})]})]})]})}},1367:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});let r={src:"/_next/static/media/wp-crayon.14b44738.svg",height:1280,width:1920,blurWidth:0,blurHeight:0}},2150:e=>{e.exports={content:"BlogCategory_content__irujE",title:"BlogCategory_title__Z6N61",categoryWrapper:"BlogCategory_categoryWrapper__6LSc0",categoryHeader:"BlogCategory_categoryHeader__aTKYp",detailsContainer:"BlogCategory_detailsContainer__K_XAm",articlesWrapper:"BlogCategory_articlesWrapper__BAkuK",description:"BlogCategory_description__cjcrJ",numberArticlesWrapper:"BlogCategory_numberArticlesWrapper__oqfRb",numberArticles:"BlogCategory_numberArticles__m4WKW",pagination:"BlogCategory_pagination__aptLy",currentPage:"BlogCategory_currentPage__DhEL_",otherPage:"BlogCategory_otherPage__ZsNas",changePageButton:"BlogCategory_changePageButton__7Y_kz",contentContainer:"BlogCategory_contentContainer__VCaJZ",uppercaseTitle:"BlogCategory_uppercaseTitle__Duh5F",containerCategory:"BlogCategory_containerCategory__bagCW"}},4924:(e,t,a)=>{"use strict";a.d(t,{Y:()=>r});let r=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=[],r=e,o=1;for(;r;)a.push({"@type":"ListItem",position:o,name:r.seoTitle??r.shortTitle??r.name,item:"https://www.atorika.fr"+r.completeSlug}),r=r.parent,o++;return t&&(a.push({"@type":"ListItem",position:o,name:"Blog",item:"https://www.atorika.fr/blog"}),o++),a.push({"@type":"ListItem",position:o,name:"Accueil",item:"https://www.atorika.fr"}),{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:a.map((e,t)=>({...e,position:a.length-t})).reverse()}}},8258:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/blog/categorie/[...slug]",function(){return a(270)}])},9538:(e,t,a)=>{"use strict";a.d(t,{A:()=>
1o});var r=a(4232);let o=()=>{(0,r.useEffect)(()=>{let e=new URLSearchParams(window.location.search);if(e.has("revalidate")){let t=e.get("revalidate"),a=new Date,r=String(a.getDate()).padStart(2,"0")+"-"+String(a.getMonth()+1).padStart(2,"0")+"-"+a.getFullYear();if(t===r)(async()=>{try{let e=await fetch(`/api/revalidate?path=${window.location.pathname}`);if((await e.json()).revalidated){let e=new URL(window.location.href);e.searchParams.delete("revalidate"),window.location.replace(e.toString())}else console.error("Failed to revalidate")}catch(e){console.error("Error during revalidation:",e)}})();else{let e=new URL(window.location.href);e.searchParams.delete("revalidate"),window.location.replace(e.toString()),console.warn(`Skip revalidation: URL date (${t}) â today (${r})`)}}},[])}}},e=>{var t=t=>e(e.s=t);e.O(0,[725,805,888,474,957,636,593,792],()=>t(8258)),_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.