{"version":3,"sources":["webpack:///./node_modules/material-ui/FlatButton/index.js","webpack:///./node_modules/material-ui/Snackbar/SnackbarBody.js","webpack:///./node_modules/material-ui/internal/ClickAwayListener.js","webpack:///./node_modules/material-ui/internal/EnhancedButton.js","webpack:///./node_modules/material-ui/FlatButton/FlatButton.js","webpack:///./node_modules/material-ui/Snackbar/Snackbar.js","webpack:///./node_modules/material-ui/Snackbar/index.js","webpack:///./node_modules/material-ui/FlatButton/FlatButtonLabel.js","webpack:///./node_modules/material-ui/utils/withWidth.js","webpack:///./node_modules/material-ui/utils/events.js"],"names":["Object","defineProperty","exports","value","default","undefined","obj","_FlatButton","__webpack_require__","_FlatButton2","__esModule","SnackbarBody","_extends3","_interopRequireDefault","_objectWithoutProperties3","_simpleAssign2","_react2","_propTypes2","_transitions2","_withWidth","_withWidth2","props","context","action","contentStyle","message","onActionClick","open","style","other","prepareStyles","muiTheme","styles","width","_context$muiTheme","_context$muiTheme$bas","baseTheme","_context$muiTheme$bas2","spacing","desktopGutter","desktopSubheaderHeight","fontFamily","_context$muiTheme$sna","snackbar","backgroundColor","textColor","actionColor","borderRadius","isSmall","SMALL","root","padding","height","lineHeight","maxWidth","minWidth","flexGrow","content","fontSize","color","opacity","transition","easeOut","float","marginTop","marginRight","marginLeft","getStyles","actionButton","createElement","label","onClick","propTypes","contextTypes","object","isRequired","_getPrototypeOf2","_classCallCheck3","_createClass3","_possibleConstructorReturn3","_inherits3","_react","_reactDom2","_events2","isDescendant","el","target","parentNode","clickAwayEvents","bind","callback","forEach","event","on","document","unbind","off","ClickAwayListener","_Component","_ref","_temp","_this","_ret","this","_len","arguments","length","args","Array","_key","__proto__","call","apply","concat","handleClickAway","defaultPrevented","isCurrentlyMounted","findDOMNode","documentElement","contains","onClickAway","key","prevProps","children","Component","_keycode2","_FocusRipple2","_TouchRipple2","styleInjected","listening","tabPressed","EnhancedButton","state","isKeyboardFocused","handleKeyDown","disabled","disableKeyboardFocus","handleClick","removeKeyboardFocus","onKeyDown","handleKeyUp","onKeyUp","handleBlur","cancelFocusTimeout","onBlur","handleFocus","persist","focusTimeout","setTimeout","setKeyboardFocus","onFocus","_props","keyboardFocused","setState","innerHTML","body","appendChild","injectStyle","window","button","focus","onKeyboardFocus","nextProps","clearTimeout","_props2","centerRipple","disableFocusRipple","disableTouchRipple","focusRippleColor","focusRippleOpacity","touchRippleColor","touchRippleOpacity","focusRipple","show","overflow","touchRipple","_this2","_props3","containerElement","href","tabIndex","type","enhancedButton","mergedStyles","border","boxSizing","display","WebkitTapHighlightColor","tapHighlightColor","cursor","textDecoration","margin","outline","fontWeight","position","verticalAlign","background","buttonProps","ref","node","buttonChildren","createButtonChildren","isValidElement","cloneElement","defaultProps","_colorManipulator","_EnhancedButton2","_FlatButtonLabel2","FlatButton","hovered","touch","handleKeyboardFocus","handleMouseEnter","onMouseEnter","handleMouseLeave","onMouseLeave","handleTouchStart","onTouchStart","fullWidth","hoverColor","icon","labelStyle","labelPosition","primary","rippleColor","secondary","_context$muiTheme$but","buttonHeight","buttonMinWidth","buttonTextTransform","textTransform","_context$muiTheme$fla","flatButton","buttonFilterColor","buttonColor","disabledTextColor","primaryTextColor","secondaryTextColor","_context$muiTheme$fla2","defaultTextColor","defaultHoverColor","fade","buttonHoverColor","buttonRippleColor","buttonBackgroundColor","mergedRootStyles","userSelect","textAlign","iconCloned","labelStyleIcon","iconStyles","paddingRight","paddingLeft","mergedLabelStyles","letterSpacing","labelElement","enhancedButtonChildren","muiName","_ClickAwayListener2","_SnackbarBody2","Snackbar","componentClickAway","timerTransitionId","onRequestClose","setAutoHideTimer","setTransitionTimer","timerOneAtTheTimeId","prevState","timerAutoHideId","_this3","autoHideDuration","_this4","bodyStyle","_state","zIndex","left","bottom","visibility","transform","_Snackbar","_Snackbar2","FlatButtonLabel","desktopGutterLess","LARGE","MEDIUM","options","_options$largeWidth","largeWidth","_options$mediumWidth","mediumWidth","_options$resizeInterv","resizeInterval","MyComponent","WithWidth","handleResize","deferTimer","updateWidth","innerWidth","_reactEventListener2","onResize","once","typeArray","split","recursiveFunction","removeEventListener","i","addEventListener","attachEvent","detachEvent","isKeyboard","indexOf"],"mappings":"kHAEAA,OAAAC,eAAAC,EAAA,cACAC,OAAA,IAEAD,EAAAE,aAAAC,EAEA,IAIAC,EAJAC,EAAkBC,EAAQ,QAE1BC,GAEAH,EAFAC,IAEsCD,EAAAI,WAAAJ,EAAA,CAAuCF,QAAAE,GAE7EJ,EAAAE,QAAAK,EAAAL,6CCXAJ,OAAAC,eAAAC,EAAA,cACAC,OAAA,IAEAD,EAAAS,kBAAAN,EAEA,IAEAO,EAAAC,EAFgBL,EAAQ,SAMxBM,EAAAD,EAFgCL,EAAQ,SAMxCO,EAAAF,EAFoBL,EAAQ,SAM5BQ,EAAAH,EAFaL,EAAQ,SAMrBS,EAAAJ,EAFiBL,EAAQ,SAMzBU,EAAAL,EAFmBL,EAAQ,SAI3BW,EAAiBX,EAAQ,QAEzBY,EAAAP,EAAAM,GAIAV,EAAAI,EAFkBL,EAAQ,SAI1B,SAAAK,EAAAP,GAAsC,OAAAA,KAAAI,WAAAJ,EAAA,CAAuCF,QAAAE,GAoD7E,IAAAK,EAAA,SAAAU,EAAAC,GACA,IAAAC,EAAAF,EAAAE,OACAC,EAAAH,EAAAG,aACAC,EAAAJ,EAAAI,QAEAC,GADAL,EAAAM,KACAN,EAAAK,eACAE,EAAAP,EAAAO,MACAC,GAAA,EAAAf,EAAAV,SAAAiB,EAAA,oEACAS,EAAAR,EAAAS,SAAAD,cAEAE,EA5DA,SAAAX,EAAAC,GACA,IAAAK,EAAAN,EAAAM,KACAM,EAAAZ,EAAAY,MACAC,EAAAZ,EAAAS,SACAI,EAAAD,EAAAE,UACAC,EAAAF,EAAAG,QACAC,EAAAF,EAAAE,cACAC,EAAAH,EAAAG,uBACAC,EAAAN,EAAAM,WACAC,EAAAR,EAAAS,SACAC,EAAAF,EAAAE,gBACAC,EAAAH,EAAAG,UACAC,EAAAJ,EAAAI,YACAC,EAAAb,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F,KAAA0H,GACArN,EAAAE,IAGAqN,EAAAJ,EAAAnM,OAAA,EAAsCuM,GAAA,EAAQA,IAC9C1M,KAAAV,GAAAR,EAAAwN,EAAAI,GAAAF,IAGAlN,GAAA,SAAAR,EAAAgG,EAAA3F,GACAL,EAAA6N,iBACA7N,EAAA6N,iBAAA7H,EAAA3F,GAGAL,EAAA8N,YAAA,KAAA9H,EAAA,WACA3F,EAAAqB,KAAA1B,MAIAW,IAAA,SAAAX,EAAAgG,EAAA3F,GACAL,EAAA2N,oBACA3N,EAAA2N,oBAAA3H,EAAA3F,GAGAL,EAAA+N,YAAA,KAAA/H,EAAA3F,IAGA2N,WAAA,SAAAzN,GACA,0CAAA0N,QAAA1N,EAAAyF","file":"vendors~comps/Common.chunk-a19b483bd8b320359176.js","sourcesContent":["'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = undefined;\n\nvar _FlatButton = require('./FlatButton');\n\nvar _FlatButton2 = _interopRequireDefault(_FlatButton);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _FlatButton2.default;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.SnackbarBody = undefined;\n\nvar _extends2 = require('babel-runtime/helpers/extends');\n\nvar _extends3 = _interopRequireDefault(_extends2);\n\nvar _objectWithoutProperties2 = require('babel-runtime/helpers/objectWithoutProperties');\n\nvar _objectWithoutProperties3 = _interopRequireDefault(_objectWithoutProperties2);\n\nvar _simpleAssign = require('simple-assign');\n\nvar _simpleAssign2 = _interopRequireDefault(_simpleAssign);\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _propTypes = require('prop-types');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _transitions = require('../styles/transitions');\n\nvar _transitions2 = _interopRequireDefault(_transitions);\n\nvar _withWidth = require('../utils/withWidth');\n\nvar _withWidth2 = _interopRequireDefault(_withWidth);\n\nvar _FlatButton = require('../FlatButton');\n\nvar _FlatButton2 = _interopRequireDefault(_FlatButton);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction getStyles(props, context) {\n var open = props.open,\n width = props.width;\n var _context$muiTheme = context.muiTheme,\n _context$muiTheme$bas = _context$muiTheme.baseTheme,\n _context$muiTheme$bas2 = _context$muiTheme$bas.spacing,\n desktopGutter = _context$muiTheme$bas2.desktopGutter,\n desktopSubheaderHeight = _context$muiTheme$bas2.desktopSubheaderHeight,\n fontFamily = _context$muiTheme$bas.fontFamily,\n _context$muiTheme$sna = _context$muiTheme.snackbar,\n backgroundColor = _context$muiTheme$sna.backgroundColor,\n textColor = _context$muiTheme$sna.textColor,\n actionColor = _context$muiTheme$sna.actionColor,\n borderRadius = _context$muiTheme.borderRadius;\n\n\n var isSmall = width === _withWidth.SMALL;\n\n var styles = {\n root: {\n fontFamily: fontFamily,\n backgroundColor: backgroundColor,\n padding: '0 ' + desktopGutter + 'px',\n height: desktopSubheaderHeight,\n lineHeight: desktopSubheaderHeight + 'px',\n borderRadius: isSmall ? 0 : borderRadius,\n maxWidth: isSmall ? 'inherit' : 568,\n minWidth: isSmall ? 'inherit' : 288,\n width: isSmall ? 'calc(100vw - ' + desktopGutter * 2 + 'px)' : 'auto',\n flexGrow: isSmall ? 1 : 0\n },\n content: {\n fontSize: 14,\n color: textColor,\n opacity: open ? 1 : 0,\n transition: open ? _transitions2.default.easeOut('500ms', 'opacity', '100ms') : _transitions2.default.easeOut('400ms', 'opacity')\n },\n action: {\n color: actionColor,\n float: 'right',\n marginTop: 6,\n marginRight: -16,\n marginLeft: desktopGutter,\n backgroundColor: 'transparent'\n }\n };\n\n return styles;\n}\n\nvar SnackbarBody = function SnackbarBody(props, context) {\n var action = props.action,\n contentStyle = props.contentStyle,\n message = props.message,\n open = props.open,\n onActionClick = props.onActionClick,\n style = props.style,\n other = (0, _objectWithoutProperties3.default)(props, ['action', 'contentStyle', 'message', 'open', 'onActionClick', 'style']);\n var prepareStyles = context.muiTheme.prepareStyles;\n\n var styles = getStyles(props, context);\n\n var actionButton = action && _react2.default.createElement(_FlatButton2.default, {\n style: styles.action,\n label: action,\n onClick: onActionClick\n });\n\n return _react2.default.createElement(\n 'div',\n (0, _extends3.default)({}, other, { style: prepareStyles((0, _simpleAssign2.default)(styles.root, style)) }),\n _react2.default.createElement(\n 'div',\n { style: prepareStyles((0, _simpleAssign2.default)(styles.content, contentStyle)) },\n _react2.default.createElement(\n 'span',\n null,\n message\n ),\n actionButton\n )\n );\n};\n\nexports.SnackbarBody = SnackbarBody;\nSnackbarBody.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /**\n * The label for the action on the snackbar.\n */\n action: _propTypes2.default.node,\n /**\n * Override the inline-styles of the content element.\n */\n contentStyle: _propTypes2.default.object,\n /**\n * The message to be displayed.\n *\n * (Note: If the message is an element or array, and the `Snackbar` may re-render while it is still open,\n * ensure that the same object remains as the `message` property if you want to avoid the `Snackbar` hiding and\n * showing again)\n */\n message: _propTypes2.default.node.isRequired,\n /**\n * Fired when the action button is clicked.\n *\n * @param {object} event Action button event.\n */\n onActionClick: _propTypes2.default.func,\n /**\n * @ignore\n * Controls whether the `Snackbar` is opened or not.\n */\n open: _propTypes2.default.bool.isRequired,\n /**\n * Override the inline-styles of the root element.\n */\n style: _propTypes2.default.object,\n /**\n * @ignore\n * Width of the screen.\n */\n width: _propTypes2.default.number.isRequired\n} : {};\n\nSnackbarBody.contextTypes = {\n muiTheme: _propTypes2.default.object.isRequired\n};\n\nexports.default = (0, _withWidth2.default)()(SnackbarBody);","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _getPrototypeOf = require('babel-runtime/core-js/object/get-prototype-of');\n\nvar _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);\n\nvar _classCallCheck2 = require('babel-runtime/helpers/classCallCheck');\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _createClass2 = require('babel-runtime/helpers/createClass');\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _possibleConstructorReturn2 = require('babel-runtime/helpers/possibleConstructorReturn');\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _inherits2 = require('babel-runtime/helpers/inherits');\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _react = require('react');\n\nvar _propTypes = require('prop-types');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _reactDom = require('react-dom');\n\nvar _reactDom2 = _interopRequireDefault(_reactDom);\n\nvar _events = require('../utils/events');\n\nvar _events2 = _interopRequireDefault(_events);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar isDescendant = function isDescendant(el, target) {\n if (target !== null) {\n return el === target || isDescendant(el, target.parentNode);\n }\n return false;\n};\n\nvar clickAwayEvents = ['mouseup', 'touchend'];\nvar bind = function bind(callback) {\n return clickAwayEvents.forEach(function (event) {\n return _events2.default.on(document, event, callback);\n });\n};\nvar unbind = function unbind(callback) {\n return clickAwayEvents.forEach(function (event) {\n return _events2.default.off(document, event, callback);\n });\n};\n\nvar ClickAwayListener = function (_Component) {\n (0, _inherits3.default)(ClickAwayListener, _Component);\n\n function ClickAwayListener() {\n var _ref;\n\n var _temp, _this, _ret;\n\n (0, _classCallCheck3.default)(this, ClickAwayListener);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = (0, _possibleConstructorReturn3.default)(this, (_ref = ClickAwayListener.__proto__ || (0, _getPrototypeOf2.default)(ClickAwayListener)).call.apply(_ref, [this].concat(args))), _this), _this.handleClickAway = function (event) {\n if (event.defaultPrevented) {\n return;\n }\n\n // IE11 support, which trigger the handleClickAway even after the unbind\n if (_this.isCurrentlyMounted) {\n var el = _reactDom2.default.findDOMNode(_this);\n\n if (document.documentElement.contains(event.target) && !isDescendant(el, event.target)) {\n _this.props.onClickAway(event);\n }\n }\n }, _temp), (0, _possibleConstructorReturn3.default)(_this, _ret);\n }\n\n (0, _createClass3.default)(ClickAwayListener, [{\n key: 'componentDidMount',\n value: function componentDidMount() {\n this.isCurrentlyMounted = true;\n if (this.props.onClickAway) {\n bind(this.handleClickAway);\n }\n }\n }, {\n key: 'componentDidUpdate',\n value: function componentDidUpdate(prevProps) {\n if (prevProps.onClickAway !== this.props.onClickAway) {\n unbind(this.handleClickAway);\n if (this.props.onClickAway) {\n bind(this.handleClickAway);\n }\n }\n }\n }, {\n key: 'componentWillUnmount',\n value: function componentWillUnmount() {\n this.isCurrentlyMounted = false;\n unbind(this.handleClickAway);\n }\n }, {\n key: 'render',\n value: function render() {\n return this.props.children;\n }\n }]);\n return ClickAwayListener;\n}(_react.Component);\n\nClickAwayListener.propTypes = process.env.NODE_ENV !== \"production\" ? {\n children: _propTypes2.default.element,\n onClickAway: _propTypes2.default.func\n} : {};\nexports.default = ClickAwayListener;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _extends2 = require('babel-runtime/helpers/extends');\n\nvar _extends3 = _interopRequireDefault(_extends2);\n\nvar _objectWithoutProperties2 = require('babel-runtime/helpers/objectWithoutProperties');\n\nvar _objectWithoutProperties3 = _interopRequireDefault(_objectWithoutProperties2);\n\nvar _getPrototypeOf = require('babel-runtime/core-js/object/get-prototype-of');\n\nvar _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);\n\nvar _classCallCheck2 = require('babel-runtime/helpers/classCallCheck');\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _createClass2 = require('babel-runtime/helpers/createClass');\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _possibleConstructorReturn2 = require('babel-runtime/helpers/possibleConstructorReturn');\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _inherits2 = require('babel-runtime/helpers/inherits');\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _simpleAssign = require('simple-assign');\n\nvar _simpleAssign2 = _interopRequireDefault(_simpleAssign);\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _propTypes = require('prop-types');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _events = require('../utils/events');\n\nvar _events2 = _interopRequireDefault(_events);\n\nvar _keycode = require('keycode');\n\nvar _keycode2 = _interopRequireDefault(_keycode);\n\nvar _FocusRipple = require('./FocusRipple');\n\nvar _FocusRipple2 = _interopRequireDefault(_FocusRipple);\n\nvar _TouchRipple = require('./TouchRipple');\n\nvar _TouchRipple2 = _interopRequireDefault(_TouchRipple);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar styleInjected = false;\nvar listening = false;\nvar tabPressed = false;\n\nfunction injectStyle() {\n if (!styleInjected) {\n // Remove inner padding and border in Firefox 4+.\n var style = document.createElement('style');\n style.innerHTML = '\\n button::-moz-focus-inner,\\n input::-moz-focus-inner {\\n border: 0;\\n padding: 0;\\n }\\n ';\n\n document.body.appendChild(style);\n styleInjected = true;\n }\n}\n\nfunction listenForTabPresses() {\n if (!listening) {\n _events2.default.on(window, 'keydown', function (event) {\n tabPressed = (0, _keycode2.default)(event) === 'tab';\n });\n listening = true;\n }\n}\n\nvar EnhancedButton = function (_Component) {\n (0, _inherits3.default)(EnhancedButton, _Component);\n\n function EnhancedButton() {\n var _ref;\n\n var _temp, _this, _ret;\n\n (0, _classCallCheck3.default)(this, EnhancedButton);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = (0, _possibleConstructorReturn3.default)(this, (_ref = EnhancedButton.__proto__ || (0, _getPrototypeOf2.default)(EnhancedButton)).call.apply(_ref, [this].concat(args))), _this), _this.state = {\n isKeyboardFocused: false\n }, _this.handleKeyDown = function (event) {\n if (!_this.props.disabled && !_this.props.disableKeyboardFocus) {\n if ((0, _keycode2.default)(event) === 'enter' && _this.state.isKeyboardFocused) {\n _this.handleClick(event);\n }\n if ((0, _keycode2.default)(event) === 'esc' && _this.state.isKeyboardFocused) {\n _this.removeKeyboardFocus(event);\n }\n }\n _this.props.onKeyDown(event);\n }, _this.handleKeyUp = function (event) {\n if (!_this.props.disabled && !_this.props.disableKeyboardFocus) {\n if ((0, _keycode2.default)(event) === 'space' && _this.state.isKeyboardFocused) {\n _this.handleClick(event);\n }\n }\n _this.props.onKeyUp(event);\n }, _this.handleBlur = function (event) {\n _this.cancelFocusTimeout();\n _this.removeKeyboardFocus(event);\n _this.props.onBlur(event);\n }, _this.handleFocus = function (event) {\n if (event) event.persist();\n if (!_this.props.disabled && !_this.props.disableKeyboardFocus) {\n // setTimeout is needed because the focus event fires first\n // Wait so that we can capture if this was a keyboard focus\n // or touch focus\n _this.focusTimeout = setTimeout(function () {\n if (tabPressed) {\n _this.setKeyboardFocus(event);\n tabPressed = false;\n }\n }, 150);\n\n _this.props.onFocus(event);\n }\n }, _this.handleClick = function (event) {\n _this.cancelFocusTimeout();\n if (!_this.props.disabled) {\n tabPressed = false;\n _this.removeKeyboardFocus(event);\n _this.props.onClick(event);\n }\n }, _temp), (0, _possibleConstructorReturn3.default)(_this, _ret);\n }\n\n (0, _createClass3.default)(EnhancedButton, [{\n key: 'componentWillMount',\n value: function componentWillMount() {\n var _props = this.props,\n disabled = _props.disabled,\n disableKeyboardFocus = _props.disableKeyboardFocus,\n keyboardFocused = _props.keyboardFocused;\n\n if (!disabled && keyboardFocused && !disableKeyboardFocus) {\n this.setState({ isKeyboardFocused: true });\n }\n }\n }, {\n key: 'componentDidMount',\n value: function componentDidMount() {\n injectStyle();\n listenForTabPresses();\n if (this.state.isKeyboardFocused) {\n this.button.focus();\n this.props.onKeyboardFocus(null, true);\n }\n }\n }, {\n key: 'componentWillReceiveProps',\n value: function componentWillReceiveProps(nextProps) {\n if ((nextProps.disabled || nextProps.disableKeyboardFocus) && this.state.isKeyboardFocused) {\n this.setState({ isKeyboardFocused: false });\n if (nextProps.onKeyboardFocus) {\n nextProps.onKeyboardFocus(null, false);\n }\n }\n }\n }, {\n key: 'componentWillUnmount',\n value: function componentWillUnmount() {\n if (this.focusTimeout) {\n clearTimeout(this.focusTimeout);\n }\n }\n }, {\n key: 'isKeyboardFocused',\n value: function isKeyboardFocused() {\n return this.state.isKeyboardFocused;\n }\n }, {\n key: 'removeKeyboardFocus',\n value: function removeKeyboardFocus(event) {\n if (this.state.isKeyboardFocused) {\n this.setState({ isKeyboardFocused: false });\n this.props.onKeyboardFocus(event, false);\n }\n }\n }, {\n key: 'setKeyboardFocus',\n value: function setKeyboardFocus(event) {\n if (!this.state.isKeyboardFocused) {\n this.setState({ isKeyboardFocused: true });\n this.props.onKeyboardFocus(event, true);\n }\n }\n }, {\n key: 'cancelFocusTimeout',\n value: function cancelFocusTimeout() {\n if (this.focusTimeout) {\n clearTimeout(this.focusTimeout);\n this.focusTimeout = null;\n }\n }\n }, {\n key: 'createButtonChildren',\n value: function createButtonChildren() {\n var _props2 = this.props,\n centerRipple = _props2.centerRipple,\n children = _props2.children,\n disabled = _props2.disabled,\n disableFocusRipple = _props2.disableFocusRipple,\n disableKeyboardFocus = _props2.disableKeyboardFocus,\n disableTouchRipple = _props2.disableTouchRipple,\n focusRippleColor = _props2.focusRippleColor,\n focusRippleOpacity = _props2.focusRippleOpacity,\n touchRippleColor = _props2.touchRippleColor,\n touchRippleOpacity = _props2.touchRippleOpacity;\n var isKeyboardFocused = this.state.isKeyboardFocused;\n\n // Focus Ripple\n\n var focusRipple = isKeyboardFocused && !disabled && !disableFocusRipple && !disableKeyboardFocus ? _react2.default.createElement(_FocusRipple2.default, {\n color: focusRippleColor,\n opacity: focusRippleOpacity,\n show: isKeyboardFocused,\n style: {\n overflow: 'hidden'\n },\n key: 'focusRipple'\n }) : undefined;\n\n // Touch Ripple\n var touchRipple = !disabled && !disableTouchRipple ? _react2.default.createElement(\n _TouchRipple2.default,\n {\n centerRipple: centerRipple,\n color: touchRippleColor,\n opacity: touchRippleOpacity,\n key: 'touchRipple'\n },\n children\n ) : undefined;\n\n return [focusRipple, touchRipple, touchRipple ? undefined : children];\n }\n }, {\n key: 'render',\n value: function render() {\n var _this2 = this;\n\n var _props3 = this.props,\n centerRipple = _props3.centerRipple,\n children = _props3.children,\n containerElement = _props3.containerElement,\n disabled = _props3.disabled,\n disableFocusRipple = _props3.disableFocusRipple,\n disableKeyboardFocus = _props3.disableKeyboardFocus,\n disableTouchRipple = _props3.disableTouchRipple,\n focusRippleColor = _props3.focusRippleColor,\n focusRippleOpacity = _props3.focusRippleOpacity,\n href = _props3.href,\n keyboardFocused = _props3.keyboardFocused,\n touchRippleColor = _props3.touchRippleColor,\n touchRippleOpacity = _props3.touchRippleOpacity,\n onBlur = _props3.onBlur,\n onClick = _props3.onClick,\n onFocus = _props3.onFocus,\n onKeyUp = _props3.onKeyUp,\n onKeyDown = _props3.onKeyDown,\n onKeyboardFocus = _props3.onKeyboardFocus,\n style = _props3.style,\n tabIndex = _props3.tabIndex,\n type = _props3.type,\n other = (0, _objectWithoutProperties3.default)(_props3, ['centerRipple', 'children', 'containerElement', 'disabled', 'disableFocusRipple', 'disableKeyboardFocus', 'disableTouchRipple', 'focusRippleColor', 'focusRippleOpacity', 'href', 'keyboardFocused', 'touchRippleColor', 'touchRippleOpacity', 'onBlur', 'onClick', 'onFocus', 'onKeyUp', 'onKeyDown', 'onKeyboardFocus', 'style', 'tabIndex', 'type']);\n var _context$muiTheme = this.context.muiTheme,\n prepareStyles = _context$muiTheme.prepareStyles,\n enhancedButton = _context$muiTheme.enhancedButton;\n\n\n var mergedStyles = (0, _simpleAssign2.default)({\n border: 10,\n boxSizing: 'border-box',\n display: 'inline-block',\n fontFamily: this.context.muiTheme.baseTheme.fontFamily,\n WebkitTapHighlightColor: enhancedButton.tapHighlightColor, // Remove mobile color flashing (deprecated)\n cursor: disabled ? 'default' : 'pointer',\n textDecoration: 'none',\n margin: 0,\n padding: 0,\n outline: 'none',\n fontSize: 'inherit',\n fontWeight: 'inherit',\n position: 'relative', // This is needed so that ripples do not bleed past border radius.\n verticalAlign: href ? 'middle' : null\n }, style);\n\n // Passing both background:none & backgroundColor can break due to object iteration order\n if (!mergedStyles.backgroundColor && !mergedStyles.background) {\n mergedStyles.background = 'none';\n }\n\n if (disabled && href) {\n return _react2.default.createElement(\n 'span',\n (0, _extends3.default)({}, other, {\n style: mergedStyles\n }),\n children\n );\n }\n\n var buttonProps = (0, _extends3.default)({}, other, {\n style: prepareStyles(mergedStyles),\n ref: function ref(node) {\n return _this2.button = node;\n },\n disabled: disabled,\n onBlur: this.handleBlur,\n onFocus: this.handleFocus,\n onKeyUp: this.handleKeyUp,\n onKeyDown: this.handleKeyDown,\n onClick: this.handleClick,\n tabIndex: disabled || disableKeyboardFocus ? -1 : tabIndex\n });\n\n if (href) buttonProps.href = href;\n\n var buttonChildren = this.createButtonChildren();\n\n if (_react2.default.isValidElement(containerElement)) {\n return _react2.default.cloneElement(containerElement, buttonProps, buttonChildren);\n }\n\n if (!href && containerElement === 'button') {\n buttonProps.type = type;\n }\n\n return _react2.default.createElement(href ? 'a' : containerElement, buttonProps, buttonChildren);\n }\n }]);\n return EnhancedButton;\n}(_react.Component);\n\nEnhancedButton.defaultProps = {\n containerElement: 'button',\n onBlur: function onBlur() {},\n onClick: function onClick() {},\n onFocus: function onFocus() {},\n onKeyDown: function onKeyDown() {},\n onKeyUp: function onKeyUp() {},\n onKeyboardFocus: function onKeyboardFocus() {},\n tabIndex: 0,\n type: 'button'\n};\nEnhancedButton.contextTypes = {\n muiTheme: _propTypes2.default.object.isRequired\n};\nEnhancedButton.propTypes = process.env.NODE_ENV !== \"production\" ? {\n centerRipple: _propTypes2.default.bool,\n children: _propTypes2.default.node,\n containerElement: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.element]),\n disableFocusRipple: _propTypes2.default.bool,\n disableKeyboardFocus: _propTypes2.default.bool,\n disableTouchRipple: _propTypes2.default.bool,\n disabled: _propTypes2.default.bool,\n focusRippleColor: _propTypes2.default.string,\n focusRippleOpacity: _propTypes2.default.number,\n href: _propTypes2.default.string,\n keyboardFocused: _propTypes2.default.bool,\n onBlur: _propTypes2.default.func,\n onClick: _propTypes2.default.func,\n onFocus: _propTypes2.default.func,\n onKeyDown: _propTypes2.default.func,\n onKeyUp: _propTypes2.default.func,\n onKeyboardFocus: _propTypes2.default.func,\n style: _propTypes2.default.object,\n tabIndex: _propTypes2.default.number,\n touchRippleColor: _propTypes2.default.string,\n touchRippleOpacity: _propTypes2.default.number,\n type: _propTypes2.default.string\n} : {};\nexports.default = EnhancedButton;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _extends2 = require('babel-runtime/helpers/extends');\n\nvar _extends3 = _interopRequireDefault(_extends2);\n\nvar _objectWithoutProperties2 = require('babel-runtime/helpers/objectWithoutProperties');\n\nvar _objectWithoutProperties3 = _interopRequireDefault(_objectWithoutProperties2);\n\nvar _getPrototypeOf = require('babel-runtime/core-js/object/get-prototype-of');\n\nvar _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);\n\nvar _classCallCheck2 = require('babel-runtime/helpers/classCallCheck');\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _createClass2 = require('babel-runtime/helpers/createClass');\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _possibleConstructorReturn2 = require('babel-runtime/helpers/possibleConstructorReturn');\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _inherits2 = require('babel-runtime/helpers/inherits');\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _simpleAssign = require('simple-assign');\n\nvar _simpleAssign2 = _interopRequireDefault(_simpleAssign);\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _propTypes = require('prop-types');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _transitions = require('../styles/transitions');\n\nvar _transitions2 = _interopRequireDefault(_transitions);\n\nvar _colorManipulator = require('../utils/colorManipulator');\n\nvar _EnhancedButton = require('../internal/EnhancedButton');\n\nvar _EnhancedButton2 = _interopRequireDefault(_EnhancedButton);\n\nvar _FlatButtonLabel = require('./FlatButtonLabel');\n\nvar _FlatButtonLabel2 = _interopRequireDefault(_FlatButtonLabel);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction validateLabel(props, propName, componentName) {\n if (process.env.NODE_ENV !== 'production') {\n if (!props.children && props.label !== 0 && !props.label && !props.icon) {\n return new Error('Required prop label or children or icon was not specified in ' + componentName + '.');\n }\n }\n}\n\nvar FlatButton = function (_Component) {\n (0, _inherits3.default)(FlatButton, _Component);\n\n function FlatButton() {\n var _ref;\n\n var _temp, _this, _ret;\n\n (0, _classCallCheck3.default)(this, FlatButton);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = (0, _possibleConstructorReturn3.default)(this, (_ref = FlatButton.__proto__ || (0, _getPrototypeOf2.default)(FlatButton)).call.apply(_ref, [this].concat(args))), _this), _this.state = {\n hovered: false,\n isKeyboardFocused: false,\n touch: false\n }, _this.handleKeyboardFocus = function (event, isKeyboardFocused) {\n _this.setState({ isKeyboardFocused: isKeyboardFocused });\n _this.props.onKeyboardFocus(event, isKeyboardFocused);\n }, _this.handleMouseEnter = function (event) {\n // Cancel hover styles for touch devices\n if (!_this.state.touch) _this.setState({ hovered: true });\n _this.props.onMouseEnter(event);\n }, _this.handleMouseLeave = function (event) {\n _this.setState({ hovered: false });\n _this.props.onMouseLeave(event);\n }, _this.handleTouchStart = function (event) {\n _this.setState({ touch: true });\n _this.props.onTouchStart(event);\n }, _temp), (0, _possibleConstructorReturn3.default)(_this, _ret);\n }\n\n (0, _createClass3.default)(FlatButton, [{\n key: 'componentWillReceiveProps',\n value: function componentWillReceiveProps(nextProps) {\n if (nextProps.disabled) {\n this.setState({\n hovered: false\n });\n }\n }\n }, {\n key: 'render',\n value: function render() {\n var _props = this.props,\n backgroundColor = _props.backgroundColor,\n children = _props.children,\n disabled = _props.disabled,\n fullWidth = _props.fullWidth,\n hoverColor = _props.hoverColor,\n icon = _props.icon,\n label = _props.label,\n labelStyle = _props.labelStyle,\n labelPosition = _props.labelPosition,\n primary = _props.primary,\n rippleColor = _props.rippleColor,\n secondary = _props.secondary,\n style = _props.style,\n other = (0, _objectWithoutProperties3.default)(_props, ['backgroundColor', 'children', 'disabled', 'fullWidth', 'hoverColor', 'icon', 'label', 'labelStyle', 'labelPosition', 'primary', 'rippleColor', 'secondary', 'style']);\n var _context$muiTheme = this.context.muiTheme,\n borderRadius = _context$muiTheme.borderRadius,\n _context$muiTheme$but = _context$muiTheme.button,\n buttonHeight = _context$muiTheme$but.height,\n buttonMinWidth = _context$muiTheme$but.minWidth,\n buttonTextTransform = _context$muiTheme$but.textTransform,\n _context$muiTheme$fla = _context$muiTheme.flatButton,\n buttonFilterColor = _context$muiTheme$fla.buttonFilterColor,\n buttonColor = _context$muiTheme$fla.color,\n disabledTextColor = _context$muiTheme$fla.disabledTextColor,\n fontSize = _context$muiTheme$fla.fontSize,\n fontWeight = _context$muiTheme$fla.fontWeight,\n primaryTextColor = _context$muiTheme$fla.primaryTextColor,\n secondaryTextColor = _context$muiTheme$fla.secondaryTextColor,\n textColor = _context$muiTheme$fla.textColor,\n _context$muiTheme$fla2 = _context$muiTheme$fla.textTransform,\n textTransform = _context$muiTheme$fla2 === undefined ? buttonTextTransform || 'uppercase' : _context$muiTheme$fla2;\n\n var defaultTextColor = disabled ? disabledTextColor : primary ? primaryTextColor : secondary ? secondaryTextColor : textColor;\n\n var defaultHoverColor = (0, _colorManipulator.fade)(buttonFilterColor, 0.2);\n var defaultRippleColor = buttonFilterColor;\n var buttonHoverColor = hoverColor || defaultHoverColor;\n var buttonRippleColor = rippleColor || defaultRippleColor;\n var buttonBackgroundColor = backgroundColor || buttonColor;\n var hovered = (this.state.hovered || this.state.isKeyboardFocused) && !disabled;\n\n var mergedRootStyles = (0, _simpleAssign2.default)({}, {\n height: buttonHeight,\n lineHeight: buttonHeight + 'px',\n minWidth: fullWidth ? '100%' : buttonMinWidth,\n color: defaultTextColor,\n transition: _transitions2.default.easeOut(),\n borderRadius: borderRadius,\n userSelect: 'none',\n overflow: 'hidden',\n backgroundColor: hovered ? buttonHoverColor : buttonBackgroundColor,\n padding: 0,\n margin: 0,\n textAlign: 'center'\n }, style);\n\n var iconCloned = void 0;\n var labelStyleIcon = {};\n\n if (icon) {\n var iconStyles = (0, _simpleAssign2.default)({\n verticalAlign: 'middle',\n marginLeft: label && labelPosition !== 'before' ? 12 : 0,\n marginRight: label && labelPosition === 'before' ? 12 : 0\n }, icon.props.style);\n iconCloned = _react2.default.cloneElement(icon, {\n color: icon.props.color || mergedRootStyles.color,\n style: iconStyles,\n key: 'iconCloned'\n });\n\n if (labelPosition === 'before') {\n labelStyleIcon.paddingRight = 8;\n } else {\n labelStyleIcon.paddingLeft = 8;\n }\n }\n\n var mergedLabelStyles = (0, _simpleAssign2.default)({\n letterSpacing: 0,\n textTransform: textTransform,\n fontWeight: fontWeight,\n fontSize: fontSize\n }, labelStyleIcon, labelStyle);\n\n var labelElement = label ? _react2.default.createElement(_FlatButtonLabel2.default, { key: 'labelElement', label: label, style: mergedLabelStyles }) : undefined;\n\n // Place label before or after children.\n var enhancedButtonChildren = labelPosition === 'before' ? [labelElement, iconCloned, children] : [children, iconCloned, labelElement];\n\n return _react2.default.createElement(\n _EnhancedButton2.default,\n (0, _extends3.default)({}, other, {\n disabled: disabled,\n focusRippleColor: buttonRippleColor,\n focusRippleOpacity: 0.3,\n onKeyboardFocus: this.handleKeyboardFocus,\n onMouseLeave: this.handleMouseLeave,\n onMouseEnter: this.handleMouseEnter,\n onTouchStart: this.handleTouchStart,\n style: mergedRootStyles,\n touchRippleColor: buttonRippleColor,\n touchRippleOpacity: 0.3\n }),\n enhancedButtonChildren\n );\n }\n }]);\n return FlatButton;\n}(_react.Component);\n\nFlatButton.muiName = 'FlatButton';\nFlatButton.defaultProps = {\n disabled: false,\n fullWidth: false,\n labelStyle: {},\n labelPosition: 'after',\n onKeyboardFocus: function onKeyboardFocus() {},\n onMouseEnter: function onMouseEnter() {},\n onMouseLeave: function onMouseLeave() {},\n onTouchStart: function onTouchStart() {},\n primary: false,\n secondary: false\n};\nFlatButton.contextTypes = {\n muiTheme: _propTypes2.default.object.isRequired\n};\nFlatButton.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /**\n * Color of button when mouse is not hovering over it.\n */\n backgroundColor: _propTypes2.default.string,\n /**\n * This is what will be displayed inside the button.\n * If a label is specified, the text within the label prop will\n * be displayed. Otherwise, the component will expect children\n * which will then be displayed. (In our example,\n * we are nesting an `` and a `span`\n * that acts as our label to be displayed.) This only\n * applies to flat and raised buttons.\n */\n children: _propTypes2.default.node,\n /**\n * The CSS class name of the root element.\n */\n className: _propTypes2.default.string,\n /**\n * The element to use as the container for the FlatButton. Either a string to\n * use a DOM element or a ReactElement. This is useful for wrapping the\n * FlatButton in a custom Link component. If a ReactElement is given, ensure\n * that it passes all of its given props through to the underlying DOM\n * element and renders its children prop for proper integration.\n */\n containerElement: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.element]),\n /**\n * If true, the element's ripple effect will be disabled.\n */\n disableTouchRipple: _propTypes2.default.bool,\n /**\n * Disables the button if set to true.\n */\n disabled: _propTypes2.default.bool,\n /**\n * If true, the button will take up the full width of its container.\n */\n fullWidth: _propTypes2.default.bool,\n /**\n * Color of button when mouse hovers over.\n */\n hoverColor: _propTypes2.default.string,\n /**\n * The URL to link to when the button is clicked.\n */\n href: _propTypes2.default.string,\n /**\n * Use this property to display an icon.\n */\n icon: _propTypes2.default.node,\n /**\n * Label for the button.\n */\n label: validateLabel,\n /**\n * Place label before or after the passed children.\n */\n labelPosition: _propTypes2.default.oneOf(['before', 'after']),\n /**\n * Override the inline-styles of the button's label element.\n */\n labelStyle: _propTypes2.default.object,\n /**\n * Callback function fired when the button is clicked.\n *\n * @param {object} event Click event targeting the button.\n */\n onClick: _propTypes2.default.func,\n /**\n * Callback function fired when the element is focused or blurred by the keyboard.\n *\n * @param {object} event `focus` or `blur` event targeting the element.\n * @param {boolean} isKeyboardFocused Indicates whether the element is focused.\n */\n onKeyboardFocus: _propTypes2.default.func,\n /** @ignore */\n onMouseEnter: _propTypes2.default.func,\n /** @ignore */\n onMouseLeave: _propTypes2.default.func,\n /** @ignore */\n onTouchStart: _propTypes2.default.func,\n /**\n * If true, colors button according to\n * primaryTextColor from the Theme.\n */\n primary: _propTypes2.default.bool,\n /**\n * Color for the ripple after button is clicked.\n */\n rippleColor: _propTypes2.default.string,\n /**\n * If true, colors button according to secondaryTextColor from the theme.\n * The primary prop has precendent if set to true.\n */\n secondary: _propTypes2.default.bool,\n /**\n * Override the inline-styles of the root element.\n */\n style: _propTypes2.default.object\n} : {};\nexports.default = FlatButton;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _extends2 = require('babel-runtime/helpers/extends');\n\nvar _extends3 = _interopRequireDefault(_extends2);\n\nvar _objectWithoutProperties2 = require('babel-runtime/helpers/objectWithoutProperties');\n\nvar _objectWithoutProperties3 = _interopRequireDefault(_objectWithoutProperties2);\n\nvar _getPrototypeOf = require('babel-runtime/core-js/object/get-prototype-of');\n\nvar _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);\n\nvar _classCallCheck2 = require('babel-runtime/helpers/classCallCheck');\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _createClass2 = require('babel-runtime/helpers/createClass');\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _possibleConstructorReturn2 = require('babel-runtime/helpers/possibleConstructorReturn');\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _inherits2 = require('babel-runtime/helpers/inherits');\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _simpleAssign = require('simple-assign');\n\nvar _simpleAssign2 = _interopRequireDefault(_simpleAssign);\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _propTypes = require('prop-types');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _transitions = require('../styles/transitions');\n\nvar _transitions2 = _interopRequireDefault(_transitions);\n\nvar _ClickAwayListener = require('../internal/ClickAwayListener');\n\nvar _ClickAwayListener2 = _interopRequireDefault(_ClickAwayListener);\n\nvar _SnackbarBody = require('./SnackbarBody');\n\nvar _SnackbarBody2 = _interopRequireDefault(_SnackbarBody);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction getStyles(props, context, state) {\n var _context$muiTheme = context.muiTheme,\n desktopSubheaderHeight = _context$muiTheme.baseTheme.spacing.desktopSubheaderHeight,\n zIndex = _context$muiTheme.zIndex;\n var open = state.open;\n\n\n var styles = {\n root: {\n position: 'fixed',\n left: '50%',\n display: 'flex',\n bottom: 0,\n zIndex: zIndex.snackbar,\n visibility: open ? 'visible' : 'hidden',\n transform: open ? 'translate(-50%, 0)' : 'translate(-50%, ' + desktopSubheaderHeight + 'px)',\n transition: _transitions2.default.easeOut('400ms', 'transform') + ', ' + _transitions2.default.easeOut('400ms', 'visibility')\n }\n };\n\n return styles;\n}\n\nvar Snackbar = function (_Component) {\n (0, _inherits3.default)(Snackbar, _Component);\n\n function Snackbar() {\n var _ref;\n\n var _temp, _this, _ret;\n\n (0, _classCallCheck3.default)(this, Snackbar);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = (0, _possibleConstructorReturn3.default)(this, (_ref = Snackbar.__proto__ || (0, _getPrototypeOf2.default)(Snackbar)).call.apply(_ref, [this].concat(args))), _this), _this.componentClickAway = function () {\n if (_this.timerTransitionId) {\n // If transitioning, don't close the snackbar.\n return;\n }\n\n if (_this.props.open !== null && _this.props.onRequestClose) {\n _this.props.onRequestClose('clickaway');\n } else {\n _this.setState({ open: false });\n }\n }, _temp), (0, _possibleConstructorReturn3.default)(_this, _ret);\n }\n\n (0, _createClass3.default)(Snackbar, [{\n key: 'componentWillMount',\n value: function componentWillMount() {\n this.setState({\n open: this.props.open,\n message: this.props.message,\n action: this.props.action\n });\n }\n }, {\n key: 'componentDidMount',\n value: function componentDidMount() {\n if (this.state.open) {\n this.setAutoHideTimer();\n this.setTransitionTimer();\n }\n }\n }, {\n key: 'componentWillReceiveProps',\n value: function componentWillReceiveProps(nextProps) {\n var _this2 = this;\n\n if (this.props.open && nextProps.open && (nextProps.message !== this.props.message || nextProps.action !== this.props.action)) {\n this.setState({\n open: false\n });\n\n clearTimeout(this.timerOneAtTheTimeId);\n this.timerOneAtTheTimeId = setTimeout(function () {\n _this2.setState({\n message: nextProps.message,\n action: nextProps.action,\n open: true\n });\n }, 400);\n } else {\n var open = nextProps.open;\n\n this.setState({\n open: open !== null ? open : this.state.open,\n message: nextProps.message,\n action: nextProps.action\n });\n }\n }\n }, {\n key: 'componentDidUpdate',\n value: function componentDidUpdate(prevProps, prevState) {\n if (prevState.open !== this.state.open) {\n if (this.state.open) {\n this.setAutoHideTimer();\n this.setTransitionTimer();\n } else {\n clearTimeout(this.timerAutoHideId);\n }\n }\n }\n }, {\n key: 'componentWillUnmount',\n value: function componentWillUnmount() {\n clearTimeout(this.timerAutoHideId);\n clearTimeout(this.timerTransitionId);\n clearTimeout(this.timerOneAtTheTimeId);\n }\n }, {\n key: 'setAutoHideTimer',\n\n\n // Timer that controls delay before snackbar auto hides\n value: function setAutoHideTimer() {\n var _this3 = this;\n\n var autoHideDuration = this.props.autoHideDuration;\n\n if (autoHideDuration > 0) {\n clearTimeout(this.timerAutoHideId);\n this.timerAutoHideId = setTimeout(function () {\n if (_this3.props.open !== null && _this3.props.onRequestClose) {\n _this3.props.onRequestClose('timeout');\n } else {\n _this3.setState({ open: false });\n }\n }, autoHideDuration);\n }\n }\n\n // Timer that controls delay before click-away events are captured (based on when animation completes)\n\n }, {\n key: 'setTransitionTimer',\n value: function setTransitionTimer() {\n var _this4 = this;\n\n this.timerTransitionId = setTimeout(function () {\n _this4.timerTransitionId = undefined;\n }, 400);\n }\n }, {\n key: 'render',\n value: function render() {\n var _props = this.props,\n autoHideDuration = _props.autoHideDuration,\n contentStyle = _props.contentStyle,\n bodyStyle = _props.bodyStyle,\n messageProp = _props.message,\n onRequestClose = _props.onRequestClose,\n onActionClick = _props.onActionClick,\n style = _props.style,\n other = (0, _objectWithoutProperties3.default)(_props, ['autoHideDuration', 'contentStyle', 'bodyStyle', 'message', 'onRequestClose', 'onActionClick', 'style']);\n var _state = this.state,\n action = _state.action,\n message = _state.message,\n open = _state.open;\n var prepareStyles = this.context.muiTheme.prepareStyles;\n\n var styles = getStyles(this.props, this.context, this.state);\n\n return _react2.default.createElement(\n _ClickAwayListener2.default,\n { onClickAway: open ? this.componentClickAway : null },\n _react2.default.createElement(\n 'div',\n (0, _extends3.default)({}, other, { style: prepareStyles((0, _simpleAssign2.default)(styles.root, style)) }),\n _react2.default.createElement(_SnackbarBody2.default, {\n action: action,\n contentStyle: contentStyle,\n message: message,\n open: open,\n onActionClick: onActionClick,\n style: bodyStyle\n })\n )\n );\n }\n }]);\n return Snackbar;\n}(_react.Component);\n\nSnackbar.contextTypes = {\n muiTheme: _propTypes2.default.object.isRequired\n};\nSnackbar.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /**\n * The label for the action on the snackbar.\n */\n action: _propTypes2.default.node,\n /**\n * The number of milliseconds to wait before automatically dismissing.\n * If no value is specified the snackbar will dismiss normally.\n * If a value is provided the snackbar can still be dismissed normally.\n * If a snackbar is dismissed before the timer expires, the timer will be cleared.\n */\n autoHideDuration: _propTypes2.default.number,\n /**\n * Override the inline-styles of the body element.\n */\n bodyStyle: _propTypes2.default.object,\n /**\n * The css class name of the root element.\n */\n className: _propTypes2.default.string,\n /**\n * Override the inline-styles of the content element.\n */\n contentStyle: _propTypes2.default.object,\n /**\n * The message to be displayed.\n *\n * (Note: If the message is an element or array, and the `Snackbar` may re-render while it is still open,\n * ensure that the same object remains as the `message` property if you want to avoid the `Snackbar` hiding and\n * showing again)\n */\n message: _propTypes2.default.node.isRequired,\n /**\n * Fired when the action button is clicked.\n *\n * @param {object} event Action button event.\n */\n onActionClick: _propTypes2.default.func,\n /**\n * Fired when the `Snackbar` is requested to be closed by a click outside the `Snackbar`, or after the\n * `autoHideDuration` timer expires.\n *\n * Typically `onRequestClose` is used to set state in the parent component, which is used to control the `Snackbar`\n * `open` prop.\n *\n * The `reason` parameter can optionally be used to control the response to `onRequestClose`,\n * for example ignoring `clickaway`.\n *\n * @param {string} reason Can be:`\"timeout\"` (`autoHideDuration` expired) or: `\"clickaway\"`\n */\n onRequestClose: _propTypes2.default.func,\n /**\n * Controls whether the `Snackbar` is opened or not.\n */\n open: _propTypes2.default.bool.isRequired,\n /**\n * Override the inline-styles of the root element.\n */\n style: _propTypes2.default.object\n} : {};\nexports.default = Snackbar;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = undefined;\n\nvar _Snackbar = require('./Snackbar');\n\nvar _Snackbar2 = _interopRequireDefault(_Snackbar);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _Snackbar2.default;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _getPrototypeOf = require('babel-runtime/core-js/object/get-prototype-of');\n\nvar _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);\n\nvar _classCallCheck2 = require('babel-runtime/helpers/classCallCheck');\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _createClass2 = require('babel-runtime/helpers/createClass');\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _possibleConstructorReturn2 = require('babel-runtime/helpers/possibleConstructorReturn');\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _inherits2 = require('babel-runtime/helpers/inherits');\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _simpleAssign = require('simple-assign');\n\nvar _simpleAssign2 = _interopRequireDefault(_simpleAssign);\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _propTypes = require('prop-types');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction getStyles(props, context) {\n var baseTheme = context.muiTheme.baseTheme;\n\n\n return {\n root: {\n position: 'relative',\n paddingLeft: baseTheme.spacing.desktopGutterLess,\n paddingRight: baseTheme.spacing.desktopGutterLess,\n verticalAlign: 'middle'\n }\n };\n}\n\nvar FlatButtonLabel = function (_Component) {\n (0, _inherits3.default)(FlatButtonLabel, _Component);\n\n function FlatButtonLabel() {\n (0, _classCallCheck3.default)(this, FlatButtonLabel);\n return (0, _possibleConstructorReturn3.default)(this, (FlatButtonLabel.__proto__ || (0, _getPrototypeOf2.default)(FlatButtonLabel)).apply(this, arguments));\n }\n\n (0, _createClass3.default)(FlatButtonLabel, [{\n key: 'render',\n value: function render() {\n var _props = this.props,\n label = _props.label,\n style = _props.style;\n var prepareStyles = this.context.muiTheme.prepareStyles;\n\n var styles = getStyles(this.props, this.context);\n\n return _react2.default.createElement(\n 'span',\n { style: prepareStyles((0, _simpleAssign2.default)(styles.root, style)) },\n label\n );\n }\n }]);\n return FlatButtonLabel;\n}(_react.Component);\n\nFlatButtonLabel.contextTypes = {\n muiTheme: _propTypes2.default.object.isRequired\n};\nFlatButtonLabel.propTypes = process.env.NODE_ENV !== \"production\" ? {\n label: _propTypes2.default.node,\n style: _propTypes2.default.object\n} : {};\nexports.default = FlatButtonLabel;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.LARGE = exports.MEDIUM = exports.SMALL = undefined;\n\nvar _extends2 = require('babel-runtime/helpers/extends');\n\nvar _extends3 = _interopRequireDefault(_extends2);\n\nvar _getPrototypeOf = require('babel-runtime/core-js/object/get-prototype-of');\n\nvar _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);\n\nvar _classCallCheck2 = require('babel-runtime/helpers/classCallCheck');\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _createClass2 = require('babel-runtime/helpers/createClass');\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _possibleConstructorReturn2 = require('babel-runtime/helpers/possibleConstructorReturn');\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _inherits2 = require('babel-runtime/helpers/inherits');\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nexports.default = withWidth;\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _reactEventListener = require('react-event-listener');\n\nvar _reactEventListener2 = _interopRequireDefault(_reactEventListener);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar SMALL = exports.SMALL = 1;\nvar MEDIUM = exports.MEDIUM = 2;\nvar LARGE = exports.LARGE = 3;\n\nfunction withWidth() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var _options$largeWidth = options.largeWidth,\n largeWidth = _options$largeWidth === undefined ? 992 : _options$largeWidth,\n _options$mediumWidth = options.mediumWidth,\n mediumWidth = _options$mediumWidth === undefined ? 768 : _options$mediumWidth,\n _options$resizeInterv = options.resizeInterval,\n resizeInterval = _options$resizeInterv === undefined ? 166 : _options$resizeInterv;\n\n\n return function (MyComponent) {\n return function (_Component) {\n (0, _inherits3.default)(WithWidth, _Component);\n\n function WithWidth() {\n var _ref;\n\n var _temp, _this, _ret;\n\n (0, _classCallCheck3.default)(this, WithWidth);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = (0, _possibleConstructorReturn3.default)(this, (_ref = WithWidth.__proto__ || (0, _getPrototypeOf2.default)(WithWidth)).call.apply(_ref, [this].concat(args))), _this), _this.state = {\n width: null\n }, _this.handleResize = function () {\n clearTimeout(_this.deferTimer);\n _this.deferTimer = setTimeout(function () {\n _this.updateWidth();\n }, resizeInterval);\n }, _temp), (0, _possibleConstructorReturn3.default)(_this, _ret);\n }\n\n (0, _createClass3.default)(WithWidth, [{\n key: 'componentDidMount',\n value: function componentDidMount() {\n this.updateWidth();\n }\n }, {\n key: 'componentWillUnmount',\n value: function componentWillUnmount() {\n clearTimeout(this.deferTimer);\n }\n }, {\n key: 'updateWidth',\n value: function updateWidth() {\n var innerWidth = window.innerWidth;\n var width = void 0;\n\n if (innerWidth >= largeWidth) {\n width = LARGE;\n } else if (innerWidth >= mediumWidth) {\n width = MEDIUM;\n } else {\n // innerWidth < 768\n width = SMALL;\n }\n\n if (width !== this.state.width) {\n this.setState({\n width: width\n });\n }\n }\n }, {\n key: 'render',\n value: function render() {\n var width = this.state.width;\n\n /**\n * When rendering the component on the server,\n * we have no idea about the screen width.\n * In order to prevent blinks and help the reconciliation\n * we are not rendering the component.\n *\n * A better alternative would be to send client hints.\n * But the browser support of this API is low:\n * http://caniuse.com/#search=client%20hint\n */\n if (width === null) {\n return null;\n }\n\n return _react2.default.createElement(\n _reactEventListener2.default,\n { target: 'window', onResize: this.handleResize },\n _react2.default.createElement(MyComponent, (0, _extends3.default)({\n width: width\n }, this.props))\n );\n }\n }]);\n return WithWidth;\n }(_react.Component);\n };\n}","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = {\n once: function once(el, type, callback) {\n var typeArray = type ? type.split(' ') : [];\n var recursiveFunction = function recursiveFunction(event) {\n event.target.removeEventListener(event.type, recursiveFunction);\n return callback(event);\n };\n\n for (var i = typeArray.length - 1; i >= 0; i--) {\n this.on(el, typeArray[i], recursiveFunction);\n }\n },\n on: function on(el, type, callback) {\n if (el.addEventListener) {\n el.addEventListener(type, callback);\n } else {\n // IE8+ Support\n el.attachEvent('on' + type, function () {\n callback.call(el);\n });\n }\n },\n off: function off(el, type, callback) {\n if (el.removeEventListener) {\n el.removeEventListener(type, callback);\n } else {\n // IE8+ Support\n el.detachEvent('on' + type, callback);\n }\n },\n isKeyboard: function isKeyboard(event) {\n return ['keydown', 'keypress', 'keyup'].indexOf(event.type) !== -1;\n }\n};"],"sourceRoot":""}