"use strict";const m=require("./utils-BNYGVv6l.cjs.js"),c=require("./CollectionBuilder-CCexRz-1.cjs.js"),y=require("./mergeProps-DD8aR8go.cjs.js"),s=require("./filterDOMProps-AbzzCIX-.cjs.js"),i=require("react");function P(r){let e=s.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(r,{labelable:!0}),t;return r.orientation==="vertical"&&(t="vertical"),r.elementType!=="hr"?{separatorProps:{...e,role:"separator","aria-orientation":t}}:{separatorProps:e}}const f=i.createContext({});class $ extends c.$23b9f4fcf0fe224b$export$d68d59712b04d9d1{filter(e,t){let a=t.getItem(this.prevKey);if(a&&a.type!=="separator"){let o=this.clone();return t.addDescendants(o,e),o}return null}}$.type="separator";const v=c.$e1995378a142960e$export$18af5c7a9e9b3664($,function(e,t){[e,t]=m.$64fa3d84918910a7$export$29f1550f4b0d4415(e,t,f);let{elementType:a,orientation:o,style:d,className:l,slot:p,...b}=e,n=a||"hr";n==="hr"&&o==="vertical"&&(n="div");let{separatorProps:u}=P({...b,elementType:a,orientation:o}),x=s.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e,{global:!0});return i.createElement(n,{...y.$3ef42575df84b30b$export$9d1611c77c2fe928(x,u),style:d,className:l??"react-aria-Separator",ref:t,slot:p||void 0})});exports.$431f98aba6844401$export$1ff3c3f08ae963c0=v;exports.$431f98aba6844401$export$6615d83f6de245ce=f;
//# sourceMappingURL=Separator-CEB8otkU.cjs.js.map
