!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react")):"function"==typeof define&&define.amd?define(["react"],e):"object"==typeof exports?exports.ReactRouter=e(require("react")):t.ReactRouter=e(t.React)}(this,function(t){return 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";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0,e.createMemoryHistory=e.hashHistory=e.browserHistory=e.applyRouterMiddleware=e.formatPattern=e.useRouterHistory=e.match=e.routerShape=e.locationShape=e.RouterContext=e.createRoutes=e.Route=e.Redirect=e.IndexRoute=e.IndexRedirect=e.withRouter=e.IndexLink=e.Link=e.Router=void 0;var o=n(4);Object.defineProperty(e,"createRoutes",{enumerable:!0,get:function(){return o.createRoutes}});var i=n(16);Object.defineProperty(e,"locationShape",{enumerable:!0,get:function(){return i.locationShape}}),Object.defineProperty(e,"routerShape",{enumerable:!0,get:function(){return i.routerShape}});var u=n(8);Object.defineProperty(e,"formatPattern",{enumerable:!0,get:function(){return u.formatPattern}});var a=n(39),c=r(a),s=n(22),f=r(s),l=n(35),d=r(l),p=n(50),h=r(p),v=n(36),y=r(v),m=n(37),g=r(m),_=n(24),b=r(_),E=n(38),O=r(E),R=n(17),P=r(R),w=n(48),x=r(w),M=n(29),j=r(M),A=n(41),C=r(A),S=n(42),L=r(S),N=n(46),I=r(N),k=n(26),D=r(k);e.Router=c.default,e.Link=f.default,e.IndexLink=d.default,e.withRouter=h.default,e.IndexRedirect=y.default,e.IndexRoute=g.default,e.Redirect=b.default,e.Route=O.default,e.RouterContext=P.default,e.match=x.default,e.useRouterHistory=j.default,e.applyRouterMiddleware=C.default,e.browserHistory=L.default,e.hashHistory=I.default,e.createMemoryHistory=D.default},function(t,e,n){"use strict";var r=function(t,e,n,r,o,i,u,a){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,u,a],f=0;c=new Error(e.replace(/%s/g,function(){return s[f++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}};t.exports=r},function(t,e,n){t.exports=n(61)()},function(t,e,n){"use strict";var r=n(7),o=n(51);if("undefined"==typeof r)throw Error("create-react-class could not find the React object. If you are using script tags, make sure that React is being loaded before create-react-class.");var i=(new r.Component).updater;t.exports=o(r.Component,r.isValidElement,i)},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t){return null==t||d.default.isValidElement(t)}function i(t){return o(t)||Array.isArray(t)&&t.every(o)}function u(t,e){return f({},t,e)}function a(t){var e=t.type,n=u(e.defaultProps,t.props);if(n.children){var r=c(n.children,n);r.length&&(n.childRoutes=r),delete n.children}return n}function c(t,e){var n=[];return d.default.Children.forEach(t,function(t){if(d.default.isValidElement(t))if(t.type.createRouteFromReactElement){var r=t.type.createRouteFromReactElement(t,e);r&&n.push(r)}else n.push(a(t))}),n}function s(t){return i(t)?t=c(t):t&&!Array.isArray(t)&&(t=[t]),t}e.__esModule=!0;var f=Object.assign||function(t){for(var e=1;e0?void 0:(0,d.default)(!1),null!=l&&(i+=encodeURI(l));else if("("===s)c[o]="",o+=1;else if(")"===s){var v=c.pop();o-=1,o?c[o-1]+=v:i+=v}else if("\\("===s)i+="(";else if("\\)"===s)i+=")";else if(":"===s.charAt(0))if(f=s.substring(1),l=e[f],null!=l||o>0?void 0:(0,d.default)(!1),null==l){if(o){c[o-1]="";for(var y=r.indexOf(s),m=r.slice(y,r.length),g=-1,_=0;_0?void 0:(0,d.default)(!1),p=y+g-1}}else o?c[o-1]+=encodeURIComponent(l):i+=encodeURIComponent(l);else o?c[o-1]+=s:i+=s;return o<=0?void 0:(0,d.default)(!1),i.replace(/\/+/g,"/")}e.__esModule=!0,e.compilePattern=u,e.matchPattern=a,e.getParamNames=c,e.getParams=s,e.formatPattern=f;var l=n(1),d=r(l),p=Object.create(null)},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(e.indexOf("deprecated")!==-1){if(c[e])return;c[e]=!0}e="[react-router] "+e;for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o0&&void 0!==arguments[0]?arguments[0]:"/",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f.POP,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r="string"==typeof t?(0,s.parsePath)(t):t,o=r.pathname||"/",i=r.search||"",u=r.hash||"",a=r.state;return{pathname:o,search:i,hash:u,state:a,action:e,key:n}},function(t){return"[object Date]"===Object.prototype.toString.call(t)}),d=e.statesAreEqual=function t(e,n){if(e===n)return!0;var r="undefined"==typeof e?"undefined":o(e),i="undefined"==typeof n?"undefined":o(n);if(r!==i)return!1;if("function"===r?(0,a.default)(!1):void 0,"object"===r){if(l(e)&&l(n)?(0,a.default)(!1):void 0,!Array.isArray(e)){var u=Object.keys(e),c=Object.keys(n);return u.length===c.length&&u.every(function(r){return t(e[r],n[r])})}return Array.isArray(n)&&e.length===n.length&&e.every(function(e,r){return t(e,n[r])})}return!1};e.locationsAreEqual=function(t,e){return t.key===e.key&&t.pathname===e.pathname&&t.search===e.search&&t.hash===e.hash&&d(t.state,e.state)}},function(t,e,n){"use strict";function r(t,e,n){if(t[e])return new Error("<"+n+'> should not have a "'+e+'" prop')}e.__esModule=!0,e.routes=e.route=e.components=e.component=e.history=void 0,e.falsy=r;var o=n(2),i=(e.history=(0,o.shape)({listen:o.func.isRequired,push:o.func.isRequired,replace:o.func.isRequired,go:o.func.isRequired,goBack:o.func.isRequired,goForward:o.func.isRequired}),e.component=(0,o.oneOfType)([o.func,o.string])),u=(e.components=(0,o.oneOfType)([i,o.object]),e.route=(0,o.oneOfType)([o.object,o.element]));e.routes=(0,o.oneOfType)([u,(0,o.arrayOf)(u)])},function(t,e){"use strict";e.__esModule=!0;e.PUSH="PUSH",e.REPLACE="REPLACE",e.POP="POP"},function(t,e){"use strict";e.__esModule=!0;e.addEventListener=function(t,e,n){return t.addEventListener?t.addEventListener(e,n,!1):t.attachEvent("on"+e,n)},e.removeEventListener=function(t,e,n){return t.removeEventListener?t.removeEventListener(e,n,!1):t.detachEvent("on"+e,n)},e.supportsHistory=function(){var t=window.navigator.userAgent;return(t.indexOf("Android 2.")===-1&&t.indexOf("Android 4.0")===-1||t.indexOf("Mobile Safari")===-1||t.indexOf("Chrome")!==-1||t.indexOf("Windows Phone")!==-1)&&(window.history&&"pushState"in window.history)},e.supportsGoWithoutReloadUsingHash=function(){return window.navigator.userAgent.indexOf("Firefox")===-1},e.supportsPopstateOnHashchange=function(){return window.navigator.userAgent.indexOf("Trident")===-1},e.isExtraneousPopstateEvent=function(t){return void 0===t.state&&navigator.userAgent.indexOf("CriOS")===-1}},function(t,e){"use strict";function n(t,e,n){function r(){return u=!0,a?void(s=[].concat(Array.prototype.slice.call(arguments))):void n.apply(this,arguments)}function o(){if(!u&&(c=!0,!a)){for(a=!0;!u&&i=t&&c&&(u=!0,n()))}}var i=0,u=!1,a=!1,c=!1,s=void 0;o()}function r(t,e,n){function r(t,e,r){u||(e?(u=!0,n(e)):(i[t]=r,u=++a===o,u&&n(null,i)))}var o=t.length,i=[];if(0===o)return n(null,i);var u=!1,a=0;t.forEach(function(t,n){e(t,n,function(t,e){r(n,t,e)})})}e.__esModule=!0,e.loopAsync=n,e.mapAsync=r},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t){return"@@contextSubscriber/"+t}function i(t){var e,n,r=o(t),i=r+"/listeners",u=r+"/eventIndex",a=r+"/subscribe";return n={childContextTypes:(e={},e[r]=s.isRequired,e),getChildContext:function(){var t;return t={},t[r]={eventIndex:this[u],subscribe:this[a]},t},componentWillMount:function(){this[i]=[],this[u]=0},componentWillReceiveProps:function(){this[u]++},componentDidUpdate:function(){var t=this;this[i].forEach(function(e){return e(t[u])})}},n[a]=function(t){var e=this;return this[i].push(t),function(){e[i]=e[i].filter(function(e){return e!==t})}},n}function u(t){var e,n,r=o(t),i=r+"/lastRenderedEventIndex",u=r+"/handleContextUpdate",a=r+"/unsubscribe";return n={contextTypes:(e={},e[r]=s,e),getInitialState:function(){var t;return this.context[r]?(t={},t[i]=this.context[r].eventIndex,t):{}},componentDidMount:function(){this.context[r]&&(this[a]=this.context[r].subscribe(this[u]))},componentWillReceiveProps:function(){var t;this.context[r]&&this.setState((t={},t[i]=this.context[r].eventIndex,t))},componentWillUnmount:function(){this[a]&&(this[a](),this[a]=null)}},n[u]=function(t){if(t!==this.state[i]){var e;this.setState((e={},e[i]=t,e))}},n}e.__esModule=!0,e.ContextProvider=i,e.ContextSubscriber=u;var a=n(2),c=r(a),s=c.default.shape({subscribe:c.default.func.isRequired,eventIndex:c.default.number.isRequired})},function(t,e,n){"use strict";e.__esModule=!0,e.locationShape=e.routerShape=void 0;var r=n(2);e.routerShape=(0,r.shape)({push:r.func.isRequired,replace:r.func.isRequired,go:r.func.isRequired,goBack:r.func.isRequired,goForward:r.func.isRequired,setRouteLeaveHook:r.func.isRequired,isActive:r.func.isRequired}),e.locationShape=(0,r.shape)({pathname:r.string.isRequired,search:r.string.isRequired,state:r.object,action:r.string.isRequired,key:r.string})},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=Object.assign||function(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},e=t.getCurrentLocation,n=t.getUserConfirmation,r=t.pushLocation,u=t.replaceLocation,f=t.go,l=t.keyLength,d=void 0,p=void 0,h=[],v=[],y=[],m=function(){return p&&p.action===c.POP?y.indexOf(p.key):d?y.indexOf(d.key):-1},g=function(t){var e=m();d=t,d.action===c.PUSH?y=[].concat(y.slice(0,e+1),[d.key]):d.action===c.REPLACE&&(y[e]=d.key),v.forEach(function(t){return t(d)})},_=function(t){return h.push(t),function(){return h=h.filter(function(e){return e!==t})}},b=function(t){return v.push(t),function(){return v=v.filter(function(e){return e!==t})}},E=function(t,e){(0,o.loopAsync)(h.length,function(e,n,r){(0,a.default)(h[e],t,function(t){return null!=t?r(t):n()})},function(t){n&&"string"==typeof t?n(t,function(t){return e(t!==!1)}):e(t!==!1)})},O=function(t){d&&(0,s.locationsAreEqual)(d,t)||p&&(0,s.locationsAreEqual)(p,t)||(p=t,E(t,function(e){if(p===t)if(p=null,e){if(t.action===c.PUSH){var n=(0,i.createPath)(d),o=(0,i.createPath)(t);o===n&&(0,s.statesAreEqual)(d.state,t.state)&&(t.action=c.REPLACE)}t.action===c.POP?g(t):t.action===c.PUSH?r(t)!==!1&&g(t):t.action===c.REPLACE&&u(t)!==!1&&g(t)}else if(d&&t.action===c.POP){var a=y.indexOf(d.key),l=y.indexOf(t.key);a!==-1&&l!==-1&&f(a-l)}}))},R=function(t){return O(A(t,c.PUSH))},P=function(t){return O(A(t,c.REPLACE))},w=function(){return f(-1)},x=function(){return f(1)},M=function(){return Math.random().toString(36).substr(2,l||6)},j=function(t){return(0,i.createPath)(t)},A=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:M();return(0,s.createLocation)(t,e,n)};return{getCurrentLocation:e,listenBefore:_,listen:b,transitionTo:O,push:R,replace:P,go:f,goBack:w,goForward:x,createKey:M,createPath:i.createPath,createHref:j,createLocation:A}};e.default=f},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(6),i=(r(o),function(t,e,n){var r=t(e,n);t.length<2&&n(r)});e.default=i},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(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 i(t){return 0===t.button}function u(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function a(t){for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e))return!1;return!0}function c(t,e){return"function"==typeof t?t(e.location):t}e.__esModule=!0;var s=Object.assign||function(t){for(var e=1;e=0;r--){var o=t[r],i=o.path||"";if(n=i.replace(/\/*$/,"/")+n,0===i.indexOf("/"))break}return"/"+n}},propTypes:{path:u.string,from:u.string,to:u.string.isRequired,query:u.object,state:u.object,onEnter:l.falsy,children:l.falsy},render:function(){(0,c.default)(!1)}});e.default=d},function(t,e){"use strict";function n(t,e,n){var i=o({},t,{setRouteLeaveHook:e.listenBeforeLeavingRoute,isActive:e.isActive});return r(i,n)}function r(t,e){var n=e.location,r=e.params,o=e.routes;return t.location=n,t.params=r,t.routes=o,t}e.__esModule=!0;var o=Object.assign||function(t){for(var e=1;e1&&void 0!==arguments[1]&&arguments[1];return t.__id__||e&&(t.__id__=w++)}function c(t){return t.map(function(t){return x[a(t)]}).filter(function(t){return t})}function f(t,n){(0,m.default)(e,t,function(e,r){if(null==r)return void n();P=u({},r,{location:t});for(var o=c((0,s.default)(_,P).leaveRoutes),i=void 0,a=0,f=o.length;null==i&&a0&&void 0!==arguments[0]?arguments[0]:{},n=t(e),r=e.basename,i=function(t){return t?(r&&null==t.basename&&(0===t.pathname.toLowerCase().indexOf(r.toLowerCase())?(t.pathname=t.pathname.substring(r.length),t.basename=r,""===t.pathname&&(t.pathname="/")):t.basename=""),t):t},c=function(t){if(!r)return t;var e="string"==typeof t?(0,a.parsePath)(t):t,n=e.pathname,i="/"===r.slice(-1)?r:r+"/",u="/"===n.charAt(0)?n.slice(1):n,c=i+u;return o({},e,{pathname:c})},s=function(){return i(n.getCurrentLocation())},f=function(t){return n.listenBefore(function(e,n){return(0,u.default)(t,i(e),n)})},l=function(t){return n.listen(function(e){return t(i(e))})},d=function(t){return n.push(c(t))},p=function(t){return n.replace(c(t))},h=function(t){return n.createPath(c(t))},v=function(t){return n.createHref(c(t))},y=function(t){for(var e=arguments.length,r=Array(e>1?e-1:0),o=1;o0&&void 0!==arguments[0]?arguments[0]:{},n=t(e),r=e.stringifyQuery,i=e.parseQueryString;"function"!=typeof r&&(r=f),"function"!=typeof i&&(i=l);var u=function(t){return t?(null==t.query&&(t.query=i(t.search.substring(1))),t):t},d=function(t,e){if(null==e)return t;var n="string"==typeof t?(0,s.parsePath)(t):t,i=r(e),u=i?"?"+i:"";return o({},n,{search:u})},p=function(){return u(n.getCurrentLocation())},h=function(t){return n.listenBefore(function(e,n){return(0,a.default)(t,u(e),n)})},v=function(t){return n.listen(function(e){return t(u(e))})},y=function(t){return n.push(d(t,t.query))},m=function(t){return n.replace(d(t,t.query))},g=function(t){return n.createPath(d(t,t.query))},_=function(t){return n.createHref(d(t,t.query))},b=function(t){for(var e=arguments.length,r=Array(e>1?e-1:0),o=1;o=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}e.__esModule=!0;var i=Object.assign||function(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:i.createElement;return function(e,n){return a.reduceRight(function(t,e){return e(t,n)},t(e,n))}};return function(t){return r.reduceRight(function(e,n){return n(e,t)},u.default.createElement(c.default,o({},t,{createElement:s(t.createElement)})))}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(57),i=r(o),u=n(27),a=r(u);e.default=(0,a.default)(i.default)},function(t,e,n){"use strict";function r(t,e,n){if(!t.path)return!1;var r=(0,i.getParamNames)(t.path);return r.some(function(t){return e.params[t]!==n.params[t]})}function o(t,e){var n=t&&t.routes,o=e.routes,i=void 0,u=void 0,a=void 0;if(n){var c=!1;i=n.filter(function(n){if(c)return!0;var i=o.indexOf(n)===-1||r(n,t,e);return i&&(c=!0),i}),i.reverse(),a=[],u=[],o.forEach(function(t){var e=n.indexOf(t)===-1,r=i.indexOf(t)!==-1;e||r?a.push(t):u.push(t)})}else i=[],u=[],a=o;return{leaveRoutes:i,changeRoutes:u,enterRoutes:a}}e.__esModule=!0;var i=n(8);e.default=o},function(t,e,n){"use strict";function r(t,e,n){if(e.component||e.components)return void n(null,e.component||e.components);var r=e.getComponent||e.getComponents;if(r){var o=r.call(e,t,n);(0,u.isPromise)(o)&&o.then(function(t){return n(null,t)},n)}else n()}function o(t,e){(0,i.mapAsync)(t.routes,function(e,n,o){r(t,e,o)},e)}e.__esModule=!0;var i=n(14),u=n(23);e.default=o},function(t,e,n){"use strict";function r(t,e){var n={};return t.path?((0,o.getParamNames)(t.path).forEach(function(t){Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t])}),n):n}e.__esModule=!0;var o=n(8);e.default=r},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(58),i=r(o),u=n(27),a=r(u);e.default=(0,a.default)(i.default)},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])});if("object"===("undefined"==typeof t?"undefined":c(t))){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n))if(void 0===t[n]){if(void 0!==e[n])return!1}else{if(!Object.prototype.hasOwnProperty.call(e,n))return!1;if(!r(t[n],e[n]))return!1}return!0}return String(t)===String(e)}function o(t,e){return"/"!==e.charAt(0)&&(e="/"+e),"/"!==t.charAt(t.length-1)&&(t+="/"),"/"!==e.charAt(e.length-1)&&(e+="/"),e===t}function i(t,e,n){for(var r=t,o=[],i=[],u=0,a=e.length;u=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}function i(t,e){var n=t.history,r=t.routes,i=t.location,c=o(t,["history","routes","location"]);n||i?void 0:(0,s.default)(!1),n=n?n:(0,l.default)(c);var f=(0,p.default)(n,(0,h.createRoutes)(r));i=i?n.createLocation(i):n.getCurrentLocation(),f.match(i,function(t,r,o){var i=void 0;if(o){var c=(0,v.createRouterObject)(n,f,o);i=u({},o,{router:c,matchContext:{transitionManager:f,router:c}})}e(t,r&&n.createLocation(r,a.REPLACE),i)})}e.__esModule=!0;var u=Object.assign||function(t){for(var e=1;e4&&void 0!==arguments[4]?arguments[4]:[],i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[];void 0===r&&("/"!==e.pathname.charAt(0)&&(e=f({},e,{pathname:"/"+e.pathname})),r=e.pathname),(0,l.loopAsync)(t.length,function(n,u,a){c(t[n],e,r,o,i,function(t,e){t||e?a(t,e):u()})},n)}e.__esModule=!0;var f=Object.assign||function(t){for(var e=1;e=t&&u&&(o=!0,n()))}};s()}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0,e.replaceLocation=e.pushLocation=e.startListener=e.getCurrentLocation=e.go=e.getUserConfirmation=void 0;var o=n(18);Object.defineProperty(e,"getUserConfirmation",{enumerable:!0,get:function(){return o.getUserConfirmation}}),Object.defineProperty(e,"go",{enumerable:!0,get:function(){return o.go}});var i=n(6),u=(r(i),n(10)),a=n(13),c=n(31),s=n(5),f="hashchange",l=function(){var t=window.location.href,e=t.indexOf("#");return e===-1?"":t.substring(e+1)},d=function(t){return window.location.hash=t},p=function(t){var e=window.location.href.indexOf("#");window.location.replace(window.location.href.slice(0,e>=0?e:0)+"#"+t)},h=e.getCurrentLocation=function(t,e){var n=t.decodePath(l()),r=(0,s.getQueryStringValueFromPath)(n,e),o=void 0;r&&(n=(0,s.stripQueryStringValueFromPath)(n,e),o=(0,c.readState)(r));var i=(0,s.parsePath)(n);return i.state=o,(0,u.createLocation)(i,void 0,r)},v=void 0,y=(e.startListener=function(t,e,n){var r=function(){var r=l(),o=e.encodePath(r);if(r!==o)p(o);else{var i=h(e,n);if(v&&i.key&&v.key===i.key)return;v=i,t(i)}},o=l(),i=e.encodePath(o);return o!==i&&p(i),(0,a.addEventListener)(window,f,r),function(){return(0,a.removeEventListener)(window,f,r)}},function(t,e,n,r){var o=t.state,i=t.key,u=e.encodePath((0,s.createPath)(t));void 0!==o&&(u=(0,s.addQueryStringValueToPath)(u,n,i),(0,c.saveState)(i,o)),v=t,r(u)});e.pushLocation=function(t,e,n){return y(t,e,n,function(t){l()!==t&&d(t)})},e.replaceLocation=function(t,e,n){return y(t,e,n,function(t){l()!==t&&p(t)})}},function(t,e,n){"use strict";e.__esModule=!0,e.replaceLocation=e.pushLocation=e.getCurrentLocation=e.go=e.getUserConfirmation=void 0;var r=n(18);Object.defineProperty(e,"getUserConfirmation",{enumerable:!0,get:function(){return r.getUserConfirmation}}),Object.defineProperty(e,"go",{enumerable:!0,get:function(){return r.go}});var o=n(10),i=n(5);e.getCurrentLocation=function(){return(0,o.createLocation)(window.location)},e.pushLocation=function(t){return window.location.href=(0,i.createPath)(t),!1},e.replaceLocation=function(t){return window.location.replace((0,i.createPath)(t)),!1}},function(t,e,n){"use strict";function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function o(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var i=Object.assign||function(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{};c.canUseDOM?void 0:(0,a.default)(!1);var e=t.forceRefresh||!(0,p.supportsHistory)(),n=e?d:f,r=n.getUserConfirmation,o=n.getCurrentLocation,u=n.pushLocation,s=n.replaceLocation,l=n.go,h=(0,v.default)(i({getUserConfirmation:r},t,{getCurrentLocation:o,pushLocation:u,replaceLocation:s,go:l})),y=0,m=void 0,g=function(t,e){1===++y&&(m=f.startListener(h.transitionTo));var n=e?h.listenBefore(t):h.listen(t);return function(){n(),0===--y&&m()}},_=function(t){return g(t,!0)},b=function(t){return g(t,!1)};return i({},h,{listenBefore:_,listen:b})};e.default=y},function(t,e,n){"use strict";function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function o(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var i=Object.assign||function(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{};s.canUseDOM?void 0:(0,c.default)(!1);var e=t.queryKey,n=t.hashType;"string"!=typeof e&&(e=v),null==n&&(n="slash"),n in m||(n="slash");var r=m[n],o=d.getUserConfirmation,u=function(){return d.getCurrentLocation(r,e)},a=function(t){return d.pushLocation(t,r,e)},l=function(t){return d.replaceLocation(t,r,e)},p=(0,h.default)(i({getUserConfirmation:o},t,{getCurrentLocation:u,pushLocation:a,replaceLocation:l,go:d.go})),y=0,g=void 0,_=function(t,n){1===++y&&(g=d.startListener(p.transitionTo,r,e));var o=n?p.listenBefore(t):p.listen(t);return function(){o(),0===--y&&g()}},b=function(t){return _(t,!0)},E=function(t){return _(t,!1)},O=((0,f.supportsGoWithoutReloadUsingHash)(),function(t){p.go(t)}),R=function(t){return"#"+r.encodePath(p.createHref(t))};return i({},p,{listenBefore:b,listen:E,go:O,createHref:R})};e.default=g},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=Object.assign||function(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{};Array.isArray(t)?t={entries:t}:"string"==typeof t&&(t={entries:[t]});var e=function(){var t=v[y],e=(0,s.createPath)(t),n=void 0,r=void 0;t.key&&(n=t.key,r=_(n));var i=(0,s.parsePath)(e);return(0,c.createLocation)(o({},i,{state:r}),void 0,n)},n=function(t){var e=y+t;return e>=0&&e=0&&y