System.register(["./index-legacy-26bc1086.js"],(function(o,e){"use strict";var l,t,r,n,a,s,c,i,u;return{setters:[o=>{l=o.c,t=o.d,r=o.a,n=o.T,a=o.t,s=o.m,c=o.H,i=o.I,u=o.k}],execute:function(){const[e,d]=l("tag"),p={size:String,mark:Boolean,show:a,type:s("default"),color:String,plain:Boolean,round:Boolean,textColor:String,closeable:Boolean};var m=t({name:e,props:p,emits:["close"],setup(o,{slots:e,emit:l}){const t=o=>{o.stopPropagation(),l("close",o)},a=()=>{var l;const{type:n,mark:a,plain:s,round:u,size:p,closeable:m}=o,g={mark:a,plain:s,round:u};p&&(g[p]=p);const f=m&&r(i,{name:"cross",class:[d("close"),c],onClick:t},null);return r("span",{style:o.plain?{color:o.textColor||o.color,borderColor:o.color}:{color:o.textColor,background:o.color},class:d([g,n])},[null==(l=e.default)?void 0:l.call(e),f])};return()=>r(n,{name:o.closeable?"van-fade":void 0},{default:()=>[o.show?a():null]})}});o("T",u(m))}}}));