!function(t){function e(o){if(n[o])return n[o].exports;var a=n[o]={i:o,l:!1,exports:{}};return t[o].call(a.exports,a,a.exports,e),a.l=!0,a.exports}var n={};e.m=t,e.c=n,e.d=function(t,n,o){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:o})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=7)}([function(t,e){var n={analytics:{omniture:{props:["pageName","hier1","channel","prop1","prop2","prop3","prop4","prop5","prop6","prop7","prop9","prop11","prop29","prop30","prop31","prop32","prop33","prop35","prop36","prop39","prop43","prop55","prop75","list2","prop67"],precalculatedProps:["prop27","prop34","prop52","prop69"],eVars:{eVar1:"channel",eVar2:"prop1",eVar3:"prop2",evar4:"prop3",eVar5:"prop4",eVar6:"prop5",eVar31:"prop6",eVar36:"prop7",eVar9:"prop9",eVar11:"prop11",eVar27:"prop27",eVar28:"prop28",eVar29:"prop29",eVar30:"prop30",eVar32:"prop32",eVar33:"prop33",eVar34:"prop34",eVar35:"prop35",eVar36:"prop36",eVar39:"prop39",eVar43:"prop43",eVar52:"prop52",eVar75:"prop75",eVar67:"prop67"},idCabecera:"REGMUNDO"},pixel:{pixelUrl:"https://pixelcounter.elmundo.es/pixelcontabilizacion/pixelcontabilizacion.gifctl"},chartbeat:{noValueMessage:"no definido"},comscore:{id:"7184769"},dataLayer:["be_page_url","be_date_first_publication","be_page_section","be_page_newsID","be_page_characters","wordcounter","be_page_wordcounter","be_page_domain","be_page_subdomain","be_page_article_title","be_page_subsection1","be_page_subsection2","be_page_subsection3","be_page_subsection4","be_page_subsection5","be_page_subsection6","be_content_premium","be_product_section_conversion","be_product_subsection_conversion","be_product_title_conversion","be_page_hierarchy","be_page_site_version","be_text_seoTags","be_page_multimedia","be_galleries_position","be_galleries_count","be_galleries_quantity","be_page_content_type","be_page_cms_template","be_navigation_type","be_scroll_type","be_content_premium_detail","be_text_journalist","be_content_signwall_detail","be_content_signwall","be_signwall_section_conversion","be_signwall_subsection_conversion","be_signwall_title_conversion","iab_taxonomies"]},"data-prefix":"data-ue-",claseDOMCarga:"js_navContinua",claseCabecera:"js-cnav-header",claseSkies:"js_skies",ajaxTimeout:1e4,transporterGroupsUrl:"https://e00-elmundo.uecdn.es/ue-nydus/dynamic-configuration.json",transporterStartUrl:"/ue-nydus/nydus-feeder.php",transporterSubUrl:"/ue-nydus/nydus.php?content=",disableNCString:"nc=false",blackListParams:["google_preview","cid","intcmp","emk","autoplay","notificacion","_ga","_gl","_gid","gclid","dclid","utm_source","utm_medium","utm_campaign","utm_term","utm_content","utm_id","fbclid"],contenidoActivo:{desktop:{n:3,p:7,default:3},mobile:{n:3,p:5,default:4},default:{n:3,p:5,default:3}},advRefresh:{p:!1,n:[{condition:function(t){return 0!==t.index},consequence:function(t){t.result=!0}}]},customAdv:{p:"-pnc",n:""},excludeOutAd:{p:[],n:["f"],o:["f","sd","si"]},excludeInAd:{p:["f","fp"],n:[],o:[]},adFrontLoaded:{p:.65,n:0,default:0},premium:{urlNews:"/premium.html",active:!0}};t.exports=n},function(t,e){t.exports={location:window.location,history:window.history,navigator:window.navigator}},function(t,e){t.exports=jQuery},function(t,e,n){var o=n(1).location,a=n(2),r=function(){"use strict";return{lanzaListenerPopstate:function(){a(window).on("popstate.init",function(t){t&&t.originalEvent&&t.originalEvent.state&&void 0!==t.originalEvent.state.contenido&&(t.originalEvent.state.localScroll=0,o.reload(t.originalEvent.state.contenido))})}}};t.exports=r,window.historyAPIFix=function(){"use strict";return{lanzaListenerPopstate:function(){console.error("historyAPIFix is deprecated and will be removed in the next version.")}}}},function(t,e,n){var o=n(8),a=n(5),r=n(6),i=n(12),c=n(13),s=n(0),l=function(t,e){"use strict";var n,u,d,f,g=!1,p=!1,m=function(t,e,o){if(0===n.length)return!1;var a={dom:"",breadcrumb:"",children:"",colorSection:"",sectionPrettyName:"",section:"",rootSection:"",classContNav:"",title:"",numComments:"",contentId:""};void 0!==e&&""!==e&&(a.dom=e),t.content.breadcrumb&&(a.breadcrumb=t.content.breadcrumb),t.content.children&&(a.children=t.content.children),t.content.global&&(t.content.global.rootSection&&(a.rootSection=t.content.global.rootSection),t.content.global.classContNav&&(a.classContNav=t.content.global.classContNav),t.content.global.sectionPrettyName&&(a.sectionPrettyName=t.content.global.sectionPrettyName),t.content.global.section&&(a.section=t.content.global.section),t.content.global.model&&(a.colorSection=t.content.global.model),t.content.global.contentId&&(a.contentId=t.content.global.contentId),!t.content.global.ct||"n"!==t.content.global.ct&&"o"!==t.content.global.ct&&"c"!==t.content.global.ct||(t.content.metadata&&t.content.metadata["other-tags"]&&t.content.metadata["other-tags"].title&&(a.title=t.txtContent),t.content.numComments&&(a.numComments=t.content.numComments))),n.trigger("changeHeader",[a]);var r=new CustomEvent("changeHeaderEnergize",{detail:{title:t.txtContent,breadcrumb:t.content.breadcrumb,section:t.content.global.section,classContNav:t.content.global.classContNav,indexActual:o}});window.dispatchEvent(r)},v=function(t){t.metadata&&t.metadata["meta-tags"]&&t.metadata["meta-tags"].length>0&&s["data-prefix"]&&c.updateMetaTags(t.metadata["meta-tags"],s["data-prefix"])},h=function(t){t&&t.metadata&&t.metadata["other-tags"]&&s["data-prefix"]&&c.updateContentTags(t.metadata["other-tags"],s["data-prefix"])},y=function(t,e){var n=r.getAdInfoInItem(t),o=r.getAdInfoInItem(e),a=_(t),i=!r.getItemCached(t)||r.getItemCached(t).advRefresh,c=f.updateAdInfo(n,o,a,i,s.customAdv[d]);c&&N(t,c)},w=function(t){var e=r.getCtFromItem(t);return s.excludeOutAd[e]?s.excludeOutAd[e]:[]},b=function(t){var e=r.getCtFromItem(t);return s.excludeInAd[e]?s.excludeInAd[e]:[]},_=function(t){var e=[],n=0,o=w(t),a=b(t);for(n;n=r.getMaxItems()},M=function(t){return r.isItemCachedContent(t)},k=function(t){return r.isIgnoredCachedContent(t)},Q=function(t){C(t.pages),r.setMaxItems(t.maxActiveContent),d=t.dataPage.ct,S(t.dataPage),void 0!==o&&(f=new o(e,l)),jQuery(window).on("advRefresh",function(){r.setRefreshAdvInItem(u,D())}),n=jQuery("."+t.headerClass)};return{updateAdInfoInItem:N,getCurrentContentId:j,getContentId:L,getUrl:A,getTxtContent:E,getNumItems:R,getRRSS:P,setItem:O,ignorePosition:U,deletePosition:V,isArrayFull:F,isItemCached:M,isIgnoredCachedContent:k,changeInfo:T,setPubli:y,removePubli:I,hasAdvToRefresh:D,getAdInterface:function(){return f},init:Q}};l=new l(jQuery,"undefined"!=typeof gptIsDisableInitialLoad?gptIsDisableInitialLoad:""),t.exports=l},function(t,e,n){var o=n(0),a=function(t){"use strict";var e=1,n=1,a=function(){return Boolean(o&&o.analytics&&o.analytics.omniture&&o.analytics.omniture.eVars)},r=function(){return Boolean(o&&o.analytics&&o.analytics.omniture&&o.analytics.omniture.props)},i=function(){return a()?o.analytics.omniture.eVars:{}},c=function(){return r()?o.analytics.omniture.props:[]},l=function(){return a()&&r()&&o.analytics.omniture.idCabecera?o.analytics.omniture.idCabecera:""},u=function(){return o&&o.analytics&&o.analytics.chartbeat&&o.analytics.chartbeat.noValueMessage?o.analytics.chartbeat.noValueMessage:""},d=function(t,e){return t&&t.analytics&&t.analytics.omniture&&t.analytics.omniture[e]?t.analytics.omniture[e]:""},f=function(t,e){return t&&t.analytics&&t.analytics.dataLayer&&t.analytics.dataLayer[e]?t.analytics.dataLayer[e]:""},g=function(t){return encodeURIComponent(t)},p=function(t){var e,n="",o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",a=0;for(a;a0&&t(".pixelcontabilizacion").find("img").attr("src",n)}},S=function(e){var n=g(e.global.url),a=e.global.portal,r=p(14)+"-"+p(4),i=o.analytics.pixel.pixelUrl;if(i){i=i+"?r="+n+"&s="+a+"&d="+r;var c=o.analytics.pixel.pixelExtraParams;if(c){var s=c.split("|");if(-1!==t.inArray("er",s)&&document.referrer){i=i+"&er="+g(document.referrer)}if(-1!==t.inArray("ua",s)&&navigator.userAgent){i=i+"&ua="+g(navigator.userAgent)}}}return i},T=function(t){if("undefined"==typeof pSUPERFLY||"undefined"==typeof _sf_async_config||!t||!t.global||!t.global.url)return!1;_sf_async_config.sections="",_sf_async_config.authors="";var e=d(t,"channel")?d(t,"channel"):u();_sf_async_config.sections=e;var n=d(t,"prop75")?d(t,"prop75"):u();_sf_async_config.authors=n;var o="";t.metadata&&t.metadata["other-tags"]&&t.metadata["other-tags"].title&&(o=t.metadata["other-tags"].title);var a=t.global.url;pSUPERFLY.virtualPage(a,o)},A=function(t){if("undefined"==typeof pSUPERFLY||"undefined"==typeof _sf_async_config||!t||!t.global||!t.global.url)return!1;_sf_async_config.sections="",_sf_async_config.authors="";var e=f(t,"be_page_section")?f(t,"be_page_section"):u();_sf_async_config.sections=e;var n=f(t,"be_text_journalist")?f(t,"be_text_journalist"):u();_sf_async_config.authors=n;var o="";t.metadata&&t.metadata["other-tags"]&&t.metadata["other-tags"].title&&(o=t.metadata["other-tags"].title);var a=t.global.url;pSUPERFLY.virtualPage(a,o)};return{getOmniturePropsFromOmnitureObj:v,updateAnalytics:function(t){t.content&&t.content.analytics&&t.content.analytics.omniture?T(t.content):A(t.content),void 0===window.s&&void 0===window._satellite||b(t),void 0!==window.ueDataLayer&&_(t),I(),C(t.content)},getDataLayerConfigFromDataLayerObj:h}};a=new a(jQuery),t.exports=a},function(t,e){var n=function(){"use strict";var t,e=10,n=[],o=0,a=function(t){return Boolean(!r(t)&&n[t])},r=function(e){return Boolean(e<0||e>=t)},i=function(t){return Boolean(!r(t)&&n[t]&&n[t].content)},c=function(t){return Boolean(!r(t)&&1===n[t].ignore)},s=function(){return e},l=function(t){e=t},u=function(){return t},d=function(){t=n.length},f=function(){return o},g=function(t){return a(t)&&n[t].ad?n[t].ad:null},p=function(t){return a(t)?n[t].txtContent:null},m=function(t){return a(t)?n[t].urlContent:null},v=function(t){return a(t)&&n[t].content&&n[t].content.global&&n[t].content.global.ct?n[t].content.global.ct:null},h=function(t){if(!r(t)){var e=w(t);if(e&&e.content&&e.content.global&&e.content.global.contentId)return e.content.global.contentId;if(e&&e.ad&&e.ad.contentId)return e.ad.contentId}return null},y=function(t){if(!r(t)){var e=w(t);if(e&&e.content&&e.content.global&&e.content.global.rrss)return e.content.global.rrss}return null},w=function(t){return a(t)?n[t]:null},b=function(t,r){a(t)&&o0&&i(t)&&(n[t].content=null,_(t,!0),o--)};return{isItemCachedContent:i,isIgnoredCachedContent:c,getMaxItems:s,setMaxItems:l,getActiveItemsNum:f,getContentIdFromItem:h,getAdInfoInItem:g,getTxtContentFromItem:p,getUrlFromItem:m,getCtFromItem:v,getItemCached:w,getRRSSFromItem:y,setContentItem:b,getItemsTotal:u,setItemsTotal:d,addItem:I,deleteItemCached:x,ignoreItemCached:function(t){r(t)||(n[t].ignore=1,x(t))},updateAdInfoInItem:function(t,e){!r(t)&&i(t)&&(n[t].content.ad&&delete n[t].content.ad,n[t].ad={},n[t].ad=e,n[t].ad&&n[t].content&&n[t].content.global&&n[t].content.global.contentId&&(n[t].ad.contentId=n[t].content.global.contentId))},getVector:function(){return n},resetMetadataCache:function(){n=[]},setRefreshAdvInItem:_}};n=new n,t.exports=n,window.MetadataCache={getItemCached:function(){"use strict";return console.error("MetadataCache is deprecated and will be removed in the next version."),n.getItemCached.apply(n,arguments)}}},function(t,e,n){var o=n(3),a=n(4),r=n(14);void 0!==jQuery&&jQuery(function(){"use strict";if("undefined"!=typeof nav_continua_active&&"undefined"!=typeof ueDataPage&&"undefined"!=typeof activeUeNavigation){new r(ueDataPage,nav_continua_active,activeUeNavigation).init(),jQuery(document).on("contentLoaded",function(t,e){window.nextContentId=a.getContentId(e.nIndex)})}else{new o(jQuery).lanzaListenerPopstate()}})},function(t,e,n){var o,a=n(9),r=function(t,e){"use strict";var n,r=jQuery(window);o=e;var i=function(){r.on("pubAdsReady",c),r.on("DFPSlotRenderEnded",s)},c=function(){var t=n.dumpAd();o.updateAdInfoInItem(0,t)},s=function(t,e){var n=o.getCurrentContentId(),a=e.slot.getSlotElementId(),r=0;n&&-1===a.indexOf(n)||e.size&&0!==e.size[1]&&1!==e.size[1]&&(r=e.size[1],jQuery("#"+a).css("height",r))},l=function(t,e,o,a,r){return n.updateAdInfo(t,e,o,a,r)},u=function(t,e){n.setData(t,e)},d=function(t,e){t&&t.adSlots&&e&&n.clearSlots(t.adSlots)},f=function(t,e){var n=0;if(e.length>0&&t&&t.contentId)for(n;n0&&(n=t),e&&(n.contentId=e)},u=function(){return!(!r||!r.apiReady)},d=function(){return r.pubadsReady||!1},f=function(t){googletag.pubads().refresh(t),jQuery(window).trigger("advRefresh")},g=function(t,l){var d=[];return u()&&r.cmd.push(function(){v(n.customTargeting),n.adSlots.forEach(function(e){if(!1===p(e,t)){var o=e.adUnit||n.adUnit;o="/"+n.networkId+"/"+o;var a=n.divId+"_"+e.customTargeting.p.join("_");if(n.contentId&&(a=a+"_"+n.contentId),null===document.getElementById(a))return;var i=e.customTargeting.p.length-1;c[e.customTargeting.p[i]]&&(s[c[e.customTargeting.p[i]]]=a),e.customTargeting.p[i]=e.customTargeting.p[i]+l,e.sizes?d.push(r.defineSlot(o,e.sizes,a).setTargeting("p",e.customTargeting.p[0]).setTargeting("nc","1")):d.push(r.defineOutOfPageSlot(o,a).setTargeting("p",e.customTargeting.p[0]).setTargeting("nc","1"));for(var u in e.customTargeting)e.customTargeting.hasOwnProperty(u)&&d[d.length-1].setTargeting(u,e.customTargeting[u]).setTargeting("nc","1");d[d.length-1].addService(r.pubads()),r.display(d[d.length-1].getSlotElementId())}}),!0===e?o.fetch(d).always(function(){a.refreshBid(i,s).always(function(){f(d)})}):jQuery(window).trigger("advRefresh")}),{adSlots:d,customTargeting:n.customTargeting}},p=function(t,e){return!t.customTargeting||!t.customTargeting.p||0===t.customTargeting.p.length||(!e||Boolean(-1!==e.indexOf(t.customTargeting.p[0])))},m=function(t,e,n,o,a){return e&&e.customTargeting&&h(e.customTargeting),t&&t.customTargeting&&v(t.customTargeting),t?(u()&&o&&r.cmd.push(function(){r.pubads().clear(t.adSlots),r.pubads().refresh(t.adSlots),jQuery(window).trigger("advRefresh")}),null):g(n,a)},v=function(t){u()&&r.cmd.push(function(){var e;for(e in t)t.hasOwnProperty(e)&&r.pubads().setTargeting(e,t[e])})},h=function(t){u()&&r.cmd.push(function(){var e;for(e in t)t.hasOwnProperty(e)&&r.pubads().clearTargeting(e)})},y=function(t){d()&&r.cmd.push(function(){r.pubads().clear(t)})},w=function(){googletag.pubads().addEventListener("slotRenderEnded",function(t){jQuery(window).trigger("DFPSlotRenderEnded",t)})},b=function(){var t={},e=googletag&&googletag.pubadsReady?googletag.pubads().getSlots():[];return googletag&&googletag.pubadsReady&&window.ueDFPData&&window.ueDFPData.customTargeting&&(t=jQuery.extend({},window.ueDFPData.customTargeting)),e.forEach(function(t){t.setTargeting("nc","1")}),{adSlots:e,customTargeting:t}};return function(){var t=0,e=setInterval(function(){d()&&(w(),jQuery(window).trigger("pubAdsReady"),clearInterval(e)),t>=20&&clearInterval(e),t++},500)}(),{setData:l,dumpAd:b,clearSlots:y,updateAdInfo:m}};t.exports=r},function(t,e){var n=function(){"use strict";var t=function(t){for(var e=[],n=0;n0&&o.slots.push({slotID:e.getSlotElementId(),slotName:e.getAdUnitPath(),sizes:n})}),window.apstag.fetchBids(o,n.resolve)}else n.reject()}catch(t){n.reject()}return n}}}();t.exports=n},function(t,e){var n=function(){"use strict";function t(t){return JSON.parse(JSON.stringify(t))}var e=window.adUnits_nc instanceof Array?t(window.adUnits_nc):[];return{refreshBid:function(n,o){var a=new jQuery.Deferred;if(window.pbjs&&window.pbjs.que&&window.pbjs.que instanceof Array){var r=t(e);r.forEach(function(t){t.code in n&&(t.code=o[t.code])}),r=r.filter(function(t){return"string"==typeof t.code}),window.pbjs.que.push(function(){pbjs.addAdUnits(r),pbjs.requestBids({timeout:1e3,bidsBackHandler:function(){window.pbjs.setTargetingForGPTAsync(),a.resolve()}})})}else a.reject();return a}}}();t.exports=n},function(t,e,n){var o=n(5),a=n(0),r=function(t,e){"use strict";var n={ad:{},content:"",metadata:{"meta-tags":[],"other-tags":{}},global:{},breadcrumb:"",children:"",numComments:"",analytics:{omniture:{},dataLayer:{}},advRefresh:!0},r=e,i=function(){void 0!==r&&r&&(n.global.rootSection=r.rootSection?r.rootSection:"",n.global.classContNav=r.classContNav?r.classContNav:"",n.global.model=r.model?r.model:"",n.global.url=window.location.href.replace(window.location.search||window.location.hash,""),n.global.contentId=r.contentId?r.contentId:"",n.global.ct=r.ct?r.ct:"",n.global.portal=r.portal?r.portal:"",n.global.section=r.section?r.section:"",n.global.sectionPrettyName=r.sectionPrettyName?r.sectionPrettyName:"",n.global.rrss=r.rrss?r.rrss:{})},c=function(){var e=t("["+a["data-prefix"]+"u]"),n=[];return e.each(function(){n.push(t(this).context.outerHTML)}),n},l=function(){var e={},n=t("["+a["data-prefix"]+"u]:not(meta)");return n.length>0&&n.each(function(){var n=t(this);"innerHTML"===n.data("ue-c")?e[n.data("ue-u")]=n.html():e[n.data("ue-u")]=n.attr(n.data("ue-c"))}),e},u=function(){n.metadata["meta-tags"]=c(),n.metadata["other-tags"]=l()},d=function(){void 0!==r&&r&&r.breadcrumb&&(n.breadcrumb=r.breadcrumb),void 0!==r&&r&&r.children&&(n.children=r.children)},f=function(){void 0!==r&&r&&r.numComments&&(n.numComments=r.numComments)},g=function(){var e;void 0!==window.s&&(e=o.getOmniturePropsFromOmnitureObj(s))&&!t.isEmptyObject(e)&&(n.analytics.omniture=e)},p=function(){var e;void 0!==window.ueDataLayer&&(e=o.getDataLayerConfigFromDataLayerObj(ueDataLayer),t.isEmptyObject(e)||(n.analytics.dataLayer=e))};return{dump:function(){return i(),u(),d(),f(),g(),p(),n}}};t.exports=r},function(t,e){var n=function(t){"use strict";var e=function(e){n(e)&&t("head").append(e)},n=function(e){try{return t(e).is("meta")}catch(t){return!1}},o=function(e,n,o){var a=null;try{a=t("["+n+"u="+e+"]")}catch(t){}if(a&&1===a.length&&a.attr(n+"c")){var i=a.data(r(n+"c"));return"innerHTML"===i?a.html(o):a.attr(i,o),!0}return!1},a=function(e){t("meta["+e+"u]").remove()},r=function(t){return String(t).replace(/^data\-/,"")},i=function(t,n){a(n);for(var o in t)e(t[o])};return{updateContentTags:function(t,e){for(var n in t)o(n,e,t[n])},updateMetaTags:i}};n=new n(jQuery),t.exports=n},function(t,e,n){var o=n(3),a=n(6),r=n(4),i=n(0),c=n(15),s=n(1).location,l=n(1).navigator,u=n(16),d=n(2),f=function(t,e,n){"use strict";var f,g,p,m,v,h,y,w,b,_,I,x=0,C=0,S=0,T=0,A=!1,P=!1,E=!1,j=.65,L=function(){var t;if("Microsoft Internet Explorer"===l.appName)return t=l.userAgent.toLowerCase(),parseInt(t.split("msie")[1],10)},R=function(){return!!(l.userAgent.indexOf("Edge")>-1||l.userAgent.match(/Trident\/7\./))},O=function(){var t=-1!==l.userAgent.toLowerCase().indexOf("ipad"),e=-1!==l.userAgent.toLowerCase().indexOf("iphone");return!(!t&&!e)},D=function(){return-1!==l.userAgent.toLowerCase().indexOf("safari/")&&-1===l.userAgent.toLowerCase().indexOf("chrome")},N=function(){var t=h.outerHeight(!0)-x,e=d("#js_progressBar"),n=e.parent().width(),o=100*(C-h[0].offsetTop)/t;o>100&&(o=100),o<0&&(o=0),e.width(o/100*n)},U=function(){x=f.height(),N()},V=function(){return g.scrollTop()>=C?1:0},F=function(t,e){if(1===e)for(;r.isIgnoredCachedContent(t);)t++;else for(;r.isIgnoredCachedContent(t);)t--;return t},M=function(t){return!!(t&&t.content&&t.global&&t.global.url&&t.global.model&&t.global.contentId&&t.breadcrumb&&t.metadata&&t.metadata["other-tags"]&&t.metadata["other-tags"].title&&t.analytics&&(t.analytics.omniture||t.analytics.dataLayer))},k=function(){var e=ut()||"default",n={headerClass:i.claseCabecera,maxActiveContent:i.contenidoActivo[e][t.ct]?i.contenidoActivo[e][t.ct]:i.contenidoActivo[e].default,pages:_,dataPage:t,currentContentIndex:S,currentContent:h};r.init(n),g.on("contentLoaded",function(t,e){r.setPubli(e.nIndex,e.cIndex),a.setRefreshAdvInItem(e.nIndex,!1)}),g.on("loadAdv",function(t,e){r.setPubli(e.nIndex,e.cIndex),a.setRefreshAdvInItem(e.nIndex,!1)}),g.on("urlChanged",function(t,e){r.removePubli(e.scroll,e.pIndex),a.setRefreshAdvInItem(e.cIndex,r.hasAdvToRefresh())})},Q=function(t){var e=ft(t),n="/"===e.pathname[0]?e.pathname.substr(1):e.pathname,o=n?n.replace(/.html$/,""):"index";return e.protocol+"//"+e.hostname+i.transporterSubUrl+o},z=function(t,e){d.ajaxSetup({cache:!0}),t>=0&&t0?i.ajaxTimeout:1e4}).done(function(n){M(n)?H(n,t,e):B(t,e)}).fail(function(){B(t,e)}))},B=function(t,e){r.ignorePosition(t),t=F(t,e),t>=0&&t0&&C>=e[0].offsetTop&&$(e,S+1,t)):(e=h.prev("."+y),e.length>0&&C<=e[0].offsetTop+e.outerHeight(!0)&&$(e,S-1,t))},$=function(t,e,n){var o=S,a=F(e,n);if(m||(m=v),a>=0&&a=o-a&&(0===h.next("."+y).length&&e=C-p&&(0===h.prev("."+y).length&&e>=0?(P=!0,z(e,n)):e>=0&&g.trigger("loadAdv",{cIndex:S,nIndex:e}))},J=function(t){var e;if(E)return void(E=!1);if(t.originalEvent&&t.originalEvent.state&&void 0!==t.originalEvent.state.index&&void 0!==t.originalEvent.state.contenido){if(t.originalEvent.state.originalNavURL&&t.originalEvent.state.originalNavURL!==r.getUrl(0)&&t.originalEvent.state.contenido)return et(),void s.reload(t.originalEvent.state.contenido);if(d("title").html(t.originalEvent.state.title),O()&&S===t.originalEvent.state.index)return;if(at(),T++,w&&w.readyState&&4!==w.readyState&&(w.abort(),P=!1),S===t.originalEvent.state.index||!r.isItemCached(t.originalEvent.state.index))return et(),void s.reload(t.originalEvent.state.contenido);S>t.originalEvent.state.index?e=0:S0&&(n=h.offset().top+p/2),d("html, body").stop().animate({scrollTop:n},"2000").promise().done(function(){C=g.scrollTop(),T--,T?r.removePubli(e,t):(r.changeInfo(S,t,h,e,!0),ot(),A=!1)}))},K=function(t){t.originalEvent.persisted&&(window.history.state&&window.history.state.contenido?s.reload(window.history.state.contenido):s.reload())},X=function(){if(window.history&&window.history.state&&!1===A)if(m)(R()||E)&&(at(),g.scrollTop(0)),window.history.replaceState(s.origin,m.title,m.contenido);else{var t=0,e=0,n=window.history.state,o=h.prevAll("."+y);for(e;e=0;n--)s.search.search(i.blackListParams[n])>=0&&(e=!0);e||(t=s.href.replace(s.search||s.hash,""));var o={contenido:t,index:S,title:document.title.split("|")[0].trim(),localScroll:window.history.state&&window.history.state.localScroll&&0!==window.history.state.localScroll?window.history.state.localScroll:0,navigation:3,originalNavURL:t};window.history.replaceState(o,d("title").html(),t),v=window.history.state},ct=function(){b=window.performance&&window.performance.navigation&&""!==window.performance.navigation.type?window.performance.navigation.type:"-1"},st=function(){"0"!==b.toString()&&"1"!==b.toString()?window.history.state&&void 0!==window.history.state.localScroll&&""!==window.history.state.localScroll&&g.scrollTop(window.history.state.localScroll):void 0!==window.history.state&&window.history.state&&window.history.state.navigation&&3===window.history.state.navigation&&g.scrollTop(0)},lt=function(e){if(e)return void(j=e);var n=t.ct||"default";j=i.adFrontLoaded[n]},ut=function(){for(var t=null,e="default",n=document.cookie.split(";"),o=0;o-1&&(t=JSON.parse(decodeURIComponent(n[o].split("=")[1])))}catch(t){console.log(t.message)}return t&&t.d&&("e"===t.d&&(e="desktop"),"m"===t.d&&(e="mobile")),e},dt=function(){if(void 0===d||""===d)return!1;var o=L();return 8!==o&&9!==o&&10!==o&&(!(s.search.search(i.disableNCString)>=0)&&(""!==e&&e&&""!==n&&n&&t?"object"!=typeof LoadingPlaceholder?(rt(),!1):0!==d("."+y).length:(rt(),!1)))},ft=function(t){if(""!==t){var e=d("",{href:t})[0],n=e.hostname.match(/\.(\w+\.\w+)$/);n=n?n[1]:e.hostname;var o={};if(""!==e.search)for(var a=e.search.substr(1).split("&"),r=0;r-1?d.when("premium"):d.when("direct");var n=d.Deferred();return gt().then(function(){switch(mt(t,e,I)){case"seo":n.resolve("seo");break;case"social":case"bt":n.resolve("social");break;case"direct":n.resolve("direct")}}).fail(function(){n.resolve("direct")}),n.promise()},ht=function(){f=d(window),g=d(document),p=f.height()/3,(O()||D())&&(E=!0),ct(),st(),x=f.height(),LoadingPlaceholder.init(y),h=d("."+y+":eq("+S+")").attr("data-ue-navIndex",S),C=g.scrollTop(),lt(),k(),it(),Z(),nt(),ot(),tt(),"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual"),void 0!==window.orientation?f.on("orientationchange",U):f.on("resize.infScroll",U)};return{init:function(){return y=i.claseDOMCarga,dt()?(f=d(window),g=d(document),h=d("."+y+":eq("+S+")").attr("data-ue-navIndex",S),f.on("scroll.preload",function(){C=g.scrollTop(),N()}),vt().then(pt).then(function(){_&&_.length?(f.off("scroll.preload"),ht()):rt()}).fail(function(){rt()})):void 0},resizePantalla:U}};t.exports=f},function(t,e,n){function o(){"use strict";var t=function(t){var e=a.Deferred();return a("",{href:t,type:"text/css",rel:"stylesheet"}).appendTo("head").on("load",e.resolve).on("error",e.reject),e.promise()};return{processStyles:function(e){var n=a("link[rel=stylesheet]").map(function(t,e){return e.href}).get();if(e&&e.length>0){for(var o=0,r=[];o