import{r as s,j as l}from"./wp-i18n-shim-DUX0OV_V.js";import{P as d}from"./index-f2RCAr_u.js";import{a as f}from"./utils-Bl0WAcve.js";var v="Separator",n="horizontal",N=["horizontal","vertical"],p=s.forwardRef((r,a)=>{const{decorative:t,orientation:o=n,...i}=r,e=u(o)?o:n,m=t?{role:"none"}:{"aria-orientation":e==="vertical"?e:void 0,role:"separator"};return l.jsx(d.div,{"data-orientation":e,...m,...i,ref:a})});p.displayName=v;function u(r){return N.includes(r)}var c=p;const x=s.forwardRef(({className:r,orientation:a="horizontal",decorative:t=!0,...o},i)=>l.jsx(c,{ref:i,decorative:t,orientation:a,className:f("shrink-0 bg-border",a==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",r),...o}));x.displayName=c.displayName;export{x as S};
//# sourceMappingURL=separator-BQS_7xs6.js.map
