app/Example/build/main.e994af19.js
function(module, exports, __webpack_require__) {

	'use strict';
	
	var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
	
	var _react = __webpack_require__(243);
	
	var _react2 = _interopRequireDefault(_react);
	
	var _reactDom = __webpack_require__(455);
	
	var _reactDom2 = _interopRequireDefault(_reactDom);
	
	var _reactCalendarMultiday = __webpack_require__(453);
	
	var _reactCalendarMultiday2 = _interopRequireDefault(_reactCalendarMultiday);
	
	__webpack_require__(459);
	
	var _moment = __webpack_require__(2);
	
	var _moment2 = _interopRequireDefault(_moment);
	
	var _ramda = __webpack_require__(307);
	
	function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
	
	function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
	
	function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
	
	function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } // import 'babel-polyfill' /* Support for IE11 */
	
	
	var container = {
	  width: '375px',
	  float: 'left',
	  marginRight: '50px',
	  marginBottom: '50px',
	  fontFamily: 'system-ui'
	};
	
	var buttonStyle = {
	  border: 'none',
	  fontSize: '.75em',
	  outline: 'none',
	  marginLeft: '10px',
	  cursor: 'pointer'
	};
	
	var selectedDays = [(0, _moment2.default)().add(3, 'days'), (0, _moment2.default)().add(7, 'days'), (0, _moment2.default)().add(8, 'days'), (0, _moment2.default)().add(10, 'days'), (0, _moment2.default)().add(60, 'days')];
	
	var reactToChange = function reactToChange(ob) {
	  console.warn(ob);
	};
	
	var _ref2 = _react2.default.createElement(_reactCalendarMultiday2.default, {
	  reset: true,
	  onChange: reactToChange });
	
	var _ref3 = _react2.default.createElement(_reactCalendarMultiday2.default, {
	  isMultiple: true,
	  onChange: reactToChange });
	
	var _ref4 = _react2.default.createElement(_reactCalendarMultiday2.default, {
	  isMultiple: true,
	  reset: true,
	  selected: selectedDays,
	  onChange: reactToChange });
	
	var App = function (_React$Component) {
	  _inherits(App, _React$Component);
	
	  function App(props) {
	    _classCallCheck(this, App);
	
	    var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(App).call(this, props));
	
	    _this.state = {
	      currentChannel: 0,
	      channels: {}
	    };
	    _this.onReset = _this.onReset.bind(_this);
	    _this.addChannels = _this.addChannels.bind(_this);
	    _this.deleteChannel = _this.deleteChannel.bind(_this);
	    _this.setChannel = _this.setChannel.bind(_this);
	    return _this;
	  }
	
	  _createClass(App, [{
	    key: 'addChannels',
	    value: function addChannels(_ref) {
	      var channels = _ref.channels;
	      var currentChannel = _ref.currentChannel;
	
	      this.setState({
	        channels: channels,
	        currentChannel: currentChannel
	      });
	    }
	  }, {
	    key: 'setChannel',
	    value: function setChannel(index) {
	      this.setState({ currentChannel: index });
	    }
	  }, {
	    key: 'deleteChannel',
	    value: function deleteChannel(index) {
	      this.setState({
	        channels: (0, _ramda.omit)([String(index)], this.state.channels)
	      });
	    }
	  }, {
	    key: 'onReset',
	    value: function onReset() {
	      this.setState({
	        channels: {},
	        currentChannel: 0
	      });
	    }
	  }, {
	    key: 'render',
	    value: function render() {
	      var _this2 = this;
	
	      return _react2.default.createElement(
	        'div',
	        { style: { width: '900px', margin: 'auto' } },
	        _react2.default.createElement(
	          'div',
	          { className: 'container', style: container },
	          _react2.default.createElement(
	            'h3',
	            null,
	            'Calendar with channels'
	          ),
	          _react2.default.createElement(_reactCalendarMultiday2.default, {
	            reset: true,
	            isMultiple: true,
	            onChange: reactToChange,
	            channels: {} })
	        ),
	        _react2.default.createElement(
	          'div',
	          { className: 'container', style: container },
	          _react2.default.createElement(
	            'h3',
	            null,
	            'Calendar with choisable channels'
	          ),
	          _react2.default.createElement(
	            'div',
	            null,
	            Object.keys(this.state.channels).map(function (key, index) {
	              var channel = _this2.state.channels[key];
	              return _react2.default.createElement(
	                'div',
	                { style: { fontSize: '.85em', margin: '20px 0' }, key: key },
	                _react2.default.createElement(
	                  'p',
	                  { style: { marginBottom: '5px', 'color': _this2.state.currentChannel === parseInt(key) ? '#b8e986' : 'initial' } },
	                  '🗓 ' + channel.map(function (day) {
	                    return day.format('MM/DD/YY');
	                  }).join(' - ')
	                ),
	                _react2.default.createElement(
	                  'button',
	                  { style: Object.assign({}, buttonStyle, { color: '#38b0ed' }),
	                    onClick: function onClick() {
	                      return _this2.setChannel(parseInt(key));
	                    } },
	                  'EDIT'
	                ),
	                _react2.default.createElement(
	                  'button',
	                  { style: Object.assign({}, buttonStyle, { color: '#ee3838' }),
	                    onClick: function onClick() {
	                      return _this2.deleteChannel(parseInt(key));
	                    } },
	                  'DELETE'
	                )
	              );
	            })
	          ),
	          _react2.default.createElement(_reactCalendarMultiday2.default, {
	            reset: true,
	            isMultiple: true,
	            onChange: reactToChange,
	            onReset: this.onReset,
	            channels: this.state.channels,
	            currentChannel: this.state.currentChannel,
	            onAddChannel: this.addChannels })
	        ),
	        _react2.default.createElement(
	          'div',
	          { className: 'container', style: container },
	          _react2.default.createElement(
	            'h3',
	            null,
	            'Single Day Calendar'
	          ),
	          _ref2
	        ),
	        _react2.default.createElement(
	          'div',
	          { className: 'container', style: container },
	          _react2.default.createElement(
	            'h3',
	            null,
	            'Single Day Calendar Pre-selected'
	          ),
	          _react2.default.createElement(_reactCalendarMultiday2.default, {
	            onChange: reactToChange,
	            selected: [selectedDays[2]] })
	        ),
	        _react2.default.createElement('div', { style: { clear: 'both' } }),
	        _react2.default.createElement(
	          'div',
	          { className: 'container', style: container },
	          _react2.default.createElement(
	            'h3',
	            null,
	            'Two Months from Now'
	          ),
	          _react2.default.createElement(_reactCalendarMultiday2.default, {
	            onChange: reactToChange,
	            month: (0, _moment2.default)().get('month') + 2,
	            selected: [selectedDays[selectedDays.length - 1]] })
	        ),
	        _react2.default.createElement(
	          'div',
	          { className: 'container', style: container },
	          _react2.default.createElement(
	            'h3',
	            null,
	            'Multiple Day Calendar'
	          ),
	          _ref3
	        ),
	        _react2.default.createElement('div', { style: { clear: 'both' } }),
	        _react2.default.createElement(
	          'div',
	          { className: 'container', style: container },
	          _react2.default.createElement(
	            'h3',
	            null,
	            'Multiple With Pre-selected days'
	          ),
	          _ref4
	        )
	      );
	    }
	  }]);
	
	  return App;
	}(_react2.default.Component);
	
	var _ref5 = _react2.default.createElement(App, null);
	
	var render = function render() {
	  _reactDom2.default.render(_ref5, document.getElementById('root'));
	};
	
	/* prevent FOUC https://stackoverflow.com/a/43902734 */
	setTimeout(render, 0);

/***/ }
function(module, exports, __webpack_require__) {

	'use strict';
	
	var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
	
	var _react = __webpack_require__(243);
	
	var _react2 = _interopRequireDefault(_react);
	
	var _reactDom = __webpack_require__(455);
	
	var _reactDom2 = _interopRequireDefault(_reactDom);
	
	var _reactCalendarMultiday = __webpack_require__(453);
	
	var _reactCalendarMultiday2 = _interopRequireDefault(_reactCalendarMultiday);
	
	__webpack_require__(459);
	
	var _moment = __webpack_require__(2);
	
	var _moment2 = _interopRequireDefault(_moment);
	
	var _ramda = __webpack_require__(307);
	
	function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
	
	function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
	
	function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
	
	function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } // import 'babel-polyfill' /* Support for IE11 */
	
	
	var container = {
	  width: '375px',
	  float: 'left',
	  marginRight: '50px',
	  marginBottom: '50px',
	  fontFamily: 'system-ui'
	};
	
	var buttonStyle = {
	  border: 'none',
	  fontSize: '.75em',
	  outline: 'none',
	  marginLeft: '10px',
	  cursor: 'pointer'
	};
	
	var selectedDays = [(0, _moment2.default)().add(3, 'days'), (0, _moment2.default)().add(7, 'days'), (0, _moment2.default)().add(8, 'days'), (0, _moment2.default)().add(10, 'days'), (0, _moment2.default)().add(60, 'days')];
	
	var reactToChange = function reactToChange(ob) {
	  console.warn(ob);
	};
	
	var _ref2 = _react2.default.createElement(_reactCalendarMultiday2.default, {
	  reset: true,
	  onChange: reactToChange });
	
	var _ref3 = _react2.default.createElement(_reactCalendarMultiday2.default, {
	  isMultiple: true,
	  onChange: reactToChange });
	
	var _ref4 = _react2.default.createElement(_reactCalendarMultiday2.default, {
	  isMultiple: true,
	  reset: true,
	  selected: selectedDays,
	  onChange: reactToChange });
	
	var App = function (_React$Component) {
	  _inherits(App, _React$Component);
	
	  function App(props) {
	    _classCallCheck(this, App);
	
	    var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(App).call(this, props));
	
	    _this.state = {
	      currentChannel: 0,
	      channels: {}
	    };
	    _this.onReset = _this.onReset.bind(_this);
	    _this.addChannels = _this.addChannels.bind(_this);
	    _this.deleteChannel = _this.deleteChannel.bind(_this);
	    _this.setChannel = _this.setChannel.bind(_this);
	    return _this;
	  }
	
	  _createClass(App, [{
	    key: 'addChannels',
	    value: function addChannels(_ref) {
	      var channels = _ref.channels;
	      var currentChannel = _ref.currentChannel;
	
	      this.setState({
	        channels: channels,
	        currentChannel: currentChannel
	      });
	    }
	  }, {
	    key: 'setChannel',
	    value: function setChannel(index) {
	      this.setState({ currentChannel: index });
	    }
	  }, {
	    key: 'deleteChannel',
	    value: function deleteChannel(index) {
	      this.setState({
	        channels: (0, _ramda.omit)([String(index)], this.state.channels)
	      });
	    }
	  }, {
	    key: 'onReset',
	    value: function onReset() {
	      this.setState({
	        channels: {},
	        currentChannel: 0
	      });
	    }
	  }, {
	    key: 'render',
	    value: function render() {
	      var _this2 = this;
	
	      return _react2.default.createElement(
	        'div',
	        { style: { width: '900px', margin: 'auto' } },
	        _react2.default.createElement(
	          'div',
	          { className: 'container', style: container },
	          _react2.default.createElement(
	            'h3',
	            null,
	            'Calendar with channels'
	          ),
	          _react2.default.createElement(_reactCalendarMultiday2.default, {
	            reset: true,
	            isMultiple: true,
	            onChange: reactToChange,
	            channels: {} })
	        ),
	        _react2.default.createElement(
	          'div',
	          { className: 'container', style: container },
	          _react2.default.createElement(
	            'h3',
	            null,
	            'Calendar with choisable channels'
	          ),
	          _react2.default.createElement(
	            'div',
	            null,
	            Object.keys(this.state.channels).map(function (key, index) {
	              var channel = _this2.state.channels[key];
	              return _react2.default.createElement(
	                'div',
	                { style: { fontSize: '.85em', margin: '20px 0' }, key: key },
	                _react2.default.createElement(
	                  'p',
	                  { style: { marginBottom: '5px', 'color': _this2.state.currentChannel === parseInt(key) ? '#b8e986' : 'initial' } },
	                  '🗓 ' + channel.map(function (day) {
	                    return day.format('MM/DD/YY');
	                  }).join(' - ')
	                ),
	                _react2.default.createElement(
	                  'button',
	                  { style: Object.assign({}, buttonStyle, { color: '#38b0ed' }),
	                    onClick: function onClick() {
	                      return _this2.setChannel(parseInt(key));
	                    } },
	                  'EDIT'
	                ),
	                _react2.default.createElement(
	                  'button',
	                  { style: Object.assign({}, buttonStyle, { color: '#ee3838' }),
	                    onClick: function onClick() {
	                      return _this2.deleteChannel(parseInt(key));
	                    } },
	                  'DELETE'
	                )
	              );
	            })
	          ),
	          _react2.default.createElement(_reactCalendarMultiday2.default, {
	            reset: true,
	            isMultiple: true,
	            onChange: reactToChange,
	            onReset: this.onReset,
	            channels: this.state.channels,
	            currentChannel: this.state.currentChannel,
	            onAddChannel: this.addChannels })
	        ),
	        _react2.default.createElement(
	          'div',
	          { className: 'container', style: container },
	          _react2.default.createElement(
	            'h3',
	            null,
	            'Single Day Calendar'
	          ),
	          _ref2
	        ),
	        _react2.default.createElement(
	          'div',
	          { className: 'container', style: container },
	          _react2.default.createElement(
	            'h3',
	            null,
	            'Single Day Calendar Pre-selected'
	          ),
	          _react2.default.createElement(_reactCalendarMultiday2.default, {
	            onChange: reactToChange,
	            selected: [selectedDays[2]] })
	        ),
	        _react2.default.createElement('div', { style: { clear: 'both' } }),
	        _react2.default.createElement(
	          'div',
	          { className: 'container', style: container },
	          _react2.default.createElement(
	            'h3',
	            null,
	            'Two Months from Now'
	          ),
	          _react2.default.createElement(_reactCalendarMultiday2.default, {
	            onChange: reactToChange,
	            month: (0, _moment2.default)().get('month') + 2,
	            selected: [selectedDays[selectedDays.length - 1]] })
	        ),
	        _react2.default.createElement(
	          'div',
	          { className: 'container', style: container },
	          _react2.default.createElement(
	            'h3',
	            null,
	            'Multiple Day Calendar'
	          ),
	          _ref3
	        ),
	        _react2.default.createElement('div', { style: { clear: 'both' } }),
	        _react2.default.createElement(
	          'div',
	          { className: 'container', style: container },
	          _react2.default.createElement(
	            'h3',
	            null,
	            'Multiple With Pre-selected days'
	          ),
	          _ref4
	        )
	      );
	    }
	  }]);
	
	  return App;
	}(_react2.default.Component);
	
	var _ref5 = _react2.default.createElement(App, null);
	
	var render = function render() {
	  _reactDom2.default.render(_ref5, document.getElementById('root'));
	};
	
	/* prevent FOUC https://stackoverflow.com/a/43902734 */
	setTimeout(render, 0);

/***/ }
/* 458