!function(t,e){"object"==typeofexports&&"object"==typeofmodule?module.exports=e(require("react")):"function"==typeofdefine&&define.amd?define(["react"],e):"object"==typeofexports?exports.ReactRouter=e(require("react")):t.ReactRouter=e(t.React)}(this,function(t){returnfunction(t){functione(r){if(n[r])returnn[r].exports;varo=n[r]={exports:{},id:r,loaded:!1};returnt[r].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}varn={};returne.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){"use strict";e.DefaultRoute=n(1),e.Link=n(18),e.NotFoundRoute=n(19),e.Redirect=n(20),e.Route=n(17),e.ActiveHandler=n(15),e.RouteHandler=e.ActiveHandler,e.HashLocation=n(21),e.HistoryLocation=n(25),e.RefreshLocation=n(26),e.StaticLocation=n(27),e.TestLocation=n(28),e.ImitateBrowserBehavior=n(29),e.ScrollToTopBehavior=n(30),e.History=n(23),e.Navigation=n(31),e.State=n(32),e.createRoute=n(5).createRoute,e.createDefaultRoute=n(5).createDefaultRoute,e.createNotFoundRoute=n(5).createNotFoundRoute,e.createRedirect=n(5).createRedirect,e.createRoutesFromReactChildren=n(33),e.create=n(34),e.run=n(43)},function(t,e,n){"use strict";functionr(t,e){if(!(tinstanceofe))thrownewTypeError("Cannot call a class as a function")}functiono(t,e){if("function"!=typeofe&&null!==e)thrownewTypeError("Super expression must either be null or a function, not "+typeofe);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)}vari=function(t,e,n){for(varr=!0;r;){varo=t,i=e,a=n;r=!1,null===o&&(o=Function.prototype);varu=Object.getOwnPropertyDescriptor(o,i);if(void0!==u){if("value"inu)returnu.value;varc=u.get;returnvoid0===c?void0:c.call(a)}vars=Object.getPrototypeOf(o);if(null===s)returnvoid0;t=s,e=i,n=a,r=!0,u=s=void0}},a=n(2),u=n(15),c=n(17),s=function(t){functione(){r(this,e),i(Object.getPrototypeOf(e.prototype),"constructor",this).apply(this,arguments)}returno(e,t),e}(c);s.propTypes={name:a.string,path:a.falsy,children:a.falsy,handler:a.func.isRequired},s.defaultProps={handler:u},t.exports=s},function(t,e,n){"use strict";varr=n(3),o=n(4).PropTypes,i=n(5),a=r({},o,{falsy:function(t,e,n){returnt[e]?newError("<"+n+'> should not have a "'+e+'" prop'):void0},route:o.instanceOf(i),router:o.func});t.exports=a},function(t,e){"use strict";functionn(t,e){if(null==t)thrownewTypeError("Object.assign target cannot be null or undefined");for(varn=Object(t),r=Object.prototype.hasOwnProperty,o=1;o<arguments.length;o++){vari=arguments[o];if(null!=i){vara=Object(i);for(varuina)r.call(a,u)&&(n[u]=a[u])}}returnn}t.exports=n},function(e,n){e.exports=t},function(t,e,n){"use strict";functionr(t,e){if(!(tinstanceofe))thrownewTypeError("Cannot call a class as a function")}varo,i=function(){functiont(t,e){for(varn=0;n<e.length;n++){varr=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"inr&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}returnfunction(e,n,r){returnn&&t(e.prototype,n),r&&t(e,r),e}}(),a=n(3),u=n(6),c=n(7),s=n(8),l=function(){functiont(e,n,o,i,a,u,c,l){r(this,t),this.name=e,this.path=n,this.paramNames=s.extractParamNames(this.path),this.ignoreScrollBehavior=!!o,this.isDefault=!!i,this.isNotFound=!!a,this.onEnter=u,this.onLeave=c,this.handler=l}returni(t,null,[{key:"createRoute",value:function(e,n){e=e||{},"string"==typeofe&&(e={path:e});varr=o;r?c(null==e.parentRoute||e.parentRoute===r,"You should not use parentRoute with createRoute inside another route's child callback; it is ignored"):r=e.parentRoute;vari=e.name,a=e.path||i;!a||e.isDefault||e.isNotFound?a=r?r.path:"/":s.isAbsolute(a)?r&&u(a===r.path||0===r.paramNames.length,'You cannot nest path "%s" inside "%s"; the parent requires URL parameters',a,r.path):a=r?s.join(r.path,a):"/"+a,e.isNotFound&&!/\*$/.test(a)&&(a+="*");varl=newt(i,a,e.ignoreScrollBehavior,e.isDefault,e.isNotFound,e.onEnter,e.onLeave,e.handler);if(r&&(l.isDefault?(u(null==r.defaultRoute,"%s may not have more than one default route",r),r.defaultRoute=l):l.isNotFound&&(u(n
this.setState(s=y)},componentWillUnmount:function(){N.stop()},render:function(){vart=N.getRouteAtDepth(0);returnt?l.createElement(t.handler,this.props):null}});returnN.clearAllRoutes(),t.routes&&N.addRoutes(t.routes),N}varl=n(4),f=n(7),p=n(6),h=n(24),d=n(22),y=n(29),v=n(21),m=n(25),g=n(26),b=n(27),w=n(35),O=n(33),P=n(37),R=n(38),x=n(2),C=n(40),j=n(23),k=n(39),E=n(41),L=n(5),T=n(42),S=n(8),A=h?v:"/",_=h?y:null;t.exports=s},function(t,e,n){"use strict";functionr(t,e){if(!e)return!0;if(t.pathname===e.pathname)return!1;varn=t.routes,r=e.routes,o=n.filter(function(t){return-1!==r.indexOf(t)});return!o.some(function(t){returnt.ignoreScrollBehavior})}varo=n(6),i=n(24),a=n(36),u={statics:{recordScrollPosition:function(t){this.scrollHistory||(this.scrollHistory={}),this.scrollHistory[t]=a()},getScrollPosition:function(t){returnthis.scrollHistory||(this.scrollHistory={}),this.scrollHistory[t]||null}},componentWillMount:function(){o(null==this.constructor.getScrollBehavior()||i,"Cannot use scroll behavior without a DOM")},componentDidMount:function(){this._updateScroll()},componentDidUpdate:function(t,e){this._updateScroll(e)},_updateScroll:function(t){if(r(this.state,t)){vare=this.constructor.getScrollBehavior();e&&e.updateScrollPosition(this.constructor.getScrollPosition(this.state.path),this.state.action)}}};t.exports=u},function(t,e,n){"use strict";functionr(){returno(i,"Cannot get current scroll position without a DOM"),{x:window.pageXOffset||document.documentElement.scrollLeft,y:window.pageYOffset||document.documentElement.scrollTop}}varo=n(6),i=n(24);t.exports=r},function(t,e,n){"use strict";functionr(t){returnnull==t||i.isValidElement(t)}functiono(t){returnr(t)||Array.isArray(t)&&t.every(r)}vari=n(4);t.exports=o},function(t,e,n){"use strict";functionr(t,e){this.path=t,this.abortReason=null,this.retry=e.bind(this)}varo=n(39),i=n(40);r.prototype.abort=function(t){null==this.abortReason&&(this.abortReason=t||"ABORT")},r.prototype.redirect=function(t,e,n){this.abort(newi(t,e,n))},r.prototype.cancel=function(){this.abort(newo)},r.from=function(t,e,n,r){e.reduce(function(e,r,o){returnfunction(i){if(i||t.abortReason)e(i);elseif(r.onLeave)try{r.onLeave(t,n[o],e),r.onLeave.length<3&&e()}catch(a){e(a)}elsee()}},r)()},r.to=function(t,e,n,r,o){e.reduceRight(function(e,o){returnfunction(i){if(i||t.abortReason)e(i);elseif(o.onEnter)try{o.onEnter(t,n,r,e),o.onEnter.length<4&&e()}catch(a){e(a)}elsee()}},o)()},t.exports=r},function(t,e){"use strict";functionn(){}t.exports=n},function(t,e){"use strict";functionn(t,e,n){this.to=t,this.params=e,this.query=n}t.exports=n},function(t,e,n){"use strict";functionr(t,e){if(!(tinstanceofe))thrownewTypeError("Cannot call a class as a function")}functiono(t,e,n){varr=t.childRoutes;if(r)for(vari,c,s=0,l=r.length;l>s;++s)if(c=r[s],!c.isDefault&&!c.isNotFound&&(i=o(c,e,n)))returni.routes.unshift(t),i;varf=t.defaultRoute;if(f&&(h=a.extractParams(f.path,e)))returnnewu(e,h,n,[t,f]);varp=t.notFoundRoute;if(p&&(h=a.extractParams(p.path,e)))returnnewu(e,h,n,[t,p]);varh=a.extractParams(t.path,e);returnh?newu(e,h,n,[t]):null}vari=function(){functiont(t,e){for(varn=0;n<e.length;n++){varr=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"inr&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}returnfunction(e,n,r){returnn&&t(e.prototype,n),r&&t(e,r),e}}(),a=n(8),u=function(){functiont(e,n,o,i){r(this,t),this.pathname=e,this.params=n,this.query=o,this.routes=i}returni(t,null,[{key:"findMatch",value:function(t,e){for(varn=a.withoutQuery(e),r=a.extractQuery(e),i=null,u=0,c=t.length;null==i&&c>u;++u)i=o(t[u],n,r);returni}}]),t}();t.exports=u},function(t,e){"use strict";functionn(){/*!takenfrommodernizr