import{u as y,r as m,a as w,c as v,n as S,o as C,b,d as g,w as _,e as k,v as B,f as I,g as D,h as z,i as $}from"./index-DmCbOAxb.js";import{l as L,a as R}from"./containers-B-x1Py5x.js";import{_ as U}from"./_plugin-vue_export-helper-DlAUqK2U.js";const E={__name:"BlankContainer",props:{id:String,layoutId:String,partner:String,code:String},setup(f){y();const s="https://display24.ru",o=m(!1);let t=null;const r=f;let e=w({id:null,displayCode:null,layoutId:null,schedule:null});const x=v(()=>{var a,l,n,d,i,c,u,p,h;return{top:e.top+"px",left:e.left+"px",width:e.width+"px",height:e.height+"px",backgroundColor:S((a=e.background)==null?void 0:a.color)||"#000",zIndex:e.zIndex||0,borderColor:((l=e.border)==null?void 0:l.color)||"#fff",borderStyle:((n=e.border)==null?void 0:n.style)||"solid",borderWidth:(((d=e.border)==null?void 0:d.width)||0)+"px",borderRadius:((i=e.border)==null?void 0:i.radius)+"px",boxShadow:"".concat((c=e.shadow)==null?void 0:c.x,"px ").concat((u=e.shadow)==null?void 0:u.y,"px ").concat((p=e.shadow)==null?void 0:p.b,"px ").concat((h=e.shadow)==null?void 0:h.color)}});return C(async()=>{e.id=r.id,e.displayCode=r.code,e.layoutId=r.layoutId,await L(e,s,"BlankContainer (layouts)"),await R(e,o,s,"BlankContainer (schedule)"),t=setInterval(()=>{o.value=b(e==null?void 0:e.scheduleData)},1e3)}),g(()=>{t&&clearInterval(t)}),_(()=>e.scheduleData,a=>{o.value=b(a)}),(a,l)=>k((D(),I("div",{class:"container",style:$(x.value)},[z("",!0)],4)),[[B,o.value]])}},V=U(E,[["__scopeId","data-v-49b3331a"]]);export{V as default};
