import e from"../../../../@babel/runtime/helpers/esm/extends.js";import o from"../../../utils/esm/getDisplayName.js";function t(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.baseClasses,r=t.newClasses,s=t.Component;if(!r)return n;var c=e({},n);return"production"!==process.env.NODE_ENV&&"string"==typeof r?(console.error(["Material-UI: The value `".concat(r,"` ")+"provided to the classes prop of ".concat(o(s)," is incorrect."),"You might want to use the className prop instead."].join("\n")),n):(Object.keys(r).forEach((function(e){"production"!==process.env.NODE_ENV&&(!n[e]&&r[e]&&console.error(["Material-UI: The key `".concat(e,"` ")+"provided to the classes prop is not implemented in ".concat(o(s),"."),"You can only override one of the following: ".concat(Object.keys(n).join(","),".")].join("\n")),r[e]&&"string"!=typeof r[e]&&console.error(["Material-UI: The key `".concat(e,"` ")+"provided to the classes prop is not valid for ".concat(o(s),"."),"You need to provide a non empty string instead of: ".concat(r[e],".")].join("\n"))),r[e]&&(c[e]="".concat(n[e]," ").concat(r[e]))})),c)}export default t;
//# sourceMappingURL=mergeClasses.js.map
