import{TableContext_default as e,Tablelvl2Context_default as t,__toESM as n,_extends as r,_objectWithoutProperties as i,alpha as a,clsx_m_default as o,init_clsx_m as s,init_colorManipulator as c,init_extends as l,init_objectWithoutProperties as u,init_withStyles as d,require_react as f,withStyles_default as p}from"./index-CA65pJ_5.js";u(),l();var m=n(f());s(),d();var h=function(e){return{root:{display:`table`,width:`100%`,borderCollapse:`collapse`,borderSpacing:0,"& caption":r({},e.typography.body2,{padding:e.spacing(2),color:e.palette.text.secondary,textAlign:`left`,captionSide:`bottom`})},stickyHeader:{borderCollapse:`separate`}}},g=`table`,_=m.forwardRef(function(t,n){var a=t.classes,s=t.className,c=t.component,l=c===void 0?g:c,u=t.padding,d=u===void 0?`normal`:u,f=t.size,p=f===void 0?`medium`:f,h=t.stickyHeader,_=h===void 0?!1:h,v=i(t,[`classes`,`className`,`component`,`padding`,`size`,`stickyHeader`]),y=m.useMemo(function(){return{padding:d,size:p,stickyHeader:_}},[d,p,_]);return m.createElement(e.Provider,{value:y},m.createElement(l,r({role:l===g?null:`table`,ref:n,className:o(a.root,s,_&&a.stickyHeader)},v)))}),v=p(h,{name:`MuiTable`})(_);l(),u(),s(),d();var y={root:{display:`table-row-group`}},b={variant:`body`},x=`tbody`,S=m.forwardRef(function(e,n){var a=e.classes,s=e.className,c=e.component,l=c===void 0?x:c,u=i(e,[`classes`,`className`,`component`]);return m.createElement(t.Provider,{value:b},m.createElement(l,r({className:o(a.root,s),ref:n,role:l===x?null:`rowgroup`},u)))}),C=p(y,{name:`MuiTableBody`})(S);l(),u(),s(),d(),c();var w=function(e){return{root:{color:`inherit`,display:`table-row`,verticalAlign:`middle`,outline:0,"&$hover:hover":{backgroundColor:e.palette.action.hover},"&$selected, &$selected:hover":{backgroundColor:a(e.palette.secondary.main,e.palette.action.selectedOpacity)}},selected:{},hover:{},head:{},footer:{}}},T=`tr`,E=m.forwardRef(function(e,n){var a=e.classes,s=e.className,c=e.component,l=c===void 0?T:c,u=e.hover,d=u===void 0?!1:u,f=e.selected,p=f===void 0?!1:f,h=i(e,[`classes`,`className`,`component`,`hover`,`selected`]),g=m.useContext(t);return m.createElement(l,r({ref:n,className:o(a.root,s,g&&{head:a.head,footer:a.footer}[g.variant],d&&a.hover,p&&a.selected),role:l===T?null:`row`},h))}),D=p(w,{name:`MuiTableRow`})(E);export{C as TableBody_default,D as TableRow_default,v as Table_default};
//# sourceMappingURL=TableRow-Dt0LCaKx.js.map