"use strict";var e=require("@babel/runtime/helpers/defineProperty"),t=require("@babel/runtime/helpers/objectWithoutProperties"),r=require("react/jsx-runtime"),n=require("@material-ui/core"),o=require("classnames");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var c=i(e),l=i(t),s=i(o),a=["numSelected","actions","content","classes"];function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach((function(t){c.default(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var f=n.makeStyles({root:{"&.MuiToolbar-gutters":{paddingLeft:8,paddingRight:8}},highlight:{display:"flex",justifyContent:"space-between",backgroundColor:"rgba(3, 188, 212, 0.2)"},numSelected:{fontSize:14}});module.exports=function(e){var t=e.numSelected,o=void 0===t?0:t,i=e.actions,u=void 0===i?null:i,b=e.content,p=void 0===b?null:b,j=e.classes,g=l.default(e,a),h=f();return r.jsx(n.Toolbar,d(d({classes:j,className:s.default(h.root,null==j?void 0:j.root,c.default({},h.highlight,o>0))},g),{},{children:o>0?r.jsxs(r.Fragment,{children:[r.jsxs("div",{className:h.numSelected,children:[o," selected"]}),r.jsx("div",{children:u})]}):r.jsx(r.Fragment,{children:p})}))};
//# sourceMappingURL=TableToolbar.js.map
