(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{5557:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return i(4608)}])},2454:function(e,t,i){"use strict";var s=i(5893);i(7294);var n=i(5152),o=i.n(n),components_AdComponent=e=>(0,s.jsx)("div",{id:e.id,style:{minWidth:"".concat(e.width,"px"),minHeight:"0px"}}),r=i(7632),a=i(5013);function Ad(e){let t;t=a.c.get(window.location.host);let i="/21835703802/".concat(t.ads_manager_unit_prefix,"_").concat(e.device,"_").concat(e.section);i=e.code?"".concat(i,"_").concat(e.code):"".concat(i,"_").concat(e.width,"x").concat(e.height,"_").concat(e.suffix);let n=(0,r.Z)(),o=[[e.width,e.height]];return e.multisize&&(o=e.multisize.map(e=>[e.width,e.height])),(0,s.jsx)("div",{className:"ad ".concat(e.device),children:(0,s.jsx)(components_AdComponent,{slot:i,width:e.width,height:e.height,id:n,multisize:o,mediaId:t.id})})}o()(()=>Promise.resolve(Ad),{ssr:!1})},8417:function(e,t,i){"use strict";i.d(t,{Z:function(){return Footer}});var s=i(5893);i(7294);var n=i(5675),o=i.n(n),r=i(1664),a=i.n(r),c=i(2374),l=i(3712),d=i(5013),h=i(2808);function Footer(e){let{t}=(0,h.$)(),i=d.c.get(e.media.base_path.replace("https://",""));return(0,s.jsxs)("footer",{id:"footer",children:[(0,s.jsx)(l.Z,{categories:e.media.categories}),(0,s.jsx)(a(),{href:"/",children:(0,s.jsx)("img",{className:"logo",src:e.media.logo,width:212,height:40,alt:e.media.name})}),(0,s.jsxs)("div",{id:"social",children:[(0,s.jsx)("a",{rel:"nofollow",href:i&&i.social_network?i.social_network.twitter:"#",target:"_blank",title:"twitter",children:(0,s.jsx)(c.Z,{icon:"twitter"})}),(0,s.jsx)("a",{rel:"nofollow",href:i&&i.social_network?i.social_network.facebook:"#",target:"_blank",title:"facebook",children:(0,s.jsx)(c.Z,{icon:"facebook"})}),(0,s.jsx)("a",{rel:"nofollow",href:i&&i.social_network?i.social_network.instagram:"#",target:"_blank",title:"instagram",children:(0,s.jsx)(c.Z,{icon:"instagram"})}),(0,s.jsx)("a",{rel:"nofollow",href:i&&i.social_network?i.social_network.youtube:"#",target:"_blank",title:"youtube",children:(0,s.jsx)(c.Z,{icon:"youtube"})})]}),(0,s.jsxs)("div",{className:"links t-body-s",children:[(0,s.jsx)("a",{href:"/terms",target:"_blank",children:t("footer.terms_title")}),(0,s.jsx)("a",{href:"/private",target:"_blank",children:t("footer.privacy")})]}),(0,s.jsxs)("div",{id:"copyright",children:[(0,s.jsx)("p",{className:"t-body-s",children:t("footer.terms_content")}),(0,s.jsxs)("div",{children:[(0,s.jsx)(o(),{src:"/assets/media/alivia.png",width:16,height:16,alt:"Alivia"}),(0,s.jsx)("p",{className:"t-body-s",children:"\xa9 Copyright 2023"})]})]})]})}},6538:function(e,t,i){"use strict";i.d(t,{Z:function(){return Header}});var s=i(5893);i(7294);var n=i(9008),o=i.n(n),r=i(1664),a=i.n(r),c=i(3712),l=i(2374),d=i(2808);function Searchbar(){let{t:e}=(0,d.$)();return(0,s.jsxs)("form",{id:"searchbar",method:"GET",action:"/s",target:"_top",children:[(0,s.jsx)(l.Z,{icon:"search"}),(0,s.jsx)("input",{className:"t-body-s",type:"text",name:"q",placeholder:e("header.search_placeholder"),onFocus:function(){document.getElementById("header").firstChild.classList.add("focus")},onBlur:function(){document.getElementById("header").firstChild.classList.remove("focus")}})]})}var h=i(5675),m=i.n(h);function Header(e){return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(o(),{children:[(0,s.jsx)("link",{rel:"alternate",type:"application/rss+xml",title:"Fuente RSS para ".concat(e.media.name),href:"".concat(e.media.base_path,"/rss/GoogleNews.xml")}),(0,s.jsx)("link",{rel:"canonical",href:e.section.canonical_link}),e.section.type&&"HOME"!==e.section.type&&(0,s.jsx)("link",{rel:"amphtml",href:e.section.canonical_link.concat("?amp=1")}),(0,s.jsx)("meta",{name:"title",content:e.section.seo_title}),(0,s.jsx)("link",{rel:"preconnect",href:"https://c.amazon-adsystem.com"}),(0,s.jsx)("link",{rel:"preconnect",href:"https://cdn.ampproject.org"}),(0,s.jsx)("link",{rel:"preconnect",href:"https://imasdk.googleapis.com"}),(0,s.jsx)("link",{rel:"preconnect",href:"https://securepubads.g.doubleclick.net"}),(0,s.jsx)("link",{rel:"preconnect",href:"https://www.googletagmanager.com"}),(0,s.jsx)("link",{rel:"preconnect",href:"https://dglmni26as6e8.cloudfront.net"}),(0,s.jsx)("link",{rel:"preconnect",href:"https://c.amazon-adsystem.com"}),(0,s.jsx)("link",{rel:"preconnect",href:"https://alivia-media-file.s3.us-east-2.amazonaws.com"}),(0,s.jsx)("link",{rel:"icon",href:e.media.faicon?e.media.faicon:"https://www.elfutbolero.com.sv/image/elfutbolerocomsv/favicon.ico"})]}),(0,s.jsxs)("header",{id:"header",children:[(0,s.jsxs)("div",{className:"",children:[(0,s.jsx)(a(),{href:"/",onClick:e=>{e.preventDefault(),window.location.href="/"},prefetch:!1,children:(0,s.jsx)(m(),{className:"logo",src:e.media.logo,width:212,height:40,alt:e.media.name})}),(0,s.jsx)(Searchbar,{})]}),(0,s.jsx)(c.Z,{categories:e.media.categories})]})]})}},3712:function(e,t,i){"use strict";i.d(t,{Z:function(){return Menu}});var s=i(5893);function Pill(e){return(0,s.jsx)("p",{className:"ds-pill",children:e.label})}function Menu(e){let t=e.categories||[];return t=t.filter(e=>!e.hidden),(0,s.jsx)("div",{className:"menu",children:t&&t.map((e,t)=>(0,s.jsx)("a",{href:"/".concat(e.slug),children:(0,s.jsx)(Pill,{label:e.title})},t))})}i(7294),i(1664)},1236:function(e,t,i){"use strict";i.d(t,{Z:function(){return DynamicAd}});var s=i(5893),n=i(5152),o=i.n(n),r=i(7294);function NewAd(e){return(0,s.jsx)("div",{children:(0,s.jsx)(NewAdComponent,{id:e.id})})}let a=o()(()=>Promise.resolve(NewAd),{ssr:!1});function DynamicAd(e){return(0,s.jsx)(a,{...e})}let NewAdComponent=e=>{(0,r.useEffect)(()=>{window.googletag=window.googletag||{cmd:[]},googletag.cmd.push(function(){googletag.display(e.id)})},[]);let t="desktop";return e.id.includes("mobile")&&(t="mobile"),(0,s.jsx)("div",{className:"ad ".concat(t),id:e.id})}},7323:function(e,t,i){"use strict";i.d(t,{Z:function(){return PostsList}});var s=i(5893),n=i(7294),o=i(5675),r=i.n(o);i(1664),i(2454);var a=i(7484),c=i.n(a),l=i(2808),d=i(4925),h=i(1236);function PostsList(e){let t=e.isMobile,{t:i}=(0,l.$)(),[o,a]=(0,n.useState)(e.posts);return((0,n.useEffect)(()=>{let t=[],i=1;for(let s=0;s<e.posts.length;s++){let n=e.posts[s];t.push(n),(s+1)%2==0&&i<=e.adLimit&&(t.push({type:"ad",suffix:i}),i++)}a(t)},[e.posts]),void 0===e.posts)?"":(0,s.jsxs)("div",{id:"posts-list",children:[e.title&&(0,s.jsx)("h2",{className:"t-heading-s",style:{marginTop:"24px"},children:e.title}),(0,s.jsx)("ul",{children:o&&o.length>0?o.map((n,o)=>(0,s.jsx)("li",{children:"ad"===n.type?(0,s.jsx)(s.Fragment,{children:t?(0,s.jsx)(h.Z,{id:"mobile_".concat(e.adSection,"_more_news_336x280_").concat(n.suffix)}):(0,s.jsx)(h.Z,{id:"desktop_".concat(e.adSection,"_more_news_336x280_").concat(n.suffix)})}):(0,s.jsxs)("a",{href:(0,d.re)(n.slug),children:[(0,s.jsx)("div",{className:"picture",children:(0,s.jsx)(r(),{width:372,height:210,sizes:"(max-width: 640px) 100vw, (max-width: 1024px) 50vw, 33vw",src:(0,d.re)(n.media.base_path+n.content_image),alt:n.alt_image,loading:"lazy"})}),(0,s.jsx)("h2",{className:"t-heading-l",children:n.title}),(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{children:[n.author.picture&&(0,s.jsx)("figure",{style:{backgroundImage:"url(".concat(n.author.picture,")")}}),(0,s.jsx)("p",{className:"t-body-s",children:c()(n.published_at).format("DD/MM/YYYY")})]}),(0,s.jsx)("button",{className:"t-body-s",children:i("post.read")})]})]})},o)):(0,s.jsx)("h3",{className:"t-heading-s",children:i("post.no_results")})})]})}},2374:function(e,t,i){"use strict";i.d(t,{Z:function(){return Icon}});var s=i(5893);function Icon(e){return(0,s.jsx)("i",{className:"icon ".concat(e.icon)})}i(7294)},3982:function(e,t,i){"use strict";i.d(t,{Z:function(){return Tag}});var s=i(5893);function Tag(e){return(0,s.jsx)("p",{className:"ds-tag ".concat(e.type," ").concat(void 0!=e.removable&&"removable"),onClick:function(e){e.target.classList.contains("removable")&&e.target.remove()},children:e.label})}i(7294)},2808:function(e,t,i){"use strict";i.d(t,{$:function(){return useTranslation},O:function(){return n}});var s=i(7294);let n=(0,s.createContext)({});function useTranslation(){let e=(0,s.useContext)(n);return{translation:e,t:t=>e&&e.entries?e.entries[t]:t}}},4608:function(e,t,i){"use strict";i.r(t),i.d(t,{__N_SSP:function(){return g},default:function(){return Main}});var s=i(5893);i(7294),i(5675),i(1664);var n=i(7323),o=i(3982),r=i(7484),a=i.n(r),c=i(5013),l=i(2808),d=i(1236),h=i(5379),m=i.n(h),components_AnimatedEnVivoLogo=()=>{let{t:e}=(0,l.$)();return(0,s.jsxs)("div",{className:"jsx-7bd67916c7588cf7 en-vivo-logo",children:[(0,s.jsx)("span",{className:"jsx-7bd67916c7588cf7 text",children:e("home.live.title")}),(0,s.jsx)(m(),{id:"7bd67916c7588cf7",children:".en-vivo-logo.jsx-7bd67916c7588cf7{display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;background-color:white;border:2px solid#e53e3e;-webkit-border-radius:9999px;-moz-border-radius:9999px;border-radius:9999px;padding:4px 12px;margin-bottom:.6rem}.dot.jsx-7bd67916c7588cf7{width:8px;height:8px;background-color:#e53e3e;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;margin-right:8px}.text.jsx-7bd67916c7588cf7{color:#e53e3e;font-weight:bold;font-size:14px}@media(max-width:768px){.en-vivo-logo.jsx-7bd67916c7588cf7{-webkit-transform:scale(.8);-moz-transform:scale(.8);-ms-transform:scale(.8);-o-transform:scale(.8);transform:scale(.8);-webkit-transform-origin:center;-moz-transform-origin:center;-ms-transform-origin:center;-o-transform-origin:center;transform-origin:center;padding:2px 6px;margin-bottom:.3rem}.dot.jsx-7bd67916c7588cf7{width:4px;height:4px;margin-right:4px}.text.jsx-7bd67916c7588cf7{font-size:12px}}"})]})},u=i(1163),components_LivePostHome=e=>{let{post:t,isMobile:i}=e,n=(0,u.useRouter)(),{t:o}=(0,l.$)();return(0,s.jsxs)("div",{style:{width:"100%",marginLeft:"auto",marginRight:"auto",textAlign:"center"},children:[(0,s.jsxs)("div",{style:{cursor:"pointer",padding:"30px",borderRadius:"8px",transition:"background-color 0.3s"},onClick:()=>{n.push("/".concat(t.slug))},onMouseEnter:e=>e.target.style.backgroundColor="#f0f0f0",onMouseLeave:e=>e.target.style.backgroundColor="transparent",children:[(0,s.jsx)("h1",{className:i?"t-heading-l":"t-heading-xl-media",children:(0,s.jsxs)("p",{children:[t.title," | ",o("home.live.title")]})}),!i&&(0,s.jsx)("h2",{className:"t-heading-m",children:t.subtitle}),(0,s.jsx)(components_AnimatedEnVivoLogo,{})]}),(0,s.jsx)("br",{})]})};function Home(e){let t=e.mainPost,i=e.livePost,r=c.c.get(t.media.base_path.replace("https://","")),h=e.isMobile,{t:m}=(0,l.$)();return(0,s.jsxs)("div",{id:"home",children:[h?(0,s.jsx)("div",{style:{minHeight:"20px"},children:(0,s.jsx)(d.Z,{id:"mobile_home_320x100_1"})}):(0,s.jsx)(d.Z,{id:"desktop_home_970x250_1"}),(0,s.jsx)("br",{}),i&&(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(components_LivePostHome,{isMobile:h,post:i})}),(0,s.jsx)("div",{id:"featured-post",children:(0,s.jsxs)("a",{href:"".concat(t.slug),children:[(0,s.jsxs)("div",{className:"picture",children:[(0,s.jsx)("img",{width:1200,height:600,src:t.media.base_path+t.content_image,alt:t.title}),(0,s.jsx)(o.Z,{type:"over-image",label:t.category.title})]}),(0,s.jsx)("h1",{className:"t-heading-l",children:t.title}),(0,s.jsxs)("div",{className:"publishing-info t-body-s",children:[t.author.picture&&(0,s.jsx)("figure",{style:{backgroundImage:"url(".concat(t.author.picture,")")}}),(0,s.jsxs)("p",{children:[m("post.by_author")," ",t.author.name," ",t.author.last_name]}),(0,s.jsx)("time",{dateTime:t.published_at,children:a()(t.published_at).format("DD/MM/YYYY, hh:mm A Z")})]}),(0,s.jsx)("h2",{className:"t-action",children:t.subtitle}),(0,s.jsx)("button",{children:m("post.read")})]})}),!h&&(0,s.jsx)(d.Z,{id:"desktop_main_home_336x280_1"}),(0,s.jsx)(n.Z,{title:m("post.more_news"),isMobile:h,posts:e.posts,adSection:"home",adLimit:h?r.ads_limits.mobile.home:r.ads_limits.desktop.home}),(0,s.jsx)("div",{className:"sticky-ad",children:h?(0,s.jsx)(d.Z,{id:"mobile_home_zocalo"}):(0,s.jsx)(d.Z,{id:"desktop_home_728x90_1"})})]})}var x=i(6538),p=i(8417),f=i(2962),g=!0;function Main(e){let{data:t,media:i}=e;return(0,s.jsxs)(l.O.Provider,{value:t.translation,children:[(0,s.jsx)(f.PB,{title:t.section.seo_title,description:t.section.seo_description}),(0,s.jsx)(x.Z,{media:t.media,section:t.section}),(0,s.jsx)("main",{children:(0,s.jsx)(Home,{livePost:t.live_post,mainPost:t.post,posts:t.posts,isMobile:t.isMobile})}),(0,s.jsx)(p.Z,{media:t.media})]})}}},function(e){e.O(0,[61,869,774,888,179],function(){return e(e.s=5557)}),_N_E=e.O()}]);