import"./E-vkuI0X.mjs";import{i as T}from"./DE12Pz0s.mjs";import{p as B,l as f,s as r,i as b,g as s,a as j,h as k,r as x,b as D,c as M,d as N,_ as S,$ as W,m as p,j as q}from"./DXA5xaTu.mjs";import{e as A}from"./iXLj1DaW.mjs";import{s as C}from"./CG0ncoKB.mjs";import{t as E,s as F,u as G}from"./CrCfjO1_.mjs";import{b as H}from"./Cjp1zspE.mjs";import{p as i}from"./DZ_x5TWR.mjs";import{p as I}from"./CqZfC1DX.mjs";var J=q('<div role="toolbar"><!></div>');function Y(_,e){B(e,!1);const g=()=>S(I,"$pageTheme",v),[v,h]=W(),l=p(),u=p();let w=i(e,"id",8,void 0),y=i(e,"class",8,""),n=i(e,"size",8,void 0),m=i(e,"wrap",8,void 0),a=p();f(()=>b(n()),()=>{r(l,n()?`--buttons-size: ${n()}rem; `:"")}),f(()=>b(m()),()=>{m()===void 0?r(a,""):r(a,m()?"--buttons-wrap: wrap; ":"--buttons-wrap: nowrap; ")}),f(()=>(s(l),s(a)),()=>{r(u,s(l)+s(a))}),j(),T();var t=J();let c,d;var z=k(t);C(z,e,"default",{}),x(t),D(()=>{var o;E(t,"id",w()),c=F(t,1,`button-toolbar btn-toolbar ${(o=y())!=null?o:""}`,"svelte-1v9a56g",c,{nightMode:g().isDark}),d=G(t,s(u),d,{"--icon-align":"baseline"})}),A("focusout",t,function(o){H.call(this,e,o)}),M(_,t),N(),h()}export{Y as B};
