import{createUnarySpacing}from"@material-ui/system";export default function createV4Spacing(e=8){if(e.mui)return e;const n=createUnarySpacing({spacing:e});e=(...e)=>("production"!==process.env.NODE_ENV&&(e.length<=4||console.error(`Material-UI: Too many arguments provided, expected between 0 and 4, got ${e.length}`)),0===e.length?n(1):1===e.length?n(e[0]):e.map(e=>{if("string"==typeof e)return e;e=n(e);return"number"==typeof e?`${e}px`:e}).join(" "));return e.mui=!0,e}