import{c as p,e as m,a as u,p as s,t as b,k as h,b as _,d as k,f as x,l as w,h as c,m as f,r as d}from"../../custom-element.js";import{a as y}from"../../attributes.js";var $=x('<div><span class="mc-flag__label"> </span></div>');const z={hash:"svelte-1e4tn4t",code:`/**
 * Do not edit directly, this file was auto-generated.
 */.mc-flag.svelte-1e4tn4t {padding:0 0.5rem;border-radius:var(--border-radius-xs, 0.125rem);white-space:nowrap;font-size:var(--font-size-100, 0.875rem);font-weight:var(--font-weight-regular, 400);line-height:var(--line-height-s, 1.3);height:1.5rem;display:inline-flex;align-items:center;color:var(--flag-color-text-standard, #ffffff);background-color:var(--flag-color-background-standard, #191919);}.mc-flag--accent.svelte-1e4tn4t {color:var(--flag-color-text-accent, #ffffff);background-color:var(--flag-color-background-accent, #117f03);}.mc-flag--danger.svelte-1e4tn4t {color:var(--flag-color-text-danger, #ffffff);background-color:var(--flag-color-background-danger, #c61112);}.mc-flag--inverse.svelte-1e4tn4t {color:var(--flag-color-text-inverse, #000000);background-color:var(--flag-color-background-inverse, #ffffff);}`};function D(o,e){m(e,!0),u(o,z);let t=s(e,"appearance",7,"standard"),r=s(e,"label",7),g=w(e,["$$slots","$$events","$$legacy","$$host","appearance","label"]);var i={get appearance(){return t()},set appearance(l="standard"){t(l),f()},get label(){return r()},set label(l){r(l),f()}},a=$();y(a,()=>({class:["mc-flag",`mc-flag--${t()}`],...g}),void 0,void 0,void 0,"svelte-1e4tn4t");var n=c(a),v=c(n,!0);return d(n),d(a),b(()=>h(v,r())),_(o,a),k(i)}customElements.define("m-flag",p(D,{appearance:{},label:{}},[],[],{mode:"open"}));
//# sourceMappingURL=Flag.js.map
