import e from"../../../../@babel/runtime/helpers/esm/extends.js";import o from"../../../../@babel/runtime/helpers/esm/objectWithoutProperties.js";import*as r from"react";import t from"../../../../prop-types/index.js";import i from"../../../../clsx/dist/clsx.m.js";import n from"../styles/withStyles.js";import l from"../utils/capitalize.js";var a=function(e){return{root:{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,fontSize:e.typography.pxToRem(24),transition:e.transitions.create("fill",{duration:e.transitions.duration.shorter})},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorAction:{color:e.palette.action.active},colorError:{color:e.palette.error.main},colorDisabled:{color:e.palette.action.disabled},fontSizeInherit:{fontSize:"inherit"},fontSizeSmall:{fontSize:e.typography.pxToRem(20)},fontSizeLarge:{fontSize:e.typography.pxToRem(35)}}},s=r.forwardRef((function(t,n){var a=t.children,s=t.classes,c=t.className,m=t.color,p=void 0===m?"inherit":m,d=t.component,f=void 0===d?"svg":d,h=t.fontSize,u=void 0===h?"default":h,v=t.htmlColor,y=t.titleAccess,S=t.viewBox,g=void 0===S?"0 0 24 24":S,x=o(t,["children","classes","className","color","component","fontSize","htmlColor","titleAccess","viewBox"]);return r.createElement(f,e({className:i(s.root,c,"inherit"!==p&&s["color".concat(l(p))],"default"!==u&&s["fontSize".concat(l(u))]),focusable:"false",viewBox:g,color:v,"aria-hidden":!y||void 0,role:y?"img":void 0,ref:n},x),a,y?r.createElement("title",null,y):null)}));"production"!==process.env.NODE_ENV&&(s.propTypes={children:t.node,classes:t.object,className:t.string,color:t.oneOf(["action","disabled","error","inherit","primary","secondary"]),component:t.elementType,fontSize:t.oneOf(["default","inherit","large","small"]),htmlColor:t.string,shapeRendering:t.string,titleAccess:t.string,viewBox:t.string}),s.muiName="SvgIcon";var c=n(a,{name:"MuiSvgIcon"})(s);export default c;export{a as styles};
//# sourceMappingURL=SvgIcon.js.map
