1const createHeaderIntersectionObserver=(e,t)=>{const r=document.querySelector(e);if(!r)return null;const n=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting?document.body.classList.remove(t):document.body.classList.add(t)})},{threshold:[.1,1]});return n.observe(r),()=>n.disconnect()},runAfterFramePaint=e=>{requestAnimationFrame(()=>{if("undefined"!=typeof MessageChannel){const t=new MessageChannel;t.port1.onmessage=e,t.port2.postMessage(void 0)}else setTimeout(e,0)})},checkImageExists=e=>e?new Promise(t=>{const r=new Image;r.onload=()=>t(!0),r.onerror=()=>t(!1),r.src=e}):Promise.resolve(!1),initHeader=async()=>{const{siteProperties:{usun:{host:e,origins:t,defaultAvatar:r}},user:{isLoggedIn:n,avatar:o,names:{userName:s=""}={}}}=window.appContext.get(),a=o,c=await checkImageExists(a)?a:r;if(/iPad|iPhone|iPod/.test(navigator.userAgent)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1){const e=document.querySelector(".u-reg.f-wth")?.querySelectorAll("a");e&&e.forEach(e=>{e.remove()})}else{Array.from(document.querySelector(".u-reg.f-wth")?.querySelectorAll("button")||[]).filter(e=>
1e.getAttribute("data-url")).forEach(e=>{e.remove()})}if(n){const e=document.querySelector("#btn-hd-usr");e?.insertAdjacentHTML("afterbegin",`<img src='${c}' alt='Avatar de ${s||""}' loading='eager'>`),document.querySelector("#btn-u-reg-clgn")?.addEventListener("click",e=>{e.preventDefault(),window.PMUser.setCookieUserInfo(),window.location.href=e.target.href})}document.querySelector("#btn-hd-usr")?.addEventListener("click",()=>{n?(document.body.classList.add("ovhd"),document.body.classList.add("m-u-reg")):window.open(atob(btoa(`${e}/login/?v=pf&o=${t.basic}&backURL=${encodeURIComponent(window.location.href)}`)),"_blank")}),document.querySelector("#btn-u-reg-cls")?.addEventListener("click",()=>{document.body.classList.remove("ovhd"),document.body.classList.remove("m-u-reg")}),document.querySelector("#btn-hd-wbs-lst").addEventListener("click",({target:{parentElement:e}})=>{e.classList.contains("act")?e.classList.remove("act"):e.classList.add("act")});Array.from(document.querySelector(".u-reg.f-wth")?.querySelectorAll("button")||[]).filter(e=>
1e.getAttribute("data-url")).forEach(e=>{e.addEventListener("click",e=>{window.open(atob(btoa(e.target.getAttribute("data-url"),"_blank")))})}),document.querySelector("#btn-hd-mn-hm")?.addEventListener("click",()=>{runAfterFramePaint(()=>{const e=document.querySelector("#btn-hd-mn-hm").parentElement;e.classList.contains("m-c-e")?(document.body.classList.remove("h-exp"),document.body.classList.remove("sab-des"),e.classList.remove("m-c-e")):(e.classList.add("m-c-e"),document.body.classList.add("h-exp"),document.body.classList.add("sab-des"))})}),document.querySelector("#navbar-select-city")?.addEventListener("click",()=>{document.querySelector("#btp-eligeradio")?.click()});Array.from(document.querySelector(".c-mnu")?.querySelectorAll("button")||[]).forEach(e=>{e.addEventListener("click",({target:{parentElement:t}})=>{e.classList.contains("b-vol")?(t.classList.remove("m-nv2","m-nv1"),document.querySelector(".mnu").classList.remove("nv1"),document.querySelector(".c-sab").classList.remove("nv2-m","m-nv1")):(document.querySelector(".c-sab").classList.add("m-nv1","nv2-m"),document.querySelector(".mnu").classList.add("nv1"),t.classList.add("m-nv1","m-nv2"))})});Array.from(document.querySelector(".u-40")?.querySelectorAll("button")||[]).forEach(e=>{e.addEventListener("click",({target:{parentElement:e}})=>{e.classList.contains("des")?e.classList.remove("des"):e.classList.add("des")})});(()=>{const e=Date.now(),t=setInterval(()=>{window?.PERSISTENT_PLAYER?.activateButtonDirect?(window.PERSISTENT_PLAYER.activateButtonDirect(),clearInterval(t)):Date.now()-e>=6e4&&(clearInterval(t),console.warn("waitForPersistentPlayer: Timeout reached without finding activateButtonDirect."))},100)})()};window.addEventListener("DOMContentLoaded",e=>{initHeader(),createHeaderIntersectionObserver(".c-s header","c-h-f")}),window.addEventListener("afterspa",e=>{document.querySelectorAll("header ul li a")?.forEach(e=>{e.classList.remove("sel");const t={l40:"los40",lcl:"los40_classic",ldn:"los40_dance",lur:"los40_urban"};for(const[r,n]of Object.entries(t))if(e.classList.contains(r)&&document.body.classList.contains(n)){e.classList.add("sel");break}}),requestAnimationFrame(()=>{requestAnimationFrame(()=>{const e=document.querySelector("header ul li a.sel");if(!e)return;const t=document.querySelector("header a.logo");t&&(t.href=e.href)})})});
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.