PageSourceSearch

https://cdnjs.atresmedia.com/load/webapp/www-chunks/index.WOctxbF8a2KH4rsQ.js

js atresmedia.com collected 2026-10-01 10:17:23 UTC 1,425 bytes, 1 lines download raw bytes

1import{b as i,L as c,Z as a,P as E,N as h,_ as v}from"./metrics.BdZzTj2pGOgsWHVv.js";import"./device.8A-RpS8VgPVhE1uS.js";import"./show-logs.CpFkXIjNhoePrKiL.js";import{d as y}from"./brands.jsaTI9KDqKVSpxI9.js";import"./secure-sections.DiGYiaWAqcyERGS9.js";import{e as p}from"./logger.BjoEyIxZ-05JAene.js";import"./urls.CkUxZC76s8NHrPNB.js";const P=r=>{if(!r.el||!r.el[0])throw new Error("Element is not defined");const o=r.el[0],s=window.domainApi,{siteId:l,sectionId:d}=o.dataset;if(y){const e={breakingnews:"Urgente",normal:"Normal",customize:"Personalizable"},n=o.querySelectorAll(".alertas");n.length&&n.forEach(t=>{const f=t.querySelector(".close");f&&f.addEventListener("click",()=>{t.remove()});const A=Array.prototype.slice.call(t.parentNode.children).indexOf(t)+1||0,m=t.querySelectorAll(".txt a");m.length&&m.forEach(L=>{L.addEventListener("click",()=>{const{type:u}=t.dataset;i(a,e[u],A,c)})})})}else if(d&&s&&l)try{fetch(`${s}cmspublic/v1/alert/path?siteId=${l}&sectionId=${d}`).then(e=>{if(!e.ok)throw new Error("Api not found");return e.text()}).then(e=>{o.innerHTML=e;const n=document.querySelector("div.banner-alerta > div > a:nth-child(1)");n&&n.addEventListener("click",()=>{i(a,E,h,c)});const t=document.querySelector("div.banner-alerta > div > a:nth-child(2)");t&&t.addEventListener("click",()=>{i(a,v,h,c)})}).catch(e=>{p("ALERTS","#ff9999",e)})}catch(e){p("ALERTS","#ff9999",e)}};export{P as default};

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.