!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ConnectedReactRouter=e():t.ConnectedReactRouter=e()}(this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=68)}([function(t,e,n){"use strict";t.exports=n(60)},function(t,e,n){t.exports=n(40)()},function(t,e,n){"use strict";var r=function(t,e,n,r,o,i,a,u){if(!t){var c;if(void 0===e)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,r,o,i,a,u],p=0;c=new Error(e.replace(/%s/g,function(){return s[p++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}};t.exports=r},function(t,e,n){"use strict";var r=function(){};t.exports=r},function(t,e,n){"use strict";n.d(e,"d",function(){return r}),n.d(e,"c",function(){return o}),n.d(e,"f",function(){return i}),n.d(e,"g",function(){return a}),n.d(e,"e",function(){return u}),n.d(e,"b",function(){return c}),n.d(e,"a",function(){return s});var r=function(t){return"/"===t.charAt(0)?t:"/"+t},o=function(t){return"/"===t.charAt(0)?t.substr(1):t},i=function(t,e){return new RegExp("^"+e+"(\\/|\\?|#|$)","i").test(t)},a=function(t,e){return i(t,e)?t.substr(e.length):t},u=function(t){return"/"===t.charAt(t.length-1)?t.slice(0,-1):t},c=function(t){var e=t||"/",n="",r="",o=e.indexOf("#");-1!==o&&(r=e.substr(o),e=e.substr(0,o));var i=e.indexOf("?");return-1!==i&&(n=e.substr(i),e=e.substr(0,i)),{pathname:e,search:"?"===n?"":n,hash:"#"===r?"":r}},s=function(t){var e=t.pathname,n=t.search,r=t.hash,o=e||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}},function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"c",function(){return o}),n.d(e,"b",function(){return i}),n.d(e,"d",function(){return u}),n.d(e,"e",function(){return c}),n.d(e,"f",function(){return s}),n.d(e,"g",function(){return p}),n.d(e,"h",function(){return f}),n.d(e,"i",function(){return l});var r="@@router/LOCATION_CHANGE",o=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{type:r,payload:{location:t,action:e,isFirstRendering:n}}},i="@@router/CALL_HISTORY_METHOD",a=function(t){return function(){for(var e=arguments.length,n=new Array(e),r=0;r=0||(o[n]=t[n]);return o}e.a=r},function(t,e,n){"use strict";var r=n(7),o=n.n(r),i=function(){var t=null,e=function(e){return o()(null==t,"A history supports only one prompt at a time"),t=e,function(){t===e&&(t=null)}},n=function(e,n,r,i){if(null!=t){var a="function"==typeof t?t(e,n):t;"string"==typeof a?"function"==typeof r?r(a,i):(o()(!1,"A history needs a getUserConfirmation function in order to use a prompt message"),i(!0)):i(!1!==a)}else i(!0)},r=[];return{setPrompt:e,confirmTransitionTo:n,appendListener:function(t){var e=!0,n=function(){e&&t.apply(void 0,arguments)};return r.push(n),function(){e=!1,r=r.filter(function(t){return t!==n})}},notifyListeners:function(){for(var t=arguments.length,e=Array(t),n=0;n may have only one child element"),this.unlisten=r.listen(function(){console.log("react-router: history changed, match",t.computeMatch(r.location.pathname)),console.log("history",r),t.setState({match:t.computeMatch(r.location.pathname)})})},e.prototype.componentWillReceiveProps=function(t){u()(this.props.history===t.history,"You cannot change ")},e.prototype.componentWillUnmount=function(){console.log("react-router: unlisten"),this.unlisten()},e.prototype.componentWillUpdate=function(t,e){return console.log("react-router: componentWillUpdate"),console.log("prevProps",t),console.log("nextProps",e),!1},e.prototype.render=function(){console.log("react-router: render Router");var t=this.props.children;return t?f.a.Children.only(t):null},e}(f.a.Component);y.propTypes={history:d.a.object.isRequired,children:d.a.node},y.contextTypes={router:d.a.object},y.childContextTypes={router:d.a.object.isRequired},e.a=y},function(t,e,n){"use strict";var r=n(19),o=n.n(r),i={},a=0,u=function(t,e){var n=""+e.end+e.strict+e.sensitive,r=i[n]||(i[n]={});if(r[t])return r[t];var u=[],c=o()(t,u,e),s={re:c,keys:u};return a<1e4&&(r[t]=s,a++),s},c=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2];"string"==typeof e&&(e={path:e});var r=e,o=r.path,i=r.exact,a=void 0!==i&&i,c=r.strict,s=void 0!==c&&c,p=r.sensitive,f=void 0!==p&&p;if(null==o)return n;var l=u(o,{end:a,strict:s,sensitive:f}),d=l.re,h=l.keys,y=d.exec(t);if(!y)return null;var v=y[0],m=y.slice(1),b=t===v;return a&&!b?null:{path:o,url:"/"===o&&""===v?"/":v,isExact:b,params:h.reduce(function(t,e,n){return t[e.name]=m[n],t},{})}};e.a=c},function(t,e,n){"use strict";function r(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}e.a=r},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=n(27),i=function(t){var e=t.getIn,i=t.toJS,a=function(t){return null!=t&&"object"===r(t)&&e(t,["location"])&&e(t,["action"])},u=function(t){var n=i(e(t,["router"]));if(!a(n))throw'Could not find router reducer in state tree, it must be mounted under "router"';return n},c=function(t){return i(e(u(t),["location"]))};return{getLocation:c,getAction:function(t){return i(e(u(t),["action"]))},getRouter:u,getSearch:function(t){return i(e(u(t),["location","search"]))},getHash:function(t){return i(e(u(t),["location","hash"]))},createMatchSelector:function(t){var e=null,r=null;return function(i){var a=c(i)||{},u=a.pathname;if(u===e)return r;e=u;var s=n.i(o.a)(u,t);return s&&r&&s.url===r.url||(r=s),r}}}};e.a=i},function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"d",function(){return o}),n.d(e,"e",function(){return i}),n.d(e,"c",function(){return a}),n.d(e,"f",function(){return u}),n.d(e,"g",function(){return c}),n.d(e,"b",function(){return s}),n.d(e,"h",function(){return p});var r=!("undefined"==typeof window||!window.document||!window.document.createElement),o=function(t,e,n){return t.addEventListener?t.addEventListener(e,n,!1):t.attachEvent("on"+e,n)},i=function(t,e,n){return t.removeEventListener?t.removeEventListener(e,n,!1):t.detachEvent("on"+e,n)},a=function(t,e){return e(window.confirm(t))},u=function(){var t=window.navigator.userAgent;return(-1===t.indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history},c=function(){return-1===window.navigator.userAgent.indexOf("Trident")},s=function(){return-1===window.navigator.userAgent.indexOf("Firefox")},p=function(t){return void 0===t.state&&-1===navigator.userAgent.indexOf("CriOS")}},function(t,e,n){function r(t,e){for(var n,r=[],o=0,i=0,a="",u=e&&e.delimiter||"/";null!=(n=b.exec(t));){var p=n[0],f=n[1],l=n.index;if(a+=t.slice(i,l),i=l+p.length,f)a+=f[1];else{var d=t[i],h=n[2],y=n[3],v=n[4],m=n[5],g=n[6],w=n[7];a&&(r.push(a),a="");var O=null!=h&&null!=d&&d!==h,P="+"===g||"*"===g,x="?"===g||"*"===g,j=n[2]||u,S=v||m;r.push({name:y||o++,prefix:h||"",delimiter:j,optional:x,repeat:P,partial:O,asterisk:!!w,pattern:S?s(S):w?".*":"[^"+c(j)+"]+?"})}}return i, or pass a custom React context provider to and the corresponding React context consumer to '+h+" in connect options.");var e,r=t.storeState,o=t.store,i=this.props;R&&(i=this.props.wrapperProps,e=this.props.forwardedRef);var u=this.selectDerivedProps(r,i,o);return m?this.selectChildElement(u,e):d.a.createElement(O,n.i(a.a)({},u,{ref:e}))},c.render=function(){var t=this.props.context||k;return d.a.createElement(t.Consumer,null,this.renderWrappedComponent)},e}(g);if(x.WrappedComponent=e,x.displayName=h,R){var j=d.a.forwardRef(function(t,e){return d.a.createElement(x,{wrapperProps:t,forwardedRef:e})});return j.displayName=h,j.WrappedComponent=e,s()(j,e)}return s()(x,e)}}e.a=r;var o=n(16),i=n(28),a=n(9),u=n(10),c=n(53),s=n.n(c),p=n(2),f=n.n(p),l=n(0),d=n.n(l),h=n(20),y=(n.n(h),n(13))},function(t,e,n){"use strict";function r(t){return function(e,n){function r(){return o}var o=t(e,n);return r.dependsOnOwnProps=!1,r}}function o(t){return null!==t.dependsOnOwnProps&&void 0!==t.dependsOnOwnProps?Boolean(t.dependsOnOwnProps):1!==t.length}function i(t,e){return function(e,n){var r=(n.displayName,function(t,e){return r.dependsOnOwnProps?r.mapToProps(t,e):r.mapToProps(t)});return r.dependsOnOwnProps=!0,r.mapToProps=function(e,n){r.mapToProps=t,r.dependsOnOwnProps=o(t);var i=r(e,n);return"function"==typeof i&&(r.mapToProps=i,r.dependsOnOwnProps=o(i),i=r(e,n)),i},r}}e.b=r,e.a=i,n(23)},function(t,e,n){"use strict";n(51),n(24)},function(t,e,n){"use strict";function r(t){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(t);try{throw new Error(t)}catch(t){}}e.a=r},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}var a=n(3),u=n.n(a),c=n(2),s=n.n(c),p=n(0),f=n.n(p),l=n(1),d=n.n(l),h=n(15),y=Object.assign||function(t){for(var e=1;e or withRouter() outside a ");var p=e.route,f=(o||p.location).pathname;return n.i(h.a)(f,{path:i,strict:a,exact:u,sensitive:c},p.match)},e.prototype.componentWillMount=function(){u()(!(this.props.component&&this.props.render),"You should not use and in the same route; will be ignored"),u()(!(this.props.component&&this.props.children&&!v(this.props.children)),"You should not use and in the same route; will be ignored"),u()(!(this.props.render&&this.props.children&&!v(this.props.children)),"You should not use and in the same route; will be ignored")},e.prototype.componentWillReceiveProps=function(t,e){u()(!(t.location&&!this.props.location),' elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),u()(!(!t.location&&this.props.location),' elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.'),this.setState({match:this.computeMatch(t,e.router)})},e.prototype.render=function(){var t=this.state.match,e=this.props,n=e.children,r=e.component,o=e.render,i=this.context.router,a=i.history,u=i.route,c=i.staticContext,s=this.props.location||u.location,p={match:t,location:s,history:a,staticContext:c};return r?t?f.a.createElement(r,p):null:o?t?o(p):null:"function"==typeof n?n(p):n&&!v(n)?f.a.Children.only(n):null},e}(f.a.Component);m.propTypes={computedMatch:d.a.object,path:d.a.string,exact:d.a.bool,strict:d.a.bool,sensitive:d.a.bool,component:d.a.func,render:d.a.func,children:d.a.oneOfType([d.a.func,d.a.node]),location:d.a.object},m.contextTypes={router:d.a.shape({history:d.a.object.isRequired,route:d.a.object.isRequired,staticContext:d.a.object})},m.childContextTypes={router:d.a.object.isRequired},e.a=m},function(t,e,n){"use strict";var r=n(19),o=n.n(r),i={},a=0,u=function(t){var e=t,n=i[e]||(i[e]={});if(n[t])return n[t];var r=o.a.compile(t);return a<1e4&&(n[t]=r,a++),r},c=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:u(t)(e,{pretty:!0})};e.a=c},function(t,e,n){"use strict";var r=(n(54),n(55),n(56),n(25),n(14));n.d(e,"b",function(){return r.a});var o=(n(57),n(58),n(26),n(15));n.d(e,"a",function(){return o.a}),n(59)},function(t,e,n){"use strict";function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}e.a=r},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(){return o=Object.assign||function(t){for(var e=1;e2&&void 0!==arguments[2]&&arguments[2];n.inTimeTravelling?n.inTimeTravelling=!1:u(t,e,r)};return n.unlisten=a.listen(s),s(a.location,a.action,!0),n}return f(e,t),u(e,[{key:"componentWillUnmount",value:function(){this.unlisten(),this.unsubscribe()}},{key:"render",value:function(){var t=this.props,e=t.history,n=t.children;return h.a.createElement(b.b,{history:e},n)}}]),e}(d.PureComponent);a.propTypes={store:v.a.shape({getState:v.a.func.isRequired,subscribe:v.a.func.isRequired}).isRequired,history:v.a.shape({action:v.a.string.isRequired,listen:v.a.func.isRequired,location:v.a.object.isRequired,push:v.a.func.isRequired}).isRequired,basename:v.a.string,children:v.a.oneOfType([v.a.func,v.a.node]),onLocationChanged:v.a.func.isRequired};var s=function(t){return{onLocationChanged:function(e,r){return t(n.i(g.c)(e,r))}}},l=function(t){var e=t.context||m.a;if(null==e)throw"Please upgrade to react-redux v6";return h.a.createElement(e.Consumer,null,function(e){var n=e.store;return h.a.createElement(a,o({store:n},t))})};return l.propTypes={context:v.a.object},n.i(m.b)(null,s)(l)};e.a=O},function(t,e,n){"use strict";function r(t){return a(t)||i(t)||o()}function o(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function i(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function a(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e0&&void 0!==arguments[0]?arguments[0]:o,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=i.type,u=i.payload;if(a===r.a){var c=u.location,s=u.action;return u.isFirstRendering?t:n(t,{location:e(c),action:s})}return t}}};e.a=o},function(t,e,n){"use strict";var r=function(t,e){if(!t)return t;var n=e.length;if(n){for(var r=t,o=0;o0&&void 0!==arguments[0]?arguments[0]:{},e=t.getUserConfirmation,r=t.initialEntries,f=void 0===r?["/"]:r,l=t.initialIndex,d=void 0===l?0:l,h=t.keyLength,y=void 0===h?6:h,v=n.i(u.a)(),m=function(t){s(_,t),_.length=_.entries.length,v.notifyListeners(_.location,_.action)},b=function(){return Math.random().toString(36).substr(2,y)},g=p(d,0,f.length-1),w=f.map(function(t){return"string"==typeof t?n.i(a.a)(t,void 0,b()):n.i(a.a)(t,void 0,t.key||b())}),O=i.a,P=function(t,r){o()(!("object"===(void 0===t?"undefined":c(t))&&void 0!==t.state&&void 0!==r),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var i=n.i(a.a)(t,r,b(),_.location);v.confirmTransitionTo(i,"PUSH",e,function(t){if(t){var e=_.index,n=e+1,r=_.entries.slice(0);r.length>n?r.splice(n,r.length-n,i):r.push(i),m({action:"PUSH",location:i,index:n,entries:r})}})},x=function(t,r){o()(!("object"===(void 0===t?"undefined":c(t))&&void 0!==t.state&&void 0!==r),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var i=n.i(a.a)(t,r,b(),_.location);v.confirmTransitionTo(i,"REPLACE",e,function(t){t&&(_.entries[_.index]=i,m({action:"REPLACE",location:i}))})},j=function(t){var n=p(_.index+t,0,_.entries.length-1),r=_.entries[n];v.confirmTransitionTo(r,"POP",e,function(t){t?m({action:"POP",location:r,index:n}):m()})},S=function(){return j(-1)},R=function(){return j(1)},C=function(t){var e=_.index+t;return e>=0&&e<_.entries.length},E=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return v.setPrompt(t)},T=function(t){return v.appendListener(t)},_={length:w.length,action:"POP",location:w[g],index:g,entries:w,createHref:O,push:P,replace:x,go:j,goBack:S,goForward:R,canGo:C,block:E,listen:T};return _};e.a=f},function(t,e,n){"use strict";function r(t,e,n){if("string"!=typeof e){if(f){var l=p(e);l&&l!==f&&r(t,l,n)}var d=u(e);c&&(d=d.concat(c(e)));for(var h=0;h=0;r--){var o=e[r](t);if(o)return o}return function(e,r){throw new Error("Invalid value of type "+typeof t+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function o(t,e){return t===e}var i=n(9),a=n(10),u=n(21),c=n(52),s=n(45),p=n(46),f=n(47),l=n(48);e.a=function(t){var e={},d=e.connectHOC,h=void 0===d?u.a:d,y=e.mapStateToPropsFactories,v=void 0===y?p.a:y,m=e.mapDispatchToPropsFactories,b=void 0===m?s.a:m,g=e.mergePropsFactories,w=void 0===g?f.a:g,O=e.selectorFactory,P=void 0===O?l.a:O;return function(t,e,u,s){void 0===s&&(s={});var p=s,f=p.pure,l=void 0===f||f,d=p.areStatesEqual,y=void 0===d?o:d,m=p.areOwnPropsEqual,g=void 0===m?c.a:m,O=p.areStatePropsEqual,x=void 0===O?c.a:O,j=p.areMergedPropsEqual,S=void 0===j?c.a:j,R=n.i(a.a)(p,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),C=r(t,v,"mapStateToProps"),E=r(e,b,"mapDispatchToProps"),T=r(u,w,"mergeProps");return h(P,n.i(i.a)({methodName:"connect",getDisplayName:function(t){return"Connect("+t+")"},shouldHandleStateChanges:Boolean(t),initMapStateToProps:C,initMapDispatchToProps:E,initMergeProps:T,pure:l,areStatesEqual:y,areOwnPropsEqual:g,areStatePropsEqual:x,areMergedPropsEqual:S},R))}}()},function(t,e,n){"use strict";function r(t){return"function"==typeof t?n.i(u.a)(t,"mapDispatchToProps"):void 0}function o(t){return t?void 0:n.i(u.b)(function(t){return{dispatch:t}})}function i(t){return t&&"object"==typeof t?n.i(u.b)(function(e){return n.i(a.a)(t,e)}):void 0}var a=n(61),u=n(22);e.a=[r,o,i]},function(t,e,n){"use strict";function r(t){return"function"==typeof t?n.i(i.a)(t,"mapStateToProps"):void 0}function o(t){return t?void 0:n.i(i.b)(function(){return{}})}var i=n(22);e.a=[r,o]},function(t,e,n){"use strict";function r(t,e,r){return n.i(u.a)({},r,t,e)}function o(t){return function(e,n){var r,o=(n.displayName,n.pure),i=n.areMergedPropsEqual,a=!1;return function(e,n,u){var c=t(e,n,u);return a?o&&i(c,r)||(r=c):(a=!0,r=c),r}}}function i(t){return"function"==typeof t?o(t):void 0}function a(t){return t?void 0:function(){return r}}var u=n(9);n(23),e.a=[i,a]},function(t,e,n){"use strict";function r(t,e,n,r){return function(o,i){return n(t(o,i),e(r,i),i)}}function o(t,e,n,r,o){function i(o,i){return p=o,f=i,l=t(p,f),d=e(r,f),h=n(l,d,f),b=!0,h}function a(){return l=t(p,f),e.dependsOnOwnProps&&(d=e(r,f)),h=n(l,d,f)}function u(){return t.dependsOnOwnProps&&(l=t(p,f)),e.dependsOnOwnProps&&(d=e(r,f)),h=n(l,d,f)}function c(){var e=t(p,f),r=!m(e,l);return l=e,r&&(h=n(l,d,f)),h}function s(t,e){var n=!v(e,f),r=!y(t,p);return p=t,f=e,n&&r?a():n?u():r?c():h}var p,f,l,d,h,y=o.areStatesEqual,v=o.areOwnPropsEqual,m=o.areStatePropsEqual,b=!1;return function(t,e){return b?s(t,e):i(t,e)}}function i(t,e){var i=e.initMapStateToProps,u=e.initMapDispatchToProps,c=e.initMergeProps,s=n.i(a.a)(e,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),p=i(t,s),f=u(t,s),l=c(t,s);return(s.pure?o:r)(p,f,l,t,s)}e.a=i;var a=n(10);n(49)},function(t,e,n){"use strict";n(24)},function(t,e,n){"use strict";var r=(n(43),n(21),n(13)),o=n(44);n.d(e,"a",function(){return r.a}),n.d(e,"b",function(){return o.a})},function(t,e,n){"use strict";function r(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}e.a=r},function(t,e,n){"use strict";function r(t,e){return t===e?0!==t||0!==e||1/t==1/e:t!==t&&e!==e}function o(t,e){if(r(t,e))return!0;if("object"!=typeof t||null===t||"object"!=typeof e||null===e)return!1;var n=Object.keys(t),o=Object.keys(e);if(n.length!==o.length)return!1;for(var a=0;a ignores the history prop. To use a custom history, use `import { Router }` instead of `import { MemoryRouter as Router }`.")},e.prototype.render=function(){return s.a.createElement(d.a,{history:this.history,children:this.props.children})},e})(s.a.Component)).propTypes={initialEntries:f.a.array,initialIndex:f.a.number,getUserConfirmation:f.a.func,keyLength:f.a.number,children:f.a.node}},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}var a=n(0),u=n.n(a),c=n(1),s=n.n(c),p=n(2),f=n.n(p),l=function(t){function e(){return r(this,e),o(this,t.apply(this,arguments))}return i(e,t),e.prototype.enable=function(t){this.unblock&&this.unblock(),this.unblock=this.context.router.history.block(t)},e.prototype.disable=function(){this.unblock&&(this.unblock(),this.unblock=null)},e.prototype.componentWillMount=function(){f()(this.context.router,"You should not use outside a "),this.props.when&&this.enable(this.props.message)},e.prototype.componentWillReceiveProps=function(t){t.when?this.props.when&&this.props.message===t.message||this.enable(t.message):this.disable()},e.prototype.componentWillUnmount=function(){this.disable()},e.prototype.render=function(){return null},e}(u.a.Component);l.propTypes={when:s.a.bool,message:s.a.oneOfType([s.a.func,s.a.string]).isRequired},l.defaultProps={when:!0},l.contextTypes={router:s.a.shape({history:s.a.shape({block:s.a.func.isRequired}).isRequired}).isRequired}},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}var a=n(0),u=n.n(a),c=n(1),s=n.n(c),p=n(3),f=n.n(p),l=n(2),d=n.n(l),h=n(12),y=n(26),v=Object.assign||function(t){for(var e=1;e outside a "),this.isStatic()&&this.perform()},e.prototype.componentDidMount=function(){this.isStatic()||this.perform()},e.prototype.componentDidUpdate=function(t){var e=n.i(h.b)(t.to),r=n.i(h.b)(this.props.to);if(n.i(h.c)(e,r))return void f()(!1,"You tried to redirect to the same route you're currently on: \""+r.pathname+r.search+'"');this.perform()},e.prototype.computeTo=function(t){var e=t.computedMatch,r=t.to;return e?"string"==typeof r?n.i(y.a)(r,e.params):v({},r,{pathname:n.i(y.a)(r.pathname,e.params)}):r},e.prototype.perform=function(){var t=this.context.router.history,e=this.props.push,n=this.computeTo(this.props);e?t.push(n):t.replace(n)},e.prototype.render=function(){return null},e}(u.a.Component);m.propTypes={computedMatch:s.a.object,push:s.a.bool,from:s.a.string,to:s.a.oneOfType([s.a.string,s.a.object]).isRequired},m.defaultProps={push:!1},m.contextTypes={router:s.a.shape({history:s.a.shape({push:s.a.func.isRequired,replace:s.a.func.isRequired}).isRequired,staticContext:s.a.object}).isRequired}},function(t,e,n){"use strict";function r(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(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}function a(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)}var u=n(3),c=n.n(u),s=n(2),p=n.n(s),f=n(0),l=n.n(f),d=n(1),h=n.n(d),y=n(12),v=n(14),m=Object.assign||function(t){for(var e=1;e",t)}},x=function(){},j=function(t){function e(){var r,a,u;o(this,e);for(var c=arguments.length,s=Array(c),p=0;p ignores the history prop. To use a custom history, use `import { Router }` instead of `import { StaticRouter as Router }`.")},e.prototype.render=function(){var t=this.props,e=t.basename,o=(t.context,t.location),i=r(t,["basename","context","location"]),a={createHref:this.createHref,action:"POP",location:w(e,n.i(y.b)(o)),push:this.handlePush,replace:this.handleReplace,go:P("go"),goBack:P("goBack"),goForward:P("goForward"),listen:this.handleListen,block:this.handleBlock};return l.a.createElement(v.a,m({},i,{history:a}))},e}(l.a.Component);j.propTypes={basename:h.a.string,context:h.a.object.isRequired,location:h.a.oneOfType([h.a.string,h.a.object])},j.defaultProps={basename:"",location:"/"},j.childContextTypes={router:h.a.object.isRequired}},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}var a=n(0),u=n.n(a),c=n(1),s=n.n(c),p=n(3),f=n.n(p),l=n(2),d=n.n(l),h=n(15),y=function(t){function e(){return r(this,e),o(this,t.apply(this,arguments))}return i(e,t),e.prototype.componentWillMount=function(){d()(this.context.router,"You should not use outside a ")},e.prototype.componentWillReceiveProps=function(t){f()(!(t.location&&!this.props.location),' elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),f()(!(!t.location&&this.props.location),' elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.')},e.prototype.render=function(){var t=this.context.router.route,e=this.props.children,r=this.props.location||t.location,o=void 0,i=void 0;return u.a.Children.forEach(e,function(e){if(null==o&&u.a.isValidElement(e)){var a=e.props,c=a.path,s=a.exact,p=a.strict,f=a.sensitive,l=a.from,d=c||l;i=e,o=n.i(h.a)(r.pathname,{path:d,exact:s,strict:p,sensitive:f},t.match)}}),o?u.a.cloneElement(i,{location:r,computedMatch:o}):null},e}(u.a.Component);y.contextTypes={router:s.a.shape({route:s.a.object.isRequired}).isRequired},y.propTypes={children:s.a.node,location:s.a.object}},function(t,e,n){"use strict";var r=n(0),o=(n.n(r),n(1)),i=(n.n(o),n(37));n.n(i),n(25),Object.assign},function(t,e,n){"use strict";function r(t,e,n,r,o,i,a,u){if(!t){if(t=void 0,void 0===e)t=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,u],s=0;t=Error(e.replace(/%s/g,function(){return c[s++]})),t.name="Invariant Violation"}throw t.framesToPop=1,t}}function o(t){for(var e=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+t,o=0;oW.length&&W.push(t)}function h(t,e,n,r){var i=typeof t;"undefined"!==i&&"boolean"!==i||(t=null);var a=!1;if(null===t)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(t.$$typeof){case P:case x:a=!0}}if(a)return n(r,t,""===e?"."+v(t,0):e),1;if(a=0,e=""===e?".":e+":",Array.isArray(t))for(var u=0;u1&&void 0!==arguments[1]?arguments[1]:"",n=t&&t.split("/")||[],i=e&&e.split("/")||[],a=t&&r(t),u=e&&r(e),c=a||u;if(t&&r(t)?i=n:n.length&&(i.pop(),i=i.concat(n)),!i.length)return"/";var s=void 0;if(i.length){var p=i[i.length-1];s="."===p||".."===p||""===p}else s=!1;for(var f=0,l=i.length;l>=0;l--){var d=i[l];"."===d?o(i,l):".."===d?(o(i,l),f++):f&&(o(i,l),f--)}if(!c)for(;f--;f)i.unshift("..");!c||""===i[0]||i[0]&&r(i[0])||i.unshift("");var h=i.join("/");return s&&"/"!==h.substr(-1)&&(h+="/"),h}e.a=i},function(t,e,n){"use strict";(function(t,r){var o,i=n(64);o="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==t?t:r;var a=n.i(i.a)(o);e.a=a}).call(e,n(66),n(67)(t))},function(t,e,n){"use strict";function r(t){var e,n=t.Symbol;return"function"==typeof n?n.observable?e=n.observable:(e=n("observable"),n.observable=e):e="@@observable",e}e.a=r},function(t,e,n){"use strict";function r(t,e){if(t===e)return!0;if(null==t||null==e)return!1;if(Array.isArray(t))return Array.isArray(e)&&t.length===e.length&&t.every(function(t,n){return r(t,e[n])});var n=void 0===t?"undefined":o(t);if(n!==(void 0===e?"undefined":o(e)))return!1;if("object"===n){var i=t.valueOf(),a=e.valueOf();if(i!==t||a!==e)return r(i,a);var u=Object.keys(t),c=Object.keys(e);return u.length===c.length&&u.every(function(n){return r(t[n],e[n])})}return!1}var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.a=r},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e){t.exports=function(t){if(!t.webpackPolyfill){var e=Object.create(t);e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),Object.defineProperty(e,"exports",{enumerable:!0}),e.webpackPolyfill=1}return e}},function(t,e,n){n(8),t.exports=n(8)}])});