PageSourceSearch

https://los40.cl/pf/resources/dist/js/main.js?d=1025&mxId=00000000

js los40.cl collected 2026-10-02 04:46:36 UTC 29,197 bytes, 3 lines download raw bytes

vendor: 4,409 bytes, lines 1-3
1!function(){"use strict";function e(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function t(e,t,n,r,o,i,a){try{var c=e[i](a),s=c.value}catch(e){return void n(e)}c.done?t(s):Promise.resolve(s).then(r,o)}function n(e){return function(){var n=this,r=arguments;return new Promise(function(o,i){var a=e.apply(n,r);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 r(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;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:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach(function(t){r(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function a(){
2/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
3var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var a=r&&r.prototype instanceof u?r:u,l=Object.create(a.prototype);return c(l,"_invoke",function(n,r,o){var i,a,c,u=0,l=o||[],d=!1,p={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,n){return i=t,a=0,c=e,p.n=n,s}};function f(n,r){for(a=n,c=r,t=0;!d&&u&&!o&&t<l.length;t++){var o,i=l[t],f=p.p,v=i[2];n>3?(o=v===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=f&&((o=n<2&&f<i[1])?(a=0,p.v=r,p.n=i[1]):f<v&&(o=n<3||i[0]>r||r>v)&&(i[4]=n,i[5]=r,p.n=v,a=0))}if(o||n>1)return s;throw d=!0,r}return function(o,l,v){if(u>1)throw TypeError("Generator is already running");for(d&&1===l&&f(l,v),a=l,c=v;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(p.n=-1),f(a,c)):p.n=c:p.v=c);try{if(u=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=p.n<0)?c:n.call(r,p))!==s)break}catch(t){i=e,a=1,c=t}finally{u=1}}return{value:t,done:d}}}(n,o,i),!0),l}var s={};function u(){}function l(){}function d(){}t=Object.getPrototypeOf;var p=[][r]?t(t([][r]())):(c(t={},r,function(){return this}),t),f=d.prototype=u.prototype=Object.create(p);function v(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,c(e,o,"GeneratorFunction")),e.prototype=Object.create(f),e}return l.prototype=d,c(f,"constructor",d),c(d,"constructor",l),l.displayName="GeneratorFunction",c(d,o,"GeneratorFunction"),c(f),c(f,o,"Generator"),c(f,r,function(){return this}),c(f,"toString",function(){return"[object Generator]"}),(a=function(){return{w:i,m:v}})()}function c(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}c=function(e,t,n,r){function i(t,n){c(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},c(e,t,n,r)}function s(t,n){return function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,c=[],s=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(c.push(r.value),c.length!==t);s=!0);}catch(e){u=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(t,n)||function(t,n){if(t){if("string"==typeof t)return e(t,n);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?e(t,n):void 0}}
3(t,n)||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 u(e){return u="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},u(e)}var l,d,p=i(i({},(null===(l=window.appContext)||void 0===l?void 0:l.get())||{}),window.appData),f=function(e,t){p[e]=t},v=function(e){return e?p[e]:p},m=function(e){var t,n=new RegExp("(^| )".concat(e,"=([^;]+)")).exec(null===(t=document)||void 0===t?void 0:t.cookie);return n?n[2]:null},y=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=v(),n=t.refresh,r=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,d=(void 0===l?{}:l).lead_art,p=t.refreshPersistentPlayer;e&&clearTimeout(n),e&&c&&clearInterval(p),"disabled"!==r&&f("refresh",setTimeout(function(){var e,t,n=/<iframe[^>]*\ssrc="(.*?\.youtube\.com.*?)"/,r=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==d?void 0:d.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==d?void 0:d.type)&&n.test(d.content)||u&&Array.isArray(u)&&!(null==u||!u.filter(function(e){var t,r=e.subtype,o=e.embed;return"HTML-JS"===r&&n.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(r)||"AdPlay"===o||i||a||c||window.location.reload()},parseInt(r,10)||i)),c&&f("refreshPersistentPlayer",setInterval(function(){window.DTM.trackAsyncPV()},c))},w=function(){"object"===u(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",w),document.head.appendChild(t)},b=function(){"function"==typeof window.stopYB&&window.stopYB(),window.mm_youbora=void 0},g=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(n){!function(e,t,n){return!0===e||!0===t.getUserConsentStatusForVendor(n)}(n,e,t)?b():h()})},E=function(e){e&&Object.keys(e).forEach(function(t){var n=e[t];"number"==typeof n?clearInterval(n):Array.isArray(n)?n.forEach(function(e){"number"==typeof e?clearInterval(e):"object"===u(e)&&null!==e&&E(e)}):"object"===u(n)&&null!==n&&E(n)})},S=function(e){document.querySelectorAll(e).forEach(function(e){return e.remove()})},_=function(){var e=n(a().m(function e(t){var n,r,o,i,c=arguments;return a().w(function(e){for(;;)switch(e.p=e.n){case 0:return n=c.length>1&&void 0!==c[1]?c[1]:{},r=c.length>2&&void 0!==c[2]?c[2]:"json",e.p=1,e.n=2,fetch(t,n);case 2:if((o=e.v).ok){e.n=3;break}throw new Error("[".concat(o.status,"] Failed to fetch data from ").concat(t));case 3:if("json"!==r){e.n=5;break}return e.n=4,o.json();case 4:case 6:return e.a(2,e.v);case 5:if("text"!==r){e.n=7;break}return e.n=6,o.text();case 7:throw new Error("Unsupported response type: ".concat(r));case 8:throw e.p=8,i=e.v,new Error(i.message);case 9:return e.a(2)}},e,null,[[1,8]])}));return function(t){return e.apply(this,arguments)}}(),P=v(),N=P.environment;N.RESIZER_URL;var A=N.RESIZER_VERSION,k=N.ENVIRONMENT;N.RESIZER_TOKEN_VERSION;var I=P.siteProperties.resizer[A][null!=k&&null!==(d=k.match(/(dev|sandbox)/))&&void 0!==d&&d[1]?"dev":"prod"];I.domain,I.endpoint;var O=function(e){var t=document.querySelector("#".concat(e));null!==t&&t.parentNode.removeChild(t)},T=function(){var e=v(),t=e.siteProperties,n=t.onetap,r=void 0===n?{}:n,o=t.breakpoints,i=e.environment.ENVIRONMENT,a=e.user.isLoggedIn;if(0===Object.keys(r).length)return!1;if(O(r.container.id),O(r.lib.id),window.innerWidth<o.large||a||!["prisaradiolos40","prisaradio"].includes(i)||!document.querySelector("#btn-hd-usr"))return!1;var c=encodeURIComponent("".concat(r.urlRssUsun,"?onetap=1&referer=").concat(window.location.href)),s="".concat(r.loginUrl,"?redirect_uri=").concat(c,"&encode=1"),u=document.createElement("script");u.id=r.lib.id,u.src=r.lib.src,u.setAttribute("async",""),u.setAttribute("defer","");var l=document.createElement("div");l.id=r.container.id,l.setAttribute("data-client_id",r.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],p=d.firstChild;return d.insertBefore(u,p),d.insertBefore(l,p),!0},L=function(){var e=v(),t=e.siteProperties.advertising.adUnitPrefix,n=e.globalContent,r=e.metas,o=n.subtype,i=n.taxonomy,a=void 0===i?{}:i,c=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}))||[n];
3window.GPT_ADUNIT=function(e){var t=e.value,n=e.prefix,r=e.sections;if(!t)return"".concat(n);var o="";return r.forEach(function(e){var t=e._id,n=e.configuration;"E"===(void 0===n?{}:n).type&&(o=t.slice(1))}),t.replace("{prefix}",n).replace("{station}",o).replace(/-/g,"_").replace(/\/\//g,"/").replace(/\/$/,"")}({value:r["pbs|adunit"],prefix:t,sections:l}),window.GPT_KEYS=function(e){var t=e.value,n=e.sections,r=e.tags,o=e.subtype;if(!t)return"";var i=[];n.forEach(function(e){var t=e._id,n=e.configuration,r=void 0===n?{}:n,o=r.type,a=r.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 c=s(t.slice(1).split("/"),3),u=c[1],l=c[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==r?void 0:r.map(function(e){return e.slug}))||[];return t.replace("{tags}",a.join(",")).replace("{sections}",i.join(",")).replace("{subtype}",o).replace(/,,/g,",").replace(/,$/,"")}({value:r["pbs|keys"],sections:l,tags:c,subtype:o}).split(",")},j=function(){var e,t=v("siteProperties").analytics.dogtrack.accountId;null===(e=document.querySelector("#dogtrack-pixel"))||void 0===e||e.remove();var n=document.getElementsByTagName("script")[0],r=document.createElement("script");r.id="dogtrack-pixel",r.async=1,r.h="prra.spxl.socy.es",r.t=t,r.src="//prra.spxl.socy.es/pixel/js/".concat(t,"/").concat(encodeURI(btoa(document.referrer))),n.parentNode.insertBefore(r,n)},R=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=v(),n=t.siteProperties.analytics,r=n.adobe.siteId,o=n.defaultEditionNavigation,a=t.baseDataLayer,c=t.user;return new Promise(function(t){var n,s,u,l,d,p,f,v,y=c.uid,w=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===(n=m("radioStationSlug"))||void 0===n?void 0:n.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(r).concat(window.location.pathname),pageTitle:document.title,profileID:y||"",referringDomain:window.spaReferrerHostname||(null===(f=document.spareferrer)||void 0===f?void 0:f.hostname)||document.referrer&&new URL(document.referrer).hostname||"",referringURL:window.spaReferrerUrl||(null===(v=document.spareferrer)||void 0===v?void 0:v.href)||document.referrer||"",registeredUser:y?1:0,ssl:"https:"===window.location.protocol?1:0,userID:y||"",userName:null!=w&&w.userName?w.userName:"",userType:y?"registrado":"anonimo"}))})},q=function(e){var t,n=v(),r=n.siteProperties.analytics.lib,o=n.environment.ENVIRONMENT;window.DTM.pageDataLayer=e,function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=document.createElement("script");r.type="text/javascript",r.src=e,n&&(r.id=n),t&&r.addEventListener("load",t),document.body.appendChild(r)}(r[(null===(t=o.match(/(dev|localhost|sandbox|staging)/))||void 0===t?void 0:t[1])||"production"]),j()},C=function(){var e=n(a().m(function e(t){var n,r,o;return a().w(function(e){for(;;)switch(e.n){case 0:return n=t.source,r=t.query,e.n=1,_("/pf/api/v3/content/fetch/".concat(n,"?query=").concat(encodeURIComponent(JSON.stringify(r)),"&d=").concat(v("deployment")));case 1:return o=e.v,e.a(2,o)}},e)}));return function(t){return e.apply(this,arguments)}}(),M=v(),D=M.siteProperties.sportLive,U=void 0===D?{}:D;U.host,U.version,U.businessUnit,U.edition,U.apiKey,U.sports,M.environment.ENVIRONMENT;var x=v(),V=x.siteProperties.sportLive,W=void 0===V?{}:V;W.host,W.version,W.apiKey;var B,F=W.labels;(void 0===F?{}:F).states_live_scores,x.environment.ENVIRONMENT;var G=v().siteProperties,H=G.persistentPlayer.external_player.classnames;H.play_button_classname,H.player_container,H.playing_class;var K=G.mediaPlayer;K.defaultAudioPlayerIdEmbed,K.audioDownloadDist,K.mediaEmbedURL.audio,null===(B=m("uid_na"))||void 0===B||B.split("#")[0];var Y=v(),$=Y.siteProperties;$.persistentPlayer.external_player.classnames.play_button_classname;var Z=$.sportLive,J=void 0===Z?{}:Z;J.host,J.version,J.businessUnit,J.edition,J.apiKey;var Q=J.labels,z=void 0===Q?{}:Q;z.state,z.period,z.link,Y.environment.ENVIRONMENT;var X=v(),ee=X.siteProperties.sportLive,te=void 0===ee?{}:ee;te.host,te.version,te.businessUnit,te.edition,te.apiKey;var ne=te.labels;(void 0===ne?{}:ne).period,te.group_letters;var re=te.teams;(void 0===re?{}:re).abbr,X.environment.ENVIRONMENT;var oe=v(),ie=oe.siteProperties,ae=ie.sportLive,ce=void 0===ae?null:ae;ie.persistentPlayer.external_player.classnames.play_button_classname,ie.radioStationId,oe.environment.ENVIRONMENT;var se=ce||{};
3se.host,se.businessUnit,se.version,se.edition,se.apiKey;var ue=se.labels;(void 0===ue?{}:ue).state,se.widgetsAllowDirects;var le=v();le.arcSite;var de=le.siteProperties.persistentPlayer;de.excludeAlternativesNoAudio,de.api.cover_cut_type;var pe=de.external_player.classnames;pe.play_button_classname,pe.player_container,pe.playing_class;var fe=v();fe.globalContent;var ve=fe.siteProperties;ve.websiteDomain;var me=ve.podcasts;me.podcastWithoutAudioLinks,me.dataMap,me.productId,fe.requestUri;var ye=v();ye.globalContent;var we=ye.siteProperties;we.websiteDomain,we.podcasts.dataMap,ye.requestUri,v("siteProperties").podcasts.productId,v("siteProperties").podcasts.productId;var he=v("siteProperties").mediaPlayer;he.accountNameId,he.defaultVideoPlayerId;var be=v("siteProperties").mediaPlayer;be.accountNameId,be.defaultVideoPlayerId;var ge=function(){var e=n(a().m(function e(){var t,n;return a().w(function(e){for(;;)switch(e.p=e.n){case 0:if("Notification"in window){e.n=1;break}return e.a(2,"denied");case 1:if("default"===Notification.permission){e.n=2;break}return e.a(2,Notification.permission);case 2:return e.p=2,e.n=3,Notification.requestPermission();case 3:return t=e.v,e.a(2,t);case 4:return e.p=4,n=e.v,console.error("Error requesting notification permission:",n),e.a(2,"denied")}},e,null,[[2,4]])}));return function(){return e.apply(this,arguments)}}(),Ee=function(){var e=n(a().m(function e(){var t,n,r;return a().w(function(e){for(;;)switch(e.p=e.n){case 0:return e.p=0,e.n=1,navigator.serviceWorker.ready;case 1:return t=e.v,e.n=2,t.pushManager.subscribe({userVisibleOnly:!0});case 2:if(n=e.v){e.n=3;break}return e.a(2,null);case 3:return e.a(2,n);case 4:return e.p=4,r=e.v,console.error("Error subscribing to push notifications:",r),e.a(2,null)}},e,null,[[0,4]])}));return function(){return e.apply(this,arguments)}}(),Se=function(){var e=n(a().m(function e(){return a().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,ge();case 1:if("granted"===e.v){e.n=2;break}return e.a(2);case 2:return e.n=3,Ee();case 3:return e.a(2)}},e)}));return function(){return e.apply(this,arguments)}}(),_e=function(){Didomi.preferences.show()},Pe=function(){document.querySelector("#capa-webs-grupo").classList.toggle("activado")},Ne=function(e){var t,n=e.target.closest(".c-al");n&&(n.classList.add("cerrar"),t=function(){return n.remove()},requestAnimationFrame(function(){if("undefined"!=typeof MessageChannel){var e=new MessageChannel;e.port1.onmessage=t,e.port2.postMessage(void 0)}else setTimeout(t,0)}))},Ae=function(){setTimeout(function(){var e,t,n;null===(e=document.querySelector("#cookies-preferences"))||void 0===e||e.addEventListener("click",_e),null===(t=document.querySelectorAll("#pbt-medios, #cierrame, #cierrame2"))||void 0===t||t.forEach(function(e){return e.addEventListener("click",Pe)}),null===(n=document.querySelectorAll("section.c-al > button"))||void 0===n||n.forEach(function(e){return e.addEventListener("click",function(e){return Ne(e)})})},500)},ke=v("siteProperties"),Ie=ke.mediaPlayer,Oe=Ie.accountNameId,Te=Ie.assetDownloadTypeUrlName,Le=ke.audioDownloadDist,je=function(){var e=n(a().m(function e(){var t,n,r,o,i,c,s,u,l;return a().w(function(e){for(;;)switch(e.p=e.n){case 0:return e.p=0,e.n=1,C({source:"site-service",query:{sectionIds:"/".concat(m("radioStationSlug")||"cadena-ser")}});case 1:t=e.v,(n=document.getElementById("header-schedule-link"))&&(i=null!=t&&null!==(r=t.configuration)&&void 0!==r&&r.id_m2&&null!=t&&null!==(o=t.configuration)&&void 0!==o&&o.mount?null==t?void 0:t._id:"/cadena-ser",n.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.n=3;break;case 2:e.p=2,l=e.v,console.error("Error updating schedule links:",l);case 3:return e.a(2)}},e,null,[[0,2]])}));return function(){return e.apply(this,arguments)}}(),Re=function(){var e=function(){var e=n(a().m(function e(t){var n,r,o,i,c,s,u;return a().w(function(e){for(;;)switch(e.n){case 0:return o="https://fapi-top.prisasd.com/api/v2/search/".concat(Oe,"/audio/idref/").concat(t,"/tfp"),e.n=1,_(o,{cache:"no-store"});case 1:if(null!=(i=e.v)&&null!==(n=i.data)&&void 0!==n&&n.length){e.n=2;break}return e.a(2,null);case 2:if(null!=i&&null!==(r=i.data)&&void 0!==r&&null!==(r=r[0])&&void 0!==r&&r.asset){e.n=3;break}return e.a(2,null);case 3: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.n=4;break}return e.a(2,null);case 4: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.n=5;break}return e.a(2,null);case 5:return e.a(2,u.url)}},e)}));return function(t){return e.apply(this,arguments)}}(),t=Array.from(document.querySelectorAll('[id^="player-"]')).map(function(){var t=n(a().m(function t(n){var r,o,i,c,s,u,l,d,p;return a().w(function(t){for(;;)switch(t.n){case 0:if(i=n.id,c=i.split("player-")[1],s=n.querySelector(".bt-share")){t.n=1;break}return t.a(2);case 1:if("true"!==(null==s||null===(r=s.dataset)||void 0===r?void 0:r.no
3download)){t.n=2;break}return t.a(2);case 2:return u=null===(o=m("uid_na"))||void 0===o?void 0:o.split("#")[0],l=u?"&ppid=".concat(u):"",t.n=3,e(c);case 3:if(d=t.v){t.n=4;break}return t.a(2);case 4:if(!n.querySelector(".bt-down")){t.n=5;break}return t.a(2);case 5:(p=document.createElement("a")).href="".concat(d,"?dist=").concat(Le,"&csegid=22000&dl=1").concat(l),p.download="",p.className="bt-down",p.textContent="Descargar",s.insertAdjacentElement("beforebegin",p);case 6:return t.a(2)}},t)}));return function(e){return t.apply(this,arguments)}}());return Promise.all(t)},qe=function(){var e;E(v("intervals")),(e=v("observers"))&&Object.keys(e).forEach(function(t){var n;null===(n=e[t])||void 0===n||n.disconnect(),f("observers",i(i({},e),{},r({},t,null)))}),S("script.raw-code-scripts"),S("script.custom-include-script"),S("script.custom-include-lib"),S("script.html-js-script"),S("script.html-js-lib"),S("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}),n=0;n<t.length;n++)t[n].destroy_player();null!==(e=window)&&void 0!==e&&e.$NET()&&(window.$NET().LOADED_CSSs=[])}catch(e){console.error("Error destroying player",e)}}()},Ce=function(){L(),Ae(),R().then(function(e){return function(e){window.DTM.pageDataLayer=i(i({},e),{},{loadType:"spa"}),window.DTM.trackAsyncPV(),j()}(e)}),T(),je(),Re()},Me=function(e){var t=e.data,n=t.url,r=t.html,o=t.replaceHistory;window.dispatchEvent(new CustomEvent("beforespa"));var i=(new DOMParser).parseFromString(r,"text/html");document.documentElement.lang=i.documentElement.lang,document.title=i.title||"",function(e){var t=e.document,n=e.scripts;t.body.querySelectorAll("script[data-spa=true]").forEach(function(e){return e.remove()}),n.forEach(function(e){var n=t.createElement("script");n.className="script",n.setAttribute("data-spa","true"),e.src&&(n.src=e.src),e.type&&(n.type=e.type),e.innerHTML&&(n.innerHTML=e.innerHTML),t.body.appendChild(n)})}({document:document,scripts:i.body.querySelectorAll("script[data-spa=true]")}),function(e){var t=e.document,n=e.metaTags;t.head.querySelectorAll("meta").forEach(function(e){return e.remove()}),n.forEach(function(e){return t.head.appendChild(e)})}({document:document,metaTags:i.head.querySelectorAll("meta")}),function(e){var t=e.document,n=e.links;t.head.querySelectorAll("link").forEach(function(e){var t=e.getAttribute("rel"),n=e.getAttribute("href");"stylesheet"===t&&null!=n&&n.endsWith("/core.css")||e.remove()}),n.forEach(function(e){return t.head.appendChild(e)})}({document:document,links:i.head.querySelectorAll("link")}),function(e){var t=e.document,n=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()}),n.forEach(function(e){var n=t.createElement("style");n.innerHTML=e.innerHTML,t.head.appendChild(n)})}({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 > :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
3-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({},"",n),window.scrollTo(0,window.scrollY)):(window.history.pushState({},"",n),window.scrollTo(0,0)),Object.assign(p,window.appData),f("spaNavigation",(v("spaNavigation")||0)+1),y(!0),window.dispatchEvent(new CustomEvent("afterspa"))},De=v("siteProperties")||{},Ue=De.audioNews,xe=void 0===Ue?{}:Ue;De.radioStationId;var Ve=De.podcasts,We=void 0===Ve?{}:Ve,Be=xe.programIds,Fe=void 0===Be?{}:Be;Fe.general,Fe.sports,We.defaultCoverImage;var Ge=v("siteProperties");Ge.radioStationId;var He=Ge.podcasts;He.defaultCoverImage,He.productId;var Ke,Ye,$e=v(),Ze=$e.isAdmin,Je=$e.deployment,Qe=$e.contextPath,ze=$e.environment.FUSION_SERVICE_WORKER,Xe=$e.siteProperties.pushNotifications;"serviceWorker"in navigator&&!ze&&navigator.serviceWorker.register("/sw.js?d=".concat(Je)).then(function(e){e.active&&(e.active.postMessage({type:"sw_config",config:i({deployment:Je,contextPath:Qe},Xe&&{pushNotifications:Xe})}),!Ze&&Xe&&Se())}),window.DTM={eventQueue:[],trackEvent:function(e,t){window.DTM.eventQueue.push({eventName:e,data:t})},config:{atg_enabled:v("testAdobeEnabled")}},window.addEventListener("DOMContentLoaded",function(){return L(),R().then(function(e){return q(e)}),T(),void Ae()}),window.addEventListener("load",function(){return je(),void Re()}),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()}),Ke=/iphone|ipad|ipod/.test(navigator.userAgent.toLowerCase()),Ye=navigator.maxTouchPoints>1&&/macintosh/i.test(navigator.userAgent)&&!window.MSStream,(Ke||Ye)&&window.addEventListener("click",function(e){return function(e){var t=e.target.closest("a")||{},n=t.href,r=t.target;n&&(e.preventDefault(),"_blank"!==r?window.navigator.serviceWorker.ready.then(function(){window.spaLoading=!0;try{window.history.pushState({},document.title,n),window.scrollTo(0,0),window.navigator.serviceWorker.controller.postMessage({type:"history",url:n})}catch(e){console.error("SPA navigation failed, falling back to full page load.",e),window.location.assign(n)}}):window.open(n,"_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({},v())})}(e)}),f("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,n=t.uid,r=t.avat,o=t.nick,i=window.PMUser.user.data,a=i.nombre,c=i.apellido1;return{uid:n,avatar:r,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(g),function(){var e=document.getElementById("dateUpdate"),t=document.getElementById("hourUpdate");if(e&&t){var n=Intl.DateTimeFormat().resolvedOptions().timeZone||"Europe/Madrid",r=navigator.language||"es-ES",o=new Date,i=o.toLocaleDateString(r,{day:"numeric",month:"short",year:"numeric",timeZone:n}),a=o.toLocaleTimeString(r,{hour:"2-digit",minute:"2-digit",hour12:!1,timeZone:n});e.textContent=i,t.textContent=a}}(),Ze||y(),window.appContext={get:v,set:f}}();

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.