text: (window.webpackJsonp=window.webpackJsonp||[]).push([[0],{190:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__(76);var C_Workspace_components_1_responsive_css_material_ui_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(191),react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(2),_material_ui_core_withWidth__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(687),getStyle=function getStyle(style,css){return css?style?Object(C_Workspace_components_1_responsive_css_material_ui_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_1__.a)(Object(C_Workspace_components_1_responsive_css_material_ui_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_1__.a)({},style),css):css:style},getCss=function getCss(props){switch(props.width){case"xl":if(props.xl)return consoleDebug(props.debug,props.width,"xl"),props.xl;case"lg":if(props.lg)return consoleDebug(props.debug,props.width,"lg"),props.lg;case"md":if(props.md)return consoleDebug(props.debug,props.width,"md"),props.md;case"sm":if(props.sm)return consoleDebug(props.debug,props.width,"sm"),props.sm;case"xs":default:if(props.xs)return consoleDebug(props.debug,props.width,"xs"),props.xs;consoleDebug(props.debug,props.width,"none")}},consoleDebug=function consoleDebug(debug,windowWidth,appliedWidth){debug&&console.debug("ResponsiveCssMaterialUi",{windowWidth:windowWidth,appliedWidth:appliedWidth})};__webpack_exports__.a=Object(_material_ui_core_withWidth__WEBPACK_IMPORTED_MODULE_3__.a)()((function ResponsiveCssMaterialUi(props){react__WEBPACK_IMPORTED_MODULE_2__.Children.only(props.children);var css=getCss(props),newChild=react__WEBPACK_IMPORTED_MODULE_2__.Children.map(props.children,(function(child){var style=getStyle(child.props.style,css);return react__WEBPACK_IMPORTED_MODULE_2__.cloneElement(child,{style:style})}));return react__WEBPACK_IMPORTED_MODULE_2__.createElement(react__WEBPACK_IMPORTED_MODULE_2__.Fragment,null,newChild)}))},296:function(module,exports,__webpack_require__){__webpack_require__(297),__webpack_require__(444),__webpack_require__(445),module.exports=__webpack_require__(679)},362:function(module,exports){},445:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__(127)},679:function(module,exports,__webpack_require__){"use strict";(function(module){(0,__webpack_require__(127).configure)([__webpack_require__(680)],module,!1)}).call(this,__webpack_require__(103)(module))},680:function(module,exports,__webpack_require__){var map={"./stories.tsx":681};function webpackContext(req){var id=webpackContextResolve(req);return __webpack_require__(id)}function webpackContextResolve(req){if(!__webpack_require__.o(map,req)){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}return map[req]}webpackContext.keys=function webpackContextKeys(){return Object.keys(map)},webpackContext.resolve=webpackContextResolve,module.exports=webpackContext,webpackContext.id=680},681:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),function(module){var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(2),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_src_ResponsiveCssMaterialUi__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(190),_storybook_react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(127),styles={text:{padding:20,textAlign:"center"}},xs={backgroundColor:"#ff0000"},sm={backgroundColor:"#ff6600"},md={backgroundColor:"#ffcc00"},lg={backgroundColor:"#336699"},xl={backgroundColor:"#003366"};Object(_storybook_react__WEBPACK_IMPORTED_MODULE_2__.storiesOf)("ResponsiveCssMaterialUi",module).addParameters({options:{showPanel:!1}}).add("with disabled debug",(function(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",null,react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_src_ResponsiveCssMaterialUi__WEBPACK_IMPORTED_MODULE_1__.a,{xs:xs,md:md,sm:sm,lg:lg,xl:xl},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{style:styles.text},"Text")),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",null,"Please resize the page width to see different colors for different sizes"))})).add("with enabled debug",(function(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",null,react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_src_ResponsiveCssMaterialUi__WEBPACK_IMPORTED_MODULE_1__.a,{xs:xs,md:md,sm:sm,lg:lg,xl:xl,debug:!0},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",{style:styles.text},"Text")),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",null,"Please resize the page width to see different colors for different sizes"))}))}.call(this,__webpack_require__(682)(module))}},[[296,1,2]]]);
  //# sourceMappingURL=main.b8ed8a71eaf2592588ce.bundle.js.map