import{u as c,as as e}from"./index-BbBXKozi.js";const u=()=>{const{broadcastSlug:o}=c(),{data:r,isLoading:s}=e();if(!r?.length)return{broadcast:null,isLoading:s};const a=r.find(t=>t.slug===o);return a?{broadcast:a,isLoading:s}:{broadcast:r.sort((t,i)=>t.priority-i.priority)[0],isLoading:s}};export{u};
//# sourceMappingURL=index-GqAJgRre.js.map