react-router-dom 6.0.0-alpha.5 → 6.0.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -1,111 +1,111 @@
1
- import * as React from 'react';
2
- import PropTypes from 'prop-types';
3
- import { State, To } from 'history';
4
- import { MemoryRouter, Navigate, Outlet, Route, Router, Routes, useBlocker, useHref, useInRouterContext, useLocation, useLocationPending, useMatch, useNavigate, useOutlet, useParams, useResolvedLocation, useRoutes, createRoutesFromArray, createRoutesFromChildren, generatePath, matchRoutes, matchPath, resolveLocation } from 'react-router';
5
- export { MemoryRouter, Navigate, Outlet, Route, Router, Routes, useBlocker, useHref, useInRouterContext, useLocation, useLocationPending, useMatch, useNavigate, useOutlet, useParams, useResolvedLocation, useRoutes, createRoutesFromArray, createRoutesFromChildren, generatePath, matchRoutes, matchPath, resolveLocation };
6
- /**
7
- * A <Router> for use in web browsers. Provides the cleanest URLs.
8
- */
9
- export declare function BrowserRouter({ children, window }: BrowserRouterProps): JSX.Element;
10
- export declare namespace BrowserRouter {
11
- var displayName: string;
12
- var propTypes: {
13
- children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
14
- window: PropTypes.Requireable<object>;
15
- };
16
- }
17
- export interface BrowserRouterProps {
18
- children?: React.ReactNode;
19
- window?: Window;
20
- }
21
- /**
22
- * A <Router> for use in web browsers. Stores the location in the hash
23
- * portion of the URL so it is not sent to the server.
24
- */
25
- export declare function HashRouter({ children, window }: HashRouterProps): JSX.Element;
26
- export declare namespace HashRouter {
27
- var displayName: string;
28
- var propTypes: {
29
- children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
30
- window: PropTypes.Requireable<object>;
31
- };
32
- }
33
- export interface HashRouterProps {
34
- children?: React.ReactNode;
35
- window?: Window;
36
- }
37
- /**
38
- * The public API for rendering a history-aware <a>.
39
- */
40
- export declare const Link: React.ForwardRefExoticComponent<LinkProps & React.RefAttributes<HTMLAnchorElement>>;
41
- export interface LinkProps extends Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'href'> {
42
- replace?: boolean;
43
- state?: State;
44
- to: To;
45
- }
46
- /**
47
- * A <Link> wrapper that knows if it's "active" or not.
48
- */
49
- export declare const NavLink: React.ForwardRefExoticComponent<NavLinkProps & React.RefAttributes<HTMLAnchorElement>>;
50
- export interface NavLinkProps extends LinkProps {
51
- activeClassName?: string;
52
- activeStyle?: object;
53
- caseSensitive?: boolean;
54
- end?: boolean;
55
- }
56
- /**
57
- * A declarative interface for showing a window.confirm dialog with the given
58
- * message when the user tries to navigate away from the current page.
59
- *
60
- * This also serves as a reference implementation for anyone who wants to
61
- * create their own custom prompt component.
62
- */
63
- export declare function Prompt({ message, when }: PromptProps): null;
64
- export declare namespace Prompt {
65
- var displayName: string;
66
- var propTypes: {
67
- message: PropTypes.Requireable<string>;
68
- when: PropTypes.Requireable<boolean>;
69
- };
70
- }
71
- export interface PromptProps {
72
- message: string;
73
- when?: boolean;
74
- }
75
- /**
76
- * Prevents navigation away from the current page using a window.confirm prompt
77
- * with the given message.
78
- */
79
- export declare function usePrompt(message: string, when?: boolean): void;
80
- /**
81
- * A convenient wrapper for reading and writing search parameters via the
82
- * URLSearchParams interface.
83
- */
84
- export declare function useSearchParams(defaultInit?: URLSearchParamsInit): readonly [URLSearchParams, (nextInit: URLSearchParamsInit, navigateOptions?: {
85
- replace?: boolean | undefined;
86
- state?: object | null | undefined;
87
- } | undefined) => void];
88
- /**
89
- * Creates a URLSearchParams object using the given initializer.
90
- *
91
- * This is identical to `new URLSearchParams(init)` except it also
92
- * supports arrays as values in the object form of the initializer
93
- * instead of just strings. This is convenient when you need multiple
94
- * values for a given key, but don't want to use an array initializer.
95
- *
96
- * For example, instead of:
97
- *
98
- * let searchParams = new URLSearchParams([
99
- * ['sort', 'name'],
100
- * ['sort', 'price']
101
- * ]);
102
- *
103
- * you can do:
104
- *
105
- * let searchParams = createSearchParams({
106
- * sort: ['name', 'price']
107
- * });
108
- */
109
- export declare function createSearchParams(init?: URLSearchParamsInit): URLSearchParams;
110
- export declare type ParamKeyValuePair = [string, string];
111
- export declare type URLSearchParamsInit = string | ParamKeyValuePair[] | Record<string, string | string[]> | URLSearchParams;
1
+ import * as React from 'react';
2
+ import PropTypes from 'prop-types';
3
+ import { State, To } from 'history';
4
+ import { MemoryRouter, Navigate, Outlet, Route, Router, Routes, useBlocker, useHref, useInRouterContext, useLocation, useMatch, useNavigate, useOutlet, useParams, useResolvedPath, useRoutes, createRoutesFromArray, createRoutesFromChildren, generatePath, matchRoutes, matchPath, resolvePath } from 'react-router';
5
+ export { MemoryRouter, Navigate, Outlet, Route, Router, Routes, createRoutesFromArray, createRoutesFromChildren, generatePath, matchRoutes, matchPath, resolvePath, useBlocker, useHref, useInRouterContext, useLocation, useMatch, useNavigate, useOutlet, useParams, useResolvedPath, useRoutes };
6
+ /**
7
+ * A <Router> for use in web browsers. Provides the cleanest URLs.
8
+ */
9
+ export declare function BrowserRouter({ children, window }: BrowserRouterProps): JSX.Element;
10
+ export declare namespace BrowserRouter {
11
+ var displayName: string;
12
+ var propTypes: {
13
+ children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
14
+ window: PropTypes.Requireable<object>;
15
+ };
16
+ }
17
+ export interface BrowserRouterProps {
18
+ children?: React.ReactNode;
19
+ window?: Window;
20
+ }
21
+ /**
22
+ * A <Router> for use in web browsers. Stores the location in the hash
23
+ * portion of the URL so it is not sent to the server.
24
+ */
25
+ export declare function HashRouter({ children, window }: HashRouterProps): JSX.Element;
26
+ export declare namespace HashRouter {
27
+ var displayName: string;
28
+ var propTypes: {
29
+ children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
30
+ window: PropTypes.Requireable<object>;
31
+ };
32
+ }
33
+ export interface HashRouterProps {
34
+ children?: React.ReactNode;
35
+ window?: Window;
36
+ }
37
+ /**
38
+ * The public API for rendering a history-aware <a>.
39
+ */
40
+ export declare const Link: React.ForwardRefExoticComponent<LinkProps & React.RefAttributes<HTMLAnchorElement>>;
41
+ export interface LinkProps extends Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'href'> {
42
+ replace?: boolean;
43
+ state?: State;
44
+ to: To;
45
+ }
46
+ /**
47
+ * A <Link> wrapper that knows if it's "active" or not.
48
+ */
49
+ export declare const NavLink: React.ForwardRefExoticComponent<NavLinkProps & React.RefAttributes<HTMLAnchorElement>>;
50
+ export interface NavLinkProps extends LinkProps {
51
+ activeClassName?: string;
52
+ activeStyle?: object;
53
+ caseSensitive?: boolean;
54
+ end?: boolean;
55
+ }
56
+ /**
57
+ * A declarative interface for showing a window.confirm dialog with the given
58
+ * message when the user tries to navigate away from the current page.
59
+ *
60
+ * This also serves as a reference implementation for anyone who wants to
61
+ * create their own custom prompt component.
62
+ */
63
+ export declare function Prompt({ message, when }: PromptProps): null;
64
+ export declare namespace Prompt {
65
+ var displayName: string;
66
+ var propTypes: {
67
+ message: PropTypes.Requireable<string>;
68
+ when: PropTypes.Requireable<boolean>;
69
+ };
70
+ }
71
+ export interface PromptProps {
72
+ message: string;
73
+ when?: boolean;
74
+ }
75
+ /**
76
+ * Prevents navigation away from the current page using a window.confirm prompt
77
+ * with the given message.
78
+ */
79
+ export declare function usePrompt(message: string, when?: boolean): void;
80
+ /**
81
+ * A convenient wrapper for reading and writing search parameters via the
82
+ * URLSearchParams interface.
83
+ */
84
+ export declare function useSearchParams(defaultInit?: URLSearchParamsInit): readonly [URLSearchParams, (nextInit: URLSearchParamsInit, navigateOptions?: {
85
+ replace?: boolean | undefined;
86
+ state?: object | null | undefined;
87
+ } | undefined) => void];
88
+ /**
89
+ * Creates a URLSearchParams object using the given initializer.
90
+ *
91
+ * This is identical to `new URLSearchParams(init)` except it also
92
+ * supports arrays as values in the object form of the initializer
93
+ * instead of just strings. This is convenient when you need multiple
94
+ * values for a given key, but don't want to use an array initializer.
95
+ *
96
+ * For example, instead of:
97
+ *
98
+ * let searchParams = new URLSearchParams([
99
+ * ['sort', 'name'],
100
+ * ['sort', 'price']
101
+ * ]);
102
+ *
103
+ * you can do:
104
+ *
105
+ * let searchParams = createSearchParams({
106
+ * sort: ['name', 'price']
107
+ * });
108
+ */
109
+ export declare function createSearchParams(init?: URLSearchParamsInit): URLSearchParams;
110
+ export declare type ParamKeyValuePair = [string, string];
111
+ export declare type URLSearchParamsInit = string | ParamKeyValuePair[] | Record<string, string | string[]> | URLSearchParams;
package/index.js CHANGED
@@ -1,12 +1,12 @@
1
- import{Router,useHref,useNavigate,useLocation,useResolvedLocation,useBlocker}from'react-router';import{createBrowserHistory,createHashHistory,createPath}from'history';import PropTypes from'prop-types';import{useRef,useReducer,useLayoutEffect,createElement,forwardRef,useCallback,useMemo}from'react';export{MemoryRouter,Navigate,Outlet,Route,Router,Routes,createRoutesFromArray,createRoutesFromChildren,generatePath,matchPath,matchRoutes,resolveLocation,useBlocker,useHref,useInRouterContext,useLocation,useLocationPending,useMatch,useNavigate,useOutlet,useParams,useResolvedLocation,useRoutes}from'react-router';function n(){n=Object.assign||function(a){for(var d=1;d<arguments.length;d++){var b=arguments[d],c;for(c in b)Object.prototype.hasOwnProperty.call(b,c)&&(a[c]=b[c])}return a};return n.apply(this,arguments)}function p(a,d){if(null==a)return{};var b={},c=Object.keys(a),e;for(e=0;e<c.length;e++){var f=c[e];0<=d.indexOf(f)||(b[f]=a[f])}return b}
1
+ import{Router,useHref,useNavigate,useLocation,useResolvedPath,useBlocker}from'react-router';import{createBrowserHistory,createHashHistory,createPath}from'history';import PropTypes from'prop-types';import{useRef,useReducer,useLayoutEffect,createElement,forwardRef,useCallback,useMemo}from'react';export{MemoryRouter,Navigate,Outlet,Route,Router,Routes,createRoutesFromArray,createRoutesFromChildren,generatePath,matchPath,matchRoutes,resolvePath,useBlocker,useHref,useInRouterContext,useLocation,useMatch,useNavigate,useOutlet,useParams,useResolvedPath,useRoutes}from'react-router';function n(){n=Object.assign||function(a){for(var d=1;d<arguments.length;d++){var b=arguments[d],c;for(c in b)Object.prototype.hasOwnProperty.call(b,c)&&(a[c]=b[c])}return a};return n.apply(this,arguments)}function p(a,d){if(null==a)return{};var b={},c=Object.keys(a),e;for(e=0;e<c.length;e++){var f=c[e];0<=d.indexOf(f)||(b[f]=a[f])}return b}
2
2
  function q(a,d){if(a){if("string"===typeof a)return r(a,d);var b=Object.prototype.toString.call(a).slice(8,-1);"Object"===b&&a.constructor&&(b=a.constructor.name);if("Map"===b||"Set"===b)return Array.from(b);if("Arguments"===b||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b))return r(a,d)}}function r(a,d){if(null==d||d>a.length)d=a.length;for(var b=0,c=Array(d);b<d;b++)c[b]=a[b];return c}
3
3
  function t(a){var d=0;if("undefined"===typeof Symbol||null==a[Symbol.iterator]){if(Array.isArray(a)||(a=q(a)))return function(){return d>=a.length?{done:!0}:{done:!1,value:a[d++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}d=a[Symbol.iterator]();return d.next.bind(d)}function v(a,d){if(!a){"undefined"!==typeof console&&console.warn(d);try{throw Error(d);}catch(b){}}}
4
4
  function w(a){var d=a.children;a=a.window;var b=useRef();null==b.current&&(b.current=createBrowserHistory({window:a}));var c=b.current;a=useReducer(function(a,b){return b},{action:c.action,location:c.location});b=a[0];var e=a[1];useLayoutEffect(function(){return c.listen(e)},[c]);return createElement(Router,{children:d,action:b.action,location:b.location,navigator:c})}"production"!==process.env.NODE_ENV&&(w.displayName="BrowserRouter",w.propTypes={children:PropTypes.node,window:PropTypes.object});
5
5
  function x(a){var d=a.children;a=a.window;var b=useRef();null==b.current&&(b.current=createHashHistory({window:a}));var c=b.current;a=useReducer(function(a,b){return b},{action:c.action,location:c.location});b=a[0];var e=a[1];useLayoutEffect(function(){return c.listen(e)},[c]);return createElement(Router,{children:d,action:b.action,location:b.location,navigator:c})}"production"!==process.env.NODE_ENV&&(x.displayName="HashRouter",x.propTypes={children:PropTypes.node,window:PropTypes.object});
6
- var y=forwardRef(function(a,d){var b=a.onClick,c=a.replace,e=void 0===c?!1:c,f=a.state,g=a.target,m=a.to;a=p(a,["onClick","replace","state","target","to"]);c=useHref(m);var k=useNavigate(),u=useLocation(),h=useResolvedLocation(m);return createElement("a",Object.assign({},a,{href:c,onClick:function(a){b&&b(a);a.defaultPrevented||0!==a.button||g&&"_self"!==g||a.metaKey||a.altKey||a.ctrlKey||a.shiftKey||(a.preventDefault(),a=!!e||createPath(u)===createPath(h),k(m,{replace:a,state:f}))},ref:d,target:g}))});
6
+ var y=forwardRef(function(a,d){var b=a.onClick,c=a.replace,e=void 0===c?!1:c,f=a.state,g=a.target,m=a.to;a=p(a,["onClick","replace","state","target","to"]);c=useHref(m);var k=useNavigate(),u=useLocation(),h=useResolvedPath(m);return createElement("a",Object.assign({},a,{href:c,onClick:function(a){b&&b(a);a.defaultPrevented||0!==a.button||g&&"_self"!==g||a.metaKey||a.altKey||a.ctrlKey||a.shiftKey||(a.preventDefault(),a=!!e||createPath(u)===createPath(h),k(m,{replace:a,state:f}))},ref:d,target:g}))});
7
7
  "production"!==process.env.NODE_ENV&&(y.displayName="Link",y.propTypes={onClick:PropTypes.func,replace:PropTypes.bool,state:PropTypes.object,target:PropTypes.string,to:PropTypes.oneOfType([PropTypes.string,PropTypes.shape({pathname:PropTypes.string,search:PropTypes.string,hash:PropTypes.string})]).isRequired});
8
- var z=forwardRef(function(a,d){var b=a["aria-current"],c=void 0===b?"page":b;b=a.activeClassName;var e=void 0===b?"active":b;b=a.activeStyle;var f=a.caseSensitive,g=void 0===f?!1:f;f=a.className;var m=void 0===f?"":f;f=a.end;var k=void 0===f?!1:f,u=a.style;f=a.to;a=p(a,"aria-current activeClassName activeStyle caseSensitive className end style to".split(" "));var h=useLocation(),l=useResolvedLocation(f);h=h.pathname;l=l.pathname;g||(h=h.toLowerCase(),l=l.toLowerCase());c=(g=k?h===l:h.startsWith(l))?
9
- c:void 0;e=[m,g?e:null].filter(Boolean).join(" ");b=n({},u,{},g?b:null);return createElement(y,Object.assign({},a,{"aria-current":c,className:e,ref:d,style:b,to:f}))});
8
+ var z=forwardRef(function(a,d){var b=a["aria-current"],c=void 0===b?"page":b;b=a.activeClassName;var e=void 0===b?"active":b;b=a.activeStyle;var f=a.caseSensitive,g=void 0===f?!1:f;f=a.className;var m=void 0===f?"":f;f=a.end;var k=void 0===f?!1:f,u=a.style;f=a.to;a=p(a,"aria-current activeClassName activeStyle caseSensitive className end style to".split(" "));var h=useLocation(),l=useResolvedPath(f);h=h.pathname;l=l.pathname;g||(h=h.toLowerCase(),l=l.toLowerCase());c=(g=k?h===l:h.startsWith(l))?c:
9
+ void 0;e=[m,g?e:null].filter(Boolean).join(" ");b=n({},u,{},g?b:null);return createElement(y,Object.assign({},a,{"aria-current":c,className:e,ref:d,style:b,to:f}))});
10
10
  "production"!==process.env.NODE_ENV&&(z.displayName="NavLink",z.propTypes=n({},y.propTypes,{"aria-current":PropTypes.oneOf("page step location date time true".split(" ")),activeClassName:PropTypes.string,activeStyle:PropTypes.object,className:PropTypes.string,style:PropTypes.object,to:PropTypes.oneOfType([PropTypes.string,PropTypes.shape({pathname:PropTypes.string,search:PropTypes.string,hash:PropTypes.string})]).isRequired}));function A(a){B(a.message,a.when);return null}
11
11
  "production"!==process.env.NODE_ENV&&(A.displayName="Prompt",A.propTypes={message:PropTypes.string,when:PropTypes.bool});function B(a,d){void 0===d&&(d=!0);var b=useCallback(function(b){window.confirm(a)&&b.retry()},[a]);useBlocker(b,d)}function C(a){void 0===a&&(a="");return new URLSearchParams("string"===typeof a||Array.isArray(a)||a instanceof URLSearchParams?a:Object.keys(a).reduce(function(d,b){var c=a[b];return d.concat(Array.isArray(c)?c.map(function(a){return[b,a]}):[[b,c]])},[]))}
12
12
 
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../../packages/react-router-dom/index.tsx"],"sourcesContent":[null],"names":["Error","React.useReducer","state","location","window","HashRouter","historyRef","current","Link","path","href","onClick","event","preventDefault","ref","target","rest"],"mappings":";;qaAsGM,yCAwBMA,WAER,OAAA;aAoE8D,CAAA,0CAE1C,iFAOdC,UAAAA,wBAAAA,sCAAAA,yIAgCEC,CAAAC,uBAzCsD,aAqDlE,uBAAA,sEAkBIC,wBAlBJ;QA4BgBC,mEAIZC,CAAAC,qEAMA;IAgESC,yMASLC,kEAkCFC,OAEAC,gDA7BmB,2EAKpBC,CAAAC,eAAA,uDAU2BX,MAAAA,MAe1BY,MACFC;;uCAgDE,gOAaGC,EAAAA;;;;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-router-dom",
3
- "version": "6.0.0-alpha.5",
3
+ "version": "6.0.0-beta.0",
4
4
  "author": "React Training <hello@reacttraining.com>",
5
5
  "description": "Declarative routing for React web applications",
6
6
  "repository": "ReactTraining/react-router",
@@ -10,13 +10,13 @@
10
10
  "types": "index.d.ts",
11
11
  "unpkg": "umd/react-router-dom.production.min.js",
12
12
  "dependencies": {
13
- "history": "5.0.0-beta.9",
14
- "prop-types": "^15.7.2"
13
+ "prop-types": "^15.7.2",
14
+ "react-router": "6.0.0-beta.0"
15
15
  },
16
16
  "peerDependencies": {
17
+ "history": ">=5",
17
18
  "react": ">=16.8",
18
- "react-dom": ">=16.8",
19
- "react-router": "6.0.0-alpha.5"
19
+ "react-dom": ">=16.8"
20
20
  },
21
21
  "sideEffects": false,
22
22
  "keywords": [
@@ -1,8 +1,8 @@
1
- import{Router,useHref,useNavigate,useLocation,useResolvedLocation,useBlocker}from'react-router';import{createBrowserHistory,createHashHistory,createPath}from'history';import PropTypes from'prop-types';import{useRef,useReducer,useLayoutEffect,createElement,forwardRef,useCallback,useMemo}from'react';export{MemoryRouter,Navigate,Outlet,Route,Router,Routes,createRoutesFromArray,createRoutesFromChildren,generatePath,matchPath,matchRoutes,resolveLocation,useBlocker,useHref,useInRouterContext,useLocation,useLocationPending,useMatch,useNavigate,useOutlet,useParams,useResolvedLocation,useRoutes}from'react-router';function k(b,c){if(!b){"undefined"!==typeof console&&console.warn(c);try{throw Error(c);}catch(d){}}}function m({children:b,window:c}){let d=useRef();null==d.current&&(d.current=createBrowserHistory({window:c}));let a=d.current,[f,h]=useReducer((a,b)=>b,{action:a.action,location:a.location});useLayoutEffect(()=>a.listen(h),[a]);return createElement(Router,{children:b,action:f.action,location:f.location,navigator:a})}m.displayName="BrowserRouter";m.propTypes={children:PropTypes.node,window:PropTypes.object};
1
+ import{Router,useHref,useNavigate,useLocation,useResolvedPath,useBlocker}from'react-router';import{createBrowserHistory,createHashHistory,createPath}from'history';import PropTypes from'prop-types';import{useRef,useReducer,useLayoutEffect,createElement,forwardRef,useCallback,useMemo}from'react';export{MemoryRouter,Navigate,Outlet,Route,Router,Routes,createRoutesFromArray,createRoutesFromChildren,generatePath,matchPath,matchRoutes,resolvePath,useBlocker,useHref,useInRouterContext,useLocation,useMatch,useNavigate,useOutlet,useParams,useResolvedPath,useRoutes}from'react-router';function k(b,c){if(!b){"undefined"!==typeof console&&console.warn(c);try{throw Error(c);}catch(d){}}}function m({children:b,window:c}){let d=useRef();null==d.current&&(d.current=createBrowserHistory({window:c}));let a=d.current,[f,h]=useReducer((a,b)=>b,{action:a.action,location:a.location});useLayoutEffect(()=>a.listen(h),[a]);return createElement(Router,{children:b,action:f.action,location:f.location,navigator:a})}m.displayName="BrowserRouter";m.propTypes={children:PropTypes.node,window:PropTypes.object};
2
2
  function n({children:b,window:c}){let d=useRef();null==d.current&&(d.current=createHashHistory({window:c}));let a=d.current,[f,h]=useReducer((b,a)=>a,{action:a.action,location:a.location});useLayoutEffect(()=>a.listen(h),[a]);return createElement(Router,{children:b,action:f.action,location:f.location,navigator:a})}n.displayName="HashRouter";n.propTypes={children:PropTypes.node,window:PropTypes.object};
3
- let q=forwardRef(function({onClick:b,replace:c=!1,state:d,target:a,to:f,...h},p){let l=useHref(f),r=useNavigate(),t=useLocation(),g=useResolvedLocation(f);return createElement("a",Object.assign({},h,{href:l,onClick:function(e){b&&b(e);e.defaultPrevented||0!==e.button||a&&"_self"!==a||e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||(e.preventDefault(),e=!!c||createPath(t)===createPath(g),r(f,{replace:e,state:d}))},ref:p,target:a}))});q.displayName="Link";
3
+ let q=forwardRef(function({onClick:b,replace:c=!1,state:d,target:a,to:f,...h},p){let l=useHref(f),r=useNavigate(),t=useLocation(),g=useResolvedPath(f);return createElement("a",Object.assign({},h,{href:l,onClick:function(e){b&&b(e);e.defaultPrevented||0!==e.button||a&&"_self"!==a||e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||(e.preventDefault(),e=!!c||createPath(t)===createPath(g),r(f,{replace:e,state:d}))},ref:p,target:a}))});q.displayName="Link";
4
4
  q.propTypes={onClick:PropTypes.func,replace:PropTypes.bool,state:PropTypes.object,target:PropTypes.string,to:PropTypes.oneOfType([PropTypes.string,PropTypes.shape({pathname:PropTypes.string,search:PropTypes.string,hash:PropTypes.string})]).isRequired};
5
- let u=forwardRef(function({"aria-current":b="page",activeClassName:c="active",activeStyle:d,caseSensitive:a=!1,className:f="",end:h=!1,style:p,to:l,...r},t){var g=useLocation(),e=useResolvedLocation(l);g=g.pathname;e=e.pathname;a||(g=g.toLowerCase(),e=e.toLowerCase());b=(a=h?g===e:g.startsWith(e))?b:void 0;c=[f,a?c:null].filter(Boolean).join(" ");return createElement(q,Object.assign({},r,{"aria-current":b,className:c,ref:t,style:{...p,...a?d:null},to:l}))});u.displayName="NavLink";
5
+ let u=forwardRef(function({"aria-current":b="page",activeClassName:c="active",activeStyle:d,caseSensitive:a=!1,className:f="",end:h=!1,style:p,to:l,...r},t){var g=useLocation(),e=useResolvedPath(l);g=g.pathname;e=e.pathname;a||(g=g.toLowerCase(),e=e.toLowerCase());b=(a=h?g===e:g.startsWith(e))?b:void 0;c=[f,a?c:null].filter(Boolean).join(" ");return createElement(q,Object.assign({},r,{"aria-current":b,className:c,ref:t,style:{...p,...a?d:null},to:l}))});u.displayName="NavLink";
6
6
  u.propTypes={...q.propTypes,"aria-current":PropTypes.oneOf("page step location date time true".split(" ")),activeClassName:PropTypes.string,activeStyle:PropTypes.object,className:PropTypes.string,style:PropTypes.object,to:PropTypes.oneOfType([PropTypes.string,PropTypes.shape({pathname:PropTypes.string,search:PropTypes.string,hash:PropTypes.string})]).isRequired};function v({message:b,when:c}){w(b,c);return null}v.displayName="Prompt";v.propTypes={message:PropTypes.string,when:PropTypes.bool};
7
7
  function w(b,c=!0){let d=useCallback(a=>{window.confirm(b)&&a.retry()},[b]);useBlocker(d,c)}function x(b=""){return new URLSearchParams("string"===typeof b||Array.isArray(b)||b instanceof URLSearchParams?b:Object.keys(b).reduce((c,d)=>{let a=b[d];return c.concat(Array.isArray(a)?a.map(a=>[d,a]):[[d,a]])},[]))}
8
8
 
@@ -1 +1 @@
1
- {"version":3,"file":"react-router-dom.development.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
1
+ {"version":3,"file":"react-router-dom.development.js","sources":["../../packages/react-router-dom/index.tsx"],"sourcesContent":[null],"names":["Error","React.useReducer","state","location","window","HashRouter","historyRef","current","path","href","onClick","event","preventDefault","ref","target","rest"],"mappings":"kDAsGM,yCAwBMA,WAER,OAAA,gBAoEsB,WAAA,SAAA,EAAwC,eAE1C,qFAOdC,UAAAA,SAAAA,sCAAAA,wGAgCEC,CAAAC,uBAzCsD,oEAuE9DC;QAUYC,2DAIZC,CAAAC,yEAMA,EAAA,EAAA,CAAA;kIAyEIC,kEAkCFC,OAEAC,gDA7BmB,2EAKpBC,CAAAC,eAAA,uDAU2BV,MAAAA,MAe1BW,MACFC;;uJA6DKC;;;;;;;"}
@@ -1,2 +1,2 @@
1
- import{Router as e,useHref as t,useNavigate as r,useLocation as a,useResolvedLocation as n,useBlocker as o}from"react-router";import{createBrowserHistory as c,createHashHistory as i,createPath as s}from"history";import{useRef as u,useReducer as l,useLayoutEffect as f,createElement as m,forwardRef as h,useCallback as d,useMemo as y}from"react";export{MemoryRouter,Navigate,Outlet,Route,Router,Routes,createRoutesFromArray,createRoutesFromChildren,generatePath,matchPath,matchRoutes,resolveLocation,useBlocker,useHref,useInRouterContext,useLocation,useLocationPending,useMatch,useNavigate,useOutlet,useParams,useResolvedLocation,useRoutes}from"react-router";let p=h((function({onClick:e,replace:o=!1,state:c,target:i,to:u,...l},f){let h=t(u),d=r(),y=a(),p=n(u);return m("a",Object.assign({},l,{href:h,onClick:function(t){e&&e(t),t.defaultPrevented||0!==t.button||i&&"_self"!==i||t.metaKey||t.altKey||t.ctrlKey||t.shiftKey||(t.preventDefault(),t=!!o||s(y)===s(p),d(u,{replace:t,state:c}))},ref:f,target:i}))})),v=h((function({"aria-current":e="page",activeClassName:t="active",activeStyle:r,caseSensitive:o=!1,className:c="",end:i=!1,style:s,to:u,...l},f){var h=a(),d=n(u);return h=h.pathname,d=d.pathname,o||(h=h.toLowerCase(),d=d.toLowerCase()),e=(o=i?h===d:h.startsWith(d))?e:void 0,t=[c,o?t:null].filter(Boolean).join(" "),m(p,Object.assign({},l,{"aria-current":e,className:t,ref:f,style:{...s,...o?r:null},to:u}))}));function g(e,t=!0){let r=d(t=>{window.confirm(e)&&t.retry()},[e]);o(r,t)}function w(e=""){return new URLSearchParams("string"==typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,r)=>{let a=e[r];return t.concat(Array.isArray(a)?a.map(e=>[r,e]):[[r,a]])},[]))}function R({children:t,window:r}){let a=u();null==a.current&&(a.current=c({window:r}));let n=a.current,[o,i]=l((e,t)=>t,{action:n.action,location:n.location});return f(()=>n.listen(i),[n]),m(e,{children:t,action:o.action,location:o.location,navigator:n})}function L({children:t,window:r}){let a=u();null==a.current&&(a.current=i({window:r}));let n=a.current,[o,c]=l((e,t)=>t,{action:n.action,location:n.location});return f(()=>n.listen(c),[n]),m(e,{children:t,action:o.action,location:o.location,navigator:n})}function P({message:e,when:t}){return g(e,t),null}function k(e){let t=u(w(e)),n=a();e=y(()=>{let e=w(n.search);for(let r of t.current.keys())e.has(r)||t.current.getAll(r).forEach(t=>{e.append(r,t)});return e},[n.search]);let o=r();return[e,d((e,t)=>{o("?"+w(e),t)},[o])]}export{R as BrowserRouter,L as HashRouter,p as Link,v as NavLink,P as Prompt,w as createSearchParams,g as usePrompt,k as useSearchParams};
1
+ import{Router as e,useHref as t,useNavigate as r,useLocation as a,useResolvedPath as n,useBlocker as o}from"react-router";import{createBrowserHistory as c,createHashHistory as i,createPath as s}from"history";import{useRef as l,useReducer as u,useLayoutEffect as f,createElement as h,forwardRef as m,useCallback as y,useMemo as d}from"react";export{MemoryRouter,Navigate,Outlet,Route,Router,Routes,createRoutesFromArray,createRoutesFromChildren,generatePath,matchPath,matchRoutes,resolvePath,useBlocker,useHref,useInRouterContext,useLocation,useMatch,useNavigate,useOutlet,useParams,useResolvedPath,useRoutes}from"react-router";let p=m((function({onClick:e,replace:o=!1,state:c,target:i,to:l,...u},f){let m=t(l),y=r(),d=a(),p=n(l);return h("a",Object.assign({},u,{href:m,onClick:function(t){e&&e(t),t.defaultPrevented||0!==t.button||i&&"_self"!==i||t.metaKey||t.altKey||t.ctrlKey||t.shiftKey||(t.preventDefault(),t=!!o||s(d)===s(p),y(l,{replace:t,state:c}))},ref:f,target:i}))})),v=m((function({"aria-current":e="page",activeClassName:t="active",activeStyle:r,caseSensitive:o=!1,className:c="",end:i=!1,style:s,to:l,...u},f){var m=a(),y=n(l);return m=m.pathname,y=y.pathname,o||(m=m.toLowerCase(),y=y.toLowerCase()),e=(o=i?m===y:m.startsWith(y))?e:void 0,t=[c,o?t:null].filter(Boolean).join(" "),h(p,Object.assign({},u,{"aria-current":e,className:t,ref:f,style:{...s,...o?r:null},to:l}))}));function w(e,t=!0){let r=y(t=>{window.confirm(e)&&t.retry()},[e]);o(r,t)}function g(e=""){return new URLSearchParams("string"==typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,r)=>{let a=e[r];return t.concat(Array.isArray(a)?a.map(e=>[r,e]):[[r,a]])},[]))}function R({children:t,window:r}){let a=l();null==a.current&&(a.current=c({window:r}));let n=a.current,[o,i]=u((e,t)=>t,{action:n.action,location:n.location});return f(()=>n.listen(i),[n]),h(e,{children:t,action:o.action,location:o.location,navigator:n})}function P({children:t,window:r}){let a=l();null==a.current&&(a.current=i({window:r}));let n=a.current,[o,c]=u((e,t)=>t,{action:n.action,location:n.location});return f(()=>n.listen(c),[n]),h(e,{children:t,action:o.action,location:o.location,navigator:n})}function k({message:e,when:t}){return w(e,t),null}function C(e){let t=l(g(e)),n=a();e=d(()=>{let e=g(n.search);for(let r of t.current.keys())e.has(r)||t.current.getAll(r).forEach(t=>{e.append(r,t)});return e},[n.search]);let o=r();return[e,y((e,t)=>{o("?"+g(e),t)},[o])]}export{R as BrowserRouter,P as HashRouter,p as Link,v as NavLink,k as Prompt,g as createSearchParams,w as usePrompt,C as useSearchParams};
2
2
  //# sourceMappingURL=react-router-dom.production.min.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"react-router-dom.production.min.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"react-router-dom.production.min.js","sources":["../../packages/react-router-dom/index.tsx"],"sourcesContent":[null],"names":["event","ref","rest","c","useRef","b"],"mappings":"maAoXKA,mFAyBCC,wmBA8DGC,ylBAvQiBC,EAAwCC,UAE1CD,mUAyFpBE,EAAA"}
package/server.d.ts CHANGED
@@ -1,25 +1,25 @@
1
- import * as React from 'react';
2
- import * as PropTypes from 'prop-types';
3
- import { Path, LocationPieces } from 'history';
4
- /**
5
- * A <Router> that may not transition to any other location. This is useful
6
- * on the server where there is no stateful UI.
7
- */
8
- export declare function StaticRouter({ children, location: loc }: StaticRouterProps): JSX.Element;
9
- export declare namespace StaticRouter {
10
- var displayName: string;
11
- var propTypes: {
12
- children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
13
- location: PropTypes.Requireable<string | PropTypes.InferProps<{
14
- pathname: PropTypes.Requireable<string>;
15
- search: PropTypes.Requireable<string>;
16
- hash: PropTypes.Requireable<string>;
17
- state: PropTypes.Requireable<object>;
18
- key: PropTypes.Requireable<string>;
19
- }>>;
20
- };
21
- }
22
- export interface StaticRouterProps {
23
- children?: React.ReactNode;
24
- location?: Path | LocationPieces;
25
- }
1
+ import * as React from 'react';
2
+ import * as PropTypes from 'prop-types';
3
+ import { PartialLocation } from 'history';
4
+ /**
5
+ * A <Router> that may not transition to any other location. This is useful
6
+ * on the server where there is no stateful UI.
7
+ */
8
+ export declare function StaticRouter({ children, location: loc }: StaticRouterProps): JSX.Element;
9
+ export declare namespace StaticRouter {
10
+ var displayName: string;
11
+ var propTypes: {
12
+ children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
13
+ location: PropTypes.Requireable<string | PropTypes.InferProps<{
14
+ pathname: PropTypes.Requireable<string>;
15
+ search: PropTypes.Requireable<string>;
16
+ hash: PropTypes.Requireable<string>;
17
+ state: PropTypes.Requireable<object>;
18
+ key: PropTypes.Requireable<string>;
19
+ }>>;
20
+ };
21
+ }
22
+ export interface StaticRouterProps {
23
+ children?: React.ReactNode;
24
+ location?: string | PartialLocation;
25
+ }
package/server.js CHANGED
@@ -1,5 +1,5 @@
1
1
  'use strict';Object.defineProperty(exports,"__esModule",{value:!0});var React=require("react"),PropTypes=require("prop-types"),history=require("history"),reactRouterDom=require("react-router-dom");
2
2
  function StaticRouter({children:c,location:b="/"}){"string"===typeof b&&(b=history.parsePath(b));return React.createElement(reactRouterDom.Router,{children:c,action:history.Action.Pop,location:{pathname:b.pathname||"/",search:b.search||"",hash:b.hash||"",state:b.state||null,key:b.key||"default"},navigator:{createHref(a){return"string"===typeof a?a:history.createPath(a)},push(a){throw Error("You cannot use navigator.push() on the server because it is a stateless environment. This error was probably triggered when you did a "+
3
- `\`navigate(${JSON.stringify(a)})\` somewhere in your app.`);},replace(a){throw Error("You cannot use navigator.replace() on the server because it is a stateless environment. This error was probably triggered when you did a "+`\`navigate(${JSON.stringify(a)}, { replace: true })\` somewhere `+"in your app.");},go(a){throw Error(`You cannot use navigator.go(${a}) on the server because it is a stateless`+"environment. This error was probably triggered when you did a "+`\`navigate(${a})\` somewhere in your app.`);
3
+ `\`navigate(${JSON.stringify(a)})\` somewhere in your app.`);},replace(a){throw Error("You cannot use navigator.replace() on the server because it is a stateless environment. This error was probably triggered when you did a "+`\`navigate(${JSON.stringify(a)}, { replace: true })\` somewhere `+"in your app.");},go(a){throw Error("You cannot use navigator.go() on the server because it is a stateless environment. This error was probably triggered when you did a "+`\`navigate(${a})\` somewhere in your app.`);
4
4
  },back(){throw Error("You cannot use navigator.back() on the server because it is a stateless environment.");},forward(){throw Error("You cannot use navigator.forward() on the server because it is a stateless environment.");},block(){throw Error("You cannot use navigator.block() on the server because it is a stateless environment.");}},static:!0})}
5
5
  "production"!==process.env.NODE_ENV&&(StaticRouter.displayName="StaticRouter",StaticRouter.propTypes={children:PropTypes.node,location:PropTypes.oneOfType([PropTypes.string,PropTypes.shape({pathname:PropTypes.string,search:PropTypes.string,hash:PropTypes.string,state:PropTypes.object,key:PropTypes.string})])});exports.StaticRouter=StaticRouter;
package/umd/index.d.ts ADDED
@@ -0,0 +1,111 @@
1
+ import * as React from 'react';
2
+ import PropTypes from 'prop-types';
3
+ import { State, To } from 'history';
4
+ import { MemoryRouter, Navigate, Outlet, Route, Router, Routes, useBlocker, useHref, useInRouterContext, useLocation, useMatch, useNavigate, useOutlet, useParams, useResolvedPath, useRoutes, createRoutesFromArray, createRoutesFromChildren, generatePath, matchRoutes, matchPath, resolvePath } from 'react-router';
5
+ export { MemoryRouter, Navigate, Outlet, Route, Router, Routes, createRoutesFromArray, createRoutesFromChildren, generatePath, matchRoutes, matchPath, resolvePath, useBlocker, useHref, useInRouterContext, useLocation, useMatch, useNavigate, useOutlet, useParams, useResolvedPath, useRoutes };
6
+ /**
7
+ * A <Router> for use in web browsers. Provides the cleanest URLs.
8
+ */
9
+ export declare function BrowserRouter({ children, window }: BrowserRouterProps): JSX.Element;
10
+ export declare namespace BrowserRouter {
11
+ var displayName: string;
12
+ var propTypes: {
13
+ children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
14
+ window: PropTypes.Requireable<object>;
15
+ };
16
+ }
17
+ export interface BrowserRouterProps {
18
+ children?: React.ReactNode;
19
+ window?: Window;
20
+ }
21
+ /**
22
+ * A <Router> for use in web browsers. Stores the location in the hash
23
+ * portion of the URL so it is not sent to the server.
24
+ */
25
+ export declare function HashRouter({ children, window }: HashRouterProps): JSX.Element;
26
+ export declare namespace HashRouter {
27
+ var displayName: string;
28
+ var propTypes: {
29
+ children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
30
+ window: PropTypes.Requireable<object>;
31
+ };
32
+ }
33
+ export interface HashRouterProps {
34
+ children?: React.ReactNode;
35
+ window?: Window;
36
+ }
37
+ /**
38
+ * The public API for rendering a history-aware <a>.
39
+ */
40
+ export declare const Link: React.ForwardRefExoticComponent<LinkProps & React.RefAttributes<HTMLAnchorElement>>;
41
+ export interface LinkProps extends Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'href'> {
42
+ replace?: boolean;
43
+ state?: State;
44
+ to: To;
45
+ }
46
+ /**
47
+ * A <Link> wrapper that knows if it's "active" or not.
48
+ */
49
+ export declare const NavLink: React.ForwardRefExoticComponent<NavLinkProps & React.RefAttributes<HTMLAnchorElement>>;
50
+ export interface NavLinkProps extends LinkProps {
51
+ activeClassName?: string;
52
+ activeStyle?: object;
53
+ caseSensitive?: boolean;
54
+ end?: boolean;
55
+ }
56
+ /**
57
+ * A declarative interface for showing a window.confirm dialog with the given
58
+ * message when the user tries to navigate away from the current page.
59
+ *
60
+ * This also serves as a reference implementation for anyone who wants to
61
+ * create their own custom prompt component.
62
+ */
63
+ export declare function Prompt({ message, when }: PromptProps): null;
64
+ export declare namespace Prompt {
65
+ var displayName: string;
66
+ var propTypes: {
67
+ message: PropTypes.Requireable<string>;
68
+ when: PropTypes.Requireable<boolean>;
69
+ };
70
+ }
71
+ export interface PromptProps {
72
+ message: string;
73
+ when?: boolean;
74
+ }
75
+ /**
76
+ * Prevents navigation away from the current page using a window.confirm prompt
77
+ * with the given message.
78
+ */
79
+ export declare function usePrompt(message: string, when?: boolean): void;
80
+ /**
81
+ * A convenient wrapper for reading and writing search parameters via the
82
+ * URLSearchParams interface.
83
+ */
84
+ export declare function useSearchParams(defaultInit?: URLSearchParamsInit): readonly [URLSearchParams, (nextInit: URLSearchParamsInit, navigateOptions?: {
85
+ replace?: boolean | undefined;
86
+ state?: object | null | undefined;
87
+ } | undefined) => void];
88
+ /**
89
+ * Creates a URLSearchParams object using the given initializer.
90
+ *
91
+ * This is identical to `new URLSearchParams(init)` except it also
92
+ * supports arrays as values in the object form of the initializer
93
+ * instead of just strings. This is convenient when you need multiple
94
+ * values for a given key, but don't want to use an array initializer.
95
+ *
96
+ * For example, instead of:
97
+ *
98
+ * let searchParams = new URLSearchParams([
99
+ * ['sort', 'name'],
100
+ * ['sort', 'price']
101
+ * ]);
102
+ *
103
+ * you can do:
104
+ *
105
+ * let searchParams = createSearchParams({
106
+ * sort: ['name', 'price']
107
+ * });
108
+ */
109
+ export declare function createSearchParams(init?: URLSearchParamsInit): URLSearchParams;
110
+ export declare type ParamKeyValuePair = [string, string];
111
+ export declare type URLSearchParamsInit = string | ParamKeyValuePair[] | Record<string, string | string[]> | URLSearchParams;
@@ -1,37 +1,37 @@
1
- 'use strict';(function(d,m){"object"===typeof exports&&"undefined"!==typeof module?m(exports,require("react"),require("history"),require("react-router")):"function"===typeof define&&define.amd?define(["exports","react","history","react-router"],m):(d=d||self,m(d.ReactRouterDOM={},d.React,d.HistoryLibrary,d.ReactRouter))})(this,function(d,m,x,g){function y(){y=Object.assign||function(a){for(var b=1;b<arguments.length;b++){var c=arguments[b],h;for(h in c)Object.prototype.hasOwnProperty.call(c,h)&&(a[h]=
2
- c[h])}return a};return y.apply(this,arguments)}function M(a,b){if(null==a)return{};var c={},h=Object.keys(a),e;for(e=0;e<h.length;e++){var l=h[e];0<=b.indexOf(l)||(c[l]=a[l])}return c}function S(a,b){if(a){if("string"===typeof a)return N(a,b);var c=Object.prototype.toString.call(a).slice(8,-1);"Object"===c&&a.constructor&&(c=a.constructor.name);if("Map"===c||"Set"===c)return Array.from(c);if("Arguments"===c||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c))return N(a,b)}}function N(a,b){if(null==
3
- b||b>a.length)b=a.length;for(var c=0,h=Array(b);c<b;c++)h[c]=a[c];return h}function T(a){var b=0;if("undefined"===typeof Symbol||null==a[Symbol.iterator]){if(Array.isArray(a)||(a=S(a)))return function(){return b>=a.length?{done:!0}:{done:!1,value:a[b++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}b=a[Symbol.iterator]();return b.next.bind(b)}function E(a,b){return b={exports:{}},a(b,
4
- b.exports),b.exports}function F(a,b,c,h,e){for(var l in a)if(U(a,l)){try{if("function"!==typeof a[l]){var d=Error((h||"React class")+": "+c+" type `"+l+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[l]+"`.");d.name="Invariant Violation";throw d;}var q=a[l](b,l,h,c,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(v){q=v}!q||q instanceof Error||G((h||"React class")+": type specification of "+c+" `"+l+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+
5
- typeof q+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).");if(q instanceof Error&&!(q.message in H)){H[q.message]=!0;var g=e?e():"";G("Failed "+c+" type: "+q.message+(null!=g?g:""))}}}function z(){return null}function V(a,b){if(!a){"undefined"!==typeof console&&console.warn(b);try{throw Error(b);}catch(c){}}}function I(a){var b=a.children;a=a.window;var c=m.useRef();null==c.current&&(c.current=
6
- x.createBrowserHistory({window:a}));var h=c.current;a=m.useReducer(function(a,b){return b},{action:h.action,location:h.location});c=a[0];var e=a[1];m.useLayoutEffect(function(){return h.listen(e)},[h]);return m.createElement(g.Router,{children:b,action:c.action,location:c.location,navigator:h})}function J(a){var b=a.children;a=a.window;var c=m.useRef();null==c.current&&(c.current=x.createHashHistory({window:a}));var h=c.current;a=m.useReducer(function(a,b){return b},{action:h.action,location:h.location});
7
- c=a[0];var e=a[1];m.useLayoutEffect(function(){return h.listen(e)},[h]);return m.createElement(g.Router,{children:b,action:c.action,location:c.location,navigator:h})}function K(a){O(a.message,a.when);return null}function O(a,b){void 0===b&&(b=!0);var c=m.useCallback(function(b){window.confirm(a)&&b.retry()},[a]);g.useBlocker(c,b)}function A(a){void 0===a&&(a="");return new URLSearchParams("string"===typeof a||Array.isArray(a)||a instanceof URLSearchParams?a:Object.keys(a).reduce(function(b,c){var h=
8
- a[c];return b.concat(Array.isArray(h)?h.map(function(a){return[c,a]}):[[c,h]])},[]))}var aa=E(function(a,b){(function(){function a(a){if("object"===typeof a&&null!==a){var b=a.$$typeof;switch(b){case l:switch(a=a.type,a){case f:case u:case g:case m:case k:case B:return a;default:switch(a=a&&a.$$typeof,a){case n:case r:case C:case D:case p:return a;default:return b}}case d:return b}}}function h(f){return a(f)===u}var e="function"===typeof Symbol&&Symbol.for,l=e?Symbol.for("react.element"):60103,d=
9
- e?Symbol.for("react.portal"):60106,g=e?Symbol.for("react.fragment"):60107,k=e?Symbol.for("react.strict_mode"):60108,m=e?Symbol.for("react.profiler"):60114,p=e?Symbol.for("react.provider"):60109,n=e?Symbol.for("react.context"):60110,f=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,r=e?Symbol.for("react.forward_ref"):60112,B=e?Symbol.for("react.suspense"):60113,W=e?Symbol.for("react.suspense_list"):60120,D=e?Symbol.for("react.memo"):60115,C=e?Symbol.for("react.lazy"):
10
- 60116,X=e?Symbol.for("react.block"):60121,Y=e?Symbol.for("react.fundamental"):60117,t=e?Symbol.for("react.responder"):60118,Z=e?Symbol.for("react.scope"):60119,P=!1;b.AsyncMode=f;b.ConcurrentMode=u;b.ContextConsumer=n;b.ContextProvider=p;b.Element=l;b.ForwardRef=r;b.Fragment=g;b.Lazy=C;b.Memo=D;b.Portal=d;b.Profiler=m;b.StrictMode=k;b.Suspense=B;b.isAsyncMode=function(b){P||(P=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API."));
11
- return h(b)||a(b)===f};b.isConcurrentMode=h;b.isContextConsumer=function(f){return a(f)===n};b.isContextProvider=function(f){return a(f)===p};b.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===l};b.isForwardRef=function(f){return a(f)===r};b.isFragment=function(f){return a(f)===g};b.isLazy=function(f){return a(f)===C};b.isMemo=function(f){return a(f)===D};b.isPortal=function(f){return a(f)===d};b.isProfiler=function(f){return a(f)===m};b.isStrictMode=function(f){return a(f)===
12
- k};b.isSuspense=function(f){return a(f)===B};b.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===g||a===u||a===m||a===k||a===B||a===W||"object"===typeof a&&null!==a&&(a.$$typeof===C||a.$$typeof===D||a.$$typeof===p||a.$$typeof===n||a.$$typeof===r||a.$$typeof===Y||a.$$typeof===t||a.$$typeof===Z||a.$$typeof===X)};b.typeOf=a})()}),Q=E(function(a){a.exports=aa}),R=Object.getOwnPropertySymbols,ba=Object.prototype.hasOwnProperty,ca=Object.prototype.propertyIsEnumerable,
13
- da=function(){try{if(!Object.assign)return!1;var a=new String("abc");a[5]="de";if("5"===Object.getOwnPropertyNames(a)[0])return!1;var b={};for(a=0;10>a;a++)b["_"+String.fromCharCode(a)]=a;if("0123456789"!==Object.getOwnPropertyNames(b).map(function(a){return b[a]}).join(""))return!1;var c={};"abcdefghijklmnopqrst".split("").forEach(function(a){c[a]=a});return"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},c)).join("")?!1:!0}catch(h){return!1}}()?Object.assign:function(a,b){if(null===a||void 0===
14
- a)throw new TypeError("Object.assign cannot be called with null or undefined");var c=Object(a);for(var h,e=1;e<arguments.length;e++){var l=Object(arguments[e]);for(var d in l)ba.call(l,d)&&(c[d]=l[d]);if(R){h=R(l);for(var g=0;g<h.length;g++)ca.call(l,h[g])&&(c[h[g]]=l[h[g]])}}return c},G=function(){},H={},U=Function.call.bind(Object.prototype.hasOwnProperty);G=function(a){a="Warning: "+a;"undefined"!==typeof console&&console.error(a);try{throw Error(a);}catch(b){}};F.resetWarningCache=function(){H=
15
- {}};var ea=Function.call.bind(Object.prototype.hasOwnProperty),t=function(){};t=function(a){a="Warning: "+a;"undefined"!==typeof console&&console.error(a);try{throw Error(a);}catch(b){}};var fa=function(a,b){function c(a,b){return a===b?0!==a||1/a===1/b:a!==a&&b!==b}function h(a){this.message=a;this.stack=""}function e(a){function f(f,u,e,r,g,l,k){r=r||"<<anonymous>>";l=l||e;if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==k){if(b)throw f=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"),
16
- f.name="Invariant Violation",f;"undefined"!==typeof console&&(k=r+":"+e,!c[k]&&3>d&&(t("You are manually calling a React.PropTypes validation function for the `"+l+"` prop on `"+r+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),c[k]=!0,d++))}return null==u[e]?f?null===u[e]?new h("The "+g+" `"+l+"` is marked as required in `"+(r+"`, but its value is `null`.")):
17
- new h("The "+g+" `"+l+"` is marked as required in `"+(r+"`, but its value is `undefined`.")):null:a(u,e,r,g,l)}var c={},d=0,e=f.bind(null,!1);e.isRequired=f.bind(null,!0);return e}function d(a){return e(function(f,b,c,e,d,g){f=f[b];return k(f)!==a?(f=m(f),new h("Invalid "+e+" `"+d+"` of type `"+(f+"` supplied to `"+c+"`, expected `")+(a+"`."))):null})}function g(f){switch(typeof f){case "number":case "string":case "undefined":return!0;case "boolean":return!f;case "object":if(Array.isArray(f))return f.every(g);
18
- if(null===f||a(f))return!0;var b=f&&(p&&f[p]||f["@@iterator"]);var c="function"===typeof b?b:void 0;if(c)if(b=c.call(f),c!==f.entries)for(;!(f=b.next()).done;){if(!g(f.value))return!1}else for(;!(f=b.next()).done;){if((f=f.value)&&!g(f[1]))return!1}else return!1;return!0;default:return!1}}function k(a){var f=typeof a;return Array.isArray(a)?"array":a instanceof RegExp?"object":"symbol"===f||a&&("Symbol"===a["@@toStringTag"]||"function"===typeof Symbol&&a instanceof Symbol)?"symbol":f}function m(a){if("undefined"===
19
- typeof a||null===a)return""+a;var b=k(a);if("object"===b){if(a instanceof Date)return"date";if(a instanceof RegExp)return"regexp"}return b}function v(a){a=m(a);switch(a){case "array":case "object":return"an "+a;case "boolean":case "date":case "regexp":return"a "+a;default:return a}}var p="function"===typeof Symbol&&Symbol.iterator,n={array:d("array"),bool:d("boolean"),func:d("function"),number:d("number"),object:d("object"),string:d("string"),symbol:d("symbol"),any:e(z),arrayOf:function(a){return e(function(b,
20
- f,c,e,d){if("function"!==typeof a)return new h("Property `"+d+"` of component `"+c+"` has invalid PropType notation inside arrayOf.");b=b[f];if(!Array.isArray(b))return b=k(b),new h("Invalid "+e+" `"+d+"` of type `"+(b+"` supplied to `"+c+"`, expected an array."));for(f=0;f<b.length;f++){var g=a(b,f,c,e,d+"["+f+"]","SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");if(g instanceof Error)return g}return null})},element:function(){return e(function(b,c,e,d,g){b=b[c];return a(b)?null:(b=k(b),new h("Invalid "+
21
- d+" `"+g+"` of type `"+(b+"` supplied to `"+e+"`, expected a single ReactElement.")))})}(),elementType:function(){return e(function(a,b,c,e,d){a=a[b];return Q.isValidElementType(a)?null:(a=k(a),new h("Invalid "+e+" `"+d+"` of type `"+(a+"` supplied to `"+c+"`, expected a single ReactElement type.")))})}(),instanceOf:function(a){return e(function(b,f,c,e,d){if(!(b[f]instanceof a)){var g=a.name||"<<anonymous>>";b=b[f];b=b.constructor&&b.constructor.name?b.constructor.name:"<<anonymous>>";return new h("Invalid "+
22
- e+" `"+d+"` of type `"+(b+"` supplied to `"+c+"`, expected instance of `")+(g+"`."))}return null})},node:function(){return e(function(a,b,c,e,d){return g(a[b])?null:new h("Invalid "+e+" `"+d+"` supplied to `"+(c+"`, expected a ReactNode."))})}(),objectOf:function(a){return e(function(b,c,f,e,d){if("function"!==typeof a)return new h("Property `"+d+"` of component `"+f+"` has invalid PropType notation inside objectOf.");b=b[c];c=k(b);if("object"!==c)return new h("Invalid "+e+" `"+d+"` of type `"+(c+
23
- "` supplied to `"+f+"`, expected an object."));for(var g in b)if(ea(b,g)&&(c=a(b,g,f,e,d+"."+g,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"),c instanceof Error))return c;return null})},oneOf:function(a){return Array.isArray(a)?e(function(b,f,e,d,g){b=b[f];for(f=0;f<a.length;f++)if(c(b,a[f]))return null;f=JSON.stringify(a,function(a,b){return"symbol"===m(b)?String(b):b});return new h("Invalid "+d+" `"+g+"` of value `"+String(b)+"` supplied to `"+(e+"`, expected one of "+f+"."))}):(1<arguments.length?
1
+ 'use strict';(function(d,m){"object"===typeof exports&&"undefined"!==typeof module?m(exports,require("react"),require("history"),require("react-router")):"function"===typeof define&&define.amd?define(["exports","react","history","react-router"],m):(d=d||self,m(d.ReactRouterDOM={},d.React,d.HistoryLibrary,d.ReactRouter))})(this,function(d,m,x,k){function y(){y=Object.assign||function(a){for(var b=1;b<arguments.length;b++){var c=arguments[b],l;for(l in c)Object.prototype.hasOwnProperty.call(c,l)&&(a[l]=
2
+ c[l])}return a};return y.apply(this,arguments)}function M(a,b){if(null==a)return{};var c={},l=Object.keys(a),e;for(e=0;e<l.length;e++){var g=l[e];0<=b.indexOf(g)||(c[g]=a[g])}return c}function S(a,b){if(a){if("string"===typeof a)return N(a,b);var c=Object.prototype.toString.call(a).slice(8,-1);"Object"===c&&a.constructor&&(c=a.constructor.name);if("Map"===c||"Set"===c)return Array.from(c);if("Arguments"===c||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c))return N(a,b)}}function N(a,b){if(null==
3
+ b||b>a.length)b=a.length;for(var c=0,l=Array(b);c<b;c++)l[c]=a[c];return l}function T(a){var b=0;if("undefined"===typeof Symbol||null==a[Symbol.iterator]){if(Array.isArray(a)||(a=S(a)))return function(){return b>=a.length?{done:!0}:{done:!1,value:a[b++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}b=a[Symbol.iterator]();return b.next.bind(b)}function E(a,b){return b={exports:{}},a(b,
4
+ b.exports),b.exports}function F(a,b,c,l,e){for(var g in a)if(U(a,g)){try{if("function"!==typeof a[g]){var d=Error((l||"React class")+": "+c+" type `"+g+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[g]+"`.");d.name="Invariant Violation";throw d;}var q=a[g](b,g,l,c,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(v){q=v}!q||q instanceof Error||G((l||"React class")+": type specification of "+c+" `"+g+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+
5
+ typeof q+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).");if(q instanceof Error&&!(q.message in H)){H[q.message]=!0;var k=e?e():"";G("Failed "+c+" type: "+q.message+(null!=k?k:""))}}}function z(){return null}function V(a,b){if(!a){"undefined"!==typeof console&&console.warn(b);try{throw Error(b);}catch(c){}}}function I(a){var b=a.children;a=a.window;var c=m.useRef();null==c.current&&(c.current=
6
+ x.createBrowserHistory({window:a}));var l=c.current;a=m.useReducer(function(a,b){return b},{action:l.action,location:l.location});c=a[0];var e=a[1];m.useLayoutEffect(function(){return l.listen(e)},[l]);return m.createElement(k.Router,{children:b,action:c.action,location:c.location,navigator:l})}function J(a){var b=a.children;a=a.window;var c=m.useRef();null==c.current&&(c.current=x.createHashHistory({window:a}));var l=c.current;a=m.useReducer(function(a,b){return b},{action:l.action,location:l.location});
7
+ c=a[0];var e=a[1];m.useLayoutEffect(function(){return l.listen(e)},[l]);return m.createElement(k.Router,{children:b,action:c.action,location:c.location,navigator:l})}function K(a){O(a.message,a.when);return null}function O(a,b){void 0===b&&(b=!0);var c=m.useCallback(function(b){window.confirm(a)&&b.retry()},[a]);k.useBlocker(c,b)}function A(a){void 0===a&&(a="");return new URLSearchParams("string"===typeof a||Array.isArray(a)||a instanceof URLSearchParams?a:Object.keys(a).reduce(function(b,c){var l=
8
+ a[c];return b.concat(Array.isArray(l)?l.map(function(a){return[c,a]}):[[c,l]])},[]))}var aa=E(function(a,b){(function(){function a(a){if("object"===typeof a&&null!==a){var b=a.$$typeof;switch(b){case g:switch(a=a.type,a){case f:case u:case k:case m:case h:case B:return a;default:switch(a=a&&a.$$typeof,a){case n:case r:case C:case D:case p:return a;default:return b}}case d:return b}}}function l(f){return a(f)===u}var e="function"===typeof Symbol&&Symbol.for,g=e?Symbol.for("react.element"):60103,d=
9
+ e?Symbol.for("react.portal"):60106,k=e?Symbol.for("react.fragment"):60107,h=e?Symbol.for("react.strict_mode"):60108,m=e?Symbol.for("react.profiler"):60114,p=e?Symbol.for("react.provider"):60109,n=e?Symbol.for("react.context"):60110,f=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,r=e?Symbol.for("react.forward_ref"):60112,B=e?Symbol.for("react.suspense"):60113,W=e?Symbol.for("react.suspense_list"):60120,D=e?Symbol.for("react.memo"):60115,C=e?Symbol.for("react.lazy"):
10
+ 60116,X=e?Symbol.for("react.block"):60121,Y=e?Symbol.for("react.fundamental"):60117,t=e?Symbol.for("react.responder"):60118,Z=e?Symbol.for("react.scope"):60119,P=!1;b.AsyncMode=f;b.ConcurrentMode=u;b.ContextConsumer=n;b.ContextProvider=p;b.Element=g;b.ForwardRef=r;b.Fragment=k;b.Lazy=C;b.Memo=D;b.Portal=d;b.Profiler=m;b.StrictMode=h;b.Suspense=B;b.isAsyncMode=function(b){P||(P=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API."));
11
+ return l(b)||a(b)===f};b.isConcurrentMode=l;b.isContextConsumer=function(f){return a(f)===n};b.isContextProvider=function(f){return a(f)===p};b.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===g};b.isForwardRef=function(f){return a(f)===r};b.isFragment=function(f){return a(f)===k};b.isLazy=function(f){return a(f)===C};b.isMemo=function(f){return a(f)===D};b.isPortal=function(f){return a(f)===d};b.isProfiler=function(f){return a(f)===m};b.isStrictMode=function(f){return a(f)===
12
+ h};b.isSuspense=function(f){return a(f)===B};b.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===k||a===u||a===m||a===h||a===B||a===W||"object"===typeof a&&null!==a&&(a.$$typeof===C||a.$$typeof===D||a.$$typeof===p||a.$$typeof===n||a.$$typeof===r||a.$$typeof===Y||a.$$typeof===t||a.$$typeof===Z||a.$$typeof===X)};b.typeOf=a})()}),Q=E(function(a){a.exports=aa}),R=Object.getOwnPropertySymbols,ba=Object.prototype.hasOwnProperty,ca=Object.prototype.propertyIsEnumerable,
13
+ da=function(){try{if(!Object.assign)return!1;var a=new String("abc");a[5]="de";if("5"===Object.getOwnPropertyNames(a)[0])return!1;var b={};for(a=0;10>a;a++)b["_"+String.fromCharCode(a)]=a;if("0123456789"!==Object.getOwnPropertyNames(b).map(function(a){return b[a]}).join(""))return!1;var c={};"abcdefghijklmnopqrst".split("").forEach(function(a){c[a]=a});return"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},c)).join("")?!1:!0}catch(l){return!1}}()?Object.assign:function(a,b){if(null===a||void 0===
14
+ a)throw new TypeError("Object.assign cannot be called with null or undefined");var c=Object(a);for(var l,e=1;e<arguments.length;e++){var g=Object(arguments[e]);for(var d in g)ba.call(g,d)&&(c[d]=g[d]);if(R){l=R(g);for(var k=0;k<l.length;k++)ca.call(g,l[k])&&(c[l[k]]=g[l[k]])}}return c},G=function(){},H={},U=Function.call.bind(Object.prototype.hasOwnProperty);G=function(a){a="Warning: "+a;"undefined"!==typeof console&&console.error(a);try{throw Error(a);}catch(b){}};F.resetWarningCache=function(){H=
15
+ {}};var ea=Function.call.bind(Object.prototype.hasOwnProperty),t=function(){};t=function(a){a="Warning: "+a;"undefined"!==typeof console&&console.error(a);try{throw Error(a);}catch(b){}};var fa=function(a,b){function c(a,b){return a===b?0!==a||1/a===1/b:a!==a&&b!==b}function l(a){this.message=a;this.stack=""}function e(a){function f(f,u,e,r,d,g,h){r=r||"<<anonymous>>";g=g||e;if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==h){if(b)throw f=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"),
16
+ f.name="Invariant Violation",f;"undefined"!==typeof console&&(h=r+":"+e,!c[h]&&3>k&&(t("You are manually calling a React.PropTypes validation function for the `"+g+"` prop on `"+r+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),c[h]=!0,k++))}return null==u[e]?f?null===u[e]?new l("The "+d+" `"+g+"` is marked as required in `"+(r+"`, but its value is `null`.")):
17
+ new l("The "+d+" `"+g+"` is marked as required in `"+(r+"`, but its value is `undefined`.")):null:a(u,e,r,d,g)}var c={},k=0,e=f.bind(null,!1);e.isRequired=f.bind(null,!0);return e}function g(a){return e(function(f,b,c,e,d,g){f=f[b];return k(f)!==a?(f=h(f),new l("Invalid "+e+" `"+d+"` of type `"+(f+"` supplied to `"+c+"`, expected `")+(a+"`."))):null})}function d(f){switch(typeof f){case "number":case "string":case "undefined":return!0;case "boolean":return!f;case "object":if(Array.isArray(f))return f.every(d);
18
+ if(null===f||a(f))return!0;var b=f&&(p&&f[p]||f["@@iterator"]);var c="function"===typeof b?b:void 0;if(c)if(b=c.call(f),c!==f.entries)for(;!(f=b.next()).done;){if(!d(f.value))return!1}else for(;!(f=b.next()).done;){if((f=f.value)&&!d(f[1]))return!1}else return!1;return!0;default:return!1}}function k(a){var f=typeof a;return Array.isArray(a)?"array":a instanceof RegExp?"object":"symbol"===f||a&&("Symbol"===a["@@toStringTag"]||"function"===typeof Symbol&&a instanceof Symbol)?"symbol":f}function h(a){if("undefined"===
19
+ typeof a||null===a)return""+a;var b=k(a);if("object"===b){if(a instanceof Date)return"date";if(a instanceof RegExp)return"regexp"}return b}function m(a){a=h(a);switch(a){case "array":case "object":return"an "+a;case "boolean":case "date":case "regexp":return"a "+a;default:return a}}var p="function"===typeof Symbol&&Symbol.iterator,n={array:g("array"),bool:g("boolean"),func:g("function"),number:g("number"),object:g("object"),string:g("string"),symbol:g("symbol"),any:e(z),arrayOf:function(a){return e(function(b,
20
+ f,c,e,d){if("function"!==typeof a)return new l("Property `"+d+"` of component `"+c+"` has invalid PropType notation inside arrayOf.");b=b[f];if(!Array.isArray(b))return b=k(b),new l("Invalid "+e+" `"+d+"` of type `"+(b+"` supplied to `"+c+"`, expected an array."));for(f=0;f<b.length;f++){var g=a(b,f,c,e,d+"["+f+"]","SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");if(g instanceof Error)return g}return null})},element:function(){return e(function(b,c,e,d,g){b=b[c];return a(b)?null:(b=k(b),new l("Invalid "+
21
+ d+" `"+g+"` of type `"+(b+"` supplied to `"+e+"`, expected a single ReactElement.")))})}(),elementType:function(){return e(function(a,b,c,e,d){a=a[b];return Q.isValidElementType(a)?null:(a=k(a),new l("Invalid "+e+" `"+d+"` of type `"+(a+"` supplied to `"+c+"`, expected a single ReactElement type.")))})}(),instanceOf:function(a){return e(function(b,f,c,e,d){if(!(b[f]instanceof a)){var g=a.name||"<<anonymous>>";b=b[f];b=b.constructor&&b.constructor.name?b.constructor.name:"<<anonymous>>";return new l("Invalid "+
22
+ e+" `"+d+"` of type `"+(b+"` supplied to `"+c+"`, expected instance of `")+(g+"`."))}return null})},node:function(){return e(function(a,b,c,e,g){return d(a[b])?null:new l("Invalid "+e+" `"+g+"` supplied to `"+(c+"`, expected a ReactNode."))})}(),objectOf:function(a){return e(function(b,c,f,e,d){if("function"!==typeof a)return new l("Property `"+d+"` of component `"+f+"` has invalid PropType notation inside objectOf.");b=b[c];c=k(b);if("object"!==c)return new l("Invalid "+e+" `"+d+"` of type `"+(c+
23
+ "` supplied to `"+f+"`, expected an object."));for(var g in b)if(ea(b,g)&&(c=a(b,g,f,e,d+"."+g,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"),c instanceof Error))return c;return null})},oneOf:function(a){return Array.isArray(a)?e(function(b,f,e,d,g){b=b[f];for(f=0;f<a.length;f++)if(c(b,a[f]))return null;f=JSON.stringify(a,function(a,b){return"symbol"===h(b)?String(b):b});return new l("Invalid "+d+" `"+g+"` of value `"+String(b)+"` supplied to `"+(e+"`, expected one of "+f+"."))}):(1<arguments.length?
24
24
  t("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):t("Invalid argument supplied to oneOf, expected an array."),z)},oneOfType:function(a){if(!Array.isArray(a))return t("Invalid argument supplied to oneOfType, expected an instance of array."),z;for(var b=0;b<a.length;b++){var c=a[b];if("function"!==typeof c)return t("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+
25
- v(c)+" at index "+b+"."),z}return e(function(b,c,f,e,d){for(var g=0;g<a.length;g++)if(null==(0,a[g])(b,c,f,e,d,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"))return null;return new h("Invalid "+e+" `"+d+"` supplied to `"+(f+"`."))})},shape:function(a){return e(function(b,c,f,e,d){b=b[c];c=k(b);if("object"!==c)return new h("Invalid "+e+" `"+d+"` of type `"+c+"` supplied to `"+(f+"`, expected `object`."));for(var g in a)if(c=a[g])if(c=c(b,g,f,e,d+"."+g,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"))return c;
26
- return null})},exact:function(a){return e(function(b,c,f,e,d){var g=b[c],l=k(g);if("object"!==l)return new h("Invalid "+e+" `"+d+"` of type `"+l+"` supplied to `"+(f+"`, expected `object`."));l=da({},b[c],a);for(var m in l){l=a[m];if(!l)return new h("Invalid "+e+" `"+d+"` key `"+m+"` supplied to `"+f+"`.\nBad object: "+JSON.stringify(b[c],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(a),null," "));if(l=l(g,m,f,e,d+"."+m,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"))return l}return null})}};
27
- h.prototype=Error.prototype;n.checkPropTypes=F;n.resetWarningCache=F.resetWarningCache;return n.PropTypes=n},k=E(function(a){a.exports=fa(Q.isElement,!0)});I.displayName="BrowserRouter";I.propTypes={children:k.node,window:k.object};J.displayName="HashRouter";J.propTypes={children:k.node,window:k.object};var w=m.forwardRef(function(a,b){var c=a.onClick,d=a.replace,e=void 0===d?!1:d,l=a.state,k=a.target,q=a.to;a=M(a,["onClick","replace","state","target","to"]);d=g.useHref(q);var t=g.useNavigate(),v=
28
- g.useLocation(),p=g.useResolvedLocation(q);return m.createElement("a",Object.assign({},a,{href:d,onClick:function(a){c&&c(a);a.defaultPrevented||0!==a.button||k&&"_self"!==k||a.metaKey||a.altKey||a.ctrlKey||a.shiftKey||(a.preventDefault(),a=!!e||x.createPath(v)===x.createPath(p),t(q,{replace:a,state:l}))},ref:b,target:k}))});w.displayName="Link";w.propTypes={onClick:k.func,replace:k.bool,state:k.object,target:k.string,to:k.oneOfType([k.string,k.shape({pathname:k.string,search:k.string,hash:k.string})]).isRequired};
29
- var L=m.forwardRef(function(a,b){var c=a["aria-current"],d=void 0===c?"page":c;c=a.activeClassName;var e=void 0===c?"active":c;c=a.activeStyle;var l=a.caseSensitive,k=void 0===l?!1:l;l=a.className;var q=void 0===l?"":l;l=a.end;var t=void 0===l?!1:l,v=a.style;l=a.to;a=M(a,"aria-current activeClassName activeStyle caseSensitive className end style to".split(" "));var p=g.useLocation(),n=g.useResolvedLocation(l);p=p.pathname;n=n.pathname;k||(p=p.toLowerCase(),n=n.toLowerCase());d=(k=t?p===n:p.startsWith(n))?
30
- d:void 0;e=[q,k?e:null].filter(Boolean).join(" ");c=y({},v,{},k?c:null);return m.createElement(w,Object.assign({},a,{"aria-current":d,className:e,ref:b,style:c,to:l}))});L.displayName="NavLink";L.propTypes=y({},w.propTypes,{"aria-current":k.oneOf("page step location date time true".split(" ")),activeClassName:k.string,activeStyle:k.object,className:k.string,style:k.object,to:k.oneOfType([k.string,k.shape({pathname:k.string,search:k.string,hash:k.string})]).isRequired});K.displayName="Prompt";K.propTypes=
31
- {message:k.string,when:k.bool};Object.defineProperty(d,"MemoryRouter",{enumerable:!0,get:function(){return g.MemoryRouter}});Object.defineProperty(d,"Navigate",{enumerable:!0,get:function(){return g.Navigate}});Object.defineProperty(d,"Outlet",{enumerable:!0,get:function(){return g.Outlet}});Object.defineProperty(d,"Route",{enumerable:!0,get:function(){return g.Route}});Object.defineProperty(d,"Router",{enumerable:!0,get:function(){return g.Router}});Object.defineProperty(d,"Routes",{enumerable:!0,
32
- get:function(){return g.Routes}});Object.defineProperty(d,"createRoutesFromArray",{enumerable:!0,get:function(){return g.createRoutesFromArray}});Object.defineProperty(d,"createRoutesFromChildren",{enumerable:!0,get:function(){return g.createRoutesFromChildren}});Object.defineProperty(d,"generatePath",{enumerable:!0,get:function(){return g.generatePath}});Object.defineProperty(d,"matchPath",{enumerable:!0,get:function(){return g.matchPath}});Object.defineProperty(d,"matchRoutes",{enumerable:!0,get:function(){return g.matchRoutes}});
33
- Object.defineProperty(d,"resolveLocation",{enumerable:!0,get:function(){return g.resolveLocation}});Object.defineProperty(d,"useBlocker",{enumerable:!0,get:function(){return g.useBlocker}});Object.defineProperty(d,"useHref",{enumerable:!0,get:function(){return g.useHref}});Object.defineProperty(d,"useInRouterContext",{enumerable:!0,get:function(){return g.useInRouterContext}});Object.defineProperty(d,"useLocation",{enumerable:!0,get:function(){return g.useLocation}});Object.defineProperty(d,"useLocationPending",
34
- {enumerable:!0,get:function(){return g.useLocationPending}});Object.defineProperty(d,"useMatch",{enumerable:!0,get:function(){return g.useMatch}});Object.defineProperty(d,"useNavigate",{enumerable:!0,get:function(){return g.useNavigate}});Object.defineProperty(d,"useOutlet",{enumerable:!0,get:function(){return g.useOutlet}});Object.defineProperty(d,"useParams",{enumerable:!0,get:function(){return g.useParams}});Object.defineProperty(d,"useResolvedLocation",{enumerable:!0,get:function(){return g.useResolvedLocation}});
35
- Object.defineProperty(d,"useRoutes",{enumerable:!0,get:function(){return g.useRoutes}});d.BrowserRouter=I;d.HashRouter=J;d.Link=w;d.NavLink=L;d.Prompt=K;d.createSearchParams=A;d.usePrompt=O;d.useSearchParams=function(a){V("undefined"!==typeof URLSearchParams,"You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params\n\nIf you're unsure how to load polyfills, we recommend you check out https://polyfill.io/v3/ which provides some recommendations about how to load polyfills only for users that need them, instead of for every user.");
36
- var b=m.useRef(A(a)),c=g.useLocation();a=m.useMemo(function(){for(var a=A(c.search),d=function(){var c=g.value;a.has(c)||b.current.getAll(c).forEach(function(b){a.append(c,b)})},e=T(b.current.keys()),g;!(g=e()).done;)d();return a},[c.search]);var d=g.useNavigate(),e=m.useCallback(function(a,b){d("?"+A(a),b)},[d]);return[a,e]};Object.defineProperty(d,"__esModule",{value:!0})});
25
+ m(c)+" at index "+b+"."),z}return e(function(b,c,f,e,d){for(var g=0;g<a.length;g++)if(null==(0,a[g])(b,c,f,e,d,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"))return null;return new l("Invalid "+e+" `"+d+"` supplied to `"+(f+"`."))})},shape:function(a){return e(function(b,c,f,e,d){b=b[c];c=k(b);if("object"!==c)return new l("Invalid "+e+" `"+d+"` of type `"+c+"` supplied to `"+(f+"`, expected `object`."));for(var g in a)if(c=a[g])if(c=c(b,g,f,e,d+"."+g,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"))return c;
26
+ return null})},exact:function(a){return e(function(b,c,f,e,d){var g=b[c],h=k(g);if("object"!==h)return new l("Invalid "+e+" `"+d+"` of type `"+h+"` supplied to `"+(f+"`, expected `object`."));h=da({},b[c],a);for(var m in h){h=a[m];if(!h)return new l("Invalid "+e+" `"+d+"` key `"+m+"` supplied to `"+f+"`.\nBad object: "+JSON.stringify(b[c],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(a),null," "));if(h=h(g,m,f,e,d+"."+m,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"))return h}return null})}};
27
+ l.prototype=Error.prototype;n.checkPropTypes=F;n.resetWarningCache=F.resetWarningCache;return n.PropTypes=n},h=E(function(a){a.exports=fa(Q.isElement,!0)});I.displayName="BrowserRouter";I.propTypes={children:h.node,window:h.object};J.displayName="HashRouter";J.propTypes={children:h.node,window:h.object};var w=m.forwardRef(function(a,b){var c=a.onClick,d=a.replace,e=void 0===d?!1:d,g=a.state,h=a.target,q=a.to;a=M(a,["onClick","replace","state","target","to"]);d=k.useHref(q);var t=k.useNavigate(),v=
28
+ k.useLocation(),p=k.useResolvedPath(q);return m.createElement("a",Object.assign({},a,{href:d,onClick:function(a){c&&c(a);a.defaultPrevented||0!==a.button||h&&"_self"!==h||a.metaKey||a.altKey||a.ctrlKey||a.shiftKey||(a.preventDefault(),a=!!e||x.createPath(v)===x.createPath(p),t(q,{replace:a,state:g}))},ref:b,target:h}))});w.displayName="Link";w.propTypes={onClick:h.func,replace:h.bool,state:h.object,target:h.string,to:h.oneOfType([h.string,h.shape({pathname:h.string,search:h.string,hash:h.string})]).isRequired};
29
+ var L=m.forwardRef(function(a,b){var c=a["aria-current"],d=void 0===c?"page":c;c=a.activeClassName;var e=void 0===c?"active":c;c=a.activeStyle;var g=a.caseSensitive,h=void 0===g?!1:g;g=a.className;var q=void 0===g?"":g;g=a.end;var t=void 0===g?!1:g,v=a.style;g=a.to;a=M(a,"aria-current activeClassName activeStyle caseSensitive className end style to".split(" "));var p=k.useLocation(),n=k.useResolvedPath(g);p=p.pathname;n=n.pathname;h||(p=p.toLowerCase(),n=n.toLowerCase());d=(h=t?p===n:p.startsWith(n))?
30
+ d:void 0;e=[q,h?e:null].filter(Boolean).join(" ");c=y({},v,{},h?c:null);return m.createElement(w,Object.assign({},a,{"aria-current":d,className:e,ref:b,style:c,to:g}))});L.displayName="NavLink";L.propTypes=y({},w.propTypes,{"aria-current":h.oneOf("page step location date time true".split(" ")),activeClassName:h.string,activeStyle:h.object,className:h.string,style:h.object,to:h.oneOfType([h.string,h.shape({pathname:h.string,search:h.string,hash:h.string})]).isRequired});K.displayName="Prompt";K.propTypes=
31
+ {message:h.string,when:h.bool};Object.defineProperty(d,"MemoryRouter",{enumerable:!0,get:function(){return k.MemoryRouter}});Object.defineProperty(d,"Navigate",{enumerable:!0,get:function(){return k.Navigate}});Object.defineProperty(d,"Outlet",{enumerable:!0,get:function(){return k.Outlet}});Object.defineProperty(d,"Route",{enumerable:!0,get:function(){return k.Route}});Object.defineProperty(d,"Router",{enumerable:!0,get:function(){return k.Router}});Object.defineProperty(d,"Routes",{enumerable:!0,
32
+ get:function(){return k.Routes}});Object.defineProperty(d,"createRoutesFromArray",{enumerable:!0,get:function(){return k.createRoutesFromArray}});Object.defineProperty(d,"createRoutesFromChildren",{enumerable:!0,get:function(){return k.createRoutesFromChildren}});Object.defineProperty(d,"generatePath",{enumerable:!0,get:function(){return k.generatePath}});Object.defineProperty(d,"matchPath",{enumerable:!0,get:function(){return k.matchPath}});Object.defineProperty(d,"matchRoutes",{enumerable:!0,get:function(){return k.matchRoutes}});
33
+ Object.defineProperty(d,"resolvePath",{enumerable:!0,get:function(){return k.resolvePath}});Object.defineProperty(d,"useBlocker",{enumerable:!0,get:function(){return k.useBlocker}});Object.defineProperty(d,"useHref",{enumerable:!0,get:function(){return k.useHref}});Object.defineProperty(d,"useInRouterContext",{enumerable:!0,get:function(){return k.useInRouterContext}});Object.defineProperty(d,"useLocation",{enumerable:!0,get:function(){return k.useLocation}});Object.defineProperty(d,"useMatch",{enumerable:!0,
34
+ get:function(){return k.useMatch}});Object.defineProperty(d,"useNavigate",{enumerable:!0,get:function(){return k.useNavigate}});Object.defineProperty(d,"useOutlet",{enumerable:!0,get:function(){return k.useOutlet}});Object.defineProperty(d,"useParams",{enumerable:!0,get:function(){return k.useParams}});Object.defineProperty(d,"useResolvedPath",{enumerable:!0,get:function(){return k.useResolvedPath}});Object.defineProperty(d,"useRoutes",{enumerable:!0,get:function(){return k.useRoutes}});d.BrowserRouter=
35
+ I;d.HashRouter=J;d.Link=w;d.NavLink=L;d.Prompt=K;d.createSearchParams=A;d.usePrompt=O;d.useSearchParams=function(a){V("undefined"!==typeof URLSearchParams,"You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params\n\nIf you're unsure how to load polyfills, we recommend you check out https://polyfill.io/v3/ which provides some recommendations about how to load polyfills only for users that need them, instead of for every user.");
36
+ var b=m.useRef(A(a)),c=k.useLocation();a=m.useMemo(function(){for(var a=A(c.search),d=function(){var c=h.value;a.has(c)||b.current.getAll(c).forEach(function(b){a.append(c,b)})},e=T(b.current.keys()),h;!(h=e()).done;)d();return a},[c.search]);var d=k.useNavigate(),e=m.useCallback(function(a,b){d("?"+A(a),b)},[d]);return[a,e]};Object.defineProperty(d,"__esModule",{value:!0})});
37
37
  //# sourceMappingURL=react-router-dom.development.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"react-router-dom.development.js","sources":["../../../node_modules/prop-types/checkPropTypes.js","../../../node_modules/prop-types/lib/ReactPropTypesSecret.js","../../../node_modules/prop-types/factoryWithTypeCheckers.js","../../../node_modules/react-is/cjs/react-is.development.js","../../../node_modules/react-is/index.js","../../../node_modules/object-assign/index.js","../../../node_modules/prop-types/index.js"],"sourcesContent":["/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar printWarning = function() {};\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n var loggedTypeFailures = {};\n var has = Function.call.bind(Object.prototype.hasOwnProperty);\n\n printWarning = function(text) {\n var message = 'Warning: ' + text;\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n };\n}\n\n/**\n * Assert that the values match with the type specs.\n * Error messages are memorized and will only be shown once.\n *\n * @param {object} typeSpecs Map of name to a ReactPropType\n * @param {object} values Runtime values that need to be type-checked\n * @param {string} location e.g. \"prop\", \"context\", \"child context\"\n * @param {string} componentName Name of the component for error messages.\n * @param {?Function} getStack Returns the component stack.\n * @private\n */\nfunction checkPropTypes(typeSpecs, values, location, componentName, getStack) {\n if (process.env.NODE_ENV !== 'production') {\n for (var typeSpecName in typeSpecs) {\n if (has(typeSpecs, typeSpecName)) {\n var error;\n // Prop type validation may throw. In case they do, we don't want to\n // fail the render phase where it didn't fail before. So we log it.\n // After these have been cleaned up, we'll let them throw.\n try {\n // This is intentionally an invariant that gets caught. It's the same\n // behavior as without this statement except with a better message.\n if (typeof typeSpecs[typeSpecName] !== 'function') {\n var err = Error(\n (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +\n 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.'\n );\n err.name = 'Invariant Violation';\n throw err;\n }\n error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);\n } catch (ex) {\n error = ex;\n }\n if (error && !(error instanceof Error)) {\n printWarning(\n (componentName || 'React class') + ': type specification of ' +\n location + ' `' + typeSpecName + '` is invalid; the type checker ' +\n 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +\n 'You may have forgotten to pass an argument to the type checker ' +\n 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +\n 'shape all require an argument).'\n );\n }\n if (error instanceof Error && !(error.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error.message] = true;\n\n var stack = getStack ? getStack() : '';\n\n printWarning(\n 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')\n );\n }\n }\n }\n }\n}\n\n/**\n * Resets warning cache when testing.\n *\n * @private\n */\ncheckPropTypes.resetWarningCache = function() {\n if (process.env.NODE_ENV !== 'production') {\n loggedTypeFailures = {};\n }\n}\n\nmodule.exports = checkPropTypes;\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactIs = require('react-is');\nvar assign = require('object-assign');\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\nvar checkPropTypes = require('./checkPropTypes');\n\nvar has = Function.call.bind(Object.prototype.hasOwnProperty);\nvar printWarning = function() {};\n\nif (process.env.NODE_ENV !== 'production') {\n printWarning = function(text) {\n var message = 'Warning: ' + text;\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n };\n}\n\nfunction emptyFunctionThatReturnsNull() {\n return null;\n}\n\nmodule.exports = function(isValidElement, throwOnDirectAccess) {\n /* global Symbol */\n var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;\n var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.\n\n /**\n * Returns the iterator method function contained on the iterable object.\n *\n * Be sure to invoke the function with the iterable as context:\n *\n * var iteratorFn = getIteratorFn(myIterable);\n * if (iteratorFn) {\n * var iterator = iteratorFn.call(myIterable);\n * ...\n * }\n *\n * @param {?object} maybeIterable\n * @return {?function}\n */\n function getIteratorFn(maybeIterable) {\n var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);\n if (typeof iteratorFn === 'function') {\n return iteratorFn;\n }\n }\n\n /**\n * Collection of methods that allow declaration and validation of props that are\n * supplied to React components. Example usage:\n *\n * var Props = require('ReactPropTypes');\n * var MyArticle = React.createClass({\n * propTypes: {\n * // An optional string prop named \"description\".\n * description: Props.string,\n *\n * // A required enum prop named \"category\".\n * category: Props.oneOf(['News','Photos']).isRequired,\n *\n * // A prop named \"dialog\" that requires an instance of Dialog.\n * dialog: Props.instanceOf(Dialog).isRequired\n * },\n * render: function() { ... }\n * });\n *\n * A more formal specification of how these methods are used:\n *\n * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)\n * decl := ReactPropTypes.{type}(.isRequired)?\n *\n * Each and every declaration produces a function with the same signature. This\n * allows the creation of custom validation functions. For example:\n *\n * var MyLink = React.createClass({\n * propTypes: {\n * // An optional string or URI prop named \"href\".\n * href: function(props, propName, componentName) {\n * var propValue = props[propName];\n * if (propValue != null && typeof propValue !== 'string' &&\n * !(propValue instanceof URI)) {\n * return new Error(\n * 'Expected a string or an URI for ' + propName + ' in ' +\n * componentName\n * );\n * }\n * }\n * },\n * render: function() {...}\n * });\n *\n * @internal\n */\n\n var ANONYMOUS = '<<anonymous>>';\n\n // Important!\n // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.\n var ReactPropTypes = {\n array: createPrimitiveTypeChecker('array'),\n bool: createPrimitiveTypeChecker('boolean'),\n func: createPrimitiveTypeChecker('function'),\n number: createPrimitiveTypeChecker('number'),\n object: createPrimitiveTypeChecker('object'),\n string: createPrimitiveTypeChecker('string'),\n symbol: createPrimitiveTypeChecker('symbol'),\n\n any: createAnyTypeChecker(),\n arrayOf: createArrayOfTypeChecker,\n element: createElementTypeChecker(),\n elementType: createElementTypeTypeChecker(),\n instanceOf: createInstanceTypeChecker,\n node: createNodeChecker(),\n objectOf: createObjectOfTypeChecker,\n oneOf: createEnumTypeChecker,\n oneOfType: createUnionTypeChecker,\n shape: createShapeTypeChecker,\n exact: createStrictShapeTypeChecker,\n };\n\n /**\n * inlined Object.is polyfill to avoid requiring consumers ship their own\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\n */\n /*eslint-disable no-self-compare*/\n function is(x, y) {\n // SameValue algorithm\n if (x === y) {\n // Steps 1-5, 7-10\n // Steps 6.b-6.e: +0 != -0\n return x !== 0 || 1 / x === 1 / y;\n } else {\n // Step 6.a: NaN == NaN\n return x !== x && y !== y;\n }\n }\n /*eslint-enable no-self-compare*/\n\n /**\n * We use an Error-like object for backward compatibility as people may call\n * PropTypes directly and inspect their output. However, we don't use real\n * Errors anymore. We don't inspect their stack anyway, and creating them\n * is prohibitively expensive if they are created too often, such as what\n * happens in oneOfType() for any type before the one that matched.\n */\n function PropTypeError(message) {\n this.message = message;\n this.stack = '';\n }\n // Make `instanceof Error` still work for returned errors.\n PropTypeError.prototype = Error.prototype;\n\n function createChainableTypeChecker(validate) {\n if (process.env.NODE_ENV !== 'production') {\n var manualPropTypeCallCache = {};\n var manualPropTypeWarningCount = 0;\n }\n function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {\n componentName = componentName || ANONYMOUS;\n propFullName = propFullName || propName;\n\n if (secret !== ReactPropTypesSecret) {\n if (throwOnDirectAccess) {\n // New behavior only for users of `prop-types` package\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use `PropTypes.checkPropTypes()` to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n } else if (process.env.NODE_ENV !== 'production' && typeof console !== 'undefined') {\n // Old behavior for people using React.PropTypes\n var cacheKey = componentName + ':' + propName;\n if (\n !manualPropTypeCallCache[cacheKey] &&\n // Avoid spamming the console because they are often not actionable except for lib authors\n manualPropTypeWarningCount < 3\n ) {\n printWarning(\n 'You are manually calling a React.PropTypes validation ' +\n 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +\n 'and will throw in the standalone `prop-types` package. ' +\n 'You may be seeing this warning due to a third-party PropTypes ' +\n 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'\n );\n manualPropTypeCallCache[cacheKey] = true;\n manualPropTypeWarningCount++;\n }\n }\n }\n if (props[propName] == null) {\n if (isRequired) {\n if (props[propName] === null) {\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));\n }\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));\n }\n return null;\n } else {\n return validate(props, propName, componentName, location, propFullName);\n }\n }\n\n var chainedCheckType = checkType.bind(null, false);\n chainedCheckType.isRequired = checkType.bind(null, true);\n\n return chainedCheckType;\n }\n\n function createPrimitiveTypeChecker(expectedType) {\n function validate(props, propName, componentName, location, propFullName, secret) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== expectedType) {\n // `propValue` being instance of, say, date/regexp, pass the 'object'\n // check, but we can offer a more precise error message here rather than\n // 'of type `object`'.\n var preciseType = getPreciseType(propValue);\n\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createAnyTypeChecker() {\n return createChainableTypeChecker(emptyFunctionThatReturnsNull);\n }\n\n function createArrayOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');\n }\n var propValue = props[propName];\n if (!Array.isArray(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));\n }\n for (var i = 0; i < propValue.length; i++) {\n var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createElementTypeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n if (!isValidElement(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createElementTypeTypeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n if (!ReactIs.isValidElementType(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement type.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createInstanceTypeChecker(expectedClass) {\n function validate(props, propName, componentName, location, propFullName) {\n if (!(props[propName] instanceof expectedClass)) {\n var expectedClassName = expectedClass.name || ANONYMOUS;\n var actualClassName = getClassName(props[propName]);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createEnumTypeChecker(expectedValues) {\n if (!Array.isArray(expectedValues)) {\n if (process.env.NODE_ENV !== 'production') {\n if (arguments.length > 1) {\n printWarning(\n 'Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' +\n 'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).'\n );\n } else {\n printWarning('Invalid argument supplied to oneOf, expected an array.');\n }\n }\n return emptyFunctionThatReturnsNull;\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n for (var i = 0; i < expectedValues.length; i++) {\n if (is(propValue, expectedValues[i])) {\n return null;\n }\n }\n\n var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {\n var type = getPreciseType(value);\n if (type === 'symbol') {\n return String(value);\n }\n return value;\n });\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + String(propValue) + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));\n }\n return createChainableTypeChecker(validate);\n }\n\n function createObjectOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');\n }\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));\n }\n for (var key in propValue) {\n if (has(propValue, key)) {\n var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createUnionTypeChecker(arrayOfTypeCheckers) {\n if (!Array.isArray(arrayOfTypeCheckers)) {\n process.env.NODE_ENV !== 'production' ? printWarning('Invalid argument supplied to oneOfType, expected an instance of array.') : void 0;\n return emptyFunctionThatReturnsNull;\n }\n\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n if (typeof checker !== 'function') {\n printWarning(\n 'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +\n 'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.'\n );\n return emptyFunctionThatReturnsNull;\n }\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n if (checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret) == null) {\n return null;\n }\n }\n\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`.'));\n }\n return createChainableTypeChecker(validate);\n }\n\n function createNodeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n if (!isNode(props[propName])) {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n for (var key in shapeTypes) {\n var checker = shapeTypes[key];\n if (!checker) {\n continue;\n }\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createStrictShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n // We need to check all keys in case some are required but missing from\n // props.\n var allKeys = assign({}, props[propName], shapeTypes);\n for (var key in allKeys) {\n var checker = shapeTypes[key];\n if (!checker) {\n return new PropTypeError(\n 'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +\n '\\nBad object: ' + JSON.stringify(props[propName], null, ' ') +\n '\\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')\n );\n }\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error) {\n return error;\n }\n }\n return null;\n }\n\n return createChainableTypeChecker(validate);\n }\n\n function isNode(propValue) {\n switch (typeof propValue) {\n case 'number':\n case 'string':\n case 'undefined':\n return true;\n case 'boolean':\n return !propValue;\n case 'object':\n if (Array.isArray(propValue)) {\n return propValue.every(isNode);\n }\n if (propValue === null || isValidElement(propValue)) {\n return true;\n }\n\n var iteratorFn = getIteratorFn(propValue);\n if (iteratorFn) {\n var iterator = iteratorFn.call(propValue);\n var step;\n if (iteratorFn !== propValue.entries) {\n while (!(step = iterator.next()).done) {\n if (!isNode(step.value)) {\n return false;\n }\n }\n } else {\n // Iterator will provide entry [k,v] tuples rather than values.\n while (!(step = iterator.next()).done) {\n var entry = step.value;\n if (entry) {\n if (!isNode(entry[1])) {\n return false;\n }\n }\n }\n }\n } else {\n return false;\n }\n\n return true;\n default:\n return false;\n }\n }\n\n function isSymbol(propType, propValue) {\n // Native Symbol.\n if (propType === 'symbol') {\n return true;\n }\n\n // falsy value can't be a Symbol\n if (!propValue) {\n return false;\n }\n\n // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'\n if (propValue['@@toStringTag'] === 'Symbol') {\n return true;\n }\n\n // Fallback for non-spec compliant Symbols which are polyfilled.\n if (typeof Symbol === 'function' && propValue instanceof Symbol) {\n return true;\n }\n\n return false;\n }\n\n // Equivalent of `typeof` but with special handling for array and regexp.\n function getPropType(propValue) {\n var propType = typeof propValue;\n if (Array.isArray(propValue)) {\n return 'array';\n }\n if (propValue instanceof RegExp) {\n // Old webkits (at least until Android 4.0) return 'function' rather than\n // 'object' for typeof a RegExp. We'll normalize this here so that /bla/\n // passes PropTypes.object.\n return 'object';\n }\n if (isSymbol(propType, propValue)) {\n return 'symbol';\n }\n return propType;\n }\n\n // This handles more types than `getPropType`. Only used for error messages.\n // See `createPrimitiveTypeChecker`.\n function getPreciseType(propValue) {\n if (typeof propValue === 'undefined' || propValue === null) {\n return '' + propValue;\n }\n var propType = getPropType(propValue);\n if (propType === 'object') {\n if (propValue instanceof Date) {\n return 'date';\n } else if (propValue instanceof RegExp) {\n return 'regexp';\n }\n }\n return propType;\n }\n\n // Returns a string that is postfixed to a warning about an invalid type.\n // For example, \"undefined\" or \"of type array\"\n function getPostfixForTypeWarning(value) {\n var type = getPreciseType(value);\n switch (type) {\n case 'array':\n case 'object':\n return 'an ' + type;\n case 'boolean':\n case 'date':\n case 'regexp':\n return 'a ' + type;\n default:\n return type;\n }\n }\n\n // Returns class name of the object, if any.\n function getClassName(propValue) {\n if (!propValue.constructor || !propValue.constructor.name) {\n return ANONYMOUS;\n }\n return propValue.constructor.name;\n }\n\n ReactPropTypes.checkPropTypes = checkPropTypes;\n ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n","/** @license React v16.13.1\n * react-is.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\n\n\nif (process.env.NODE_ENV !== \"production\") {\n (function() {\n'use strict';\n\n// The Symbol used to tag the ReactElement-like types. If there is no native Symbol\n// nor polyfill, then a plain number is used for performance.\nvar hasSymbol = typeof Symbol === 'function' && Symbol.for;\nvar REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;\nvar REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;\nvar REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;\nvar REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;\nvar REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;\nvar REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;\nvar REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary\n// (unstable) APIs that have been removed. Can we remove the symbols?\n\nvar REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;\nvar REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;\nvar REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;\nvar REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;\nvar REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;\nvar REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;\nvar REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;\nvar REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;\nvar REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;\nvar REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;\nvar REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;\n\nfunction isValidElementType(type) {\n return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.\n type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);\n}\n\nfunction typeOf(object) {\n if (typeof object === 'object' && object !== null) {\n var $$typeof = object.$$typeof;\n\n switch ($$typeof) {\n case REACT_ELEMENT_TYPE:\n var type = object.type;\n\n switch (type) {\n case REACT_ASYNC_MODE_TYPE:\n case REACT_CONCURRENT_MODE_TYPE:\n case REACT_FRAGMENT_TYPE:\n case REACT_PROFILER_TYPE:\n case REACT_STRICT_MODE_TYPE:\n case REACT_SUSPENSE_TYPE:\n return type;\n\n default:\n var $$typeofType = type && type.$$typeof;\n\n switch ($$typeofType) {\n case REACT_CONTEXT_TYPE:\n case REACT_FORWARD_REF_TYPE:\n case REACT_LAZY_TYPE:\n case REACT_MEMO_TYPE:\n case REACT_PROVIDER_TYPE:\n return $$typeofType;\n\n default:\n return $$typeof;\n }\n\n }\n\n case REACT_PORTAL_TYPE:\n return $$typeof;\n }\n }\n\n return undefined;\n} // AsyncMode is deprecated along with isAsyncMode\n\nvar AsyncMode = REACT_ASYNC_MODE_TYPE;\nvar ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;\nvar ContextConsumer = REACT_CONTEXT_TYPE;\nvar ContextProvider = REACT_PROVIDER_TYPE;\nvar Element = REACT_ELEMENT_TYPE;\nvar ForwardRef = REACT_FORWARD_REF_TYPE;\nvar Fragment = REACT_FRAGMENT_TYPE;\nvar Lazy = REACT_LAZY_TYPE;\nvar Memo = REACT_MEMO_TYPE;\nvar Portal = REACT_PORTAL_TYPE;\nvar Profiler = REACT_PROFILER_TYPE;\nvar StrictMode = REACT_STRICT_MODE_TYPE;\nvar Suspense = REACT_SUSPENSE_TYPE;\nvar hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated\n\nfunction isAsyncMode(object) {\n {\n if (!hasWarnedAboutDeprecatedIsAsyncMode) {\n hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint\n\n console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');\n }\n }\n\n return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;\n}\nfunction isConcurrentMode(object) {\n return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;\n}\nfunction isContextConsumer(object) {\n return typeOf(object) === REACT_CONTEXT_TYPE;\n}\nfunction isContextProvider(object) {\n return typeOf(object) === REACT_PROVIDER_TYPE;\n}\nfunction isElement(object) {\n return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n}\nfunction isForwardRef(object) {\n return typeOf(object) === REACT_FORWARD_REF_TYPE;\n}\nfunction isFragment(object) {\n return typeOf(object) === REACT_FRAGMENT_TYPE;\n}\nfunction isLazy(object) {\n return typeOf(object) === REACT_LAZY_TYPE;\n}\nfunction isMemo(object) {\n return typeOf(object) === REACT_MEMO_TYPE;\n}\nfunction isPortal(object) {\n return typeOf(object) === REACT_PORTAL_TYPE;\n}\nfunction isProfiler(object) {\n return typeOf(object) === REACT_PROFILER_TYPE;\n}\nfunction isStrictMode(object) {\n return typeOf(object) === REACT_STRICT_MODE_TYPE;\n}\nfunction isSuspense(object) {\n return typeOf(object) === REACT_SUSPENSE_TYPE;\n}\n\nexports.AsyncMode = AsyncMode;\nexports.ConcurrentMode = ConcurrentMode;\nexports.ContextConsumer = ContextConsumer;\nexports.ContextProvider = ContextProvider;\nexports.Element = Element;\nexports.ForwardRef = ForwardRef;\nexports.Fragment = Fragment;\nexports.Lazy = Lazy;\nexports.Memo = Memo;\nexports.Portal = Portal;\nexports.Profiler = Profiler;\nexports.StrictMode = StrictMode;\nexports.Suspense = Suspense;\nexports.isAsyncMode = isAsyncMode;\nexports.isConcurrentMode = isConcurrentMode;\nexports.isContextConsumer = isContextConsumer;\nexports.isContextProvider = isContextProvider;\nexports.isElement = isElement;\nexports.isForwardRef = isForwardRef;\nexports.isFragment = isFragment;\nexports.isLazy = isLazy;\nexports.isMemo = isMemo;\nexports.isPortal = isPortal;\nexports.isProfiler = isProfiler;\nexports.isStrictMode = isStrictMode;\nexports.isSuspense = isSuspense;\nexports.isValidElementType = isValidElementType;\nexports.typeOf = typeOf;\n })();\n}\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-is.production.min.js');\n} else {\n module.exports = require('./cjs/react-is.development.js');\n}\n","/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/\n\n'use strict';\n/* eslint-disable no-unused-vars */\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nfunction toObject(val) {\n\tif (val === null || val === undefined) {\n\t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n\t}\n\n\treturn Object(val);\n}\n\nfunction shouldUseNative() {\n\ttry {\n\t\tif (!Object.assign) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Detect buggy property enumeration order in older V8 versions.\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\t\tvar test1 = new String('abc'); // eslint-disable-line no-new-wrappers\n\t\ttest1[5] = 'de';\n\t\tif (Object.getOwnPropertyNames(test1)[0] === '5') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test2 = {};\n\t\tfor (var i = 0; i < 10; i++) {\n\t\t\ttest2['_' + String.fromCharCode(i)] = i;\n\t\t}\n\t\tvar order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n\t\t\treturn test2[n];\n\t\t});\n\t\tif (order2.join('') !== '0123456789') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test3 = {};\n\t\t'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n\t\t\ttest3[letter] = letter;\n\t\t});\n\t\tif (Object.keys(Object.assign({}, test3)).join('') !==\n\t\t\t\t'abcdefghijklmnopqrst') {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t} catch (err) {\n\t\t// We don't expect any of the above to throw, but better to be safe.\n\t\treturn false;\n\t}\n}\n\nmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n\tvar from;\n\tvar to = toObject(target);\n\tvar symbols;\n\n\tfor (var s = 1; s < arguments.length; s++) {\n\t\tfrom = Object(arguments[s]);\n\n\t\tfor (var key in from) {\n\t\t\tif (hasOwnProperty.call(from, key)) {\n\t\t\t\tto[key] = from[key];\n\t\t\t}\n\t\t}\n\n\t\tif (getOwnPropertySymbols) {\n\t\t\tsymbols = getOwnPropertySymbols(from);\n\t\t\tfor (var i = 0; i < symbols.length; i++) {\n\t\t\t\tif (propIsEnumerable.call(from, symbols[i])) {\n\t\t\t\t\tto[symbols[i]] = from[symbols[i]];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn to;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is');\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n"],"names":["checkPropTypes","typeSpecs","values","location","componentName","getStack","typeSpecName","has","err","Error","name","error","ReactPropTypesSecret","ex","printWarning","message","loggedTypeFailures","stack","emptyFunctionThatReturnsNull","typeOf","object","$$typeof","REACT_ELEMENT_TYPE","type","REACT_ASYNC_MODE_TYPE","REACT_CONCURRENT_MODE_TYPE","REACT_FRAGMENT_TYPE","REACT_PROFILER_TYPE","REACT_STRICT_MODE_TYPE","REACT_SUSPENSE_TYPE","$$typeofType","REACT_CONTEXT_TYPE","REACT_FORWARD_REF_TYPE","REACT_LAZY_TYPE","REACT_MEMO_TYPE","REACT_PROVIDER_TYPE","REACT_PORTAL_TYPE","isConcurrentMode","hasSymbol","Symbol","for","REACT_SUSPENSE_LIST_TYPE","REACT_BLOCK_TYPE","REACT_FUNDAMENTAL_TYPE","REACT_RESPONDER_TYPE","REACT_SCOPE_TYPE","hasWarnedAboutDeprecatedIsAsyncMode","exports","AsyncMode","ConcurrentMode","ContextConsumer","ContextProvider","Element","ForwardRef","Fragment","Lazy","Memo","Portal","Profiler","StrictMode","Suspense","isAsyncMode","console","isContextConsumer","isContextProvider","isElement","isForwardRef","isFragment","isLazy","isMemo","isPortal","isProfiler","isStrictMode","isSuspense","isValidElementType","module","require$$0","getOwnPropertySymbols","Object","hasOwnProperty","prototype","propIsEnumerable","propertyIsEnumerable","shouldUseNative","assign","test1","String","getOwnPropertyNames","test2","i","fromCharCode","map","order2","n","join","test3","forEach","letter","keys","target","source","undefined","TypeError","symbols","s","arguments","length","from","key","call","to","Function","bind","text","x","resetWarningCache","checkPropTypes.resetWarningCache","printWarning$1","factoryWithTypeCheckers","isValidElement","throwOnDirectAccess","is","y","PropTypeError","createChainableTypeChecker","validate","checkType","isRequired","props","propName","propFullName","secret","ANONYMOUS","cacheKey","manualPropTypeCallCache","manualPropTypeWarningCount","chainedCheckType","createPrimitiveTypeChecker","expectedType","propValue","getPropType","propType","preciseType","getPreciseType","isNode","Array","isArray","every","iteratorFn","ITERATOR_SYMBOL","FAUX_ITERATOR_SYMBOL","iterator","entries","done","step","next","value","entry","RegExp","Date","getPostfixForTypeWarning","ReactPropTypes","array","bool","func","number","string","symbol","any","arrayOf","createArrayOfTypeChecker","typeChecker","element","createElementTypeChecker","elementType","createElementTypeTypeChecker","ReactIs","instanceOf","createInstanceTypeChecker","expectedClass","expectedClassName","constructor","actualClassName","node","createNodeChecker","objectOf","createObjectOfTypeChecker","oneOf","createEnumTypeChecker","expectedValues","valuesString","JSON","stringify","replacer","oneOfType","createUnionTypeChecker","arrayOfTypeCheckers","checker","shape","createShapeTypeChecker","shapeTypes","exact","createStrictShapeTypeChecker","allKeys","PropTypes","require$$1"],"mappings":";;;qBAyCAA,QAASA,EAAc,CAACC,CAAD,CAAYC,CAAZ,CAAoBC,CAApB,CAA8BC,CAA9B,CAA6CC,CAA7C,CAAuD,CAE1E,IAAKC,IAAIA,CAAT,GAAyBL,EAAzB,CACE,GAAIM,CAAA,CAAIN,CAAJ,CAAeK,CAAf,CAAJ,CAAkC,CAKhC,GAAI,CAGF,GAAuC,UAAvC,GAAI,MAAOL,EAAA,CAAUK,CAAV,CAAX,CAAmD,CACjD,IAAIE,EAAMC,KAAA,EACPL,CADO,EACU,aADV,EAC2B,IAD3B,CACkCD,CADlC,CAC6C,SAD7C,CACyDG,CADzD,CACwE,4FADxE,CAEyE,MAAOL,EAAA,CAAUK,CAAV,CAFhF,CAE0G,IAF1G,CAIVE,EAAAE,KAAA,CAAW,qBACX,MAAMF,EAAN,CANiD,CAQnD,IAAAG,EAAQV,CAAA,CAAUK,CAAV,CAAA,CAAwBJ,CAAxB,CAAgCI,CAAhC,CAA8CF,CAA9C,CAA6DD,CAA7D,CAAuE,IAAvE,CCnDSS,8CDmDT,CAXN,CAYF,MAAOC,CAAP,CAAW,CACXF,CAAA,CAAQE,CADG,CAGTF,CAAAA,CAAJ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AAehE,CAAA,CAAMC,CAAN,CAAf,CAAgC,IAAhC,CAAsC,IAAtC,CAFd,CAGL,gBAHK,CAGe8D,IAAAC,UAAA,CAAelH,MAAAoB,KAAA,CAAYsG,CAAZ,CAAf,CAAwC,IAAxC,CAA8C,IAA9C,CAHf,CAOT,IADI7L,CACJ,CADY0L,CAAA,CAAQ1D,CAAR,CAAmB/B,CAAnB,CAAwBxG,CAAxB,CAAuCD,CAAvC,CAAiD+H,CAAjD,CAAgE,GAAhE,CAAsEtB,CAAtE,CDlbOhG,8CCkbP,CACZ,CACE,MAAOD,EAXc,CAczB,MAAO,KAvBiE,CA0BnE,CA3ByC,CAtT7B,CAoDrBgH;CAAA3C,UAAA,CAA0BvE,KAAAuE,UAma1BiF,EAAAjK,eAAA,CFpeeA,CEqefiK,EAAA9C,kBAAA,CFreenH,CEqeoBA,kBAGnC,OAFAiK,EAAA2C,UAEA,CAF2B3C,CAtiBkC,CAA/D,iBIxBEtF,CAAA5B,QAAA,CAAiB8J,EAAAA,CALHjI,CAKwCX,UAArC4I,CADSrF,CAAAA,CACTqF;;;;;;;;;;"}
1
+ {"version":3,"file":"react-router-dom.development.js","sources":["../../../node_modules/prop-types/checkPropTypes.js","../../../node_modules/prop-types/lib/ReactPropTypesSecret.js","../../../node_modules/prop-types/factoryWithTypeCheckers.js","../../../packages/react-router-dom/index.tsx","../../../node_modules/react-is/cjs/react-is.development.js","../../../node_modules/react-is/index.js","../../../node_modules/object-assign/index.js","../../../node_modules/prop-types/index.js"],"sourcesContent":["/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar printWarning = function() {};\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n var loggedTypeFailures = {};\n var has = Function.call.bind(Object.prototype.hasOwnProperty);\n\n printWarning = function(text) {\n var message = 'Warning: ' + text;\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n };\n}\n\n/**\n * Assert that the values match with the type specs.\n * Error messages are memorized and will only be shown once.\n *\n * @param {object} typeSpecs Map of name to a ReactPropType\n * @param {object} values Runtime values that need to be type-checked\n * @param {string} location e.g. \"prop\", \"context\", \"child context\"\n * @param {string} componentName Name of the component for error messages.\n * @param {?Function} getStack Returns the component stack.\n * @private\n */\nfunction checkPropTypes(typeSpecs, values, location, componentName, getStack) {\n if (process.env.NODE_ENV !== 'production') {\n for (var typeSpecName in typeSpecs) {\n if (has(typeSpecs, typeSpecName)) {\n var error;\n // Prop type validation may throw. In case they do, we don't want to\n // fail the render phase where it didn't fail before. So we log it.\n // After these have been cleaned up, we'll let them throw.\n try {\n // This is intentionally an invariant that gets caught. It's the same\n // behavior as without this statement except with a better message.\n if (typeof typeSpecs[typeSpecName] !== 'function') {\n var err = Error(\n (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +\n 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.'\n );\n err.name = 'Invariant Violation';\n throw err;\n }\n error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);\n } catch (ex) {\n error = ex;\n }\n if (error && !(error instanceof Error)) {\n printWarning(\n (componentName || 'React class') + ': type specification of ' +\n location + ' `' + typeSpecName + '` is invalid; the type checker ' +\n 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +\n 'You may have forgotten to pass an argument to the type checker ' +\n 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +\n 'shape all require an argument).'\n );\n }\n if (error instanceof Error && !(error.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error.message] = true;\n\n var stack = getStack ? getStack() : '';\n\n printWarning(\n 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')\n );\n }\n }\n }\n }\n}\n\n/**\n * Resets warning cache when testing.\n *\n * @private\n */\ncheckPropTypes.resetWarningCache = function() {\n if (process.env.NODE_ENV !== 'production') {\n loggedTypeFailures = {};\n }\n}\n\nmodule.exports = checkPropTypes;\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactIs = require('react-is');\nvar assign = require('object-assign');\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\nvar checkPropTypes = require('./checkPropTypes');\n\nvar has = Function.call.bind(Object.prototype.hasOwnProperty);\nvar printWarning = function() {};\n\nif (process.env.NODE_ENV !== 'production') {\n printWarning = function(text) {\n var message = 'Warning: ' + text;\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n };\n}\n\nfunction emptyFunctionThatReturnsNull() {\n return null;\n}\n\nmodule.exports = function(isValidElement, throwOnDirectAccess) {\n /* global Symbol */\n var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;\n var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.\n\n /**\n * Returns the iterator method function contained on the iterable object.\n *\n * Be sure to invoke the function with the iterable as context:\n *\n * var iteratorFn = getIteratorFn(myIterable);\n * if (iteratorFn) {\n * var iterator = iteratorFn.call(myIterable);\n * ...\n * }\n *\n * @param {?object} maybeIterable\n * @return {?function}\n */\n function getIteratorFn(maybeIterable) {\n var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);\n if (typeof iteratorFn === 'function') {\n return iteratorFn;\n }\n }\n\n /**\n * Collection of methods that allow declaration and validation of props that are\n * supplied to React components. Example usage:\n *\n * var Props = require('ReactPropTypes');\n * var MyArticle = React.createClass({\n * propTypes: {\n * // An optional string prop named \"description\".\n * description: Props.string,\n *\n * // A required enum prop named \"category\".\n * category: Props.oneOf(['News','Photos']).isRequired,\n *\n * // A prop named \"dialog\" that requires an instance of Dialog.\n * dialog: Props.instanceOf(Dialog).isRequired\n * },\n * render: function() { ... }\n * });\n *\n * A more formal specification of how these methods are used:\n *\n * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)\n * decl := ReactPropTypes.{type}(.isRequired)?\n *\n * Each and every declaration produces a function with the same signature. This\n * allows the creation of custom validation functions. For example:\n *\n * var MyLink = React.createClass({\n * propTypes: {\n * // An optional string or URI prop named \"href\".\n * href: function(props, propName, componentName) {\n * var propValue = props[propName];\n * if (propValue != null && typeof propValue !== 'string' &&\n * !(propValue instanceof URI)) {\n * return new Error(\n * 'Expected a string or an URI for ' + propName + ' in ' +\n * componentName\n * );\n * }\n * }\n * },\n * render: function() {...}\n * });\n *\n * @internal\n */\n\n var ANONYMOUS = '<<anonymous>>';\n\n // Important!\n // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.\n var ReactPropTypes = {\n array: createPrimitiveTypeChecker('array'),\n bool: createPrimitiveTypeChecker('boolean'),\n func: createPrimitiveTypeChecker('function'),\n number: createPrimitiveTypeChecker('number'),\n object: createPrimitiveTypeChecker('object'),\n string: createPrimitiveTypeChecker('string'),\n symbol: createPrimitiveTypeChecker('symbol'),\n\n any: createAnyTypeChecker(),\n arrayOf: createArrayOfTypeChecker,\n element: createElementTypeChecker(),\n elementType: createElementTypeTypeChecker(),\n instanceOf: createInstanceTypeChecker,\n node: createNodeChecker(),\n objectOf: createObjectOfTypeChecker,\n oneOf: createEnumTypeChecker,\n oneOfType: createUnionTypeChecker,\n shape: createShapeTypeChecker,\n exact: createStrictShapeTypeChecker,\n };\n\n /**\n * inlined Object.is polyfill to avoid requiring consumers ship their own\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\n */\n /*eslint-disable no-self-compare*/\n function is(x, y) {\n // SameValue algorithm\n if (x === y) {\n // Steps 1-5, 7-10\n // Steps 6.b-6.e: +0 != -0\n return x !== 0 || 1 / x === 1 / y;\n } else {\n // Step 6.a: NaN == NaN\n return x !== x && y !== y;\n }\n }\n /*eslint-enable no-self-compare*/\n\n /**\n * We use an Error-like object for backward compatibility as people may call\n * PropTypes directly and inspect their output. However, we don't use real\n * Errors anymore. We don't inspect their stack anyway, and creating them\n * is prohibitively expensive if they are created too often, such as what\n * happens in oneOfType() for any type before the one that matched.\n */\n function PropTypeError(message) {\n this.message = message;\n this.stack = '';\n }\n // Make `instanceof Error` still work for returned errors.\n PropTypeError.prototype = Error.prototype;\n\n function createChainableTypeChecker(validate) {\n if (process.env.NODE_ENV !== 'production') {\n var manualPropTypeCallCache = {};\n var manualPropTypeWarningCount = 0;\n }\n function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {\n componentName = componentName || ANONYMOUS;\n propFullName = propFullName || propName;\n\n if (secret !== ReactPropTypesSecret) {\n if (throwOnDirectAccess) {\n // New behavior only for users of `prop-types` package\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use `PropTypes.checkPropTypes()` to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n } else if (process.env.NODE_ENV !== 'production' && typeof console !== 'undefined') {\n // Old behavior for people using React.PropTypes\n var cacheKey = componentName + ':' + propName;\n if (\n !manualPropTypeCallCache[cacheKey] &&\n // Avoid spamming the console because they are often not actionable except for lib authors\n manualPropTypeWarningCount < 3\n ) {\n printWarning(\n 'You are manually calling a React.PropTypes validation ' +\n 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +\n 'and will throw in the standalone `prop-types` package. ' +\n 'You may be seeing this warning due to a third-party PropTypes ' +\n 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'\n );\n manualPropTypeCallCache[cacheKey] = true;\n manualPropTypeWarningCount++;\n }\n }\n }\n if (props[propName] == null) {\n if (isRequired) {\n if (props[propName] === null) {\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));\n }\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));\n }\n return null;\n } else {\n return validate(props, propName, componentName, location, propFullName);\n }\n }\n\n var chainedCheckType = checkType.bind(null, false);\n chainedCheckType.isRequired = checkType.bind(null, true);\n\n return chainedCheckType;\n }\n\n function createPrimitiveTypeChecker(expectedType) {\n function validate(props, propName, componentName, location, propFullName, secret) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== expectedType) {\n // `propValue` being instance of, say, date/regexp, pass the 'object'\n // check, but we can offer a more precise error message here rather than\n // 'of type `object`'.\n var preciseType = getPreciseType(propValue);\n\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createAnyTypeChecker() {\n return createChainableTypeChecker(emptyFunctionThatReturnsNull);\n }\n\n function createArrayOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');\n }\n var propValue = props[propName];\n if (!Array.isArray(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));\n }\n for (var i = 0; i < propValue.length; i++) {\n var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createElementTypeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n if (!isValidElement(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createElementTypeTypeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n if (!ReactIs.isValidElementType(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement type.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createInstanceTypeChecker(expectedClass) {\n function validate(props, propName, componentName, location, propFullName) {\n if (!(props[propName] instanceof expectedClass)) {\n var expectedClassName = expectedClass.name || ANONYMOUS;\n var actualClassName = getClassName(props[propName]);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createEnumTypeChecker(expectedValues) {\n if (!Array.isArray(expectedValues)) {\n if (process.env.NODE_ENV !== 'production') {\n if (arguments.length > 1) {\n printWarning(\n 'Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' +\n 'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).'\n );\n } else {\n printWarning('Invalid argument supplied to oneOf, expected an array.');\n }\n }\n return emptyFunctionThatReturnsNull;\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n for (var i = 0; i < expectedValues.length; i++) {\n if (is(propValue, expectedValues[i])) {\n return null;\n }\n }\n\n var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {\n var type = getPreciseType(value);\n if (type === 'symbol') {\n return String(value);\n }\n return value;\n });\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + String(propValue) + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));\n }\n return createChainableTypeChecker(validate);\n }\n\n function createObjectOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');\n }\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));\n }\n for (var key in propValue) {\n if (has(propValue, key)) {\n var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createUnionTypeChecker(arrayOfTypeCheckers) {\n if (!Array.isArray(arrayOfTypeCheckers)) {\n process.env.NODE_ENV !== 'production' ? printWarning('Invalid argument supplied to oneOfType, expected an instance of array.') : void 0;\n return emptyFunctionThatReturnsNull;\n }\n\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n if (typeof checker !== 'function') {\n printWarning(\n 'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +\n 'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.'\n );\n return emptyFunctionThatReturnsNull;\n }\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n if (checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret) == null) {\n return null;\n }\n }\n\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`.'));\n }\n return createChainableTypeChecker(validate);\n }\n\n function createNodeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n if (!isNode(props[propName])) {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n for (var key in shapeTypes) {\n var checker = shapeTypes[key];\n if (!checker) {\n continue;\n }\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createStrictShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n // We need to check all keys in case some are required but missing from\n // props.\n var allKeys = assign({}, props[propName], shapeTypes);\n for (var key in allKeys) {\n var checker = shapeTypes[key];\n if (!checker) {\n return new PropTypeError(\n 'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +\n '\\nBad object: ' + JSON.stringify(props[propName], null, ' ') +\n '\\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')\n );\n }\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error) {\n return error;\n }\n }\n return null;\n }\n\n return createChainableTypeChecker(validate);\n }\n\n function isNode(propValue) {\n switch (typeof propValue) {\n case 'number':\n case 'string':\n case 'undefined':\n return true;\n case 'boolean':\n return !propValue;\n case 'object':\n if (Array.isArray(propValue)) {\n return propValue.every(isNode);\n }\n if (propValue === null || isValidElement(propValue)) {\n return true;\n }\n\n var iteratorFn = getIteratorFn(propValue);\n if (iteratorFn) {\n var iterator = iteratorFn.call(propValue);\n var step;\n if (iteratorFn !== propValue.entries) {\n while (!(step = iterator.next()).done) {\n if (!isNode(step.value)) {\n return false;\n }\n }\n } else {\n // Iterator will provide entry [k,v] tuples rather than values.\n while (!(step = iterator.next()).done) {\n var entry = step.value;\n if (entry) {\n if (!isNode(entry[1])) {\n return false;\n }\n }\n }\n }\n } else {\n return false;\n }\n\n return true;\n default:\n return false;\n }\n }\n\n function isSymbol(propType, propValue) {\n // Native Symbol.\n if (propType === 'symbol') {\n return true;\n }\n\n // falsy value can't be a Symbol\n if (!propValue) {\n return false;\n }\n\n // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'\n if (propValue['@@toStringTag'] === 'Symbol') {\n return true;\n }\n\n // Fallback for non-spec compliant Symbols which are polyfilled.\n if (typeof Symbol === 'function' && propValue instanceof Symbol) {\n return true;\n }\n\n return false;\n }\n\n // Equivalent of `typeof` but with special handling for array and regexp.\n function getPropType(propValue) {\n var propType = typeof propValue;\n if (Array.isArray(propValue)) {\n return 'array';\n }\n if (propValue instanceof RegExp) {\n // Old webkits (at least until Android 4.0) return 'function' rather than\n // 'object' for typeof a RegExp. We'll normalize this here so that /bla/\n // passes PropTypes.object.\n return 'object';\n }\n if (isSymbol(propType, propValue)) {\n return 'symbol';\n }\n return propType;\n }\n\n // This handles more types than `getPropType`. Only used for error messages.\n // See `createPrimitiveTypeChecker`.\n function getPreciseType(propValue) {\n if (typeof propValue === 'undefined' || propValue === null) {\n return '' + propValue;\n }\n var propType = getPropType(propValue);\n if (propType === 'object') {\n if (propValue instanceof Date) {\n return 'date';\n } else if (propValue instanceof RegExp) {\n return 'regexp';\n }\n }\n return propType;\n }\n\n // Returns a string that is postfixed to a warning about an invalid type.\n // For example, \"undefined\" or \"of type array\"\n function getPostfixForTypeWarning(value) {\n var type = getPreciseType(value);\n switch (type) {\n case 'array':\n case 'object':\n return 'an ' + type;\n case 'boolean':\n case 'date':\n case 'regexp':\n return 'a ' + type;\n default:\n return type;\n }\n }\n\n // Returns class name of the object, if any.\n function getClassName(propValue) {\n if (!propValue.constructor || !propValue.constructor.name) {\n return ANONYMOUS;\n }\n return propValue.constructor.name;\n }\n\n ReactPropTypes.checkPropTypes = checkPropTypes;\n ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n",null,"/** @license React v16.13.1\n * react-is.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\n\n\nif (process.env.NODE_ENV !== \"production\") {\n (function() {\n'use strict';\n\n// The Symbol used to tag the ReactElement-like types. If there is no native Symbol\n// nor polyfill, then a plain number is used for performance.\nvar hasSymbol = typeof Symbol === 'function' && Symbol.for;\nvar REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;\nvar REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;\nvar REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;\nvar REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;\nvar REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;\nvar REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;\nvar REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary\n// (unstable) APIs that have been removed. Can we remove the symbols?\n\nvar REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;\nvar REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;\nvar REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;\nvar REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;\nvar REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;\nvar REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;\nvar REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;\nvar REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;\nvar REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;\nvar REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;\nvar REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;\n\nfunction isValidElementType(type) {\n return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.\n type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);\n}\n\nfunction typeOf(object) {\n if (typeof object === 'object' && object !== null) {\n var $$typeof = object.$$typeof;\n\n switch ($$typeof) {\n case REACT_ELEMENT_TYPE:\n var type = object.type;\n\n switch (type) {\n case REACT_ASYNC_MODE_TYPE:\n case REACT_CONCURRENT_MODE_TYPE:\n case REACT_FRAGMENT_TYPE:\n case REACT_PROFILER_TYPE:\n case REACT_STRICT_MODE_TYPE:\n case REACT_SUSPENSE_TYPE:\n return type;\n\n default:\n var $$typeofType = type && type.$$typeof;\n\n switch ($$typeofType) {\n case REACT_CONTEXT_TYPE:\n case REACT_FORWARD_REF_TYPE:\n case REACT_LAZY_TYPE:\n case REACT_MEMO_TYPE:\n case REACT_PROVIDER_TYPE:\n return $$typeofType;\n\n default:\n return $$typeof;\n }\n\n }\n\n case REACT_PORTAL_TYPE:\n return $$typeof;\n }\n }\n\n return undefined;\n} // AsyncMode is deprecated along with isAsyncMode\n\nvar AsyncMode = REACT_ASYNC_MODE_TYPE;\nvar ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;\nvar ContextConsumer = REACT_CONTEXT_TYPE;\nvar ContextProvider = REACT_PROVIDER_TYPE;\nvar Element = REACT_ELEMENT_TYPE;\nvar ForwardRef = REACT_FORWARD_REF_TYPE;\nvar Fragment = REACT_FRAGMENT_TYPE;\nvar Lazy = REACT_LAZY_TYPE;\nvar Memo = REACT_MEMO_TYPE;\nvar Portal = REACT_PORTAL_TYPE;\nvar Profiler = REACT_PROFILER_TYPE;\nvar StrictMode = REACT_STRICT_MODE_TYPE;\nvar Suspense = REACT_SUSPENSE_TYPE;\nvar hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated\n\nfunction isAsyncMode(object) {\n {\n if (!hasWarnedAboutDeprecatedIsAsyncMode) {\n hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint\n\n console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');\n }\n }\n\n return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;\n}\nfunction isConcurrentMode(object) {\n return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;\n}\nfunction isContextConsumer(object) {\n return typeOf(object) === REACT_CONTEXT_TYPE;\n}\nfunction isContextProvider(object) {\n return typeOf(object) === REACT_PROVIDER_TYPE;\n}\nfunction isElement(object) {\n return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n}\nfunction isForwardRef(object) {\n return typeOf(object) === REACT_FORWARD_REF_TYPE;\n}\nfunction isFragment(object) {\n return typeOf(object) === REACT_FRAGMENT_TYPE;\n}\nfunction isLazy(object) {\n return typeOf(object) === REACT_LAZY_TYPE;\n}\nfunction isMemo(object) {\n return typeOf(object) === REACT_MEMO_TYPE;\n}\nfunction isPortal(object) {\n return typeOf(object) === REACT_PORTAL_TYPE;\n}\nfunction isProfiler(object) {\n return typeOf(object) === REACT_PROFILER_TYPE;\n}\nfunction isStrictMode(object) {\n return typeOf(object) === REACT_STRICT_MODE_TYPE;\n}\nfunction isSuspense(object) {\n return typeOf(object) === REACT_SUSPENSE_TYPE;\n}\n\nexports.AsyncMode = AsyncMode;\nexports.ConcurrentMode = ConcurrentMode;\nexports.ContextConsumer = ContextConsumer;\nexports.ContextProvider = ContextProvider;\nexports.Element = Element;\nexports.ForwardRef = ForwardRef;\nexports.Fragment = Fragment;\nexports.Lazy = Lazy;\nexports.Memo = Memo;\nexports.Portal = Portal;\nexports.Profiler = Profiler;\nexports.StrictMode = StrictMode;\nexports.Suspense = Suspense;\nexports.isAsyncMode = isAsyncMode;\nexports.isConcurrentMode = isConcurrentMode;\nexports.isContextConsumer = isContextConsumer;\nexports.isContextProvider = isContextProvider;\nexports.isElement = isElement;\nexports.isForwardRef = isForwardRef;\nexports.isFragment = isFragment;\nexports.isLazy = isLazy;\nexports.isMemo = isMemo;\nexports.isPortal = isPortal;\nexports.isProfiler = isProfiler;\nexports.isStrictMode = isStrictMode;\nexports.isSuspense = isSuspense;\nexports.isValidElementType = isValidElementType;\nexports.typeOf = typeOf;\n })();\n}\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-is.production.min.js');\n} else {\n module.exports = require('./cjs/react-is.development.js');\n}\n","/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/\n\n'use strict';\n/* eslint-disable no-unused-vars */\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nfunction toObject(val) {\n\tif (val === null || val === undefined) {\n\t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n\t}\n\n\treturn Object(val);\n}\n\nfunction shouldUseNative() {\n\ttry {\n\t\tif (!Object.assign) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Detect buggy property enumeration order in older V8 versions.\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\t\tvar test1 = new String('abc'); // eslint-disable-line no-new-wrappers\n\t\ttest1[5] = 'de';\n\t\tif (Object.getOwnPropertyNames(test1)[0] === '5') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test2 = {};\n\t\tfor (var i = 0; i < 10; i++) {\n\t\t\ttest2['_' + String.fromCharCode(i)] = i;\n\t\t}\n\t\tvar order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n\t\t\treturn test2[n];\n\t\t});\n\t\tif (order2.join('') !== '0123456789') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test3 = {};\n\t\t'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n\t\t\ttest3[letter] = letter;\n\t\t});\n\t\tif (Object.keys(Object.assign({}, test3)).join('') !==\n\t\t\t\t'abcdefghijklmnopqrst') {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t} catch (err) {\n\t\t// We don't expect any of the above to throw, but better to be safe.\n\t\treturn false;\n\t}\n}\n\nmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n\tvar from;\n\tvar to = toObject(target);\n\tvar symbols;\n\n\tfor (var s = 1; s < arguments.length; s++) {\n\t\tfrom = Object(arguments[s]);\n\n\t\tfor (var key in from) {\n\t\t\tif (hasOwnProperty.call(from, key)) {\n\t\t\t\tto[key] = from[key];\n\t\t\t}\n\t\t}\n\n\t\tif (getOwnPropertySymbols) {\n\t\t\tsymbols = getOwnPropertySymbols(from);\n\t\t\tfor (var i = 0; i < symbols.length; i++) {\n\t\t\t\tif (propIsEnumerable.call(from, symbols[i])) {\n\t\t\t\t\tto[symbols[i]] = from[symbols[i]];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn to;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is');\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n"],"names":["checkPropTypes","typeSpecs","values","location","componentName","getStack","typeSpecName","has","err","Error","name","error","ReactPropTypesSecret","ex","printWarning","message","loggedTypeFailures","stack","emptyFunctionThatReturnsNull","React.useReducer","state","HashRouter","historyRef","current","typeOf","object","$$typeof","REACT_ELEMENT_TYPE","type","REACT_ASYNC_MODE_TYPE","REACT_CONCURRENT_MODE_TYPE","REACT_FRAGMENT_TYPE","REACT_PROFILER_TYPE","REACT_STRICT_MODE_TYPE","REACT_SUSPENSE_TYPE","$$typeofType","REACT_CONTEXT_TYPE","REACT_FORWARD_REF_TYPE","REACT_LAZY_TYPE","REACT_MEMO_TYPE","REACT_PROVIDER_TYPE","REACT_PORTAL_TYPE","isConcurrentMode","hasSymbol","Symbol","for","REACT_SUSPENSE_LIST_TYPE","REACT_BLOCK_TYPE","REACT_FUNDAMENTAL_TYPE","REACT_RESPONDER_TYPE","REACT_SCOPE_TYPE","hasWarnedAboutDeprecatedIsAsyncMode","exports","AsyncMode","ConcurrentMode","ContextConsumer","ContextProvider","Element","ForwardRef","Fragment","Lazy","Memo","Portal","Profiler","StrictMode","Suspense","isAsyncMode","console","isContextConsumer","isContextProvider","isElement","isForwardRef","isFragment","isLazy","isMemo","isPortal","isProfiler","isStrictMode","isSuspense","isValidElementType","module","require$$0","getOwnPropertySymbols","Object","hasOwnProperty","prototype","propIsEnumerable","propertyIsEnumerable","shouldUseNative","assign","test1","String","getOwnPropertyNames","test2","i","fromCharCode","map","order2","n","join","test3","forEach","letter","keys","target","source","undefined","TypeError","symbols","s","arguments","length","from","key","call","to","Function","bind","text","x","resetWarningCache","checkPropTypes.resetWarningCache","printWarning$1","factoryWithTypeCheckers","isValidElement","throwOnDirectAccess","is","y","PropTypeError","createChainableTypeChecker","validate","checkType","isRequired","props","propName","propFullName","secret","ANONYMOUS","cacheKey","manualPropTypeCallCache","manualPropTypeWarningCount","chainedCheckType","createPrimitiveTypeChecker","expectedType","propValue","getPropType","propType","preciseType","getPreciseType","isNode","Array","isArray","every","iteratorFn","ITERATOR_SYMBOL","FAUX_ITERATOR_SYMBOL","iterator","entries","done","step","next","value","entry","RegExp","Date","getPostfixForTypeWarning","ReactPropTypes","array","bool","func","number","string","symbol","any","arrayOf","createArrayOfTypeChecker","typeChecker","element","createElementTypeChecker","elementType","createElementTypeTypeChecker","ReactIs","instanceOf","createInstanceTypeChecker","expectedClass","expectedClassName","constructor","actualClassName","node","createNodeChecker","objectOf","createObjectOfTypeChecker","oneOf","createEnumTypeChecker","expectedValues","valuesString","JSON","stringify","replacer","oneOfType","createUnionTypeChecker","arrayOfTypeCheckers","checker","shape","createShapeTypeChecker","shapeTypes","exact","createStrictShapeTypeChecker","allKeys","PropTypes","require$$1","window","Link","path","href","onClick","event","preventDefault","ref","rest"],"mappings":";;;qBAyCAA,QAASA,EAAc,CAACC,CAAD,CAAYC,CAAZ,CAAoBC,CAApB,CAA8BC,CAA9B,CAA6CC,CAA7C,CAAuD,CAE1E,IAAKC,IAAIA,CAAT,GAAyBL,EAAzB,CACE,GAAIM,CAAA,CAAIN,CAAJ,CAAeK,CAAf,CAAJ,CAAkC,CAKhC,GAAI,CAGF,GAAuC,UAAvC,GAAI,MAAOL,EAAA,CAAUK,CAAV,CAAX,CAAmD,CACjD,IAAIE,EAAMC,KAAA,EACPL,CADO,EACU,aADV,EAC2B,IAD3B,CACkCD,CADlC,CAC6C,SAD7C,CACyDG,CADzD,CACwE,4FADxE,CAEyE,MAAOL,EAAA,CAAUK,CAAV,CAFhF,CAE0G,IAF1G,CAIVE,EAAAE,KAAA,CAAW,qBACX,MAAMF,EAAN,CANiD,CAQnD,IAAAG,EAAQV,CAAA,CAAUK,CAAV,CAAA,CAAwBJ,CAAxB,CAAgCI,CAAhC,CAA8CF,CAA9C,CAA6DD,CAA7D,CAAuE,IAAvE,CCnDSS,8CDmDT,CAXN,CAYF,MAAOC,CAAP,CAAW,CACXF,CAAA,CAAQE,CADG,CAGTF,CAAAA,CAAJ,EAAeA,CAAf,WAAgCF,MAAhC,EACEK,CAAA,EACGV,CADH,EACoB,aADpB,EACqC,0BADrC,CAEED,CAFF,CAEa,IAFb,CAEoBG,CAFpB,CAEmC,0FAFnC;AAGgE,MAAOK,EAHvE,CAG+E,gKAH/E,CASF,IAAIA,CAAJ,WAAqBF,MAArB,EAA8B,EAAEE,CAAAI,QAAF,GAAmBC,EAAnB,CAA9B,CAAsE,CAGpEA,CAAA,CAAmBL,CAAAI,QAAnB,CAAA,CAAoC,CAAA,CAEpC,KAAIE,EAAQZ,CAAA,CAAWA,CAAA,EAAX,CAAwB,EAEpCS,EAAA,CACE,SADF,CACcX,CADd,CACyB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AAuCD,CAAvC,CAAiDoI,CAAjD,CAAgE,GAAhE,CAAsEtB,CAAtE,CDlbOrG,8CCkbP,CACZ,CACE,MAAOD,EAXc,CAczB,MAAO,KAvBiE,CA0BnE,CA3ByC,CAtT7B,CAoDrBqH;CAAA3C,UAAA,CAA0B5E,KAAA4E,UAma1BiF,EAAAtK,eAAA,CFpeeA,CEqefsK,EAAA9C,kBAAA,CFreexH,CEqeoBA,kBAGnC,OAFAsK,EAAA2C,UAEA,CAF2B3C,CAtiBkC,CAA/D,iBKxBEtF,CAAA5B,QAAA,CAAiB8J,EAAAA,CALHjI,CAKwCX,UAArC4I,CADSrF,CAAAA,CACTqF,+DJ8PfC,8FAoFSC;gBASLC,sEAkCFC,OAEAC,gDA7BmB,2EAKpBC,CAAAC,eAAA,2DAU2BrM,MAAAA,MAe1BsM,MACFlH;yCAgDE,gOAaGmH,EAAAA;;;;;;;;"}
@@ -1,2 +1,2 @@
1
- "use strict";!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("history"),require("react-router")):"function"==typeof define&&define.amd?define(["exports","react","history","react-router"],t):t((e=e||self).ReactRouterDOM={},e.React,e.HistoryLibrary,e.ReactRouter)}(this,(function(e,t,r,n){function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r,n=arguments[t];for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function a(e,t){if(null==e)return{};var r,n={},o=Object.keys(e);for(r=0;r<o.length;r++){var a=o[r];0<=t.indexOf(a)||(n[a]=e[a])}return n}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function i(e){var t=0;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(e){if("string"==typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return u(e,t)}}(e)))return function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(t=e[Symbol.iterator]()).next.bind(t)}function c(e,r){void 0===r&&(r=!0);var o=t.useCallback((function(t){window.confirm(e)&&t.retry()}),[e]);n.useBlocker(o,r)}function s(e){return void 0===e&&(e=""),new URLSearchParams("string"==typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((function(t,r){var n=e[r];return t.concat(Array.isArray(n)?n.map((function(e){return[r,e]})):[[r,n]])}),[]))}var f=t.forwardRef((function(e,o){var u=e.onClick,i=e.replace,c=void 0!==i&&i,s=e.state,f=e.target,l=e.to;e=a(e,["onClick","replace","state","target","to"]),i=n.useHref(l);var d=n.useNavigate(),y=n.useLocation(),m=n.useResolvedLocation(l);return t.createElement("a",Object.assign({},e,{href:i,onClick:function(e){u&&u(e),e.defaultPrevented||0!==e.button||f&&"_self"!==f||e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||(e.preventDefault(),e=!!c||r.createPath(y)===r.createPath(m),d(l,{replace:e,state:s}))},ref:o,target:f}))})),l=t.forwardRef((function(e,r){var u=e["aria-current"],i=void 0===u?"page":u,c=void 0===(u=e.activeClassName)?"active":u;u=e.activeStyle;var s=e.caseSensitive,l=void 0!==s&&s,d=void 0===(s=e.className)?"":s,y=void 0!==(s=e.end)&&s,m=e.style;s=e.to,e=a(e,"aria-current activeClassName activeStyle caseSensitive className end style to".split(" "));var b=n.useLocation(),v=n.useResolvedLocation(s);return b=b.pathname,v=v.pathname,l||(b=b.toLowerCase(),v=v.toLowerCase()),i=(l=y?b===v:b.startsWith(v))?i:void 0,c=[d,l?c:null].filter(Boolean).join(" "),u=o({},m,{},l?u:null),t.createElement(f,Object.assign({},e,{"aria-current":i,className:c,ref:r,style:u,to:s}))}));Object.defineProperty(e,"MemoryRouter",{enumerable:!0,get:function(){return n.MemoryRouter}}),Object.defineProperty(e,"Navigate",{enumerable:!0,get:function(){return n.Navigate}}),Object.defineProperty(e,"Outlet",{enumerable:!0,get:function(){return n.Outlet}}),Object.defineProperty(e,"Route",{enumerable:!0,get:function(){return n.Route}}),Object.defineProperty(e,"Router",{enumerable:!0,get:function(){return n.Router}}),Object.defineProperty(e,"Routes",{enumerable:!0,get:function(){return n.Routes}}),Object.defineProperty(e,"createRoutesFromArray",{enumerable:!0,get:function(){return n.createRoutesFromArray}}),Object.defineProperty(e,"createRoutesFromChildren",{enumerable:!0,get:function(){return n.createRoutesFromChildren}}),Object.defineProperty(e,"generatePath",{enumerable:!0,get:function(){return n.generatePath}}),Object.defineProperty(e,"matchPath",{enumerable:!0,get:function(){return n.matchPath}}),Object.defineProperty(e,"matchRoutes",{enumerable:!0,get:function(){return n.matchRoutes}}),Object.defineProperty(e,"resolveLocation",{enumerable:!0,get:function(){return n.resolveLocation}}),Object.defineProperty(e,"useBlocker",{enumerable:!0,get:function(){return n.useBlocker}}),Object.defineProperty(e,"useHref",{enumerable:!0,get:function(){return n.useHref}}),Object.defineProperty(e,"useInRouterContext",{enumerable:!0,get:function(){return n.useInRouterContext}}),Object.defineProperty(e,"useLocation",{enumerable:!0,get:function(){return n.useLocation}}),Object.defineProperty(e,"useLocationPending",{enumerable:!0,get:function(){return n.useLocationPending}}),Object.defineProperty(e,"useMatch",{enumerable:!0,get:function(){return n.useMatch}}),Object.defineProperty(e,"useNavigate",{enumerable:!0,get:function(){return n.useNavigate}}),Object.defineProperty(e,"useOutlet",{enumerable:!0,get:function(){return n.useOutlet}}),Object.defineProperty(e,"useParams",{enumerable:!0,get:function(){return n.useParams}}),Object.defineProperty(e,"useResolvedLocation",{enumerable:!0,get:function(){return n.useResolvedLocation}}),Object.defineProperty(e,"useRoutes",{enumerable:!0,get:function(){return n.useRoutes}}),e.BrowserRouter=function(e){var o=e.children;e=e.window;var a=t.useRef();null==a.current&&(a.current=r.createBrowserHistory({window:e}));var u=a.current;a=(e=t.useReducer((function(e,t){return t}),{action:u.action,location:u.location}))[0];var i=e[1];return t.useLayoutEffect((function(){return u.listen(i)}),[u]),t.createElement(n.Router,{children:o,action:a.action,location:a.location,navigator:u})},e.HashRouter=function(e){var o=e.children;e=e.window;var a=t.useRef();null==a.current&&(a.current=r.createHashHistory({window:e}));var u=a.current;a=(e=t.useReducer((function(e,t){return t}),{action:u.action,location:u.location}))[0];var i=e[1];return t.useLayoutEffect((function(){return u.listen(i)}),[u]),t.createElement(n.Router,{children:o,action:a.action,location:a.location,navigator:u})},e.Link=f,e.NavLink=l,e.Prompt=function(e){return c(e.message,e.when),null},e.createSearchParams=s,e.usePrompt=c,e.useSearchParams=function(e){var r=t.useRef(s(e)),o=n.useLocation();e=t.useMemo((function(){for(var e,t=s(o.search),n=function(){var n=e.value;t.has(n)||r.current.getAll(n).forEach((function(e){t.append(n,e)}))},a=i(r.current.keys());!(e=a()).done;)n();return t}),[o.search]);var a=n.useNavigate();return[e,t.useCallback((function(e,t){a("?"+s(e),t)}),[a])]},Object.defineProperty(e,"__esModule",{value:!0})}));
1
+ "use strict";!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("history"),require("react-router")):"function"==typeof define&&define.amd?define(["exports","react","history","react-router"],t):t((e=e||self).ReactRouterDOM={},e.React,e.HistoryLibrary,e.ReactRouter)}(this,(function(e,t,r,n){function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r,n=arguments[t];for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function a(e,t){if(null==e)return{};var r,n={},o=Object.keys(e);for(r=0;r<o.length;r++){var a=o[r];0<=t.indexOf(a)||(n[a]=e[a])}return n}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function i(e){var t=0;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(e){if("string"==typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return u(e,t)}}(e)))return function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(t=e[Symbol.iterator]()).next.bind(t)}function c(e,r){void 0===r&&(r=!0);var o=t.useCallback((function(t){window.confirm(e)&&t.retry()}),[e]);n.useBlocker(o,r)}function s(e){return void 0===e&&(e=""),new URLSearchParams("string"==typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((function(t,r){var n=e[r];return t.concat(Array.isArray(n)?n.map((function(e){return[r,e]})):[[r,n]])}),[]))}var f=t.forwardRef((function(e,o){var u=e.onClick,i=e.replace,c=void 0!==i&&i,s=e.state,f=e.target,l=e.to;e=a(e,["onClick","replace","state","target","to"]),i=n.useHref(l);var d=n.useNavigate(),y=n.useLocation(),m=n.useResolvedPath(l);return t.createElement("a",Object.assign({},e,{href:i,onClick:function(e){u&&u(e),e.defaultPrevented||0!==e.button||f&&"_self"!==f||e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||(e.preventDefault(),e=!!c||r.createPath(y)===r.createPath(m),d(l,{replace:e,state:s}))},ref:o,target:f}))})),l=t.forwardRef((function(e,r){var u=e["aria-current"],i=void 0===u?"page":u,c=void 0===(u=e.activeClassName)?"active":u;u=e.activeStyle;var s=e.caseSensitive,l=void 0!==s&&s,d=void 0===(s=e.className)?"":s,y=void 0!==(s=e.end)&&s,m=e.style;s=e.to,e=a(e,"aria-current activeClassName activeStyle caseSensitive className end style to".split(" "));var b=n.useLocation(),v=n.useResolvedPath(s);return b=b.pathname,v=v.pathname,l||(b=b.toLowerCase(),v=v.toLowerCase()),i=(l=y?b===v:b.startsWith(v))?i:void 0,c=[d,l?c:null].filter(Boolean).join(" "),u=o({},m,{},l?u:null),t.createElement(f,Object.assign({},e,{"aria-current":i,className:c,ref:r,style:u,to:s}))}));Object.defineProperty(e,"MemoryRouter",{enumerable:!0,get:function(){return n.MemoryRouter}}),Object.defineProperty(e,"Navigate",{enumerable:!0,get:function(){return n.Navigate}}),Object.defineProperty(e,"Outlet",{enumerable:!0,get:function(){return n.Outlet}}),Object.defineProperty(e,"Route",{enumerable:!0,get:function(){return n.Route}}),Object.defineProperty(e,"Router",{enumerable:!0,get:function(){return n.Router}}),Object.defineProperty(e,"Routes",{enumerable:!0,get:function(){return n.Routes}}),Object.defineProperty(e,"createRoutesFromArray",{enumerable:!0,get:function(){return n.createRoutesFromArray}}),Object.defineProperty(e,"createRoutesFromChildren",{enumerable:!0,get:function(){return n.createRoutesFromChildren}}),Object.defineProperty(e,"generatePath",{enumerable:!0,get:function(){return n.generatePath}}),Object.defineProperty(e,"matchPath",{enumerable:!0,get:function(){return n.matchPath}}),Object.defineProperty(e,"matchRoutes",{enumerable:!0,get:function(){return n.matchRoutes}}),Object.defineProperty(e,"resolvePath",{enumerable:!0,get:function(){return n.resolvePath}}),Object.defineProperty(e,"useBlocker",{enumerable:!0,get:function(){return n.useBlocker}}),Object.defineProperty(e,"useHref",{enumerable:!0,get:function(){return n.useHref}}),Object.defineProperty(e,"useInRouterContext",{enumerable:!0,get:function(){return n.useInRouterContext}}),Object.defineProperty(e,"useLocation",{enumerable:!0,get:function(){return n.useLocation}}),Object.defineProperty(e,"useMatch",{enumerable:!0,get:function(){return n.useMatch}}),Object.defineProperty(e,"useNavigate",{enumerable:!0,get:function(){return n.useNavigate}}),Object.defineProperty(e,"useOutlet",{enumerable:!0,get:function(){return n.useOutlet}}),Object.defineProperty(e,"useParams",{enumerable:!0,get:function(){return n.useParams}}),Object.defineProperty(e,"useResolvedPath",{enumerable:!0,get:function(){return n.useResolvedPath}}),Object.defineProperty(e,"useRoutes",{enumerable:!0,get:function(){return n.useRoutes}}),e.BrowserRouter=function(e){var o=e.children;e=e.window;var a=t.useRef();null==a.current&&(a.current=r.createBrowserHistory({window:e}));var u=a.current;a=(e=t.useReducer((function(e,t){return t}),{action:u.action,location:u.location}))[0];var i=e[1];return t.useLayoutEffect((function(){return u.listen(i)}),[u]),t.createElement(n.Router,{children:o,action:a.action,location:a.location,navigator:u})},e.HashRouter=function(e){var o=e.children;e=e.window;var a=t.useRef();null==a.current&&(a.current=r.createHashHistory({window:e}));var u=a.current;a=(e=t.useReducer((function(e,t){return t}),{action:u.action,location:u.location}))[0];var i=e[1];return t.useLayoutEffect((function(){return u.listen(i)}),[u]),t.createElement(n.Router,{children:o,action:a.action,location:a.location,navigator:u})},e.Link=f,e.NavLink=l,e.Prompt=function(e){return c(e.message,e.when),null},e.createSearchParams=s,e.usePrompt=c,e.useSearchParams=function(e){var r=t.useRef(s(e)),o=n.useLocation();e=t.useMemo((function(){for(var e,t=s(o.search),n=function(){var n=e.value;t.has(n)||r.current.getAll(n).forEach((function(e){t.append(n,e)}))},a=i(r.current.keys());!(e=a()).done;)n();return t}),[o.search]);var a=n.useNavigate();return[e,t.useCallback((function(e,t){a("?"+s(e),t)}),[a])]},Object.defineProperty(e,"__esModule",{value:!0})}));
2
2
  //# sourceMappingURL=react-router-dom.production.min.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"react-router-dom.production.min.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"react-router-dom.production.min.js","sources":["../../../packages/react-router-dom/index.tsx"],"sourcesContent":[null],"names":["Link","path","href","onClick","event","state","ref","target","React.useReducer","historyRef"],"mappings":"mzDA+VaA,gNASLC,sEAkCFC,OAEAC,gDA7BmB,2EAKpBC,2EAU2BC,MAAAA,MAe1BC,MACFC,qDAgDE,wmFA1P4D,kIASxDC,0NAgCEH,kHA4CRI,8EAMA"}