PageSourceSearch

https://los40.com/pf/resources/dist/js/main.js?d=1017

js los40.com collected 2026-09-24 08:51:32 UTC 33,626 bytes, 1 lines download raw bytes

1!function(){"use strict";function e(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function t(e,t,r,n,o,i,a){try{var c=e[i](a),s=c.value}catch(e){return void r(e)}c.done?t(s):Promise.resolve(s).then(n,o)}function r(e){return function(){var r=this,n=arguments;return new Promise((function(o,i){var a=e.apply(r,n);function c(e){t(a,o,i,c,s,"next",e)}function s(e){t(a,o,i,c,s,"throw",e)}c(void 0)}))}}function n(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}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 i(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){n(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 a(){a=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",c=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function u(e,t,r,n){return Object.defineProperty(e,t,{value:r,enumerable:!n,configurable:!n,writable:!n})}try{u({},"")}catch(e){u=function(e,t,r){return e[t]=r}}function l(t,r,n,o){var i=r&&r.prototype instanceof f?r:f,a=Object.create(i.prototype);return u(a,"_invoke",function(t,r,n){var o=1;return function(i,a){if(3===o)throw Error("Generator is already running");if(4===o){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var s=S(c,n);if(s){if(s===p)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(1===o)throw o=4,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=3;var u=d(t,r,n);if("normal"===u.type){if(o=n.done?4:2,u.arg===p)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=4,n.method="throw",n.arg=u.arg)}}}(t,n,new P(o||[])),!0),a}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=l;var p={};function f(){}function v(){}function m(){}var h={};u(h,i,(function(){return this}));var y=Object.getPrototypeOf,w=y&&y(y(k([])));w&&w!==r&&n.call(w,i)&&(h=w);var g=m.prototype=f.prototype=Object.create(h);function b(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function E(e,t){function r(o,i,a,c){var s=d(e[o],e,i);if("throw"!==s.type){var u=s.arg,l=u.value;return l&&"object"==typeof l&&n.call(l,"__await")?t.resolve(l.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(l).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,c)}))}c(s.arg)}var o;u(this,"_invoke",(function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}),!0)}function S(t,r){var n=r.method,o=t.i[n];if(o===e)return r.delegate=null,"throw"===n&&t.i.return&&(r.method="return",r.arg=e,S(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),p;var i=d(o,t.i,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,p;var a=i.arg;return a?a.done?(r[t.r]=a.value,r.next=t.n,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,p):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,p)}function _(e){this.tryEntries.push(e)}function x(t){var r=t[4]||{};r.type="normal",r.arg=e,t[4]=r}function P(e){this.tryEntries=[[-1]],e.forEach(_,this),this.reset(!0)}function k(t){if(null!=t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError(typeof t+" is not iterable")}
1return v.prototype=m,u(g,"constructor",m),u(m,"constructor",v),v.displayName=u(m,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,u(e,s,"GeneratorFunction")),e.prototype=Object.create(g),e},t.awrap=function(e){return{__await:e}},b(E.prototype),u(E.prototype,c,(function(){return this})),t.AsyncIterator=E,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new E(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},b(g),u(g,s,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.unshift(n);return function e(){for(;r.length;)if((n=r.pop())in t)return e.value=n,e.done=!1,e;return e.done=!0,e}},t.values=k,P.prototype={constructor:P,reset:function(t){if(this.prev=this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(x),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0][4];if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(e){a.type="throw",a.arg=t,r.next=e}for(var o=r.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i[4],c=this.prev,s=i[1],u=i[2];if(-1===i[0])return n("end"),!1;if(!s&&!u)throw Error("try statement without catch or finally");if(null!=i[0]&&i[0]<=c){if(c<s)return this.method="next",this.arg=e,n(s),!0;if(c<u)return n(u),!1}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n[0]>-1&&n[0]<=this.prev&&this.prev<n[2]){var o=n;break}}o&&("break"===e||"continue"===e)&&o[0]<=t&&t<=o[2]&&(o=null);var i=o?o[4]:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o[2],p):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r[2]===e)return this.complete(r[4],r[3]),x(r),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r[0]===e){var n=r[4];if("throw"===n.type){var o=n.arg;x(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={i:k(t),r:r,n:n},"next"===this.method&&(this.arg=e),p}},t}function c(t,r){return function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,c=[],s=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=i.call(r)).done)&&(c.push(n.value),c.length!==t);s=!0);}catch(e){u=!0,o=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(t,r)||function(t,r){if(t){if("string"==typeof t)return e(t,r);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?e(t,r):void 0}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}var u,l=i(i({},(null===(u=window.appContext)||void 0===u?void 0:u.get())||{}),window.appData),d=function(e,t){l[e]=t},p=function(e){return e?l[e]:l},f=function(e){var t,r=new RegExp("(^| )".concat(e,"=([^;]+)")).exec(null===(t=document)||void 0===t?void 0:t.cookie);return r?r[2]:null},v=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=p(),r=t.refresh,n=t.metas.refresh,o=t.siteProperties,i=o.refreshInterval,a=o.persistentPlayer.refreshInterval,c=void 0!==a&&a,s=t.globalContent,u=s.content_elements,l=s.promo_items,f=(void 0===l?{}:l).lead_art,v=t.refreshPersistentPlayer;e&&clearTimeout(r),e&&c&&clearInterval(v),"disabled"!==n&&d("refresh",setTimeout((function(){var e,t,r=/<iframe[^>]*\ssrc="(.*?\.youtube\.com.*?)"/,n=null===(e=window)||void 0===e||null===(e=e.PERSISTENT_PLAYER)||void 0===e?void 0:e.getStatus(),o=null===(t=window)||void 0===t||null===(t=t.PERSISTENT_PLAYER)||void 0===t?void 0:t.getAdModuleStatus(),i=!!("video"===(null==f?void 0:f.subtype)||u&&Array.isArray(u)&&(null!=u&&u.filter((function(e){return"video"===e.subtype})).length||null!=u&&u.filter((function(e){return"youtube"===e.subtype})).length)),a="raw_html"===(null==f?void 0:f.type)&&r.test(f.content)||u&&Array.isArray(u)&&!(null==u||!u.filter((function(e){var t,n=e.subtype,o=e.embed;return"HTML-JS"===n&&r.test((null==o||null===(t=o.config)||void 0===t?void 0:t.rawcode)||"")})).length),c=!1;document.querySelectorAll(".c-cad.vids-new").forEach((function(e){var t;null!==(t=e.querySelector("#modal .vreel-sw"))&&void 0!==t&&null!==(t=t.classList)&&void 0!==t&&t.contains("is-active")&&(c=!0)})),["play","first_play","play_after_ads","pause","LIVE_BUFFERING","LIVE_CONNECTING"].includes(n)||"AdPlay"===o||i||a||c||window.location.reload()}),parseInt(n,10)||i)),c&&d("refreshPersistentPlayer",setInterval((function(){window.DTM.trackAsyncPV()}),c))},m=function(){"object"===s(window.mediaTopEmbedCs)&&window.mediaTopEmbedCs.getManager()&&window.mediaTopEmbedCs.getManager().elemsMgr.forEach((function(e){e.embed.load_Youbora()}))},h=function(){window.mm_youbora=!0;var e,t=document.createElement("script");t.setAttribute("src",(e=void 0!==window.mm_base?window.mm_base:"https://playser.player-top.prisasd.com","".concat(e,"/psdmedia/media/top/youbora/prisa-adapter-js/dist/sp.min.js"))),t.addEventListener("load",m),document.head.appendChild(t)},y=function(){"function"==typeof window.stopYB&&window.stopYB(),window.mm_youbora=void 0},w=function(e){var t=void 0===e.getUserConsentStatusForVendor("c:youbora")?"c:youbora-8catWTUm":"c:youbora";e.getObservableOnUserConsentStatusForVendor(t).filter((function(e){return void 0!==e})).subscribe((function(r){!function(e,t,r){return!0===e||!0===t.getUserConsentStatusForVendor(r)}(r,e,t)?y():h()}))},g=function(e){e&&Object.keys(e).forEach((function(t){var r=e[t];"number"==typeof r?clearInterval(r):Array.isArray(r)?r.forEach((function(e){"number"==typeof e?clearInterval(e):"object"===s(e)&&null!==e&&g(e)})):"object"===s(r)&&null!==r&&g(r)}))},b=function(e){document.querySelectorAll(e).forEach((function(e){return e.remove()}))},E=function(){var e=r(a().mark((function e(t){var r,n,o,i=arguments;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=i.length>1&&void 0!==i[1]?i[1]:{},n=i.length>2&&void 0!==i[2]?i[2]:"json",e.prev=2,e.next=5,fetch(t,r);case 5:if((o=e.sent).ok){e.next=8;break}throw new Error("[".concat(o.status,"] Failed to fetch data from ").concat(t));case 8:if("json"!==n){e.next=12;break}return e.next=11,o.json();case 11:case 15:return e.abrupt("return",e.sent);case 12:if("text"!==n){e.next=16;break}return e.next=15,o.text();case 16:throw new Error("Unsupported response type: ".concat(n));case 19:throw e.prev=19,e.t0=e.catch(2),new Error(e.t0.message);case 22:case"end":return e.stop()}}),e,null,[[2,19]])})));return function(t){return e.apply(this,arguments)}}(),S=function(e){var t=document.querySelector("#".concat(e));null!==t&&t.parentNode.removeChild(t)}
1,_=function(){var e=p(),t=e.siteProperties,r=t.onetap,n=void 0===r?{}:r,o=t.breakpoints,i=e.environment.ENVIRONMENT,a=e.user.isLoggedIn;if(0===Object.keys(n).length)return!1;if(S(n.container.id),S(n.lib.id),window.innerWidth<o.large||a||!["prisaradiolos40","prisaradio"].includes(i)||!document.querySelector("#btn-hd-usr"))return!1;var c=encodeURIComponent("".concat(n.urlRssUsun,"?onetap=1&referer=").concat(window.location.href)),s="".concat(n.loginUrl,"?redirect_uri=").concat(c,"&encode=1"),u=document.createElement("script");u.id=n.lib.id,u.src=n.lib.src,u.setAttribute("async",""),u.setAttribute("defer","");var l=document.createElement("div");l.id=n.container.id,l.setAttribute("data-client_id",n.clientId),l.setAttribute("data-context","signin"),l.setAttribute("data-login_uri",s),l.setAttribute("data-auto_select","false"),l.setAttribute("data-close_on_tap_outside","false"),l.setAttribute("data-itp_support","true"),l.setAttribute("data-use_fedcm_for_prompt","true");var d=document.getElementsByTagName("body")[0],f=d.firstChild;return d.insertBefore(u,f),d.insertBefore(l,f),!0},x=function(){var e=p(),t=e.siteProperties.advertising.adUnitPrefix,r=e.globalContent,n=e.metas,o=r.subtype,i=r.taxonomy,a=void 0===i?{}:i,s=a.tags,u=a.sections,l=(null==u?void 0:u.map((function(e){var t;return null==e||null===(t=e.additional_properties)||void 0===t?void 0:t.original})).filter((function(e){return e})))||[r];window.GPT_ADUNIT=function(e){var t=e.value,r=e.prefix,n=e.sections;if(!t)return"".concat(r);var o="";return n.forEach((function(e){var t=e._id,r=e.configuration;"E"===(void 0===r?{}:r).type&&(o=t.slice(1))})),t.replace("{prefix}",r).replace("{station}",o).replace(/-/g,"_").replace(/\/\//g,"/").replace(/\/$/,"")}({value:n["pbs|adunit"],prefix:t,sections:l}),window.GPT_KEYS=function(e){var t=e.value,r=e.sections,n=e.tags,o=e.subtype;if(!t)return"";var i=[];r.forEach((function(e){var t=e._id,r=e.configuration,n=void 0===r?{}:r,o=n.type,a=n.subtype;if("S"===o&&t.slice(1).split("/").forEach((function(e,t){return i.push("".concat("s".repeat(t+1),"_").concat(e.replace(/-/g,"_")))})),"P"===o){var s=c(t.slice(1).split("/"),3),u=s[1],l=s[2];i.push("p_".concat(u.replace(/-/g,"_"))),l&&a&&i.push("sp_".concat(l.replace(/-/g,"_")))}"E"===o&&i.push(t.slice(1).replace(/-/g,"_"))}));var a=(null==n?void 0:n.map((function(e){return e.slug})))||[];return t.replace("{tags}",a.join(",")).replace("{sections}",i.join(",")).replace("{subtype}",o).replace(/,,/g,",").replace(/,$/,"")}({value:n["pbs|keys"],sections:l,tags:s,subtype:o}).split(",")},P=function(){var e,t=p("siteProperties").analytics.dogtrack.accountId;null===(e=document.querySelector("#dogtrack-pixel"))||void 0===e||e.remove();var r=document.getElementsByTagName("script")[0],n=document.createElement("script");n.id="dogtrack-pixel",n.async=1,n.h="prra.spxl.socy.es",n.t=t,n.src="//prra.spxl.socy.es/pixel/js/".concat(t,"/").concat(encodeURI(btoa(document.referrer))),r.parentNode.insertBefore(n,r)},k=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=p(),r=t.siteProperties.analytics,n=r.adobe.siteId,o=r.defaultEditionNavigation,a=t.baseDataLayer,c=t.user;return new Promise((function(t){var r,s,u,l,d,p,v,m,h=c.uid,y=c.names;t(i(i({},i(i({},a.adobe),e)),{},{canonicalURL:"".concat(window.location.origin).concat(window.location.pathname),cleanURL:"".concat(window.location.origin).concat(window.location.pathname),destinationURL:"".concat(window.location.origin).concat(window.location.pathname).concat(window.location.search||""),editionNavigation:(null===(r=f("radioStationSlug"))||void 0===r?void 0:r.replace("-","_"))||o,loadType:"secuencial",onsiteSearch:null!==(s=window.search)&&void 0!==s&&s.term?1:0,onsiteSearchTerm:(null===(u=window.search)||void 0===u?void 0:u.term)||"",onsiteSearchResults:null!==(l=window.search)&&void 0!==l&&l.term&&void 0!==(null===(d=window.search)||void 0===d?void 0:d.total)?null===(p=window.search)||void 0===p?void 0:p.total:"",pageName:"".concat(n).concat(window.location.pathname),pageTitle:document.title,profileID:h||"",referringDomain:window.spaReferrerHostname||(null===(v=document.spareferrer)||void 0===v?void 0:v.hostname)||document.referrer&&new URL(document.referrer).hostname||"",referringURL:window.spaReferrerUrl||(null===(m=document.spareferrer)||void 0===m?void 0:m.href)||document.referrer||"",registeredUser:h?1:0,ssl:"https:"===window.location.protocol?1:0,userID:h||"",userName:null!=y&&y.userName?y.userName:"",userType:h?"registrado":"anonimo"}))}))},A=function(e){var t,r=p(),n=r.siteProperties.analytics.lib,o=r.environment.ENVIRONMENT;window.DTM.pageDataLayer=e,function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=document.createElement("script");n.type="text/javascript",n.src=e,r&&(n.id=r),t&&n.addEventListener("load",t),document.body.appendChild(n)}(n[(null===(t=o.match(/(dev|localhost|sandbox|staging)/))||void 0===t?void 0:t[1])||"production"]),P()},N=function(){var e=r(a().mark((function e(t){var r,n,o;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.source,n=t.query,e.next=3,E("/pf/api/v3/content/fetch/".concat(r,"?query=").concat(encodeURIComponent(JSON.stringify(n)),"&d=").concat(p("deployment")));case 3:return o=e.sent,e.abrupt("return",o);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),O=p(),T=O.siteProperties.sportLive,I=void 0===T?{}:T;I.host,I.version,I.businessUnit,I.edition,I.apiKey,I.sports,O.environment.ENVIRONMENT;var L=p(),j=L.siteProperties.sportLive,q=void 0===j?{}:j;
1q.host,q.version,q.apiKey;var C,M=q.labels;(void 0===M?{}:M).states_live_scores,L.environment.ENVIRONMENT;var R=p().siteProperties,D=R.persistentPlayer.external_player.classnames;D.play_button_classname,D.player_container,D.playing_class;var U=R.mediaPlayer;U.defaultAudioPlayerIdEmbed,U.audioDownloadDist,U.mediaEmbedURL.audio,null===(C=f("uid_na"))||void 0===C||C.split("#")[0];var W=p(),V=W.siteProperties,F=V.persistentPlayer,B=F.api;B.host,B.authorization,F.external_player.classnames.play_button_classname;var G=V.sportLive,Y=void 0===G?{}:G;Y.host,Y.version,Y.businessUnit,Y.edition,Y.apiKey;var H=Y.labels,$=void 0===H?{}:H;$.state,$.period,$.link,W.environment.ENVIRONMENT;var K=p(),Z=K.siteProperties.sportLive,z=void 0===Z?{}:Z;z.host,z.version,z.businessUnit,z.edition,z.apiKey;var J=z.labels;(void 0===J?{}:J).period,z.group_letters;var Q=z.teams;(void 0===Q?{}:Q).abbr,K.environment.ENVIRONMENT;var X=p(),ee=X.siteProperties,te=ee.sportLive,re=void 0===te?null:te,ne=ee.persistentPlayer,oe=ne.api;oe.host,oe.authorization,ne.external_player.classnames.play_button_classname,ee.radioStationId,X.environment.ENVIRONMENT;var ie=re||{};ie.host,ie.businessUnit,ie.version,ie.edition,ie.apiKey;var ae=ie.labels;(void 0===ae?{}:ae).state,ie.widgetsAllowDirects;var ce=p();ce.arcSite;var se=ce.siteProperties.persistentPlayer;se.excludeAlternativesNoAudio,se.api.cover_cut_type;var ue,le,de,pe=se.external_player.classnames;pe.play_button_classname,pe.player_container,pe.playing_class,ue=p("siteProperties").responsiveBreakpoints,le=ue.large,de=ue.medium,window.innerWidth>=le||window.innerWidth>=de&&window.innerWidth;var fe=p();fe.globalContent;var ve=fe.siteProperties;ve.websiteDomain;var me=ve.podcasts;me.podcastWithoutAudioLinks,me.dataMap,me.productId,fe.requestUri;var he=p();he.globalContent;var ye=he.siteProperties;ye.websiteDomain,ye.podcasts.dataMap,he.requestUri,p("siteProperties").podcasts.productId,p("siteProperties").podcasts.productId;var we=p("siteProperties").mediaPlayer;we.accountNameId,we.defaultVideoPlayerId;var ge=p("siteProperties").mediaPlayer;ge.accountNameId,ge.defaultVideoPlayerId;var be=function(){var e=r(a().mark((function e(){var t;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("Notification"in window){e.next=2;break}return e.abrupt("return","denied");case 2:if("default"===Notification.permission){e.next=4;break}return e.abrupt("return",Notification.permission);case 4:return e.prev=4,e.next=7,Notification.requestPermission();case 7:return t=e.sent,e.abrupt("return",t);case 11:return e.prev=11,e.t0=e.catch(4),console.error("Error requesting notification permission:",e.t0),e.abrupt("return","denied");case 15:case"end":return e.stop()}}),e,null,[[4,11]])})));return function(){return e.apply(this,arguments)}}(),Ee=function(){var e=r(a().mark((function e(){var t,r;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,navigator.serviceWorker.ready;case 3:return t=e.sent,e.next=6,t.pushManager.subscribe({userVisibleOnly:!0});case 6:if(r=e.sent){e.next=9;break}return e.abrupt("return",null);case 9:return e.abrupt("return",r);case 12:return e.prev=12,e.t0=e.catch(0),console.error("Error subscribing to push notifications:",e.t0),e.abrupt("return",null);case 16:case"end":return e.stop()}}),e,null,[[0,12]])})));return function(){return e.apply(this,arguments)}}(),Se=function(){var e=r(a().mark((function e(){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,be();case 2:if("granted"===e.sent){e.next=5;break}return e.abrupt("return");case 5:return e.next=7,Ee();case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),_e=function(){Didomi.preferences.show()},xe=function(){document.querySelector("#capa-webs-grupo").classList.toggle("activado")},Pe=function(e){var t,r=e.target.closest(".c-al");r&&(r.classList.add("cerrar"),t=function(){return r.remove()},requestAnimationFrame((function(){if("undefined"!=typeof MessageChannel){var e=new MessageChannel;e.port1.onmessage=t,e.port2.postMessage(void 0)}else setTimeout(t,0)})))},ke=function(){setTimeout((function(){var e,t,r;null===(e=document.querySelector("#cookies-preferences"))||void 0===e||e.addEventListener("click",_e),null===(t=document.querySelectorAll("#pbt
1-medios, #cierrame, #cierrame2"))||void 0===t||t.forEach((function(e){return e.addEventListener("click",xe)})),null===(r=document.querySelectorAll("section.c-al > button"))||void 0===r||r.forEach((function(e){return e.addEventListener("click",(function(e){return Pe(e)}))}))}),500)},Ae=p("siteProperties"),Ne=Ae.mediaPlayer,Oe=Ne.accountNameId,Te=Ne.assetDownloadTypeUrlName,Ie=Ae.audioDownloadDist,Le=function(){var e=r(a().mark((function e(){var t,r,n,o,i,c,s,u;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,N({source:"site-service",query:{sectionIds:"/".concat(f("radioStationSlug")||"cadena-ser")}});case 3:t=e.sent,(r=document.getElementById("header-schedule-link"))&&(i=null!=t&&null!==(n=t.configuration)&&void 0!==n&&n.id_m2&&null!=t&&null!==(o=t.configuration)&&void 0!==o&&o.mount?null==t?void 0:t._id:"/cadena-ser",r.href="".concat(i,"/programacion/")),(c=document.getElementById("header-programs-link"))&&(s=(null==t?void 0:t._id)||"/cadena-ser",u="/programas/por-radio/".concat(s,"/"),c.href=u.replace(/([^:]\/)\/+/g,"$1")),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(0),console.error("Error updating schedule links:",e.t0);case 13:case"end":return e.stop()}}),e,null,[[0,10]])})));return function(){return e.apply(this,arguments)}}(),je=function(){var e=function(){var e=r(a().mark((function e(t){var r,n,o,i,c,s,u;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o="https://fapi-top.prisasd.com/api/v2/search/".concat(Oe,"/audio/idref/").concat(t,"/tfp"),e.next=3,E(o,{cache:"no-store"});case 3:if(null!=(i=e.sent)&&null!==(r=i.data)&&void 0!==r&&r.length){e.next=6;break}return e.abrupt("return",null);case 6:if(null!=i&&null!==(n=i.data)&&void 0!==n&&null!==(n=n[0])&&void 0!==n&&n.asset){e.next=8;break}return e.abrupt("return",null);case 8:if(c=i.data[0].asset.find((function(e){return"audio/mp3"===(null==e?void 0:e.mimetype)&&Array.isArray(null==e?void 0:e.url)}))){e.next=11;break}return e.abrupt("return",null);case 11:if(s=Te||"TAPFORPODCAST",null!=(u=c.url.find((function(e){var t;return(null==e||null===(t=e.type_url)||void 0===t?void 0:t.name)===s})))&&u.url){e.next=15;break}return e.abrupt("return",null);case 15:return e.abrupt("return",u.url);case 16:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),t=Array.from(document.querySelectorAll('[id^="player-"]')).map(function(){var t=r(a().mark((function t(r){var n,o,i,c,s,u,l,d,p;return a().wrap((function(t){for(;;
1)switch(t.prev=t.next){case 0:if(i=r.id,c=i.split("player-")[1],s=r.querySelector(".bt-share")){t.next=5;break}return t.abrupt("return");case 5:if("true"!==(null==s||null===(n=s.dataset)||void 0===n?void 0:n.nodownload)){t.next=7;break}return t.abrupt("return");case 7:return u=null===(o=f("uid_na"))||void 0===o?void 0:o.split("#")[0],l=u?"&ppid=".concat(u):"",t.next=11,e(c);case 11:if(d=t.sent){t.next=14;break}return t.abrupt("return");case 14:if(!r.querySelector(".bt-down")){t.next=16;break}return t.abrupt("return");case 16:(p=document.createElement("a")).href="".concat(d,"?dist=").concat(Ie,"&csegid=22000&dl=1").concat(l),p.download="",p.className="bt-down",p.textContent="Descargar",s.insertAdjacentElement("beforebegin",p);case 22:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}());return Promise.all(t)},qe=function(){var e;g(p("intervals")),(e=p("observers"))&&Object.keys(e).forEach((function(t){var r;null===(r=e[t])||void 0===r||r.disconnect(),d("observers",i(i({},e),{},n({},t,null)))})),b("script.raw-code-scripts"),b("script.custom-include-script"),b("script.custom-include-lib"),b("script.html-js-script"),b("script.html-js-lib"),b("link.flat-pickr-css"),function(){try{var e;Object.keys(window).forEach((function(e){if(Object.hasOwn(window,e)&&e.startsWith("player_video")){delete window[e];var t=document.querySelector("#video_".concat(e));t&&t.remove()}}));for(var t=window.$CORE.PLAYERS.filter((function(e){return"player_permanente"!==e.container&&"player-permanenteCS"!==e.container})),r=0;r<t.length;r++)t[r].destroy_player();null!==(e=window)&&void 0!==e&&e.$NET()&&(window.$NET().LOADED_CSSs=[])}catch(e){console.error("Error destroying player",e)}}()},Ce=function(){x(),ke(),k().then((function(e){return function(e){window.DTM.pageDataLayer=i(i({},e),{},{loadType:"spa"}),window.DTM.trackAsyncPV(),P()}(e)})),_(),Le(),je()},Me=function(e){var t=e.data,r=t.url,n=t.html,o=t.replaceHistory;window.dispatchEvent(new CustomEvent("beforespa"));var i=(new DOMParser).parseFromString(n,"text/html");document.documentElement.lang=i.documentElement.lang,document.title=i.title||"",function(e){var t=e.document,r=e.scripts;t.body.querySelectorAll("script[data-spa=true]").forEach((function(e){return e.remove()})),r.forEach((function(e){var r=t.createElement("script");r.className="script",r.setAttribute("data-spa","true"),e.src&&(r.src=e.src),e.type&&(r.type=e.type),e.innerHTML&&(r.innerHTML=e.innerHTML),t.body.appendChild(r)}))}({document:document,scripts:i.body.querySelectorAll("script[data-spa=true]")}),function(e){var t=e.document,r=e.metaTags;t.head.querySelectorAll("meta").forEach((function(e){return e.remove()})),r.forEach((function(e){return t.head.appendChild(e)}))}({document:document,metaTags:i.head.querySelectorAll("meta")}),function(e){var t=e.document,r=e.links;t.head.querySelectorAll("link").forEach((function(e){var t=e.getAttribute("rel"),r=e.getAttribute("href");"stylesheet"===t&&null!=r&&r.endsWith("/core.css")||e.remove()})),r.forEach((function(e){return t.head.appendChild(e)}))}({document:document,links:i.head.querySelectorAll("link")}),function(e){var t=e.document,r=e.styles;t.head.querySelectorAll("style").forEach((function(e){/^tblStyle_\d+$/.test(e.id)||["tblCallToAction","tbl-editorial-video-style","tRecs-taboola-choice","tRecs-taboola-choice-popover-container","tRecs-taboola-choice-popover-content"].includes(e.id)||e.remove()})),r.forEach((function(e){var r=t.createElement("style");r.innerHTML=e.innerHTML,t.head.appendChild(r)}))}({document:document,styles:i.head.querySelectorAll("style")}),document.body.classList.contains("pl-loaded")&&i.body.classList.add("pl-loaded"),document.body.className=i.body.className,document.querySelectorAll("body > :not(#fusion-app):not(#didomi-host):not(#didomi-css), #fusion-app > :not(.c-s,.cnt-player-permanente), #fusion-app > .c-s > :not(header)").forEach((function(e){return e.remove()})),i.querySelectorAll("body > :not(#fusion-app)").forEach((function(e){return document.body.appendChild(e)})),i.querySelectorAll("#fusion-app >
1 :not(.c-s,.cnt-player-permanente)").forEach((function(e){return document.querySelector("#fusion-app").appendChild(e)})),i.querySelectorAll("#fusion-app > .c-s > :not(header)").forEach((function(e){return document.querySelector(".c-s").insertBefore(e,document.querySelector(".c-s").querySelector("header"))}));var a=document.querySelector("#fusion-app"),c=document.querySelector(".c-s"),s=document.querySelector(".cnt-player-permanente");c&&a.insertBefore(document.querySelector(".c-s"),a.querySelector("main")),s&&a.appendChild(document.querySelector(".cnt-player-permanente")),document.spareferrer=new URL(window.location.href),o?(window.history.replaceState({},"",r),window.scrollTo(0,window.scrollY)):(window.history.pushState({},"",r),window.scrollTo(0,0)),Object.assign(l,window.appData),d("spaNavigation",(p("spaNavigation")||0)+1),v(!0),window.dispatchEvent(new CustomEvent("afterspa"))},Re=p("siteProperties")||{},De=Re.audioNews,Ue=void 0===De?{}:De;Re.radioStationId;var We=Re.podcasts,Ve=void 0===We?{}:We,Fe=Ue.programIds,Be=void 0===Fe?{}:Fe;Be.general,Be.sports,Ve.defaultCoverImage;var Ge=p("siteProperties");Ge.radioStationId;var Ye=Ge.podcasts;Ye.defaultCoverImage,Ye.productId;var He,$e,Ke=p(),Ze=Ke.isAdmin,ze=Ke.deployment,Je=Ke.contextPath,Qe=Ke.environment.FUSION_SERVICE_WORKER,Xe=Ke.siteProperties.pushNotifications;"serviceWorker"in navigator&&!Qe&&navigator.serviceWorker.register("/sw.js?d=".concat(ze)).then((function(e){e.active&&(e.active.postMessage({type:"sw_config",config:i({deployment:ze,contextPath:Je},Xe&&{pushNotifications:Xe})}),!Ze&&Xe&&Se())})),window.DTM={eventQueue:[],trackEvent:function(e,t){window.DTM.eventQueue.push({eventName:e,data:t})},config:{atg_enabled:p("testAdobeEnabled")}},window.addEventListener("DOMContentLoaded",(function(){return x(),k().then((function(e){return A(e)})),_(),void ke()})),window.addEventListener("load",(function(){return Le(),void je()})),window.addEventListener("beforeunload",(function(){window.spaLoading=!0})),window.navigator.serviceWorker&&(window.spaLoading=!1,window.addEventListener("popstate",(function(){var e;null!==(e=navigator)&&void 0!==e&&null!==(e=e.serviceWorker)&&void 0!==e&&e.controller?navigator.serviceWorker.ready.then((function(){navigator.serviceWorker.controller.postMessage({type:"history",url:document.location.href})})):window.location.reload()})),window.addEventListener("beforespa",(function(){return qe()})),window.addEventListener("afterspa",(function(){return Ce()})),He=/iphone|ipad|ipod/.test(navigator.userAgent.toLowerCase()),$e=navigator.maxTouchPoints>1&&/macintosh/i.test(navigator.userAgent)&&!window.MSStream,(He||$e)&&window.addEventListener("click",(function(e){return function(e){var t=e.target.closest("a")||{},r=t.href,n=t.target;r&&(e.preventDefault(),"_blank"!==n?window.navigator.serviceWorker.ready.then((function(){window.spaLoading=!0;try{window.history.pushState({},document.title,r),window.scrollTo(0,0),window.navigator.serviceWorker.controller.postMessage({type:"history",url:r})}catch(e){console.error("SPA navigation failed, falling back to full page load.",e),window.location.assign(r)}})):window.open(r,"_blank"))}(e)})),window.navigator.serviceWorker.addEventListener("message",(function(e){return function(e){"reload"!==e.data.type?"info"!==e.data.type?(window.spaLoading=!1,"spa"===e.data.type&&(e.source.postMessage({type:"confirm",id:e.data.id,key:e.data.key,confirmed:!0}),Me(e))):e.source.postMessage({type:"info",id:e.data.id,key:e.data.key,focused:"visible"===document.visibilityState,url:window.location.href,loading:window.spaLoading}):window.location.reload()}(e)}))),window.addEventListener("message",(function(e){return function(e){"request-data"===e.data.type&&e.source.postMessage({type:"send-data",payload:i({},p())})}(e)})),d("user",function(){var e;if(null===(e=window)||void 0===e||null===(e=e.PMUser)||void 0===e||!e.isLoggedInLocal())return{};var t=window.PMUser.user.dataWsUserInfo.id,r=t.uid,n=t.avat,o=t.nick,i=window.PMUser.user.data,a=i.nombre,c=i.apellido1;return{uid:r,avatar:n,isLoggedIn:!0,names:{firstName:a,lastName:c,userName:o,initials:"".concat((null==a?void 0:a[0])||"").concat((null==c?void 0:c[0])||"")}}}()),window.didomiOnReady=window.didomiOnReady||[],window.didomiOnReady.push(w),function(){var e=document.getElementById("dateUpdate"),t=document.getElementById("hourUpd
1ate");if(e&&t){var r=Intl.DateTimeFormat().resolvedOptions().timeZone||"Europe/Madrid",n=navigator.language||"es-ES",o=new Date,i=o.toLocaleDateString(n,{day:"numeric",month:"short",year:"numeric",timeZone:r}),a=o.toLocaleTimeString(n,{hour:"2-digit",minute:"2-digit",hour12:!1,timeZone:r});e.textContent=i,t.textContent=a}}(),Ze||v(),window.appContext={get:p,set:d}}();

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.