1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9228,1627],{1627:function(e,i,l){l.r(i),l.d(i,{default:function(){return g}});var t=l(3288),o=l(6731),a=l.n(o),s=l(2493),n=l.n(s),d=l(1459),c=l(582),r=l(1162),u=l(1730),v=l(1395);function g(e){var i,l,o,s,g,p,m=e.sectionTitle,h=e.firstArticle,y=e.secondArticle,_=(0,v.useRouter)(),x=(null===h||void 0===h?void 0:h.originalPublicationDate)?null===h||void 0===h?void 0:h.originalPublicationDate:null===h||void 0===h?void 0:h._firstPublishedAt,f=(null===h||void 0===h?void 0:h.publishedAuthorName)?null===h||void 0===h?void 0:h.publishedAuthorName:null===h||void 0===h?void 0:h.editorName,j=(null===y||void 0===y?void 0:y.originalPublicationDate)?null===y||void 0===y?void 0:y.originalPublicationDate:null===y||void 0===y?void 0:y._firstPublishedAt,N=(null===y||void 0===y?void 0:y.publishedAuthorName)?null===y||void 0===y?void 0:y.publishedAuthorName:null===y||void 0===y?void 0:y.editorName;return(0,t.jsxs)("div",{className:"padding--both-3",children:[m&&(0,t.jsx)("div",{className:"wrap",children:(0,t.jsx)("div",{className:"section-header",children:(0,t.jsx)("h2",{className:"section-header__title",children:m})})}),(0,t.jsxs)("div",{className:"grid--center grid--huge",children:[(0,t.jsx)("div",{className:"grid__item lap-4-12",children:(0,t.jsx)("div",{className:"space--bottom-1-on-lap",children:(0,t.jsx)(a(),{href:"/".concat(null===h||void 0===h||null===(i=h.category)||void 0===i?void 0:i.slug,"/").concat(null===h||void 0===h?void 0:h.slug),children:(0,t.jsxs)("a",{className:"stack stack--tall",children:[(0,t.jsx)("div",{className:"stack__image",children:(0,t.jsx)(n(),{src:null===h||void 0===h?void 0:h.previewImage.urlMedium,alt:(null===h||void 0===h?void 0:h.previewImage.alt)?null===h||void 0===h?void 0:h.previewImage.alt:null===(l=null===h||void 0===h?void 0:h.previewImage.smartTags)||void 0===l?void 0:l.join(" "),layout:"fill",objectFit:"cover"})}),(0,t.jsxs)("div",{className:"stack__body",children:[(0,t.jsx)("h4",{className:"stack__pretitle",children:null===h||void 0===h||null===(o=h.category)||void 0===o?void 0:o.title}),(0,t.jsx)("h3",{className:"stack__title",children:(0,t.jsx)("span",{className:"hover-underline",children:null===h||void 0===h?void 0:h.title})}),(0,t.jsx)("div",{className:"stack__text",children:(0,r.ZP)(null===h||void 0===h?void 0:h.abstract)}),(0,t.jsx)("div",{className:"stack__footer",children:(0,d.fC)(f,x)})]})]})})})}),(0,t.jsx)("div",{className:"grid__item lap-4-12",children:(0,t.jsx)("div",{className:"space--bottom-1-on-lap",children:(0,t.jsx)(a(),{href:"/".concat(null===y||void 0===y||null===(s=y.category)||void 0===s?void 0:s.slug,"/").concat(null===y||void 0===y?void 0:y.slug),children:(0,t.jsxs)("a",{className:"stack stack--tall",children:[(0,t.jsx)("div",{className:"stack__image",children:(0,t.jsx)(n(),{src:null===y||void 0===y?void 0:y.previewImage.urlMedium,alt:(null===y||void 0===y?void 0:y.previewImage.alt)?null===y||void 0===y?void 0:y.previewImage.alt:null===(g=null===y||void 0===y?void 0:y.previewImage.smartTags)||void 0===g?void 0:g.join(" "),layout:"fill",objectFit:"cover"})}),(0,t.jsxs)("div",{className:"stack__body",children:[(0,t.jsx)("h4",{className:"stack__pretitle",children:null===y||void 0===y||null===(p=y.category)||void 0===p?void 0:p.title}),(0,t.jsx)("h3",{className:"stack__title",children:(0,t.jsx)("span",{className:"hover-underline",children:null===y||void 0===y?void 0:y.title})}),(0,t.jsx)("div",{className:"stack__text",children:(0,r.ZP)(null===y||void 0===y?void 0:y.abstract)}),(0,t.jsx)("div",{className:"stack__footer",children:(0,d.fC)(N,j)})]})]})})})}),(0,t.jsx)("div",{className:"grid__item lap-4-12",id:"two-posts-adv-grid",style:{display:"none"},children:(0,t.jsx)("div",{className:"space--bottom-2-on-lap",children:(0,t.jsx)("div",{className:"adv--inline",children:(0,t.jsx)(c.Un,{className:"_iub_cs_activate-inline",adUnit:"/21831397253/Officiel_Global_Home_Page_FILMSTRIP",sizes:[[600,800],[300,600],[300,250]],sizeMapping:[{viewport:[640,480],sizes:[[600,800],[300,600]]},{viewport:[0,0],sizes:[[300,250]]}],targetingArguments:{environment:"production",market:u.Z.countryName,page_type:void 0===_.query.slug?"home_page":void 0===_.query.category?"category_page":"article",category:void 0===_.query.category?_.query.slug:_.query.category,locale:_.locale}
1,onSlotRender:function(e){var i=document.getElementById("two-posts-adv-grid");i&&(e.event.isEmpty||(i.style.display="inline-block"))}})})})})]})]})}},9228:function(e,i,l){l.r(i),l.d(i,{__N_SSG:function(){return y},default:function(){return _}});var t=l(3288),o=l(8506),a=l(2519),s=l(5886),n=l(37),d=l(1395),c=l(738),r=l(1627),u=l(2466),v=l(582),g=l(1730),p=l(7680),m=l(608),h=l(2781),y=!0;function _(e){var i,l,y,_,x,f,j,N,b,k,A,w,z,I,Z,E,q,P,U,R,C,T,D,L,M,F,O,B,S,G,H,W,Q=e.preview,Y=e.data,J=(0,d.useRouter)();(0,u.useEffect)((function(){document.body.classList.add("home"),document.body.classList.add("home-index")}),[]);var K=null===Y||void 0===Y||null===(i=Y.category)||void 0===i?void 0:i.seo.filter((function(e){return"title"===e.tag})).pop().content.replace(/\"/g,"""),V=null===Y||void 0===Y||null===(l=Y.category)||void 0===l?void 0:l.seo.filter((function(e){var i;return"og:description"===(null===(i=e.attributes)||void 0===i?void 0:i.property)})).pop().attributes.content.replace(/["']/g,""),X=null===Y||void 0===Y||null===(y=Y.posts)||void 0===y?void 0:y.length;return(0,t.jsx)(t.Fragment,{children:!J.isFallback&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(h.Z,{}),(0,t.jsxs)(o.Z,{preview:Q,footerProps:null===Y||void 0===Y?void 0:Y.magazines,children:[(0,t.jsx)(p.PB,{title:K,description:V,canonical:"".concat(g.Z.frontendUrl).concat(J.asPath),openGraph:{title:K,description:V,url:"".concat(g.Z.frontendUrl).concat(J.asPath),type:"website",site_name:"L'Officiel ".concat(g.Z.countryName.toUpperCase()),locale:m.locales[0],images:[{url:null===(j=null===Y||void 0===Y||null===(_=Y.posts)||void 0===_||null===(x=_[0])||void 0===x||null===(f=x.postCover)||void 0===f?void 0:f[0].coverImage)||void 0===j?void 0:j.url,width:null===(A=null===Y||void 0===Y||null===(N=Y.posts)||void 0===N||null===(b=N[0])||void 0===b||null===(k=b.postCover)||void 0===k?void 0:k[0].coverImage)||void 0===A?void 0:A.width,height:null===(Z=null===Y||void 0===Y||null===(w=Y.posts)||void 0===w||null===(z=w[0])||void 0===z||null===(I=z.postCover)||void 0===I?void 0:I[0].coverImage)||void 0===Z?void 0:Z.height,alt:null===(U=null===Y||void 0===Y||null===(E=Y.posts)||void 0===E||null===(q=E[0])||void 0===q||null===(P=q.postCover)||void 0===P?void 0:P[0].coverImage)||void 0===U?void 0:U.alt}]}}),X>=4&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a.Z,{featuredArticle:null===Y||void 0===Y||null===(R=Y.posts)||void 0===R?void 0:R[0],relatedArticles:null===Y||void 0===Y||null===(C=Y.posts)||void 0===C?void 0:C.slice(1,4)}),(0,t.jsx)(v.Un,{className:"_iub_cs_activate-inline",adUnit:"/21831397253/Skin_category",sizes:[1,1],targetingArguments:{environment:"production",market:g.Z.countryName,page_type:"category_page",category:J.query.slug,locale:J.locale},sizeMapping:[{viewport:[1440,900],sizes:[1,1]}],onSlotRender:function(e){if(!e.event.isEmpty){var i=document.getElementsByClassName("site-content")[0],l=document.getElementsByClassName("site-footer")[0];if(!i||!l)return;i.style.maxWidth="1192px",l.style.maxWidth="1192px",i.style.marginRight="auto",l.style.marginRight="auto",i.style.marginLeft="auto",l.style.marginLeft="auto"}}}),(0,t.jsx)("div",{className:"space--both-2",children:(0,t.jsx)(v.Un,{className:"_iub_cs_activate-inline adv--mobile-250-mobile",adUnit:"/21831397253/Officiel_Global_CATEGORY_SQUARE_MOBILE",sizes:[[250,250],[300,250]],targetingArguments:{environment:"production",market:g.Z.countryName,page_type:"category_page",category:J.query.slug,locale:J.locale},sizeMapping:[{viewport:[640,480],sizes:[[250,250],[300,250]]}]})})]}),(0,t.jsx)(v.Un,{className:"_iub_cs_activate-inline adv--topdesktop",adUnit:"/21831397253/Officiel_Global_Home_Page",sizes:[[970,250],[320,100],[300,50]],sizeMapping:[{viewport:[640,480],sizes:[[970,250]]},{viewport:[0,0],sizes:[[320,100],[300,50]]}],targetingArguments:{environment:"production",market:g.Z.countryName,page_type:"category_page",slot:"body",category:J.query.slug,locale:J.locale}}),(0,t.jsx)("div",{className:"wrap--on-fullhd",children:(0,t.jsxs)("div",{className:"site-background",children:[X>=7&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.default,{sectionTitle:null===Y||void 0===Y||null===(T=Y.category)||void 0===T?void 0:T.title,featuredArticles:null===Y||void 0===Y||null===(D=Y.posts)||void 0===D?void 0:D.slice(4,7),background:!1}),(0,t.jsx)("div",{className:"adv--topdesktop space--both-2",children:(0,t.jsx)(v.Un,{adUnit:"/21831397253/ARTICLE_LEADERBOARD",sizes:[[728,90]],sizeMapping:[{viewport:[640,480],sizes:[[728,90]]}],targetingArguments:{environment:"production",market:g.Z.countryName,page_type:"category_page",category:J.query.slug,locale:J.locale}})})]}),X>=10&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.default,{sectionTitle:null===Y||void 0===Y||null===(L=Y.category)||void 0===L?void 0:L.title,featuredArticles:null===Y||void 0===Y||null===(M=Y.posts)||void 0===M?void 0:M.slice(7,10),background:!1}),(0,t.jsx)("div",{className:"adv--topdesktop space--both-2",children:(0,t.jsx)(v.Un,{adUnit:"/21831397253/ARTICLE_LEADERBOARD",sizes:[[728,90]],sizeMapping:[{viewport:[640,480],sizes:[[728,90]]}],targetingArguments:{environment:"production",market:g.Z.countryName,page_type:"category_page",category:J.query.slug,locale:J.locale}})})]}),X>=12&&(0,t.jsx)(r.default,{sectionTitle:"",firstArticle:null===Y||void 0===Y||null===(F=Y.posts)||void 0===F?void 0:F[10],secondArticle:null===Y||void 0===Y||null===(O=Y.posts)||void 0===O?void 0:O[11]}),X>=14&&(0,t.jsx)(s.default,{sectionTitle:null,featuredArticles:null===Y||void 0===Y||null===(B=Y.posts)||void 0===B?void 0:B.slice(12,15),background:!1}),X>=19&&(0,t.jsx)(n.default,{sectionTitle:null,featuredArticles:null===Y||void 0===Y||null===(S=Y.posts)||void 0===S?void 0:S.slice(15,19),landscape:!0}),X>=21&&(0,t.jsx)(n.default,{sectionTitle:null,featuredArticles:null===Y||void 0===Y||null===(G=Y.posts)||void 0===G?void 0:G.slice(19,21),landscape:!1}),X>=26&&(0,t.jsx)(s.default,{sectionTitle:null,featuredArticles:null===Y||void 0===Y||null===(H=Y.posts)||void 0===H?void 0:H.slice(21,24),background:!1}
1),(0,t.jsx)(c.Z,{perPage:26,currentPage:J.query?parseInt(J.query.page):0,totalEntries:null===Y||void 0===Y||null===(W=Y.meta)||void 0===W?void 0:W.count,href:function(e){return 0===e?"/".concat(g.Z.categoryDirectory,"/").concat(J.query.slug):"/".concat(g.Z.categoryDirectory,"/").concat(J.query.slug,"/p/[page]")},as:function(e){return 0===e?"/".concat(g.Z.categoryDirectory,"/").concat(J.query.slug):"/".concat(g.Z.categoryDirectory,"/").concat(J.query.slug,"/p/").concat(e)}})]})})]})]})})}}}]);
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.