import{c as g}from"./create-slot-recipe-context-DAhDE6G_.js";import{r as t,j as l}from"./iframe-B8FSoBNY.js";import{m as a,a as i}from"./factory-BR3bc_RM.js";import{u as n,b as f,a as u,C as P}from"./collapsible-content-B1Uq3jUM.js";import{c as x}from"./create-split-props-u5h9OPvL.js";const c=t.forwardRef((r,e)=>{const o=n(),s=a(o.getIndicatorProps(),r);return l.jsx(i.div,{...s,ref:e})});c.displayName="CollapsibleIndicator";const R=x(),d=t.forwardRef((r,e)=>{const[{value:o},s]=R(r,["value"]),m=a(o.getRootProps(),s);return l.jsx(f,{value:o,children:l.jsx(i.div,{...m,ref:e})})});d.displayName="CollapsibleRootProvider";const C=t.forwardRef((r,e)=>{const o=n(),s=a(o.getTriggerProps(),r);return l.jsx(i.button,{...s,ref:e})});C.displayName="CollapsibleTrigger";const{withProvider:b,withContext:p}=g({key:"collapsible"});b(d,"root",{forwardAsChild:!0});const y=b(P,"root",{forwardAsChild:!0}),I=p(C,"trigger",{forwardAsChild:!0}),T=p(u,"content",{forwardAsChild:!0}),$=p(c,"indicator",{forwardAsChild:!0});export{$ as C,I as a,T as b,y as c};
