import{r as e}from"./redux-1.0.74-D8bIc6ki.js";import{j as l}from"./tanstack-1.0.74-aU0azVkW.js";import{u as p,g as u,b as m}from"./TabPanel-1.0.74-BfVdq8Gf.js";import{a as c}from"./Tabs-1.0.74-BLkbuumd.js";const v=e.forwardRef(function(o,a){const{children:n,...s}=o,r=p();if(r===null)throw new TypeError("No TabContext provided");const i=e.Children.map(n,t=>e.isValidElement(t)?e.cloneElement(t,{"aria-controls":m(r,t.props.value),id:u(r,t.props.value)}):null);return l.jsx(c,{...s,ref:a,value:r.value,children:i})});export{v as T};
