"use strict";(self.webpackChunk_jbrowse_web=self.webpackChunk_jbrowse_web||[]).push([[4533],{67582:(e,t,a)=>{a.d(t,{Z:()=>i});const i=a(41867).createContext()},45981:(e,t,a)=>{a.d(t,{Z:()=>i});const i=a(41867).createContext()},24886:(e,t,a)=>{a.d(t,{Z:()=>m});var i=a(31461),n=a(7896),o=a(41867),r=a(66184),l=a(92705),d=a(71939),s=a(9931),c=a(67582),p=a(45981),g=a(90293),h=a(75693),y=a(66571),u=a(80838);const x=["align","className","component","padding","scope","size","sortDirection","variant"],v=(0,h.ZP)("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:a}=e;return[t.root,t[a.variant],t["size".concat((0,s.Z)(a.size))],"normal"!==a.padding&&t["padding".concat((0,s.Z)(a.padding))],"inherit"!==a.align&&t["align".concat((0,s.Z)(a.align))],a.stickyHeader&&t.stickyHeader]}})((e=>{let{theme:t,ownerState:a}=e;return(0,n.Z)({},t.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:t.vars?"1px solid ".concat(t.vars.palette.TableCell.border):"1px solid\n    ".concat("light"===t.palette.mode?(0,d.$n)((0,d.Fq)(t.palette.divider,1),.88):(0,d._j)((0,d.Fq)(t.palette.divider,1),.68)),textAlign:"left",padding:16},"head"===a.variant&&{color:(t.vars||t).palette.text.primary,lineHeight:t.typography.pxToRem(24),fontWeight:t.typography.fontWeightMedium},"body"===a.variant&&{color:(t.vars||t).palette.text.primary},"footer"===a.variant&&{color:(t.vars||t).palette.text.secondary,lineHeight:t.typography.pxToRem(21),fontSize:t.typography.pxToRem(12)},"small"===a.size&&{padding:"6px 16px",["&.".concat(y.Z.paddingCheckbox)]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}},"checkbox"===a.padding&&{width:48,padding:"0 0 0 4px"},"none"===a.padding&&{padding:0},"left"===a.align&&{textAlign:"left"},"center"===a.align&&{textAlign:"center"},"right"===a.align&&{textAlign:"right",flexDirection:"row-reverse"},"justify"===a.align&&{textAlign:"justify"},a.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:(t.vars||t).palette.background.default})})),m=o.forwardRef((function(e,t){const a=(0,g.Z)({props:e,name:"MuiTableCell"}),{align:d="inherit",className:h,component:m,padding:Z,scope:b,size:f,sortDirection:C,variant:k}=a,z=(0,i.Z)(a,x),w=o.useContext(c.Z),H=o.useContext(p.Z),T=H&&"head"===H.variant;let R;R=m||(T?"th":"td");let j=b;"td"===R?j=void 0:!j&&T&&(j="col");const A=k||H&&H.variant,M=(0,n.Z)({},a,{align:d,component:R,padding:Z||(w&&w.padding?w.padding:"normal"),size:f||(w&&w.size?w.size:"medium"),sortDirection:C,stickyHeader:"head"===A&&w&&w.stickyHeader,variant:A}),S=(e=>{const{classes:t,variant:a,align:i,padding:n,size:o,stickyHeader:r}=e,d={root:["root",a,r&&"stickyHeader","inherit"!==i&&"align".concat((0,s.Z)(i)),"normal"!==n&&"padding".concat((0,s.Z)(n)),"size".concat((0,s.Z)(o))]};return(0,l.Z)(d,y.U,t)})(M);let _=null;return C&&(_="asc"===C?"ascending":"descending"),(0,u.jsx)(v,(0,n.Z)({as:R,ref:t,className:(0,r.Z)(S.root,h),"aria-sort":_,scope:j,ownerState:M},z))}))},64533:(e,t,a)=>{a.r(t),a.d(t,{default:()=>i.Z,getTableCellUtilityClass:()=>n.U,tableCellClasses:()=>n.Z});var i=a(24886),n=a(66571)},66571:(e,t,a)=>{a.d(t,{U:()=>o,Z:()=>r});var i=a(70101),n=a(88498);function o(e){return(0,n.Z)("MuiTableCell",e)}const r=(0,i.Z)("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"])}}]);
//# sourceMappingURL=4533.d614331d.chunk.js.map