PageSourceSearch

https://www.atorika.fr/_next/static/chunks/pages/blog/[slug]-5bd9922dcb653a0d.js

js atorika.fr collected 2026-10-08 08:15:19 UTC 9,586 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[812],{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}},1386:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/blog/[slug]",function(){return a(6708)}])},2036:e=>{e.exports={content:"BlogArticle_content__ADEse",title:"BlogArticle_title__IP3RM",sommaireTitre:"BlogArticle_sommaireTitre__DnNrV",sommaire:"BlogArticle_sommaire__V3pdn",sommaireItem:"BlogArticle_sommaireItem__SEDx4",summary:"BlogArticle_summary__6gZKh",articleContent:"BlogArticle_articleContent__dbBeO",endContainer:"BlogArticle_endContainer__YP3jo",headerContainer:"BlogArticle_headerContainer__iKgwZ",infosContainer:"BlogArticle_infosContainer__YT2qZ",mediaButtonContainer:"BlogArticle_mediaButtonContainer__8vs9W",endTitre:"BlogArticle_endTitre__D4JUF",categoriesContainer:"BlogArticle_categoriesContainer__Tjome",showMore:"BlogArticle_showMore__rwT3M"}},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,s=1;for(;r;)a.push({"@type":"ListItem",position:s,name:r.seoTitle??r.shortTitle??r.name,item:"https://www.atorika.fr"+r.completeSlug}),r=r.parent,s++;return t&&(a.push({"@type":"ListItem",position:s,name:"Blog",item:"https://www.atorika.fr/blog"}),s++),a.push({"@type":"ListItem",position:s,name:"Accueil",item:"https://www.atorika.fr"}),{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:a.map((e,t)=>({...e,position:a.length-t})).reverse()}}},6708:(e,t,a)=>{"use strict";a.r(t),a.d(t,{__N_SSG:()=>u,default:()=>j});var r=a(7876),s=a(8655),i=a(2036),n=a.n(i),o=a(4232),l=a(1772),c=a(8614),d=a(9099),m=a(1367),p=a(4924),h=a(9538),g=a(5763),u=!0;let j=e=>{let{globalData:t,article:a,sectionsCarousel:i}=e;(0,h.A)();let u=(0,p.Y)(a,!0),j={"@context":"https://schema.org","@type":"BlogPosting",headline:a.name,image:["https://cdn.atorika.fr/uploads/blog/article/"+a.image],datePublished:a.structuredCreatedAt,dateModified:a.structuredUpdatedAt,author:[{"@type":"Organization",name:"Atorika",url:"https://www.atorika.fr/decouvrir-atorika"}]},x=a.sections.filter(e=>"FAQ"===e.type_name),_={"@context":"https://schema.org","@type":"FAQPage",mainEntity:x.map(e=>({"@type":"Question",name:e.params.question,acceptedAnswer:{"@type":"Answer",text:(0,g.D8)(e.params.answer)}}))},[w,y]=(0,o.useState)(!0);(0,o.useEffect)(()=>{y(window.innerWidth<=768)},[]);let[v,b]=(0,o.useState)(!1),C=e=>{document.getElementById(e).scrollIntoView({behavior:"smooth"})};var k=0;let f=()=>{let e=0,t=!1;return a.sections.reduce((a,s,i)=>("Titre Hn"!==s.type_name||2!==parseInt(s.params.level)||(!w||v||e<3?(e++,a.push((0,r.jsx)("div",{className:n().sommaireItem,onClick:()=>C(s.id),children:s.params.title},i))):t||(a.push((0,r.jsx)("div",{className:n().showMore,onClick:()=>b(!0),children:"Voir la suite"},"showMore")),t=!0)),a),[])},N=()=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:n().headerContainer,children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:n().sommaireTitre,children:"Dans cet article"}),(0,r.jsx)("div",{className:n().sommaire,children:f()})]}),(0,r.jsxs)("div",{className:n().infosContainer,children:[(0,r.jsx)("div",{className:n().sommaireTitre,children:"Th\xe9matique concern\xe9e"}),(0,r.jsxs)("div",{className:n().categoriesContainer,children:[(0,r.jsx)(s.G,{category:a.category,link:!0}),a.secondaryCategory&&(0,r.jsx)(s.G,{category:a.secondaryCategory,link:!0})]}),a.readDuration&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:n().sommaireTitre,style:{marginTop:"2rem"},children:"Temps de lecture"}),(0,r.jsx)(s.bh,{text:a.readDuration,type:"duration"})]}),(0,r.jsxs)("div",{className:n().sommaireTitre,style:{marginTop:"2rem"},children:[(0,r.jsxs)("span",{children:["Publi\xe9 le ",a.readableCreatedAt]})," ",!w&&"-"," ",(0,r.jsxs)("span",{children:[" Mis \xe0 jour le ",a.readableUpdatedAt]})]})]})]}),a.summary&&(0,r.jsx)(s.BD,{list:a.summary})]}),A=()=>(0,r.jsxs)("div",{className:n().endContainer,children:[(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{className:n().endTitre,children:[(0,r.jsxs)("span",{children:["Publi\xe9 le ",a.readableCreatedAt]})," ",!w&&"-"," ",(0,r.jsxs)("span",{children:[" Mis \xe0 jour le ",a.readableUpdatedAt]})]}),(0,r.jsxs)("div",{className:n().categoriesContainer,children:[(0,r.jsx)(s.G,{category:a.category,link:!0}),a.secondaryCategory&&(0,r.jsx)(s.G,{category:a.secondaryCategory,link:!0})]})]}),(0,r.jsxs)("div",{className:n().mediaContainer,children:[(0,r.jsx)("div",{className:n().endTitre,children:"Partager l'article"}),(0,r.jsx)("div",{id:"fb-root"}),(0,r.jsxs)("div",{className:n().mediaButtonContainer,children:[(0,r.jsx)("a",{target:"_blank",href:"https://www.facebook.com/sharer.php?u="+encodeURIComponent("https://www.atorika.fr"+a.completeSlug)+"&amp;
1src=sdkpreparse",children:(0,r.jsx)(l.g,{icon:c.Kjv,className:n().icon})}),(0,r.jsx)("a",{target:"_blank",href:"https://twitter.com/intent/tweet?text="+encodeURIComponent(a.metaTitle)+"&url="+encodeURIComponent("https://www.atorika.fr"+a.completeSlug),children:(0,r.jsx)(l.g,{icon:c.NLt,className:n().icon})}),(0,r.jsx)("a",{target:"_blank",href:"https://linkedin.com/shareArticle?mini=true&url="+encodeURIComponent("https://www.atorika.fr"+a.completeSlug)+"&title="+encodeURIComponent(a.metaTitle),children:(0,r.jsx)(l.g,{icon:c.B_4,className:n().icon})})]})]})]});return(0,d.useRouter)().isFallback||null===a?(0,r.jsx)(s.Rh,{}):a.id?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(s.UN,{children:[(0,r.jsx)("title",{children:a.metaTitle}),(0,r.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(u)}}),x.length>0&&(0,r.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(_)}}),(0,r.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(j)}}),(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:title",content:a.metaTitle}),(0,r.jsx)("meta",{property:"og:description",content:a.metaDescription}),(0,r.jsx)("meta",{property:"og:url",content:"https://www.atorika.fr"+a.completeSlug}),a.image&&(0,r.jsx)("meta",{property:"og:image",content:"https://cdn.atorika.fr/uploads/blog/article/"+a.image})]}),(0,r.jsxs)(s.H6,{globalData:t,children:[(0,r.jsx)(s.lq,{bgColor:"var(--var-black-color)",bgImage:a.image?"https://cdn.atorika.fr/uploads/blog/article/"+a.image:m.A,ariane:a,arianeAdd:{name:"Blog",slug:"/blog"},title:a.name,pageName:a.category?.title,bgStyles:{backgroundPosition:"0 "+(a.backgroundPosition??50)+"%"}}),(0,r.jsx)("div",{children:(()=>{let e=a.sections.sort((e,t)=>e.bOrder-t.bOrder),o=[];if(e&&0!=e.length){let l=e.slice(-1)[0].bOrder,c=[];for(let d in e.forEach(e=>{["Ombrage","Images"].includes(e.type_name)?0===c.length||"Groupe"!==c[c.length-1].type_name?c.push({type_name:"Groupe",sections:[e]}):c[c.length-1].sections.push(e):c.push(e)}),c){let e=c[d],m=e.bOrder;switch(m||(m=e.sections[0].bOrder),m===a.summaryPosition&&o.push((0,r.jsx)("div",{className:n().articleContent,children:N()},"summary"+d)),e.type_name){case"Titre Hn":o.push((0,r.jsx)("div",{className:n().articleContent,children:(0,r.jsx)(s.GP,{section:e})},d));break;case"HTML":o.push((0,r.jsx)("div",{className:n().articleContent,children:(0,r.jsx)("div",{dangerouslySetInnerHTML:{__html:(0,g.nQ)(e.content)}})},d));break;case"FAQ":o.push((0,r.jsx)("div",{className:n().articleContent,children:(0,r.jsx)(s.sj,{section:e})},d));break;case"Exergue":o.push((0,r.jsx)("div",{className:n().articleContent,children:(0,r.jsx)(s.J6,{section:e})},d));break;case"Groupe":o.push((0,r.jsx)("div",{className:n().articleContent,children:(0,r.jsx)(s.mV,{sections:e.sections})},d));break;case"Question":o.push((0,r.jsx)("div",{className:n().articleContent,children:(0,r.jsx)(s.t4,{section:e})},d));break;case"Carousel":o.push((0,r.jsx)(s.ck,{section:e,sectionsCarousel:i[e.id]},d));break;case"Produit":o.push((0,r.jsx)("div",{className:n().articleContent,children:(0,r.jsx)(s.JF,{product:e.product,globalSkills:t.skills})},d))}m===l-a.endPosition&&o.push((0,r.jsx)("div",{className:n().articleContent,children:A()},"end"+d))}}return o})()},a.completeSlug),a.adjacent.length>0&&(0,r.jsx)(s.BR,{idCarousel:k++,section:{type:"carousel",json:{title:"Sur le m\xeame sujet"},items:a.adjacent?.map(e=>({type:"blog",data:e}))??[]}},"adjacent-"+a.completeSlug),(0,r.jsx)(s.Bi,{})]})]}):(0,r.jsx)(s.$D,{})}},9538:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});var r=a(4232);let s=()=>{(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(1386)),_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.