1import{a as i,j as s}from"./npm.react.CBIKx4gs.chunk.js";import{c as E}from"./npm.radix-ui.primitive.DW48STyt.chunk.js";import{c as h}from"./npm.radix-ui.react-context.CnL_PMM5.chunk.js";import{c as d,R as P,I as b}from"./npm.radix-ui.react-roving-focus.DQgmD4AG.chunk.js";import{P as l}from"./npm.radix-ui.react-primitive.Ba9Ds4Z1.chunk.js";import{R as y}from"./npm.radix-ui.react-separator.BgTyBUBr.chunk.js";import{R as I,c as g,I as A}from"./npm.radix-ui.react-toggle-group.CwsseLDG.chunk.js";import{u as w}from"./npm.radix-ui.react-direction.UZClr1KM.chunk.js";var p="Toolbar",[C]=h(p,[d,g]),u=d(),m=g(),[M,v]=C(p),f=i.forwardRef((o,t)=>{const{__scopeToolbar:r,orientation:a="horizontal",dir:e,loop:n=!0,...N}=o,j=u(r),c=w(e);return s.jsx(M,{scope:r,orientation:a,dir:c,children:s.jsx(P,{asChild:!0,...j,orientation:a,dir:c,loop:n,children:s.jsx(l.div,{role:"toolbar","aria-orientation":a,dir:c,...N,ref:t})})})});f.displayName=p;var _="ToolbarSeparator",R=i.forwardRef((o,t)=>{const{__scopeToolbar:r,...a}=o,e=v(_,r);return s.jsx(y,{orientation:e.orientation==="horizontal"?"vertical":"horizontal",...a,ref:t})});R.displayName=_;var O="ToolbarButton",T=i.forwardRef((o,t)=>{const{__scopeToolbar:r,...a}=o,e=u(r);return s.jsx(b,{asChild:!0,...e,focusable:!o.disabled,children:s.jsx(l.button,{type:"button",...a,ref:t})})});T.displayName=O;var B="ToolbarLink",F=i.forwardRef((o,t)=>{const{__scopeToolbar:r,...a}=o,e=u(r);return s.jsx(b,{asChild:!0,...e,focusable:!0,children:s.jsx(l.a,{...a,ref:t,onKeyDown:E(o.onKeyDown,n=>{n.key===" "&&n.currentTarget.click()})})})});F.displayName=B;var x="ToolbarToggleGroup",G=i.forwardRef((o,t)=>{const{__scopeToolbar:r,...a}=o,e=v(x,r),n=m(r);return s.jsx(I,{"data-orientation":e.orientation,dir:e.dir,...n,...a,ref:t,rovingFocus:!1})});G.displayName=x;var L="ToolbarToggleItem",S=i.forwardRef((o,t)=>{const{__scopeToolbar:r,...a}=o,e=m(r),n={__scopeToolbar:o.__scopeToolbar};return s.jsx(T,{asChild:!0,...n,children:s.jsx(A,{...e,...a,ref:t})})});S.displayName=L;var J=f,Q=R,V=T,W=G,X=S;export{V as B,J as R,Q as S,W as T,X as a};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.