{"ast":null,"code":"import _objectSpread from \"C:/Users/user/Desktop/03portreact/node_modules/@babel/runtime/helpers/esm/objectSpread2.js\";\nimport _objectWithoutProperties from \"C:/Users/user/Desktop/03portreact/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js\";\nvar _excluded = [\"rest\"],\n  _excluded2 = [\"rest\"],\n  _excluded3 = [\"children\", \"className\", \"size\", \"display\"];\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport { containerPropDefs } from './container.props';\nimport { extractMarginProps, withMarginProps, extractLayoutProps, withLayoutProps, withBreakpoints } from '../helpers';\nvar Container = React.forwardRef(function (props, forwardedRef) {\n  var _extractMarginProps = extractMarginProps(props),\n    marginRest = _extractMarginProps.rest,\n    marginProps = _objectWithoutProperties(_extractMarginProps, _excluded);\n  var _extractLayoutProps = extractLayoutProps(marginRest),\n    layoutRest = _extractLayoutProps.rest,\n    layoutProps = _objectWithoutProperties(_extractLayoutProps, _excluded2);\n  var children = layoutRest.children,\n    className = layoutRest.className,\n    _layoutRest$size = layoutRest.size,\n    size = _layoutRest$size === void 0 ? containerPropDefs.size.default : _layoutRest$size,\n    _layoutRest$display = layoutRest.display,\n    display = _layoutRest$display === void 0 ? containerPropDefs.display.default : _layoutRest$display,\n    containerProps = _objectWithoutProperties(layoutRest, _excluded3);\n  return React.createElement(\"div\", _objectSpread(_objectSpread({}, containerProps), {}, {\n    ref: forwardedRef,\n    className: classNames('rt-Container', className, withBreakpoints(size, 'rt-r-size'), withBreakpoints(display, 'rt-r-display'), withLayoutProps(layoutProps), withMarginProps(marginProps))\n  }), React.createElement(\"div\", {\n    className: \"rt-ContainerInner\"\n  }, children));\n});\nContainer.displayName = 'Container';\nexport { Container };","map":{"version":3,"names":["React","classNames","containerPropDefs","extractMarginProps","withMarginProps","extractLayoutProps","withLayoutProps","withBreakpoints","Container","forwardRef","props","forwardedRef","_extractMarginProps","marginRest","rest","marginProps","_objectWithoutProperties","_excluded","_extractLayoutProps","layoutRest","layoutProps","_excluded2","children","className","_layoutRest$size","size","default","_layoutRest$display","display","containerProps","_excluded3","createElement","_objectSpread","ref","displayName"],"sources":["../../../src/components/container.tsx"],"sourcesContent":[null],"mappings":";;;;;AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,OAAOC,UAAU,MAAM,YAAY;AACnC,SAASC,iBAAiB,QAAQ,mBAAmB;AACrD,SACEC,kBAAkB,EAClBC,eAAe,EACfC,kBAAkB,EAClBC,eAAe,EACfC,eAAe,QACV,YAAY;AAWnB,IAAMC,SAAS,GAAGR,KAAK,CAACS,UAAU,CAAmC,UAACC,KAAK,EAAEC,YAAY,EAAI;EAC3F,IAAAC,mBAAA,GAA6CT,kBAAkB,CAACO,KAAK,CAAC;IAAxDG,UAAU,GAAAD,mBAAA,CAAhBE,IAAI;IAAiBC,WAAW,GAAAC,wBAAA,CAAAJ,mBAAA,EAAAK,SAAA;EACxC,IAAAC,mBAAA,GAA6Cb,kBAAkB,CAACQ,UAAU,CAAC;IAA7DM,UAAU,GAAAD,mBAAA,CAAhBJ,IAAI;IAAiBM,WAAW,GAAAJ,wBAAA,CAAAE,mBAAA,EAAAG,UAAA;EACxC,IACEC,QAAQ,GAKNH,UAAU,CALZG,QAAQ;IACRC,SAAS,GAIPJ,UAAU,CAJZI,SAAS;IAAAC,gBAAA,GAIPL,UAAU,CAHZM,IAAI;IAAJA,IAAI,GAAAD,gBAAA,cAAGtB,iBAAiB,CAACuB,IAAI,CAACC,OAAO,GAAAF,gBAAA;IAAAG,mBAAA,GAGnCR,UAAU,CAFZS,OAAO;IAAPA,OAAO,GAAAD,mBAAA,cAAGzB,iBAAiB,CAAC0B,OAAO,CAACF,OAAO,GAAAC,mBAAA;IACxCE,cAAc,GAAAb,wBAAA,CACfG,UAAU,EAAAW,UAAA;EACd,OACE9B,KAAA,CAAA+B,aAAA,QAAAC,aAAA,CAAAA,aAAA,KACMH,cAAc;IAClBI,GAAG,EAAEtB,YAAY;IACjBY,SAAS,EAAEtB,UAAU,CACn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