import{ej as s,j as r,eN as t,an as n,ao as i,v as p}from"./index-DHiyXWqE.js";const l={[s.CACHED]:({onlineEnabled:e,size:a})=>r.jsx(t,{mainText:e?"Online Cached":"Offline Cached",variant:e?"green":"black",size:a==="sm"?"14.3px":"9px"}),[s.STREAM]:({onlineEnabled:e,size:a})=>r.jsx(n,{mainText:e?"Online Stream":"Offline Stream",children:r.jsx(i,{icon:p.streamed,color:e?"labels.green":"black",size:a,ml:"-1.5px"})}),[s.ON_DEMAND]:({onlineEnabled:e,size:a})=>r.jsx(t,{mainText:e?"Online External":"Offline External",variant:"white",size:a==="sm"?"14.3px":"9px",sx:{borderColor:e?"labels.green":"black"}})},o=({type:e,onlineEnabled:a,size:x="sm"})=>l[e]({onlineEnabled:a,size:x});export{o as F};
