import e from"../../../@babel/runtime/helpers/esm/typeof.js";import"../../../prop-types/index.js";var r={xs:0,sm:600,md:960,lg:1280,xl:1920},t={keys:["xs","sm","md","lg","xl"],up:function(e){return"@media (min-width:".concat(r[e],"px)")}};function n(r,n,o){if("production"!==process.env.NODE_ENV&&(r.theme||console.error("Material-UI: You are calling a style function without a theme value.")),Array.isArray(n)){var i=r.theme.breakpoints||t;return n.reduce((function(e,r,t){return e[i.up(i.keys[t])]=o(n[t]),e}),{})}if("object"===e(n)){var u=r.theme.breakpoints||t;return Object.keys(n).reduce((function(e,r){return e[u.up(r)]=o(n[r]),e}),{})}return o(n)}export{n as handleBreakpoints};
//# sourceMappingURL=breakpoints.js.map
