1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3884],{4627:(e,t,a)=>{a.r(t),a.d(t,{HorizontalWrapper:()=>c});var r=a(95155),l=a(39431),s=a(26838),i=a(68921),o=a(92330),n=a(12115),u=a(57830);let c=e=>{let{title:t="",titleShowGraphic:a=!0,children:c,button:d={enabled:!1,text:"",url:"",new_tab:!1},accentColor:p="cnn",carouselProps:h,blockUrl:m}=e;return(0,r.jsxs)("div",{className:"relative w-full",role:"region","aria-roledescription":"carrossel","aria-label":t||"Galeria de conte\xfado",children:[(0,r.jsx)("div",{className:"h-16",children:(0,r.jsx)(o.E,{url:null!=m?m:void 0,size:"h2",text:t,color:p,showGraphic:a,className:"text-2xl md:text-3xl"})}),(0,r.jsx)(l.FN,{...h,content:c,children:(0,r.jsx)(l.qz,{className:"absolute -top-16 right-0 flex h-9 w-auto items-center justify-between gap-4",children:(0,r.jsxs)(n.Fragment,{children:[d.enabled&&d.url&&(0,r.jsx)("a",{className:"font-semibold text-neutral-900 hover:underline",href:null==d?void 0:d.url,target:(null==d?void 0:d.new_tab)?"_blank":"","aria-label":(0,i.Jp)(d.text),children:(0,r.jsx)(s.E,{size:"p",children:d.text})}),(0,r.jsxs)("div",{className:"flex h-full items-center justify-center gap-1 font-light text-neutral-900",children:[(0,r.jsx)(l.vE,{children:(0,r.jsxs)("button",{className:"group relative grid size-6 place-items-center overflow-hidden rounded-full p-0.5 transition-all duration-300","aria-label":"Slide anterior",children:[(0,r.jsx)("span",{className:"absolute inset-0 scale-0 rounded-full bg-neutral-200 opacity-0 transition-transform duration-700 ease-in-out group-hover:scale-150 group-hover:opacity-100","aria-label":"Slide anterior"}),(0,r.jsx)(u.cjW,{className:"pointer-events-none absolute ml-10 size-5 opacity-0 transition-all duration-300 ease-in-out group-hover:ml-0 group-hover:opacity-100","aria-hidden":"true",focusable:"false"}),(0,r.jsx)(u.cjW,{className:"pointer-events-none size-full opacity-100 transition-all duration-300 ease-in-out group-hover:-ml-3 group-hover:opacity-0","aria-hidden":"true",focusable:"false"})]})}),(0,r.jsx)(l.hT,{children:(0,r.jsxs)("button",{className:"group relative grid size-6 place-items-center overflow-hidden rounded-full p-0.5 transition-all duration-300 ease-in-out","aria-label":"Pr\xf3ximo",children:[(0,r.jsx)("span",{className:"absolute inset-0 scale-0 rounded-full bg-neutral-200 opacity-0 transition-transform duration-700 ease-in-out group-hover:scale-150 group-hover:opacity-100","aria-label":"Pr\xf3ximo"}),(0,r.jsx)(u.MTo,{className:"pointer-events-none absolute -ml-10 size-5 opacity-0 transition-all duration-300 ease-in-out group-hover:ml-0 group-hover:opacity-100","aria-label":"Pr\xf3ximo"}),(0,r.jsx)(u.MTo,{className:"pointer-events-none size-full opacity-100 transition-all duration-300 ease-in-out group-hover:ml-3 group-hover:opacity-0","aria-label":"Pr\xf3ximo"})]})})]})]})})})]})}},8634:(e,t,a)=>{a.d(t,{m:()=>c,F:()=>u});var r=a(95155);a(12115);var l=a(65136),s=a(58602),i=a(43216),o=a(57830),n=a(68921);let u=e=>{let{webStoryEntity:t,layout:a="PostCardOverlay",accentColor:l="cnn"}=e,{id:u,title:c,permalink:d}=t.post,p=(0,n.hW)(c);return(0,r.jsxs)(s.aF,{children:[(0,r.jsx)(s.g6,{children:"PostCard"==a?(0,r.jsx)(i.RK,{postEntity:t,image:{size:"S117x116",className:"w-28 h-24"},text:{fontSize:"sub",fontWeight:"medium"},accentColor:l,linkable:!1,textTag:"h3",className:"group/story-item",titleClassName:"group-hover/story-item:underline"}):(0,r.jsx)(i.HM,{className:"block px-1",postEntity:t,image:{size:"S256x384",rounded:"medium",className:"w-full h-96"},linkable:!1,text:{fontSize:"p",fontWeight:"medium"},textTag:"h3"})}),(0,r.jsxs)(s.$m,{children:[(0,r.jsx)(s.uN,{className:"absolute right-10 top-10 z-50 flex size-8 items-center justify-center fill-white",children:(0,r.jsx)(o.m6K,{className:"size-10 fill-neutral-100"})}),(0,r.jsx)("iframe",{title:p,className:"absolute left-0 top-0 h-full w-full",src:d,loading:"lazy"})]})]},u)},c=e=>{let{webStoriesEntity:t,title:a="WebStories",button:s,accentColor:i="cnn"}=e,o=t.map(e=>(0,r.jsx)(u,{webStoryEntity:e},e.post.id));return(0,r.jsx)(l.u,{title:a,button:s,accentColor:i,carouselProps:{perPage:{mobile:2,tablet:2.5,desktop:6},spacing:{mobile:2,tablet:1,desktop:3}},children:o})}},23884:(e,t,a)=>{a.r(t),a.d(t,{WebStoriesParserProps:()=>n});var r=a(95155),l=a(8634),s=a(59478),i=a(56430);class o{async getWebStories(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=new URLSearchParams(e).toString();try{let e=await this.provider.request("/wp-json/content/v2/web-stories?".concat(t),{method:"GET",next:{revalidate:600,tags:["web_story_repository","get_web_stories:query_".concat(t)]}});if(!Array.isArray(e))return[];return e.map(e=>new i.Z(e))}catch(e){return[]}}constructor(e){this.provider=e}}
1let n={parser:async e=>{let{block:t,...a}=e,{settings:i,details:n}=t.data;if(!i||!n)return null;let{button:u,style:c}=i,d=function(e){var t;let a=e.match(/([^-]+)$/);return"todos"===(t=a?a[1].trim():null)?null:t}(n.config[0].title),p=new o(new s.xH),h=await p.getWebStories(d?{category:d}:{});return(0,r.jsx)("div",{...a,children:!!h.length&&(0,r.jsx)(l.m,{title:n.title,webStoriesEntity:h,button:{enabled:!!u.label,text:u.label,url:u.url,new_tab:u.new_tab},accentColor:null==c?void 0:c.color,...a})})},key:"cnn-block-webstories"}},56430:(e,t,a)=>{a.d(t,{Z:()=>r});class r{hasTag(){return!1}getTag(){}getTagImage(){return null}hasAuthors(){return!1}getImageUrl(){var e,t,a,r,l;return null!=(l=null==(t=this.post.featured_media)||null==(e=t.image)?void 0:e.url)?l:null==(r=this.post.featured_media)||null==(a=r.image)?void 0:a.fallback}constructor(e){this.post=e}}},65136:(e,t,a)=>{a.d(t,{u:()=>r.HorizontalWrapper});var r=a(4627)}}]);
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.