System.register(["./index-legacy-fdce4919.js"],(function(t,e){"use strict";var n,r,s,a,l,u,i,o,c,f,g;return{setters:[t=>{n=t.c,r=t.m,s=t.t,a=t.b,l=t.d,u=t.a7,i=t.e,o=t.a,c=t.n,f=t.aa,g=t.k}],execute:function(){const[e,p]=n("row"),d=Symbol(e),h={tag:r("div"),wrap:s,align:String,gutter:a(0),justify:String};var v=l({name:e,props:h,setup(t,{slots:e}){const{children:n,linkChildren:r}=u(d),s=i((()=>{const t=[[]];let e=0;return n.forEach(((n,r)=>{e+=Number(n.span),e>24?(t.push([r]),e-=24):t[t.length-1].push(r)})),t}));return r({spaces:i((()=>{const e=Number(t.gutter),n=[];return e?(s.value.forEach((t=>{const r=e*(t.length-1)/t.length;t.forEach(((t,s)=>{if(0===s)n.push({right:r});else{const s=e-n[t-1].right,a=r-s;n.push({left:s,right:a})}}))})),n):n}))}),()=>{const{tag:n,wrap:r,align:s,justify:a}=t;return o(n,{class:p({[`align-${s}`]:s,[`justify-${a}`]:a,nowrap:!r})},{default:()=>{var t;return[null==(t=e.default)?void 0:t.call(e)]}})}}});const[m,y]=n("col"),x={tag:r("div"),span:a(0),offset:c};var $=l({name:m,props:x,setup(t,{slots:e}){const{parent:n,index:r}=f(d),s=i((()=>{if(!n)return;const{spaces:t}=n;if(t&&t.value&&t.value[r.value]){const{left:e,right:n}=t.value[r.value];return{paddingLeft:e?`${e}px`:null,paddingRight:n?`${n}px`:null}}}));return()=>{const{tag:n,span:r,offset:a}=t;return o(n,{style:s.value,class:y({[r]:r,[`offset-${a}`]:a})},{default:()=>{var t;return[null==(t=e.default)?void 0:t.call(e)]}})}}});t("C",g($)),t("R",g(v))}}}));
