import{d as c,c as e,o as s,b as r,F as l,p as o,n as p,A as y}from"./app-DJb_CRLj.js";const h=["id"],k={class:"row"},g=["href"],b=["src","alt"],w=c({__name:"Banner2th",props:{status:{},component_id:{},data:{}},setup(v){return(a,d)=>{var i,m,u;return s(),e("div",{id:"component-"+a.component_id,class:p({"container banner-middle-2th":!0,readonly:a.status=="dev"||a.status=="lazy"}),style:y("margin-top:"+((i=a.data.style)==null?void 0:i.margin.top)+"px; margin-bottom:"+(((m=a.data.style)==null?void 0:m.margin.bottom)!=null?(u=a.data.style)==null?void 0:u.margin.bottom:20)+"px;")},[r("div",k,[a.status=="lazy"?(s(!0),e(l,{key:0},o(new Array(a.data.count),(t,n)=>(s(),e("div",{key:n,class:"col-md-6"},[r("div",{class:p({"temp-banner shadow-1 br-20":!0,"sk sk-super-dark":a.status=="lazy"})},null,2)]))),128)):(s(),e(l,{key:1},[(s(!0),e(l,null,o(a.data.banner,(t,n)=>(s(),e("div",{key:n,class:"col-md-6"},[r("a",{href:t.link},null,8,g),r("img",{class:"shadow-1",src:t.src,alt:t.alt,loading:"lazy"},null,8,b)]))),128)),(s(!0),e(l,null,o(new Array(a.data.count-a.data.banner.length),(t,n)=>(s(),e("div",{key:n,class:"col-md-6"},d[0]||(d[0]=[r("div",{class:"temp-banner shadow-1"},null,-1)])))),128))],64))])],14,h)}}});export{w as default};
