Socket
Socket
Sign inDemoInstall

react-history

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-history - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

BrowserHistory.js

19

package.json
{
"name": "react-history",
"version": "0.1.0",
"description": "Manage the URL with React",
"version": "0.2.0",
"description": "Manage the URL history with React",
"repository": "ReactTraining/react-history",
"license": "MIT",
"author": "Michael Jackson",
"main": "lib",
"files": [
"lib",
"umd"
],
"scripts": {
"build-lib": "rimraf lib && babel ./modules -d lib --ignore '__tests__'",
"build": "node ./scripts/build.js",
"build-cjs": "babel ./modules -d . --ignore '__tests__'",
"build-umd": "webpack modules/index.js umd/react-history.js",
"build-min": "webpack -p modules/index.js umd/react-history.min.js",
"build": "node ./scripts/build.js",
"prepublish": "node ./scripts/build.js",

@@ -24,2 +19,3 @@ "release": "node ./scripts/release.js",

"dependencies": {
"invariant": "^2.2.1",
"warning": "^3.0.0"

@@ -45,3 +41,2 @@ },

"gzip-size": "^3.0.0",
"history": "^3.0.0",
"in-publish": "^2.0.0",

@@ -60,5 +55,3 @@ "karma": "^0.13.22",

"readline-sync": "^1.4.4",
"rimraf": "^2.5.2",
"webpack": "^1.13.1",
"webpack-dev-server": "^1.14.1"
"webpack": "^1.13.1"
},

@@ -65,0 +58,0 @@ "tags": [

@@ -1,2 +0,2 @@

!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ReactRouter=e():t.ReactRouter=e()}(this,function(){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.MemoryHistory=e.HashHistory=e.BrowserHistory=void 0;var o=n(22),i=r(o),a=n(23),u=r(a),s=n(24),c=r(s);e.BrowserHistory=i["default"],e.HashHistory=u["default"],e.MemoryHistory=c["default"]},function(t,e,n){"use strict";var r=n(8),o=r;t.exports=o},function(t,e,n){"use strict";function r(t){return void 0!==t.ref}function o(t){return void 0!==t.key}var i=n(7),a=n(18),u=(n(1),n(20),Object.prototype.hasOwnProperty),s="function"==typeof Symbol&&Symbol["for"]&&Symbol["for"]("react.element")||60103,c={key:!0,ref:!0,__self:!0,__source:!0},l=function(t,e,n,r,o,i,a){var u={$$typeof:s,type:t,key:e,ref:n,props:a,_owner:i};return u};l.createElement=function(t,e,n){var i,s={},p=null,f=null,d=null,h=null;if(null!=e){r(e)&&(f=e.ref),o(e)&&(p=""+e.key),d=void 0===e.__self?null:e.__self,h=void 0===e.__source?null:e.__source;for(i in e)u.call(e,i)&&!c.hasOwnProperty(i)&&(s[i]=e[i])}var y=arguments.length-2;if(1===y)s.children=n;else if(y>1){for(var v=Array(y),m=0;m<y;m++)v[m]=arguments[m+2];s.children=v}if(t&&t.defaultProps){var b=t.defaultProps;for(i in b)void 0===s[i]&&(s[i]=b[i])}return l(t,p,f,d,h,a.current,s)},l.createFactory=function(t){var e=l.createElement.bind(null,t);return e.type=t,e},l.cloneAndReplaceKey=function(t,e){var n=l(t.type,e,t.ref,t._self,t._source,t._owner,t.props);return n},l.cloneElement=function(t,e,n){var s,p=i({},t.props),f=t.key,d=t.ref,h=t._self,y=t._source,v=t._owner;if(null!=e){r(e)&&(d=e.ref,v=a.current),o(e)&&(f=""+e.key);var m;t.type&&t.type.defaultProps&&(m=t.type.defaultProps);for(s in e)u.call(e,s)&&!c.hasOwnProperty(s)&&(void 0===e[s]&&void 0!==m?p[s]=m[s]:p[s]=e[s])}var b=arguments.length-2;if(1===b)p.children=n;else if(b>1){for(var P=Array(b),g=0;g<b;g++)P[g]=arguments[g+2];p.children=P}return l(t.type,f,d,h,y,v,p)},l.isValidElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===s},l.REACT_ELEMENT_TYPE=s,t.exports=l},function(t,e,n){"use strict";function r(t,e,n,r,o,i,a,u){if(!t){var s;if(void 0===e)s=new 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],l=0;s=new Error(e.replace(/%s/g,function(){return c[l++]})),s.name="Invariant Violation"}throw s.framesToPop=1,s}}t.exports=r},function(t,e,n){"use strict";t.exports=n(29)},function(t,e){"use strict";function n(t){for(var e=arguments.length-1,n="Minified React error #"+t+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+t,r=0;r<e;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);n+=" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";var o=new Error(n);throw o.name="Invariant Violation",o.framesToPop=1,o}t.exports=n},function(t,e,n){"use strict";var r=function(){};t.exports=r},function(t,e){"use strict";function n(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}function r(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(e).map(function(t){return e[t]});if("0123456789"!==r.join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(t){o[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(i){return!1}}var o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;t.exports=r()?Object.assign:function(t,e){for(var r,a,u=n(t),s=1;s<arguments.length;s++){r=Object(arguments[s]);for(var c in r)o.call(r,c)&&(u[c]=r[c]);if(Object.getOwnPropertySymbols){a=Object.getOwnPropertySymbols(r);for(var l=0;l<a.length;l++)i.call(r,a[l])&&(u[a[l]]=r[a[l]])}}return u}},function(t,e){"use strict";function n(t){return function(){return t}}var r=function(){};r.thatReturns=n,r.thatReturnsFalse=n(!1),r.thatReturnsTrue=n(!0),r.thatReturnsNull=n(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(t){return t},t.exports=r},function(t,e,n){"use strict";var r={};t.exports=r},function(t,e,n){"use strict";function r(t,e,n){this.props=t,this.context=e,this.refs=a,this.updater=n||i}var o=n(5),i=n(11),a=(n(20),n(9));n(3),n(1);r.prototype.isReactComponent={},r.prototype.setState=function(t,e){"object"!=typeof t&&"function"!=typeof t&&null!=t?o("85"):void 0,this.updater.enqueueSetState(this,t),e&&this.updater.enqueueCallback(this,e,"setState")},r.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this),t&&this.updater.enqueueCallback(this,t,"forceUpdate")};t.exports=r},function(t,e,n){"use strict";function r(t,e){}var o=(n(1),{isMounted:function(t){return!1},enqueueCallback:function(t,e){},enqueueForceUpdate:function(t){r(t,"forceUpdate")},enqueueReplaceState:function(t,e){r(t,"replaceState")},enqueueSetState:function(t,e){r(t,"setState")}});t.exports=o},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}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)}e.__esModule=!0;var u=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},s=n(6),c=r(s),l=n(4),p=r(l),f=n(14),d=r(f),h=n(16),y=function(t){function e(){var n,r,a;o(this,e);for(var u=arguments.length,s=Array(u),l=0;l<u;l++)s[l]=arguments[l];return n=r=i(this,t.call.apply(t,[this].concat(s))),r.handleConfirm=function(t,e){return e(window.confirm(t))},r.handleRevert=function(){var t=r.props,e=t.action,n=t.go;"PUSH"===e?n(-1):"REPLACE"===e&&(0,c["default"])(!1,"<DOMHistoryContext> cannot revert a REPLACE")},a=n,i(r,a)}return a(e,t),e.prototype.render=function(){return p["default"].createElement(d["default"],u({},this.props,{confirm:this.handleConfirm,revert:this.handleRevert}))},e}(p["default"].Component);y.propTypes={action:h.action.isRequired,go:l.PropTypes.func.isRequired},e["default"]=y},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}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}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)}e.__esModule=!0;var u=n(6),s=r(u),c=n(4),l=r(c),p=n(15),f=n(16),d=function(t){function e(){var n,r,a;o(this,e);for(var u=arguments.length,c=Array(u),l=0;l<u;l++)c[l]=arguments[l];return n=r=i(this,t.call.apply(t,[this].concat(c))),r.block=function(t){return(0,s["default"])(null==r.prompt,"You should not render more than one <NavigationPrompt> at a time; previous ones will be overwritten"),r.prompt=t,function(){r.prompt===t&&(r.prompt=null)}},r.state={action:null,location:null},a=n,i(r,a)}return a(e,t),e.prototype.getChildContext=function(){var t=this.props,e=t.push,n=t.replace,r=t.go;return{history:{push:e,replace:n,go:r,block:this.block}}},e.prototype.componentWillMount=function(){this.isBlocked=!1;var t=this.props,e=t.action,n=t.location;this.setState({action:e,location:n})},e.prototype.componentWillReceiveProps=function(t){var e=this,n=t.action,r=t.location;(0,p.locationsAreEqual)(this.props.location,r)||(this.isBlocked?this.isBlocked=!1:(this.isBlocked=!0,this.confirmTransition(n,r,function(t){t?(e.isBlocked=!1,e.setState({action:n,location:r})):e.props.revert()})))},e.prototype.confirmTransition=function(t,e,n){var r=this.prompt;"function"==typeof r?r({action:t,location:e},n):"string"==typeof r?this.props.confirm(r,n):n(!0)},e.prototype.shouldComponentUpdate=function(){return!this.isBlocked},e.prototype.render=function(){var t=this.state,e=t.action,n=t.location;return this.props.children({action:e,location:n})},e}(l["default"].Component);d.propTypes={children:c.PropTypes.func.isRequired,action:f.action.isRequired,location:f.historyLocation.isRequired,confirm:c.PropTypes.func,push:c.PropTypes.func.isRequired,replace:c.PropTypes.func.isRequired,go:c.PropTypes.func.isRequired,revert:c.PropTypes.func.isRequired},d.defaultProps={confirm:function(t){return t(!0)}},d.childContextTypes={history:f.historyContext.isRequired},e["default"]=d},function(t,e){"use strict";e.__esModule=!0;var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t},r=function o(t,e){if(null==t)return t==e;var r="undefined"==typeof t?"undefined":n(t),i="undefined"==typeof e?"undefined":n(e);if(r!==i)return!1;if(Array.isArray(t))return!(!Array.isArray(e)||t.length!==e.length)&&t.every(function(t,n){return o(t,e[n])});if("object"===r){var a=Object.keys(t),u=Object.keys(e);return a.length===u.length&&a.every(function(n){return o(t[n],e[n])})}return t===e};e.locationsAreEqual=function(t,e){return t.path===e.path&&t.key===e.key&&r(t.state,e.state)}},function(t,e,n){"use strict";e.__esModule=!0,e.stateStorage=e.historyContext=e.historyLocation=e.action=e.router=e.location=e.history=e.counter=void 0;var r=n(4);e.counter=r.PropTypes.shape({increment:r.PropTypes.func.isRequired,decrement:r.PropTypes.func.isRequired}),e.history=r.PropTypes.shape({listen:r.PropTypes.func.isRequired,listenBefore:r.PropTypes.func.isRequired,push:r.PropTypes.func.isRequired,replace:r.PropTypes.func.isRequired,go:r.PropTypes.func.isRequired}),e.location=r.PropTypes.shape({pathname:r.PropTypes.string.isRequired,search:r.PropTypes.string.isRequired,hash:r.PropTypes.string.isRequired,state:r.PropTypes.any}),e.router=r.PropTypes.shape({createHref:r.PropTypes.func.isRequired,transitionTo:r.PropTypes.func.isRequired,replaceWith:r.PropTypes.func.isRequired,blockTransitions:r.PropTypes.func.isRequired}),e.action=r.PropTypes.oneOf(["PUSH","REPLACE","POP"]),e.historyLocation=r.PropTypes.shape({path:r.PropTypes.string.isRequired,state:r.PropTypes.object,key:r.PropTypes.string}),e.historyContext=r.PropTypes.shape({push:r.PropTypes.func.isRequired,replace:r.PropTypes.func.isRequired,go:r.PropTypes.func.isRequired,block:r.PropTypes.func.isRequired}),e.stateStorage=r.PropTypes.shape({readState:r.PropTypes.func.isRequired,saveState:r.PropTypes.func.isRequired})},function(t,e,n){"use strict";var r=n(3),o=function(t){var e,n={};t instanceof Object&&!Array.isArray(t)?void 0:r(!1);for(e in t)t.hasOwnProperty(e)&&(n[e]=e);return n};t.exports=o},function(t,e){"use strict";var n={current:null};t.exports=n},function(t,e,n){"use strict";var r={};t.exports=r},function(t,e,n){"use strict";var r=!1;t.exports=r},function(t,e){"use strict";function n(t){var e=t&&(r&&t[r]||t[o]);if("function"==typeof e)return e}var r="function"==typeof Symbol&&Symbol.iterator,o="@@iterator";t.exports=n},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}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)}e.__esModule=!0;var u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t},s=n(6),c=r(s),l=n(4),p=r(l),f=n(12),d=r(f),h=n(13),y="popstate",v="hashchange",m=function(){try{return window.history.state||{}}catch(t){return{}}},b=function(t){function e(){var n,r,a;o(this,e);for(var u=arguments.length,s=Array(u),l=0;l<u;l++)s[l]=arguments[l];return n=r=i(this,t.call.apply(t,[this].concat(s))),r.state={action:null,location:null},r.handlePopState=function(t){void 0!==t.state&&r.setState({action:"POP",location:r.createLocation(t.state)})},r.handleHashChange=function(){r.setState({action:"POP",location:r.createLocation(m())})},r.handlePush=function(t,e){if(!r.supportsHistory)return(0,c["default"])(void 0===e,"<BrowserHistory> cannot push state in browsers that do not support HTML5 history"),void(window.location.href=t);var n=r.createKey();window.history.pushState({key:n,state:e},null,t),r.setState({action:"PUSH",location:{path:t,state:e,key:n}})},r.handleReplace=function(t,e){if(!r.supportsHistory)return(0,c["default"])(void 0===e,"<BrowserHistory> cannot replace state in browsers that do not support HTML5 history"),void window.location.replace(t);var n=r.createKey();window.history.replaceState({key:n,state:e},null,t),r.setState({action:"REPLACE",location:{path:t,state:e,key:n}})},r.handleGo=function(t){window.history.go(t)},a=n,i(r,a)}return a(e,t),e.prototype.createKey=function(){return Math.random().toString(36).substr(2,this.props.keyLength)},e.prototype.createLocation=function(t){var e=t||{},n=e.key,r=e.state,o=window.location,i=o.pathname,a=o.search,u=o.hash;return{path:i+a+u,state:r,key:n}},e.prototype.componentWillMount=function(){"object"===("undefined"==typeof window?"undefined":u(window))?(this.supportsHistory=(0,h.supportsHistory)(),this.needsHashChangeListener=!(0,h.supportsPopStateOnHashChange)(),this.setState({action:"POP",location:this.createLocation(m())})):(0,c["default"])(!1,"<BrowserHistory> works only in DOM environments")},e.prototype.componentDidMount=function(){(0,h.addEventListener)(window,y,this.handlePopState),this.needsHashChangeListener&&(0,h.addEventListener)(window,v)},e.prototype.componentWillUnmount=function(){(0,h.removeEventListener)(window,y,this.handlePopState),this.needsHashChangeListener&&(0,h.removeEventListener)(window,v,this.handleHashChange)},e.prototype.render=function(){var t=this.props.children,e=this.state,n=e.action,r=e.location;return p["default"].createElement(d["default"],{children:t,action:n,location:r,push:this.handlePush,replace:this.handleReplace,go:this.handleGo})},e}(p["default"].Component);b.propTypes={children:l.PropTypes.func.isRequired,keyLength:l.PropTypes.number},b.defaultProps={keyLength:6},e["default"]=b},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}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)}e.__esModule=!0;var u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t},s=n(6),c=r(s),l=n(4),p=r(l),f=n(12),d=r(f),h=n(13),y=n(15),v="hashchange",m=function(t){return"/"===t.charAt(0)?t:"/"+t},b={hashbang:{encodePath:function(t){return"!"===t.charAt(0)?t:"!"+m(t)},decodePath:function(t){return"!"===t.charAt(0)?t.substring(1):t}},noslash:{encodePath:function(t){return"/"===t.charAt(0)?t.substring(1):t},decodePath:m},slash:{encodePath:m,decodePath:m}},P=function(){var t=window.location.href,e=t.indexOf("#");return e===-1?"":t.substring(e+1)},g=function(t){return window.location.hash=t},E=function(t){var e=window.location.href.indexOf("#");window.location.replace(window.location.href.slice(0,e>=0?e:0)+"#"+t)},w=function(t){function e(){var n,r,a;o(this,e);for(var u=arguments.length,s=Array(u),l=0;l<u;l++)s[l]=arguments[l];return n=r=i(this,t.call.apply(t,[this].concat(s))),r.state={action:null,location:null},r.handleHashChange=function(){var t=P(),e=r.encodePath(t);if(t!==e)E(e);else{var n=r.state.location,o=r.createLocation();if((0,y.locationsAreEqual)(n,o))return;if(r.ignorePath===o.path)return;r.ignorePath=null,r.setState({action:"POP",location:o})}},r.handlePush=function(t,e){(0,c["default"])(void 0===e,"<HashHistory> cannot store state; it will be dropped");var n=r.encodePath(t),o=P()!==n;o&&(r.ignorePath=t,g(n)),r.setState({action:"PUSH",location:{path:t}})},r.handleReplace=function(t,e){(0,c["default"])(void 0===e,"<HashHistory> cannot store state; it will be dropped");var n=r.encodePath(t),o=P()!==n;o&&(r.ignorePath=t,E(n)),r.setState({action:"REPLACE",location:{path:t}})},r.handleGo=function(t){(0,c["default"])(r.goIsSupportedWithoutReload,"<HashHistory> go(n) causes a full page reload in this browser"),window.history.go(t)},a=n,i(r,a)}return a(e,t),e.prototype.decodePath=function(t){return b[this.props.hashType].decodePath(t)},e.prototype.encodePath=function(t){return b[this.props.hashType].encodePath(t)},e.prototype.createLocation=function(){var t=this.decodePath(P());return{path:t}},e.prototype.componentWillMount=function(){if("object"===("undefined"==typeof window?"undefined":u(window))){this.goIsSupportedWithoutReload=(0,h.supportsGoWithoutReloadUsingHash)();var t=P(),e=this.encodePath(t);t!==e&&E(e),this.setState({action:"POP",location:this.createLocation()})}else(0,c["default"])(!1,"<HashHistory> works only in DOM environments")},e.prototype.componentDidMount=function(){(0,h.addEventListener)(window,v,this.handleHashChange)},e.prototype.componentWillUnmount=function(){(0,h.removeEventListener)(window,v,this.handleHashChange)},e.prototype.render=function(){var t=this.props.children,e=this.state,n=e.action,r=e.location;return p["default"].createElement(d["default"],{children:t,action:n,location:r,push:this.handlePush,replace:this.handleReplace,go:this.handleGo})},e}(p["default"].Component);w.propTypes={children:l.PropTypes.func.isRequired,hashType:l.PropTypes.oneOf(Object.keys(b))},w.defaultProps={hashType:"slash"},e["default"]=w},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}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)}e.__esModule=!0;var u=n(6),s=r(u),c=n(4),l=r(c),p=n(14),f=r(p),d=function(t,e,n){return Math.min(Math.max(t,e),n)},h=function(t){function e(){var n,r,a;o(this,e);for(var u=arguments.length,c=Array(u),l=0;l<u;l++)c[l]=arguments[l];return n=r=i(this,t.call.apply(t,[this].concat(c))),r.state={prevIndex:null,action:null,index:null,entries:null},r.handlePush=function(t,e){r.setState(function(n){var o=n.index,i=n.entries.slice(0),a=r.createKey(),u={path:t,state:e,key:a},s=o+1;return i.length>s?i.splice(s,i.length-s,u):i.push(u),{prevIndex:n.index,action:"PUSH",index:s,entries:i}})},r.handleReplace=function(t,e){r.setState(function(n){var o=n.index,i=n.entries.slice(0),a=r.createKey();return i[o]={path:t,state:e,key:a},{prevIndex:n.index,action:"REPLACE",entries:i}})},r.handleGo=function(t){r.setState(function(e){var n=e.index,r=d(n+t,0,e.entries.length-1);return{prevIndex:n,action:"POP",index:r}})},r.handleRevert=function(){var t=r.state.prevIndex;null!=t?r.setState({prevIndex:null,action:"POP",index:t}):(0,s["default"])(!1,"<MemoryHistory> cannot revert more than one entry")},a=n,i(r,a)}return a(e,t),e.prototype.createKey=function(){return Math.random().toString(36).substr(2,this.props.keyLength)},e.prototype.componentWillMount=function(){var t=this.props,e=t.initialEntries,n=t.initialIndex;this.setState({action:"POP",index:d(n,0,e.length-1),entries:e})},e.prototype.render=function(){var t=this.props.children,e=this.state,n=e.action,r=e.index,o=e.entries,i=o[r];return l["default"].createElement(f["default"],{children:t,action:n,location:i,push:this.handlePush,replace:this.handleReplace,go:this.handleGo,revert:this.handleRevert})},e}(l["default"].Component);h.propTypes={children:c.PropTypes.func.isRequired,initialEntries:c.PropTypes.array,initialIndex:c.PropTypes.number,keyLength:c.PropTypes.number},h.defaultProps={initialEntries:[{path:"/"}],initialIndex:0,keyLength:6},e["default"]=h},function(t,e){"use strict";var n=function(t){var e;for(e in t)if(t.hasOwnProperty(e))return e;return null};t.exports=n},function(t,e){"use strict";function n(t,e,n){if(!t)return null;var o={};for(var i in t)r.call(t,i)&&(o[i]=e.call(n,t[i],i,t));return o}var r=Object.prototype.hasOwnProperty;t.exports=n},function(t,e){"use strict";function n(t){var e=/[=:]/g,n={"=":"=0",":":"=2"},r=(""+t).replace(e,function(t){return n[t]});return"$"+r}function r(t){var e=/(=0|=2)/g,n={"=0":"=","=2":":"},r="."===t[0]&&"$"===t[1]?t.substring(2):t.substring(1);return(""+r).replace(e,function(t){return n[t]})}var o={escape:n,unescape:r};t.exports=o},function(t,e,n){"use strict";var r=n(5),o=(n(3),function(t){var e=this;if(e.instancePool.length){var n=e.instancePool.pop();return e.call(n,t),n}return new e(t)}),i=function(t,e){var n=this;if(n.instancePool.length){var r=n.instancePool.pop();return n.call(r,t,e),r}return new n(t,e)},a=function(t,e,n){var r=this;if(r.instancePool.length){var o=r.instancePool.pop();return r.call(o,t,e,n),o}return new r(t,e,n)},u=function(t,e,n,r){var o=this;if(o.instancePool.length){var i=o.instancePool.pop();return o.call(i,t,e,n,r),i}return new o(t,e,n,r)},s=function(t,e,n,r,o){var i=this;if(i.instancePool.length){var a=i.instancePool.pop();return i.call(a,t,e,n,r,o),a}return new i(t,e,n,r,o)},c=function(t){var e=this;t instanceof e?void 0:r("25"),t.destructor(),e.instancePool.length<e.poolSize&&e.instancePool.push(t)},l=10,p=o,f=function(t,e){var n=t;return n.instancePool=[],n.getPooled=e||p,n.poolSize||(n.poolSize=l),n.release=c,n},d={addPoolingTo:f,oneArgumentPooler:o,twoArgumentPooler:i,threeArgumentPooler:a,fourArgumentPooler:u,fiveArgumentPooler:s};t.exports=d},function(t,e,n){"use strict";var r=n(7),o=n(30),i=n(10),a=n(36),u=n(31),s=n(32),c=n(2),l=n(34),p=n(37),f=n(38),d=(n(1),c.createElement),h=c.createFactory,y=c.cloneElement,v=r,m={Children:{map:o.map,forEach:o.forEach,count:o.count,toArray:o.toArray,only:f},Component:i,PureComponent:a,createElement:d,cloneElement:y,isValidElement:c.isValidElement,PropTypes:l,createClass:u.createClass,createFactory:h,createMixin:function(t){return t},DOM:s,version:p,__spread:v};t.exports=m},function(t,e,n){"use strict";function r(t){return(""+t).replace(g,"$&/")}function o(t,e){this.func=t,this.context=e,this.count=0}function i(t,e,n){var r=t.func,o=t.context;r.call(o,e,t.count++)}function a(t,e,n){if(null==t)return t;var r=o.getPooled(e,n);m(t,i,r),o.release(r)}function u(t,e,n,r){this.result=t,this.keyPrefix=e,this.func=n,this.context=r,this.count=0}function s(t,e,n){var o=t.result,i=t.keyPrefix,a=t.func,u=t.context,s=a.call(u,e,t.count++);Array.isArray(s)?c(s,o,n,v.thatReturnsArgument):null!=s&&(y.isValidElement(s)&&(s=y.cloneAndReplaceKey(s,i+(!s.key||e&&e.key===s.key?"":r(s.key)+"/")+n)),o.push(s))}function c(t,e,n,o,i){var a="";null!=n&&(a=r(n)+"/");var c=u.getPooled(e,a,o,i);m(t,s,c),u.release(c)}function l(t,e,n){if(null==t)return t;var r=[];return c(t,r,null,e,n),r}function p(t,e,n){return null}function f(t,e){return m(t,p,null)}function d(t){var e=[];return c(t,e,null,v.thatReturnsArgument),e}var h=n(28),y=n(2),v=n(8),m=n(39),b=h.twoArgumentPooler,P=h.fourArgumentPooler,g=/\/+/g;o.prototype.destructor=function(){this.func=null,this.context=null,this.count=0},h.addPoolingTo(o,b),u.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},h.addPoolingTo(u,P);var E={forEach:a,map:l,mapIntoWithKeyPrefixInternal:c,count:f,toArray:d};t.exports=E},function(t,e,n){"use strict";function r(t,e){var n=w.hasOwnProperty(e)?w[e]:null;_.hasOwnProperty(e)&&(n!==g.OVERRIDE_BASE?p("73",e):void 0),t&&(n!==g.DEFINE_MANY&&n!==g.DEFINE_MANY_MERGED?p("74",e):void 0)}function o(t,e){if(e){"function"==typeof e?p("75"):void 0,h.isValidElement(e)?p("76"):void 0;var n=t.prototype,o=n.__reactAutoBindPairs;e.hasOwnProperty(P)&&x.mixins(t,e.mixins);for(var i in e)if(e.hasOwnProperty(i)&&i!==P){var a=e[i],c=n.hasOwnProperty(i);if(r(c,i),x.hasOwnProperty(i))x[i](t,a);else{var l=w.hasOwnProperty(i),f="function"==typeof a,d=f&&!l&&!c&&e.autobind!==!1;if(d)o.push(i,a),n[i]=a;else if(c){var y=w[i];!l||y!==g.DEFINE_MANY_MERGED&&y!==g.DEFINE_MANY?p("77",y,i):void 0,y===g.DEFINE_MANY_MERGED?n[i]=u(n[i],a):y===g.DEFINE_MANY&&(n[i]=s(n[i],a))}else n[i]=a}}}else;}function i(t,e){if(e)for(var n in e){var r=e[n];if(e.hasOwnProperty(n)){var o=n in x;o?p("78",n):void 0;var i=n in t;i?p("79",n):void 0,t[n]=r}}}function a(t,e){t&&e&&"object"==typeof t&&"object"==typeof e?void 0:p("80");for(var n in e)e.hasOwnProperty(n)&&(void 0!==t[n]?p("81",n):void 0,t[n]=e[n]);return t}function u(t,e){return function(){var n=t.apply(this,arguments),r=e.apply(this,arguments);if(null==n)return r;if(null==r)return n;var o={};return a(o,n),a(o,r),o}}function s(t,e){return function(){t.apply(this,arguments),e.apply(this,arguments)}}function c(t,e){var n=e.bind(t);return n}function l(t){for(var e=t.__reactAutoBindPairs,n=0;n<e.length;n+=2){var r=e[n],o=e[n+1];t[r]=c(t,o)}}var p=n(5),f=n(7),d=n(10),h=n(2),y=(n(33),n(19),n(11)),v=n(9),m=(n(3),n(17)),b=n(25),P=(n(1),b({mixins:null})),g=m({DEFINE_ONCE:null,DEFINE_MANY:null,OVERRIDE_BASE:null,DEFINE_MANY_MERGED:null}),E=[],w={mixins:g.DEFINE_MANY,statics:g.DEFINE_MANY,propTypes:g.DEFINE_MANY,contextTypes:g.DEFINE_MANY,childContextTypes:g.DEFINE_MANY,getDefaultProps:g.DEFINE_MANY_MERGED,getInitialState:g.DEFINE_MANY_MERGED,getChildContext:g.DEFINE_MANY_MERGED,render:g.DEFINE_ONCE,componentWillMount:g.DEFINE_MANY,componentDidMount:g.DEFINE_MANY,componentWillReceiveProps:g.DEFINE_MANY,shouldComponentUpdate:g.DEFINE_ONCE,componentWillUpdate:g.DEFINE_MANY,componentDidUpdate:g.DEFINE_MANY,componentWillUnmount:g.DEFINE_MANY,updateComponent:g.OVERRIDE_BASE},x={displayName:function(t,e){t.displayName=e},mixins:function(t,e){if(e)for(var n=0;n<e.length;n++)o(t,e[n])},childContextTypes:function(t,e){t.childContextTypes=f({},t.childContextTypes,e)},contextTypes:function(t,e){t.contextTypes=f({},t.contextTypes,e)},getDefaultProps:function(t,e){t.getDefaultProps?t.getDefaultProps=u(t.getDefaultProps,e):t.getDefaultProps=e},propTypes:function(t,e){t.propTypes=f({},t.propTypes,e)},statics:function(t,e){i(t,e)},autobind:function(){}},_={replaceState:function(t,e){this.updater.enqueueReplaceState(this,t),e&&this.updater.enqueueCallback(this,e,"replaceState")},isMounted:function(){return this.updater.isMounted(this)}},O=function(){};f(O.prototype,d.prototype,_);var R={createClass:function(t){var e=function(t,n,r){this.__reactAutoBindPairs.length&&l(this),this.props=t,this.context=n,this.refs=v,this.updater=r||y,this.state=null;var o=this.getInitialState?this.getInitialState():null;"object"!=typeof o||Array.isArray(o)?p("82",e.displayName||"ReactCompositeComponent"):void 0,this.state=o};e.prototype=new O,e.prototype.constructor=e,e.prototype.__reactAutoBindPairs=[],E.forEach(o.bind(null,e)),o(e,t),e.getDefaultProps&&(e.defaultProps=e.getDefaultProps()),e.prototype.render?void 0:p("83");for(var n in w)e.prototype[n]||(e.prototype[n]=null);return e},injection:{injectMixin:function(t){E.push(t)}}};t.exports=R},function(t,e,n){"use strict";function r(t){return o.createFactory(t)}var o=n(2),i=n(26),a=i({a:"a",abbr:"abbr",address:"address",area:"area",article:"article",aside:"aside",audio:"audio",b:"b",base:"base",bdi:"bdi",bdo:"bdo",big:"big",blockquote:"blockquote",body:"body",br:"br",button:"button",canvas:"canvas",caption:"caption",cite:"cite",code:"code",col:"col",colgroup:"colgroup",data:"data",datalist:"datalist",dd:"dd",del:"del",details:"details",dfn:"dfn",dialog:"dialog",div:"div",dl:"dl",dt:"dt",em:"em",embed:"embed",fieldset:"fieldset",figcaption:"figcaption",figure:"figure",footer:"footer",form:"form",h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",head:"head",header:"header",hgroup:"hgroup",hr:"hr",html:"html",i:"i",iframe:"iframe",img:"img",input:"input",ins:"ins",kbd:"kbd",keygen:"keygen",label:"label",legend:"legend",li:"li",link:"link",main:"main",map:"map",mark:"mark",menu:"menu",menuitem:"menuitem",meta:"meta",meter:"meter",nav:"nav",noscript:"noscript",object:"object",ol:"ol",optgroup:"optgroup",option:"option",output:"output",p:"p",param:"param",picture:"picture",pre:"pre",progress:"progress",q:"q",rp:"rp",rt:"rt",ruby:"ruby",s:"s",samp:"samp",script:"script",section:"section",select:"select",small:"small",source:"source",span:"span",strong:"strong",style:"style",sub:"sub",summary:"summary",sup:"sup",table:"table",tbody:"tbody",td:"td",textarea:"textarea",tfoot:"tfoot",th:"th",thead:"thead",time:"time",title:"title",tr:"tr",track:"track",u:"u",ul:"ul","var":"var",video:"video",wbr:"wbr",circle:"circle",clipPath:"clipPath",defs:"defs",ellipse:"ellipse",g:"g",image:"image",line:"line",linearGradient:"linearGradient",mask:"mask",path:"path",pattern:"pattern",polygon:"polygon",polyline:"polyline",radialGradient:"radialGradient",rect:"rect",stop:"stop",svg:"svg",text:"text",tspan:"tspan"},r);t.exports=a},function(t,e,n){"use strict";var r=n(17),o=r({prop:null,context:null,childContext:null});t.exports=o},function(t,e,n){"use strict";function r(t,e){return t===e?0!==t||1/t===1/e:t!==t&&e!==e}function o(t){function e(e,n,r,o,i,a,u){o=o||O,a=a||r;if(null==n[r]){var s=E[i];return e?new Error("Required "+s+" `"+a+"` was not specified in "+("`"+o+"`.")):null}return t(n,r,o,i,a)}var n=e.bind(null,!1);
return n.isRequired=e.bind(null,!0),n}function i(t){function e(e,n,r,o,i,a){var u=e[n],s=m(u);if(s!==t){var c=E[o],l=b(u);return new Error("Invalid "+c+" `"+i+"` of type "+("`"+l+"` supplied to `"+r+"`, expected ")+("`"+t+"`."))}return null}return o(e)}function a(){return o(x.thatReturns(null))}function u(t){function e(e,n,r,o,i){if("function"!=typeof t)return new Error("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var a=e[n];if(!Array.isArray(a)){var u=E[o],s=m(a);return new Error("Invalid "+u+" `"+i+"` of type "+("`"+s+"` supplied to `"+r+"`, expected an array."))}for(var c=0;c<a.length;c++){var l=t(a,c,r,o,i+"["+c+"]",w);if(l instanceof Error)return l}return null}return o(e)}function s(){function t(t,e,n,r,o){var i=t[e];if(!g.isValidElement(i)){var a=E[r],u=m(i);return new Error("Invalid "+a+" `"+o+"` of type "+("`"+u+"` supplied to `"+n+"`, expected a single ReactElement."))}return null}return o(t)}function c(t){function e(e,n,r,o,i){if(!(e[n]instanceof t)){var a=E[o],u=t.name||O,s=P(e[n]);return new Error("Invalid "+a+" `"+i+"` of type "+("`"+s+"` supplied to `"+r+"`, expected ")+("instance of `"+u+"`."))}return null}return o(e)}function l(t){function e(e,n,o,i,a){for(var u=e[n],s=0;s<t.length;s++)if(r(u,t[s]))return null;var c=E[i],l=JSON.stringify(t);return new Error("Invalid "+c+" `"+a+"` of value `"+u+"` "+("supplied to `"+o+"`, expected one of "+l+"."))}return Array.isArray(t)?o(e):x.thatReturnsNull}function p(t){function e(e,n,r,o,i){if("function"!=typeof t)return new Error("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var a=e[n],u=m(a);if("object"!==u){var s=E[o];return new Error("Invalid "+s+" `"+i+"` of type "+("`"+u+"` supplied to `"+r+"`, expected an object."))}for(var c in a)if(a.hasOwnProperty(c)){var l=t(a,c,r,o,i+"."+c,w);if(l instanceof Error)return l}return null}return o(e)}function f(t){function e(e,n,r,o,i){for(var a=0;a<t.length;a++){var u=t[a];if(null==u(e,n,r,o,i,w))return null}var s=E[o];return new Error("Invalid "+s+" `"+i+"` supplied to "+("`"+r+"`."))}return Array.isArray(t)?o(e):x.thatReturnsNull}function d(){function t(t,e,n,r,o){if(!y(t[e])){var i=E[r];return new Error("Invalid "+i+" `"+o+"` supplied to "+("`"+n+"`, expected a ReactNode."))}return null}return o(t)}function h(t){function e(e,n,r,o,i){var a=e[n],u=m(a);if("object"!==u){var s=E[o];return new Error("Invalid "+s+" `"+i+"` of type `"+u+"` "+("supplied to `"+r+"`, expected `object`."))}for(var c in t){var l=t[c];if(l){var p=l(a,c,r,o,i+"."+c,w);if(p)return p}}return null}return o(e)}function y(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(y);if(null===t||g.isValidElement(t))return!0;var e=_(t);if(!e)return!1;var n,r=e.call(t);if(e!==t.entries){for(;!(n=r.next()).done;)if(!y(n.value))return!1}else for(;!(n=r.next()).done;){var o=n.value;if(o&&!y(o[1]))return!1}return!0;default:return!1}}function v(t,e){return"symbol"===t||("Symbol"===e["@@toStringTag"]||"function"==typeof Symbol&&e instanceof Symbol)}function m(t){var e=typeof t;return Array.isArray(t)?"array":t instanceof RegExp?"object":v(e,t)?"symbol":e}function b(t){var e=m(t);if("object"===e){if(t instanceof Date)return"date";if(t instanceof RegExp)return"regexp"}return e}function P(t){return t.constructor&&t.constructor.name?t.constructor.name:O}var g=n(2),E=n(19),w=n(35),x=n(8),_=n(21),O=(n(1),"<<anonymous>>"),R={array:i("array"),bool:i("boolean"),func:i("function"),number:i("number"),object:i("object"),string:i("string"),symbol:i("symbol"),any:a(),arrayOf:u,element:s(),instanceOf:c,node:d(),objectOf:p,oneOf:l,oneOfType:f,shape:h};t.exports=R},function(t,e){"use strict";var n="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";t.exports=n},function(t,e,n){"use strict";function r(t,e,n){this.props=t,this.context=e,this.refs=s,this.updater=n||u}function o(){}var i=n(7),a=n(10),u=n(11),s=n(9);o.prototype=a.prototype,r.prototype=new o,r.prototype.constructor=r,i(r.prototype,a.prototype),r.prototype.isPureReactComponent=!0,t.exports=r},function(t,e){"use strict";t.exports="15.3.0"},function(t,e,n){"use strict";function r(t){return i.isValidElement(t)?void 0:o("23"),t}var o=n(5),i=n(2);n(3);t.exports=r},function(t,e,n){"use strict";function r(t,e){return t&&"object"==typeof t&&null!=t.key?c.escape(t.key):e.toString(36)}function o(t,e,n,i){var f=typeof t;if("undefined"!==f&&"boolean"!==f||(t=null),null===t||"string"===f||"number"===f||u.isValidElement(t))return n(i,t,""===e?l+r(t,0):e),1;var d,h,y=0,v=""===e?l:e+p;if(Array.isArray(t))for(var m=0;m<t.length;m++)d=t[m],h=v+r(d,m),y+=o(d,h,n,i);else{var b=s(t);if(b){var P,g=b.call(t);if(b!==t.entries)for(var E=0;!(P=g.next()).done;)d=P.value,h=v+r(d,E++),y+=o(d,h,n,i);else for(;!(P=g.next()).done;){var w=P.value;w&&(d=w[1],h=v+c.escape(w[0])+p+r(d,0),y+=o(d,h,n,i))}}else if("object"===f){var x="",_=String(t);a("31","[object Object]"===_?"object with keys {"+Object.keys(t).join(", ")+"}":_,x)}}return y}function i(t,e,n){return null==t?0:o(t,"",e,n)}var a=n(5),u=(n(18),n(2)),s=n(21),c=(n(3),n(27)),l=(n(1),"."),p=":";t.exports=i}])});
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ReactRouter=e():t.ReactRouter=e()}(this,function(){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.MemoryHistory=e.HashHistory=e.BrowserHistory=void 0;var o=n(20),i=r(o),a=n(21),u=r(a),s=n(23),c=r(s);e.BrowserHistory=i["default"],e.HashHistory=u["default"],e.MemoryHistory=c["default"]},function(t,e,n){"use strict";var r=n(8),o=r;t.exports=o},function(t,e,n){"use strict";function r(t){return void 0!==t.ref}function o(t){return void 0!==t.key}var i=n(6),a=n(16),u=(n(1),n(18),Object.prototype.hasOwnProperty),s="function"==typeof Symbol&&Symbol["for"]&&Symbol["for"]("react.element")||60103,c={key:!0,ref:!0,__self:!0,__source:!0},l=function(t,e,n,r,o,i,a){var u={$$typeof:s,type:t,key:e,ref:n,props:a,_owner:i};return u};l.createElement=function(t,e,n){var i,s={},p=null,f=null,d=null,h=null;if(null!=e){r(e)&&(f=e.ref),o(e)&&(p=""+e.key),d=void 0===e.__self?null:e.__self,h=void 0===e.__source?null:e.__source;for(i in e)u.call(e,i)&&!c.hasOwnProperty(i)&&(s[i]=e[i])}var y=arguments.length-2;if(1===y)s.children=n;else if(y>1){for(var v=Array(y),m=0;m<y;m++)v[m]=arguments[m+2];s.children=v}if(t&&t.defaultProps){var b=t.defaultProps;for(i in b)void 0===s[i]&&(s[i]=b[i])}return l(t,p,f,d,h,a.current,s)},l.createFactory=function(t){var e=l.createElement.bind(null,t);return e.type=t,e},l.cloneAndReplaceKey=function(t,e){var n=l(t.type,e,t.ref,t._self,t._source,t._owner,t.props);return n},l.cloneElement=function(t,e,n){var s,p=i({},t.props),f=t.key,d=t.ref,h=t._self,y=t._source,v=t._owner;if(null!=e){r(e)&&(d=e.ref,v=a.current),o(e)&&(f=""+e.key);var m;t.type&&t.type.defaultProps&&(m=t.type.defaultProps);for(s in e)u.call(e,s)&&!c.hasOwnProperty(s)&&(void 0===e[s]&&void 0!==m?p[s]=m[s]:p[s]=e[s])}var b=arguments.length-2;if(1===b)p.children=n;else if(b>1){for(var P=Array(b),g=0;g<b;g++)P[g]=arguments[g+2];p.children=P}return l(t.type,f,d,h,y,v,p)},l.isValidElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===s},l.REACT_ELEMENT_TYPE=s,t.exports=l},function(t,e,n){"use strict";function r(t,e,n,r,o,i,a,u){if(!t){var s;if(void 0===e)s=new 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],l=0;s=new Error(e.replace(/%s/g,function(){return c[l++]})),s.name="Invariant Violation"}throw s.framesToPop=1,s}}t.exports=r},function(t,e){"use strict";function n(t){for(var e=arguments.length-1,n="Minified React error #"+t+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+t,r=0;r<e;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);n+=" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";var o=new Error(n);throw o.name="Invariant Violation",o.framesToPop=1,o}t.exports=n},function(t,e,n){"use strict";t.exports=n(29)},function(t,e){"use strict";function n(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}function r(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(e).map(function(t){return e[t]});if("0123456789"!==r.join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(t){o[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(i){return!1}}var o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;t.exports=r()?Object.assign:function(t,e){for(var r,a,u=n(t),s=1;s<arguments.length;s++){r=Object(arguments[s]);for(var c in r)o.call(r,c)&&(u[c]=r[c]);if(Object.getOwnPropertySymbols){a=Object.getOwnPropertySymbols(r);for(var l=0;l<a.length;l++)i.call(r,a[l])&&(u[a[l]]=r[a[l]])}}return u}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}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)}e.__esModule=!0;var u=n(5),s=r(u),c=n(24),l=function(t){function e(){return o(this,e),i(this,t.apply(this,arguments))}return a(e,t),e.prototype.getChildContext=function(){var t=this.props,e=t.prompt,n=t.push,r=t.replace,o=t.go;return{history:{prompt:e,push:n,replace:r,go:o}}},e.prototype.render=function(){var t=this.props,e=t.action,n=t.location;return this.props.children({action:e,location:n})},e}(s["default"].Component);l.propTypes={children:u.PropTypes.func.isRequired,action:c.action.isRequired,location:c.location.isRequired,prompt:u.PropTypes.func.isRequired,push:u.PropTypes.func.isRequired,replace:u.PropTypes.func.isRequired,go:u.PropTypes.func.isRequired},l.childContextTypes={history:c.historyContext.isRequired},e["default"]=l},function(t,e){"use strict";function n(t){return function(){return t}}var r=function(){};r.thatReturns=n,r.thatReturnsFalse=n(!1),r.thatReturnsTrue=n(!0),r.thatReturnsNull=n(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(t){return t},t.exports=r},function(t,e,n){"use strict";var r={};t.exports=r},function(t,e,n){"use strict";var r=function(t,e,n,r,o,i,a,u){if(!t){var s;if(void 0===e)s=new 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],l=0;s=new Error(e.replace(/%s/g,function(){return c[l++]})),s.name="Invariant Violation"}throw s.framesToPop=1,s}};t.exports=r},function(t,e,n){"use strict";function r(t,e,n){this.props=t,this.context=e,this.refs=a,this.updater=n||i}var o=n(4),i=n(12),a=(n(18),n(9));n(3),n(1);r.prototype.isReactComponent={},r.prototype.setState=function(t,e){"object"!=typeof t&&"function"!=typeof t&&null!=t?o("85"):void 0,this.updater.enqueueSetState(this,t),e&&this.updater.enqueueCallback(this,e,"setState")},r.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this),t&&this.updater.enqueueCallback(this,t,"forceUpdate")};t.exports=r},function(t,e,n){"use strict";function r(t,e){}var o=(n(1),{isMounted:function(t){return!1},enqueueCallback:function(t,e){},enqueueForceUpdate:function(t){r(t,"forceUpdate")},enqueueReplaceState:function(t,e){r(t,"replaceState")},enqueueSetState:function(t,e){r(t,"setState")}});t.exports=o},function(t,e,n){"use strict";var r=function(){};t.exports=r},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}},function(t,e,n){"use strict";var r=n(3),o=function(t){var e,n={};t instanceof Object&&!Array.isArray(t)?void 0:r(!1);for(e in t)t.hasOwnProperty(e)&&(n[e]=e);return n};t.exports=o},function(t,e){"use strict";var n={current:null};t.exports=n},function(t,e,n){"use strict";var r={};t.exports=r},function(t,e,n){"use strict";var r=!1;t.exports=r},function(t,e){"use strict";function n(t){var e=t&&(r&&t[r]||t[o]);if("function"==typeof e)return e}var r="function"==typeof Symbol&&Symbol.iterator,o="@@iterator";t.exports=n},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}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)}e.__esModule=!0;var u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t},s=n(13),c=r(s),l=n(10),p=r(l),f=n(5),d=r(f),h=n(7),y=r(h),v=n(14),m="popstate",b="hashchange",P=function(){try{return window.history.state||{}}catch(t){return{}}},g=function(t){function e(){var n,r,a;o(this,e);for(var u=arguments.length,s=Array(u),l=0;l<u;l++)s[l]=arguments[l];return n=r=i(this,t.call.apply(t,[this].concat(s))),r.state={action:null,location:null,allKeys:null},r.handlePrompt=function(t){return(0,p["default"])("function"==typeof t||"string"==typeof t,"A <BrowserHistory> prompt must be a function or a string"),(0,c["default"])(null==r.prompt,"<BrowserHistory> supports only one <Prompt> at a time"),r.prompt=t,function(){r.prompt===t&&(r.prompt=null)}},r.handlePush=function(t,e){var n="PUSH",o=r.createKey(),i={path:t,state:e,key:o};r.confirmTransitionTo(n,i,function(a){a&&(r.supportsHistory?(window.history.pushState({key:o,state:e},null,t),r.setState(function(t){var e=t.allKeys,r=e.indexOf(t.location.key),o=e.slice(0,r===-1?0:r+1);return o.push(i.key),{action:n,location:i,allKeys:o}})):((0,c["default"])(void 0===e,"<BrowserHistory> cannot push state in browsers that do not support HTML5 history"),window.location.href=t))})},r.handleReplace=function(t,e){var n="REPLACE",o=r.createKey(),i={path:t,state:e,key:o};r.confirmTransitionTo(n,i,function(a){a&&(r.supportsHistory?(window.history.replaceState({key:o,state:e},null,t),r.setState(function(t){var e=t.allKeys.slice(0),r=e.indexOf(t.location.key);return r!==-1&&(e[r]=i.key),{action:n,location:i,allKeys:e}})):((0,c["default"])(void 0===e,"<BrowserHistory> cannot replace state in browsers that do not support HTML5 history"),window.location.replace(t)))})},r.handleGo=function(t){window.history.go(t)},r.handlePopState=function(t){if(void 0!==t.state){var e="POP",n=r.createLocation(t.state);r.forceNextPop?(r.forceNextPop=!1,r.forceUpdate()):r.confirmTransitionTo(e,n,function(t){t?r.setState({action:e,location:n}):r.revertPop(n)})}},r.handleHashChange=function(){var t="POP",e=r.createLocation(P());r.forceNextPop?(r.forceNextPop=!1,r.forceUpdate()):r.confirmTransitionTo(t,e,function(n){n?r.setState({action:t,location:e}):r.revertPop(e)})},a=n,i(r,a)}return a(e,t),e.prototype.createKey=function(){return Math.random().toString(36).substr(2,this.props.keyLength)},e.prototype.createLocation=function(t){var e=t||{},n=e.key,r=e.state,o=window.location,i=o.pathname,a=o.search,u=o.hash;return{path:i+a+u,state:r,key:n}},e.prototype.confirmTransitionTo=function(t,e,n){var r=this.prompt;"function"==typeof r?r({action:t,location:e},n):n("string"==typeof r?window.confirm(r):!0)},e.prototype.revertPop=function(t){var e=this.state,n=e.location,r=e.allKeys,o=r.indexOf(n.key);o===-1&&(o=0);var i=r.indexOf(t.key);i===-1&&(i=0);var a=o-i;a&&(this.forceNextPop=!0,window.history.go(a))},e.prototype.componentWillMount=function(){if("object"===("undefined"==typeof window?"undefined":u(window))){this.supportsHistory=(0,v.supportsHistory)(),this.needsHashChangeListener=!(0,v.supportsPopStateOnHashChange)();var t=this.createLocation(P());this.setState({action:"POP",location:t,allKeys:[t.key]})}else(0,c["default"])(!1,"<BrowserHistory> works only in DOM environments")},e.prototype.componentDidMount=function(){(0,v.addEventListener)(window,m,this.handlePopState),this.needsHashChangeListener&&(0,v.addEventListener)(window,b)},e.prototype.componentWillUnmount=function(){(0,v.removeEventListener)(window,m,this.handlePopState),this.needsHashChangeListener&&(0,v.removeEventListener)(window,b,this.handleHashChange)},e.prototype.render=function(){var t=this.props.children,e=this.state,n=e.action,r=e.location;return d["default"].createElement(y["default"],{children:t,action:n,location:r,prompt:this.handlePrompt,push:this.handlePush,replace:this.handleReplace,go:this.handleGo})},e}(d["default"].Component);g.propTypes={children:f.PropTypes.func.isRequired,keyLength:f.PropTypes.number},g.defaultProps={keyLength:6},e["default"]=g},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}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)}e.__esModule=!0;var u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t},s=n(13),c=r(s),l=n(10),p=r(l),f=n(5),d=r(f),h=n(7),y=r(h),v=n(14),m=n(22),b="hashchange",P=function(t){return"/"===t.charAt(0)?t:"/"+t},g={hashbang:{encodePath:function(t){return"!"===t.charAt(0)?t:"!"+P(t)},decodePath:function(t){return"!"===t.charAt(0)?t.substring(1):t}},noslash:{encodePath:function(t){return"/"===t.charAt(0)?t.substring(1):t},decodePath:P},slash:{encodePath:P,decodePath:P}},w=function(){var t=window.location.href,e=t.indexOf("#");return e===-1?"":t.substring(e+1)},E=function(t){return window.location.hash=t},x=function(t){var e=window.location.href.indexOf("#");window.location.replace(window.location.href.slice(0,e>=0?e:0)+"#"+t)},_=function(t){function e(){var n,r,a;o(this,e);for(var s=arguments.length,l=Array(s),f=0;f<s;f++)l[f]=arguments[f];return n=r=i(this,t.call.apply(t,[this].concat(l))),r.state={action:null,location:null,allPaths:null},r.handlePrompt=function(t){return(0,p["default"])("function"==typeof t||"string"==typeof t,"A <HashHistory> prompt must be a function or a string"),(0,c["default"])(null==r.prompt,"<HashHistory> supports only one <Prompt> at a time"),r.prompt=t,function(){r.prompt===t&&(r.prompt=null)}},r.handlePush=function(t,e){(0,c["default"])(void 0===e,"<HashHistory> cannot push state; it will be dropped");var n="PUSH",o={path:t};r.confirmTransitionTo(n,o,function(e){if(e){var i=r.encodePath(t),a=w()!==i;a&&(r.ignorePath=t,E(i)),r.setState(function(t){var e=t.allPaths,r=e.lastIndexOf(t.location.path),i=e.slice(0,r===-1?0:r+1);return i.push(o.path),{action:n,location:o,allPaths:i}})}})},r.handleReplace=function(t,e){(0,c["default"])(void 0===e,"<HashHistory> cannot replace state; it will be dropped");var n="REPLACE",o={path:t};r.confirmTransitionTo(n,o,function(e){if(e){var i=r.encodePath(t),a=w()!==i;a&&(r.ignorePath=t,x(i)),r.setState(function(t){var e=t.allPaths.slice(0),r=e.indexOf(t.location.path);return r!==-1&&(e[r]=o.path),{action:n,location:o,allPaths:e}})}})},r.handleGo=function(t){(0,c["default"])(r.goIsSupportedWithoutReload,"<HashHistory> go(n) causes a full page reload in this browser"),window.history.go(t)},r.handleHashChange=function(){var t=w(),e=r.encodePath(t);if(t!==e)x(e);else{var n=function(){var t="POP",e=r.createLocation(),n=r.state.location;return!r.forceNextPop&&(0,m.locationsAreEqual)(n,e)?{v:void 0}:r.ignorePath===e.path?{v:void 0}:(r.ignorePath=null,void(r.forceNextPop?(r.forceNextPop=!1,r.forceUpdate()):r.confirmTransitionTo(t,e,function(n){n?r.setState({action:t,location:e}):r.revertPop(e)})))}();if("object"===("undefined"==typeof n?"undefined":u(n)))return n.v}},a=n,i(r,a)}return a(e,t),e.prototype.decodePath=function(t){return g[this.props.hashType].decodePath(t)},e.prototype.encodePath=function(t){return g[this.props.hashType].encodePath(t)},e.prototype.createLocation=function(){var t=this.decodePath(w());return{path:t}},e.prototype.confirmTransitionTo=function(t,e,n){var r=this.prompt;"function"==typeof r?r({action:t,location:e},n):n("string"==typeof r?window.confirm(r):!0)},e.prototype.revertPop=function(t){var e=this.state,n=e.location,r=e.allPaths,o=r.lastIndexOf(n.path);o===-1&&(o=0);var i=r.lastIndexOf(t.path);i===-1&&(i=0);var a=o-i;a&&(this.forceNextPop=!0,window.history.go(a))},e.prototype.componentWillMount=function(){if("object"===("undefined"==typeof window?"undefined":u(window))){this.goIsSupportedWithoutReload=(0,v.supportsGoWithoutReloadUsingHash)();var t=w(),e=this.encodePath(t);t!==e&&x(e);var n=this.createLocation();this.setState({action:"POP",location:n,allPaths:[n.path]})}else(0,c["default"])(!1,"<HashHistory> works only in DOM environments")},e.prototype.componentDidMount=function(){(0,v.addEventListener)(window,b,this.handleHashChange)},e.prototype.componentWillUnmount=function(){(0,v.removeEventListener)(window,b,this.handleHashChange)},e.prototype.render=function(){var t=this.props.children,e=this.state,n=e.action,r=e.location;return d["default"].createElement(y["default"],{children:t,action:n,location:r,prompt:this.handlePrompt,push:this.handlePush,replace:this.handleReplace,go:this.handleGo})},e}(d["default"].Component);_.propTypes={children:f.PropTypes.func.isRequired,hashType:f.PropTypes.oneOf(Object.keys(g))},_.defaultProps={hashType:"slash"},e["default"]=_},function(t,e){"use strict";e.__esModule=!0;var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t},r=function o(t,e){if(null==t)return t==e;var r="undefined"==typeof t?"undefined":n(t),i="undefined"==typeof e?"undefined":n(e);if(r!==i)return!1;if(Array.isArray(t))return!(!Array.isArray(e)||t.length!==e.length)&&t.every(function(t,n){return o(t,e[n])});if("object"===r){var a=Object.keys(t),u=Object.keys(e);return a.length===u.length&&a.every(function(n){return o(t[n],e[n])})}return t===e};e.locationsAreEqual=function(t,e){return t.path===e.path&&t.key===e.key&&r(t.state,e.state)}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}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)}e.__esModule=!0;var u=n(13),s=r(u),c=n(10),l=r(c),p=n(5),f=r(p),d=n(7),h=r(d),y=function(t,e,n){return Math.min(Math.max(t,e),n)},v=function(t){function e(){var n,r,a;o(this,e);for(var u=arguments.length,c=Array(u),p=0;p<u;p++)c[p]=arguments[p];return n=r=i(this,t.call.apply(t,[this].concat(c))),r.state={prevIndex:null,action:null,index:null,entries:null},r.handlePrompt=function(t){return(0,l["default"])("function"==typeof t,"A <MemoryHistory> prompt must be a function"),(0,s["default"])(null==r.prompt,"<MemoryHistory> supports only one <Prompt> at a time"),r.prompt=t,function(){r.prompt===t&&(r.prompt=null)}},r.handlePush=function(t,e){var n="PUSH",o=r.createKey(),i={path:t,state:e,key:o};r.confirmTransitionTo(n,i,function(t){t&&r.setState(function(t){var e=t.index,r=t.entries.slice(0),o=e+1;return r.length>o?r.splice(o,r.length-o,i):r.push(i),{prevIndex:t.index,action:n,index:o,entries:r}})})},r.handleReplace=function(t,e){var n="REPLACE",o=r.createKey(),i={path:t,state:e,key:o};r.confirmTransitionTo(n,i,function(t){t&&r.setState(function(t){var e=t.index,r=t.entries.slice(0);return r[e]=i,{prevIndex:t.index,action:n,entries:r}})})},r.handleGo=function(t){var e=r.state,n=e.index,o=e.entries,i=y(n+t,0,o.length-1),a="POP",u=o[i];r.confirmTransitionTo(a,u,function(t){t?r.setState({prevIndex:n,action:a,index:i}):r.forceUpdate()})},a=n,i(r,a)}return a(e,t),e.prototype.createKey=function(){return Math.random().toString(36).substr(2,this.props.keyLength)},e.prototype.confirmTransitionTo=function(t,e,n){var r=this.prompt;"function"==typeof r?r({action:t,location:e},n):n(!0)},e.prototype.componentWillMount=function(){var t=this.props,e=t.initialEntries,n=t.initialIndex;this.setState({action:"POP",index:y(n,0,e.length-1),entries:e})},e.prototype.render=function(){var t=this.props.children,e=this.state,n=e.action,r=e.index,o=e.entries,i=o[r];return f["default"].createElement(h["default"],{children:t,action:n,location:i,prompt:this.handlePrompt,push:this.handlePush,replace:this.handleReplace,go:this.handleGo})},e}(f["default"].Component);v.propTypes={children:p.PropTypes.func.isRequired,initialEntries:p.PropTypes.array,initialIndex:p.PropTypes.number,keyLength:p.PropTypes.number},v.defaultProps={initialEntries:[{path:"/"}],initialIndex:0,keyLength:6},e["default"]=v},function(t,e,n){"use strict";e.__esModule=!0,e.location=e.historyContext=e.action=void 0;var r=n(5);e.action=r.PropTypes.oneOf(["PUSH","REPLACE","POP"]),e.historyContext=r.PropTypes.shape({push:r.PropTypes.func.isRequired,replace:r.PropTypes.func.isRequired,go:r.PropTypes.func.isRequired,prompt:r.PropTypes.func.isRequired}),e.location=r.PropTypes.shape({path:r.PropTypes.string.isRequired,state:r.PropTypes.object,key:r.PropTypes.string})},function(t,e){"use strict";var n=function(t){var e;for(e in t)if(t.hasOwnProperty(e))return e;return null};t.exports=n},function(t,e){"use strict";function n(t,e,n){if(!t)return null;var o={};for(var i in t)r.call(t,i)&&(o[i]=e.call(n,t[i],i,t));return o}var r=Object.prototype.hasOwnProperty;t.exports=n},function(t,e){"use strict";function n(t){var e=/[=:]/g,n={"=":"=0",":":"=2"},r=(""+t).replace(e,function(t){return n[t]});return"$"+r}function r(t){var e=/(=0|=2)/g,n={"=0":"=","=2":":"},r="."===t[0]&&"$"===t[1]?t.substring(2):t.substring(1);return(""+r).replace(e,function(t){return n[t]})}var o={escape:n,unescape:r};t.exports=o},function(t,e,n){"use strict";var r=n(4),o=(n(3),function(t){var e=this;if(e.instancePool.length){var n=e.instancePool.pop();return e.call(n,t),n}return new e(t)}),i=function(t,e){var n=this;if(n.instancePool.length){var r=n.instancePool.pop();return n.call(r,t,e),r}return new n(t,e)},a=function(t,e,n){var r=this;if(r.instancePool.length){var o=r.instancePool.pop();return r.call(o,t,e,n),o}return new r(t,e,n)},u=function(t,e,n,r){var o=this;if(o.instancePool.length){var i=o.instancePool.pop();return o.call(i,t,e,n,r),i}return new o(t,e,n,r)},s=function(t,e,n,r,o){var i=this;if(i.instancePool.length){var a=i.instancePool.pop();return i.call(a,t,e,n,r,o),a}return new i(t,e,n,r,o)},c=function(t){var e=this;t instanceof e?void 0:r("25"),t.destructor(),e.instancePool.length<e.poolSize&&e.instancePool.push(t)},l=10,p=o,f=function(t,e){var n=t;return n.instancePool=[],n.getPooled=e||p,n.poolSize||(n.poolSize=l),n.release=c,n},d={addPoolingTo:f,oneArgumentPooler:o,twoArgumentPooler:i,threeArgumentPooler:a,fourArgumentPooler:u,fiveArgumentPooler:s};t.exports=d},function(t,e,n){"use strict";var r=n(6),o=n(30),i=n(11),a=n(36),u=n(31),s=n(32),c=n(2),l=n(34),p=n(37),f=n(38),d=(n(1),c.createElement),h=c.createFactory,y=c.cloneElement,v=r,m={Children:{map:o.map,forEach:o.forEach,count:o.count,toArray:o.toArray,only:f},Component:i,PureComponent:a,createElement:d,cloneElement:y,isValidElement:c.isValidElement,PropTypes:l,createClass:u.createClass,createFactory:h,createMixin:function(t){return t},DOM:s,version:p,__spread:v};t.exports=m},function(t,e,n){"use strict";function r(t){return(""+t).replace(g,"$&/")}function o(t,e){this.func=t,this.context=e,this.count=0}function i(t,e,n){var r=t.func,o=t.context;r.call(o,e,t.count++)}function a(t,e,n){if(null==t)return t;var r=o.getPooled(e,n);m(t,i,r),o.release(r)}function u(t,e,n,r){this.result=t,this.keyPrefix=e,this.func=n,this.context=r,this.count=0}function s(t,e,n){var o=t.result,i=t.keyPrefix,a=t.func,u=t.context,s=a.call(u,e,t.count++);Array.isArray(s)?c(s,o,n,v.thatReturnsArgument):null!=s&&(y.isValidElement(s)&&(s=y.cloneAndReplaceKey(s,i+(!s.key||e&&e.key===s.key?"":r(s.key)+"/")+n)),o.push(s))}function c(t,e,n,o,i){var a="";null!=n&&(a=r(n)+"/");var c=u.getPooled(e,a,o,i);m(t,s,c),u.release(c)}function l(t,e,n){if(null==t)return t;var r=[];return c(t,r,null,e,n),r}function p(t,e,n){return null}function f(t,e){return m(t,p,null)}function d(t){var e=[];return c(t,e,null,v.thatReturnsArgument),e}var h=n(28),y=n(2),v=n(8),m=n(39),b=h.twoArgumentPooler,P=h.fourArgumentPooler,g=/\/+/g;o.prototype.destructor=function(){this.func=null,this.context=null,this.count=0},h.addPoolingTo(o,b),u.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},h.addPoolingTo(u,P);var w={forEach:a,map:l,mapIntoWithKeyPrefixInternal:c,count:f,toArray:d};t.exports=w},function(t,e,n){"use strict";function r(t,e){var n=E.hasOwnProperty(e)?E[e]:null;_.hasOwnProperty(e)&&(n!==g.OVERRIDE_BASE?p("73",e):void 0),t&&(n!==g.DEFINE_MANY&&n!==g.DEFINE_MANY_MERGED?p("74",e):void 0)}function o(t,e){if(e){"function"==typeof e?p("75"):void 0,h.isValidElement(e)?p("76"):void 0;var n=t.prototype,o=n.__reactAutoBindPairs;e.hasOwnProperty(P)&&x.mixins(t,e.mixins);for(var i in e)if(e.hasOwnProperty(i)&&i!==P){var a=e[i],c=n.hasOwnProperty(i);if(r(c,i),x.hasOwnProperty(i))x[i](t,a);else{var l=E.hasOwnProperty(i),f="function"==typeof a,d=f&&!l&&!c&&e.autobind!==!1;if(d)o.push(i,a),n[i]=a;else if(c){var y=E[i];!l||y!==g.DEFINE_MANY_MERGED&&y!==g.DEFINE_MANY?p("77",y,i):void 0,y===g.DEFINE_MANY_MERGED?n[i]=u(n[i],a):y===g.DEFINE_MANY&&(n[i]=s(n[i],a))}else n[i]=a}}}else;}function i(t,e){if(e)for(var n in e){var r=e[n];if(e.hasOwnProperty(n)){var o=n in x;o?p("78",n):void 0;var i=n in t;i?p("79",n):void 0,t[n]=r}}}function a(t,e){t&&e&&"object"==typeof t&&"object"==typeof e?void 0:p("80");for(var n in e)e.hasOwnProperty(n)&&(void 0!==t[n]?p("81",n):void 0,t[n]=e[n]);return t}function u(t,e){return function(){var n=t.apply(this,arguments),r=e.apply(this,arguments);if(null==n)return r;if(null==r)return n;var o={};return a(o,n),a(o,r),o}}function s(t,e){return function(){t.apply(this,arguments),e.apply(this,arguments)}}function c(t,e){var n=e.bind(t);return n}function l(t){for(var e=t.__reactAutoBindPairs,n=0;n<e.length;n+=2){var r=e[n],o=e[n+1];t[r]=c(t,o)}}var p=n(4),f=n(6),d=n(11),h=n(2),y=(n(33),n(17),n(12)),v=n(9),m=(n(3),n(15)),b=n(25),P=(n(1),b({mixins:null})),g=m({DEFINE_ONCE:null,DEFINE_MANY:null,OVERRIDE_BASE:null,DEFINE_MANY_MERGED:null}),w=[],E={mixins:g.DEFINE_MANY,statics:g.DEFINE_MANY,propTypes:g.DEFINE_MANY,contextTypes:g.DEFINE_MANY,childContextTypes:g.DEFINE_MANY,getDefaultProps:g.DEFINE_MANY_MERGED,getInitialState:g.DEFINE_MANY_MERGED,getChildContext:g.DEFINE_MANY_MERGED,render:g.DEFINE_ONCE,componentWillMount:g.DEFINE_MANY,componentDidMount:g.DEFINE_MANY,componentWillReceiveProps:g.DEFINE_MANY,shouldComponentUpdate:g.DEFINE_ONCE,componentWillUpdate:g.DEFINE_MANY,componentDidUpdate:g.DEFINE_MANY,componentWillUnmount:g.DEFINE_MANY,updateComponent:g.OVERRIDE_BASE},x={displayName:function(t,e){t.displayName=e},mixins:function(t,e){if(e)for(var n=0;n<e.length;n++)o(t,e[n])},childContextTypes:function(t,e){t.childContextTypes=f({},t.childContextTypes,e)},contextTypes:function(t,e){t.contextTypes=f({},t.contextTypes,e)},getDefaultProps:function(t,e){t.getDefaultProps?t.getDefaultProps=u(t.getDefaultProps,e):t.getDefaultProps=e},propTypes:function(t,e){t.propTypes=f({},t.propTypes,e)},statics:function(t,e){i(t,e)},autobind:function(){}},_={replaceState:function(t,e){this.updater.enqueueReplaceState(this,t),e&&this.updater.enqueueCallback(this,e,"replaceState")},isMounted:function(){return this.updater.isMounted(this)}},O=function(){};f(O.prototype,d.prototype,_);var T={createClass:function(t){var e=function(t,n,r){this.__reactAutoBindPairs.length&&l(this),this.props=t,this.context=n,this.refs=v,this.updater=r||y,this.state=null;var o=this.getInitialState?this.getInitialState():null;"object"!=typeof o||Array.isArray(o)?p("82",e.displayName||"ReactCompositeComponent"):void 0,this.state=o};e.prototype=new O,e.prototype.constructor=e,e.prototype.__reactAutoBindPairs=[],w.forEach(o.bind(null,e)),o(e,t),e.getDefaultProps&&(e.defaultProps=e.getDefaultProps()),e.prototype.render?void 0:p("83");for(var n in E)e.prototype[n]||(e.prototype[n]=null);return e},injection:{injectMixin:function(t){w.push(t)}}};t.exports=T},function(t,e,n){"use strict";function r(t){return o.createFactory(t)}var o=n(2),i=n(26),a=i({a:"a",abbr:"abbr",address:"address",area:"area",article:"article",aside:"aside",audio:"audio",b:"b",base:"base",bdi:"bdi",bdo:"bdo",big:"big",blockquote:"blockquote",body:"body",br:"br",button:"button",canvas:"canvas",caption:"caption",cite:"cite",code:"code",col:"col",colgroup:"colgroup",data:"data",datalist:"datalist",dd:"dd",del:"del",details:"details",dfn:"dfn",dialog:"dialog",div:"div",dl:"dl",dt:"dt",em:"em",embed:"embed",fieldset:"fieldset",figcaption:"figcaption",figure:"figure",footer:"footer",form:"form",h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",head:"head",header:"header",hgroup:"hgroup",hr:"hr",html:"html",i:"i",iframe:"iframe",img:"img",input:"input",ins:"ins",kbd:"kbd",keygen:"keygen",label:"label",legend:"legend",li:"li",link:"link",main:"main",map:"map",mark:"mark",menu:"menu",menuitem:"menuitem",meta:"meta",meter:"meter",nav:"nav",noscript:"noscript",object:"object",ol:"ol",optgroup:"optgroup",option:"option",output:"output",p:"p",param:"param",picture:"picture",pre:"pre",progress:"progress",q:"q",rp:"rp",rt:"rt",ruby:"ruby",s:"s",samp:"samp",script:"script",section:"section",select:"select",small:"small",source:"source",span:"span",strong:"strong",style:"style",sub:"sub",summary:"summary",sup:"sup",table:"table",tbody:"tbody",td:"td",textarea:"textarea",tfoot:"tfoot",th:"th",thead:"thead",time:"time",title:"title",tr:"tr",track:"track",u:"u",ul:"ul","var":"var",video:"video",wbr:"wbr",circle:"circle",clipPath:"clipPath",defs:"defs",ellipse:"ellipse",g:"g",image:"image",line:"line",linearGradient:"linearGradient",mask:"mask",path:"path",pattern:"pattern",polygon:"polygon",polyline:"polyline",radialGradient:"radialGradient",rect:"rect",stop:"stop",svg:"svg",text:"text",tspan:"tspan"},r);t.exports=a},function(t,e,n){"use strict";var r=n(15),o=r({prop:null,context:null,childContext:null});t.exports=o},function(t,e,n){"use strict";function r(t,e){return t===e?0!==t||1/t===1/e:t!==t&&e!==e}function o(t){function e(e,n,r,o,i,a,u){o=o||O,a=a||r;if(null==n[r]){var s=w[i];return e?new Error("Required "+s+" `"+a+"` was not specified in "+("`"+o+"`.")):null}return t(n,r,o,i,a)}var n=e.bind(null,!1);return n.isRequired=e.bind(null,!0),n}function i(t){function e(e,n,r,o,i,a){var u=e[n],s=m(u);if(s!==t){var c=w[o],l=b(u);return new Error("Invalid "+c+" `"+i+"` of type "+("`"+l+"` supplied to `"+r+"`, expected ")+("`"+t+"`."));
}return null}return o(e)}function a(){return o(x.thatReturns(null))}function u(t){function e(e,n,r,o,i){if("function"!=typeof t)return new Error("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var a=e[n];if(!Array.isArray(a)){var u=w[o],s=m(a);return new Error("Invalid "+u+" `"+i+"` of type "+("`"+s+"` supplied to `"+r+"`, expected an array."))}for(var c=0;c<a.length;c++){var l=t(a,c,r,o,i+"["+c+"]",E);if(l instanceof Error)return l}return null}return o(e)}function s(){function t(t,e,n,r,o){var i=t[e];if(!g.isValidElement(i)){var a=w[r],u=m(i);return new Error("Invalid "+a+" `"+o+"` of type "+("`"+u+"` supplied to `"+n+"`, expected a single ReactElement."))}return null}return o(t)}function c(t){function e(e,n,r,o,i){if(!(e[n]instanceof t)){var a=w[o],u=t.name||O,s=P(e[n]);return new Error("Invalid "+a+" `"+i+"` of type "+("`"+s+"` supplied to `"+r+"`, expected ")+("instance of `"+u+"`."))}return null}return o(e)}function l(t){function e(e,n,o,i,a){for(var u=e[n],s=0;s<t.length;s++)if(r(u,t[s]))return null;var c=w[i],l=JSON.stringify(t);return new Error("Invalid "+c+" `"+a+"` of value `"+u+"` "+("supplied to `"+o+"`, expected one of "+l+"."))}return Array.isArray(t)?o(e):x.thatReturnsNull}function p(t){function e(e,n,r,o,i){if("function"!=typeof t)return new Error("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var a=e[n],u=m(a);if("object"!==u){var s=w[o];return new Error("Invalid "+s+" `"+i+"` of type "+("`"+u+"` supplied to `"+r+"`, expected an object."))}for(var c in a)if(a.hasOwnProperty(c)){var l=t(a,c,r,o,i+"."+c,E);if(l instanceof Error)return l}return null}return o(e)}function f(t){function e(e,n,r,o,i){for(var a=0;a<t.length;a++){var u=t[a];if(null==u(e,n,r,o,i,E))return null}var s=w[o];return new Error("Invalid "+s+" `"+i+"` supplied to "+("`"+r+"`."))}return Array.isArray(t)?o(e):x.thatReturnsNull}function d(){function t(t,e,n,r,o){if(!y(t[e])){var i=w[r];return new Error("Invalid "+i+" `"+o+"` supplied to "+("`"+n+"`, expected a ReactNode."))}return null}return o(t)}function h(t){function e(e,n,r,o,i){var a=e[n],u=m(a);if("object"!==u){var s=w[o];return new Error("Invalid "+s+" `"+i+"` of type `"+u+"` "+("supplied to `"+r+"`, expected `object`."))}for(var c in t){var l=t[c];if(l){var p=l(a,c,r,o,i+"."+c,E);if(p)return p}}return null}return o(e)}function y(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(y);if(null===t||g.isValidElement(t))return!0;var e=_(t);if(!e)return!1;var n,r=e.call(t);if(e!==t.entries){for(;!(n=r.next()).done;)if(!y(n.value))return!1}else for(;!(n=r.next()).done;){var o=n.value;if(o&&!y(o[1]))return!1}return!0;default:return!1}}function v(t,e){return"symbol"===t||("Symbol"===e["@@toStringTag"]||"function"==typeof Symbol&&e instanceof Symbol)}function m(t){var e=typeof t;return Array.isArray(t)?"array":t instanceof RegExp?"object":v(e,t)?"symbol":e}function b(t){var e=m(t);if("object"===e){if(t instanceof Date)return"date";if(t instanceof RegExp)return"regexp"}return e}function P(t){return t.constructor&&t.constructor.name?t.constructor.name:O}var g=n(2),w=n(17),E=n(35),x=n(8),_=n(19),O=(n(1),"<<anonymous>>"),T={array:i("array"),bool:i("boolean"),func:i("function"),number:i("number"),object:i("object"),string:i("string"),symbol:i("symbol"),any:a(),arrayOf:u,element:s(),instanceOf:c,node:d(),objectOf:p,oneOf:l,oneOfType:f,shape:h};t.exports=T},function(t,e){"use strict";var n="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";t.exports=n},function(t,e,n){"use strict";function r(t,e,n){this.props=t,this.context=e,this.refs=s,this.updater=n||u}function o(){}var i=n(6),a=n(11),u=n(12),s=n(9);o.prototype=a.prototype,r.prototype=new o,r.prototype.constructor=r,i(r.prototype,a.prototype),r.prototype.isPureReactComponent=!0,t.exports=r},function(t,e){"use strict";t.exports="15.3.0"},function(t,e,n){"use strict";function r(t){return i.isValidElement(t)?void 0:o("23"),t}var o=n(4),i=n(2);n(3);t.exports=r},function(t,e,n){"use strict";function r(t,e){return t&&"object"==typeof t&&null!=t.key?c.escape(t.key):e.toString(36)}function o(t,e,n,i){var f=typeof t;if("undefined"!==f&&"boolean"!==f||(t=null),null===t||"string"===f||"number"===f||u.isValidElement(t))return n(i,t,""===e?l+r(t,0):e),1;var d,h,y=0,v=""===e?l:e+p;if(Array.isArray(t))for(var m=0;m<t.length;m++)d=t[m],h=v+r(d,m),y+=o(d,h,n,i);else{var b=s(t);if(b){var P,g=b.call(t);if(b!==t.entries)for(var w=0;!(P=g.next()).done;)d=P.value,h=v+r(d,w++),y+=o(d,h,n,i);else for(;!(P=g.next()).done;){var E=P.value;E&&(d=E[1],h=v+c.escape(E[0])+p+r(d,0),y+=o(d,h,n,i))}}else if("object"===f){var x="",_=String(t);a("31","[object Object]"===_?"object with keys {"+Object.keys(t).join(", ")+"}":_,x)}}return y}function i(t,e,n){return null==t?0:o(t,"",e,n)}var a=n(4),u=(n(16),n(2)),s=n(19),c=(n(3),n(27)),l=(n(1),"."),p=":";t.exports=i}])});

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc