"use strict";var e=require('./../../../ext-esm/tslib/tslib.es6.js'),t=require("react/jsx-runtime"),s=require("@material-ui/core");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=l(require("classnames")),i=s.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(l){var r,a=l.numSelected,o=void 0===a?null:a,c=l.actions,d=void 0===c?null:c,u=l.content,g=void 0===u?null:u,m=l.classes,h=e.__rest(l,["numSelected","actions","content","classes"]),f=i();return t.jsx(s.Toolbar,e.__assign({classes:m,className:n.default(f.root,null==m?void 0:m.root,(r={},r[f.highlight]=o>0,r))},h,{children:o>0?t.jsxs(t.Fragment,{children:[t.jsxs("div",e.__assign({className:f.numSelected},{children:[o," selected"]})),t.jsx("div",{children:d})]}):t.jsx(t.Fragment,{children:g})}))};
