import{c as u,e as f,a as c,p as i,t as b,j as m,n as g,b as p,d as h,f as z,l as _,h as k,m as l,r as j}from"../../custom-element.js";import{a as w}from"../../attributes.js";var $=z("<div><div></div></div>");const x={hash:"svelte-kfj12z",code:`/**
 * Do not edit directly, this file was auto-generated.
 */.mc-linear-progressbar-buffer.svelte-kfj12z {--progress-value: 40;background-color:var(--progressbar-color-background, #c9d0de);height:0.25rem;position:relative;min-width:6rem;border-radius:var(--border-radius-l, 1rem);}.mc-linear-progressbar-buffer__indicator.svelte-kfj12z {background-color:var(--progressbar-color-indicator, #464e63);height:100%;transition:width 0.4s ease;overflow:hidden;border-radius:var(--border-radius-l, 1rem);box-sizing:border-box;width:calc(var(--progress-value) * 1%);}.mc-linear-progressbar-buffer--s.svelte-kfj12z {height:0.125rem;}.mc-linear-progressbar-buffer--l.svelte-kfj12z {height:0.5rem;}`};function y(o,e){f(e,!0),c(o,x);let r=i(e,"value",7,0),a=i(e,"size",7,"m"),d=_(e,["$$slots","$$events","$$legacy","$$host","value","size"]);var n={get value(){return r()},set value(t=0){r(t),l()},get size(){return a()},set size(t="m"){a(t),l()}},s=$(),v=k(s);return w(v,()=>({class:"mc-linear-progressbar-buffer__indicator",role:"progressbar",style:`--progress-value: ${r()};`,"aria-valuenow":r(),"aria-valuemin":"0","aria-valuemax":"100",...d}),void 0,void 0,void 0,"svelte-kfj12z"),j(s),b(()=>m(s,1,g(["mc-linear-progressbar-buffer",`mc-linear-progressbar-buffer--${a()}`]),"svelte-kfj12z")),p(o,s),h(n)}customElements.define("m-linear-progressbar-buffer",u(y,{value:{},size:{}},[],[],{mode:"open"}));
//# sourceMappingURL=LinearProgressbarBuffer.js.map
