1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8221],{78221:(e,t,s)=>{s.r(t),s.d(t,{EditoriaParseProps:()=>m});var l=s(95155);s(12115);var r=s(43216),i=s(36331),a=s(92330);let o=e=>{let{postEntities:t,settings:s,resourcePriority:o}=e,{title:c,style:n,button:d}=s,{color:x}=n,[u,...m]=t;return(0,l.jsxs)("div",{className:"group flex w-full flex-col",children:[(0,l.jsxs)("div",{className:"relative mb-4 flex w-full",children:[c.text&&(0,l.jsx)(a.E,{url:null==c?void 0:c.url,color:x,showGraphic:!0,size:"h2",text:null==c?void 0:c.text,weight:"bold",className:"text-2xl xl:text-3xl"}),!!d.label&&(0,l.jsx)("div",{className:"absolute right-2 hidden h-full w-1/3 items-center justify-end lg:flex",children:(0,l.jsx)(i.f,{button:d,accentColor:x,className:"mt-0 pr-1 hover:gap-3 hover:pr-0"})})]}),(0,l.jsxs)("div",{className:"grid gap-8 lg:grid-cols-12",children:[(0,l.jsx)("div",{className:"group-has[.related-posts]:gap-8 min-h-72 grow grid-flow-col-dense group-has-[.related-posts]:max-h-full lg:col-span-12 group-has-[.related-posts]:lg:col-span-7",children:(0,l.jsx)(r.HM,{image:{size:"S419x283",srcSet:[{minWidth:768,size:"S849x477"}],rounded:"medium",className:"w-full min-w-full h-full group-has-[.related-posts]:md:aspect-video"},postEntity:u,text:{fontSize:"h3",fontWeight:"medium",className:"xl:text-2xl text-xl group-hover:underline"},textTag:"h2",className:"flex h-full w-full grow overflow-hidden",resourcePriority:o})}),t.length>1&&(0,l.jsxs)("div",{className:"related-posts flex flex-col lg:col-span-5 lg:justify-center",children:[m.slice(0,3).map((e,t)=>(0,l.jsx)("div",{className:"border-t border-neutral-200 py-4 last-of-type:pb-0 first:lg:border-t-0 first:lg:pt-0",children:(0,l.jsx)(r.RK,{accentColor:x,postEntity:e,layout:"row",desktopLayout:"row",textTag:"h2",image:{size:"S128x112",className:"w-32 h-28"},rounded:"sm",resourcePriority:o})},t)),!!d.label&&(0,l.jsx)(i.f,{button:d,accentColor:x,className:"mt-4 flex lg:hidden"})]})]})]})},c=e=>{let{settings:t,postEntities:s,resourcePriority:o}=e,{title:c,style:n,button:d}=t,{color:x}=n,[u,...m]=s;return(0,l.jsxs)("div",{children:[!!c.text&&(0,l.jsx)(a.E,{color:x,url:null==c?void 0:c.url,showGraphic:!0,size:"h2",text:null==c?void 0:c.text,weight:"bold",className:"text-2xl whitespace-nowrap pb-4 xl:text-3xl"}),(0,l.jsx)(r.HM,{className:"mb-4 grow",image:{size:"S419x283",srcSet:[{minWidth:1024,size:"S419x283"},{minWidth:768,size:"S849x477"}],rounded:"medium",className:"w-full h-72"},postEntity:u,text:{fontSize:"h3",fontWeight:"medium",className:"xl:text-2xl text-xl"},textTag:"h3",resourcePriority:o}),(0,l.jsx)("div",{className:"mt-4 grid w-full lg:grid-cols-1",children:m.map((e,t)=>(0,l.jsx)("div",{className:"border-t border-neutral-300 py-4",children:(0,l.jsx)(r.RK,{accentColor:x,postEntity:e,textTag:"h3",layout:"row",desktopLayout:"row",image:{size:"S128x112",className:"w-32 h-28"},rounded:"sm",resourcePriority:o})},t))}),!!d.label&&(0,l.jsx)(i.f,{button:d,accentColor:x,className:"mt-1"})]})},n=e=>{let{settings:t,postEntities:s,resourcePriority:o}=e,{title:c,style:n,button:d}=t,{color:x}=n,[u,...m]=s;return(0,l.jsxs)("div",{className:"mt-4",children:[!!c.text&&(0,l.jsx)(a.E,{color:x,url:null==c?void 0:c.url,showGraphic:!0,size:"h2",text:null==c?void 0:c.text,weight:"bold",className:"text-2xl whitespace-nowrap pb-4 xl:text-3xl"}),(0,l.jsx)(r.HM,{className:"mb-4 grow",image:{size:"S849x477",srcSet:[{minWidth:1024,size:"S849x477"},{minWidth:768,size:"S849x477"}],rounded:"medium",className:"w-full h-[438px]"},postEntity:u,text:{fontSize:"h3",fontWeight:"medium",className:"xl:text-2xl text-xl"},textTag:"h3",resourcePriority:o}),m.length>0&&(0,l.jsx)("div",{className:"mt-4 grid w-full lg:grid-cols-1",children:m.map((e,t)=>(0,l.jsx)("div",{className:"border-t border-neutral-300 py-4",children:(0,l.jsx)(r.RK,{accentColor:x,postEntity:e,textTag:"h3",layout:"row",desktopLayout:"row",image:{size:"S128x112",className:"w-32 h-28"},rounded:"sm",resourcePriority:o})},t))}),!!d.label&&(0,l.jsx)(i.f,{button:d,accentColor:x,className:"mt-1"})]})},d=e=>{let{postEntities:t,settings:s,resourcePriority:r}=e,{style:i}=s,{layout:a}=i;switch(a){case"horizontal":return(0,l.jsx)(o,{postEntities:t,settings:s,resourcePriority:r});case"vertical_extended":return(0,l.jsx)(n,{postEntities:t,settings:s,resourcePriority:r});default:return(0,l.jsx)(c,{postEntities:t,settings:s,resourcePriority:r})}};var x=s(93944),u=s(75889);let m={parser:e=>{let{block:t,resourcePriority:s="high",...r}=e,{block_type:i,id:a}=t,o=t.data.details;return(0,l.jsx)("div",{...r,className:(0,u.QP)(r.className),children:o.map((e,t)=>{let{settings:r,posts:o}=e,c=o.map(e=>new x.w(e));return(0,l.jsx)(d,{postEntities:c,settings:r,resourcePriority:s},"".concat(i,"-").concat(a,"-").concat(t))})})},key:"cnn-block-nh-editorias"}}}]);
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.