import{Br as e,Ht as t,Or as n,Pr as r,Ut as i,W as a,Xt as o,ar as s,di as c,gr as l,jr as u,nt as d,pi as f,pr as p,si as m,sr as h}from"./style-QAnagFj5.js";import{r as g}from"./style-BqiJaO0R.js";var _=t({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:i([Number,Object]),default:()=>g({})},sm:{type:i([Number,Object]),default:()=>g({})},md:{type:i([Number,Object]),default:()=>g({})},lg:{type:i([Number,Object]),default:()=>g({})},xl:{type:i([Number,Object]),default:()=>g({})}}),v=Symbol(`rowContextKey`),y=a(p({name:`ElCol`,__name:`col`,props:_,setup(t){let i=t,{gutter:a}=l(v,{gutter:s(()=>0)}),p=d(`col`),g=s(()=>{let e={};return a.value&&(e.paddingLeft=e.paddingRight=`${a.value/2}px`),e}),_=s(()=>{let e=[];return[`span`,`offset`,`pull`,`push`].forEach(t=>{let n=i[t];o(n)&&(t===`span`?e.push(p.b(`${i[t]}`)):n>0&&e.push(p.b(`${t}-${i[t]}`)))}),[`xs`,`sm`,`md`,`lg`,`xl`].forEach(t=>{o(i[t])?e.push(p.b(`${t}-${i[t]}`)):m(i[t])&&Object.entries(i[t]).forEach(([n,r])=>{e.push(n===`span`?p.b(`${t}-${r}`):p.b(`${t}-${n}-${r}`))})}),a.value&&e.push(p.is(`guttered`)),[p.b(),e]});return(i,a)=>(n(),h(r(t.tag),{class:c(_.value),style:f(g.value)},{default:e(()=>[u(i.$slots,`default`)]),_:3},8,[`class`,`style`]))}}));export{v as n,y as t};