!function(){function e(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function r(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==t)return;var n,o,i=[],a=!0,u=!1;try{for(t=t.call(e);!(a=(n=t.next()).done)&&(i.push(n.value),!r||i.length!==r);a=!0);}catch(l){u=!0,o=l}finally{try{a||null==t.return||t.return()}finally{if(u)throw o}}return i}(e,r)||function(e,r){if(!e)return;if("string"==typeof e)return t(e,r);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return t(e,r)}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function t(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}System.register(["./index-legacy.2ae28dc5.js"],(function(t){"use strict";var n,o,i,a,u,l,c,s,d,f,g,p,v,b,y,m,x,h,S;return{setters:[function(e){n=e.m,o=e.t,i=e.w,a=e.q,u=e.d,l=e.u,c=e.k,s=e.U,d=e.aU,f=e.y,g=e.N,p=e.aa,v=e.x,b=e.ab,y=e.v,m=e.aV,x=e.z,h=e.ai,S=e.a2}],execute:function(){var P=r(n("grid"),2),q=P[0],j=P[1],k={square:Boolean,center:o,border:o,gutter:i,reverse:Boolean,iconSize:i,direction:String,clickable:Boolean,columnNum:a(4)},w=Symbol(q),A=u({name:q,props:k,setup:function(r,t){var n=t.slots;return(0,l(w).linkChildren)({props:r}),function(){var t;return c("div",{style:{paddingLeft:s(r.gutter)},class:[j(),e({},d,r.border&&!r.gutter)]},[null==(t=n.default)?void 0:t.call(n)])}}}),B=(t("G",f(A)),r(n("grid-item"),2)),C=B[0],z=B[1],O=g({},p,{dot:Boolean,text:String,icon:String,badge:i,iconColor:String,iconPrefix:String,badgeProps:Object}),I=u({name:C,props:O,setup:function(r,t){var n=t.slots,o=v(w),i=o.parent,a=o.index,u=b();if(i){var l=y((function(){var e=i.props,r=e.square,t=e.gutter,n=e.columnNum,o="".concat(100/+n,"%"),u={flexBasis:o};if(r)u.paddingTop=o;else if(t){var l=s(t);u.paddingRight=l,a.value>=n&&(u.marginTop=l)}return u})),d=y((function(){var e=i.props,r=e.square,t=e.gutter;if(r&&t){var n=s(t);return{right:n,bottom:n,height:"auto"}}}));return function(){var t=i.props,o=t.center,a=t.border,s=t.square,f=t.gutter,g=t.reverse,p=t.direction,v=t.clickable,b=[z("content",[p,{center:o,square:s,reverse:g,clickable:v,surround:a&&f}]),e({},m,a)];return c("div",{class:[z({square:s})],style:l.value},[c("div",{role:v?"button":void 0,class:b,style:d.value,tabindex:v?0:void 0,onClick:u},[n.default?n.default():[n.icon?c(h,x({dot:r.dot,content:r.badge},r.badgeProps),{default:n.icon}):r.icon?c(S,{dot:r.dot,name:r.icon,size:i.props.iconSize,badge:r.badge,class:z("icon"),color:r.iconColor,badgeProps:r.badgeProps,classPrefix:r.iconPrefix},null):void 0,n.text?n.text():r.text?c("span",{class:z("text")},[r.text]):void 0]])])}}}});t("a",f(I))}}}))}();
