import e from"../../../../@babel/runtime/helpers/esm/objectWithoutProperties.js";import r from"../../../../@babel/runtime/helpers/esm/defineProperty.js";import t from"../../../../@babel/runtime/helpers/esm/extends.js";import*as a from"react";import s from"../../../../prop-types/index.js";import o from"../../../../clsx/dist/clsx.m.js";import i from"../styles/withStyles.js";import{emphasize as l}from"../styles/colorManipulator.js";import n from"../Paper/Paper.js";var m=function(e){var a="light"===e.palette.type?.8:.98,s=l(e.palette.background.default,a);return{root:t({},e.typography.body2,r({color:e.palette.getContrastText(s),backgroundColor:s,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:e.shape.borderRadius,flexGrow:1},e.breakpoints.up("sm"),{flexGrow:"initial",minWidth:288})),message:{padding:"8px 0"},action:{display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}}},p=a.forwardRef((function(r,s){var i=r.action,l=r.classes,m=r.className,p=r.message,c=r.role,d=void 0===c?"alert":c,f=e(r,["action","classes","className","message","role"]);return a.createElement(n,t({role:d,square:!0,elevation:6,className:o(l.root,m),ref:s},f),a.createElement("div",{className:l.message},p),i?a.createElement("div",{className:l.action},i):null)}));"production"!==process.env.NODE_ENV&&(p.propTypes={action:s.node,classes:s.object,className:s.string,message:s.node,role:s.string});var c=i(m,{name:"MuiSnackbarContent"})(p);export default c;export{m as styles};
//# sourceMappingURL=SnackbarContent.js.map
