1import{g as Je,a8 as it,R as T,H as at,r as ot,F as st}from"./index-TEHZzOO_.js";import{j as te}from"./client-By3tlFYA.js";import{t as ct,p as ut,D as fe}from"./numbers-BLyy7tyF.js";import{M as le}from"./message-CVkQtbZv.js";function Pe(e,t){return Pe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},Pe(e,t)}function V(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Pe(e,t)}var he={exports:{}},pe,Le;function ft(){if(Le)return pe;Le=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return pe=e,pe}var ve,Ae;function lt(){if(Ae)return ve;Ae=1;var e=ft();function t(){}function i(){}return i.resetWarningCache=t,ve=function(){function n(s,f,u,o,c,v){if(v!==e){var h=new 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");throw h.name="Invariant Violation",h}}n.isRequired=n;function r(){return n}var a={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:r,element:n,elementType:n,instanceOf:r,node:n,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:i,resetWarningCache:t};return a.PropTypes=a,a},ve}var Se;function ht(){return Se||(Se=1,he.exports=lt()()),he.exports}var pt=ht();const Me=Je(pt);function D(){return D=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},D.apply(null,arguments)}function ie(e){return e.charAt(0)==="/"}function de(e,t){for(var i=t,n=i+1,r=e.length;n<r;i+=1,n+=1)e[i]=e[n];e.pop()}function vt(e,t){t===void 0&&(t="");var i=e&&e.split("/")||[],n=t&&t.split("/")||[],r=e&&ie(e),a=t&&ie(t),s=r||a;if(e&&ie(e)?n=i:i.length&&(n.pop(),n=n.concat(i)),!n.length)return"/";var f;if(n.length){var u=n[n.length-1];f=u==="."||u===".."||u===""}else f=!1;for(var o=0,c=n.length;c>=0;c--){var v=n[c];v==="."?de(n,c):v===".."?(de(n,c),o++):o&&(de(n,c),o--)}if(!s)for(;o--;o)n.unshift("..");s&&n[0]!==""&&(!n[0]||!ie(n[0]))&&n.unshift("");var h=n.join("/");return f&&h.substr(-1)!=="/"&&(h+="/"),h}function Ue(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}function ae(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(r,a){return ae(r,t[a])});if(typeof e=="object"||typeof t=="object"){var i=Ue(e),n=Ue(t);return i!==e||n!==t?ae(i,n):Object.keys(Object.assign({},e,t)).every(function(r){return ae(e[r],t[r])})}return!1}var dt="Invariant failed";function J(e,t){throw new Error(dt)}function ne(e){return e.charAt(0)==="/"?e:"/"+e}function Ie(e){return e.charAt(0)==="/"?e.substr(1):e}function mt(e,t){return e.toLowerCase().indexOf(t.toLowerCase())===0&&"/?#".indexOf(e.charAt(t.length))!==-1}function Xe(e,t){return mt(e,t)?e.substr(t.length):e}function Ye(e){return e.charAt(e.length-1)==="/"?e.slice(0,-1):e}function gt(e){var t=e||"/",i="",n="",r=t.indexOf("#");r!==-1&&(n=t.substr(r),t=t.substr(0,r));var a=t.indexOf("?");return a!==-1&&(i=t.substr(a),t=t.substr(0,a)),{pathname:t,search:i==="?"?"":i,hash:n==="#"?"":n}}function F(e){var t=e.pathname,i=e.search,n=e.hash,r=t||"/";return i&&i!=="?"&&(r+=i.charAt(0)==="?"?i:"?"+i),n&&n!=="#"&&(r+=n.charAt(0)==="#"?n:"#"+n),r}function W(e,t,i,n){var r;typeof e=="string"?(r=gt(e),r.state=t):(r=D({},e),r.pathname===void 0&&(r.pathname=""),r.search?r.search.charAt(0)!=="?"&&(r.search="?"+r.search):r.search="",r.hash?r.hash.charAt(0)!=="#"&&(r.hash="#"+r.hash):r.hash="",t!==void 0&&r.state===void 0&&(r.state=t));try{r.pathname=decodeURI(r.pathname)}catch(a){throw a instanceof URIError?new URIError('Pathname "'+r.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):a}return i&&(r.key=i),n?r.pathname?r.pathname.charAt(0)!=="/"&&(r.pathname=vt(r.pathname,n.pathname)):r.pathname=n.pathname:r.pathname||(r.pathname="/"),r}function yt(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&ae(e.state,t.state)}function Re(){var e=null;function t(s){return e=s,function(){e===s&&(e=null)}}
1function i(s,f,u,o){if(e!=null){var c=typeof e=="function"?e(s,f):e;typeof c=="string"?typeof u=="function"?u(c,o):o(!0):o(c!==!1)}else o(!0)}var n=[];function r(s){var f=!0;function u(){f&&s.apply(void 0,arguments)}return n.push(u),function(){f=!1,n=n.filter(function(o){return o!==u})}}function a(){for(var s=arguments.length,f=new Array(s),u=0;u<s;u++)f[u]=arguments[u];n.forEach(function(o){return o.apply(void 0,f)})}return{setPrompt:t,confirmTransitionTo:i,appendListener:r,notifyListeners:a}}var Qe=!!(typeof window<"u"&&window.document&&window.document.createElement);function Ze(e,t){t(window.confirm(e))}function xt(){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 wt(){return window.navigator.userAgent.indexOf("Trident")===-1}function Pt(){return window.navigator.userAgent.indexOf("Firefox")===-1}function Et(e){return e.state===void 0&&navigator.userAgent.indexOf("CriOS")===-1}var He="popstate",Ne="hashchange";function $e(){try{return window.history.state||{}}catch(e){return{}}}function Tt(e){e===void 0&&(e={}),Qe||J();var t=window.history,i=xt(),n=!wt(),r=e,a=r.forceRefresh,s=a===void 0?!1:a,f=r.getUserConfirmation,u=f===void 0?Ze:f,o=r.keyLength,c=o===void 0?6:o,v=e.basename?Ye(ne(e.basename)):"";function h(x){var d=x||{},R=d.key,w=d.state,S=window.location,j=S.pathname,q=S.search,G=S.hash,K=j+q+G;return v&&(K=Xe(K,v)),W(K,w,R)}function E(){return Math.random().toString(36).substr(2,c)}var L=Re();function H(x){D(B,x),B.length=t.length,L.notifyListeners(B.location,B.action)}function _(x){Et(x)||m(h(x.state))}function l(){m(h($e()))}var p=!1;function m(x){if(p)p=!1,H();else{var d="POP";L.confirmTransitionTo(x,d,u,function(R){R?H({action:d,location:x}):A(x)})}}function A(x){var d=B.location,R=P.indexOf(d.key);R===-1&&(R=0);var w=P.indexOf(x.key);w===-1&&(w=0);var S=R-w;S&&(p=!0,C(S))}var M=h($e()),P=[M.key];function y(x){return v+F(x)}function g(x,d){var R="PUSH",w=W(x,d,E(),B.location);L.confirmTransitionTo(w,R,u,function(S){if(S){var j=y(w),q=w.key,G=w.state;if(i)if(t.pushState({key:q,state:G},null,j),s)window.location.href=j;else{var K=P.indexOf(B.location.key),Q=P.slice(0,K+1);Q.push(w.key),P=Q,H({action:R,location:w})}else window.location.href=j}})}function U(x,d){var R="REPLACE",w=W(x,d,E(),B.location);L.confirmTransitionTo(w,R,u,function(S){if(S){var j=y(w),q=w.key,G=w.state;if(i)if(t.replaceState({key:q,state:G},null,j),s)window.location.replace(j);else{var K=P.indexOf(B.location.key);K!==-1&&(P[K]=w.key),H({action:R,location:w})}else window.location.replace(j)}})}function C(x){t.go(x)}function O(){C(-1)}function b(){C(1)}var N=0;function I(x){N+=x,N===1&&x===1?(window.addEventListener(He,_),n&&window.addEventListener(Ne,l)):N===0&&(window.removeEventListener(He,_),n&&window.removeEventListener(Ne,l))}var $=!1;function X(x){x===void 0&&(x=!1);var d=L.setPrompt(x);return $||(I(1),$=!0),function(){return $&&($=!1,I(-1)),d()}}function Y(x){var d=L.appendListener(x);return I(1),function(){I(-1),d()}}var B={length:t.length,action:"POP",location:M,createHref:y,push:g,replace:U,go:C,goBack:O,goForward:b,block:X,listen:Y};return B}var _e="hashchange",Rt={hashbang:{encodePath:function(t){return t.charAt(0)==="!"?t:"!/"+Ie(t)},decodePath:function(t){return t.charAt(0)==="!"?t.substr(1):t}},noslash:{encodePath:Ie,decodePath:ne},slash:{encodePath:ne,decodePath:ne}};function ke(e){var t=e.indexOf("#");return t===-1?e:e.slice(0,t)}function ee(){var e=window.location.href,t=e.indexOf("#");return t===-1?"":e.substring(t+1)}function Ct(e){window.location.hash=e}function me(e){window.location.replace(ke(window.location.href)+"#"+e)}function bt(e){e===void 0&&(e={}),Qe||J();var t=window.history;Pt();var i=e,n=i.getUserConfirmation,r=n===void 0?Ze:n,a=i.hashType,s=a===void 0?"slash":a,f=e.basename?Ye(ne(e.basename)):"",u=Rt[s],o=u.encodePath,c=u.decodePath;function v(){var d=c(ee());return f&&(d=Xe(d,f)),W(d)}var h=Re();function E(d){D(x,d),x.length=t.length,h.notifyListeners(x.location,x.action)}var L=!1,H=null;function _(d,R){return d.pathname===R.pathname&&d.search===R.search&&d.hash===R.hash}function l(){var d=ee(),R=o(d);if(d!==R)me(R);else{var w=v(),S=x.location;if(!L&&_(S,w)||H===F(w))return;H=null,p(w)}}function p(d){if(L)L=!1,E();else{var R="POP";
1h.confirmTransitionTo(d,R,r,function(w){w?E({action:R,location:d}):m(d)})}}function m(d){var R=x.location,w=y.lastIndexOf(F(R));w===-1&&(w=0);var S=y.lastIndexOf(F(d));S===-1&&(S=0);var j=w-S;j&&(L=!0,O(j))}var A=ee(),M=o(A);A!==M&&me(M);var P=v(),y=[F(P)];function g(d){var R=document.querySelector("base"),w="";return R&&R.getAttribute("href")&&(w=ke(window.location.href)),w+"#"+o(f+F(d))}function U(d,R){var w="PUSH",S=W(d,void 0,void 0,x.location);h.confirmTransitionTo(S,w,r,function(j){if(j){var q=F(S),G=o(f+q),K=ee()!==G;if(K){H=q,Ct(G);var Q=y.lastIndexOf(F(x.location)),Oe=y.slice(0,Q+1);Oe.push(q),y=Oe,E({action:w,location:S})}else E()}})}function C(d,R){var w="REPLACE",S=W(d,void 0,void 0,x.location);h.confirmTransitionTo(S,w,r,function(j){if(j){var q=F(S),G=o(f+q),K=ee()!==G;K&&(H=q,me(G));var Q=y.indexOf(F(x.location));Q!==-1&&(y[Q]=q),E({action:w,location:S})}})}function O(d){t.go(d)}function b(){O(-1)}function N(){O(1)}var I=0;function $(d){I+=d,I===1&&d===1?window.addEventListener(_e,l):I===0&&window.removeEventListener(_e,l)}var X=!1;function Y(d){d===void 0&&(d=!1);var R=h.setPrompt(d);return X||($(1),X=!0),function(){return X&&(X=!1,$(-1)),R()}}function B(d){var R=h.appendListener(d);return $(1),function(){$(-1),R()}}var x={length:t.length,action:"POP",location:P,createHref:g,push:U,replace:C,go:O,goBack:b,goForward:N,block:Y,listen:B};return x}function je(e,t,i){return Math.min(Math.max(e,t),i)}function Ot(e){e===void 0&&(e={});var t=e,i=t.getUserConfirmation,n=t.initialEntries,r=n===void 0?["/"]:n,a=t.initialIndex,s=a===void 0?0:a,f=t.keyLength,u=f===void 0?6:f,o=Re();function c(g){D(y,g),y.length=y.entries.length,o.notifyListeners(y.location,y.action)}function v(){return Math.random().toString(36).substr(2,u)}var h=je(s,0,r.length-1),E=r.map(function(g){return typeof g=="string"?W(g,void 0,v()):W(g,void 0,g.key||v())}),L=F;function H(g,U){var C="PUSH",O=W(g,U,v(),y.location);o.confirmTransitionTo(O,C,i,function(b){if(b){var N=y.index,I=N+1,$=y.entries.slice(0);$.length>I?$.splice(I,$.length-I,O):$.push(O),c({action:C,location:O,index:I,entries:$})}})}function _(g,U){var C="REPLACE",O=W(g,U,v(),y.location);o.confirmTransitionTo(O,C,i,function(b){b&&(y.entries[y.index]=O,c({action:C,location:O}))})}function l(g){var U=je(y.index+g,0,y.entries.length-1),C="POP",O=y.entries[U];o.confirmTransitionTo(O,C,i,function(b){b?c({action:C,location:O,index:U}):c()})}function p(){l(-1)}function m(){l(1)}function A(g){var U=y.index+g;return U>=0&&U<y.entries.length}function M(g){return g===void 0&&(g=!1),o.setPrompt(g)}function P(g){return o.appendListener(g)}var y={length:E.length,action:"POP",location:E[h],index:h,entries:E,createHref:L,push:H,replace:_,go:l,goBack:p,goForward:m,canGo:A,block:M,listen:P};return y}var Z={exports:{}},ge,De;function Lt(){return De||(De=1,ge=Array.isArray||function(e){return Object.prototype.toString.call(e)=="[object Array]"}),ge}var Be;function At(){if(Be)return Z.exports;Be=1;var e=Lt();Z.exports=_,Z.exports.parse=i,Z.exports.compile=r,Z.exports.tokensToFunction=f,Z.exports.tokensToRegExp=H;var t=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function i(l,p){for(var m=[],A=0,M=0,P="",y=p&&p.delimiter||"/",g;(g=t.exec(l))!=null;){var U=g[0],C=g[1],O=g.index;if(P+=l.slice(M,O),M=O+U.length,C){P+=C[1];continue}var b=l[M],N=g[2],I=g[3],$=g[4],X=g[5],Y=g[6],B=g[7];P&&(m.push(P),P="");var x=N!=null&&b!=null&&b!==N,d=Y==="+"||Y==="*",R=Y==="?"||Y==="*",w=N||y,S=$||X,j=N||(typeof m[m.length-1]=="string"?m[m.length-1]:"");m.push({name:I||A++,prefix:N||"",delimiter:w,optional:R,repeat:d,partial:x,asterisk:!!B,pattern:S?o(S):B?".*":n(w,j)})}return M<l.length&&(P+=l.substr(M)),P&&m.push(P),m}function n(l,p){return!p||p.indexOf(l)>-1?"[^"+u(l)+"]+?":u(p)+"|(?:(?!"+u(p)+")[^"+u(l)+"])+?"}function r(l,p){return f(i(l,p),p)}function a(l){return encodeURI(l).replace(/[\/?#]/g,function(p){return"%"+p.charCodeAt(0).toString(16).toUpperCase()})}function s(l){return encodeURI(l).replace(/[?#]/g,function(p){return"%"+p.charCo
1deAt(0).toString(16).toUpperCase()})}function f(l,p){for(var m=new Array(l.length),A=0;A<l.length;A++)typeof l[A]=="object"&&(m[A]=new RegExp("^(?:"+l[A].pattern+")$",v(p)));return function(M,P){for(var y="",g=M||{},U=P||{},C=U.pretty?a:encodeURIComponent,O=0;O<l.length;O++){var b=l[O];if(typeof b=="string"){y+=b;continue}var N=g[b.name],I;if(N==null)if(b.optional){b.partial&&(y+=b.prefix);continue}else throw new TypeError('Expected "'+b.name+'" to be defined');if(e(N)){if(!b.repeat)throw new TypeError('Expected "'+b.name+'" to not repeat, but received `'+JSON.stringify(N)+"`");if(N.length===0){if(b.optional)continue;throw new TypeError('Expected "'+b.name+'" to not be empty')}for(var $=0;$<N.length;$++){if(I=C(N[$]),!m[O].test(I))throw new TypeError('Expected all "'+b.name+'" to match "'+b.pattern+'", but received `'+JSON.stringify(I)+"`");y+=($===0?b.prefix:b.delimiter)+I}continue}if(I=b.asterisk?s(N):C(N),!m[O].test(I))throw new TypeError('Expected "'+b.name+'" to match "'+b.pattern+'", but received "'+I+'"');y+=b.prefix+I}return y}}function u(l){return l.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function o(l){return l.replace(/([=!:$\/()])/g,"\\$1")}function c(l,p){return l.keys=p,l}function v(l){return l&&l.sensitive?"":"i"}function h(l,p){var m=l.source.match(/\((?!\?)/g);if(m)for(var A=0;A<m.length;A++)p.push({name:A,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return c(l,p)}function E(l,p,m){for(var A=[],M=0;M<l.length;M++)A.push(_(l[M],p,m).source);var P=new RegExp("(?:"+A.join("|")+")",v(m));return c(P,p)}function L(l,p,m){return H(i(l,m),p,m)}function H(l,p,m){e(p)||(m=p||m,p=[]),m=m||{};for(var A=m.strict,M=m.end!==!1,P="",y=0;y<l.length;y++){var g=l[y];if(typeof g=="string")P+=u(g);else{var U=u(g.prefix),C="(?:"+g.pattern+")";p.push(g),g.repeat&&(C+="(?:"+U+C+")*"),g.optional?g.partial?C=U+"("+C+")?":C="(?:"+U+"("+C+"))?":C=U+"("+C+")",P+=C}}var O=u(m.delimiter||"/"),b=P.slice(-O.length)===O;return A||(P=(b?P.slice(0,-O.length):P)+"(?:"+O+"(?=$))?"),M?P+="$":P+=A&&b?"":"(?="+O+"|$)",c(new RegExp("^"+P,v(m)),p)}function _(l,p,m){return e(p)||(m=p||m,p=[]),m=m||{},l instanceof RegExp?h(l,p):e(l)?E(l,p,m):L(l,p,m)}return Z.exports}var St=At();const et=Je(St);it();function re(e,t){if(e==null)return{};var i={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;i[n]=e[n]}return i}var ye=1073741823,We=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:{};function Mt(){var e="__global_unique_id__";return We[e]=(We[e]||0)+1}function Ut(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function It(e){var t=[];return{on:function(n){t.push(n)},off:function(n){t=t.filter(function(r){return r!==n})},get:function(){return e},set:function(n,r){e=n,t.forEach(function(a){return a(e,r)})}}}function Ht(e){return Array.isArray(e)?e[0]:e}function Nt(e,t){var i,n,r="__create-react-context-"+Mt()+"__",a=function(f){V(u,f);function u(){for(var c,v=arguments.length,h=new Array(v),E=0;E<v;E++)h[E]=arguments[E];return c=f.call.apply(f,[this].concat(h))||this,c.emitter=It(c.props.value),c}var o=u.prototype;return o.getChildContext=function(){var v;return v={},v[r]=this.emitter,v},o.componentWillReceiveProps=function(v){if(this.props.value!==v.value){var h=this.props.value,E=v.value,L;Ut(h,E)?L=0:(L=typeof t=="function"?t(h,E):ye,L|=0,L!==0&&this.emitter.set(v.value,L))}},o.render=function(){return this.props.children},u}(T.Component);a.childContextTypes=(i={},i[r]=Me.object.isRequired,i);var s=function(f){V(u,f);function u(){for(var c,v=arguments.length,h=new Array(v),E=0;E<v;E++)h[E]=arguments[E];return c=f.call.apply(f,[this].concat(h))||this,c.observedBits=void 0,c.state={value:c.getValue()},c.onUpdate=function(L,H){var _=c.observedBits|0;(_&H)!==0&&c.setState({value:c.getValue()})},c}var o=u.prototype;return o.componentWillReceiveProps=function(v){var h=v.observedBits;this.observedBits=h==null?ye:h},o.componentDidMount=function(){this.context[r]&&this.context[r].on(this.onUpdate);var v=this.props.observedBits;this.observedBits=v==null?ye:v},o.componentWillUnmount=function(){this.context[r]&&this.context[r].off(this.onUpdate)},o.getValue=function(){return this.context[r]?this.context[r].get():e},o.render=function(){return Ht(this.props.children)(this.state.value)},u}(T.Component);return s.contextTypes=(n={},n[r]=Me.object,n),{Provider:a,Consumer:s}}var $t=T.createContext||Nt,tt=function(t){var i=$t();return i.displayName=t,i},nt=tt("Router-History"),z=tt("Router"),se=function(e){V(t,e),t.computeRootMatch=function(r){return{path:"/",url:"/",params:{},isExact:r==="/"}};function t(n){var r;return r=e.call(this,n)||this,r.state={location:n.history.location},r._isMounted=!1,r._pendingLocation=null,n.staticContext||(r.unlisten=n.history.listen(function(a){r._pendingLocation=a})),r}var i=t.prototype;return i.componentDidMount=function(){var r=this;this._isMounted=!0,this.unlisten&&this.unlisten(),this.props.staticContext||(this.unlisten=this.props.history.listen(function(a){r._isMounted&&r.setState({location:a})}
1)),this._pendingLocation&&this.setState({location:this._pendingLocation})},i.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},i.render=function(){return T.createElement(z.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},T.createElement(nt.Provider,{children:this.props.children||null,value:this.props.history}))},t}(T.Component);T.Component;var _t=function(e){V(t,e);function t(){return e.apply(this,arguments)||this}var i=t.prototype;return i.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},i.componentDidUpdate=function(r){this.props.onUpdate&&this.props.onUpdate.call(this,this,r)},i.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},i.render=function(){return null},t}(T.Component),xe={},jt=1e4,Fe=0;function Dt(e){if(xe[e])return xe[e];var t=et.compile(e);return Fe<jt&&(xe[e]=t,Fe++),t}function qe(e,t){return e===void 0&&(e="/"),t===void 0&&(t={}),e==="/"?e:Dt(e)(t,{pretty:!0})}function nn(e){var t=e.computedMatch,i=e.to,n=e.push,r=n===void 0?!1:n;return T.createElement(z.Consumer,null,function(a){a||J();var s=a.history,f=a.staticContext,u=r?s.push:s.replace,o=W(t?typeof i=="string"?qe(i,t.params):D({},i,{pathname:qe(i.pathname,t.params)}):i);return f?(u(o),null):T.createElement(_t,{onMount:function(){u(o)},onUpdate:function(v,h){var E=W(h.to);yt(E,D({},o,{key:E.key}))||u(o)},to:i})})}var Ke={},Bt=1e4,Ge=0;function Wt(e,t){var i=""+t.end+t.strict+t.sensitive,n=Ke[i]||(Ke[i]={});if(n[e])return n[e];var r=[],a=et(e,r,t),s={regexp:a,keys:r};return Ge<Bt&&(n[e]=s,Ge++),s}function ce(e,t){t===void 0&&(t={}),(typeof t=="string"||Array.isArray(t))&&(t={path:t});var i=t,n=i.path,r=i.exact,a=r===void 0?!1:r,s=i.strict,f=s===void 0?!1:s,u=i.sensitive,o=u===void 0?!1:u,c=[].concat(n);return c.reduce(function(v,h){if(!h&&h!=="")return null;if(v)return v;
1var E=Wt(h,{end:a,strict:f,sensitive:o}),L=E.regexp,H=E.keys,_=L.exec(e);if(!_)return null;var l=_[0],p=_.slice(1),m=e===l;return a&&!m?null:{path:h,url:h==="/"&&l===""?"/":l,isExact:m,params:H.reduce(function(A,M,P){return A[M.name]=p[P],A},{})}},null)}function Ft(e){return T.Children.count(e)===0}var rn=function(e){V(t,e);function t(){return e.apply(this,arguments)||this}var i=t.prototype;return i.render=function(){var r=this;return T.createElement(z.Consumer,null,function(a){a||J();var s=r.props.location||a.location,f=r.props.computedMatch?r.props.computedMatch:r.props.path?ce(s.pathname,r.props):a.match,u=D({},a,{location:s,match:f}),o=r.props,c=o.children,v=o.component,h=o.render;return Array.isArray(c)&&Ft(c)&&(c=null),T.createElement(z.Provider,{value:u},u.match?c?typeof c=="function"?c(u):c:v?T.createElement(v,u):h?h(u):null:typeof c=="function"?c(u):null)})},t}(T.Component);function Ce(e){return e.charAt(0)==="/"?e:"/"+e}function qt(e,t){return e?D({},t,{pathname:Ce(e)+t.pathname}):t}function Kt(e,t){if(!e)return t;var i=Ce(e);return t.pathname.indexOf(i)!==0?t:D({},t,{pathname:t.pathname.substr(i.length)})}function ze(e){return typeof e=="string"?e:F(e)}function we(e){return function(){J()}}function Ve(){}T.Component;var an=function(e){V(t,e);function t(){return e.apply(this,arguments)||this}var i=t.prototype;return i.render=function(){var r=this;return T.createElement(z.Consumer,null,function(a){a||J();var s=r.props.location||a.location,f,u;return T.Children.forEach(r.props.children,function(o){if(u==null&&T.isValidElement(o)){f=o;var c=o.props.path||o.props.from;u=c?ce(s.pathname,D({},o.props,{path:c})):a.match}}),u?T.cloneElement(f,{location:s,computedMatch:u}):null})},t}(T.Component);function on(e){var t="withRouter("+(e.displayName||e.name)+")",i=function(r){var a=r.wrappedComponentRef,s=re(r,["wrappedComponentRef"]);return T.createElement(z.Consumer,null,function(f){return f||J(),T.createElement(e,D({},s,f,{ref:a}))})};return i.displayName=t,i.WrappedComponent=e,at(i,e)}var ue=T.useContext;function sn(){return ue(nt)}function Gt(){return ue(z).location}function cn(){var e=ue(z).match;return e?e.params:{}}function un(e){var t=Gt(),i=ue(z).match;return e?ce(t.pathname,e):i}T.Component;T.Component;var Ee=function(t,i){return typeof t=="function"?t(i):t},Te=function(t,i){return typeof t=="string"?W(t,null,null,i):t},be=function(t){return t},k=T.forwardRef;typeof k>"u"&&(k=be);function zt(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}var Vt=k(function(e,t){var i=e.innerRef,n=e.navigate,r=e.onClick,a=re(e,["innerRef","navigate","onClick"]),s=a.target,f=D({},a,{onClick:function(o){try{r&&r(o)}catch(c){throw o.preventDefault(),c}!o.defaultPrevented&&o.button===0&&(!s||s==="_self")&&!zt(o)&&(o.preventDefault(),n())}});return be!==k?f.ref=t||i:f.ref=i,T.createElement("a",f)}),Jt=k(function(e,t){var i=e.component,n=i===void 0?Vt:i,r=e.replace,a=e.to,s=e.innerRef,f=re(e,["component","replace","to","innerRef"]);return T.createElement(z.Consumer,null,function(u){u||J();var o=u.history,c=Te(Ee(a,u.location),u.location),v=c?o.createHref(c):"",h=D({},f,{href:v,navigate:function(){var L=Ee(a,u.location),H=F(u.location)===F(Te(L)),_=r||H?o.replace:o.push;_(L)}});return be!==k?h.ref=t||s:h.innerRef=s,T.createElement(n,h)})}),rt=function(t){return t},oe=T.forwardRef;typeof oe>"u"&&(oe=rt);function Xt(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return t.filter(function(n){return n}).join(" ")}var fn=oe(function(e,t){var i=e["aria-current"],n=i===void 0?"page":i,r=e.activeClassName,a=r===void 0?"active":r,s=e.activeStyle,f=e.className,u=e.exact,o=e.isActive,c=e.location,v=e.sensitive,h=e.strict,E=e.style,L=e.to,H=e.innerRef,_=re(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return T.createElement(z.Consumer,null,function(l){l||J();var p=c||l.location,m=Te(Ee(L,p),p),A=m.pathname,M=A&&A.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),P=M?ce(p.pathname,{path:M,exact:u,sensitive:v,strict:h}):null,y=!!(o?o(P,p):P),g=typeof f=="function"?f(y):f,U=typeof E=="function"?E(y):E;y&&(g=Xt(g,a),U=D({},U,s));var C=D({"aria-current":y&&n||null,className:g,style:U,to:m},_);return rt!==oe?C.ref=t||H:C.innerRef=H,T.createElement(Jt,C)})});const Yt=({value:e,renderer:t,children:i})=>{var f,u;const n=ct(e),[,r]=n;i&&t&&console.warn("Both renderer prop and renderer as a child provided. This is a mistake and you really should fix that. Only renderer passed as a child will be used.");const a=(f=i!=null?i:t)!=null?f:null,s=te.jsx(Qt,{value:n});return(u=a==null?void 0:a(s,ut(e,r)))!=null?u:s},ln=ot.memo(Yt),Qt=({value:e})=>{const[t,i,n=0]=e,r=te.jsx(st,{value:t!=null?t:0,maximumFractionDigits:n}),a={count:r,rawNumber:t};
1switch(i){case fe.THOUSAND:return te.jsx(le,{id:"units.short.thousand",defaultMessage:"{count}K",values:a});case fe.MILLION:return te.jsx(le,{id:"units.short.million",defaultMessage:"{count}M",values:a});case fe.BILLION:return te.jsx(le,{id:"units.short.billion",defaultMessage:"{count}B",values:a});default:return r}};export{Jt as L,fn as N,Me as P,rn as R,ln as S,re as _,an as a,nn as b,sn as c,Tt as d,se as e,D as f,z as g,un as h,Pe as i,cn as j,ht as r,Gt as u,on as w}; 2//# sourceMappingURL=short_number-C9zm8Jg6.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.