From 94a097b0b6f2bc288040afb2ccac92b9d2542fca Mon Sep 17 00:00:00 2001 From: Richard Strand Date: Tue, 7 Jun 2016 17:05:18 +0100 Subject: [PATCH] Rebuild dist --- dist/input-moment.css | 2 +- dist/input-moment.js | 4 ++-- dist/input-moment.js.map | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/input-moment.css b/dist/input-moment.css index b65f363..a69822c 100644 --- a/dist/input-moment.css +++ b/dist/input-moment.css @@ -1 +1 @@ -.m-calendar{display:inline-block}.m-calendar table{width:100%;border-collapse:collapse;border-spacing:0;table-layout:fixed}.m-calendar td{padding:8px 0;text-align:center;cursor:pointer;color:#dfe0e4;border:1px solid #dfe0e4}.m-calendar thead td{color:#1385e5;font-size:11px;font-weight:700;text-transform:uppercase;font-size:12px}.m-calendar tbody td{color:#666}.m-calendar tbody td:hover{background:#1385e5;border-color:#1385e5;color:#fff}.m-calendar .current-day{color:#1385e5;font-weight:700}.m-calendar .next-month,.m-calendar .prev-month{color:#999}.m-calendar .toolbar{line-height:30px;color:#1385e5;text-align:center;margin-bottom:13px}.m-calendar .toolbar button{position:relative;width:30px;height:30px;line-height:30px;color:#fff;border:1px solid #1385e5;border-radius:50%;background:#1385e5;font-size:20px;padding:0;text-align:center;outline:0;z-index:5;cursor:pointer}.m-calendar .toolbar .prev-month{float:left}.m-calendar .toolbar .next-month{float:right}.m-calendar .toolbar .current-date{color:#1385e5}.m-time{color:#fff;padding-top:50px}.m-time .showtime{text-align:center}.m-time .separater{display:inline-block;font-size:32px;font-weight:700;color:#1385e5;width:32px;height:65px;line-height:65px;text-align:center}.m-time .time-text{position:relative;left:-10px;font-size:15px;color:#1385e5;margin-top:7px;margin-bottom:10px}.m-time .sliders{padding:0 10px}.m-time .time{width:65px;height:65px;display:inline-block;font-size:38px;line-height:65px;background-color:#1385e5;border-radius:3px;text-align:center}.u-slider-time{position:relative;display:inline-block;background-color:#dfe0e4;border-radius:3px;height:4px;width:100%;cursor:pointer}.u-slider-time .value{position:absolute;background-color:#1385e5;border-radius:3px;top:0;height:100%}.u-slider-time .handle{position:absolute;width:4px;height:4px}.u-slider-time .handle:after{position:relative;display:block;content:'';top:-10px;left:-12px;width:24px;height:24px;background-color:#fff;border:3px solid #1385e5;border-radius:50%;cursor:pointer}.im-btn{display:inline-block;background-color:#fff;border:0;outline:0;cursor:pointer;line-height:1}.im-btn:before{margin-right:6px}.m-input-moment{display:inline-block;width:330px;padding:12px 15px;border-radius:3px;border:1px solid #dfe0e4}.m-input-moment .options{width:100%;display:inline-block;margin-bottom:4px}.m-input-moment .options button{float:left;width:50%;color:#1385e5;text-align:center;font-size:16px;padding:7px;border:1px solid #1385e5;border-radius:3px}.m-input-moment .options button:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.m-input-moment .options button:last-child{border-top-left-radius:0;border-bottom-left-radius:0}.m-input-moment .options button.is-active{color:#fff;background-color:#1385e5}.m-input-moment .tab{display:none;height:310px}.m-input-moment .tab.is-active{display:block}.m-input-moment .tabs{margin-bottom:11px}.m-input-moment .btn-save{display:block;margin-top:10px;width:100%;background-color:#1385e5;padding:12px 0;text-align:center;color:#fff;font-size:16px;border-radius:3px} \ No newline at end of file +.m-calendar{display:inline-block}.m-calendar table{width:100%;border-collapse:collapse;border-spacing:0;table-layout:fixed}.m-calendar td{padding:8px 0;text-align:center;cursor:pointer;color:#dfe0e4;border:1px solid #dfe0e4}.m-calendar thead td{color:#1385e5;font-size:11px;font-weight:700;text-transform:uppercase;font-size:12px}.m-calendar tbody td{color:#666}.m-calendar tbody td.valid:hover{background:#1385e5;border-color:#1385e5;color:#fff}.m-calendar .current-day{color:#1385e5;font-weight:700}.m-calendar .next-month,.m-calendar .prev-month{color:#999}.m-calendar .invalid{color:#dfe0e4}.m-calendar .invalid:hover{cursor:not-allowed}.m-calendar .toolbar{line-height:30px;color:#1385e5;text-align:center;margin-bottom:13px}.m-calendar .toolbar button{position:relative;width:30px;height:30px;line-height:30px;color:#fff;border:1px solid #1385e5;border-radius:50%;background:#1385e5;font-size:20px;padding:0;text-align:center;outline:0;z-index:5;cursor:pointer}.m-calendar .toolbar .prev-month{float:left}.m-calendar .toolbar .next-month{float:right}.m-calendar .toolbar .current-date{color:#1385e5}.m-time{color:#fff;padding-top:50px}.m-time .showtime{text-align:center}.m-time .separater{display:inline-block;font-size:32px;font-weight:700;color:#1385e5;width:32px;height:65px;line-height:65px;text-align:center}.m-time .time-text{position:relative;left:-10px;font-size:15px;color:#1385e5;margin-top:7px;margin-bottom:10px}.m-time .sliders{padding:0 10px}.m-time .time{width:65px;height:65px;display:inline-block;font-size:38px;line-height:65px;background-color:#1385e5;border-radius:3px;text-align:center}.u-slider-time{position:relative;display:inline-block;background-color:#dfe0e4;border-radius:3px;height:4px;width:100%;cursor:pointer}.u-slider-time .value{position:absolute;background-color:#1385e5;border-radius:3px;top:0;height:100%}.u-slider-time .handle{position:absolute;width:4px;height:4px}.u-slider-time .handle:after{position:relative;display:block;content:'';top:-10px;left:-12px;width:24px;height:24px;background-color:#fff;border:3px solid #1385e5;border-radius:50%;cursor:pointer}.im-btn{display:inline-block;background-color:#fff;border:0;outline:0;cursor:pointer;line-height:1}.im-btn:before{margin-right:6px}.m-input-moment{display:inline-block;width:330px;padding:12px 15px;border-radius:3px;border:1px solid #dfe0e4}.m-input-moment .options{width:100%;display:inline-block;margin-bottom:4px}.m-input-moment .options button{float:left;width:50%;color:#1385e5;text-align:center;font-size:16px;padding:7px;border:1px solid #1385e5;border-radius:3px}.m-input-moment .options button:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.m-input-moment .options button:last-child{border-top-left-radius:0;border-bottom-left-radius:0}.m-input-moment .options button.is-active{color:#fff;background-color:#1385e5}.m-input-moment .tab{display:none;height:310px}.m-input-moment .tab.is-active{display:block}.m-input-moment .tabs{margin-bottom:11px}.m-input-moment .btn-save{display:block;margin-top:10px;width:100%;background-color:#1385e5;padding:12px 0;text-align:center;color:#fff;font-size:16px;border-radius:3px} \ No newline at end of file diff --git a/dist/input-moment.js b/dist/input-moment.js index d833e3e..1466f1e 100644 --- a/dist/input-moment.js +++ b/dist/input-moment.js @@ -1,7 +1,7 @@ -!function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return t[r].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){"use strict";t.exports=n(20)},function(t,e){t.exports=React},function(t,e,n){var r,o,s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t};/*! +!function(t){function e(o){if(n[o])return n[o].exports;var r=n[o]={exports:{},id:o,loaded:!1};return t[o].call(r.exports,r,r.exports,e),r.loaded=!0,r.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){"use strict";t.exports=n(20)},function(t,e){t.exports=React},function(t,e,n){var o,r,s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t};/*! Copyright (c) 2016 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */ -!function(){"use strict";function a(){for(var t=[],e=0;er;)p[++l]=o(t,r,r+=e);return p}var o=n(10),s=n(4),a=Math.ceil,i=Math.floor,c=Math.max;t.exports=r},function(t,e){"use strict";function n(t){return function(e){return null==e?void 0:e[t]}}t.exports=n},function(t,e){"use strict";function n(t,e,n){var r=-1,o=t.length;e=null==e?0:+e||0,0>e&&(e=-e>o?0:o+e),n=void 0===n||n>o?o:+n||0,0>n&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var s=Array(o);++r-1&&t%1==0&&e>t}var r=/^\d+$/,o=9007199254740991;t.exports=n},function(t,e){"use strict";function n(t){return"number"==typeof t&&t>-1&&t%1==0&&r>=t}var r=9007199254740991;t.exports=n},function(t,e){"use strict";function n(t){var e="undefined"==typeof t?"undefined":r(t);return!!t&&("object"==e||"function"==e)}var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t};t.exports=n},function(t,e,n){"use strict";function r(t,e,n){n&&o(t,e,n)&&(e=n=void 0),t=+t||0,n=null==n?1:+n||0,null==e?(e=t,t=0):e=+e||0;for(var r=-1,i=a(s((e-t)/(n||1)),0),c=Array(i);++r100&&(t=100),0>t&&(t=0),"x"===this.props.axis&&(t=0),t+="%",e>100&&(e=100),0>e&&(e=0),"y"===this.props.axis&&(e=0),e+="%",{top:t,left:e}},change:function(t,e){if(this.props.onChange){var n=i.findDOMNode(this).getBoundingClientRect(),r=n.width,o=n.height,s=t.left,a=t.top,c=this.props.axis;0>s&&(s=0),s>r&&(s=r),0>a&&(a=0),a>o&&(a=o);var u=0,l=0;("x"===c||"xy"===c)&&(u=s/r*(this.props.xmax-this.props.xmin)+this.props.xmin),("y"===c||"xy"===c)&&(l=a/o*(this.props.ymax-this.props.ymin)+this.props.ymin),this.props.onChange({x:u,y:l})}},handleMouseDown:function(t){t.preventDefault();var e=this.refs.handle,n=this.getClientPosition(t);this.start={x:e.offsetLeft,y:e.offsetTop},this.offset={x:n.x,y:n.y},document.addEventListener("mousemove",this.handleDrag),document.addEventListener("mouseup",this.handleDragEnd),document.addEventListener("touchmove",this.handleDrag),document.addEventListener("touchend",this.handleDragEnd),document.addEventListener("touchcancel",this.handleDragEnd)},getPos:function(t){var e=this.getClientPosition(t),n=(i.findDOMNode(this).getBoundingClientRect(),e.x+this.start.x-this.offset.x),r=e.y+this.start.y-this.offset.y;return{left:n,top:r}},handleDrag:function(t){t.preventDefault(),this.change(this.getPos(t))},handleDragEnd:function(t){t.preventDefault(),document.removeEventListener("mousemove",this.handleDrag),document.removeEventListener("mouseup",this.handleDragEnd),document.removeEventListener("touchmove",this.handleDrag),document.removeEventListener("touchend",this.handleDragEnd),document.removeEventListener("touchcancel",this.handleDragEnd),this.props.onDragEnd&&this.props.onDragEnd()},handleClick:function(t){var e=this.getClientPosition(t),n=i.findDOMNode(this).getBoundingClientRect();this.change({left:e.x-n.left,top:e.y-n.top},!0)}})},function(t,e,n){"use strict";t.exports=n(17)},function(t,e,n){"use strict";var r=Object.assign||function(t){for(var e=1;e7,a=e>=4&&14>=t,i=o({"prev-month":n,"next-month":a,"current-day":!n&&!a&&t===this.props.d});return s.createElement("td",r({className:i},this.props),t)}});t.exports=s.createClass({displayName:"Calendar",render:function(){var t=this,e=this.props.moment,n=e.date(),r=e.clone().subtract(1,"month").endOf("month").date(),u=e.clone().date(1).day(),l=e.clone().endOf("month").date(),p=[].concat(a(r-u+1,r+1),a(1,l+1),a(1,42-l-u+1)),m=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];return s.createElement("div",{className:o("m-calendar",this.props.className)},s.createElement("div",{className:"toolbar"},s.createElement("button",{type:"button",className:"prev-month",onClick:this.prevMonth},s.createElement("i",{className:this.props.prevMonthIcon})),s.createElement("span",{className:"current-date"},e.format("MMMM YYYY")),s.createElement("button",{type:"button",className:"next-month",onClick:this.nextMonth},s.createElement("i",{className:this.props.nextMonthIcon}))),s.createElement("table",null,s.createElement("thead",null,s.createElement("tr",null,m.map(function(t,e){return s.createElement("td",{key:e},t)}))),s.createElement("tbody",null,i(p,7).map(function(e,r){return s.createElement("tr",{key:r},e.map(function(e){return s.createElement(c,{key:e,i:e,d:n,w:r,onClick:t.selectDate.bind(null,e,r)})}))}))))},selectDate:function(t,e){var n=0===e&&t>7,r=e>=4&&14>=t,o=this.props.moment;o.date(t),n&&o.subtract(1,"month"),r&&o.add(1,"month"),this.props.onChange(o)},prevMonth:function(t){t.preventDefault(),this.props.onChange(this.props.moment.subtract(1,"month"))},nextMonth:function(t){t.preventDefault(),this.props.onChange(this.props.moment.add(1,"month"))}})},function(t,e,n){"use strict";var r=n(2),o=(n(3),n(1)),s=n(19),a=n(21);t.exports=o.createClass({displayName:"InputMoment",getInitialState:function(){return{tab:0}},getDefaultProps:function(){return{prevMonthIcon:"ion-ios-arrow-left",nextMonthIcon:"ion-ios-arrow-right"}},render:function(){var t=this.state.tab,e=this.props.moment;return o.createElement("div",{className:"m-input-moment"},o.createElement("div",{className:"options"},o.createElement("button",{type:"button",className:r("ion-calendar im-btn",{"is-active":0===t}),onClick:this.handleClickTab.bind(null,0)},"Date"),o.createElement("button",{type:"button",className:r("ion-clock im-btn",{"is-active":1===t}),onClick:this.handleClickTab.bind(null,1)},"Time")),o.createElement("div",{className:"tabs"},o.createElement(s,{className:r("tab",{"is-active":0===t}),moment:e,onChange:this.props.onChange,prevMonthIcon:this.props.prevMonthIcon,nextMonthIcon:this.props.nextMonthIcon}),o.createElement(a,{className:r("tab",{"is-active":1===t}),moment:e,onChange:this.props.onChange})),o.createElement("button",{type:"button",className:"im-btn btn-save ion-checkmark",onClick:this.handleSave},"Save"))},handleClickTab:function(t,e){e.preventDefault(),this.setState({tab:t})},handleSave:function(t){t.preventDefault(),this.props.onSave&&this.props.onSave()}})},function(t,e,n){"use strict";var r=n(2),o=n(1),s=n(18);t.exports=o.createClass({displayName:"Time",render:function(){var t=this.props.moment;return o.createElement("div",{className:r("m-time",this.props.className)},o.createElement("div",{className:"showtime"},o.createElement("span",{className:"time"},t.format("HH")),o.createElement("span",{className:"separater"},":"),o.createElement("span",{className:"time"},t.format("mm"))),o.createElement("div",{className:"sliders"},o.createElement("div",{className:"time-text"},"Hours:"),o.createElement(s,{className:"u-slider-time",xmin:0,xmax:23,x:t.hour(),onChange:this.changeHours}),o.createElement("div",{className:"time-text"},"Minutes:"),o.createElement(s,{className:"u-slider-time",xmin:0,xmax:59,x:t.minute(),onChange:this.changeMinutes})))},changeHours:function(t){var e=this.props.moment;e.hours(parseInt(t.x,10)),this.props.onChange(e)},changeMinutes:function(t){var e=this.props.moment;e.minutes(parseInt(t.x,10)),this.props.onChange(e)}})}]); +!function(){"use strict";function i(){for(var t=[],e=0;eo;)p[++u]=r(t,o,o+=e);return p}var r=n(10),s=n(4),i=Math.ceil,a=Math.floor,c=Math.max;t.exports=o},function(t,e){"use strict";function n(t){return function(e){return null==e?void 0:e[t]}}t.exports=n},function(t,e){"use strict";function n(t,e,n){var o=-1,r=t.length;e=null==e?0:+e||0,0>e&&(e=-e>r?0:r+e),n=void 0===n||n>r?r:+n||0,0>n&&(n+=r),r=e>n?0:n-e>>>0,e>>>=0;for(var s=Array(r);++o-1&&t%1==0&&e>t}var o=/^\d+$/,r=9007199254740991;t.exports=n},function(t,e){"use strict";function n(t){return"number"==typeof t&&t>-1&&t%1==0&&o>=t}var o=9007199254740991;t.exports=n},function(t,e){"use strict";function n(t){var e="undefined"==typeof t?"undefined":o(t);return!!t&&("object"==e||"function"==e)}var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t};t.exports=n},function(t,e,n){"use strict";function o(t,e,n){n&&r(t,e,n)&&(e=n=void 0),t=+t||0,n=null==n?1:+n||0,null==e?(e=t,t=0):e=+e||0;for(var o=-1,a=i(s((e-t)/(n||1)),0),c=Array(a);++o100&&(t=100),0>t&&(t=0),"x"===this.props.axis&&(t=0),t+="%",e>100&&(e=100),0>e&&(e=0),"y"===this.props.axis&&(e=0),e+="%",{top:t,left:e}},change:function(t,e){if(this.props.onChange){var n=a.findDOMNode(this).getBoundingClientRect(),o=n.width,r=n.height,s=t.left,i=t.top,c=this.props.axis;0>s&&(s=0),s>o&&(s=o),0>i&&(i=0),i>r&&(i=r);var l=0,u=0;"x"!==c&&"xy"!==c||(l=s/o*(this.props.xmax-this.props.xmin)+this.props.xmin),"y"!==c&&"xy"!==c||(u=i/r*(this.props.ymax-this.props.ymin)+this.props.ymin),this.props.onChange({x:l,y:u})}},handleMouseDown:function(t){t.preventDefault();var e=this.refs.handle,n=this.getClientPosition(t);this.start={x:e.offsetLeft,y:e.offsetTop},this.offset={x:n.x,y:n.y},document.addEventListener("mousemove",this.handleDrag),document.addEventListener("mouseup",this.handleDragEnd),document.addEventListener("touchmove",this.handleDrag),document.addEventListener("touchend",this.handleDragEnd),document.addEventListener("touchcancel",this.handleDragEnd)},getPos:function(t){var e=this.getClientPosition(t),n=(a.findDOMNode(this).getBoundingClientRect(),e.x+this.start.x-this.offset.x),o=e.y+this.start.y-this.offset.y;return{left:n,top:o}},handleDrag:function(t){t.preventDefault(),this.change(this.getPos(t))},handleDragEnd:function(t){t.preventDefault(),document.removeEventListener("mousemove",this.handleDrag),document.removeEventListener("mouseup",this.handleDragEnd),document.removeEventListener("touchmove",this.handleDrag),document.removeEventListener("touchend",this.handleDragEnd),document.removeEventListener("touchcancel",this.handleDragEnd),this.props.onDragEnd&&this.props.onDragEnd()},handleClick:function(t){var e=this.getClientPosition(t),n=a.findDOMNode(this).getBoundingClientRect();this.change({left:e.x-n.left,top:e.y-n.top},!0)}})},function(t,e,n){"use strict";t.exports=n(17)},function(t,e,n){"use strict";var o=Object.assign||function(t){for(var e=1;e7,a=e>=4&&14>=t,c=s(this.props.month),l=this.props.selected;n&&c.subtract(1,"month"),a&&c.add(1,"month"),c.date(t);var u=this.props.isValid(c),p=r({"prev-month":n,"next-month":a,"current-day":c.isSame(l,"day"),valid:u,invalid:!u});return i.createElement("td",o({className:p,onClick:this.props.selectDate.bind(null,c)},this.props),t)}});t.exports=i.createClass({displayName:"Calendar",getInitialState:function(){return{month:s(this.props.moment).startOf("month")}},render:function(){var t=this,e=this.props.moment,n=this.state.month,o=e.date(),s=n.clone().subtract(1,"month").endOf("month").date(),u=n.clone().date(1).day(),p=n.clone().endOf("month").date(),m=[].concat(a(s-u+1,s+1),a(1,p+1),a(1,42-p-u+1)),h=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];return i.createElement("div",{className:r("m-calendar",this.props.className)},i.createElement("div",{className:"toolbar"},i.createElement("button",{type:"button",className:"prev-month",onClick:this.prevMonth},i.createElement("i",{className:this.props.prevMonthIcon})),i.createElement("span",{className:"current-date"},n.format("MMMM YYYY")),i.createElement("button",{type:"button",className:"next-month",onClick:this.nextMonth},i.createElement("i",{className:this.props.nextMonthIcon}))),i.createElement("table",null,i.createElement("thead",null,i.createElement("tr",null,h.map(function(t,e){return i.createElement("td",{key:e},t)}))),i.createElement("tbody",null,c(m,7).map(function(r,s){return i.createElement("tr",{key:s},r.map(function(r){return i.createElement(l,{key:r,i:r,d:o,w:s,month:n,selected:e,isValid:t.props.isValid,selectDate:t.selectDate})}))}))))},selectDate:function(t){var e=s(this.props.moment);e.year(t.year()).month(t.month()).date(t.date()),this.props.isValid(e)&&(this.setState({month:s(e).startOf("month")}),this.props.onChange(e))},prevMonth:function(t){t.preventDefault(),this.setState({month:this.state.month.subtract(1,"month")})},nextMonth:function(t){t.preventDefault(),this.setState({month:this.state.month.add(1,"month")})}})},function(t,e,n){"use strict";var o=n(2),r=(n(3),n(1)),s=n(19),i=n(21);t.exports=r.createClass({displayName:"InputMoment",getInitialState:function(){return{tab:0}},getDefaultProps:function(){return{prevMonthIcon:"ion-ios-arrow-left",nextMonthIcon:"ion-ios-arrow-right",isValid:function(t){return!0}}},render:function(){var t=this.state.tab,e=this.props.moment;return r.createElement("div",{className:"m-input-moment"},r.createElement("div",{className:"options"},r.createElement("button",{type:"button",className:o("ion-calendar im-btn",{"is-active":0===t}),onClick:this.handleClickTab.bind(null,0)},"Date"),r.createElement("button",{type:"button",className:o("ion-clock im-btn",{"is-active":1===t}),onClick:this.handleClickTab.bind(null,1)},"Time")),r.createElement("div",{className:"tabs"},r.createElement(s,{className:o("tab",{"is-active":0===t}),moment:e,onChange:this.props.onChange,prevMonthIcon:this.props.prevMonthIcon,nextMonthIcon:this.props.nextMonthIcon,isValid:this.props.isValid}),r.createElement(i,{className:o("tab",{"is-active":1===t}),moment:e,onChange:this.props.onChange})),r.createElement("button",{type:"button",className:"im-btn btn-save ion-checkmark",onClick:this.handleSave},"Save"))},handleClickTab:function(t,e){e.preventDefault(),this.setState({tab:t})},handleSave:function(t){t.preventDefault(),this.props.onSave&&this.props.onSave()}})},function(t,e,n){"use strict";var o=n(2),r=n(1),s=n(18);t.exports=r.createClass({displayName:"Time",render:function(){var t=this.props.moment;return r.createElement("div",{className:o("m-time",this.props.className)},r.createElement("div",{className:"showtime"},r.createElement("span",{className:"time"},t.format("HH")),r.createElement("span",{className:"separater"},":"),r.createElement("span",{className:"time"},t.format("mm"))),r.createElement("div",{className:"sliders"},r.createElement("div",{className:"time-text"},"Hours:"),r.createElement(s,{className:"u-slider-time",xmin:0,xmax:23,x:t.hour(),onChange:this.changeHours}),r.createElement("div",{className:"time-text"},"Minutes:"),r.createElement(s,{className:"u-slider-time",xmin:0,xmax:59,x:t.minute(),onChange:this.changeMinutes})))},changeHours:function(t){var e=this.props.moment;e.hours(parseInt(t.x,10)),this.props.onChange(e)},changeMinutes:function(t){var e=this.props.moment;e.minutes(parseInt(t.x,10)),this.props.onChange(e)}})}]); //# sourceMappingURL=input-moment.js.map \ No newline at end of file diff --git a/dist/input-moment.js.map b/dist/input-moment.js.map index 8acbc18..02f1adf 100644 --- a/dist/input-moment.js.map +++ b/dist/input-moment.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack:///dist/input-moment.js","webpack:///webpack/bootstrap 99e7da9d503c582c1957?93a9","webpack:///./index.js","webpack:///external \"React\"?9de9","webpack:///./~/classnames/index.js?8e43","webpack:///external \"moment\"?a88d","webpack:///./~/lodash/internal/isIterateeCall.js?d7cc","webpack:///(webpack)/buildin/amd-options.js?5f71","webpack:///external \"ReactDOM\"?4ab4","webpack:///./~/blacklist/index.js?ed1f","webpack:///./~/lodash/array/chunk.js?6077","webpack:///./~/lodash/internal/baseProperty.js?5eef","webpack:///./~/lodash/internal/baseSlice.js?a58d","webpack:///./~/lodash/internal/getLength.js?dd02","webpack:///./~/lodash/internal/isArrayLike.js?ac83","webpack:///./~/lodash/internal/isIndex.js?b4ae","webpack:///./~/lodash/internal/isLength.js?7563","webpack:///./~/lodash/lang/isObject.js?6404","webpack:///./~/lodash/utility/range.js?91cc","webpack:///./~/react-input-slider/dist/input-slider.js?f834","webpack:///./~/react-input-slider/index.js?f96e","webpack:///./src/calendar.js?e460","webpack:///./src/input-moment.js?73d7","webpack:///./src/time.js?e120"],"names":["modules","__webpack_require__","moduleId","installedModules","exports","module","id","loaded","call","m","c","p","React","__WEBPACK_AMD_DEFINE_ARRAY__","__WEBPACK_AMD_DEFINE_RESULT__","_typeof","Symbol","iterator","obj","constructor","classNames","classes","i","arguments","length","arg","argType","push","Array","isArray","apply","key","hasOwn","join","hasOwnProperty","undefined","window","moment","isIterateeCall","value","index","object","isObject","type","isArrayLike","isIndex","other","__webpack_amd_options__","ReactDOM","src","copy","filter","chunk","array","size","guard","nativeMax","nativeFloor","resIndex","result","nativeCeil","baseSlice","Math","ceil","floor","max","baseProperty","start","end","getLength","isLength","reIsUint","test","MAX_SAFE_INTEGER","range","step","_extends","Object","assign","target","source","prototype","cx","blacklist","createClass","displayName","propTypes","axis","PropTypes","string","x","number","xmax","xmin","y","ymax","ymin","getDefaultProps","render","this","props","pos","getPosition","valueStyle","width","left","height","top","className","createElement","onClick","handleClick","style","ref","onTouchStart","handleMouseDown","onMouseDown","e","stopPropagation","nativeEvent","stopImmediatePropagation","getClientPosition","touches","finger","clientX","clientY","change","dragEnd","onChange","rect","findDOMNode","getBoundingClientRect","preventDefault","dom","refs","handle","clientPos","offsetLeft","offsetTop","offset","document","addEventListener","handleDrag","handleDragEnd","getPos","posX","posY","removeEventListener","onDragEnd","Day","w","prevMonth","nextMonth","cn","prev-month","next-month","current-day","d","_this","date","d1","clone","subtract","endOf","d2","day","d3","days","concat","weeks","prevMonthIcon","format","nextMonthIcon","map","row","selectDate","bind","add","Calendar","Time","getInitialState","tab","state","is-active","handleClickTab","handleSave","setState","onSave","InputSlider","hour","changeHours","minute","changeMinutes","hours","parseInt","minutes"],"mappings":"CAAS,SAAUA,GCInB,QAAAC,GAAAC,GAGA,GAAAC,EAAAD,GACA,MAAAC,GAA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l6BID,UAAU,YACbhG,EAAAiG,cvBo6BC,QuBp6BKD,UAAU,QAAQnG,EAAEkK,OAAO,OACjC/J,EAAAiG,cvBw6BC,QuBx6BKD,UAAU,avB06Bf,KuBz6BDhG,EAAAiG,cvB46BC,QuB56BKD,UAAU,QAAQnG,EAAEkK,OAAO,QAGnC/J,EAAAiG,cvB+6BC,OuB/6BID,UAAU,WACbhG,EAAAiG,cvBi7BC,OuBj7BID,UAAU,avBm7Bd,UuBl7BDhG,EAAAiG,cAAC+E,GACChF,UAAU,gBACVf,KAAM,EACND,KAAM,GACNF,EAAGjF,EAAEoL,OACL7D,SAAU7B,KAAK2F,cAEjBlL,EAAAiG,cvBq7BC,OuBr7BID,UAAU,avBu7Bd,YuBt7BDhG,EAAAiG,cAAC+E,GACChF,UAAU,gBACVf,KAAM,EACND,KAAM,GACNF,EAAGjF,EAAEsL,SACL/D,SAAU7B,KAAK6F,mBAOzBF,YAAA,SAAYzF,GACV,GAAI5F,GAAI0F,KAAKC,MAAM/D,MACnB5B,GAAEwL,MAAMC,SAAS7F,EAAIX,EAAG,KACxBS,KAAKC,MAAM4B,SAASvH,IAGtBuL,cAAA,SAAc3F,GACZ,GAAI5F,GAAI0F,KAAKC,MAAM/D,MACnB5B,GAAE0L,QAAQD,SAAS7F,EAAIX,EAAG,KAC1BS,KAAKC,MAAM4B,SAASvH","file":"dist/input-moment.js","sourcesContent":["/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId])\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\texports: {},\n/******/ \t\t\tid: moduleId,\n/******/ \t\t\tloaded: false\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.loaded = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(0);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tmodule.exports = __webpack_require__(20);\n\n/***/ },\n/* 1 */\n/***/ function(module, exports) {\n\n\tmodule.exports = React;\n\n/***/ },\n/* 2 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol ? \"symbol\" : typeof obj; };\n\t\n\t/*!\n\t Copyright (c) 2016 Jed Watson.\n\t Licensed under the MIT License (MIT), see\n\t http://jedwatson.github.io/classnames\n\t*/\n\t/* global define */\n\t\n\t(function () {\n\t\t'use strict';\n\t\n\t\tvar hasOwn = {}.hasOwnProperty;\n\t\n\t\tfunction classNames() {\n\t\t\tvar classes = [];\n\t\n\t\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\t\tvar arg = arguments[i];\n\t\t\t\tif (!arg) continue;\n\t\n\t\t\t\tvar argType = typeof arg === 'undefined' ? 'undefined' : _typeof(arg);\n\t\n\t\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\t\tclasses.push(arg);\n\t\t\t\t} else if (Array.isArray(arg)) {\n\t\t\t\t\tclasses.push(classNames.apply(null, arg));\n\t\t\t\t} else if (argType === 'object') {\n\t\t\t\t\tfor (var key in arg) {\n\t\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\n\t\t\treturn classes.join(' ');\n\t\t}\n\t\n\t\tif (typeof module !== 'undefined' && module.exports) {\n\t\t\tmodule.exports = classNames;\n\t\t} else if (\"function\" === 'function' && _typeof(__webpack_require__(5)) === 'object' && __webpack_require__(5)) {\n\t\t\t// register as 'classnames', consistent with npm package name\n\t\t\t!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = function () {\n\t\t\t\treturn classNames;\n\t\t\t}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\t\t} else {\n\t\t\twindow.classNames = classNames;\n\t\t}\n\t})();\n\n/***/ },\n/* 3 */\n/***/ function(module, exports) {\n\n\tmodule.exports = moment;\n\n/***/ },\n/* 4 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol ? \"symbol\" : typeof obj; };\n\t\n\tvar isArrayLike = __webpack_require__(12),\n\t isIndex = __webpack_require__(13),\n\t isObject = __webpack_require__(15);\n\t\n\t/**\n\t * Checks if the provided arguments are from an iteratee call.\n\t *\n\t * @private\n\t * @param {*} value The potential iteratee value argument.\n\t * @param {*} index The potential iteratee index or key argument.\n\t * @param {*} object The potential iteratee object argument.\n\t * @returns {boolean} Returns `true` if the arguments are from an iteratee call, else `false`.\n\t */\n\tfunction isIterateeCall(value, index, object) {\n\t if (!isObject(object)) {\n\t return false;\n\t }\n\t var type = typeof index === 'undefined' ? 'undefined' : _typeof(index);\n\t if (type == 'number' ? isArrayLike(object) && isIndex(index, object.length) : type == 'string' && index in object) {\n\t var other = object[index];\n\t return value === value ? value === other : other !== other;\n\t }\n\t return false;\n\t}\n\t\n\tmodule.exports = isIterateeCall;\n\n/***/ },\n/* 5 */\n/***/ function(module, exports) {\n\n\t/* WEBPACK VAR INJECTION */(function(__webpack_amd_options__) {module.exports = __webpack_amd_options__;\r\n\t\n\t/* WEBPACK VAR INJECTION */}.call(exports, {}))\n\n/***/ },\n/* 6 */\n/***/ function(module, exports) {\n\n\tmodule.exports = ReactDOM;\n\n/***/ },\n/* 7 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tmodule.exports = function blacklist(src) {\n\t var copy = {},\n\t filter = arguments[1];\n\t\n\t if (typeof filter === 'string') {\n\t filter = {};\n\t for (var i = 1; i < arguments.length; i++) {\n\t filter[arguments[i]] = true;\n\t }\n\t }\n\t\n\t for (var key in src) {\n\t // blacklist?\n\t if (filter[key]) continue;\n\t\n\t copy[key] = src[key];\n\t }\n\t\n\t return copy;\n\t};\n\n/***/ },\n/* 8 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar baseSlice = __webpack_require__(10),\n\t isIterateeCall = __webpack_require__(4);\n\t\n\t/* Native method references for those with the same name as other `lodash` methods. */\n\tvar nativeCeil = Math.ceil,\n\t nativeFloor = Math.floor,\n\t nativeMax = Math.max;\n\t\n\t/**\n\t * Creates an array of elements split into groups the length of `size`.\n\t * If `collection` can't be split evenly, the final chunk will be the remaining\n\t * elements.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Array\n\t * @param {Array} array The array to process.\n\t * @param {number} [size=1] The length of each chunk.\n\t * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n\t * @returns {Array} Returns the new array containing chunks.\n\t * @example\n\t *\n\t * _.chunk(['a', 'b', 'c', 'd'], 2);\n\t * // => [['a', 'b'], ['c', 'd']]\n\t *\n\t * _.chunk(['a', 'b', 'c', 'd'], 3);\n\t * // => [['a', 'b', 'c'], ['d']]\n\t */\n\tfunction chunk(array, size, guard) {\n\t if (guard ? isIterateeCall(array, size, guard) : size == null) {\n\t size = 1;\n\t } else {\n\t size = nativeMax(nativeFloor(size) || 1, 1);\n\t }\n\t var index = 0,\n\t length = array ? array.length : 0,\n\t resIndex = -1,\n\t result = Array(nativeCeil(length / size));\n\t\n\t while (index < length) {\n\t result[++resIndex] = baseSlice(array, index, index += size);\n\t }\n\t return result;\n\t}\n\t\n\tmodule.exports = chunk;\n\n/***/ },\n/* 9 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\t/**\n\t * The base implementation of `_.property` without support for deep paths.\n\t *\n\t * @private\n\t * @param {string} key The key of the property to get.\n\t * @returns {Function} Returns the new function.\n\t */\n\tfunction baseProperty(key) {\n\t return function (object) {\n\t return object == null ? undefined : object[key];\n\t };\n\t}\n\t\n\tmodule.exports = baseProperty;\n\n/***/ },\n/* 10 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\t/**\n\t * The base implementation of `_.slice` without an iteratee call guard.\n\t *\n\t * @private\n\t * @param {Array} array The array to slice.\n\t * @param {number} [start=0] The start position.\n\t * @param {number} [end=array.length] The end position.\n\t * @returns {Array} Returns the slice of `array`.\n\t */\n\tfunction baseSlice(array, start, end) {\n\t var index = -1,\n\t length = array.length;\n\t\n\t start = start == null ? 0 : +start || 0;\n\t if (start < 0) {\n\t start = -start > length ? 0 : length + start;\n\t }\n\t end = end === undefined || end > length ? length : +end || 0;\n\t if (end < 0) {\n\t end += length;\n\t }\n\t length = start > end ? 0 : end - start >>> 0;\n\t start >>>= 0;\n\t\n\t var result = Array(length);\n\t while (++index < length) {\n\t result[index] = array[index + start];\n\t }\n\t return result;\n\t}\n\t\n\tmodule.exports = baseSlice;\n\n/***/ },\n/* 11 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar baseProperty = __webpack_require__(9);\n\t\n\t/**\n\t * Gets the \"length\" property value of `object`.\n\t *\n\t * **Note:** This function is used to avoid a [JIT bug](https://bugs.webkit.org/show_bug.cgi?id=142792)\n\t * that affects Safari on at least iOS 8.1-8.3 ARM64.\n\t *\n\t * @private\n\t * @param {Object} object The object to query.\n\t * @returns {*} Returns the \"length\" value.\n\t */\n\tvar getLength = baseProperty('length');\n\t\n\tmodule.exports = getLength;\n\n/***/ },\n/* 12 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar getLength = __webpack_require__(11),\n\t isLength = __webpack_require__(14);\n\t\n\t/**\n\t * Checks if `value` is array-like.\n\t *\n\t * @private\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n\t */\n\tfunction isArrayLike(value) {\n\t return value != null && isLength(getLength(value));\n\t}\n\t\n\tmodule.exports = isArrayLike;\n\n/***/ },\n/* 13 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\t/** Used to detect unsigned integer values. */\n\tvar reIsUint = /^\\d+$/;\n\t\n\t/**\n\t * Used as the [maximum length](http://ecma-international.org/ecma-262/6.0/#sec-number.max_safe_integer)\n\t * of an array-like value.\n\t */\n\tvar MAX_SAFE_INTEGER = 9007199254740991;\n\t\n\t/**\n\t * Checks if `value` is a valid array-like index.\n\t *\n\t * @private\n\t * @param {*} value The value to check.\n\t * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n\t * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n\t */\n\tfunction isIndex(value, length) {\n\t value = typeof value == 'number' || reIsUint.test(value) ? +value : -1;\n\t length = length == null ? MAX_SAFE_INTEGER : length;\n\t return value > -1 && value % 1 == 0 && value < length;\n\t}\n\t\n\tmodule.exports = isIndex;\n\n/***/ },\n/* 14 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\t/**\n\t * Used as the [maximum length](http://ecma-international.org/ecma-262/6.0/#sec-number.max_safe_integer)\n\t * of an array-like value.\n\t */\n\tvar MAX_SAFE_INTEGER = 9007199254740991;\n\t\n\t/**\n\t * Checks if `value` is a valid array-like length.\n\t *\n\t * **Note:** This function is based on [`ToLength`](http://ecma-international.org/ecma-262/6.0/#sec-tolength).\n\t *\n\t * @private\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n\t */\n\tfunction isLength(value) {\n\t return typeof value == 'number' && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n\t}\n\t\n\tmodule.exports = isLength;\n\n/***/ },\n/* 15 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol ? \"symbol\" : typeof obj; };\n\t\n\t/**\n\t * Checks if `value` is the [language type](https://es5.github.io/#x8) of `Object`.\n\t * (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n\t * @example\n\t *\n\t * _.isObject({});\n\t * // => true\n\t *\n\t * _.isObject([1, 2, 3]);\n\t * // => true\n\t *\n\t * _.isObject(1);\n\t * // => false\n\t */\n\tfunction isObject(value) {\n\t // Avoid a V8 JIT bug in Chrome 19-20.\n\t // See https://code.google.com/p/v8/issues/detail?id=2291 for more details.\n\t var type = typeof value === 'undefined' ? 'undefined' : _typeof(value);\n\t return !!value && (type == 'object' || type == 'function');\n\t}\n\t\n\tmodule.exports = isObject;\n\n/***/ },\n/* 16 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar isIterateeCall = __webpack_require__(4);\n\t\n\t/* Native method references for those with the same name as other `lodash` methods. */\n\tvar nativeCeil = Math.ceil,\n\t nativeMax = Math.max;\n\t\n\t/**\n\t * Creates an array of numbers (positive and/or negative) progressing from\n\t * `start` up to, but not including, `end`. If `end` is not specified it's\n\t * set to `start` with `start` then set to `0`. If `end` is less than `start`\n\t * a zero-length range is created unless a negative `step` is specified.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Utility\n\t * @param {number} [start=0] The start of the range.\n\t * @param {number} end The end of the range.\n\t * @param {number} [step=1] The value to increment or decrement by.\n\t * @returns {Array} Returns the new array of numbers.\n\t * @example\n\t *\n\t * _.range(4);\n\t * // => [0, 1, 2, 3]\n\t *\n\t * _.range(1, 5);\n\t * // => [1, 2, 3, 4]\n\t *\n\t * _.range(0, 20, 5);\n\t * // => [0, 5, 10, 15]\n\t *\n\t * _.range(0, -4, -1);\n\t * // => [0, -1, -2, -3]\n\t *\n\t * _.range(1, 4, 0);\n\t * // => [1, 1, 1]\n\t *\n\t * _.range(0);\n\t * // => []\n\t */\n\tfunction range(start, end, step) {\n\t if (step && isIterateeCall(start, end, step)) {\n\t end = step = undefined;\n\t }\n\t start = +start || 0;\n\t step = step == null ? 1 : +step || 0;\n\t\n\t if (end == null) {\n\t end = start;\n\t start = 0;\n\t } else {\n\t end = +end || 0;\n\t }\n\t // Use `Array(length)` so engines like Chakra and V8 avoid slower modes.\n\t // See https://youtu.be/XAqIpGU8ZZk#t=17m25s for more details.\n\t var index = -1,\n\t length = nativeMax(nativeCeil((end - start) / (step || 1)), 0),\n\t result = Array(length);\n\t\n\t while (++index < length) {\n\t result[index] = start;\n\t start += step;\n\t }\n\t return result;\n\t}\n\t\n\tmodule.exports = range;\n\n/***/ },\n/* 17 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _extends = Object.assign || function (target) {\n\t for (var i = 1; i < arguments.length; i++) {\n\t var source = arguments[i];for (var key in source) {\n\t if (Object.prototype.hasOwnProperty.call(source, key)) {\n\t target[key] = source[key];\n\t }\n\t }\n\t }return target;\n\t};\n\t\n\tvar cx = __webpack_require__(2);\n\tvar blacklist = __webpack_require__(7);\n\tvar React = __webpack_require__(1);\n\tvar ReactDOM = __webpack_require__(6);\n\t\n\tmodule.exports = React.createClass({\n\t displayName: 'InputSlider',\n\t\n\t propTypes: {\n\t axis: React.PropTypes.string,\n\t x: React.PropTypes.number,\n\t xmax: React.PropTypes.number,\n\t xmin: React.PropTypes.number,\n\t y: React.PropTypes.number,\n\t ymax: React.PropTypes.number,\n\t ymin: React.PropTypes.number\n\t },\n\t\n\t getDefaultProps: function getDefaultProps() {\n\t return {\n\t axis: 'x',\n\t xmin: 0,\n\t ymin: 0\n\t };\n\t },\n\t render: function render() {\n\t var axis = this.props.axis;\n\t var props = blacklist(this.props, 'axis', 'x', 'y', 'xmin', 'xmax', 'ymin', 'ymax', 'onChange', 'onDragEnd', 'className', 'onClick');\n\t var pos = this.getPosition();\n\t var valueStyle = {};\n\t if (axis === 'x') valueStyle.width = pos.left;\n\t if (axis === 'y') valueStyle.height = pos.top;\n\t\n\t props.className = cx('u-slider', 'u-slider-' + axis, this.props.className);\n\t\n\t return React.createElement('div', _extends({}, props, { onClick: this.handleClick }), React.createElement('div', {\n\t className: 'value',\n\t style: valueStyle }), React.createElement('div', {\n\t className: 'handle',\n\t ref: 'handle',\n\t onTouchStart: this.handleMouseDown,\n\t onMouseDown: this.handleMouseDown,\n\t onClick: function onClick(e) {\n\t e.stopPropagation();\n\t e.nativeEvent.stopImmediatePropagation();\n\t },\n\t style: pos }));\n\t },\n\t getClientPosition: function getClientPosition(e) {\n\t var touches = e.touches;\n\t if (touches && touches.length) {\n\t var finger = touches[0];\n\t return {\n\t x: finger.clientX,\n\t y: finger.clientY\n\t };\n\t }\n\t\n\t return {\n\t x: e.clientX,\n\t y: e.clientY\n\t };\n\t },\n\t getPosition: function getPosition() {\n\t var top = (this.props.y - this.props.ymin) / (this.props.ymax - this.props.ymin) * 100;\n\t var left = (this.props.x - this.props.xmin) / (this.props.xmax - this.props.xmin) * 100;\n\t\n\t if (top > 100) top = 100;\n\t if (top < 0) top = 0;\n\t if (this.props.axis === 'x') top = 0;\n\t top += '%';\n\t\n\t if (left > 100) left = 100;\n\t if (left < 0) left = 0;\n\t if (this.props.axis === 'y') left = 0;\n\t left += '%';\n\t\n\t return { top: top, left: left };\n\t },\n\t change: function change(pos, dragEnd) {\n\t if (!this.props.onChange) return;\n\t\n\t var rect = ReactDOM.findDOMNode(this).getBoundingClientRect();\n\t var width = rect.width;\n\t var height = rect.height;\n\t var left = pos.left;\n\t var top = pos.top;\n\t var axis = this.props.axis;\n\t\n\t if (left < 0) left = 0;\n\t if (left > width) left = width;\n\t if (top < 0) top = 0;\n\t if (top > height) top = height;\n\t\n\t var x = 0;\n\t var y = 0;\n\t if (axis === 'x' || axis === 'xy') {\n\t x = left / width * (this.props.xmax - this.props.xmin) + this.props.xmin;\n\t }\n\t if (axis === 'y' || axis === 'xy') {\n\t y = top / height * (this.props.ymax - this.props.ymin) + this.props.ymin;\n\t }\n\t\n\t this.props.onChange({ x: x, y: y });\n\t },\n\t handleMouseDown: function handleMouseDown(e) {\n\t e.preventDefault();\n\t var dom = this.refs.handle;\n\t var clientPos = this.getClientPosition(e);\n\t\n\t this.start = {\n\t x: dom.offsetLeft,\n\t y: dom.offsetTop\n\t };\n\t\n\t this.offset = {\n\t x: clientPos.x,\n\t y: clientPos.y\n\t };\n\t\n\t document.addEventListener('mousemove', this.handleDrag);\n\t document.addEventListener('mouseup', this.handleDragEnd);\n\t\n\t document.addEventListener('touchmove', this.handleDrag);\n\t document.addEventListener('touchend', this.handleDragEnd);\n\t document.addEventListener('touchcancel', this.handleDragEnd);\n\t },\n\t getPos: function getPos(e) {\n\t var clientPos = this.getClientPosition(e);\n\t var rect = ReactDOM.findDOMNode(this).getBoundingClientRect();\n\t var posX = clientPos.x + this.start.x - this.offset.x;\n\t var posY = clientPos.y + this.start.y - this.offset.y;\n\t\n\t return {\n\t left: posX,\n\t top: posY\n\t };\n\t },\n\t handleDrag: function handleDrag(e) {\n\t e.preventDefault();\n\t this.change(this.getPos(e));\n\t },\n\t handleDragEnd: function handleDragEnd(e) {\n\t e.preventDefault();\n\t document.removeEventListener('mousemove', this.handleDrag);\n\t document.removeEventListener('mouseup', this.handleDragEnd);\n\t\n\t document.removeEventListener('touchmove', this.handleDrag);\n\t document.removeEventListener('touchend', this.handleDragEnd);\n\t document.removeEventListener('touchcancel', this.handleDragEnd);\n\t\n\t if (this.props.onDragEnd) {\n\t this.props.onDragEnd();\n\t }\n\t },\n\t handleClick: function handleClick(e) {\n\t var clientPos = this.getClientPosition(e);\n\t var rect = ReactDOM.findDOMNode(this).getBoundingClientRect();\n\t\n\t this.change({\n\t left: clientPos.x - rect.left,\n\t top: clientPos.y - rect.top\n\t }, true);\n\t }\n\t});\n\n/***/ },\n/* 18 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tmodule.exports = __webpack_require__(17);\n\n/***/ },\n/* 19 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\t\n\tvar cx = __webpack_require__(2);\n\tvar moment = __webpack_require__(3);\n\tvar React = __webpack_require__(1);\n\tvar range = __webpack_require__(16);\n\tvar chunk = __webpack_require__(8);\n\t\n\tvar Day = React.createClass({\n\t displayName: 'Day',\n\t\n\t render: function render() {\n\t var i = this.props.i;\n\t var w = this.props.w;\n\t var prevMonth = w === 0 && i > 7;\n\t var nextMonth = w >= 4 && i <= 14;\n\t var cn = cx({\n\t 'prev-month': prevMonth,\n\t 'next-month': nextMonth,\n\t 'current-day': !prevMonth && !nextMonth && i === this.props.d\n\t });\n\t\n\t return React.createElement(\n\t 'td',\n\t _extends({ className: cn }, this.props),\n\t i\n\t );\n\t }\n\t});\n\t\n\tmodule.exports = React.createClass({\n\t displayName: 'Calendar',\n\t\n\t render: function render() {\n\t var _this = this;\n\t\n\t var m = this.props.moment;\n\t var d = m.date();\n\t var d1 = m.clone().subtract(1, 'month').endOf('month').date();\n\t var d2 = m.clone().date(1).day();\n\t var d3 = m.clone().endOf('month').date();\n\t\n\t var days = [].concat(range(d1 - d2 + 1, d1 + 1), range(1, d3 + 1), range(1, 42 - d3 - d2 + 1));\n\t\n\t var weeks = ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'];\n\t\n\t return React.createElement(\n\t 'div',\n\t { className: cx('m-calendar', this.props.className) },\n\t React.createElement(\n\t 'div',\n\t { className: 'toolbar' },\n\t React.createElement(\n\t 'button',\n\t { type: 'button', className: 'prev-month', onClick: this.prevMonth },\n\t React.createElement('i', { className: this.props.prevMonthIcon })\n\t ),\n\t React.createElement(\n\t 'span',\n\t { className: 'current-date' },\n\t m.format('MMMM YYYY')\n\t ),\n\t React.createElement(\n\t 'button',\n\t { type: 'button', className: 'next-month', onClick: this.nextMonth },\n\t React.createElement('i', { className: this.props.nextMonthIcon })\n\t )\n\t ),\n\t React.createElement(\n\t 'table',\n\t null,\n\t React.createElement(\n\t 'thead',\n\t null,\n\t React.createElement(\n\t 'tr',\n\t null,\n\t weeks.map(function (w, i) {\n\t return React.createElement(\n\t 'td',\n\t { key: i },\n\t w\n\t );\n\t })\n\t )\n\t ),\n\t React.createElement(\n\t 'tbody',\n\t null,\n\t chunk(days, 7).map(function (row, w) {\n\t return React.createElement(\n\t 'tr',\n\t { key: w },\n\t row.map(function (i) {\n\t return React.createElement(Day, { key: i, i: i, d: d, w: w,\n\t onClick: _this.selectDate.bind(null, i, w)\n\t });\n\t })\n\t );\n\t })\n\t )\n\t )\n\t );\n\t },\n\t selectDate: function selectDate(i, w) {\n\t var prevMonth = w === 0 && i > 7;\n\t var nextMonth = w >= 4 && i <= 14;\n\t var m = this.props.moment;\n\t\n\t m.date(i);\n\t if (prevMonth) m.subtract(1, 'month');\n\t if (nextMonth) m.add(1, 'month');\n\t\n\t this.props.onChange(m);\n\t },\n\t prevMonth: function prevMonth(e) {\n\t e.preventDefault();\n\t this.props.onChange(this.props.moment.subtract(1, 'month'));\n\t },\n\t nextMonth: function nextMonth(e) {\n\t e.preventDefault();\n\t this.props.onChange(this.props.moment.add(1, 'month'));\n\t }\n\t});\n\n/***/ },\n/* 20 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar cx = __webpack_require__(2);\n\tvar moment = __webpack_require__(3);\n\tvar React = __webpack_require__(1);\n\tvar Calendar = __webpack_require__(19);\n\tvar Time = __webpack_require__(21);\n\t\n\tmodule.exports = React.createClass({\n\t displayName: 'InputMoment',\n\t\n\t getInitialState: function getInitialState() {\n\t return {\n\t tab: 0\n\t };\n\t },\n\t getDefaultProps: function getDefaultProps() {\n\t return {\n\t prevMonthIcon: 'ion-ios-arrow-left',\n\t nextMonthIcon: 'ion-ios-arrow-right'\n\t };\n\t },\n\t render: function render() {\n\t var tab = this.state.tab;\n\t var m = this.props.moment;\n\t\n\t return React.createElement(\n\t 'div',\n\t { className: 'm-input-moment' },\n\t React.createElement(\n\t 'div',\n\t { className: 'options' },\n\t React.createElement(\n\t 'button',\n\t { type: 'button', className: cx('ion-calendar im-btn', { 'is-active': tab === 0 }), onClick: this.handleClickTab.bind(null, 0) },\n\t 'Date'\n\t ),\n\t React.createElement(\n\t 'button',\n\t { type: 'button', className: cx('ion-clock im-btn', { 'is-active': tab === 1 }), onClick: this.handleClickTab.bind(null, 1) },\n\t 'Time'\n\t )\n\t ),\n\t React.createElement(\n\t 'div',\n\t { className: 'tabs' },\n\t React.createElement(Calendar, {\n\t className: cx('tab', { 'is-active': tab === 0 }),\n\t moment: m,\n\t onChange: this.props.onChange,\n\t prevMonthIcon: this.props.prevMonthIcon,\n\t nextMonthIcon: this.props.nextMonthIcon\n\t }),\n\t React.createElement(Time, {\n\t className: cx('tab', { 'is-active': tab === 1 }),\n\t moment: m,\n\t onChange: this.props.onChange\n\t })\n\t ),\n\t React.createElement(\n\t 'button',\n\t { type: 'button', className: 'im-btn btn-save ion-checkmark',\n\t onClick: this.handleSave },\n\t 'Save'\n\t )\n\t );\n\t },\n\t handleClickTab: function handleClickTab(tab, e) {\n\t e.preventDefault();\n\t this.setState({ tab: tab });\n\t },\n\t handleSave: function handleSave(e) {\n\t e.preventDefault();\n\t if (this.props.onSave) this.props.onSave();\n\t }\n\t});\n\n/***/ },\n/* 21 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar cx = __webpack_require__(2);\n\tvar React = __webpack_require__(1);\n\tvar InputSlider = __webpack_require__(18);\n\t\n\tmodule.exports = React.createClass({\n\t displayName: 'Time',\n\t\n\t render: function render() {\n\t var m = this.props.moment;\n\t\n\t return React.createElement(\n\t 'div',\n\t { className: cx('m-time', this.props.className) },\n\t React.createElement(\n\t 'div',\n\t { className: 'showtime' },\n\t React.createElement(\n\t 'span',\n\t { className: 'time' },\n\t m.format('HH')\n\t ),\n\t React.createElement(\n\t 'span',\n\t { className: 'separater' },\n\t ':'\n\t ),\n\t React.createElement(\n\t 'span',\n\t { className: 'time' },\n\t m.format('mm')\n\t )\n\t ),\n\t React.createElement(\n\t 'div',\n\t { className: 'sliders' },\n\t React.createElement(\n\t 'div',\n\t { className: 'time-text' },\n\t 'Hours:'\n\t ),\n\t React.createElement(InputSlider, {\n\t className: 'u-slider-time',\n\t xmin: 0,\n\t xmax: 23,\n\t x: m.hour(),\n\t onChange: this.changeHours\n\t }),\n\t React.createElement(\n\t 'div',\n\t { className: 'time-text' },\n\t 'Minutes:'\n\t ),\n\t React.createElement(InputSlider, {\n\t className: 'u-slider-time',\n\t xmin: 0,\n\t xmax: 59,\n\t x: m.minute(),\n\t onChange: this.changeMinutes\n\t })\n\t )\n\t );\n\t },\n\t changeHours: function changeHours(pos) {\n\t var m = this.props.moment;\n\t m.hours(parseInt(pos.x, 10));\n\t this.props.onChange(m);\n\t },\n\t changeMinutes: function changeMinutes(pos) {\n\t var m = this.props.moment;\n\t m.minutes(parseInt(pos.x, 10));\n\t this.props.onChange(m);\n\t }\n\t});\n\n/***/ }\n/******/ ]);\n\n\n/** WEBPACK FOOTER **\n ** dist/input-moment.js\n **/"," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId])\n \t\t\treturn installedModules[moduleId].exports;\n\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\texports: {},\n \t\t\tid: moduleId,\n \t\t\tloaded: false\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.loaded = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(0);\n\n\n\n/** WEBPACK FOOTER **\n ** webpack/bootstrap 99e7da9d503c582c1957\n **/","module.exports = require('./src/input-moment');\n\n\n\n/** WEBPACK FOOTER **\n ** ./index.js\n **/","module.exports = React;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** external \"React\"\n ** module id = 1\n ** module chunks = 0 1\n **/","/*!\n Copyright (c) 2016 Jed Watson.\n Licensed under the MIT License (MIT), see\n http://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg)) {\n\t\t\t\tclasses.push(classNames.apply(null, arg));\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tfor (var key in arg) {\n\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n\n\n\n/** WEBPACK FOOTER **\n ** ./~/classnames/index.js\n **/","module.exports = moment;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** external \"moment\"\n ** module id = 3\n ** module chunks = 0 1\n **/","var isArrayLike = require('./isArrayLike'),\n isIndex = require('./isIndex'),\n isObject = require('../lang/isObject');\n\n/**\n * Checks if the provided arguments are from an iteratee call.\n *\n * @private\n * @param {*} value The potential iteratee value argument.\n * @param {*} index The potential iteratee index or key argument.\n * @param {*} object The potential iteratee object argument.\n * @returns {boolean} Returns `true` if the arguments are from an iteratee call, else `false`.\n */\nfunction isIterateeCall(value, index, object) {\n if (!isObject(object)) {\n return false;\n }\n var type = typeof index;\n if (type == 'number'\n ? (isArrayLike(object) && isIndex(index, object.length))\n : (type == 'string' && index in object)) {\n var other = object[index];\n return value === value ? (value === other) : (other !== other);\n }\n return false;\n}\n\nmodule.exports = isIterateeCall;\n\n\n\n/** WEBPACK FOOTER **\n ** ./~/lodash/internal/isIterateeCall.js\n **/","module.exports = __webpack_amd_options__;\r\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** (webpack)/buildin/amd-options.js\n ** module id = 5\n ** module chunks = 0 1\n **/","module.exports = ReactDOM;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** external \"ReactDOM\"\n ** module id = 6\n ** module chunks = 0 1\n **/","module.exports = function blacklist (src) {\n var copy = {}, filter = arguments[1]\n\n if (typeof filter === 'string') {\n filter = {}\n for (var i = 1; i < arguments.length; i++) {\n filter[arguments[i]] = true\n }\n }\n\n for (var key in src) {\n // blacklist?\n if (filter[key]) continue\n\n copy[key] = src[key]\n }\n\n return copy\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./~/blacklist/index.js\n **/","var baseSlice = require('../internal/baseSlice'),\n isIterateeCall = require('../internal/isIterateeCall');\n\n/* Native method references for those with the same name as other `lodash` methods. */\nvar nativeCeil = Math.ceil,\n nativeFloor = Math.floor,\n nativeMax = Math.max;\n\n/**\n * Creates an array of elements split into groups the length of `size`.\n * If `collection` can't be split evenly, the final chunk will be the remaining\n * elements.\n *\n * @static\n * @memberOf _\n * @category Array\n * @param {Array} array The array to process.\n * @param {number} [size=1] The length of each chunk.\n * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n * @returns {Array} Returns the new array containing chunks.\n * @example\n *\n * _.chunk(['a', 'b', 'c', 'd'], 2);\n * // => [['a', 'b'], ['c', 'd']]\n *\n * _.chunk(['a', 'b', 'c', 'd'], 3);\n * // => [['a', 'b', 'c'], ['d']]\n */\nfunction chunk(array, size, guard) {\n if (guard ? isIterateeCall(array, size, guard) : size == null) {\n size = 1;\n } else {\n size = nativeMax(nativeFloor(size) || 1, 1);\n }\n var index = 0,\n length = array ? array.length : 0,\n resIndex = -1,\n result = Array(nativeCeil(length / size));\n\n while (index < length) {\n result[++resIndex] = baseSlice(array, index, (index += size));\n }\n return result;\n}\n\nmodule.exports = chunk;\n\n\n\n/** WEBPACK FOOTER **\n ** ./~/lodash/array/chunk.js\n **/","/**\n * The base implementation of `_.property` without support for deep paths.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @returns {Function} Returns the new function.\n */\nfunction baseProperty(key) {\n return function(object) {\n return object == null ? undefined : object[key];\n };\n}\n\nmodule.exports = baseProperty;\n\n\n\n/** WEBPACK FOOTER **\n ** ./~/lodash/internal/baseProperty.js\n **/","/**\n * The base implementation of `_.slice` without an iteratee call guard.\n *\n * @private\n * @param {Array} array The array to slice.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the slice of `array`.\n */\nfunction baseSlice(array, start, end) {\n var index = -1,\n length = array.length;\n\n start = start == null ? 0 : (+start || 0);\n if (start < 0) {\n start = -start > length ? 0 : (length + start);\n }\n end = (end === undefined || end > length) ? length : (+end || 0);\n if (end < 0) {\n end += length;\n }\n length = start > end ? 0 : ((end - start) >>> 0);\n start >>>= 0;\n\n var result = Array(length);\n while (++index < length) {\n result[index] = array[index + start];\n }\n return result;\n}\n\nmodule.exports = baseSlice;\n\n\n\n/** WEBPACK FOOTER **\n ** ./~/lodash/internal/baseSlice.js\n **/","var baseProperty = require('./baseProperty');\n\n/**\n * Gets the \"length\" property value of `object`.\n *\n * **Note:** This function is used to avoid a [JIT bug](https://bugs.webkit.org/show_bug.cgi?id=142792)\n * that affects Safari on at least iOS 8.1-8.3 ARM64.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {*} Returns the \"length\" value.\n */\nvar getLength = baseProperty('length');\n\nmodule.exports = getLength;\n\n\n\n/** WEBPACK FOOTER **\n ** ./~/lodash/internal/getLength.js\n **/","var getLength = require('./getLength'),\n isLength = require('./isLength');\n\n/**\n * Checks if `value` is array-like.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n */\nfunction isArrayLike(value) {\n return value != null && isLength(getLength(value));\n}\n\nmodule.exports = isArrayLike;\n\n\n\n/** WEBPACK FOOTER **\n ** ./~/lodash/internal/isArrayLike.js\n **/","/** Used to detect unsigned integer values. */\nvar reIsUint = /^\\d+$/;\n\n/**\n * Used as the [maximum length](http://ecma-international.org/ecma-262/6.0/#sec-number.max_safe_integer)\n * of an array-like value.\n */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\nfunction isIndex(value, length) {\n value = (typeof value == 'number' || reIsUint.test(value)) ? +value : -1;\n length = length == null ? MAX_SAFE_INTEGER : length;\n return value > -1 && value % 1 == 0 && value < length;\n}\n\nmodule.exports = isIndex;\n\n\n\n/** WEBPACK FOOTER **\n ** ./~/lodash/internal/isIndex.js\n **/","/**\n * Used as the [maximum length](http://ecma-international.org/ecma-262/6.0/#sec-number.max_safe_integer)\n * of an array-like value.\n */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This function is based on [`ToLength`](http://ecma-international.org/ecma-262/6.0/#sec-tolength).\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n */\nfunction isLength(value) {\n return typeof value == 'number' && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\n\nmodule.exports = isLength;\n\n\n\n/** WEBPACK FOOTER **\n ** ./~/lodash/internal/isLength.js\n **/","/**\n * Checks if `value` is the [language type](https://es5.github.io/#x8) of `Object`.\n * (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(1);\n * // => false\n */\nfunction isObject(value) {\n // Avoid a V8 JIT bug in Chrome 19-20.\n // See https://code.google.com/p/v8/issues/detail?id=2291 for more details.\n var type = typeof value;\n return !!value && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n\n\n\n/** WEBPACK FOOTER **\n ** ./~/lodash/lang/isObject.js\n **/","var isIterateeCall = require('../internal/isIterateeCall');\n\n/* Native method references for those with the same name as other `lodash` methods. */\nvar nativeCeil = Math.ceil,\n nativeMax = Math.max;\n\n/**\n * Creates an array of numbers (positive and/or negative) progressing from\n * `start` up to, but not including, `end`. If `end` is not specified it's\n * set to `start` with `start` then set to `0`. If `end` is less than `start`\n * a zero-length range is created unless a negative `step` is specified.\n *\n * @static\n * @memberOf _\n * @category Utility\n * @param {number} [start=0] The start of the range.\n * @param {number} end The end of the range.\n * @param {number} [step=1] The value to increment or decrement by.\n * @returns {Array} Returns the new array of numbers.\n * @example\n *\n * _.range(4);\n * // => [0, 1, 2, 3]\n *\n * _.range(1, 5);\n * // => [1, 2, 3, 4]\n *\n * _.range(0, 20, 5);\n * // => [0, 5, 10, 15]\n *\n * _.range(0, -4, -1);\n * // => [0, -1, -2, -3]\n *\n * _.range(1, 4, 0);\n * // => [1, 1, 1]\n *\n * _.range(0);\n * // => []\n */\nfunction range(start, end, step) {\n if (step && isIterateeCall(start, end, step)) {\n end = step = undefined;\n }\n start = +start || 0;\n step = step == null ? 1 : (+step || 0);\n\n if (end == null) {\n end = start;\n start = 0;\n } else {\n end = +end || 0;\n }\n // Use `Array(length)` so engines like Chakra and V8 avoid slower modes.\n // See https://youtu.be/XAqIpGU8ZZk#t=17m25s for more details.\n var index = -1,\n length = nativeMax(nativeCeil((end - start) / (step || 1)), 0),\n result = Array(length);\n\n while (++index < length) {\n result[index] = start;\n start += step;\n }\n return result;\n}\n\nmodule.exports = range;\n\n\n\n/** WEBPACK FOOTER **\n ** ./~/lodash/utility/range.js\n **/","'use strict';\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar cx = require('classnames');\nvar blacklist = require('blacklist');\nvar React = require('react');\nvar ReactDOM = require('react-dom');\n\nmodule.exports = React.createClass({\n displayName: 'InputSlider',\n\n propTypes: {\n axis: React.PropTypes.string,\n x: React.PropTypes.number,\n xmax: React.PropTypes.number,\n xmin: React.PropTypes.number,\n y: React.PropTypes.number,\n ymax: React.PropTypes.number,\n ymin: React.PropTypes.number\n },\n\n getDefaultProps: function getDefaultProps() {\n return {\n axis: 'x',\n xmin: 0,\n ymin: 0\n };\n },\n render: function render() {\n var axis = this.props.axis;\n var props = blacklist(this.props, 'axis', 'x', 'y', 'xmin', 'xmax', 'ymin', 'ymax', 'onChange', 'onDragEnd', 'className', 'onClick');\n var pos = this.getPosition();\n var valueStyle = {};\n if (axis === 'x') valueStyle.width = pos.left;\n if (axis === 'y') valueStyle.height = pos.top;\n\n props.className = cx('u-slider', 'u-slider-' + axis, this.props.className);\n\n return React.createElement(\n 'div',\n _extends({}, props, { onClick: this.handleClick }),\n React.createElement('div', {\n className: 'value',\n style: valueStyle }),\n React.createElement('div', {\n className: 'handle',\n ref: 'handle',\n onTouchStart: this.handleMouseDown,\n onMouseDown: this.handleMouseDown,\n onClick: function onClick(e) {\n e.stopPropagation();\n e.nativeEvent.stopImmediatePropagation();\n },\n style: pos })\n );\n },\n getClientPosition: function getClientPosition(e) {\n var touches = e.touches;\n if (touches && touches.length) {\n var finger = touches[0];\n return {\n x: finger.clientX,\n y: finger.clientY\n };\n }\n\n return {\n x: e.clientX,\n y: e.clientY\n };\n },\n getPosition: function getPosition() {\n var top = (this.props.y - this.props.ymin) / (this.props.ymax - this.props.ymin) * 100;\n var left = (this.props.x - this.props.xmin) / (this.props.xmax - this.props.xmin) * 100;\n\n if (top > 100) top = 100;\n if (top < 0) top = 0;\n if (this.props.axis === 'x') top = 0;\n top += '%';\n\n if (left > 100) left = 100;\n if (left < 0) left = 0;\n if (this.props.axis === 'y') left = 0;\n left += '%';\n\n return { top: top, left: left };\n },\n change: function change(pos, dragEnd) {\n if (!this.props.onChange) return;\n\n var rect = ReactDOM.findDOMNode(this).getBoundingClientRect();\n var width = rect.width;\n var height = rect.height;\n var left = pos.left;\n var top = pos.top;\n var axis = this.props.axis;\n\n if (left < 0) left = 0;\n if (left > width) left = width;\n if (top < 0) top = 0;\n if (top > height) top = height;\n\n var x = 0;\n var y = 0;\n if (axis === 'x' || axis === 'xy') {\n x = left / width * (this.props.xmax - this.props.xmin) + this.props.xmin;\n }\n if (axis === 'y' || axis === 'xy') {\n y = top / height * (this.props.ymax - this.props.ymin) + this.props.ymin;\n }\n\n this.props.onChange({ x: x, y: y });\n },\n handleMouseDown: function handleMouseDown(e) {\n e.preventDefault();\n var dom = this.refs.handle;\n var clientPos = this.getClientPosition(e);\n\n this.start = {\n x: dom.offsetLeft,\n y: dom.offsetTop\n };\n\n this.offset = {\n x: clientPos.x,\n y: clientPos.y\n };\n\n document.addEventListener('mousemove', this.handleDrag);\n document.addEventListener('mouseup', this.handleDragEnd);\n\n document.addEventListener('touchmove', this.handleDrag);\n document.addEventListener('touchend', this.handleDragEnd);\n document.addEventListener('touchcancel', this.handleDragEnd);\n },\n getPos: function getPos(e) {\n var clientPos = this.getClientPosition(e);\n var rect = ReactDOM.findDOMNode(this).getBoundingClientRect();\n var posX = clientPos.x + this.start.x - this.offset.x;\n var posY = clientPos.y + this.start.y - this.offset.y;\n\n return {\n left: posX,\n top: posY\n };\n },\n handleDrag: function handleDrag(e) {\n e.preventDefault();\n this.change(this.getPos(e));\n },\n handleDragEnd: function handleDragEnd(e) {\n e.preventDefault();\n document.removeEventListener('mousemove', this.handleDrag);\n document.removeEventListener('mouseup', this.handleDragEnd);\n\n document.removeEventListener('touchmove', this.handleDrag);\n document.removeEventListener('touchend', this.handleDragEnd);\n document.removeEventListener('touchcancel', this.handleDragEnd);\n\n if (this.props.onDragEnd) {\n this.props.onDragEnd();\n }\n },\n handleClick: function handleClick(e) {\n var clientPos = this.getClientPosition(e);\n var rect = ReactDOM.findDOMNode(this).getBoundingClientRect();\n\n this.change({\n left: clientPos.x - rect.left,\n top: clientPos.y - rect.top\n }, true);\n }\n});\n\n\n/** WEBPACK FOOTER **\n ** ./~/react-input-slider/dist/input-slider.js\n **/","module.exports = require('./dist/input-slider.js');\n\n\n\n/** WEBPACK FOOTER **\n ** ./~/react-input-slider/index.js\n **/","var cx = require('classnames');\nvar moment = require('moment');\nvar React = require('react');\nvar range = require('lodash/utility/range');\nvar chunk = require('lodash/array/chunk');\n\nvar Day = React.createClass({\n displayName: 'Day',\n\n render() {\n var i = this.props.i;\n var w = this.props.w;\n var prevMonth = (w === 0 && i > 7);\n var nextMonth = (w >= 4 && i <= 14);\n var cn = cx({\n 'prev-month': prevMonth,\n 'next-month': nextMonth,\n 'current-day': !prevMonth && !nextMonth && (i === this.props.d)\n });\n\n return {i};\n }\n});\n\nmodule.exports = React.createClass({\n displayName: 'Calendar',\n\n render() {\n var m = this.props.moment;\n var d = m.date();\n var d1 = m.clone().subtract(1, 'month').endOf('month').date();\n var d2 = m.clone().date(1).day();\n var d3 = m.clone().endOf('month').date();\n\n var days = [].concat(\n range(d1-d2+1, d1+1),\n range(1, d3+1),\n range(1, 42-d3-d2+1)\n );\n\n var weeks = ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'];\n\n return (\n
\n
\n \n {m.format('MMMM YYYY')}\n \n
\n\n \n \n \n {weeks.map((w, i) => )}\n \n \n\n \n {chunk(days, 7).map((row, w) => (\n \n {row.map((i) => (\n \n ))}\n \n ))}\n \n
{w}
\n
\n );\n },\n\n selectDate(i, w) {\n var prevMonth = (w === 0 && i > 7);\n var nextMonth = (w >= 4 && i <= 14);\n var m = this.props.moment;\n\n m.date(i);\n if(prevMonth) m.subtract(1, 'month');\n if(nextMonth) m.add(1, 'month');\n\n this.props.onChange(m);\n },\n\n prevMonth(e) {\n e.preventDefault();\n this.props.onChange(this.props.moment.subtract(1, 'month'));\n },\n\n nextMonth(e) {\n e.preventDefault();\n this.props.onChange(this.props.moment.add(1, 'month'));\n }\n});\n\n\n\n/** WEBPACK FOOTER **\n ** ./src/calendar.js\n **/","var cx = require('classnames');\nvar moment = require('moment');\nvar React = require('react');\nvar Calendar = require('./calendar');\nvar Time = require('./time');\n\nmodule.exports = React.createClass({\n displayName: 'InputMoment',\n\n getInitialState() {\n return {\n tab: 0\n };\n },\n\n getDefaultProps() {\n return {\n prevMonthIcon: 'ion-ios-arrow-left',\n nextMonthIcon: 'ion-ios-arrow-right'\n };\n },\n\n render() {\n var tab = this.state.tab;\n var m = this.props.moment;\n\n return (\n
\n
\n \n \n
\n\n
\n \n \n
\n\n \n
\n );\n },\n\n handleClickTab(tab, e) {\n e.preventDefault();\n this.setState({tab: tab});\n },\n\n handleSave(e) {\n e.preventDefault();\n if(this.props.onSave) this.props.onSave();\n }\n});\n\n\n\n/** WEBPACK FOOTER **\n ** ./src/input-moment.js\n **/","var cx = require('classnames');\nvar React = require('react');\nvar InputSlider = require('react-input-slider');\n\nmodule.exports = React.createClass({\n displayName: 'Time',\n\n render() {\n var m = this.props.moment;\n\n return (\n
\n
\n {m.format('HH')}\n :\n {m.format('mm')}\n
\n\n
\n
Hours:
\n \n
Minutes:
\n \n
\n
\n );\n },\n\n changeHours(pos) {\n var m = this.props.moment;\n m.hours(parseInt(pos.x, 10));\n this.props.onChange(m);\n },\n\n changeMinutes(pos) {\n var m = this.props.moment;\n m.minutes(parseInt(pos.x, 10));\n this.props.onChange(m);\n }\n});\n\n\n\n/** WEBPACK FOOTER **\n ** ./src/time.js\n **/"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack:///dist/input-moment.js","webpack:///webpack/bootstrap 4a1415fc2875dde511ec?661b","webpack:///./index.js","webpack:///external \"React\"?9de9","webpack:///./~/classnames/index.js?8e43","webpack:///external \"moment\"?a88d","webpack:///./~/lodash/internal/isIterateeCall.js?d7cc","webpack:///(webpack)/buildin/amd-options.js?5f71","webpack:///external \"ReactDOM\"?4ab4","webpack:///./~/blacklist/index.js?ed1f","webpack:///./~/lodash/array/chunk.js?6077","webpack:///./~/lodash/internal/baseProperty.js?5eef","webpack:///./~/lodash/internal/baseSlice.js?a58d","webpack:///./~/lodash/internal/getLength.js?dd02","webpack:///./~/lodash/internal/isArrayLike.js?ac83","webpack:///./~/lodash/internal/isIndex.js?b4ae","webpack:///./~/lodash/internal/isLength.js?7563","webpack:///./~/lodash/lang/isObject.js?6404","webpack:///./~/lodash/utility/range.js?91cc","webpack:///./~/react-input-slider/dist/input-slider.js?f834","webpack:///./~/react-input-slider/index.js?f96e","webpack:///./src/calendar.js?e460","webpack:///./src/input-moment.js?73d7","webpack:///./src/time.js?e120"],"names":["modules","__webpack_require__","moduleId","installedModules","exports","module","id","loaded","call","m","c","p","React","__WEBPACK_AMD_DEFINE_ARRAY__","__WEBPACK_AMD_DEFINE_RESULT__","_typeof","Symbol","iterator","obj","constructor","classNames","classes","i","arguments","length","arg","argType","push","Array","isArray","apply","key","hasOwn","join","hasOwnProperty","undefined","window","moment","isIterateeCall","value","index","object","isObject","type","isArrayLike","isIndex","other","__webpack_amd_options__","ReactDOM","src","copy","filter","chunk","array","size","guard","nativeMax","nativeFloor","resIndex","result","nativeCeil","baseSlice","Math","ceil","floor","max","baseProperty","start","end","getLength","isLength","reIsUint","test","MAX_SAFE_INTEGER","range","step","_extends","Object","assign","target","source","prototype","cx","blacklist","createClass","displayName","propTypes","axis","PropTypes","string","x","number","xmax","xmin","y","ymax","ymin","getDefaultProps","render","this","props","pos","getPosition","valueStyle","width","left","height","top","className","createElement","onClick","handleClick","style","ref","onTouchStart","handleMouseDown","onMouseDown","e","stopPropagation","nativeEvent","stopImmediatePropagation","getClientPosition","touches","finger","clientX","clientY","change","dragEnd","onChange","rect","findDOMNode","getBoundingClientRect","preventDefault","dom","refs","handle","clientPos","offsetLeft","offsetTop","offset","document","addEventListener","handleDrag","handleDragEnd","getPos","posX","posY","removeEventListener","onDragEnd","Day","w","prevMonth","nextMonth","month","selected","subtract","add","date","valid","isValid","cn","prev-month","next-month","current-day","isSame","invalid","selectDate","bind","getInitialState","startOf","_this","state","d","d1","clone","endOf","d2","day","d3","days","concat","weeks","prevMonthIcon","format","nextMonthIcon","map","row","selectMoment","year","setState","Calendar","Time","tab","is-active","handleClickTab","handleSave","onSave","InputSlider","hour","changeHours","minute","changeMinutes","hours","parseInt","minutes"],"mappings":"CAAS,SAAUA,GCInB,QAAAC,GAAAC,GAGA,GAAAC,EAAAD,GACA,MAAAC,GAAAD,GAAAE,OAGA,IAAAC,GAAAF,EAAAD,IACAE,WACAE,GAAAJ,EACAK,QAAA,EAUA,OANAP,GAAAE,GAAAM,KAAAH,EAAAD,QAAAC,IAAAD,QAAAH,GAGAI,EAAAE,QAAA,EAGAF,EAAAD,QAvBA,GAAAD,KAqCA,OATAF,GAAAQ,EAAAT,EAGAC,EAAAS,EAAAP,EAGAF,EAAAU,EAAA,GAGAV,EAAA,KDMM,SAASI,EAAQD,EAASH,GAE/B,YE9CDI,GAAOD,QAAUH,EAAQ,KFoDnB,SAASI,EAAQD,GGpDvBC,EAAAD,QAAAQ,OH0DM,SAASP,EAAQD,EAASH,GAE/B,GAAIY,GAA8BC,EAE9BC,EAA4B,kBAAXC,SAAoD,gBAApBA,QAAOC,SAAwB,SAAUC,GAAO,aAAcA,IAAS,SAAUA,GAAO,MAAOA,IAAyB,kBAAXF,SAAyBE,EAAIC,cAAgBH,OAAS,eAAkBE;;;;;CIvD1O,WACA,YAIA,SAASE,KAGR,IAAK,GAFDC,MAEKC,EAAI,EAAGA,EAAIC,UAAUC,OAAQF,IAAK,CAC1C,GAAIG,GAAMF,UAAUD,EACpB,IAAKG,EAAL,CAEA,GAAIC,GAAA,mBAAiBD,GAAjB,YAAAV,EAAiBU,EAErB,IAAgB,WAAZC,GAAoC,WAAZA,EAC3BL,EAAQM,KAAKF,OACP,IAAIG,MAAMC,QAAQJ,GACxBJ,EAAQM,KAAKP,EAAWU,MAAM,KAAML,QAC9B,IAAgB,WAAZC,EACV,IAAK,GAAIK,KAAON,GACXO,EAAOxB,KAAKiB,EAAKM,IAAQN,EAAIM,IAChCV,EAAQM,KAAKI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cA1CiC,SA0CnBpG,GACZ,GAAI5F,GAAI0F,KAAKC,MAAM/D,MACnB5B,GAAEmM,QAAQD,SAAStG,EAAIX,EAAG,KAC1BS,KAAKC,MAAM4B,SAASvH","file":"dist/input-moment.js","sourcesContent":["/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId])\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\texports: {},\n/******/ \t\t\tid: moduleId,\n/******/ \t\t\tloaded: false\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.loaded = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(0);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tmodule.exports = __webpack_require__(20);\n\n/***/ },\n/* 1 */\n/***/ function(module, exports) {\n\n\tmodule.exports = React;\n\n/***/ },\n/* 2 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol ? \"symbol\" : typeof obj; };\n\t\n\t/*!\n\t Copyright (c) 2016 Jed Watson.\n\t Licensed under the MIT License (MIT), see\n\t http://jedwatson.github.io/classnames\n\t*/\n\t/* global define */\n\t\n\t(function () {\n\t\t'use strict';\n\t\n\t\tvar hasOwn = {}.hasOwnProperty;\n\t\n\t\tfunction classNames() {\n\t\t\tvar classes = [];\n\t\n\t\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\t\tvar arg = arguments[i];\n\t\t\t\tif (!arg) continue;\n\t\n\t\t\t\tvar argType = typeof arg === 'undefined' ? 'undefined' : _typeof(arg);\n\t\n\t\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\t\tclasses.push(arg);\n\t\t\t\t} else if (Array.isArray(arg)) {\n\t\t\t\t\tclasses.push(classNames.apply(null, arg));\n\t\t\t\t} else if (argType === 'object') {\n\t\t\t\t\tfor (var key in arg) {\n\t\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\n\t\t\treturn classes.join(' ');\n\t\t}\n\t\n\t\tif (typeof module !== 'undefined' && module.exports) {\n\t\t\tmodule.exports = classNames;\n\t\t} else if (\"function\" === 'function' && _typeof(__webpack_require__(5)) === 'object' && __webpack_require__(5)) {\n\t\t\t// register as 'classnames', consistent with npm package name\n\t\t\t!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = function () {\n\t\t\t\treturn classNames;\n\t\t\t}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\t\t} else {\n\t\t\twindow.classNames = classNames;\n\t\t}\n\t})();\n\n/***/ },\n/* 3 */\n/***/ function(module, exports) {\n\n\tmodule.exports = moment;\n\n/***/ },\n/* 4 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol ? \"symbol\" : typeof obj; };\n\t\n\tvar isArrayLike = __webpack_require__(12),\n\t isIndex = __webpack_require__(13),\n\t isObject = __webpack_require__(15);\n\t\n\t/**\n\t * Checks if the provided arguments are from an iteratee call.\n\t *\n\t * @private\n\t * @param {*} value The potential iteratee value argument.\n\t * @param {*} index The potential iteratee index or key argument.\n\t * @param {*} object The potential iteratee object argument.\n\t * @returns {boolean} Returns `true` if the arguments are from an iteratee call, else `false`.\n\t */\n\tfunction isIterateeCall(value, index, object) {\n\t if (!isObject(object)) {\n\t return false;\n\t }\n\t var type = typeof index === 'undefined' ? 'undefined' : _typeof(index);\n\t if (type == 'number' ? isArrayLike(object) && isIndex(index, object.length) : type == 'string' && index in object) {\n\t var other = object[index];\n\t return value === value ? value === other : other !== other;\n\t }\n\t return false;\n\t}\n\t\n\tmodule.exports = isIterateeCall;\n\n/***/ },\n/* 5 */\n/***/ function(module, exports) {\n\n\t/* WEBPACK VAR INJECTION */(function(__webpack_amd_options__) {module.exports = __webpack_amd_options__;\r\n\t\n\t/* WEBPACK VAR INJECTION */}.call(exports, {}))\n\n/***/ },\n/* 6 */\n/***/ function(module, exports) {\n\n\tmodule.exports = ReactDOM;\n\n/***/ },\n/* 7 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tmodule.exports = function blacklist(src) {\n\t var copy = {},\n\t filter = arguments[1];\n\t\n\t if (typeof filter === 'string') {\n\t filter = {};\n\t for (var i = 1; i < arguments.length; i++) {\n\t filter[arguments[i]] = true;\n\t }\n\t }\n\t\n\t for (var key in src) {\n\t // blacklist?\n\t if (filter[key]) continue;\n\t\n\t copy[key] = src[key];\n\t }\n\t\n\t return copy;\n\t};\n\n/***/ },\n/* 8 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar baseSlice = __webpack_require__(10),\n\t isIterateeCall = __webpack_require__(4);\n\t\n\t/* Native method references for those with the same name as other `lodash` methods. */\n\tvar nativeCeil = Math.ceil,\n\t nativeFloor = Math.floor,\n\t nativeMax = Math.max;\n\t\n\t/**\n\t * Creates an array of elements split into groups the length of `size`.\n\t * If `collection` can't be split evenly, the final chunk will be the remaining\n\t * elements.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Array\n\t * @param {Array} array The array to process.\n\t * @param {number} [size=1] The length of each chunk.\n\t * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n\t * @returns {Array} Returns the new array containing chunks.\n\t * @example\n\t *\n\t * _.chunk(['a', 'b', 'c', 'd'], 2);\n\t * // => [['a', 'b'], ['c', 'd']]\n\t *\n\t * _.chunk(['a', 'b', 'c', 'd'], 3);\n\t * // => [['a', 'b', 'c'], ['d']]\n\t */\n\tfunction chunk(array, size, guard) {\n\t if (guard ? isIterateeCall(array, size, guard) : size == null) {\n\t size = 1;\n\t } else {\n\t size = nativeMax(nativeFloor(size) || 1, 1);\n\t }\n\t var index = 0,\n\t length = array ? array.length : 0,\n\t resIndex = -1,\n\t result = Array(nativeCeil(length / size));\n\t\n\t while (index < length) {\n\t result[++resIndex] = baseSlice(array, index, index += size);\n\t }\n\t return result;\n\t}\n\t\n\tmodule.exports = chunk;\n\n/***/ },\n/* 9 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\t/**\n\t * The base implementation of `_.property` without support for deep paths.\n\t *\n\t * @private\n\t * @param {string} key The key of the property to get.\n\t * @returns {Function} Returns the new function.\n\t */\n\tfunction baseProperty(key) {\n\t return function (object) {\n\t return object == null ? undefined : object[key];\n\t };\n\t}\n\t\n\tmodule.exports = baseProperty;\n\n/***/ },\n/* 10 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\t/**\n\t * The base implementation of `_.slice` without an iteratee call guard.\n\t *\n\t * @private\n\t * @param {Array} array The array to slice.\n\t * @param {number} [start=0] The start position.\n\t * @param {number} [end=array.length] The end position.\n\t * @returns {Array} Returns the slice of `array`.\n\t */\n\tfunction baseSlice(array, start, end) {\n\t var index = -1,\n\t length = array.length;\n\t\n\t start = start == null ? 0 : +start || 0;\n\t if (start < 0) {\n\t start = -start > length ? 0 : length + start;\n\t }\n\t end = end === undefined || end > length ? length : +end || 0;\n\t if (end < 0) {\n\t end += length;\n\t }\n\t length = start > end ? 0 : end - start >>> 0;\n\t start >>>= 0;\n\t\n\t var result = Array(length);\n\t while (++index < length) {\n\t result[index] = array[index + start];\n\t }\n\t return result;\n\t}\n\t\n\tmodule.exports = baseSlice;\n\n/***/ },\n/* 11 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar baseProperty = __webpack_require__(9);\n\t\n\t/**\n\t * Gets the \"length\" property value of `object`.\n\t *\n\t * **Note:** This function is used to avoid a [JIT bug](https://bugs.webkit.org/show_bug.cgi?id=142792)\n\t * that affects Safari on at least iOS 8.1-8.3 ARM64.\n\t *\n\t * @private\n\t * @param {Object} object The object to query.\n\t * @returns {*} Returns the \"length\" value.\n\t */\n\tvar getLength = baseProperty('length');\n\t\n\tmodule.exports = getLength;\n\n/***/ },\n/* 12 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar getLength = __webpack_require__(11),\n\t isLength = __webpack_require__(14);\n\t\n\t/**\n\t * Checks if `value` is array-like.\n\t *\n\t * @private\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n\t */\n\tfunction isArrayLike(value) {\n\t return value != null && isLength(getLength(value));\n\t}\n\t\n\tmodule.exports = isArrayLike;\n\n/***/ },\n/* 13 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\t/** Used to detect unsigned integer values. */\n\tvar reIsUint = /^\\d+$/;\n\t\n\t/**\n\t * Used as the [maximum length](http://ecma-international.org/ecma-262/6.0/#sec-number.max_safe_integer)\n\t * of an array-like value.\n\t */\n\tvar MAX_SAFE_INTEGER = 9007199254740991;\n\t\n\t/**\n\t * Checks if `value` is a valid array-like index.\n\t *\n\t * @private\n\t * @param {*} value The value to check.\n\t * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n\t * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n\t */\n\tfunction isIndex(value, length) {\n\t value = typeof value == 'number' || reIsUint.test(value) ? +value : -1;\n\t length = length == null ? MAX_SAFE_INTEGER : length;\n\t return value > -1 && value % 1 == 0 && value < length;\n\t}\n\t\n\tmodule.exports = isIndex;\n\n/***/ },\n/* 14 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\t/**\n\t * Used as the [maximum length](http://ecma-international.org/ecma-262/6.0/#sec-number.max_safe_integer)\n\t * of an array-like value.\n\t */\n\tvar MAX_SAFE_INTEGER = 9007199254740991;\n\t\n\t/**\n\t * Checks if `value` is a valid array-like length.\n\t *\n\t * **Note:** This function is based on [`ToLength`](http://ecma-international.org/ecma-262/6.0/#sec-tolength).\n\t *\n\t * @private\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n\t */\n\tfunction isLength(value) {\n\t return typeof value == 'number' && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n\t}\n\t\n\tmodule.exports = isLength;\n\n/***/ },\n/* 15 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol ? \"symbol\" : typeof obj; };\n\t\n\t/**\n\t * Checks if `value` is the [language type](https://es5.github.io/#x8) of `Object`.\n\t * (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n\t * @example\n\t *\n\t * _.isObject({});\n\t * // => true\n\t *\n\t * _.isObject([1, 2, 3]);\n\t * // => true\n\t *\n\t * _.isObject(1);\n\t * // => false\n\t */\n\tfunction isObject(value) {\n\t // Avoid a V8 JIT bug in Chrome 19-20.\n\t // See https://code.google.com/p/v8/issues/detail?id=2291 for more details.\n\t var type = typeof value === 'undefined' ? 'undefined' : _typeof(value);\n\t return !!value && (type == 'object' || type == 'function');\n\t}\n\t\n\tmodule.exports = isObject;\n\n/***/ },\n/* 16 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar isIterateeCall = __webpack_require__(4);\n\t\n\t/* Native method references for those with the same name as other `lodash` methods. */\n\tvar nativeCeil = Math.ceil,\n\t nativeMax = Math.max;\n\t\n\t/**\n\t * Creates an array of numbers (positive and/or negative) progressing from\n\t * `start` up to, but not including, `end`. If `end` is not specified it's\n\t * set to `start` with `start` then set to `0`. If `end` is less than `start`\n\t * a zero-length range is created unless a negative `step` is specified.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Utility\n\t * @param {number} [start=0] The start of the range.\n\t * @param {number} end The end of the range.\n\t * @param {number} [step=1] The value to increment or decrement by.\n\t * @returns {Array} Returns the new array of numbers.\n\t * @example\n\t *\n\t * _.range(4);\n\t * // => [0, 1, 2, 3]\n\t *\n\t * _.range(1, 5);\n\t * // => [1, 2, 3, 4]\n\t *\n\t * _.range(0, 20, 5);\n\t * // => [0, 5, 10, 15]\n\t *\n\t * _.range(0, -4, -1);\n\t * // => [0, -1, -2, -3]\n\t *\n\t * _.range(1, 4, 0);\n\t * // => [1, 1, 1]\n\t *\n\t * _.range(0);\n\t * // => []\n\t */\n\tfunction range(start, end, step) {\n\t if (step && isIterateeCall(start, end, step)) {\n\t end = step = undefined;\n\t }\n\t start = +start || 0;\n\t step = step == null ? 1 : +step || 0;\n\t\n\t if (end == null) {\n\t end = start;\n\t start = 0;\n\t } else {\n\t end = +end || 0;\n\t }\n\t // Use `Array(length)` so engines like Chakra and V8 avoid slower modes.\n\t // See https://youtu.be/XAqIpGU8ZZk#t=17m25s for more details.\n\t var index = -1,\n\t length = nativeMax(nativeCeil((end - start) / (step || 1)), 0),\n\t result = Array(length);\n\t\n\t while (++index < length) {\n\t result[index] = start;\n\t start += step;\n\t }\n\t return result;\n\t}\n\t\n\tmodule.exports = range;\n\n/***/ },\n/* 17 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _extends = Object.assign || function (target) {\n\t for (var i = 1; i < arguments.length; i++) {\n\t var source = arguments[i];for (var key in source) {\n\t if (Object.prototype.hasOwnProperty.call(source, key)) {\n\t target[key] = source[key];\n\t }\n\t }\n\t }return target;\n\t};\n\t\n\tvar cx = __webpack_require__(2);\n\tvar blacklist = __webpack_require__(7);\n\tvar React = __webpack_require__(1);\n\tvar ReactDOM = __webpack_require__(6);\n\t\n\tmodule.exports = React.createClass({\n\t displayName: 'InputSlider',\n\t\n\t propTypes: {\n\t axis: React.PropTypes.string,\n\t x: React.PropTypes.number,\n\t xmax: React.PropTypes.number,\n\t xmin: React.PropTypes.number,\n\t y: React.PropTypes.number,\n\t ymax: React.PropTypes.number,\n\t ymin: React.PropTypes.number\n\t },\n\t\n\t getDefaultProps: function getDefaultProps() {\n\t return {\n\t axis: 'x',\n\t xmin: 0,\n\t ymin: 0\n\t };\n\t },\n\t render: function render() {\n\t var axis = this.props.axis;\n\t var props = blacklist(this.props, 'axis', 'x', 'y', 'xmin', 'xmax', 'ymin', 'ymax', 'onChange', 'onDragEnd', 'className', 'onClick');\n\t var pos = this.getPosition();\n\t var valueStyle = {};\n\t if (axis === 'x') valueStyle.width = pos.left;\n\t if (axis === 'y') valueStyle.height = pos.top;\n\t\n\t props.className = cx('u-slider', 'u-slider-' + axis, this.props.className);\n\t\n\t return React.createElement('div', _extends({}, props, { onClick: this.handleClick }), React.createElement('div', {\n\t className: 'value',\n\t style: valueStyle }), React.createElement('div', {\n\t className: 'handle',\n\t ref: 'handle',\n\t onTouchStart: this.handleMouseDown,\n\t onMouseDown: this.handleMouseDown,\n\t onClick: function onClick(e) {\n\t e.stopPropagation();\n\t e.nativeEvent.stopImmediatePropagation();\n\t },\n\t style: pos }));\n\t },\n\t getClientPosition: function getClientPosition(e) {\n\t var touches = e.touches;\n\t if (touches && touches.length) {\n\t var finger = touches[0];\n\t return {\n\t x: finger.clientX,\n\t y: finger.clientY\n\t };\n\t }\n\t\n\t return {\n\t x: e.clientX,\n\t y: e.clientY\n\t };\n\t },\n\t getPosition: function getPosition() {\n\t var top = (this.props.y - this.props.ymin) / (this.props.ymax - this.props.ymin) * 100;\n\t var left = (this.props.x - this.props.xmin) / (this.props.xmax - this.props.xmin) * 100;\n\t\n\t if (top > 100) top = 100;\n\t if (top < 0) top = 0;\n\t if (this.props.axis === 'x') top = 0;\n\t top += '%';\n\t\n\t if (left > 100) left = 100;\n\t if (left < 0) left = 0;\n\t if (this.props.axis === 'y') left = 0;\n\t left += '%';\n\t\n\t return { top: top, left: left };\n\t },\n\t change: function change(pos, dragEnd) {\n\t if (!this.props.onChange) return;\n\t\n\t var rect = ReactDOM.findDOMNode(this).getBoundingClientRect();\n\t var width = rect.width;\n\t var height = rect.height;\n\t var left = pos.left;\n\t var top = pos.top;\n\t var axis = this.props.axis;\n\t\n\t if (left < 0) left = 0;\n\t if (left > width) left = width;\n\t if (top < 0) top = 0;\n\t if (top > height) top = height;\n\t\n\t var x = 0;\n\t var y = 0;\n\t if (axis === 'x' || axis === 'xy') {\n\t x = left / width * (this.props.xmax - this.props.xmin) + this.props.xmin;\n\t }\n\t if (axis === 'y' || axis === 'xy') {\n\t y = top / height * (this.props.ymax - this.props.ymin) + this.props.ymin;\n\t }\n\t\n\t this.props.onChange({ x: x, y: y });\n\t },\n\t handleMouseDown: function handleMouseDown(e) {\n\t e.preventDefault();\n\t var dom = this.refs.handle;\n\t var clientPos = this.getClientPosition(e);\n\t\n\t this.start = {\n\t x: dom.offsetLeft,\n\t y: dom.offsetTop\n\t };\n\t\n\t this.offset = {\n\t x: clientPos.x,\n\t y: clientPos.y\n\t };\n\t\n\t document.addEventListener('mousemove', this.handleDrag);\n\t document.addEventListener('mouseup', this.handleDragEnd);\n\t\n\t document.addEventListener('touchmove', this.handleDrag);\n\t document.addEventListener('touchend', this.handleDragEnd);\n\t document.addEventListener('touchcancel', this.handleDragEnd);\n\t },\n\t getPos: function getPos(e) {\n\t var clientPos = this.getClientPosition(e);\n\t var rect = ReactDOM.findDOMNode(this).getBoundingClientRect();\n\t var posX = clientPos.x + this.start.x - this.offset.x;\n\t var posY = clientPos.y + this.start.y - this.offset.y;\n\t\n\t return {\n\t left: posX,\n\t top: posY\n\t };\n\t },\n\t handleDrag: function handleDrag(e) {\n\t e.preventDefault();\n\t this.change(this.getPos(e));\n\t },\n\t handleDragEnd: function handleDragEnd(e) {\n\t e.preventDefault();\n\t document.removeEventListener('mousemove', this.handleDrag);\n\t document.removeEventListener('mouseup', this.handleDragEnd);\n\t\n\t document.removeEventListener('touchmove', this.handleDrag);\n\t document.removeEventListener('touchend', this.handleDragEnd);\n\t document.removeEventListener('touchcancel', this.handleDragEnd);\n\t\n\t if (this.props.onDragEnd) {\n\t this.props.onDragEnd();\n\t }\n\t },\n\t handleClick: function handleClick(e) {\n\t var clientPos = this.getClientPosition(e);\n\t var rect = ReactDOM.findDOMNode(this).getBoundingClientRect();\n\t\n\t this.change({\n\t left: clientPos.x - rect.left,\n\t top: clientPos.y - rect.top\n\t }, true);\n\t }\n\t});\n\n/***/ },\n/* 18 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tmodule.exports = __webpack_require__(17);\n\n/***/ },\n/* 19 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\t\n\tvar cx = __webpack_require__(2);\n\tvar moment = __webpack_require__(3);\n\tvar React = __webpack_require__(1);\n\tvar range = __webpack_require__(16);\n\tvar chunk = __webpack_require__(8);\n\t\n\tvar Day = React.createClass({\n\t displayName: 'Day',\n\t\n\t render: function render() {\n\t var i = this.props.i;\n\t var w = this.props.w;\n\t var prevMonth = w === 0 && i > 7;\n\t var nextMonth = w >= 4 && i <= 14;\n\t var m = moment(this.props.month);\n\t var selected = this.props.selected;\n\t if (prevMonth) m.subtract(1, 'month');\n\t if (nextMonth) m.add(1, 'month');\n\t m.date(i);\n\t var valid = this.props.isValid(m);\n\t\n\t var cn = cx({\n\t 'prev-month': prevMonth,\n\t 'next-month': nextMonth,\n\t 'current-day': m.isSame(selected, 'day'),\n\t 'valid': valid,\n\t 'invalid': !valid\n\t });\n\t\n\t return React.createElement(\n\t 'td',\n\t _extends({ className: cn, onClick: this.props.selectDate.bind(null, m) }, this.props),\n\t i\n\t );\n\t }\n\t});\n\t\n\tmodule.exports = React.createClass({\n\t displayName: 'Calendar',\n\t\n\t getInitialState: function getInitialState() {\n\t // The inital month shown on the calendar is the month of the current moment\n\t return { month: moment(this.props.moment).startOf('month') };\n\t },\n\t render: function render() {\n\t var _this = this;\n\t\n\t var m = this.props.moment;\n\t var month = this.state.month;\n\t var d = m.date();\n\t var d1 = month.clone().subtract(1, 'month').endOf('month').date();\n\t var d2 = month.clone().date(1).day();\n\t var d3 = month.clone().endOf('month').date();\n\t\n\t var days = [].concat(range(d1 - d2 + 1, d1 + 1), range(1, d3 + 1), range(1, 42 - d3 - d2 + 1));\n\t\n\t var weeks = ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'];\n\t\n\t return React.createElement(\n\t 'div',\n\t { className: cx('m-calendar', this.props.className) },\n\t React.createElement(\n\t 'div',\n\t { className: 'toolbar' },\n\t React.createElement(\n\t 'button',\n\t { type: 'button', className: 'prev-month', onClick: this.prevMonth },\n\t React.createElement('i', { className: this.props.prevMonthIcon })\n\t ),\n\t React.createElement(\n\t 'span',\n\t { className: 'current-date' },\n\t month.format('MMMM YYYY')\n\t ),\n\t React.createElement(\n\t 'button',\n\t { type: 'button', className: 'next-month', onClick: this.nextMonth },\n\t React.createElement('i', { className: this.props.nextMonthIcon })\n\t )\n\t ),\n\t React.createElement(\n\t 'table',\n\t null,\n\t React.createElement(\n\t 'thead',\n\t null,\n\t React.createElement(\n\t 'tr',\n\t null,\n\t weeks.map(function (w, i) {\n\t return React.createElement(\n\t 'td',\n\t { key: i },\n\t w\n\t );\n\t })\n\t )\n\t ),\n\t React.createElement(\n\t 'tbody',\n\t null,\n\t chunk(days, 7).map(function (row, w) {\n\t return React.createElement(\n\t 'tr',\n\t { key: w },\n\t row.map(function (i) {\n\t return React.createElement(Day, { key: i, i: i, d: d, w: w,\n\t month: month,\n\t selected: m,\n\t isValid: _this.props.isValid,\n\t selectDate: _this.selectDate\n\t });\n\t })\n\t );\n\t })\n\t )\n\t )\n\t );\n\t },\n\t selectDate: function selectDate(selectMoment) {\n\t var m = moment(this.props.moment);\n\t m.year(selectMoment.year()).month(selectMoment.month()).date(selectMoment.date());\n\t\n\t if (this.props.isValid(m)) {\n\t this.setState({ month: moment(m).startOf('month') });\n\t this.props.onChange(m);\n\t }\n\t },\n\t prevMonth: function prevMonth(e) {\n\t e.preventDefault();\n\t this.setState({ month: this.state.month.subtract(1, 'month') });\n\t },\n\t nextMonth: function nextMonth(e) {\n\t e.preventDefault();\n\t this.setState({ month: this.state.month.add(1, 'month') });\n\t }\n\t});\n\n/***/ },\n/* 20 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar cx = __webpack_require__(2);\n\tvar moment = __webpack_require__(3);\n\tvar React = __webpack_require__(1);\n\tvar Calendar = __webpack_require__(19);\n\tvar Time = __webpack_require__(21);\n\t\n\tmodule.exports = React.createClass({\n\t displayName: 'InputMoment',\n\t\n\t getInitialState: function getInitialState() {\n\t return {\n\t tab: 0\n\t };\n\t },\n\t getDefaultProps: function getDefaultProps() {\n\t return {\n\t prevMonthIcon: 'ion-ios-arrow-left',\n\t nextMonthIcon: 'ion-ios-arrow-right',\n\t isValid: function isValid(m) {\n\t return true;\n\t }\n\t };\n\t },\n\t render: function render() {\n\t var tab = this.state.tab;\n\t var m = this.props.moment;\n\t\n\t return React.createElement(\n\t 'div',\n\t { className: 'm-input-moment' },\n\t React.createElement(\n\t 'div',\n\t { className: 'options' },\n\t React.createElement(\n\t 'button',\n\t { type: 'button', className: cx('ion-calendar im-btn', { 'is-active': tab === 0 }), onClick: this.handleClickTab.bind(null, 0) },\n\t 'Date'\n\t ),\n\t React.createElement(\n\t 'button',\n\t { type: 'button', className: cx('ion-clock im-btn', { 'is-active': tab === 1 }), onClick: this.handleClickTab.bind(null, 1) },\n\t 'Time'\n\t )\n\t ),\n\t React.createElement(\n\t 'div',\n\t { className: 'tabs' },\n\t React.createElement(Calendar, {\n\t className: cx('tab', { 'is-active': tab === 0 }),\n\t moment: m,\n\t onChange: this.props.onChange,\n\t prevMonthIcon: this.props.prevMonthIcon,\n\t nextMonthIcon: this.props.nextMonthIcon,\n\t isValid: this.props.isValid\n\t }),\n\t React.createElement(Time, {\n\t className: cx('tab', { 'is-active': tab === 1 }),\n\t moment: m,\n\t onChange: this.props.onChange\n\t })\n\t ),\n\t React.createElement(\n\t 'button',\n\t { type: 'button', className: 'im-btn btn-save ion-checkmark',\n\t onClick: this.handleSave },\n\t 'Save'\n\t )\n\t );\n\t },\n\t handleClickTab: function handleClickTab(tab, e) {\n\t e.preventDefault();\n\t this.setState({ tab: tab });\n\t },\n\t handleSave: function handleSave(e) {\n\t e.preventDefault();\n\t if (this.props.onSave) this.props.onSave();\n\t }\n\t});\n\n/***/ },\n/* 21 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar cx = __webpack_require__(2);\n\tvar React = __webpack_require__(1);\n\tvar InputSlider = __webpack_require__(18);\n\t\n\tmodule.exports = React.createClass({\n\t displayName: 'Time',\n\t\n\t render: function render() {\n\t var m = this.props.moment;\n\t\n\t return React.createElement(\n\t 'div',\n\t { className: cx('m-time', this.props.className) },\n\t React.createElement(\n\t 'div',\n\t { className: 'showtime' },\n\t React.createElement(\n\t 'span',\n\t { className: 'time' },\n\t m.format('HH')\n\t ),\n\t React.createElement(\n\t 'span',\n\t { className: 'separater' },\n\t ':'\n\t ),\n\t React.createElement(\n\t 'span',\n\t { className: 'time' },\n\t m.format('mm')\n\t )\n\t ),\n\t React.createElement(\n\t 'div',\n\t { className: 'sliders' },\n\t React.createElement(\n\t 'div',\n\t { className: 'time-text' },\n\t 'Hours:'\n\t ),\n\t React.createElement(InputSlider, {\n\t className: 'u-slider-time',\n\t xmin: 0,\n\t xmax: 23,\n\t x: m.hour(),\n\t onChange: this.changeHours\n\t }),\n\t React.createElement(\n\t 'div',\n\t { className: 'time-text' },\n\t 'Minutes:'\n\t ),\n\t React.createElement(InputSlider, {\n\t className: 'u-slider-time',\n\t xmin: 0,\n\t xmax: 59,\n\t x: m.minute(),\n\t onChange: this.changeMinutes\n\t })\n\t )\n\t );\n\t },\n\t changeHours: function changeHours(pos) {\n\t var m = this.props.moment;\n\t m.hours(parseInt(pos.x, 10));\n\t this.props.onChange(m);\n\t },\n\t changeMinutes: function changeMinutes(pos) {\n\t var m = this.props.moment;\n\t m.minutes(parseInt(pos.x, 10));\n\t this.props.onChange(m);\n\t }\n\t});\n\n/***/ }\n/******/ ]);\n\n\n/** WEBPACK FOOTER **\n ** dist/input-moment.js\n **/"," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId])\n \t\t\treturn installedModules[moduleId].exports;\n\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\texports: {},\n \t\t\tid: moduleId,\n \t\t\tloaded: false\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.loaded = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(0);\n\n\n\n/** WEBPACK FOOTER **\n ** webpack/bootstrap 4a1415fc2875dde511ec\n **/","module.exports = require('./src/input-moment');\n\n\n\n/** WEBPACK FOOTER **\n ** ./index.js\n **/","module.exports = React;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** external \"React\"\n ** module id = 1\n ** module chunks = 0 1\n **/","/*!\n Copyright (c) 2016 Jed Watson.\n Licensed under the MIT License (MIT), see\n http://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg)) {\n\t\t\t\tclasses.push(classNames.apply(null, arg));\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tfor (var key in arg) {\n\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n\n\n\n/** WEBPACK FOOTER **\n ** ./~/classnames/index.js\n **/","module.exports = moment;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** external \"moment\"\n ** module id = 3\n ** module chunks = 0 1\n **/","var isArrayLike = require('./isArrayLike'),\n isIndex = require('./isIndex'),\n isObject = require('../lang/isObject');\n\n/**\n * Checks if the provided arguments are from an iteratee call.\n *\n * @private\n * @param {*} value The potential iteratee value argument.\n * @param {*} index The potential iteratee index or key argument.\n * @param {*} object The potential iteratee object argument.\n * @returns {boolean} Returns `true` if the arguments are from an iteratee call, else `false`.\n */\nfunction isIterateeCall(value, index, object) {\n if (!isObject(object)) {\n return false;\n }\n var type = typeof index;\n if (type == 'number'\n ? (isArrayLike(object) && isIndex(index, object.length))\n : (type == 'string' && index in object)) {\n var other = object[index];\n return value === value ? (value === other) : (other !== other);\n }\n return false;\n}\n\nmodule.exports = isIterateeCall;\n\n\n\n/** WEBPACK FOOTER **\n ** ./~/lodash/internal/isIterateeCall.js\n **/","module.exports = __webpack_amd_options__;\r\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** (webpack)/buildin/amd-options.js\n ** module id = 5\n ** module chunks = 0 1\n **/","module.exports = ReactDOM;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** external \"ReactDOM\"\n ** module id = 6\n ** module chunks = 0 1\n **/","module.exports = function blacklist (src) {\n var copy = {}, filter = arguments[1]\n\n if (typeof filter === 'string') {\n filter = {}\n for (var i = 1; i < arguments.length; i++) {\n filter[arguments[i]] = true\n }\n }\n\n for (var key in src) {\n // blacklist?\n if (filter[key]) continue\n\n copy[key] = src[key]\n }\n\n return copy\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./~/blacklist/index.js\n **/","var baseSlice = require('../internal/baseSlice'),\n isIterateeCall = require('../internal/isIterateeCall');\n\n/* Native method references for those with the same name as other `lodash` methods. */\nvar nativeCeil = Math.ceil,\n nativeFloor = Math.floor,\n nativeMax = Math.max;\n\n/**\n * Creates an array of elements split into groups the length of `size`.\n * If `collection` can't be split evenly, the final chunk will be the remaining\n * elements.\n *\n * @static\n * @memberOf _\n * @category Array\n * @param {Array} array The array to process.\n * @param {number} [size=1] The length of each chunk.\n * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n * @returns {Array} Returns the new array containing chunks.\n * @example\n *\n * _.chunk(['a', 'b', 'c', 'd'], 2);\n * // => [['a', 'b'], ['c', 'd']]\n *\n * _.chunk(['a', 'b', 'c', 'd'], 3);\n * // => [['a', 'b', 'c'], ['d']]\n */\nfunction chunk(array, size, guard) {\n if (guard ? isIterateeCall(array, size, guard) : size == null) {\n size = 1;\n } else {\n size = nativeMax(nativeFloor(size) || 1, 1);\n }\n var index = 0,\n length = array ? array.length : 0,\n resIndex = -1,\n result = Array(nativeCeil(length / size));\n\n while (index < length) {\n result[++resIndex] = baseSlice(array, index, (index += size));\n }\n return result;\n}\n\nmodule.exports = chunk;\n\n\n\n/** WEBPACK FOOTER **\n ** ./~/lodash/array/chunk.js\n **/","/**\n * The base implementation of `_.property` without support for deep paths.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @returns {Function} Returns the new function.\n */\nfunction baseProperty(key) {\n return function(object) {\n return object == null ? undefined : object[key];\n };\n}\n\nmodule.exports = baseProperty;\n\n\n\n/** WEBPACK FOOTER **\n ** ./~/lodash/internal/baseProperty.js\n **/","/**\n * The base implementation of `_.slice` without an iteratee call guard.\n *\n * @private\n * @param {Array} array The array to slice.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the slice of `array`.\n */\nfunction baseSlice(array, start, end) {\n var index = -1,\n length = array.length;\n\n start = start == null ? 0 : (+start || 0);\n if (start < 0) {\n start = -start > length ? 0 : (length + start);\n }\n end = (end === undefined || end > length) ? length : (+end || 0);\n if (end < 0) {\n end += length;\n }\n length = start > end ? 0 : ((end - start) >>> 0);\n start >>>= 0;\n\n var result = Array(length);\n while (++index < length) {\n result[index] = array[index + start];\n }\n return result;\n}\n\nmodule.exports = baseSlice;\n\n\n\n/** WEBPACK FOOTER **\n ** ./~/lodash/internal/baseSlice.js\n **/","var baseProperty = require('./baseProperty');\n\n/**\n * Gets the \"length\" property value of `object`.\n *\n * **Note:** This function is used to avoid a [JIT bug](https://bugs.webkit.org/show_bug.cgi?id=142792)\n * that affects Safari on at least iOS 8.1-8.3 ARM64.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {*} Returns the \"length\" value.\n */\nvar getLength = baseProperty('length');\n\nmodule.exports = getLength;\n\n\n\n/** WEBPACK FOOTER **\n ** ./~/lodash/internal/getLength.js\n **/","var getLength = require('./getLength'),\n isLength = require('./isLength');\n\n/**\n * Checks if `value` is array-like.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n */\nfunction isArrayLike(value) {\n return value != null && isLength(getLength(value));\n}\n\nmodule.exports = isArrayLike;\n\n\n\n/** WEBPACK FOOTER **\n ** ./~/lodash/internal/isArrayLike.js\n **/","/** Used to detect unsigned integer values. */\nvar reIsUint = /^\\d+$/;\n\n/**\n * Used as the [maximum length](http://ecma-international.org/ecma-262/6.0/#sec-number.max_safe_integer)\n * of an array-like value.\n */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\nfunction isIndex(value, length) {\n value = (typeof value == 'number' || reIsUint.test(value)) ? +value : -1;\n length = length == null ? MAX_SAFE_INTEGER : length;\n return value > -1 && value % 1 == 0 && value < length;\n}\n\nmodule.exports = isIndex;\n\n\n\n/** WEBPACK FOOTER **\n ** ./~/lodash/internal/isIndex.js\n **/","/**\n * Used as the [maximum length](http://ecma-international.org/ecma-262/6.0/#sec-number.max_safe_integer)\n * of an array-like value.\n */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This function is based on [`ToLength`](http://ecma-international.org/ecma-262/6.0/#sec-tolength).\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n */\nfunction isLength(value) {\n return typeof value == 'number' && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\n\nmodule.exports = isLength;\n\n\n\n/** WEBPACK FOOTER **\n ** ./~/lodash/internal/isLength.js\n **/","/**\n * Checks if `value` is the [language type](https://es5.github.io/#x8) of `Object`.\n * (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(1);\n * // => false\n */\nfunction isObject(value) {\n // Avoid a V8 JIT bug in Chrome 19-20.\n // See https://code.google.com/p/v8/issues/detail?id=2291 for more details.\n var type = typeof value;\n return !!value && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n\n\n\n/** WEBPACK FOOTER **\n ** ./~/lodash/lang/isObject.js\n **/","var isIterateeCall = require('../internal/isIterateeCall');\n\n/* Native method references for those with the same name as other `lodash` methods. */\nvar nativeCeil = Math.ceil,\n nativeMax = Math.max;\n\n/**\n * Creates an array of numbers (positive and/or negative) progressing from\n * `start` up to, but not including, `end`. If `end` is not specified it's\n * set to `start` with `start` then set to `0`. If `end` is less than `start`\n * a zero-length range is created unless a negative `step` is specified.\n *\n * @static\n * @memberOf _\n * @category Utility\n * @param {number} [start=0] The start of the range.\n * @param {number} end The end of the range.\n * @param {number} [step=1] The value to increment or decrement by.\n * @returns {Array} Returns the new array of numbers.\n * @example\n *\n * _.range(4);\n * // => [0, 1, 2, 3]\n *\n * _.range(1, 5);\n * // => [1, 2, 3, 4]\n *\n * _.range(0, 20, 5);\n * // => [0, 5, 10, 15]\n *\n * _.range(0, -4, -1);\n * // => [0, -1, -2, -3]\n *\n * _.range(1, 4, 0);\n * // => [1, 1, 1]\n *\n * _.range(0);\n * // => []\n */\nfunction range(start, end, step) {\n if (step && isIterateeCall(start, end, step)) {\n end = step = undefined;\n }\n start = +start || 0;\n step = step == null ? 1 : (+step || 0);\n\n if (end == null) {\n end = start;\n start = 0;\n } else {\n end = +end || 0;\n }\n // Use `Array(length)` so engines like Chakra and V8 avoid slower modes.\n // See https://youtu.be/XAqIpGU8ZZk#t=17m25s for more details.\n var index = -1,\n length = nativeMax(nativeCeil((end - start) / (step || 1)), 0),\n result = Array(length);\n\n while (++index < length) {\n result[index] = start;\n start += step;\n }\n return result;\n}\n\nmodule.exports = range;\n\n\n\n/** WEBPACK FOOTER **\n ** ./~/lodash/utility/range.js\n **/","'use strict';\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar cx = require('classnames');\nvar blacklist = require('blacklist');\nvar React = require('react');\nvar ReactDOM = require('react-dom');\n\nmodule.exports = React.createClass({\n displayName: 'InputSlider',\n\n propTypes: {\n axis: React.PropTypes.string,\n x: React.PropTypes.number,\n xmax: React.PropTypes.number,\n xmin: React.PropTypes.number,\n y: React.PropTypes.number,\n ymax: React.PropTypes.number,\n ymin: React.PropTypes.number\n },\n\n getDefaultProps: function getDefaultProps() {\n return {\n axis: 'x',\n xmin: 0,\n ymin: 0\n };\n },\n render: function render() {\n var axis = this.props.axis;\n var props = blacklist(this.props, 'axis', 'x', 'y', 'xmin', 'xmax', 'ymin', 'ymax', 'onChange', 'onDragEnd', 'className', 'onClick');\n var pos = this.getPosition();\n var valueStyle = {};\n if (axis === 'x') valueStyle.width = pos.left;\n if (axis === 'y') valueStyle.height = pos.top;\n\n props.className = cx('u-slider', 'u-slider-' + axis, this.props.className);\n\n return React.createElement(\n 'div',\n _extends({}, props, { onClick: this.handleClick }),\n React.createElement('div', {\n className: 'value',\n style: valueStyle }),\n React.createElement('div', {\n className: 'handle',\n ref: 'handle',\n onTouchStart: this.handleMouseDown,\n onMouseDown: this.handleMouseDown,\n onClick: function onClick(e) {\n e.stopPropagation();\n e.nativeEvent.stopImmediatePropagation();\n },\n style: pos })\n );\n },\n getClientPosition: function getClientPosition(e) {\n var touches = e.touches;\n if (touches && touches.length) {\n var finger = touches[0];\n return {\n x: finger.clientX,\n y: finger.clientY\n };\n }\n\n return {\n x: e.clientX,\n y: e.clientY\n };\n },\n getPosition: function getPosition() {\n var top = (this.props.y - this.props.ymin) / (this.props.ymax - this.props.ymin) * 100;\n var left = (this.props.x - this.props.xmin) / (this.props.xmax - this.props.xmin) * 100;\n\n if (top > 100) top = 100;\n if (top < 0) top = 0;\n if (this.props.axis === 'x') top = 0;\n top += '%';\n\n if (left > 100) left = 100;\n if (left < 0) left = 0;\n if (this.props.axis === 'y') left = 0;\n left += '%';\n\n return { top: top, left: left };\n },\n change: function change(pos, dragEnd) {\n if (!this.props.onChange) return;\n\n var rect = ReactDOM.findDOMNode(this).getBoundingClientRect();\n var width = rect.width;\n var height = rect.height;\n var left = pos.left;\n var top = pos.top;\n var axis = this.props.axis;\n\n if (left < 0) left = 0;\n if (left > width) left = width;\n if (top < 0) top = 0;\n if (top > height) top = height;\n\n var x = 0;\n var y = 0;\n if (axis === 'x' || axis === 'xy') {\n x = left / width * (this.props.xmax - this.props.xmin) + this.props.xmin;\n }\n if (axis === 'y' || axis === 'xy') {\n y = top / height * (this.props.ymax - this.props.ymin) + this.props.ymin;\n }\n\n this.props.onChange({ x: x, y: y });\n },\n handleMouseDown: function handleMouseDown(e) {\n e.preventDefault();\n var dom = this.refs.handle;\n var clientPos = this.getClientPosition(e);\n\n this.start = {\n x: dom.offsetLeft,\n y: dom.offsetTop\n };\n\n this.offset = {\n x: clientPos.x,\n y: clientPos.y\n };\n\n document.addEventListener('mousemove', this.handleDrag);\n document.addEventListener('mouseup', this.handleDragEnd);\n\n document.addEventListener('touchmove', this.handleDrag);\n document.addEventListener('touchend', this.handleDragEnd);\n document.addEventListener('touchcancel', this.handleDragEnd);\n },\n getPos: function getPos(e) {\n var clientPos = this.getClientPosition(e);\n var rect = ReactDOM.findDOMNode(this).getBoundingClientRect();\n var posX = clientPos.x + this.start.x - this.offset.x;\n var posY = clientPos.y + this.start.y - this.offset.y;\n\n return {\n left: posX,\n top: posY\n };\n },\n handleDrag: function handleDrag(e) {\n e.preventDefault();\n this.change(this.getPos(e));\n },\n handleDragEnd: function handleDragEnd(e) {\n e.preventDefault();\n document.removeEventListener('mousemove', this.handleDrag);\n document.removeEventListener('mouseup', this.handleDragEnd);\n\n document.removeEventListener('touchmove', this.handleDrag);\n document.removeEventListener('touchend', this.handleDragEnd);\n document.removeEventListener('touchcancel', this.handleDragEnd);\n\n if (this.props.onDragEnd) {\n this.props.onDragEnd();\n }\n },\n handleClick: function handleClick(e) {\n var clientPos = this.getClientPosition(e);\n var rect = ReactDOM.findDOMNode(this).getBoundingClientRect();\n\n this.change({\n left: clientPos.x - rect.left,\n top: clientPos.y - rect.top\n }, true);\n }\n});\n\n\n/** WEBPACK FOOTER **\n ** ./~/react-input-slider/dist/input-slider.js\n **/","module.exports = require('./dist/input-slider.js');\n\n\n\n/** WEBPACK FOOTER **\n ** ./~/react-input-slider/index.js\n **/","var cx = require('classnames');\nvar moment = require('moment');\nvar React = require('react');\nvar range = require('lodash/utility/range');\nvar chunk = require('lodash/array/chunk');\n\nvar Day = React.createClass({\n displayName: 'Day',\n\n render() {\n var i = this.props.i;\n var w = this.props.w;\n var prevMonth = (w === 0 && i > 7);\n var nextMonth = (w >= 4 && i <= 14);\n var m = moment(this.props.month);\n var selected = this.props.selected;\n if(prevMonth) m.subtract(1, 'month');\n if(nextMonth) m.add(1, 'month');\n m.date(i);\n var valid = this.props.isValid(m);\n\n var cn = cx({\n 'prev-month': prevMonth,\n 'next-month': nextMonth,\n 'current-day': (m.isSame(selected, 'day')),\n 'valid': valid,\n 'invalid': !valid\n });\n\n return {i};\n }\n});\n\nmodule.exports = React.createClass({\n displayName: 'Calendar',\n\n getInitialState() {\n // The inital month shown on the calendar is the month of the current moment\n return {month: moment(this.props.moment).startOf('month')};\n },\n\n render() {\n var m = this.props.moment;\n var month = this.state.month;\n var d = m.date();\n var d1 = month.clone().subtract(1, 'month').endOf('month').date();\n var d2 = month.clone().date(1).day();\n var d3 = month.clone().endOf('month').date();\n\n var days = [].concat(\n range(d1-d2+1, d1+1),\n range(1, d3+1),\n range(1, 42-d3-d2+1)\n );\n\n var weeks = ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'];\n\n return (\n
\n
\n \n {month.format('MMMM YYYY')}\n \n
\n\n \n \n \n {weeks.map((w, i) => )}\n \n \n\n \n {chunk(days, 7).map((row, w) => (\n \n {row.map((i) => (\n \n ))}\n \n ))}\n \n
{w}
\n
\n );\n },\n\n selectDate(selectMoment) {\n var m = moment(this.props.moment);\n m.year(selectMoment.year()).month(selectMoment.month()).date(selectMoment.date());\n\n if(this.props.isValid(m)) {\n this.setState({month: moment(m).startOf('month')});\n this.props.onChange(m);\n }\n },\n\n prevMonth(e) {\n e.preventDefault();\n this.setState({month: this.state.month.subtract(1, 'month')});\n },\n\n nextMonth(e) {\n e.preventDefault();\n this.setState({month: this.state.month.add(1, 'month')});\n }\n});\n\n\n\n/** WEBPACK FOOTER **\n ** ./src/calendar.js\n **/","var cx = require('classnames');\nvar moment = require('moment');\nvar React = require('react');\nvar Calendar = require('./calendar');\nvar Time = require('./time');\n\nmodule.exports = React.createClass({\n displayName: 'InputMoment',\n\n getInitialState() {\n return {\n tab: 0\n };\n },\n\n getDefaultProps() {\n return {\n prevMonthIcon: 'ion-ios-arrow-left',\n nextMonthIcon: 'ion-ios-arrow-right',\n isValid: function(m) { return true; }\n };\n },\n\n render() {\n var tab = this.state.tab;\n var m = this.props.moment;\n\n return (\n
\n
\n \n \n
\n\n
\n \n \n
\n\n \n
\n );\n },\n\n handleClickTab(tab, e) {\n e.preventDefault();\n this.setState({tab: tab});\n },\n\n handleSave(e) {\n e.preventDefault();\n if(this.props.onSave) this.props.onSave();\n }\n});\n\n\n\n/** WEBPACK FOOTER **\n ** ./src/input-moment.js\n **/","var cx = require('classnames');\nvar React = require('react');\nvar InputSlider = require('react-input-slider');\n\nmodule.exports = React.createClass({\n displayName: 'Time',\n\n render() {\n var m = this.props.moment;\n\n return (\n
\n
\n {m.format('HH')}\n :\n {m.format('mm')}\n
\n\n
\n
Hours:
\n \n
Minutes:
\n \n
\n
\n );\n },\n\n changeHours(pos) {\n var m = this.props.moment;\n m.hours(parseInt(pos.x, 10));\n this.props.onChange(m);\n },\n\n changeMinutes(pos) {\n var m = this.props.moment;\n m.minutes(parseInt(pos.x, 10));\n this.props.onChange(m);\n }\n});\n\n\n\n/** WEBPACK FOOTER **\n ** ./src/time.js\n **/"],"sourceRoot":""} \ No newline at end of file