import{createUnarySpacing as e}from"../../../system/esm/spacing.js";var t;function n(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(n.mui)return n;var r=e({spacing:n}),o=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return"production"!==process.env.NODE_ENV&&(t.length<=4||console.error("Material-UI: Too many arguments provided, expected between 0 and 4, got ".concat(t.length))),0===t.length?r(1):1===t.length?r(t[0]):t.map((function(e){if("string"==typeof e)return e;var t=r(e);return"number"==typeof t?"".concat(t,"px"):t})).join(" ")};return Object.defineProperty(o,"unit",{get:function(){return"production"!==process.env.NODE_ENV&&(t&&"test"!==process.env.NODE_ENV||console.error(["Material-UI: theme.spacing.unit usage has been deprecated.","It will be removed in v5.","You can replace `theme.spacing.unit * y` with `theme.spacing(y)`.","","You can use the `https://github.com/mui-org/material-ui/tree/master/packages/material-ui-codemod/README.md#theme-spacing-api` migration helper to make the process smoother."].join("\n")),t=!0),n}}),o.mui=!0,o}export default n;
//# sourceMappingURL=createSpacing.js.map
