PageSourceSearch

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

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

1const i=t=>{const n=t.el?t.el[0]:void 0;if(!n)throw new Error("Element to render count down is not defined");const o=t.el[0].getAttribute("data-end-date");if(!o)throw new Error("CountDown end date is not defined");const r=new Date(o).getTime();if(Number.isNaN(r))throw new Error("CountDown end date is not valid date");const a=n.querySelector(".countdown__day"),d=n.querySelector(".countdown__hour"),s=n.querySelector(".countdown__minute"),D=n.querySelector(".countdown__second"),S=setInterval(()=>{const e=r-Date.now();let _=0,I=0,N=0,c=0;e>0?(_=Math.floor(e/864e5),I=Math.floor(e%864e5/36e5),N=Math.floor(e%36e5/6e4),c=Math.floor(e%6e4/1e3)):clearInterval(S),a.innerHTML=_,d.innerHTML=I,s.innerHTML=N,D.innerHTML=c},1e3)};export{i 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.