System.register(["./index-legacy.js?v=1723125373998","./vue-legacy.js?v=1723125373998"],(function(t,r){"use strict";var n,e,i,o,a,l,s,d,u,c,g,f;return{setters:[t=>{n=t.aE,e=t.aW,i=t.aC,o=t.aG,a=t.aH,l=t.aM,s=t.aI,d=t.aO,u=t.cW},t=>{c=t.l,g=t.A,f=t.p}],execute:function(){const r="0!important",p="-1px!important";function b(t){return o(t+"-type",[i("& +",[n("button",{},[o(t+"-type",[a("border",{borderLeftWidth:r}),a("state-border",{left:p})])])])])}function h(t){return o(t+"-type",[i("& +",[n("button",[o(t+"-type",[a("border",{borderTopWidth:r}),a("state-border",{top:p})])])])])}const m=n("button-group","\n flex-wrap: nowrap;\n display: inline-flex;\n position: relative;\n",[e("vertical",{flexDirection:"row"},[e("rtl",[n("button",[i("&:first-child:not(:last-child)",`\n margin-right: ${r};\n border-top-right-radius: ${r};\n border-bottom-right-radius: ${r};\n `),i("&:last-child:not(:first-child)",`\n margin-left: ${r};\n border-top-left-radius: ${r};\n border-bottom-left-radius: ${r};\n `),i("&:not(:first-child):not(:last-child)",`\n margin-left: ${r};\n margin-right: ${r};\n border-radius: ${r};\n `),b("default"),o("ghost",[b("primary"),b("info"),b("success"),b("warning"),b("error")])])])]),o("vertical",{flexDirection:"column"},[n("button",[i("&:first-child:not(:last-child)",`\n margin-bottom: ${r};\n margin-left: ${r};\n margin-right: ${r};\n border-bottom-left-radius: ${r};\n border-bottom-right-radius: ${r};\n `),i("&:last-child:not(:first-child)",`\n margin-top: ${r};\n margin-left: ${r};\n margin-right: ${r};\n border-top-left-radius: ${r};\n border-top-right-radius: ${r};\n `),i("&:not(:first-child):not(:last-child)",`\n margin: ${r};\n border-radius: ${r};\n `),h("default"),o("ghost",[h("primary"),h("info"),h("success"),h("warning"),h("error")])])])]),$={size:{type:String,default:void 0},vertical:Boolean};t("N",c({name:"ButtonGroup",props:$,setup(t){const{mergedClsPrefixRef:r,mergedRtlRef:n}=l(t);return s("-button-group",m,r),g(u,t),{rtlEnabled:d("ButtonGroup",n,r),mergedClsPrefix:r}},render(){const{mergedClsPrefix:t}=this;return f("div",{class:[`${t}-button-group`,this.rtlEnabled&&`${t}-button-group--rtl`,this.vertical&&`${t}-button-group--vertical`],role:"group"},this.$slots)}}))}}}));
