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