import o from"../ThemeProvider/nested.js";var e=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function c(){var c=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=c.disableGlobal,t=void 0!==n&&n,r=c.productionPrefix,a=void 0===r?"jss":r,i=c.seed,s=void 0===i?"":i,d=""===s?"":"".concat(s,"-"),u=0,f=function(){return u+=1,"production"!==process.env.NODE_ENV&&u>=1e10&&console.warn(["Material-UI: You might have a memory leak.","The ruleCounter is not supposed to grow that much."].join("")),u};return function(c,n){var r=n.options.name;if(r&&0===r.indexOf("Mui")&&!n.options.link&&!t){if(-1!==e.indexOf(c.key))return"Mui-".concat(c.key);var i="".concat(d).concat(r,"-").concat(c.key);return n.options.theme[o]&&""===s?"".concat(i,"-").concat(f()):i}if("production"===process.env.NODE_ENV)return"".concat(d).concat(a).concat(f());var u="".concat(c.key,"-").concat(f());return n.options.classNamePrefix?"".concat(d).concat(n.options.classNamePrefix,"-").concat(u):"".concat(d).concat(u)}}export default c;
//# sourceMappingURL=createGenerateClassName.js.map
