1import{a5 as S,S as k,s as L,x as y,o as x,a6 as C,I as j,l as o,i as B,j as V,k as a,t as m,m as I,v as t}from"./BS7LkE0P.js";import{u as M}from"./C_v3COKX.js";const D="data:image/svg+xml,%3csvg%20width='38'%20height='38'%20viewBox='0%200%2038%2038'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M19%200C29.4934%200%2038%208.50659%2038%2019C38%2029.4934%2029.4934%2038%2019%2038C8.50659%2038%200%2029.4934%200%2019C0%208.50659%208.50659%200%2019%200ZM16%2024L25%2019L16%2014V24Z'%20fill='white'/%3e%3c/svg%3e",N={class:"live-name"},Z={class:"live-time"},G={__name:"Live",props:{sublive:{type:Boolean,default:!1}},setup(d){const e=d,{gtag:p}=M(),i=S(),s=k(),l=t(()=>e.sublive?s.id:i.id),n=t(()=>e.sublive?s.name:i.name),g=t(()=>e.sublive?s.image:i.image),b=t(()=>e.sublive?s.dj:i.dj),h=t(()=>e.sublive?s.broadcasting_time:i.broadcasting_time),_=t(()=>e.sublive?"https://stream.rcs.revma.com/u8uew8wmc3nwv/hls.m3u8":"https://stream.rcs.revma.com/akqrbx94gbkvv/hls.m3u8"),r=L(!e.sublive),w=y();let v;const u=()=>{e.sublive?r.value=s.isValidTime():r.value=!0};x(()=>{e.sublive&&(u(),v=C(u,30*1e3))}),j(()=>{clearInterval(v),v=null});const f=()=>{w.update({isShow:!0,isLive:!0,isSubLive:e.sublive,id:null,programID:l.value,title:n.value,dj:b.value,image:g.value,src:_.value,srt:[],link:`/program/view/id/${l.value}/page/1`}),p("event","play_live",{id:l.value,name:n.value})};return(q,c)=>o(l)&&o(r)?(B(),V("div",{key:0,class:"live",onClick:f},[c[0]||(c[0]=a("div",{class:"live-header"},[a("span",null,"ç·ä¸"),a("img",{class:"live-icon","data-not-lazy":"",src:D,alt:""}),a("span",null,"ç´æ")],-1)),a("div",N,m(o(n)),1),a("div",Z,m(o(h)),1)])):I("",!0)}};export{G as _};
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.