_N_E=(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[15],{Hvyi:function(c,r,e){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var t=function(){function c(c,r){for(var e=0;e=h)&&Math.abs(g)>s)return void this.endDrag();if(!e)return}t&&c.preventDefault();var m=this.container.current.getBoundingClientRect(),f=(a-m.left)/m.width;f=Math.max(Math.min(f,1),0),null!=this.props.position?this.setState((function(c){return!c.isDragging!==e?{isDragging:e}:null}),(function(){r.props.onChange(f)})):this.setState({position:f,isDragging:e})}}},{key:"beginDrag",value:function(c){if(null==c||"touches"in c||c.preventDefault(),this.props.isDraggingEnabled){var r="touches"in c?c.touches[0]:c,e=r.pageX,t=r.pageY;this.setState({startX:e,startY:t}),document.addEventListener("mousemove",this.onDragMove),document.addEventListener("mouseup",this.endDrag),document.addEventListener("touchmove",this.onDragMove),document.addEventListener("touchend",this.endDrag)}}},{key:"endDrag",value:function(){document.removeEventListener("mousemove",this.onDragMove),document.removeEventListener("mouseup",this.endDrag),document.removeEventListener("touchmove",this.onDragMove),document.removeEventListener("touchend",this.endDrag),this.setState({isDragging:!1,startY:NaN,endY:NaN})}},{key:"render",value:function(){var c=this.props.position,r=void 0===c?this.state.position:c,e=this.props,t=e.children,l=void 0===t?[]:t,n=e.left,i=void 0===n?l[0]:n,o=e.right,s=void 0===o?l[1]:o,h=e.slider,u=void 0===h?l[2]:h,d=e.verticalAlign,v=e.leftHorizontalAlign,g=e.rightHorizontalAlign;return a.default.createElement("div",{ref:this.container,style:{position:"relative",overflow:"hidden",whiteSpace:"nowrap"},onMouseDown:this.beginDrag,onTouchStart:this.beginDrag},a.default.createElement("div",{style:{position:"absolute",left:100*r+"%",height:"100%",width:0,zIndex:1}},u),a.default.createElement("div",{style:{display:"inline-block",width:"100%",position:"relative",verticalAlign:d,left:100*(r-1)+"%",overflow:"hidden"}},a.default.createElement("div",{style:{position:"relative",right:100*(r-1)+"%",textAlign:v}},i)),a.default.createElement("div",{style:{display:"inline-block",width:"100%",position:"relative",verticalAlign:d,left:100*(r-1)+"%",overflow:"hidden"}},a.default.createElement("div",{style:{position:"relative",right:100*r+"%",textAlign:g}},s)))}}]),r}(l.Component);r.default=s,s.propTypes={left:n.default.element.isRequired,right:n.default.element.isRequired,splitter:n.default.element,verticalAlign:n.default.string,leftHorizontalAlign:n.default.string,rightHorizontalAlign:n.default.string,minDistanceToBeginInteraction:n.default.number,maxAngleToBeginInteraction:n.default.number,defaultPosition:n.default.number,position:n.default.number,isDraggingEnabled:n.default.bool,onChange:n.default.func},s.defaultProps={verticalAlign:"middle",leftHorizontalAlign:"center",rightHorizontalAlign:"center",minDistanceToBeginInteraction:15,maxAngleToBeginInteraction:30,isDraggingEnabled:!0,onChange:function(){}}},RNiq:function(c,r,e){"use strict";e.r(r),e.d(r,"mapStateToProps",(function(){return x})),e.d(r,"mapDispatchToProps",(function(){return j}));var t=e("1OyB"),l=e("JX7q"),a=e("Ji7U"),n=e("md7G"),i=e("foSv"),o=e("rePB"),s=e("q1tI"),h=e.n(s),u=e("/MKj"),d=e("JgCC"),v=e("J3NM"),g=e.n(v),p=e("Hvyi"),m=e.n(p),f=h.a.createElement;function M(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(c){return!1}}var y=function(c){Object(a.a)(s,c);var r,e=(r=s,function(){var c,e=Object(i.a)(r);if(M()){var t=Object(i.a)(this).constructor;c=Reflect.construct(e,arguments,t)}else c=e.apply(this,arguments);return Object(n.a)(this,c)});function s(){var c;Object(t.a)(this,s);for(var r=arguments.length,a=new Array(r),n=0;n