import{U as e,W as a,at as t,x as s,aa as u,Z as l,a1 as p,aD as r,L as b,d,j as f,k as o,a6 as n,a7 as c,g as m,al as y,m as g,a8 as h,ap as $}from"./index.286e9b79.js";const i=Symbol("rowContextKey"),x=e({tag:{type:String,default:"div"},span:{type:Number,default:24},offset:{type:Number,default:0},pull:{type:Number,default:0},push:{type:Number,default:0},xs:{type:a([Number,Object]),default:()=>t({})},sm:{type:a([Number,Object]),default:()=>t({})},md:{type:a([Number,Object]),default:()=>t({})},lg:{type:a([Number,Object]),default:()=>t({})},xl:{type:a([Number,Object]),default:()=>t({})}}),N=s({name:"ElCol"});const j=$(h(s({...N,props:x,setup(e){const a=e,{gutter:t}=u(i,{gutter:l((()=>0))}),s=p("col"),h=l((()=>{const e={};return t.value&&(e.paddingLeft=e.paddingRight=t.value/2+"px"),e})),$=l((()=>{const e=[];["span","offset","pull","push"].forEach((t=>{const u=a[t];r(u)&&("span"===t?e.push(s.b(`${a[t]}`)):u>0&&e.push(s.b(`${t}-${a[t]}`)))}));return["xs","sm","md","lg","xl"].forEach((t=>{r(a[t])?e.push(s.b(`${t}-${a[t]}`)):b(a[t])&&Object.entries(a[t]).forEach((([a,u])=>{e.push("span"!==a?s.b(`${t}-${a}-${u}`):s.b(`${t}-${u}`))}))})),t.value&&e.push(s.is("guttered")),[s.b(),e]}));return(e,a)=>(d(),f(g(e.tag),{class:c(m($)),style:y(m(h))},{default:o((()=>[n(e.$slots,"default")])),_:3},8,["class","style"]))}}),[["__file","col.vue"]]));export{j as E,i as r};
