(window.webpackJsonp=window.webpackJsonp||[]).push([[13],{227:function(t,e,o){"use strict";o.r(e);var r=o(22),n=o(23),i=o(25),a=o(24),c=o(26),p=o(0),u=o.n(p),s=o(46),f=function(t){function e(){return Object(r.a)(this,e),Object(i.a)(this,Object(a.a)(e).apply(this,arguments))}return Object(c.a)(e,t),Object(n.a)(e,[{key:"render",value:function(){return u.a.createElement(s.a,{to:"/"})}}]),e}(p.Component);e.default=f},46:function(t,e,o){"use strict";var r=o(0),n=o.n(r),i=o(2),a=o.n(i),c=o(9),p=o.n(c),u=o(10),s=o.n(u),f=o(44),h=o(59),l=o.n(h),y={},b=0,d=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"/"===t?t:function(t){var e=t,o=y[e]||(y[e]={});if(o[t])return o[t];var r=l.a.compile(t);return b<1e4&&(o[t]=r,b++),r}(t)(e,{pretty:!0})},m=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var o=arguments[e];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(t[r]=o[r])}return t};var j=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}(this,t.apply(this,arguments))}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.isStatic=function(){return this.context.router&&this.context.router.staticContext},e.prototype.componentWillMount=function(){s()(this.context.router,"You should not use <Redirect> outside a <Router>"),this.isStatic()&&this.perform()},e.prototype.componentDidMount=function(){this.isStatic()||this.perform()},e.prototype.componentDidUpdate=function(t){var e=Object(f.b)(t.to),o=Object(f.b)(this.props.to);Object(f.c)(e,o)?p()(!1,"You tried to redirect to the same route you're currently on: \""+o.pathname+o.search+'"'):this.perform()},e.prototype.computeTo=function(t){var e=t.computedMatch,o=t.to;return e?"string"===typeof o?d(o,e.params):m({},o,{pathname:d(o.pathname,e.params)}):o},e.prototype.perform=function(){var t=this.context.router.history,e=this.props.push,o=this.computeTo(this.props);e?t.push(o):t.replace(o)},e.prototype.render=function(){return null},e}(n.a.Component);j.propTypes={computedMatch:a.a.object,push:a.a.bool,from:a.a.string,to:a.a.oneOfType([a.a.string,a.a.object]).isRequired},j.defaultProps={push:!1},j.contextTypes={router:a.a.shape({history:a.a.shape({push:a.a.func.isRequired,replace:a.a.func.isRequired}).isRequired,staticContext:a.a.object}).isRequired};e.a=j}}]);