1/*! For license information please see default.js.LICENSE.txt */ 2!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("prop-types"),require("react"),require("react-dom"),require("fusion:jsx:content"),require("fusion:jsx:context"),require("fusion:jsx:layout"),require("fusion:jsx:quarantine"),require("fusion:jsx:static"),require("fusion:environment"),require("fusion:properties"),require("fusion:unpack")):"function"==typeof define&&define.amd?define([,,,,,,,,,,],t):"object"==typeof exports?exports.Fusion=t(require("prop-types"),require("react"),require("react-dom"),require("fusion:jsx:content"),require("fusion:jsx:context"),require("fusion:jsx:layout"),require("fusion:jsx:quarantine"),require("fusion:jsx:static"),require("fusion:environment"),require("fusion:properties"),require("fusion:unpack")):(e.Fusion=e.Fusion||{},e.Fusion.components=t(e.PropTypes,e.React,e.ReactDOM,e.Fusion.Content,e.Fusion.Context,e.Fusion.Layout,e.Fusion.Quarantine,e.Fusion.Static,e.Fusion.environment,e.Fusion.getProperties,e.Fusion.unpack))}(this,function(e,t,r,n,i,o,a,s,l,c,u){return function(){var d,p,f,m,b={10742:function(e,t,r){const n=r(92986),i=r(71592),o=r(1534),a={};a.chains=a.chains||{},a.features=a.features||{},a.layouts=a.layouts||{},a.chains.BrickContainer=i(o(r(94786))),a.chains.MainContent=i(o(r(22690))),a.chains.StickyTopContent=i(o(r(28607))),a.features["Taboola/amp"]=i(o(r(5468))),a.features["Taboola/app"]=i(r(86502)),a.features["Taboola/default"]=i(o(r(9492))),a.features["Article/Body"]=r(3174)(null,null,()=>Promise.all([r.e(5453),r.e(480),r.e(7505),r.e(6936),r.e(5509),r.e(2067),r.e(1825)]).then(r.bind(r,77194))),a.features["Bricks/BrickAgenda"]=r(3174)(null,null,()=>r.e(2883).then(r.bind(r,55264))),a.features["Bricks/BrickCards"]=i(r(86502)),a.features["Bricks/BrickCobertura"]=r(3174)(null,null,()=>r.e(8474).then(r.bind(r,56093))),a.features["Bricks/BrickDestacadas"]=i(o(r(85592))),a.features["Bricks/BrickFaqs"]=i(r(86502)),a.features["Bricks/BrickJuegos"]=r(3174)(null,null,()=>Promise.all([r.e(5453),r.e(3699)]).then(r.bind(r,53699))),a.features["Bricks/BrickLottery"]=r(3174)(null,null,()=>r.e(3246).then(r.bind(r,70865))),a.features["Bricks/BrickLotteryNavigation"]=r(3174)(null,null,()=>r.e(3545).then(r.bind(r,55926))),a.features["Bricks/BrickPatron"]=i(r(86502)),a.features["Bricks/BrickPaywall"]=r(3174)(null,null,()=>Promise.all([r.e(5453),r.e(3199),r.e(8264),r.e(131),r.e(6783)]).then(r.bind(r,85253))),a.features["Bricks/BrickPaywall2"]=r(3174)(null,null,()=>Promise.all([r.e(5453),r.e(6936),r.e(5191),r.e(8702)]).then(r.bind(r,94386))),a.features["Bricks/BrickPromociones"]=i(r(86502)),a.features["Bricks/BrickRadio"]=i(o(r(74334))),a.features["Bricks/BrickSubSiteLogo"]=i(r(86502)),a.features["Bricks/CarouselProgram"]=r(3174)(null,null,()=>r.e(7142).then(r.bind(r,24761))),a.features["Bricks/DownloadApp"]=i(o(r(31005))),a.features["Bricks/FeaturedPrograms"]=r(3174)(null,null,()=>r.e(5748).then(r.bind(r,60986))),a.features["Bricks/FollowOnNetworks"]=i(r(86502)),a.features["Bricks/FullChapter"]=i(o(r(42623))),a.features["Bricks/Gamecast"]=i(o(r(42413))),a.features["Bricks/NewsletterCollection"]=r(3174)(null,null,()=>Promise.all([r.e(5453),r.e(480),r.e(3199),r.e(8264),r.e(2026)]).then(r.bind(r,45612))),a.features["Bricks/ProgramList"]=i(o(r(74888))),a.features["Bricks/Programs"]=i(r(86502)),a.features["Bricks/Schedule"]=i(r(86502)),a.features["Bricks/SeasonDark"]=i(o(r(19587))),a.features["Bricks/SeasonLight"]=r(3174)(null,null,()=>r.e(3424).then(r.bind(r,51043))),a.features["Bricks/StatsNavigation"]=i(o(r(84860))),a.features["Bricks/SubscribeNotifications"]=i(o(r(49235))),a.features["Bricks/UsdWidget"]=r(3174)(null,null,()=>r.e(5948).then(r.bind(r,35948))),a.features["Bricks/VideoLab"]=r(3174)(null,null,()=>Promise.all([r.e(2638),r.e(966),r.e(7891)]).then(r.bind(r,97891))),a.features["Bricks/WhatsappChannel"]=i(r(86502)),a.features["Bricks/ZodiacCarousel"]=r(3174)(null,null,()=>r.e(6043).then(r.bind(r,68424))),a.features["Bricks/ZodiacSign"]=i(r(86502)),a.features["Bricks/ZodiacSignsList"]=i(r(86502)),a.features["global/Ad"]=i(o(r(89436))),a.features["global/Alert"]=i(r(86502)),a.features["global/AlertNews"]=r(3174)(null,null,()=>r.e(1920).then(r.bind(r,89539))),a.features["global/AnnouncementList"]=i(r(86502)),a.features["global/AuthorBio"]=i(r(86502)),a.features["global/AutoRefresh"]=i(o(r(6713))),a.features["global/Breadcrumb"]=r(3174)(null,null,()=>r.e(2403).then(r.bind(r,94784))),a.features["global/CarouselList"]=r(3174)(null,null,()=>r.e(7994).then(r.bind(r,5613))),a.features["global/CucinareHeader"]=r(3174)(null,null,()=>r.e(1139).then(r.bind(r,91139))),a.features["global/Embed"]=i(o(r(56976))),a.features["global/ExtendedWeather"]=r(3174)(null,null,()=>Promise.all([r.e(9245),r.e(8640),r.e(7905)]).then(r.bind(r,25048))),a.features["global/FeaturedVideo"]=r(3174)(null,null,()=>r.e(9642).then(r.bind(r,29642))),a.features["global/FeaturedVideo2"]=r(3174)(null,null,()=>r.e(8356).then(r.bind(r,28356))),a.features["global/Footer"]=r(3174)(null,null,()=>r.e(9641).then(r.bind(r,66784))),a.features["global/FrequentlyAskedQuestions"]=i(r(86502)),a.features["global/FullChapter
2List"]=r(3174)(null,null,()=>r.e(7494).then(r.bind(r,35113))),a.features["global/FullHeader"]=i(o(r(77898))),a.features["global/GenoaVideoPlayer"]=i(o(r(55227))),a.features["global/GlobalContentFeed"]=r(3174)(null,null,()=>r.e(3564).then(r.bind(r,41183))),a.features["global/Heading"]=i(r(86502)),a.features["global/Iframe"]=i(o(r(30178))),a.features["global/LifeStories"]=i(o(r(52222))),a.features["global/NavigationMenu"]=i(o(r(48665))),a.features["global/NewsletterSignup"]=r(3174)(null,null,()=>Promise.all([r.e(5453),r.e(480),r.e(7108),r.e(1630)]).then(r.bind(r,37108))),a.features["global/PageLink"]=i(r(86502)),a.features["global/ProgramSectionFilter"]=r(3174)(null,null,()=>r.e(1263).then(r.bind(r,23644))),a.features["global/RichTag"]=r(3174)(null,null,()=>Promise.all([r.e(5453),r.e(7505),r.e(6936),r.e(5509),r.e(2996),r.e(4744)]).then(r.bind(r,66600))),a.features["global/RichText"]=i(r(86502)),a.features["global/Search"]=r(3174)(null,null,()=>r.e(9236).then(r.bind(r,36855))),a.features["global/SearchableImage"]=i(r(86502)),a.features["global/SearchFeed"]=r(3174)(null,null,()=>r.e(2445).then(r.bind(r,74826))),a.features["global/SecondaryNav"]=i(r(86502)),a.features["global/SecondaryVideos"]=r(3174)(null,null,()=>r.e(8415).then(r.bind(r,93653))),a.features["global/ShortsList"]=r(3174)(null,null,()=>Promise.all([r.e(2638),r.e(840)]).then(r.bind(r,80840))),a.features["global/ShortsPlayer"]=r(3174)(null,null,()=>Promise.all([r.e(2638),r.e(9153)]).then(r.bind(r,29153))),a.features["global/Sitemap"]=i(r(86502)),a.features["global/SpecialVideos"]=i(r(86502)),a.features["global/Subheader"]=i(o(r(3090))),a.features["global/SuggestedContent"]=r(3174)(null,null,()=>r.e(8579).then(r.bind(r,80960))),a.features["global/Text"]=i(o(r(95767))),a.features["global/TitleChapter"]=i(r(86502)),a.features["global/TodayWeather"]=r(3174)(null,null,()=>Promise.all([r.e(8640),r.e(9795),r.e(3347),r.e(545)]).then(r.bind(r,53347))),a.features["global/UrlContentEmbedded"]=i(o(r(10275))),a.features["global/VerticalVideosCarrusel"]=i(o(r(41406))),a.features["global/WeatherMap"]=i(o(r(70242))),a.features["global/WeeklyGrid"]=r(3174)(null,null,()=>r.e(3253).then(r.bind(r,78015))),a.features["Liveblogging/LiveBlogKeys"]=i(r(86502)),a.features["Liveblogging/Timeline"]=r(3174)(null,null,()=>r.e(3040).then(r.bind(r,50659))),a.features["Newsletter/Header"]=r(3174)(null,null,()=>Promise.all([r.e(5453),r.e(480),r.e(3199),r.e(8264),r.e(9399),r.e(9302)]).then(r.bind(r,30287))),a.features["TN/BrickFourStories"]=i(r(86502)),a.features["TN/BrickLastNews"]=i(r(86502)),a.features["TN/BrickLive"]=i(o(r(53358))),a.features["TN/BrickLongform"]=i(r(86502)),a.features["TN/BrickMain"]=i(r(86502)),a.features["TN/BrickMostRead"]=i(o(r(99418))),a.features["TN/BrickOneStory"]=i(r(86502)),a.features["TN/BrickSponsor"]=i(o(r(2281))),a.features["TN/BrickThreeStories"]=i(r(86502)),a.features["TN/BrickTimeline"]=i(r(86502)),a.features["TN/BrickTwoStories"]=i(r(86502)),a.features["TN/BrickTwoStoriesVertical"]=i(r(86502)),a.features["TN/DollarGraph"]=r(3174)(null,null,()=>Promise.all([r.e(9245),r.e(245)]).then(r.bind(r,52626))),a.features["TN/Header"]=i(o(r(10177))),a.features["TN/UploadTNyLG"]=r(3174)(null,null,()=>r.e(1109).then(r.bind(r,51109))),a.features["Video/RelatedStory"]=i(r(86502)),a.layouts.FullWidth=n(o(r(53166))),a.layouts.Megalateral=n(o(r(88396))),e.exports=a},13686:function(e,t,r){"use strict";r.d(t,{fY:function(){return y},mh:function(){return g},qY:function(){return h}});var n=!1;if("undefined"!=typeof window){var i={get passive(){n=!0}};window.addEventListener("testPassive",null,i),window.removeEventListener("testPassive",null,i)}var o="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1),a=[],s=!1,l=-1,c=void 0,u=void 0,d=void 0,p=function(e){return a.some(function(t){return!(!t.options.allowTouchMove||!t.options.allowTouchMove(e))})},f=function(e){var t=e||window.event;return!!p(t.target)||(t.touches.length>1||(t.preventDefault&&t.preventDefault(),!1))},m=function(){void 0!==d&&(document.body.style.paddingRight=d,d=void 0),void 0!==c&&(document.body.style.overflow=c,c=void 0)},b=function(){if(void 0!==u){var e=-parseInt(document.body.style.top,10),t=-parseInt(document.body.style.left,10);document.body.style.position=u.position,document.body.style.top=u.top,document.body.style.left=u.left,window.scrollTo(t,e),u=void 0}},g=function(e,t){if(e){if(!a.some(function(t){return t.targetElement===e})){var r={targetElement:e,options:t||{}};a=[].concat(function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)}(a),[r]),o?window.requestAnimationFrame(function(){if(void 0===u){u={position:document.body.style.position,top:document.body.style.top,left
2:document.body.style.left};var e=window,t=e.scrollY,r=e.scrollX,n=e.innerHeight;document.body.style.position="fixed",document.body.style.top=-t,document.body.style.left=-r,setTimeout(function(){return window.requestAnimationFrame(function(){var e=n-window.innerHeight;e&&t>=n&&(document.body.style.top=-(t+e))})},300)}}):function(e){if(void 0===d){var t=!!e&&!0===e.reserveScrollBarGap,r=window.innerWidth-document.documentElement.clientWidth;if(t&&r>0){var n=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right"),10);d=document.body.style.paddingRight,document.body.style.paddingRight=n+r+"px"}}void 0===c&&(c=document.body.style.overflow,document.body.style.overflow="hidden")}(t),o&&(e.ontouchstart=function(e){1===e.targetTouches.length&&(l=e.targetTouches[0].clientY)},e.ontouchmove=function(t){1===t.targetTouches.length&&function(e,t){var r=e.targetTouches[0].clientY-l;!p(e.target)&&(t&&0===t.scrollTop&&r>0||function(e){return!!e&&e.scrollHeight-e.scrollTop<=e.clientHeight}(t)&&r<0?f(e):e.stopPropagation())}(t,e)},s||(document.addEventListener("touchmove",f,n?{passive:!1}:void 0),s=!0))}}else console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.")},h=function(){o&&(a.forEach(function(e){e.targetElement.ontouchstart=null,e.targetElement.ontouchmove=null}),s&&(document.removeEventListener("touchmove",f,n?{passive:!1}:void 0),s=!1),l=-1),o?b():m(),a=[]},y=function(e){e?(a=a.filter(function(t){return t.targetElement!==e}),o&&(e.ontouchstart=null,e.ontouchmove=null,s&&0===a.length&&(document.removeEventListener("touchmove",f,n?{passive:!1}:void 0),s=!1)),o?b():m()):console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.")}},13287:function(e,t,r){"use strict";function n(e){if("string"==typeof e||"number"==typeof e)return""+e;let t="";if(Array.isArray(e))for(let r,i=0;i<e.length;i++)""!==(r=n(e[i]))&&(t+=(t&&" ")+r);else for(let r in e)e[r]&&(t+=(t&&" ")+r);return t}r.d(t,{A:function(){return n}})},11402:function(e,t,r){"use strict";var n=r(40809),i=function(){return i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},i.apply(this,arguments)};var o=function(e){var t=e.animate,r=void 0===t||t,o=e.backgroundColor,a=void 0===o?"#f5f6f7":o,s=e.backgroundOpacity,l=void 0===s?1:s,c=e.baseUrl,u=void 0===c?"":c,d=e.children,p=e.foregroundColor,f=void 0===p?"#eee":p,m=e.foregroundOpacity,b=void 0===m?1:m,g=e.gradientRatio,h=void 0===g?2:g,y=e.uniqueKey,v=e.rtl,j=void 0!==v&&v,w=e.speed,O=void 0===w?1.2:w,P=e.style,x=void 0===P?{}:P,_=e.title,A=void 0===_?"Loading...":_,S=e.beforeMask,E=void 0===S?null:S,T=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r}(e,["animate","backgroundColor","backgroundOpacity","baseUrl","children","foregroundColor","foregroundOpacity","gradientRatio","uniqueKey","rtl","speed","style","title","beforeMask"]),N=(0,n.useId)();y&&(N=y);var k="".concat(N,"-diff"),C="".concat(N,"-animated-diff"),D="".concat(N,"-aria"),I=j?{transform:"scaleX(-1)"}:null,L="".concat(O,"s"),R="".concat(-1*h," 0"),M="".concat(h," 0");return(0,n.createElement)("svg",i({"aria-labelledby":D,role:"img",style:i(i({},x),I)},T),A?(0,n.createElement)("title",{id:D},A):null,E&&(0,n.isValidElement)(E)?E:null,(0,n.createElement)("rect",{role:"presentation",x:"0",y:"0",width:"100%",height:"100%",clipPath:"url(".concat(u,"#").concat(k,")"),style:{fill:"url(".concat(u,"#").concat(C,")")}}),(0,n.createElement)("defs",null,(0,n.createElement)("clipPath",{id:k},d),(0,n.createElement)("linearGradient",{id:C,gradientTransform:"translate(".concat(R,")")},(0,n.createElement)("stop",{offset:"0%",stopColor:a,stopOpacity:l}),(0,n.createElement)("stop",{offset:"50%",stopColor:f,stopOpacity:b}),(0,n.createElement)("stop",{offset:"100%",stopColor:a,stopOpacity:l}),r&&(0,n.createElement)("animateTransform",{attributeName:"gradientTransform",type:"translate",values:"".concat(R,"; 0 0;
2 ").concat(M),dur:L,repeatCount:"indefinite"}))))},a=function(e){return e.children?(0,n.createElement)(o,i({},e)):(0,n.createElement)(s,i({},e))},s=function(e){return(0,n.createElement)(a,i({viewBox:"0 0 476 124"},e),(0,n.createElement)("rect",{x:"48",y:"8",width:"88",height:"6",rx:"3"}),(0,n.createElement)("rect",{x:"48",y:"26",width:"52",height:"6",rx:"3"}),(0,n.createElement)("rect",{x:"0",y:"56",width:"410",height:"6",rx:"3"}),(0,n.createElement)("rect",{x:"0",y:"72",width:"380",height:"6",rx:"3"}),(0,n.createElement)("rect",{x:"0",y:"88",width:"178",height:"6",rx:"3"}),(0,n.createElement)("circle",{cx:"20",cy:"20",r:"20"}))};t.Ay=a},85872:function(e,t,r){"use strict";r.d(t,{A:function(){return c}});const n="onesignal-sdk";let i,o=!1,a=!1;function s(e){if(document.getElementById(n))return;const t=document.createElement("script");t.id=n,t.defer=!0,t.src=e||"https://cdn.onesignal.com/sdks/web/v16/OneSignalSDK.page.js",t.onerror=()=>{a=!0,i?.(new Error("OneSignal script failed to load.")),i=void 0},document.head.appendChild(t)}function l(){return"undefined"!=typeof PushSubscriptionOptions&&PushSubscriptionOptions.prototype.hasOwnProperty("applicationServerKey")||window.safari&&void 0!==window.safari.pushNotification||window.top!==window&&"Apple Computer, Inc."===navigator.vendor&&"MacIntel"===navigator.platform}"undefined"!=typeof window&&(window.OneSignalDeferred=window.OneSignalDeferred||[]);const c={login:function(e,t){return new Promise((r,n)=>{a?n(new Error("OneSignal script failed to load.")):window.OneSignalDeferred?.push(i=>{i.login(e,t).then(()=>r()).catch(e=>n(e))})})},logout:function(){return new Promise((e,t)=>{a?t(new Error("OneSignal script failed to load.")):window.OneSignalDeferred?.push(r=>{r.logout().then(()=>e()).catch(e=>t(e))})})},init:e=>o?Promise.reject("OneSignal is already initialized."):e&&e.appId?document?l()?(void 0!==e.welcomeNotification?.disabled&&(e.welcomeNotification.disable=e.welcomeNotification.disabled),s(e.scriptSrc),new Promise((t,r)=>{i=r,window.OneSignalDeferred?.push(n=>{n.init(e).then(()=>{o=!0,i=void 0,t()}).catch(e=>{i=void 0,r(e)})})})):Promise.reject(new Error("This browser does not support Web Push notifications.")):Promise.reject("Document is not defined."):Promise.reject("You need to provide your OneSignal appId."),setConsentGiven:function(e){return new Promise((t,r)=>{a?r(new Error("OneSignal script failed to load.")):window.OneSignalDeferred?.push(n=>{n.setConsentGiven(e).then(()=>t()).catch(e=>r(e))})})},setConsentRequired:function(e){return new Promise((t,r)=>{a?r(new Error("OneSignal script failed to load.")):window.OneSignalDeferred?.push(n=>{n.setConsentRequired(e).then(()=>t()).catch(e=>r(e))})})},Slidedown:{promptPush:function(e){return new Promise((t,r)=>{a?r(new Error("OneSignal script failed to load.")):window.OneSignalDeferred?.push(n=>{n.Slidedown.promptPush(e).then(()=>t()).catch(e=>r(e))})})},promptPushCategories:function(e){return new Promise((t,r)=>{a?r(new Error("OneSignal script failed to load.")):window.OneSignalDeferred?.push(n=>{n.Slidedown.promptPushCategories(e).then(()=>t()).catch(e=>r(e))})})},promptSms:function(e){return new Promise((t,r)=>{a?r(new Error("OneSignal script failed to load.")):window.OneSignalDeferred?.push(n=>{n.Slidedown.promptSms(e).then(()=>t()).catch(e=>r(e))})})},promptEmail:function(e){return new Promise((t,r)=>{a?r(new Error("OneSignal script failed to load.")):window.OneSignalDeferred?.push(n=>{n.Slidedown.promptEmail(e).then(()=>t()).catch(e=>r(e))})})},promptSmsAndEmail:function(e){return new Promise((t,r)=>{a?r(new Error("OneSignal script failed to load.")):window.OneSignalDeferred?.push(n=>{n.Slidedown.promptSmsAndEmail(e).then(()=>t()).catch(e=>r(e))})})},addEventListener:function(e,t){window.OneSignalDeferred?.push(r=>{r.Slidedown.addEventListener(e,t)})},removeEventListener:function(e,t){window.OneSignalDeferred?.push(r=>{r.Slidedown.removeEventListener(e,t)})}},Notifications:{get permissionNative(){return window.OneSignal?.Notifications?.permissionNative??"default"},get permission(){return window.OneSignal?.Notifications?.permission??!1},setDefaultUrl:function(e){return new Promise((t,r)=>
2{a?r(new Error("OneSignal script failed to load.")):window.OneSignalDeferred?.push(n=>{n.Notifications.setDefaultUrl(e).then(()=>t()).catch(e=>r(e))})})},setDefaultTitle:function(e){return new Promise((t,r)=>{a?r(new Error("OneSignal script failed to load.")):window.OneSignalDeferred?.push(n=>{n.Notifications.setDefaultTitle(e).then(()=>t()).catch(e=>r(e))})})},isPushSupported:()=>l(),requestPermission:function(){return new Promise((e,t)=>{a?t(new Error("OneSignal script failed to load.")):window.OneSignalDeferred?.push(r=>{r.Notifications.requestPermission().then(t=>e(t)).catch(e=>t(e))})})},addEventListener:function(e,t){window.OneSignalDeferred?.push(r=>{r.Notifications.addEventListener(e,t)})},removeEventListener:function(e,t){window.OneSignalDeferred?.push(r=>{r.Notifications.removeEventListener(e,t)})}},Session:{sendOutcome:function(e,t){return new Promise((r,n)=>{a?n(new Error("OneSignal script failed to load.")):window.OneSignalDeferred?.push(i=>{i.Session.sendOutcome(e,t).then(()=>r()).catch(e=>n(e))})})},sendUniqueOutcome:function(e){return new Promise((t,r)=>{a?r(new Error("OneSignal script failed to load.")):window.OneSignalDeferred?.push(n=>{n.Session.sendUniqueOutcome(e).then(()=>t()).catch(e=>r(e))})})}},User:{get onesignalId(){return window.OneSignal?.User?.onesignalId},get externalId(){return window.OneSignal?.User?.externalId},addAlias:function(e,t){window.OneSignalDeferred?.push(r=>{r.User.addAlias(e,t)})},addAliases:function(e){window.OneSignalDeferred?.push(t=>{t.User.addAliases(e)})},removeAlias:function(e){window.OneSignalDeferred?.push(t=>{t.User.removeAlias(e)})},removeAliases:function(e){window.OneSignalDeferred?.push(t=>{t.User.removeAliases(e)})},addEmail:function(e){window.OneSignalDeferred?.push(t=>{t.User.addEmail(e)})},removeEmail:function(e){window.OneSignalDeferred?.push(t=>{t.User.removeEmail(e)})},addSms:function(e){window.OneSignalDeferred?.push(t=>{t.User.addSms(e)})},removeSms:function(e){window.OneSignalDeferred?.push(t=>{t.User.removeSms(e)})},addTag:function(e,t){window.OneSignalDeferred?.push(r=>{r.User.addTag(e,t)})},addTags:function(e){window.OneSignalDeferred?.push(t=>{t.User.addTags(e)})},removeTag:function(e){window.OneSignalDeferred?.push(t=>{t.User.removeTag(e)})},removeTags:function(e){window.OneSignalDeferred?.push(t=>{t.User.removeTags(e)})},getTags:async function(){let e;return await(window.OneSignalDeferred?.push(t=>{e=t.User.getTags()})),e},addEventListener:function(e,t){window.OneSignalDeferred?.push(r=>{r.User.addEventListener(e,t)})},removeEventListener:function(e,t){window.OneSignalDeferred?.push(r=>{r.User.removeEventListener(e,t)})},setLanguage:function(e){window.OneSignalDeferred?.push(t=>{t.User.setLanguage(e)})},getLanguage:async function(){let e;return await(window.OneSignalDeferred?.push(t=>{e=t.User.getLanguage()})),e},trackEvent:function(e,t){window.OneSignalDeferred?.push(r=>{r.User.trackEvent(e,t)})},PushSubscription:{get id(){return window.OneSignal?.User?.PushSubscription?.id},get token(){return window.OneSignal?.User?.PushSubscription?.token},get optedIn(){return window.OneSignal?.User?.PushSubscription?.optedIn},optIn:function(){return new Promise((e,t)=>{a?t(new Error("OneSignal script failed to load.")):window.OneSignalDeferred?.push(r=>{r.User.PushSubscription.optIn().then(()=>e()).catch(e=>t(e))})})},optOut:function(){return new Promise((e,t)=>{a?t(new Error("OneSignal script failed to load.")):window.OneSignalDeferred?.push(r=>{r.User.PushSubscription.optOut().then(()=>e()).catch(e=>t(e))})})},addEventListener:function(e,t){window.OneSignalDeferred?.push(r=>{r.User.PushSubscription.addEventListener(e,t)})},removeEventListener:function(e,t){window.OneSignalDeferred?.push(r=>{r.User.PushSubscription.removeEventListener(e,t)})}}},Debug:{setLogLevel:function(e){window.OneSignalDeferred?.push(t=>{t.Debug.setLogLevel(e)})}}}},18200:function(e,t,r){"use strict";r.d(t,{A:function(){return u}});var n=r(19894),i=r.n(n),o=r(89436),a=r(85349);const s=({row:e})=>(0,a.jsxs)("div",{className:"brick_three_ads",children:[(0,a.jsx)(o.default,{customFields:{type:"caja",arbitrarySuffix:3*e}}),(0,a.jsx)(o.default,{customFields:{type:"caja",arbitrarySuffix:3*e+1}}),(0,a.jsx)(o.default,{customFields:{type:"caja",arbitrarySuffix:3*e+2}})]});s.propTypes={row:i().number.isRequired},s.label="Brick de publicidad";var l=s;const c=({pos:e})=>(0,a.jsxs)(a.Fragment,{children:[2===e&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o.default,{customFields:{type:"top",arbitrarySuffix:0}}),(0,a.jsx)(o.default,{customFields:{type:"caja_mobile",arbitrarySuffix:0}})]}),4===e&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(l,{row:0}),(0,a.jsx)(o.default,{customFields:{type:"caja_mobile",arbitrarySuffix:1}})]}),[6,10].includes(e)&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(l,{row:(e-2)/4}),(0,a.jsx)(o.default,{customFields:{type:"caja_mobile",arbitrarySuffix:e/2-1}})]}),[8,12].includes(e)&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o.default,{customFields:{type:"top",arbitrarySuffix:e/4-1}}),(0,a.jsx)(o.default,{customFields:{type:"caja_mobile",arbitrarySuffix:e/2-1}})]}),14===e&&(0,a.jsx)(o.default,{customFields:{type:"top",arbitrarySuffix:3}})]});c.propTypes={pos:i().number};var u=c},94786:function(e,t,r){"use strict";r.r(t);var n=r(13287),i=r(4321),o=r(60025),a=r(44106),s=r(30679),l=r(94166),c=r(18200),u=r(68932),d=r
2(85947),p=r(68845),f=r(85349);const m=({customFields:{title:e,titleUrl:t},children:r})=>{const{siteBaseUrl:l}=(0,o.A)(),{isAdmin:m,renderables:b}=(0,i.useAppContext)(),{id:g}=(0,i.useComponentContext)(),{hideBrickContainer:h=!1}=(0,u.j)()||{},y=(0,p.A)()?"max-brick-container":"brick-container";if(h)return null;const v=(0,d.G)(t,l);if(null===v)return m?(0,f.jsx)(a.A,{}):null;const j=(0,d.E)(b,g);return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(s.A,{title:e,url:v,children:(0,f.jsx)("div",{className:(0,n.A)([y,{hidedivider:e||j<14&&j%2==0}]),children:r})}),(0,f.jsx)(c.A,{pos:j})]})};m.propTypes=l.A,t.default=m},94166:function(e,t,r){"use strict";var n=r(19894),i=r.n(n),o=r(13662);const a={customFields:i().shape({title:o.uo.title(),titleUrl:o.uo.url("URL del tÃtulo"),showDuplicateContent:i().bool.tag({name:"Permitir contenido duplicado",defaultValue:!1})}),children:i().array};t.A=a},85947:function(e,t,r){"use strict";r.d(t,{E:function(){return i},G:function(){return n}});const n=(e,t)=>e?e.match(/^\/tags\/([\w_-]+)\/(pagina\/(\d+)\/)?$/)||e.match(/^(\/([A-Za-z-\d]+)(\/([A-Za-z-\d]+)){0,1})\/(pagina\/(\d+)\/)?$/)?t+e:null:"",i=(e,t)=>e.filter(e=>"BrickContainer"===e.type||"DynamicBrickContainer"===e.type).findIndex(e=>e.props.id===t)+1},22690:function(e,t,r){"use strict";r.r(t),r.d(t,{propTypes:function(){return l}});var n=r(19894),i=r.n(n),o=r(39600),a=r(85349);const s=({children:e})=>(0,a.jsx)(o.A,{content:e}),l={children:i().array};s.propTypes=l,t.default=s},28607:function(e,t,r){"use strict";r.r(t);var n=r(19894),i=r.n(n),o=r(12419),a=r(85349);const s=({children:e})=>{const t=(0,o.A)();return(0,a.jsxs)("div",{className:"sticky_top top",style:{top:t+80},children:[" ",e," "]})};s.propTypes={children:i().any},t.default=s},54983:function(e,t,r){"use strict";var n=r(40809),i=r(4321),o=r(85872),a=r(19894),s=r.n(a),l=r(30323),c=r(25769),u=r(59803),d=r(63684),p=r(94093),f=r(5164),m=r(44106),b=r(85349);function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach(function(t){y(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function y(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const v=({customSegment:e,isBrick:t=!1})=>{const{isAdmin:r}=(0,i.useAppContext)(),a=(0,f.A)()||{name:"",id:""}
2,[s,g]=(0,n.useState)(!1),[y,v]=(0,n.useState)(!1),j=(0,u.n)(),w=j?.userTags||{},O=(0,d.A)(),P=(0,p.jV)(),{segmentTag:x,sectionName:_}=(0,c.A)(e?.id?e:a),A=t?"h2":"h3";if(r&&!e?.id)return(0,b.jsx)(m.A,{text:"Sin ID de segmento, toma el de la nota.",warning:!0});if(r&&e?.id&&!x)return(0,b.jsx)(m.A,{text:"ID de segmento no válida."});if(!e&&(!x||!P||O))return null;if(e?.id&&!x)return null;const S=e=>!(!e||!w)&&"true"===w[e.toLowerCase()],E=()=>{const e=S(x)?"false":"true",t=h(h({},w),{},{[x.toLowerCase()]:e});o.A.User.addTags(t),j?.setUserTags(t),g(S(x))};return(0,n.useEffect)(()=>{const e=e=>{v(e),E()};return o.A.Notifications.addEventListener("permissionChange",e),()=>o.A.Notifications.removeEventListener("permissionChange",e)},[]),(0,n.useEffect)(()=>{j?.setUserTags(w),g(S(x)),v(o.A.Notifications.permission)},[w]),(0,b.jsxs)("div",{className:"notification-article",children:[(0,b.jsx)(A,{className:"notification-title",children:`Recibir notificaciones de ${_}`}),(0,b.jsxs)("div",{className:"notification-switch",children:[(0,b.jsx)("span",{className:"toggle-status",children:s?"Desactivar":"Activar"}),(0,b.jsx)(l.A,{value:s,onChange:()=>{y?E():o.A.Slidedown.promptPush({force:!0}).then(e=>e)}})]})]})};v.propTypes={customSegment:s().object,isBrick:s().bool},t.A=v},25769:function(e,t,r){"use strict";var n=r(77439);t.A=e=>{const{ONE_SIGNAL_SEGMENTS:t=[]}=(0,n.A)(),{formatName:r="",tag:i=""}=t.filter(t=>t?.sections?.some(t=>t.id===e?.id))[0]||[];return{segmentTag:i,sectionName:r}}},65665:function(e,t,r){"use strict";var n=r(19894),i=r.n(n),o=r(19293),a=r(85349);const s=e=>{const{className:t,content:r,Tag:n="p"}=e;return(0,a.jsx)(n,{className:t,dangerouslySetInnerHTML:{__html:r},onClick:e=>{e.target&&e.target.href&&(0,o.d)({event:"link-click",eCategory:"kw-body",eAction:"click",eLabel:e.target.innerText})}})};s.propTypes={className:i().string,content:i().string,Tag:i().string},t.A=s},37302:function(e,t,r){"use strict";var n=r(19894),i=r.n(n),o=r(13287),a=r(29242),s=r(82413),l=r(85349);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach(function(t){d(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function d(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const p=({title:e,description:t,image:r,imageField:n,link:i,imageData:c,twoCards:d,threeCards:p})=>{const f=!t,m=(0,o.A)(["featured-card",{"only-two-cards":d,"only-three-cards":p}]),b=(0,o.A)(["featured-card__title",{"only-title":f}]),g=(0,s.ko)();return(0,l.jsxs)("a",{href:i,className:m,children:[(0,l.jsx)("div",{className:"featured-card__image-container",children:(0,l.jsx)(a.Ay,u({placeholder:!0,aspectRatio:"1/1",alt:e,url:r,lazy:!0,sizes:g,className:"featured-card__image",externalUrl:c?.externalUrl,auth:c?.auth||null,id:c?._id||null},n))}),(0,l.jsxs)("div",{className:"featured-card__body",children:[(0,l.jsx)("h3",{className:b,children:e}),t&&(0,l.jsx)("p",{className:"featured-card__description",children:t})]})]})};p.propTypes={title:i().string.isRequired,description:i().string,image:i().string,imageField:i().object,link:i().string.isRequired,imageData:i().object,twoCards:i().bool,threeCards:i().bool},t.A=p},85592:function(e,t,r){"use strict";r.r(t);var n=r(40809),i=r(4321),o=r(14375),a=r(13287),s=r(73674),l=r(44106),c=r(46172),u=r(37302),d=r(39211),p=r(10879),f=r(78907),m=r(95118),b=r(11661),g=r(85349);const h=({customFields:e,buttonFooterOnTablet:t=!1,shouldTokenFetch:r=!0})=>{const{isAdmin:c}=(0,i.useAppContext)(),{searchableField:h}=(0,o.useEditableContent)(),{isMobile:y,isTablet:v,isDesktop:j}=(0,p.G9)(),w=(0,n.useRef)(null),O=(0,f.A)(),{GAMES_PAGE_TYPE:P}=m.F,x=O===P,{brickTitle:_,buttonLabel:A,buttonUrl:S}=e,E=[],T=[],N=[],k=[];for(let t=1;t<=6;t+=1){const r=e[`card${t}Title`],n=e[`card${t}Description`],i=e[`card${t}Image`],o=e[`card${t}Link`],a=e[`card${t}ImageData`];
2if(r||n||i||o)if(N.push(t),r&&o&&i)E.push({title:r,description:n,image:i,link:o,position:t,imageData:a}),T.push(i);else{const e=[];r||e.push("TÃtulo"),o||e.push("URL de enlace"),i||e.push("Imagen"),k.push({position:t,missingFields:e})}}const C=(0,o.useContent)({source:r?"external-image-token":null,query:{imageUrls:T}}),D=e=>c?(0,g.jsx)("div",{className:"width_full",children:(0,g.jsx)(l.A,{text:e})}):null;if(!c&&E.length<2)return null;if(k.length>0){return D(`Cards con configuración incompleta: ${k.map(e=>`Card ${e.position}: falta ${e.missingFields.join(" y ")}`).join("; ")}.`)}if(E.length<2)return D("Se requieren al menos 2 cards para mostrar este brick.");if(A&&!S)return D("Si se configura un texto para el botón, también debe configurarse la URL del botón.");const I=(j||v&&!t)&&A&&S,L=(y||v&&t)&&A&&S,R=(0,a.A)(["brick-destacadas",{juegos:x}]),M=(0,a.A)([{juegos:x,"only-two-cards":2===E.length,"only-three-cards":3===E.length},"brick-destacadas"]),F=()=>E.map(e=>(0,g.jsx)(u.A,{title:e.title,description:e.description,image:C?.images?.[e.image]?.id||e.imageData?.url,imageField:h(`card${e.position}Image`),link:e.link,imageData:C?.images?.[e.image]||e.imageData,twoCards:2===E.length,threeCards:3===E.length},e.position));return(0,g.jsxs)("div",{className:R,children:[_&&(0,g.jsxs)("div",{className:"brick-destacadas__header",children:[(0,g.jsx)("h2",{className:"brick-destacadas__title",children:_}),I&&(0,g.jsx)(d.A,{content:A,url:S,variant:"text"})]}),j&&E.length>3?(0,g.jsx)(s.A,{slideValue:(e=>{switch(e){case 5:return 285;case 6:return 294;default:return 258}})(E.length),showDots:!1,children:F()}):(0,g.jsx)(b.A,{ref:w,className:M,fullWidth:!0,children:F()}),L&&(0,g.jsx)(d.A,{className:"brick-destacadas__mobile-button",content:A,url:S,variant:"text"})]})};h.label="Brick Destacadas",h.propTypes=c.A,t.default=h},46172:function(e,t,r){"use strict";var n=r(19894),i=r.n(n);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach(function(t){s(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function s(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>i().string.tag({name:"TÃtulo",group:e}),c=e=>i().string.tag({name:"Descripción",group:e}),u=e=>i().string.tag({name:"URL de imagen",group:e}),d=e=>i().string.tag({name:"URL de link",description:"La URL apunta a la página que se redirigirá cuando se haga click en la card.",group:e}),p=e=>{const t=`Card ${e}`;return{[`card${e}Title`]:l(t),[`card${e}Description`]:c(t),[`card${e}Image`]:u(t),[`card${e}Link`]:d(t)}},f={customFields:i().shape(a(a(a(a(a(a({brickTitle:i().string.tag({name:"TÃtulo del brick"}),buttonLabel:i().string.tag({name:"Texto del botón"}),buttonUrl:i().string.tag({name:"URL del botón"})},p(1)),p(2)),p(3)),p(4)),p(5)),p(6)))};t.A=f},74334:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return E}});var n=r(60025),i=r(11007),o=r(85349);var a=()=>(0,o.jsxs)("div",{className:"radio-background","aria-hidden":"true",children:[(0,o.jsx)("span",{className:"blob cyan"}),(0,o.jsx)("span",{className:"blob peach"}),(0,o.jsx)("span",{className:"blob warm"}),(0,o.jsx)("span",{className:"gradient-overlay"})]}),s=r(40809);const l=[{id:1,type:"a"},{id:2,type:"b"},{id:3,type:"c"},{id:4,type:"d"},{id:5,type:"a"},{id:6,type:"b"},{id:7,type:"c"},{id:8,type:"d"},{id:9,type:"a"}];var c=()=>{const e=(0,s.useRef)(null);return(0,s.useEffect)(()=>{const t=()=>{(e.current?.getAnimations?.({subtree:!0}
2)||[]).forEach(e=>{document.hidden?e.pause():e.play()})};return document.addEventListener("visibilitychange",t),t(),()=>document.removeEventListener("visibilitychange",t)},[]),(0,o.jsxs)("div",{className:"logo-container",children:[(0,o.jsxs)("div",{ref:e,className:"animated-logo","aria-label":"Eldoce Radio",role:"img",children:[(0,o.jsx)("span",{className:"bars","aria-hidden":"true",children:l.map(({id:e,type:t})=>(0,o.jsx)("span",{className:`bar ${t}`},e))}),(0,o.jsx)("span",{className:"wordmark","aria-hidden":"true"})]}),(0,o.jsx)("div",{"aria-label":"En vivo",className:"live-button font__action custom-dot-style medium header__live-button radio-live-pill",children:(0,o.jsx)("span",{children:"RADIO EN VIVO"})})]})},u=r(19894),d=r.n(u),p=r(32994),f=r(18979);var m=({metadata:e={},streamUrl:t})=>{const n=(0,s.useRef)(null),i=(0,s.useRef)(null),o=(0,s.useRef)(!1),a=(0,s.useRef)(.8),l=(0,s.useRef)(.8),c=(0,s.useRef)(!1),[u,d]=(0,s.useState)(!1),[p,f]=(0,s.useState)(!1),[m,b]=(0,s.useState)(.8),[g,h]=(0,s.useState)(0),[y,v]=(0,s.useState)(!1),j=(0,s.useCallback)(()=>{clearInterval(i.current),i.current=null},[]),w=(0,s.useCallback)(()=>{j(),i.current=setInterval(()=>h(e=>e+1),1e3)},[j]),O=(0,s.useCallback)(()=>{o.current=!1,n.current?.pause(),d(!1),j()},[j]),P=(0,s.useCallback)(()=>{v(!1),n.current?n.current.play():o.current=!0},[]);(0,s.useEffect)(()=>{if(!t)return;const i="undefined"!=typeof navigator&&"mediaSession"in navigator?navigator.mediaSession:null;let s,l=!0;return(async()=>{try{const{Howl:e}=await r.e(2654).then(r.t.bind(r,2654,23));if(!l)return;s=new e({src:[t],html5:!0,format:["mp3","aac"],mute:c.current,volume:a.current,onplay:()=>{d(!0),w(),i&&(i.playbackState="playing")},onpause:()=>{d(!1),j(),i&&(i.playbackState="paused")},onloaderror:()=>v(!0),onplayerror:()=>v(!0)}),n.current=s,o.current&&(o.current=!1,s.play())}catch{l&&v(!0)}})(),i&&("undefined"!=typeof MediaMetadata&&(i.metadata=new MediaMetadata({title:e.title||"Eldoce Radio",artist:e.artist||"Eldoce"})),i.setActionHandler("play",P),i.setActionHandler("pause",O)),()=>{l=!1,o.current=!1,j(),s?.unload(),n.current===s&&(n.current=null),i&&(i.setActionHandler("play",null),i.setActionHandler("pause",null))}},[e.artist,e.title,O,P,w,j,t]);const x=(0,s.useCallback)(()=>{u?O():P()},[u,O,P]),_=(0,s.useCallback)(()=>{if(c.current){const e=a.current||l.current;return a.current=e,c.current=!1,n.current?.volume(e),n.current?.mute(!1),b(e),void f(!1)}a.current>0&&(l.current=a.current),c.current=!0,n.current?.mute(!0),f(!0)},[]);return{changeVolume:(0,s.useCallback)(e=>{const t=Math.min(1,Math.max(0,e)),r=0===t;t>0&&(l.current=t),a.current=t,c.current=r,n.current?.volume(t),n.current?.mute(r),b(t),f(r)},[]),displayedVolume:p?0:m,elapsedTime:g,hasError:y,isMuted:p,isPlaying:u,toggleMute:_,togglePlay:x}},b=r(17107),g=r(16887);const h=({displayedVolume:e,isMuted:t,onMuteToggle:r,onVolumeChange:n})=>{const i=(0,s.useRef)(!1),[a,l]=(0,s.useState)(!1),c=()=>{i.current=!1};return(0,o.jsx)("div",{className:`volume-control${a?" keyboard-expanded":""}${t?" muted":""}`,onBlur:({currentTarget:e,relatedTarget:t})=>{e.contains(t)||l(!1)},onFocus:()=>{i.current||l(!0),i.current=!1},onKeyDown:()=>l(!0),onPointerCancel:c,onPointerDown:()=>{i.current=!0,l(!1)},onPointerUp:c,children:(0,o.jsxs)("div",{className:"volume-panel",children:[(0,o.jsx)("input",{"aria-label":"Volumen","aria-valuetext":`${Math.round(100*e)}%`,className:"volume-slider",max:"1",min:"0",step:"0.01",style:{"--volume-level":100*e+"%"},type:"range",value:e,onChange:({target:e})=>n(Number(e.value))}),(0,o.jsx)("button",{"aria-label":t?"Activar sonido":"Silenciar",className:"volume",type:"button",onClick:r,children:t?(0,o.jsx)(g.A,{}):(0,o.jsx)(b.A,{})})]})})};h.propTypes={displayedVolume:d().number.isRequired,isMuted:d().bool.isRequired,onMuteToggle:d().func.isRequired,onVolumeChange:d().func.isRequired};var y=h;const v=({metadata:e,streamUrl:t})=>{const{changeVolume:r,displayedVolume:n,elapsedTime:i,hasError:a,isMuted:s,isPlaying:l,toggleMute:c,togglePlay:u}=m({metadata:e,streamUrl:t});return(0,o.jsxs)("div",{className:"player-card",children:[(0,o.jsxs)("div",{className:"player",children:[(0,o.jsx)("button",{"aria-label":l?"Pausar Eldoce Radio":"Reproducir Eldoce Radio",className:"control",type:"button",onClick:u,children:l?(0,o.jsx)(f.A,{}):(0,o.jsx)(p.A,{})}),(0,o.jsx)("span",{className:"time",children:(d=i,`${Math.floor(d/60)}:${String(d%60).padStart(2,"0")}`)}),(0,o.jsx)("span",{className:"progress","aria-hidden":"true",children:(0,o.jsx)("span",{})}),(0,o.jsx)(y,{displayedVolume:n,isMuted:s,onMuteToggle:c,onVolumeChange:r})]}),a&&(0,o.jsx)("p",{className:"error",role:"status",children:"No pudimos conectar la radio. Intentá nuevamente."})]});var d};v.propTypes={metadata:d().shape({artist:d().string,title:d().string}),streamUrl:d().string};var j=v,w=r(4321),O=r(20663),P=r(19293);const x=({title:e="Eldoce Radio"})=>{const{metaValue:t,requestUri:r="",siteProperties:n={}}=(0,w.useFusionContext)(),i=r.split(/[?#]/)[0],a=`${n.siteBaseUrl?.replace(/\/$/,"")||""}/${i.replace(/^\/+/,"")}`,s=(0,P._e)(t?.("title")||e);return(0,o.jsxs)("div",{className:"rrss",children:[(0,o.jsxs)("p",{className:"claim",children:["Conectados, ",(0,o.jsx)("strong",{children:"toda la vida"})]}),(0,o.jsxs)("div",{className:"share",children:[(0,o.jsx)("span",{children:"Compartir"}),(0,o.jsx)(O.A,{title:s,whatsappTitle:s,url:a})]})]})};x.propTypes={title:d().string};var _=x;var A={customFields:d().shape({streamUrl:d().string.tag({name:"URL de streaming",description:"Opcional. Si no se completa, utiliza la transmisión configurada para El Doce Radio."})})};const S=({customFields:e={}})=>{const{RadioStream:t}=(0,n.A)()||{},r=e.streamUrl||t?.streamUrl;return(0,o.jsx)("section",{className:"brick-radio","aria-label":"Eldoce Radio",children:(0,o.jsx)(i.A,{backgroundContent:(0,o.jsx)(a,{}),children:(0,o.jsxs)("div",{className:"content",children:[(0,o.jsx)(c,{}),(0,o.jsx)(j,{metadata:t?.metadata,streamUrl:r}),(0,o.jsx)(_,{title:t?.metadata?.title})]})})})};S.label="Eldoce Radio",S.propTypes=A;var E=S},31005:function(e,t,r){"use strict";r.r(t);var n=r(46344),i=r(67803),o=r(85349);const a=()=>(0,o.jsx)("div",{className:"brick_full",children:(0,o.jsxs)("div",{className:"brickDownloadApp",children:[(0,o.jsx)("img",{alt:"¡Descargá la app de Eltrece!",className:"downloadapp-image",src:(0,n.A)("/images/eltrece/downloadapp.svg"),loading:"lazy"}),(0,o.jsx)(i.A,{})]})});a.label="Brick Descargar App",t.default=a},42623:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return v}});var n=r(19894),i=r.n(n),o=r(4321),a=r(81463),s=r(20663),l=r(65665),c=r(21945),u=r(85349);var d=()=>{const{globalContent:e,siteProperties:t}=(0,o.useFusionContext)(),{basic:r,mobile:n}=(0,a.Jt)(e,"headlines",{}),{basic:i}=(0,a.Jt)(e,"subheadlines",{}),d=((0,a.Jt)(e,"content_elements")||[]).filter(({type:e})=>"text"===e),p=(0,c.R8)((0,a.Jt)(e,"display_date",(new Date).toISOString()),"DD-MM-YY"),f=Math.trunc(Number((0,a.Jt)(e,"promo_items.basic.embed.config.duration",0))/6e4),m=n?n.concat(" - ",r):r;return(0,u.jsxs)("div",{className:"article__head",children:[n&&(0,u.jsx)("h3",{children:n}),r&&(0,u.jsx)("h1",{className:"article__title",children:r}),i&&(0,u.jsx)("p",{children:i}),d.map((e,t)=>(0,u.jsx)(l.A,{content:e.content,className:"text-group"},t)),(0,u.jsxs)("div",{className:"date",children:[(0,u.jsx)("span",{className:"display-date",children:p}),(0,u.jsxs)("span",{children:[" | ",f,"min"]})]}),(0,u.jsx)(s.A,{title:m,url:`${t.siteBaseUrl}${(0,a.Jt)(e,"canonical_url","")}`,dark:!0})]})},p=r(24906),f=r(9282),m=r(64514);function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function g(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?b(Object(r),!0).forEach(function(t){h(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function h(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const y=()=>{const{globalContent:e,arcSite:t}=(0,o.useFusionContext)(),r=(0,a.Jt)(e,"promo_items.basic.embed.id",""),n=(0,a.Jt)(e,"headlines.basic",""),i=(0,a.Jt)(e,"promo_items.basic.embed.config.created"),s=(0,f.A)((0,a.Jt)(e,"promo_items.basic")),l=(0,m.JA)(g({_id:s.id},s),t,!0);return(0,u.jsxs)("div",{className:"brickFullChapter",children:[(0,u.jsx)(p.A,g({autoplay:!0,enablePlaylist:!0,contentId:r,created:i,thumbnail:l,title:n},s)),(0,u.jsx)(d,{})]})};y.label="CapÃtulo completo",y.propTypes={id:i().string};var v=y},42413:function(e,t,r){"use strict";r.r(t);var n=r(40809),i=r(13287),o=r(70807),a=r(93898),s=r(85349);const l=()=>{const[e,t]=(0,n.useState)("");return(0,n.useEffect)(()=>{const e=(()=>{const e=new URLSearchParams((0,a.jr)()),t=[];return["channel","lang","hidePagesMenu","theme"].forEach(r=>{e.has(r)&&t.push(`${r}=${e.get(r)}`)}),t.length>0?t.join("&"):""})();t(e?`https://mam.eldoce.tv/html/v3/index.html?${e}&theme=eldoce`:"https://mam.eldoce.tv/html/v3/index.html?channel=deportes.futbol.primeraa&lang=es_LA&theme=eldoce")},[]),(0,o.A)(!0,'iframe[src*="mam.eldoce.tv"]',!1),(0,s.jsx)("div",{className:(0,i.A)(["gamecast-box","brick_full"]),children:e&&(0,s.jsx)("iframe",{src:e,width:"100%",height:"auto",frameBorder:"0",loading:"lazy"})})};l.label="Gamecast Embed",t.default=l},74888:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return M}});var n=r(40809),i=r(4321),o=r(10879),a=r(11007),s=r(19269),l=r(8060),c=r(19894),u=r.n(c),d=r(14375),p=r(13287),f=r(29242),m=r(64514),b=r(85349);function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach(function(t){y(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function y(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const v=({program:e})=>{const{arcSite:t}=(0,i.useFusionContext)();if(!e?._id)return null;const{site:r}=e,n="ciudad"===t?`/tags${r.site_url}`:r.site_url,o=e._id.split("/")[1],a=h(h({},e),{},{thumbnail:(0,m.Qh)({_id:o,auth:e.auth,url:e.site_topper.site_logo_image},t)});return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("a",{href:n,children:(0,b.jsx)(f.Ay,{alt:e.name,aspectRatio:"9/16",auth:a.auth,id:o,sizes:{small:149,medium:314,large:314},url:a.site_topper.site_logo_image,externalUrl:!0,lazy:!0})}),(0,b.jsx)("h2",{className:(0,p.A)(["subtitle",{"font__subtitle-regular":"eltrece"===t}]),children:e.name})]})};v.propTypes={program:u().shape({_id:u().string,site:u().shape({site_url:u().string}),auth:u().object,name:u().string,site_topper:u().shape({site_logo_image:u().string})})};var j=v,w=r(19293),O=r(11402);const P=()=>(0,b.jsx)(O.Ay,{speed:1,viewBox:"0 0 100 100",backgroundColor:"#d1d1d1",foregroundColor:"#bababa",preserveAspectRatio:"xMinYMax slice",children:(0,b.jsx)(b.Fragment,{children:(0,b.jsx)("rect",{x:"0",y:"0",width:"100",height:"100"})})});var x=()=>(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("div",{className:"skeleton-container",children:(0,b.jsx)(P,{})}),(0,b.jsx)("div",{className:"skeleton-title"})]});const _=({id:e})=>
2{const[t,r]=(0,n.useState)(null),i=(0,d.useContent)({source:e?"section-service":null,query:{_id:(0,w.fq)(e)}});return(0,n.useEffect)(()=>{i?._id&&r(i)},[i]),e&&t?._id?(0,b.jsx)("div",{className:"program",children:(0,b.jsx)(j,{program:t})}):(0,b.jsx)("div",{className:"skeleton-program",children:(0,b.jsx)(x,{})})},A=({programs:e,isMobile:t})=>e?.length?t?(0,b.jsx)(b.Fragment,{children:e.map((e,t)=>(0,b.jsx)("div",{className:"programs-container",children:(0,b.jsx)("div",{className:"programList",children:e.map((e,r)=>(0,b.jsx)(_,{id:e},`program-${t}-${r}`))})},`page-${t}`))}):(0,b.jsx)("div",{className:"programs-container",children:(0,b.jsx)("div",{className:"programList",children:e.map((e,t)=>(0,b.jsx)(_,{id:e},`program-${t}`))})}):null;A.propTypes={programs:u().array,isMobile:u().bool},_.propTypes={id:u().string};var S=A,E=r(7315),T=r(72140);function N(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function k(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?N(Object(r),!0).forEach(function(t){C(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):N(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function C(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const D=({sortType:e,onSort:t})=>(0,b.jsx)("div",{className:"sorting-filter",children:(0,b.jsx)(E.A,{title:"Ordenar por",sublinks:[k({title:"Más nuevos",onClick:()=>t("Más nuevos")},"Más nuevos"===e&&{className:"active"}),k({title:"Más antiguos",onClick:()=>t("Más antiguos")},"Más antiguos"===e&&{className:"active"})],Icon:T.A})});D.propTypes={sortType:u().string.isRequired,onSort:u().func.isRequired};var I=D;const L=(0,n.memo)(S),R=()=>{const{requestUri:e}=(0,i.useAppContext)(),t=(0,o.Ay)(!1),{globalContent:{children:r}}=(0,i.useFusionContext)(),c=(0,s.Sx)(e),[u]=(0,n.useState)(t?6:9),[d,p]=(0,n.useState)(w.Bd?t?[Array.from({length:6}).map(()=>null)]:Array.from({length:9}).map(()=>null):[]),[f,m]=(0,n.useState)("Más nuevos"),[g,h]=(0,n.useState)(!0),[y,v]=(0,n.use
2State)(1),j=(0,n.useMemo)(()=>(0,s.ZP)(r,c),[r,c]),O=(0,n.useMemo)(()=>(0,s.tg)(j,u,"Más nuevos"!==f)||[],[j,f]);return(0,n.useEffect)(()=>{O?.length&&(p(e=>{if(t){return[...e.map(e=>e.filter(Boolean)).filter(e=>e.length),O[y-1]]}return[...e.filter(Boolean),...O[y-1]]}),h(!1))},[y,O]),w.Bd||!O.length||d.length||(p(t?[O[0]]:O[0]),h(!1)),(0,b.jsx)("div",{className:"brickPrograms",children:(0,b.jsxs)(a.A,{children:[(0,b.jsx)(I,{sortType:f,onSort:e=>{f!==e&&(m(e),p([]),1!==y&&v(1))}}),(0,b.jsx)("h2",{className:"title font__display",children:"Programas"}),(0,b.jsx)(L,{programs:d,isMobile:t}),(0,b.jsx)(l.A,{isDark:!0,currentPage:y,disabled:g,feedSize:u,label:g?"Cargando...":"Cargar más programas",onClick:()=>{h(!0),setTimeout(()=>{v(e=>e+1)},0)},totalCount:j?.length})]})})};R.label="Brick Lista de Programas";var M=R},19587:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return m}});var n=r(19894),i=r.n(n),o=r(4321),a=r(42740),s=r(20615),l=r(11007),c=r(85349);const u=({description:e})=>e?(0,c.jsx)("h2",{className:"subheadline",children:e}):null;u.propTypes={description:i().string};var d=u,p=r(89899);const f=({customFields:{showPreviewOnDesktop:e,previewDuration:t}})=>{const{globalContent:r}=(0,o.useFusionContext)();return(0,c.jsx)("div",{className:"season-dark relative width_full dark",children:(0,c.jsxs)(l.A,{children:[(0,c.jsxs)("div",{className:"breadcrumb font__subtitle",children:[(0,c.jsx)("a",{className:"uppercase",href:"/",children:"Eltrece"}),(0,c.jsx)(a.A,{})]}),(0,c.jsx)("h1",{className:"headline",children:r.name}),(0,c.jsx)(d,{description:r.description}),(0,c.jsx)("div",{className:"brick_one brick_full brick_main",children:(0,c.jsx)(p.A,{article:r.latestStory,includedFields:["headline","media"],lazy:!1,hideEditableContent:!0})}),r.hasChapters&&(0,c.jsx)(s.A,{element:{url:r._id},previewDuration:t,showPreviewOnDesktop:e})]})})};f.label="Temporada - bloque dark",f.propTypes={customFields:i().shape({showPreviewOnDesktop:i().bool.tag({name:"Previsualizar video del carrusel en desktop",defaultValue:!1}),previewDuration:i().number.tag({name:"Duración de la previsualización (seg)",defaultValue:10})})};var m=f},84860:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return O}});var n=r(40809),i=r(4321),o=r(39211),a=r(19894),s=r.n(a);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(t){u(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function u(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const d=e=>s().string.tag({name:"Nombre torneo",group:e}),p=e=>s().string.tag({name:"Url",group:e}),f=e=>s().string.tag({name:"Image",group:e}),m=e=>{const t=`Torneo ${e}`;return{[`buttonTitle${e}`]:d(t),[`url${e}`]:p(t),[`image${e}`]:f(t)}},b={title:s().string.tag({name:"TÃtulo principal",defaultValue:null}),shareToolbar:s().bool.tag({name:"Share Toolbar",defaultValue:!1})};var g={customFields:s().shape(c(c(c(c(c(c(c(c(c({},b),m(1)),m(2)),m(3)),m(4)),m(5)),m(6)),m(7)),m(8)))},h=r(20663),y=r(16601),v=r(10879),j=r(85349);const w=({customFields:e})=>{const t=(0,i.useFusionContext)(),r=t.requestUri,a=t.siteProperties?.siteBaseUrl,s=`${a}${r}`,{title:l,shareToolbar:c}=e,u=(0,v.Ay)(!0),d=()=>u?(0,j.jsx)(y.A,{title:"Compartir",url:s,showLabel:!0}):(0,j.jsx)(h.A,{title:"Compartir",url:s,isCollapsable:!0,showLabel:!0}),p=(0,n.useMemo)(()=>{const t=[];for(let n=1;n<=8;n+=1){const i=e[`url${n}`],a=e[`buttonTitle${n}`],s=e[`image${n}`];
2if(i){const e=r.startsWith(i)||r.includes(a.toLowerCase());t.push((0,j.jsx)(o.A,{content:a,url:i,image:s,className:"stats-navigation__tournament"+(e?" active":"")},n))}}return t},[e,r]);return 0===p.length?null:(0,j.jsxs)("div",{className:"stats-navigation__container",children:[l&&(0,j.jsx)("h3",{className:"stats-navigation__title",children:l}),(0,j.jsx)("ul",{className:"stats-navigation__tournaments",children:p}),c&&s&&(0,j.jsx)(d,{})]})};w.propTypes=g,w.label="Navegacion estadÃsticas";var O=w},49235:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return u}});var n=r(19293),i=r(54983),o=r(19894),a=r.n(o);var s={customFields:a().shape({segmentID:a().string.tag({name:"ID de segmento",defaultValue:""})})},l=r(85349);const c=({customFields:e})=>{let t;const{segmentID:r}=e;if(r){t={id:r,name:(0,n.xb)(r)}}return(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(i.A,{customSegment:t,isBrick:!0})})};c.label="Brick suscribir a notificaciones",c.propTypes=s;var u=c},53358:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return T}});var n=r(4321),i=r(79517),o=r(40809),a=r(19894),s=r.n(a),l=r(13287),c=r(81463),u=r(39211),d=r(3317),p=r(21177),f=r(85349);const m=({textColor:e})=>(0,f.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"115",height:"36",fill:"none",viewBox:"0 0 115 36",children:[(0,f.jsx)("g",{clipPath:"url(#clip0_17253_57317)",children:(0,f.jsx)("path",{fill:"#ff7416",d:"m32.46 17.978-.026.268c-.145 1.314-.4 2.604-.857 3.846-.493 1.345-1.24 2.557-2.092 3.702-1.177 1.577-2.542 2.953-4.257 3.953a13.8 13.8 0 0 1-5.148 1.751c-1.13.153-2.261.189-3.388.08q-.215-.022-.432-.048c-2.566-.337-4.823-1.375-6.763-3.086-2.15-1.896-3.458-4.285-4.073-7.068-.19-.86-.123-1.735-.056-2.603q.03-.4.077-.794a10 10 0 0 1 .372-1.82c.824-2.649 2.39-4.712 4.783-6.136.926-.55 1.938-.847 2.984-1.039.9-.162 1.807-.242 2.727-.18q.192.013.38.037a8.1 8.1 0 0 1 3.302 1.13c1.963 1.18 3.303 2.853 3.849 5.102q.366 1.505.155 2.906c-.16 1.053-.574 2.06-1.261 3.014-.053.071-.093.15-.139.228l.064.055c.088-.082.183-.156.26-.246.758-.89 1.203-1.925 1.421-3.05l.052-.293c.204-1.314.13-2.616-.28-3.886-.428-1.32-1.253-2.38-2.188-3.38-1.443-1.54-3.222-2.31-5.234-2.642q-.277-.046-.556-.08c-3.103-.386-5.74.64-8.085 2.569-2.33 1.917-3.603 4.458-4.079 7.394q-.025.157-.043.317c-.08.75-.032 1.53.023 2.287.087 1.203.307 2.39.756 3.522.638 1.607 1.445 3.129 2.601 4.414 1.71 1.9 3.8 3.25 6.269 3.988 1.024.307 2.06.534 3.114.646q.595.065 1.2.077c1.824.032 3.58-.307 5.295-.906.55-.192 1.01-.047 1.394.397.377.436.545.934.532 1.496-.01.415-.261.683-.62.813q-.909.329-1.843.587c-1.447.402-2.907.71-4.425.7a21 21 0 0 1-1.533-.068c-3.947-.318-7.472-1.766-10.521-4.444-2.752-2.42-4.483-5.439-5.17-9.057-.28-1.482-.315-2.961-.158-4.453l.008-.076c.171-1.564.43-3.115 1.097-4.549 1.375-2.956 3.325-5.439 6.164-7.136 1.61-.962 3.364-1.519 5.225-1.753 1.117-.14 2.24-.165 3.355-.054l.207.02c2.338.272 4.441 1.148 6.3 2.595 2.436 1.898 3.923 4.399 4.638 7.382.175.73.169 1.473.131 2.214-.023.454-.054.907-.106 1.358-.07.6-.176 1.195-.355 1.778-.857 2.802-2.529 4.952-5.112 6.36-1.02.556-2.139.806-3.278.966a10 10 0 0 1-2.424.065 8 8 0 0 1-.716-.11c-3.226-.656-6.124-3.204-6.664-6.832a7.5 7.5 0 0 1-.013-2.228c.18-1.19.675-2.301 1.511-3.314q.091-.11.175-.224c.015-.018.016-.046-.019-.123-.109.09-.226.172-.326.272-.89.893-1.426 1.978-1.69 3.203l-.038.186c-.283 1.463-.21 2.914.28 4.328.439 1.274 1.261 2.3 2.182 3.268 1.336 1.403 2.967 2.199 4.852 2.56q.234.044.466.077c2.494.375 4.82-.096 7-1.44 2.757-1.7 4.493-4.141 5.334-7.254a10 10 0 0 0 .284-1.538 11.5 11.5 0 0 0-.03-2.54c-.175-1.49-.506-2.935-1.179-4.288-.724-1.459-1.529-2.87-2.717-4.005A14.45 14.45 0 0 0 18.58 3.46a16 16 0 0 0-1.887-.321 14.5 14.5 0 0 0-6.655.827c-.49.18-.854.061-1.202-.251-.487-.44-.683-1.006-.65-1.65.022-.41.286-.677.644-.797a44 44 0 0 1 2.493-.753 14.2 14.2 0 0 1 4.006-.511q.688.012 1.363.071c2.744.228 5.333.998 7.737 2.45 2.997 1.81 5.321 4.234 6.77 7.445.684 1.516 1.074 3.12 1.285 4.769.138 1.082.088 2.161-.023 3.24"})}),(0,f.jsx)("path",{d:"M114.363 13.376c-.29.556-.45 1.16-.658 1.746a2072 2072 0 0 0-2.967 8.392c-.074.213-.173.292-.404.283-.52-.018-1.039-.01-1.559-.003-.162.003-.248-.04-.307-.205-1.213-3.392-2.433-6.782-3.651-10.172-.013-.036-.022-.073-.041-.136h2.189c.868 2.694 1.816 5.373 2.649 8.143.776-2.772 1.692-5.452 2.531-8.167h2.219z",clipRule:"evenodd",fill:e?"#FFF":"#757575"}),(0,f.jsx)("path",{d:"M61.928 23.758h-2.023v-.957l-.444.346c-1.576 1.22-3.673 1.117-5.001-.258-.635-.657-.974-1.473-1.152-2.35-.322-1.5
278-.363-3.154.186-4.695.418-1.175 1.16-2.085 2.369-2.527 1.347-.493 2.587-.266 3.706.627.092.073.165.172.289.207.087-.096.047-.21.045-.313q-.014-1.175-.036-2.35a1 1 0 0 1 .342-.81c.508-.462.98-.962 1.469-1.446.069-.068.142-.131.25-.232zm-2.013-5.2v-1.996c0-.12-.006-.23-.096-.33-.479-.54-1.04-.956-1.744-1.156-1.035-.294-1.965.075-2.467 1-.39.721-.443 1.515-.434 2.314.01.917.074 1.826.538 2.653.385.687.99 1.025 1.768 1.027 1.013.003 1.742-.549 2.376-1.264.076-.085.058-.185.058-.282zm31.134 2.725 1.206 1.29c-.107.202-.289.31-.452.435-1.535 1.175-3.855 1.318-5.467.333-.963-.587-1.585-1.454-1.921-2.503-.53-1.656-.516-3.33.1-4.96.705-1.865 2.254-2.856 4.254-2.808 2.086.051 3.579 1.254 4.12 3.329.245.939.32 1.89.173 2.885h-6.954c.133 1.003.41 1.907 1.296 2.434 1.288.767 2.489.349 3.645-.435m-4.86-3.715h4.825c-.056-1.44-.817-2.62-2.462-2.633-1.344-.01-2.446 1.216-2.362 2.633m-39.167 1.718h-6.95c.118.987.416 1.845 1.256 2.415.953.648 1.996.528 3.69-.406l1.195 1.274c-.112.215-.305.327-.474.458-1.442 1.123-4.002 1.363-5.624.204-.97-.693-1.569-1.638-1.855-2.766-.396-1.557-.354-3.112.226-4.623.7-1.819 2.268-2.825 4.253-2.772 2.067.056 3.548 1.24 4.097 3.284a7.2 7.2 0 0 1 .186 2.932m-6.879-1.718h4.827c-.048-1.454-.809-2.62-2.456-2.63-1.608-.01-2.336 1.367-2.371 2.63m32.96.925c-.004 1.043-.167 2.055-.654 2.993-.877 1.689-2.29 2.521-4.192 2.496-1.71-.024-3.007-.83-3.78-2.313-1.106-2.124-1.116-4.325.066-6.412 1.681-2.968 6.023-2.93 7.751.016.546.93.808 1.974.81 3.22m-2.093.005c-.024-.698-.116-1.382-.435-2.019-.49-.977-1.278-1.483-2.38-1.427-1.036.052-1.694.652-2.047 1.577-.507 1.327-.484 2.668.09 3.97.367.832 1.04 1.326 1.965 1.404.908.077 1.605-.318 2.114-1.05.512-.737.675-1.577.693-2.455m11.63 3.6c-.986 1.33-2.352 2.024-4.09 1.875-1.576-.134-2.714-.965-3.469-2.326-.697-1.256-.813-2.615-.674-4.013.102-1.026.412-1.98 1.04-2.812 1.057-1.402 2.5-1.91 4.213-1.713 1.252.144 2.243.771 3.068 1.748l-1.22 1.45c-.27-.222-.518-.446-.786-.645-.623-.462-1.324-.703-2.104-.597-1.02.139-1.599.807-1.9 1.723a5.35 5.35 0 0 0 .012 3.479c.638 1.856 2.582 2.332 4.046 1.008.19-.172.337-.392.533-.625zm16.297-6.923h-1.444v-1.909h1.408c.112-.12.075-.235.075-.34q.006-.907 0-1.816c-.001-.149.017-.26.172-.34.612-.314 1.216-.64 1.873-.988v3.472h2.593v1.899h-2.505c-.11.125-.074.239-.074.343l-.002 5.422c0 .158.005.316.044.472.115.455.379.67.846.692a3.16 3.16 0 0 0 1.398-.266l.315-.133c-.082.602-.158 1.15-.229 1.698-.014.102-.068.157-.156.198-.869.402-1.777.55-2.707.294-1.019-.28-1.39-1.083-1.525-2.036a5 5 0 0 1-.039-.653c-.003-1.876 0-3.754-.003-5.63 0-.118.023-.239-.04-.379m-47.8 8.561c-.105.072-.187.055-.265.055-.588.002-1.175.001-1.749.001-.085-.126-.052-.238-.052-.343-.002-4.06 0-8.121-.005-12.181 0-.192.045-.334.188-.472.545-.525 1.076-1.065 1.616-1.596.066-.065.114-.168.267-.155zm44.33-2.961c.811 0 1.5.678 1.493 1.473-.007.806-.693 1.486-1.494 1.478-.794-.007-1.47-.677-1.477-1.464-.008-.8.674-1.487 1.477-1.487",fill:e?"#FFF":"#757575"}),(0,f.jsx)("defs",{children:(0,f.jsx)("clipPath",{id:"clip0_17253_57317",children:(0,f.jsx)("path",{fill:"#fff",d:"M0 0h33v36H0z"})})})]});m.propTypes={textColor:s().bool};var b=m,g=r(50657);const h=({data:e,direction:t,extendedImage:r,headline:n,isDark:i=!1,showLiveDot:a=!1,showLogo:s=!1,size:m,subheadline:h,transform:y})=>{const{media:v,url:j,type:w}=(0,o.useMemo)(()=>{const t=y(e);return{media:t.media,url:t.url,type:t.type}},[e,y]),O=!(0,c.Im)(v),P=(0,l.A)(["brick_live-extended","card__container",m,{card__horizontal:"horizontal"===t,card__vertical:"vertical"===t,dark:i,light:!i}]),x=(0,o.useCallback)(()=>(0,f.jsx)(b,{textColor:i}),[i]);return(0,f.jsxs)("div",{className:P,children:[O&&(0,f.jsx)("div",{className:"media-container",children:(0,f.jsx)(d.A,{link:{url:j,title:n},media:v,contentType:w,customThumbnail:r})}),(0,f.jsxs)("div",{className:"card__body",children:[(0,f.jsxs)("div",{className:"card__volantas",children:[s&&(0,f.jsx)(p.A,{LogoVolanta:x}),a&&(0,f.jsx)(g.A,{className:"brick_live__live-button"})]}),n&&(0,f.jsx)("h2",{className:"card__headline font__display",children:n}),h&&(0,f.jsx)("p",{className:"card__subheadline font__body",children:h}),(0,f.jsx)(u.A,{variant:"text",content:"Ir al vivo",url:"https://eldoce.tv/vivo/",target:"_blank"})]})]})};h.propTypes={data:s().object.isRequired,direction:s().oneOf(["horizontal","vertical"]),extendedImage:s().string,headline:s().string,isDark:s().bool,showLiveDot:s().bool,showLogo:s().bool,size:s().string,
2subheadline:s().string,transform:s().func.isRequired};var y=h,v=r(90892),j=r(31673),w=r(13662);function O(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function P(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?O(Object(r),!0).forEach(function(t){x(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):O(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function x(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var _,A={customFields:s().shape(P(P({contentId:s().string.tag({name:"Genoa ID"}),customPlayerId:s().string.tag({name:"Player ID"}),size:w.uo.size(["brick_full","brick_mayor","brick_menor"]),showLive:s().bool.tag({name:"Mostrar vivo",defaultValue:!0}),showPlayer:w.uo.showPlayer,isExtended:s().bool.tag({name:"¿Activar versión extendida? (ElDoce)",defaultValue:!1})},(_="Versión default",{title:s().string.tag({name:"TÃtulo",group:_}),titleUrl:s().string.tag({name:"URL TÃtulo",group:_}),liveTitle:s().string.tag({name:"TÃtulo inferior",group:_}),pageUrl:s().string.tag({name:"URL tÃtulo inferior",group:_})})),(e=>({isDark:s().bool.tag({name:"Versión Dark",defaultValue:!1,group:e}),showLogo:s().bool.tag({name:"Mostrar logo ElDoce",defaultValue:!1,group:e}),showLiveDot:s().bool.tag({name:"Volanta En Vivo",defaultValue:!1,group:e}),extendedTitle:s().string.tag({name:"TÃtulo",group:e}),extendedSubtitle:s().string.tag({name:"Bajada",group:e}),extendedImage:s().string.tag({name:"URL Imagen Placeholder",description:"Imagen para mostrar en el placeholder del vivo.",group:e})}))("Versión extendida")))},S=r(82854);const E=({customFields:e})=>{const{contentId:t,customPlayerId:r,extendedImage:o,extendedSubtitle:a,extendedTitle:s,isDark:l=!1,isExtended:c,liveTitle:u,pageUrl:d,showLive:p,showLiveDot:m,showLogo:b,showPlayer:h=!1,size:w,title:O,titleUrl:P}=e,{isAdmin:x,arcSite:_}=(0,n.useAppContext)(),{id:A}=(0,n.useComponentContext)(),E={liveTitle:u,contentId:t,pageUrl:d,showPlayer:h,customPlayerId:r},{componentSize:T,elementRef:N}=(0,S.A)(A,w);return["eltrece","ciudad"].includes(_)&&!p?null:(0,f.jsxs)("div",{className:`brick_live ${T} ${x?"isOutsideContainer":""}`,ref:N,children:[O&&!c&&(0,f.jsx)(v.A,{titleUrl:P,title:O,className:"brick_live__title",children:(0,f.jsx)(g.A,{className:"brick_live__live-button"})}),!c&&(0,f.jsx)(i.A,{className:"brick_live__video",direction:"vertical",data:E,includedFields:["media","headline"],transform:j.mS}),c&&"eldoce"===_&&(0,f.jsx)(y,{data:E,direction:"brick_full"===T?"horizontal":"vertical",extendedImage:o,headline:s,isDark:l,showLiveDot:m,showLogo:b,size:T,subheadline:a,transform:j.mS})]})};E.propTypes=A,E.label="Brick vivo";var T=E},99418:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return N}});var n=r(40809),i=r(4321),o=r(13287),a=r(19293),s=r(14375);var l=(e="",t="",r="",i=!1,o=!1)=>
2{const[a,l]=(0,n.useState)(e),[c,u]=(0,n.useState)(!1),d=(0,s.useContent)({source:"popular-stories-ga4",query:{startDate:"yesterday",endDate:"today",maxResults:5,primarySection:a,tagFilters:t,disallowTagFilters:r},staticMode:o,transform(e={content_elements:{}}){const t=e.content_elements;return t.length&&(t[0].primarySection=a),Object.values(t)}})||[];return(0,n.useEffect)(()=>{i&&!c&&a&&0===d?.length&&(l(""),u(!0))},[a,d,i,c]),d},c=r(79517),u=r(31673),d=r(30679),p=r(19894),f=r.n(p),m=r(13662);var b={customFields:f().shape({title:m.uo.title(),filters:f().list.tag({label:"Tag para quitar de más leidas"})})},g=r(81463),h=r(95118),y=r(78907);const v="politica",j=["cine-y-series","internacional","musica","teatro","tecno"],w=["el-doce-y-vos","internacional","patrocinado","politica","opinion"],O=["convocatorias"];var P=r(74771),x=r(44106),_=r(85349);function A(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function S(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?A(Object(r),!0).forEach(function(t){E(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):A(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function E(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const T=({customFields:e})=>{const{title:t,filters:r}=e,{isAdmin:s,arcSite:p}=(0,i.useAppContext)(),{globalContent:f}=(0,i.useFusionContext)(),{ELECCIONES2023_PAGE_TYPE:m}=h.F,b=(0,y.A)(),A=(0,a.JU)(f),E=f?.taxonomy?.sections?.find(e=>e._id?.replace(/\/$/,"")===`/${A}`)||{name:""},T=(0,P.A)(),N="eltrece"===p&&O.includes(A),k=b===m?"Mauricio Macri,Horacio RodrÃguez Larreta,Elecciones,Elecciones 2023,campaña electoral,Patricia Bullrich,Cristina Kirchner,Cristina Fernández,Jorge Macri,Javier Milei,Juan Grabois,Sergio Massa,Alberto Fernández,Axel Kicillof,Victoria Tolosa Paz,Myriam Bregman,Frente de izquierda,Unión por la Patria,Frente de Todos,Juntos por el Cambio,Leandro Santoro,Diego Santilli,Maria Eugenia Vidal,Facundo Manes,Nicolas del Caño,Florencio Randazzo,Jose Luis Espert":"",C=(0,g.Im)(r)?"":r.filter(e=>e.trim().length>2).join(","),D="ciudad"===p?j.includes(A)?A:"":"eldoce"===p?w.includes(A)?"":A:N?"":b===m?v:A,I=l(D,k,C,"eltrece"===p&&!!D),L=0===I.length,R=(e,t)=>({id:e._id,name:(0,g.Jt)(e,"headlines.basic",""),creative:(0,g.Jt)(e,"taxonomy.primary_section.path",""),list:"las mas leidas",position:t+1});(0,n.useEffect)(()=>{if(0===I.length)return;const e={event:"promo-Imp",promos:I.map(R)};(0,a.d)(e)},[I]);const M=()=>{switch(p){case"ciudad":return["headline"];case"eldoce":case"tn":return["headline","author"];case"eltrece":return["headline","media"];default:return[]}};
2return L&&s?(0,_.jsx)(x.A,{text:"El brick no dispone de notas para mostrar."}):(0,_.jsx)(_.Fragment,{children:!L&&(0,_.jsxs)("div",{className:(0,o.A)(["brick_most-read brick_menor",{isOutsideContainer:s,hidedivider:T}]),children:[(0,_.jsx)(d.A,{title:(()=>{switch(p){case"tn":return t?`${t}`:`Las más leÃdas${E.name&&` de ${E.name}`}`;case"eltrece":{const e=E?.name&&E._id===`/${I[0]?.primarySection}`;return t?`${t}`:"Las más leÃdas"+(e&&!N?` de ${E.name}`:"")}case"ciudad":return t?`${t}`:"Las más leÃdas";case"eldoce":return t?`${t}`:"Lo más leÃdo";default:return null}})()}),(0,_.jsx)("div",{className:"brick_most-read__body",children:I&&I.map((e,t)=>(0,_.jsxs)("div",{className:"brick_most-read__story",onMouseDown:r=>((e,t,r)=>{0!==e.button&&1!==e.button||(0,a.d)({event:"promo-click",promos:[R(t,r)]})})(r,e,t),children:[(0,_.jsx)("div",{className:(0,o.A)(["brick_most-read__index",{font__display:"eltrece"===p||"tn"===p||"ciudad"===p}]),children:t+1}),(0,_.jsx)(c.A,{direction:"vertical",data:e,className:"card__most__read\n "+(e.credits&&e.credits.by.length>0?" card__most__read_author":" card__most__read_simple"),classNames:S({},"eltrece"===p&&{headlineClassName:"font__subtitle-regular"}),imageSizes:{small:149},includedFields:M(),transform:"ciudad"===p?(0,g.ZI)(u.d8,u.LR,u.wu):(0,g.ZI)(u.d8,u.wu)},t)]},t))})]})})};T.label="Brick mas leÃdas",T.propTypes=b;var N=T},2281:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return g}});var n=r(40809),i=r(13287),o=r(89436),a=r(58205),s=r(95118),l=r(19894),c=r.n(l),u=r(4321),d=r(85349);const p=({cover:e})=>{const{arcSite:t}=(0,u.useFusionContext)(),r=()=>{switch(t){case"eldoce":return{cuarteteando:(0,d.jsx)("use",{href:"#logoCuarteteando"})};case"tn":return{autos:(0,d.jsx)("use",{href:"#logoAutos"}),campo:(0,d.jsx)("use",{href:"#logoCampo"}),cocina:(0,d.jsx)("use",{href:"#logoCocina"}),deportes:(0,d.jsx)("use",{href:"#logoDeportes"}),economia:(0,d.jsx)("use",{href:"#logoEconomia"}),estilo:(0,d.jsx)("use",{href:"#logoEstilo"}),musica:(0,d.jsx)("use",{href:"#logoMusica"}),politica:(0,d.jsx)("use",{href:"#logoPolitica"}),running:(0,d.jsx)("use",{href:"#logoRunning"}),salud:(0,d.jsx)("use",{href:"#logoSalud"}),show:(0,d.jsx)("use",{href:"#logoShow"}),tecno:(0,d.jsx)("use",{href:"#logoTecno"}),tnylagente:(0,d.jsx)("use",{href:"#logoTNyLaGente"}),todesnosotres:(0,d.jsx)("use",{href:"#logoTodesNosotres"})};case"ciudad":return{"los-mas-clickeados":(0,d.jsx)("use",{href:"#logoLosMasClickeados"})};default:return{}}};return r()[e]?(0,d.jsx)("svg",{children:r()[e]}):null};p.propTypes={cover:c().string};var f=p;var m=()=>{const e=s.R.HOME_PAGE,t=Object.values(s.R).filter(t=>t!==e),r=(0,a.A)(),[l,c]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{const e=()=>{c(!0)};return window.addEventListener("adLogoVisible",e,{passive:!0}),()=>{window.removeEventListener("adLogoVisible",e)}},[]),(0,d.jsx)(d.Fragment,{children:r&&t.includes(r)&&(0,d.jsxs)("div",{className:(0,i.A)(["brick-sponsor",{visible:l}]),children:[l&&(0,d.jsx)(f,{cover:r}),(0,d.jsx)(o.default,{className:"ad-logo",customFields:{type:"logo"}})]})})};const b=()=>(0,d.jsx)(m,{});b.label="Brick Sponsor";var g=b},15614:function(e,t,r){"use strict";var n=r(13287),i=r(19894),o=r.n(i),a=r(4321),s=r(30036),l=r(88444),c=r(79522),u=r(19293),d=r(10879),p=r(85349);function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach(function(t){b(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function b(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const g=(e,t)=>{switch(e){case"eldoce":return null;case"eltrece":return!t&&"Secciones";default:return t?"Cerrar":"Secciones"}},h=({onClick:e,active:t=!1,className:r,ampProps:i={}})=>{const{arcSite:o}=(0,a.useAppContext)(),f=(0,d.jl)()?s.A:l.A,b="tn"===o?f:s.A,h=(0,n.A)(["header__burger-menu
2-container","pointer",r]),y="eltrece"===o?"font__subtitle":"font__subtitle-regular";return(0,p.jsx)("button",m(m({"aria-label":"Desplegar menú",className:h,onClick:e},i),{},{children:(0,p.jsxs)("span",{onClick:(v=e,()=>{(0,u.d)({event:"link-click",eCategory:"hamburguesa",eAction:"click",eLabel:"Menu Hamburguesa"}),v()}),className:"menu-container",children:[t?(0,p.jsx)("span",{className:"close-icon",children:(0,p.jsx)(c.A,{})}):(0,p.jsx)("span",{className:"menu-icon",children:(0,p.jsx)(b,{})}),(0,p.jsx)("span",{className:`burger-menu-title ${y}`,children:g(o,t)})]})}));var v};h.propTypes={active:o().bool,onClick:o().func,className:o().string,ampProps:o().object},t.A=h},5834:function(e,t,r){"use strict";var n=r(19894),i=r.n(n),o=r(15614),a=r(2592),s=r(99936),l=r(19464),c=r(26665),u=r(95118),d=r(58205),p=r(65508),f=r(85349);const m=({arcSite:e,headerType:t,openSideMenu:r,isSideMenuActive:n,onClickSearch:i,isSearchFormActive:m,pushSupported:b})=>{const g="tn"===e,h=(0,d.A)(),y=(0,p.A)("(min-width: 769px)"),v=g&&b&&!1===y,j=!g||!b,{HOME_PAGE:w}=u.R,O="eldoce"===e||"eltrece"===e||"tn"===e&&h===w,P="eldoce"!==e&&"header-global"===t;return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(o.A,{arcSite:e,onClick:r,active:n}),v&&(0,f.jsx)(l.A,{position:"left"}),j&&(0,f.jsx)(s.A,{onClickSearch:i,searchActive:m}),O&&(0,f.jsx)(a.A,{}),P&&(0,f.jsx)(c.A,{})]})};m.propTypes={arcSite:i().string,headerType:i().string,openSideMenu:i().func,isSideMenuActive:i().bool,onClickSearch:i().func,isSearchFormActive:i().bool,pushSupported:i().bool},t.A=m},81024:function(e,t,r){"use strict";var n=r(4321),i=r(13287),o=r(50657),a=r(1471),s=r(10879),l=r(85349);t.A=()=>{const e=(0,s.Ay)(!1,!0),{arcSite:t}=(0,n.useAppContext)(),r="tn"===t,c=(0,i.A)(["header__login-button",{font__action:"ciudad"===t}]),u="eldoce"!==t&&!e,d=(0,l.jsx)(o.A,{className:"header__live-button"});return(0,l.jsxs)("div",{className:"header__buttons-container",children:[u&&(0,l.jsx)(a.A,{className:c,medium:!0,dark:r,light:!r}),"ciudad"===t?(0,l.jsx)("div",{className:"programming-button",children:d}):d]})}},1471:function(e,t,r){"use strict";var n=r(19894),i=r.n(n),o=r(40809),a=r(4321),s=r(49289),l=r(39211),c=r(90924),u=r(85288),d=r(19293),p=r(95118),f=r(78907),m=r(85349);const b=["variant"];function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function h(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const y=e=>{let{variant:t="text"}=e,r=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,b);const n=(0,u.A)()||{},{firstName:i,lastName:y,uuid:v}=n,{arcSite:j}=(0,a.useAppContext)(),{LOGIN_PAGE_TYPE:w}=p.F,O=(0,f.A)(),{text:P,link:x}=(()=>{let e="ciudad"===j?"Iniciar sesión":"Ingresar",t="ingresar";return v&&(e="tn"!==j&&"ciudad"!==j||!i&&!y?"Ir a mi perfil":`${i||""} ${y||""}`,t="mi-perfil"),{text:e,link:t}})();return(0,o.useEffect)(()=>{var e;O!==w&&localStorage.setItem("previousPathname",((e=window.location.pathname).startsWith("/pf/")&&(e=e.replace("/pf/","")),e.endsWith("/")?e.substring(0,e.length-1):e))},[]),(0,m.jsx)(l.A,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach(function(t){h(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEac
2h(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({ariaLabel:"Ingresar",content:P,variant:t,url:(0,c.n)(x),icon:!0,iconPos:"left",IconComponent:s.A,onClick:()=>(0,d.m2)("header_login-button")},r))};y.propTypes={variant:i().string},t.A=y},56349:function(e,t,r){"use strict";var n=r(19894),i=r.n(n),o=r(13287),a=r(23817),s=r(46344),l=r(85349);const c=({onClick:e,active:t,type:r,isLuto:n})=>{const i=(0,o.A)(["header__logo","height_full",{active:t},r]);return(0,l.jsxs)("a",{className:`header__logo-container header__${r}`,title:"Ir a la página principal",href:"/",onClick:e,children:[n&&(0,l.jsx)("img",{className:"header__logo-luto",src:(0,s.A)("/images/crespon-luto.svg"),alt:"Crespón de luto"}),(0,l.jsx)(a.A,{className:i,active:t})]})};c.propTypes={active:i().bool,onClick:i().func,type:i().string,isLuto:i().bool},t.A=c},2592:function(e,t,r){"use strict";var n=r(4321),i=r(14375),o=r(43809),a=r(40809),s=r(85349);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(t){u(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function u(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.A=()=>{const e=(0,i.useContent)({source:"sites-api",query:{website_url:(0,n.useAppContext)().arcSite,hierarchy:"primary",size:3,includedFields:"name,site"}});return(0,s.jsx)("nav",{className:"header__menu","data-testid":"menu",children:e&&(0,s.jsx)("ul",{children:e.children?.map(e=>(0,a.createElement)(o.A,c(c({},e),{},{key:e._id})))})})}},43809:function(e,t,r){"use strict";var n=r(19894),i=r.n(n),o=r(4321),a=r(19293),s=r(85349);const l=e=>{const{name:t}=e,{arcSite:r}=(0,o.useFusionContext)(),n="tn"===r?"font__action":"font__subtitle";return(0,s.jsx)("li",{children:(0,s.jsx)("a",{href:(0,a.Do)(e),onClick:(i=t,()=>{(0,a.m2)("header_menu-item"),(0,a.d)({event:"link-click",eCategory:"header",eAction:"click",eLabel:i})}),className:n,"data-testid":"menu-item",children:t})});var i};l.propTypes={name:i().string,_id:i().string,originalUrl:i().string},t.A=l},26665:function(e,t,r){"use strict";var n=r(14375),i=r(4321),o=r(43809),a=r(78907),s=r(58205),l=r(95118),c=r(40809),u=r(85349);function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach(function(t){f(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function f(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const{STORY_PAGE_TYPE:m,GALLERY_PAGE_TYPE:b,SECTION_PAGE_TYPE:g,VIDEO_PAGE_TYPE:h,COVER_TYPE:y,PROGRAMS_PAGE_TYPE:v,PROGRAMS_LANDING_PAGE_TYPE:j,SHOWS_PAGE_TYPE:w,VIDEO_LANDING_PAGE_TYPE:O}=l.F;t.A=()=>{const{arcSite:e}=(0,i.useAppContext)();if("ciudad"===e)return null;const t=(0,a.A)(),r=(0,s.A)(),{globalContent:l}=(0,i.useFusionContext)();let d="/";t!==g&&t!==m&&t!==b||(d+=r),t===h&&(d+=t),t===O&&(d+="videos"),t!==j&&t!==v||(d+="programas"),t===y&&(d+=r),"page"!==t&&t!==w||(d+=l?.site?.site_url?.replace(/\//g,"")||l?._id?.replace(/\//g,""));if(["/","/null","/homepage","/undefined","/false"].includes(d))return null;const f=(0,n.useContent)({source:"section-service",query:{_id:d},filter:"{ name, site { site_url } }"});return(0,u.jsx)("nav",{className:"header__menu",children:f&&(0,u.jsx)("ul",{children:(0,c.createElement)(o.A,p(p({},f),{},{key:f._id}))})})}},94093:function(e,t,r){"use strict";r.d(t,{Fm:function(){return m},H4:function(){return f},Yh:function(){return l},cE:function(){return u},jV:function(){return y},lI:function(){return s},mJ:function(){return b},n1:function(){return c},xz:function(){return d}});r(43993);var n=r(40809),i=r(81463),o=r(94547),a=r(19293);const s=e=>{const{hours:t,minutes:r}=e;return t>1?`Hace ${t} horas`:1===t?`Hace ${t} hora`:r>1?`Hace ${r} minutos`:"Hace 1 minuto"},l=e=>{const t=new Date(1e3*e),r=new Date-t,n=Math.floor(r/1e3),i=Math.floor(n/60);return{hours:Math.floor(i/60)%24,minutes:i%60}},c=(e,t)=>(0,i.Im)(e)?t:t.filter(t=>t.included_tags.some(({tag:t})=>e.includes(t))),u=()=>
2{const[e,t]=(0,n.useState)(null);return(0,n.useEffect)(()=>{const e=()=>{t(window.OneSignal.User.getTags()||{})};window.OneSignal?.initialized?e():window.addEventListener("onesignalInitialized",e)},[]),e},d=()=>a.Bd&&window.OneSignal&&window.OneSignal.User.getTags()||null,p="OS_last_notification_seen",f=(e={})=>{if((0,o.V)("localStorage")){const{send_after:t}=e,r=localStorage.getItem(p),n=t||Math.floor(Date.now()/1e3);n>r&&localStorage.setItem(p,n)}},m=e=>{if((0,o.V)("localStorage")){const t=localStorage.getItem(p),r=e.filter(e=>e.send_after>t);if(!(0,i.Im)(r))return!0}return!1},b=({send_after:e})=>{if((0,o.V)("localStorage")){if(e>localStorage.getItem(p))return!0}return!1};function g(){return window.safari&&void 0!==window.safari.pushNotification||window.top!==window&&"Apple Computer, Inc."===navigator.vendor&&"MacIntel"===navigator.platform}function h(){return"undefined"!=typeof PushSubscriptionOptions&&PushSubscriptionOptions.prototype.hasOwnProperty("applicationServerKey")||g()}const y=()=>!a.Bd||h()},19464:function(e,t,r){"use strict";var n=r(19894),i=r.n(n),o=r(40809),a=r(91424),s=r(19293),l=r(85349);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach(function(t){d(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function d(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const p=(0,o.lazy)(()=>Promise.all([r.e(5453),r.e(7274)]).then(r.bind(r,23350))),f=({position:e="right"})=>(0,l.jsx)("div",{className:`notifications bell-${e}`,children:(0,l.jsx)("div",{className:"variant_button tertiary dark medium left_icon bell-button",children:(0,l.jsx)("button",{children:(0,l.jsx)(a.A,{})})})});f.propTypes={position:i().string},t.A=e=>s.Bd?(0,l.jsx)(o.Suspense,{fallback:(0,l.jsx)(f,u({},e)),children:(0,l.jsx)(p,u({},e))}):(0,l.jsx)(f,u({},e))},75361:function(e,t,r){"use strict";var n=r(19894),i=r.n(n),o=r(81024),a=r(19464),s=r(65508),l=r(85349);const c=({arcSite:e,pushSupported:t})=>{const r="tn"===e,n=(0,s.A)("(min-width: 769px)"),i=r&&t&&!0===n;return(0,l.jsxs)(l.Fragment,{children:[i&&(0,l.jsx)(a.A,{position:"right"}),(0,l.jsx)(o.A,{})]})};c.propTypes={arcSite:i().string,pushSupported:i().bool},t.A=c},99936:function(e,t,r){"use strict";var n=r(40809),i=r(4321),o=r(19894),a=r.n(o),s=r(10879),l=r(37582),c=r(19293),u=r(79522),d=r(54831),p=r(85349);const f=({searchActive:e,onClickSearch:t})=>{const r=(0,n.useRef)(null),o=(0,n.useRef)(null),[a,f]=(0,n.useState)(""),m=`${(0,i.useAppContext)().contextPath}/buscar/${a.split(" ").join("-")}/`,{arcSite:b}=(0,i.useAppContext)(),g=(0,s.Ay)(),h=e=>{r.current&&!r.current.contains(e.target)&&(t(),f(""))};(0,n.useEffect)(()=>{if(e)return document.addEventListener("click",h,!0),()=>{document.removeEventListener("click",h,!0)}},[e]);const y="eltrece"===b?"font__subtitle":"font__subtitle-regular",v="eltrece"===b||"tn"===b?"font__body-regular":"font__body";return(0,p.jsxs)("form",{onKeyDown:r=>{e&&27===r.keyCode&&(t(),f(""))},action:m,className:"header__search-form"+(e?" active":""),ref:r,onSubmit:()=>{(0,c.d)({event:"search-click",eCategory:"Search",eAction:"click",eLabel:a})},children:[(!e||"eldoce"===b)&&(0,p.jsxs)("button",{type:"button",className:`search-button ${y}`,onClick:()=>{o.current.focus(),t()},"aria-label":"Buscar",children:[(0,p.jsx)(l.A,{}),(0,p.jsx)("span",{className:"search-title",children:"Buscar"})]}),(0,p.jsxs)("div",{className:"search_input-container",children:[(0,p.jsx)("button",{tabIndex:e?"":"-1",type:"button",className:"search_close-button",onClick:()=>{t(),f("")},children:(()=>{switch(b){case"tn":case"eldoce":case"eltrece":return(0,p.jsx)(u.A,{});case"ciudad":return g?(0,p.jsx)(d.A,{}):(0,p.jsx)(u.A,{});default:return null}})()}),(0,p.jsx)("input",{tabIndex:e?"":"-1",type:"text",value:a,onChange:e=>f(e.target.value),className:`search-input ${v}`,placeholder:(()=>
2{switch(b){case"tn":return"Buscá en TN";case"eldoce":case"eltrece":return"Buscar...";default:return`Buscar en ${b.charAt(0).toUpperCase()+b.slice(1)}`}})(),required:!0,ref:o,"aria-label":"Buscar",alt:"Buscar",name:"Buscar"})]})]})};f.propTypes={searchActive:a().bool,onClickSearch:a().func},t.A=f},10177:function(e,t,r){"use strict";r.r(t);var n=r(40809),i=r(13287),o=r(4321),a=r(14375),s=r(19293),l=r(408),c=r(58205),u=r(5834),d=r(56349),p=r(75361),f=r(95118),m=r(84705),b=r(35370),g=r(94093),h=r(85349);const{HOME_PAGE:y}=f.R;const v=(0,n.lazy)(()=>r.e(3440).then(r.bind(r,93440))),j=({className:e,children:t,isTn:r=!0})=>r?(0,h.jsx)("div",{className:e,children:t}):t,w=({customFields:e})=>{const{isDark:t,isLuto:r}=e,{arcSite:f}=(0,o.useAppContext)(),m=(0,c.A)(),[w,O]=(0,n.useState)(!1),[P,x]=(0,n.useState)(!1),_=(0,n.useRef)(),A="tn"===f,S="eltrece"===f;(0,a.useContent)({source:"sites-api",query:{hierarchy:"hamburger"}}),(0,n.useEffect)(()=>{const e=e=>{const t=document.querySelector(".side-menu.side-menu_active");e?.offsetX>t?.offsetWidth&&x(!1)};return document.addEventListener("click",e),()=>document.removeEventListener("click",e)},[]);
2const[E,T]=(0,n.useState)(S||m===y?"header-home":"header-global");(0,n.useEffect)(()=>{const e=()=>{"header-home"===E&&_.current.getBoundingClientRect().bottom<0?T("header-global"):"header-global"===E&&(_.current.getBoundingClientRect().top>40||0===window.scrollY)&&T("header-home")};return m===y&&"tn"===f&&window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[E]);const N=["header__container","sticky",E,`mouse${(0,l.Ay)({initialDirection:l.fz})}`,{search_active:w},{dark:t&&(S||"ciudad"===f)},{"side-menu-active":P},{home:m===y}],k=(0,g.jV)();return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("header",{className:(0,i.A)(N),children:(0,h.jsxs)("div",{className:"header-content",children:[(0,h.jsx)(b.A,{arcSite:f}),(0,h.jsx)(j,{className:"header-content__left",isTn:A,children:(0,h.jsx)(u.A,{arcSite:f,headerType:E,openSideMenu:()=>{(0,s.m2)("header_burger-menu"),x(!0)},isSideMenuActive:P,onClickSearch:()=>O(!w),isSearchFormActive:w,pushSupported:k})}),(0,h.jsx)(d.A,{onClick:()=>function(e){(0,s.m2)("header_logo"),(0,s.d)({event:"link-click",eCategory:"header",eAction:"click",eLabel:{tn:"Logo TN",eltrece:"Logo eltrece",ciudad:"Logo Ciudad"}[e]})}(f),active:w,isLuto:r}),(0,h.jsx)(j,{className:"header-content__right",isTn:A,children:(0,h.jsx)(p.A,{arcSite:f,pushSupported:k})}),(0,h.jsx)(n.Suspense,{children:(0,h.jsx)(v,{active:P,setSideMenu:x})})]})}),(0,h.jsx)("div",{ref:_})]})};j.propTypes=m.q,w.propTypes=m.A,t.default=w},84705:function(e,t,r){"use strict";r.d(t,{q:function(){return a}});var n=r(19894),i=r.n(n);const o={customFields:i().shape({isDark:i().bool.tag({name:"Fondo oscuro",defaultValue:!1}),isLuto:i().bool.tag({name:"Crespón de luto",defaultValue:!1})})},a={className:i().string,children:i().node,isTn:i().bool};t.A=o},44106:function(e,t,r){"use strict";var n=r(40809),i=r(19894),o=r.n(i),a=r(13287),s=r(19293),l=r(85349);const c=({className:e="width_full",text:t=null,warning:r=!1})=>{const[i]=(0,n.useState)((0,s.DU)()),o=r?"Chequeo recomendado":"Hay un error en este brick";return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{id:i,className:(0,a.A)([e,r?"brick-warning":"brick-error"]),role:"brick-error",children:t||"La url ingresada no es correcta."}),(0,l.jsx)("div",{className:r?"brick-warning-alert":"brick-error-alert",onClick:()=>{const e=document.getElementById(i);if(!e)return;const t=e.getBoundingClientRect().top;window.scrollBy({top:t-60,behavior:"smooth"})},children:o})]})};c.propTypes={brickId:o().string,className:o().string,text:o().string,warning:o().bool},t.A=c},11007:function(e,t,r){"use strict";var n=r(19894),i=r.n(n),o=r(85349);const a=({backgroundContent:e,children:t})=>(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{className:"brick-full-width-background",children:e}),(0,o.jsx)("div",{className:"brick-full-width-background-body",children:t})]});a.propTypes={backgroundContent:i().node,children:i().node.isRequired,className:i().string,titleUrl:i().string},t.A=a},90892:function(e,t,r){"use strict";var n=r(19894),i=r.n(n),o=r(13287),a=r(85349);const s=["children","className","title","titleUrl"];function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(t){u(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function u(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const d=e=>{let{children:t,className:r,title:n,titleUrl:i}=e,l=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,s);return(0,a.jsxs)("h2",c(c({className:(0,o.A)(["brick_title",r])},l),{},{children:[i?(0,a.jsx)("a",{href:i,className:"brick_title_link",target:"_blank",rel:"noreferrer",children:n}):(0,a.jsx)(a.Fragment,{children:n}),t]}))};d.propTypes={children:i().oneOfType([i().text.isRequired,i().object.isRequired]),title:i().text.isRequired,className:i().string,titleUrl:i().string},t.A=d},89899:function(e,t,r){"use strict";var n=r(19894),i=r.n(n),o=r(13287),a=r(59626),s=r.n(a),l=r(14375),c=r(4321),u=r(79517),d=r(31673),p=r(13662),f=r(44106),m=r(81463),b=r(67330),g=r(19293),h=r(85349);const y=["type","article","content","hideEditableContent","className","includedFields","showMaMVolanta","showSpecialVolanta","showRawHtml","isVertical","isStatic","urlFieldName","textError"];function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function j(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?v(Object(r),!0).forEach(function(t){w(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function w(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const O=e=>{let{type:t="default",article:r={},content:n={},hideEditableContent:i,className:a,includedFields:v=["headline","subheadline","volanta","author","media"],showMaMVolanta:w,showSpecialVolanta:O,showRawHtml:P=!0,isVertical:x,isStatic:_=!0,urlFieldName:A="",textError:S=""}=e,E=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,y);const{editableContent:T,searchableContent:N,searchableField:k}=(0,l.useEditableContent)(),{isAdmin:C,arcSite:D}=(0,c.useAppContext)(),{id:I}=(0,c.useFusionContext)(),L={includedFields:v,isVertical:x,showMaMVolanta:w,showSpecialVolanta:O,showRawHtml:P};let R="";switch(t){case"dark":L.transform=(0,m.ZI)(d.d8,d.PQ,d.JW,d.wu),R="dark-brick full-width";break;case"longform":L.transform=(0,m.ZI)(d.d8,d.PQ,d.JW,d.wu),R="card__longform";break;case"video":L.transform=(0,m.ZI)(d.V4,d.d8,d.PQ,d.JW,d.wu),R="card-video dark-brick hover-zoom full-width";break;case"opinion":L.transform=(0,m.ZI)(d.PQ,d.eS,d.wu),R="card__opinion brick-l",L.includedFields=["headline","author","media"],L.volanta=void 0,L.mediaPosition="tn"===D||"eldoce"===D?"center":"top";break;case"vertical":L.transform=(0,m.ZI)((0,d.Bl)("9/16"),d.d8,d.PQ,d.JW,d.wu);break;case"vertical-mobile":L.transform=(0,m.ZI)((0,d.Bl)("360/392"),d.d8,d.PQ,d.JW,d.wu);break;default:L.transform=(0,m.ZI)(d.d8,d.PQ,d.JW,d.wu)}const M=()=>(0,h.jsx)(b.A,{article:r,editMedia:(0,p.d3)(N,n,r),editStory:k({[A]:"website_url"},"story"),canEditMedia:v.includes("media"),canEditStory:!(0,m.Im)(A)});if((0,m.Im)(r))return C?(0,h.jsxs)("div",{className:"brick-error-container",children:[(0,h.jsx)(f.A,{className:a,text:S}),(0,h.jsx)(M,{})]}):null;let F=null,q=null;if("recipe"===r.subtype){const e=(r?.taxonomy?.tags||[]).filter(e=>!!e?.slug),t=(0,g.rY)(e),n=(0,g.UZ)(e),i=e.find(e=>(0,g.F$)([e]).length>0)?.slug||"";F={category:i||"",difficulty:t||""},q={prepTime:n||""}}const U=()=>(0,h.jsx)(u.A,j(j({direction:"vertical",data:r,className:(0,o.A)([R,a]),editableHeadline:(0,p.t2)(i,T,n,r),editableSubheadline:(0,p.Xj)(i,T,n,r),editableVolanta:(0,p.M8)(i,T,n,r),PbButtonsForArticle:M,recipeData:F,recipeFoot:q},E),L));return(0,h.jsx)(h.Fragment,{children:_?(0,h.jsx)(s(),{id:`${I}-${r._id}`,children:U()}):U()})};O.propTypes={type:i().string,article:i().object,content:i().object,hideEditableContent:i().bool,className:i().string,includedFields:i().array,showMaMVolanta:i().bool,showSpecialVolanta:i().bool,showRawHtml:i().bool,isVertical:i().bool,isStatic:i().bool,urlFieldName:i().string,IncludeComponent:i().func,textError:i().string};t.A=O},37675:function(e,t,r){"use strict";var n=r(19894),i=r.n(n),o=r(4321),a=r(85349);const s=({className:e,urlSponsor:t,textSponsor:r})=>{const{arcSite:n}=(0,o.useFusionContext)();return t&&"tn"===n?(0,a.jsxs)("div",{className:e,children:[r&&(0,a.jsx)("span",{className:"sponsor-text font__subtitle-regular",children:r}),(0,a.jsx)("img",{className:"sponsor-image",src:t,alt:"imagen del logo del sponsor"})]}):null};s.propTypes={className:i().string,urlSponsor:i().string,textSponsor:i().string},t.A=s},13662:function(e,t,r){"use strict";r.d(t,{M8:function(){return u},NV:function(){return p},Xj:function(){return c},aQ:function(){return v},d3:function(){return d},mT:function(){return h},qO:function(){return f},t2:function(){return l},uo:function(){return y}});var n=r(19894),i=r.n(n);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?o(Object(r),!0).forEach(function(t){s(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function s(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=(e,t,r,n)=>e?{}:t(r,`content_elements.${n._id}.headlines.print`),c=(e,t,r,n)=>e?{}:t(r,`content_elements.${n._id}.subheadlines.basic`),u=(e,t,r,n)=>e?{}:t(r,`content_elements.${n._id}.headlines.mobile`),d=(e,t,r)=>{const n=r?`content_elements.${r._id}.promo_items.cover`:"promo_items.cover",i={};return["_id","additional_properties.focal_point.min","auth","caption","content","focal_point","height","url","subtitle","type","width"].forEach(e=>{i[`${n}.${e}`]=e}),e(t,i)},p=e=>{if(e){return e.filter(e=>"redirect"===e?.type).length===e.length||0===e.filter(e=>e).length}return!0},f=(e,t,r)=>{if(!e&&!t)return"Debe ingresar un Id de colección o una URL.";if(!e&&"object"==typeof t){let e=0;if(t.forEach(t=>{t||(e+=1)}),e===t.length)return"Debe ingresar un Id de colección o URLs."}return p(r)?e?`La colección ${e} no tiene contenido válido.`:"La URL ingresada no es correcta.":""},m={brick_full:"Brick Full",brick_mayor:"Brick Mayor",brick_menor:"Brick Menor",brick_100:"Brick 100%"},b={horizontal:"Horizontal",vertical:"Vertical"},g={premiereWithSign:{label:"¡Estreno!",show:["eltrece"]},exclusive:{label:"Exclusivo",show:["ciudad","eldoce"]},exclusiveWithSign:{label:"¡Exclusivo!",show:["eltrece"]},urgent:{label:"Urgente",show:["ciudad","eltrece","eldoce"]}},h={showSportResults:(e="")=>i().bool.tag({name:"Mostrar widget resultados",defaultValue:!1,group:`Resultados Deportivos ${e}`}),channelId:(e="")=>i().string.tag({name:"Canal + ID del evento deportivo",defaultValue:"",group:`Resultados Deportivos ${e}`}),teamHome:(e="")=>i().string.tag({label:"Nombre del equipo local",group:`Resultados Deportivos ${e}`}),teamAway:(e="")=>i().string.tag({label:"Nombre del equipo visitante",group:`Resultados Deportivos ${e}`}),sponsorUrl:(e="")=>i().string.tag({label:"Ruta imagen del sponsor",group:`Resultados Deportivos ${e}`}),showSponsor:(e="")=>i().bool.tag({name:"Mostrar sponsor",defaultValue:!1,group:`Resultados Deportivos ${e}`})},y={title:(e="")=>i().string.tag({name:"TÃtulo",defaultValue:e}),subtitle:(e="")=>i().string.tag({name:"Bajada",defaultValue:e}),id:i().string.tag({name:"Id de la Colección"}),marqueeText:i().oneOf(Object.keys(g)).tag({labels:Object.keys(g).reduce((e,t)=>a(a({},e),{},{[t]:g[t].label}),{}),label:"Texto de la marquesina",defaultValue:"urgent",ordered:!1}),offset:i().string.tag({name:"Inicio de la Colección"}),url:(e,t="")=>i().string.tag({name:e,defaultValue:t}),optionalUrl:e=>i().string.tag({name:e}),showMedia:i().bool.tag({name:"Mostrar media",defaultValue:!0}),showVolanta:(e=!0)=>i().bool.tag({name:"Mostrar volanta",defaultValue:e}),showSpecialVolanta:i().bool.tag({name:"Mostrar volanta especial",defaultValue:!1}),showTitle:i().bool.tag({name:"Mostrar tÃtulo",defaultValue:!0}),showSubtitle:i().bool.tag({name:"Mostrar bajada",defaultValue:!1}),showAuthor:i().bool.tag({name:"Mostrar autor",defaultValue:!0}),showLight:i().bool.tag({name:"Modo claro",defaultValue:!1}),showDark:i().bool.tag({name:"Modo oscuro",defaultValue:!1}),showLongform:i().bool.tag({name:"Nota longform",defaultValue:!1}),showMarquee:i().bool.tag({name:"Mostrar marquesina",defaultValue:!1}),showOpinion:i().bool.tag({name:"Nota de opinión",defaultValue:!1}),showVideo:i().bool.tag({name:"Nota de video",defaultValue:!1}),galeriaVertical:i().bool.tag({name:"Galeria Vertical",defaultValue:!1}),showJuegosOlimpicos:i().bool.tag({name:"JJOO",defaultValue:!1}),size:e=>i().oneOf(e).tag({label:"Tamaño",labels:e.reduce((e,t)=>
2a(a({},e),{},{[t]:m[t]}),{}),defaultValue:e[0]}),direction:(e,t="Direccion")=>i().oneOf(e).tag({label:t,labels:e.reduce((e,t)=>a(a({},e),{},{[t]:b[t]}),{}),defaultValue:e[0]}),showImage:i().oneOf(["withoutImage","withImage"]).tag({label:"Mostrar Imagen?",labels:{withoutImage:"Sin Imagen",withImage:"Con Imagen"},defaultValue:"withImage"}),showPlayer:i().bool.tag({name:"Reproducción automática",defaultValue:!1}),text:(e,t="")=>i().string.tag({name:e,defaultValue:t}),lastBrickCard:i().bool.tag({name:"Ãltimo Brick Card",defaultValue:!1}),urlSponsor:i().string.tag({label:"Ruta imagen del sponsor",group:"Sponsor"}),textSponsor:i().string.tag({label:"Texto del sponsor",group:"Sponsor"})},v={title:({name:e="TÃtulo",description:t}={})=>i().string.tag(a({name:e,defaultValue:"",group:"Configuración de header"},t&&{description:t})),previewDuration:({defaultValue:e=5}={})=>i().number.tag({name:"Duración de la previsualización (seg)",defaultValue:e,description:"Tiempo en segundos que se mostrará la vista previa del video"}),showPreroll:i().bool.tag({name:"Mostrar preroll",defaultValue:!1}),adPosition:i().number.tag({name:"Videos previos al preroll",defaultValue:0,description:"Cantidad de videos antes de mostrar el preroll"}),id:({description:e}={})=>i().string.tag(a(a({},y.id),{},{group:"Configuración de colección"},e&&{description:e})),offset:i().string.tag(a(a({},y.offset),{},{group:"Configuración de colección"})),buttonUrl:({name:e="URL",defaultValue:t="/videos/"}={})=>i().string.tag({name:e,defaultValue:t,group:"Configuración del botón"}),buttonText:({name:e="Texto",defaultValue:t="Ir a videos"}={})=>i().string.tag({name:e,defaultValue:t,group:"Configuración del botón"})}},5468:function(e,t,r){"use strict";r.r(t);var n=r(9492),i=r(85349);t.default=()=>(0,i.jsx)(n.default,{})},9492:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return g}});var n=r(4321),i=r(19894),o=r.n(i),a=r(13662);var s={customFields:o().shape({size:a.uo.size(["brick_full","brick_mayor","brick_menor"])})},l=r(63684),c=r(85349);const u=e=>"eldoce"===e?"artear-eldoce":"artear-ciudadmagazine";o().string.isRequired;const d=({arcSite:e})=>{const t=`\n if (${"eldoce"===e?"window.innerWidth < 1024":"true"}) {\n window._taboola = window._taboola || [];\n _taboola.push({\n mode: 'thumbnails-a',\n container: 'taboola-below-article-thumbnails',\n placement: 'Below Article Thumbnails',\n target_type: 'mix'\n });\n }\n `;return(0,c.jsx)("script",{type:"text/javascript",dangerouslySetInnerHTML:{__html:t}})};d.propTypes={arcSite:o().string.isRequired};const p=({arcSite:e})=>{const t="eldoce"===e,r=`\n window._taboola = window._taboola || [];\n _taboola.push({\n mode: '${t?"thumbnails-rr":"RR-Thumbnails"}',\n container: '${t?"taboola-right-rail":"taboola-right-rail-thumbnails"}',\n placement: '${t?"Right Rail":"Right Rail Thumbnails"}',\n target_type: 'mix'\n });\n `;return(0,c.jsx)("script",{type:"text/javascript",dangerouslySetInnerHTML:{__html:r}})};p.propTypes={arcSite:o().string.isRequired};const f=()=>(0,c.jsx)("script",{type:"text/javascript",dangerouslySetInnerHTML:{__html:"\n window._taboola = window._taboola || [];\n _taboola.push({\n mode: 'thumbnails-h',\n container: 'taboola-below-homepage-thumbnails',\n placement: 'Below Homepage Thumbnails',\n target_type: 'mix'\n });\n "}}),m=({arcSite:e})=>(0,c.jsx)("amp-embed",{width:"100",height:"100",type:"taboola",layout:"responsive","data-publisher":u(e),"data-mode":"thumbnails-a","data-placement":"Below Article Thumbnails AMP","data-target_type":"mix","data-article":"auto","data-url":""});m.propTypes={arcSite:o().string.isRequired};const b=({customFields:e})=>{const{arcSite:t}=(0,n.useFusionContext)(),r="ciudad"===t,i="eldoce"===t,o=(0,l.A)(),{size:a}=e;let s=(0,c.jsx)(d,{arcSite:t});
2o&&(r||i)&&(s=(0,c.jsx)(m,{arcSite:t}));const u={brick_menor:{id:i?"taboola-right-rail":"taboola-right-rail-thumbnails",component:o?null:(0,c.jsx)(p,{arcSite:t})},brick_mayor:{id:"taboola-below-homepage-thumbnails",component:o||i?null:(0,c.jsx)(f,{})},brick_full:{id:"taboola-below-article-thumbnails",component:s}},{id:b,component:g}=u[a]||u.brick_full;return g?(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("div",{id:b}),g]}):null};b.label="Taboola",b.propTypes=s;var g=b},87619:function(e,t,r){"use strict";var n=r(19894),i=r.n(n),o=r(85349);const a=({id:e,classList:t,type:r})=>(0,o.jsx)("div",{id:`parent-${e}`,className:t,children:(0,o.jsx)("div",{className:"ad-content",children:(0,o.jsxs)("div",{style:{backgroundColor:"white",opacity:"0.8",padding:"5px"},children:[r," ad ",(0,o.jsx)("div",{children:e})]})})});a.propTypes={classList:i().string,id:i().string,type:i().oneOf(["caja","caja_mobile","fullbanner","header","header_mobile","megalateral","top","vslider","zocalo"])},t.A=a},46933:function(e,t,r){"use strict";var n=r(40809),i=r(4321),o=r(19894),a=r.n(o),s=r(59626),l=r.n(s),c=r(12419),u=r(10879),d=r(67276),p=r(78907),f=r(95118),m=r(83746),b=r(85349);const{STORY_PAGE_TYPE:g}=f.F,h=({id:e,classList:t,type:r})=>{const{arcSite:o}=(0,i.useFusionContext)(),a=(0,u.Ay)(!0),s=(0,p.A)(),f=(0,d.A)(),h=(e=>{switch(e){case"ciudad":case"eltrece":return 64;case"eldoce":return 80;default:return 50}})(o),y=350,v="story"===s?0:(0,c.A)("megalateral"!==r&&"header"!==r&&"header_mobile"!==r),[j,w]=(0,n.useState)(0),[O,P]=(0,n.useState)(),x=(0,n.useRef)(j);(0,m.A)({id:e,type:r});const _=e=>{w(e),x.current=e};return(0,n.useEffect)(()=>{if("header"!==r&&"header_mobile"!==r||s!==g||a)return()=>{};_(window.scrollY);const t=document.querySelector(`#parent-${e}`);t&&P(window.scrollY+t.getBoundingClientRect().y);const n=()=>{(x.current<=y&&window.scrollY>=y||x.current>=y&&window.scrollY<=y)&&_(window.scrollY)};return window.addEventListener("scroll",n,{passive:!0}),()=>{window.removeEventListener("scroll",n)}},[r,s]),"infeed"===r?f?null:(0,b.jsx)("div",{className:"infeed-container",id:e}):(0,b.jsx)("div",{id:`parent-${e}`,className:t,style:"megalateral"===r?{top:h+v}:!a&&"header"===r&&s===g&&O?j<y?{position:"sticky",top:h+v}:{position:"relative",top:y-(O-(h+v))}:{},children:(0,b.jsx)(l(),{id:`ad-${e}`,children:(0,b.jsx)("div",{className:"ad-content",children:(0,b.jsx)("div",{id:e,className:`ad-slot-${r}`})})})})};h.propTypes={classList:a().string,id:a().string,type:a().oneOf(["caja","caja_mobile","caja_mobile_grande","fullbanner","header","header_mobile","megalateral","top","vslider","zocalo","infeed","logo","widget"])},t.A=h},89436:function(e,t,r){"use strict";r.r(t);var n=r(4321),i=r(54148),o=r(87619),a=r(46933),s=r(78907),l=r(887),c=r(85349);const u=e=>{const{globalContent:t={}}=(0,n.useFusionContext)(),r=(0,s.A)(),{isAdmin:l,arcSite:u}=(0,n.useAppContext)(),{customFields:{type:d,sticky:p="",arbitrarySuffix:f=0},className:m}=e,b=(0,i.HB)(d,p,m),g=t?.credits?.by||[],h="tn"===u&&g?.some(e=>"bnteam"===e._id);return l?(0,c.jsx)(o.A,{type:d,classList:b,id:(0,i.OX)(d,String(f))}):h||"caja_mobile"===d&&"story"===r&&f>=7&&f<=10&&f-(7-(0,i.J9)(t))>6?null:(0,c.jsx)(a.A,{type:d,classList:b,id:(0,i.OX)(d,String(f))})};u.propTypes=l.A,t.default=u},54148:function(e,t,r){"use strict";r.d(t,{HB:function(){return s},J9:function(){return l},OX:function(){return a}});var n=r(90151),i=r(81463);const o=e=>e&&"0"!==e?e:"",a=(e,t)=>"caja_mobile_grande"===e?`ad-slot-caja_mobile${o(t)}`:`ad-slot-${e}${o(t)}`,s=(e,t,r)=>{const n=["ad-container",`${e}_ad`,r];return t&&n.push(t),n.join(" ")},l=e=>{const t=(0,i.Jt)(e,"content_elements"),r=["text","custom_embed","image","header","interstitial_link","gallery","oembed_response","link_list","raw_html"];let o=0,a=0,s=0;for(let e=0;e<t.length&&a<6;e+=1)o>=2&&r.includes(t[e].type)&&(s+=1),(0,n.Vs)(t[e])&&(o+=1,1===o&&(a+=1)),s>0&&a<6&&s%4==0&&(a+=1);return s>0&&![6,10,14,18,22].includes(s)&&(a+=1),a}},887:function(e,t,r){"use strict";var n=r(19894),i=r.n(n);const o={isAdmin:i().bool,requestUri:i().string,customFields:i().shape({type:i().oneOf(["caja","caja_mobile","caja_mobile_grande","fullbanner","header","header_mobile","megalateral","top","vslider","zocalo","infeed","logo","widget"]).tag({label:"Ad Type"}),arbitrarySuffix:i().number.tag({label:"Arbitrary Suffix"}),sticky:i().oneOf(["","sticky_top","sticky_bottom"]).tag({label:"Sticky?",defaultValue:"",labels:{"":"no",sticky_top:"top",sticky_bottom:"bottom"}})}),outputType:i().string,globalContent:i().object,className:i().string};t.A=o},33934:function(e,t,r){"use strict";r(58205);var n=r(95118);const{LIVEBLOGGING_SUBTYPE:i,LONGFORM_WITH_BG_SUBTYPE:o,LONGFORM_WITHOUT_BG_SUBTYPE:a,STORY_PAGE_TYPE:s,GALLERY_PAGE_TYPE:l}=n.F,{HOME_PAGE:c}=n.R;t.A=(e,t,r,n,s,l="")=>{const[,c,u]=t.match(/^[/]([^/?#]*)[/]?([^/?#]*)/)||[];let d=null,p=null;if("tags"===c)d=u,p="tags";else{if(u){d={[a]:"longform",[o]:"longform",[i]:"liveblog"}[s]||"nota"}else d="home";c&&(p=n.includes(c)||"home"===d||l.length>0||"envivo"===c?c:"nota")}return`${e}/${p?`${p}/`:""}${l}${d}/${r}`}},6713:function(e,t,r){"use strict";r.r(t),r.d(t,{propTypes:function(){return d}});var n=r(19894),i=r.n(n),o=r(40809),a=r(4321),s=r(77439),l=r(93898),c=r(85349);const u=({customFields:{duration:e=5}})=>{const{isAdmin:t}=(0,a.useAppContext)(),r=6e4*e,n=(0,o.useRef)(null),{DISABLE_AUTOREFRESH:i}=(0,s.A)();if(i)return null;if(r<=0&&!t)return null;const u=(0,o.useCallback)(()=>{n.current&&(clearTimeout(n.current),n.current=null)},[]),d=(0,o.useCallback)(()=>{u(),!t&&r>0&&(n.current=setTimeout(()=>{(0,l.T8)()},r))},[t,r,u]),p=(0,o.useCallback)(e=>{if(t||r<=0)return;const n=e.detail?.type;switch(n){case"play":u();break;
2case"pause":d()}},[t,r,u,d]),f=(0,o.useCallback)(e=>{if(t||r<=0)return;const n=e.detail?.action;switch(n){case"Start":case"Resume":u();break;case"Pause":case"Complete":d()}},[t,r,u,d]),m=(0,o.useCallback)(e=>{if(t||r<=0)return;if("TRINITY_TTS"!==e.data?.type)return;const{action:n=""}=e.data.value;switch(n){case"playerPause":u();break;case"pauseClicked":case"onComplete":d()}},[t,r,u,d]),b=(0,o.useCallback)(e=>{if(t||r<=0)return;const{isPaused:n,isBuffering:i,duration:o=0,position:a=0}=e?.data?.payload||{};void 0!==n&&(a>0&&n||o>0&&a>=o?d():n&&!i||u())},[t,r,u,d]),g=(0,o.useCallback)(e=>{const t=e?.origin||"";if(["https://open.spotify.com","https://trinitymedia.ai"].includes(t))switch(t){case"https://open.spotify.com":b(e);break;case"https://trinitymedia.ai":m(e)}},[b,m]);return(0,o.useEffect)(()=>(!t&&r>0&&d(),u),[t,r,d,u]),(0,o.useEffect)(()=>(document.addEventListener("genoa_pass_data",f,!1),window.addEventListener("message",g),window.addEventListener("genoaPlayerEvent",p),()=>{document.removeEventListener("genoa_pass_data",f),window.removeEventListener("message",g),window.removeEventListener("genoaPlayerEvent",p)}),[g,f]),r<0&&t?(0,c.jsx)("div",{className:"margin-center padding color_red",children:"Duración del Autorefresh inválido. Ingrese un número mayor a 0."}):null},d={customFields:i().shape({duration:i().number.tag({label:"Duration (minutes)"})})};u.propTypes=d,t.default=u},42740:function(e,t,r){"use strict";var n=r(40809),i=r(19293),o=r(58745),a=r(71161),s=r(85349);t.A=()=>{const e=(0,a.A)(),t=e.length-1;return(0,s.jsx)(s.Fragment,{children:e.map((e,r)=>(0,s.jsxs)(n.Fragment,{children:[(0,s.jsx)(o.A,{}),r===t?(0,s.jsx)("span",{className:"font__subtitle-regular",children:e.name}):(0,s.jsx)("a",{href:(0,i.Do)(e),children:e.name})]},r))})}},62296:function(e,t,r){"use strict";r.d(t,{V:function(){return d},p:function(){return u}});var n=r(19293),i=r(81463),o=r(95118);const{TAG_PAGE_TYPE:a,AUTHOR_PAGE_TYPE:s,SEARCH_PAGE_TYPE:l,AUTOMATIC_ELECTION_STORIES_PAGE_TYPE:c}=o.F,u=(e,t)=>{switch(e){case s:return(0,i.Jt)(t,"globalContent.author_bio.byline","");case a:return(0,i.Jt)(t,"globalContent.tag.text","");case l:return`Resultados sobre ${decodeURIComponent((0,i.Jt)(t,"globalContent.query",""))}`;case c:return`Elecciones en ${(0,i.Jt)(t,"globalContent.provincia.name","")}`;default:return}},d=(e,t)=>{if(!e)return[];const r=t?.split(/\//g).slice(1);let i="",o=[e];return r?.forEach(e=>{const{children:t}=o[o.length-1];if(!t||0===t.length)return o;const r=t.find(t=>(0,n.fq)(t._id)===`${i}/${e}`);return r&&(i=(0,n.fq)(r._id),o=[...o,r]),o}),o.slice(1)}},51692:function(e,t,r){"use strict";r.d(t,{KJ:function(){return p},Mx:function(){return f},Yq:function(){return m},n4:function(){return d},t3:function(){return c},xm:function(){return u},zB:function(){return l}});var n=r(44830),i=r(28567),o=r(98872),a=r(83494),s=r(75712);r(38945);const l=[{name:"Cuisine",value:"cuisine",icon:i.A,options:n.uA},{name:"CategorÃas",value:"categories",icon:a.A,options:n.uH},{name:"Método de cocción",value:"cooking-methods",icon:s.A,options:n.$c}],c={name:"Todos los filtros",value:"all",icon:o.A};function u(e=[],t){const r=t.split("?")[0];return e?.map(({_id:e,name:t})=>({_id:e,name:"/cucinare/"===e?"Inicio":t,active:r===e}))||[]}const d=(e=[],t=[])=>e.length===t.length&&e.every(e=>t.includes(e));function p(e){return[...new Set(Object.entries(e).map(([e,t])=>t?e.split(":")[0]:null).filter(Boolean))]}function f(e){return n.CR.find(t=>t.value===e)?.name}function m(e){return n.DA.find(t=>t.value===e)}},56976:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return x}});var n=r(13287),i=r(19894),o=r.n(i);var a={customFields:o().shape({title:o().string.tag({name:"Titulo"}),url:o().string.tag({label:"URL del contenido"}),size:o().oneOf(["brick_mayor","brick_full","brick_menor"]).tag({label:"Tamaño",labels:{brick_mayor:"brick_mayor",brick_full:"brick_full",brick_menor:"brick_menor"},defaultValue:"brick_full"})})},s=r(90892),l=r(40809),c=r(4321);var u=e=>{if(!e)return null;try{const t=new URL(e),r=t.pathname.split("/").filter(Boolean);return"viz.flowics.com"!==t.host||r.length<4||"public"!==r[0]?null:{experience:r[1],visualization:r[2]}}catch{return null}};const d='script[data-current-script="flowicsEmbedScript"]';let p=null;var f=()=>{if(p)return p;return document.querySelector(d)?(p=Promise.resolve(),p):(p=new Promise((e,t)=>
2{const r=document.createElement("script");r.src="https://viz.flowics.com/public/scripts/embed",r.async=!0,r.setAttribute("data-current-script","flowicsEmbedScript"),r.onload=e,r.onerror=t,document.body.appendChild(r)}).catch(e=>{throw document.querySelector(d)?.remove(),p=null,e}),p)},m=r(44106),b=r(85349);const g=new Map,h=({src:e})=>{const t=(0,l.useRef)(null),r=u(e),{isAdmin:n}=(0,c.useAppContext)(),[i,o]=(0,l.useState)(!1),[a,s]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{if(!r||!t.current)return;let n=!1,i=g.get(e);if(!i?.parentNode){if(s(!1),!i){n=!0;const{experience:t,visualization:o}=r;i=document.createElement("div"),i.className="flowics-viz",i.setAttribute("data-fluid","yes"),i.setAttribute("data-ssl","yes"),i.setAttribute("data-experience",t),i.setAttribute("data-visualization",o),g.set(e,i)}return t.current.appendChild(i),n&&f().then(()=>{var e;(e=i)&&"undefined"!=typeof window&&window.__flowicsLoaded&&window.Flowics?.VizManager&&!e.querySelector("iframe")&&window.Flowics.VizManager.loadViz(e)}).catch(()=>o(!0)),()=>{i.parentNode&&i.parentNode.removeChild(i),setTimeout(()=>{i.parentNode||g.get(e)===i&&g.delete(e)},0)}}s(!0)},[e]),(0,l.useEffect)(()=>{o(!1),r&&f().catch(()=>o(!0))},[e]),r?a?n?(0,b.jsx)(m.A,{text:"Ya existe un contenido de Flowics con esta URL"}):null:i?n?(0,b.jsx)(m.A,{text:"No se pudo cargar el script de Flowics"}):null:(0,b.jsx)("div",{ref:t}):n?(0,b.jsx)(m.A,{text:"La URL ingresada no es válida para Flowics"}):null};h.propTypes={src:o().string};var y=h;const v=({customFields:e})=>{const{title:t,url:r,size:i}=e;return r?(0,b.jsxs)("div",{className:(0,n.A)([i]),children:[t&&(0,b.jsx)(s.A,{title:t}),(0,b.jsx)(y,{src:r})]}):null};v.propTypes=a;var j=v;function w(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function O(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const P=e=>(0,b.jsx)(j,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?w(Object(r),!0).forEach(function(t){O(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):w(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},e));P.propTypes=a;var x=P},77898:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return _}});var n=r(4321),i=r(13287),o=r(58745),a=r(85349);var s=()=>{const{globalContent:e}=(0,n.useFusionContext)(),t=e.$?.nombre;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o.A,{}),!t&&(0,a.jsx)("span",{children:"Horóscopo"}),t&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("a",{href:"/horoscopo/",children:"Horóscopo"}),(0,a.jsx)(o.A,{}),(0,a.jsx)("span",{children:t})]})]})};var l=()=>{const{globalContent:e}=(0,n.useFusionContext)(),t=e?.displayName?.title;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o.A,{}),!t&&(0,a.jsx)("span",{children:"Quinielas y LoterÃas"}),t&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("a",{href:"/quinielas-loterias/",children:"Quinielas y LoterÃas"}),(0,a.jsxs)("span",{className:"breadcrumb__lottery-name",children:[(0,a.jsx)(o.A,{}),(0,a.jsx)("span",{children:t})]})]})]})},c=r(78907),u=r(44106),d=r(19894),p=r.n(d);const f=(e,t)=>p().oneOf(["h1","h2","h3","h4","h5","h6","p"]).tag({label:e,defaultValue:t});var m={customFields:p().shape({headline:p().string.tag({label:"Titulo"}),subheadline:p().string.tag({label:"SubtÃtulo"}),logoUrl:p().string.tag({label:"Ruta imagen del logo"}),logoLink:p().string.tag({label:"URL destino"}),darkTheme:p().bool.tag({defaultValue:!1,name:"Brick modo oscuro"}),grayTheme:p().bool.tag({defaultValue:!1,name:"Brick modo gris"}),fullWidth:p().bool.tag({defaultValue:!1,name:"Ancho pantalla completa"}),textAlign:p().oneOf(["align_center","align_left","align_right"]).tag({label:"Posición de texto",labels:{align_center:"Centrado",align_left:"Izquierda",align_right:"Derecha"},defaultValue:"align_center"}),headlineSize:f("Tamaño del tÃtulo","h1"),subheadlineSize:f("Tamaño del subtÃtulo","h2")})};const b=({customFields:{headline:e,subheadline:t,darkTheme:r,fullWidth:o,textAlign:s="",headlineSize:l,subheadlineSize:d,grayTheme:p,logoUrl:f,logoLink:m}})=>{const{isAdmin:b}=(0,n.useAppContext)();if(!e&&!t&&!f)return b?(0,a.jsx)(u.A,{text:"Ingrese tÃtulo/subtÃtulo y/o URL del logo"}):null;const g=(0,c.A)(),h=(0,i.A)(["heading",{"full-width-all":o},p?"gray_brick":r?"dark_brick":"light_brick",s,g]),y=l||"h1",v=d||"h2";return(0,a.jsxs)("div",{className:h,children:[f&&(()=>{const e=(0,a.jsx)("img",{className:"logo-headline","data-testid":"logo-img",src:f,fetchPriority:"high"});return m?(0,a.jsx)("a",{href:m,children:e}):e})(),e?.trim()&&(0,a.jsx)(y,{className:`headline ${g}`,children:e}),t?.trim()&&(0,a.jsx)(v,{className:`subheadline ${g}`,children:t})]})};b.label="Encabezado",b.propTypes=m,b.static=!0;var g=b,h=r(20663);var y={customFields:p().shape({headline:p().string.tag({label:"Titulo",group:"Configuración de header"}),inBody:p().bool.tag({label:"Header dentro del body",description:"Marcar si el componente está ubicad
2o dentro del body de la página. Desmarcar si está fuera del body.",defaultValue:!1,group:"Configuración de header"}),subheadline:p().string.tag({label:"SubtÃtulo",group:"Configuración de header"}),showShareToolbar:p().bool.tag({label:"Mostrar sharetoolbar",defaultValue:!0}),showBreadcrumb:p().bool.tag({label:"Mostrar breadcrumb",defaultValue:!0})})},v=r(10879),j=r(16601),w=r(19293),O=r(95118);const P={[O.F.HOROSCOPE_PAGE_TYPE]:s,[O.F.LOTTERY_PAGE_TYPE]:l},x=({customFields:e})=>{const{headline:t,subheadline:r,showShareToolbar:o,showBreadcrumb:s,inBody:l}=e,u=(0,n.useFusionContext)(),d=u.requestUri,p=u.siteProperties?.siteBaseUrl,f=`${p}${d}`,m=(0,v.Ay)(!0,!0),b=(0,c.A)(),y=P[b],O=(0,i.A)({"full-header-content":!0,"in-body":l});return(0,a.jsx)("div",{className:O,children:(0,a.jsxs)("div",{className:"wrapper-layout max-width center-content",children:[s&&(0,a.jsxs)("div",{className:"breadcrumb font__subtitle",children:[(0,a.jsx)("a",{className:"uppercase",href:"/",children:(0,w.zN)(u.arcSite)}),y&&(0,a.jsx)(y,{})]}),(0,a.jsxs)("div",{className:"main-content",children:[(0,a.jsx)(g,{customFields:{headline:t,subheadline:r}}),o&&("tn"===u.arcSite?null:m?(0,a.jsx)(j.A,{title:"Compartir",url:f,showLabel:!0}):(0,a.jsx)(h.A,{title:"Compartir",url:f,isCollapsable:!0,showLabel:!0}))]})]})})};x.propTypes=y,x.label="Full Header";var _=x},55227:function(e,t,r){"use strict";r.r(t);var n=r(4321),i=r(24906),o=r(13352),a=r(19293),s=r(27664),l=r(85349);const c=()=>{const{globalContent:e}=(0,n.useFusionContext)(),{globalContentConfig:t}=(0,n.useAppContext)(),r=t.query.uri.split("/")[2],c=new URLSearchParams(a.Bd?window.location.search:"").get("disableAds"),{auth:u,thumbnail:d}=e,p=(0,s.Kz)({config:{auth:u,thumbnail:d}});return(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(i.A,{contentId:String(e.content_id),articleUrl:!0,autoplay:!0,disableAds:"true"===c,isVertical:r.includes("vertical"),title:e.name,auth:u,id:(0,o.mM)(d),url:d,thumbnail:p})})};c.label="Genoa Video Player",t.default=c},30178:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return x}});var n=r(40809),i=r(4321),o=r(13287),a=r(19894),s=r.n(a);var l={customFields:s().shape({title:s().string.tag({name:"Titulo"}),url:s().string.tag({label:"URL del contenido"}),height:s().string.tag({label:"Altura Desktop"}),heightTablet:s().string.tag({label:"Altura en Tablets"}),heightMobile:s().string.tag({label:"Altura Mobile"}),size:s().oneOf(["brick_mayor","brick_full","brick_menor"]).tag({label:"Tamaño",labels:{brick_mayor:"brick_mayor",brick_full:"brick_full",brick_menor:"brick_menor"},defaultValue:"brick_full"}),titleRedirect:s().string.tag({label:"Titulo de redirect",defaultValue:!1}),redirectLink:s().string.tag({label:"Link de redirect",defaultValue:!1}),hideInIncognitoMode:s().bool.tag({label:"Ocultar en modo incógnito",defaultValue:!1})})},c=r(90892),u=r(10879),d=r(78907),p=r(70807),f=r(97534),m=r(37612),b=r(85349);function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach(function(t){y(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function y(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const v=({customFields:e})=>{const{title:t,url:a,height:s,size:l,heightMobile:g,heightTablet:y,hideInIncognitoMode:v,titleRedirect:j,redirectLink:w}=e,{arcSite:O}=(0,i.useAppContext)(),P=(0,d.A)(),x=(0,u.Ay)(),_=(0,u.LK)(),[A,S]=(0,n.use
2State)(v),[E,T]=(0,n.useState)(!1),N="tn"===O&&"live"===P||"eldoce"===O;let k=s;_&&y?k=y:x&&g&&(k=g);return(0,p.A)(a?.includes("mam.tn.com.ar"),'iframe[src*="mam.tn.com.ar"]',!1),(0,n.useEffect)(()=>{if(v){(async()=>{const{detectIncognito:e}=await r.e(6280).then(r.bind(r,66280)),t=await e();S(t.isPrivate)})()}a?.includes("eldoce")&&a.includes("agenda_talleres")&&T(!0)},[a]),a?A?null:(0,b.jsxs)("div",{className:(0,o.A)([{"iframe-box":N},l]),children:[t&&(0,b.jsx)(c.A,{title:t}),(0,m.Mc)(a)?(0,b.jsx)(f.A,{src:a}):(0,b.jsx)("iframe",h({src:a,width:"100%",height:k,frameBorder:"0"},(e=>{const t={};return new URL(e).hostname.includes("mam.tn.com.ar")&&(t.referrerPolicy="unsafe-url",t.loading="lazy"),t})(a))),w&&j&&(0,b.jsx)("a",{href:w,className:"redirect-link",children:j}),E&&(0,b.jsx)("div",{className:"divider"})]}):null};v.propTypes=l;var j=v;function w(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function O(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const P=e=>(0,b.jsx)(j,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?w(Object(r),!0).forEach(function(t){O(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):w(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},e));P.propTypes=l;var x=P},52222:function(e,t,r){"use strict";r.r(t);var n=r(14375),i=r(4321),o=r(30679),a=r(79517),s=r(31673),l=r(81463),c=r(85349);function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach(function(t){p(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function p(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const f=()=>{const e=(0,n.useContent)({source:"tag-feed",query:{feed_size:3,name:"historia-de-vida,historias-de-vida",_sourceInclude:"headlines,promo_items,websites,website_url,type"}})||{content_elements:[]};if(!e||!e.content_elements?.length)return null;const{arcSite:t}=(0,i.useFusionContext)(),[r,...u]=e.content_elements;return(0,c.jsxs)("div",{className:"life-stories brick_menor",children:[(0,c.jsx)(o.A,{title:"Historias de vida"}),(0,c.jsxs)("div",{className:"life-stories__container",children:[(0,c.jsx)(a.A,{direction:"vertical",data:r,className:"life-stories__featured",imageSizes:{small:767},includedFields:["headline","media"],transform:(0,l.ZI)(s.d8,s.wu)}),!!u.length&&(0,c.jsx)("div",{className:"life-stories__stories",children:u.map((e,r)=>(0,c.jsx)(a.A,{data:e,direction:"horizontal",className:"life-stories__story",classNames:d({},"eltrece"===t&&{headlineClassName:"font__subtitle-regular"}),imageSizes:{small:149},includedFields:["headline","media"],transform:(0,l.ZI)(s.d8,s.wu)},r))})]})]})};f.label="Historias de Vida",t.default=f},48665:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return E}});var n=r(40809),i=r(13287),o=r(14375),a=r(10879),s=r(408),l=r(4321),c=r(19894),u=r.n(c),d=r(46344),p=r(85349);const f=({withText:e=!1,className:t,text:r})=>{const{arcSite:n}=(0,l.useFusionContext)();return(0,p.jsxs)("div",{className:(0,i.A)([`${n}play-logo`,t]),children:[(0,p.jsx)("img",{alt:"play logo",className:`${n}play-icon`,fetchPriority:"high",src:(0,d.A)(`/images/${n}/${"tn"===n?"videolab":"play"}-logo.svg`)}),e&&(0,p.jsx)("span",{children:r})]})};f.propTypes={className:u().string,withText:u().boolean,text:u().node};var m=f;const b=({withText:e=!1,className:t})=>{const{arcSite:r}=(0,l.useFusionContext)();switch(r){case"eltrece":return(0,p.jsx)(m,{withText:e,className:t,text:"eltrece Play"});case"ciudad":return(0,p.jsx)(m,{withText:!0,className:t,text:(0,p.jsxs)(p.Fragment,{children:["Ciudad ",(0,p.jsx)("b",{children:"Play"})]})});default:return(0,p.jsx)(m,{className:t})}};b.propTypes={className:u().string,withText:u().boolean};var g=b,h=r(13686),y=r(72140),v=r(79522),j=r(19293);const w=({className:e,sections:t,setExpanded:r})=>(0,p.jsxs)("div",{className:`expanded-sections ${e}`,children:[(0,p.jsx)("div",{children:(0,p.jsx)(g,{className:"expanded"})}),(0,p.jsx)("div",{children:(0,p.jsx)("div",{className:"sections-list",children:t.map((e,t)=>(0,p.jsx)("a",{className:"section",href:(0,j.Do)(e),children:e.name},t))})}),(0,p.jsx)("div",{children:(0,p.jsx)("button",{type:"button",className:"pointer close",onClick:()=>r(!1),children:(0,p.jsx)(v.A,{})})})]});
2w.propTypes={className:u().string,sections:u().array,setExpanded:u().func};var O=w;const P=({sections:e,expanded:t,setExpanded:r})=>{const o=(0,n.createRef)();return(0,n.useEffect)(()=>{t?(0,h.mh)(o.current):(0,h.fY)(o.current)},[t]),(0,p.jsxs)("div",{ref:o,className:"sections-container",children:[(0,p.jsxs)("button",{type:"button",className:"pointer chevron",onClick:()=>r(!0),children:[(0,p.jsx)("span",{className:"label",children:"CategorÃas"}),(0,p.jsx)(y.A,{className:(0,i.A)([{up:t},"rotation-effect"])})]}),(0,p.jsx)(O,{className:t?"expanded":"collapsed",sections:e,setExpanded:r})]})};P.propTypes={expanded:u().boolean,setExpanded:u().func,sections:u().array};var x=P;const _=({sections:e})=>(0,p.jsx)("div",{className:"sections-container",children:(0,p.jsx)("div",{className:"sections-list",children:e.map((e,t)=>(0,p.jsx)("a",{className:"section",href:`${(0,j.Do)(e)}`,children:e.name},t))})});_.propTypes={sections:u().array};const A={true:x,false:_},S=()=>{const{children:e}=(0,o.useContent)({source:"sites-api",query:{hierarchy:"Videos"}})||{children:[]};if(!e||0===e.length)return null;const t=(0,a.Ay)(),[r,l]=(0,n.useState)(!1),c=["sticky",`mouse${(0,s.Ay)({initialDirection:s.fz})}`],u=A[t];return(0,p.jsxs)("div",{className:(0,i.A)(["navigation-menu",t&&c,r?"expanded":"collapsed",{"no-js":!j.Bd}]),children:[(0,p.jsx)(g,{withText:!0}),(0,p.jsx)(u,{sections:e,expanded:r,setExpanded:l})]})};S.label="Menú de navegación (landing de videos)";var E=S},3090:function(e,t,r){"use strict";r.r(t);var n=r(40809),i=r(4321),o=r(14375),a=r(19293),s=r(85349);const l=()=>{const e=(0,o.useContent)({source:"sites-api",query:{website_url:(0,i.useAppContext)().arcSite,hierarchy:"subheader",size:5,includedFields:"name,site"}}),[t,r]=(0,n.useState)("subheader");return(0,n.useEffect)(()=>{const e=()=>{window.scrollY>0?r("subheader__hidden"):r("subheader")};return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[]),(0,s.jsx)("div",{className:t,children:(0,s.jsx)("div",{className:"subheader__container",children:e?.children.map((e,t)=>{return(0,s.jsx)("a",{className:"subheader__section",href:(0,a.Do)(e),onClick:(r=e.name,()=>{(0,a.d)({event:"link-click",eCategory:"header",eAction:"click",eLabel:r})}),children:e.name},t);var r})})})};l.label="Subheader Global",t.default=l},95767:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return s}});var n=r(19894),i=r.n(n);const o={customFields:i().shape({text:i().richtext}).isRequired};const a=({customFields:e})=>{const{text:t=""}=e||{};return t};a.propTypes=o;var s=a},10275:function(e,t,r){"use strict";r.r(t);var n=r(19894),i=r.n(n),o=r(14375),a=r(85349);const s=({customFields:{url:e}})=>{const t=e?(e=>(0,o.useContent)({source:"url-content",query:{url:e}}))(e):null;return t?(0,a.jsx)("div",{className:"content-hidden",dangerouslySetInnerHTML:{__html:t.data}}):null};s.propTypes={customFields:i().shape({url:i().url.isRequired.tag({label:"Url con el contenido a insertar"})})},s.label="UrlContentEmbedded",t.default=s},41406:function(e,t,r){"use strict";r.r(t);var n=r(19894),i=r.n(n),o=r(4321),a=r(14375),s=r(10879),l=r(63906),c=r(89899),u=r(90892),d=r(73674),p=r(82413),f=r(44106),m=r(13662),b=r(85349);function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach(function(t){y(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function y(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const v=({customFields:e})=>{const{title:t,subtitle:r,url1:n,url2:i,url3:g,url4:y,id:v,offset:j}=e,{isAdmin:w}=(0,o.useAppContext)(),{isMobile:O}=(0,s.G9)(),{editableField:P}=(0,a.useEditableContent)(),x=[n,i,g,y],_=(0,p.Wy)(),[A,S]=(0,l.A)(v,j-1,x.length,x);if(!w&&(0,m.NV)(A))return null;if(0===A.length)return v?(0,b.jsx)(f.A,{text:`La colección ${v} no tiene contenido válido.`}):(0,b.jsx)(f.A,{});const E=O?[A[0]]:A,T=(e,t)=>
2(0,b.jsx)(c.A,{type:"vertical",article:e,includedFields:["media","headline"],content:S,isStatic:!1,imageSizes:_},t);return(0,b.jsxs)("div",{className:"brick-vertical-video-carrusel dark-brick full-width-all",children:[t&&(0,b.jsx)(u.A,h(h({},P("title")),{},{title:t,suppressContentEditableWarning:!0})),r&&(0,b.jsx)("p",h(h({},P("subtitle")),{},{className:"brick_subtitle",suppressContentEditableWarning:!0,children:r})),(0,b.jsx)("div",{className:"cards-container",children:(0,b.jsx)("div",{className:"vertical-cards",children:E.map((e,t)=>T(e,t))})}),A.length>1&&O&&(0,b.jsx)(d.A,{children:A.slice(1).map((e,t)=>T(e,t))})]})};v.propTypes={customFields:i().shape({title:i().string.tag({name:"TÃtulo"}),subtitle:i().string.tag({name:"Bajada"}),url1:i().string.isRequired.tag({name:"URL primer video"}),url2:i().string.tag({name:"URL segundo video"}),url3:i().string.tag({name:"URL tercer video"}),url4:i().string.tag({name:"URL cuarto video"}),id:i().string.tag({name:"Id de la Colección"}),offset:i().string.tag({name:"Inicio de la Colección"})})},v.label="Carrusel de videos verticales",t.default=v},26623:function(e,t,r){"use strict";var n=r(85349);t.A=()=>(0,n.jsxs)("div",{className:"weather-refs",children:[(0,n.jsx)("p",{className:"weather-refs_title",children:"Referencias"}),(0,n.jsxs)("ul",{className:"weather-refs_list",children:[(0,n.jsxs)("li",{className:"weather-refs_ref",children:[(0,n.jsx)("span",{className:"ref hot"}),"Caluroso"]}),(0,n.jsxs)("li",{className:"weather-refs_ref",children:[(0,n.jsx)("span",{className:"ref warm"}),"Moderado"]}),(0,n.jsxs)("li",{className:"weather-refs_ref",children:[(0,n.jsx)("span",{className:"ref cold"}),"FrÃo"]})]})]})},52682:function(e,t){"use strict";t.A=(e,t,r,n)=>e?"100%":t?"450px":r&&!n?"600px":"500px"},70242:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return h}});var n=r(40809),i=r(13287),o=r(19894),a=r.n(o),s=r(85349);const l=({height:e="200px",width:t="100%",className:r})=>{const n=(0,i.A)(["skeleton-container",r]);return(0,s.jsx)("div",{className:n,style:{height:e,width:t},"data-testid":"skeleton-container",children:(0,s.jsx)("div",{className:"skeleton-wave","data-testid":"skeleton-wave"})})};l.propTypes={height:a().string,width:a().string,className:a().string};var c=l,u=r(10879),d=r(52682);var p={customFields:a().shape({enableFullFeatures:a().bool.tag({label:"Habilitar modales y fullscreen",defaultValue:!1}),showLinkToLanding:a().bool.tag({label:"Mostrar link hacia mapa completo",defaultValue:!1})})},f=r(39211),m=r(26623),b=r(67298);const g=({customFields:{enableFullFeatures:e,showLinkToLanding:t}})=>{const{current:i,availables:o}
2=(0,b.A)(),[a,l]=(0,n.useState)(null),[p,g]=(0,n.useState)(!0),[h,y]=(0,n.useState)(null),v=(0,n.useRef)(!1),j=(0,u.Ay)(!1),w=(0,u.LK)(!1);return(0,n.useEffect)(()=>{if(v.current)return;if(v.current=!0,"undefined"==typeof window)return void g(!1);(async()=>{try{const e=await Promise.all([r.e(4447),r.e(9795),r.e(9825)]).then(r.bind(r,69825));if(!e.default)throw new Error(`El módulo no tiene 'export default'. Exports encontrados: ${Object.keys(e).join(", ")}`);if("function"!=typeof e.default)throw new Error("El default export no es una función, es: "+typeof e.default);l(()=>e.default)}catch(e){console.error("WeatherMap load error:",e),y("No se pudo cargar el mapa del clima.")}finally{g(!1)}})()},[]),(0,s.jsxs)("div",{className:"weather-map",children:[p||h||!a?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(c,{height:(0,d.A)(!1,j,e,w),width:"100%"}),j&&(0,s.jsx)(c,{height:"54px",width:"100%",className:"skeleton-refs"})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"weather-map-component-ref",children:(0,s.jsx)(a,{enableFullFeatures:e,current:i,availables:o})}),j&&(0,s.jsx)(m.A,{})]}),t&&(0,s.jsx)(f.A,{content:"Ver mapa completo",variant:"text",url:"/clima/mapa-del-clima/"})]})};g.label="Mapa del clima",g.propTypes=p;var h=g},91424:function(e,t,r){"use strict";var n=r(85349);t.A=()=>(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",children:(0,n.jsx)("path",{fill:"#f5f5f5",d:"M5.438 18.563a.9.9 0 0 1-.668-.27.9.9 0 0 1-.27-.668q0-.398.27-.668t.668-.27h.937v-6.562q0-1.946 1.172-3.457a5.4 5.4 0 0 1 3.047-1.98V4.03q0-.585.41-.996.41-.41.996-.41t.996.41.41.996v.657a5.4 5.4 0 0 1 3.047 1.98q1.172 1.512 1.172 3.457v6.563h.938q.398 0 .668.269.27.27.269.668 0 .398-.27.668a.9.9 0 0 1-.668.27zM12 21.375q-.774 0-1.324-.55a1.8 1.8 0 0 1-.551-1.325h3.75q0 .774-.55 1.324-.552.55-1.325.551m-3.75-4.687h7.5v-6.563q0-1.547-1.102-2.648Q13.547 6.375 12 6.375T9.352 7.477 8.25 10.125z"})})},30036:function(e,t,r){"use strict";var n=r(85349);t.A=()=>(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"12","data-testid":"burger-icon",viewBox:"0 0 18 12",children:[(0,n.jsx)("path",{d:"M.288 1.713Q.575 2 1 2h16q.424 0 .712-.288A.97.97 0 0 0 18 1a.97.97 0 0 0-.288-.712A.97.97 0 0 0 17 0H1a.97.97 0 0 0-.712.288A.97.97 0 0 0 0 1q0 .424.288.712"}),(0,n.jsx)("path",{d:"M1 7a.97.97 0 0 1-.712-.287A.97.97 0 0 1 0 6q0-.424.288-.713A.97.97 0 0 1 1 5h16q.424 0 .712.287Q18 5.576 18 6t-.288.713A.97.97 0 0 1 17 7z",className:"middle"}),(0,n.jsx)("path",{d:"M.288 11.713Q.575 12 1 12h16q.424 0 .712-.287A.97.97 0 0 0 18 11a.97.97 0 0 0-.288-.713A.97.97 0 0 0 17 10H1a.97.97 0 0 0-.712.287A.97.97 0 0 0 0 11q0 .424.288.713"})]})},72140:function(e,t,r){"use strict";var n=r(85349);function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.A=e=>(0,n.jsx)("svg",o(o({xmlns:"http://www.w3.org/2000/svg",fill:"none"},e),{},{height:24,width:24,viewBox:"0 0 24 24",children:(0,n.jsx)("path",{d:"m12 14.275 7.35-7.35q.375-.375.875-.362.5.012.875.387t.375.875a1.2 1.2 0 0 1-.375.875l-7.675 7.7q-.3.3-.675.45T12 17t-.75-.15-.675-.45l-7.7-7.7a1.17 1.17 0 0 1-.363-.887 1.26 1.26 0 0 1 .388-.888 1.2 1.2 0 0 1 .875-.375 1.2 1.2 0 0 1 .875.375z"})}))},58745:function(e,t,r){"use strict";var n=r(85349);function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.A=e=>(0,n.jsx)("svg",o(o({xmlns:"http://www.w3.org/2000/svg",fill:"none"},e),{},{height:24,width:24,children:(0,n.jsx)("path",{fill:"#424242",d:"m13.175 11.575-3.9-3.9a.95.95 0 0 1-.275-.7.95.95 0 0 1 .275-.7.95.95 0 0 1 .7-.275.95.95 0 0 1 .7.275l4.6 4.6q.15.15.213.325.062.176.062.375c0 .199-.02.258-.063.375a.9.9 0 0 1-.212.325l-4.6 4.6a.95.95 0 0 1-.7.275.95.95 0 0 1-.7-.275.95.95 0 0 1-.275-.7.95.95 0 0 1 .275-.7z"})}))},28567:function(e,t,r){"use strict";var n=r(85349);t.A=()=>(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"13",height:"14",fill:"none",viewBox:"0 0 13 14",children:(0,n.jsx)("path",{fill:"#db2946",d:"M4.333 8h1.334V4.667H4.333zM1.667 7A2.97 2.97 0 0 1 .45 5.892 2.93 2.93 0 0 1 0 4.317Q0 3.066.858 2.2q.859-.867 2.109-.867.2 0 .408.034.209.033.408.083A3 3 0 0 1 4.867.383 2.9 2.9 0 0 1 6.333 0 2.9 2.9 0 0 1 7.8.383q.667.383 1.083 1.067a5 5 0 0 1 .4-.083q.201-.034.417-.034 1.25 0 2.108.867.86.866.859 2.117 0 .849-.45 1.575Q11.767 6.616 11 7v3.667H1.667zM7 8h1.333V4.667H7zM3 9.333h6.667v-3.15l.733-.366q.434-.217.683-.609.25-.39.25-.875 0-.699-.475-1.183A1.56 1.56 0 0 0 9.7 2.667a1.5 1.5 0 0 0-.333.033q-.15.033-.317.083L8.267 3l-.517-.867a1.63 1.63 0 0 0-1.417-.8 1.64 1.64 0 0 0-1.416.8L4.4 3l-.8-.217a6 6 0 0 1-.325-.075A1.54 1.54 0 0 0 1.8 3.15a1.64 1.64 0 0 0-.467 1.183q0 .484.25.875.25.392.684.609L3 6.183zm-1.333 1.334H3V12h6.667v-1.333H11v2.666H1.667z"})})},98872:function(e,t,r){"use strict";var n=r(85349);t.A=()=>(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",fill:"none",viewBox:"0 0 12 12",children:(0,n.jsx)("path",{fill:"#db2946",d:"M6 12a.65.65 0 0 1-.475-.192.65.65 0 0 1-.192-.475V8.667q0-.285.192-.475A.65.65 0 0 1 6 8q.283 0 .475.192a.65.65 0 0 1 .192.475v.666h4.666q.285 0 .475.192A.65.65 0 0 1 12 10a.65.65 0 0 1-.192.475.65.65 0 0 1-.475.192H6.667v.666a.65.65 0 0 1-.192.475A.65.65 0 0 1 6 12M.667 10.667a.65.65 0 0 1-.475-.192A.65.65 0 0 1 0 10q0-.283.192-.475a.65.65 0 0 1 .475-.192h2.666q.285 0 .475.192A.65.65 0 0 1 4 10a.65.65 0 0 1-.192.475.65.65 0 0 1-.475.192zM3.333 8a.65.65 0 0 1-.475-.192.65.65 0 0 1-.191-.475v-.666h-2a.65.65 0 0 1-.475-.192A.65.65 0 0 1 0 6q0-.283.192-.475a.65.65 0 0 1 .475-.192h2v-.666q0-.285.191-.475A.65.65 0 0 1 3.333 4q.285 0 .475.192A.65.65 0 0 1 4 4.667v2.666a.65.65 0 0 1-.192.475.65.65 0 0 1-.475.192M6 6.667a.65.65 0 0 1-.475-.192A.65.65 0 0 1 5.333 6q0-.283.192-.475A.65.65 0 0 1 6 5.333h5.333q.285 0 .475.192A.65.65 0 0 1 12 6a.65.65 0 0 1-.192.475.65.65 0 0 1-.475.192zM8.667 4a.65.65 0 0 1-.475-.192A.65.65 0 0 1 8 3.333V.667q0-.285.192-.475A.65.65 0 0 1 8.667 0q.283 0 .475.192a.65.65 0 0 1 .191.475v.666h2q.285 0 .475.192A.65.65 0 0 1 12 2a.65.65 0 0 1-.192.475.65.65 0 0 1-.475.192h-2v.666a.65.65 0 0 1-.191.475.65.65 0 0 1-.475.192m-8-1.333a.65.65 0 0 1-.475-.192A.65.65 0 0 1 0 2q0-.283.192-.475a.65.65 0 0 1 .475-.192H6q.283 0 .475.192A.65.65 0 0 1 6.667 2a.65.65 0 0 1-.192.475.65.65 0 0 1-.475.192z"})})},83494:function(e,t,r){"use strict";var n=r(85349);t.A=()=>(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"14",fill:"none",viewBox:"0 0 12 14",children:(0,n.jsx)("path",{fill:"#db2946",d:"M2.754 13.5a.6.6 0 0 1-.436-.175.6.6 0 0 1-.177-.434V6.915a2.33 2.33 0 0 1-1.32-.863 2.38 2.38 0 0 1-.508-1.49V1.11q0-.258.174-.434A.58.58 0 0 1 .918.5a.6.6 0 0 1 .434.175.6.6 0 0 1 .176.434v3.047h.613V1.11q0-.258.174-.434A.58.58 0 0 1 2.746.5a.6.6 0 0 1 .434.175.6.6 0 0 1 .176.434v3.047h.613V1.11q0-.258.174-.434A.58.58 0 0 1 4.575.5q.256 0 .435.175a.6.6 0 0 1 .178.434v3.454q0 .828-.508 1.489-.509.66-1.32.863v5.976a.6.6 0 0 1-.175.434.58.58 0 0 1-.431.175m6.296 0a.6.6 0 0 1-.435-.
2175.6.6 0 0 1-.178-.434V7.504q-.897-.285-1.464-1.25T6.406 4.06q0-1.496.77-2.528T9.046.5t1.871 1.033.77 2.53q0 1.227-.567 2.192t-1.464 1.25v5.386a.6.6 0 0 1-.174.434.58.58 0 0 1-.432.175"})})},21515:function(e,t,r){"use strict";var n=r(19894),i=r.n(n),o=r(13287),a=r(85349);const s=({className:e,dark:t,id:r})=>{const n=(0,o.A)([e,{dark:t,light:!t}]);return(0,a.jsx)("svg",{className:n,xmlns:"http://www.23.org/2000/svg",children:(0,a.jsx)("use",{href:r})})};s.propTypes={className:i().string,dark:i().bool,id:i().string},t.A=s},59547:function(e,t,r){"use strict";var n=r(19894),i=r.n(n),o=r(85349);const a=({level:e=3})=>(0,o.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"10",height:"11",viewBox:"0 0 10 11",children:[(0,o.jsx)("path",{style:{fill:e>=1?"var(--level-icon-dark)":"var(--level-icon-light)"},d:"M1 10.667a.97.97 0 0 1-.708-.292A.96.96 0 0 1 0 9.667v-2q0-.417.292-.709A.96.96 0 0 1 1 6.667q.417 0 .708.291Q2 7.25 2 7.667v2a.96.96 0 0 1-.292.708.97.97 0 0 1-.708.292"}),(0,o.jsx)("path",{style:{fill:e>=2?"var(--level-icon-dark)":"var(--level-icon-light)"},d:"M5 10.667a.97.97 0 0 1-.708-.292A.96.96 0 0 1 4 9.667V4.333q0-.416.292-.708A.96.96 0 0 1 5 3.333q.417 0 .708.292.292.291.292.708v5.334a.96.96 0 0 1-.292.708.97.97 0 0 1-.708.292"}),(0,o.jsx)("path",{style:{fill:e>=3?"var(--level-icon-dark)":"var(--level-icon-light)"},d:"M9 10.667a.97.97 0 0 1-.708-.292A.96.96 0 0 1 8 9.667V1q0-.417.292-.708A.96.96 0 0 1 9 0q.417 0 .708.292Q10 .583 10 1v8.667a.96.96 0 0 1-.292.708.97.97 0 0 1-.708.292"})]});a.propTypes={level:i().number},t.A=a},18979:function(e,t,r){"use strict";var n=r(85349);t.A=()=>(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",fill:"none",className:"icon__pause",viewBox:"0 0 32 32",children:(0,n.jsx)("path",{fill:"#424242",d:"M20.857 25a2.48 2.48 0 0 1-1.816-.755 2.48 2.48 0 0 1-.755-1.816V9.57q0-1.06.755-1.816A2.48 2.48 0 0 1 20.857 7q1.061 0 1.816.755.756.756.756 1.816V22.43q0 1.06-.756 1.816a2.48 2.48 0 0 1-1.816.755m-10.286 0a2.48 2.48 0 0 1-1.816-.755A2.48 2.48 0 0 1 8 22.429V9.57q0-1.06.755-1.816A2.48 2.48 0 0 1 10.571 7q1.062 0 1.816.755.756.756.756 1.816V22.43q0 1.06-.756 1.816a2.48 2.48 0 0 1-1.816.755"})})},75712:function(e,t,r){"use strict";var n=r(85349);t.A=()=>(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"12",fill:"none",viewBox:"0 0 14 12",children:(0,n.jsx)("path",{fill:"#db2946",d:"M2.385 12a1.78 1.78 0 0 1-1.308-.539 1.78 1.78 0 0 1-.538-1.307v-5.77a.67.67 0 0 1 .199-.493.67.67 0 0 1 .493-.199h11.538a.67.67 0 0 1 .494.2.67.67 0 0 1 .199.493v5.769q0 .77-.539 1.307a1.78 1.78 0 0 1-1.307.539zm-.462-6.923v5.077q0 .195.133.329a.45.45 0 0 0 .329.132h9.23q.196 0 .33-.132a.45.45 0 0 0 .132-.33V5.078zm3.231-3.692V.462q0-.196.133-.33A.45.45 0 0 1 5.616 0h2.769q.195 0 .329.133a.45.45 0 0 1 .132.329v.923h3.923q.294 0 .494.198.199.197.199.49t-.2.494a.67.67 0 0 1-.493.202H1.231a.67.67 0 0 1-.493-.198.66.66 0 0 1-.2-.49q0-.293.2-.494a.67.67 0 0 1 .493-.202z"})})},45299:function(e,t,r){"use strict";var n=r(85349);t.A=()=>(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",className:"reload-icon",viewBox:"0 0 24 24",children:(0,n.jsx)("path",{fill:"#424242",d:"M12 4q3.35 0 5.675 2.325T20 12t-2.325 5.675T12 20q-1.725 0-3.3-.712A7.6 7.6 0 0 1 6 17.25V19q0 .424-.287.712A.97.97 0 0 1 5 20a.97.97 0 0 1-.713-.288A.97.97 0 0 1 4 19v-5q0-.424.287-.713A.97.97 0 0 1 5 13h5q.424 0 .713.287.287.288.287.713 0 .424-.287.713A.97.97 0 0 1 10 15H6.8a5.84 5.84 0 0 0 2.188 2.2q1.388.8 3.012.8 2.5 0 4.25-1.75T18 12t-1.75-4.25T12 6q-1.699 0-3.113.862A5.95 5.95 0 0 0 6.7 9.176a1.07 1.07 0 0 1-.562.487 1.07 1.07 0 0 1-.738.013.9.9 0 0 1-.575-.525q-.175-.4.025-.75a8.1 8.1 0 0 1 2.925-3.2Q9.675 4 12 4"})})},88444:function(e,t,r){"use strict";var n=r(85349);t.A=()=>(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"22",height:"15","data-testid":"search-burger-icon",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 22 15",children:(0,n.jsx)("path",{fill:"#f0f0f0",d:"M1.124 14.61q-.478 0-.8-.323a1.1 1.1 0 0 1-.324-.8q0-.479.323-.801.324-.323.8-.323h8.992q.477 0 .8.323t.324.8q0 .479-.323.8
201a1.1 1.1 0 0 1-.801.323zm0-5.619q-.478 0-.8-.323a1.1 1.1 0 0 1-.324-.8q0-.479.323-.802.324-.323.8-.323h3.373q.477 0 .8.323.324.324.323.801 0 .479-.323.8a1.1 1.1 0 0 1-.8.324zm0-5.62q-.478 0-.8-.322A1.1 1.1 0 0 1 0 2.248q0-.478.323-.801.324-.323.8-.323h3.373q.477 0 .8.323t.323.8q0 .479-.323.802a1.1 1.1 0 0 1-.8.323zm12.363 7.868q-2.332 0-3.976-1.644T7.867 5.62t1.644-3.975T13.487 0t3.975 1.644q1.644 1.642 1.644 3.975 0 .816-.239 1.616a5 5 0 0 1-.716 1.475l3.54 3.54q.309.31.309.787t-.31.787a1.07 1.07 0 0 1-.786.309q-.477 0-.787-.31l-3.54-3.54q-.675.479-1.475.717a5.6 5.6 0 0 1-1.615.239m0-2.248q1.404 0 2.388-.983.983-.984.983-2.389t-.983-2.388-2.388-.983-2.389.983q-.983.984-.983 2.388 0 1.405.983 2.389.984.983 2.389.983"})})},37582:function(e,t,r){"use strict";var n=r(85349);t.A=()=>(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:(0,n.jsx)("path",{fill:"#fafafa",d:"M9.75 16.25q-2.725 0-4.612-1.887T3.25 9.75t1.888-4.612T9.75 3.25t4.613 1.888T16.25 9.75a6.1 6.1 0 0 1-1.3 3.8l5.6 5.6a.95.95 0 0 1 .275.7.95.95 0 0 1-.275.7.95.95 0 0 1-.7.275.95.95 0 0 1-.7-.275l-5.6-5.6q-.75.6-1.725.95t-2.075.35m0-2q1.875 0 3.188-1.312 1.312-1.313 1.312-3.188t-1.312-3.187T9.75 5.25 6.563 6.563 5.25 9.75t1.313 3.188T9.75 14.25"})})},57455:function(e,t,r){"use strict";var n=r(21515),i=r(85349);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.A=e=>(0,i.jsx)(n.A,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({id:"#EmailSvg",className:"icon__email"},e))},75543:function(e,t,r){"use strict";var n=r(21515),i=r(85349);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.A=e=>(0,i.jsx)(n.A,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({id:"#ExpandSvg",className:"icon__expand"},e))},97303:function(e,t,r){"use strict";var n=r(21515),i=r(85349);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.A=e=>(0,i.jsx)(n.A,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?o(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({id:"#FacebookSvg",className:"icon__facebook"},e))},16246:function(e,t,r){"use strict";var n=r(21515),i=r(85349);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.A=e=>(0,i.jsx)(n.A,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({id:"#TelegramSvg",className:"icon__telegram"},e))},28166:function(e,t,r){"use strict";var n=r(21515),i=r(85349);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.A=e=>(0,i.jsx)(n.A,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({id:"#TwitterSvg",className:"icon__twitter"},e))},16887:function(e,t,r){"use strict";var n=r(85349);t.A=()=>(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",fill:"none",className:"soundOffIcon",viewBox:"0 0 40 40",children:[(0,n.jsx)("rect",{width:"40",height:"40",rx:"20"}),(0,n.jsx)("path",{d:"m26.15 21.62-2.045 2.045a1.02 1.02 0 0 1-.754.296 1.02 1.02 0 0 1-.753-.296 1.02 1.02 0 0 1-.296-.754q0-.457.296-.754l2.045-2.045-2.045-2.046a1.02 1.02 0 0 1-.296-.754q0-.457.296-.753a1.02 1.02 0 0 1 .753-.297q.458 0 .754.297l2.046 2.045 2.046-2.045a1.02 1.02 0 0 1 .753-.297q.457 0 .754.297.296.295.296.753t-.296.754l-2.046 2.046 2.046 2.046q.296.295.296.753 0 .457-.296.754a1.02 1.02 0 0 1-.754.296 1.02 1.02 0 0 1-.753-.296zm-11.843 1.722h-3.23q-.458 0-.767-.31a1.04 1.04 0 0 1-.31-.767v-4.307q0-.457.31-.767t.767-.31h3.23l3.553-3.553q.511-.51 1.171-.228t.66 1.009v12.005q0 .727-.66 1.01-.66.282-1.171-.229zm3.23-6.622-2.315 2.315h-3.069v2.154h3.07l2.314 2.314z"})]})},17107:function(e,t,r){"use strict";var n=r(85349);t.A=()=>(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",fill:"none",className:"soundOnIcon",viewBox:"0 0 40 40",children:[(0,n.jsx)("rect",{width:"40",height:"40",rx:"20"}),(0,n.jsx)("path",{d:"M27.778 20.208q0-2.306-1.222-4.208a7.6 7.6 0 0 0-3.278-2.847 1.24 1.24 0 0 1-.611-.597 1.05 1.05 0 0 1-.056-.82q.166-.445.597-.639.43-.195.875 0a9.8 9.8 0 0 1 4.306 3.653Q30 17.208 30 20.208t-1.611 5.459a9.8 9.8 0 0 1-4.306 3.652q-.444.195-.875 0a1.1 1.1 0 0 1-.597-.638 1.05 1.05 0 0 1 .056-.82q.195-.403.61-.597a7.6 7.6 0 0 0 3.279-2.847q1.221-1.904 1.222-4.209M14.444 23.57h-3.333q-.473 0-.792-.319a1.08 1.08 0 0 1-.319-.792v-4.444q0-.473.32-.792.318-.32.791-.32h3.333l3.667-3.666q.528-.527 1.208-.236.681.291.681 1.042V26.43q0 .75-.
268 1.041-.681.292-1.209-.236zM25 20.236a4.8 4.8 0 0 1-.528 2.208 4.95 4.95 0 0 1-1.389 1.709.55.55 0 0 1-.57.014.51.51 0 0 1-.29-.486v-6.945q0-.333.29-.486a.55.55 0 0 1 .57.014 5.2 5.2 0 0 1 1.39 1.75Q25 19.07 25 20.236m-7.222-3.5-2.39 2.389h-3.166v2.222h3.167l2.389 2.39z"})]})},49289:function(e,t,r){"use strict";var n=r(85349);t.A=()=>(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24",children:(0,n.jsx)("path",{fill:"#424242",d:"M12 12q-1.65 0-2.825-1.175T8 8t1.175-2.825T12 4t2.825 1.175T16 8t-1.175 2.825T12 12m-8 6v-.8q0-.85.438-1.562.437-.713 1.162-1.088a14.8 14.8 0 0 1 3.15-1.163A13.8 13.8 0 0 1 12 13q1.65 0 3.25.387 1.6.388 3.15 1.163.724.375 1.163 1.087Q20 16.35 20 17.2v.8q0 .824-.587 1.413A1.93 1.93 0 0 1 18 20H6q-.824 0-1.412-.587A1.93 1.93 0 0 1 4 18m2 0h12v-.8a.97.97 0 0 0-.5-.85q-1.35-.675-2.725-1.012a11.6 11.6 0 0 0-5.55 0Q7.85 15.675 6.5 16.35a.97.97 0 0 0-.5.85zm6-8q.825 0 1.412-.588Q14 8.826 14 8q0-.824-.588-1.412A1.93 1.93 0 0 0 12 6q-.825 0-1.412.588A1.93 1.93 0 0 0 10 8q0 .825.588 1.412Q11.175 10 12 10"})})},79522:function(e,t,r){"use strict";var n=r(85349);t.A=()=>(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24","data-testid":"close-icon",viewBox:"0 0 24 24",children:(0,n.jsx)("path",{d:"m12.075 12.975-4.9 4.9a.95.95 0 0 1-.7.275.95.95 0 0 1-.7-.275.95.95 0 0 1-.275-.7q0-.425.275-.7l4.9-4.9-4.9-4.9a.95.95 0 0 1-.275-.7q0-.425.275-.7a.95.95 0 0 1 .7-.275q.425 0 .7.275l4.9 4.9 4.9-4.9a.95.95 0 0 1 .7-.275q.425 0 .7.275a.95.95 0 0 1 .275.7.95.95 0 0 1-.275.7l-4.9 4.9 4.9 4.9a.95.95 0 0 1 .275.7.95.95 0 0 1-.275.7.95.95 0 0 1-.7.275.95.95 0 0 1-.7-.275z"})})},32994:function(e,t,r){"use strict";var n=r(85349);t.A=()=>(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",fill:"none",className:"icon__play",viewBox:"0 0 48 48",children:(0,n.jsx)("use",{href:"#PlayIcon"})})},23817:function(e,t,r){"use strict";var n=r(19894),i=r.n(n),o=r(4321),a=r(10879),s=r(63684),l=r(85349);const c=e=>{const{className:t,active:r}=e,{arcSite:n}=(0,o.useAppContext)(),i=(0,s.A)(),c=(0,a.Ay)(!1);let u=null;switch(n){case"ciudad":u=r&&c?"#siteLogoMobile":"#siteLogo";break;case"eldoce":if("header__logo height_full side-bar"===t||i)u="#siteLogoMobile";else{if("footer__logo"!==t)return(0,l.jsxs)("svg",{className:t,children:[(0,l.jsx)("use",{className:"site-logo__desktop",href:"#siteLogo"}),(0,l.jsx)("use",{className:"site-logo__mobile",href:"#siteLogoMobile"})]});u="#siteLogo"}break;default:u="#siteLogo"}return(0,l.jsx)("svg",{className:t,children:(0,l.jsx)("use",{href:u})})};c.propTypes={className:i().string,active:i().bool},t.A=c},53166:function(e,t,r){"use strict";r.r(t);var n=r(19894),i=r.n(n),o=r(5185),a=r(89436),s=r(85349);const l=e=>{const[t,r,n]=e.children;return(0,s.jsx)(o.A,{header:t,footer:n,ArcAds:a.default,className:"fullwidth",children:r})};l.propTypes={children:i().array},l.sections=["header","main","footer"],t.default=l},88396:function(e,t,r){"use strict";r.r(t);var n=r(19894),i=r.n(n),o=r(5185),a=r(10097),s=r(89436),l=r(85349);const c=e=>{const[t,r,n]=e.children;return(0,l.jsxs)(o.A,{header:t,footer:n,ArcAds:s.default,className:"megalateralrail",children:[(0,l.jsx)(a.A,{}),r]})};c.propTypes={children:i().array},c.sections=["header","main","footer"],t.default=c},43841:function(e,t,r){"use strict";var n=r(19894),i=r.n(n),o=r(85349);const a=({ArcAds:e})=>(0,o.jsx)(o.Fragment,{children:(0,o.jsx)(e,{customFields:{type:"vslider"}})});a.propTypes={ArcAds:i().func},t.A=a},5185:function(e,t,r){"use strict";var n=r(40809),i=r(4321),o=r(19894),a=r.n(o),s=r(13287),l=r(43841),c=r(78907),u=r(63684),d=r(81179),p=r(95118),f=r(59803),m=r(71300),b=r(68932),g=r(68845),h=r(85349);const y=({children:e,header:t,footer:o,ArcAds:a,className:y})=>{const{NEWSLETTER_SUBTYPE:v,STORY_PAGE_TYPE:j,LOGIN_PAGE_TYPE:w}=p.F,{isAdmin:O,requestUri:P}=(0,i.useAppContext)(),x=(0,c.A)(),_=(0,d.A)(),A=(0,u.A)(),{arcSite:S}=(0,i.useFusionContext)(),E=(0,g.A)(),{shouldRenderFilters:T}=(0,m.A)(),N="eltrece"===S&&P.includes("/cucinare")&&!P.includes("/buscar/cucinare"),k=x===w,C=(0,s.A)(["common-layout",{"wrapper-layout":!k},{"amp-layout":A},{"center-content center_story max-width":!k},{"no-margin":x===j&&_===v},x,{"max-cover":E},_,{cucinare:N},y]);(0,n.useEffect)(()=>{O&&(r.e(9485).then(r.bind(r,99516)).then(({default:e})=>{e()}
2),Object.keys(window.Fusion.contentCache).forEach(e=>{Object.keys(window.Fusion.contentCache[e]).forEach(t=>{window.Fusion.contentCache[e][t].expires=Date.now()+864e5})}))},[O]);const D=(0,h.jsxs)(h.Fragment,{children:[t,(0,h.jsx)("div",{className:C,children:e}),o,(0,h.jsx)(l.A,{ArcAds:a})]});return T?(0,h.jsx)(f.A,{children:(0,h.jsx)(b.A,{children:D})}):(0,h.jsx)(f.A,{children:D})};y.propTypes={children:a().node,header:a().element,footer:a().element,ArcAds:a().func,className:a().string},t.A=y},39600:function(e,t,r){"use strict";var n=r(19894),i=r.n(n),o=r(85349);const a=({content:e})=>(0,o.jsx)("main",{className:"col-content",children:e});a.propTypes={content:i().array},t.A=a},10097:function(e,t,r){"use strict";var n=r(89436),i=r(85349);t.A=()=>(0,i.jsx)("div",{className:"col-megalateral",children:(0,i.jsx)(n.default,{customFields:{type:"megalateral",sticky:"sticky_top"}})})},23974:function(e,t,r){"use strict";var n=r(40809),i=r(19894),o=r.n(i),a=r(85349);const s=({aspectRatio:e,children:t})=>{const[r,i]=e.split("/");return(0,a.jsx)("div",{className:"aspect_ratio__container",children:(0,n.cloneElement)(t,{layout:"responsive",height:i,width:r})})};s.propTypes={aspectRatio:o().string,children:o().element},t.A=s},11795:function(e,t,r){"use strict";var n=r(19894),i=r.n(n),o=r(85349);const a=({aspectRatio:e,children:t})=>(0,o.jsx)("div",{className:"aspect_ratio__container",style:{"--aspect-ratio":e},children:t});a.propTypes={aspectRatio:i().string,children:i().element},t.A=a},22896:function(e,t,r){"use strict";var n=r(23974),i=r(11795),o=r(6757),a=r(85349);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach(function(t){c(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function c(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.A=e=>(0,a.jsx)(o.A,l(l({},e),{},{amp:n.A,default:i.A}))},83896:function(e,t,r){"use strict";var n=r(19894),i=r.n(n),o=r(13287),a=r(4321),s=r(62913),l=r(81463),c=r(85349);const u=({author:e,classNameFontAuthorName:t})=>{const{arcSite:r}=(0,a.useAppContext)();let n="eldoce"===r?e.name.replace(".","").trim():e.name;"ciudad"!==r||(0,l.Im)((0,l.Jt)(e,"additional_properties.original.byline",null))||(n=e.additional_properties.original.byline);const i=()=>(0,l.Im)((0,l.Jt)(e,"_id"))?(0,c.jsx)("span",{className:`author__name ${t}`,children:n}):(0,c.jsx)("a",{className:`author__name ${t}`,href:(0,s.U2)(e),rel:"author",children:n});return"tn"===r?(0,c.jsx)("h3",{children:(0,c.jsx)(i,{})}):(0,c.jsx)(i,{})},d=({authors:e,showPrep:t=!0,className:r,classNameFontAuthorName:n="font__action"})=>{const{arcSite:i}=(0,a.useAppContext)(),s="eltrece"===i,l=(0,o.A)(["authors",{font__body:!s},{"font__body-regular":s},{[r]:"font__body"!==r}]),d=e&&e.filter(e=>"author"===e.type);return 0===d.length?null:(0,c.jsxs)("div",{className:l,children:[t&&(0,c.jsx)(c.Fragment,{children:"Por "}),(0,c.jsx)(u,{author:d[0],classNameFontAuthorName:n}),d.length>1&&(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("span",{children:" y "}),(0,c.jsx)(u,{author:d[1],classNameFontAuthorName:n})]})]})};d.propTypes={authors:i().array,showPrep:i().bool,className:i().string,classNameFontAuthorName:i().string},u.propTypes={author:i().object,classNameFontAuthorName:i().string},t.A=d},54831:function(e,t,r){"use strict";var n=r(85349);t.A=()=>(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",children:(0,n.jsx)("use",{className:"color",href:"#RightArrowIcon"})})},63347:function(e,t,r){"use strict";var n=r(58848),i=r(85349);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?o(Object(r),!0).forEach(function(t){s(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function s(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=({children:e,url:t,target:r,on:n,onClick:o,className:s,disabled:l,testId:c,id:u,ariaLabel:d,ariaControls:p,ariaExpanded:f})=>(0,i.jsx)(i.Fragment,{children:t?(0,i.jsx)("a",a(a(a(a({href:t,target:r,rel:"_blank"===r?"noreferrer":void 0,className:s,"data-testid":c},d?{"aria-label":d}:{}),p?{"aria-controls":p}:{}),void 0!==f?{"aria-expanded":f}:{}),{},{children:e})):(0,i.jsx)("button",a(a(a(a(a({onClick:l?void 0:o,on:n,className:s,"data-testid":c,disabled:l},u?{id:u}:{}),d?{"aria-label":d}:{}),p?{"aria-controls":p}:{}),void 0!==f?{"aria-expanded":f}:{}),{},{children:e}))});l.propTypes=n.A,t.A=l},58848:function(e,t,r){"use strict";var n=r(19894),i=r.n(n);const o={onClick:i().func,on:i().string,target:i().string,url:i().string,children:i().any,disabled:i().bool,id:i().string,ariaLabel:i().string,ariaControls:i().string,ariaExpanded:i().bool};t.A=o},34367:function(e,t,r){"use strict";var n=r(85349);t.A=()=>(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",children:(0,n.jsx)("use",{className:"color",href:"#RightArrowIcon"})})},39211:function(e,t,r){"use strict";var n=r(13287),i=r(63347),o=r(34367),a=r(53768),s=r(64688),l=r(85349);const c=({content:e="Button",dark:t=!1,status:r="default",icon:a,onClick:s,on:c,variant:d="primary",target:p,url:f,className:m,IconComponent:b=o.A,iconPos:g="right",testId:h="button-test",toolTip:y=!1,toolTipText:v="",toolTipClassName:j="",toolTipManualClose:w,toolTipShow:O,disabled:P=!1,image:x,id:_,ariaLabel:A,ariaControls:S,ariaExpanded:E})=>{const T=(0,n.A)(["variant_button",d,{dark:t,light:!t},{right_icon:a&&"right"===g},{left_icon:a&&"left"===g},r,m]),N=(0,n.A)(["content_button",{right_icon:a&&"right"===g},{left_icon:a&&"left"===g}]);return(0,l.jsx)(i.A,{url:f,target:p,on:c,onClick:s,className:T,testId:h,disabled:P,id:_,ariaLabel:A,ariaControls:S,ariaExpanded:E,children:(0,l.jsx)(u,{toolTip:y,toolTipText:v,toolTipClassName:j,dark:t,toolTipManualClose:w,toolTipShow:O,children:(0,l.jsxs)(l.Fragment,{children:[a&&"left"===g&&(0,l.jsx)("span",{className:N,children:(0,l.jsx)(b,{})}),e&&(0,l.jsx)("span",{className:"label",children:e}),a&&"right"===g&&(0,l.jsx)("span",{className:N,children:(0,l.jsx)(b,{})}),x&&(0,l.jsx)("img",{src:x,className:"button-img"})]})})})},u=({children:e,toolTip:t,toolTipText:r,toolTipClassName:n,dark:i,toolTipManualClose:o,toolTipShow:a})=>t?(0,l.jsx)(s.A,{text:r,dark:i,className:n,manualClose:o,show:a,children:e}):e;c.propTypes=a.A,u.propTypes=a.Z,t.A=c},53768:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(19894),i=r.n(n);const o={className:i().string,content:i().string,dark:i().bool,status:i().oneOf(["default","success","error","disabled","tertiary"]),icon:i().bool,onClick:i().func,on:i().string,variant:i().oneOf(["primary","secondary","text","over-image-button"]),target:i().string,url:i().string,IconComponent:i().func,iconPos:i().oneOf(["right","left"]),disabled:i().bool,image:i().string,id:i().string,ariaLabel:i().string,ariaControls:i().string,ariaExpanded:i().bool},a={children:i().node,dark:i().bool,toolTip:i().bool,toolTipClassName:i().string,toolTipManualClose:i().bool,toolTipShow:i().bool,toolTipText:i().string};t.A=o},3317:function(e,t,r){"use strict";r.d(t,{A:function(){return se}});var n=r(19894),i=r.n(n),o=r(13287),a=r(29242),s=r(32994),l=r(85349);const c=({className:e,link:{url:t,title:r},media:{caption:n,aspectRatio:i="16/9",_id:c,url:u,auth:d,focalPoint:p,externalUrl:f},children:m,target:b,lazy:g=!0,isVertical:h,showPlayIcon:y=!1,imageSizes:v})=>(0,l.jsxs)("a",{className:(0,o.A)(["card__image",e]),href:t,title:r,target:b,children:[(0,l.jsx)(a.Ay,{lazy:g,placeholder:!0,aspectRatio:i,alt:n||r,isVertical:h,id:c,url:u,auth:d,sizes:v,focalPoint:p,externalUrl:f}),m,y&&(0,l.jsx)("div",{className:"icon__container",children:(0,l.jsx)(s.A,{})})]});c.propTypes={className:i().string,link:i().shape({url:i().string,title:i().string}),media:i().shape({caption:i().string,aspectRatio:i().string,_id:i().string,url:i().string,auth:i().object,externalUrl:i().bool,focalPoint:i().arrayOf(i().number)}),children:i().node,target:i().string,lazy:i().bool,isVertical:i().bool,showPlayIcon:i().bool,imageSizes:i().object};var u=c;var d=()=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",fill:"none",className:"icon__photo-gallery",viewBox:"0 0 48 48",children:[(0,l.jsx)("rect",{width:"48",height:"48",fill:"#fff"}),(0,l.jsx)("path",{fill:"#0d6ccd",fillRule:"evenodd",d:"m19.775 18.121 1.242-2.433h5.966l1.242 2.433h4.723c.963 0 1.74.76 1.74 1.704v10.707c0 .944-.776 1.704-1.74 1.704H15.052c-.963 0-1.74-.76-1.74-1.704
2V19.825c0-.944.776-1.704 1.74-1.704zm8.811 6.862a4.586 4.586 0 1 1-9.172 0 4.586 4.586 0 0 1 9.172 0m-1.638 0a2.948 2.948 0 1 1-5.896 0 2.948 2.948 0 0 1 5.896 0",clipRule:"evenodd"})]}),p=r(31673);const f=({link:e,media:{aspectRatio:t,content_elements:r},className:n,lazy:i,imageSizes:a})=>{const s=r[0];return s.aspectRatio||(s.aspectRatio=t),s.focalPoint=(0,p.Wt)(s),(0,l.jsx)(u,{className:(0,o.A)(["card__gallery",n]),link:e,media:s,lazy:i,imageSizes:a,children:(0,l.jsx)("div",{className:"icon__container",children:(0,l.jsx)(d,{})})})};f.propTypes={link:i().object,media:i().shape({aspectRatio:i().string,content_elements:i().arrayOf(i().object)}),className:i().string,lazy:i().bool,imageSizes:i().object};var m=f,b=r(682);function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function h(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var y=e=>(0,l.jsx)(m,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach(function(t){h(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},(0,b.w)(e)));const v=["link","media","className"];function j(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function w(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const O=e=>{let{link:t,media:{type:r,subtype:n=null},className:i}=e,a=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,v);return(0,l.jsx)(u,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?j(Object(r),!0).forEach(function(t){w(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):j(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({className:(0,o.A)(["card__default__media",i]),media:{caption:`Unsupported media: ${r} ${n}`},link:t},a))};O.propTypes={link:i().object,media:i().shape({type:i().string,subtype:i().string}),className:i().string};var P=O,x=r(40809),_=r(30248),A=r(93840);const S=({mediaTitle:e,isLiveContent:t,aspectRatio:r,lazy:n=!0,auth:i,id:o,url:s,imageSizes:c})=>{let u;return u=t&&"9/16"===r||t&&"360/392"===r?(0,A.Eo)():t?(0,A.on)():!t&&"9/16"===r||!t&&"360/392"===r?(0,A.nL)():(0,A.ng)(),(0,l.jsx)(a.Ay,{lazy:n,placeholder:!0,aspectRatio:r,alt:e,fallback:u,auth:i,id:o,url:s,sizes:c,slug:!1})};S.propTypes={mediaTitle:i().string,isLiveContent:i().bool,aspectRatio:i().string,lazy:i().bool,auth:i().object,id:i().string,url:i().string,imageSizes:i().object};var E=S,T=r(58205);function N({preview:e,mouseHover:t,allowAllPages:r=!1,duration:n}){const[i,o]=(0,x.useState)(!0),a=(0,T.A)(),s=(0,x.useRef)(null);function c(){s.current.currentTime=0,s.current.play()}return(0,l.jsx)(l.Fragment,{children:t&&(a||r)&&e&&(0,l.jsx)("div",{className:`card__genoa__video__preview-container ${i?"hidden":"background-color"} `,children:(0,l.jsx)("video",{autoPlay:!0,muted:!0,onEnded:c,onLoadedData:()=>o(!1),onTimeUpdate:n?function(){s.current?.currentTime>=n&&c()}:void 0,src:e,ref:s})})})}N.propTypes={preview:i().string,mouseHover:i().bool,allowAllPages:i().bool,duration:i().number};var k=N,C=r(83627),D=r(13352);const I=e=>{const{media:{embed:{config:{title:t,is_live_content:r=!1,preview:n,lowQuality:i,auth:a,thumbnail:c}},shouldPreview:u=!0,aspectRatio:d,showPreviewOnDesktop:p=!1,previewDuration:f},link:{url:m,title:b},className:g,lazy:h,imageSizes:y}=e,[v,j]=(0,x.useState)(!1),{isIntersecting:w,ref:O}=(0,C.A)({options:{distance:"200px"},predicate:([e])=>e.isIntersecting,once:!0}),P=(0,D.mM)(c),_=p&&i?i:n,A=w&&u||p&&i,S=p?f:0;return(0,l.jsxs)("a",{className:(0,o.A)(["card__genoa__video lazy",g]),href:m,title:b,onMouseEnter:function(){A&&j(!0)},onMouseLeave:function(){A&&j(!1)},children:[(0,l.jsx)("div",{ref:O,children:A?(0,l.jsx)(k,{allowAllPages:p,mouseHover:v,preview:_,duration:S}
2):null}),(0,l.jsx)("div",{className:"icon__container",children:(0,l.jsx)(s.A,{})}),(0,l.jsx)(E,{isLiveContent:r,aspectRatio:d,mediaTitle:t||b,lazy:h,auth:a,id:P,url:c,imageSizes:y})]})};I.propTypes={link:i().shape({url:i().string,title:i().string}),media:i().shape({embed:i().shape({config:i().shape({title:i().string,is_live_content:i().bool,preview:i().string,auth:i().object,thumbnail:i().string,lowQuality:i().string})}),shouldPreview:i().bool,aspectRatio:i().string,showPreviewOnDesktop:i().bool,previewDuration:i().number}),className:i().string,lazy:i().bool,imageSizes:i().object};var L=I;const R=e=>{const{media:{embed:{config:{title:t,is_live_content:r=!1}},aspectRatio:n},link:{title:i},className:a,customThumbnail:c,lazy:u,onClick:d}=e;return(0,l.jsxs)("div",{className:(0,o.A)(["card__genoa__video in-card",a]),onClick:d,children:[(0,l.jsx)("div",{className:"icon__container",children:(0,l.jsx)(s.A,{})}),(0,l.jsx)(E,{isLiveContent:r,aspectRatio:n,mediaTitle:t||i,lazy:u,url:c})]})};R.propTypes={link:i().shape({url:i().string,title:i().string}),media:i().shape({embed:i().shape({id:i().string,config:i().shape({title:i().string,is_live_content:i().bool})}),aspectRatio:i().string}),className:i().string,customThumbnail:i().string,lazy:i().bool,onClick:i().func};var M=R;function F(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function q(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?F(Object(r),!0).forEach(function(t){U(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):F(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function U(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const $=e=>{const{media:{embed:{id:t,config:{is_live_content:r=!1,created:n}},shouldPlay:i=!0,shouldPlayInCard:a=!1,shouldAutoPlay:s=!1,shouldMute:c=!1,customPlayerId:u},link:{title:d},className:p}=e,[f,m]=(0,x.useState)(!1);return i||f?(0,l.jsx)(l.Fragment,{children:(0,l.jsx)("div",{className:(0,o.A)(["card__genoa__video",p]),children:(0,l.jsx)(_.A,{contentId:t,autoplay:s,mute:c,isLive:r,created:n,title:d,enablePlaylist:!r,customPlayerId:u})})}):a?(0,l.jsx)(M,q(q({},e),{},{onClick:()=>m(!0)})):(0,l.jsx)(L,q({},e))};$.propTypes={link:i().shape({url:i().string,title:i().string}),media:i().shape({shouldPlay:i().bool,shouldAutoPlay:i().bool,shouldPlayInCard:i().bool,shouldMute:i().bool,customPlayerId:i().string,embed:i().shape({id:i().string,config:i().shape({title:i().string,is_live_content:i().bool,created:i().string})})}),className:i().string};var B=$;function V(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function z(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?V(Object(r),!0).forEach(function(t){G(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):V(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function G(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Y=e=>{let t=null;if("genoa"===e.media.subtype)t=(0,l.jsx)(B,z({},e));else t=(0,l.jsx)(P,z({},e));return t};Y.propTypes={media:i().shape({subtype:i().string})};var H=Y,J=r(17655),W=r(11795);const Q=({content:e,hasAutoplay:t,url:r,title:n,target:i})=>t?(0,l.jsx)("a",{className:"autoplay__anchor",href:r,title:n,target:i,children:(0,l.jsx)(J.A,{content:e,className:"height_full"})}):(0,l.jsx)(J.A,{content:e,className:"height_full"}),Z=({media:{content:e},isVertical:t,link:{url:r,title:n},target:i})=>{const o=e?.includes("autoplay");return(0,l.jsx)("div",{className:"card__media",children:(0,l.jsx)(W.A,{aspectRatio:t?"9/16":"16/9",children:(0,l.jsx)(Q,{content:e,hasAutoplay:o,url:r,title:n,target:i})})})};Q.propTypes={content:i().string,hasAutoplay:i().bool,url:i().string,title:i().string,target:i().string},Z.propTypes={media:i().shape({content:i().string}),isVertical:i().bool,link:i().shape({url:i().string,title:i().string}),target:i().string};var K=Z;function X(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function ee(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const te=e=>{let t;const{media:r,showRawHtml:n}=e;switch(r.type){case"custom_embed":t=H;break;case"image":t=u;break;case"gallery":t=m;break;case"raw_html":t=n?K:P;break;default:t=P}return(0,l.jsx)(t,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?X(Object(r),!0).forEach(function(t){ee(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):X(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},e))};te.propTypes={media:i().shape({type:i().string}),showRawHtml:i().bool};var re=te;function ne(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function ie(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ne(Object(r),!0).forEach(function(t){oe(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ne(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function oe(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ae=e=>{let t;switch(e.contentType){case"gallery":t=y;break;case"story":t=re;break;default:t=P}return(0,l.jsx)(t,ie(ie({className:"card__media"},e),{},{media:e.media}))};ae.propTypes={contentType:i().string,media:i().object};var se=ae},21177:function(e,t,r){"use strict";var n=r(19894),i=r.n(n),o=r(4321),a=r(13287),s=r(46344),l=r(19293),c=r(85349);function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach(function(t){p(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function p(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const f=({showMaMVolanta:e,showSpecialVolanta:t,volanta:r,tag:n,editableVolanta:i={},LogoVolanta:u=()=>null,IconoVolanta:p=null})=>{const{arcSite:f}=(0,o.useFusionContext)(),m="ciudad"===f,b="eldoce"===f,g="tn"===f,h=["eltrece","tn"],y=(0,a.A)(["card__volanta",{font__accent:!h.includes(f),font__subtitle:h.includes(f)},{"liveblog custom-dot-style":e},{volanta__special:t&&(m||b)}]),v=()=>e?(0,l.x4)(f):m||b?r||n?.text:r,j=()=>t&&m?(0,c.jsx)("img",{src:(0,s.A)("/images/ciudad/specialIcons/volanta-special.svg"),className:"icon__volanta"}):p;return v()||u()?(0,c.jsxs)("div",{className:"volanta-container",children:[v()&&(g?(0,c.jsxs)("h3",d(d({className:y},!e&&d({},i)),{},{suppressContentEditableWarning:!0,children:[(0,c.jsx)(j,{}),v()]})):(0,c.jsxs)("span",d(d({className:y},!e&&d({},i)),{},{suppressContentEditableWarning:!0,children:[(0,c.jsx)(j,{}),v()]}))),(0,c.jsx)(u,{})]}):null};f.propTypes={editableVolanta:i().object,LogoVolanta:i().func,showMaMVolanta:i().bool,showSpecialVolanta:i().bool,tag:i().object,volanta:i().string,IconoVolanta:i().node},t.A=f},682:function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?n(Object(r),!0).forEach(function(t){o(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function o(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,{E:function(){return a},w:function(){return s}});const a=(e,t)=>t.every(t=>e.includes(t)),s=e=>i(i({},e),{},{media:i(i({},e.media),{},{content_elements:[{_id:e.media._id,auth:e.media.auth,caption:e.media.caption,url:e.media.url}]})})},79517:function(e,t,r){"use strict";r.d(t,{A:function(){return C}});var n=r(19894),i=r.n(n),o=r(13287),a=r(4321),s=r(61752),l=r(3317),c=r(682),u=r(83896),d=r(81463),p=r(95118),f=r(19293),m=r(78907),b=r(21177),g=r(37675),h=r(59547),y=r(51692),v=r(85349);const j=({category:e,difficulty:t})=>{if(!e&&!t)return null;const r=(0,y.Mx)(e),n=(0,y.Yq)(t);return(0,v.jsxs)("div",{className:"recipe-data__container",children:[e&&(0,v.jsx)("button",{className:"recipe-data__item category font__subtitle-regular",children:r}),t&&(0,v.jsxs)("button",{className:`recipe-data__item difficulty font__subtitle-regular ${n?.value}`,children:[(0,v.jsx)(h.A,{level:n?.number}),(0,v.jsx)("span",{children:n?.name})]})]})};j.propTypes={category:i().string,difficulty:i().oneOf(["facil","intermedio","avanzado"])};var w=j;var O=()=>(0,v.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,v.jsx)("path",{d:"M13 11.6V8C13 7.71667 12.9042 7.47917 12.7125 7.2875C12.5208 7.09583 12.2833 7 12 7C11.7167 7 11.4792 7.09583 11.2875 7.2875C11.0958 7.47917 11 7.71667 11 8V11.975C11 12.1083 11.025 12.2375 11.075 12.3625C11.125 12.4875 11.2 12.6 11.3 12.7L14.6 16C14.7833 16.1833 15.0167 16.275 15.3 16.275C15.5833 16.275 15.8167 16.1833 16 16C16.1833 15.8167 16.275 15.5833 16.275 15.3C16.275 15.0167 16.1833 14.7833 16 14.6L13 11.6ZM12 22C10.6167 22 9.31667 21.7375 8.1 21.2125C6.88333 20.6875 5.825 19.975 4.925 19.075C4.025 18.175 3.3125 17.1167 2.7875 15.9C2.2625 14.6833 2 13.3833 2 12C2 10.6167 2.2625 9.31667 2.7875 8.1C3.3125 6.88333 4.025 5.825 4.925 4.925C5.825 4.025 6.88333 3.3125 8.1 2.7875C9.31667 2.2625 10.6167 2 12 2C13.3833 2 14.6833 2.2625 15.9 2.7875C17.1167 3.3125 18.175 4.025 19.075 4.925C19.975 5.825 20.6875 6.88333 21.2125 8.1C21.7375 9.31667 22 10.6167 22 12C22 13.3833 21.7375 14.6833 21.2125 15.9C20.6875 17.1167 19.975 18.175 19.075 19.075C18.175 19.975 17.1167 20.6875 15.9 21.2125C14.6833 21.7375 13.3833 22 12 22ZM12 20C14.2167 20 16.1042 19.2208 17.6625 17.6625C19.2208 16.1042 20 14.2167 20 12C20 9.78333 19.2208 7.89583 17.6625 6.3375C16.1042 4.77917 14.2167 4 12 4C9.78333 4 7.89583 4.77917 6.3375 6.3375C4.77917 7.89583 4 9.78333 4 12C4 14.2167 4.77917 16.1042 6.3375 17.6625C7.89583 19.2208 9.78333 20 12 20Z",fill:"#424242"})});const P=({prepTime:e,hasAuthor:t})=>e?(0,v.jsx)("div",{className:"recipe-foot__container"+(t?" with-author":""),children:e&&(0,v.jsxs)("span",{className:"recipe-foot__item time",children:[(0,v.jsx)(O,{}),(0,v.jsxs)("span",{className:"font__body-regular",children:[e.replace("mas","+"),"min"]})]})}):null;P.propTypes={prepTime:i().oneOf(["15","30","45","60","90","mas90"]),hasAuthor:i().bool};var x=P;const _=["data","transform","includedFields","direction","className","isVertical","showMaMVolanta","showSpecialVolanta","duration","Heading","editableHeadline","editableSubheadline","editableVolanta","dateFormat","showRawHtml","target","lazy","CardTitle","showPlayIcon","mediaPosition","LogoVolanta","IconoVolanta","imageSizes","urlSponsor","PbButtonsForArticle","IncludeComponent","classNames","recipeData","recipeFoot"];function A(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function S(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?A(Object(r),!0).forEach(function(t){E(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):A(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function E(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const T=["headline","tag","taglink","subheadline","volanta","media","author","date",!1],N=({Heading:e,headlineClassName:t,children:r})=>{const n=t||"font__display";return(0,v.jsx)(e,{className:`card__headline ${n}`,children:r})},k=e=>{let{data:t,transform:r,includedFields:n,direction:c,className:h,isVertical:y,showMaMVolanta:j,showSpecialVolanta:O,duration:P,Heading:A="h2",editableHeadline:E={},editableSubheadline:T={},editableVolanta:k={},dateFormat:C="DD MMM YYYY",showRawHtml:D=!1,target:I,lazy:L,CardTitle:R,showPlayIcon:M=!1,mediaPosition:F="top",LogoVolanta:q=()=>null,IconoVolanta:U=null,imageSizes:$,urlSponsor:B,PbButtonsForArticle:V=()=>null,IncludeComponent:z=()=>null,classNames:G={},recipeData:Y,recipeFoot:H}=e,J=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,_);const W=(0,m.A)(),Q=p.F.ELECCIONES2023_PAGE_TYPE===W,{arcSite:Z,isAdmin:K}=(0,a.useAppContext)(),{volanta:X,headline:ee,subheadline:te,author:re,media:ne,tag:ie,date:oe,url:ae,type:se}=(0,d.Up)(r(t),[...n,"url","type"]),le=(0,o.A)(["card__container",h,{card__horizontal:"horizontal"===c,card__vertical:"vertical"===c,in_pb:K}]),ce=()=>(0,d.Im)(ie)||"ciudad"===Z||"eldoce"===Z?null:n.includes("taglink")?(0,v.jsx)("a",{href:`/tags/${(0,f.qz)(ie.text)}/`,className:"card__tag font__accent",title:ie.text,children:(0,v.jsx)("h3",{className:"card__tag--title",children:ie.text})}):"tn"===Z?(0,v.jsx)("h3",{className:"card__tag font__action",title:ie.text,children:ie.text}):(0,v.jsx)("span",{className:"card__tag font__accent",title:ie.text,children:ie.text}),ue=({children:e})=>z()?(0,v.jsxs)("div",{className:"media-container",children:[e,(0,v.jsx)(g.A,{className:"sponsor-container-card",urlSponsor:B}),(0,v.jsx)(z,{})]}):(0,v.jsx)(v.Fragment,{children:e});ue.propTypes={children:i().node};const de=()=>(0,v.jsx)(ue,{children:!(0,d.Im)(ne)&&(0,v.jsx)(l.A,{link:{url:ae,title:ee},media:ne,contentType:se,showRawHtml:D,target:I,lazy:L,isVertical:y,showPlayIcon:M,imageSizes:$,urlSponsor:B})});return(0,v.jsxs)("article",S(S({className:le},J),{},{children:[R&&(0,v.jsx)(R,{}),"top"===F&&(0,v.jsx)(de,{}),(0,v.jsxs)("div",{className:"card__body",children:[(0,v.jsx)(ce,{}),!Y&&(0,v.jsx)(b.A,{showMaMVolanta:j,showSpecialVolanta:O,volanta:X,tag:ie,editableVolanta:k,LogoVolanta:q,IconoVolanta:U,suppressContentEditableWarning:!0}),Y&&(0,v.jsx)(w,{category:Y?.category,difficulty:Y?.difficulty}),ee&&(0,v.jsx)("header",{children:(0,v.jsx)(N,{Heading:Q?"h3":A,headlineClassName:G?.headlineClassName,children:(0,v.jsx)("a",S(S({href:ae,title:ee,target:I},E),{},{suppressContentEditableWarning:!0,children:ee}))})}),"center"===F&&(0,v.jsx)(de,{}),te&&(0,v.jsx)("p",S(S({className:"card__subheadline font__body"},T),{},{suppressContentEditableWarning:!0,children:(0,f._e)(te)})),(!(0,d.Im)(re)||oe)&&(0,v.jsxs)("footer",{children:[!(0,d.Im)(re)&&(0,v.jsxs)(v.Fragment,{children:[("tn"===Z||"eldoce"===Z)&&le.includes("card__opinion")&&(0,v.jsx)("h3",{className:"opinion-label",children:"Opinión"}),(0,v.jsx)(u.A,{authors:re,showPrep:!le.includes("card__opinion"),className:"card__author"})]}),oe&&(0,v.jsx)(s.A,{date:oe,format:C,duration:P})]}),H&&(0,v.jsx)(x,{prepTime:H?.prepTime,hasAuthor:!(0,d.Im)(re)})]}),(0,v.jsx)(V,{})]}))};k.propTypes={className:i().string,classNames:i().object,direction:i().oneOf(["horizontal","vertical"]).isRequired,transform:i().func,data:i().object.isRequired,showMaMVolanta:i().bool,showSpecialVolanta:i().bool,isVertical:i().bool,Heading:i().string,editableHeadline:i().object,editableSubheadline:i().object,editableVolanta:i().object,dateFormat:i().string,duration:i().number,showRawHtml:i().bool,target:i().string,lazy:i().bool,showPlayIcon:i().bool,mediaPosition:i().oneOf(["top","center"]),LogoVolanta:i().func,CardTitle:i().oneOfType([i().object,i().func]),includedFields:(e,t,r)=>{if(!(0,c.E)(T,e[t]))return new Error(`Invalid prop ${t} supplied to ${r}. Validation failed. Value received ${e[t]}`)},urlSponsor:i().string,IconoVolanta:i().node,imageSizes:i().object,PbButtonsForArticle:i().func,IncludeComponent:i().func,recipeData:i().shape({category:i().string,difficulty:i().string}),recipeFoot:i().shape({prepTime:i().string,hasAuthor:i().bool})},N.propTypes={children:i().node,Heading:i().oneOfType([i().string,i().elementType]),headlineClassName:i().string};var C=k},45797:function(e,t,r){"use strict";var n=r(19894),i=r.n(n),o=r(31673),a=r(39211),s=r(73674),l=r(79517),c=r(81463),u=r(10879),d=r(85349);const p=({carouselData:e,link:t,showPreviewOnDesktop:r,previewDuration:n})=>{const i=(0,u.Ay)(),p=r&&!i;return(0,d.jsxs)("div",{className:"programsCarousel dark-brick",children:[(0,d.jsx)(s.A,{slideValue:276,dark:!0,children:e.length>0&&e.map((e,t)=>(p&&e?.promo_items&&((0,c.hZ)(e,"promo_items.basic.showPreviewOnDesktop",!0),(0,c.hZ)(e,"promo_items.basic.previewDuration",n)),(0,d.jsx)(l.A,{direction:"vertical",data:e,duration:e.promo_items.basic?.embed?.config.duration,dateFormat:"DD-MM-YY",imageSizes:{small:314},includedFields:["headline","media","date"],transform:(0,c.ZI)(o.V4,o.d8,o.PQ,o.wu),className:"hover-zoom"},t)))}),(0,d.jsx)(a.A,{content:"Ver más",url:t||`${e[0].taxonomy?.primary_section?._id}/`,dark:!0,icon:!0,className:"bottom-button",variant:"text"})]})};
2p.propTypes={carouselData:i().array,link:i().string,showPreviewOnDesktop:i().bool,previewDuration:i().number},t.A=p},6929:function(e,t,r){"use strict";var n=r(11402),i=r(85349);const o=()=>(0,i.jsxs)(n.Ay,{speed:1,viewBox:"0 0 250 200",backgroundColor:"#d1d1d1",foregroundColor:"#bababa",preserveAspectRatio:"xMinYMin meet",children:[(0,i.jsx)("rect",{x:"0",y:"2",width:"250",height:"145"}),(0,i.jsx)("rect",{x:"0",y:"158",width:"180",height:"12"}),(0,i.jsx)("rect",{x:"0",y:"182",width:"100",height:"10"})]}),a=()=>(0,i.jsx)(n.Ay,{speed:1,viewBox:"0 0 300 20",backgroundColor:"#d1d1d1",foregroundColor:"#bababa",preserveAspectRatio:"xMinYMin meet",children:(0,i.jsx)("rect",{x:"0",y:"9",width:"50%",height:"8"})});t.A=()=>(0,i.jsxs)("div",{className:"skeleton-element",children:[(0,i.jsx)(a,{}),(0,i.jsx)("div",{className:"skeleton-carousel",children:[...Array(4)].map((e,t)=>(0,i.jsx)("div",{className:"skeleton-item",children:(0,i.jsx)(o,{})},t))})]})},11816:function(e,t){"use strict";t.A="{\n section {\n name\n }\n content_elements {\n display_date\n headlines {\n basic\n print\n }\n subheadlines {\n basic\n }\n promo_items {\n basic {\n caption\n content_elements {\n caption\n url\n }\n auth {\n 1\n }\n url\n _id\n embed {\n id\n config {\n created\n is_live_content\n thumbnail\n lowQuality\n duration\n auth {\n 1\n }\n }\n }\n subtype\n type\n }\n }\n taxonomy {\n primary_section {\n _id\n }\n }\n type\n website_url\n websites{\n eltrece{\n website_url\n }\n }\n _id\n }\n}"},20615:function(e,t,r){"use strict";var n=r(40809),i=r(19894),o=r.n(i),a=r(14375),s=r(4321),l=r(45797),c=r(11816),u=r(44106),d=r(6929),p=r(85349);const f=({element:e,showTitle:t,id:r,link:i,showPreviewOnDesktop:o,previewDuration:f})=>{const{isAdmin:m}=(0,s.useAppContext)(),{url:b,title:g,content_elements:h=[]}=e||{},y=b?.includes("/capitulos/temporada")?b:`${b}/capitulos`,v=r?{collectionId:r,size:6}:{_id:y,feed_size:6},j=r?"websked-collection":h&&h.length>0?null:b?"section-feed":null,w=j?(0,a.useContent)({source:j,query:v,filter:c.A}):{content_elements:h||[]},[O,P]=(0,n.useState)(!0);if((0,n.useEffect)(()=>{const e=setTimeout(()=>P(!1),6e3);return()=>clearTimeout(e)},[]),O&&(!w||!w?.content_elements?.length))return(0,p.jsx)(d.A,{});if(!(O||w&&w?.content_elements?.length))return null;if(r&&0===w?.content_elements.length)return m?(0,p.jsx)(u.A,{className:"width_full brick-error-alert",text:"El ID ingresado no es válido"}):null;const x=t?g||w?.section?.name:null,_=r?i||"/capitulos/":null;return(0,p.jsxs)("div",{className:"carousel-element",children:[x&&(0,p.jsx)("h2",{className:"title",children:x}),(0,p.jsx)(l.A,{carouselData:w.content_elements,link:_,previewDuration:f,showPreviewOnDesktop:o})]})};f.propTypes={element:o().object,showTitle:o().bool,id:o().string,link:o().string,showPreviewOnDesktop:o().bool,previewDuration:o().number},t.A=f},18696:function(e,t,r){"use strict";var n=r(19894),i=r.n(n),o=r(13287),a=r(85349);const s=({size:e,current:t})=>(0,a.jsx)("div",{className:"carrusel-dots",children:new Array(e).fill(0).map((e,r)=>(0,a.jsx)("span",{className:(0,o.A)(["dot",{current:t===r}])},r))});s.propTypes={size:i().number,current:i().number},t.A=s},38945:function(e,t,r){"use strict";r.d(t,{JM:function(){return a},q_:function(){return s},ug:function(){return o}});var n=r(19293),i=r(81463);function o(e){if(!n.Bd)return{activeFilters:{},searchQuery:""};const{search:t}=window.location;if(!t)return{activeFilters:{},searchQuery:""};const r=Object.fromEntries(new URLSearchParams(t)),i=function(e,t=""){if(!t)return{};const r=Object.fromEntries(new URLSearchParams(t));return Object.keys(r).filter(e=>"true"===r[e]).reduce((t,r)=>{const n=e.find(e=>e.options.some(e=>e.value===r));return n?(t[`${n.value}:${r}`]=!0,t):t},{})}(e,t);return{activeFilters:i,searchQuery:r.q||""}}function a({filters:e,query:t},{redirect:r=!1}){const n=new URL(window.location);let o=!1;void 0!==e&&(o=!0,Object.entries(e).forEach(([e,t])=>{const r=e.split(":")[1];t?n.searchParams.set(r,"true"):n.searchParams.delete(r)})),void 0!==t&&(o=!0,(0,i.Im)(t)?n.searchParams.delete("q"):n.searchParams.set("q",t.trim())),r?(n.pathname="/cucinare/recetas/",window.location.href=n.toString()):o&&window.history.replaceState({},"",n)}function s(e){return Object.fromEntries(Object.keys(e).map(e=>[e,!1]))}},68932:function(e,t,r){"use strict";r.d(t,{j:function(){return m}});var n=r(40809),i=r(19894),o=r.n(i),a=r(38945),s=r(51692),l=r(71300),c=r(85349);function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?u(Object(r),!0).forEach(function(t){p(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function p(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const f=(0,n.createContext)(),m=()=>(0,n.useContext)(f),b=({children:e})=>{const{isRecipeLandingPage:t}=(0,l.A)(),r=(0,n.useRef)(null),[i,o]=(0,n.useState)(!1),[u,p]=(0,n.useState)(!1),[m,b]=(0,n.useState)(()=>{const{activeFilters:e,searchQuery:t}=(0,a.ug)(s.zB);return{filters:e,query:t}});return(0,n.useEffect)(()=>{null!==r.current&&((0,a.JM)(m,{redirect:r.current}),r.current=!1)},[m]),(0,c.jsx)(f.Provider,{value:{hideBrickContainer:i,isLoading:u,search:function({query:e,filters:n}){r.current=!t,b(t=>d(d(d({},t),void 0!==e&&{query:e}),void 0!==n&&{filters:n}))},searchQuery:m,setHideBrickContainer:o,setIsLoading:p},children:e})};b.propTypes={children:o().node},t.A=b},67803:function(e,t,r){"use strict";var n=r(4321),i=r(19894),o=r.n(i),a=r(46344),s=r(60025),l=r(63684),c=r(19293),u=r(85349);function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach(function(t){f(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function f(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const m=(e,t)=>()=>{(0,c.d)({event:"ga4.trackEvent",eventName:"link-click",eventParams:{eCategory:t,eAction:"click",eLabel:e.title}})},b=({src:e,alt:t,className:r})=>(0,u.jsx)("img",{loading:"lazy",src:e,className:r,alt:t,fetchPriority:"low"});b.propTypes={src:o().string.isRequired,alt:o().string.isRequired,className:o().string.isRequired};const g=({src:e,alt:t,className:r,appLink:n,eCategory:i,isAmp:o})=>(0,u.jsx)("a",p(p({target:"_blank",rel:"noopener noreferrer"},n),{},{onClick:m(n,i),children:o?(0,u.jsx)("amp-img",{alt:t,className:r,src:e,width:"100",height:"30",layout:"fixed",children:(0,u.jsx)("noscript",{children:(0,u.jsx)(b,{src:e,alt:t,className:r})})}):(0,u.jsx)(b,{src:e,alt:t,className:r})}));g.propTypes={src:o().string.isRequired,alt:o().string.isRequired,className:o().string.isRequired,appLink:o().object.isRequired,eCategory:o().string.isRequired,isAmp:o().bool.isRequired};const h=({eCategory:e="App"})=>{const{appLinks:t,downloadAppText:r}=(0,s.A)(),i=(0,l.A)(),{arcSite:o}=(0,n.useAppContext)();return["ciudad","eldoce"].includes(o)?null:(0,u.jsxs)("div",{className:"download-apps-container",children:[(0,u.jsx)("h3",{className:"font__subtitle",children:r}),(0,u.jsxs)("div",{children:[(0,u.jsx)(g,{src:(0,a.A)("/images/google-play.png"),alt:"google-play",className:"playstore",appLink:t.androidAppUrl,eCategory:e,isAmp:i}),(0,u.jsx)(g,{src:(0,a.A)("/images/app-store.png"),alt:"app-store",className:"appstore",appLink:t.iOSAppUrl,eCategory:e,isAmp:i})]})]})};h.propTypes={eCategory:o().string},t.A=h},7315:function(e,t,r){"use strict";r.d(t,{A:function(){return A}});var n=r(19894),i=r.n(n),o=r(13287),a=r(4321),s=r(40809),l=r(81463),c=r(85349);function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?u(Object(r),!0).forEach(function(t){p(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function p(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var f=e=>(0,c.jsx)("svg",d(d({xmlns:"http://www.w3.org/2000/svg",id:"#TriangleIcon",width:"16",height:"16",fill:"none"},e),{},{viewBox:"0 0 16 16",children:(0,c.jsx)("path",{d:"M8.151 11.825a.2.2 0 0 1-.302 0L3.09 6.331A.2.2 0 0 1 3.242 6h9.516a.2.2 0 0 1 .152.33z"})})),m=r(19293);function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function g(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?b(Object(r),!0).forEach(function(t){h(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function h(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const y=({title:e,href:t,onClick:r=()=>{},className:n,newTab:i=!0,clarityTrack:o=!1,icon:a=null})=>{if(!e)return null;const s=a?(0,c.jsxs)(c.Fragment,{children:[a,(0,c.jsx)("span",{children:e})]}):e,u=()=>{o&&(0,m.m2)("header_secondary-nav-link"),r()};return(0,c.jsx)(c.Fragment,{children:(0,l.Im)(t)?(0,c.jsx)("p",{className:n,onClick:u,children:s}):(0,c.jsx)("a",g(g({className:n,href:t,onClick:u},i&&{target:"_blank",rel:"noreferrer"}),{},{children:s}))})};y.propTypes={className:i().string,href:i().string,newTab:i().bool,onClick:i().func,title:i().string,clarityTrack:i().bool,icon:i().node};var v=y,j=r(63684),w=r(79339);function O(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function P(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?O(Object(r),!0).forEach(function(t){x(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):O(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function x(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const _=e=>{const{Component:t="div",expanded:r=!1,Icon:n=f,id:i,idPrefix:u="",onToggle:d,sublinks:p=[],title:m,classNameFontHeader:b="",classNameFontLink:g="",showGradient:h=!1}=e,y=(0,j.A)(),{arcSite:O}=(0,a.useFusionContext)(),x=(0,s.useRef)(null),{atStart:_,atEnd:A,hideForBoth:S}=(0,w.A)({ref:x,vertical:!0});if((0,l.Im)(m))return null;const E=u?`${u}-${i}`:i,T=!(0,l.Im)(p),N=T?(0,c.jsx)("div",{className:(0,o.A)(["dropdown-links",{showTopGradient:h&&!S&&!_},{showBottomGradient:h&&!S&&!A}]),ref:h?x:void 0,children:p.map((e,t)=>(0,c.jsx)(v,P(P({},e),{},{className:(0,o.A)(["dropdown-link",e.className||"",g,{font__subtitle:"eltrece"===O}])}),t))}):null;if(T&&!y)return(0,c.jsx)(t,{className:"dropdown-container",children:(0,c.jsxs)("details",P(P({className:"dropdown",open:!!r},void 0!==i&&{id:`dropdown-${E}`}),{},{children:[(0,c.jsxs)("summary",{className:(0,o.A)(["dropdown-header","with-sublinks",b]),onClick:e=>{e.target.closest("a")||d&&(e.preventDefault(),d(i,!r))},children:[(0,c.jsx)(v,P({},e)),(0,c.jsx)("span",{className:"chevron","aria-hidden":"true",children:(0,c.jsx)(n,{className:"rotation-effect"})})]}),N]}))});const k=`\n tap:dropdown-${E}.toggleClass(class='expanded'),\n dropdown-selector-${E}.toggleClass(class='dropdown-selected'),\n icon-${E}.toggleClass(class='up')\n `;return(0,c.jsxs)(t,P(P({className:(0,o.A)(["dropdown",{expanded:!!r}])},y&&void 0!==i&&{on:k,id:`dropdown-${E}`}),{},{children:[(0,c.jsxs)("div",P(P(P({className:(0,o.A)(["dropdown-header",{"with-sublinks":T},b,{"dropdown-selected":!!r&&"eldoce"===O}])},y&&void 0!==i&&{id:`dropdown-selector-${E}`}),!y&&T&&d&&{onClick:()=>d(i,!r)}),{},{children:[(0,c.jsx)(v,P({},e)),T&&(y?(0,c.jsx)("button",{type:"button",className:"chevron",on:k,children:(0,c.jsx)(n,{id:`icon-${E}`,className:"rotation-effect"})}):(0,c.jsx)("button",{type:"button",className:"chevron",children:(0,c.jsx)(n,{className:"rotation-effect"})}))]})),N]}))};_.propTypes={Component:i().string,Icon:i().func,expanded:i().bool,href:i().string,id:i().any,idPrefix:i().string,onClick:i().func,onToggle:i().func,sublinks:i().array,title:i().string,classNameFontHeader:i().string,classNameFontLink:i().string,
2showGradient:i().bool};var A=_},37612:function(e,t,r){"use strict";r.d(t,{Kt:function(){return a},Mc:function(){return i},tx:function(){return s}});var n=r(44830);const i=e=>e&&n.Rx.some(t=>e.includes(t))&&!e.includes("/2023/")&&(e.includes("elections-widget")||e.includes("hemiciclo-congreso")),o={"elections.extendido":412,"elections.resumido":412,"elections.mapa":1120,"elections.lista":775,"hemiciclo.default":672,default:412},a=e=>{if(!e)return o.default;let t="default";if(e.includes("elections-widget")){t=`elections.${e.match(/formato=([^&#]*)/)?.[1]||"default"}`}else e.includes("hemiciclo-congreso")&&(t="hemiciclo.default");return o[t]||o.default},s=e=>{if(!e||0===e.length)return"0";let t=0;for(let r=0;r<e.length;r+=1){t=(t<<5)-t+e.charCodeAt(r),t|=0}return Math.abs(t).toString(36)}},97534:function(e,t,r){"use strict";var n=r(19894),i=r.n(n),o=r(13287),a=r(40809),s=r(10879),l=r(93840),c=r(37612),u=r(85349);const d=({src:e,amp:t=!1,article:r=!1})=>{if(!e)return null;const n=(0,s.Ay)();let i,d;try{d=new URL(e);const t=new URLSearchParams(d.search);t.sort(),i=t.toString()}catch{return null}const p=(0,a.useRef)({}),[f]=(0,a.useState)(()=>`iframe-${(0,c.tx)(d.origin+i)}`),m=`${e}${e.includes("?")?"&":"?"}iframeId=${f}`,b=(0,c.Kt)(e);return(0,a.useEffect)(()=>{if(t)return;const e=e=>{const{type:t,height:r,iframeId:n}=e.data||{};if("resize"!==t||!n)return;const i=p.current[n];i&&(i.style.height=`${r}px`)};return window.addEventListener("message",e),()=>window.removeEventListener("message",e)},[t]),t?(0,u.jsxs)("amp-iframe",{class:"raw_container full-width-mobile",layout:"fixed-height",width:"auto",height:"980",resizable:"",sandbox:"allow-scripts allow-same-origin",frameBorder:"0",src:m,children:[(0,u.jsx)("amp-img",{placeholder:!0,width:"9",height:"16",layout:"fill",src:(0,l.fE)().lowResBody}),(0,u.jsx)("div",{overflow:""})]}):(0,u.jsx)("iframe",{className:(0,o.A)([{raw_container:r},{"full-width-mobile":n}]),ref:e=>{e&&(p.current[f]=e)},"data-iframe-id":f,"data-testid":"dynamic-iframe",src:m,width:"100%",height:b,frameBorder:"0",style:{transition:"height 0.2s ease"}})};d.propTypes={src:i().string,amp:i().bool,article:i().bool},t.A=d},30248:function(e,t,r){"use strict";var n=r(4321),i=r(19894),o=r.n(i),a=r(87983),s=r.n(a),l=r(57738),c=r(22896),u=r(10879),d=r(33934),p=r(22439),f=r(34755),m=r(21945),b=r(5164),g=r(27664),h=r(85349);function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?y(Object(r),!0).forEach(function(t){j(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function j(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const w=({contentId:e,autoplay:t=!1,isLive:i=!1,isVertical:o=!1,created:a,mute:y=!1,thumbnail:j,title:w,enablePlaylist:O=!1,articleUrl:P=!1,disableAds:x=!1,customPlayerId:_,withBumperAd:A=!1})=>{const{arcSite:S}=(0,n.useAppContext)(),{playerId:E}=s()(S).genoaPlayer,{id:T}=(0,b.A)(),{playlist:N,ready:k}=(0,g.Gi)(O),C=_||E,D=P?new URL((0,p.A)()):new URL((0,l.A)()),I=(0,f.A)(),L=(e="")=>{if(x)return null;const{dfp_publisher_id:t}=s()(),{pvast:r}=s()(S).genoaPlayer,n=T||[],o=s()(S).ads.videoType?.concat(e),a=I?`${I}/`:"",{product:l}=s()(S).ads;if(r.iu=`/${t}/${(0,d.A)(l,D.pathname,o,n,I,a)}`,r.description_url=D,r.url=D,r.cust_param=(()=>{const e=s()(S).genoaPlayer.cust_params;return e.platform=(0,u.Ay)()?"mobile":"desktop",new URLSearchParams(e).toString()})(),"tn"===S&&"9SDHYX1742216970"===_||"tn"!==S&&i||(delete r.max_ad_duration,delete r.pmxd),A){return new URLSearchParams({iu:`/${t}/${l}
2/home/reel`,description_url:D,url:D,unviewed_position_start:1,gdfp_req:1,sz:"720x1280|1080x1920",max_ad_duration:6e3,output:"vast",impl:"s",tfcd:0,npa:0,env:"vp",correlator:""}).toString()}return new URLSearchParams(r).toString()};return(0,g.SJ)(k,()=>{if(document.getElementById("genoaScript"))window?.playerAPI?.initPlayers();else{r(19871);const e=document.createElement("script");e.src="https://player.vodgc.net/dist/V3/genoa-player.min.js",e.async=!0,e.id="genoaScript",e.fetchPriority="high",document.body.appendChild(e)}}),(0,h.jsx)("div",{className:"genoa-player-container","data-testid":"genoa-testid",children:(0,h.jsx)(c.A,{aspectRatio:o?"9/16":"16/9",children:(0,h.jsx)("genoa-player",v(v({"data-content-id":e,"data-player-id":C,"data-autoplay":t.toString(),"data-width":"100%","data-height":"100%","data-playlist-overlay":N,"data-playlist-related":"true","data-is-live":i.toString(),"data-pvast":L(),"data-rvast":L("relacionados")},x?{"data-blockvast":"true"}:{}),{},{"data-mute":y.toString(),"data-custom-poster":j,"data-created":a,"data-comscore":(()=>{const t=void 0===a?new Date:new Date(a),r=(0,m.R8)(t,"YYYY-MM-DD"),n={ns_site:S,ns_st_st:S,ns_st_pu:"Grupo Clarin",ns_st_pr:w,ns_st_ep:w,ns_st_sn:D,ns_st_ddt:r,ns_st_tdt:r,ns_st_ge:"noticias",ns_st_id:e,ns_st_ty:"video",ns_st_ct:"vc11",ns_st_ti:"*null",ns_st_ia:"*null",ns_st_ce:"*null",ns_st_cu:`https://api.vodgc.net/player/v2/embed/playerId/${C}/contentId/${e}`,c3:S.toString().toUpperCase(),c4:"*null",c6:"*null",c7:D};return i&&(n.ns_st_cl=0),JSON.stringify(n)})(),"data-share":D},o?{"data-vertical":"true"}:{}))})})};w.propTypes={contentId:o().string.isRequired,autoplay:o().bool,isLive:o().bool,isVertical:o().bool,created:o().string,mute:o().bool,thumbnail:o().string,title:o().string,enablePlaylist:o().bool,articleUrl:o().bool,disableAds:o().bool,customPlayerId:o().string,withBumperAd:o().bool},t.A=w},19871:function(e,t,r){"use strict";r.r(t);var n=r(19293),i=r(21945);document.addEventListener("genoa_pass_data",e=>{if(!["adStarted","adLog","adComplete","adSkipped","adContentResume","adResumed","Start","Pause","Resume","FirstQuartile","Midpoint","StreamingProgress","Complete","Ended"].includes(e.detail.action))return;const t=document.querySelector(`genoa-player[data-content-id='${e.detail.content_id}']`),r=void 0===t.dataset.created?new Date:new Date(t.dataset.created),o=(0,i.R8)(r,"YYYY-MM-DD");(0,n.d)({event:"video-player",eAction:e.detail.action,eCategory:"true"===t.dataset.isLive?"en-vivo":"video",eLabel:`${e.detail.content_id}|${e.detail.name}`,vDuration:"true"===t.dataset.isLive?0:e.detail.duration,vPlayer:e.detail.player,vPublishDate:o})},!1)},27664:function(e,t,r){"use strict";r.d(t,{Gi:function(){return m},Kz:function(){return g},SJ:function(){return b}});var n=r(14375),i=r(4321),o=r(40809),a=r(32112),s=r(58205),l=r(81463),c=r(77439),u=r(26731),d=r(13352),p=r(78907),f=r(95118);function m(e){const t=(0,s.A)(),r=(0,p.A)(),{arcSite:o}=(0,i.useFusionContext)(),{CHAPTERS_FULL_PAGE_TYPE:c}=f.F,u={type:"story"};r!==c&&(u["source.source_type"]="staff");const d=(0,n.useContent)({source:e?"content-feed":null,query:{size:"50",feed_body:(0,a.zm)(o,`/${t}`,u),_sourceInclude:"promo_items.basic.subtype,promo_items.basic.embed.id",resizer:"false"}});if(!d)return{playlist:"",ready:!e};const{content_elements:m}=d,b=[];return m.forEach(e=>{"genoa"===(0,l.Jt)(e,"promo_items.basic.subtype")&&b.push((0,l.Jt)(e,"promo_items.basic.embed.id"))}),{playlist:b.join(","),ready:e}}function b(e,t,r=1e4){const n=(0,o.useRef)(!1);(0,o.useEffect)(()=>{if(n.current)return;let i;const o=()=>{n.current||(n.current=!0,t())};return e?o():i=setTimeout(o,r),()=>{i&&clearTimeout(i)}},[e,r,t])}const g=(e,t=1023)=>{const{RESIZER_URL:r,RESIZER_TOKEN_VERSION:n}=(0,c.A)(),i=(0,l.Jt)(e,`config.auth.${n}`,""),o=(0,d.mM)(e.config.thumbnail),a=e.config.thumbnail;return(0,u.ks)({resizedUrl:r,id:o,url:a,auth:i,size:{width:t}})}},24906:function(e,t,r){"use strict";var n=r(40809),i=r(19894),o=r.n(i),a=r(30248),s=r(39676),l=r(85349);const c=({contentId:e,autoplay:t,loadPlayer:r=!1,isLive:i=!1,isVertical:o,thumbnail:c,resizedUrls:u,created:d,disableAds:p,title:f,enablePlaylist:m,articleUrl:b,draggable:g,mute:h,customPlayerId:y,auth:v,id:j,url:w})=>
2{const[O,P]=(0,n.useState)(r);return(0,l.jsx)(l.Fragment,{children:O?(0,l.jsx)(a.A,{autoplay:t,contentId:e,created:d,disableAds:p,isLive:i,isVertical:o,thumbnail:c,title:f,articleUrl:b,enablePlaylist:m,mute:h,customPlayerId:y}):(0,l.jsx)(s.A,{resizedUrls:u,showPlayButton:!O,isLive:i,isVertical:o,onClick:()=>P(!0),draggable:g,auth:v,id:j,url:w})})};c.propTypes={contentId:o().string.isRequired,autoplay:o().bool,loadPlayer:o().bool,isLive:o().bool,isVertical:o().bool,created:o().string,mute:o().bool,thumbnail:o().string,title:o().string,enablePlaylist:o().bool,articleUrl:o().bool,disableAds:o().bool,draggable:o().bool,resizedUrls:o().object,auth:o().object,id:o().string,url:o().string,customPlayerId:o().string},t.A=c},35370:function(e,t,r){"use strict";var n=r(40809),i=r(19894),o=r.n(i),a=r(14375),s=r(4321),l=r(85288),c=r(60025),u=r(77439),d=r(57738),p=r(10879),f=r(9785),m=r(70929),b=r(85349);const g=async()=>{try{const e=await fetch("https://api64.ipify.org");return e.ok?await e.text():""}catch(e){return console.error("Error fetching IP address:",e),null}},h=({arcSite:e})=>{const{isAdmin:t}=(0,s.useAppContext)(),{uuid:i="",email:o}=(0,l.A)(),h=(0,m.A)(),{subscriptionActivated:y}=(0,c.A)(),{apiBaseUrl:v}=(0,u.A)(),j=(0,d.A)(),w=(0,p.mq)(),[O,P]=(0,n.useState)(null);(async e=>{(await r.e(5453).then(r.bind(r,15453)).then(e=>e.default)).options({apiOrigin:e})})(v),(0,f.A)(o),(0,n.useEffect)(()=>{if("undefined"==typeof window||!window.clientParamBuilder||!j)return;const e=window.clientParamBuilder;e.processAndCollectAllParams(j,g).then(()=>{var t;P({fbc:e.getFbc(),fbp:e.getFbp(),clientIP:(t=e.getClientIpAddress(),"string"==typeof t?t.replace(/(\.(?=[^.]*[A-Za-z])[^.]+)\1+$/,"$1"):t)})}).catch(e=>{console.error("Error resolving matching params:",e),P({})})},[j]);const x=Boolean(O?.fbp),_=Boolean(w&&!t&&(!1===h||Boolean(i))&&x),A={"arc-site":e,userAgent:w,eventSourceUrl:j};if(O?.fbc&&(A.fbc=O.fbc),O?.fbp&&(A.fbp=O.fbp),O?.clientIP&&(A.clientIP=O.clientIP),o&&"undefined"!=typeof window&&window.clientParamBuilder){const e=window.clientParamBuilder.getNormalizedAndHashedPII(o,"email");e&&(A.email=e)}return i&&(A.userId=i),(0,a.useContent)({source:_?"meta-api":null,query:A}),(0,n.useEffect)(()=>{y&&i&&localStorage.setItem("uuid-arc",i)},[y,i]),(0,b.jsx)(b.Fragment,{})};h.propTypes={arcSite:o().string},t.A=h},59803:function(e,t,r){"use strict";r.d(t,{n:function(){return u}});var n=r(40809),i=r(19894),o=r.n(i),a=r(4321),s=r(94093),l=r(85349);const c=(0,n.createContext)(),u=()=>(0,n.useContext)(c),d=({children:e})=>{const[t,r]=(0,n.useState)(!1),[i,o]=(0,n.useState)(null),{arcSite:u}=(0,a.useAppContext)();return(0,n.useEffect)(()=>{t&&o((0,s.xz)())},[t]),{tn:!0,eldoce:!1,eltrece:!1,ciudad:!1}[u]?(0,l.jsx)(c.Provider,{value:{userTags:i,setUserTags:o,initialized:t,setInitialized:r},children:e}):(0,l.jsx)(l.Fragment,{children:e})};d.propTypes={children:o().oneOfType([o().array,o().object])},t.A=d},73674:function(e,t,r){"use strict";var n=r(40809),i=r(19894),o=r.n(i),a=r(13287),s=r(29868),l=r(18696),c=r(10879),u=r(39211),d=r(72140),p=r(19603),f=r(85349);const m=e=>{if(!e)return 0;const{width:t}=e.getBoundingClientRect();if(!t)return 0;const r=window.getComputedStyle(e);return t+(parseFloat(r.marginLeft)||0)+(parseFloat(r.marginRight)||0)+((e,t)=>{if(!e)return 0;const r=window.getComputedStyle(e,t),n=parseFloat(r.width),i=parseFloat(r.marginLeft)||0,o=parseFloat(r.marginRight)||0;return(Number.isNaN(n)?0:n)+i+o})(e,"::before")},b=(0,n.forwardRef)(({children:e,dark:t,slideValue:r,dotsPosition:i="up",showDots:o=!0},b)=>
2{const[g,h]=(0,n.useState)(0),[y,v]=(0,n.useState)(0),[j,w]=(0,n.useState)(0),[O,P]=(0,n.useState)(1),[x,_]=(0,n.useState)(0),[A,S]=(0,n.useState)(0),E=(0,n.useRef)(),T=(0,n.useRef)(),N=(0,n.useRef)([]),k=(0,s.A)(E),C=(0,s.A)(T),D=(0,c.Ay)(!0,!0),I=!D,L=0===j?"0px":`-${j}px`,R=n.Children.count(e),M=R>=4;(0,n.useEffect)(()=>{if(!I||!T.current||!M)return;const e=T.current.querySelector(".button_arrow_left"),t=T.current.querySelector(".button_arrow_right"),r=m(e)||m(t)||54,n=m(t)||m(e)||54;_(r),S(n);const i=(0,p.aU)(T.current,".horizontal-scroll__item",{rightInset:n});P(i),h(e=>Math.min(e,i-1));const{scrollWidth:o,clientWidth:a}=T.current,s=Math.max(0,o-a);w(e=>Math.min(e,s))},[I,k,C,e,M]);const F=(0,n.useCallback)(()=>D?Math.ceil(R/2):M?O:1,[R,D,O,M]);(0,n.useImperativeHandle)(b,()=>({getDotsSize:F,currentItem:g}),[F,g]);return(0,n.useEffect)(()=>{if(I)return()=>{};if(D){const e=new IntersectionObserver(e=>{e.forEach(e=>{if(e.isIntersecting){const t=Number(e.target.getAttribute("data-index"));h(Math.floor(t/2)),v(t)}})},{threshold:.5});return N.current.forEach(t=>{t&&e.observe(t)}),()=>{e.disconnect()}}return()=>{}},[D,I,e]),(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)("div",{className:(0,a.A)(["horizontal-scroll__container",{container_with_arrows:r}]),children:[r&&"up"===i&&o&&(0,f.jsx)(l.A,{size:F(),current:g}),(0,f.jsxs)("div",{className:"horizontal-scroll__slider",ref:T,children:[(0,f.jsx)(u.A,{className:(0,a.A)([{hidden:!M||(D?y<=1:j<=p.GT)},"button_arrow_left"]),onClick:I?()=>{if(!T.current)return;const e=(0,p.HO)(T.current,".horizontal-scroll__item",j,{leftInset:x});w(e),h(e=>Math.max(e-1,0))}:void 0,content:" ",dark:t,icon:!0,iconPos:"right",IconComponent:d.A}),(0,f.jsx)("div",{className:"inline_block",children:(0,f.jsx)("div",{className:"horizontal-scroll__content",style:{transform:`translateX(${L})`},ref:E,children:n.Children.toArray(e).map((e,t)=>(0,f.jsx)("div",{className:"horizontal-scroll__item",ref:e=>{N.current[t]=e},"data-index":t,children:e},t))})}),(0,f.jsx)(u.A,{className:(0,a.A)([{hidden:(()=>{if(!M)return!0;if(D)return!1;if(!T.current)return!0;const{scrollWidth:e,clientWidth:t}=T.current,r=Math.max(0,e-t);return j>=r-p.GT})()},"button_arrow_right"]),onClick:I?()=>{if(!T.current)return;const e=(0,p.ac)(T.current,".horizontal-scroll__item",j,{rightInset:A});w(e),h(e=>Math.min(e+1,O-1))}:void 0,content:" ",dark:t,icon:!0,iconPos:"right",IconComponent:d.A})]})]}),r&&"down"===i&&o&&(0,f.jsx)(l.A,{size:F(),current:g})]})});b.propTypes={children:o().node.isRequired,dark:o().bool,slideValue:o().number,dotsPosition:o().oneOf(["up","down"]),showDots:o().bool},t.A=b},62748:function(e,t,r){"use strict";var n=r(19894),i=r.n(n),o=r(14227),a=r(50276),s=r(31796),l=r(82921),c=r(61966),u=r(81463),d=r(31408),p=r(93840),f=r(85349);const m=["className","src","isVertical","layoutamp"];function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function g(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?b(Object(r),!0).forEach(function(t){h(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function h(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const y=e=>{let{className:t="",src:r,isVertical:n,layoutamp:o="responsive"}=e,a=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,m);const s=n?(0,p.nL)():(0,p.ng)(),l=({imgSrc:e,media:r,placeholderSrc:n})=>(0,f.jsx)("amp-img",g(g({class:t},a),{},{src:e,media:r,layout:o,fetchPriority:void 0,children:(0,f.jsx)("amp-img",g(g({placeholder:!0,fallback:"",class:t},a),{},{src:n,fetchPriority:void 0}))}));return l.propTypes={imgSrc:i().string,media:i().string,placeholderSrc:i().string},(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(l,{imgSrc:r.small,media:"(max-width: 728px)",placeholderSrc:s.small}),(0,f.jsx)(l,{imgSrc:r.medium||r.small,media:"(min-width: 729px) and (max-width: 1023px)",placeholderSrc:s.medium}),(0,f.jsx)(l,{imgSrc:r.large||r.small,media:"(min-width: 1024px)",placeholderSrc:s.large})]})};
2y.propTypes={className:i().string,src:i().object,isVertical:i().bool,layoutamp:i().string},t.A=(0,u.ZI)(d.A,a.A,o.A,s.A,l.A,c.A)(y)},77509:function(e,t,r){"use strict";var n=r(40809),i=r(61966),o=r(14227),a=r(50276),s=r(31796),l=r(82921),c=r(81463),u=r(31408),d=r(85349);function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach(function(t){m(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function m(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const b=(0,n.forwardRef)((e,t)=>(0,d.jsx)("img",f(f({},e),{},{ref:t})));b.displayName="Image",t.A=(0,c.ZI)(u.A,a.A,o.A,s.A,l.A,i.A)(b)},29242:function(e,t,r){"use strict";r.d(t,{Ay:function(){return c}});r(61966),r(14227),r(50276),r(31796),r(82921);var n=r(62748),i=r(77509),o=r(6757),a=r(85349);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function l(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=e=>(0,a.jsx)(o.A,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach(function(t){l(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({className:"image",amp:n.A,default:i.A},e))},14227:function(e,t,r){"use strict";var n=r(19894),i=r.n(n),o=r(22896),a=r(85349);const s=["aspectRatio"];function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(t){u(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function u(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.A=e=>{const t=t=>{let{aspectRatio:r="16/9"}=t,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(t,s);return(0,a.jsx)(o.A,{"data-testid":"aspect-ratio",aspectRatio:r,children:(0,a.jsx)(e,c({},n))})};return t.propTypes={aspectRatio:i().string},t}},50276:function(e,t,r){"use strict";var n=r(19894),i=r.n(n),o=r(85349);
2const a=["caption","classNameCaption","sponsor"];function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach(function(t){c(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function c(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.A=e=>{const t=t=>{let{caption:r=null,classNameCaption:n="",sponsor:i}=t,s=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(t,a);return r?(0,o.jsxs)("figure",{"data-testid":"figure-testid",className:n,children:[(0,o.jsx)(e,l({},s)),(0,o.jsx)("figcaption",{"data-testid":"figcaption-testid",className:r.props?.caption?"caption_image":"caption_image featured_image",children:r})]}):(0,o.jsx)(e,l({},s))};return t.propTypes={caption:i().node,sponsor:i().string},t}},61966:function(e,t,r){"use strict";var n=r(19894),i=r.n(n),o=r(63684),a=r(83627),s=r(19293),l=r(85349);const c=["lazy"];function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach(function(t){p(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function p(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const f=([e])=>e.isIntersecting;t.A=e=>{const t=t=>{let{lazy:r=!1}=t,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(t,c);if(!r&&(0,o.A)()){const{alt:t,src:r}=n;return(0,l.jsx)(e,d(d({},n),{},{children:(0,l.jsx)("noscript",{children:(0,l.jsx)("img",{src:(r.large||r.small).split("&")[0],alt:t})})}))}if(!r||(0,o.A)())return(0,l.jsx)(e,d({},n));if(!s.Bd||"loading"in window.HTMLImageElement.prototype)return(0,l.jsx)(e,d({loading:"lazy",fetchPriority:"low","data-testid":"loading-testid"},n));const{isIntersecting:i,ref:u}=(0,a.A)({options:{rootMargin:"0px 0px 100px 0px"},predicate:f,once:!0});return i?(0,l.jsx)(e,d(d({},n),{},{ref:u})):(0,l.jsx)("div",d({ref:u},n))};return t.propTypes={lazy:i().bool},t}},82921:function(e,t,r){"use strict";var n=r(13287),i=r(19894),o=r.n(i),a=r(85349);const s=["className","placeholder"];function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function c(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.A=e=>{const t=t=>{let{className:r="",placeholder:i=!1}=t,o=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(t,s);return(0,a.jsx)(e,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?l(Object(r),!0).forEach(function(t){c(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({className:(0,n.A)([r,{image_placeholder:i}])},o))};return t.propTypes={className:o().string,placeholder:o().bool},t}},31408:function(e,t,r){"use strict";var n=r(19894),i=r.n(n),o=r(77439),a=r(26731),s=r(85349);const l=["id","auth","url","sizes","focalPoint","slug","externalUrl"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach(function(t){d(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function d(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const p={small:767,medium:1023,large:1440};t.A=e=>{const t=t=>{let{id:r,auth:n,url:i,sizes:c=p,focalPoint:d,slug:f,externalUrl:m=!1}=t,b=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(t,l);const{RESIZER_URL:g,RESIZER_TOKEN_VERSION:h}=(0,o.A)();if(!r&&!m||!i||!n||!n[h])return(0,s.jsx)(e,u({url:i},b));const y={};return Object.keys(c).forEach(e=>{y[e]=(0,a.ks)({resizedUrl:g,id:r,url:i,auth:n[h],size:c[e],focalPoint:d,externalUrl:m,alt:void 0===f?b.alt:f})}),(0,s.jsx)(e,u(u({},b),{},{resizedUrls:y}))},r=i().oneOfType([i().number,i().object]);return t.propTypes={className:i().string,placeholder:i().bool,sizes:i().oneOfType([i().array,i().shape({small:r,medium:r,large:r})]),focalPoint:i().arrayOf(i().number)},t}},31796:function(e,t,r){"use strict";var n=r(40809),i=r(19894),o=r.n(i),a=r(63684),s=r(93840),l=r(81463),c=r(43164),u=r(85349);const d=["resizedUrls","fallback","isVertical","especificSize","url"];function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach(function(t){m(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function m(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.A=e=>{const t=t=>{let{resizedUrls:r,fallback:i=(0,s.ng)(),isVertical:o,especificSize:p=!1,url:m}=t,b=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(t,d);o&&(i=(0,s.nL)());
2const[g,h]=(0,n.useState)((0,l.Im)(r)&&!m),y=g?i:r||{small:m};if((0,a.A)())return(0,u.jsx)(e,f(f({},b),{},{src:y}));let v={};if(p){const{width:e,height:t}=b,r=e>0&&t>0?t/e:9/16,{width:n}=c.A.small;v={width:n,height:Math.round(r*n)}}return(0,u.jsxs)("picture",{className:"responsive-image",children:[y.small&&(0,u.jsx)("source",{media:"(max-width: 728px)",srcSet:y.small}),y.medium&&(0,u.jsx)("source",{media:"(max-width: 1023px)",srcSet:y.medium}),y.large&&(0,u.jsx)("source",{srcSet:y.large}),(0,u.jsx)(e,f(f(f({},b),v),{},{src:y.small,onError:()=>h(!0)}))]})};return t.propTypes={resizedUrls:o().object,fallback:o().object,especificSize:o().bool},t}},42813:function(e,t,r){"use strict";var n=r(85349);t.A=()=>(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",fill:"none","data-testid":"player-icon-svg",viewBox:"0 0 48 48",children:[(0,n.jsx)("path",{fill:"#db1d2d",d:"M0 0h48v48H0z"}),(0,n.jsx)("path",{fill:"#fff",d:"M18 33.057V15.679q0-.713.504-1.196a1.65 1.65 0 0 1 1.616-.42q.23.063.44.189l13.684 8.689q.378.252.567.63.189.377.189.797t-.189.797a1.6 1.6 0 0 1-.567.63l-13.683 8.689a1.75 1.75 0 0 1-.882.252q-.672 0-1.175-.483A1.6 1.6 0 0 1 18 33.057"})]})},50657:function(e,t,r){"use strict";var n=r(19894),i=r.n(n),o=r(13287),a=r(4321),s=r(19293),l=r(42813),c=r(60025),u=r(85349);const d=({className:e,size:t="medium",player:r=!1,eCategory:n="Vivo"})=>{const{arcSite:i}=(0,a.useAppContext)(),{liveText:d}=(0,c.A)(),p=`Ver ${"ciudad"===i?"Ciudad":i} en vivo`;return(0,u.jsx)("a",{className:(0,o.A)(["live-button","font__action",{"custom-dot-style":!["eltrece"].includes(i)},t,{player:r},e]),href:d,onClick:()=>{(0,s.m2)("header_live-button"),(0,s.d)({event:"ga4.trackEvent",eventName:"link-click",eventParams:{eCategory:n,eAction:"click",eLabel:d}})},children:r?(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("span",{children:p}),(0,u.jsx)(l.A,{})]}):(0,u.jsx)("span",{children:"ciudad"===i?"En vivo":"EN VIVO"})})};d.propTypes={className:i().string,size:i().oneOf(["medium","large"]),player:i().bool,eCategory:i().string},t.A=d},17204:function(e,t,r){"use strict";r.d(t,{d:function(){return n}});class n{static Android(){return!!navigator.userAgent.match(/Android/i)}static AndroidOld(){return!!navigator.userAgent.match(/Android 2.3.3/i)}static AndroidTablet(){return!(!navigator.userAgent.match(/Android/i)||navigator.userAgent.match(/Mobile/i))}static Kindle(){return!!navigator.userAgent.match(/Kindle/i)}static KindleFire(){return!!navigator.userAgent.match(/KFOT/i)}static Silk(){return!!navigator.userAgent.match(/Silk/i)}static BlackBerry(){return!!navigator.userAgent.match(/BlackBerry/i)}static iOS(){return this.iPhone()||this.iPad()}static iPhone(){return!!navigator.userAgent.match(/iPhone|iPod/i)}static iPad(){return!!navigator.userAgent.match(/iPad/i)||!!navigator.userAgent.match(/Macintosh/i)&&void 0!==navigator.standalone}static Windows(){return!!navigator.userAgent.match(/IEMobile/i)}static FirefoxOS(){return!!navigator.userAgent.match(/Mozilla/i)&&!!navigator.userAgent.match(/Mobile/i)}static Retina(){return window.retina||window.devicePixelRatio>1}static any(){return this.Android()||this.Kindle()||this.KindleFire()||this.Silk()||this.BlackBerry()||this.iOS()||this.Windows()||this.FirefoxOS()}static all(){return navigator.userAgent}static tablet(){return this.AndroidTablet()||this.iPad()||this.Kindle()||this.KindleFire()||this.Silk()}static breakpointMobile(){return 660}static breakpointTablet(){return 960}static portrait(){return window.matchMedia("(orientation: portrait)").matches}static landscape(){return window.matchMedia("(orientation: landscape)").matches}static getDevice(){const e=navigator.userAgent.toLowerCase(),t="ontouchstart"in window||navigator.maxTouchPoints>0,r=window.screen.width,n=/tablet|ipad|playbook|silk|(android(?!.*mobile))|(windows(?!.*phone)(.*touch))|kindle|hub/i.test(e),i=/mobile|android|iphone|ipod|iemobile|blackberry|kindle|silk-accelerated|(hpw|web)os|opera m(obi|ini)/i.test(e)&&!n;let o="desktop";return n?o="tablet":i?o="mobile":t&&(o=r>=729?"tablet":"mobile"),o}}t.A=n},6757:function(e,t,r){"use strict";var n=r(19894),i=r.n(n),o=r(58725),a=r(85349);const s=["amp","app","default","json","text"];function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function c(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const u=e=>{let{amp:t,app:r,default:n,json:i,text:u}=e,d=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,s);let p;switch((0,o.A)()){case"amp":p=t;break;case"app":p=r||n;break;case"article":case"cover":case"live":case"login":case"default":case"short-player":case"player":p=n;break;case"json":p=i;break;case"text":p=u;break;default:return null}return p?(0,a.jsx)(p,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?l(Object(r),!0).forEach(function(t){c(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},d)):null};u.propTypes={amp:i().elementType,app:i().elementType,default:i().elementType,json:i().elementType,text:i().elementType,player:i().elementType},t.A=u},67330:function(e,t,r){"use strict";var n=r(40809),i=r(19894),o=r.n(i),a=r(19293),s=r(85349);const l=(0,n.lazy)(()=>r.e(9485).then(r.bind(r,62780))),c=({article:e,canEditMedia:t,canEditStory:r,editMedia:i,editStory:o})=>a.Bd?(0,s.jsx)(n.Suspense,{fallback:(0,s.jsx)(s.Fragment,{}),children:(0,s.jsx)(l,{article:e,editMedia:i,editStory:o,canEditMedia:t,canEditStory:r})}):(0,s.jsx)(s.Fragment,{});c.propTypes={article:o().object,canEditMedia:o().bool,canEditStory:o().bool,editMedia:o().object,editStory:o().object},t.A=c},8060:function(e,t,r){"use strict";var n=r(19894),i=r.n(n),o=r(19293),a=r(45299),s=r(39211),l=r(85349);const c=({totalCount:e,feedSize:t,currentPage:r=1,onClick:n,label:i="Cargar más notas",isDark:c=!1,disabled:u})=>{if(!o.Bd||!e||!t)return(0,l.jsx)("div",{className:"pagination"});const d=r<Math.ceil(e/t);return(0,l.jsx)("div",{className:"pagination",children:d&&(0,l.jsx)(s.A,{className:"btn-container",content:i,dark:c,disabled:u,icon:!0,IconComponent:a.A,iconPos:"left",onClick:n,variant:"secondary"})})};c.propTypes={totalCount:i().number,feedSize:i().number,currentPage:i().number,onClick:i().func,label:i().string,isDark:i().bool,disabled:i().bool},t.A=c},17655:function(e,t,r){"use strict";var n=r(40809),i=r(19894),o=r.n(i),a=r(74681),s=r(97534),l=r(37612),c=r(85349);const u=({content:e,className:t})=>{const r=(0,n.useRef)(null);(0,n.useEffect)(()=>{const e=r.current?.querySelector("video");e?.autoplay&&e?.paused&&e.play()},[]);const i=["itemscope","itemprop","itemtype"];e.includes("<iframe src='https://flo.uri.sh/")||i.push("style");const o=(0,a.T5)(e,i),u=o.match(/<iframe[^>]*src="([^"]+)"[^>]*>/i),d=u?u[1]:null,p=(0,a.uB)(o);return(0,c.jsx)("div",{className:t,children:(0,l.Mc)(o)?(0,c.jsx)(s.A,{src:d,article:!0}):(0,c.jsx)("div",{ref:r,className:p,dangerouslySetInnerHTML:{__html:o}})})};u.propTypes={content:o().string,className:o().string},t.A=u},74681:function(e,t,r){"use strict";r.d(t,{T5:function(){return o},uB:function(){return a}});var n=r(13287),i=r(44830);const o=(e,t)=>e.replace(/<([^<>]*)>/gim,e=>{const r=new RegExp(`((${t.join("|")})(="[^">]*")?)`,"igm");return e.replace(r,"")}),a=e=>(0,n.A)(["raw_container",{"full-width":i.Rx.some(t=>e.includes(t))}])},11661:function(e,t,r){"use strict";var n=r(40809),i=r(19894),o=r.n(i),a=r(13287),s=r(10879),l=r(79339),c=r(85349);const u=(0,n.forwardRef)(({children:e,className:t,dark:r=!1,showDesktop:n=!1,vertical:i=!1,fullWidth:o=!1,maxHeight:u="auto",showMobile:d=!1},p)=>{const{isMobile:f,isDesktop:m}=(0,s.G9)(),{atStart:b,atEnd:g,hideForBoth:h}=(0,l.A)({ref:p,vertical:i}),y=!i&&(!m||n),v=i&&(!f||d),j=!h&&!b&&!g,w=t?`scroller-component__wrapper ${t}__wrapper`:"scroller-component__wrapper",O=(0,a.A)([w,i?"scroller-vertical":"scroller-horizontal",r?"scroller-dark":"scroller-light",{"scroller-full-width":o,"mask-right":y&&b,"mask-left":y&&g,"mask-both":y&&j,"mask-top":v&&b,"mask-bottom":v&&g,"mask-both-vertical":v&&j}]),P="auto"!==u?{maxHeight:u}:{};return(0,c.jsx)("div",{className:O,ref:p,style:P,"data-testid":"scroller-component__wrapper",children:(0,c.jsx)("div",{className:"scroller-container",children:e})})});u.propTypes={children:o().node.isRequired,className:o().string,dark:o().bool,showDesktop:o().bool,showMobile:o().bool,vertical:o().bool,fullWidth:o().bool,maxHeight:o().oneOfType([o().string,o().number])},u.displayName="Scroller",t.A=u},30679:function(e,t,r){"use strict";var n=r(19894),i=r.n(n),o=r(14375),a=r(37675),s=r(85349);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?l(Object(r),!0).forEach(function(t){u(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function u(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const d=({title:e,url:t,children:r,urlSponsor:n,textSponsor:i})=>{if(!e?.trim())return(0,s.jsx)(s.Fragment,{children:r});const{editableField:l}=(0,o.useEditableContent)();return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"sponsor-wrapper",children:[(0,s.jsx)("h3",c(c({className:"section-title font__display"},l("title")),{},{suppressContentEditableWarning:!0,children:t?(0,s.jsx)("a",{href:t,className:"section-title-link font__display",target:"_blank",rel:"noreferrer",children:e.trim()}):e.trim()})),(0,s.jsx)(a.A,{className:"sponsor-container",urlSponsor:n,textSponsor:i})]}),(0,s.jsx)("div",{className:"section-divider top"}),r&&(0,s.jsxs)(s.Fragment,{children:[r,(0,s.jsx)("div",{className:"section-divider bottom"})]})]})};d.propTypes={title:i().string,url:i().string,children:i().any,urlSponsor:i().string,textSponsor:i().string},t.A=d},90468:function(e,t,r){"use strict";var n=r(19894),i=r.n(n),o=r(74366),a=r(85349);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function l(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=({buttons:e,shareButtonProps:t})=>(0,a.jsx)(a.Fragment,{children:e.map((e,r)=>(0,a.jsx)(o.A,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach(function(t){l(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({type:e,className:"icon-social"},t),r))});c.propTypes={buttons:i().array,shareButtonProps:i().object},t.A=c},16601:function(e,t,r){"use strict";var n=r(40809),i=r(19894),o=r.n(i),a=r(75543),s=r(85349);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(t){u(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function u(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const d=({url:e,title:t,showLabel:r=!1,isTn:i=!1})=>
2{const[o,l]=(0,n.useState)(!1),u=async()=>{navigator.share?navigator.share({title:t,url:e}):(navigator.clipboard.writeText(e),l(!0),setTimeout(()=>l(!1),1e3))},d=i?"share-icon":"icon",p=i?{onClick:u}:{};return(0,s.jsxs)("div",c(c({className:"horizontal-share navigator-share-button"},p),{},{children:[o&&(0,s.jsx)("span",{className:"share-link-text font__action-bold",children:"Enlace copiado"}),(0,s.jsx)("button",c(c({},!i&&{onClick:u}),{},{className:d,children:(0,s.jsx)(a.A,{})})),r&&(0,s.jsx)("span",{className:"share-label",children:"Compartir"})]}))};d.propTypes={url:o().string.isRequired,title:o().string.isRequired,showLabel:o().bool,isTn:o().bool},t.A=d},74366:function(e,t,r){"use strict";r.d(t,{A:function(){return $}});var n=r(19894),i=r.n(n),o=r(19293);const a=e=>(0,o.d)({event:"social-share",eCategory:"Social",eAction:"compartir",eLabel:e}),s=(e,t)=>{a(e),t&&window.open(t,`Compartir en ${e}`,"width=550,height=350,scrollbars=no")};var l=r(28166),c=r(63684),u=r(39211),d=r(85349);const p="https://twitter.com/intent/tweet",f=({title:e,shareURL:t,className:r,dark:n,onClick:i})=>(0,c.A)()?(0,d.jsx)("amp-social-share",{class:"icon amp-share","data-param-text":e,"data-param-url":t,"data-share-endpoint":p,height:"32",type:"twitter",width:"32",children:(0,d.jsx)(l.A,{dark:n})}):(0,d.jsx)(u.A,{className:r,content:"",dark:n,testId:"twitter-icon",icon:!0,IconComponent:()=>(0,d.jsx)(l.A,{dark:n}),onClick:r=>{r.stopPropagation(),s("Twitter",((e,t)=>`${p}?url=${encodeURIComponent(t)}&text=${encodeURIComponent(e)}`)(e,t)),i&&i()},toolTip:!0,toolTipClassName:"share-link-text",toolTipText:"X (Twitter)",variant:"text"});f.propTypes={title:i().string,shareURL:i().string,className:i().string,dark:i().bool,onClick:i().func};var m=f,b=r(21515);function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function h(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var y=e=>(0,d.jsx)(b.A,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach(function(t){h(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({id:"#WhatsappSvg",className:"icon__whatsapp"},e));const v=({title:e,whatsappTitle:t,shareURL:r,className:n,dark:i,onClick:o})=>{const a=(0,c.A)(),l=t||e||"";return a?(0,d.jsx)("amp-social-share",{class:"icon amp-share",type:"whatsapp","data-param-text":`${l} ${r}`,width:"32",height:"32",children:(0,d.jsx)(y,{dark:i})}):(0,d.jsx)(u.A,{className:n,content:"",dark:i,"data-testid":"whatsappIcon",icon:!0,IconComponent:()=>(0,d.jsx)(y,{dark:i}),onClick:e=>{e.stopPropagation(),s("Whatsapp",((e,t)=>`https://api.whatsapp.com/send?&text=${encodeURIComponent(`${e} ${t}`)}`)(l,r)),o&&o()},testId:"whatsapp-icon",toolTip:!0,toolTipClassName:"share-link-text",toolTipText:"Whatsapp",variant:"text"})};v.propTypes={title:i().string,whatsappTitle:i().string,shareURL:i().string,className:i().string,dark:i().bool,onClick:i().func};var j=v,w=r(97303),O=r(60025);const P=({title:e,shareURL:t,className:r,dark:n,onClick:i})=>{const o=(0,c.A)(),{facebookShareAppId:a}=(0,O.A)();return o?(0,d.jsx)("amp-social-share",{class:"icon amp-share",type:"facebook","data-param-quote":e,"data-param-href":t,"data-param-app_id":a,width:"32",height:"32",children:(0,d.jsx)(w.A,{dark:n})}):(0,d.jsx)(u.A,{className:r,content:"",dark:n,"data-testid":"facebookIcon",icon:!0,IconComponent:()=>(0,d.jsx)(w.A,{dark:n}),onClick:r=>{r.stopPropagation(),s("Facebook",((e,t)=>
2`https://www.facebook.com/sharer/sharer.php?u=${encodeURIComponent(t)}&t=${encodeURIComponent(e)}`)(e,t)),i&&i()},testId:"facebook-icon",toolTip:!0,toolTipClassName:"share-link-text",toolTipText:"Facebook",variant:"text"})};P.propTypes={title:i().string,shareURL:i().string,className:i().string,dark:i().bool,onClick:i().func};var x=P,_=r(40809);function A(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function S(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var E=e=>(0,d.jsx)(b.A,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?A(Object(r),!0).forEach(function(t){S(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):A(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({id:"#LinkSvg",className:"icon__link"},e)),T=r(57455);const N=({title:e,shareURL:t,className:r,dark:n,onClick:i})=>{const[o,s]=(0,_.useState)(!1);if((0,c.A)())return(0,d.jsx)("amp-social-share",{class:"icon amp-share",type:"email","data-param-body":`${e} ${t}`,width:"32",height:"32",children:(0,d.jsx)(T.A,{dark:n})});return(0,d.jsx)(u.A,{className:r,content:"",dark:n,"data-testid":"linkIcon",icon:!0,IconComponent:()=>(0,d.jsx)(E,{dark:n}),onClick:e=>{e.stopPropagation(),a("Link"),navigator.clipboard.writeText(t),s(!0),setTimeout(()=>{s(!1),i&&i({delay:300})},1e3)},testId:"link-icon",toolTip:!0,toolTipText:o?"Enlace copiado":"Enlace",toolTipClassName:"share-link-text "+(o?"clicked":""),variant:"text",toolTipManualClose:o,toolTipShow:o})};N.propTypes={title:i().string,shareURL:i().string,className:i().string,dark:i().bool,onClick:i().func};var k=N,C=r(16246);const D=(e,t)=>`https://t.me/share/url?url=${encodeURIComponent(t)}&text=${encodeURIComponent(e)}`,I=({title:e,shareURL:t,className:r,dark:n,onClick:i})=>(0,c.A)()?(0,d.jsx)("amp-social-share",{class:"icon amp-share",type:"telegram","data-share-endpoint":D(e,t),"data-param-text":e,width:"32",height:"32",children:(0,d.jsx)(C.A,{dark:n})}):(0,d.jsx)(u.A,{className:r,content:"",dark:n,"data-testid":"telegramIcon",icon:!0,IconComponent:()=>(0,d.jsx)(C.A,{dark:n}),onClick:r=>{r.stopPropagation(),s("Telegram",D(e,t)),i&&i()},testId:"telegram-icon",toolTip:!0,toolTipClassName:"share-link-text",toolTipText:"Telegram",variant:"text"});I.propTypes={title:i().string,shareURL:i().string,className:i().string,dark:i().bool,onClick:i().func};var L=I;const R=["type"];function M(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function F(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?M(Object(r),!0).forEach(function(t){q(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):M(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function q(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const U=e=>{let{type:t}=e,r=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,R);switch(t){case"facebook":return(0,d.jsx)(x,F({},r));case"twitter":return(0,d.jsx)(m,F({},r));case"whatsapp":return(0,d.jsx)(j,F({},r));case"link":return(0,d.jsx)(k,F({},r));case"telegram":return(0,d.jsx)(L,F({},r));default:return null}};U.propTypes={type:i().string,title:i().string,whatsappTitle:i().string,
2shareURL:i().string,className:i().string,onClick:i().func};var $=U},20663:function(e,t,r){"use strict";r.d(t,{A:function(){return S}});var n=r(19894),i=r.n(n),o=r(13287),a=r(4321),s=r(40809),l=r(75543),c=r(21515),u=r(85349);function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function p(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var f=e=>(0,u.jsx)(c.A,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach(function(t){p(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({id:"#CollapseSvg",className:"icon__collapse"},e)),m=r(74366),b=r(24264),g=r(95838),h=r(39211),y=r(10879),v=r(64688);function j(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function w(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?j(Object(r),!0).forEach(function(t){O(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):j(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function O(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const P=({buttons:e,shareButtonProps:t,showLabel:r,showTooltip:n,onClose:i=null,fullScreen:o=!1})=>{const[c,d]=(0,s.useState)(!1),[p,j]=(0,s.useState)(!1),O=(0,g.A)(),P=(0,b.A)(),{arcSite:x}=(0,a.useFusionContext)(),_=(0,y.Ay)(!0,!0),A="tn"===x,S="eltrece"===x,E="eldoce"===x,T="ciudad"===x,N=S,k=(e={})=>{e.stopPropagation&&e.stopPropagation();const{delay:t=600}=e;p||(c?(j(!0),setTimeout(()=>{d(!1),j(!1)},t)):d(!0))};(0,s.useEffect)(()=>{null!==i&&c&&k({delay:250})},[i]);const C=c?"Cerrar":"Compartir",D=O||S||E||(A||T)&&(_||o),I="expanded-buttons "+(D?"collapse-left":"collapse-right"),L=`collapsable-button ${t?.className||""} ${p?"is-close":"is-open"}`,R={className:"share-button",content:S&&!O?C:"",dark:P,icon:!0,IconComponent:c?f:l.A,variant:"text"},M=(0,u.jsxs)("div",{"data-testid":"share-wrapper",className:"share-wrapper",onClick:k,children:[(0,u.jsx)(h.A,w({},R)),r&&!O&&A&&!c&&(0,u.jsx)("span",{className:"share-label",children:"Compartir"})]}),F=n&&(!c&&!(r&&!O&&A)||c)?(0,u.jsx)(v.A,{text:c?"Cerrar":C,dark:P,className:"share-link-text",children:M}):M;return(0,u.jsxs)(u.Fragment,{children:[!D&&F,c&&(0,u.jsx)("div",{className:I,style:{display:"flex"},children:e.map((e,r)=>(0,u.jsx)(m.A,w(w(w({type:e},N&&{onClick:k}),t),{},{className:L}),r))}),r&&E&&!O&&(0,u.jsx)("span",{className:"share-label",children:C}),D&&F]})};P.propTypes={buttons:i().array,shareButtonProps:i().object,showLabel:i().bool,showTooltip:i().bool,onClose:i().number,fullScreen:i().bool};var x=P,_=r(90468);const A=({url:e,title:t,whatsappTitle:r,buttons:n=["facebook","twitter","link","whatsapp","telegram"],dark:i=!1,isCollapsable:a=!1,showLabel:s=!1,showTooltip:l=!0,onClose:c,fullScreen:d=!1})=>{const p={title:t,whatsappTitle:r,shareURL:e,className:"icon",dark:i},f=(0,o.A)(["horizontal-share",{"is-collapsable":a}]);return(0,u.jsx)("div",{className:f,"data-testid":"share-toolbar",children:a?(0,u.jsx)(x,{buttons:n,shareButtonProps:p,showLabel:s,showTooltip:l,onClose:c,fullScreen:d}):(0,u.jsx)(_.A,{buttons:n,shareButtonProps:p})})};A.propTypes={url:i().string,title:i().string,whatsappTitle:i().string,buttons:i().array,dark:i().bool,isCollapsable:i().bool,showLabel:i().bool,showTooltip:i().bool,onClose:i().number,fullScreen:i().bool};var S=A},61752:function(e,t,r){"use strict";r.d(t,{A:function(){return f}});var n=r(4321),i=r(19894),o=r.n(i),a=r(13287),s=r(21945),l=r(85349);var c=()=>(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"13",fill:"none",viewBox:"0 0 14 13",children:(0,l.jsx)("path",{d:"m5.887 9.797.16 2.044 1.1.915 2.347-2.819 3.299 2.747 1.019-.106-.08-1.022-3.299-2.747 2.348-2.819-1.1-.915-2.038.212-3.848-3.205.47-.564-1.1-.915L.469 6.24l1.1.916.47-.564z",className:"pinned-icon"})});const u=({date:e,splitDate:t,format:r,classNameFontTimeValue:n=""})=>{const i=(0,s.R8)(e,r),o=i.split(","),c=(0,a.A)(["time__value",n]);return(0,l.jsx)(l.Fragment,{children:t?(0,l.jsxs)("div",{className:"container_date",children:[(0,l.jsx)("span",{className:"date__value",children:o[0]}),(0,l.jsx)("span",{className:c,children:o[1]})]}):(0,l.jsx)("span",{className:c,children:i})})},d=({date:e,format:t,datePrefix:r="",isPinned:i,classNameFontTimeValue:o=""})=>{const{arcSite:u}=(0,n.useAppContext)(),d=(0,s.R8)(e,t),p=new Date(e),f=new Date,m=Math.floor((f-p)/6e4),b=r||"Hace",g=i||"tn"===u,h=m<30&&!g;let y;if(m<60&&!g){y=`${b} <span>${m} ${1===m%60?"minuto":"minutos"}</span>`}else if(m>=60&&m<1440&&!g){const e=Math.floor(m/60);y=`${b} ${e} ${1===e?"hora":"horas"}`}else y=d;const v=(0,a.A)(["time__value",o,{latest:h},{recent:m<60&&!g}]);return(0,l.jsxs)(l.Fragment,{children:[i&&(0,l.jsx)(c,{}),(0,l.jsx)("span",{className:v,dangerouslySetInnerHTML:{__html:y}})]})},p=({date:e,duration:t,prefix:r=null,splitDate:n,format:i="",forLiveblogItem:o=!1,datePrefix:s="",isPinned:c=!1,classNameFontTimeValue:p=""})=>{const f=Math.trunc(t/6e4)||void 0;return(0,l.jsxs)("time",{className:(0,a.A)(["time__container",{pinned:c}]),dateTime:new Date(e).toISOString(),"data-testid":"published-date",children:[r&&(0,l.jsx)("span",{className:"time__prefix",children:r}),o?(0,l.jsx)(d,{date:e,format:i,datePrefix:s,isPinned:c,classNameFontTimeValue:p}):(0,l.jsx)(u,{date:e,splitDate:n,format:i,classNameFontTimeValue:p}),f&&(0,l.jsx)("span",{className:"duration__value",children:` | ${f}min`})]})};p.propTypes={date:o().string.isRequired,duration:o().number,prefix:o().string,
2splitDate:o().bool,forLiveblogItem:o().bool,format:o().string,datePrefix:o().string,isPinned:o().bool,classNameFontTimeValue:o().string},u.propTypes={date:o().string.isRequired,splitDate:o().bool,format:o().string,classNameFontTimeValue:o().string},d.propTypes={date:o().string.isRequired,format:o().string,datePrefix:o().string,isPinned:o().bool,classNameFontTimeValue:o().string};var f=p},30323:function(e,t,r){"use strict";var n=r(19894),i=r.n(n),o=r(85349);const a=({value:e=!1,onChange:t,onClick:r,disabled:n=!1})=>(0,o.jsxs)("label",{className:"toggle-switch",children:[(0,o.jsx)("input",{"data-testid":"toggle-testid",type:"checkbox",checked:e,onChange:t,onClick:r,disabled:n}),(0,o.jsx)("span",{className:"slider"})]});a.propTypes={value:i().bool,onChange:i().func.isRequired,onClick:i().func,disabled:i().bool},t.A=a},64688:function(e,t,r){"use strict";var n=r(4321),i=r(40809),o=r(19894),a=r.n(o),s=r(13287),l=r(81463),c=r(63684),u=r(79522),d=r(85349);const p=({children:e,className:t,wrapperClassName:r,dark:o,text:a,manualClose:p=!1,show:f=!1,showCloseButton:m=!1,onClose:b,wrapperRef:g})=>{const{arcSite:h}=(0,n.useFusionContext)(),[y,v]=(0,i.useState)(!!p&&f),j=(0,c.A)();if((0,i.useEffect)(()=>{v(!!p&&f)},[p,f]),j||(0,l.Im)(a))return e;const w=(0,s.A)(["tooltip__content absolute","ciudad"===h?"font__action-bold":"font__action",t,{dark:o}]);return(0,d.jsxs)("div",{ref:g,className:(0,s.A)(["tooltip__wrapper relative",r]),onMouseEnter:()=>{v(!0)},onMouseLeave:()=>{p&&f||v(!1)},children:[e,(0,d.jsxs)("span",{className:(0,s.A)([w,{"tooltip--visible":y}]),children:[(0,d.jsx)("span",{className:"tooltip__text",children:a}),m&&(0,d.jsx)("button",{className:"tooltip__close-btn",onClick:b,"aria-label":"Cerrar tooltip",children:(0,d.jsx)(u.A,{})})]})]})};p.propTypes={children:a().node,className:a().string,wrapperClassName:a().string,dark:a().bool,manualClose:a().bool,show:a().bool,text:a().string,showCloseButton:a().bool,onClose:a().func,wrapperRef:a().oneOfType([a().func,a().shape({current:a().any})])},t.A=p},39676:function(e,t,r){"use strict";var n=r(40809),i=r(19894),o=r.n(i),a=r(13287),s=r(29242),l=r(32994),c=r(85349);const u=({onClick:e,title:t,isVertical:r,isLive:i,showPlayButton:o=!0,draggable:u=!0,auth:d,id:p,url:f,resizedUrls:m})=>{const b=t||"Video Placeholder",g=(0,n.useRef)(!1);return(0,c.jsxs)("div",{className:(0,a.A)(["video_placeholder",{vertical:r}]),onClick:e,onTouchStart:()=>{g.current=!1},onTouchMove:()=>{g.current=!0},onTouchEnd:t=>{g.current||(t.preventDefault(),e(t))},children:[(0,c.jsx)(s.Ay,{placeholder:!0,alt:b,aspectRatio:r?"9/16":"16/9",draggable:u,auth:d,id:p,url:f,slug:!1,fetchPriority:i?"high":void 0,resizedUrls:m}),o&&(0,c.jsx)("button",{type:"button","data-testid":"video-placeholder-button",children:(0,c.jsx)(l.A,{})})]})};u.propTypes={resizedUrls:o().object,onClick:o().func,title:o().string,isVertical:o().bool,isLive:o().bool,showPlayButton:o().bool,draggable:o().bool,auth:o().object,id:o().string,url:o().string},t.A=u},44830:function(e,t,r){"use strict";r.d(t,{$c:function(){return s},CR:function(){return c},DA:function(){return l},Rx:function(){return i},ls:function(){return n},uA:function(){return a},uH:function(){return o}});const n=["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","element","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","head","header","h[1-6]{1}","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","link","listing","main","map","mark","marquee","menu","menuitem","meta","meter","multicol","nav","nextid","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr"],i=["localhost","https://elections-widget-stg.tn.com.ar/","https://elections-widget.tn.com.ar/","https://hemiciclo-congreso.tn.com.ar","https://hemiciclo-congreso-stg.tn.com.ar/"],o=[{name:"Carnes",value:"carnes"},{name:"PastelerÃa",value:"pasteleria"},{name:"PanaderÃa",value:"panaderia"},{name:"Postres",value:"postres"},{name:"Vegetales",value:"vegetales"},{name:"Pastas",value:"pastas"},{name:"Pescados y mariscos",value:"pescados-y-mariscos"},{name:"Entradas",value:"entradas"},{name:"Sin TACC",value:"sin-tacc"}],a=[{name:"Argentina",value:"argentina"},{name:"Italiana",value:"italiana"},{name:"Europea",value:"europea"},{name:"Francesa",value:"francesa"},{name:"Española",value:"espanola"},{name:"Mexicana",value:"mexicana"},{name:"Asiática",value:"asiatica"},{name:"Medio Oriente",value:"medio-oriente"},{name:"Noroeste Argentino",value:"noroeste-argentino"},{name:"Mesopotámica",value:"mesopotamica"},{name:"Peruana",value:"peruana"},{name:"JudÃa",value:"judia"},{name:"Patagónica",value:"patagonica"},{name:"Otras regiones",value:"otras-regiones"}],s=[{name:"Horno",value:"horno"},{name:"Frituras",value:"frituras"},{name:"Salteados",value:"salteados"},{name:"Hervido",value:"hervido"},{name:"Cacerola",value:"cacerola"},{name:"Sin Cocción",value:"sin-coccion"},{name:"Plancha o grill",value:"plancha-grill"},{name:"Parrilla",value:"parrilla"}],l=[{name:"Fácil",value:"facil",number:1},{name:"Intermedio",value:"intermedio",number:2},{name:"Avanzado",value:"avanzado",number:3}],c=[...o,...a,...s]},21945:function(e,t,r){"use strict";r.d(t,{CL:function(){return y},Dg:function(){return v},F0:function(){return u},KR:function(){return l},LY:function(){return p},R8:function(){return h},Si:function(){return s},ax:function(){return w},cK:function(){return j},hW:function(){return d},i$:function(){return f},rJ:function(){return c}});const n=(e,t=!1)=>
2{if(!e)return"";const r=new Date(e);let n=new Date(r.getTime()-108e5);return n=n.toISOString(),t||(n=n.slice(0,-5),n+="-0300"),n},i=e=>h((new Date).toISOString(),"DD-MM-YY")!==h(new Date(e).toISOString(),"DD-MM-YY"),o=e=>{const t=e?new Date(e):new Date,r=e?0:-180,n=new Date(t.getTime()+60*r*1e3);return`${n.getUTCHours().toString().padStart(2,"0")}:${n.getUTCMinutes().toString().padStart(2,"0")}`},a=["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],s=["do","lu","ma","mi","ju","vi","sá"],l=["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"],c=["Ene","Feb","Mar","Abr","May","Jun","Jul","Ago","Sep","Oct","Nov","Dic"],u=(e,t)=>{if(!e||!t)return[];const r=new Date(e,parseInt(t,10)-1,1),n=[],i=new Date(e,parseInt(t,10),0).getDate(),o=r.getDay();for(let e=0;e<o;e+=1)n.push(null);for(let e=1;e<=i;e+=1)n.push(e);return n},d=(e,t=!1,r=!1)=>{const n=e?new Date(e):new Date,i=t?0:-180,o=new Date(n.getTime()+60*i*1e3);if(!r){const e=o.getUTCDay();return a[e]}const s=o.getUTCMonth();return l[s]},p=(e,t=1)=>{const r=new Date(e);return r.setHours(r.getHours()+t),r},f=e=>i(e)?"DD [de] MMMM YYYY[,] HH:mm":"HH:mm",m=e=>e.getUTCDate().toString(),b=e=>(e.getUTCMonth()+1).toString(),g=e=>e.getUTCFullYear().toString(),h=(e,t)=>{const r=n(e,!0),i=new Date(r);switch(t){case"HH:mm":return o(i);case"DD-MM-YY":return`${m(i).padStart(2,"0")}-${b(i).padStart(2,"0")}-${g(i).substring(2)}`;case"YYYY-MM-DD":return`${g(i)}-${b(i).padStart(2,"0")}-${m(i).padStart(2,"0")}`;case"DD MMM YYYY":return`${m(i).padStart(2,"0")} ${i.toLocaleDateString("es-AR",{month:"short"})} ${g(i)}`;case"dddd[, ]DD [de] MMMM YYYY":return`${d(i,!0)}, ${m(i).padStart(2,"0")} de ${d(i,!0,!0)} ${g(i)}`;case"DD [de] MMMM YYYY[,] HH:mm":return`${m(i).padStart(2,"0")} de ${d(i,!0,!0)} ${g(i)}, ${o(i)}`;case"DD [de] MMMM YYYY[,] HH:mm[hs]":return`${m(i).padStart(2,"0")} de ${d(i,!0,!0)} ${g(i)}, ${o(i)}hs`;case"DD [de] MMMM[,] HH:mm":return`${m(i).padStart(2,"0")} de ${d(i,!0,!0)}, ${o(i)}`;case"dddd[, ]HH:mm a":return`${d(i,!0)}, ${o(i).replace(/^0(?=\d)/,"")} hs`;case"DD [de] MMMM":return`${m(i).padStart(2,"0")} de ${d(i,!0,!0)}`;default:return n(e)}};function y(e,t=""){if(!e)return t;const[r,n]=e.split(" ");if(!r||!n)return t;return`${new Date(r).getUTCDate().toString().padStart(2,"0")}/${String(new Date(r).getUTCMonth()+1).padStart(2,"0")}/${new Date(r).getUTCFullYear().toString().slice(2)}, ${n.slice(0,5)} hs.`}const v=e=>{const t=Math.floor(e/1e3),r=Math.floor(t/60),n=t%60;return`${String(r).padStart(2,"0")}:${String(n).padStart(2,"0")}`},j=e=>{const t=new Date,r=t.getFullYear(),n=t.getMonth()+1,i=t.getDate(),o=String(n).padStart(2,"0");return e===`${String(i).padStart(2,"0")}/${o}/${r}`},w=e=>{const t=new Date(1e3*e).toISOString();return h(t,"HH:mm").replace(/^0(?=\d)/,"")}},19293:function(e,t,r){"use strict";r.d(t,{Bd:function(){return y},DU:function(){return b},Do:function(){return p},F$:function(){return O},JU:function(){return c},Oo:function(){return f},SD:function(){return d},UZ:function(){return _},_e:function(){return l},al:function(){return g},d:function(){return u},fq:function(){return v},h5:function(){return j},jB:function(){return P},m2:function(){return A},qz:function(){return m},rY:function(){return x},vA:function(){return S},x4:function(){return w},xb:function(){return h},zN:function(){return E}});var n=r(44830),i=r(95118),o=r(81463);const{GALLERY_PAGE_TYPE:a,STORY_PAGE_TYPE:s}=i.F,l=e=>{const t=n.ls.join("|"),r=new RegExp(`&[a-z]*;|</?(\\b(?:${t})\\b)\\b[^>]*>`,"igm");return e.replace(r,"")},c=e=>{const[,t=null]=(0,o.Jt)(e,(()=>{switch((0,o.Jt)(e,"type","")){case a:return"websites.tn.website_section.path";case s:return"taxonomy.primary_section.path";default:return"section._id"}})(),"").split("/");return t};function u(e){Array.isArray(window.dataLayer)?window.dataLayer.push(e):window.dataLayer=[e]}const d=e=>e?.endsWith("/")?e:`${e}/`,p=(e,t="site.site_url")=>(0,o.Jt)(e,t)||d(e._id),f=(e="")=>e.normalize("NFKD").replace(/[\u0300-\u036f]/g,"").trim().toLowerCase(),m=(e="")=>e.normalize("NFKD").replace(/[\u0300-\u036f]/g,"").trim().toLowerCase().replace(/[^a-z0-9 -]/g,"").replace(/\s+/g,"-").replace(/-+/g,"-"),b=()=>{let e=(new Date).getTime().toString(36);for(;e.length<16;)e+=Math.round(2147483647*Math.random()).toString(36);return e.substr(0,16)},g=e=>{const t={};return e.replace(/[?&]+([^=&]+)=([^&]*)/gi,(e,r,n)=>{t[r]=n}),t},h=e=>e&&e.charAt(0).toUpperCase()+e.slice(1),y="undefined"!=typeof window,v=e=>e?e.replace(/\/$/,""):null,j=async()=>{"undefined"!=typeof scheduler&&scheduler?.yield?await scheduler.yield():await new Promise(e=>{setTimeout(e,0)})},w=e=>"tn"===e?"Minuto a minuto":"MINUTO A MINUTO",O=e=>e.filter(({slug:e})=>n.uH.some(({value:t})=>t===e)),P=e=>e.filter(({slug:e})=>n.$c.some(({value:t})=>t===e)),x=e=>e?.find(({slug:e})=>e?.startsWith("cu-dificul"))?.slug?.replace("cu-dificultad-",""),_=e=>e.find(({slug:e})=>e.startsWith("cu-tiempo-"))?.slug?.replace("cu-tiempo-",""),A=e=>{"undefined"!=typeof window&&"function"==typeof window.clarity&&window.clarity("event",e)},S=e=>{if(!e||!e.includes("@"))return e;const[t,r]=e.split("@");if(t.length<=6)return`${t[0]}***${t[t.length-1]}@${r}`;const n=t.substring(0,3),i=t.substring(t.length-3);return`${n}${"*".repeat(t.length-6)}${i}@${r}`},E=e=>{switch(e){case"eldoce":return"El Doce";case"ciudad":return"Ciudad Magazine";default:return e}}},31673:function(e,t,r){"use strict";r.d(t,{Bl:function(){return v},FA:function(){return p},JW:function(){return g},LR:function(){return b},PQ:function(){return m},V4:function(){return y},Wt:function(){return c},d8:function(){return h},eS:function(){return f},mS:function(){return d},wu:function(){return u}});var n=r(17204),i=r(81463),o=r(19293);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?a(Object(r),!0).forEach(function(t){l(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function l(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=e=>e?.additional_properties?.focal_point?e.additional_properties.focal_point.min:e?.focal_point?[e.focal_point.x,e.focal_point.y]:void 0,u=e=>{const t=(0,i.Jt)(e,"description.basic",null),r=(0,i.Jt)(e,"subheadlines.basic",null),n=(0,i.Jt)(e,"website_url",null)||(0,i.Jt)(e,"websites.tn.website_url",null)||(0,i.Jt)(e,"websites.eltrece.website_url",null)||(0,i.Jt)(e,"websites.ciudad.website_url",null)||(0,i.Jt)(e,"websites.eldoce.website_url",null),o={headline:(0,i.Jt)(e,"headlines.basic",null),subheadline:(0,i.Im)(t)?r:t,volanta:(0,i.Jt)(e,"headlines.mobile",null),author:(0,i.Jt)(e,"credits.by",[]).filter(e=>"author"===e.type),media:(0,i.Jt)(e,"promo_items.basic",null),tag:(0,i.Jt)(e,"taxonomy.tags",[])[0],date:(0,i.Jt)(e,"display_date",null),url:n,type:(0,i.Jt)(e,"type",null)},a=c(o.media);return a&&(o.media.focalPoint=a),s(s({},e),o)},d=e=>{const t=o.Bd&&!n.A.any();return{headline:(0,i.Jt)(e,"liveTitle",null),url:(0,i.Jt)(e,"pageUrl",null),type:"story",media:{type:"custom_embed",subtype:"genoa",shouldPlay:(0,i.Jt)(e,"showPlayer",!0)&&t,shouldPlayInCard:!0,shouldAutoPlay:t,shouldMute:t,customPlayerId:(0,i.Jt)(e,"customPlayerId"),embed:{id:(0,i.Jt)(e,"contentId"),config:{is_live_content:!0}}}}},p=e=>({headline:(0,i.Jt)(e,"title",null),subheadline:(0,i.Jt)(e,"description",null),author:null,media:(0,i.Jt)(e,"media",null),tag:null,date:(0,i.Jt)(e,"date",null),url:(0,i.Jt)(e,"url",null),type:"story"}),f=e=>{const t=(0,i.Jt)(e,"author",[])[0];return s(s({},e),{},{type:"story",media:(0,i.Jt)(t,"image",null)&&(0,i.Jt)(t,"image.url",null)?s(s({},(0,i.Jt)(t,"image",null)),{},{_id:(0,i.Jt)(t,"_id",null),auth:(0,i.Jt)(t,"auth",null),externalUrl:!0,type:"image",aspectRatio:"1/1",altText:`Foto de ${(0,i.Jt)(t,"name",null)}`}):null})},m=e=>{const t=(0,i.Jt)(e,"headlines.print",null);return(0,i.Im)(t)?e:s(s({},e),{},{headline:t})},b=e=>{const t=(0,i.Jt)(e,"headlines.meta_title",null);return(0,i.Im)(t)?e:s(s({},e),{},{headline:t})},g=e=>{const t=(0,i.Jt)(e,"promo_items.cover",null);if(!(0,i.Im)(t)){const r=c(t);return r&&(t.focalPoint=r),s(s({},e),{},{media:t})}return e};function h(e){const t=s({},e);return t.media&&(t.media.shouldPlay=!1),t}function y(e){const t=s({},e);return t.media&&(t.media.shouldPreview=!1),t}function v(e){return t=>{const r=s({},t);return r.media&&(r.media.aspectRatio=e),r}}},9282:function(e,t,r){"use strict";var n=r(13352),i=r(81463);t.A=e=>{if((0,i.Im)(e))return null;const t=e?.embed?.config,r=(0,n.mM)(t?.thumbnail),o=t?.thumbnail,a=t?.auth,s={id:r||(0,i.Jt)(e,"_id"),url:o||(0,i.Jt)(e,"url"),auth:a||(0,i.Jt)(e,"auth")};if((0,i.Jt)(e,"caption"))s.slug=(0,i.Jt)(e,"caption");else if((0,i.Jt)(e,"content_elements")){const t=(0,i.Jt)(e,"content_elements"),{_id:r,caption:n,url:o,auth:a}=t[0];s.id=r,s.slug=n,s.url=o,s.auth=a}return s}},64514:function(e,t,r){"use strict";r.d(t,{JA:function(){return c},Qh:function(){return u}});var n=r(43993),i=r.n(n),o=r(26731);r(13352);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach(function(t){l(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEac
2h(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function l(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=(e,t,r=!1,n="767",a=[])=>{const{_id:l,auth:c,url:u}=e,{RESIZER_URL:d,RESIZER_TOKEN_VERSION:p}=s(s({},i()),i()[t]);return l&&c&&u?(0,o.ks)({resizedUrl:d,id:l,url:u,auth:c[p],size:n,focalPoint:a,alt:"",externalUrl:r}):null},u=(e,t)=>c(e,t,!0)},26731:function(e,t,r){"use strict";r.d(t,{ks:function(){return o}});var n=r(19293);const i=(e,t)=>{let r="";return"object"==typeof e?(e.width&&(r+=`&width=${e.width}`),e.height&&(r+=`&height=${e.height}`),e.width&&e.height&&(t&&2===t.length?r+=`&focal=${t[0]},${t[1]}`:r+="&smart=true")):r+=`&width=${e}`,r},o=({resizedUrl:e,id:t,url:r="",auth:o,size:a,focalPoint:s,alt:l,externalUrl:c})=>{let u="";if(r.split("/").pop().split(".").length>1&&(u=encodeURIComponent(`.${r.split(".").pop()}`)),c){u=encodeURIComponent(r.split(".").pop());const t=r.split(".");t.pop();return`${e}/${encodeURIComponent(t.join("."))}.${u}?auth=${o}${i(a,s)}`}let d=(0,n.qz)(l||"");return d&&(d+="-"),`${e}/${d}${t}${u}?auth=${o}${i(a,s)}`}},82413:function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach(function(t){o(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function o(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,{Cb:function(){return d},EE:function(){return l},Wy:function(){return u},ko:function(){return m},ng:function(){return p},sV:function(){return c},zx:function(){return f}});const a={small:767,medium:1023,large:1440},s={small:{width:767,height:431},medium:{width:1023,height:575},large:{width:1440,height:810}},l=e=>({brick_menor:i(i({},s),{},{large:{width:450,height:253}}),brick_mayor:i(i({},s),{},{large:{width:650,height:365}}),brick_full:i(i({},s),{},{large:{width:975,height:548}})}[e]),c=(e=!1)=>e?{small:{width:360,height:392},medium:{width:314,height:558},large:{width:314,height:558}}:{small:{width:314,height:558}},u=()=>({small:{width:314,height:558}}),d=()=>({large:{width:314,height:558},small:{width:314,height:558}}),p=()=>({small:{width:149,height:84},medium:{width:204,height:115},large:{width:480,height:270}}),f=(e,t)=>"longform"===t?{small:{width:360,height:e?640:203},medium:{width:768,height:768},large:{width:1366,height:768}}:a,m=()=>({small:{width:360,height:360}})},90151:function(e,t,r){"use strict";r.d(t,{Er:function(){return b},Vs:function(){return y},Xk:function(){return g},mV:function(){return h}});r(9869);var n=r(4003),i=r(95118),o=r(81463);const{AUTHOR_PAGE_TYPE:a,TAG_PAGE_TYPE:s,SEARCH_PAGE_TYPE:l,SECTION_PAGE_TYPE:c,VIDEO_PAGE_TYPE:u,STORY_PAGE_TYPE:d,AUTOMATIC_ELECTION_STORIES_PAGE_TYPE:p,PODCASTS_PAGE_TYPE:f}=i.F,m=[a,p,f,l,c,s,u],b=e=>(0,o.Jt)(e,"taxonomy.primary_section.path","").split("/").length>2,g=(e,t=null)=>t?m.includes(t):m.includes((0,n.M5)(e)),h=(e,t=null)=>t?t===d:!(0,o.Im)(e)&&(0,o.Jt)(e,"type","")===d,y=e=>"text"===(0,o.Jt)(e,"type","")&&"<br/>"!==(0,o.Jt)(e,"content","")},93898:function(e,t,r){"use strict";r.d(t,{Hm:function(){return n},SE:function(){return o},T8:function(){return a},bh:function(){return s},jr:function(){return i}});const n=()=>"undefined"!=typeof window?window.location.pathname:"",i=()=>"undefined"!=typeof window?window.location.search:"",o=e=>"undefined"!=typeof window?window.location.replace(e):null,a=()=>{"undefined"!=typeof window&&window.location.reload()},s=e=>{"undefined"!=typeof window&&(window.location.href=e)}},4003:function(e,t,r){"use strict";r.d(t,{CO:function(){return G},M5:function(){return $},gw:function(){return U},oM:function(){return V}});var n=r(90151),i=r(95118),o=r(81463);const{STORY_PAGE_TYPE:a,TAG_PAGE_TYPE:s,AUTHOR_PAGE_TYPE:l,SEARCH_PAGE_TYPE:c,LIVE_PAGE_TYPE:u,GALLERY_PAGE_TYPE:d,SECTION_PAGE_TYPE:p,VIDEO_SUBTYPE:f,TNYLAGENTE_PAGE_TYPE:m,CLIMA_PAGE_TYPE:b,ARTICLE_SUBTYPE:g,MAPSITE_PAGE_TYPE:h,TERMSCONDITIONS_PAGE_TYPE:y,PROTECTIONDATA_PAGE_TYPE:v,ESTADISTICAS_PAGE_TYPE:j,LIVEBLOGGING_SUBTYPE:w,GENOA_VIDEO_PLAYER_PAGE_TYPE:O,AMP_SUBTYPE:P,FBIA_SUBTYPE:x,LONGFORM_SUBTYPE:_,LOGIN_PAGE_TYPE:A,NEWSLETTERS_PAGE_TYPE:S,NEWSLETTER_SUBTYPE:E,CHAPTERS_PAGE_TYPE:T,PROGRAMS_PAGE_TYPE:N,ELECCIONES2023_PAGE_TYPE:k,AUTOMATIC_ELECTION_STORIES_PAGE_TYPE:C,GRID_PAGE_TYPE:D,CONVOCATORIAS_PAGE_TYPE:I,PODCASTS_PAGE_TYPE:L,RECIPE_SUBTYPE:R}=i.F,M=["/cuenta-verificada/","/ingresar/","/modificar-contrasena/","/mi-perfil/","/registrarse/","/recuperar-contrasena/","/validar-registro/","/apple-redirect/"],F=["/amp/reproductor/","/amp/reproductor-vertical/","/fbia/reproductor/","/reproductor/"],q=[{test:e=>e.requestUri&&F.some(t=>e.requestUri.includes(t)),type:O},{test:e=>"eltrece"===e.arcSite&&e.requestUri&&e.requestUri.startsWith("/capitulos/"),type:T},{test:e=>(0,o.Jt)(e,"globalContent.type",!1)===a,type:a},{test:e=>"tn"===e.arcSite&&e.requestUri&&e.requestUri.includes("/programas/"),type:p},{test:e=>"eltrece"===e.arcSite&&e.requestUri&&e.requestUri.startsWith("/programas/"),type:N},{test:e=>e.requestUri&&e.requestUri.includes("/buscar/"),type:c},{test:e=>"eltrece"===e.arcSite&&e.requestUri?.startsWith("/perfil/")&&e.requestUri.slice(8).includes("/"),type:a},{test:e=>e.requestUri&&M.some(t=>e.requestUri.includes(t)),type:A},{test:e=>
2e.requestUri&&e.requestUri.includes("/tags/"),type:s},{test:e=>e.requestUri&&e.requestUri.includes("/autor/"),type:l},{test:e=>e.requestUri&&e.requestUri.includes("/envivo/"),type:u},{test:e=>e.requestUri&&e.requestUri.includes("/podcasts/"),type:L},{test:e=>e.requestUri&&e.requestUri.includes("/vivo/"),type:u},{test:e=>e.requestUri&&e.requestUri.includes("/videos/"),type:f},{test:e=>(0,o.Jt)(e,"globalContent.section.type",(0,o.Jt)(e,"globalContent.section.node_type",""))===p,type:p},{test:e=>(0,o.Jt)(e,"globalContent.type",!1)===d,type:d},{test:e=>e.requestUri&&e.requestUri.includes("/tnylagente/"),type:m},{test:e=>e.requestUri&&e.requestUri.includes("/clima/"),type:b},{test:e=>e.requestUri&&(e.requestUri.includes("/ultimas-noticias/")||e.requestUri.includes("/lo-ultimo/")),type:p},{test:e=>e.requestUri&&e.requestUri.includes("/mapa-del-sitio/"),type:h},{test:e=>e.requestUri&&e.requestUri.includes("/terminos-y-condiciones/"),type:y},{test:e=>e.requestUri&&e.requestUri.includes("/proteccion-de-datos-personales/"),type:v},{test:e=>e.requestUri&&e.requestUri.includes("/estadisticas/"),type:j},{test:e=>e.requestUri&&e.requestUri.includes("/newsletters/"),type:S},{test:e=>e.requestUri&&e.requestUri.includes("/elecciones-2023/"),type:k},{test:e=>(0,o.Jt)(e,"globalContent.type",!1)===C,type:C},{test:e=>e.requestUri&&e.requestUri.includes("/grilla/"),type:D},{test:e=>e.requestUri&&e.requestUri.includes("/convocatorias/"),type:I}],U=e=>e.metaValue("coverType")||!1,$=e=>{const t=e.metaValue("pageType");return t||(0,o.Jt)(q.find(t=>t.test(e)),"type","page")},B=[{test:e=>"eltrece"!==e.arcSite&&e.requestUri&&e.requestUri.includes("/videos/"),type:f},{test:e=>(0,n.mV)(e.globalContent)&&"eltrece"===e.arcSite&&e.requestUri&&"video"===e.globalContent.subtype,type:f},{test:e=>(0,n.mV)(e.globalContent)&&("video"===e.globalContent.subtype||"video_dark"===e.globalContent.subtype),type:f},{test:e=>(0,n.mV)(e.globalContent)&&"article"===e.globalContent.subtype,type:g},{test:e=>(0,n.mV)(e.globalContent)&&"live"===e.globalContent.subtype,type:w},{test:e=>(0,n.mV)(e.globalContent)&&"longform_c/fondo"===e.globalContent.subtype,type:_},{test:e=>(0,n.mV)(e.globalContent)&&"longform_s/fondo"===e.globalContent.subtype,type:_},{test:e=>(0,n.mV)(e.globalContent)&&"newsletter"===e.globalContent.subtype,type:E},{test:e=>(0,n.mV)(e.globalContent)&&"recipe"===e.globalContent.subtype,type:R}],V=e=>"story"!==e?.globalContent?.type?null:(0,o.Jt)(B.find(t=>t.test(e)),"type",null),z=[{test:e=>e.requestUri&&e.requestUri.includes("/amp/"),type:P},{test:e=>e.requestUri&&e.requestUri.includes("/fbia/"),type:x}],G=e=>(0,o.Jt)(z.find(t=>t.test(e)),"type",null)},19269:function(e,t,r){"use strict";r.d(t,{Fq:function(){return o},Sx:function(){return i},ZP:function(){return a},tg:function(){return s}});var n=r(19293);const i=e=>{const{1:t=""}=/\/[^/]+\/([^/]+)\//.exec(e)||{};return`/${t}`},o=e=>{const t=/(\/capitulos|\/programas)/.exec(e)?.[0];return t||""};const a=(e,t)=>e?.find(e=>(0,n.fq)(e._id)===t)?.children.map(({_id:e})=>e),s=(e,t,r)=>{const n=[],i=r?e.reverse():e;for(let e=0;e<i.length;e+=t)n.push(i.slice(e,e+t));return n}},90924:function(e,t,r){"use strict";r.d(t,{T:function(){return s},n:function(){return l}});var n=r(43993),i=r(95118),o=r(93898);const a=["_website","d","_ignoreCache","email"],s=({page:e="",modeReplace:t=!0,params:r={},keepQueryParams:s=!0})=>{const l=(0,o.Hm)(),c=(({queryString:e,additionalParams:t,keepQueryParams:r})=>{const n=new URLSearchParams(e);
2return r||n.forEach((e,t)=>{a.includes(t)||n.delete(t)}),Object.entries(t).forEach(([e,t])=>{n.set(e,t)}),`${n.toString()}`})({queryString:(0,o.jr)(),additionalParams:r,keepQueryParams:s}),u=l.includes(n.CONTEXT_PATH)?n.CONTEXT_PATH:"";var d;const p=((e,t="",r="")=>{const n=""!==r?`?${decodeURIComponent(r)}`:"";return`${t}/${""!==t&&""===e?i.R.HOME_PAGE:e}/${n}`.replace(/\/+/g,"/")})({login:"mi-perfil",signUp:"validar-registro"}[d=e]||d,u,c);return t?(0,o.SE)(p):p},l=e=>s({page:e,modeReplace:!1})},94547:function(e,t,r){"use strict";function n(e){try{const t=window[e],r="__storage_test__";return t.setItem(r,r),t.removeItem(r),!0}catch{return!1}}r.d(t,{V:function(){return n}})},13352:function(e,t,r){"use strict";r.d(t,{mM:function(){return n}});r(19293);const n=(e="")=>{const t=e.replace(/\.[^/.]+$/,"");return encodeURIComponent(t)}},12419:function(e,t,r){"use strict";var n=r(40809);t.A=(e=!1)=>{const[t,r]=(0,n.useState)(0);return(0,n.useEffect)(()=>{const t=()=>{const{clientHeight:e}=document.getElementsByClassName("alertNews")[0]||{clientHeight:0};r(e)},n=()=>{r(0)};if(t(),!e)return window.addEventListener("alertRemoved",n,{passive:!0}),window.addEventListener("alertSizeChanged",t,{passive:!0}),()=>{window.removeEventListener("alertRemoved",n),window.removeEventListener("alertSizeChanged",t)}},[]),t}},63684:function(e,t,r){"use strict";var n=r(4321);t.A=()=>{const{outputType:e}=(0,n.useAppContext)();return"amp"===e}},22439:function(e,t,r){"use strict";var n=r(4321);t.A=()=>{const{siteProperties:e,globalContentConfig:{query:t}}=(0,n.useFusionContext)(),r=t.uri.split("/article")[1];return`${e.siteBaseUrl}${r}`}},19603:function(e,t,r){"use strict";r.d(t,{GT:function(){return n},HO:function(){return s},aU:function(){return l},ac:function(){return a},m8:function(){return o},sI:function(){return i}});const n=5,i=(e,t,{leftInset:r=0}={})=>{if(!e)return[];const i=e.querySelectorAll(t);if(!i.length)return[];const{scrollWidth:o,clientWidth:a}=e,s=o-a;if(s<=n)return[0];const l=Array.from(i).map((e,t)=>0===t?e.offsetLeft:e.offsetLeft-r).filter(e=>e<=s+n).map(e=>Math.max(0,Math.min(e,s))).filter((e,t,r)=>0===t||e!==r[t-1]);if(!l.length)return[0,s];return l[l.length-1]<s-n?[...l,s]:l},o=(e,t)=>{if(!e||!t.length)return 0;const{scrollLeft:r,scrollWidth:i,clientWidth:o}=e;if(r>=i-o-n)return t.length-1;const a=t.filter(e=>e<=r+n).length-1;return Math.max(a,0)},a=(e,t,r,{rightInset:i=0}={})=>{if(!e)return r;const o=Array.from(e.querySelectorAll(t));if(!o.length)return r;const{scrollWidth:a,clientWidth:s}=e,l=Math.max(0,a-s);if(l<=n)return 0;const c=r+s-i,u=o.findIndex(e=>e.offsetLeft+e.offsetWidth>c+n);if(-1===u)return l;const d=o[u],p=Math.max(0,c-d.offsetLeft),f=(d.offsetWidth>0?p/d.offsetWidth:0)>=.7&&o[u+1]||d,m=f.offsetLeft+f.offsetWidth-s+i;return Math.max(0,Math.min(m,l))},s=(e,t,r,{leftInset:i=0}={})=>{if(!e)return r;const o=Array.from(e.querySelectorAll(t));if(!o.length)return r;const a=r+i,s=o.map((e,t)=>({slide:e,index:t})).filter(({slide:e})=>e.offsetLeft<a-n).map(({index:e})=>e).pop();if(void 0===s)return 0;const l=o[s],c=l.offsetLeft+l.offsetWidth,u=Math.max(0,c-a),d=((e,t,r)=>r<.7?e[t]:t>0?e[t-1]:e[t])(o,s,l.offsetWidth>0?u/l.offsetWidth:0);return Math.max(0,d.offsetLeft-i)},l=(e,t,{rightInset:r=0}={})=>{if(!e)return 1;const{scrollWidth:i,clientWidth:o}=e,s=Math.max(0,i-o);if(s<=n)return 1;const l=e.querySelectorAll(t).length;let c=0,u=1,d=0;for(;c<s-n&&d<=l+1;){d+=1;const i=a(e,t,c,{rightInset:r});if(i<=c+n)break;c=i,u+=1}return u}},83746:function(e,t,r){"use strict";r.d(t,{A:function(){return a}});var n=r(40809),i=r(4321),o=r(10879);function a({id:e,type:t}){const r=(0,o.Ay)(),{requestUri:a}=(0,i.useFusionContext)(),{renderables:s,arcSite:l}=(0,i.useAppContext)();(0,n.useEffect)(()=>{if("eldoce"!==l||!a?.includes("/cuarteteando")||!r||"header_mobile"!==t)return;const n=document.getElementById(`parent-${e}`),i=document.getElementsByClassName("subsite-container")[0];if(!n||!i)return;const o="Cover"===s?.find(e=>"layouts"===e.collection)?.type;let c=window.scrollY,u=!1;const d=o?n:i,p=()=>{if(u)return;if("none"===n.style?.display)return u=!0,void d.classList.remove("up","down");const e=window.scrollY,t=0===e||e>c,r=t?"down":"up",i=t?"up":"down";d.classList.contains(r)||(d.classList.remove(i),d.classList.add(r)),c=e};return window.addEventListener("scroll",p,{passive:!0}),()=>window.removeEventListener("scroll",p)},[e,t,r,a,l,s])}},71300:function(e,t,r){"use strict";var n=r(63684),i=r(95118),o=r(78907),a=r(81179),s=r(58205);t.A=()=>{const e=(0,n.A)(),t=(0,s.A)(),r=(0,o.A)(),l=(0,a.A)(),{RECIPE_SUBTYPE:c,RECIPES_LANDING_PAGE_TYPE:u}=i.F;return{shouldRenderFilters:!e&&(t===u||"story"===r&&l===c),isRecipeLandingPage:t===u}}},9869:function(e,t,r){"use strict";var n=r(4321);t.A=()=>{const{globalContentConfig:{query:{page:e}}}=(0,n.useFusionContext)();return parseInt(e,10)||1}},71161:function(e,t,r){"use strict";var n=r(4321),i=r(13773),o=r(62296);t.A=({getSectionInfo:e=!0}={})=>{const{globalContent:t={},requestUri:r=""}=(0,n.useFusionContext)(),{section:a={},type:s}=t,l=a?._id?.split("/")[1],c="gallery"===s?r.split("/fotos/")[1]?.split("/")[0]:r.split("/")[1],u=e?l||c:null,d=(0,i.A)(u?`/${u}`:null,!0),p={_id:"/",children:d?[d]:[]};return(0,o.V)(p,r)}},9785:function(e,t,r){"use strict";var n=r(40809),i=r(14375);t.A=e=>
2{const t="emblue-sync",[o,a]=(0,n.useState)(!1);(0,n.useEffect)(()=>{if(!e)return;const r=JSON.parse(localStorage.getItem(t)||"{}"),n=Date.now();(!r.nextCheck||n>=r.nextCheck)&&a(!0)},[e]);const s=(0,i.useContent)(o?{source:"subscribed-groups",query:{email:e}}:null);(0,n.useEffect)(()=>{if(!o)return;const e=Date.now(),n=e+864e5;if(s){if(s.error){let r;r="not-found"===s.errorType?e+2592e5:e+36e5,localStorage.setItem(t,JSON.stringify({nextCheck:r,lastError:s.error,errorType:s.errorType}))}else(async e=>{const t=await r.e(5453).then(r.bind(r,15453)).then(e=>e.default),n=await t.getUserProfile(),{attributes:i=[]}=n;try{const r=i?.find(e=>"subscripted_groups"===e.name),n=r?.value?.split(",")?.filter(Boolean)||[],o=e.map(e=>String(e.GroupId)),a=Array.from(new Set([...n,...o])),s=i?.filter(e=>"subscripted_groups"!==e.name);s.push({name:"subscripted_groups",value:a.join(","),type:"String"}),await t.updateUserProfile({attributes:s})}catch(e){console.error("Error al actualizar usuario en ARC",e)}})(s),localStorage.setItem(t,JSON.stringify({nextCheck:n}));a(!1)}},[o,s])}},77439:function(e,t,r){"use strict";var n=r(4321),i=r(43993),o=r.n(i);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach(function(t){l(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function l(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.A=()=>{const{arcSite:e}=(0,n.useFusionContext)();return s(s({},o()),o()[e])}},34755:function(e,t,r){"use strict";var n=r(4321),i=r(4003);t.A=()=>(0,i.CO)((0,n.useFusionContext)())},35228:function(e,t,r){"use strict";var n=r(4321),i=r(40809);t.A=()=>{const{timeZone:e}=Intl.DateTimeFormat().resolvedOptions(),{requestUri:t}=(0,n.useFusionContext)(),[r,o]=(0,i.useState)(),[a,s]=(0,i.useState)(!1),l=/^(?:\/pf)?\/clima(?:\/mapa-del-clima)?\/?(?:\?.*)?$/.test(t),c=["Buenos_Aires","Catamarca","ComodRivadavia","Cordoba","Jujuy","La_Rioja","Mendoza","Rio_Gallegos","Salta","San_Juan","San_Luis","Tucuman","Ushuaia","Rosario"];return(0,i.useEffect)(()=>{const t=e.split("/").pop();if(c.some(e=>t===e)&&l){const e=e=>{const{latitude:t,longitude:r}=e.coords;o({lat:t,lon:r}),s(!0)},t=()=>{s(!1)},r={enableHighAccuracy:!1};navigator.geolocation.getCurrentPosition(e,t,r)}},[e,t]),a&&{location:r}}},83627:function(e,t,r){"use strict";var n=r(40809);const i=([e])=>e.isIntersecting;t.A=({predicate:e=i,options:t,once:r=!1}={})=>
2{const[o,a]=(0,n.useState)(!1),[s,l]=(0,n.useState)(!1),c=(0,n.useRef)();return(0,n.useEffect)(()=>{if(!s){const n=new IntersectionObserver(t=>{const n=e(t);a(n),r&&l(n)},t);return c.current&&n.observe(c.current),()=>n.disconnect()}},[s]),{isIntersecting:o,ref:c}}},24264:function(e,t,r){"use strict";var n=r(4321),i=r(95118),o=r(78907),a=r(58205),s=r(81463);const{CHAPTERS_PAGE_TYPE:l,CHAPTERS_FULL_PAGE_TYPE:c,CHAPTERS_LANDING_PAGE_TYPE:u,PROGRAMS_PAGE_TYPE:d,PROGRAMS_LANDING_PAGE_TYPE:p,LIVE_PAGE_TYPE:f,CONVOCATORIAS_PAGE_TYPE:m,CHAPTERS_LIST_PAGE_TYPE:b,SHORTS_PAGE_TYPE:g,SHORTS_PLAYER_PAGE_TYPE:h}=i.F,{LOS_MAS_CLICKEADOS_PAGE:y}=i.R;t.A=()=>{const{globalContent:e}=(0,n.useAppContext)();return"video_dark"===(0,s.Jt)(e,"subtype","")||(()=>{const e=(0,o.A)(),{arcSite:t}=(0,n.useAppContext)(),r=e===f&&"ciudad"===t;return[l,u,c,d,p,m,b,g,h].includes(e)||r})()||(e=>{const t=(0,a.A)();return y===t&&"story"!==(0,s.Jt)(e,"type","")})(e)}},95838:function(e,t,r){"use strict";var n=r(4321),i=r(4003),o=r(95118);const{LIVEBLOGGING_SUBTYPE:a}=o.F;t.A=()=>(0,i.oM)((0,n.useFusionContext)())===a},70929:function(e,t,r){"use strict";var n=r(40809),i=r(4321);t.A=()=>{const[e,t]=(0,n.useState)(null),{arcSite:o}=(0,i.useAppContext)();return(0,n.useEffect)(()=>{if("eldoce"===o)return void t(!1);(async()=>{try{const e=await r.e(5453).then(r.bind(r,15453)).then(e=>e.default),n=await e.isLoggedIn();t(n)}catch{t(!1)}})()},[o]),e}},67276:function(e,t,r){"use strict";var n=r(4321),i=r(4003),o=r(95118);const{LONGFORM_SUBTYPE:a}=o.F;t.A=()=>(0,i.oM)((0,n.useFusionContext)())===a},68845:function(e,t,r){"use strict";var n=r(4321);t.A=()=>{const e=(0,n.useFusionContext)().metaValue("max");return!0===e||"true"===e}},74771:function(e,t,r){"use strict";var n=r(4321),i=r(81463);const o={"TN/BrickThreeStories":["showOpinionOne","showVideoOne","title"],"TN/BrickTwoStories":["showOpinionOne","showVideoOne","title"],"TN/BrickTwoStoriesVertical":["showOpinionOne","showVideoOne","title"],"TN/BrickMain":["opinion","showDark","title"],"TN/BrickOneStory":["opinion","showVideo","title"],"TN/BrickFourStories":["showOpinionOne","showVideoOne","title"]},a=["TN/BrickOpinion","TN/UploadTNyLG","TN/BrickLive","TN/BrickOneStoryVertical","TN/BrickVideos","TN/BrickPhotoGallery","Bricks/BrickDestacadas"];t.A=()=>{const{renderables:e}=(0,n.useAppContext)(),{id:t}=(0,n.useComponentContext)();return((e,t)=>{const r=t.filter(e=>"features"===e.collection),n=r.findIndex(t=>t.props.id===e)+1;if(n<=0||n===r.length)return!1;const s=r[n];return a.includes(s.type)||!!(o[s.type]||[]).find(e=>(0,i.Jt)(s,`props.customFields.${e}`,!1))})(t,e)}},65508:function(e,t,r){"use strict";var n=r(40809);t.A=e=>{const[t,r]=(0,n.useState)(null);return(0,n.useEffect)(()=>{const t=window.matchMedia(e);r(t.matches);const n=e=>r(e.matches);return t.addEventListener("change",n),()=>t.removeEventListener("change",n)},[e]),t}},10879:function(e,t,r){"use strict";r.d(t,{G9:function(){return c},LK:function(){return s},jl:function(){return a},mq:function(){return l}});var n=r(40809),i=r(19293),o=r(17204);t.Ay=(e=!0,t=!1,r=!0)=>i.Bd&&void 0!==window?.navigator?o.d.any()&&(e||!o.d.tablet())&&(r||!o.d.landscape()):t;const a=()=>!(!i.Bd||void 0===window.navigator)&&o.d.iOS(),s=(e=!1,t=!0)=>i.Bd&&void 0!==window.navigator?o.d.tablet()&&(t||!o.d.landscape()):e,l=()=>i.Bd&&void 0!==window.navigator?o.d.all():"",c=()=>{const[e,t]=(0,n.useState)("mobile");return(0,n.useEffect)(()=>{t(o.d.getDevice())},[]),{device:e,isMobile:"mobile"===e,isTablet:"tablet"===e,isDesktop:"desktop"===e}}},58725:function(e,t,r){"use strict";var n=r(4321);t.A=()=>(0,n.useAppContext)().outputType},78907:function(e,t,r){"use strict";var n=r(4321),i=r(4003);t.A=()=>(0,i.M5)((0,n.useFusionContext)())},57738:function(e,t,r){"use strict";var n=r(4321);t.A=(e=void 0)=>{const t=(0,n.useFusionContext)(),{siteProperties:r,requestUri:i}=t;return e?`${r.siteBaseUrl}${e}`:`${r.siteBaseUrl}${i.split("?")[0]}`}},85288:function(e,t,r){"use strict";var n=r(40809),i=r(70929);t.A=()=>{const[e,t]=(0,n.useState)({}),o=(0,i.A)();return(0,n.useEffect)(()=>{(async()=>{const e=await r.e(5453).then(r.bind(r,15453)).then(e=>e.default);if(o){const r=await e.getUserProfile();t(r)}})()},[o]),e}},60025:function(e,t,r){"use strict";var n=r(87983),i=r.n(n),o=r(4321);t.A=()=>{const{arcSite:e}=(0,o.useFusionContext)();return i()(e)}},29868:function(e,t,r){"use strict";var n=r(40809);t.A=e=>
2{const[t,r]=(0,n.useState)(0);return(0,n.useEffect)(()=>{const t=()=>{e.current&&r(e.current.offsetWidth)};t();const n=new window.MutationObserver(e=>{e.forEach(e=>{e.target.offsetWidth>0&&t()})}),i={attributes:!0,attributeFilter:["class"]},o=document.querySelector(".col-megalateral");return o&&n.observe(o,i),window.addEventListener("resize",t),()=>{n.disconnect(),window.removeEventListener("resize",t)}},[e.current]),t}},70807:function(e,t,r){"use strict";var n=r(40809);t.A=(e=!1,t='iframe[src*="mam.tn.com.ar"]',r=!0,i=775)=>{const o=(0,n.useRef)(!1),a=(0,n.useCallback)(()=>{if(window.iframeResize){document.querySelectorAll(t).forEach(e=>{window.iframeResize({license:"GPLv3",scrolling:r,checkOrigin:!1},e),e.style.maxHeight=r?`${i}px`:"auto"})}},[t,i,r]),s=(0,n.useCallback)(()=>{const e="https://cdn.jsdelivr.net/npm/@iframe-resizer/[email protected]/index.umd.min.js",t=document.querySelector(`script[src="${e}"]`);if(t)window.iframeResize?a():t.addEventListener("load",a);else{const t=document.createElement("script");t.src=e,t.async=!0,t.defer=!0,t.onload=a,document.body.appendChild(t),o.current=!0}},[a]);(0,n.useEffect)(()=>{e&&(o.current?a():s())},[e,s,a])}},46344:function(e,t,r){"use strict";var n=r(4321);t.A=e=>{const{pagebuilderURL:t,contextPath:r}=(0,n.useAppContext)();return t(`${r}/resources${e}`)}},408:function(e,t,r){"use strict";r.d(t,{fz:function(){return o}});var n=r(40809),i=r(19293);const o="Down";t.Ay=({initialDirection:e}={})=>{if(!i.Bd)return null;const t=(0,n.useRef)(document?.documentElement?.scrollHeight),[r,a]=(0,n.useState)(e);return(0,n.useEffect)(()=>{const e=()=>{var e;0===window.scrollY?a("Top"):t.current>window.scrollY?a("Up"):t.current<window.scrollY&&a(o),e=window.scrollY,t.current=e};return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[t]),r}},79339:function(e,t,r){"use strict";var n=r(40809);t.A=({ref:e,vertical:t=!1,threshold:r=0})=>{const[i,o]=(0,n.useState)(!0),[a,s]=(0,n.useState)(!1),[l,c]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{const n=e.current;if(!n)return;const i=()=>{if(t){n.scrollHeight>n.clientHeight?(o(n.scrollTop<=r),s(Math.ceil(n.scrollTop+n.clientHeight)>=n.scrollHeight-r),c(!1)):(o(!1),s(!1),c(!0))}else{n.scrollWidth>n.clientWidth?(o(n.scrollLeft<=0),s(Math.ceil(n.scrollLeft+n.clientWidth)>=n.scrollWidth),c(!1)):(o(!1),s(!1),c(!0))}};i(),n.addEventListener("scroll",i,{passive:!0});const a="undefined"!=typeof ResizeObserver?new ResizeObserver(i):null;return a?.observe(n),Array.from(n.children).forEach(e=>a?.observe(e)),()=>{n.removeEventListener("scroll",i),a?.disconnect()}},[e,t]),{atStart:i,atEnd:a,hideForBoth:l}}},58205:function(e,t,r){"use strict";var n=r(4321),i=r(19293),o=r(4003);t.A=()=>{const e=(0,n.useAppContext)();return(0,i.JU)(e.globalContent)||(0,o.gw)(e)}},5164:function(e,t,r){"use strict";var n=r(4321),i=r(19293);t.A=()=>{const{requestUri:e}=(0,n.useFusionContext)(),[,t]=(e||"").split("?")[0].split("/");return t?{id:t,name:(0,i.xb)(t)}:{id:"",name:""}}},13773:function(e,t,r){"use strict";var n=r(14375);t.A=(e,t=!1)=>{if(!e)return null;const r=(0,n.useContent)({source:"sites-api",query:{hierarchy:"default",_id:e},static:t});return r?._id===e?r:null}},82854:function(e,t,r){"use strict";var n=r(40809),i=r(4321);t.A=(e,t,r)=>{const{isAdmin:o}=(0,i.useAppContext)(),[a,s]=(0,n.useState)(t),l=r||(0,n.useRef)(null);return(0,n.useEffect)(()=>{if(!o)return;window.dispatchEvent(new CustomEvent("sizeChanged",{detail:{componentId:e,size:t}}));const r=window.setTimeout(()=>{(()=>{const e=l?.current?.closest(".dynamic-element-container");if(e){const t=e.dataset.size;s(e=>e!==t?t:e)}})()},200);return()=>{window.clearTimeout(r)}},[t,o,e]),{componentSize:a,elementRef:l}}},63906:function(e,t,r){"use strict";var n=r(14375),i=r(4321),o=r(58205);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?a(Object(r),!0).forEach(function(t){l(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function l(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=(e,t,r)=>{if("tn"!==r)return[];const n=["BrickContainer","Bricks/BrickCobertura"],i=t?.filter(e=>n.includes(e.type))||[],o=t?.filter(e=>"BrickContainer"===e.type&&!0===e.props.customFields?.showDuplicateContent),a=t=>t.props.customFields?.id===e,s=o?.find(e=>e.children.find(a));return s?[]:(e=>{const t=[],r=e=>{if(!e||"object"!=typeof e)return;const{props:n}=e,i=n?.customFields;!0!==i?.showDuplicateContent&&(i&&"object"==typeof i&&Object.entries(i).filter(([e])=>
2e.toLowerCase().includes("url")).forEach(([,e])=>{"string"==typeof e&&e.trim()&&t.push(e)}),Array.isArray(e.children)?e.children.forEach(r):Object.values(e).filter(e=>"object"==typeof e).forEach(r))};return Array.isArray(e)?e.forEach(r):r(e),t})(i)};t.A=(e,t,r,a,l={})=>{const u=(0,o.A)(),{renderables:d,arcSite:p}=(0,i.useAppContext)(),f="tn"===p,{staticMode:m=!1,includeSportResults:b=!1,excludeVerticalVideos:g=!1,includeBodyContent:h=!1,nonce:y=""}=l,{maxOffset:v,maxBrickSize:j}=((e,t)=>{if(!Array.isArray(t)||0===t.length)return{maxOffset:0,maxBrickSize:1};let r=0,n=1;const i=[...t],o={"TN/BrickFourStories":4,"TN/BrickThreeStories":3,"TN/BrickTwoStories":2,"TN/BrickTwoStoriesVertical":2},a=e=>o[e?.type]??1;for(;i.length;){const t=i.pop(),o=t?.props?.customFields?.id===e,s=t?.props?.customFields?.offset,l=Number(s);o&&l>r&&(r=l);const c=a(t);o&&c>n&&(n=c)}return{maxOffset:r,maxBrickSize:n}})(e,d),w="_id,type,headlines,subheadlines.basic,credits.by,website_url,websites,promo_items,subtype,display_date,last_updated_date,taxonomy.tags",O=b||h?`${w},content_elements`:w,P=(0,n.useContent)(e?{source:"websked-collection",query:s(s({collectionId:e,from:f?0:t,size:f?v+j+10:r,section:u,includeSportResults:b,excludeVerticalVideos:g},h&&{includeBodyContent:h}),y&&{nonce:y}),staticMode:m}:{source:"get-stories",query:s({websiteUrls:a,includedFields:O,published:!0,includeSportResults:b},y&&{nonce:y}),staticMode:m})||{content_elements:[]};if(e){const n=c(e,d,p),i=f?((e=[],t=[])=>e.filter(e=>{const r=e?.websites?.tn?.website_url;return!t.includes(r)}))(P.content_elements,n):P.content_elements,o=Number.isNaN(t)||t<0?0:t;return[f?i.slice(o,o+r):i,P]}return[P.content_elements,P]}},81179:function(e,t,r){"use strict";var n=r(4321),i=r(4003);t.A=()=>(0,i.oM)((0,n.useFusionContext)())},67298:function(e,t,r){"use strict";var n=r(14375),i=r(4321),o=r(35228);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach(function(t){l(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function l(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.A=()=>{const{globalContent:e,globalContentConfig:t}=(0,i.useAppContext)(),{arcSite:r,requestUri:a}=(0,i.useFusionContext)()||{};let l=t?.query||{};if(!l.province&&!l.city&&a){const e=a.split("?")[0].replace(/^\/pf/,"").match(/^\/clima\/(?:mapa-del-clima\/)?([^/]+)\/([^/]+)/);e&&(l=s(s({},l),{},{province:e[1],city:e[2]}))}const c=l.province||l.city||l.lat&&l.lon,u=(0,o.A)(),d="eldoce"===r?"weather-service-eldoce":"weather-service",p="eldoce"===r?{lat:-31.4201,lon:-64.1888}:{lat:-34.6206,lon:-58.3693},f=c?l:u?.location||p,m=(0,n.useContent)({source:d,query:f});return c&&"eldoce"!==r?e:m||e}},81463:function(e,t,r){"use strict";r.d(t,{D_:function(){return p},Im:function(){return s},Jt:function(){return c},Up:function(){return l},ZI:function(){return u},hZ:function(){return f},zy:function(){return d}});function n(e){const t=typeof e;return null!=e&&("object"===t||"function"===t)}const i=e=>!e?.trim(),o=e=>!e?.length,a=e=>!e||!Object.keys(e).length,s=e=>Array.isArray(e)?o(e):"string"==typeof e?i(e):"object"!=typeof e||a(e),l=(e,t)=>{if(a(e)||o(t))return{};const r={};for(let n=0;n<t.length;n+=1){const i=t[n];i in e&&(r[i]=e[i])}return r},c=(e,t,r)=>{if(a(e)||i(t))return r;const n=(e=>{const t=/\[|\]/g;return e.replace(/\[.*?\]/g,e=>`.${e.replace(t,"")}`).replace(/^[.]?/,"")})(t).split(".");let o=e;for(let e=0;e<n.length;e+=1){const t=n[e];if(!o||void 0===o[t]){o=r;break}o=o[t]}return o},u=(...e)=>t=>e.reduceRight((e,t)=>t(e),t),d=(e,t)=>{if(a(e)||s(t))return!1;const r="string"==typeof t?t.split("."):t;let n=e;for(let e=0;e<r.length;e+=1){const t=r[e];if("object"!=typeof n||!(t in n))return!1;n=n[t]}return!0},p=e=>e,f=(e,t,r)=>{if(a(e)||s(t))return e;const i="string"==typeof t?t.split("."):t;let o=e;for(let e=0;e<i.length-1;e+=1){const t=i[e];o[t]&&n(o[t])||(o[t]={}),o=o[t]}return o[i[i.length-1]]=r,e}},95118:function(e,t,r){"use strict";r.d(t,{F:function(){return n},R:function(){return i}});const n={STORY_PAGE_TYPE:"story",TAG_PAGE_TYPE:"tags",AUTHOR_PAGE_TYPE:"author",SEARCH_PAGE_TYPE:"search",LIVE_PAGE_TYPE:"live",GALLERY_PAGE_TYPE:"gallery",SECTION_PAGE_TYPE:"section",VIDEO_SUBTYPE:"videos",ARTICLE_SUBTYPE:"article",LIVEBLOGGING_SUBTYPE:"live",VIDEO_PAGE_TYPE:"videos",TNYLAGENTE_PAGE_TYPE:"tnylagente",CLIMA_PAGE_TYPE:"clima",MAPSITE_PAGE_TYPE:"mapsite",TERMSCONDITIONS_PAGE_TYPE:"termsconditions",PROTECTIONDATA_PAGE_TYPE:"protectiondata",ESTADISTICAS_PAGE_TYPE:"estadisticas",GENOA_VIDEO_PLAYER_PAGE_TYPE:"genoa_video_player",COVER_TYPE:"cover",AMP_SUBTYPE:"amp",FBIA_SUBTYPE:"ia",LONGFORM_WITH_BG_SUBTYPE:"longform_c/fondo",LONGFORM_WITHOUT_BG_SUBTYPE:"longform_s/fondo",LONGFORM_SUBTYPE:"longform",NEWSLETTERS_PAGE_TYPE:"newsletters",NEWSLETTER_SUBTYPE:"newsletter",CHAPTERS_PAGE_TYPE:"chapters",CHAPTERS_LANDING_PAGE_TYPE:"chapters_landing",CHAPTERS_FULL_PAGE_TYPE:"chapters_full",CHAPTERS_LIST_PAGE_TYPE:"chapter_list",PROGRAMS_PAGE_TYPE:"programs",ELECCIONES2023_PAGE_TYPE:"elecciones-2023",AUTOMATIC_ELECTION_STORIES_PAGE_TYPE:"automatic-election-stories",GRID_PAGE_TYPE:"grilla",CONVOCATORIAS_PAGE_TYPE:"convocatorias",PROGRAMS_LANDING_PAGE_TYPE:"programs_landing",SHOWS_PAGE_TYPE:"shows",VIDEO_LANDING_PAGE_TYPE:"video_landing",SHORTS_PLAYER_PAGE_TYPE:"shorts_player",PODCASTS_PAGE_TYPE:"podcasts",SHORTS_PAGE_TYPE:"shorts",COTIZACIONES_LANDING_PAGE_TYPE:"cotizaciones_landing",COTIZACIONES_PAGE_TYPE:"cotizaciones",SPORTS_STATS_PAGE_TYPE:"sports_stats",LOTTERY_PAGE_TYPE:"lottery_landing",RECIPE_SUBTYPE:"recipe",GAMES_PAGE_TYPE:"games_landing",SINGLE_GAME_PAGE_TYPE:"game_page",HOROSCOPE_PAGE_TYPE:"horoscope",CUCINARE_LISTING_PAGE_TYPE:"cucinare_listing",RECIPES_LANDING_PAGE_TYPE:"recipes_landing",CUCINARE_LANDING_PAGE_TYPE:"cucinare_landing",AGENDA_PAGE_TYPE:"agenda",RADIO_PAGE_TYPE:"radio",LOGIN_PAGE_TYPE:"login"},i={HOME_PAGE:"homepage",MUSIC_PAGE:"musica",CARS_PAGE:"autos",SHOW_PAGE:"show",HEALTH_PAGE:"salud",RUNNING_PAGE:"running",SPORTS_PAGE:"deportes",TECNO_PAGE:"te
2cno",STYLE_PAGE:"estilo",TNYLAGENTE_PAGE:"tnylagente",FIELD_PAGE:"campo",ECONOMY_PAGE:"economia",CUCINARE_PAGE:"cucinare",CUARTETEANDO_PAGE:"cuarteteando",POLITICS_PAGE:"politica",LOS_MAS_CLICKEADOS_PAGE:"los-mas-clickeados",CINE_Y_SERIES_PAGE:"cine-y-series",COCINA_PAGE:"cocina",TODES_NOSOTRES_PAGE:"todesnosotres",VOTACIONES_PAGE:"votaciones"}},93840:function(e,t,r){"use strict";r.d(t,{Eo:function(){return s},fE:function(){return l},nL:function(){return u},ng:function(){return c},on:function(){return a}});var n=r(4321),i=r(46344);const o=()=>{const{arcSite:e}=(0,n.useAppContext)();return`/images/${e}/placeholders`},a=(e=o())=>({small:(0,i.A)(`${e}/live_small.png`),large:(0,i.A)(`${e}/live_large.png`)}),s=(e=o())=>({lowResBody:(0,i.A)(`${e}/vertical-live_lowres.png`),small:(0,i.A)(`${e}/vertical-live_small.png`),medium:(0,i.A)(`${e}/vertical-live_medium.png`),large:(0,i.A)(`${e}/vertical-live_xlarge.png`),xlarge:(0,i.A)(`${e}/vertical-live_large.png`)}),l=(e=o())=>({lowResBody:(0,i.A)(`${e}/vertical-rawhtml_lowres.png`),small:(0,i.A)(`${e}/vertical-rawhtml_small.png`),medium:(0,i.A)(`${e}/vertical-rawhtml_medium.png`),large:(0,i.A)(`${e}/vertical-rawhtml_large.png`),xlarge:(0,i.A)(`${e}/vertical-rawhtml_xlarge.png`)}),c=(e=o())=>({lowResBody:(0,i.A)(`${e}/image-video_lowres.png`),small:(0,i.A)(`${e}/image-video_small.png`),medium:(0,i.A)(`${e}/image-video_medium.png`),large:(0,i.A)(`${e}/image-video_large.png`),xlarge:(0,i.A)(`${e}/image-video_xlarge.png`)}),u=(e=o())=>({lowResBody:(0,i.A)(`${e}/vertical-image-video_lowres.png`),small:(0,i.A)(`${e}/vertical-image-video_small.png`),medium:(0,i.A)(`${e}/vertical-image-video_medium.png`),large:(0,i.A)(`${e}/vertical-image-video_large.png`),xlarge:(0,i.A)(`${e}/vertical-image-video_xlarge.png`)})},62913:function(e,t,r){"use strict";r.d(t,{U2:function(){return i}});var n=r(81463);const i=e=>`/autor/${(0,n.Jt)(e,"_id","").replace(/ /g,"+")}/`},32112:function(e,t,r){"use strict";r.d(t,{zm:function(){return n}});const n=(e,t,r,n=[])=>{const i={query:{bool:{must:Object.entries(r).map(([e,t])=>"first_publish_date"===e?{range:{first_publish_date:{gte:t}}}:Array.isArray(t)?{terms:{[e]:t}}:{term:{[e]:t}}),must_not:n}}};if(!t||"/"===t)return JSON.stringify(i);const o={nested:{path:"taxonomy.sections",query:{bool:{must:[{term:{"taxonomy.sections._id":t}},{term:{"taxonomy.sections._website":e}}]}}}};return i.query.bool.must.push(o),JSON.stringify(i)}},43164:function(e,t){"use strict";t.A={lowResBody:{width:150},small:{width:767},medium:{width:1023},large:{width:1440}}},37170:function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach(function(t){o(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function o(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.HOCWrapper=void 0;const a=r(40809),s=e=>e.displayName||e.name||"Component";t.HOCWrapper=e=>(t,...r)=>{if(t instanceof Function){const r=t,n=t=>a.createElement(e,i(i({},t),{},{children:r}));for(const e in r)n[e]=r[e];return n.displayName=`Fusion${s(e)}(${s(r)})`,n.propTypes=i(i({},r.propTypes||{}),e.propTypes||{}),n}{const n=t;return a.createElement(e,i(i({},n),{},{children:n.render||n.children||r}))}}},3174:function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?n(Object(r),!0).forEach(function(t){o(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function o(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Object.defineProperty(t,"__esModule",{value:!0});const a=r(85349),s=r(40809),{lazy:l,Suspense:c,PureComponent:u}=s,d=r(70698),{isStatic:p}=r(76626);class f extends u{constructor(e){super(e),this.state={error:null}}componentDidCatch(e,t){console.error(e,t),this.setState({error:e})}render(){return this.state.error?this.props.fallback:this.props.children}}e.exports=(e,t,r)=>{if(r)return e=>{const t=l(r),n=(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:Fusion.lazyElements[e.id]||""}});return(0,a.jsx)(f,{fallback:n,children:(0,a.jsx)(c,{fallback:n,children:(0,a.jsx)(t,i({},e))})})};if(!e||!d(e,t)||p(e,t))return e;const n=t=>(0,a.jsx)("div",{"data-fusion-lazy-id":t.id,children:(0,a.jsx)(e,i({},t))});for(const t in e)n[t]=e[t];return n}},86502:function(e,t,r){"use strict";const n=r(19894),i=r(40809),o=({id:e,persistent:t,type:r})=>i.createElement("div",{id:`${o.prefix}:${e}`,style:{display:"none"},"data-fusion-component":e,"data-persistent-entry":t});o.prefix="fusion-static-enter";class a extends i.PureComponent{render(){return i.createElement("div",{id:`${a.prefix}:${this.props.id}`,style:{display:"none"},ref:this.props.setRef,"data-fusion-component":this.props.id,"data-persistent-exit":this.props.persistent})}}a.prefix="fusion-static-exit";class s extends i.PureComponent{constructor(e){super(e),this.childArray="undefined"==typeof window?[].concat(e.children||[]):[],this.setExitElement=this.setExitElement.bind(this)}componentDidMount(){if(this.exitElement){const e=Fusion.staticElements[this.props.id];if(e&&e.length){const t=this.exitElement.parentElement;e.forEach(e=>{const r=this.props.htmlOnly?e.cloneNode(!0):e;t.insertBefore(r,this.exitElement)})}}}setExitElement(e){this.exitElement=e}render(){return Fusion.isAdmin?this.props?i.createElement(i.Fragment,{},[].concat(this.props.children||[])):null:i.createElement(i.Fragment,{},[i.createElement(o,{id:this.props.id,key:o.prefix,persistent:this.props.persistent}),...this.childArray,i.createElement(a,{id:this.props.id,key:a.prefix,setRef:this.setExitElement,persistent:this.props.persistent})])}}s.propTypes={id:n.string.isRequired};const{HOCWrapper:l}=r(37170);e.exports=l(s),e.exports.EntryComponent=o,e.exports.ExitComponent=a},70698:function(e){"use strict";e.exports=(e,t)=>!0===e.lazy||e.lazy instanceof Array&&e.lazy.includes(t)},76626:function(e,t,r){"use strict";t.isStatic=void 0;const n=r(32117);t.isStatic=(e,t)=>{const{static:r}=e;return(0,n.isArray)(r)&&(0,n.isString)(t)?r.includes(t):!0===r}},32117:function(e,t){"use strict";t.Gv=t.isArray=t.isString=void 0;t.isString=e=>"string"==typeof e;t.isArray=e=>Array.isArray(e);t.Gv=e=>"object"==typeof e&&null!==e&&!Array.isArray(e)},61493:function(e,t){"use strict";var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function i(e,t,n){var i=null;if(void 0!==n&&(i=""+n),void 0!==t.key&&(i=""+t.key),"key"in t)for(var o in n={},t)"key"!==o&&(n[o]=t[o]);else n=t;return t=n.ref,{$$typeof:r,type:e,key:i,ref:void 0!==t?t:null,props:n}}t.Fragment=n,t.jsx=i,t.jsxs=i},85349:function(e,t,r){"use strict";e.exports=r(61493)},19894:function(t){"use strict";t.exports=e},40809:function(e){"use strict";e.exports=t},91565:function(e){"use strict";e.exports=r},14375:function(e){"use strict";e.exports=n},4321:function(e){"use strict";e.exports=i},92986:function(e){"use strict";e.exports=o},71592:function(e){"use strict";e.exports=a},59626:function(e){"use strict";e.exports=s},43993:function(e){"use strict";e.exports=l},87983:function(e){"use strict";e.exports=c},1534:function(e){"use strict";e.exports=u}},g={};function h(e){var t=g[e];if(void 0!==t)return t.exports;var r=g[e]={exports:{}};
vendor: 3,130 bytes, line 2
2return b[e].call(r.exports,r,r.exports,h),r.exports}return h.m=b,h.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return h.d(t,{a:t}),t},p=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},h.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var r=Object.create(null);h.r(r);var n={};d=d||[null,p({}),p([]),p(p)];for(var i=2&t&&e;("object"==typeof i||"function"==typeof i)&&!~d.indexOf(i);i=p(i))Object.getOwnPropertyNames(i).forEach(function(t){n[t]=function(){return e[t]}});return n.default=function(){return e},h.d(r,n),r},h.d=function(e,t){for(var r in t)h.o(t,r)&&!h.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},h.f={},h.e=function(e){return Promise.all(Object.keys(h.f).reduce(function(t,r){return h.f[r](e,t),t},[]))},h.u=function(e){return({3543:"gallery",7274:"one-signal",9485:"PageBuilder-tools"}[e]||e)+".chunk.js?d=723&mxId=00000000"},h.miniCssF=function(e){},h.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),h.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},f={},m="Fusion.components:",h.l=function(e,t,r,n){if(f[e])f[e].push(t);else{var i,o;if(void 0!==r)for(var a=document.getElementsByTagName("script"),s=0;s<a.length;s++){var l=a[s];if(l.getAttribute("src")==e||l.getAttribute("data-webpack")==m+r){i=l;break}}i||(o=!0,(i=document.createElement("script")).charset="utf-8",h.nc&&i.setAttribute("nonce",h.nc),i.setAttribute("data-webpack",m+r),i.src=e),f[e]=[t];var c=function(t,r){i.onerror=i.onload=null,clearTimeout(u);var n=f[e];if(delete f[e],i.parentNode&&i.parentNode.removeChild(i),n&&n.forEach(function(e){return e(r)}),t)return t(r)},u=setTimeout(c.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=c.bind(null,i.onerror),i.onload=c.bind(null,i.onload),o&&document.head.appendChild(i)}},h.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},h.j=7818,h.p="/pf/dist/components/combinations/",function(){var e={323:0,663:0,7768:0,7818:0,9517:0};h.f.j=function(t,r){var n=h.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{var i=new Promise(function(r,i){n=e[t]=[r,i]});r.push(n[2]=i);var o=h.p+h.u(t),a=new Error;h.l(o,function(r){if(h.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var i=r&&("load"===r.type?"missing":r.type),o=r&&r.target&&r.target.src;a.message="Loading chunk "+t+" failed.\n("+i+": "+o+")",a.name="ChunkLoadError",a.type=i,a.request=o,n[1](a)}},"chunk-"+t,t)}};var t=function(t,r){var n,i,o=r[0],a=r[1],s=r[2],l=0;if(o.some(function(t){return 0!==e[t]})){for(n in a)h.o(a,n)&&(h.m[n]=a[n]);if(s)s(h)}for(t&&t(r);l<o.length;l++)i=o[l],h.o(e,i)&&e[i]&&e[i][0](),e[i]=0},r=this.webpackChunkFusion_components=this.webpackChunkFusion_components||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))}(),h(10742)}()});
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.