=l.dataContainerSizes.height&&!o.current){const e={api:t,visibleColumns:n,viewportPageSize:l.viewportPageSize,virtualRowsCount:l.virtualRowsCount};t.current.publishEvent(ne.rowsScrollEnd,e),o.current=!0}}),[t,r.scrollEndThreshold,n,l]),c=e.useCallback((()=>{const e=t.current.getScrollPosition();s(e)}),[t,s]);e.useEffect((()=>{const e=a.renderContext;if(e){if(!i.current||e.firstRowIdx!==i.current.firstRowIndex||e.lastRowIdx!==i.current.lastRowIndex){const r={firstRowIndex:e.firstRowIdx,lastRowIndex:e.lastRowIdx};t.current.publishEvent(ne.viewportRowsChange,r)}i.current={firstRowIndex:e.firstRowIdx,lastRowIndex:e.lastRowIdx}}}),[t,r.onViewportRowsChange,a]),cl(t,ne.rowsScroll,c),dl(t,ne.rowsScrollEnd,r.onRowsScrollEnd),dl(t,ne.viewportRowsChange,r.onViewportRowsChange)})(t,r),(t=>{const r=ll(t,de),l=e.useCallback(((e=!1)=>{const l=t.current.getSelectedRows(),n=r.filter((e=>e.field!==lo.field));if(0===l.size||0===n.length)return;const o=Is({columns:r,rows:l,selectedRowIds:[],includeHeaders:e,getCellParams:t.current.getCellParams,delimiterCharacter:\"\\t\"});navigator.clipboard?navigator.clipboard.writeText(o).catch((()=>{Ps(o)})):Ps(o)}),[t,r]),n=e.useCallback((e=>{var r;const l=e.ctrlKey||e.metaKey||e.altKey;\"c\"===e.key.toLowerCase()&&l&&\"\"===(null===(r=window.getSelection())||void 0===r?void 0:r.toString())&&t.current.copySelectedRowsToClipboard(e.altKey)}),[t]);fi(t,t.current.rootElementRef,\"keydown\",n),_r(t,{copySelectedRowsToClipboard:l},\"GridClipboardApi\")})(t),rs(t,r),function(t,{state:r}){const[,l,n]=rl(t),o=Ar(\"useStateProp\");e.useEffect((()=>{null!=r&&t.current.state!==r&&(o.debug(\"Overriding state with props.state\"),l((e=>Object.assign(Object.assign({},e),r))),n())}),[t,n,o,r,l])}(t,r),function(e){const[t]=rl(e),r=Ar(\"useRenderInfoLog\");if(null!=t.rendering.renderContext){const{page:e,firstColIdx:l,lastColIdx:n,firstRowIdx:o,lastRowIdx:a}=t.rendering.renderContext;r.info(`Rendering, page: ${e}, col: ${l}-${n}, row: ${o}-${a}`)}}(t)},Ts={apiRef:void 0,disableColumnResize:!0,disableColumnReorder:!0,disableMultipleColumnsFiltering:!0,disableMultipleColumnsSorting:!0,disableMultipleSelection:!0,pagination:!0,onRowsScrollEnd:void 0,onViewportRowsChange:void 0,checkboxSelectionVisibleOnly:!1,signature:\"DataGrid\"},Hs=t=>{if(t.pageSize>100)throw new Error(\"'props.pageSize' cannot exceed 100 in DataGrid.\");const r=function({props:t,name:r}){const l=o();return e.useMemo((()=>{const e=Object.assign({},t),n=b({theme:l,name:r,props:e}),o=n.theme||l,a=\"rtl\"===o.direction;return Object.assign({theme:o,isRtl:a},n)}),[t,r,l])}({props:t,name:\"MuiDataGrid\"});return e.useMemo((()=>Object.assign(Object.assign({},r),Ts)),[r])},As=e.forwardRef((function(t,r){const l=Hs(t),n=Ki();return zs(n,l),e.createElement(Ds,{apiRef:n,props:l},e.createElement(Sa,{ref:r},e.createElement(wa,null,e.createElement(ya,null),e.createElement(va,null),e.createElement(Oa,null))))}));As.defaultProps=Br;const _s=e.memo(As);_s.propTypes=ks;export{ks as DATA_GRID_PROPTYPES,Oo as DEFAULT_GRID_COL_TYPE_KEY,Wr as DEFAULT_GRID_OPTIONS,Br as DEFAULT_GRID_PROPS_FROM_OPTIONS,ts as DEFAULT_GRID_SLOTS_COMPONENTS,_s as DataGrid,Do as GRID_BOOLEAN_COLUMN_TYPE,Se as GRID_CELL_CSS_CLASS,Oe as GRID_CELL_CSS_CLASS_SUFFIX,ye as GRID_COLUMN_HEADER_CSS_CLASS,Ce as GRID_COLUMN_HEADER_CSS_CLASS_SUFFIX,De as GRID_COLUMN_HEADER_DRAGGING_CSS_CLASS,ke as GRID_COLUMN_HEADER_DROP_ZONE_CSS_CLASS,Me as GRID_COLUMN_HEADER_SEPARATOR_RESIZABLE_CSS_CLASS,xe as GRID_COLUMN_HEADER_TITLE_CSS_CLASS,he as GRID_CSS_CLASS_PREFIX,ko as GRID_DATETIME_COLUMN_TYPE,bo as GRID_DATETIME_COL_DEF,xo as GRID_DATE_COLUMN_TYPE,go as GRID_DATE_COL_DEF,Nr as GRID_DEFAULT_LOCALE_TEXT,Ao as GRID_EXPERIMENTAL_ENABLED,Mo as GRID_NUMBER_COLUMN_TYPE,oo as GRID_NUMERIC_COL_DEF,ve as GRID_ROOT_CSS_CLASS_SUFFIX,Ee as GRID_ROW_CSS_CLASS,we as GRID_ROW_CSS_CLASS_SUFFIX,So as GRID_STRING_COLUMN_TYPE,Jn as GRID_STRING_COL_DEF,Vn as GridAddIcon,oe as GridApiContext,In as GridArrowDownwardIcon,Rn as GridArrowUpwardIcon,sa as GridAutoSizer,va as GridBody,ma as GridCell,pn as GridCellCheckboxForwardRef,mn as GridCellCheckboxRenderer,zn as GridCheckCircleIcon,Kn as GridCheckIcon,$n as GridCloseIcon,Xo as GridColumnHeaderItem,Zo as GridColumnHeaderMenu,_o as GridColumnHeaderSeparator,Ro as GridColumnHeaderSortIcon,To as GridColumnHeaderTitle,qo as GridColumnHeadersItemCollection,Tn as GridColumnIcon,Fa as GridColumnMenu,Ia as GridColumnMenuContainer,na as GridColumnsContainer,la as GridColumnsHeader,Da as GridColumnsMenuItem,Ba as GridColumnsPanel,ua as GridDataContainer,$r as GridDensityTypes,Wn as GridDragIcon,yn as GridEditInputCell,vo as GridEditSingleSelectCell,al as GridEmptyCell,wa as GridErrorHandler,ne as GridEvents,Vr as GridFeatureModeConstant,Ln as GridFilterAltIcon,qa as GridFilterForm,qn as GridFilterInputValue,Pn as GridFilterListIcon,Ra as GridFilterMenuItem,Ya as GridFilterPanel,ai as GridFooter,Ma as GridFooterContainer,Oa as GridFooterPlaceholder,ii as GridHeader,wn as GridHeaderCheckbox,ya as GridHeaderPlaceholder,Zr as GridLinkOperator,Bn as GridLoadIcon,si as GridLoadingOverlay,Ko as GridMenu,jn as GridMenuIcon,ci as GridNoRowsOverlay,xa as GridOverlay,ha as GridOverlays,di as GridPagination,Ka as GridPanel,za as GridPanelContent,Ha as GridPanelFooter,_a as GridPanelHeader,$a as GridPanelWrapper,Vo as GridPreferencePanelsValue,Za as GridPreferencesPanel,da as GridRenderingZone,Sa as GridRoot,pa as GridRow,fa as GridRowCells,ni as GridRowCount,Un as GridSaveAltIcon,pl as GridScrollArea,Fn as GridSearchIcon,oi as GridSelectedRowCount,Hn as GridSeparatorIcon,ga as GridStickyContainer,_n as GridTableRowsIcon,li as GridToolbar,Ja as GridToolbarColumnsButton,ka as GridToolbarContainer,Qa as GridToolbarDensitySelector,ri as GridToolbarExport,ti as GridToolbarFilterButton,Nn as GridTripleDotsVerticalIcon,An as GridViewHeadlineIcon,Gn as GridViewStreamIcon,ba as GridViewport,aa as GridWindow,Pa as HideGridColMenuItem,xs as MAX_PAGE_SIZE,Xn as SUBMIT_FILTER_STROKE_TIME,sl as Signature,La as SortGridMenuItems,Fl as activeGridFilterItemsSelector,se as allGridColumnsFieldsSelector,ue as allGridColumnsSelector,os as arSD,as as bgBG,Ti as checkGridRowIdIsValid,Ai as convertGridRowsPropToState,is as csCZ,ss as deDE,cs as elGR,us as enUS,ds as esES,zl as filterGridColumnLookupSelector,jl as filterGridItemsCounterSelector,Ll as filterGridStateSelector,fe as filterableGridColumnsIdsSelector,me as filterableGridColumnsSelector,ps as frFR,Eo as getGridColDef,co as getGridDateOperators,yo as getGridDefaultColumnTypes,no as getGridNumericColumnOperators,Yn as getGridStringOperators,Ur as getInitialGridColumnReorderState,Kr as getInitialGridColumnResizeState,Gr as getInitialGridColumnsState,Xr as getInitialGridFilterState,Qr as getInitialGridRenderingState,Yr as getInitialGridRowState,Jr as getInitialGridSortingState,el as getInitialGridState,qr as getInitialVisibleGridRowsState,lo as gridCheckboxSelectionColDef,ce as gridColumnLookupSelector,Ul as gridColumnMenuStateSelector,fl as gridColumnReorderDragColSelector,ml as gridColumnReorderSelector,gl as gridColumnResizeSelector,pe as gridColumnsMetaSelector,ie as gridColumnsSelector,be as gridColumnsTotalWidthSelector,mo as gridDateFormatter,fo as gridDateTimeFormatter,ca as gridEditRowsStateSelector,Hl as gridFocusCellSelector,Al as gridFocusColumnHeaderSelector,Tl as gridFocusStateSelector,gn as gridPaginatedVisibleSortedGridRowIdsSelector,fn as gridPaginationSelector,Ua as gridPanelClasses,No as gridPreferencePanelStateSelector,bl as gridResizingColumnFieldSelector,vl as gridRowCountSelector,Cl as gridRowsLookupSelector,hl as gridRowsStateSelector,ra as gridScrollbarStateSelector,bn as gridSelectionStateSelector,xl as gridSortColumnLookupSelector,Ml as gridSortModelSelector,Gl as gridTabIndexCellSelector,Nl as gridTabIndexColumnHeaderSelector,_l as gridTabIndexStateSelector,$o as gridViewportSizeStateSelector,ms as itIT,fs as jaJP,gs as nlNL,hs as plPL,bs as plPLGrid,vs as ptBR,En as renderEditInputCell,Co as renderEditSingleSelectCell,ws as ruRU,Cs as ruRUGrid,hn as selectedGridRowsCountSelector,vn as selectedGridRowsSelector,Cn as selectedIdsLookupSelector,ys as skSK,Os as skSKGrid,El as sortedGridRowIdsSelector,Sl as sortedGridRowsSelector,Es as trTR,Ms as ukUA,Ss as ukUAGrid,wl as unorderedGridRowIdsSelector,Ol as unorderedGridRowModelsSelector,pi as useApi,zs as useDataGridComponent,tl as useGridApi,cl as useGridApiEventHandler,_r as useGridApiMethod,dl as useGridApiOptionHandler,Ki as useGridApiRef,gi as useGridColumnMenu,bi as useGridColumnReorder,Yi as useGridColumnResize,Oi as useGridColumns,rs as useGridComponents,mi as useGridContainerProps,yi as useGridControlState,Gi as useGridEditRows,Si as useGridFilter,Mi as useGridFocus,xi as useGridKeyboard,ki as useGridKeyboardNavigation,Pi as useGridPage,Li as useGridPageSize,zi as useGridParamsApi,Fi as useGridPreferencesPanel,Ei as useGridReducer,_i as useGridRows,Di as useGridScrollFn,Ni as useGridSelection,ll as useGridSelector,ls as useGridSlotComponentProps,$i as useGridSorting,rl as useGridState,Wi as useGridVirtualRows,Ar as useLogger,Hr as useLoggerFactory,fi as useNativeEventListener,ge as visibleGridColumnsLengthSelector,de as visibleGridColumnsSelector,Pl as visibleGridRowCountSelector,kl as visibleGridRowsStateSelector,Il as visibleSortedGridRowIdsSelector,Rl as visibleSortedGridRowsAsArraySelector,Dl as visibleSortedGridRowsSelector};\n","import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { chainPropTypes } from '@material-ui/utils';\nimport withStyles from '../styles/withStyles';\nimport capitalize from '../utils/capitalize';\nimport { darken, alpha, lighten } from '../styles/colorManipulator';\nimport TableContext from '../Table/TableContext';\nimport Tablelvl2Context from '../Table/Tablelvl2Context';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: _extends({}, theme.typography.body2, {\n display: 'table-cell',\n verticalAlign: 'inherit',\n // Workaround for a rendering bug with spanned columns in Chrome 62.0.\n // Removes the alpha (sets it to 1), and lightens or darkens the theme color.\n borderBottom: \"1px solid\\n \".concat(theme.palette.type === 'light' ? lighten(alpha(theme.palette.divider, 1), 0.88) : darken(alpha(theme.palette.divider, 1), 0.68)),\n textAlign: 'left',\n padding: 16\n }),\n\n /* Styles applied to the root element if `variant=\"head\"` or `context.table.head`. */\n head: {\n color: theme.palette.text.primary,\n lineHeight: theme.typography.pxToRem(24),\n fontWeight: theme.typography.fontWeightMedium\n },\n\n /* Styles applied to the root element if `variant=\"body\"` or `context.table.body`. */\n body: {\n color: theme.palette.text.primary\n },\n\n /* Styles applied to the root element if `variant=\"footer\"` or `context.table.footer`. */\n footer: {\n color: theme.palette.text.secondary,\n lineHeight: theme.typography.pxToRem(21),\n fontSize: theme.typography.pxToRem(12)\n },\n\n /* Styles applied to the root element if `size=\"small\"`. */\n sizeSmall: {\n padding: '6px 24px 6px 16px',\n '&:last-child': {\n paddingRight: 16\n },\n '&$paddingCheckbox': {\n width: 24,\n // prevent the checkbox column from growing\n padding: '0 12px 0 16px',\n '&:last-child': {\n paddingLeft: 12,\n paddingRight: 16\n },\n '& > *': {\n padding: 0\n }\n }\n },\n\n /* Styles applied to the root element if `padding=\"checkbox\"`. */\n paddingCheckbox: {\n width: 48,\n // prevent the checkbox column from growing\n padding: '0 0 0 4px',\n '&:last-child': {\n paddingLeft: 0,\n paddingRight: 4\n }\n },\n\n /* Styles applied to the root element if `padding=\"none\"`. */\n paddingNone: {\n padding: 0,\n '&:last-child': {\n padding: 0\n }\n },\n\n /* Styles applied to the root element if `align=\"left\"`. */\n alignLeft: {\n textAlign: 'left'\n },\n\n /* Styles applied to the root element if `align=\"center\"`. */\n alignCenter: {\n textAlign: 'center'\n },\n\n /* Styles applied to the root element if `align=\"right\"`. */\n alignRight: {\n textAlign: 'right',\n flexDirection: 'row-reverse'\n },\n\n /* Styles applied to the root element if `align=\"justify\"`. */\n alignJustify: {\n textAlign: 'justify'\n },\n\n /* Styles applied to the root element if `context.table.stickyHeader={true}`. */\n stickyHeader: {\n position: 'sticky',\n top: 0,\n left: 0,\n zIndex: 2,\n backgroundColor: theme.palette.background.default\n }\n };\n};\n/**\n * The component renders a `` element when the parent context is a header\n * or otherwise a ` | ` element.\n */\n\nvar TableCell = /*#__PURE__*/React.forwardRef(function TableCell(props, ref) {\n var _props$align = props.align,\n align = _props$align === void 0 ? 'inherit' : _props$align,\n classes = props.classes,\n className = props.className,\n component = props.component,\n paddingProp = props.padding,\n scopeProp = props.scope,\n sizeProp = props.size,\n sortDirection = props.sortDirection,\n variantProp = props.variant,\n other = _objectWithoutProperties(props, [\"align\", \"classes\", \"className\", \"component\", \"padding\", \"scope\", \"size\", \"sortDirection\", \"variant\"]);\n\n var table = React.useContext(TableContext);\n var tablelvl2 = React.useContext(Tablelvl2Context);\n var isHeadCell = tablelvl2 && tablelvl2.variant === 'head';\n var role;\n var Component;\n\n if (component) {\n Component = component;\n role = isHeadCell ? 'columnheader' : 'cell';\n } else {\n Component = isHeadCell ? 'th' : 'td';\n }\n\n var scope = scopeProp;\n\n if (!scope && isHeadCell) {\n scope = 'col';\n }\n\n var padding = paddingProp || (table && table.padding ? table.padding : 'normal');\n var size = sizeProp || (table && table.size ? table.size : 'medium');\n var variant = variantProp || tablelvl2 && tablelvl2.variant;\n var ariaSort = null;\n\n if (sortDirection) {\n ariaSort = sortDirection === 'asc' ? 'ascending' : 'descending';\n }\n\n return /*#__PURE__*/React.createElement(Component, _extends({\n ref: ref,\n className: clsx(classes.root, classes[variant], className, align !== 'inherit' && classes[\"align\".concat(capitalize(align))], padding !== 'normal' && classes[\"padding\".concat(capitalize(padding))], size !== 'medium' && classes[\"size\".concat(capitalize(size))], variant === 'head' && table && table.stickyHeader && classes.stickyHeader),\n \"aria-sort\": ariaSort,\n role: role,\n scope: scope\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? TableCell.propTypes = {\n /**\n * Set the text-align on the table cell content.\n *\n * Monetary or generally number fields **should be right aligned** as that allows\n * you to add them up quickly in your head without having to worry about decimals.\n */\n align: PropTypes.oneOf(['center', 'inherit', 'justify', 'left', 'right']),\n\n /**\n * The table cell contents.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes\n /* @typescript-to-proptypes-ignore */\n .elementType,\n\n /**\n * Sets the padding applied to the cell.\n * By default, the Table parent component set the value (`normal`).\n * `default` is deprecated, use `normal` instead.\n */\n padding: chainPropTypes(PropTypes.oneOf(['normal', 'checkbox', 'none', 'default']), function (props) {\n if (props.padding === 'default') {\n return new Error('Material-UI: padding=\"default\" was renamed to padding=\"normal\" for consistency.');\n }\n\n return null;\n }),\n\n /**\n * Set scope attribute.\n */\n scope: PropTypes.string,\n\n /**\n * Specify the size of the cell.\n * By default, the Table parent component set the value (`medium`).\n */\n size: PropTypes.oneOf(['medium', 'small']),\n\n /**\n * Set aria-sort direction.\n */\n sortDirection: PropTypes.oneOf(['asc', 'desc', false]),\n\n /**\n * Specify the cell type.\n * By default, the TableHead, TableBody or TableFooter parent component set the value.\n */\n variant: PropTypes.oneOf(['body', 'footer', 'head'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiTableCell'\n})(TableCell);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport KeyboardArrowLeft from '../internal/svg-icons/KeyboardArrowLeft';\nimport KeyboardArrowRight from '../internal/svg-icons/KeyboardArrowRight';\nimport useTheme from '../styles/useTheme';\nimport IconButton from '../IconButton';\n/**\n * @ignore - internal component.\n */\n\nvar _ref = /*#__PURE__*/React.createElement(KeyboardArrowRight, null);\n\nvar _ref2 = /*#__PURE__*/React.createElement(KeyboardArrowLeft, null);\n\nvar _ref3 = /*#__PURE__*/React.createElement(KeyboardArrowLeft, null);\n\nvar _ref4 = /*#__PURE__*/React.createElement(KeyboardArrowRight, null);\n\nvar TablePaginationActions = /*#__PURE__*/React.forwardRef(function TablePaginationActions(props, ref) {\n var backIconButtonProps = props.backIconButtonProps,\n count = props.count,\n nextIconButtonProps = props.nextIconButtonProps,\n _props$onChangePage = props.onChangePage,\n onChangePage = _props$onChangePage === void 0 ? function () {} : _props$onChangePage,\n _props$onPageChange = props.onPageChange,\n onPageChange = _props$onPageChange === void 0 ? function () {} : _props$onPageChange,\n page = props.page,\n rowsPerPage = props.rowsPerPage,\n other = _objectWithoutProperties(props, [\"backIconButtonProps\", \"count\", \"nextIconButtonProps\", \"onChangePage\", \"onPageChange\", \"page\", \"rowsPerPage\"]);\n\n var theme = useTheme();\n\n var handleBackButtonClick = function handleBackButtonClick(event) {\n onChangePage(event, page - 1);\n onPageChange(event, page - 1);\n };\n\n var handleNextButtonClick = function handleNextButtonClick(event) {\n onChangePage(event, page + 1);\n onPageChange(event, page + 1);\n };\n\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n ref: ref\n }, other), /*#__PURE__*/React.createElement(IconButton, _extends({\n onClick: handleBackButtonClick,\n disabled: page === 0,\n color: \"inherit\"\n }, backIconButtonProps), theme.direction === 'rtl' ? _ref : _ref2), /*#__PURE__*/React.createElement(IconButton, _extends({\n onClick: handleNextButtonClick,\n disabled: count !== -1 ? page >= Math.ceil(count / rowsPerPage) - 1 : false,\n color: \"inherit\"\n }, nextIconButtonProps), theme.direction === 'rtl' ? _ref3 : _ref4));\n});\nprocess.env.NODE_ENV !== \"production\" ? TablePaginationActions.propTypes = {\n /**\n * Props applied to the back arrow [`IconButton`](/api/icon-button/) element.\n */\n backIconButtonProps: PropTypes.object,\n\n /**\n * The total number of rows.\n */\n count: PropTypes.number.isRequired,\n\n /**\n * Props applied to the next arrow [`IconButton`](/api/icon-button/) element.\n */\n nextIconButtonProps: PropTypes.object,\n\n /**\n * Callback fired when the page is changed.\n *\n * @param {object} event The event source of the callback.\n * @param {number} page The page selected.\n */\n onChangePage: PropTypes.func,\n\n /**\n * Callback fired when the page is changed.\n *\n * @param {object} event The event source of the callback.\n * @param {number} page The page selected.\n */\n onPageChange: PropTypes.func,\n\n /**\n * The zero-based index of the current page.\n */\n page: PropTypes.number.isRequired,\n\n /**\n * The number of rows per page.\n */\n rowsPerPage: PropTypes.number.isRequired\n} : void 0;\nexport default TablePaginationActions;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { chainPropTypes } from '@material-ui/utils';\nimport clsx from 'clsx';\nimport deprecatedPropType from '../utils/deprecatedPropType';\nimport withStyles from '../styles/withStyles';\nimport InputBase from '../InputBase';\nimport MenuItem from '../MenuItem';\nimport Select from '../Select';\nimport TableCell from '../TableCell';\nimport Toolbar from '../Toolbar';\nimport Typography from '../Typography';\nimport TablePaginationActions from './TablePaginationActions';\nimport useId from '../utils/unstable_useId';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n color: theme.palette.text.primary,\n fontSize: theme.typography.pxToRem(14),\n overflow: 'auto',\n // Increase the specificity to override TableCell.\n '&:last-child': {\n padding: 0\n }\n },\n\n /* Styles applied to the Toolbar component. */\n toolbar: {\n minHeight: 52,\n paddingRight: 2\n },\n\n /* Styles applied to the spacer element. */\n spacer: {\n flex: '1 1 100%'\n },\n\n /* Styles applied to the caption Typography components if `variant=\"caption\"`. */\n caption: {\n flexShrink: 0\n },\n // TODO v5: `.selectRoot` should be merged with `.input`\n\n /* Styles applied to the Select component root element. */\n selectRoot: {\n marginRight: 32,\n marginLeft: 8\n },\n\n /* Styles applied to the Select component `select` class. */\n select: {\n paddingLeft: 8,\n paddingRight: 24,\n textAlign: 'right',\n textAlignLast: 'right' // Align |