import{S as r,i as o,s as d,b as _,g as c,a as y,C as m,k as H,H as g,f as L,m as M,t as T,p as C,q,A as f,a6 as h,K as S}from"./vendor.906e418a.js";function k(n){let e;return{c(){e=_("div"),c(e,"class","output-html"),c(e,"theme",n[1])},m(a,t){y(a,e,t),e.innerHTML=n[0]},p(a,[t]){t&1&&(e.innerHTML=a[0]),t&2&&c(e,"theme",a[1])},i:m,o:m,d(a){a&&H(e)}}}function A(n,e,a){let{value:t}=e,{theme:i="default"}=e;const s=g();return n.$$set=u=>{"value"in u&&a(0,t=u.value),"theme"in u&&a(1,i=u.theme)},n.$$.update=()=>{n.$$.dirty&1&&s("change")},[t,i]}class D extends r{constructor(e){super();o(this,e,A,k,d,{value:0,theme:1})}}function E(n){let e,a;return e=new D({props:{value:n[0],theme:n[1],style:n[2]}}),e.$on("change",n[4]),{c(){L(e.$$.fragment)},m(t,i){M(e,t,i),a=!0},p(t,[i]){const s={};i&1&&(s.value=t[0]),i&2&&(s.theme=t[1]),i&4&&(s.style=t[2]),e.$set(s)},i(t){a||(T(e.$$.fragment,t),a=!0)},o(t){C(e.$$.fragment,t),a=!1},d(t){q(e,t)}}}function K(n,e,a){let{label:t}=e,{value:i}=e,{theme:s}=e,{style:u}=e;const v=g();e.default&&(i=e.default);function b(l){S.call(this,n,l)}return n.$$set=l=>{a(6,e=f(f({},e),h(l))),"label"in l&&a(3,t=l.label),"value"in l&&a(0,i=l.value),"theme"in l&&a(1,s=l.theme),"style"in l&&a(2,u=l.style)},n.$$.update=()=>{n.$$.dirty&8&&v("change")},e=h(e),[i,s,u,t,b]}class j extends r{constructor(e){super();o(this,e,K,E,d,{label:3,value:0,theme:1,style:2})}}var B=j;const F=["static"];export{B as Component,F as modes};
