PageSourceSearch

https://www.programmes-radio.com/build/assets/AppRadio-DLCewbHT.js

js programmes-radio.com collected 2026-09-26 03:04:51 UTC 6,530 bytes, 1 lines download raw bytes

1import{g as O,r as I,d as f,f as k,m as u,u as h,_ as $,a as d,o as s,c as a,b as C,e as t,t as l,h as r,F as _,i as p,j as n,G as D,k as U,l as q,n as V,p as g,T as z,C as H,q as j,s as b,v as F,D as M,w as P,x as S,y as v,z as y,A as Z}from"./app-0Ozkbdol.js";import{R as Y}from"./RadioShow-d_okhPKJ.js";import{R as J}from"./RadioStream-UlRrKlq-.js";import{A as K}from"./Adsense-DbWRZVUm.js";import{L as Q,a as W,b as X}from"./LiveListeners-DKBDTpu9.js";import"./SongLinks-Slpa0wzn.js";var x=I();const ee=O(x),se=f({components:{RadioStream:J},props:{radio:{type:Object,required:!0}},computed:{...u(h,["getSubRadio"]),primaryStream(){return this.getSubRadio(this.radio.code_name)},webradioStreams(){return k(this.radio.streams,e=>!e.is_sub_radio&&e.code_name!==this.primaryStream.code_name)}}}),te={class:"col-12 radio-page-streams"},oe={class:"d-none d-sm-block"},ae={key:0,class:"webradios-header"};function re(e,o,R,L,w,A){const m=d("radio-stream");return s(),a("div",te,[C(m,{radio:e.radio,stream:e.primaryStream},null,8,["radio","stream"]),t("div",oe,[e.webradioStreams.length>0?(s(),a("div",ae,l(e.$t("message.radio_page.webradios")),1)):r("",!0),(s(!0),a(_,null,p(e.webradioStreams,c=>(s(),n(m,{key:c.code_name,radio:e.radio,stream:c},null,8,["radio","stream"]))),128))])])}const ie=$(se,[["render",re]]),de=f({components:{RadioShow:Y,RadioStreams:ie,LiveSong:X,LiveSongHistory:W,LiveListeners:Q,Adsense:K},data(){return{locale:this.$i18n.locale,date:M.local().setZone(P).setLocale(locale).toLocaleString({year:"numeric",weekday:"long",month:"long",day:"2-digit"})}},created(){this.scheduleStore.getRadiosData(),this.scheduleStore.getSchedule({radio:this.$route.params.radio})},mounted(){const e=document==null?void 0:document.querySelector("body");e==null||e.classList.remove("body-app");const o=document.getElementById("app");o==null||o.classList.add("no-background"),this.radio!==null&&(document.title=this.$t("message.radio_page.title",{radio:this.radio.name}))},beforeUnmount(){document.querySelector("body").classList.add("body-app"),document.getElementById("app").classList.remove("no-background")},computed:{...F(b,h),...u(b,["isLoading"]),...u(g,{userLogged:"logged"}),...u(h,{storeSchedule:"schedule"}),...u(h,["radios","collections","currentCollection","hasSchedule","getSubRadio"]),subRadios(){return this.radio?k(this.radio.streams,e=>e.is_sub_radio):[]},subRadio(){return this.radio?this.getSubRadio(this.radio.code_name):null},currentSubRadioCodeName(){return this.subRadio?this.subRadio.radio_stream_code_name:null},radio(){return this.$route.params.radio===void 0||this.$route.params.radio===null||this.radios[this.$route.params.radio]===void 0?null:this.radios[this.$route.params.radio]},schedule(){return this.hasSchedule===!0&&this.$route.params.radio&&this.currentSubRadioCodeName&&this.storeSchedule[this.$route.params.radio]&&this.storeSchedule[this.$route.params.radio][this.currentSubRadioCodeName]?ee(this.storeSchedule[this.$route.params.radio][this.currentSubRadioCodeName],["start_at"],["asc"]):[]},collection(){if(this.radio===null||this.currentCollection===null||this.currentCollection===H)return null;if(this.collections[this.currentCollection].radios.indexOf(this.radio.code_name)!==-1)return this.collections[this.currentCollection];const e=j(this.collections,o=>o.radios.indexOf(this.radio.code_name)!==-1);return e===void 0?null:e},picture(){return this.radio===null?"":`${this.$CDN_BASE_URL}${z}${this.radio.code_name}.png`},capitalizedDate(){if(!this.date)return"";const e=this.date.toString();return e.charAt(0).toUpperCase()+e.slice(1)}},methods:{...V(g,["setSubRadio"]),click(){this.globalStore.setLoading(!0)},regionClick(e){var o;this.radio!==null&&(this.$gtag.event(D,{event_category:q,event_label:(o=this.radio)==null?void 0:o.code_name,value:U}),this.setSubRadio(this.radio.code_name,e))}}}),ne={class:"container mb-3"},le={key:0,class:"row"},ce={class:"col-sm-2 col-12"},ue={class:"radio-page-side"},me={class:"text-center mb-4"},he={key:0,class:"col-sm-7 col-12 mb-3"},_e={class:"row"},pe={class:"col-md-6 col-12 text-center text-sm-start"},ge={class:"row"},be={class:"col-md-12 mb-2 mt-2 mt-sm-0 text-center text-sm-start"},Se={key:0,class:"row"},ve={class:"col-md-12 mt-sm-0 text-center text-sm-start"},ye={class:"nav nav-tabs"},fe=["ariaSelected","onClick"],ke={class:"row"},$e={class:"col-md-12 mt-2 mb-2 text-center text-sm-start"},Ce={href:"#media-current"},Re={class:"radio-page-shows mt-2"},Le={key:0,class:"alert alert-warning",role:"alert"},we={key:1,class:"col-sm-3 col-12 text-center"};function Ae(e,o,R,L,w,A){const m=d("radio-streams"),c=d("router-link"),E=d("live-song"),N=d("live-song-history"),T=d("live-listeners"),B=d("radio-show"),G=d("adsense");return s(),a("div",ne,[e.radio?(s(),a("div",le,[t("div",ce,[t("div",ue,[t("div",me,[o[0]||(S(-1,!0),(o[0]=t("img",{alt:e.radio.name,class:"radio-page-logo",src:e.picture},null,8,["alt","src"])).cacheIndex=0,S(1),o[0])]),e.radio.streaming_enabled?(s(),n(m,{key:0,radio:e.radio},null,8,["radio"])):r("",!0)])]),e.radio?(s(),a("div",he,[t("div",_e,[t("div",pe,[t("h4",null,l(e.capitalizedDate),1)])]),t("div",ge,[t("div",be,[e.collection?(s(),n(c,{key:0,to:"/"+e.locale+"/schedule/"+e.collection.code_name},{default:v(()=>[y(l(e.$t("message.radio_page.back")),1)]),_:1},8,["to"])):(s(),n(c,{key:1,to:"/"+e.locale+"/schedule/"},{default:v(()=>[y(l(e.$t("message.radio_page.back")),1)]),_:1},8,["to"]))])]),e.subRadios.length>1?(s(),a("div",Se,[t("div",ve,[t("ul",ye,[(s(!0),a(_,null,p(e.subRadios,i=>(s(),a("li",{key:i.code_name,class:"nav-item"},[t("a",{class:Z(["nav-link",{active:e.currentSubRadioCodeName===i.radio_stream_code_name}]),href:"#",ariaSelected:e.currentSubRadioCodeName===i.radio_stream_code_name?"true":"false",onClick:Ee=>e.regionClick(i.radio_stream_code_name)},l(i.name),11,fe)]))),128))])])])):r("",!0),t("div",ke,[t("div",$e,[t("a",Ce,l(e.$t("message.radio_page.current")),1)])]),e.radio&&e.subRadio?(s(),n(E,{key:e.subRadio.radio_stream_code_name,stream
1:e.subRadio},null,8,["stream"])):r("",!0),e.radio?(s(),n(N,{key:e.subRadio.radio_stream_code_name,stream:e.subRadio},null,8,["stream"])):r("",!0),e.radio?(s(),n(T,{key:3,stream:e.radio},null,8,["stream"])):r("",!0),t("div",Re,[(s(!0),a(_,null,p(e.schedule,i=>(s(),n(B,{key:i.hash,show:i},null,8,["show"]))),128)),e.schedule.length===0?(s(),a("div",Le,l(e.$t("message.radio_page.no_schedule")),1)):r("",!0)])])):r("",!0),e.userLogged?r("",!0):(s(),a("div",we,[C(G)]))])):r("",!0)])}const De=$(de,[["render",Ae]]);export{De 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.