import"../../../styled-system/dist/esm/config/background.js";import"../../../styled-system/dist/esm/config/border.js";import"../../../styled-system/dist/esm/config/color.js";import"../../../styled-system/dist/esm/config/effect.js";import"../../../styled-system/dist/esm/config/filter.js";import"../../../styled-system/dist/esm/config/flexbox.js";import"../../../styled-system/dist/esm/config/grid.js";import"../../../styled-system/dist/esm/config/interactivity.js";import"../../../styled-system/dist/esm/config/layout.js";import"../../../styled-system/dist/esm/config/list.js";import"../../../styled-system/dist/esm/config/position.js";import"../../../styled-system/dist/esm/config/ring.js";import"../../../styled-system/dist/esm/config/space.js";import"../../../styled-system/dist/esm/config/text-decoration.js";import"../../../styled-system/dist/esm/config/transform.js";import"../../../styled-system/dist/esm/config/transition.js";import"../../../styled-system/dist/esm/config/typography.js";import{css as s}from"../../../styled-system/dist/esm/css.js";import{isStyleProp as t}from"../../../styled-system/dist/esm/system.js";import"../../../styled-system/dist/esm/create-theme-vars/calc.js";import e from"../../../../@emotion/styled/dist/emotion-styled.esm.js";import{shouldForwardProp as i}from"./should-forward-prop.js";import{domElements as m}from"./system.utils.js";import{objectFilter as o}from"../../../utils/dist/esm/object.js";import{runIfFn as r}from"../../../utils/dist/esm/function.js";function d(s,t){if(null==s)return{};var e,i,m={},o=Object.keys(s);for(i=0;i<o.length;i++)e=o[i],t.indexOf(e)>=0||(m[e]=s[e]);return m}var y=e=>{var{baseStyle:i}=e;return e=>{var{css:m,__css:y,sx:l}=e,n=d(e,["theme","css","__css","sx"]),c=o(n,((s,e)=>t(e))),f=r(i,e),p=Object.assign({},y,f,c,l),j=s(p)(e.theme);return m?[j,m]:j}};function l(s,t){var m=null!=t?t:{},{baseStyle:o}=m,r=d(m,["baseStyle"]);r.shouldForwardProp||(r.shouldForwardProp=i);var l=y({baseStyle:o});return e(s,r)(l)}var n=l;m.forEach((s=>{n[s]=n(s)}));export{n as chakra,l as styled,y as toCSSObject};
//# sourceMappingURL=system.js.map
