(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{5262:function(e,s,t){"use strict";var l=t(7294);let r=l.forwardRef(function({title:e,titleId:s,...t},r){return l.createElement("svg",Object.assign({xmlns:"https://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":s},t),e?l.createElement("title",{id:s},e):null,l.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21.75 6.75v10.5a2.25 2.25 0 01-2.25 2.25h-15a2.25 2.25 0 01-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0019.5 4.5h-15a2.25 2.25 0 00-2.25 2.25m19.5 0v.243a2.25 2.25 0 01-1.07 1.916l-7.5 4.615a2.25 2.25 0 01-2.36 0L3.32 8.91a2.25 2.25 0 01-1.07-1.916V6.75"}))});s.Z=r},8312:function(e,s,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return t(3872)}])},8963:function(e,s,t){"use strict";t.d(s,{Z:function(){return o}});var l=t(5893),r=t(1664),n=t.n(r),i=t(1158),c=t(3087),a=t(9372);function o(e){let{articles:s}=e;return(0,l.jsx)("div",{className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-8",children:s.map((e,s)=>{let{title:t,date:r,description:o,subtitle:d,slug:u,imageUrl:x}=e;return(0,l.jsx)(n(),{href:"/".concat(u),children:(0,l.jsxs)("div",{className:"flex flex-col space-4",children:[(0,l.jsx)(c.Z,{alt:t,height:300,src:x,width:400}),(0,l.jsx)("time",{className:"mb-2 mt-5 eyebrow",children:(0,a.PT)(r)}),(0,l.jsx)(i.Z,{className:"mb-2",size:"h3",children:t}),(0,l.jsx)("p",{className:"text-sm text-zinc-400",children:o||d})]})},s)})})}},3287:function(e,s,t){"use strict";t.d(s,{Z:function(){return x}});var l=t(5893),r=t(4184),n=t.n(r),i=t(1664),c=t.n(i),a=t(1158),o=t(3087),d=t(6440),u=t(9372);function x(e){let{article:s,layout:t="default",className:r}=e,{title:i,slug:x,description:m,subtitle:h,date:f,imageUrl:j}=s,b=n()({"flex flex-col-reverse justify-between lg:flex-row":"default"===t,"flex flex-col-reverse justify-between":"stacked"===t}),p=n()({"flex flex-col justify-between max-w-xl lg:mt-0 mt-10 pr-10":"default"===t,"flex flex-col justify-between max-w-xl mt-10 pr-10":"stacked"===t}),v=n()("w-full",{"max-w-2xl":"default"===t,"max-w-full":"stacked"===t});return(0,l.jsx)(d.Z,{className:r,children:(0,l.jsxs)("div",{className:b,children:[(0,l.jsxs)("div",{className:p,children:[(0,l.jsxs)("div",{children:[(0,l.jsx)(a.Z,{className:"mb-3",size:"h4",children:(0,u.PT)(f)}),(0,l.jsx)(a.Z,{className:"mb-5",size:"h2",children:(0,l.jsx)(c(),{className:"hover:text-blue-400 transition",href:"/".concat(x),children:i})})]}),(0,l.jsx)("p",{className:"text-sm md:text-base text-zinc-400",children:m||h})]}),(0,l.jsx)("div",{className:v,children:(0,l.jsx)(c(),{href:"/".concat(x),children:(0,l.jsx)(o.Z,{alt:"placeholder image",fill:!0,src:j,priority:!0})})})]})})}},3087:function(e,s,t){"use strict";t.d(s,{Z:function(){return o}});var l=t(5893),r=t(5675),n=t.n(r),i=t(4184),c=t.n(i),a=t(8892);function o(e){let{src:s,alt:t,fill:r=!1,width:i,height:o,className:d,priority:u=!1}=e,x=c()("relative w-full rounded-lg overflow-hidden",{"aspect-video":r}),m=c()("object-cover",{"absolute h-full w-full":r},d);return(0,l.jsxs)("div",{className:x,children:[(0,l.jsx)(n(),{alt:t,className:m,height:o,src:s.length>0?(0,a.w)(s):(0,a.w)("/assets/security-labs-thumbnail.png"),width:i,fill:r,priority:u}),(0,l.jsx)("div",{className:"absolute border border-white/50 inset-0 mix-blend-overlay rounded-lg z-10"})]})}},3872:function(e,s,t){"use strict";t.r(s),t.d(s,{default:function(){return w}});var l=t(5893),r=t(1664),n=t.n(r),i=t(8725),c=t(2328),a=t(7294),o=t(1158),d=t(8963);function u(e){let{section:s,limit:t,featuredArticles:r}=e,i=(0,c.PO)(s.categories).filter(e=>!(null==r?void 0:r.includes(e)));return(0,l.jsxs)(a.Fragment,{children:[(0,l.jsxs)("div",{className:"flex flex-col sm:flex-row items-center justify-between my-10",children:[(0,l.jsx)(o.Z,{className:"mb-5 sm:mb-0",size:"h2",children:s.name}),i.length>t&&(0,l.jsx)(n(),{className:"button",href:"/topics/".concat(s.slug),children:"View all"})]}),(0,l.jsx)(d.Z,{articles:i.slice(0,t)})]})}var x=t(3287),m=t(9372),h=t(3087),f=t(6440);function j(e){let{articles:s}=e;return(0,l.jsxs)("div",{className:"flex flex-col space-4",children:[(0,l.jsx)("div",{className:"pb-2 mb-4 border-b border-b-zinc-700",children:(0,l.jsx)("h2",{className:"text-xl font-semibold",children:"Featured"})}),(0,l.jsx)("div",{className:"flex flex-col space-y-4",children:s.map((e,s)=>(0,l.jsx)(n(),{href:"/".concat(e.slug),children:(0,l.jsx)(f.Z,{size:"small",hoverable:!0,className:"group",children:(0,l.jsxs)("div",{className:"flex flex-col-reverse md:grid md:grid-cols-3 gap-4 items-center",children:[(0,l.jsxs)("div",{className:"flex flex-col space-y-1 md:col-span-2",children:[(0,l.jsx)("span",{className:"font-semibold mb-1 group-hover:text-blue-400 transition",children:e.title}),(0,l.jsxs)("span",{className:"text-zinc-400 group-hover:text-zinc-300 text-sm",children:["by ",(0,m.NI)(e.author)]}),(0,l.jsx)("span",{className:"text-zinc-400 group-hover:text-zinc-300 text-sm",children:(0,m.PT)(e.date)})]}),(0,l.jsx)(h.Z,{alt:e.title,fill:!0,src:e.imageUrl})]})})},s))})]})}var b=t(4693),p=t(1479),v=t(4768),g=t(5262);function w(){let e=(0,c.by)().sort((e,s)=>new Date(s.date).getTime()-new Date(e.date).getTime()).filter(e=>e.slug!==i.v.primaryArticle).slice(0,4);return(0,l.jsxs)(p.Z,{children:[(0,l.jsx)(b.Z,{}),(0,l.jsxs)("div",{className:"container grid xl:grid-cols-3 mb-8 lg:mb-20 gap-8 items-center relative z-10",children:[(0,l.jsx)("div",{className:"xl:col-span-2",children:(0,l.jsx)(x.Z,{article:(0,c.SA)(i.v.primaryArticle),layout:"stacked"})}),(0,l.jsxs)("div",{className:"col-span-1 flex flex-col gap-4",children:[(0,l.jsx)(j,{articles:e}),(0,l.jsxs)(n(),{href:"https://twitter.com/elasticseclabs",className:"flex justify-center items-center font-medium gap-2 py-4 px-6 rounded bg-blue-600 hover:bg-blue-500 hover:text-white",children:[(0,l.jsx)(v.Zm,{}),(0,l.jsx)("span",{children:"Follow Elastic Security Labs on Twitter"})]}),(0,l.jsxs)(n(),{href:"https://www.elastic.co/elastic-security-labs/newsletter?utm_source=security-labs",target:"_blank",className:"flex justify-center items-center font-medium gap-2 py-4 px-6 rounded bg-zinc-900 border border-white/20 hover:bg-zinc-700 hover:border-zinc-700 hover:text-white",children:[(0,l.jsx)(g.Z,{className:"w-5 h-5"}),(0,l.jsx)("span",{children:"Subscribe to the newsletter"})]})]})]}),(0,l.jsx)("div",{className:"container",children:i.v.topicSections.map((s,t)=>(0,l.jsx)(u,{section:s,limit:4,featuredArticles:e},"section-".concat(t)))})]})}},9372:function(e,s,t){"use strict";function l(e){return new Date(e).toLocaleDateString("en-GB",{day:"numeric",month:"long",year:"numeric"})}function r(e){return e.map(e=>e.title).join(", ")}function n(e){return e.replace(/^(.*)\s(.*)$/,"$1 $2").replace(/-/g,"- ")}t.d(s,{NI:function(){return r},PT:function(){return l},Ui:function(){return n}})}},function(e){e.O(0,[714,877,511,402,616,774,888,179],function(){return e(e.s=8312)}),_N_E=e.O()}]);