1import{o as e,t}from"./chunk-CMxvf4Kt.js";import{n}from"./jsx-runtime-SsSjplwM.js";import{t as r}from"./prop-types-BTvjt2rf.js";function i(e,t){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},i(e,t)}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,i(e,t)}var o=e(n()),s=e(r());function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(null,arguments)}function l(e){return e.charAt(0)===`/`}function u(e,t){for(var n=t,r=n+1,i=e.length;r<i;n+=1,r+=1)e[n]=e[r];e.pop()}function d(e,t){t===void 0&&(t=``);var n=e&&e.split(`/`)||[],r=t&&t.split(`/`)||[],i=e&&l(e),a=t&&l(t),o=i||a;if(e&&l(e)?r=n:n.length&&(r.pop(),r=r.concat(n)),!r.length)return`/`;var s;if(r.length){var c=r[r.length-1];s=c===`.`||c===`..`||c===``}else s=!1;for(var d=0,f=r.length;f>=0;f--){var p=r[f];p===`.`?u(r,f):p===`..`?(u(r,f),d++):d&&(u(r,f),d--)}if(!o)for(;d--;)r.unshift(`..`);o&&r[0]!==``&&(!r[0]||!l(r[0]))&&r.unshift(``);var m=r.join(`/`);return s&&m.substr(-1)!==`/`&&(m+=`/`),m}function f(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}function p(e,t){if(e===t)return!0;if(e==null||t==null)return!1;if(Array.isArray(e))return Array.isArray(t)&&e.length===t.length&&e.every(function(e,n){return p(e,t[n])});if(typeof e==`object`||typeof t==`object`){var n=f(e),r=f(t);return n!==e||r!==t?p(n,r):Object.keys(Object.assign({},e,t)).every(function(n){return p(e[n],t[n])})}return!1}var m=!0,h=`Invariant failed`;function g(e,t){if(!e){if(m)throw Error(h);var n=typeof t==`function`?t():t,r=n?`${h}: ${n}`:h;throw Error(r)}}function _(e){return e.charAt(0)===`/`?e:`/`+e}function v(e){return e.charAt(0)===`/`?e.substr(1):e}function y(e,t){return e.toLowerCase().indexOf(t.toLowerCase())===0&&`/?#`.indexOf(e.charAt(t.length))!==-1}function b(e,t){return y(e,t)?e.substr(t.length):e}function x(e){return e.charAt(e.length-1)===`/`?e.slice(0,-1):e}function S(e){var t=e||`/`,n=``,r=``,i=t.indexOf(`#`);i!==-1&&(r=t.substr(i),t=t.substr(0,i));var a=t.indexOf(`?`);return a!==-1&&(n=t.substr(a),t=t.substr(0,a)),{pathname:t,search:n===`?`?``:n,hash:r===`#`?``:r}}function C(e){var t=e.pathname,n=e.search,r=e.hash,i=t||`/`;return n&&n!==`?`&&(i+=n.charAt(0)===`?`?n:`?`+n),r&&r!==`#`&&(i+=r.charAt(0)===`#`?r:`#`+r),i}function w(e,t,n,r){var i;typeof e==`string`?(i=S(e),i.state=t):(i=c({},e),i.pathname===void 0&&(i.pathname=``),i.search?i.search.charAt(0)!==`?`&&(i.search=`?`+i.search):i.search=``,i.hash?i.hash.charAt(0)!==`#`&&(i.hash=`#`+i.hash):i.hash=``,t!==void 0&&i.state===void 0&&(i.state=t));try{i.pathname=decodeURI(i.pathname)}catch(e){throw e instanceof URIError?URIError(`Pathname "`+i.pathname+`" could not be decoded. This is likely caused by an invalid percent-encoding.`):e}return n&&(i.key=n),r?i.pathname?i.pathname.charAt(0)!==`/`&&(i.pathname=d(i.pathname,r.pathname)):i.pathname=r.pathname:i.pathname||=`/`,i}function T(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&p(e.state,t.state)}function E(){var e=null;function t(t){return e=t,function(){e===t&&(e=null)}}function n(t,n,r,i){if(e!=null){var a=typeof e==`function`?e(t,n):e;typeof a==`string`?typeof r==`function`?r(a,i):i(!0):i(a!==!1)}else i(!0)}var r=[];function i(e){var t=!0;function n(){t&&e.apply(void 0,arguments)}return r.push(n),function(){t=!1,r=r.filter(function(e){return e!==n})}}function a(){var e=[...arguments];r.forEach(function(t){return t.apply(void 0,e)})}return{setPrompt:t,confirmTransitionTo:n,appendListener:i,notifyListeners:a}}var ee=!!(typeof window<`u`&&window.document&&window.document.createElement);function te(e,t){t(window.confirm(e))}function ne(){var e=window.navigator.userAgent;return(e.indexOf(`Android 2.`)!==-1||e.indexOf(`Android 4.0`)!==-1)&&e.indexOf(`Mobile Safari`)!==-1&&e.indexOf(`Chrome`)===-1&&e.indexOf(`Windows Phone`)===-1?!1:window.history&&`pushState`in window.history}function D(){return window.navigator.userAgent.indexOf(`Trident`)===-1}function O(){return window.navigator.userAgent.indexOf(`Firefox`)===-1}function k(e){return e.state===void 0&&navigator.userAgent.indexOf(`CriOS`)===-1}
1var A=`popstate`,j=`hashchange`;function M(){try{return window.history.state||{}}catch{return{}}}function N(e){e===void 0&&(e={}),!ee&&g(!1);var t=window.history,n=ne(),r=!D(),i=e,a=i.forceRefresh,o=a===void 0?!1:a,s=i.getUserConfirmation,l=s===void 0?te:s,u=i.keyLength,d=u===void 0?6:u,f=e.basename?x(_(e.basename)):``;function p(e){var t=e||{},n=t.key,r=t.state,i=window.location,a=i.pathname,o=i.search,s=i.hash,c=a+o+s;return f&&(c=b(c,f)),w(c,r,n)}function m(){return Math.random().toString(36).substr(2,d)}var h=E();function v(e){c(q,e),q.length=t.length,h.notifyListeners(q.location,q.action)}function y(e){k(e)||O(p(e.state))}function S(){O(p(M()))}var T=!1;function O(e){if(T)T=!1,v();else{var t=`POP`;h.confirmTransitionTo(e,t,l,function(n){n?v({action:t,location:e}):N(e)})}}function N(e){var t=q.location,n=F.indexOf(t.key);n===-1&&(n=0);var r=F.indexOf(e.key);r===-1&&(r=0);var i=n-r;i&&(T=!0,z(i))}var P=p(M()),F=[P.key];function I(e){return f+C(e)}function L(e,r){var i=`PUSH`,a=w(e,r,m(),q.location);h.confirmTransitionTo(a,i,l,function(e){if(e){var r=I(a),s=a.key,c=a.state;if(n)if(t.pushState({key:s,state:c},null,r),o)window.location.href=r;else{var l=F.indexOf(q.location.key),u=F.slice(0,l+1);u.push(a.key),F=u,v({action:i,location:a})}else window.location.href=r}})}function R(e,r){var i=`REPLACE`,a=w(e,r,m(),q.location);h.confirmTransitionTo(a,i,l,function(e){if(e){var r=I(a),s=a.key,c=a.state;if(n)if(t.replaceState({key:s,state:c},null,r),o)window.location.replace(r);else{var l=F.indexOf(q.location.key);l!==-1&&(F[l]=a.key),v({action:i,location:a})}else window.location.replace(r)}})}function z(e){t.go(e)}function B(){z(-1)}function V(){z(1)}var H=0;function U(e){H+=e,H===1&&e===1?(window.addEventListener(A,y),r&&window.addEventListener(j,S)):H===0&&(window.removeEventListener(A,y),r&&window.removeEventListener(j,S))}var W=!1;function G(e){e===void 0&&(e=!1);var t=h.setPrompt(e);return W||=(U(1),!0),function(){return W&&(W=!1,U(-1)),t()}}function K(e){var t=h.appendListener(e);return U(1),function(){U(-1),t()}}var q={length:t.length,action:`POP`,location:P,createHref:I,push:L,replace:R,go:z,goBack:B,goForward:V,block:G,listen:K};return q}var P=`hashchange`,F={hashbang:{encodePath:function(e){return e.charAt(0)===`!`?e:`!/`+v(e)},decodePath:function(e){return e.charAt(0)===`!`?e.substr(1):e}},noslash:{encodePath:v,decodePath:_},slash:{encodePath:_,decodePath:_}};function I(e){var t=e.indexOf(`#`);return t===-1?e:e.slice(0,t)}function L(){var e=window.location.href,t=e.indexOf(`#`);return t===-1?``:e.substring(t+1)}function R(e){window.location.hash=e}function z(e){window.location.replace(I(window.location.href)+`#`+e)}function B(e){e===void 0&&(e={}),!ee&&g(!1);var t=window.history;O();var n=e,r=n.getUserConfirmation,i=r===void 0?te:r,a=n.hashType,o=a===void 0?`slash`:a,s=e.basename?x(_(e.basename)):``,l=F[o],u=l.encodePath,d=l.decodePath;function f(){var e=d(L());return s&&(e=b(e,s)),w(e)}var p=E();function m(e){c(J,e),J.length=t.length,p.notifyListeners(J.location,J.action)}var h=!1,v=null;function y(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash}function S(){var e=L(),t=u(e);if(e!==t)z(t);else{var n=f(),r=J.location;if(!h&&y(r,n)||v===C(n))return;v=null,T(n)}}function T(e){if(h)h=!1,m();else{var t=`POP`;p.confirmTransitionTo(e,t,i,function(n){n?m({action:t,location:e}):ne(e)})}}function ne(e){var t=J.location,n=j.lastIndexOf(C(t));n===-1&&(n=0);var r=j.lastIndexOf(C(e));r===-1&&(r=0);var i=n-r;i&&(h=!0,V(i))}var D=L(),k=u(D);D!==k&&z(k);var A=f(),j=[C(A)];function M(e){var t=document.querySelector(`base`),n=``;return t&&t.getAttribute(`href`)&&(n=I(window.location.href)),n+`#`+u(s+C(e))}function N(e,t){var n=`PUSH`,r=w(e,void 0,void 0,J.location);p.confirmTransitionTo(r,n,i,function(e){if(e){var t=C(r),i=u(s+t);if(L()!==i){v=t,R(i);var a=j.lastIndexOf(C(J.location)),o=j.slice(0,a+1);o.push(t),j=o,m({action:n,location:r})}else m()}})}function B(e,t){var n=`REPLACE`,r=w(e,void 0,void 0,J.location);p.confirmTransitionTo(r,n,i,function(e){if(e){var t=C(r),i=u(s+t);L()!==i&&(v=t,z(i));var a=j.indexOf(C(J.location));a!==-1&&(j[a]=t),m({action:n,location:r})}})}function V(e){t.go(e)}function H(){V(-1)}function U(){V(1)}var W=0;function G(e){W+=e,W===1&&e===1?window.addEventListener(P,S):W===0&&window.removeEventListener(P,S)}var K=!1;function q(e){e===void 0&&(e=!1);var t=p.setPrompt(e);return K||=(G(1),!0),function(){return K&&(K=!1,G(-1)),t()}}function re(e){var t=p.appendListener(e);return G(1),function(){G(-1),t()}}var J={length:t.length,action:`POP`,location:A,createHref:M,push:N,replace:B,go:V,goBack:H,goForward:U,block:q,listen:re};return J}var V=t(((e,t)=>{t.exports=Array.isArray||function(e){return Object.prototype.toString.call(e)==`[object Array]`}}
1)),H=t(((e,t)=>{var n=V();t.exports=v,t.exports.parse=i,t.exports.compile=o,t.exports.tokensToFunction=l,t.exports.tokensToRegExp=_;var r=new RegExp([`(\\\\.)`,`([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))`].join(`|`),`g`);function i(e,t){for(var n=[],i=0,o=0,s=``,c=t&&t.delimiter||`/`,l;(l=r.exec(e))!=null;){var u=l[0],f=l[1],p=l.index;if(s+=e.slice(o,p),o=p+u.length,f){s+=f[1];continue}var m=e[o],h=l[2],g=l[3],_=l[4],v=l[5],y=l[6],b=l[7];s&&=(n.push(s),``);var x=h!=null&&m!=null&&m!==h,S=y===`+`||y===`*`,C=y===`?`||y===`*`,w=h||c,T=_||v,E=h||(typeof n[n.length-1]==`string`?n[n.length-1]:``);n.push({name:g||i++,prefix:h||``,delimiter:w,optional:C,repeat:S,partial:x,asterisk:!!b,pattern:T?d(T):b?`.*`:a(w,E)})}return o<e.length&&(s+=e.substr(o)),s&&n.push(s),n}function a(e,t){return!t||t.indexOf(e)>-1?`[^`+u(e)+`]+?`:u(t)+`|(?:(?!`+u(t)+`)[^`+u(e)+`])+?`}function o(e,t){return l(i(e,t),t)}function s(e){return encodeURI(e).replace(/[\/?#]/g,function(e){return`%`+e.charCodeAt(0).toString(16).toUpperCase()})}function c(e){return encodeURI(e).replace(/[?#]/g,function(e){return`%`+e.charCodeAt(0).toString(16).toUpperCase()})}function l(e,t){for(var r=Array(e.length),i=0;i<e.length;i++)typeof e[i]==`object`&&(r[i]=RegExp(`^(?:`+e[i].pattern+`)$`,p(t)));return function(t,i){for(var a=``,o=t||{},l=(i||{}).pretty?s:encodeURIComponent,u=0;u<e.length;u++){var d=e[u];if(typeof d==`string`){a+=d;continue}var f=o[d.name],p;if(f==null)if(d.optional){d.partial&&(a+=d.prefix);continue}else throw TypeError(`Expected "`+d.name+`" to be defined`);if(n(f)){if(!d.repeat)throw TypeError(`Expected "`+d.name+'" to not repeat, but received `'+JSON.stringify(f)+"`");if(f.length===0){if(d.optional)continue;throw TypeError(`Expected "`+d.name+`" to not be empty`)}for(var m=0;m<f.length;m++){if(p=l(f[m]),!r[u].test(p))throw TypeError(`Expected all "`+d.name+`" to match "`+d.pattern+'", but received `'+JSON.stringify(p)+"`");a+=(m===0?d.prefix:d.delimiter)+p}continue}if(p=d.asterisk?c(f):l(f),!r[u].test(p))throw TypeError(`Expected "`+d.name+`" to match "`+d.pattern+`", but received "`+p+`"`);a+=d.prefix+p}return a}}function u(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,`\\$1`)}function d(e){return e.replace(/([=!:$\/()])/g,`\\$1`)}function f(e,t){return e.keys=t,e}function p(e){return e&&e.sensitive?``:`i`}function m(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return f(e,t)}function h(e,t,n){for(var r=[],i=0;i<e.length;i++)r.push(v(e[i],t,n).source);return f(RegExp(`(?:`+r.join(`|`)+`)`,p(n)),t)}function g(e,t,n){return _(i(e,n),t,n)}function _(e,t,r){n(t)||(r=t||r,t=[]),r||={};for(var i=r.strict,a=r.end!==!1,o=``,s=0;s<e.length;s++){var c=e[s];if(typeof c==`string`)o+=u(c);else{var l=u(c.prefix),d=`(?:`+c.pattern+`)`;t.push(c),c.repeat&&(d+=`(?:`+l+d+`)*`),d=c.optional?c.partial?l+`(`+d+`)?`:`(?:`+l+`(`+d+`))?`:l+`(`+d+`)`,o+=d}}var m=u(r.delimiter||`/`),h=o.slice(-m.length)===m;return i||(o=(h?o.slice(0,-m.length):o)+`(?:`+m+`(?=$))?`),a?o+=`$`:o+=i&&h?``:`(?=`+m+`|$)`,f(RegExp(`^`+o,p(r)),t)}function v(e,t,r){return n(t)||(r=t||r,t=[]),r||={},e instanceof RegExp?m(e,t):n(e)?h(e,t,r):g(e,t,r)}})),U=t((e=>{var t=typeof Symbol==`function`&&Symbol.for,n=t?Symbol.for(`react.element`):60103,r=t?Symbol.for(`react.portal`):60106,i=t?Symbol.for(`react.fragment`):60107,a=t?Symbol.for(`react.strict_mode`):60108,o=t?Symbol.for(`react.profiler`):60114,s=t?Symbol.for(`react.provider`):60109,c=t?Symbol.for(`react.context`):60110,l=t?Symbol.for(`react.async_mode`):60111,u=t?Symbol.for(`react.concurrent_mode`):60111,d=t?Symbol.for(`react.forward_ref`):60112,f=t?Symbol.for(`react.suspense`):60113,p=t?Symbol.for(`react.suspense_list`):60120,m=t?Symbol.for(`react.memo`):60115,h=t?Symbol.for(`react.lazy`):60116,g=t?Symbol.for(`react.block`):60121,_=t?Symbol.for(`react.fundamental`):60117,v=t?Symbol.for(`react.responder`):60118,y=t?Symbol.for(`react.scope`):60119;function b(e){if(typeof e==`object`&&e){var t=e.$$typeof;switch(t){case n:switch(e=e.type,e){case l:case u:case i:case o:case a:case f:return e;default:switch(e&&=e.$$typeof,e){case c:case d:case h:case m:case s:return e;default:return t}}case r:return t}}}function x(e){return b(e)===u}e.AsyncMode=l,e.ConcurrentMode=u,e.ContextConsumer=c,e.ContextProvider=s,e.
1Element=n,e.ForwardRef=d,e.Fragment=i,e.Lazy=h,e.Memo=m,e.Portal=r,e.Profiler=o,e.StrictMode=a,e.Suspense=f,e.isAsyncMode=function(e){return x(e)||b(e)===l},e.isConcurrentMode=x,e.isContextConsumer=function(e){return b(e)===c},e.isContextProvider=function(e){return b(e)===s},e.isElement=function(e){return typeof e==`object`&&!!e&&e.$$typeof===n},e.isForwardRef=function(e){return b(e)===d},e.isFragment=function(e){return b(e)===i},e.isLazy=function(e){return b(e)===h},e.isMemo=function(e){return b(e)===m},e.isPortal=function(e){return b(e)===r},e.isProfiler=function(e){return b(e)===o},e.isStrictMode=function(e){return b(e)===a},e.isSuspense=function(e){return b(e)===f},e.isValidElementType=function(e){return typeof e==`string`||typeof e==`function`||e===i||e===u||e===o||e===a||e===f||e===p||typeof e==`object`&&!!e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===s||e.$$typeof===c||e.$$typeof===d||e.$$typeof===_||e.$$typeof===v||e.$$typeof===y||e.$$typeof===g)},e.typeOf=b})),W=t(((e,t)=>{t.exports=U()})),G=e(H());W();function K(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var q=t(((e,t)=>{var n=W(),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[n.ForwardRef]=a,s[n.Memo]=o;function c(e){return n.isMemo(e)?o:s[e.$$typeof]||r}var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;function h(e,t,n){if(typeof t!=`string`){if(m){var r=p(t);r&&r!==m&&h(e,r,n)}var a=u(t);d&&(a=a.concat(d(t)));for(var o=c(e),s=c(t),g=0;g<a.length;++g){var _=a[g];if(!i[_]&&!(n&&n[_])&&!(s&&s[_])&&!(o&&o[_])){var v=f(t,_);try{l(e,_,v)}catch{}}}}return e}t.exports=h})),re=e(q()),J=1073741823,Y=typeof globalThis<`u`?globalThis:typeof window<`u`?window:typeof global<`u`?global:{};function ie(){var e=`__global_unique_id__`;return Y[e]=(Y[e]||0)+1}function ae(e,t){return e===t?e!==0||1/e==1/t:e!==e&&t!==t}function oe(e){var t=[];return{on:function(e){t.push(e)},off:function(e){t=t.filter(function(t){return t!==e})},get:function(){return e},set:function(n,r){e=n,t.forEach(function(t){return t(e,r)})}}}function se(e){return Array.isArray(e)?e[0]:e}function ce(e,t){var n,r,i=`__create-react-context-`+ie()+`__`,c=function(e){a(n,e);function n(){var t,n=[...arguments];return t=e.call.apply(e,[this].concat(n))||this,t.emitter=oe(t.props.value),t}var r=n.prototype;return r.getChildContext=function(){var e;return e={},e[i]=this.emitter,e},r.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n=this.props.value,r=e.value,i;ae(n,r)?i=0:(i=typeof t==`function`?t(n,r):J,i|=0,i!==0&&this.emitter.set(e.value,i))}},r.render=function(){return this.props.children},n}(o.Component);c.childContextTypes=(n={},n[i]=s.default.object.isRequired,n);var l=function(t){a(n,t);function n(){var e,n=[...arguments];return e=t.call.apply(t,[this].concat(n))||this,e.observedBits=void 0,e.state={value:e.getValue()},e.onUpdate=function(t,n){(e.observedBits|0)&n&&e.setState({value:e.getValue()})},e}var r=n.prototype;return r.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=t??J},r.componentDidMount=function(){this.context[i]&&this.context[i].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=e??J},r.componentWillUnmount=function(){this.context[i]&&this.context[i].off(this.onUpdate)},r.getValue=function(){return this.context[i]?this.context[i].get():e},r.render=function(){return se(this.props.children)(this.state.value)},n}(o.Component);return l.contextTypes=(r={},r[i]=s.default.object,r),{Provider:c,Consumer:l}}var le=o.createContext||ce,ue=function(e){var t=le();return t.displayName=e,t},de=ue(`Router-History`),X=ue(`Router`),fe=function(e){a(t,e),t.computeRootMatch=function(e){return{path:`/`,url:`/`,params:{},isExact:e===`/`}};function t(t){var n=e.call(this,t)||this;return n.state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen(function(e){n._pendingLocation=e})),n}var n=t.prototype;return n.componentDidMount=function(){var e=this;this._isMounted=!0,this.unlisten&&this.unlisten(),this.props.staticContext||(this.unlisten=this.props.history.listen(function(t){e._isMounted&&e.setState({location:t})}
1)),this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},n.render=function(){return o.createElement(X.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},o.createElement(de.Provider,{children:this.props.children||null,value:this.props.history}))},t}(o.Component);o.Component;var pe=function(e){a(t,e);function t(){return e.apply(this,arguments)||this}var n=t.prototype;return n.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},n.componentDidUpdate=function(e){this.props.onUpdate&&this.props.onUpdate.call(this,this,e)},n.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},n.render=function(){return null},t}(o.Component),Z={},me=1e4,he=0;function ge(e){if(Z[e])return Z[e];var t=G.default.compile(e);return he<me&&(Z[e]=t,he++),t}function _e(e,t){return e===void 0&&(e=`/`),t===void 0&&(t={}),e===`/`?e:ge(e)(t,{pretty:!0})}function ve(e){var t=e.computedMatch,n=e.to,r=e.push,i=r===void 0?!1:r;return o.createElement(X.Consumer,null,function(e){!e&&g(!1);var r=e.history,a=e.staticContext,s=i?r.push:r.replace,l=w(t?typeof n==`string`?_e(n,t.params):c({},n,{pathname:_e(n.pathname,t.params)}):n);return a?(s(l),null):o.createElement(pe,{onMount:function(){s(l)},onUpdate:function(e,t){var n=w(t.to);T(n,c({},l,{key:n.key}))||s(l)},to:n})})}var ye={},be=1e4,xe=0;function Se(e,t){var n=``+t.end+t.strict+t.sensitive,r=ye[n]||(ye[n]={});if(r[e])return r[e];var i=[],a={regexp:(0,G.default)(e,i,t),keys:i};return xe<be&&(r[e]=a,xe++),a}function Q(e,t){t===void 0&&(t={}),(typeof t==`string`||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,i=n.exact,a=i===void 0?!1:i,o=n.strict,s=o===void 0?!1:o,c=n.sensitive,l=c===void 0?!1:c;return[].concat(r).reduce(function(t,n){if(!n&&n!==``)return null;if(t)return t;var r=Se(n,{end:a,strict:s,sensitive:l}),i=r.regexp,o=r.keys,c=i.exec(e);if(!c)return null;var u=c[0],d=c.slice(1),f=e===u;return a&&!f?null:{path:n,url:n===`/`&&u===``?`/`:u,isExact:f,params:o.reduce(function(e,t,n){return e[t.name]=d[n],e},{})}},null)}function Ce(e){return o.Children.count(e)===0}var we=function(e){a(t,e);function t(){return e.apply(this,arguments)||this}var n=t.prototype;return n.render=function(){var e=this;return o.createElement(X.Consumer,null,function(t){!t&&g(!1);var n=e.props.location||t.location,r=c({},t,{location:n,match:e.props.computedMatch?e.props.computedMatch:e.props.path?Q(n.pathname,e.props):t.match}),i=e.props,a=i.children,s=i.component,l=i.render;return Array.isArray(a)&&Ce(a)&&(a=null),o.createElement(X.Provider,{value:r},r.match?a?typeof a==`function`?a(r):a:s?o.createElement(s,r):l?l(r):null:typeof a==`function`?a(r):null)})},t}(o.Component);o.Component;var Te=function(e){a(t,e);function t(){return e.apply(this,arguments)||this}var n=t.prototype;return n.render=function(){var e=this;return o.createElement(X.Consumer,null,function(t){!t&&g(!1);var n=e.props.location||t.location,r,i;return o.Children.forEach(e.props.children,function(e){if(i==null&&o.isValidElement(e)){r=e;var a=e.props.path||e.props.from;i=a?Q(n.pathname,c({},e.props,{path:a})):t.match}}),i?o.cloneElement(r,{location:n,computedMatch:i}):null})},t}(o.Component);function Ee(e){var t=`withRouter(`+(e.displayName||e.name)+`)`,n=function(t){var n=t.wrappedComponentRef,r=K(t,[`wrappedComponentRef`]);return o.createElement(X.Consumer,null,function(t){return!t&&g(!1),o.createElement(e,c({},r,t,{ref:n}))})};return n.displayName=t,n.WrappedComponent=e,(0,re.default)(n,e)}var $=o.useContext;function De(){return $(de)}function Oe(){return $(X).location}function ke(){var e=$(X).match;return e?e.params:{}}function Ae(e){var t=Oe(),n=$(X).match;return e?Q(t.pathname,e):n}export{C as _,X as a,a as b,Oe as c,Ee as d,q as f,w as g,B as h,Te as i,ke as l,N as m,we as n,Q as o,K as p,fe as r,De as s,ve as t,Ae as u,g as v,i as x,c as y}; 2//# sourceMappingURL=react-router-BzQH59UT.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.