Files
frontend/apps/wr/.next/server/chunks/474.js
T
2025-03-05 09:25:45 +09:00

1 line
432 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
exports.id=474,exports.ids=[474],exports.modules={48199:t=>{"use strict";var e=Object.prototype.hasOwnProperty,r="~";function n(){}function o(t,e,r){this.fn=t,this.context=e,this.once=r||!1}function i(t,e,n,i,a){if("function"!=typeof n)throw TypeError("The listener must be a function");var c=new o(n,i||t,a),u=r?r+e:e;return t._events[u]?t._events[u].fn?t._events[u]=[t._events[u],c]:t._events[u].push(c):(t._events[u]=c,t._eventsCount++),t}function a(t,e){0==--t._eventsCount?t._events=new n:delete t._events[e]}function c(){this._events=new n,this._eventsCount=0}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(r=!1)),c.prototype.eventNames=function(){var t,n,o=[];if(0===this._eventsCount)return o;for(n in t=this._events)e.call(t,n)&&o.push(r?n.slice(1):n);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(t)):o},c.prototype.listeners=function(t){var e=r?r+t:t,n=this._events[e];if(!n)return[];if(n.fn)return[n.fn];for(var o=0,i=n.length,a=Array(i);o<i;o++)a[o]=n[o].fn;return a},c.prototype.listenerCount=function(t){var e=r?r+t:t,n=this._events[e];return n?n.fn?1:n.length:0},c.prototype.emit=function(t,e,n,o,i,a){var c=r?r+t:t;if(!this._events[c])return!1;var u,l,s=this._events[c],f=arguments.length;if(s.fn){switch(s.once&&this.removeListener(t,s.fn,void 0,!0),f){case 1:return s.fn.call(s.context),!0;case 2:return s.fn.call(s.context,e),!0;case 3:return s.fn.call(s.context,e,n),!0;case 4:return s.fn.call(s.context,e,n,o),!0;case 5:return s.fn.call(s.context,e,n,o,i),!0;case 6:return s.fn.call(s.context,e,n,o,i,a),!0}for(l=1,u=Array(f-1);l<f;l++)u[l-1]=arguments[l];s.fn.apply(s.context,u)}else{var p,h=s.length;for(l=0;l<h;l++)switch(s[l].once&&this.removeListener(t,s[l].fn,void 0,!0),f){case 1:s[l].fn.call(s[l].context);break;case 2:s[l].fn.call(s[l].context,e);break;case 3:s[l].fn.call(s[l].context,e,n);break;case 4:s[l].fn.call(s[l].context,e,n,o);break;default:if(!u)for(p=1,u=Array(f-1);p<f;p++)u[p-1]=arguments[p];s[l].fn.apply(s[l].context,u)}}return!0},c.prototype.on=function(t,e,r){return i(this,t,e,r,!1)},c.prototype.once=function(t,e,r){return i(this,t,e,r,!0)},c.prototype.removeListener=function(t,e,n,o){var i=r?r+t:t;if(!this._events[i])return this;if(!e)return a(this,i),this;var c=this._events[i];if(c.fn)c.fn!==e||o&&!c.once||n&&c.context!==n||a(this,i);else{for(var u=0,l=[],s=c.length;u<s;u++)(c[u].fn!==e||o&&!c[u].once||n&&c[u].context!==n)&&l.push(c[u]);l.length?this._events[i]=1===l.length?l[0]:l:a(this,i)}return this},c.prototype.removeAllListeners=function(t){var e;return t?(e=r?r+t:t,this._events[e]&&a(this,e)):(this._events=new n,this._eventsCount=0),this},c.prototype.off=c.prototype.removeListener,c.prototype.addListener=c.prototype.on,c.prefixed=r,c.EventEmitter=c,t.exports=c},6527:(t,e,r)=>{var n=r(5115)(r(83302),"DataView");t.exports=n},75810:(t,e,r)=>{var n=r(73797),o=r(19189),i=r(708),a=r(12872),c=r(12200);function u(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}u.prototype.clear=n,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=c,t.exports=u},1506:(t,e,r)=>{var n=r(59877),o=r(46453),i=r(28676),a=r(44136),c=r(2792);function u(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}u.prototype.clear=n,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=c,t.exports=u},5858:(t,e,r)=>{var n=r(5115)(r(83302),"Map");t.exports=n},44530:(t,e,r)=>{var n=r(42901),o=r(80261),i=r(49268),a=r(33624),c=r(99448);function u(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}u.prototype.clear=n,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=c,t.exports=u},30993:(t,e,r)=>{var n=r(5115)(r(83302),"Promise");t.exports=n},99652:(t,e,r)=>{var n=r(5115)(r(83302),"Set");t.exports=n},62024:(t,e,r)=>{var n=r(44530),o=r(18929),i=r(66118);function a(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new n;++e<r;)this.add(t[e])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,t.exports=a},83632:(t,e,r)=>{var n=r(1506),o=r(66871),i=r(2339),a=r(92234),c=r(36622),u=r(42998);function l(t){var e=this.__data__=new n(t);this.size=e.size}l.prototype.clear=o,l.prototype.delete=i,l.prototype.get=a,l.prototype.has=c,l.prototype.set=u,t.exports=l},1154:(t,e,r)=>{var n=r(83302).Symbol;t.exports=n},46679:(t,e,r)=>{var n=r(83302).Uint8Array;t.exports=n},45462:(t,e,r)=>{var n=r(5115)(r(83302),"WeakMap");t.exports=n},70924:t=>{t.exports=function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}},69558:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(!e(t[r],r,t))return!1;return!0}},50951:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=0,i=[];++r<n;){var a=t[r];e(a,r,t)&&(i[o++]=a)}return i}},92144:(t,e,r)=>{var n=r(5142);t.exports=function(t,e){return!!(null==t?0:t.length)&&n(t,e,0)>-1}},18504:t=>{t.exports=function(t,e,r){for(var n=-1,o=null==t?0:t.length;++n<o;)if(r(e,t[n]))return!0;return!1}},14534:(t,e,r)=>{var n=r(28437),o=r(65099),i=r(4462),a=r(75033),c=r(7820),u=r(48922),l=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=i(t),s=!r&&o(t),f=!r&&!s&&a(t),p=!r&&!s&&!f&&u(t),h=r||s||f||p,d=h?n(t.length,String):[],y=d.length;for(var v in t)(e||l.call(t,v))&&!(h&&("length"==v||f&&("offset"==v||"parent"==v)||p&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||c(v,y)))&&d.push(v);return d}},96359:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=Array(n);++r<n;)o[r]=e(t[r],r,t);return o}},59533:t=>{t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r<n;)t[o+r]=e[r];return t}},79509:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1}},9585:t=>{t.exports=function(t){return t.split("")}},97122:(t,e,r)=>{var n=r(62289);t.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return -1}},82709:(t,e,r)=>{var n=r(44904);t.exports=function(t,e,r){"__proto__"==e&&n?n(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},73714:(t,e,r)=>{var n=r(3962),o=r(91274)(n);t.exports=o},26716:(t,e,r)=>{var n=r(73714);t.exports=function(t,e){var r=!0;return n(t,function(t,n,o){return r=!!e(t,n,o)}),r}},41656:(t,e,r)=>{var n=r(86395);t.exports=function(t,e,r){for(var o=-1,i=t.length;++o<i;){var a=t[o],c=e(a);if(null!=c&&(void 0===u?c==c&&!n(c):r(c,u)))var u=c,l=a}return l}},36394:t=>{t.exports=function(t,e,r,n){for(var o=t.length,i=r+(n?1:-1);n?i--:++i<o;)if(e(t[i],i,t))return i;return -1}},3693:(t,e,r)=>{var n=r(59533),o=r(48666);t.exports=function t(e,r,i,a,c){var u=-1,l=e.length;for(i||(i=o),c||(c=[]);++u<l;){var s=e[u];r>0&&i(s)?r>1?t(s,r-1,i,a,c):n(c,s):a||(c[c.length]=s)}return c}},51080:(t,e,r)=>{var n=r(82480)();t.exports=n},3962:(t,e,r)=>{var n=r(51080),o=r(28147);t.exports=function(t,e){return t&&n(t,e,o)}},24411:(t,e,r)=>{var n=r(79894),o=r(30068);t.exports=function(t,e){e=n(e,t);for(var r=0,i=e.length;null!=t&&r<i;)t=t[o(e[r++])];return r&&r==i?t:void 0}},13856:(t,e,r)=>{var n=r(59533),o=r(4462);t.exports=function(t,e,r){var i=e(t);return o(t)?i:n(i,r(t))}},12131:(t,e,r)=>{var n=r(1154),o=r(62014),i=r(89881),a=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?o(t):i(t)}},88316:t=>{t.exports=function(t,e){return t>e}},73184:t=>{t.exports=function(t,e){return null!=t&&e in Object(t)}},5142:(t,e,r)=>{var n=r(36394),o=r(62926),i=r(87842);t.exports=function(t,e,r){return e==e?i(t,e,r):n(t,o,r)}},81867:(t,e,r)=>{var n=r(12131),o=r(13019);t.exports=function(t){return o(t)&&"[object Arguments]"==n(t)}},68335:(t,e,r)=>{var n=r(57157),o=r(13019);t.exports=function t(e,r,i,a,c){return e===r||(null!=e&&null!=r&&(o(e)||o(r))?n(e,r,i,a,t,c):e!=e&&r!=r)}},57157:(t,e,r)=>{var n=r(83632),o=r(17070),i=r(88417),a=r(18286),c=r(18382),u=r(4462),l=r(75033),s=r(48922),f="[object Arguments]",p="[object Array]",h="[object Object]",d=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,y,v,m){var b=u(t),g=u(e),x=b?p:c(t),O=g?p:c(e);x=x==f?h:x,O=O==f?h:O;var w=x==h,j=O==h,A=x==O;if(A&&l(t)){if(!l(e))return!1;b=!0,w=!1}if(A&&!w)return m||(m=new n),b||s(t)?o(t,e,r,y,v,m):i(t,e,x,r,y,v,m);if(!(1&r)){var S=w&&d.call(t,"__wrapped__"),P=j&&d.call(e,"__wrapped__");if(S||P){var E=S?t.value():t,k=P?e.value():e;return m||(m=new n),v(E,k,r,y,m)}}return!!A&&(m||(m=new n),a(t,e,r,y,v,m))}},69730:(t,e,r)=>{var n=r(83632),o=r(68335);t.exports=function(t,e,r,i){var a=r.length,c=a,u=!i;if(null==t)return!c;for(t=Object(t);a--;){var l=r[a];if(u&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++a<c;){var s=(l=r[a])[0],f=t[s],p=l[1];if(u&&l[2]){if(void 0===f&&!(s in t))return!1}else{var h=new n;if(i)var d=i(f,p,s,t,e,h);if(!(void 0===d?o(p,f,3,i,h):d))return!1}}return!0}},62926:t=>{t.exports=function(t){return t!=t}},14268:(t,e,r)=>{var n=r(38207),o=r(98407),i=r(50136),a=r(12690),c=/^\[object .+?Constructor\]$/,u=Object.prototype,l=Function.prototype.toString,s=u.hasOwnProperty,f=RegExp("^"+l.call(s).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!i(t)||o(t))&&(n(t)?f:c).test(a(t))}},15802:(t,e,r)=>{var n=r(12131),o=r(79331),i=r(13019),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,t.exports=function(t){return i(t)&&o(t.length)&&!!a[n(t)]}},9254:(t,e,r)=>{var n=r(82886),o=r(59391),i=r(66937),a=r(4462),c=r(58194);t.exports=function(t){return"function"==typeof t?t:null==t?i:"object"==typeof t?a(t)?o(t[0],t[1]):n(t):c(t)}},11091:(t,e,r)=>{var n=r(55706),o=r(27221),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return o(t);var e=[];for(var r in Object(t))i.call(t,r)&&"constructor"!=r&&e.push(r);return e}},37759:t=>{t.exports=function(t,e){return t<e}},4509:(t,e,r)=>{var n=r(73714),o=r(81885);t.exports=function(t,e){var r=-1,i=o(t)?Array(t.length):[];return n(t,function(t,n,o){i[++r]=e(t,n,o)}),i}},82886:(t,e,r)=>{var n=r(69730),o=r(89103),i=r(25244);t.exports=function(t){var e=o(t);return 1==e.length&&e[0][2]?i(e[0][0],e[0][1]):function(r){return r===t||n(r,t,e)}}},59391:(t,e,r)=>{var n=r(68335),o=r(90171),i=r(6496),a=r(25491),c=r(65875),u=r(25244),l=r(30068);t.exports=function(t,e){return a(t)&&c(e)?u(l(t),e):function(r){var a=o(r,t);return void 0===a&&a===e?i(r,t):n(e,a,3)}}},25182:(t,e,r)=>{var n=r(96359),o=r(24411),i=r(9254),a=r(4509),c=r(36290),u=r(56584),l=r(26639),s=r(66937),f=r(4462);t.exports=function(t,e,r){e=e.length?n(e,function(t){return f(t)?function(e){return o(e,1===t.length?t[0]:t)}:t}):[s];var p=-1;return e=n(e,u(i)),c(a(t,function(t,r,o){return{criteria:n(e,function(e){return e(t)}),index:++p,value:t}}),function(t,e){return l(t,e,r)})}},45554:t=>{t.exports=function(t){return function(e){return null==e?void 0:e[t]}}},6180:(t,e,r)=>{var n=r(24411);t.exports=function(t){return function(e){return n(e,t)}}},30430:t=>{var e=Math.ceil,r=Math.max;t.exports=function(t,n,o,i){for(var a=-1,c=r(e((n-t)/(o||1)),0),u=Array(c);c--;)u[i?c:++a]=t,t+=o;return u}},32357:(t,e,r)=>{var n=r(66937),o=r(68578),i=r(86672);t.exports=function(t,e){return i(o(t,e,n),t+"")}},30755:(t,e,r)=>{var n=r(99811),o=r(44904),i=r(66937),a=o?function(t,e){return o(t,"toString",{configurable:!0,enumerable:!1,value:n(e),writable:!0})}:i;t.exports=a},18393:t=>{t.exports=function(t,e,r){var n=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(r=r>o?o:r)<0&&(r+=o),o=e>r?0:r-e>>>0,e>>>=0;for(var i=Array(o);++n<o;)i[n]=t[n+e];return i}},89911:(t,e,r)=>{var n=r(73714);t.exports=function(t,e){var r;return n(t,function(t,n,o){return!(r=e(t,n,o))}),!!r}},36290:t=>{t.exports=function(t,e){var r=t.length;for(t.sort(e);r--;)t[r]=t[r].value;return t}},28437:t=>{t.exports=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}},41747:(t,e,r)=>{var n=r(1154),o=r(96359),i=r(4462),a=r(86395),c=1/0,u=n?n.prototype:void 0,l=u?u.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(i(e))return o(e,t)+"";if(a(e))return l?l.call(e):"";var r=e+"";return"0"==r&&1/e==-c?"-0":r}},11131:(t,e,r)=>{var n=r(90389),o=/^\s+/;t.exports=function(t){return t?t.slice(0,n(t)+1).replace(o,""):t}},56584:t=>{t.exports=function(t){return function(e){return t(e)}}},24198:(t,e,r)=>{var n=r(62024),o=r(92144),i=r(18504),a=r(63732),c=r(6844),u=r(97976);t.exports=function(t,e,r){var l=-1,s=o,f=t.length,p=!0,h=[],d=h;if(r)p=!1,s=i;else if(f>=200){var y=e?null:c(t);if(y)return u(y);p=!1,s=a,d=new n}else d=e?[]:h;t:for(;++l<f;){var v=t[l],m=e?e(v):v;if(v=r||0!==v?v:0,p&&m==m){for(var b=d.length;b--;)if(d[b]===m)continue t;e&&d.push(m),h.push(v)}else s(d,m,r)||(d!==h&&d.push(m),h.push(v))}return h}},63732:t=>{t.exports=function(t,e){return t.has(e)}},79894:(t,e,r)=>{var n=r(4462),o=r(25491),i=r(71017),a=r(54387);t.exports=function(t,e){return n(t)?t:o(t,e)?[t]:i(a(t))}},65795:(t,e,r)=>{var n=r(18393);t.exports=function(t,e,r){var o=t.length;return r=void 0===r?o:r,!e&&r>=o?t:n(t,e,r)}},36917:(t,e,r)=>{var n=r(86395);t.exports=function(t,e){if(t!==e){var r=void 0!==t,o=null===t,i=t==t,a=n(t),c=void 0!==e,u=null===e,l=e==e,s=n(e);if(!u&&!s&&!a&&t>e||a&&c&&l&&!u&&!s||o&&c&&l||!r&&l||!i)return 1;if(!o&&!a&&!s&&t<e||s&&r&&i&&!o&&!a||u&&r&&i||!c&&i||!l)return -1}return 0}},26639:(t,e,r)=>{var n=r(36917);t.exports=function(t,e,r){for(var o=-1,i=t.criteria,a=e.criteria,c=i.length,u=r.length;++o<c;){var l=n(i[o],a[o]);if(l){if(o>=u)return l;return l*("desc"==r[o]?-1:1)}}return t.index-e.index}},56462:(t,e,r)=>{var n=r(83302)["__core-js_shared__"];t.exports=n},91274:(t,e,r)=>{var n=r(81885);t.exports=function(t,e){return function(r,o){if(null==r)return r;if(!n(r))return t(r,o);for(var i=r.length,a=e?i:-1,c=Object(r);(e?a--:++a<i)&&!1!==o(c[a],a,c););return r}}},82480:t=>{t.exports=function(t){return function(e,r,n){for(var o=-1,i=Object(e),a=n(e),c=a.length;c--;){var u=a[t?c:++o];if(!1===r(i[u],u,i))break}return e}}},96878:(t,e,r)=>{var n=r(65795),o=r(46773),i=r(6889),a=r(54387);t.exports=function(t){return function(e){var r=o(e=a(e))?i(e):void 0,c=r?r[0]:e.charAt(0),u=r?n(r,1).join(""):e.slice(1);return c[t]()+u}}},39137:(t,e,r)=>{var n=r(9254),o=r(81885),i=r(28147);t.exports=function(t){return function(e,r,a){var c=Object(e);if(!o(e)){var u=n(r,3);e=i(e),r=function(t){return u(c[t],t,c)}}var l=t(e,r,a);return l>-1?c[u?e[l]:l]:void 0}}},42985:(t,e,r)=>{var n=r(30430),o=r(47719),i=r(86369);t.exports=function(t){return function(e,r,a){return a&&"number"!=typeof a&&o(e,r,a)&&(r=a=void 0),e=i(e),void 0===r?(r=e,e=0):r=i(r),a=void 0===a?e<r?1:-1:i(a),n(e,r,a,t)}}},6844:(t,e,r)=>{var n=r(99652),o=r(655),i=r(97976),a=n&&1/i(new n([,-0]))[1]==1/0?function(t){return new n(t)}:o;t.exports=a},44904:(t,e,r)=>{var n=r(5115),o=function(){try{var t=n(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},17070:(t,e,r)=>{var n=r(62024),o=r(79509),i=r(63732);t.exports=function(t,e,r,a,c,u){var l=1&r,s=t.length,f=e.length;if(s!=f&&!(l&&f>s))return!1;var p=u.get(t),h=u.get(e);if(p&&h)return p==e&&h==t;var d=-1,y=!0,v=2&r?new n:void 0;for(u.set(t,e),u.set(e,t);++d<s;){var m=t[d],b=e[d];if(a)var g=l?a(b,m,d,e,t,u):a(m,b,d,t,e,u);if(void 0!==g){if(g)continue;y=!1;break}if(v){if(!o(e,function(t,e){if(!i(v,e)&&(m===t||c(m,t,r,a,u)))return v.push(e)})){y=!1;break}}else if(!(m===b||c(m,b,r,a,u))){y=!1;break}}return u.delete(t),u.delete(e),y}},88417:(t,e,r)=>{var n=r(1154),o=r(46679),i=r(62289),a=r(17070),c=r(64942),u=r(97976),l=n?n.prototype:void 0,s=l?l.valueOf:void 0;t.exports=function(t,e,r,n,l,f,p){switch(r){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)break;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":if(t.byteLength!=e.byteLength||!f(new o(t),new o(e)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var h=c;case"[object Set]":var d=1&n;if(h||(h=u),t.size!=e.size&&!d)break;var y=p.get(t);if(y)return y==e;n|=2,p.set(t,e);var v=a(h(t),h(e),n,l,f,p);return p.delete(t),v;case"[object Symbol]":if(s)return s.call(t)==s.call(e)}return!1}},18286:(t,e,r)=>{var n=r(70157),o=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,i,a,c){var u=1&r,l=n(t),s=l.length;if(s!=n(e).length&&!u)return!1;for(var f=s;f--;){var p=l[f];if(!(u?p in e:o.call(e,p)))return!1}var h=c.get(t),d=c.get(e);if(h&&d)return h==e&&d==t;var y=!0;c.set(t,e),c.set(e,t);for(var v=u;++f<s;){var m=t[p=l[f]],b=e[p];if(i)var g=u?i(b,m,p,e,t,c):i(m,b,p,t,e,c);if(!(void 0===g?m===b||a(m,b,r,i,c):g)){y=!1;break}v||(v="constructor"==p)}if(y&&!v){var x=t.constructor,O=e.constructor;x!=O&&"constructor"in t&&"constructor"in e&&!("function"==typeof x&&x instanceof x&&"function"==typeof O&&O instanceof O)&&(y=!1)}return c.delete(t),c.delete(e),y}},48471:t=>{var e="object"==typeof global&&global&&global.Object===Object&&global;t.exports=e},70157:(t,e,r)=>{var n=r(13856),o=r(6779),i=r(28147);t.exports=function(t){return n(t,i,o)}},27520:(t,e,r)=>{var n=r(94683);t.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},89103:(t,e,r)=>{var n=r(65875),o=r(28147);t.exports=function(t){for(var e=o(t),r=e.length;r--;){var i=e[r],a=t[i];e[r]=[i,a,n(a)]}return e}},5115:(t,e,r)=>{var n=r(14268),o=r(93459);t.exports=function(t,e){var r=o(t,e);return n(r)?r:void 0}},87324:(t,e,r)=>{var n=r(8558)(Object.getPrototypeOf,Object);t.exports=n},62014:(t,e,r)=>{var n=r(1154),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,c=n?n.toStringTag:void 0;t.exports=function(t){var e=i.call(t,c),r=t[c];try{t[c]=void 0;var n=!0}catch(t){}var o=a.call(t);return n&&(e?t[c]=r:delete t[c]),o}},6779:(t,e,r)=>{var n=r(50951),o=r(36938),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,c=a?function(t){return null==t?[]:n(a(t=Object(t)),function(e){return i.call(t,e)})}:o;t.exports=c},18382:(t,e,r)=>{var n=r(6527),o=r(5858),i=r(30993),a=r(99652),c=r(45462),u=r(12131),l=r(12690),s="[object Map]",f="[object Promise]",p="[object Set]",h="[object WeakMap]",d="[object DataView]",y=l(n),v=l(o),m=l(i),b=l(a),g=l(c),x=u;(n&&x(new n(new ArrayBuffer(1)))!=d||o&&x(new o)!=s||i&&x(i.resolve())!=f||a&&x(new a)!=p||c&&x(new c)!=h)&&(x=function(t){var e=u(t),r="[object Object]"==e?t.constructor:void 0,n=r?l(r):"";if(n)switch(n){case y:return d;case v:return s;case m:return f;case b:return p;case g:return h}return e}),t.exports=x},93459:t=>{t.exports=function(t,e){return null==t?void 0:t[e]}},62587:(t,e,r)=>{var n=r(79894),o=r(65099),i=r(4462),a=r(7820),c=r(79331),u=r(30068);t.exports=function(t,e,r){e=n(e,t);for(var l=-1,s=e.length,f=!1;++l<s;){var p=u(e[l]);if(!(f=null!=t&&r(t,p)))break;t=t[p]}return f||++l!=s?f:!!(s=null==t?0:t.length)&&c(s)&&a(p,s)&&(i(t)||o(t))}},46773:t=>{var e=RegExp("[\\u200d\ud800-\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.exports=function(t){return e.test(t)}},73797:(t,e,r)=>{var n=r(72013);t.exports=function(){this.__data__=n?n(null):{},this.size=0}},19189:t=>{t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},708:(t,e,r)=>{var n=r(72013),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(e,t)?e[t]:void 0}},12872:(t,e,r)=>{var n=r(72013),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:o.call(e,t)}},12200:(t,e,r)=>{var n=r(72013);t.exports=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this}},48666:(t,e,r)=>{var n=r(1154),o=r(65099),i=r(4462),a=n?n.isConcatSpreadable:void 0;t.exports=function(t){return i(t)||o(t)||!!(a&&t&&t[a])}},7820:t=>{var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,r){var n=typeof t;return!!(r=null==r?0x1fffffffffffff:r)&&("number"==n||"symbol"!=n&&e.test(t))&&t>-1&&t%1==0&&t<r}},47719:(t,e,r)=>{var n=r(62289),o=r(81885),i=r(7820),a=r(50136);t.exports=function(t,e,r){if(!a(r))return!1;var c=typeof e;return("number"==c?!!(o(r)&&i(e,r.length)):"string"==c&&e in r)&&n(r[e],t)}},25491:(t,e,r)=>{var n=r(4462),o=r(86395),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.exports=function(t,e){if(n(t))return!1;var r=typeof t;return!!("number"==r||"symbol"==r||"boolean"==r||null==t||o(t))||a.test(t)||!i.test(t)||null!=e&&t in Object(e)}},94683:t=>{t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},98407:(t,e,r)=>{var n=r(56462),o=function(){var t=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();t.exports=function(t){return!!o&&o in t}},55706:t=>{var e=Object.prototype;t.exports=function(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||e)}},65875:(t,e,r)=>{var n=r(50136);t.exports=function(t){return t==t&&!n(t)}},59877:t=>{t.exports=function(){this.__data__=[],this.size=0}},46453:(t,e,r)=>{var n=r(97122),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():o.call(e,r,1),--this.size,!0)}},28676:(t,e,r)=>{var n=r(97122);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},44136:(t,e,r)=>{var n=r(97122);t.exports=function(t){return n(this.__data__,t)>-1}},2792:(t,e,r)=>{var n=r(97122);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},42901:(t,e,r)=>{var n=r(75810),o=r(1506),i=r(5858);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}},80261:(t,e,r)=>{var n=r(27520);t.exports=function(t){var e=n(this,t).delete(t);return this.size-=e?1:0,e}},49268:(t,e,r)=>{var n=r(27520);t.exports=function(t){return n(this,t).get(t)}},33624:(t,e,r)=>{var n=r(27520);t.exports=function(t){return n(this,t).has(t)}},99448:(t,e,r)=>{var n=r(27520);t.exports=function(t,e){var r=n(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this}},64942:t=>{t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach(function(t,n){r[++e]=[n,t]}),r}},25244:t=>{t.exports=function(t,e){return function(r){return null!=r&&r[t]===e&&(void 0!==e||t in Object(r))}}},95841:(t,e,r)=>{var n=r(79011);t.exports=function(t){var e=n(t,function(t){return 500===r.size&&r.clear(),t}),r=e.cache;return e}},72013:(t,e,r)=>{var n=r(5115)(Object,"create");t.exports=n},27221:(t,e,r)=>{var n=r(8558)(Object.keys,Object);t.exports=n},58946:(t,e,r)=>{t=r.nmd(t);var n=r(48471),o=e&&!e.nodeType&&e,i=o&&t&&!t.nodeType&&t,a=i&&i.exports===o&&n.process,c=function(){try{var t=i&&i.require&&i.require("util").types;if(t)return t;return a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=c},89881:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},8558:t=>{t.exports=function(t,e){return function(r){return t(e(r))}}},68578:(t,e,r)=>{var n=r(70924),o=Math.max;t.exports=function(t,e,r){return e=o(void 0===e?t.length-1:e,0),function(){for(var i=arguments,a=-1,c=o(i.length-e,0),u=Array(c);++a<c;)u[a]=i[e+a];a=-1;for(var l=Array(e+1);++a<e;)l[a]=i[a];return l[e]=r(u),n(t,this,l)}}},83302:(t,e,r)=>{var n=r(48471),o="object"==typeof self&&self&&self.Object===Object&&self,i=n||o||Function("return this")();t.exports=i},18929:t=>{t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},66118:t=>{t.exports=function(t){return this.__data__.has(t)}},97976:t=>{t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach(function(t){r[++e]=t}),r}},86672:(t,e,r)=>{var n=r(30755),o=r(73584)(n);t.exports=o},73584:t=>{var e=Date.now;t.exports=function(t){var r=0,n=0;return function(){var o=e(),i=16-(o-n);if(n=o,i>0){if(++r>=800)return arguments[0]}else r=0;return t.apply(void 0,arguments)}}},66871:(t,e,r)=>{var n=r(1506);t.exports=function(){this.__data__=new n,this.size=0}},2339:t=>{t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},92234:t=>{t.exports=function(t){return this.__data__.get(t)}},36622:t=>{t.exports=function(t){return this.__data__.has(t)}},42998:(t,e,r)=>{var n=r(1506),o=r(5858),i=r(44530);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var a=r.__data__;if(!o||a.length<199)return a.push([t,e]),this.size=++r.size,this;r=this.__data__=new i(a)}return r.set(t,e),this.size=r.size,this}},87842:t=>{t.exports=function(t,e,r){for(var n=r-1,o=t.length;++n<o;)if(t[n]===e)return n;return -1}},6889:(t,e,r)=>{var n=r(9585),o=r(46773),i=r(97713);t.exports=function(t){return o(t)?i(t):n(t)}},71017:(t,e,r)=>{var n=r(95841),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=n(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(o,function(t,r,n,o){e.push(n?o.replace(i,"$1"):r||t)}),e});t.exports=a},30068:(t,e,r)=>{var n=r(86395),o=1/0;t.exports=function(t){if("string"==typeof t||n(t))return t;var e=t+"";return"0"==e&&1/t==-o?"-0":e}},12690:t=>{var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},90389:t=>{var e=/\s/;t.exports=function(t){for(var r=t.length;r--&&e.test(t.charAt(r)););return r}},97713:t=>{var e="\ud800-\udfff",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",n="\ud83c[\udffb-\udfff]",o="[^"+e+"]",i="(?:\ud83c[\udde6-\uddff]){2}",a="[\ud800-\udbff][\udc00-\udfff]",c="(?:"+r+"|"+n+")?",u="[\\ufe0e\\ufe0f]?",l="(?:\\u200d(?:"+[o,i,a].join("|")+")"+u+c+")*",s=RegExp(n+"(?="+n+")|(?:"+[o+r+"?",r,i,a,"["+e+"]"].join("|")+")"+(u+c+l),"g");t.exports=function(t){return t.match(s)||[]}},99811:t=>{t.exports=function(t){return function(){return t}}},38604:(t,e,r)=>{var n=r(50136),o=r(11575),i=r(78211),a=Math.max,c=Math.min;t.exports=function(t,e,r){var u,l,s,f,p,h,d=0,y=!1,v=!1,m=!0;if("function"!=typeof t)throw TypeError("Expected a function");function b(e){var r=u,n=l;return u=l=void 0,d=e,f=t.apply(n,r)}function g(t){var r=t-h,n=t-d;return void 0===h||r>=e||r<0||v&&n>=s}function x(){var t,r,n,i=o();if(g(i))return O(i);p=setTimeout(x,(t=i-h,r=i-d,n=e-t,v?c(n,s-r):n))}function O(t){return(p=void 0,m&&u)?b(t):(u=l=void 0,f)}function w(){var t,r=o(),n=g(r);if(u=arguments,l=this,h=r,n){if(void 0===p)return d=t=h,p=setTimeout(x,e),y?b(t):f;if(v)return clearTimeout(p),p=setTimeout(x,e),b(h)}return void 0===p&&(p=setTimeout(x,e)),f}return e=i(e)||0,n(r)&&(y=!!r.leading,s=(v="maxWait"in r)?a(i(r.maxWait)||0,e):s,m="trailing"in r?!!r.trailing:m),w.cancel=function(){void 0!==p&&clearTimeout(p),d=0,u=h=l=p=void 0},w.flush=function(){return void 0===p?f:O(o())},w}},62289:t=>{t.exports=function(t,e){return t===e||t!=t&&e!=e}},60028:(t,e,r)=>{var n=r(69558),o=r(26716),i=r(9254),a=r(4462),c=r(47719);t.exports=function(t,e,r){var u=a(t)?n:o;return r&&c(t,e,r)&&(e=void 0),u(t,i(e,3))}},15300:(t,e,r)=>{var n=r(39137)(r(80010));t.exports=n},80010:(t,e,r)=>{var n=r(36394),o=r(9254),i=r(54866),a=Math.max;t.exports=function(t,e,r){var c=null==t?0:t.length;if(!c)return -1;var u=null==r?0:i(r);return u<0&&(u=a(c+u,0)),n(t,o(e,3),u)}},39112:(t,e,r)=>{var n=r(3693),o=r(70269);t.exports=function(t,e){return n(o(t,e),1)}},90171:(t,e,r)=>{var n=r(24411);t.exports=function(t,e,r){var o=null==t?void 0:n(t,e);return void 0===o?r:o}},6496:(t,e,r)=>{var n=r(73184),o=r(62587);t.exports=function(t,e){return null!=t&&o(t,e,n)}},66937:t=>{t.exports=function(t){return t}},65099:(t,e,r)=>{var n=r(81867),o=r(13019),i=Object.prototype,a=i.hasOwnProperty,c=i.propertyIsEnumerable,u=n(function(){return arguments}())?n:function(t){return o(t)&&a.call(t,"callee")&&!c.call(t,"callee")};t.exports=u},4462:t=>{var e=Array.isArray;t.exports=e},81885:(t,e,r)=>{var n=r(38207),o=r(79331);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},37315:(t,e,r)=>{var n=r(12131),o=r(13019);t.exports=function(t){return!0===t||!1===t||o(t)&&"[object Boolean]"==n(t)}},75033:(t,e,r)=>{t=r.nmd(t);var n=r(83302),o=r(56232),i=e&&!e.nodeType&&e,a=i&&t&&!t.nodeType&&t,c=a&&a.exports===i?n.Buffer:void 0,u=c?c.isBuffer:void 0;t.exports=u||o},75759:(t,e,r)=>{var n=r(68335);t.exports=function(t,e){return n(t,e)}},38207:(t,e,r)=>{var n=r(12131),o=r(50136);t.exports=function(t){if(!o(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},79331:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=0x1fffffffffffff}},12590:(t,e,r)=>{var n=r(2978);t.exports=function(t){return n(t)&&t!=+t}},76256:t=>{t.exports=function(t){return null==t}},2978:(t,e,r)=>{var n=r(12131),o=r(13019);t.exports=function(t){return"number"==typeof t||o(t)&&"[object Number]"==n(t)}},50136:t=>{t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},13019:t=>{t.exports=function(t){return null!=t&&"object"==typeof t}},48660:(t,e,r)=>{var n=r(12131),o=r(87324),i=r(13019),a=Object.prototype,c=Function.prototype.toString,u=a.hasOwnProperty,l=c.call(Object);t.exports=function(t){if(!i(t)||"[object Object]"!=n(t))return!1;var e=o(t);if(null===e)return!0;var r=u.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&c.call(r)==l}},52202:(t,e,r)=>{var n=r(12131),o=r(4462),i=r(13019);t.exports=function(t){return"string"==typeof t||!o(t)&&i(t)&&"[object String]"==n(t)}},86395:(t,e,r)=>{var n=r(12131),o=r(13019);t.exports=function(t){return"symbol"==typeof t||o(t)&&"[object Symbol]"==n(t)}},48922:(t,e,r)=>{var n=r(15802),o=r(56584),i=r(58946),a=i&&i.isTypedArray,c=a?o(a):n;t.exports=c},28147:(t,e,r)=>{var n=r(14534),o=r(11091),i=r(81885);t.exports=function(t){return i(t)?n(t):o(t)}},14815:t=>{t.exports=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}},70269:(t,e,r)=>{var n=r(96359),o=r(9254),i=r(4509),a=r(4462);t.exports=function(t,e){return(a(t)?n:i)(t,o(e,3))}},3403:(t,e,r)=>{var n=r(82709),o=r(3962),i=r(9254);t.exports=function(t,e){var r={};return e=i(e,3),o(t,function(t,o,i){n(r,o,e(t,o,i))}),r}},93829:(t,e,r)=>{var n=r(41656),o=r(88316),i=r(66937);t.exports=function(t){return t&&t.length?n(t,i,o):void 0}},21872:(t,e,r)=>{var n=r(41656),o=r(88316),i=r(9254);t.exports=function(t,e){return t&&t.length?n(t,i(e,2),o):void 0}},79011:(t,e,r)=>{var n=r(44530);function o(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw TypeError("Expected a function");var r=function(){var n=arguments,o=e?e.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=t.apply(this,n);return r.cache=i.set(o,a)||i,a};return r.cache=new(o.Cache||n),r}o.Cache=n,t.exports=o},69019:(t,e,r)=>{var n=r(41656),o=r(37759),i=r(66937);t.exports=function(t){return t&&t.length?n(t,i,o):void 0}},35394:(t,e,r)=>{var n=r(41656),o=r(9254),i=r(37759);t.exports=function(t,e){return t&&t.length?n(t,o(e,2),i):void 0}},655:t=>{t.exports=function(){}},11575:(t,e,r)=>{var n=r(83302);t.exports=function(){return n.Date.now()}},58194:(t,e,r)=>{var n=r(45554),o=r(6180),i=r(25491),a=r(30068);t.exports=function(t){return i(t)?n(a(t)):o(t)}},63742:(t,e,r)=>{var n=r(42985)();t.exports=n},6967:(t,e,r)=>{var n=r(79509),o=r(9254),i=r(89911),a=r(4462),c=r(47719);t.exports=function(t,e,r){var u=a(t)?n:i;return r&&c(t,e,r)&&(e=void 0),u(t,o(e,3))}},89922:(t,e,r)=>{var n=r(3693),o=r(25182),i=r(32357),a=r(47719),c=i(function(t,e){if(null==t)return[];var r=e.length;return r>1&&a(t,e[0],e[1])?e=[]:r>2&&a(e[0],e[1],e[2])&&(e=[e[0]]),o(t,n(e,1),[])});t.exports=c},36938:t=>{t.exports=function(){return[]}},56232:t=>{t.exports=function(){return!1}},34867:(t,e,r)=>{var n=r(38604),o=r(50136);t.exports=function(t,e,r){var i=!0,a=!0;if("function"!=typeof t)throw TypeError("Expected a function");return o(r)&&(i="leading"in r?!!r.leading:i,a="trailing"in r?!!r.trailing:a),n(t,e,{leading:i,maxWait:e,trailing:a})}},86369:(t,e,r)=>{var n=r(78211),o=1/0;t.exports=function(t){return t?(t=n(t))===o||t===-o?(t<0?-1:1)*17976931348623157e292:t==t?t:0:0===t?t:0}},54866:(t,e,r)=>{var n=r(86369);t.exports=function(t){var e=n(t),r=e%1;return e==e?r?e-r:e:0}},78211:(t,e,r)=>{var n=r(11131),o=r(50136),i=r(86395),a=0/0,c=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,l=/^0o[0-7]+$/i,s=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(i(t))return a;if(o(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=o(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=n(t);var r=u.test(t);return r||l.test(t)?s(t.slice(2),r?2:8):c.test(t)?a:+t}},54387:(t,e,r)=>{var n=r(41747);t.exports=function(t){return null==t?"":n(t)}},55819:(t,e,r)=>{var n=r(9254),o=r(24198);t.exports=function(t,e){return t&&t.length?o(t,n(e,2)):[]}},28649:(t,e,r)=>{var n=r(96878)("toUpperCase");t.exports=n},30905:(t,e,r)=>{"use strict";var n=r(23846);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,e,r,o,i,a){if(a!==n){var c=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 c.name="Invariant Violation",c}}function e(){return t}t.isRequired=t;var r={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:i,resetWarningCache:o};return r.PropTypes=r,r}},66669:(t,e,r)=>{t.exports=r(30905)()},23846:t=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},28045:(t,e)=>{"use strict";var r=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),u=Symbol.for("react.context"),l=Symbol.for("react.server_context"),s=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),d=Symbol.for("react.lazy");Symbol.for("react.offscreen"),Symbol.for("react.module.reference"),e.isFragment=function(t){return function(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case r:switch(t=t.type){case o:case a:case i:case f:case p:return t;default:switch(t=t&&t.$$typeof){case l:case u:case s:case d:case h:case c:return t;default:return e}}case n:return e}}}(t)===o}},35161:(t,e,r)=>{"use strict";t.exports=r(28045)},77065:(t,e,r)=>{"use strict";r.d(e,{Ay:()=>tS});var n=r(73706),o=r.n(n),i=r(66669),a=r.n(i),c=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty;function s(t,e){return function(r,n,o){return t(r,n,o)&&e(r,n,o)}}function f(t){return function(e,r,n){if(!e||!r||"object"!=typeof e||"object"!=typeof r)return t(e,r,n);var o=n.cache,i=o.get(e),a=o.get(r);if(i&&a)return i===r&&a===e;o.set(e,r),o.set(r,e);var c=t(e,r,n);return o.delete(e),o.delete(r),c}}function p(t){return c(t).concat(u(t))}var h=Object.hasOwn||function(t,e){return l.call(t,e)};function d(t,e){return t===e||!t&&!e&&t!=t&&e!=e}var y=Object.getOwnPropertyDescriptor,v=Object.keys;function m(t,e,r){var n=t.length;if(e.length!==n)return!1;for(;n-- >0;)if(!r.equals(t[n],e[n],n,n,t,e,r))return!1;return!0}function b(t,e){return d(t.getTime(),e.getTime())}function g(t,e){return t.name===e.name&&t.message===e.message&&t.cause===e.cause&&t.stack===e.stack}function x(t,e){return t===e}function O(t,e,r){var n,o,i=t.size;if(i!==e.size)return!1;if(!i)return!0;for(var a=Array(i),c=t.entries(),u=0;(n=c.next())&&!n.done;){for(var l=e.entries(),s=!1,f=0;(o=l.next())&&!o.done;){if(a[f]){f++;continue}var p=n.value,h=o.value;if(r.equals(p[0],h[0],u,f,t,e,r)&&r.equals(p[1],h[1],p[0],h[0],t,e,r)){s=a[f]=!0;break}f++}if(!s)return!1;u++}return!0}function w(t,e,r){var n=v(t),o=n.length;if(v(e).length!==o)return!1;for(;o-- >0;)if(!_(t,e,r,n[o]))return!1;return!0}function j(t,e,r){var n,o,i,a=p(t),c=a.length;if(p(e).length!==c)return!1;for(;c-- >0;)if(!_(t,e,r,n=a[c])||(o=y(t,n),i=y(e,n),(o||i)&&(!o||!i||o.configurable!==i.configurable||o.enumerable!==i.enumerable||o.writable!==i.writable)))return!1;return!0}function A(t,e){return d(t.valueOf(),e.valueOf())}function S(t,e){return t.source===e.source&&t.flags===e.flags}function P(t,e,r){var n,o,i=t.size;if(i!==e.size)return!1;if(!i)return!0;for(var a=Array(i),c=t.values();(n=c.next())&&!n.done;){for(var u=e.values(),l=!1,s=0;(o=u.next())&&!o.done;){if(!a[s]&&r.equals(n.value,o.value,n.value,o.value,t,e,r)){l=a[s]=!0;break}s++}if(!l)return!1}return!0}function E(t,e){var r=t.length;if(e.length!==r)return!1;for(;r-- >0;)if(t[r]!==e[r])return!1;return!0}function k(t,e){return t.hostname===e.hostname&&t.pathname===e.pathname&&t.protocol===e.protocol&&t.port===e.port&&t.hash===e.hash&&t.username===e.username&&t.password===e.password}function _(t,e,r,n){return("_owner"===n||"__o"===n||"__v"===n)&&(!!t.$$typeof||!!e.$$typeof)||h(e,n)&&r.equals(t[n],e[n],n,n,t,e,r)}var T=Array.isArray,M="function"==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView:null,C=Object.assign,I=Object.prototype.toString.call.bind(Object.prototype.toString),D=N();function N(t){void 0===t&&(t={});var e,r,n,o,i,a,c,u,l,p,h,y,v,_=t.circular,D=t.createInternalComparator,N=t.createState,R=t.strict,B=(r=(e=function(t){var e=t.circular,r=t.createCustomConfig,n=t.strict,o={areArraysEqual:n?j:m,areDatesEqual:b,areErrorsEqual:g,areFunctionsEqual:x,areMapsEqual:n?s(O,j):O,areNumbersEqual:d,areObjectsEqual:n?j:w,arePrimitiveWrappersEqual:A,areRegExpsEqual:S,areSetsEqual:n?s(P,j):P,areTypedArraysEqual:n?j:E,areUrlsEqual:k};if(r&&(o=C({},o,r(o))),e){var i=f(o.areArraysEqual),a=f(o.areMapsEqual),c=f(o.areObjectsEqual),u=f(o.areSetsEqual);o=C({},o,{areArraysEqual:i,areMapsEqual:a,areObjectsEqual:c,areSetsEqual:u})}return o}(t)).areArraysEqual,n=e.areDatesEqual,o=e.areErrorsEqual,i=e.areFunctionsEqual,a=e.areMapsEqual,c=e.areNumbersEqual,u=e.areObjectsEqual,l=e.arePrimitiveWrappersEqual,p=e.areRegExpsEqual,h=e.areSetsEqual,y=e.areTypedArraysEqual,v=e.areUrlsEqual,function(t,e,s){if(t===e)return!0;if(null==t||null==e)return!1;var f=typeof t;if(f!==typeof e)return!1;if("object"!==f)return"number"===f?c(t,e,s):"function"===f&&i(t,e,s);var d=t.constructor;if(d!==e.constructor)return!1;if(d===Object)return u(t,e,s);if(T(t))return r(t,e,s);if(null!=M&&M(t))return y(t,e,s);if(d===Date)return n(t,e,s);if(d===RegExp)return p(t,e,s);if(d===Map)return a(t,e,s);if(d===Set)return h(t,e,s);var m=I(t);return"[object Date]"===m?n(t,e,s):"[object RegExp]"===m?p(t,e,s):"[object Map]"===m?a(t,e,s):"[object Set]"===m?h(t,e,s):"[object Object]"===m?"function"!=typeof t.then&&"function"!=typeof e.then&&u(t,e,s):"[object URL]"===m?v(t,e,s):"[object Error]"===m?o(t,e,s):"[object Arguments]"===m?u(t,e,s):("[object Boolean]"===m||"[object Number]"===m||"[object String]"===m)&&l(t,e,s)}),L=D?D(B):function(t,e,r,n,o,i,a){return B(t,e,a)};return function(t){var e=t.circular,r=t.comparator,n=t.createState,o=t.equals,i=t.strict;if(n)return function(t,a){var c=n(),u=c.cache;return r(t,a,{cache:void 0===u?e?new WeakMap:void 0:u,equals:o,meta:c.meta,strict:i})};if(e)return function(t,e){return r(t,e,{cache:new WeakMap,equals:o,meta:void 0,strict:i})};var a={cache:void 0,equals:o,meta:void 0,strict:i};return function(t,e){return r(t,e,a)}}({circular:void 0!==_&&_,comparator:B,createState:N,equals:L,strict:void 0!==R&&R})}function R(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=-1;requestAnimationFrame(function n(o){if(r<0&&(r=o),o-r>e)t(o),r=-1;else{var i;i=n,"undefined"!=typeof requestAnimationFrame&&requestAnimationFrame(i)}})}function B(t){return(B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function L(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function U(t){return(U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function z(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function F(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?z(Object(r),!0).forEach(function(e){$(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):z(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function $(t,e,r){var n;return(n=function(t,e){if("object"!==U(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==U(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"===U(n)?n:String(n))in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}N({strict:!0}),N({circular:!0}),N({circular:!0,strict:!0}),N({createInternalComparator:function(){return d}}),N({strict:!0,createInternalComparator:function(){return d}}),N({circular:!0,createInternalComparator:function(){return d}}),N({circular:!0,createInternalComparator:function(){return d},strict:!0});var W=function(t){return t},q=function(t,e){return Object.keys(e).reduce(function(r,n){return F(F({},r),{},$({},n,t(n,e[n])))},{})},X=function(t,e,r){return t.map(function(t){return"".concat(t.replace(/([A-Z])/g,function(t){return"-".concat(t.toLowerCase())})," ").concat(e,"ms ").concat(r)}).join(",")},H=function(t,e,r,n,o,i,a,c){};function K(t,e){if(t){if("string"==typeof t)return V(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return V(t,e)}}function V(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var G=function(t,e){return[0,3*t,3*e-6*t,3*t-3*e+1]},Y=function(t,e){return t.map(function(t,r){return t*Math.pow(e,r)}).reduce(function(t,e){return t+e})},J=function(t,e){return function(r){return Y(G(t,e),r)}},Z=function(){for(var t,e,r=arguments.length,n=Array(r),o=0;o<r;o++)n[o]=arguments[o];var i=n[0],a=n[1],c=n[2],u=n[3];if(1===n.length)switch(n[0]){case"linear":i=0,a=0,c=1,u=1;break;case"ease":i=.25,a=.1,c=.25,u=1;break;case"ease-in":i=.42,a=0,c=1,u=1;break;case"ease-out":i=.42,a=0,c=.58,u=1;break;case"ease-in-out":i=0,a=0,c=.58,u=1;break;default:var l=n[0].split("(");if("cubic-bezier"===l[0]&&4===l[1].split(")")[0].split(",").length){var s,f=function(t){if(Array.isArray(t))return t}(s=l[1].split(")")[0].split(",").map(function(t){return parseFloat(t)}))||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{for(i=(r=r.call(t)).next;!(u=(n=i.call(r)).done)&&(c.push(n.value),4!==c.length);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(s,4)||K(s,4)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();i=f[0],a=f[1],c=f[2],u=f[3]}else H(!1,"[configBezier]: arguments should be one of oneOf 'linear', 'ease', 'ease-in', 'ease-out', 'ease-in-out','cubic-bezier(x1,y1,x2,y2)', instead received %s",n)}H([i,c,a,u].every(function(t){return"number"==typeof t&&t>=0&&t<=1}),"[configBezier]: arguments should be x1, y1, x2, y2 of [0, 1] instead received %s",n);var p=J(i,c),h=J(a,u),d=(t=i,e=c,function(r){var n;return Y([].concat(function(t){if(Array.isArray(t))return V(t)}(n=G(t,e).map(function(t,e){return t*e}).slice(1))||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(n)||K(n)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[0]),r)}),y=function(t){for(var e=t>1?1:t,r=e,n=0;n<8;++n){var o,i=p(r)-e,a=d(r);if(1e-4>Math.abs(i-e)||a<1e-4)break;r=(o=r-i/a)>1?1:o<0?0:o}return h(r)};return y.isStepper=!1,y},Q=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.stiff,r=void 0===e?100:e,n=t.damping,o=void 0===n?8:n,i=t.dt,a=void 0===i?17:i,c=function(t,e,n){var i=n+(-(t-e)*r-n*o)*a/1e3,c=n*a/1e3+t;return 1e-4>Math.abs(c-e)&&1e-4>Math.abs(i)?[e,0]:[c,i]};return c.isStepper=!0,c.dt=a,c},tt=function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=e[0];if("string"==typeof n)switch(n){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return Z(n);case"spring":return Q();default:if("cubic-bezier"===n.split("(")[0])return Z(n);H(!1,"[configEasing]: first argument should be one of 'ease', 'ease-in', 'ease-out', 'ease-in-out','cubic-bezier(x1,y1,x2,y2)', 'linear' and 'spring', instead received %s",e)}return"function"==typeof n?n:(H(!1,"[configEasing]: first argument type should be function or string, instead received %s",e),null)};function te(t){return(te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function tr(t){return function(t){if(Array.isArray(t))return tc(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||ta(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function tn(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function to(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?tn(Object(r),!0).forEach(function(e){ti(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tn(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function ti(t,e,r){var n;return(n=function(t,e){if("object"!==te(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==te(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"===te(n)?n:String(n))in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ta(t,e){if(t){if("string"==typeof t)return tc(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return tc(t,e)}}function tc(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var tu=function(t,e,r){return t+(e-t)*r},tl=function(t){return t.from!==t.to},ts=function t(e,r,n){var o=q(function(t,r){if(tl(r)){var n,o=function(t){if(Array.isArray(t))return t}(n=e(r.from,r.to,r.velocity))||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{for(i=(r=r.call(t)).next;!(u=(n=i.call(r)).done)&&(c.push(n.value),2!==c.length);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(n,2)||ta(n,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),i=o[0],a=o[1];return to(to({},r),{},{from:i,velocity:a})}return r},r);return n<1?q(function(t,e){return tl(e)?to(to({},e),{},{velocity:tu(e.velocity,o[t].velocity,n),from:tu(e.from,o[t].from,n)}):e},r):t(e,o,n-1)};let tf=function(t,e,r,n,o){var i,a,c=[Object.keys(t),Object.keys(e)].reduce(function(t,e){return t.filter(function(t){return e.includes(t)})}),u=c.reduce(function(r,n){return to(to({},r),{},ti({},n,[t[n],e[n]]))},{}),l=c.reduce(function(r,n){return to(to({},r),{},ti({},n,{from:t[n],velocity:0,to:e[n]}))},{}),s=-1,f=function(){return null};return f=r.isStepper?function(n){i||(i=n);var a=(n-i)/r.dt;l=ts(r,l,a),o(to(to(to({},t),e),q(function(t,e){return e.from},l))),i=n,Object.values(l).filter(tl).length&&(s=requestAnimationFrame(f))}:function(i){a||(a=i);var c=(i-a)/n,l=q(function(t,e){return tu.apply(void 0,tr(e).concat([r(c)]))},u);if(o(to(to(to({},t),e),l)),c<1)s=requestAnimationFrame(f);else{var p=q(function(t,e){return tu.apply(void 0,tr(e).concat([r(1)]))},u);o(to(to(to({},t),e),p))}},function(){return requestAnimationFrame(f),function(){cancelAnimationFrame(s)}}};function tp(t){return(tp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var th=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function td(t){return function(t){if(Array.isArray(t))return ty(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return ty(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ty(t,void 0)}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ty(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function tv(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function tm(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?tv(Object(r),!0).forEach(function(e){tb(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tv(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function tb(t,e,r){return(e=tg(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function tg(t){var e=function(t,e){if("object"!==tp(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==tp(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===tp(e)?e:String(e)}function tx(t,e){return(tx=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function tO(t,e){if(e&&("object"===tp(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return tw(t)}function tw(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tj(t){return(tj=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var tA=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&tx(t,e)}(a,t);var e,r,i=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,r=tj(a);return t=e?Reflect.construct(r,arguments,tj(this).constructor):r.apply(this,arguments),tO(this,t)});function a(t,e){!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,a);var r,n=(r=i.call(this,t,e)).props,o=n.isActive,c=n.attributeName,u=n.from,l=n.to,s=n.steps,f=n.children,p=n.duration;if(r.handleStyleChange=r.handleStyleChange.bind(tw(r)),r.changeStyle=r.changeStyle.bind(tw(r)),!o||p<=0)return r.state={style:{}},"function"==typeof f&&(r.state={style:l}),tO(r);if(s&&s.length)r.state={style:s[0].style};else if(u){if("function"==typeof f)return r.state={style:u},tO(r);r.state={style:c?tb({},c,u):u}}else r.state={style:{}};return r}return r=[{key:"componentDidMount",value:function(){var t=this.props,e=t.isActive,r=t.canBegin;this.mounted=!0,e&&r&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(t){var e=this.props,r=e.isActive,n=e.canBegin,o=e.attributeName,i=e.shouldReAnimate,a=e.to,c=e.from,u=this.state.style;if(n){if(!r){var l={style:o?tb({},o,a):a};this.state&&u&&(o&&u[o]!==a||!o&&u!==a)&&this.setState(l);return}if(!D(t.to,a)||!t.canBegin||!t.isActive){var s=!t.canBegin||!t.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var f=s||i?c:t.to;if(this.state&&u){var p={style:o?tb({},o,f):f};(o&&u[o]!==f||!o&&u!==f)&&this.setState(p)}this.runAnimation(tm(tm({},this.props),{},{from:f,begin:0}))}}}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var t=this.props.onAnimationEnd;this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation(),t&&t()}},{key:"handleStyleChange",value:function(t){this.changeStyle(t)}},{key:"changeStyle",value:function(t){this.mounted&&this.setState({style:t})}},{key:"runJSAnimation",value:function(t){var e=this,r=t.from,n=t.to,o=t.duration,i=t.easing,a=t.begin,c=t.onAnimationEnd,u=t.onAnimationStart,l=tf(r,n,tt(i),o,this.changeStyle);this.manager.start([u,a,function(){e.stopJSAnimation=l()},o,c])}},{key:"runStepAnimation",value:function(t){var e=this,r=t.steps,n=t.begin,o=t.onAnimationStart,i=r[0],a=i.style,c=i.duration;return this.manager.start([o].concat(td(r.reduce(function(t,n,o){if(0===o)return t;var i=n.duration,a=n.easing,c=void 0===a?"ease":a,u=n.style,l=n.properties,s=n.onAnimationEnd,f=o>0?r[o-1]:n,p=l||Object.keys(u);if("function"==typeof c||"spring"===c)return[].concat(td(t),[e.runJSAnimation.bind(e,{from:f.style,to:u,duration:i,easing:c}),i]);var h=X(p,i,c),d=tm(tm(tm({},f.style),u),{},{transition:h});return[].concat(td(t),[d,i,s]).filter(W)},[a,Math.max(void 0===c?0:c,n)])),[t.onAnimationEnd]))}},{key:"runAnimation",value:function(t){if(!this.manager){var e,r,n;this.manager=(e=function(){return null},r=!1,n=function t(n){if(!r){if(Array.isArray(n)){if(!n.length)return;var o=function(t){if(Array.isArray(t))return t}(n)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(n)||function(t,e){if(t){if("string"==typeof t)return L(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return L(t,void 0)}}(n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),i=o[0],a=o.slice(1);if("number"==typeof i){R(t.bind(null,a),i);return}t(i),R(t.bind(null,a));return}"object"===B(n)&&e(n),"function"==typeof n&&n()}},{stop:function(){r=!0},start:function(t){r=!1,n(t)},subscribe:function(t){return e=t,function(){e=function(){return null}}}})}var o=t.begin,i=t.duration,a=t.attributeName,c=t.to,u=t.easing,l=t.onAnimationStart,s=t.onAnimationEnd,f=t.steps,p=t.children,h=this.manager;if(this.unSubscribe=h.subscribe(this.handleStyleChange),"function"==typeof u||"function"==typeof p||"spring"===u){this.runJSAnimation(t);return}if(f.length>1){this.runStepAnimation(t);return}var d=a?tb({},a,c):c,y=X(Object.keys(d),i,u);h.start([l,o,tm(tm({},d),{},{transition:y}),i,s])}},{key:"render",value:function(){var t=this.props,e=t.children,r=(t.begin,t.duration),i=(t.attributeName,t.easing,t.isActive),a=(t.steps,t.from,t.to,t.canBegin,t.onAnimationEnd,t.shouldReAnimate,t.onAnimationReStart,function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,th)),c=n.Children.count(e),u=this.state.style;if("function"==typeof e)return e(u);if(!i||0===c||r<=0)return e;var l=function(t){var e=t.props,r=e.style,o=e.className;return(0,n.cloneElement)(t,tm(tm({},a),{},{style:tm(tm({},void 0===r?{}:r),u),className:o}))};return 1===c?l(n.Children.only(e)):o().createElement("div",null,n.Children.map(e,function(t){return l(t)}))}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,tg(n.key),n)}}(a.prototype,r),Object.defineProperty(a,"prototype",{writable:!1}),a}(n.PureComponent);tA.displayName="Animate",tA.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}},tA.propTypes={from:a().oneOfType([a().object,a().string]),to:a().oneOfType([a().object,a().string]),attributeName:a().string,duration:a().number,begin:a().number,easing:a().oneOfType([a().string,a().func]),steps:a().arrayOf(a().shape({duration:a().number.isRequired,style:a().object.isRequired,easing:a().oneOfType([a().oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),a().func]),properties:a().arrayOf("string"),onAnimationEnd:a().func})),children:a().oneOfType([a().node,a().func]),isActive:a().bool,canBegin:a().bool,onAnimationEnd:a().func,shouldReAnimate:a().bool,onAnimationStart:a().func,onAnimationReStart:a().func};let tS=tA},70797:(t,e,r)=>{"use strict";r.d(e,{y:()=>F});var n=r(73706),o=r.n(n),i=r(59802),a=r(77065),c=r(75759),u=r.n(c),l=r(76256),s=r.n(l),f=r(75670),p=r(34035),h=r(53435),d=r(84481),y=r(8217),v=r(83742),m=r(42505),b=r(76876),g=r(10637),x=r(15217),O=r(24098),w=["x","y"];function j(t){return(j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function A(){return(A=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function S(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function P(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?S(Object(r),!0).forEach(function(e){var n,o;n=e,o=r[e],(n=function(t){var e=function(t,e){if("object"!=j(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=j(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==j(e)?e:e+""}(n))in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):S(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function E(t,e){var r=t.x,n=t.y,o=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,w),i=parseInt("".concat(r),10),a=parseInt("".concat(n),10),c=parseInt("".concat(e.height||o.height),10),u=parseInt("".concat(e.width||o.width),10);return P(P(P(P(P({},e),o),i?{x:i}:{}),a?{y:a}:{}),{},{height:c,width:u,name:e.name,radius:e.radius})}function k(t){return o().createElement(O.yp,A({shapeType:"rectangle",propTransformer:E,activeClassName:"recharts-active-bar"},t))}var _=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(r,n){if("number"==typeof t)return t;var o="number"==typeof r;return o?t(r,n):(o||(0,x.A)(!1),e)}},T=["value","background"];function M(t){return(M="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function C(){return(C=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function I(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function D(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?I(Object(r),!0).forEach(function(e){U(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):I(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function N(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,z(n.key),n)}}function R(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(R=function(){return!!t})()}function B(t){return(B=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function L(t,e){return(L=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function U(t,e,r){return(e=z(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function z(t){var e=function(t,e){if("object"!=M(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=M(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==M(e)?e:e+""}var F=function(t){var e,r;function n(){!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,n);for(var t,e,r,o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return e=n,r=[].concat(i),e=B(e),U(t=function(t,e){if(e&&("object"===M(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,R()?Reflect.construct(e,r||[],B(this).constructor):e.apply(this,r)),"state",{isAnimationFinished:!1}),U(t,"id",(0,y.NF)("recharts-bar-")),U(t,"handleAnimationEnd",function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),e&&e()}),U(t,"handleAnimationStart",function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),e&&e()}),t}return function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&L(t,e)}(n,t),e=[{key:"renderRectanglesStatically",value:function(t){var e=this,r=this.props,n=r.shape,i=r.dataKey,a=r.activeIndex,c=r.activeBar,u=(0,v.J9)(this.props,!1);return t&&t.map(function(t,r){var l=r===a,s=D(D(D({},u),t),{},{isActive:l,option:l?c:n,index:r,dataKey:i,onAnimationStart:e.handleAnimationStart,onAnimationEnd:e.handleAnimationEnd});return o().createElement(f.W,C({className:"recharts-bar-rectangle"},(0,g.XC)(e.props,t,r),{key:"rectangle-".concat(null==t?void 0:t.x,"-").concat(null==t?void 0:t.y,"-").concat(null==t?void 0:t.value)}),o().createElement(k,s))})}},{key:"renderRectanglesWithAnimation",value:function(){var t=this,e=this.props,r=e.data,n=e.layout,i=e.isAnimationActive,c=e.animationBegin,u=e.animationDuration,l=e.animationEasing,s=e.animationId,p=this.state.prevData;return o().createElement(a.Ay,{begin:c,duration:u,isActive:i,easing:l,from:{t:0},to:{t:1},key:"bar-".concat(s),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(e){var i=e.t,a=r.map(function(t,e){var r=p&&p[e];if(r){var o=(0,y.Dj)(r.x,t.x),a=(0,y.Dj)(r.y,t.y),c=(0,y.Dj)(r.width,t.width),u=(0,y.Dj)(r.height,t.height);return D(D({},t),{},{x:o(i),y:a(i),width:c(i),height:u(i)})}if("horizontal"===n){var l=(0,y.Dj)(0,t.height)(i);return D(D({},t),{},{y:t.y+t.height-l,height:l})}var s=(0,y.Dj)(0,t.width)(i);return D(D({},t),{},{width:s})});return o().createElement(f.W,null,t.renderRectanglesStatically(a))})}},{key:"renderRectangles",value:function(){var t=this.props,e=t.data,r=t.isAnimationActive,n=this.state.prevData;return r&&e&&e.length&&(!n||!u()(n,e))?this.renderRectanglesWithAnimation():this.renderRectanglesStatically(e)}},{key:"renderBackground",value:function(){var t=this,e=this.props,r=e.data,n=e.dataKey,i=e.activeIndex,a=(0,v.J9)(this.props.background,!1);return r.map(function(e,r){e.value;var c=e.background,u=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(e,T);if(!c)return null;var l=D(D(D(D(D({},u),{},{fill:"#eee"},c),a),(0,g.XC)(t.props,e,r)),{},{onAnimationStart:t.handleAnimationStart,onAnimationEnd:t.handleAnimationEnd,dataKey:n,index:r,className:"recharts-bar-background-rectangle"});return o().createElement(k,C({key:"background-bar-".concat(r),option:t.props.background,isActive:r===i},l))})}},{key:"renderErrorBar",value:function(t,e){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var r=this.props,n=r.data,i=r.xAxis,a=r.yAxis,c=r.layout,u=r.children,l=(0,v.aS)(u,p.u);if(!l)return null;var s="vertical"===c?n[0].height/2:n[0].width/2,h=function(t,e){var r=Array.isArray(t.value)?t.value[1]:t.value;return{x:t.x,y:t.y,value:r,errorVal:(0,b.kr)(t,e)}};return o().createElement(f.W,{clipPath:t?"url(#clipPath-".concat(e,")"):null},l.map(function(t){return o().cloneElement(t,{key:"error-bar-".concat(e,"-").concat(t.props.dataKey),data:n,xAxis:i,yAxis:a,layout:c,offset:s,dataPointFormatter:h})}))}},{key:"render",value:function(){var t=this.props,e=t.hide,r=t.data,n=t.className,a=t.xAxis,c=t.yAxis,u=t.left,l=t.top,p=t.width,h=t.height,y=t.isAnimationActive,v=t.background,m=t.id;if(e||!r||!r.length)return null;var b=this.state.isAnimationFinished,g=(0,i.A)("recharts-bar",n),x=a&&a.allowDataOverflow,O=c&&c.allowDataOverflow,w=x||O,j=s()(m)?this.id:m;return o().createElement(f.W,{className:g},x||O?o().createElement("defs",null,o().createElement("clipPath",{id:"clipPath-".concat(j)},o().createElement("rect",{x:x?u:u-p/2,y:O?l:l-h/2,width:x?p:2*p,height:O?h:2*h}))):null,o().createElement(f.W,{className:"recharts-bar-rectangles",clipPath:w?"url(#clipPath-".concat(j,")"):null},v?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(w,j),(!y||b)&&d.Z.renderCallByParent(this.props,r))}}],r=[{key:"getDerivedStateFromProps",value:function(t,e){return t.animationId!==e.prevAnimationId?{prevAnimationId:t.animationId,curData:t.data,prevData:e.curData}:t.data!==e.curData?{curData:t.data}:null}}],e&&N(n.prototype,e),r&&N(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(n.PureComponent);U(F,"displayName","Bar"),U(F,"defaultProps",{xAxisId:0,yAxisId:0,legendType:"rect",minPointSize:0,hide:!1,data:[],layout:"vertical",activeBar:!1,isAnimationActive:!m.m.isSsr,animationBegin:0,animationDuration:400,animationEasing:"ease"}),U(F,"getComposedData",function(t){var e=t.props,r=t.item,n=t.barPosition,o=t.bandSize,i=t.xAxis,a=t.yAxis,c=t.xAxisTicks,u=t.yAxisTicks,l=t.stackedData,s=t.dataStartIndex,f=t.displayedData,p=t.offset,d=(0,b.xi)(n,r);if(!d)return null;var m=e.layout,g=r.type.defaultProps,x=void 0!==g?D(D({},g),r.props):r.props,O=x.dataKey,w=x.children,j=x.minPointSize,A="horizontal"===m?a:i,S=l?A.scale.domain():null,P=(0,b.DW)({numericAxis:A}),E=(0,v.aS)(w,h.f),k=f.map(function(t,e){l?f=(0,b._f)(l[s+e],S):Array.isArray(f=(0,b.kr)(t,O))||(f=[P,f]);var n=_(j,F.defaultProps.minPointSize)(f[1],e);if("horizontal"===m){var f,p,h,v,g,x,w,A=[a.scale(f[0]),a.scale(f[1])],k=A[0],T=A[1];p=(0,b.y2)({axis:i,ticks:c,bandSize:o,offset:d.offset,entry:t,index:e}),h=null!==(w=null!=T?T:k)&&void 0!==w?w:void 0,v=d.size;var M=k-T;if(g=Number.isNaN(M)?0:M,x={x:p,y:a.y,width:v,height:a.height},Math.abs(n)>0&&Math.abs(g)<Math.abs(n)){var C=(0,y.sA)(g||n)*(Math.abs(n)-Math.abs(g));h-=C,g+=C}}else{var I=[i.scale(f[0]),i.scale(f[1])],N=I[0],R=I[1];if(p=N,h=(0,b.y2)({axis:a,ticks:u,bandSize:o,offset:d.offset,entry:t,index:e}),v=R-N,g=d.size,x={x:i.x,y:h,width:i.width,height:g},Math.abs(n)>0&&Math.abs(v)<Math.abs(n)){var B=(0,y.sA)(v||n)*(Math.abs(n)-Math.abs(v));v+=B}}return D(D(D({},t),{},{x:p,y:h,width:v,height:g,value:l?f:f[1],payload:t,background:x},E&&E[e]&&E[e].props),{},{tooltipPayload:[(0,b.zb)(r,t)],tooltipPosition:{x:p+v/2,y:h+g/2}})});return D({data:k,layout:m},p)})},11529:(t,e,r)=>{"use strict";r.d(e,{u:()=>C});var n=r(73706),o=r.n(n),i=r(38207),a=r.n(i),c=r(90171),u=r.n(c),l=r(59802),s=r(12286),f=r(75670),p=r(90508),h=r(47205),d=r(8217),y=r(10637),v=r(83742),m=r(422),b=["viewBox"],g=["viewBox"],x=["ticks"];function O(t){return(O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function w(){return(w=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function j(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function A(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?j(Object(r),!0).forEach(function(e){T(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):j(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function S(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function P(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,M(n.key),n)}}function E(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(E=function(){return!!t})()}function k(t){return(k=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function _(t,e){return(_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function T(t,e,r){return(e=M(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function M(t){var e=function(t,e){if("object"!=O(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=O(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==O(e)?e:e+""}var C=function(t){var e,r;function n(t){var e,r,o;return function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,n),r=n,o=[t],r=k(r),(e=function(t,e){if(e&&("object"===O(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,E()?Reflect.construct(r,o||[],k(this).constructor):r.apply(this,o))).state={fontSize:"",letterSpacing:""},e}return function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&_(t,e)}(n,t),e=[{key:"shouldComponentUpdate",value:function(t,e){var r=t.viewBox,n=S(t,b),o=this.props,i=o.viewBox,a=S(o,g);return!(0,s.b)(r,i)||!(0,s.b)(n,a)||!(0,s.b)(e,this.state)}},{key:"componentDidMount",value:function(){var t=this.layerReference;if(t){var e=t.getElementsByClassName("recharts-cartesian-axis-tick-value")[0];e&&this.setState({fontSize:window.getComputedStyle(e).fontSize,letterSpacing:window.getComputedStyle(e).letterSpacing})}}},{key:"getTickLineCoord",value:function(t){var e,r,n,o,i,a,c=this.props,u=c.x,l=c.y,s=c.width,f=c.height,p=c.orientation,h=c.tickSize,y=c.mirror,v=c.tickMargin,m=y?-1:1,b=t.tickSize||h,g=(0,d.Et)(t.tickCoord)?t.tickCoord:t.coordinate;switch(p){case"top":e=r=t.coordinate,a=(n=(o=l+ +!y*f)-m*b)-m*v,i=g;break;case"left":n=o=t.coordinate,i=(e=(r=u+ +!y*s)-m*b)-m*v,a=g;break;case"right":n=o=t.coordinate,i=(e=(r=u+ +y*s)+m*b)+m*v,a=g;break;default:e=r=t.coordinate,a=(n=(o=l+ +y*f)+m*b)+m*v,i=g}return{line:{x1:e,y1:n,x2:r,y2:o},tick:{x:i,y:a}}}},{key:"getTickTextAnchor",value:function(){var t,e=this.props,r=e.orientation,n=e.mirror;switch(r){case"left":t=n?"start":"end";break;case"right":t=n?"end":"start";break;default:t="middle"}return t}},{key:"getTickVerticalAnchor",value:function(){var t=this.props,e=t.orientation,r=t.mirror,n="end";switch(e){case"left":case"right":n="middle";break;case"top":n=r?"start":"end";break;default:n=r?"end":"start"}return n}},{key:"renderAxisLine",value:function(){var t=this.props,e=t.x,r=t.y,n=t.width,i=t.height,a=t.orientation,c=t.mirror,s=t.axisLine,f=A(A(A({},(0,v.J9)(this.props,!1)),(0,v.J9)(s,!1)),{},{fill:"none"});if("top"===a||"bottom"===a){var p=+("top"===a&&!c||"bottom"===a&&c);f=A(A({},f),{},{x1:e,y1:r+p*i,x2:e+n,y2:r+p*i})}else{var h=+("left"===a&&!c||"right"===a&&c);f=A(A({},f),{},{x1:e+h*n,y1:r,x2:e+h*n,y2:r+i})}return o().createElement("line",w({},f,{className:(0,l.A)("recharts-cartesian-axis-line",u()(s,"className"))}))}},{key:"renderTicks",value:function(t,e,r){var i=this,c=this.props,s=c.tickLine,p=c.stroke,h=c.tick,d=c.tickFormatter,b=c.unit,g=(0,m.f)(A(A({},this.props),{},{ticks:t}),e,r),x=this.getTickTextAnchor(),O=this.getTickVerticalAnchor(),j=(0,v.J9)(this.props,!1),S=(0,v.J9)(h,!1),P=A(A({},j),{},{fill:"none"},(0,v.J9)(s,!1)),E=g.map(function(t,e){var r=i.getTickLineCoord(t),c=r.line,v=r.tick,m=A(A(A(A({textAnchor:x,verticalAnchor:O},j),{},{stroke:"none",fill:p},S),v),{},{index:e,payload:t,visibleTicksCount:g.length,tickFormatter:d});return o().createElement(f.W,w({className:"recharts-cartesian-axis-tick",key:"tick-".concat(t.value,"-").concat(t.coordinate,"-").concat(t.tickCoord)},(0,y.XC)(i.props,t,e)),s&&o().createElement("line",w({},P,c,{className:(0,l.A)("recharts-cartesian-axis-tick-line",u()(s,"className"))})),h&&n.renderTickItem(h,m,"".concat(a()(d)?d(t.value,e):t.value).concat(b||"")))});return o().createElement("g",{className:"recharts-cartesian-axis-ticks"},E)}},{key:"render",value:function(){var t=this,e=this.props,r=e.axisLine,n=e.width,i=e.height,c=e.ticksGenerator,u=e.className;if(e.hide)return null;var s=this.props,p=s.ticks,d=S(s,x),y=p;return(a()(c)&&(y=c(p&&p.length>0?this.props:d)),n<=0||i<=0||!y||!y.length)?null:o().createElement(f.W,{className:(0,l.A)("recharts-cartesian-axis",u),ref:function(e){t.layerReference=e}},r&&this.renderAxisLine(),this.renderTicks(y,this.state.fontSize,this.state.letterSpacing),h.J.renderCallByParent(this.props))}}],r=[{key:"renderTickItem",value:function(t,e,r){return o().isValidElement(t)?o().cloneElement(t,e):a()(t)?t(e):o().createElement(p.E,w({},e,{className:"recharts-cartesian-axis-tick-value"}),r)}}],e&&P(n.prototype,e),r&&P(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(n.Component);T(C,"displayName","CartesianAxis"),T(C,"defaultProps",{x:0,y:0,width:0,height:0,viewBox:{x:0,y:0,width:0,height:0},orientation:"bottom",ticks:[],stroke:"#666",tickLine:!0,axisLine:!0,tick:!0,mirror:!1,minTickGap:5,tickSize:6,tickMargin:2,interval:"preserveEnd"})},98068:(t,e,r)=>{"use strict";r.d(e,{d:()=>T});var n=r(73706),o=r.n(n),i=r(38207),a=r.n(i),c=r(9957),u=r(8217),l=r(83742),s=r(76876),f=r(422),p=r(11529),h=r(97106),d=["x1","y1","x2","y2","key"],y=["offset"];function v(t){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function m(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function b(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?m(Object(r),!0).forEach(function(e){var n,o;n=e,o=r[e],(n=function(t){var e=function(t,e){if("object"!=v(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=v(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==v(e)?e:e+""}(n))in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function g(){return(g=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function x(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}var O=function(t){var e=t.fill;if(!e||"none"===e)return null;var r=t.fillOpacity,n=t.x,i=t.y,a=t.width,c=t.height,u=t.ry;return o().createElement("rect",{x:n,y:i,ry:u,width:a,height:c,stroke:"none",fill:e,fillOpacity:r,className:"recharts-cartesian-grid-bg"})};function w(t,e){var r;if(o().isValidElement(t))r=o().cloneElement(t,e);else if(a()(t))r=t(e);else{var n=e.x1,i=e.y1,c=e.x2,u=e.y2,s=e.key,f=x(e,d),p=(0,l.J9)(f,!1),h=(p.offset,x(p,y));r=o().createElement("line",g({},h,{x1:n,y1:i,x2:c,y2:u,fill:"none",key:s}))}return r}function j(t){var e=t.x,r=t.width,n=t.horizontal,i=void 0===n||n,a=t.horizontalPoints;if(!i||!a||!a.length)return null;var c=a.map(function(n,o){return w(i,b(b({},t),{},{x1:e,y1:n,x2:e+r,y2:n,key:"line-".concat(o),index:o}))});return o().createElement("g",{className:"recharts-cartesian-grid-horizontal"},c)}function A(t){var e=t.y,r=t.height,n=t.vertical,i=void 0===n||n,a=t.verticalPoints;if(!i||!a||!a.length)return null;var c=a.map(function(n,o){return w(i,b(b({},t),{},{x1:n,y1:e,x2:n,y2:e+r,key:"line-".concat(o),index:o}))});return o().createElement("g",{className:"recharts-cartesian-grid-vertical"},c)}function S(t){var e=t.horizontalFill,r=t.fillOpacity,n=t.x,i=t.y,a=t.width,c=t.height,u=t.horizontalPoints,l=t.horizontal;if(!(void 0===l||l)||!e||!e.length)return null;var s=u.map(function(t){return Math.round(t+i-i)}).sort(function(t,e){return t-e});i!==s[0]&&s.unshift(0);var f=s.map(function(t,u){var l=s[u+1]?s[u+1]-t:i+c-t;if(l<=0)return null;var f=u%e.length;return o().createElement("rect",{key:"react-".concat(u),y:t,x:n,height:l,width:a,stroke:"none",fill:e[f],fillOpacity:r,className:"recharts-cartesian-grid-bg"})});return o().createElement("g",{className:"recharts-cartesian-gridstripes-horizontal"},f)}function P(t){var e=t.vertical,r=t.verticalFill,n=t.fillOpacity,i=t.x,a=t.y,c=t.width,u=t.height,l=t.verticalPoints;if(!(void 0===e||e)||!r||!r.length)return null;var s=l.map(function(t){return Math.round(t+i-i)}).sort(function(t,e){return t-e});i!==s[0]&&s.unshift(0);var f=s.map(function(t,e){var l=s[e+1]?s[e+1]-t:i+c-t;if(l<=0)return null;var f=e%r.length;return o().createElement("rect",{key:"react-".concat(e),x:t,y:a,width:l,height:u,stroke:"none",fill:r[f],fillOpacity:n,className:"recharts-cartesian-grid-bg"})});return o().createElement("g",{className:"recharts-cartesian-gridstripes-vertical"},f)}var E=function(t,e){var r=t.xAxis,n=t.width,o=t.height,i=t.offset;return(0,s.PW)((0,f.f)(b(b(b({},p.u.defaultProps),r),{},{ticks:(0,s.Rh)(r,!0),viewBox:{x:0,y:0,width:n,height:o}})),i.left,i.left+i.width,e)},k=function(t,e){var r=t.yAxis,n=t.width,o=t.height,i=t.offset;return(0,s.PW)((0,f.f)(b(b(b({},p.u.defaultProps),r),{},{ticks:(0,s.Rh)(r,!0),viewBox:{x:0,y:0,width:n,height:o}})),i.top,i.top+i.height,e)},_={horizontal:!0,vertical:!0,stroke:"#ccc",fill:"none",verticalFill:[],horizontalFill:[]};function T(t){var e,r,n,i,l,s,f=(0,h.yi)(),p=(0,h.rY)(),d=(0,h.hj)(),y=b(b({},t),{},{stroke:null!==(e=t.stroke)&&void 0!==e?e:_.stroke,fill:null!==(r=t.fill)&&void 0!==r?r:_.fill,horizontal:null!==(n=t.horizontal)&&void 0!==n?n:_.horizontal,horizontalFill:null!==(i=t.horizontalFill)&&void 0!==i?i:_.horizontalFill,vertical:null!==(l=t.vertical)&&void 0!==l?l:_.vertical,verticalFill:null!==(s=t.verticalFill)&&void 0!==s?s:_.verticalFill,x:(0,u.Et)(t.x)?t.x:d.left,y:(0,u.Et)(t.y)?t.y:d.top,width:(0,u.Et)(t.width)?t.width:d.width,height:(0,u.Et)(t.height)?t.height:d.height}),m=y.x,x=y.y,w=y.width,T=y.height,M=y.syncWithTicks,C=y.horizontalValues,I=y.verticalValues,D=(0,h.pj)(),N=(0,h.$G)();if(!(0,u.Et)(w)||w<=0||!(0,u.Et)(T)||T<=0||!(0,u.Et)(m)||m!==+m||!(0,u.Et)(x)||x!==+x)return null;var R=y.verticalCoordinatesGenerator||E,B=y.horizontalCoordinatesGenerator||k,L=y.horizontalPoints,U=y.verticalPoints;if((!L||!L.length)&&a()(B)){var z=C&&C.length,F=B({yAxis:N?b(b({},N),{},{ticks:z?C:N.ticks}):void 0,width:f,height:p,offset:d},!!z||M);(0,c.R)(Array.isArray(F),"horizontalCoordinatesGenerator should return Array but instead it returned [".concat(v(F),"]")),Array.isArray(F)&&(L=F)}if((!U||!U.length)&&a()(R)){var $=I&&I.length,W=R({xAxis:D?b(b({},D),{},{ticks:$?I:D.ticks}):void 0,width:f,height:p,offset:d},!!$||M);(0,c.R)(Array.isArray(W),"verticalCoordinatesGenerator should return Array but instead it returned [".concat(v(W),"]")),Array.isArray(W)&&(U=W)}return o().createElement("g",{className:"recharts-cartesian-grid"},o().createElement(O,{fill:y.fill,fillOpacity:y.fillOpacity,x:y.x,y:y.y,width:y.width,height:y.height,ry:y.ry}),o().createElement(j,g({},y,{offset:d,horizontalPoints:L,xAxis:D,yAxis:N})),o().createElement(A,g({},y,{offset:d,verticalPoints:U,xAxis:D,yAxis:N})),o().createElement(S,g({},y,{horizontalPoints:L})),o().createElement(P,g({},y,{verticalPoints:U})))}T.displayName="CartesianGrid"},34035:(t,e,r)=>{"use strict";r.d(e,{u:()=>m});var n=r(73706),o=r.n(n),i=r(15217),a=r(75670),c=r(83742),u=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function s(){return(s=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function f(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function p(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(p=function(){return!!t})()}function h(t){return(h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function d(t,e){return(d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function y(t,e,r){return(e=v(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function v(t){var e=function(t,e){if("object"!=l(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=l(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==l(e)?e:e+""}var m=function(t){var e;function r(){var t,e;return function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,r),t=r,e=arguments,t=h(t),function(t,e){if(e&&("object"===l(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,p()?Reflect.construct(t,e||[],h(this).constructor):t.apply(this,e))}return function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&d(t,e)}(r,t),e=[{key:"render",value:function(){var t=this.props,e=t.offset,r=t.layout,n=t.width,l=t.dataKey,p=t.data,h=t.dataPointFormatter,d=t.xAxis,y=t.yAxis,v=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,u),m=(0,c.J9)(v,!1);"x"===this.props.direction&&"number"!==d.type&&(0,i.A)(!1);var b=p.map(function(t){var i,c,u=h(t,l),p=u.x,v=u.y,b=u.value,g=u.errorVal;if(!g)return null;var x=[];if(Array.isArray(g)){var O=function(t){if(Array.isArray(t))return t}(g)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{for(i=(r=r.call(t)).next;!(u=(n=i.call(r)).done)&&(c.push(n.value),2!==c.length);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(g,2)||function(t,e){if(t){if("string"==typeof t)return f(t,2);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return f(t,2)}}(g,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();i=O[0],c=O[1]}else i=c=g;if("vertical"===r){var w=d.scale,j=v+e,A=j+n,S=j-n,P=w(b-i),E=w(b+c);x.push({x1:E,y1:A,x2:E,y2:S}),x.push({x1:P,y1:j,x2:E,y2:j}),x.push({x1:P,y1:A,x2:P,y2:S})}else if("horizontal"===r){var k=y.scale,_=p+e,T=_-n,M=_+n,C=k(b-i),I=k(b+c);x.push({x1:T,y1:I,x2:M,y2:I}),x.push({x1:_,y1:C,x2:_,y2:I}),x.push({x1:T,y1:C,x2:M,y2:C})}return o().createElement(a.W,s({className:"recharts-errorBar",key:"bar-".concat(x.map(function(t){return"".concat(t.x1,"-").concat(t.x2,"-").concat(t.y1,"-").concat(t.y2)}))},m),x.map(function(t){return o().createElement("line",s({},t,{key:"line-".concat(t.x1,"-").concat(t.x2,"-").concat(t.y1,"-").concat(t.y2)}))}))});return o().createElement(a.W,{className:"recharts-errorBars"},b)}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,v(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(o().Component);y(m,"defaultProps",{stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"}),y(m,"displayName","ErrorBar")},34162:(t,e,r)=>{"use strict";r.d(e,{N:()=>B});var n=r(73706),o=r.n(n),i=r(77065),a=r(38207),c=r.n(a),u=r(76256),l=r.n(u),s=r(75759),f=r.n(s),p=r(59802),h=r(19836),d=r(33390),y=r(75670),v=r(84481),m=r(34035),b=r(8217),g=r(83742),x=r(42505),O=r(76876),w=["type","layout","connectNulls","ref"],j=["key"];function A(t){return(A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function S(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function P(){return(P=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function E(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function k(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?E(Object(r),!0).forEach(function(e){N(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):E(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function _(t){return function(t){if(Array.isArray(t))return T(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return T(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return T(t,void 0)}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function T(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function M(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,R(n.key),n)}}function C(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(C=function(){return!!t})()}function I(t){return(I=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function D(t,e){return(D=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function N(t,e,r){return(e=R(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function R(t){var e=function(t,e){if("object"!=A(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=A(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==A(e)?e:e+""}var B=function(t){var e,r;function n(){!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,n);for(var t,e,r,o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return e=n,r=[].concat(i),e=I(e),N(t=function(t,e){if(e&&("object"===A(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,C()?Reflect.construct(e,r||[],I(this).constructor):e.apply(this,r)),"state",{isAnimationFinished:!0,totalLength:0}),N(t,"generateSimpleStrokeDasharray",function(t,e){return"".concat(e,"px ").concat(t-e,"px")}),N(t,"getStrokeDasharray",function(e,r,o){var i=o.reduce(function(t,e){return t+e});if(!i)return t.generateSimpleStrokeDasharray(r,e);for(var a=Math.floor(e/i),c=e%i,u=r-e,l=[],s=0,f=0;s<o.length;f+=o[s],++s)if(f+o[s]>c){l=[].concat(_(o.slice(0,s)),[c-f]);break}var p=l.length%2==0?[0,u]:[u];return[].concat(_(n.repeat(o,a)),_(l),p).map(function(t){return"".concat(t,"px")}).join(", ")}),N(t,"id",(0,b.NF)("recharts-line-")),N(t,"pathRef",function(e){t.mainCurve=e}),N(t,"handleAnimationEnd",function(){t.setState({isAnimationFinished:!0}),t.props.onAnimationEnd&&t.props.onAnimationEnd()}),N(t,"handleAnimationStart",function(){t.setState({isAnimationFinished:!1}),t.props.onAnimationStart&&t.props.onAnimationStart()}),t}return function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&D(t,e)}(n,t),e=[{key:"componentDidMount",value:function(){if(this.props.isAnimationActive){var t=this.getTotalLength();this.setState({totalLength:t})}}},{key:"componentDidUpdate",value:function(){if(this.props.isAnimationActive){var t=this.getTotalLength();t!==this.state.totalLength&&this.setState({totalLength:t})}}},{key:"getTotalLength",value:function(){var t=this.mainCurve;try{return t&&t.getTotalLength&&t.getTotalLength()||0}catch(t){return 0}}},{key:"renderErrorBar",value:function(t,e){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var r=this.props,n=r.points,i=r.xAxis,a=r.yAxis,c=r.layout,u=r.children,l=(0,g.aS)(u,m.u);if(!l)return null;var s=function(t,e){return{x:t.x,y:t.y,value:t.value,errorVal:(0,O.kr)(t.payload,e)}};return o().createElement(y.W,{clipPath:t?"url(#clipPath-".concat(e,")"):null},l.map(function(t){return o().cloneElement(t,{key:"bar-".concat(t.props.dataKey),data:n,xAxis:i,yAxis:a,layout:c,dataPointFormatter:s})}))}},{key:"renderDots",value:function(t,e,r){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var i=this.props,a=i.dot,c=i.points,u=i.dataKey,l=(0,g.J9)(this.props,!1),s=(0,g.J9)(a,!0),f=c.map(function(t,e){var r=k(k(k({key:"dot-".concat(e),r:3},l),s),{},{value:t.value,dataKey:u,cx:t.x,cy:t.y,index:e,payload:t.payload});return n.renderDotItem(a,r)}),p={clipPath:t?"url(#clipPath-".concat(e?"":"dots-").concat(r,")"):null};return o().createElement(y.W,P({className:"recharts-line-dots",key:"dots"},p),f)}},{key:"renderCurveStatically",value:function(t,e,r,n){var i=this.props,a=i.type,c=i.layout,u=i.connectNulls,l=(i.ref,S(i,w)),s=k(k(k({},(0,g.J9)(l,!0)),{},{fill:"none",className:"recharts-line-curve",clipPath:e?"url(#clipPath-".concat(r,")"):null,points:t},n),{},{type:a,layout:c,connectNulls:u});return o().createElement(h.I,P({},s,{pathRef:this.pathRef}))}},{key:"renderCurveWithAnimation",value:function(t,e){var r=this,n=this.props,a=n.points,c=n.strokeDasharray,u=n.isAnimationActive,l=n.animationBegin,s=n.animationDuration,f=n.animationEasing,p=n.animationId,h=n.animateNewValues,d=n.width,y=n.height,v=this.state,m=v.prevPoints,g=v.totalLength;return o().createElement(i.Ay,{begin:l,duration:s,isActive:u,easing:f,from:{t:0},to:{t:1},key:"line-".concat(p),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(n){var o,i=n.t;if(m){var u=m.length/a.length,l=a.map(function(t,e){var r=Math.floor(e*u);if(m[r]){var n=m[r],o=(0,b.Dj)(n.x,t.x),a=(0,b.Dj)(n.y,t.y);return k(k({},t),{},{x:o(i),y:a(i)})}if(h){var c=(0,b.Dj)(2*d,t.x),l=(0,b.Dj)(y/2,t.y);return k(k({},t),{},{x:c(i),y:l(i)})}return k(k({},t),{},{x:t.x,y:t.y})});return r.renderCurveStatically(l,t,e)}var s=(0,b.Dj)(0,g)(i);if(c){var f="".concat(c).split(/[,\s]+/gim).map(function(t){return parseFloat(t)});o=r.getStrokeDasharray(s,g,f)}else o=r.generateSimpleStrokeDasharray(g,s);return r.renderCurveStatically(a,t,e,{strokeDasharray:o})})}},{key:"renderCurve",value:function(t,e){var r=this.props,n=r.points,o=r.isAnimationActive,i=this.state,a=i.prevPoints,c=i.totalLength;return o&&n&&n.length&&(!a&&c>0||!f()(a,n))?this.renderCurveWithAnimation(t,e):this.renderCurveStatically(n,t,e)}},{key:"render",value:function(){var t,e=this.props,r=e.hide,n=e.dot,i=e.points,a=e.className,c=e.xAxis,u=e.yAxis,s=e.top,f=e.left,h=e.width,d=e.height,m=e.isAnimationActive,b=e.id;if(r||!i||!i.length)return null;var x=this.state.isAnimationFinished,O=1===i.length,w=(0,p.A)("recharts-line",a),j=c&&c.allowDataOverflow,A=u&&u.allowDataOverflow,S=j||A,P=l()(b)?this.id:b,E=null!==(t=(0,g.J9)(n,!1))&&void 0!==t?t:{r:3,strokeWidth:2},k=E.r,_=E.strokeWidth,T=((0,g.sT)(n)?n:{}).clipDot,M=void 0===T||T,C=2*(void 0===k?3:k)+(void 0===_?2:_);return o().createElement(y.W,{className:w},j||A?o().createElement("defs",null,o().createElement("clipPath",{id:"clipPath-".concat(P)},o().createElement("rect",{x:j?f:f-h/2,y:A?s:s-d/2,width:j?h:2*h,height:A?d:2*d})),!M&&o().createElement("clipPath",{id:"clipPath-dots-".concat(P)},o().createElement("rect",{x:f-C/2,y:s-C/2,width:h+C,height:d+C}))):null,!O&&this.renderCurve(S,P),this.renderErrorBar(S,P),(O||n)&&this.renderDots(S,M,P),(!m||x)&&v.Z.renderCallByParent(this.props,i))}}],r=[{key:"getDerivedStateFromProps",value:function(t,e){return t.animationId!==e.prevAnimationId?{prevAnimationId:t.animationId,curPoints:t.points,prevPoints:e.curPoints}:t.points!==e.curPoints?{curPoints:t.points}:null}},{key:"repeat",value:function(t,e){for(var r=t.length%2!=0?[].concat(_(t),[0]):t,n=[],o=0;o<e;++o)n=[].concat(_(n),_(r));return n}},{key:"renderDotItem",value:function(t,e){var r;if(o().isValidElement(t))r=o().cloneElement(t,e);else if(c()(t))r=t(e);else{var n=e.key,i=S(e,j),a=(0,p.A)("recharts-line-dot","boolean"!=typeof t?t.className:"");r=o().createElement(d.c,P({key:n},i,{className:a}))}return r}}],e&&M(n.prototype,e),r&&M(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(n.PureComponent);N(B,"displayName","Line"),N(B,"defaultProps",{xAxisId:0,yAxisId:0,connectNulls:!1,activeDot:!0,dot:!0,legendType:"line",stroke:"#3182bd",strokeWidth:1,fill:"#fff",points:[],isAnimationActive:!x.m.isSsr,animateNewValues:!0,animationBegin:0,animationDuration:1500,animationEasing:"ease",hide:!1,label:!1}),N(B,"getComposedData",function(t){var e=t.props,r=t.xAxis,n=t.yAxis,o=t.xAxisTicks,i=t.yAxisTicks,a=t.dataKey,c=t.bandSize,u=t.displayedData,s=t.offset,f=e.layout;return k({points:u.map(function(t,e){var u=(0,O.kr)(t,a);return"horizontal"===f?{x:(0,O.nb)({axis:r,ticks:o,bandSize:c,entry:t,index:e}),y:l()(u)?null:n.scale(u),value:u,payload:t}:{x:l()(u)?null:r.scale(u),y:(0,O.nb)({axis:n,ticks:i,bandSize:c,entry:t,index:e}),value:u,payload:t}}),layout:f},s)})},55343:(t,e,r)=>{"use strict";r.d(e,{W:()=>m});var n=r(73706),o=r.n(n),i=r(59802),a=r(97106),c=r(11529),u=r(76876);function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function s(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(s=function(){return!!t})()}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function p(t,e){return(p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function h(t,e,r){return(e=d(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function d(t){var e=function(t,e){if("object"!=l(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=l(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==l(e)?e:e+""}function y(){return(y=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function v(t){var e=t.xAxisId,r=(0,a.yi)(),n=(0,a.rY)(),l=(0,a.AF)(e);return null==l?null:o().createElement(c.u,y({},l,{className:(0,i.A)("recharts-".concat(l.axisType," ").concat(l.axisType),l.className),viewBox:{x:0,y:0,width:r,height:n},ticksGenerator:function(t){return(0,u.Rh)(t,!0)}}))}var m=function(t){var e;function r(){var t,e;return function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,r),t=r,e=arguments,t=f(t),function(t,e){if(e&&("object"===l(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,s()?Reflect.construct(t,e||[],f(this).constructor):t.apply(this,e))}return function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&p(t,e)}(r,t),e=[{key:"render",value:function(){return o().createElement(v,this.props)}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,d(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(o().Component);h(m,"displayName","XAxis"),h(m,"defaultProps",{allowDecimals:!0,hide:!1,orientation:"bottom",width:0,height:30,mirror:!1,xAxisId:0,tickCount:5,type:"category",padding:{left:0,right:0},allowDataOverflow:!1,scale:"auto",reversed:!1,allowDuplicatedCategory:!0})},41884:(t,e,r)=>{"use strict";r.d(e,{h:()=>m});var n=r(73706),o=r.n(n),i=r(59802),a=r(97106),c=r(11529),u=r(76876);function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function s(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(s=function(){return!!t})()}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function p(t,e){return(p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function h(t,e,r){return(e=d(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function d(t){var e=function(t,e){if("object"!=l(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=l(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==l(e)?e:e+""}function y(){return(y=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var v=function(t){var e=t.yAxisId,r=(0,a.yi)(),n=(0,a.rY)(),l=(0,a.Nk)(e);return null==l?null:o().createElement(c.u,y({},l,{className:(0,i.A)("recharts-".concat(l.axisType," ").concat(l.axisType),l.className),viewBox:{x:0,y:0,width:r,height:n},ticksGenerator:function(t){return(0,u.Rh)(t,!0)}}))},m=function(t){var e;function r(){var t,e;return function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,r),t=r,e=arguments,t=f(t),function(t,e){if(e&&("object"===l(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,s()?Reflect.construct(t,e||[],f(this).constructor):t.apply(this,e))}return function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&p(t,e)}(r,t),e=[{key:"render",value:function(){return o().createElement(v,this.props)}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,d(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(o().Component);h(m,"displayName","YAxis"),h(m,"defaultProps",{allowDuplicatedCategory:!0,allowDecimals:!0,hide:!1,orientation:"left",width:60,height:0,mirror:!1,yAxisId:0,tickCount:5,type:"number",padding:{top:0,bottom:0},allowDataOverflow:!1,scale:"auto",reversed:!1})},422:(t,e,r)=>{"use strict";r.d(e,{f:()=>d});var n=r(38207),o=r.n(n),i=r(8217),a=r(69703),c=r(42505),u=r(28657);function l(t,e,r){if(e<1)return[];if(1===e&&void 0===r)return t;for(var n=[],o=0;o<t.length;o+=e){if(void 0!==r&&!0!==r(t[o]))return;n.push(t[o])}return n}function s(t,e,r,n,o){if(t*e<t*n||t*e>t*o)return!1;var i=r();return t*(e-t*i/2-n)>=0&&t*(e+t*i/2-o)<=0}function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function p(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function h(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?p(Object(r),!0).forEach(function(e){var n,o;n=e,o=r[e],(n=function(t){var e=function(t,e){if("object"!=f(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=f(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==f(e)?e:e+""}(n))in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function d(t,e,r){var n,f,p,d,y,v=t.tick,m=t.ticks,b=t.viewBox,g=t.minTickGap,x=t.orientation,O=t.interval,w=t.tickFormatter,j=t.unit,A=t.angle;if(!m||!m.length||!v)return[];if((0,i.Et)(O)||c.m.isSsr)return l(m,("number"==typeof O&&(0,i.Et)(O)?O:0)+1);var S="top"===x||"bottom"===x?"width":"height",P=j&&"width"===S?(0,a.Pu)(j,{fontSize:e,letterSpacing:r}):{width:0,height:0},E=function(t,n){var i,c,l=o()(w)?w(t.value,n):t.value;return"width"===S?(c={width:(i=(0,a.Pu)(l,{fontSize:e,letterSpacing:r})).width+P.width,height:i.height+P.height},(0,u.bx)(c,A)):(0,a.Pu)(l,{fontSize:e,letterSpacing:r})[S]},k=m.length>=2?(0,i.sA)(m[1].coordinate-m[0].coordinate):1,_=(n="width"===S,f=b.x,p=b.y,d=b.width,y=b.height,1===k?{start:n?f:p,end:n?f+d:p+y}:{start:n?f+d:p+y,end:n?f:p});return"equidistantPreserveStart"===O?function(t,e,r,n,o){for(var i,a=(n||[]).slice(),c=e.start,u=e.end,f=0,p=1,h=c;p<=a.length;)if(i=function(){var e,i=null==n?void 0:n[f];if(void 0===i)return{v:l(n,p)};var a=f,d=function(){return void 0===e&&(e=r(i,a)),e},y=i.coordinate,v=0===f||s(t,y,d,h,u);v||(f=0,h=c,p+=1),v&&(h=y+t*(d()/2+o),f+=p)}())return i.v;return[]}(k,_,E,m,g):("preserveStart"===O||"preserveStartEnd"===O?function(t,e,r,n,o,i){var a=(n||[]).slice(),c=a.length,u=e.start,l=e.end;if(i){var f=n[c-1],p=r(f,c-1),d=t*(f.coordinate+t*p/2-l);a[c-1]=f=h(h({},f),{},{tickCoord:d>0?f.coordinate-d*t:f.coordinate}),s(t,f.tickCoord,function(){return p},u,l)&&(l=f.tickCoord-t*(p/2+o),a[c-1]=h(h({},f),{},{isShow:!0}))}for(var y=i?c-1:c,v=function(e){var n,i=a[e],c=function(){return void 0===n&&(n=r(i,e)),n};if(0===e){var f=t*(i.coordinate-t*c()/2-u);a[e]=i=h(h({},i),{},{tickCoord:f<0?i.coordinate-f*t:i.coordinate})}else a[e]=i=h(h({},i),{},{tickCoord:i.coordinate});s(t,i.tickCoord,c,u,l)&&(u=i.tickCoord+t*(c()/2+o),a[e]=h(h({},i),{},{isShow:!0}))},m=0;m<y;m++)v(m);return a}(k,_,E,m,g,"preserveStartEnd"===O):function(t,e,r,n,o){for(var i=(n||[]).slice(),a=i.length,c=e.start,u=e.end,l=function(e){var n,l=i[e],f=function(){return void 0===n&&(n=r(l,e)),n};if(e===a-1){var p=t*(l.coordinate+t*f()/2-u);i[e]=l=h(h({},l),{},{tickCoord:p>0?l.coordinate-p*t:l.coordinate})}else i[e]=l=h(h({},l),{},{tickCoord:l.coordinate});s(t,l.tickCoord,f,c,u)&&(u=l.tickCoord-t*(f()/2+o),i[e]=h(h({},l),{},{isShow:!0}))},f=a-1;f>=0;f--)l(f);return i}(k,_,E,m,g)).filter(function(t){return t.isShow})}},57365:(t,e,r)=>{"use strict";r.d(e,{E:()=>u});var n=r(22226),o=r(70797),i=r(55343),a=r(41884),c=r(28657),u=(0,n.gu)({chartName:"BarChart",GraphicalChild:o.y,defaultTooltipEventType:"axis",validateTooltipEventTypes:["axis","item"],axisComponents:[{axisType:"xAxis",AxisComp:i.W},{axisType:"yAxis",AxisComp:a.h}],formatAxisMap:c.pr})},28170:(t,e,r)=>{"use strict";r.d(e,{b:()=>u});var n=r(22226),o=r(34162),i=r(55343),a=r(41884),c=r(28657),u=(0,n.gu)({chartName:"LineChart",GraphicalChild:o.N,axisComponents:[{axisType:"xAxis",AxisComp:i.W},{axisType:"yAxis",AxisComp:a.h}],formatAxisMap:c.pr})},35960:(t,e,r)=>{"use strict";r.d(e,{r:()=>tr});var n=r(22226),o=r(73706),i=r.n(o),a=r(38207),c=r.n(a),u=r(59802),l=r(75670),s=r(33390),f=r(83742),p=["points","className","baseLinePoints","connectNulls"];function h(){return(h=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function d(t){return function(t){if(Array.isArray(t))return y(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return y(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return y(t,void 0)}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var v=function(t){return t&&t.x===+t.x&&t.y===+t.y},m=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=[[]];return t.forEach(function(t){v(t)?e[e.length-1].push(t):e[e.length-1].length>0&&e.push([])}),v(t[0])&&e[e.length-1].push(t[0]),e[e.length-1].length<=0&&(e=e.slice(0,-1)),e},b=function(t,e){var r=m(t);e&&(r=[r.reduce(function(t,e){return[].concat(d(t),d(e))},[])]);var n=r.map(function(t){return t.reduce(function(t,e,r){return"".concat(t).concat(0===r?"M":"L").concat(e.x,",").concat(e.y)},"")}).join("");return 1===r.length?"".concat(n,"Z"):n},g=function(t,e,r){var n=b(t,r);return"".concat("Z"===n.slice(-1)?n.slice(0,-1):n,"L").concat(b(e.reverse(),r).slice(1))},x=function(t){var e=t.points,r=t.className,n=t.baseLinePoints,o=t.connectNulls,a=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,p);if(!e||!e.length)return null;var c=(0,u.A)("recharts-polygon",r);if(n&&n.length){var l=a.stroke&&"none"!==a.stroke,s=g(e,n,o);return i().createElement("g",{className:c},i().createElement("path",h({},(0,f.J9)(a,!0),{fill:"Z"===s.slice(-1)?a.fill:"none",stroke:"none",d:s})),l?i().createElement("path",h({},(0,f.J9)(a,!0),{fill:"none",d:b(e,o)})):null,l?i().createElement("path",h({},(0,f.J9)(a,!0),{fill:"none",d:b(n,o)})):null)}var d=b(e,o);return i().createElement("path",h({},(0,f.J9)(a,!0),{fill:"Z"===d.slice(-1)?a.fill:"none",className:c,d:d}))},O=r(90508),w=r(10637),j=r(38475);function A(t){return(A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function S(){return(S=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function P(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function E(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?P(Object(r),!0).forEach(function(e){C(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):P(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function k(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,I(n.key),n)}}function _(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_=function(){return!!t})()}function T(t){return(T=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function M(t,e){return(M=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function C(t,e,r){return(e=I(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function I(t){var e=function(t,e){if("object"!=A(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=A(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==A(e)?e:e+""}var D=Math.PI/180,N=function(t){var e,r;function n(){var t,e;return function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,n),t=n,e=arguments,t=T(t),function(t,e){if(e&&("object"===A(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,_()?Reflect.construct(t,e||[],T(this).constructor):t.apply(this,e))}return function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&M(t,e)}(n,t),e=[{key:"getTickLineCoord",value:function(t){var e=this.props,r=e.cx,n=e.cy,o=e.radius,i=e.orientation,a=e.tickSize,c=(0,j.IZ)(r,n,o,t.coordinate),u=(0,j.IZ)(r,n,o+("inner"===i?-1:1)*(a||8),t.coordinate);return{x1:c.x,y1:c.y,x2:u.x,y2:u.y}}},{key:"getTickTextAnchor",value:function(t){var e=this.props.orientation,r=Math.cos(-t.coordinate*D);return r>1e-5?"outer"===e?"start":"end":r<-1e-5?"outer"===e?"end":"start":"middle"}},{key:"renderAxisLine",value:function(){var t=this.props,e=t.cx,r=t.cy,n=t.radius,o=t.axisLine,a=t.axisLineType,c=E(E({},(0,f.J9)(this.props,!1)),{},{fill:"none"},(0,f.J9)(o,!1));if("circle"===a)return i().createElement(s.c,S({className:"recharts-polar-angle-axis-line"},c,{cx:e,cy:r,r:n}));var u=this.props.ticks.map(function(t){return(0,j.IZ)(e,r,n,t.coordinate)});return i().createElement(x,S({className:"recharts-polar-angle-axis-line"},c,{points:u}))}},{key:"renderTicks",value:function(){var t=this,e=this.props,r=e.ticks,o=e.tick,a=e.tickLine,c=e.tickFormatter,s=e.stroke,p=(0,f.J9)(this.props,!1),h=(0,f.J9)(o,!1),d=E(E({},p),{},{fill:"none"},(0,f.J9)(a,!1)),y=r.map(function(e,r){var f=t.getTickLineCoord(e),y=E(E(E({textAnchor:t.getTickTextAnchor(e)},p),{},{stroke:"none",fill:s},h),{},{index:r,payload:e,x:f.x2,y:f.y2});return i().createElement(l.W,S({className:(0,u.A)("recharts-polar-angle-axis-tick",(0,j.Zk)(o)),key:"tick-".concat(e.coordinate)},(0,w.XC)(t.props,e,r)),a&&i().createElement("line",S({className:"recharts-polar-angle-axis-tick-line"},d,f)),o&&n.renderTickItem(o,y,c?c(e.value,r):e.value))});return i().createElement(l.W,{className:"recharts-polar-angle-axis-ticks"},y)}},{key:"render",value:function(){var t=this.props,e=t.ticks,r=t.radius,n=t.axisLine;return!(r<=0)&&e&&e.length?i().createElement(l.W,{className:(0,u.A)("recharts-polar-angle-axis",this.props.className)},n&&this.renderAxisLine(),this.renderTicks()):null}}],r=[{key:"renderTickItem",value:function(t,e,r){return i().isValidElement(t)?i().cloneElement(t,e):c()(t)?t(e):i().createElement(O.E,S({},e,{className:"recharts-polar-angle-axis-tick-value"}),r)}}],e&&k(n.prototype,e),r&&k(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(o.PureComponent);C(N,"displayName","PolarAngleAxis"),C(N,"axisType","angleAxis"),C(N,"defaultProps",{type:"category",angleAxisId:0,scale:"auto",cx:0,cy:0,orientation:"outer",axisLine:!0,tickLine:!0,tickSize:8,tick:!0,hide:!1,allowDuplicatedCategory:!0});var R=r(21872),B=r.n(R),L=r(35394),U=r.n(L),z=r(47205),F=["cx","cy","angle","ticks","axisLine"],$=["ticks","tick","angle","tickFormatter","stroke"];function W(t){return(W="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function q(){return(q=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function X(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function H(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?X(Object(r),!0).forEach(function(e){Z(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):X(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function K(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function V(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Q(n.key),n)}}function G(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(G=function(){return!!t})()}function Y(t){return(Y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function J(t,e){return(J=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function Z(t,e,r){return(e=Q(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Q(t){var e=function(t,e){if("object"!=W(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=W(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==W(e)?e:e+""}var tt=function(t){var e,r;function n(){var t,e;return function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,n),t=n,e=arguments,t=Y(t),function(t,e){if(e&&("object"===W(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,G()?Reflect.construct(t,e||[],Y(this).constructor):t.apply(this,e))}return function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&J(t,e)}(n,t),e=[{key:"getTickValueCoord",value:function(t){var e=t.coordinate,r=this.props,n=r.angle,o=r.cx,i=r.cy;return(0,j.IZ)(o,i,e,n)}},{key:"getTickTextAnchor",value:function(){var t;switch(this.props.orientation){case"left":t="end";break;case"right":t="start";break;default:t="middle"}return t}},{key:"getViewBox",value:function(){var t=this.props,e=t.cx,r=t.cy,n=t.angle,o=t.ticks,i=B()(o,function(t){return t.coordinate||0});return{cx:e,cy:r,startAngle:n,endAngle:n,innerRadius:U()(o,function(t){return t.coordinate||0}).coordinate||0,outerRadius:i.coordinate||0}}},{key:"renderAxisLine",value:function(){var t=this.props,e=t.cx,r=t.cy,n=t.angle,o=t.ticks,a=t.axisLine,c=K(t,F),u=o.reduce(function(t,e){return[Math.min(t[0],e.coordinate),Math.max(t[1],e.coordinate)]},[1/0,-1/0]),l=(0,j.IZ)(e,r,u[0],n),s=(0,j.IZ)(e,r,u[1],n),p=H(H(H({},(0,f.J9)(c,!1)),{},{fill:"none"},(0,f.J9)(a,!1)),{},{x1:l.x,y1:l.y,x2:s.x,y2:s.y});return i().createElement("line",q({className:"recharts-polar-radius-axis-line"},p))}},{key:"renderTicks",value:function(){var t=this,e=this.props,r=e.ticks,o=e.tick,a=e.angle,c=e.tickFormatter,s=e.stroke,p=K(e,$),h=this.getTickTextAnchor(),d=(0,f.J9)(p,!1),y=(0,f.J9)(o,!1),v=r.map(function(e,r){var f=t.getTickValueCoord(e),p=H(H(H(H({textAnchor:h,transform:"rotate(".concat(90-a,", ").concat(f.x,", ").concat(f.y,")")},d),{},{stroke:"none",fill:s},y),{},{index:r},f),{},{payload:e});return i().createElement(l.W,q({className:(0,u.A)("recharts-polar-radius-axis-tick",(0,j.Zk)(o)),key:"tick-".concat(e.coordinate)},(0,w.XC)(t.props,e,r)),n.renderTickItem(o,p,c?c(e.value,r):e.value))});return i().createElement(l.W,{className:"recharts-polar-radius-axis-ticks"},v)}},{key:"render",value:function(){var t=this.props,e=t.ticks,r=t.axisLine,n=t.tick;return e&&e.length?i().createElement(l.W,{className:(0,u.A)("recharts-polar-radius-axis",this.props.className)},r&&this.renderAxisLine(),n&&this.renderTicks(),z.J.renderCallByParent(this.props,this.getViewBox())):null}}],r=[{key:"renderTickItem",value:function(t,e,r){return i().isValidElement(t)?i().cloneElement(t,e):c()(t)?t(e):i().createElement(O.E,q({},e,{className:"recharts-polar-radius-axis-tick-value"}),r)}}],e&&V(n.prototype,e),r&&V(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(o.PureComponent);Z(tt,"displayName","PolarRadiusAxis"),Z(tt,"axisType","radiusAxis"),Z(tt,"defaultProps",{type:"number",radiusAxisId:0,cx:0,cy:0,angle:0,orientation:"right",stroke:"#ccc",axisLine:!0,tick:!0,tickCount:5,allowDataOverflow:!1,scale:"auto",allowDuplicatedCategory:!0});var te=r(84850),tr=(0,n.gu)({chartName:"PieChart",GraphicalChild:te.F,validateTooltipEventTypes:["item"],defaultTooltipEventType:"item",legendContent:"children",axisComponents:[{axisType:"angleAxis",AxisComp:N},{axisType:"radiusAxis",AxisComp:tt}],formatAxisMap:j.pr,defaultProps:{layout:"centric",startAngle:0,endAngle:360,cx:"50%",cy:"50%",innerRadius:0,outerRadius:"80%"}})},22226:(t,e,r)=>{"use strict";r.d(e,{gu:()=>eI});var n=r(73706),o=r.n(n),i=r(76256),a=r.n(i),c=r(38207),u=r.n(c),l=r(63742),s=r.n(l),f=r(90171),p=r.n(f),h=r(89922),d=r.n(h),y=r(34867),v=r.n(y),m=r(59802),b=r(15217),g=r(13884),x=r(75670),O=r(38025),w=r(53898),j=r(33390),A=r(10336),S=r(83742),P=r(67989),E=r(90508),k=r(76876),_=r(8217);function T(t){return(T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function M(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function C(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?M(Object(r),!0).forEach(function(e){I(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):M(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function I(t,e,r){var n;return(n=function(t,e){if("object"!=T(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=T(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==T(n)?n:n+"")in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var D=["Webkit","Moz","O","ms"],N=function(t,e){if(!t)return null;var r=t.replace(/(\w)/,function(t){return t.toUpperCase()}),n=D.reduce(function(t,n){return C(C({},t),{},I({},n+r,e))},{});return n[t]=e,n};function R(t){return(R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function B(){return(B=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function L(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function U(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?L(Object(r),!0).forEach(function(e){q(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):L(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function z(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,X(n.key),n)}}function F(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(F=function(){return!!t})()}function $(t){return($=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function W(t,e){return(W=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function q(t,e,r){return(e=X(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function X(t){var e=function(t,e){if("object"!=R(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=R(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==R(e)?e:e+""}var H=function(t){var e=t.data,r=t.startIndex,n=t.endIndex,o=t.x,i=t.width,a=t.travellerWidth;if(!e||!e.length)return{};var c=e.length,u=(0,P.z)().domain(s()(0,c)).range([o,o+i-a]),l=u.domain().map(function(t){return u(t)});return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,isTravellerFocused:!1,startX:u(r),endX:u(n),scale:u,scaleValues:l}},K=function(t){return t.changedTouches&&!!t.changedTouches.length},V=function(t){var e,r;function i(t){var e,r,n;return function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,i),r=i,n=[t],r=$(r),q(e=function(t,e){if(e&&("object"===R(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,F()?Reflect.construct(r,n||[],$(this).constructor):r.apply(this,n)),"handleDrag",function(t){e.leaveTimer&&(clearTimeout(e.leaveTimer),e.leaveTimer=null),e.state.isTravellerMoving?e.handleTravellerMove(t):e.state.isSlideMoving&&e.handleSlideDrag(t)}),q(e,"handleTouchMove",function(t){null!=t.changedTouches&&t.changedTouches.length>0&&e.handleDrag(t.changedTouches[0])}),q(e,"handleDragEnd",function(){e.setState({isTravellerMoving:!1,isSlideMoving:!1},function(){var t=e.props,r=t.endIndex,n=t.onDragEnd,o=t.startIndex;null==n||n({endIndex:r,startIndex:o})}),e.detachDragEndListener()}),q(e,"handleLeaveWrapper",function(){(e.state.isTravellerMoving||e.state.isSlideMoving)&&(e.leaveTimer=window.setTimeout(e.handleDragEnd,e.props.leaveTimeOut))}),q(e,"handleEnterSlideOrTraveller",function(){e.setState({isTextActive:!0})}),q(e,"handleLeaveSlideOrTraveller",function(){e.setState({isTextActive:!1})}),q(e,"handleSlideDragStart",function(t){var r=K(t)?t.changedTouches[0]:t;e.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:r.pageX}),e.attachDragEndListener()}),e.travellerDragStartHandlers={startX:e.handleTravellerDragStart.bind(e,"startX"),endX:e.handleTravellerDragStart.bind(e,"endX")},e.state={},e}return function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&W(t,e)}(i,t),e=[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(t){var e=t.startX,r=t.endX,n=this.state.scaleValues,o=this.props,a=o.gap,c=o.data.length-1,u=Math.min(e,r),l=Math.max(e,r),s=i.getIndexInRange(n,u),f=i.getIndexInRange(n,l);return{startIndex:s-s%a,endIndex:f===c?c:f-f%a}}},{key:"getTextOfTick",value:function(t){var e=this.props,r=e.data,n=e.tickFormatter,o=e.dataKey,i=(0,k.kr)(r[t],o,t);return u()(n)?n(i,t):i}},{key:"attachDragEndListener",value:function(){window.addEventListener("mouseup",this.handleDragEnd,!0),window.addEventListener("touchend",this.handleDragEnd,!0),window.addEventListener("mousemove",this.handleDrag,!0)}},{key:"detachDragEndListener",value:function(){window.removeEventListener("mouseup",this.handleDragEnd,!0),window.removeEventListener("touchend",this.handleDragEnd,!0),window.removeEventListener("mousemove",this.handleDrag,!0)}},{key:"handleSlideDrag",value:function(t){var e=this.state,r=e.slideMoveStartX,n=e.startX,o=e.endX,i=this.props,a=i.x,c=i.width,u=i.travellerWidth,l=i.startIndex,s=i.endIndex,f=i.onChange,p=t.pageX-r;p>0?p=Math.min(p,a+c-u-o,a+c-u-n):p<0&&(p=Math.max(p,a-n,a-o));var h=this.getIndex({startX:n+p,endX:o+p});(h.startIndex!==l||h.endIndex!==s)&&f&&f(h),this.setState({startX:n+p,endX:o+p,slideMoveStartX:t.pageX})}},{key:"handleTravellerDragStart",value:function(t,e){var r=K(e)?e.changedTouches[0]:e;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:t,brushMoveStartX:r.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(t){var e=this.state,r=e.brushMoveStartX,n=e.movingTravellerId,o=e.endX,i=e.startX,a=this.state[n],c=this.props,u=c.x,l=c.width,s=c.travellerWidth,f=c.onChange,p=c.gap,h=c.data,d={startX:this.state.startX,endX:this.state.endX},y=t.pageX-r;y>0?y=Math.min(y,u+l-s-a):y<0&&(y=Math.max(y,u-a)),d[n]=a+y;var v=this.getIndex(d),m=v.startIndex,b=v.endIndex,g=function(){var t=h.length-1;return"startX"===n&&(o>i?m%p==0:b%p==0)||o<i&&b===t||"endX"===n&&(o>i?b%p==0:m%p==0)||o>i&&b===t};this.setState(q(q({},n,a+y),"brushMoveStartX",t.pageX),function(){f&&g()&&f(v)})}},{key:"handleTravellerMoveKeyboard",value:function(t,e){var r=this,n=this.state,o=n.scaleValues,i=n.startX,a=n.endX,c=this.state[e],u=o.indexOf(c);if(-1!==u){var l=u+t;if(-1!==l&&!(l>=o.length)){var s=o[l];"startX"===e&&s>=a||"endX"===e&&s<=i||this.setState(q({},e,s),function(){r.props.onChange(r.getIndex({startX:r.state.startX,endX:r.state.endX}))})}}}},{key:"renderBackground",value:function(){var t=this.props,e=t.x,r=t.y,n=t.width,i=t.height,a=t.fill,c=t.stroke;return o().createElement("rect",{stroke:c,fill:a,x:e,y:r,width:n,height:i})}},{key:"renderPanorama",value:function(){var t=this.props,e=t.x,r=t.y,i=t.width,a=t.height,c=t.data,u=t.children,l=t.padding,s=n.Children.only(u);return s?o().cloneElement(s,{x:e,y:r,width:i,height:a,margin:l,compact:!0,data:c}):null}},{key:"renderTravellerLayer",value:function(t,e){var r,n,a=this,c=this.props,u=c.y,l=c.travellerWidth,s=c.height,f=c.traveller,p=c.ariaLabel,h=c.data,d=c.startIndex,y=c.endIndex,v=Math.max(t,this.props.x),m=U(U({},(0,S.J9)(this.props,!1)),{},{x:v,y:u,width:l,height:s}),b=p||"Min value: ".concat(null===(r=h[d])||void 0===r?void 0:r.name,", Max value: ").concat(null===(n=h[y])||void 0===n?void 0:n.name);return o().createElement(x.W,{tabIndex:0,role:"slider","aria-label":b,"aria-valuenow":t,className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[e],onTouchStart:this.travellerDragStartHandlers[e],onKeyDown:function(t){["ArrowLeft","ArrowRight"].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),a.handleTravellerMoveKeyboard("ArrowRight"===t.key?1:-1,e))},onFocus:function(){a.setState({isTravellerFocused:!0})},onBlur:function(){a.setState({isTravellerFocused:!1})},style:{cursor:"col-resize"}},i.renderTraveller(f,m))}},{key:"renderSlide",value:function(t,e){var r=this.props,n=r.y,i=r.height,a=r.stroke,c=r.travellerWidth,u=Math.min(t,e)+c,l=Math.max(Math.abs(e-t)-c,0);return o().createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:a,fillOpacity:.2,x:u,y:n,width:l,height:i})}},{key:"renderText",value:function(){var t=this.props,e=t.startIndex,r=t.endIndex,n=t.y,i=t.height,a=t.travellerWidth,c=t.stroke,u=this.state,l=u.startX,s=u.endX,f={pointerEvents:"none",fill:c};return o().createElement(x.W,{className:"recharts-brush-texts"},o().createElement(E.E,B({textAnchor:"end",verticalAnchor:"middle",x:Math.min(l,s)-5,y:n+i/2},f),this.getTextOfTick(e)),o().createElement(E.E,B({textAnchor:"start",verticalAnchor:"middle",x:Math.max(l,s)+a+5,y:n+i/2},f),this.getTextOfTick(r)))}},{key:"render",value:function(){var t=this.props,e=t.data,r=t.className,n=t.children,i=t.x,a=t.y,c=t.width,u=t.height,l=t.alwaysShowText,s=this.state,f=s.startX,p=s.endX,h=s.isTextActive,d=s.isSlideMoving,y=s.isTravellerMoving,v=s.isTravellerFocused;if(!e||!e.length||!(0,_.Et)(i)||!(0,_.Et)(a)||!(0,_.Et)(c)||!(0,_.Et)(u)||c<=0||u<=0)return null;var b=(0,m.A)("recharts-brush",r),g=1===o().Children.count(n),O=N("userSelect","none");return o().createElement(x.W,{className:b,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:O},this.renderBackground(),g&&this.renderPanorama(),this.renderSlide(f,p),this.renderTravellerLayer(f,"startX"),this.renderTravellerLayer(p,"endX"),(h||d||y||v||l)&&this.renderText())}}],r=[{key:"renderDefaultTraveller",value:function(t){var e=t.x,r=t.y,n=t.width,i=t.height,a=t.stroke,c=Math.floor(r+i/2)-1;return o().createElement(o().Fragment,null,o().createElement("rect",{x:e,y:r,width:n,height:i,fill:a,stroke:"none"}),o().createElement("line",{x1:e+1,y1:c,x2:e+n-1,y2:c,fill:"none",stroke:"#fff"}),o().createElement("line",{x1:e+1,y1:c+2,x2:e+n-1,y2:c+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(t,e){return o().isValidElement(t)?o().cloneElement(t,e):u()(t)?t(e):i.renderDefaultTraveller(e)}},{key:"getDerivedStateFromProps",value:function(t,e){var r=t.data,n=t.width,o=t.x,i=t.travellerWidth,a=t.updateId,c=t.startIndex,u=t.endIndex;if(r!==e.prevData||a!==e.prevUpdateId)return U({prevData:r,prevTravellerWidth:i,prevUpdateId:a,prevX:o,prevWidth:n},r&&r.length?H({data:r,width:n,x:o,travellerWidth:i,startIndex:c,endIndex:u}):{scale:null,scaleValues:null});if(e.scale&&(n!==e.prevWidth||o!==e.prevX||i!==e.prevTravellerWidth)){e.scale.range([o,o+n-i]);var l=e.scale.domain().map(function(t){return e.scale(t)});return{prevData:r,prevTravellerWidth:i,prevUpdateId:a,prevX:o,prevWidth:n,startX:e.scale(t.startIndex),endX:e.scale(t.endIndex),scaleValues:l}}return null}},{key:"getIndexInRange",value:function(t,e){for(var r=t.length,n=0,o=r-1;o-n>1;){var i=Math.floor((n+o)/2);t[i]>e?o=i:n=i}return e>=t[o]?o:n}}],e&&z(i.prototype,e),r&&z(i,r),Object.defineProperty(i,"prototype",{writable:!1}),i}(n.PureComponent);q(V,"displayName","Brush"),q(V,"defaultProps",{height:40,travellerWidth:5,gap:1,fill:"#fff",stroke:"#666",padding:{top:1,right:1,bottom:1,left:1},leaveTimeOut:1e3,alwaysShowText:!1});var G=r(69703),Y=r(6991),J=r(47205),Z=function(t,e){var r=t.alwaysShow,n=t.ifOverflow;return r&&(n="extendDomain"),n===e},Q=r(28657),tt=r(9957);function te(){return(te=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function tr(t){return(tr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function tn(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function to(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?tn(Object(r),!0).forEach(function(e){tu(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tn(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function ti(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ti=function(){return!!t})()}function ta(t){return(ta=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function tc(t,e){return(tc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function tu(t,e,r){return(e=tl(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function tl(t){var e=function(t,e){if("object"!=tr(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=tr(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==tr(e)?e:e+""}var ts=function(t){var e=t.x,r=t.y,n=t.xAxis,o=t.yAxis,i=(0,Q.P2)({x:n.scale,y:o.scale}),a=i.apply({x:e,y:r},{bandAware:!0});return Z(t,"discard")&&!i.isInRange(a)?null:a},tf=function(t){var e;function r(){var t,e;return function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,r),t=r,e=arguments,t=ta(t),function(t,e){if(e&&("object"===tr(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,ti()?Reflect.construct(t,e||[],ta(this).constructor):t.apply(this,e))}return function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&tc(t,e)}(r,t),e=[{key:"render",value:function(){var t=this.props,e=t.x,n=t.y,i=t.r,a=t.alwaysShow,c=t.clipPathId,u=(0,_.vh)(e),l=(0,_.vh)(n);if((0,tt.R)(void 0===a,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!u||!l)return null;var s=ts(this.props);if(!s)return null;var f=s.x,p=s.y,h=this.props,d=h.shape,y=h.className,v=to(to({clipPath:Z(this.props,"hidden")?"url(#".concat(c,")"):void 0},(0,S.J9)(this.props,!0)),{},{cx:f,cy:p});return o().createElement(x.W,{className:(0,m.A)("recharts-reference-dot",y)},r.renderDot(d,v),J.J.renderCallByParent(this.props,{x:f-i,y:p-i,width:2*i,height:2*i}))}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,tl(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(o().Component);tu(tf,"displayName","ReferenceDot"),tu(tf,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1}),tu(tf,"renderDot",function(t,e){return o().isValidElement(t)?o().cloneElement(t,e):u()(t)?t(e):o().createElement(j.c,te({},e,{cx:e.cx,cy:e.cy,className:"recharts-reference-dot-dot"}))});var tp=r(6967),th=r.n(tp),td=r(97106);function ty(t){return(ty="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function tv(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(tv=function(){return!!t})()}function tm(t){return(tm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function tb(t,e){return(tb=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function tg(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function tx(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?tg(Object(r),!0).forEach(function(e){tO(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tg(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function tO(t,e,r){return(e=tw(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function tw(t){var e=function(t,e){if("object"!=ty(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=ty(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ty(e)?e:e+""}function tj(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function tA(){return(tA=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var tS=function(t,e,r,n,o,i,a,c,u){var l=o.x,s=o.y,f=o.width,p=o.height;if(r){var h=u.y,d=t.y.apply(h,{position:i});if(Z(u,"discard")&&!t.y.isInRange(d))return null;var y=[{x:l+f,y:d},{x:l,y:d}];return"left"===c?y.reverse():y}if(e){var v=u.x,m=t.x.apply(v,{position:i});if(Z(u,"discard")&&!t.x.isInRange(m))return null;var b=[{x:m,y:s+p},{x:m,y:s}];return"top"===a?b.reverse():b}if(n){var g=u.segment.map(function(e){return t.apply(e,{position:i})});return Z(u,"discard")&&th()(g,function(e){return!t.isInRange(e)})?null:g}return null};function tP(t){var e,r,n=t.x,i=t.y,a=t.segment,c=t.xAxisId,l=t.yAxisId,s=t.shape,f=t.className,p=t.alwaysShow,h=(0,td.Yp)(),d=(0,td.AF)(c),y=(0,td.Nk)(l),v=(0,td.sk)();if(!h||!v)return null;(0,tt.R)(void 0===p,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var b=tS((0,Q.P2)({x:d.scale,y:y.scale}),(0,_.vh)(n),(0,_.vh)(i),a&&2===a.length,v,t.position,d.orientation,y.orientation,t);if(!b)return null;var g=function(t){if(Array.isArray(t))return t}(b)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{for(i=(r=r.call(t)).next;!(u=(n=i.call(r)).done)&&(c.push(n.value),2!==c.length);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(b,2)||function(t,e){if(t){if("string"==typeof t)return tj(t,2);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return tj(t,2)}}(b,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),O=g[0],w=O.x,j=O.y,A=g[1],P=A.x,E=A.y,k=tx(tx({clipPath:Z(t,"hidden")?"url(#".concat(h,")"):void 0},(0,S.J9)(t,!0)),{},{x1:w,y1:j,x2:P,y2:E});return o().createElement(x.W,{className:(0,m.A)("recharts-reference-line",f)},(e=s,r=k,o().isValidElement(e)?o().cloneElement(e,r):u()(e)?e(r):o().createElement("line",tA({},r,{className:"recharts-reference-line-line"}))),J.J.renderCallByParent(t,(0,Q.vh)({x1:w,y1:j,x2:P,y2:E})))}var tE=function(t){var e;function r(){var t,e;return function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,r),t=r,e=arguments,t=tm(t),function(t,e){if(e&&("object"===ty(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,tv()?Reflect.construct(t,e||[],tm(this).constructor):t.apply(this,e))}return function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&tb(t,e)}(r,t),e=[{key:"render",value:function(){return o().createElement(tP,this.props)}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,tw(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(o().Component);function tk(){return(tk=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function t_(t){return(t_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function tT(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function tM(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?tT(Object(r),!0).forEach(function(e){tN(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tT(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function tC(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(tC=function(){return!!t})()}function tI(t){return(tI=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function tD(t,e){return(tD=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function tN(t,e,r){return(e=tR(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function tR(t){var e=function(t,e){if("object"!=t_(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=t_(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==t_(e)?e:e+""}tO(tE,"displayName","ReferenceLine"),tO(tE,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"});var tB=function(t,e,r,n,o){var i=o.x1,a=o.x2,c=o.y1,u=o.y2,l=o.xAxis,s=o.yAxis;if(!l||!s)return null;var f=(0,Q.P2)({x:l.scale,y:s.scale}),p={x:t?f.x.apply(i,{position:"start"}):f.x.rangeMin,y:r?f.y.apply(c,{position:"start"}):f.y.rangeMin},h={x:e?f.x.apply(a,{position:"end"}):f.x.rangeMax,y:n?f.y.apply(u,{position:"end"}):f.y.rangeMax};return!Z(o,"discard")||f.isInRange(p)&&f.isInRange(h)?(0,Q.sl)(p,h):null},tL=function(t){var e;function r(){var t,e;return function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,r),t=r,e=arguments,t=tI(t),function(t,e){if(e&&("object"===t_(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,tC()?Reflect.construct(t,e||[],tI(this).constructor):t.apply(this,e))}return function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&tD(t,e)}(r,t),e=[{key:"render",value:function(){var t=this.props,e=t.x1,n=t.x2,i=t.y1,a=t.y2,c=t.className,u=t.alwaysShow,l=t.clipPathId;(0,tt.R)(void 0===u,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var s=(0,_.vh)(e),f=(0,_.vh)(n),p=(0,_.vh)(i),h=(0,_.vh)(a),d=this.props.shape;if(!s&&!f&&!p&&!h&&!d)return null;var y=tB(s,f,p,h,this.props);if(!y&&!d)return null;var v=Z(this.props,"hidden")?"url(#".concat(l,")"):void 0;return o().createElement(x.W,{className:(0,m.A)("recharts-reference-area",c)},r.renderRect(d,tM(tM({clipPath:v},(0,S.J9)(this.props,!0)),y)),J.J.renderCallByParent(this.props,y))}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,tR(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(o().Component);function tU(t){return function(t){if(Array.isArray(t))return tz(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return tz(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return tz(t,void 0)}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function tz(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}tN(tL,"displayName","ReferenceArea"),tN(tL,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1}),tN(tL,"renderRect",function(t,e){return o().isValidElement(t)?o().cloneElement(t,e):u()(t)?t(e):o().createElement(A.M,tk({},e,{className:"recharts-reference-area-rect"}))});var tF=function(t,e,r,n,o){var i=(0,S.aS)(t,tE),a=(0,S.aS)(t,tf),c=[].concat(tU(i),tU(a)),u=(0,S.aS)(t,tL),l="".concat(n,"Id"),s=n[0],f=e;if(c.length&&(f=c.reduce(function(t,e){if(e.props[l]===r&&Z(e.props,"extendDomain")&&(0,_.Et)(e.props[s])){var n=e.props[s];return[Math.min(t[0],n),Math.max(t[1],n)]}return t},f)),u.length){var p="".concat(s,"1"),h="".concat(s,"2");f=u.reduce(function(t,e){if(e.props[l]===r&&Z(e.props,"extendDomain")&&(0,_.Et)(e.props[p])&&(0,_.Et)(e.props[h])){var n=e.props[p],o=e.props[h];return[Math.min(t[0],n,o),Math.max(t[1],n,o)]}return t},f)}return o&&o.length&&(f=o.reduce(function(t,e){return(0,_.Et)(e)?[Math.min(t[0],e),Math.max(t[1],e)]:t},f)),f},t$=r(38475),tW=r(12286),tq=r(48199),tX=new(r.n(tq)()),tH="recharts.syncMouseEvents",tK=r(10637);function tV(t){return(tV="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function tG(t,e,r){return(e=tY(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function tY(t){var e=function(t,e){if("object"!=tV(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=tV(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==tV(e)?e:e+""}var tJ=function(){var t,e;return t=function t(){(function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")})(this,t),tG(this,"activeIndex",0),tG(this,"coordinateList",[]),tG(this,"layout","horizontal")},e=[{key:"setDetails",value:function(t){var e,r=t.coordinateList,n=void 0===r?null:r,o=t.container,i=void 0===o?null:o,a=t.layout,c=void 0===a?null:a,u=t.offset,l=void 0===u?null:u,s=t.mouseHandlerCallback,f=void 0===s?null:s;this.coordinateList=null!==(e=null!=n?n:this.coordinateList)&&void 0!==e?e:[],this.container=null!=i?i:this.container,this.layout=null!=c?c:this.layout,this.offset=null!=l?l:this.offset,this.mouseHandlerCallback=null!=f?f:this.mouseHandlerCallback,this.activeIndex=Math.min(Math.max(this.activeIndex,0),this.coordinateList.length-1)}},{key:"focus",value:function(){this.spoofMouse()}},{key:"keyboardEvent",value:function(t){if(0!==this.coordinateList.length)switch(t.key){case"ArrowRight":if("horizontal"!==this.layout)return;this.activeIndex=Math.min(this.activeIndex+1,this.coordinateList.length-1),this.spoofMouse();break;case"ArrowLeft":if("horizontal"!==this.layout)return;this.activeIndex=Math.max(this.activeIndex-1,0),this.spoofMouse()}}},{key:"setIndex",value:function(t){this.activeIndex=t}},{key:"spoofMouse",value:function(){if("horizontal"===this.layout&&0!==this.coordinateList.length){var t,e,r=this.container.getBoundingClientRect(),n=r.x,o=r.y,i=r.height,a=this.coordinateList[this.activeIndex].coordinate,c=(null===(t=window)||void 0===t?void 0:t.scrollX)||0,u=(null===(e=window)||void 0===e?void 0:e.scrollY)||0,l=o+this.offset.top+i/2+u;this.mouseHandlerCallback({pageX:n+a+c,pageY:l})}}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,tY(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(),tZ=r(24098),tQ=r(19836);function t0(t){return(t0="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var t1=["x","y","top","left","width","height","className"];function t2(){return(t2=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function t3(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}var t5=function(t){var e=t.x,r=void 0===e?0:e,n=t.y,i=void 0===n?0:n,a=t.top,c=void 0===a?0:a,u=t.left,l=void 0===u?0:u,s=t.width,f=void 0===s?0:s,p=t.height,h=void 0===p?0:p,d=t.className,y=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?t3(Object(r),!0).forEach(function(e){var n,o;n=e,o=r[e],(n=function(t){var e=function(t,e){if("object"!=t0(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=t0(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==t0(e)?e:e+""}(n))in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):t3(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}({x:r,y:i,top:c,left:l,width:f,height:h},function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,t1));return(0,_.Et)(r)&&(0,_.Et)(i)&&(0,_.Et)(f)&&(0,_.Et)(h)&&(0,_.Et)(c)&&(0,_.Et)(l)?o().createElement("path",t2({},(0,S.J9)(y,!0),{className:(0,m.A)("recharts-cross",d),d:"M".concat(r,",").concat(c,"v").concat(h,"M").concat(l,",").concat(i,"h").concat(f)})):null};function t8(t){var e=t.cx,r=t.cy,n=t.radius,o=t.startAngle,i=t.endAngle;return{points:[(0,t$.IZ)(e,r,n,o),(0,t$.IZ)(e,r,n,i)],cx:e,cy:r,radius:n,startAngle:o,endAngle:i}}var t6=r(59079);function t7(t){return(t7="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function t9(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function t4(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?t9(Object(r),!0).forEach(function(e){var n,o;n=e,o=r[e],(n=function(t){var e=function(t,e){if("object"!=t7(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=t7(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==t7(e)?e:e+""}(n))in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):t9(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function et(t){var e,r,o,i,a=t.element,c=t.tooltipEventType,u=t.isActive,l=t.activeCoordinate,s=t.activePayload,f=t.offset,p=t.activeTooltipIndex,h=t.tooltipAxisBandSize,d=t.layout,y=t.chartName,v=null!==(r=a.props.cursor)&&void 0!==r?r:null===(o=a.type.defaultProps)||void 0===o?void 0:o.cursor;if(!a||!v||!u||!l||"ScatterChart"!==y&&"axis"!==c)return null;var b=tQ.I;if("ScatterChart"===y)i=l,b=t5;else if("BarChart"===y)e=h/2,i={stroke:"none",fill:"#ccc",x:"horizontal"===d?l.x-e:f.left+.5,y:"horizontal"===d?f.top+.5:l.y-e,width:"horizontal"===d?h:f.width-1,height:"horizontal"===d?f.height-1:h},b=A.M;else if("radial"===d){var g=t8(l),x=g.cx,O=g.cy,w=g.radius;i={cx:x,cy:O,startAngle:g.startAngle,endAngle:g.endAngle,innerRadius:w,outerRadius:w},b=t6.h}else i={points:function(t,e,r){var n,o,i,a;if("horizontal"===t)i=n=e.x,o=r.top,a=r.top+r.height;else if("vertical"===t)a=o=e.y,n=r.left,i=r.left+r.width;else if(null!=e.cx&&null!=e.cy){if("centric"!==t)return t8(e);var c=e.cx,u=e.cy,l=e.innerRadius,s=e.outerRadius,f=e.angle,p=(0,t$.IZ)(c,u,l,f),h=(0,t$.IZ)(c,u,s,f);n=p.x,o=p.y,i=h.x,a=h.y}return[{x:n,y:o},{x:i,y:a}]}(d,l,f)},b=tQ.I;var j=t4(t4(t4(t4({stroke:"#ccc",pointerEvents:"none"},f),i),(0,S.J9)(v,!1)),{},{payload:s,payloadIndex:p,className:(0,m.A)("recharts-tooltip-cursor",v.className)});return(0,n.isValidElement)(v)?(0,n.cloneElement)(v,j):(0,n.createElement)(b,j)}var ee=["item"],er=["children","className","width","height","style","compact","title","desc"];function en(t){return(en="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function eo(){return(eo=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function ei(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||ef(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ea(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function ec(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ec=function(){return!!t})()}function eu(t){return(eu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function el(t,e){return(el=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function es(t){return function(t){if(Array.isArray(t))return ep(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||ef(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ef(t,e){if(t){if("string"==typeof t)return ep(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ep(t,e)}}function ep(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function eh(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function ed(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?eh(Object(r),!0).forEach(function(e){ey(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):eh(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function ey(t,e,r){return(e=ev(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ev(t){var e=function(t,e){if("object"!=en(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=en(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==en(e)?e:e+""}var em={xAxis:["bottom","top"],yAxis:["left","right"]},eb={width:"100%",height:"100%"},eg={x:0,y:0};function ex(t){return t}var eO=function(t,e,r,n){var o=e.find(function(t){return t&&t.index===r});if(o){if("horizontal"===t)return{x:o.coordinate,y:n.y};if("vertical"===t)return{x:n.x,y:o.coordinate};if("centric"===t){var i=o.coordinate,a=n.radius;return ed(ed(ed({},n),(0,t$.IZ)(n.cx,n.cy,a,i)),{},{angle:i,radius:a})}var c=o.coordinate,u=n.angle;return ed(ed(ed({},n),(0,t$.IZ)(n.cx,n.cy,c,u)),{},{angle:u,radius:c})}return eg},ew=function(t,e){var r=e.graphicalItems,n=e.dataStartIndex,o=e.dataEndIndex,i=(null!=r?r:[]).reduce(function(t,e){var r=e.props.data;return r&&r.length?[].concat(es(t),es(r)):t},[]);return i.length>0?i:t&&t.length&&(0,_.Et)(n)&&(0,_.Et)(o)?t.slice(n,o+1):[]};function ej(t){return"number"===t?[0,"auto"]:void 0}var eA=function(t,e,r,n){var o=t.graphicalItems,i=t.tooltipAxis,a=ew(e,t);return r<0||!o||!o.length||r>=a.length?null:o.reduce(function(o,c){var u,l,s=null!==(u=c.props.data)&&void 0!==u?u:e;if(s&&t.dataStartIndex+t.dataEndIndex!==0&&t.dataEndIndex-t.dataStartIndex>=r&&(s=s.slice(t.dataStartIndex,t.dataEndIndex+1)),i.dataKey&&!i.allowDuplicatedCategory){var f=void 0===s?a:s;l=(0,_.eP)(f,i.dataKey,n)}else l=s&&s[r]||a[r];return l?[].concat(es(o),[(0,k.zb)(c,l)]):o},[])},eS=function(t,e,r,n){var o=n||{x:t.chartX,y:t.chartY},i="horizontal"===r?o.x:"vertical"===r?o.y:"centric"===r?o.angle:o.radius,a=t.orderedTooltipTicks,c=t.tooltipAxis,u=t.tooltipTicks,l=(0,k.gH)(i,a,u,c);if(l>=0&&u){var s=u[l]&&u[l].value,f=eA(t,e,l,s),p=eO(r,a,l,o);return{activeTooltipIndex:l,activeLabel:s,activePayload:f,activeCoordinate:p}}return null},eP=function(t,e){var r=e.axes,n=e.graphicalItems,o=e.axisType,i=e.axisIdKey,c=e.stackGroups,u=e.dataStartIndex,l=e.dataEndIndex,f=t.layout,p=t.children,h=t.stackOffset,d=(0,k._L)(f,o);return r.reduce(function(e,r){var y=void 0!==r.type.defaultProps?ed(ed({},r.type.defaultProps),r.props):r.props,v=y.type,m=y.dataKey,b=y.allowDataOverflow,g=y.allowDuplicatedCategory,x=y.scale,O=y.ticks,w=y.includeHidden,j=y[i];if(e[j])return e;var A=ew(t.data,{graphicalItems:n.filter(function(t){var e;return(i in t.props?t.props[i]:null===(e=t.type.defaultProps)||void 0===e?void 0:e[i])===j}),dataStartIndex:u,dataEndIndex:l}),S=A.length;(function(t,e,r){if("number"===r&&!0===e&&Array.isArray(t)){var n=null==t?void 0:t[0],o=null==t?void 0:t[1];if(n&&o&&(0,_.Et)(n)&&(0,_.Et)(o))return!0}return!1})(y.domain,b,v)&&(T=(0,k.AQ)(y.domain,null,b),d&&("number"===v||"auto"!==x)&&(C=(0,k.Ay)(A,m,"category")));var P=ej(v);if(!T||0===T.length){var E,T,M,C,I,D=null!==(I=y.domain)&&void 0!==I?I:P;if(m){if(T=(0,k.Ay)(A,m,v),"category"===v&&d){var N=(0,_.CG)(T);g&&N?(M=T,T=s()(0,S)):g||(T=(0,k.KC)(D,T,r).reduce(function(t,e){return t.indexOf(e)>=0?t:[].concat(es(t),[e])},[]))}else if("category"===v)T=g?T.filter(function(t){return""!==t&&!a()(t)}):(0,k.KC)(D,T,r).reduce(function(t,e){return t.indexOf(e)>=0||""===e||a()(e)?t:[].concat(es(t),[e])},[]);else if("number"===v){var R=(0,k.A1)(A,n.filter(function(t){var e,r,n=i in t.props?t.props[i]:null===(e=t.type.defaultProps)||void 0===e?void 0:e[i],o="hide"in t.props?t.props.hide:null===(r=t.type.defaultProps)||void 0===r?void 0:r.hide;return n===j&&(w||!o)}),m,o,f);R&&(T=R)}d&&("number"===v||"auto"!==x)&&(C=(0,k.Ay)(A,m,"category"))}else T=d?s()(0,S):c&&c[j]&&c[j].hasStack&&"number"===v?"expand"===h?[0,1]:(0,k.Mk)(c[j].stackGroups,u,l):(0,k.vf)(A,n.filter(function(t){var e=i in t.props?t.props[i]:t.type.defaultProps[i],r="hide"in t.props?t.props.hide:t.type.defaultProps.hide;return e===j&&(w||!r)}),v,f,!0);"number"===v?(T=tF(p,T,j,o,O),D&&(T=(0,k.AQ)(D,T,b))):"category"===v&&D&&T.every(function(t){return D.indexOf(t)>=0})&&(T=D)}return ed(ed({},e),{},ey({},j,ed(ed({},y),{},{axisType:o,domain:T,categoricalDomain:C,duplicateDomain:M,originalDomain:null!==(E=y.domain)&&void 0!==E?E:P,isCategorical:d,layout:f})))},{})},eE=function(t,e){var r=e.graphicalItems,n=e.Axis,o=e.axisType,i=e.axisIdKey,a=e.stackGroups,c=e.dataStartIndex,u=e.dataEndIndex,l=t.layout,f=t.children,h=ew(t.data,{graphicalItems:r,dataStartIndex:c,dataEndIndex:u}),d=h.length,y=(0,k._L)(l,o),v=-1;return r.reduce(function(t,e){var m,b=(void 0!==e.type.defaultProps?ed(ed({},e.type.defaultProps),e.props):e.props)[i],g=ej("number");return t[b]?t:(v++,m=y?s()(0,d):a&&a[b]&&a[b].hasStack?tF(f,m=(0,k.Mk)(a[b].stackGroups,c,u),b,o):tF(f,m=(0,k.AQ)(g,(0,k.vf)(h,r.filter(function(t){var e,r,n=i in t.props?t.props[i]:null===(e=t.type.defaultProps)||void 0===e?void 0:e[i],o="hide"in t.props?t.props.hide:null===(r=t.type.defaultProps)||void 0===r?void 0:r.hide;return n===b&&!o}),"number",l),n.defaultProps.allowDataOverflow),b,o),ed(ed({},t),{},ey({},b,ed(ed({axisType:o},n.defaultProps),{},{hide:!0,orientation:p()(em,"".concat(o,".").concat(v%2),null),domain:m,originalDomain:g,isCategorical:y,layout:l}))))},{})},ek=function(t,e){var r=e.axisType,n=void 0===r?"xAxis":r,o=e.AxisComp,i=e.graphicalItems,a=e.stackGroups,c=e.dataStartIndex,u=e.dataEndIndex,l=t.children,s="".concat(n,"Id"),f=(0,S.aS)(l,o),p={};return f&&f.length?p=eP(t,{axes:f,graphicalItems:i,axisType:n,axisIdKey:s,stackGroups:a,dataStartIndex:c,dataEndIndex:u}):i&&i.length&&(p=eE(t,{Axis:o,graphicalItems:i,axisType:n,axisIdKey:s,stackGroups:a,dataStartIndex:c,dataEndIndex:u})),p},e_=function(t){var e=(0,_.lX)(t),r=(0,k.Rh)(e,!1,!0);return{tooltipTicks:r,orderedTooltipTicks:d()(r,function(t){return t.coordinate}),tooltipAxis:e,tooltipAxisBandSize:(0,k.Hj)(e,r)}},eT=function(t){var e=t.children,r=t.defaultShowTooltip,n=(0,S.BU)(e,V),o=0,i=0;return t.data&&0!==t.data.length&&(i=t.data.length-1),n&&n.props&&(n.props.startIndex>=0&&(o=n.props.startIndex),n.props.endIndex>=0&&(i=n.props.endIndex)),{chartX:0,chartY:0,dataStartIndex:o,dataEndIndex:i,activeTooltipIndex:-1,isTooltipActive:!!r}},eM=function(t){return"horizontal"===t?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:"vertical"===t?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:"centric"===t?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},eC=function(t,e){var r=t.props,n=t.graphicalItems,o=t.xAxisMap,i=void 0===o?{}:o,a=t.yAxisMap,c=void 0===a?{}:a,u=r.width,l=r.height,s=r.children,f=r.margin||{},h=(0,S.BU)(s,V),d=(0,S.BU)(s,w.s),y=Object.keys(c).reduce(function(t,e){var r=c[e],n=r.orientation;return r.mirror||r.hide?t:ed(ed({},t),{},ey({},n,t[n]+r.width))},{left:f.left||0,right:f.right||0}),v=Object.keys(i).reduce(function(t,e){var r=i[e],n=r.orientation;return r.mirror||r.hide?t:ed(ed({},t),{},ey({},n,p()(t,"".concat(n))+r.height))},{top:f.top||0,bottom:f.bottom||0}),m=ed(ed({},v),y),b=m.bottom;h&&(m.bottom+=h.props.height||V.defaultProps.height),d&&e&&(m=(0,k.s0)(m,n,r,e));var g=u-m.left-m.right,x=l-m.top-m.bottom;return ed(ed({brushBottom:b},m),{},{width:Math.max(g,0),height:Math.max(x,0)})},eI=function(t){var e=t.chartName,r=t.GraphicalChild,i=t.defaultTooltipEventType,c=void 0===i?"axis":i,l=t.validateTooltipEventTypes,s=void 0===l?["axis"]:l,f=t.axisComponents,h=t.legendContent,d=t.formatAxisMap,y=t.defaultProps,w=function(t,e){var r=e.graphicalItems,n=e.stackGroups,o=e.offset,i=e.updateId,c=e.dataStartIndex,u=e.dataEndIndex,l=t.barSize,s=t.layout,p=t.barGap,h=t.barCategoryGap,d=t.maxBarSize,y=eM(s),v=y.numericAxisName,m=y.cateAxisName,g=!!r&&!!r.length&&r.some(function(t){var e=(0,S.Mn)(t&&t.type);return e&&e.indexOf("Bar")>=0}),x=[];return r.forEach(function(r,y){var O=ew(t.data,{graphicalItems:[r],dataStartIndex:c,dataEndIndex:u}),w=void 0!==r.type.defaultProps?ed(ed({},r.type.defaultProps),r.props):r.props,j=w.dataKey,A=w.maxBarSize,P=w["".concat(v,"Id")],E=w["".concat(m,"Id")],_=f.reduce(function(t,r){var n=e["".concat(r.axisType,"Map")],o=w["".concat(r.axisType,"Id")];n&&n[o]||"zAxis"===r.axisType||(0,b.A)(!1);var i=n[o];return ed(ed({},t),{},ey(ey({},r.axisType,i),"".concat(r.axisType,"Ticks"),(0,k.Rh)(i)))},{}),T=_[m],M=_["".concat(m,"Ticks")],C=n&&n[P]&&n[P].hasStack&&(0,k.kA)(r,n[P].stackGroups),I=(0,S.Mn)(r.type).indexOf("Bar")>=0,D=(0,k.Hj)(T,M),N=[],R=g&&(0,k.tA)({barSize:l,stackGroups:n,totalSize:"xAxis"===m?_[m].width:"yAxis"===m?_[m].height:void 0});if(I){var B,L,U=a()(A)?d:A,z=null!==(B=null!==(L=(0,k.Hj)(T,M,!0))&&void 0!==L?L:U)&&void 0!==B?B:0;N=(0,k.BX)({barGap:p,barCategoryGap:h,bandSize:z!==D?z:D,sizeList:R[E],maxBarSize:U}),z!==D&&(N=N.map(function(t){return ed(ed({},t),{},{position:ed(ed({},t.position),{},{offset:t.position.offset-z/2})})}))}var F=r&&r.type&&r.type.getComposedData;F&&x.push({props:ed(ed({},F(ed(ed({},_),{},{displayedData:O,props:t,dataKey:j,item:r,bandSize:D,barPosition:N,offset:o,stackedData:C,layout:s,dataStartIndex:c,dataEndIndex:u}))),{},ey(ey(ey({key:r.key||"item-".concat(y)},v,_[v]),m,_[m]),"animationId",i)),childIndex:(0,S.AW)(r,t.children),item:r})}),x},P=function(t,n){var o=t.props,i=t.dataStartIndex,a=t.dataEndIndex,c=t.updateId;if(!(0,S.Me)({props:o}))return null;var u=o.children,l=o.layout,s=o.stackOffset,p=o.data,h=o.reverseStackOrder,y=eM(l),v=y.numericAxisName,m=y.cateAxisName,b=(0,S.aS)(u,r),g=(0,k.Mn)(p,b,"".concat(v,"Id"),"".concat(m,"Id"),s,h),x=f.reduce(function(t,e){var r="".concat(e.axisType,"Map");return ed(ed({},t),{},ey({},r,ek(o,ed(ed({},e),{},{graphicalItems:b,stackGroups:e.axisType===v&&g,dataStartIndex:i,dataEndIndex:a}))))},{}),O=eC(ed(ed({},x),{},{props:o,graphicalItems:b}),null==n?void 0:n.legendBBox);Object.keys(x).forEach(function(t){x[t]=d(o,x[t],O,t.replace("Map",""),e)});var j=e_(x["".concat(m,"Map")]),A=w(o,ed(ed({},x),{},{dataStartIndex:i,dataEndIndex:a,updateId:c,graphicalItems:b,stackGroups:g,offset:O}));return ed(ed({formattedGraphicalItems:A,graphicalItems:b,offset:O,stackGroups:g},j),x)},E=function(t){var r;function i(t){var r,c,l,s,f;return function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,i),s=i,f=[t],s=eu(s),ey(l=function(t,e){if(e&&("object"===en(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,ec()?Reflect.construct(s,f||[],eu(this).constructor):s.apply(this,f)),"eventEmitterSymbol",Symbol("rechartsEventEmitter")),ey(l,"accessibilityManager",new tJ),ey(l,"handleLegendBBoxUpdate",function(t){if(t){var e=l.state,r=e.dataStartIndex,n=e.dataEndIndex,o=e.updateId;l.setState(ed({legendBBox:t},P({props:l.props,dataStartIndex:r,dataEndIndex:n,updateId:o},ed(ed({},l.state),{},{legendBBox:t}))))}}),ey(l,"handleReceiveSyncEvent",function(t,e,r){l.props.syncId===t&&(r!==l.eventEmitterSymbol||"function"==typeof l.props.syncMethod)&&l.applySyncEvent(e)}),ey(l,"handleBrushChange",function(t){var e=t.startIndex,r=t.endIndex;if(e!==l.state.dataStartIndex||r!==l.state.dataEndIndex){var n=l.state.updateId;l.setState(function(){return ed({dataStartIndex:e,dataEndIndex:r},P({props:l.props,dataStartIndex:e,dataEndIndex:r,updateId:n},l.state))}),l.triggerSyncEvent({dataStartIndex:e,dataEndIndex:r})}}),ey(l,"handleMouseEnter",function(t){var e=l.getMouseInfo(t);if(e){var r=ed(ed({},e),{},{isTooltipActive:!0});l.setState(r),l.triggerSyncEvent(r);var n=l.props.onMouseEnter;u()(n)&&n(r,t)}}),ey(l,"triggeredAfterMouseMove",function(t){var e=l.getMouseInfo(t),r=e?ed(ed({},e),{},{isTooltipActive:!0}):{isTooltipActive:!1};l.setState(r),l.triggerSyncEvent(r);var n=l.props.onMouseMove;u()(n)&&n(r,t)}),ey(l,"handleItemMouseEnter",function(t){l.setState(function(){return{isTooltipActive:!0,activeItem:t,activePayload:t.tooltipPayload,activeCoordinate:t.tooltipPosition||{x:t.cx,y:t.cy}}})}),ey(l,"handleItemMouseLeave",function(){l.setState(function(){return{isTooltipActive:!1}})}),ey(l,"handleMouseMove",function(t){t.persist(),l.throttleTriggeredAfterMouseMove(t)}),ey(l,"handleMouseLeave",function(t){l.throttleTriggeredAfterMouseMove.cancel();var e={isTooltipActive:!1};l.setState(e),l.triggerSyncEvent(e);var r=l.props.onMouseLeave;u()(r)&&r(e,t)}),ey(l,"handleOuterEvent",function(t){var e,r=(0,S.X_)(t),n=p()(l.props,"".concat(r));r&&u()(n)&&n(null!==(e=/.*touch.*/i.test(r)?l.getMouseInfo(t.changedTouches[0]):l.getMouseInfo(t))&&void 0!==e?e:{},t)}),ey(l,"handleClick",function(t){var e=l.getMouseInfo(t);if(e){var r=ed(ed({},e),{},{isTooltipActive:!0});l.setState(r),l.triggerSyncEvent(r);var n=l.props.onClick;u()(n)&&n(r,t)}}),ey(l,"handleMouseDown",function(t){var e=l.props.onMouseDown;u()(e)&&e(l.getMouseInfo(t),t)}),ey(l,"handleMouseUp",function(t){var e=l.props.onMouseUp;u()(e)&&e(l.getMouseInfo(t),t)}),ey(l,"handleTouchMove",function(t){null!=t.changedTouches&&t.changedTouches.length>0&&l.throttleTriggeredAfterMouseMove(t.changedTouches[0])}),ey(l,"handleTouchStart",function(t){null!=t.changedTouches&&t.changedTouches.length>0&&l.handleMouseDown(t.changedTouches[0])}),ey(l,"handleTouchEnd",function(t){null!=t.changedTouches&&t.changedTouches.length>0&&l.handleMouseUp(t.changedTouches[0])}),ey(l,"handleDoubleClick",function(t){var e=l.props.onDoubleClick;u()(e)&&e(l.getMouseInfo(t),t)}),ey(l,"handleContextMenu",function(t){var e=l.props.onContextMenu;u()(e)&&e(l.getMouseInfo(t),t)}),ey(l,"triggerSyncEvent",function(t){void 0!==l.props.syncId&&tX.emit(tH,l.props.syncId,t,l.eventEmitterSymbol)}),ey(l,"applySyncEvent",function(t){var e=l.props,r=e.layout,n=e.syncMethod,o=l.state.updateId,i=t.dataStartIndex,a=t.dataEndIndex;if(void 0!==t.dataStartIndex||void 0!==t.dataEndIndex)l.setState(ed({dataStartIndex:i,dataEndIndex:a},P({props:l.props,dataStartIndex:i,dataEndIndex:a,updateId:o},l.state)));else if(void 0!==t.activeTooltipIndex){var c=t.chartX,u=t.chartY,s=t.activeTooltipIndex,f=l.state,p=f.offset,h=f.tooltipTicks;if(!p)return;if("function"==typeof n)s=n(h,t);else if("value"===n){s=-1;for(var d=0;d<h.length;d++)if(h[d].value===t.activeLabel){s=d;break}}var y=ed(ed({},p),{},{x:p.left,y:p.top}),v=Math.min(c,y.x+y.width),m=Math.min(u,y.y+y.height),b=h[s]&&h[s].value,g=eA(l.state,l.props.data,s),x=h[s]?{x:"horizontal"===r?h[s].coordinate:v,y:"horizontal"===r?m:h[s].coordinate}:eg;l.setState(ed(ed({},t),{},{activeLabel:b,activeCoordinate:x,activePayload:g,activeTooltipIndex:s}))}else l.setState(t)}),ey(l,"renderCursor",function(t){var r,n=l.state,i=n.isTooltipActive,a=n.activeCoordinate,c=n.activePayload,u=n.offset,s=n.activeTooltipIndex,f=n.tooltipAxisBandSize,p=l.getTooltipEventType(),h=null!==(r=t.props.active)&&void 0!==r?r:i,d=l.props.layout,y=t.key||"_recharts-cursor";return o().createElement(et,{key:y,activeCoordinate:a,activePayload:c,activeTooltipIndex:s,chartName:e,element:t,isActive:h,layout:d,offset:u,tooltipAxisBandSize:f,tooltipEventType:p})}),ey(l,"renderPolarAxis",function(t,e,r){var o=p()(t,"type.axisType"),i=p()(l.state,"".concat(o,"Map")),a=t.type.defaultProps,c=void 0!==a?ed(ed({},a),t.props):t.props,u=i&&i[c["".concat(o,"Id")]];return(0,n.cloneElement)(t,ed(ed({},u),{},{className:(0,m.A)(o,u.className),key:t.key||"".concat(e,"-").concat(r),ticks:(0,k.Rh)(u,!0)}))}),ey(l,"renderPolarGrid",function(t){var e=t.props,r=e.radialLines,o=e.polarAngles,i=e.polarRadius,a=l.state,c=a.radiusAxisMap,u=a.angleAxisMap,s=(0,_.lX)(c),f=(0,_.lX)(u),p=f.cx,h=f.cy,d=f.innerRadius,y=f.outerRadius;return(0,n.cloneElement)(t,{polarAngles:Array.isArray(o)?o:(0,k.Rh)(f,!0).map(function(t){return t.coordinate}),polarRadius:Array.isArray(i)?i:(0,k.Rh)(s,!0).map(function(t){return t.coordinate}),cx:p,cy:h,innerRadius:d,outerRadius:y,key:t.key||"polar-grid",radialLines:r})}),ey(l,"renderLegend",function(){var t=l.state.formattedGraphicalItems,e=l.props,r=e.children,o=e.width,i=e.height,a=l.props.margin||{},c=o-(a.left||0)-(a.right||0),u=(0,Y.g)({children:r,formattedGraphicalItems:t,legendWidth:c,legendContent:h});if(!u)return null;var s=u.item,f=ea(u,ee);return(0,n.cloneElement)(s,ed(ed({},f),{},{chartWidth:o,chartHeight:i,margin:a,onBBoxUpdate:l.handleLegendBBoxUpdate}))}),ey(l,"renderTooltip",function(){var t,e=l.props,r=e.children,o=e.accessibilityLayer,i=(0,S.BU)(r,O.m);if(!i)return null;var a=l.state,c=a.isTooltipActive,u=a.activeCoordinate,s=a.activePayload,f=a.activeLabel,p=a.offset,h=null!==(t=i.props.active)&&void 0!==t?t:c;return(0,n.cloneElement)(i,{viewBox:ed(ed({},p),{},{x:p.left,y:p.top}),active:h,label:f,payload:h?s:[],coordinate:u,accessibilityLayer:o})}),ey(l,"renderBrush",function(t){var e=l.props,r=e.margin,o=e.data,i=l.state,a=i.offset,c=i.dataStartIndex,u=i.dataEndIndex,s=i.updateId;return(0,n.cloneElement)(t,{key:t.key||"_recharts-brush",onChange:(0,k.HQ)(l.handleBrushChange,t.props.onChange),data:o,x:(0,_.Et)(t.props.x)?t.props.x:a.left,y:(0,_.Et)(t.props.y)?t.props.y:a.top+a.height+a.brushBottom-(r.bottom||0),width:(0,_.Et)(t.props.width)?t.props.width:a.width,startIndex:c,endIndex:u,updateId:"brush-".concat(s)})}),ey(l,"renderReferenceElement",function(t,e,r){if(!t)return null;var o=l.clipPathId,i=l.state,a=i.xAxisMap,c=i.yAxisMap,u=i.offset,s=t.type.defaultProps||{},f=t.props,p=f.xAxisId,h=void 0===p?s.xAxisId:p,d=f.yAxisId,y=void 0===d?s.yAxisId:d;return(0,n.cloneElement)(t,{key:t.key||"".concat(e,"-").concat(r),xAxis:a[h],yAxis:c[y],viewBox:{x:u.left,y:u.top,width:u.width,height:u.height},clipPathId:o})}),ey(l,"renderActivePoints",function(t){var e=t.item,r=t.activePoint,n=t.basePoint,o=t.childIndex,a=t.isRange,c=[],u=e.props.key,l=void 0!==e.item.type.defaultProps?ed(ed({},e.item.type.defaultProps),e.item.props):e.item.props,s=l.activeDot,f=ed(ed({index:o,dataKey:l.dataKey,cx:r.x,cy:r.y,r:4,fill:(0,k.Ps)(e.item),strokeWidth:2,stroke:"#fff",payload:r.payload,value:r.value},(0,S.J9)(s,!1)),(0,tK._U)(s));return c.push(i.renderActiveDot(s,f,"".concat(u,"-activePoint-").concat(o))),n?c.push(i.renderActiveDot(s,ed(ed({},f),{},{cx:n.x,cy:n.y}),"".concat(u,"-basePoint-").concat(o))):a&&c.push(null),c}),ey(l,"renderGraphicChild",function(t,e,r){var o=l.filterFormatItem(t,e,r);if(!o)return null;var i=l.getTooltipEventType(),c=l.state,u=c.isTooltipActive,s=c.tooltipAxis,f=c.activeTooltipIndex,p=c.activeLabel,h=l.props.children,d=(0,S.BU)(h,O.m),y=o.props,v=y.points,m=y.isRange,b=y.baseLine,g=void 0!==o.item.type.defaultProps?ed(ed({},o.item.type.defaultProps),o.item.props):o.item.props,x=g.activeDot,w=g.hide,j=g.activeBar,A=g.activeShape,P=!!(!w&&u&&d&&(x||j||A)),E={};"axis"!==i&&d&&"click"===d.props.trigger?E={onClick:(0,k.HQ)(l.handleItemMouseEnter,t.props.onClick)}:"axis"!==i&&(E={onMouseLeave:(0,k.HQ)(l.handleItemMouseLeave,t.props.onMouseLeave),onMouseEnter:(0,k.HQ)(l.handleItemMouseEnter,t.props.onMouseEnter)});var T=(0,n.cloneElement)(t,ed(ed({},o.props),E));if(P){if(f>=0){if(s.dataKey&&!s.allowDuplicatedCategory){var M="function"==typeof s.dataKey?function(t){return"function"==typeof s.dataKey?s.dataKey(t.payload):null}:"payload.".concat(s.dataKey.toString());I=(0,_.eP)(v,M,p),D=m&&b&&(0,_.eP)(b,M,p)}else I=null==v?void 0:v[f],D=m&&b&&b[f];if(A||j){var C=void 0!==t.props.activeIndex?t.props.activeIndex:f;return[(0,n.cloneElement)(t,ed(ed(ed({},o.props),E),{},{activeIndex:C})),null,null]}if(!a()(I))return[T].concat(es(l.renderActivePoints({item:o,activePoint:I,basePoint:D,childIndex:f,isRange:m})))}else{var I,D,N,R=(null!==(N=l.getItemByXY(l.state.activeCoordinate))&&void 0!==N?N:{graphicalItem:T}).graphicalItem,B=R.item,L=void 0===B?t:B,U=R.childIndex,z=ed(ed(ed({},o.props),E),{},{activeIndex:U});return[(0,n.cloneElement)(L,z),null,null]}}return m?[T,null,null]:[T,null]}),ey(l,"renderCustomized",function(t,e,r){return(0,n.cloneElement)(t,ed(ed({key:"recharts-customized-".concat(r)},l.props),l.state))}),ey(l,"renderMap",{CartesianGrid:{handler:ex,once:!0},ReferenceArea:{handler:l.renderReferenceElement},ReferenceLine:{handler:ex},ReferenceDot:{handler:l.renderReferenceElement},XAxis:{handler:ex},YAxis:{handler:ex},Brush:{handler:l.renderBrush,once:!0},Bar:{handler:l.renderGraphicChild},Line:{handler:l.renderGraphicChild},Area:{handler:l.renderGraphicChild},Radar:{handler:l.renderGraphicChild},RadialBar:{handler:l.renderGraphicChild},Scatter:{handler:l.renderGraphicChild},Pie:{handler:l.renderGraphicChild},Funnel:{handler:l.renderGraphicChild},Tooltip:{handler:l.renderCursor,once:!0},PolarGrid:{handler:l.renderPolarGrid,once:!0},PolarAngleAxis:{handler:l.renderPolarAxis},PolarRadiusAxis:{handler:l.renderPolarAxis},Customized:{handler:l.renderCustomized}}),l.clipPathId="".concat(null!==(r=t.id)&&void 0!==r?r:(0,_.NF)("recharts"),"-clip"),l.throttleTriggeredAfterMouseMove=v()(l.triggeredAfterMouseMove,null!==(c=t.throttleDelay)&&void 0!==c?c:1e3/60),l.state={},l}return function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&el(t,e)}(i,t),r=[{key:"componentDidMount",value:function(){var t,e;this.addListener(),this.accessibilityManager.setDetails({container:this.container,offset:{left:null!==(t=this.props.margin.left)&&void 0!==t?t:0,top:null!==(e=this.props.margin.top)&&void 0!==e?e:0},coordinateList:this.state.tooltipTicks,mouseHandlerCallback:this.triggeredAfterMouseMove,layout:this.props.layout}),this.displayDefaultTooltip()}},{key:"displayDefaultTooltip",value:function(){var t=this.props,e=t.children,r=t.data,n=t.height,o=t.layout,i=(0,S.BU)(e,O.m);if(i){var a=i.props.defaultIndex;if("number"==typeof a&&!(a<0)&&!(a>this.state.tooltipTicks.length-1)){var c=this.state.tooltipTicks[a]&&this.state.tooltipTicks[a].value,u=eA(this.state,r,a,c),l=this.state.tooltipTicks[a].coordinate,s=(this.state.offset.top+n)/2,f="horizontal"===o?{x:l,y:s}:{y:l,x:s},p=this.state.formattedGraphicalItems.find(function(t){return"Scatter"===t.item.type.name});p&&(f=ed(ed({},f),p.props.points[a].tooltipPosition),u=p.props.points[a].tooltipPayload);var h={activeTooltipIndex:a,isTooltipActive:!0,activeLabel:c,activePayload:u,activeCoordinate:f};this.setState(h),this.renderCursor(i),this.accessibilityManager.setIndex(a)}}}},{key:"getSnapshotBeforeUpdate",value:function(t,e){if(!this.props.accessibilityLayer)return null;if(this.state.tooltipTicks!==e.tooltipTicks&&this.accessibilityManager.setDetails({coordinateList:this.state.tooltipTicks}),this.props.layout!==t.layout&&this.accessibilityManager.setDetails({layout:this.props.layout}),this.props.margin!==t.margin){var r,n;this.accessibilityManager.setDetails({offset:{left:null!==(r=this.props.margin.left)&&void 0!==r?r:0,top:null!==(n=this.props.margin.top)&&void 0!==n?n:0}})}return null}},{key:"componentDidUpdate",value:function(t){(0,S.OV)([(0,S.BU)(t.children,O.m)],[(0,S.BU)(this.props.children,O.m)])||this.displayDefaultTooltip()}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var t=(0,S.BU)(this.props.children,O.m);if(t&&"boolean"==typeof t.props.shared){var e=t.props.shared?"axis":"item";return s.indexOf(e)>=0?e:c}return c}},{key:"getMouseInfo",value:function(t){if(!this.container)return null;var e=this.container,r=e.getBoundingClientRect(),n=(0,G.A3)(r),o={chartX:Math.round(t.pageX-n.left),chartY:Math.round(t.pageY-n.top)},i=r.width/e.offsetWidth||1,a=this.inRange(o.chartX,o.chartY,i);if(!a)return null;var c=this.state,u=c.xAxisMap,l=c.yAxisMap;if("axis"!==this.getTooltipEventType()&&u&&l){var s=(0,_.lX)(u).scale,f=(0,_.lX)(l).scale,p=s&&s.invert?s.invert(o.chartX):null,h=f&&f.invert?f.invert(o.chartY):null;return ed(ed({},o),{},{xValue:p,yValue:h})}var d=eS(this.state,this.props.data,this.props.layout,a);return d?ed(ed({},o),d):null}},{key:"inRange",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=this.props.layout,o=t/r,i=e/r;if("horizontal"===n||"vertical"===n){var a=this.state.offset;return o>=a.left&&o<=a.left+a.width&&i>=a.top&&i<=a.top+a.height?{x:o,y:i}:null}var c=this.state,u=c.angleAxisMap,l=c.radiusAxisMap;if(u&&l){var s=(0,_.lX)(u);return(0,t$.yy)({x:o,y:i},s)}return null}},{key:"parseEventsOfWrapper",value:function(){var t=this.props.children,e=this.getTooltipEventType(),r=(0,S.BU)(t,O.m),n={};return r&&"axis"===e&&(n="click"===r.props.trigger?{onClick:this.handleClick}:{onMouseEnter:this.handleMouseEnter,onDoubleClick:this.handleDoubleClick,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd,onContextMenu:this.handleContextMenu}),ed(ed({},(0,tK._U)(this.props,this.handleOuterEvent)),n)}},{key:"addListener",value:function(){tX.on(tH,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){tX.removeListener(tH,this.handleReceiveSyncEvent)}},{key:"filterFormatItem",value:function(t,e,r){for(var n=this.state.formattedGraphicalItems,o=0,i=n.length;o<i;o++){var a=n[o];if(a.item===t||a.props.key===t.key||e===(0,S.Mn)(a.item.type)&&r===a.childIndex)return a}return null}},{key:"renderClipPath",value:function(){var t=this.clipPathId,e=this.state.offset,r=e.left,n=e.top,i=e.height,a=e.width;return o().createElement("defs",null,o().createElement("clipPath",{id:t},o().createElement("rect",{x:r,y:n,height:i,width:a})))}},{key:"getXScales",value:function(){var t=this.state.xAxisMap;return t?Object.entries(t).reduce(function(t,e){var r=ei(e,2),n=r[0],o=r[1];return ed(ed({},t),{},ey({},n,o.scale))},{}):null}},{key:"getYScales",value:function(){var t=this.state.yAxisMap;return t?Object.entries(t).reduce(function(t,e){var r=ei(e,2),n=r[0],o=r[1];return ed(ed({},t),{},ey({},n,o.scale))},{}):null}},{key:"getXScaleByAxisId",value:function(t){var e;return null===(e=this.state.xAxisMap)||void 0===e||null===(e=e[t])||void 0===e?void 0:e.scale}},{key:"getYScaleByAxisId",value:function(t){var e;return null===(e=this.state.yAxisMap)||void 0===e||null===(e=e[t])||void 0===e?void 0:e.scale}},{key:"getItemByXY",value:function(t){var e=this.state,r=e.formattedGraphicalItems,n=e.activeItem;if(r&&r.length)for(var o=0,i=r.length;o<i;o++){var a=r[o],c=a.props,u=a.item,l=void 0!==u.type.defaultProps?ed(ed({},u.type.defaultProps),u.props):u.props,s=(0,S.Mn)(u.type);if("Bar"===s){var f=(c.data||[]).find(function(e){return(0,A.J)(t,e)});if(f)return{graphicalItem:a,payload:f}}else if("RadialBar"===s){var p=(c.data||[]).find(function(e){return(0,t$.yy)(t,e)});if(p)return{graphicalItem:a,payload:p}}else if((0,tZ.NE)(a,n)||(0,tZ.nZ)(a,n)||(0,tZ.xQ)(a,n)){var h=(0,tZ.GG)({graphicalItem:a,activeTooltipItem:n,itemData:l.data}),d=void 0===l.activeIndex?h:l.activeIndex;return{graphicalItem:ed(ed({},a),{},{childIndex:d}),payload:(0,tZ.xQ)(a,n)?l.data[h]:a.props.data[h]}}}return null}},{key:"render",value:function(){var t,e,r=this;if(!(0,S.Me)(this))return null;var n=this.props,i=n.children,a=n.className,c=n.width,u=n.height,l=n.style,s=n.compact,f=n.title,p=n.desc,h=ea(n,er),d=(0,S.J9)(h,!1);if(s)return o().createElement(td.DR,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},o().createElement(g.u,eo({},d,{width:c,height:u,title:f,desc:p}),this.renderClipPath(),(0,S.ee)(i,this.renderMap)));this.props.accessibilityLayer&&(d.tabIndex=null!==(t=this.props.tabIndex)&&void 0!==t?t:0,d.role=null!==(e=this.props.role)&&void 0!==e?e:"application",d.onKeyDown=function(t){r.accessibilityManager.keyboardEvent(t)},d.onFocus=function(){r.accessibilityManager.focus()});var y=this.parseEventsOfWrapper();return o().createElement(td.DR,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},o().createElement("div",eo({className:(0,m.A)("recharts-wrapper",a),style:ed({position:"relative",cursor:"default",width:c,height:u},l)},y,{ref:function(t){r.container=t}}),o().createElement(g.u,eo({},d,{width:c,height:u,title:f,desc:p,style:eb}),this.renderClipPath(),(0,S.ee)(i,this.renderMap)),this.renderLegend(),this.renderTooltip()))}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,ev(n.key),n)}}(i.prototype,r),Object.defineProperty(i,"prototype",{writable:!1}),i}(n.Component);ey(E,"displayName",e),ey(E,"defaultProps",ed({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},y)),ey(E,"getDerivedStateFromProps",function(t,e){var r=t.dataKey,n=t.data,o=t.children,i=t.width,c=t.height,u=t.layout,l=t.stackOffset,s=t.margin,f=e.dataStartIndex,p=e.dataEndIndex;if(void 0===e.updateId){var h=eT(t);return ed(ed(ed({},h),{},{updateId:0},P(ed(ed({props:t},h),{},{updateId:0}),e)),{},{prevDataKey:r,prevData:n,prevWidth:i,prevHeight:c,prevLayout:u,prevStackOffset:l,prevMargin:s,prevChildren:o})}if(r!==e.prevDataKey||n!==e.prevData||i!==e.prevWidth||c!==e.prevHeight||u!==e.prevLayout||l!==e.prevStackOffset||!(0,tW.b)(s,e.prevMargin)){var d=eT(t),y={chartX:e.chartX,chartY:e.chartY,isTooltipActive:e.isTooltipActive},v=ed(ed({},eS(e,n,u)),{},{updateId:e.updateId+1}),m=ed(ed(ed({},d),y),v);return ed(ed(ed({},m),P(ed({props:t},m),e)),{},{prevDataKey:r,prevData:n,prevWidth:i,prevHeight:c,prevLayout:u,prevStackOffset:l,prevMargin:s,prevChildren:o})}if(!(0,S.OV)(o,e.prevChildren)){var b,g,x,O,w=(0,S.BU)(o,V),j=w&&null!==(b=null===(g=w.props)||void 0===g?void 0:g.startIndex)&&void 0!==b?b:f,A=w&&null!==(x=null===(O=w.props)||void 0===O?void 0:O.endIndex)&&void 0!==x?x:p,E=a()(n)||j!==f||A!==p?e.updateId+1:e.updateId;return ed(ed({updateId:E},P(ed(ed({props:t},e),{},{updateId:E,dataStartIndex:j,dataEndIndex:A}),e)),{},{prevChildren:o,dataStartIndex:j,dataEndIndex:A})}return null}),ey(E,"renderActiveDot",function(t,e,r){var i;return i=(0,n.isValidElement)(t)?(0,n.cloneElement)(t,e):u()(t)?t(e):o().createElement(j.c,e),o().createElement(x.W,{className:"recharts-active-dot",key:r},i)});var T=(0,n.forwardRef)(function(t,e){return o().createElement(E,eo({},t,{ref:e}))});return T.displayName=E.displayName,T}},53435:(t,e,r)=>{"use strict";r.d(e,{f:()=>n});var n=function(t){return null};n.displayName="Cell"},47205:(t,e,r)=>{"use strict";r.d(e,{J:()=>P});var n=r(73706),o=r.n(n),i=r(76256),a=r.n(i),c=r(38207),u=r.n(c),l=r(50136),s=r.n(l),f=r(59802),p=r(90508),h=r(83742),d=r(8217),y=r(38475);function v(t){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var m=["offset"];function b(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function g(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function x(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?g(Object(r),!0).forEach(function(e){var n,o;n=e,o=r[e],(n=function(t){var e=function(t,e){if("object"!=v(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=v(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==v(e)?e:e+""}(n))in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function O(){return(O=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var w=function(t){var e=t.value,r=t.formatter,n=a()(t.children)?e:t.children;return u()(r)?r(n):n},j=function(t,e,r){var n,i,c=t.position,u=t.viewBox,l=t.offset,s=t.className,p=u.cx,h=u.cy,v=u.innerRadius,m=u.outerRadius,b=u.startAngle,g=u.endAngle,x=u.clockWise,w=(v+m)/2,j=(0,d.sA)(g-b)*Math.min(Math.abs(g-b),360),A=j>=0?1:-1;"insideStart"===c?(n=b+A*l,i=x):"insideEnd"===c?(n=g-A*l,i=!x):"end"===c&&(n=g+A*l,i=x),i=j<=0?i:!i;var S=(0,y.IZ)(p,h,w,n),P=(0,y.IZ)(p,h,w,n+(i?1:-1)*359),E="M".concat(S.x,",").concat(S.y,"\n A").concat(w,",").concat(w,",0,1,").concat(i?0:1,",\n ").concat(P.x,",").concat(P.y),k=a()(t.id)?(0,d.NF)("recharts-radial-line-"):t.id;return o().createElement("text",O({},r,{dominantBaseline:"central",className:(0,f.A)("recharts-radial-bar-label",s)}),o().createElement("defs",null,o().createElement("path",{id:k,d:E})),o().createElement("textPath",{xlinkHref:"#".concat(k)},e))},A=function(t){var e=t.viewBox,r=t.offset,n=t.position,o=e.cx,i=e.cy,a=e.innerRadius,c=e.outerRadius,u=(e.startAngle+e.endAngle)/2;if("outside"===n){var l=(0,y.IZ)(o,i,c+r,u),s=l.x;return{x:s,y:l.y,textAnchor:s>=o?"start":"end",verticalAnchor:"middle"}}if("center"===n)return{x:o,y:i,textAnchor:"middle",verticalAnchor:"middle"};if("centerTop"===n)return{x:o,y:i,textAnchor:"middle",verticalAnchor:"start"};if("centerBottom"===n)return{x:o,y:i,textAnchor:"middle",verticalAnchor:"end"};var f=(0,y.IZ)(o,i,(a+c)/2,u);return{x:f.x,y:f.y,textAnchor:"middle",verticalAnchor:"middle"}},S=function(t){var e=t.viewBox,r=t.parentViewBox,n=t.offset,o=t.position,i=e.x,a=e.y,c=e.width,u=e.height,l=u>=0?1:-1,f=l*n,p=l>0?"end":"start",h=l>0?"start":"end",y=c>=0?1:-1,v=y*n,m=y>0?"end":"start",b=y>0?"start":"end";if("top"===o)return x(x({},{x:i+c/2,y:a-l*n,textAnchor:"middle",verticalAnchor:p}),r?{height:Math.max(a-r.y,0),width:c}:{});if("bottom"===o)return x(x({},{x:i+c/2,y:a+u+f,textAnchor:"middle",verticalAnchor:h}),r?{height:Math.max(r.y+r.height-(a+u),0),width:c}:{});if("left"===o){var g={x:i-v,y:a+u/2,textAnchor:m,verticalAnchor:"middle"};return x(x({},g),r?{width:Math.max(g.x-r.x,0),height:u}:{})}if("right"===o){var O={x:i+c+v,y:a+u/2,textAnchor:b,verticalAnchor:"middle"};return x(x({},O),r?{width:Math.max(r.x+r.width-O.x,0),height:u}:{})}var w=r?{width:c,height:u}:{};return"insideLeft"===o?x({x:i+v,y:a+u/2,textAnchor:b,verticalAnchor:"middle"},w):"insideRight"===o?x({x:i+c-v,y:a+u/2,textAnchor:m,verticalAnchor:"middle"},w):"insideTop"===o?x({x:i+c/2,y:a+f,textAnchor:"middle",verticalAnchor:h},w):"insideBottom"===o?x({x:i+c/2,y:a+u-f,textAnchor:"middle",verticalAnchor:p},w):"insideTopLeft"===o?x({x:i+v,y:a+f,textAnchor:b,verticalAnchor:h},w):"insideTopRight"===o?x({x:i+c-v,y:a+f,textAnchor:m,verticalAnchor:h},w):"insideBottomLeft"===o?x({x:i+v,y:a+u-f,textAnchor:b,verticalAnchor:p},w):"insideBottomRight"===o?x({x:i+c-v,y:a+u-f,textAnchor:m,verticalAnchor:p},w):s()(o)&&((0,d.Et)(o.x)||(0,d._3)(o.x))&&((0,d.Et)(o.y)||(0,d._3)(o.y))?x({x:i+(0,d.F4)(o.x,c),y:a+(0,d.F4)(o.y,u),textAnchor:"end",verticalAnchor:"end"},w):x({x:i+c/2,y:a+u/2,textAnchor:"middle",verticalAnchor:"middle"},w)};function P(t){var e,r=t.offset,i=x({offset:void 0===r?5:r},function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,m)),c=i.viewBox,l=i.position,s=i.value,y=i.children,v=i.content,b=i.className,g=i.textBreakAll;if(!c||a()(s)&&a()(y)&&!(0,n.isValidElement)(v)&&!u()(v))return null;if((0,n.isValidElement)(v))return(0,n.cloneElement)(v,i);if(u()(v)){if(e=(0,n.createElement)(v,i),(0,n.isValidElement)(e))return e}else e=w(i);var P="cx"in c&&(0,d.Et)(c.cx),E=(0,h.J9)(i,!0);if(P&&("insideStart"===l||"insideEnd"===l||"end"===l))return j(i,e,E);var k=P?A(i):S(i);return o().createElement(p.E,O({className:(0,f.A)("recharts-label",void 0===b?"":b)},E,k,{breakAll:g}),e)}P.displayName="Label";var E=function(t){var e=t.cx,r=t.cy,n=t.angle,o=t.startAngle,i=t.endAngle,a=t.r,c=t.radius,u=t.innerRadius,l=t.outerRadius,s=t.x,f=t.y,p=t.top,h=t.left,y=t.width,v=t.height,m=t.clockWise,b=t.labelViewBox;if(b)return b;if((0,d.Et)(y)&&(0,d.Et)(v)){if((0,d.Et)(s)&&(0,d.Et)(f))return{x:s,y:f,width:y,height:v};if((0,d.Et)(p)&&(0,d.Et)(h))return{x:p,y:h,width:y,height:v}}return(0,d.Et)(s)&&(0,d.Et)(f)?{x:s,y:f,width:0,height:0}:(0,d.Et)(e)&&(0,d.Et)(r)?{cx:e,cy:r,startAngle:o||n||0,endAngle:i||n||0,innerRadius:u||0,outerRadius:l||c||a||0,clockWise:m}:t.viewBox?t.viewBox:{}};P.parseViewBox=E,P.renderCallByParent=function(t,e){var r,i,a=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(!t||!t.children&&a&&!t.label)return null;var c=t.children,l=E(t),f=(0,h.aS)(c,P).map(function(t,r){return(0,n.cloneElement)(t,{viewBox:e||l,key:"label-".concat(r)})});return a?[(r=t.label,i=e||l,r?!0===r?o().createElement(P,{key:"label-implicit",viewBox:i}):(0,d.vh)(r)?o().createElement(P,{key:"label-implicit",viewBox:i,value:r}):(0,n.isValidElement)(r)?r.type===P?(0,n.cloneElement)(r,{key:"label-implicit",viewBox:i}):o().createElement(P,{key:"label-implicit",content:r,viewBox:i}):u()(r)?o().createElement(P,{key:"label-implicit",content:r,viewBox:i}):s()(r)?o().createElement(P,O({viewBox:i},r,{key:"label-implicit"})):null:null)].concat(function(t){if(Array.isArray(t))return b(t)}(f)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(f)||function(t,e){if(t){if("string"==typeof t)return b(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return b(t,void 0)}}(f)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()):f}},84481:(t,e,r)=>{"use strict";r.d(e,{Z:()=>P});var n=r(73706),o=r.n(n),i=r(76256),a=r.n(i),c=r(50136),u=r.n(c),l=r(38207),s=r.n(l),f=r(14815),p=r.n(f),h=r(47205),d=r(75670),y=r(83742),v=r(76876);function m(t){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var b=["valueAccessor"],g=["data","dataKey","clockWise","id","textBreakAll"];function x(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function O(){return(O=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function w(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function j(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?w(Object(r),!0).forEach(function(e){var n,o;n=e,o=r[e],(n=function(t){var e=function(t,e){if("object"!=m(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=m(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==m(e)?e:e+""}(n))in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):w(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function A(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}var S=function(t){return Array.isArray(t.value)?p()(t.value):t.value};function P(t){var e=t.valueAccessor,r=void 0===e?S:e,n=A(t,b),i=n.data,c=n.dataKey,u=n.clockWise,l=n.id,s=n.textBreakAll,f=A(n,g);return i&&i.length?o().createElement(d.W,{className:"recharts-label-list"},i.map(function(t,e){var n=a()(c)?r(t,e):(0,v.kr)(t&&t.payload,c),i=a()(l)?{}:{id:"".concat(l,"-").concat(e)};return o().createElement(h.J,O({},(0,y.J9)(t,!0),f,i,{parentViewBox:t.parentViewBox,value:n,textBreakAll:s,viewBox:h.J.parseViewBox(a()(u)?t:j(j({},t),{},{clockWise:u})),key:"label-".concat(e),index:e}))})):null}P.displayName="LabelList",P.renderCallByParent=function(t,e){var r,i=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(!t||!t.children&&i&&!t.label)return null;var a=t.children,c=(0,y.aS)(a,P).map(function(t,r){return(0,n.cloneElement)(t,{data:e,key:"labelList-".concat(r)})});return i?[(r=t.label)?!0===r?o().createElement(P,{key:"labelList-implicit",data:e}):o().isValidElement(r)||s()(r)?o().createElement(P,{key:"labelList-implicit",data:e,content:r}):u()(r)?o().createElement(P,O({data:e},r,{key:"labelList-implicit"})):null:null].concat(function(t){if(Array.isArray(t))return x(t)}(c)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(c)||function(t,e){if(t){if("string"==typeof t)return x(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return x(t,void 0)}}(c)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()):c}},53898:(t,e,r)=>{"use strict";r.d(e,{s:()=>D});var n=r(73706),o=r.n(n),i=r(38207),a=r.n(i),c=r(59802),u=r(9957),l=r(13884),s=r(27752),f=r(10637);function p(t){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(){return(h=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function d(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function y(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(y=function(){return!!t})()}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function m(t,e){return(m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function b(t,e,r){return(e=g(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function g(t){var e=function(t,e){if("object"!=p(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=p(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==p(e)?e:e+""}var x=function(t){var e;function r(){var t,e;return function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,r),t=r,e=arguments,t=v(t),function(t,e){if(e&&("object"===p(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,y()?Reflect.construct(t,e||[],v(this).constructor):t.apply(this,e))}return function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&m(t,e)}(r,t),e=[{key:"renderIcon",value:function(t){var e=this.props.inactiveColor,r=32/6,n=32/3,i=t.inactive?e:t.color;if("plainline"===t.type)return o().createElement("line",{strokeWidth:4,fill:"none",stroke:i,strokeDasharray:t.payload.strokeDasharray,x1:0,y1:16,x2:32,y2:16,className:"recharts-legend-icon"});if("line"===t.type)return o().createElement("path",{strokeWidth:4,fill:"none",stroke:i,d:"M0,".concat(16,"h").concat(n,"\n A").concat(r,",").concat(r,",0,1,1,").concat(2*n,",").concat(16,"\n H").concat(32,"M").concat(2*n,",").concat(16,"\n A").concat(r,",").concat(r,",0,1,1,").concat(n,",").concat(16),className:"recharts-legend-icon"});if("rect"===t.type)return o().createElement("path",{stroke:"none",fill:i,d:"M0,".concat(4,"h").concat(32,"v").concat(24,"h").concat(-32,"z"),className:"recharts-legend-icon"});if(o().isValidElement(t.legendIcon)){var a=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?d(Object(r),!0).forEach(function(e){b(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}({},t);return delete a.legendIcon,o().cloneElement(t.legendIcon,a)}return o().createElement(s.i,{fill:i,cx:16,cy:16,size:32,sizeType:"diameter",type:t.type})}},{key:"renderItems",value:function(){var t=this,e=this.props,r=e.payload,n=e.iconSize,i=e.layout,s=e.formatter,p=e.inactiveColor,d={x:0,y:0,width:32,height:32},y={display:"horizontal"===i?"inline-block":"block",marginRight:10},v={display:"inline-block",verticalAlign:"middle",marginRight:4};return r.map(function(e,r){var i=e.formatter||s,m=(0,c.A)(b(b({"recharts-legend-item":!0},"legend-item-".concat(r),!0),"inactive",e.inactive));if("none"===e.type)return null;var g=a()(e.value)?null:e.value;(0,u.R)(!a()(e.value),'The name property is also required when using a function for the dataKey of a chart\'s cartesian components. Ex: <Bar name="Name of my Data"/>');var x=e.inactive?p:e.color;return o().createElement("li",h({className:m,style:y,key:"legend-item-".concat(r)},(0,f.XC)(t.props,e,r)),o().createElement(l.u,{width:n,height:n,viewBox:d,style:v},t.renderIcon(e)),o().createElement("span",{className:"recharts-legend-item-text",style:{color:x}},i?i(g,e,r):g))})}},{key:"render",value:function(){var t=this.props,e=t.payload,r=t.layout,n=t.align;return e&&e.length?o().createElement("ul",{className:"recharts-default-legend",style:{padding:0,margin:0,textAlign:"horizontal"===r?n:"left"}},this.renderItems()):null}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,g(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(n.PureComponent);b(x,"displayName","Legend"),b(x,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var O=r(8217),w=r(68896);function j(t){return(j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var A=["ref"];function S(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function P(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?S(Object(r),!0).forEach(function(e){M(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):S(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function E(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,C(n.key),n)}}function k(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(k=function(){return!!t})()}function _(t){return(_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function T(t,e){return(T=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function M(t,e,r){return(e=C(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function C(t){var e=function(t,e){if("object"!=j(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=j(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==j(e)?e:e+""}function I(t){return t.value}var D=function(t){var e,r;function n(){!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,n);for(var t,e,r,o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return e=n,r=[].concat(i),e=_(e),M(t=function(t,e){if(e&&("object"===j(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,k()?Reflect.construct(e,r||[],_(this).constructor):e.apply(this,r)),"lastBoundingBox",{width:-1,height:-1}),t}return function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&T(t,e)}(n,t),e=[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"getBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var t=this.wrapperNode.getBoundingClientRect();return t.height=this.wrapperNode.offsetHeight,t.width=this.wrapperNode.offsetWidth,t}return null}},{key:"updateBBox",value:function(){var t=this.props.onBBoxUpdate,e=this.getBBox();e?(Math.abs(e.width-this.lastBoundingBox.width)>1||Math.abs(e.height-this.lastBoundingBox.height)>1)&&(this.lastBoundingBox.width=e.width,this.lastBoundingBox.height=e.height,t&&t(e)):(-1!==this.lastBoundingBox.width||-1!==this.lastBoundingBox.height)&&(this.lastBoundingBox.width=-1,this.lastBoundingBox.height=-1,t&&t(null))}},{key:"getBBoxSnapshot",value:function(){return this.lastBoundingBox.width>=0&&this.lastBoundingBox.height>=0?P({},this.lastBoundingBox):{width:0,height:0}}},{key:"getDefaultPosition",value:function(t){var e,r,n=this.props,o=n.layout,i=n.align,a=n.verticalAlign,c=n.margin,u=n.chartWidth,l=n.chartHeight;return t&&(void 0!==t.left&&null!==t.left||void 0!==t.right&&null!==t.right)||(e="center"===i&&"vertical"===o?{left:((u||0)-this.getBBoxSnapshot().width)/2}:"right"===i?{right:c&&c.right||0}:{left:c&&c.left||0}),t&&(void 0!==t.top&&null!==t.top||void 0!==t.bottom&&null!==t.bottom)||(r="middle"===a?{top:((l||0)-this.getBBoxSnapshot().height)/2}:"bottom"===a?{bottom:c&&c.bottom||0}:{top:c&&c.top||0}),P(P({},e),r)}},{key:"render",value:function(){var t=this,e=this.props,r=e.content,n=e.width,i=e.height,a=e.wrapperStyle,c=e.payloadUniqBy,u=e.payload,l=P(P({position:"absolute",width:n||"auto",height:i||"auto"},this.getDefaultPosition(a)),a);return o().createElement("div",{className:"recharts-legend-wrapper",style:l,ref:function(e){t.wrapperNode=e}},function(t,e){if(o().isValidElement(t))return o().cloneElement(t,e);if("function"==typeof t)return o().createElement(t,e);e.ref;var r=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(e,A);return o().createElement(x,r)}(r,P(P({},this.props),{},{payload:(0,w.s)(u,c,I)})))}}],r=[{key:"getWithHeight",value:function(t,e){var r=P(P({},this.defaultProps),t.props).layout;return"vertical"===r&&(0,O.Et)(t.props.height)?{height:t.props.height}:"horizontal"===r?{width:t.props.width||e}:null}}],e&&E(n.prototype,e),r&&E(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(n.PureComponent);M(D,"displayName","Legend"),M(D,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"})},36958:(t,e,r)=>{"use strict";r.d(e,{u:()=>y});var n=r(59802),o=r(73706),i=r.n(o),a=r(34867),c=r.n(a),u=r(8217),l=r(9957),s=r(83742);function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function p(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function h(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?p(Object(r),!0).forEach(function(e){var n,o;n=e,o=r[e],(n=function(t){var e=function(t,e){if("object"!=f(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=f(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==f(e)?e:e+""}(n))in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function d(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var y=(0,o.forwardRef)(function(t,e){var r,a=t.aspect,f=t.initialDimension,p=void 0===f?{width:-1,height:-1}:f,y=t.width,v=void 0===y?"100%":y,m=t.height,b=void 0===m?"100%":m,g=t.minWidth,x=void 0===g?0:g,O=t.minHeight,w=t.maxHeight,j=t.children,A=t.debounce,S=void 0===A?0:A,P=t.id,E=t.className,k=t.onResize,_=t.style,T=(0,o.useRef)(null),M=(0,o.useRef)();M.current=k,(0,o.useImperativeHandle)(e,function(){return Object.defineProperty(T.current,"current",{get:function(){return console.warn("The usage of ref.current.current is deprecated and will no longer be supported."),T.current},configurable:!0})});var C=function(t){if(Array.isArray(t))return t}(r=(0,o.useState)({containerWidth:p.width,containerHeight:p.height}))||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{for(i=(r=r.call(t)).next;!(u=(n=i.call(r)).done)&&(c.push(n.value),2!==c.length);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(r,2)||function(t,e){if(t){if("string"==typeof t)return d(t,2);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return d(t,2)}}(r,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),I=C[0],D=C[1],N=(0,o.useCallback)(function(t,e){D(function(r){var n=Math.round(t),o=Math.round(e);return r.containerWidth===n&&r.containerHeight===o?r:{containerWidth:n,containerHeight:o}})},[]);(0,o.useEffect)(function(){var t=function(t){var e,r=t[0].contentRect,n=r.width,o=r.height;N(n,o),null===(e=M.current)||void 0===e||e.call(M,n,o)};S>0&&(t=c()(t,S,{trailing:!0,leading:!1}));var e=new ResizeObserver(t),r=T.current.getBoundingClientRect();return N(r.width,r.height),e.observe(T.current),function(){e.disconnect()}},[N,S]);var R=(0,o.useMemo)(function(){var t=I.containerWidth,e=I.containerHeight;if(t<0||e<0)return null;(0,l.R)((0,u._3)(v)||(0,u._3)(b),"The width(%s) and height(%s) are both fixed numbers,\n maybe you don't need to use a ResponsiveContainer.",v,b),(0,l.R)(!a||a>0,"The aspect(%s) must be greater than zero.",a);var r=(0,u._3)(v)?t:v,n=(0,u._3)(b)?e:b;a&&a>0&&(r?n=r/a:n&&(r=n*a),w&&n>w&&(n=w)),(0,l.R)(r>0||n>0,"The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.",r,n,v,b,x,O,a);var c=!Array.isArray(j)&&(0,s.Mn)(j.type).endsWith("Chart");return i().Children.map(j,function(t){return i().isValidElement(t)?(0,o.cloneElement)(t,h({width:r,height:n},c?{style:h({height:"100%",width:"100%",maxHeight:n,maxWidth:r},t.props.style)}:{})):t})},[a,j,b,w,O,x,I,v]);return i().createElement("div",{id:P?"".concat(P):void 0,className:(0,n.A)("recharts-responsive-container",E),style:h(h({},void 0===_?{}:_),{},{width:v,height:b,minWidth:x,minHeight:O,maxHeight:w}),ref:T},R)})},90508:(t,e,r)=>{"use strict";r.d(e,{E:()=>L});var n=r(73706),o=r.n(n),i=r(76256),a=r.n(i),c=r(59802),u=r(8217),l=r(42505),s=r(83742),f=r(69703);function p(t){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return d(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return d(t,e)}}(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function y(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,function(t){var e=function(t,e){if("object"!=p(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=p(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==p(e)?e:e+""}(n.key),n)}}var v=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,m=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,b=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,g=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,x={cm:96/2.54,mm:96/25.4,pt:96/72,pc:16,in:96,Q:96/101.6,px:1},O=Object.keys(x),w=function(){var t,e;function r(t,e){(function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")})(this,r),this.num=t,this.unit=e,this.num=t,this.unit=e,Number.isNaN(t)&&(this.unit=""),""===e||b.test(e)||(this.num=NaN,this.unit=""),O.includes(e)&&(this.num=t*x[e],this.unit="px")}return t=[{key:"add",value:function(t){return this.unit!==t.unit?new r(NaN,""):new r(this.num+t.num,this.unit)}},{key:"subtract",value:function(t){return this.unit!==t.unit?new r(NaN,""):new r(this.num-t.num,this.unit)}},{key:"multiply",value:function(t){return""!==this.unit&&""!==t.unit&&this.unit!==t.unit?new r(NaN,""):new r(this.num*t.num,this.unit||t.unit)}},{key:"divide",value:function(t){return""!==this.unit&&""!==t.unit&&this.unit!==t.unit?new r(NaN,""):new r(this.num/t.num,this.unit||t.unit)}},{key:"toString",value:function(){return"".concat(this.num).concat(this.unit)}},{key:"isNaN",value:function(){return Number.isNaN(this.num)}}],e=[{key:"parse",value:function(t){var e,n=h(null!==(e=g.exec(t))&&void 0!==e?e:[],3),o=n[1],i=n[2];return new r(parseFloat(o),null!=i?i:"")}}],t&&y(r.prototype,t),e&&y(r,e),Object.defineProperty(r,"prototype",{writable:!1}),r}();function j(t){if(t.includes("NaN"))return"NaN";for(var e=t;e.includes("*")||e.includes("/");){var r,n=h(null!==(r=v.exec(e))&&void 0!==r?r:[],4),o=n[1],i=n[2],a=n[3],c=w.parse(null!=o?o:""),u=w.parse(null!=a?a:""),l="*"===i?c.multiply(u):c.divide(u);if(l.isNaN())return"NaN";e=e.replace(v,l.toString())}for(;e.includes("+")||/.-\d+(?:\.\d+)?/.test(e);){var s,f=h(null!==(s=m.exec(e))&&void 0!==s?s:[],4),p=f[1],d=f[2],y=f[3],b=w.parse(null!=p?p:""),g=w.parse(null!=y?y:""),x="+"===d?b.add(g):b.subtract(g);if(x.isNaN())return"NaN";e=e.replace(m,x.toString())}return e}var A=/\(([^()]*)\)/;function S(t){var e=function(t){try{var e;return e=t.replace(/\s+/g,""),e=function(t){for(var e=t;e.includes("(");){var r=h(A.exec(e),2)[1];e=e.replace(A,j(r))}return e}(e),e=j(e)}catch(t){return"NaN"}}(t.slice(5,-1));return"NaN"===e?"":e}var P=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],E=["dx","dy","angle","className","breakAll"];function k(){return(k=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function _(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function T(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return M(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return M(t,e)}}(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function M(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var C=/[ \f\n\r\t\v\u2028\u2029]+/,I=function(t){var e=t.children,r=t.breakAll,n=t.style;try{var o=[];a()(e)||(o=r?e.toString().split(""):e.toString().split(C));var i=o.map(function(t){return{word:t,width:(0,f.Pu)(t,n).width}}),c=r?0:(0,f.Pu)("\xa0",n).width;return{wordsWithComputedWidth:i,spaceWidth:c}}catch(t){return null}},D=function(t,e,r,n,o){var i,a=t.maxLines,c=t.children,l=t.style,s=t.breakAll,f=(0,u.Et)(a),p=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.reduce(function(t,e){var i=e.word,a=e.width,c=t[t.length-1];return c&&(null==n||o||c.width+a+r<Number(n))?(c.words.push(i),c.width+=a+r):t.push({words:[i],width:a}),t},[])},h=p(e);if(!f)return h;for(var d=function(t){var e=p(I({breakAll:s,style:l,children:c.slice(0,t)+"…"}).wordsWithComputedWidth);return[e.length>a||e.reduce(function(t,e){return t.width>e.width?t:e}).width>Number(n),e]},y=0,v=c.length-1,m=0;y<=v&&m<=c.length-1;){var b=Math.floor((y+v)/2),g=T(d(b-1),2),x=g[0],O=g[1],w=T(d(b),1)[0];if(x||w||(y=b+1),x&&w&&(v=b-1),!x&&w){i=O;break}m++}return i||h},N=function(t){return[{words:a()(t)?[]:t.toString().split(C)}]},R=function(t){var e=t.width,r=t.scaleToFit,n=t.children,o=t.style,i=t.breakAll,a=t.maxLines;if((e||r)&&!l.m.isSsr){var c=I({breakAll:i,children:n,style:o});return c?D({breakAll:i,children:n,maxLines:a,style:o},c.wordsWithComputedWidth,c.spaceWidth,e,r):N(n)}return N(n)},B="#808080",L=function(t){var e,r=t.x,i=void 0===r?0:r,a=t.y,l=void 0===a?0:a,f=t.lineHeight,p=void 0===f?"1em":f,h=t.capHeight,d=void 0===h?"0.71em":h,y=t.scaleToFit,v=void 0!==y&&y,m=t.textAnchor,b=t.verticalAnchor,g=t.fill,x=void 0===g?B:g,O=_(t,P),w=(0,n.useMemo)(function(){return R({breakAll:O.breakAll,children:O.children,maxLines:O.maxLines,scaleToFit:v,style:O.style,width:O.width})},[O.breakAll,O.children,O.maxLines,v,O.style,O.width]),j=O.dx,A=O.dy,T=O.angle,M=O.className,C=O.breakAll,I=_(O,E);if(!(0,u.vh)(i)||!(0,u.vh)(l))return null;var D=i+((0,u.Et)(j)?j:0),N=l+((0,u.Et)(A)?A:0);switch(void 0===b?"end":b){case"start":e=S("calc(".concat(d,")"));break;case"middle":e=S("calc(".concat((w.length-1)/2," * -").concat(p," + (").concat(d," / 2))"));break;default:e=S("calc(".concat(w.length-1," * -").concat(p,")"))}var L=[];if(v){var U=w[0].width,z=O.width;L.push("scale(".concat(((0,u.Et)(z)?z/U:1)/U,")"))}return T&&L.push("rotate(".concat(T,", ").concat(D,", ").concat(N,")")),L.length&&(I.transform=L.join(" ")),o().createElement("text",k({},(0,s.J9)(I,!0),{x:D,y:N,className:(0,c.A)("recharts-text",M),textAnchor:void 0===m?"start":m,fill:x.includes("url")?B:x}),w.map(function(t,r){var n=t.words.join(C?"":" ");return o().createElement("tspan",{x:D,dy:0===r?e:p,key:"".concat(n,"-").concat(r)},n)}))}},38025:(t,e,r)=>{"use strict";r.d(e,{m:()=>W});var n=r(73706),o=r.n(n),i=r(89922),a=r.n(i),c=r(76256),u=r.n(c),l=r(59802),s=r(8217);function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function p(){return(p=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function h(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function d(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function y(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?d(Object(r),!0).forEach(function(e){var n,o;n=e,o=r[e],(n=function(t){var e=function(t,e){if("object"!=f(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=f(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==f(e)?e:e+""}(n))in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function v(t){return Array.isArray(t)&&(0,s.vh)(t[0])&&(0,s.vh)(t[1])?t.join(" ~ "):t}var m=function(t){var e=t.separator,r=void 0===e?" : ":e,n=t.contentStyle,i=t.itemStyle,c=void 0===i?{}:i,f=t.labelStyle,d=t.payload,m=t.formatter,b=t.itemSorter,g=t.wrapperClassName,x=t.labelClassName,O=t.label,w=t.labelFormatter,j=t.accessibilityLayer,A=y({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},void 0===n?{}:n),S=y({margin:0},void 0===f?{}:f),P=!u()(O),E=P?O:"",k=(0,l.A)("recharts-default-tooltip",g),_=(0,l.A)("recharts-tooltip-label",x);return P&&w&&null!=d&&(E=w(O,d)),o().createElement("div",p({className:k,style:A},void 0!==j&&j?{role:"status","aria-live":"assertive"}:{}),o().createElement("p",{className:_,style:S},o().isValidElement(E)?E:"".concat(E)),function(){if(d&&d.length){var t=(b?a()(d,b):d).map(function(t,e){if("none"===t.type)return null;var n=y({display:"block",paddingTop:4,paddingBottom:4,color:t.color||"#000"},c),i=t.formatter||m||v,a=t.value,u=t.name,l=a,f=u;if(i&&null!=l&&null!=f){var p=i(a,u,t,e,d);if(Array.isArray(p)){var b=function(t){if(Array.isArray(t))return t}(p)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{for(i=(r=r.call(t)).next;!(u=(n=i.call(r)).done)&&(c.push(n.value),2!==c.length);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(p,2)||function(t,e){if(t){if("string"==typeof t)return h(t,2);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return h(t,2)}}(p,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();l=b[0],f=b[1]}else l=p}return o().createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(e),style:n},(0,s.vh)(f)?o().createElement("span",{className:"recharts-tooltip-item-name"},f):null,(0,s.vh)(f)?o().createElement("span",{className:"recharts-tooltip-item-separator"},r):null,o().createElement("span",{className:"recharts-tooltip-item-value"},l),o().createElement("span",{className:"recharts-tooltip-item-unit"},t.unit||""))});return o().createElement("ul",{className:"recharts-tooltip-item-list",style:{padding:0,margin:0}},t)}return null}())};function b(t){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function g(t,e,r){var n;return(n=function(t,e){if("object"!=b(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=b(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==b(n)?n:n+"")in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var x="recharts-tooltip-wrapper",O={visibility:"hidden"};function w(t){var e=t.allowEscapeViewBox,r=t.coordinate,n=t.key,o=t.offsetTopLeft,i=t.position,a=t.reverseDirection,c=t.tooltipDimension,u=t.viewBox,l=t.viewBoxDimension;if(i&&(0,s.Et)(i[n]))return i[n];var f=r[n]-c-o,p=r[n]+o;return e[n]?a[n]?f:p:a[n]?f<u[n]?Math.max(p,u[n]):Math.max(f,u[n]):p+c>u[n]+l?Math.max(f,u[n]):Math.max(p,u[n])}function j(t){return(j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function A(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function S(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?A(Object(r),!0).forEach(function(e){_(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):A(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function P(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(P=function(){return!!t})()}function E(t){return(E=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function k(t,e){return(k=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function _(t,e,r){return(e=T(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function T(t){var e=function(t,e){if("object"!=j(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=j(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==j(e)?e:e+""}var M=function(t){var e;function r(){!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,r);for(var t,e,n,o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return e=r,n=[].concat(i),e=E(e),_(t=function(t,e){if(e&&("object"===j(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,P()?Reflect.construct(e,n||[],E(this).constructor):e.apply(this,n)),"state",{dismissed:!1,dismissedAtCoordinate:{x:0,y:0},lastBoundingBox:{width:-1,height:-1}}),_(t,"handleKeyDown",function(e){if("Escape"===e.key){var r,n,o,i;t.setState({dismissed:!0,dismissedAtCoordinate:{x:null!==(r=null===(n=t.props.coordinate)||void 0===n?void 0:n.x)&&void 0!==r?r:0,y:null!==(o=null===(i=t.props.coordinate)||void 0===i?void 0:i.y)&&void 0!==o?o:0}})}}),t}return function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&k(t,e)}(r,t),e=[{key:"updateBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var t=this.wrapperNode.getBoundingClientRect();(Math.abs(t.width-this.state.lastBoundingBox.width)>1||Math.abs(t.height-this.state.lastBoundingBox.height)>1)&&this.setState({lastBoundingBox:{width:t.width,height:t.height}})}else(-1!==this.state.lastBoundingBox.width||-1!==this.state.lastBoundingBox.height)&&this.setState({lastBoundingBox:{width:-1,height:-1}})}},{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.handleKeyDown),this.updateBBox()}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleKeyDown)}},{key:"componentDidUpdate",value:function(){var t,e;this.props.active&&this.updateBBox(),this.state.dismissed&&((null===(t=this.props.coordinate)||void 0===t?void 0:t.x)!==this.state.dismissedAtCoordinate.x||(null===(e=this.props.coordinate)||void 0===e?void 0:e.y)!==this.state.dismissedAtCoordinate.y)&&(this.state.dismissed=!1)}},{key:"render",value:function(){var t,e,r,n,i,a,c,u,f,p,h,d,y,v,m,b,j,A,P,E=this,k=this.props,_=k.active,T=k.allowEscapeViewBox,M=k.animationDuration,C=k.animationEasing,I=k.children,D=k.coordinate,N=k.hasPayload,R=k.isAnimationActive,B=k.offset,L=k.position,U=k.reverseDirection,z=k.useTranslate3d,F=k.viewBox,$=k.wrapperStyle,W=(d=(t={allowEscapeViewBox:T,coordinate:D,offsetTopLeft:B,position:L,reverseDirection:U,tooltipBox:this.state.lastBoundingBox,useTranslate3d:z,viewBox:F}).allowEscapeViewBox,y=t.coordinate,v=t.offsetTopLeft,m=t.position,b=t.reverseDirection,j=t.tooltipBox,A=t.useTranslate3d,P=t.viewBox,j.height>0&&j.width>0&&y?(r=(e={translateX:p=w({allowEscapeViewBox:d,coordinate:y,key:"x",offsetTopLeft:v,position:m,reverseDirection:b,tooltipDimension:j.width,viewBox:P,viewBoxDimension:P.width}),translateY:h=w({allowEscapeViewBox:d,coordinate:y,key:"y",offsetTopLeft:v,position:m,reverseDirection:b,tooltipDimension:j.height,viewBox:P,viewBoxDimension:P.height}),useTranslate3d:A}).translateX,n=e.translateY,f={transform:e.useTranslate3d?"translate3d(".concat(r,"px, ").concat(n,"px, 0)"):"translate(".concat(r,"px, ").concat(n,"px)")}):f=O,{cssProperties:f,cssClasses:(a=(i={translateX:p,translateY:h,coordinate:y}).coordinate,c=i.translateX,u=i.translateY,(0,l.A)(x,g(g(g(g({},"".concat(x,"-right"),(0,s.Et)(c)&&a&&(0,s.Et)(a.x)&&c>=a.x),"".concat(x,"-left"),(0,s.Et)(c)&&a&&(0,s.Et)(a.x)&&c<a.x),"".concat(x,"-bottom"),(0,s.Et)(u)&&a&&(0,s.Et)(a.y)&&u>=a.y),"".concat(x,"-top"),(0,s.Et)(u)&&a&&(0,s.Et)(a.y)&&u<a.y)))}),q=W.cssClasses,X=W.cssProperties,H=S(S({transition:R&&_?"transform ".concat(M,"ms ").concat(C):void 0},X),{},{pointerEvents:"none",visibility:!this.state.dismissed&&_&&N?"visible":"hidden",position:"absolute",top:0,left:0},$);return o().createElement("div",{tabIndex:-1,className:q,style:H,ref:function(t){E.wrapperNode=t}},I)}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,T(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(n.PureComponent),C=r(42505),I=r(68896);function D(t){return(D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function N(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function R(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?N(Object(r),!0).forEach(function(e){z(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):N(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function B(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(B=function(){return!!t})()}function L(t){return(L=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function U(t,e){return(U=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function z(t,e,r){return(e=F(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function F(t){var e=function(t,e){if("object"!=D(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=D(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==D(e)?e:e+""}function $(t){return t.dataKey}var W=function(t){var e;function r(){var t,e;return function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,r),t=r,e=arguments,t=L(t),function(t,e){if(e&&("object"===D(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,B()?Reflect.construct(t,e||[],L(this).constructor):t.apply(this,e))}return function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&U(t,e)}(r,t),e=[{key:"render",value:function(){var t,e=this,r=this.props,n=r.active,i=r.allowEscapeViewBox,a=r.animationDuration,c=r.animationEasing,u=r.content,l=r.coordinate,s=r.filterNull,f=r.isAnimationActive,p=r.offset,h=r.payload,d=r.payloadUniqBy,y=r.position,v=r.reverseDirection,b=r.useTranslate3d,g=r.viewBox,x=r.wrapperStyle,O=null!=h?h:[];s&&O.length&&(O=(0,I.s)(h.filter(function(t){return null!=t.value&&(!0!==t.hide||e.props.includeHidden)}),d,$));var w=O.length>0;return o().createElement(M,{allowEscapeViewBox:i,animationDuration:a,animationEasing:c,isAnimationActive:f,active:n,coordinate:l,hasPayload:w,offset:p,position:y,reverseDirection:v,useTranslate3d:b,viewBox:g,wrapperStyle:x},(t=R(R({},this.props),{},{payload:O}),o().isValidElement(u)?o().cloneElement(u,t):"function"==typeof u?o().createElement(u,t):o().createElement(m,t)))}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,F(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(n.PureComponent);z(W,"displayName","Tooltip"),z(W,"defaultProps",{accessibilityLayer:!1,allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",contentStyle:{},coordinate:{x:0,y:0},cursor:!0,cursorStyle:{},filterNull:!0,isAnimationActive:!C.m.isSsr,itemStyle:{},labelStyle:{},offset:10,reverseDirection:{x:!1,y:!1},separator:" : ",trigger:"hover",useTranslate3d:!1,viewBox:{x:0,y:0,height:0,width:0},wrapperStyle:{}})},75670:(t,e,r)=>{"use strict";r.d(e,{W:()=>l});var n=r(73706),o=r.n(n),i=r(59802),a=r(83742),c=["children","className"];function u(){return(u=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var l=o().forwardRef(function(t,e){var r=t.children,n=t.className,l=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,c),s=(0,i.A)("recharts-layer",n);return o().createElement("g",u({className:s},(0,a.J9)(l,!0),{ref:e}),r)})},13884:(t,e,r)=>{"use strict";r.d(e,{u:()=>l});var n=r(73706),o=r.n(n),i=r(59802),a=r(83742),c=["children","width","height","viewBox","className","style","title","desc"];function u(){return(u=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function l(t){var e=t.children,r=t.width,n=t.height,l=t.viewBox,s=t.className,f=t.style,p=t.title,h=t.desc,d=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,c),y=l||{width:r,height:n,x:0,y:0},v=(0,i.A)("recharts-surface",s);return o().createElement("svg",u({},(0,a.J9)(d,!0,"svg"),{className:v,width:r,height:n,style:f,viewBox:"".concat(y.x," ").concat(y.y," ").concat(y.width," ").concat(y.height)}),o().createElement("title",null,p),o().createElement("desc",null,h),e)}},97106:(t,e,r)=>{"use strict";r.d(e,{DR:()=>x,pj:()=>j,rY:()=>_,yi:()=>k,Yp:()=>O,hj:()=>E,sk:()=>P,AF:()=>w,Nk:()=>S,$G:()=>A});var n=r(73706),o=r.n(n),i=r(15217),a=r(15300),c=r.n(a),u=r(60028),l=r.n(u),s=r(79011),f=r.n(s)()(function(t){return{x:t.left,y:t.top,width:t.width,height:t.height}},function(t){return["l",t.left,"t",t.top,"w",t.width,"h",t.height].join("")}),p=r(8217),h=(0,n.createContext)(void 0),d=(0,n.createContext)(void 0),y=(0,n.createContext)(void 0),v=(0,n.createContext)({}),m=(0,n.createContext)(void 0),b=(0,n.createContext)(0),g=(0,n.createContext)(0),x=function(t){var e=t.state,r=e.xAxisMap,n=e.yAxisMap,i=e.offset,a=t.clipPathId,c=t.children,u=t.width,l=t.height,s=f(i);return o().createElement(h.Provider,{value:r},o().createElement(d.Provider,{value:n},o().createElement(v.Provider,{value:i},o().createElement(y.Provider,{value:s},o().createElement(m.Provider,{value:a},o().createElement(b.Provider,{value:l},o().createElement(g.Provider,{value:u},c)))))))},O=function(){return(0,n.useContext)(m)},w=function(t){var e=(0,n.useContext)(h);null!=e||(0,i.A)(!1);var r=e[t];return null!=r||(0,i.A)(!1),r},j=function(){var t=(0,n.useContext)(h);return(0,p.lX)(t)},A=function(){var t=(0,n.useContext)(d);return c()(t,function(t){return l()(t.domain,Number.isFinite)})||(0,p.lX)(t)},S=function(t){var e=(0,n.useContext)(d);null!=e||(0,i.A)(!1);var r=e[t];return null!=r||(0,i.A)(!1),r},P=function(){return(0,n.useContext)(y)},E=function(){return(0,n.useContext)(v)},k=function(){return(0,n.useContext)(g)},_=function(){return(0,n.useContext)(b)}},84850:(t,e,r)=>{"use strict";r.d(e,{F:()=>U});var n=r(73706),o=r.n(n),i=r(77065),a=r(90171),c=r.n(a),u=r(75759),l=r.n(u),s=r(76256),f=r.n(s),p=r(38207),h=r.n(p),d=r(59802),y=r(75670),v=r(19836),m=r(90508),b=r(47205),g=r(84481),x=r(53435),O=r(83742),w=r(42505),j=r(38475),A=r(8217),S=r(76876),P=r(9957),E=r(10637),k=r(24098);function _(t){return(_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function T(){return(T=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function M(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function C(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?M(Object(r),!0).forEach(function(e){B(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):M(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function I(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,L(n.key),n)}}function D(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(D=function(){return!!t})()}function N(t){return(N=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function R(t,e){return(R=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function B(t,e,r){return(e=L(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function L(t){var e=function(t,e){if("object"!=_(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=_(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==_(e)?e:e+""}var U=function(t){var e,r;function n(t){var e,r,o;return function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,n),r=n,o=[t],r=N(r),B(e=function(t,e){if(e&&("object"===_(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,D()?Reflect.construct(r,o||[],N(this).constructor):r.apply(this,o)),"pieRef",null),B(e,"sectorRefs",[]),B(e,"id",(0,A.NF)("recharts-pie-")),B(e,"handleAnimationEnd",function(){var t=e.props.onAnimationEnd;e.setState({isAnimationFinished:!0}),h()(t)&&t()}),B(e,"handleAnimationStart",function(){var t=e.props.onAnimationStart;e.setState({isAnimationFinished:!1}),h()(t)&&t()}),e.state={isAnimationFinished:!t.isAnimationActive,prevIsAnimationActive:t.isAnimationActive,prevAnimationId:t.animationId,sectorToFocus:0},e}return function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&R(t,e)}(n,t),e=[{key:"isActiveIndex",value:function(t){var e=this.props.activeIndex;return Array.isArray(e)?-1!==e.indexOf(t):t===e}},{key:"hasActiveIndex",value:function(){var t=this.props.activeIndex;return Array.isArray(t)?0!==t.length:t||0===t}},{key:"renderLabels",value:function(t){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var e=this.props,r=e.label,i=e.labelLine,a=e.dataKey,c=e.valueKey,u=(0,O.J9)(this.props,!1),l=(0,O.J9)(r,!1),s=(0,O.J9)(i,!1),p=r&&r.offsetRadius||20,h=t.map(function(t,e){var h=(t.startAngle+t.endAngle)/2,d=(0,j.IZ)(t.cx,t.cy,t.outerRadius+p,h),v=C(C(C(C({},u),t),{},{stroke:"none"},l),{},{index:e,textAnchor:n.getTextAnchor(d.x,t.cx)},d),m=C(C(C(C({},u),t),{},{fill:"none",stroke:t.fill},s),{},{index:e,points:[(0,j.IZ)(t.cx,t.cy,t.outerRadius,h),d]}),b=a;return f()(a)&&f()(c)?b="value":f()(a)&&(b=c),o().createElement(y.W,{key:"label-".concat(t.startAngle,"-").concat(t.endAngle,"-").concat(t.midAngle,"-").concat(e)},i&&n.renderLabelLineItem(i,m,"line"),n.renderLabelItem(r,v,(0,S.kr)(t,b)))});return o().createElement(y.W,{className:"recharts-pie-labels"},h)}},{key:"renderSectorsStatically",value:function(t){var e=this,r=this.props,n=r.activeShape,i=r.blendStroke,a=r.inactiveShape;return t.map(function(r,c){if((null==r?void 0:r.startAngle)===0&&(null==r?void 0:r.endAngle)===0&&1!==t.length)return null;var u=e.isActiveIndex(c),l=a&&e.hasActiveIndex()?a:null,s=C(C({},r),{},{stroke:i?r.fill:r.stroke,tabIndex:-1});return o().createElement(y.W,T({ref:function(t){t&&!e.sectorRefs.includes(t)&&e.sectorRefs.push(t)},tabIndex:-1,className:"recharts-pie-sector"},(0,E.XC)(e.props,r,c),{key:"sector-".concat(null==r?void 0:r.startAngle,"-").concat(null==r?void 0:r.endAngle,"-").concat(r.midAngle,"-").concat(c)}),o().createElement(k.yp,T({option:u?n:l,isActive:u,shapeType:"sector"},s)))})}},{key:"renderSectorsWithAnimation",value:function(){var t=this,e=this.props,r=e.sectors,n=e.isAnimationActive,a=e.animationBegin,u=e.animationDuration,l=e.animationEasing,s=e.animationId,f=this.state,p=f.prevSectors,h=f.prevIsAnimationActive;return o().createElement(i.Ay,{begin:a,duration:u,isActive:n,easing:l,from:{t:0},to:{t:1},key:"pie-".concat(s,"-").concat(h),onAnimationStart:this.handleAnimationStart,onAnimationEnd:this.handleAnimationEnd},function(e){var n=e.t,i=[],a=(r&&r[0]).startAngle;return r.forEach(function(t,e){var r=p&&p[e],o=e>0?c()(t,"paddingAngle",0):0;if(r){var u=(0,A.Dj)(r.endAngle-r.startAngle,t.endAngle-t.startAngle),l=C(C({},t),{},{startAngle:a+o,endAngle:a+u(n)+o});i.push(l),a=l.endAngle}else{var s=t.endAngle,f=t.startAngle,h=(0,A.Dj)(0,s-f)(n),d=C(C({},t),{},{startAngle:a+o,endAngle:a+h+o});i.push(d),a=d.endAngle}}),o().createElement(y.W,null,t.renderSectorsStatically(i))})}},{key:"attachKeyboardHandlers",value:function(t){var e=this;t.onkeydown=function(t){if(!t.altKey)switch(t.key){case"ArrowLeft":var r=++e.state.sectorToFocus%e.sectorRefs.length;e.sectorRefs[r].focus(),e.setState({sectorToFocus:r});break;case"ArrowRight":var n=--e.state.sectorToFocus<0?e.sectorRefs.length-1:e.state.sectorToFocus%e.sectorRefs.length;e.sectorRefs[n].focus(),e.setState({sectorToFocus:n});break;case"Escape":e.sectorRefs[e.state.sectorToFocus].blur(),e.setState({sectorToFocus:0})}}}},{key:"renderSectors",value:function(){var t=this.props,e=t.sectors,r=t.isAnimationActive,n=this.state.prevSectors;return r&&e&&e.length&&(!n||!l()(n,e))?this.renderSectorsWithAnimation():this.renderSectorsStatically(e)}},{key:"componentDidMount",value:function(){this.pieRef&&this.attachKeyboardHandlers(this.pieRef)}},{key:"render",value:function(){var t=this,e=this.props,r=e.hide,n=e.sectors,i=e.className,a=e.label,c=e.cx,u=e.cy,l=e.innerRadius,s=e.outerRadius,f=e.isAnimationActive,p=this.state.isAnimationFinished;if(r||!n||!n.length||!(0,A.Et)(c)||!(0,A.Et)(u)||!(0,A.Et)(l)||!(0,A.Et)(s))return null;var h=(0,d.A)("recharts-pie",i);return o().createElement(y.W,{tabIndex:this.props.rootTabIndex,className:h,ref:function(e){t.pieRef=e}},this.renderSectors(),a&&this.renderLabels(n),b.J.renderCallByParent(this.props,null,!1),(!f||p)&&g.Z.renderCallByParent(this.props,n,!1))}}],r=[{key:"getDerivedStateFromProps",value:function(t,e){return e.prevIsAnimationActive!==t.isAnimationActive?{prevIsAnimationActive:t.isAnimationActive,prevAnimationId:t.animationId,curSectors:t.sectors,prevSectors:[],isAnimationFinished:!0}:t.isAnimationActive&&t.animationId!==e.prevAnimationId?{prevAnimationId:t.animationId,curSectors:t.sectors,prevSectors:e.curSectors,isAnimationFinished:!0}:t.sectors!==e.curSectors?{curSectors:t.sectors,isAnimationFinished:!0}:null}},{key:"getTextAnchor",value:function(t,e){return t>e?"start":t<e?"end":"middle"}},{key:"renderLabelLineItem",value:function(t,e,r){if(o().isValidElement(t))return o().cloneElement(t,e);if(h()(t))return t(e);var n=(0,d.A)("recharts-pie-label-line","boolean"!=typeof t?t.className:"");return o().createElement(v.I,T({},e,{key:r,type:"linear",className:n}))}},{key:"renderLabelItem",value:function(t,e,r){if(o().isValidElement(t))return o().cloneElement(t,e);var n=r;if(h()(t)&&(n=t(e),o().isValidElement(n)))return n;var i=(0,d.A)("recharts-pie-label-text","boolean"==typeof t||h()(t)?"":t.className);return o().createElement(m.E,T({},e,{alignmentBaseline:"middle",className:i}),n)}}],e&&I(n.prototype,e),r&&I(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(n.PureComponent);B(U,"displayName","Pie"),B(U,"defaultProps",{stroke:"#fff",fill:"#808080",legendType:"rect",cx:"50%",cy:"50%",startAngle:0,endAngle:360,innerRadius:0,outerRadius:"80%",paddingAngle:0,labelLine:!0,hide:!1,minAngle:0,isAnimationActive:!w.m.isSsr,animationBegin:400,animationDuration:1500,animationEasing:"ease",nameKey:"name",blendStroke:!1,rootTabIndex:0}),B(U,"parseDeltaAngle",function(t,e){return(0,A.sA)(e-t)*Math.min(Math.abs(e-t),360)}),B(U,"getRealPieData",function(t){var e=t.data,r=t.children,n=(0,O.J9)(t,!1),o=(0,O.aS)(r,x.f);return e&&e.length?e.map(function(t,e){return C(C(C({payload:t},n),t),o&&o[e]&&o[e].props)}):o&&o.length?o.map(function(t){return C(C({},n),t.props)}):[]}),B(U,"parseCoordinateOfPie",function(t,e){var r=e.top,n=e.left,o=e.width,i=e.height,a=(0,j.lY)(o,i);return{cx:n+(0,A.F4)(t.cx,o,o/2),cy:r+(0,A.F4)(t.cy,i,i/2),innerRadius:(0,A.F4)(t.innerRadius,a,0),outerRadius:(0,A.F4)(t.outerRadius,a,.8*a),maxRadius:t.maxRadius||Math.sqrt(o*o+i*i)/2}}),B(U,"getComposedData",function(t){var e,r,n=t.item,o=t.offset,i=void 0!==n.type.defaultProps?C(C({},n.type.defaultProps),n.props):n.props,a=U.getRealPieData(i);if(!a||!a.length)return null;var c=i.cornerRadius,u=i.startAngle,l=i.endAngle,s=i.paddingAngle,p=i.dataKey,h=i.nameKey,d=i.valueKey,y=i.tooltipType,v=Math.abs(i.minAngle),m=U.parseCoordinateOfPie(i,o),b=U.parseDeltaAngle(u,l),g=Math.abs(b),x=p;f()(p)&&f()(d)?((0,P.R)(!1,'Use "dataKey" to specify the value of pie,\n the props "valueKey" will be deprecated in 1.1.0'),x="value"):f()(p)&&((0,P.R)(!1,'Use "dataKey" to specify the value of pie,\n the props "valueKey" will be deprecated in 1.1.0'),x=d);var O=a.filter(function(t){return 0!==(0,S.kr)(t,x,0)}).length,w=g-O*v-(g>=360?O:O-1)*s,E=a.reduce(function(t,e){var r=(0,S.kr)(e,x,0);return t+((0,A.Et)(r)?r:0)},0);return E>0&&(e=a.map(function(t,e){var n,o=(0,S.kr)(t,x,0),i=(0,S.kr)(t,h,e),a=((0,A.Et)(o)?o:0)/E,l=(n=e?r.endAngle+(0,A.sA)(b)*s*(0!==o?1:0):u)+(0,A.sA)(b)*((0!==o?v:0)+a*w),f=(n+l)/2,p=(m.innerRadius+m.outerRadius)/2,d=[{name:i,value:o,payload:t,dataKey:x,type:y}],g=(0,j.IZ)(m.cx,m.cy,p,f);return r=C(C(C({percent:a,cornerRadius:c,name:i,tooltipPayload:d,midAngle:f,middleRadius:p,tooltipPosition:g},t),m),{},{value:(0,S.kr)(t,x),startAngle:n,endAngle:l,payload:t,paddingAngle:(0,A.sA)(b)*s})})),C(C({},m),{},{sectors:e,data:a})})},19836:(t,e,r)=>{"use strict";r.d(e,{I:()=>V});var n=r(73706),o=r.n(n);function i(){}function a(t,e,r){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+r)/6)}function c(t){this._context=t}function u(t){this._context=t}function l(t){this._context=t}c.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:a(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:a(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},u.prototype={areaStart:i,areaEnd:i,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:a(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},l.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var r=(this._x0+4*this._x1+t)/6,n=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(r,n):this._context.moveTo(r,n);break;case 3:this._point=4;default:a(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};class s{constructor(t,e){this._context=t,this._x=e}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}point(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,e,t,e):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+e)/2,t,this._y0,t,e)}this._x0=t,this._y0=e}}function f(t){this._context=t}function p(t){this._context=t}function h(t){return new p(t)}function d(t,e,r){var n=t._x1-t._x0,o=e-t._x1,i=(t._y1-t._y0)/(n||o<0&&-0),a=(r-t._y1)/(o||n<0&&-0);return((i<0?-1:1)+(a<0?-1:1))*Math.min(Math.abs(i),Math.abs(a),.5*Math.abs((i*o+a*n)/(n+o)))||0}function y(t,e){var r=t._x1-t._x0;return r?(3*(t._y1-t._y0)/r-e)/2:e}function v(t,e,r){var n=t._x0,o=t._y0,i=t._x1,a=t._y1,c=(i-n)/3;t._context.bezierCurveTo(n+c,o+c*e,i-c,a-c*r,i,a)}function m(t){this._context=t}function b(t){this._context=new g(t)}function g(t){this._context=t}function x(t){this._context=t}function O(t){var e,r,n=t.length-1,o=Array(n),i=Array(n),a=Array(n);for(o[0]=0,i[0]=2,a[0]=t[0]+2*t[1],e=1;e<n-1;++e)o[e]=1,i[e]=4,a[e]=4*t[e]+2*t[e+1];for(o[n-1]=2,i[n-1]=7,a[n-1]=8*t[n-1]+t[n],e=1;e<n;++e)r=o[e]/i[e-1],i[e]-=r,a[e]-=r*a[e-1];for(o[n-1]=a[n-1]/i[n-1],e=n-2;e>=0;--e)o[e]=(a[e]-o[e+1])/i[e];for(e=0,i[n-1]=(t[n]+o[n-1])/2;e<n-1;++e)i[e]=2*t[e+1]-o[e+1];return[o,i]}function w(t,e){this._context=t,this._t=e}f.prototype={areaStart:i,areaEnd:i,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}},p.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}},m.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:v(this,this._t0,y(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var r=NaN;if(e=+e,(t=+t)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,v(this,y(this,r=d(this,t,e)),r);break;default:v(this,this._t0,r=d(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=r}}},(b.prototype=Object.create(m.prototype)).point=function(t,e){m.prototype.point.call(this,e,t)},g.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,r,n,o,i){this._context.bezierCurveTo(e,t,n,r,i,o)}},x.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,r=t.length;if(r){if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),2===r)this._context.lineTo(t[1],e[1]);else for(var n=O(t),o=O(e),i=0,a=1;a<r;++i,++a)this._context.bezierCurveTo(n[0][i],o[0][i],n[1][i],o[1][i],t[a],e[a])}(this._line||0!==this._line&&1===r)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}},w.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var r=this._x*(1-this._t)+t*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,e)}}this._x=t,this._y=e}};var j=r(59411),A=r(10044),S=r(42359);function P(t){return t[0]}function E(t){return t[1]}function k(t,e){var r=(0,A.A)(!0),n=null,o=h,i=null,a=(0,S.i)(c);function c(c){var u,l,s,f=(c=(0,j.A)(c)).length,p=!1;for(null==n&&(i=o(s=a())),u=0;u<=f;++u)!(u<f&&r(l=c[u],u,c))===p&&((p=!p)?i.lineStart():i.lineEnd()),p&&i.point(+t(l,u,c),+e(l,u,c));if(s)return i=null,s+""||null}return t="function"==typeof t?t:void 0===t?P:(0,A.A)(t),e="function"==typeof e?e:void 0===e?E:(0,A.A)(e),c.x=function(e){return arguments.length?(t="function"==typeof e?e:(0,A.A)(+e),c):t},c.y=function(t){return arguments.length?(e="function"==typeof t?t:(0,A.A)(+t),c):e},c.defined=function(t){return arguments.length?(r="function"==typeof t?t:(0,A.A)(!!t),c):r},c.curve=function(t){return arguments.length?(o=t,null!=n&&(i=o(n)),c):o},c.context=function(t){return arguments.length?(null==t?n=i=null:i=o(n=t),c):n},c}function _(t,e,r){var n=null,o=(0,A.A)(!0),i=null,a=h,c=null,u=(0,S.i)(l);function l(l){var s,f,p,h,d,y=(l=(0,j.A)(l)).length,v=!1,m=Array(y),b=Array(y);for(null==i&&(c=a(d=u())),s=0;s<=y;++s){if(!(s<y&&o(h=l[s],s,l))===v){if(v=!v)f=s,c.areaStart(),c.lineStart();else{for(c.lineEnd(),c.lineStart(),p=s-1;p>=f;--p)c.point(m[p],b[p]);c.lineEnd(),c.areaEnd()}}v&&(m[s]=+t(h,s,l),b[s]=+e(h,s,l),c.point(n?+n(h,s,l):m[s],r?+r(h,s,l):b[s]))}if(d)return c=null,d+""||null}function s(){return k().defined(o).curve(a).context(i)}return t="function"==typeof t?t:void 0===t?P:(0,A.A)(+t),e="function"==typeof e?e:void 0===e?(0,A.A)(0):(0,A.A)(+e),r="function"==typeof r?r:void 0===r?E:(0,A.A)(+r),l.x=function(e){return arguments.length?(t="function"==typeof e?e:(0,A.A)(+e),n=null,l):t},l.x0=function(e){return arguments.length?(t="function"==typeof e?e:(0,A.A)(+e),l):t},l.x1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:(0,A.A)(+t),l):n},l.y=function(t){return arguments.length?(e="function"==typeof t?t:(0,A.A)(+t),r=null,l):e},l.y0=function(t){return arguments.length?(e="function"==typeof t?t:(0,A.A)(+t),l):e},l.y1=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:(0,A.A)(+t),l):r},l.lineX0=l.lineY0=function(){return s().x(t).y(e)},l.lineY1=function(){return s().x(t).y(r)},l.lineX1=function(){return s().x(n).y(e)},l.defined=function(t){return arguments.length?(o="function"==typeof t?t:(0,A.A)(!!t),l):o},l.curve=function(t){return arguments.length?(a=t,null!=i&&(c=a(i)),l):a},l.context=function(t){return arguments.length?(null==t?i=c=null:c=a(i=t),l):i},l}var T=r(28649),M=r.n(T),C=r(38207),I=r.n(C),D=r(59802),N=r(10637),R=r(83742),B=r(8217);function L(t){return(L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function U(){return(U=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function z(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function F(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?z(Object(r),!0).forEach(function(e){var n,o;n=e,o=r[e],(n=function(t){var e=function(t,e){if("object"!=L(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=L(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==L(e)?e:e+""}(n))in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):z(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var $={curveBasisClosed:function(t){return new u(t)},curveBasisOpen:function(t){return new l(t)},curveBasis:function(t){return new c(t)},curveBumpX:function(t){return new s(t,!0)},curveBumpY:function(t){return new s(t,!1)},curveLinearClosed:function(t){return new f(t)},curveLinear:h,curveMonotoneX:function(t){return new m(t)},curveMonotoneY:function(t){return new b(t)},curveNatural:function(t){return new x(t)},curveStep:function(t){return new w(t,.5)},curveStepAfter:function(t){return new w(t,1)},curveStepBefore:function(t){return new w(t,0)}},W=function(t){return t.x===+t.x&&t.y===+t.y},q=function(t){return t.x},X=function(t){return t.y},H=function(t,e){if(I()(t))return t;var r="curve".concat(M()(t));return("curveMonotone"===r||"curveBump"===r)&&e?$["".concat(r).concat("vertical"===e?"Y":"X")]:$[r]||h},K=function(t){var e,r=t.type,n=t.points,o=void 0===n?[]:n,i=t.baseLine,a=t.layout,c=t.connectNulls,u=void 0!==c&&c,l=H(void 0===r?"linear":r,a),s=u?o.filter(function(t){return W(t)}):o;if(Array.isArray(i)){var f=u?i.filter(function(t){return W(t)}):i,p=s.map(function(t,e){return F(F({},t),{},{base:f[e]})});return(e="vertical"===a?_().y(X).x1(q).x0(function(t){return t.base.x}):_().x(q).y1(X).y0(function(t){return t.base.y})).defined(W).curve(l),e(p)}return(e="vertical"===a&&(0,B.Et)(i)?_().y(X).x1(q).x0(i):(0,B.Et)(i)?_().x(q).y1(X).y0(i):k().x(q).y(X)).defined(W).curve(l),e(s)},V=function(t){var e=t.className,r=t.points,n=t.path,i=t.pathRef;if((!r||!r.length)&&!n)return null;var a=r&&r.length?K(t):n;return o().createElement("path",U({},(0,R.J9)(t,!1),(0,N._U)(t),{className:(0,D.A)("recharts-curve",e),d:a,ref:i}))}},33390:(t,e,r)=>{"use strict";r.d(e,{c:()=>l});var n=r(73706),o=r.n(n),i=r(59802),a=r(10637),c=r(83742);function u(){return(u=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var l=function(t){var e=t.cx,r=t.cy,n=t.r,l=t.className,s=(0,i.A)("recharts-dot",l);return e===+e&&r===+r&&n===+n?o().createElement("circle",u({},(0,c.J9)(t,!1),(0,a._U)(t),{className:s,cx:e,cy:r,r:n})):null}},10336:(t,e,r)=>{"use strict";r.d(e,{J:()=>d,M:()=>v});var n=r(73706),o=r.n(n),i=r(59802),a=r(77065),c=r(83742);function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(){return(l=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function f(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function p(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?f(Object(r),!0).forEach(function(e){var n,o;n=e,o=r[e],(n=function(t){var e=function(t,e){if("object"!=u(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=u(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==u(e)?e:e+""}(n))in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var h=function(t,e,r,n,o){var i,a=Math.min(Math.abs(r)/2,Math.abs(n)/2),c=n>=0?1:-1,u=r>=0?1:-1,l=n>=0&&r>=0||n<0&&r<0?1:0;if(a>0&&o instanceof Array){for(var s=[0,0,0,0],f=0;f<4;f++)s[f]=o[f]>a?a:o[f];i="M".concat(t,",").concat(e+c*s[0]),s[0]>0&&(i+="A ".concat(s[0],",").concat(s[0],",0,0,").concat(l,",").concat(t+u*s[0],",").concat(e)),i+="L ".concat(t+r-u*s[1],",").concat(e),s[1]>0&&(i+="A ".concat(s[1],",").concat(s[1],",0,0,").concat(l,",\n ").concat(t+r,",").concat(e+c*s[1])),i+="L ".concat(t+r,",").concat(e+n-c*s[2]),s[2]>0&&(i+="A ".concat(s[2],",").concat(s[2],",0,0,").concat(l,",\n ").concat(t+r-u*s[2],",").concat(e+n)),i+="L ".concat(t+u*s[3],",").concat(e+n),s[3]>0&&(i+="A ".concat(s[3],",").concat(s[3],",0,0,").concat(l,",\n ").concat(t,",").concat(e+n-c*s[3])),i+="Z"}else if(a>0&&o===+o&&o>0){var p=Math.min(a,o);i="M ".concat(t,",").concat(e+c*p,"\n A ").concat(p,",").concat(p,",0,0,").concat(l,",").concat(t+u*p,",").concat(e,"\n L ").concat(t+r-u*p,",").concat(e,"\n A ").concat(p,",").concat(p,",0,0,").concat(l,",").concat(t+r,",").concat(e+c*p,"\n L ").concat(t+r,",").concat(e+n-c*p,"\n A ").concat(p,",").concat(p,",0,0,").concat(l,",").concat(t+r-u*p,",").concat(e+n,"\n L ").concat(t+u*p,",").concat(e+n,"\n A ").concat(p,",").concat(p,",0,0,").concat(l,",").concat(t,",").concat(e+n-c*p," Z")}else i="M ".concat(t,",").concat(e," h ").concat(r," v ").concat(n," h ").concat(-r," Z");return i},d=function(t,e){if(!t||!e)return!1;var r=t.x,n=t.y,o=e.x,i=e.y,a=e.width,c=e.height;if(Math.abs(a)>0&&Math.abs(c)>0){var u=Math.min(o,o+a),l=Math.max(o,o+a),s=Math.min(i,i+c),f=Math.max(i,i+c);return r>=u&&r<=l&&n>=s&&n<=f}return!1},y={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},v=function(t){var e,r=p(p({},y),t),u=(0,n.useRef)(),f=function(t){if(Array.isArray(t))return t}(e=(0,n.useState)(-1))||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{for(i=(r=r.call(t)).next;!(u=(n=i.call(r)).done)&&(c.push(n.value),2!==c.length);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(e,2)||function(t,e){if(t){if("string"==typeof t)return s(t,2);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return s(t,2)}}(e,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),d=f[0],v=f[1];(0,n.useEffect)(function(){if(u.current&&u.current.getTotalLength)try{var t=u.current.getTotalLength();t&&v(t)}catch(t){}},[]);var m=r.x,b=r.y,g=r.width,x=r.height,O=r.radius,w=r.className,j=r.animationEasing,A=r.animationDuration,S=r.animationBegin,P=r.isAnimationActive,E=r.isUpdateAnimationActive;if(m!==+m||b!==+b||g!==+g||x!==+x||0===g||0===x)return null;var k=(0,i.A)("recharts-rectangle",w);return E?o().createElement(a.Ay,{canBegin:d>0,from:{width:g,height:x,x:m,y:b},to:{width:g,height:x,x:m,y:b},duration:A,animationEasing:j,isActive:E},function(t){var e=t.width,n=t.height,i=t.x,s=t.y;return o().createElement(a.Ay,{canBegin:d>0,from:"0px ".concat(-1===d?1:d,"px"),to:"".concat(d,"px 0px"),attributeName:"strokeDasharray",begin:S,duration:A,isActive:P,easing:j},o().createElement("path",l({},(0,c.J9)(r,!0),{className:k,d:h(i,s,e,n,O),ref:u})))}):o().createElement("path",l({},(0,c.J9)(r,!0),{className:k,d:h(m,b,g,x,O)}))}},59079:(t,e,r)=>{"use strict";r.d(e,{h:()=>m});var n=r(73706),o=r.n(n),i=r(59802),a=r(83742),c=r(38475),u=r(8217);function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function s(){return(s=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function f(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function p(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?f(Object(r),!0).forEach(function(e){var n,o;n=e,o=r[e],(n=function(t){var e=function(t,e){if("object"!=l(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=l(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==l(e)?e:e+""}(n))in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var h=function(t){var e=t.cx,r=t.cy,n=t.radius,o=t.angle,i=t.sign,a=t.isExternal,u=t.cornerRadius,l=t.cornerIsExternal,s=u*(a?1:-1)+n,f=Math.asin(u/s)/c.Kg,p=l?o:o+i*f;return{center:(0,c.IZ)(e,r,s,p),circleTangency:(0,c.IZ)(e,r,n,p),lineTangency:(0,c.IZ)(e,r,s*Math.cos(f*c.Kg),l?o-i*f:o),theta:f}},d=function(t){var e=t.cx,r=t.cy,n=t.innerRadius,o=t.outerRadius,i=t.startAngle,a=t.endAngle,l=(0,u.sA)(a-i)*Math.min(Math.abs(a-i),359.999),s=i+l,f=(0,c.IZ)(e,r,o,i),p=(0,c.IZ)(e,r,o,s),h="M ".concat(f.x,",").concat(f.y,"\n A ").concat(o,",").concat(o,",0,\n ").concat(+(Math.abs(l)>180),",").concat(+(i>s),",\n ").concat(p.x,",").concat(p.y,"\n ");if(n>0){var d=(0,c.IZ)(e,r,n,i),y=(0,c.IZ)(e,r,n,s);h+="L ".concat(y.x,",").concat(y.y,"\n A ").concat(n,",").concat(n,",0,\n ").concat(+(Math.abs(l)>180),",").concat(+(i<=s),",\n ").concat(d.x,",").concat(d.y," Z")}else h+="L ".concat(e,",").concat(r," Z");return h},y=function(t){var e=t.cx,r=t.cy,n=t.innerRadius,o=t.outerRadius,i=t.cornerRadius,a=t.forceCornerRadius,c=t.cornerIsExternal,l=t.startAngle,s=t.endAngle,f=(0,u.sA)(s-l),p=h({cx:e,cy:r,radius:o,angle:l,sign:f,cornerRadius:i,cornerIsExternal:c}),y=p.circleTangency,v=p.lineTangency,m=p.theta,b=h({cx:e,cy:r,radius:o,angle:s,sign:-f,cornerRadius:i,cornerIsExternal:c}),g=b.circleTangency,x=b.lineTangency,O=b.theta,w=c?Math.abs(l-s):Math.abs(l-s)-m-O;if(w<0)return a?"M ".concat(v.x,",").concat(v.y,"\n a").concat(i,",").concat(i,",0,0,1,").concat(2*i,",0\n a").concat(i,",").concat(i,",0,0,1,").concat(-(2*i),",0\n "):d({cx:e,cy:r,innerRadius:n,outerRadius:o,startAngle:l,endAngle:s});var j="M ".concat(v.x,",").concat(v.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(f<0),",").concat(y.x,",").concat(y.y,"\n A").concat(o,",").concat(o,",0,").concat(+(w>180),",").concat(+(f<0),",").concat(g.x,",").concat(g.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(f<0),",").concat(x.x,",").concat(x.y,"\n ");if(n>0){var A=h({cx:e,cy:r,radius:n,angle:l,sign:f,isExternal:!0,cornerRadius:i,cornerIsExternal:c}),S=A.circleTangency,P=A.lineTangency,E=A.theta,k=h({cx:e,cy:r,radius:n,angle:s,sign:-f,isExternal:!0,cornerRadius:i,cornerIsExternal:c}),_=k.circleTangency,T=k.lineTangency,M=k.theta,C=c?Math.abs(l-s):Math.abs(l-s)-E-M;if(C<0&&0===i)return"".concat(j,"L").concat(e,",").concat(r,"Z");j+="L".concat(T.x,",").concat(T.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(f<0),",").concat(_.x,",").concat(_.y,"\n A").concat(n,",").concat(n,",0,").concat(+(C>180),",").concat(+(f>0),",").concat(S.x,",").concat(S.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(f<0),",").concat(P.x,",").concat(P.y,"Z")}else j+="L".concat(e,",").concat(r,"Z");return j},v={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},m=function(t){var e,r=p(p({},v),t),n=r.cx,c=r.cy,l=r.innerRadius,f=r.outerRadius,h=r.cornerRadius,m=r.forceCornerRadius,b=r.cornerIsExternal,g=r.startAngle,x=r.endAngle,O=r.className;if(f<l||g===x)return null;var w=(0,i.A)("recharts-sector",O),j=f-l,A=(0,u.F4)(h,j,0,!0);return e=A>0&&360>Math.abs(g-x)?y({cx:n,cy:c,innerRadius:l,outerRadius:f,cornerRadius:Math.min(A,j/2),forceCornerRadius:m,cornerIsExternal:b,startAngle:g,endAngle:x}):d({cx:n,cy:c,innerRadius:l,outerRadius:f,startAngle:g,endAngle:x}),o().createElement("path",s({},(0,a.J9)(r,!0),{className:w,d:e,role:"img"}))}},27752:(t,e,r)=>{"use strict";r.d(e,{i:()=>D});var n=r(73706),o=r.n(n),i=r(28649),a=r.n(i);let c=Math.cos,u=Math.sin,l=Math.sqrt,s=Math.PI,f=2*s,p={draw(t,e){let r=l(e/s);t.moveTo(r,0),t.arc(0,0,r,0,f)}},h=l(1/3),d=2*h,y=u(s/10)/u(7*s/10),v=u(f/10)*y,m=-c(f/10)*y,b=l(3),g=l(3)/2,x=1/l(12),O=(x/2+1)*3;var w=r(10044),j=r(42359);l(3),l(3);var A=r(59802),S=r(83742);function P(t){return(P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var E=["type","size","sizeType"];function k(){return(k=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function _(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function T(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?_(Object(r),!0).forEach(function(e){var n,o;n=e,o=r[e],(n=function(t){var e=function(t,e){if("object"!=P(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=P(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==P(e)?e:e+""}(n))in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):_(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var M={symbolCircle:p,symbolCross:{draw(t,e){let r=l(e/5)/2;t.moveTo(-3*r,-r),t.lineTo(-r,-r),t.lineTo(-r,-3*r),t.lineTo(r,-3*r),t.lineTo(r,-r),t.lineTo(3*r,-r),t.lineTo(3*r,r),t.lineTo(r,r),t.lineTo(r,3*r),t.lineTo(-r,3*r),t.lineTo(-r,r),t.lineTo(-3*r,r),t.closePath()}},symbolDiamond:{draw(t,e){let r=l(e/d),n=r*h;t.moveTo(0,-r),t.lineTo(n,0),t.lineTo(0,r),t.lineTo(-n,0),t.closePath()}},symbolSquare:{draw(t,e){let r=l(e),n=-r/2;t.rect(n,n,r,r)}},symbolStar:{draw(t,e){let r=l(.8908130915292852*e),n=v*r,o=m*r;t.moveTo(0,-r),t.lineTo(n,o);for(let e=1;e<5;++e){let i=f*e/5,a=c(i),l=u(i);t.lineTo(l*r,-a*r),t.lineTo(a*n-l*o,l*n+a*o)}t.closePath()}},symbolTriangle:{draw(t,e){let r=-l(e/(3*b));t.moveTo(0,2*r),t.lineTo(-b*r,-r),t.lineTo(b*r,-r),t.closePath()}},symbolWye:{draw(t,e){let r=l(e/O),n=r/2,o=r*x,i=r*x+r,a=-n;t.moveTo(n,o),t.lineTo(n,i),t.lineTo(a,i),t.lineTo(-.5*n-g*o,g*n+-.5*o),t.lineTo(-.5*n-g*i,g*n+-.5*i),t.lineTo(-.5*a-g*i,g*a+-.5*i),t.lineTo(-.5*n+g*o,-.5*o-g*n),t.lineTo(-.5*n+g*i,-.5*i-g*n),t.lineTo(-.5*a+g*i,-.5*i-g*a),t.closePath()}}},C=Math.PI/180,I=function(t,e,r){if("area"===e)return t;switch(r){case"cross":return 5*t*t/9;case"diamond":return .5*t*t/Math.sqrt(3);case"square":return t*t;case"star":var n=18*C;return 1.25*t*t*(Math.tan(n)-Math.tan(2*n)*Math.pow(Math.tan(n),2));case"triangle":return Math.sqrt(3)*t*t/4;case"wye":return(21-10*Math.sqrt(3))*t*t/8;default:return Math.PI*t*t/4}},D=function(t){var e,r=t.type,n=void 0===r?"circle":r,i=t.size,c=void 0===i?64:i,u=t.sizeType,l=void 0===u?"area":u,s=T(T({},function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,E)),{},{type:n,size:c,sizeType:l}),f=s.className,h=s.cx,d=s.cy,y=(0,S.J9)(s,!0);return h===+h&&d===+d&&c===+c?o().createElement("path",k({},y,{className:(0,A.A)("recharts-symbols",f),transform:"translate(".concat(h,", ").concat(d,")"),d:(e=M["symbol".concat(a()(n))]||p,(function(t,e){let r=null,n=(0,j.i)(o);function o(){let o;if(r||(r=o=n()),t.apply(this,arguments).draw(r,+e.apply(this,arguments)),o)return r=null,o+""||null}return t="function"==typeof t?t:(0,w.A)(t||p),e="function"==typeof e?e:(0,w.A)(void 0===e?64:+e),o.type=function(e){return arguments.length?(t="function"==typeof e?e:(0,w.A)(e),o):t},o.size=function(t){return arguments.length?(e="function"==typeof t?t:(0,w.A)(+t),o):e},o.context=function(t){return arguments.length?(r=null==t?null:t,o):r},o})().type(e).size(I(c,l,n))())})):null};D.registerSymbol=function(t,e){M["symbol".concat(a()(t))]=e}},24098:(t,e,r)=>{"use strict";r.d(e,{yp:()=>I,GG:()=>z,NE:()=>D,nZ:()=>N,xQ:()=>R});var n=r(73706),o=r.n(n),i=r(38207),a=r.n(i),c=r(48660),u=r.n(c),l=r(37315),s=r.n(l),f=r(75759),p=r.n(f),h=r(10336),d=r(59802),y=r(77065),v=r(83742);function m(t){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function b(){return(b=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function g(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function x(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function O(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?x(Object(r),!0).forEach(function(e){var n,o;n=e,o=r[e],(n=function(t){var e=function(t,e){if("object"!=m(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=m(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==m(e)?e:e+""}(n))in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):x(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var w=function(t,e,r,n,o){var i=r-n;return"M ".concat(t,",").concat(e)+"L ".concat(t+r,",").concat(e)+"L ".concat(t+r-i/2,",").concat(e+o)+"L ".concat(t+r-i/2-n,",").concat(e+o)+"L ".concat(t,",").concat(e," Z")},j={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},A=function(t){var e,r=O(O({},j),t),i=(0,n.useRef)(),a=function(t){if(Array.isArray(t))return t}(e=(0,n.useState)(-1))||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{for(i=(r=r.call(t)).next;!(u=(n=i.call(r)).done)&&(c.push(n.value),2!==c.length);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(e,2)||function(t,e){if(t){if("string"==typeof t)return g(t,2);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return g(t,2)}}(e,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),c=a[0],u=a[1];(0,n.useEffect)(function(){if(i.current&&i.current.getTotalLength)try{var t=i.current.getTotalLength();t&&u(t)}catch(t){}},[]);var l=r.x,s=r.y,f=r.upperWidth,p=r.lowerWidth,h=r.height,m=r.className,x=r.animationEasing,A=r.animationDuration,S=r.animationBegin,P=r.isUpdateAnimationActive;if(l!==+l||s!==+s||f!==+f||p!==+p||h!==+h||0===f&&0===p||0===h)return null;var E=(0,d.A)("recharts-trapezoid",m);return P?o().createElement(y.Ay,{canBegin:c>0,from:{upperWidth:0,lowerWidth:0,height:h,x:l,y:s},to:{upperWidth:f,lowerWidth:p,height:h,x:l,y:s},duration:A,animationEasing:x,isActive:P},function(t){var e=t.upperWidth,n=t.lowerWidth,a=t.height,u=t.x,l=t.y;return o().createElement(y.Ay,{canBegin:c>0,from:"0px ".concat(-1===c?1:c,"px"),to:"".concat(c,"px 0px"),attributeName:"strokeDasharray",begin:S,duration:A,easing:x},o().createElement("path",b({},(0,v.J9)(r,!0),{className:E,d:w(u,l,e,n,a),ref:i})))}):o().createElement("g",null,o().createElement("path",b({},(0,v.J9)(r,!0),{className:E,d:w(l,s,f,p,h)})))},S=r(59079),P=r(75670),E=r(27752),k=["option","shapeType","propTransformer","activeClassName","isActive"];function _(t){return(_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function T(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function M(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?T(Object(r),!0).forEach(function(e){var n,o;n=e,o=r[e],(n=function(t){var e=function(t,e){if("object"!=_(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=_(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==_(e)?e:e+""}(n))in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):T(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function C(t){var e=t.shapeType,r=t.elementProps;switch(e){case"rectangle":return o().createElement(h.M,r);case"trapezoid":return o().createElement(A,r);case"sector":return o().createElement(S.h,r);case"symbols":if("symbols"===e)return o().createElement(E.i,r);break;default:return null}}function I(t){var e,r=t.option,i=t.shapeType,c=t.propTransformer,l=t.activeClassName,f=t.isActive,p=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,k);if((0,n.isValidElement)(r))e=(0,n.cloneElement)(r,M(M({},p),(0,n.isValidElement)(r)?r.props:r));else if(a()(r))e=r(p);else if(u()(r)&&!s()(r)){var h=(void 0===c?function(t,e){return M(M({},e),t)}:c)(r,p);e=o().createElement(C,{shapeType:i,elementProps:h})}else e=o().createElement(C,{shapeType:i,elementProps:p});return f?o().createElement(P.W,{className:void 0===l?"recharts-active-shape":l},e):e}function D(t,e){return null!=e&&"trapezoids"in t.props}function N(t,e){return null!=e&&"sectors"in t.props}function R(t,e){return null!=e&&"points"in t.props}function B(t,e){var r,n,o=t.x===(null==e||null===(r=e.labelViewBox)||void 0===r?void 0:r.x)||t.x===e.x,i=t.y===(null==e||null===(n=e.labelViewBox)||void 0===n?void 0:n.y)||t.y===e.y;return o&&i}function L(t,e){var r=t.endAngle===e.endAngle,n=t.startAngle===e.startAngle;return r&&n}function U(t,e){var r=t.x===e.x,n=t.y===e.y,o=t.z===e.z;return r&&n&&o}function z(t){var e,r,n,o=t.activeTooltipItem,i=t.graphicalItem,a=t.itemData,c=(D(i,o)?e="trapezoids":N(i,o)?e="sectors":R(i,o)&&(e="points"),e),u=D(i,o)?null===(r=o.tooltipPayload)||void 0===r||null===(r=r[0])||void 0===r||null===(r=r.payload)||void 0===r?void 0:r.payload:N(i,o)?null===(n=o.tooltipPayload)||void 0===n||null===(n=n[0])||void 0===n||null===(n=n.payload)||void 0===n?void 0:n.payload:R(i,o)?o.payload:{},l=a.filter(function(t,e){var r=p()(u,t),n=i.props[c].filter(function(t){var e;return(D(i,o)?e=B:N(i,o)?e=L:R(i,o)&&(e=U),e)(t,o)}),a=i.props[c].indexOf(n[n.length-1]);return r&&e===a});return a.indexOf(l[l.length-1])}},28657:(t,e,r)=>{"use strict";r.d(e,{P2:()=>O,bx:()=>w,pr:()=>m,sl:()=>b,vh:()=>g});var n=r(3403),o=r.n(n),i=r(60028),a=r.n(i),c=r(76876),u=r(83742),l=r(8217),s=r(70797);function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function p(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,v(n.key),n)}}function h(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function d(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?h(Object(r),!0).forEach(function(e){y(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function y(t,e,r){return(e=v(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function v(t){var e=function(t,e){if("object"!=f(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=f(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==f(e)?e:e+""}var m=function(t,e,r,n,o){var i=t.width,a=t.height,f=t.layout,p=t.children,h=Object.keys(e),v={left:r.left,leftMirror:r.left,right:i-r.right,rightMirror:i-r.right,top:r.top,topMirror:r.top,bottom:a-r.bottom,bottomMirror:a-r.bottom},m=!!(0,u.BU)(p,s.y);return h.reduce(function(i,a){var u,s,p,h,b,g=e[a],x=g.orientation,O=g.domain,w=g.padding,j=void 0===w?{}:w,A=g.mirror,S=g.reversed,P="".concat(x).concat(A?"Mirror":"");if("number"===g.type&&("gap"===g.padding||"no-gap"===g.padding)){var E=O[1]-O[0],k=1/0,_=g.categoricalDomain.sort();if(_.forEach(function(t,e){e>0&&(k=Math.min((t||0)-(_[e-1]||0),k))}),Number.isFinite(k)){var T=k/E,M="vertical"===g.layout?r.height:r.width;if("gap"===g.padding&&(u=T*M/2),"no-gap"===g.padding){var C=(0,l.F4)(t.barCategoryGap,T*M),I=T*M/2;u=I-C-(I-C)/M*C}}}s="xAxis"===n?[r.left+(j.left||0)+(u||0),r.left+r.width-(j.right||0)-(u||0)]:"yAxis"===n?"horizontal"===f?[r.top+r.height-(j.bottom||0),r.top+(j.top||0)]:[r.top+(j.top||0)+(u||0),r.top+r.height-(j.bottom||0)-(u||0)]:g.range,S&&(s=[s[1],s[0]]);var D=(0,c.W7)(g,o,m),N=D.scale,R=D.realScaleType;N.domain(O).range(s),(0,c.YB)(N);var B=(0,c.w7)(N,d(d({},g),{},{realScaleType:R}));"xAxis"===n?(b="top"===x&&!A||"bottom"===x&&A,p=r.left,h=v[P]-b*g.height):"yAxis"===n&&(b="left"===x&&!A||"right"===x&&A,p=v[P]-b*g.width,h=r.top);var L=d(d(d({},g),B),{},{realScaleType:R,x:p,y:h,scale:N,width:"xAxis"===n?r.width:g.width,height:"yAxis"===n?r.height:g.height});return L.bandSize=(0,c.Hj)(L,B),g.hide||"xAxis"!==n?g.hide||(v[P]+=(b?-1:1)*L.width):v[P]+=(b?-1:1)*L.height,d(d({},i),{},y({},a,L))},{})},b=function(t,e){var r=t.x,n=t.y,o=e.x,i=e.y;return{x:Math.min(r,o),y:Math.min(n,i),width:Math.abs(o-r),height:Math.abs(i-n)}},g=function(t){return b({x:t.x1,y:t.y1},{x:t.x2,y:t.y2})},x=function(){var t,e;function r(t){(function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")})(this,r),this.scale=t}return t=[{key:"domain",get:function(){return this.scale.domain}},{key:"range",get:function(){return this.scale.range}},{key:"rangeMin",get:function(){return this.range()[0]}},{key:"rangeMax",get:function(){return this.range()[1]}},{key:"bandwidth",get:function(){return this.scale.bandwidth}},{key:"apply",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.bandAware,n=e.position;if(void 0!==t){if(n)switch(n){case"start":default:return this.scale(t);case"middle":var o=this.bandwidth?this.bandwidth()/2:0;return this.scale(t)+o;case"end":var i=this.bandwidth?this.bandwidth():0;return this.scale(t)+i}if(r){var a=this.bandwidth?this.bandwidth()/2:0;return this.scale(t)+a}return this.scale(t)}}},{key:"isInRange",value:function(t){var e=this.range(),r=e[0],n=e[e.length-1];return r<=n?t>=r&&t<=n:t>=n&&t<=r}}],e=[{key:"create",value:function(t){return new r(t)}}],t&&p(r.prototype,t),e&&p(r,e),Object.defineProperty(r,"prototype",{writable:!1}),r}();y(x,"EPS",1e-4);var O=function(t){var e=Object.keys(t).reduce(function(e,r){return d(d({},e),{},y({},r,x.create(t[r])))},{});return d(d({},e),{},{apply:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.bandAware,i=r.position;return o()(t,function(t,r){return e[r].apply(t,{bandAware:n,position:i})})},isInRange:function(t){return a()(t,function(t,r){return e[r].isInRange(t)})}})},w=function(t){var e=t.width,r=t.height,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=(n%180+180)%180*Math.PI/180,i=Math.atan(r/e);return Math.abs(o>i&&o<Math.PI-i?r/Math.sin(o):e/Math.cos(o))}},76876:(t,e,r)=>{"use strict";r.d(e,{s0:()=>og,gH:()=>oy,YB:()=>o_,HQ:()=>oE,xi:()=>oT,Hj:()=>oq,BX:()=>ob,tA:()=>om,DW:()=>oL,y2:()=>oB,nb:()=>oR,PW:()=>oA,Ay:()=>od,vf:()=>ow,Mk:()=>oz,Ps:()=>ov,Mn:()=>oD,kA:()=>oU,Rh:()=>oS,w7:()=>oN,zb:()=>oH,kr:()=>oh,_L:()=>oj,KC:()=>oX,A1:()=>oO,W7:()=>ok,AQ:()=>oW,_f:()=>oM});var n={};r.r(n),r.d(n,{scaleBand:()=>o.A,scaleDiverging:()=>function t(){var e=tk(rX()(tl));return e.copy=function(){return r$(e,t())},tv.K.apply(e,arguments)},scaleDivergingLog:()=>function t(){var e=tB(rX()).domain([.1,1,10]);return e.copy=function(){return r$(e,t()).base(e.base())},tv.K.apply(e,arguments)},scaleDivergingPow:()=>rH,scaleDivergingSqrt:()=>rK,scaleDivergingSymlog:()=>function t(){var e=tz(rX());return e.copy=function(){return r$(e,t()).constant(e.constant())},tv.K.apply(e,arguments)},scaleIdentity:()=>function t(e){var r;function n(t){return null==t||isNaN(t=+t)?r:t}return n.invert=n,n.domain=n.range=function(t){return arguments.length?(e=Array.from(t,tc),n):e.slice()},n.unknown=function(t){return arguments.length?(r=t,n):r},n.copy=function(){return t(e).unknown(r)},e=arguments.length?Array.from(e,tc):[0,1],tk(n)},scaleImplicit:()=>tF.h,scaleLinear:()=>t_,scaleLog:()=>function t(){let e=tB(td()).domain([1,10]);return e.copy=()=>th(e,t()).base(e.base()),tv.C.apply(e,arguments),e},scaleOrdinal:()=>tF.A,scalePoint:()=>o.z,scalePow:()=>tH,scaleQuantile:()=>function t(){var e,r=[],n=[],o=[];function i(){var t=0,e=Math.max(1,n.length);for(o=Array(e-1);++t<e;)o[t-1]=function(t,e,r=v){if(!(!(n=t.length)||isNaN(e=+e))){if(e<=0||n<2)return+r(t[0],0,t);if(e>=1)return+r(t[n-1],n-1,t);var n,o=(n-1)*e,i=Math.floor(o),a=+r(t[i],i,t);return a+(+r(t[i+1],i+1,t)-a)*(o-i)}}(r,t/e);return a}function a(t){return null==t||isNaN(t=+t)?e:n[b(o,t)]}return a.invertExtent=function(t){var e=n.indexOf(t);return e<0?[NaN,NaN]:[e>0?o[e-1]:r[0],e<o.length?o[e]:r[r.length-1]]},a.domain=function(t){if(!arguments.length)return r.slice();for(let e of(r=[],t))null==e||isNaN(e=+e)||r.push(e);return r.sort(p),i()},a.range=function(t){return arguments.length?(n=Array.from(t),i()):n.slice()},a.unknown=function(t){return arguments.length?(e=t,a):e},a.quantiles=function(){return o.slice()},a.copy=function(){return t().domain(r).range(n).unknown(e)},tv.C.apply(a,arguments)},scaleQuantize:()=>function t(){var e,r=0,n=1,o=1,i=[.5],a=[0,1];function c(t){return null!=t&&t<=t?a[b(i,t,0,o)]:e}function u(){var t=-1;for(i=Array(o);++t<o;)i[t]=((t+1)*n-(t-o)*r)/(o+1);return c}return c.domain=function(t){return arguments.length?([r,n]=t,r=+r,n=+n,u()):[r,n]},c.range=function(t){return arguments.length?(o=(a=Array.from(t)).length-1,u()):a.slice()},c.invertExtent=function(t){var e=a.indexOf(t);return e<0?[NaN,NaN]:e<1?[r,i[0]]:e>=o?[i[o-1],n]:[i[e-1],i[e]]},c.unknown=function(t){return arguments.length&&(e=t),c},c.thresholds=function(){return i.slice()},c.copy=function(){return t().domain([r,n]).range(a).unknown(e)},tv.C.apply(tk(c),arguments)},scaleRadial:()=>function t(){var e,r=ty(),n=[0,1],o=!1;function i(t){var n,i=Math.sign(n=r(t))*Math.sqrt(Math.abs(n));return isNaN(i)?e:o?Math.round(i):i}return i.invert=function(t){return r.invert(tV(t))},i.domain=function(t){return arguments.length?(r.domain(t),i):r.domain()},i.range=function(t){return arguments.length?(r.range((n=Array.from(t,tc)).map(tV)),i):n.slice()},i.rangeRound=function(t){return i.range(t).round(!0)},i.round=function(t){return arguments.length?(o=!!t,i):o},i.clamp=function(t){return arguments.length?(r.clamp(t),i):r.clamp()},i.unknown=function(t){return arguments.length?(e=t,i):e},i.copy=function(){return t(r.domain(),n).round(o).clamp(r.clamp()).unknown(e)},tv.C.apply(i,arguments),tk(i)},scaleSequential:()=>function t(){var e=tk(rF()(tl));return e.copy=function(){return r$(e,t())},tv.K.apply(e,arguments)},scaleSequentialLog:()=>function t(){var e=tB(rF()).domain([1,10]);return e.copy=function(){return r$(e,t()).base(e.base())},tv.K.apply(e,arguments)},scaleSequentialPow:()=>rW,scaleSequentialQuantile:()=>function t(){var e=[],r=tl;function n(t){if(null!=t&&!isNaN(t=+t))return r((b(e,t,1)-1)/(e.length-1))}return n.domain=function(t){if(!arguments.length)return e.slice();for(let r of(e=[],t))null==r||isNaN(r=+r)||e.push(r);return e.sort(p),n},n.interpolator=function(t){return arguments.length?(r=t,n):r},n.range=function(){return e.map((t,n)=>r(n/(e.length-1)))},n.quantiles=function(t){return Array.from({length:t+1},(r,n)=>(function(t,e,r){if(!(!(n=(t=Float64Array.from(function*(t,e){if(void 0===e)for(let e of t)null!=e&&(e=+e)>=e&&(yield e);else{let r=-1;for(let n of t)null!=(n=e(n,++r,t))&&(n=+n)>=n&&(yield n)}}(t,void 0))).length)||isNaN(e=+e))){if(e<=0||n<2)return tY(t);if(e>=1)return tG(t);var n,o=(n-1)*e,i=Math.floor(o),a=tG((function t(e,r,n=0,o=1/0,i){if(r=Math.floor(r),n=Math.floor(Math.max(0,n)),o=Math.floor(Math.min(e.length-1,o)),!(n<=r&&r<=o))return e;for(i=void 0===i?tJ:function(t=p){if(t===p)return tJ;if("function"!=typeof t)throw TypeError("compare is not a function");return(e,r)=>{let n=t(e,r);return n||0===n?n:(0===t(r,r))-(0===t(e,e))}}(i);o>n;){if(o-n>600){let a=o-n+1,c=r-n+1,u=Math.log(a),l=.5*Math.exp(2*u/3),s=.5*Math.sqrt(u*l*(a-l)/a)*(c-a/2<0?-1:1),f=Math.max(n,Math.floor(r-c*l/a+s)),p=Math.min(o,Math.floor(r+(a-c)*l/a+s));t(e,r,f,p,i)}let a=e[r],c=n,u=o;for(tZ(e,n,r),i(e[o],a)>0&&tZ(e,n,o);c<u;){for(tZ(e,c,u),++c,--u;0>i(e[c],a);)++c;for(;i(e[u],a)>0;)--u}0===i(e[n],a)?tZ(e,n,u):tZ(e,++u,o),u<=r&&(n=u+1),r<=u&&(o=u-1)}return e})(t,i).subarray(0,i+1));return a+(tY(t.subarray(i+1))-a)*(o-i)}})(e,n/t))},n.copy=function(){return t(r).domain(e)},tv.K.apply(n,arguments)},scaleSequentialSqrt:()=>rq,scaleSequentialSymlog:()=>function t(){var e=tz(rF());return e.copy=function(){return r$(e,t()).constant(e.constant())},tv.K.apply(e,arguments)},scaleSqrt:()=>tK,scaleSymlog:()=>function t(){var e=tz(td());return e.copy=function(){return th(e,t()).constant(e.constant())},tv.C.apply(e,arguments)},scaleThreshold:()=>function t(){var e,r=[.5],n=[0,1],o=1;function i(t){return null!=t&&t<=t?n[b(r,t,0,o)]:e}return i.domain=function(t){return arguments.length?(o=Math.min((r=Array.from(t)).length,n.length-1),i):r.slice()},i.range=function(t){return arguments.length?(n=Array.from(t),o=Math.min(r.length,n.length-1),i):n.slice()},i.invertExtent=function(t){var e=n.indexOf(t);return[r[e-1],r[e]]},i.unknown=function(t){return arguments.length?(e=t,i):e},i.copy=function(){return t().domain(r).range(n).unknown(e)},tv.C.apply(i,arguments)},scaleTime:()=>rU,scaleUtc:()=>rz,tickFormat:()=>tE});var o=r(67989);let i=Math.sqrt(50),a=Math.sqrt(10),c=Math.sqrt(2);function u(t,e,r){let n,o,l;let s=(e-t)/Math.max(0,r),f=Math.floor(Math.log10(s)),p=s/Math.pow(10,f),h=p>=i?10:p>=a?5:p>=c?2:1;return(f<0?(n=Math.round(t*(l=Math.pow(10,-f)/h)),o=Math.round(e*l),n/l<t&&++n,o/l>e&&--o,l=-l):(n=Math.round(t/(l=Math.pow(10,f)*h)),o=Math.round(e/l),n*l<t&&++n,o*l>e&&--o),o<n&&.5<=r&&r<2)?u(t,e,2*r):[n,o,l]}function l(t,e,r){if(e=+e,t=+t,!((r=+r)>0))return[];if(t===e)return[t];let n=e<t,[o,i,a]=n?u(e,t,r):u(t,e,r);if(!(i>=o))return[];let c=i-o+1,l=Array(c);if(n){if(a<0)for(let t=0;t<c;++t)l[t]=-((i-t)/a);else for(let t=0;t<c;++t)l[t]=(i-t)*a}else if(a<0)for(let t=0;t<c;++t)l[t]=-((o+t)/a);else for(let t=0;t<c;++t)l[t]=(o+t)*a;return l}function s(t,e,r){return u(t=+t,e=+e,r=+r)[2]}function f(t,e,r){e=+e,t=+t,r=+r;let n=e<t,o=n?s(e,t,r):s(t,e,r);return(n?-1:1)*(o<0?-(1/o):o)}function p(t,e){return null==t||null==e?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function h(t,e){return null==t||null==e?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function d(t){let e,r,n;function o(t,n,i=0,a=t.length){if(i<a){if(0!==e(n,n))return a;do{let e=i+a>>>1;0>r(t[e],n)?i=e+1:a=e}while(i<a)}return i}return 2!==t.length?(e=p,r=(e,r)=>p(t(e),r),n=(e,r)=>t(e)-r):(e=t===p||t===h?t:y,r=t,n=t),{left:o,center:function(t,e,r=0,i=t.length){let a=o(t,e,r,i-1);return a>r&&n(t[a-1],e)>-n(t[a],e)?a-1:a},right:function(t,n,o=0,i=t.length){if(o<i){if(0!==e(n,n))return i;do{let e=o+i>>>1;0>=r(t[e],n)?o=e+1:i=e}while(o<i)}return o}}}function y(){return 0}function v(t){return null===t?NaN:+t}let m=d(p),b=m.right;function g(t,e,r){t.prototype=e.prototype=r,r.constructor=t}function x(t,e){var r=Object.create(t.prototype);for(var n in e)r[n]=e[n];return r}function O(){}m.left,d(v).center;var w="\\s*([+-]?\\d+)\\s*",j="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",A="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",S=/^#([0-9a-f]{3,8})$/,P=RegExp(`^rgb\\(${w},${w},${w}\\)$`),E=RegExp(`^rgb\\(${A},${A},${A}\\)$`),k=RegExp(`^rgba\\(${w},${w},${w},${j}\\)$`),_=RegExp(`^rgba\\(${A},${A},${A},${j}\\)$`),T=RegExp(`^hsl\\(${j},${A},${A}\\)$`),M=RegExp(`^hsla\\(${j},${A},${A},${j}\\)$`),C={aliceblue:0xf0f8ff,antiquewhite:0xfaebd7,aqua:65535,aquamarine:8388564,azure:0xf0ffff,beige:0xf5f5dc,bisque:0xffe4c4,black:0,blanchedalmond:0xffebcd,blue:255,blueviolet:9055202,brown:0xa52a2a,burlywood:0xdeb887,cadetblue:6266528,chartreuse:8388352,chocolate:0xd2691e,coral:0xff7f50,cornflowerblue:6591981,cornsilk:0xfff8dc,crimson:0xdc143c,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:0xb8860b,darkgray:0xa9a9a9,darkgreen:25600,darkgrey:0xa9a9a9,darkkhaki:0xbdb76b,darkmagenta:9109643,darkolivegreen:5597999,darkorange:0xff8c00,darkorchid:0x9932cc,darkred:9109504,darksalmon:0xe9967a,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:0xff1493,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:0xb22222,floralwhite:0xfffaf0,forestgreen:2263842,fuchsia:0xff00ff,gainsboro:0xdcdcdc,ghostwhite:0xf8f8ff,gold:0xffd700,goldenrod:0xdaa520,gray:8421504,green:32768,greenyellow:0xadff2f,grey:8421504,honeydew:0xf0fff0,hotpink:0xff69b4,indianred:0xcd5c5c,indigo:4915330,ivory:0xfffff0,khaki:0xf0e68c,lavender:0xe6e6fa,lavenderblush:0xfff0f5,lawngreen:8190976,lemonchiffon:0xfffacd,lightblue:0xadd8e6,lightcoral:0xf08080,lightcyan:0xe0ffff,lightgoldenrodyellow:0xfafad2,lightgray:0xd3d3d3,lightgreen:9498256,lightgrey:0xd3d3d3,lightpink:0xffb6c1,lightsalmon:0xffa07a,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:0xb0c4de,lightyellow:0xffffe0,lime:65280,limegreen:3329330,linen:0xfaf0e6,magenta:0xff00ff,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:0xba55d3,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:0xc71585,midnightblue:1644912,mintcream:0xf5fffa,mistyrose:0xffe4e1,moccasin:0xffe4b5,navajowhite:0xffdead,navy:128,oldlace:0xfdf5e6,olive:8421376,olivedrab:7048739,orange:0xffa500,orangered:0xff4500,orchid:0xda70d6,palegoldenrod:0xeee8aa,palegreen:0x98fb98,paleturquoise:0xafeeee,palevioletred:0xdb7093,papayawhip:0xffefd5,peachpuff:0xffdab9,peru:0xcd853f,pink:0xffc0cb,plum:0xdda0dd,powderblue:0xb0e0e6,purple:8388736,rebeccapurple:6697881,red:0xff0000,rosybrown:0xbc8f8f,royalblue:4286945,saddlebrown:9127187,salmon:0xfa8072,sandybrown:0xf4a460,seagreen:3050327,seashell:0xfff5ee,sienna:0xa0522d,silver:0xc0c0c0,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:0xfffafa,springgreen:65407,steelblue:4620980,tan:0xd2b48c,teal:32896,thistle:0xd8bfd8,tomato:0xff6347,turquoise:4251856,violet:0xee82ee,wheat:0xf5deb3,white:0xffffff,whitesmoke:0xf5f5f5,yellow:0xffff00,yellowgreen:0x9acd32};function I(){return this.rgb().formatHex()}function D(){return this.rgb().formatRgb()}function N(t){var e,r;return t=(t+"").trim().toLowerCase(),(e=S.exec(t))?(r=e[1].length,e=parseInt(e[1],16),6===r?R(e):3===r?new U(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===r?B(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===r?B(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=P.exec(t))?new U(e[1],e[2],e[3],1):(e=E.exec(t))?new U(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=k.exec(t))?B(e[1],e[2],e[3],e[4]):(e=_.exec(t))?B(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=T.exec(t))?X(e[1],e[2]/100,e[3]/100,1):(e=M.exec(t))?X(e[1],e[2]/100,e[3]/100,e[4]):C.hasOwnProperty(t)?R(C[t]):"transparent"===t?new U(NaN,NaN,NaN,0):null}function R(t){return new U(t>>16&255,t>>8&255,255&t,1)}function B(t,e,r,n){return n<=0&&(t=e=r=NaN),new U(t,e,r,n)}function L(t,e,r,n){var o;return 1==arguments.length?((o=t)instanceof O||(o=N(o)),o)?new U((o=o.rgb()).r,o.g,o.b,o.opacity):new U:new U(t,e,r,null==n?1:n)}function U(t,e,r,n){this.r=+t,this.g=+e,this.b=+r,this.opacity=+n}function z(){return`#${q(this.r)}${q(this.g)}${q(this.b)}`}function F(){let t=$(this.opacity);return`${1===t?"rgb(":"rgba("}${W(this.r)}, ${W(this.g)}, ${W(this.b)}${1===t?")":`, ${t})`}`}function $(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function W(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function q(t){return((t=W(t))<16?"0":"")+t.toString(16)}function X(t,e,r,n){return n<=0?t=e=r=NaN:r<=0||r>=1?t=e=NaN:e<=0&&(t=NaN),new K(t,e,r,n)}function H(t){if(t instanceof K)return new K(t.h,t.s,t.l,t.opacity);if(t instanceof O||(t=N(t)),!t)return new K;if(t instanceof K)return t;var e=(t=t.rgb()).r/255,r=t.g/255,n=t.b/255,o=Math.min(e,r,n),i=Math.max(e,r,n),a=NaN,c=i-o,u=(i+o)/2;return c?(a=e===i?(r-n)/c+(r<n)*6:r===i?(n-e)/c+2:(e-r)/c+4,c/=u<.5?i+o:2-i-o,a*=60):c=u>0&&u<1?0:a,new K(a,c,u,t.opacity)}function K(t,e,r,n){this.h=+t,this.s=+e,this.l=+r,this.opacity=+n}function V(t){return(t=(t||0)%360)<0?t+360:t}function G(t){return Math.max(0,Math.min(1,t||0))}function Y(t,e,r){return(t<60?e+(r-e)*t/60:t<180?r:t<240?e+(r-e)*(240-t)/60:e)*255}function J(t,e,r,n,o){var i=t*t,a=i*t;return((1-3*t+3*i-a)*e+(4-6*i+3*a)*r+(1+3*t+3*i-3*a)*n+a*o)/6}g(O,N,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:I,formatHex:I,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return H(this).formatHsl()},formatRgb:D,toString:D}),g(U,L,x(O,{brighter(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new U(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?.7:Math.pow(.7,t),new U(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new U(W(this.r),W(this.g),W(this.b),$(this.opacity))},displayable(){return -.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:z,formatHex:z,formatHex8:function(){return`#${q(this.r)}${q(this.g)}${q(this.b)}${q((isNaN(this.opacity)?1:this.opacity)*255)}`},formatRgb:F,toString:F})),g(K,function(t,e,r,n){return 1==arguments.length?H(t):new K(t,e,r,null==n?1:n)},x(O,{brighter(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new K(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?.7:Math.pow(.7,t),new K(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,e=isNaN(t)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*e,o=2*r-n;return new U(Y(t>=240?t-240:t+120,o,n),Y(t,o,n),Y(t<120?t+240:t-120,o,n),this.opacity)},clamp(){return new K(V(this.h),G(this.s),G(this.l),$(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let t=$(this.opacity);return`${1===t?"hsl(":"hsla("}${V(this.h)}, ${100*G(this.s)}%, ${100*G(this.l)}%${1===t?")":`, ${t})`}`}}));let Z=t=>()=>t;function Q(t,e){var r=e-t;return r?function(e){return t+e*r}:Z(isNaN(t)?e:t)}let tt=function t(e){var r,n=1==(r=+(r=e))?Q:function(t,e){var n,o,i;return e-t?(n=t,o=e,n=Math.pow(n,i=r),o=Math.pow(o,i)-n,i=1/i,function(t){return Math.pow(n+t*o,i)}):Z(isNaN(t)?e:t)};function o(t,e){var r=n((t=L(t)).r,(e=L(e)).r),o=n(t.g,e.g),i=n(t.b,e.b),a=Q(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=o(e),t.b=i(e),t.opacity=a(e),t+""}}return o.gamma=t,o}(1);function te(t){return function(e){var r,n,o=e.length,i=Array(o),a=Array(o),c=Array(o);for(r=0;r<o;++r)n=L(e[r]),i[r]=n.r||0,a[r]=n.g||0,c[r]=n.b||0;return i=t(i),a=t(a),c=t(c),n.opacity=1,function(t){return n.r=i(t),n.g=a(t),n.b=c(t),n+""}}}function tr(t,e){return t=+t,e=+e,function(r){return t*(1-r)+e*r}}te(function(t){var e=t.length-1;return function(r){var n=r<=0?r=0:r>=1?(r=1,e-1):Math.floor(r*e),o=t[n],i=t[n+1],a=n>0?t[n-1]:2*o-i,c=n<e-1?t[n+2]:2*i-o;return J((r-n/e)*e,a,o,i,c)}}),te(function(t){var e=t.length;return function(r){var n=Math.floor(((r%=1)<0?++r:r)*e),o=t[(n+e-1)%e],i=t[n%e],a=t[(n+1)%e],c=t[(n+2)%e];return J((r-n/e)*e,o,i,a,c)}});var tn=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,to=RegExp(tn.source,"g");function ti(t,e){var r,n,o=typeof e;return null==e||"boolean"===o?Z(e):("number"===o?tr:"string"===o?(n=N(e))?(e=n,tt):function(t,e){var r,n,o,i,a,c=tn.lastIndex=to.lastIndex=0,u=-1,l=[],s=[];for(t+="",e+="";(o=tn.exec(t))&&(i=to.exec(e));)(a=i.index)>c&&(a=e.slice(c,a),l[u]?l[u]+=a:l[++u]=a),(o=o[0])===(i=i[0])?l[u]?l[u]+=i:l[++u]=i:(l[++u]=null,s.push({i:u,x:tr(o,i)})),c=to.lastIndex;return c<e.length&&(a=e.slice(c),l[u]?l[u]+=a:l[++u]=a),l.length<2?s[0]?(r=s[0].x,function(t){return r(t)+""}):(n=e,function(){return n}):(e=s.length,function(t){for(var r,n=0;n<e;++n)l[(r=s[n]).i]=r.x(t);return l.join("")})}:e instanceof N?tt:e instanceof Date?function(t,e){var r=new Date;return t=+t,e=+e,function(n){return r.setTime(t*(1-n)+e*n),r}}:!ArrayBuffer.isView(r=e)||r instanceof DataView?Array.isArray(e)?function(t,e){var r,n=e?e.length:0,o=t?Math.min(n,t.length):0,i=Array(o),a=Array(n);for(r=0;r<o;++r)i[r]=ti(t[r],e[r]);for(;r<n;++r)a[r]=e[r];return function(t){for(r=0;r<o;++r)a[r]=i[r](t);return a}}:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?function(t,e){var r,n={},o={};for(r in(null===t||"object"!=typeof t)&&(t={}),(null===e||"object"!=typeof e)&&(e={}),e)r in t?n[r]=ti(t[r],e[r]):o[r]=e[r];return function(t){for(r in n)o[r]=n[r](t);return o}}:tr:function(t,e){e||(e=[]);var r,n=t?Math.min(e.length,t.length):0,o=e.slice();return function(i){for(r=0;r<n;++r)o[r]=t[r]*(1-i)+e[r]*i;return o}})(t,e)}function ta(t,e){return t=+t,e=+e,function(r){return Math.round(t*(1-r)+e*r)}}function tc(t){return+t}var tu=[0,1];function tl(t){return t}function ts(t,e){var r;return(e-=t=+t)?function(r){return(r-t)/e}:(r=isNaN(e)?NaN:.5,function(){return r})}function tf(t,e,r){var n=t[0],o=t[1],i=e[0],a=e[1];return o<n?(n=ts(o,n),i=r(a,i)):(n=ts(n,o),i=r(i,a)),function(t){return i(n(t))}}function tp(t,e,r){var n=Math.min(t.length,e.length)-1,o=Array(n),i=Array(n),a=-1;for(t[n]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++a<n;)o[a]=ts(t[a],t[a+1]),i[a]=r(e[a],e[a+1]);return function(e){var r=b(t,e,1,n)-1;return i[r](o[r](e))}}function th(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function td(){var t,e,r,n,o,i,a=tu,c=tu,u=ti,l=tl;function s(){var t,e,r,u=Math.min(a.length,c.length);return l!==tl&&(t=a[0],e=a[u-1],t>e&&(r=t,t=e,e=r),l=function(r){return Math.max(t,Math.min(e,r))}),n=u>2?tp:tf,o=i=null,f}function f(e){return null==e||isNaN(e=+e)?r:(o||(o=n(a.map(t),c,u)))(t(l(e)))}return f.invert=function(r){return l(e((i||(i=n(c,a.map(t),tr)))(r)))},f.domain=function(t){return arguments.length?(a=Array.from(t,tc),s()):a.slice()},f.range=function(t){return arguments.length?(c=Array.from(t),s()):c.slice()},f.rangeRound=function(t){return c=Array.from(t),u=ta,s()},f.clamp=function(t){return arguments.length?(l=!!t||tl,s()):l!==tl},f.interpolate=function(t){return arguments.length?(u=t,s()):u},f.unknown=function(t){return arguments.length?(r=t,f):r},function(r,n){return t=r,e=n,s()}}function ty(){return td()(tl,tl)}var tv=r(37181),tm=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function tb(t){var e;if(!(e=tm.exec(t)))throw Error("invalid format: "+t);return new tg({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function tg(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function tx(t,e){if((r=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var r,n=t.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+t.slice(r+1)]}function tO(t){return(t=tx(Math.abs(t)))?t[1]:NaN}function tw(t,e){var r=tx(t,e);if(!r)return t+"";var n=r[0],o=r[1];return o<0?"0."+Array(-o).join("0")+n:n.length>o+1?n.slice(0,o+1)+"."+n.slice(o+1):n+Array(o-n.length+2).join("0")}tb.prototype=tg.prototype,tg.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};let tj={"%":(t,e)=>(100*t).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>tw(100*t,e),r:tw,s:function(t,e){var r=tx(t,e);if(!r)return t+"";var n=r[0],o=r[1],i=o-(r0=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,a=n.length;return i===a?n:i>a?n+Array(i-a+1).join("0"):i>0?n.slice(0,i)+"."+n.slice(i):"0."+Array(1-i).join("0")+tx(t,Math.max(0,e+i-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function tA(t){return t}var tS=Array.prototype.map,tP=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function tE(t,e,r,n){var o,i,a=f(t,e,r);switch((n=tb(null==n?",f":n)).type){case"s":var c=Math.max(Math.abs(t),Math.abs(e));return null!=n.precision||isNaN(i=Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(tO(c)/3)))-tO(Math.abs(a))))||(n.precision=i),r3(n,c);case"":case"e":case"g":case"p":case"r":null!=n.precision||isNaN(i=Math.max(0,tO(Math.abs(Math.max(Math.abs(t),Math.abs(e)))-(o=Math.abs(o=a)))-tO(o))+1)||(n.precision=i-("e"===n.type));break;case"f":case"%":null!=n.precision||isNaN(i=Math.max(0,-tO(Math.abs(a))))||(n.precision=i-("%"===n.type)*2)}return r2(n)}function tk(t){var e=t.domain;return t.ticks=function(t){var r=e();return l(r[0],r[r.length-1],null==t?10:t)},t.tickFormat=function(t,r){var n=e();return tE(n[0],n[n.length-1],null==t?10:t,r)},t.nice=function(r){null==r&&(r=10);var n,o,i=e(),a=0,c=i.length-1,u=i[a],l=i[c],f=10;for(l<u&&(o=u,u=l,l=o,o=a,a=c,c=o);f-- >0;){if((o=s(u,l,r))===n)return i[a]=u,i[c]=l,e(i);if(o>0)u=Math.floor(u/o)*o,l=Math.ceil(l/o)*o;else if(o<0)u=Math.ceil(u*o)/o,l=Math.floor(l*o)/o;else break;n=o}return t},t}function t_(){var t=ty();return t.copy=function(){return th(t,t_())},tv.C.apply(t,arguments),tk(t)}function tT(t,e){t=t.slice();var r,n=0,o=t.length-1,i=t[n],a=t[o];return a<i&&(r=n,n=o,o=r,r=i,i=a,a=r),t[n]=e.floor(i),t[o]=e.ceil(a),t}function tM(t){return Math.log(t)}function tC(t){return Math.exp(t)}function tI(t){return-Math.log(-t)}function tD(t){return-Math.exp(-t)}function tN(t){return isFinite(t)?+("1e"+t):t<0?0:t}function tR(t){return(e,r)=>-t(-e,r)}function tB(t){let e,r;let n=t(tM,tC),o=n.domain,i=10;function a(){var a,c;return e=(a=i)===Math.E?Math.log:10===a&&Math.log10||2===a&&Math.log2||(a=Math.log(a),t=>Math.log(t)/a),r=10===(c=i)?tN:c===Math.E?Math.exp:t=>Math.pow(c,t),o()[0]<0?(e=tR(e),r=tR(r),t(tI,tD)):t(tM,tC),n}return n.base=function(t){return arguments.length?(i=+t,a()):i},n.domain=function(t){return arguments.length?(o(t),a()):o()},n.ticks=t=>{let n,a;let c=o(),u=c[0],s=c[c.length-1],f=s<u;f&&([u,s]=[s,u]);let p=e(u),h=e(s),d=null==t?10:+t,y=[];if(!(i%1)&&h-p<d){if(p=Math.floor(p),h=Math.ceil(h),u>0){for(;p<=h;++p)for(n=1;n<i;++n)if(!((a=p<0?n/r(-p):n*r(p))<u)){if(a>s)break;y.push(a)}}else for(;p<=h;++p)for(n=i-1;n>=1;--n)if(!((a=p>0?n/r(-p):n*r(p))<u)){if(a>s)break;y.push(a)}2*y.length<d&&(y=l(u,s,d))}else y=l(p,h,Math.min(h-p,d)).map(r);return f?y.reverse():y},n.tickFormat=(t,o)=>{if(null==t&&(t=10),null==o&&(o=10===i?"s":","),"function"!=typeof o&&(i%1||null!=(o=tb(o)).precision||(o.trim=!0),o=r2(o)),t===1/0)return o;let a=Math.max(1,i*t/n.ticks().length);return t=>{let n=t/r(Math.round(e(t)));return n*i<i-.5&&(n*=i),n<=a?o(t):""}},n.nice=()=>o(tT(o(),{floor:t=>r(Math.floor(e(t))),ceil:t=>r(Math.ceil(e(t)))})),n}function tL(t){return function(e){return Math.sign(e)*Math.log1p(Math.abs(e/t))}}function tU(t){return function(e){return Math.sign(e)*Math.expm1(Math.abs(e))*t}}function tz(t){var e=1,r=t(tL(1),tU(e));return r.constant=function(r){return arguments.length?t(tL(e=+r),tU(e)):e},tk(r)}r2=(r1=function(t){var e,r,n,o=void 0===t.grouping||void 0===t.thousands?tA:(e=tS.call(t.grouping,Number),r=t.thousands+"",function(t,n){for(var o=t.length,i=[],a=0,c=e[0],u=0;o>0&&c>0&&(u+c+1>n&&(c=Math.max(1,n-u)),i.push(t.substring(o-=c,o+c)),!((u+=c+1)>n));)c=e[a=(a+1)%e.length];return i.reverse().join(r)}),i=void 0===t.currency?"":t.currency[0]+"",a=void 0===t.currency?"":t.currency[1]+"",c=void 0===t.decimal?".":t.decimal+"",u=void 0===t.numerals?tA:(n=tS.call(t.numerals,String),function(t){return t.replace(/[0-9]/g,function(t){return n[+t]})}),l=void 0===t.percent?"%":t.percent+"",s=void 0===t.minus?"−":t.minus+"",f=void 0===t.nan?"NaN":t.nan+"";function p(t){var e=(t=tb(t)).fill,r=t.align,n=t.sign,p=t.symbol,h=t.zero,d=t.width,y=t.comma,v=t.precision,m=t.trim,b=t.type;"n"===b?(y=!0,b="g"):tj[b]||(void 0===v&&(v=12),m=!0,b="g"),(h||"0"===e&&"="===r)&&(h=!0,e="0",r="=");var g="$"===p?i:"#"===p&&/[boxX]/.test(b)?"0"+b.toLowerCase():"",x="$"===p?a:/[%p]/.test(b)?l:"",O=tj[b],w=/[defgprs%]/.test(b);function j(t){var i,a,l,p=g,j=x;if("c"===b)j=O(t)+j,t="";else{var A=(t=+t)<0||1/t<0;if(t=isNaN(t)?f:O(Math.abs(t),v),m&&(t=function(t){e:for(var e,r=t.length,n=1,o=-1;n<r;++n)switch(t[n]){case".":o=e=n;break;case"0":0===o&&(o=n),e=n;break;default:if(!+t[n])break e;o>0&&(o=0)}return o>0?t.slice(0,o)+t.slice(e+1):t}(t)),A&&0==+t&&"+"!==n&&(A=!1),p=(A?"("===n?n:s:"-"===n||"("===n?"":n)+p,j=("s"===b?tP[8+r0/3]:"")+j+(A&&"("===n?")":""),w){for(i=-1,a=t.length;++i<a;)if(48>(l=t.charCodeAt(i))||l>57){j=(46===l?c+t.slice(i+1):t.slice(i))+j,t=t.slice(0,i);break}}}y&&!h&&(t=o(t,1/0));var S=p.length+t.length+j.length,P=S<d?Array(d-S+1).join(e):"";switch(y&&h&&(t=o(P+t,P.length?d-j.length:1/0),P=""),r){case"<":t=p+t+j+P;break;case"=":t=p+P+t+j;break;case"^":t=P.slice(0,S=P.length>>1)+p+t+j+P.slice(S);break;default:t=P+p+t+j}return u(t)}return v=void 0===v?6:/[gprs]/.test(b)?Math.max(1,Math.min(21,v)):Math.max(0,Math.min(20,v)),j.toString=function(){return t+""},j}return{format:p,formatPrefix:function(t,e){var r=p(((t=tb(t)).type="f",t)),n=3*Math.max(-8,Math.min(8,Math.floor(tO(e)/3))),o=Math.pow(10,-n),i=tP[8+n/3];return function(t){return r(o*t)+i}}}}({thousands:",",grouping:[3],currency:["$",""]})).format,r3=r1.formatPrefix;var tF=r(14589);function t$(t){return function(e){return e<0?-Math.pow(-e,t):Math.pow(e,t)}}function tW(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function tq(t){return t<0?-t*t:t*t}function tX(t){var e=t(tl,tl),r=1;return e.exponent=function(e){return arguments.length?1==(r=+e)?t(tl,tl):.5===r?t(tW,tq):t(t$(r),t$(1/r)):r},tk(e)}function tH(){var t=tX(td());return t.copy=function(){return th(t,tH()).exponent(t.exponent())},tv.C.apply(t,arguments),t}function tK(){return tH.apply(null,arguments).exponent(.5)}function tV(t){return Math.sign(t)*t*t}function tG(t,e){let r;if(void 0===e)for(let e of t)null!=e&&(r<e||void 0===r&&e>=e)&&(r=e);else{let n=-1;for(let o of t)null!=(o=e(o,++n,t))&&(r<o||void 0===r&&o>=o)&&(r=o)}return r}function tY(t,e){let r;if(void 0===e)for(let e of t)null!=e&&(r>e||void 0===r&&e>=e)&&(r=e);else{let n=-1;for(let o of t)null!=(o=e(o,++n,t))&&(r>o||void 0===r&&o>=o)&&(r=o)}return r}function tJ(t,e){return(null==t||!(t>=t))-(null==e||!(e>=e))||(t<e?-1:t>e?1:0)}function tZ(t,e,r){let n=t[e];t[e]=t[r],t[r]=n}let tQ=new Date,t0=new Date;function t1(t,e,r,n){function o(e){return t(e=0==arguments.length?new Date:new Date(+e)),e}return o.floor=e=>(t(e=new Date(+e)),e),o.ceil=r=>(t(r=new Date(r-1)),e(r,1),t(r),r),o.round=t=>{let e=o(t),r=o.ceil(t);return t-e<r-t?e:r},o.offset=(t,r)=>(e(t=new Date(+t),null==r?1:Math.floor(r)),t),o.range=(r,n,i)=>{let a;let c=[];if(r=o.ceil(r),i=null==i?1:Math.floor(i),!(r<n)||!(i>0))return c;do c.push(a=new Date(+r)),e(r,i),t(r);while(a<r&&r<n);return c},o.filter=r=>t1(e=>{if(e>=e)for(;t(e),!r(e);)e.setTime(e-1)},(t,n)=>{if(t>=t){if(n<0)for(;++n<=0;)for(;e(t,-1),!r(t););else for(;--n>=0;)for(;e(t,1),!r(t););}}),r&&(o.count=(e,n)=>(tQ.setTime(+e),t0.setTime(+n),t(tQ),t(t0),Math.floor(r(tQ,t0))),o.every=t=>isFinite(t=Math.floor(t))&&t>0?t>1?o.filter(n?e=>n(e)%t==0:e=>o.count(0,e)%t==0):o:null),o}let t2=t1(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);t2.every=t=>isFinite(t=Math.floor(t))&&t>0?t>1?t1(e=>{e.setTime(Math.floor(e/t)*t)},(e,r)=>{e.setTime(+e+r*t)},(e,r)=>(r-e)/t):t2:null,t2.range;let t3=t1(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+1e3*e)},(t,e)=>(e-t)/1e3,t=>t.getUTCSeconds());t3.range;let t5=t1(t=>{t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds())},(t,e)=>{t.setTime(+t+6e4*e)},(t,e)=>(e-t)/6e4,t=>t.getMinutes());t5.range;let t8=t1(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+6e4*e)},(t,e)=>(e-t)/6e4,t=>t.getUTCMinutes());t8.range;let t6=t1(t=>{t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds()-6e4*t.getMinutes())},(t,e)=>{t.setTime(+t+36e5*e)},(t,e)=>(e-t)/36e5,t=>t.getHours());t6.range;let t7=t1(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+36e5*e)},(t,e)=>(e-t)/36e5,t=>t.getUTCHours());t7.range;let t9=t1(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*6e4)/864e5,t=>t.getDate()-1);t9.range;let t4=t1(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/864e5,t=>t.getUTCDate()-1);t4.range;let et=t1(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/864e5,t=>Math.floor(t/864e5));function ee(t){return t1(e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},(t,e)=>{t.setDate(t.getDate()+7*e)},(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*6e4)/6048e5)}et.range;let er=ee(0),en=ee(1),eo=ee(2),ei=ee(3),ea=ee(4),ec=ee(5),eu=ee(6);function el(t){return t1(e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+7*e)},(t,e)=>(e-t)/6048e5)}er.range,en.range,eo.range,ei.range,ea.range,ec.range,eu.range;let es=el(0),ef=el(1),ep=el(2),eh=el(3),ed=el(4),ey=el(5),ev=el(6);es.range,ef.range,ep.range,eh.range,ed.range,ey.range,ev.range;let em=t1(t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,e)=>{t.setMonth(t.getMonth()+e)},(t,e)=>e.getMonth()-t.getMonth()+(e.getFullYear()-t.getFullYear())*12,t=>t.getMonth());em.range;let eb=t1(t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)},(t,e)=>e.getUTCMonth()-t.getUTCMonth()+(e.getUTCFullYear()-t.getUTCFullYear())*12,t=>t.getUTCMonth());eb.range;let eg=t1(t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,e)=>{t.setFullYear(t.getFullYear()+e)},(t,e)=>e.getFullYear()-t.getFullYear(),t=>t.getFullYear());eg.every=t=>isFinite(t=Math.floor(t))&&t>0?t1(e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},(e,r)=>{e.setFullYear(e.getFullYear()+r*t)}):null,eg.range;let ex=t1(t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)},(t,e)=>e.getUTCFullYear()-t.getUTCFullYear(),t=>t.getUTCFullYear());function eO(t,e,r,n,o,i){let a=[[t3,1,1e3],[t3,5,5e3],[t3,15,15e3],[t3,30,3e4],[i,1,6e4],[i,5,3e5],[i,15,9e5],[i,30,18e5],[o,1,36e5],[o,3,108e5],[o,6,216e5],[o,12,432e5],[n,1,864e5],[n,2,1728e5],[r,1,6048e5],[e,1,2592e6],[e,3,7776e6],[t,1,31536e6]];function c(e,r,n){let o=Math.abs(r-e)/n,i=d(([,,t])=>t).right(a,o);if(i===a.length)return t.every(f(e/31536e6,r/31536e6,n));if(0===i)return t2.every(Math.max(f(e,r,n),1));let[c,u]=a[o/a[i-1][2]<a[i][2]/o?i-1:i];return c.every(u)}return[function(t,e,r){let n=e<t;n&&([t,e]=[e,t]);let o=r&&"function"==typeof r.range?r:c(t,e,r),i=o?o.range(t,+e+1):[];return n?i.reverse():i},c]}ex.every=t=>isFinite(t=Math.floor(t))&&t>0?t1(e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,r)=>{e.setUTCFullYear(e.getUTCFullYear()+r*t)}):null,ex.range;let[ew,ej]=eO(ex,eb,es,et,t7,t8),[eA,eS]=eO(eg,em,er,t9,t6,t5);function eP(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function eE(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function ek(t,e,r){return{y:t,m:e,d:r,H:0,M:0,S:0,L:0}}var e_={"-":"",_:" ",0:"0"},eT=/^\s*\d+/,eM=/^%/,eC=/[\\^$*+?|[\]().{}]/g;function eI(t,e,r){var n=t<0?"-":"",o=(n?-t:t)+"",i=o.length;return n+(i<r?Array(r-i+1).join(e)+o:o)}function eD(t){return t.replace(eC,"\\$&")}function eN(t){return RegExp("^(?:"+t.map(eD).join("|")+")","i")}function eR(t){return new Map(t.map((t,e)=>[t.toLowerCase(),e]))}function eB(t,e,r){var n=eT.exec(e.slice(r,r+1));return n?(t.w=+n[0],r+n[0].length):-1}function eL(t,e,r){var n=eT.exec(e.slice(r,r+1));return n?(t.u=+n[0],r+n[0].length):-1}function eU(t,e,r){var n=eT.exec(e.slice(r,r+2));return n?(t.U=+n[0],r+n[0].length):-1}function ez(t,e,r){var n=eT.exec(e.slice(r,r+2));return n?(t.V=+n[0],r+n[0].length):-1}function eF(t,e,r){var n=eT.exec(e.slice(r,r+2));return n?(t.W=+n[0],r+n[0].length):-1}function e$(t,e,r){var n=eT.exec(e.slice(r,r+4));return n?(t.y=+n[0],r+n[0].length):-1}function eW(t,e,r){var n=eT.exec(e.slice(r,r+2));return n?(t.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function eq(t,e,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(r,r+6));return n?(t.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function eX(t,e,r){var n=eT.exec(e.slice(r,r+1));return n?(t.q=3*n[0]-3,r+n[0].length):-1}function eH(t,e,r){var n=eT.exec(e.slice(r,r+2));return n?(t.m=n[0]-1,r+n[0].length):-1}function eK(t,e,r){var n=eT.exec(e.slice(r,r+2));return n?(t.d=+n[0],r+n[0].length):-1}function eV(t,e,r){var n=eT.exec(e.slice(r,r+3));return n?(t.m=0,t.d=+n[0],r+n[0].length):-1}function eG(t,e,r){var n=eT.exec(e.slice(r,r+2));return n?(t.H=+n[0],r+n[0].length):-1}function eY(t,e,r){var n=eT.exec(e.slice(r,r+2));return n?(t.M=+n[0],r+n[0].length):-1}function eJ(t,e,r){var n=eT.exec(e.slice(r,r+2));return n?(t.S=+n[0],r+n[0].length):-1}function eZ(t,e,r){var n=eT.exec(e.slice(r,r+3));return n?(t.L=+n[0],r+n[0].length):-1}function eQ(t,e,r){var n=eT.exec(e.slice(r,r+6));return n?(t.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function e0(t,e,r){var n=eM.exec(e.slice(r,r+1));return n?r+n[0].length:-1}function e1(t,e,r){var n=eT.exec(e.slice(r));return n?(t.Q=+n[0],r+n[0].length):-1}function e2(t,e,r){var n=eT.exec(e.slice(r));return n?(t.s=+n[0],r+n[0].length):-1}function e3(t,e){return eI(t.getDate(),e,2)}function e5(t,e){return eI(t.getHours(),e,2)}function e8(t,e){return eI(t.getHours()%12||12,e,2)}function e6(t,e){return eI(1+t9.count(eg(t),t),e,3)}function e7(t,e){return eI(t.getMilliseconds(),e,3)}function e9(t,e){return e7(t,e)+"000"}function e4(t,e){return eI(t.getMonth()+1,e,2)}function rt(t,e){return eI(t.getMinutes(),e,2)}function re(t,e){return eI(t.getSeconds(),e,2)}function rr(t){var e=t.getDay();return 0===e?7:e}function rn(t,e){return eI(er.count(eg(t)-1,t),e,2)}function ro(t){var e=t.getDay();return e>=4||0===e?ea(t):ea.ceil(t)}function ri(t,e){return t=ro(t),eI(ea.count(eg(t),t)+(4===eg(t).getDay()),e,2)}function ra(t){return t.getDay()}function rc(t,e){return eI(en.count(eg(t)-1,t),e,2)}function ru(t,e){return eI(t.getFullYear()%100,e,2)}function rl(t,e){return eI((t=ro(t)).getFullYear()%100,e,2)}function rs(t,e){return eI(t.getFullYear()%1e4,e,4)}function rf(t,e){var r=t.getDay();return eI((t=r>=4||0===r?ea(t):ea.ceil(t)).getFullYear()%1e4,e,4)}function rp(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+eI(e/60|0,"0",2)+eI(e%60,"0",2)}function rh(t,e){return eI(t.getUTCDate(),e,2)}function rd(t,e){return eI(t.getUTCHours(),e,2)}function ry(t,e){return eI(t.getUTCHours()%12||12,e,2)}function rv(t,e){return eI(1+t4.count(ex(t),t),e,3)}function rm(t,e){return eI(t.getUTCMilliseconds(),e,3)}function rb(t,e){return rm(t,e)+"000"}function rg(t,e){return eI(t.getUTCMonth()+1,e,2)}function rx(t,e){return eI(t.getUTCMinutes(),e,2)}function rO(t,e){return eI(t.getUTCSeconds(),e,2)}function rw(t){var e=t.getUTCDay();return 0===e?7:e}function rj(t,e){return eI(es.count(ex(t)-1,t),e,2)}function rA(t){var e=t.getUTCDay();return e>=4||0===e?ed(t):ed.ceil(t)}function rS(t,e){return t=rA(t),eI(ed.count(ex(t),t)+(4===ex(t).getUTCDay()),e,2)}function rP(t){return t.getUTCDay()}function rE(t,e){return eI(ef.count(ex(t)-1,t),e,2)}function rk(t,e){return eI(t.getUTCFullYear()%100,e,2)}function r_(t,e){return eI((t=rA(t)).getUTCFullYear()%100,e,2)}function rT(t,e){return eI(t.getUTCFullYear()%1e4,e,4)}function rM(t,e){var r=t.getUTCDay();return eI((t=r>=4||0===r?ed(t):ed.ceil(t)).getUTCFullYear()%1e4,e,4)}function rC(){return"+0000"}function rI(){return"%"}function rD(t){return+t}function rN(t){return Math.floor(+t/1e3)}function rR(t){return new Date(t)}function rB(t){return t instanceof Date?+t:+new Date(+t)}function rL(t,e,r,n,o,i,a,c,u,l){var s=ty(),f=s.invert,p=s.domain,h=l(".%L"),d=l(":%S"),y=l("%I:%M"),v=l("%I %p"),m=l("%a %d"),b=l("%b %d"),g=l("%B"),x=l("%Y");function O(t){return(u(t)<t?h:c(t)<t?d:a(t)<t?y:i(t)<t?v:n(t)<t?o(t)<t?m:b:r(t)<t?g:x)(t)}return s.invert=function(t){return new Date(f(t))},s.domain=function(t){return arguments.length?p(Array.from(t,rB)):p().map(rR)},s.ticks=function(e){var r=p();return t(r[0],r[r.length-1],null==e?10:e)},s.tickFormat=function(t,e){return null==e?O:l(e)},s.nice=function(t){var r=p();return t&&"function"==typeof t.range||(t=e(r[0],r[r.length-1],null==t?10:t)),t?p(tT(r,t)):s},s.copy=function(){return th(s,rL(t,e,r,n,o,i,a,c,u,l))},s}function rU(){return tv.C.apply(rL(eA,eS,eg,em,er,t9,t6,t5,t3,r8).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function rz(){return tv.C.apply(rL(ew,ej,ex,eb,es,t4,t7,t8,t3,r6).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function rF(){var t,e,r,n,o,i=0,a=1,c=tl,u=!1;function l(e){return null==e||isNaN(e=+e)?o:c(0===r?.5:(e=(n(e)-t)*r,u?Math.max(0,Math.min(1,e)):e))}function s(t){return function(e){var r,n;return arguments.length?([r,n]=e,c=t(r,n),l):[c(0),c(1)]}}return l.domain=function(o){return arguments.length?([i,a]=o,t=n(i=+i),e=n(a=+a),r=t===e?0:1/(e-t),l):[i,a]},l.clamp=function(t){return arguments.length?(u=!!t,l):u},l.interpolator=function(t){return arguments.length?(c=t,l):c},l.range=s(ti),l.rangeRound=s(ta),l.unknown=function(t){return arguments.length?(o=t,l):o},function(o){return n=o,t=o(i),e=o(a),r=t===e?0:1/(e-t),l}}function r$(t,e){return e.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function rW(){var t=tX(rF());return t.copy=function(){return r$(t,rW()).exponent(t.exponent())},tv.K.apply(t,arguments)}function rq(){return rW.apply(null,arguments).exponent(.5)}function rX(){var t,e,r,n,o,i,a,c=0,u=.5,l=1,s=1,f=tl,p=!1;function h(t){return isNaN(t=+t)?a:(t=.5+((t=+i(t))-e)*(s*t<s*e?n:o),f(p?Math.max(0,Math.min(1,t)):t))}function d(t){return function(e){var r,n,o;return arguments.length?([r,n,o]=e,f=function(t,e){void 0===e&&(e=t,t=ti);for(var r=0,n=e.length-1,o=e[0],i=Array(n<0?0:n);r<n;)i[r]=t(o,o=e[++r]);return function(t){var e=Math.max(0,Math.min(n-1,Math.floor(t*=n)));return i[e](t-e)}}(t,[r,n,o]),h):[f(0),f(.5),f(1)]}}return h.domain=function(a){return arguments.length?([c,u,l]=a,t=i(c=+c),e=i(u=+u),r=i(l=+l),n=t===e?0:.5/(e-t),o=e===r?0:.5/(r-e),s=e<t?-1:1,h):[c,u,l]},h.clamp=function(t){return arguments.length?(p=!!t,h):p},h.interpolator=function(t){return arguments.length?(f=t,h):f},h.range=d(ti),h.rangeRound=d(ta),h.unknown=function(t){return arguments.length?(a=t,h):a},function(a){return i=a,t=a(c),e=a(u),r=a(l),n=t===e?0:.5/(e-t),o=e===r?0:.5/(r-e),s=e<t?-1:1,h}}function rH(){var t=tX(rX());return t.copy=function(){return r$(t,rH()).exponent(t.exponent())},tv.K.apply(t,arguments)}function rK(){return rH.apply(null,arguments).exponent(.5)}function rV(t,e){if((o=t.length)>1)for(var r,n,o,i=1,a=t[e[0]],c=a.length;i<o;++i)for(n=a,a=t[e[i]],r=0;r<c;++r)a[r][1]+=a[r][0]=isNaN(n[r][1])?n[r][0]:n[r][1]}r8=(r5=function(t){var e=t.dateTime,r=t.date,n=t.time,o=t.periods,i=t.days,a=t.shortDays,c=t.months,u=t.shortMonths,l=eN(o),s=eR(o),f=eN(i),p=eR(i),h=eN(a),d=eR(a),y=eN(c),v=eR(c),m=eN(u),b=eR(u),g={a:function(t){return a[t.getDay()]},A:function(t){return i[t.getDay()]},b:function(t){return u[t.getMonth()]},B:function(t){return c[t.getMonth()]},c:null,d:e3,e:e3,f:e9,g:rl,G:rf,H:e5,I:e8,j:e6,L:e7,m:e4,M:rt,p:function(t){return o[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:rD,s:rN,S:re,u:rr,U:rn,V:ri,w:ra,W:rc,x:null,X:null,y:ru,Y:rs,Z:rp,"%":rI},x={a:function(t){return a[t.getUTCDay()]},A:function(t){return i[t.getUTCDay()]},b:function(t){return u[t.getUTCMonth()]},B:function(t){return c[t.getUTCMonth()]},c:null,d:rh,e:rh,f:rb,g:r_,G:rM,H:rd,I:ry,j:rv,L:rm,m:rg,M:rx,p:function(t){return o[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:rD,s:rN,S:rO,u:rw,U:rj,V:rS,w:rP,W:rE,x:null,X:null,y:rk,Y:rT,Z:rC,"%":rI},O={a:function(t,e,r){var n=h.exec(e.slice(r));return n?(t.w=d.get(n[0].toLowerCase()),r+n[0].length):-1},A:function(t,e,r){var n=f.exec(e.slice(r));return n?(t.w=p.get(n[0].toLowerCase()),r+n[0].length):-1},b:function(t,e,r){var n=m.exec(e.slice(r));return n?(t.m=b.get(n[0].toLowerCase()),r+n[0].length):-1},B:function(t,e,r){var n=y.exec(e.slice(r));return n?(t.m=v.get(n[0].toLowerCase()),r+n[0].length):-1},c:function(t,r,n){return A(t,e,r,n)},d:eK,e:eK,f:eQ,g:eW,G:e$,H:eG,I:eG,j:eV,L:eZ,m:eH,M:eY,p:function(t,e,r){var n=l.exec(e.slice(r));return n?(t.p=s.get(n[0].toLowerCase()),r+n[0].length):-1},q:eX,Q:e1,s:e2,S:eJ,u:eL,U:eU,V:ez,w:eB,W:eF,x:function(t,e,n){return A(t,r,e,n)},X:function(t,e,r){return A(t,n,e,r)},y:eW,Y:e$,Z:eq,"%":e0};function w(t,e){return function(r){var n,o,i,a=[],c=-1,u=0,l=t.length;for(r instanceof Date||(r=new Date(+r));++c<l;)37===t.charCodeAt(c)&&(a.push(t.slice(u,c)),null!=(o=e_[n=t.charAt(++c)])?n=t.charAt(++c):o="e"===n?" ":"0",(i=e[n])&&(n=i(r,o)),a.push(n),u=c+1);return a.push(t.slice(u,c)),a.join("")}}function j(t,e){return function(r){var n,o,i=ek(1900,void 0,1);if(A(i,t,r+="",0)!=r.length)return null;if("Q"in i)return new Date(i.Q);if("s"in i)return new Date(1e3*i.s+("L"in i?i.L:0));if(!e||"Z"in i||(i.Z=0),"p"in i&&(i.H=i.H%12+12*i.p),void 0===i.m&&(i.m="q"in i?i.q:0),"V"in i){if(i.V<1||i.V>53)return null;"w"in i||(i.w=1),"Z"in i?(n=(o=(n=eE(ek(i.y,0,1))).getUTCDay())>4||0===o?ef.ceil(n):ef(n),n=t4.offset(n,(i.V-1)*7),i.y=n.getUTCFullYear(),i.m=n.getUTCMonth(),i.d=n.getUTCDate()+(i.w+6)%7):(n=(o=(n=eP(ek(i.y,0,1))).getDay())>4||0===o?en.ceil(n):en(n),n=t9.offset(n,(i.V-1)*7),i.y=n.getFullYear(),i.m=n.getMonth(),i.d=n.getDate()+(i.w+6)%7)}else("W"in i||"U"in i)&&("w"in i||(i.w="u"in i?i.u%7:"W"in i?1:0),o="Z"in i?eE(ek(i.y,0,1)).getUTCDay():eP(ek(i.y,0,1)).getDay(),i.m=0,i.d="W"in i?(i.w+6)%7+7*i.W-(o+5)%7:i.w+7*i.U-(o+6)%7);return"Z"in i?(i.H+=i.Z/100|0,i.M+=i.Z%100,eE(i)):eP(i)}}function A(t,e,r,n){for(var o,i,a=0,c=e.length,u=r.length;a<c;){if(n>=u)return -1;if(37===(o=e.charCodeAt(a++))){if(!(i=O[(o=e.charAt(a++))in e_?e.charAt(a++):o])||(n=i(t,r,n))<0)return -1}else if(o!=r.charCodeAt(n++))return -1}return n}return g.x=w(r,g),g.X=w(n,g),g.c=w(e,g),x.x=w(r,x),x.X=w(n,x),x.c=w(e,x),{format:function(t){var e=w(t+="",g);return e.toString=function(){return t},e},parse:function(t){var e=j(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=w(t+="",x);return e.toString=function(){return t},e},utcParse:function(t){var e=j(t+="",!0);return e.toString=function(){return t},e}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]})).format,r5.parse,r6=r5.utcFormat,r5.utcParse;var rG=r(59411),rY=r(10044);function rJ(t){for(var e=t.length,r=Array(e);--e>=0;)r[e]=e;return r}function rZ(t,e){return t[e]}function rQ(t){let e=[];return e.key=t,e}var r0,r1,r2,r3,r5,r8,r6,r7,r9,r4=r(93829),nt=r.n(r4),ne=r(69019),nr=r.n(ne),nn=r(76256),no=r.n(nn),ni=r(38207),na=r.n(ni),nc=r(52202),nu=r.n(nc),nl=r(90171),ns=r.n(nl),nf=r(39112),np=r.n(nf),nh=r(12590),nd=r.n(nh),ny=r(28649),nv=r.n(ny),nm=r(75759),nb=r.n(nm),ng=r(89922),nx=r.n(ng),nO=!0,nw="[DecimalError] ",nj=nw+"Invalid argument: ",nA=nw+"Exponent out of range: ",nS=Math.floor,nP=Math.pow,nE=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,nk=nS(1286742750677284.5),n_={};function nT(t,e){var r,n,o,i,a,c,u,l,s=t.constructor,f=s.precision;if(!t.s||!e.s)return e.s||(e=new s(t)),nO?nz(e,f):e;if(u=t.d,l=e.d,a=t.e,o=e.e,u=u.slice(),i=a-o){for(i<0?(n=u,i=-i,c=l.length):(n=l,o=a,c=u.length),i>(c=(a=Math.ceil(f/7))>c?a+1:c+1)&&(i=c,n.length=1),n.reverse();i--;)n.push(0);n.reverse()}for((c=u.length)-(i=l.length)<0&&(i=c,n=l,l=u,u=n),r=0;i;)r=(u[--i]=u[i]+l[i]+r)/1e7|0,u[i]%=1e7;for(r&&(u.unshift(r),++o),c=u.length;0==u[--c];)u.pop();return e.d=u,e.e=o,nO?nz(e,f):e}function nM(t,e,r){if(t!==~~t||t<e||t>r)throw Error(nj+t)}function nC(t){var e,r,n,o=t.length-1,i="",a=t[0];if(o>0){for(i+=a,e=1;e<o;e++)(r=7-(n=t[e]+"").length)&&(i+=nB(r)),i+=n;(r=7-(n=(a=t[e])+"").length)&&(i+=nB(r))}else if(0===a)return"0";for(;a%10==0;)a/=10;return i+a}n_.absoluteValue=n_.abs=function(){var t=new this.constructor(this);return t.s&&(t.s=1),t},n_.comparedTo=n_.cmp=function(t){var e,r,n,o;if(t=new this.constructor(t),this.s!==t.s)return this.s||-t.s;if(this.e!==t.e)return this.e>t.e^this.s<0?1:-1;for(e=0,r=(n=this.d.length)<(o=t.d.length)?n:o;e<r;++e)if(this.d[e]!==t.d[e])return this.d[e]>t.d[e]^this.s<0?1:-1;return n===o?0:n>o^this.s<0?1:-1},n_.decimalPlaces=n_.dp=function(){var t=this.d.length-1,e=(t-this.e)*7;if(t=this.d[t])for(;t%10==0;t/=10)e--;return e<0?0:e},n_.dividedBy=n_.div=function(t){return nI(this,new this.constructor(t))},n_.dividedToIntegerBy=n_.idiv=function(t){var e=this.constructor;return nz(nI(this,new e(t),0,1),e.precision)},n_.equals=n_.eq=function(t){return!this.cmp(t)},n_.exponent=function(){return nN(this)},n_.greaterThan=n_.gt=function(t){return this.cmp(t)>0},n_.greaterThanOrEqualTo=n_.gte=function(t){return this.cmp(t)>=0},n_.isInteger=n_.isint=function(){return this.e>this.d.length-2},n_.isNegative=n_.isneg=function(){return this.s<0},n_.isPositive=n_.ispos=function(){return this.s>0},n_.isZero=function(){return 0===this.s},n_.lessThan=n_.lt=function(t){return 0>this.cmp(t)},n_.lessThanOrEqualTo=n_.lte=function(t){return 1>this.cmp(t)},n_.logarithm=n_.log=function(t){var e,r=this.constructor,n=r.precision,o=n+5;if(void 0===t)t=new r(10);else if((t=new r(t)).s<1||t.eq(r9))throw Error(nw+"NaN");if(this.s<1)throw Error(nw+(this.s?"NaN":"-Infinity"));return this.eq(r9)?new r(0):(nO=!1,e=nI(nL(this,o),nL(t,o),o),nO=!0,nz(e,n))},n_.minus=n_.sub=function(t){return t=new this.constructor(t),this.s==t.s?nF(this,t):nT(this,(t.s=-t.s,t))},n_.modulo=n_.mod=function(t){var e,r=this.constructor,n=r.precision;if(!(t=new r(t)).s)throw Error(nw+"NaN");return this.s?(nO=!1,e=nI(this,t,0,1).times(t),nO=!0,this.minus(e)):nz(new r(this),n)},n_.naturalExponential=n_.exp=function(){return nD(this)},n_.naturalLogarithm=n_.ln=function(){return nL(this)},n_.negated=n_.neg=function(){var t=new this.constructor(this);return t.s=-t.s||0,t},n_.plus=n_.add=function(t){return t=new this.constructor(t),this.s==t.s?nT(this,t):nF(this,(t.s=-t.s,t))},n_.precision=n_.sd=function(t){var e,r,n;if(void 0!==t&&!!t!==t&&1!==t&&0!==t)throw Error(nj+t);if(e=nN(this)+1,r=7*(n=this.d.length-1)+1,n=this.d[n]){for(;n%10==0;n/=10)r--;for(n=this.d[0];n>=10;n/=10)r++}return t&&e>r?e:r},n_.squareRoot=n_.sqrt=function(){var t,e,r,n,o,i,a,c=this.constructor;if(this.s<1){if(!this.s)return new c(0);throw Error(nw+"NaN")}for(t=nN(this),nO=!1,0==(o=Math.sqrt(+this))||o==1/0?(((e=nC(this.d)).length+t)%2==0&&(e+="0"),o=Math.sqrt(e),t=nS((t+1)/2)-(t<0||t%2),n=new c(e=o==1/0?"5e"+t:(e=o.toExponential()).slice(0,e.indexOf("e")+1)+t)):n=new c(o.toString()),o=a=(r=c.precision)+3;;)if(n=(i=n).plus(nI(this,i,a+2)).times(.5),nC(i.d).slice(0,a)===(e=nC(n.d)).slice(0,a)){if(e=e.slice(a-3,a+1),o==a&&"4999"==e){if(nz(i,r+1,0),i.times(i).eq(this)){n=i;break}}else if("9999"!=e)break;a+=4}return nO=!0,nz(n,r)},n_.times=n_.mul=function(t){var e,r,n,o,i,a,c,u,l,s=this.constructor,f=this.d,p=(t=new s(t)).d;if(!this.s||!t.s)return new s(0);for(t.s*=this.s,r=this.e+t.e,(u=f.length)<(l=p.length)&&(i=f,f=p,p=i,a=u,u=l,l=a),i=[],n=a=u+l;n--;)i.push(0);for(n=l;--n>=0;){for(e=0,o=u+n;o>n;)c=i[o]+p[n]*f[o-n-1]+e,i[o--]=c%1e7|0,e=c/1e7|0;i[o]=(i[o]+e)%1e7|0}for(;!i[--a];)i.pop();return e?++r:i.shift(),t.d=i,t.e=r,nO?nz(t,s.precision):t},n_.toDecimalPlaces=n_.todp=function(t,e){var r=this,n=r.constructor;return(r=new n(r),void 0===t)?r:(nM(t,0,1e9),void 0===e?e=n.rounding:nM(e,0,8),nz(r,t+nN(r)+1,e))},n_.toExponential=function(t,e){var r,n=this,o=n.constructor;return void 0===t?r=n$(n,!0):(nM(t,0,1e9),void 0===e?e=o.rounding:nM(e,0,8),r=n$(n=nz(new o(n),t+1,e),!0,t+1)),r},n_.toFixed=function(t,e){var r,n,o=this.constructor;return void 0===t?n$(this):(nM(t,0,1e9),void 0===e?e=o.rounding:nM(e,0,8),r=n$((n=nz(new o(this),t+nN(this)+1,e)).abs(),!1,t+nN(n)+1),this.isneg()&&!this.isZero()?"-"+r:r)},n_.toInteger=n_.toint=function(){var t=this.constructor;return nz(new t(this),nN(this)+1,t.rounding)},n_.toNumber=function(){return+this},n_.toPower=n_.pow=function(t){var e,r,n,o,i,a,c=this,u=c.constructor,l=+(t=new u(t));if(!t.s)return new u(r9);if(!(c=new u(c)).s){if(t.s<1)throw Error(nw+"Infinity");return c}if(c.eq(r9))return c;if(n=u.precision,t.eq(r9))return nz(c,n);if(a=(e=t.e)>=(r=t.d.length-1),i=c.s,a){if((r=l<0?-l:l)<=0x1fffffffffffff){for(o=new u(r9),e=Math.ceil(n/7+4),nO=!1;r%2&&nW((o=o.times(c)).d,e),0!==(r=nS(r/2));)nW((c=c.times(c)).d,e);return nO=!0,t.s<0?new u(r9).div(o):nz(o,n)}}else if(i<0)throw Error(nw+"NaN");return i=i<0&&1&t.d[Math.max(e,r)]?-1:1,c.s=1,nO=!1,o=t.times(nL(c,n+12)),nO=!0,(o=nD(o)).s=i,o},n_.toPrecision=function(t,e){var r,n,o=this,i=o.constructor;return void 0===t?(r=nN(o),n=n$(o,r<=i.toExpNeg||r>=i.toExpPos)):(nM(t,1,1e9),void 0===e?e=i.rounding:nM(e,0,8),r=nN(o=nz(new i(o),t,e)),n=n$(o,t<=r||r<=i.toExpNeg,t)),n},n_.toSignificantDigits=n_.tosd=function(t,e){var r=this.constructor;return void 0===t?(t=r.precision,e=r.rounding):(nM(t,1,1e9),void 0===e?e=r.rounding:nM(e,0,8)),nz(new r(this),t,e)},n_.toString=n_.valueOf=n_.val=n_.toJSON=n_[Symbol.for("nodejs.util.inspect.custom")]=function(){var t=nN(this),e=this.constructor;return n$(this,t<=e.toExpNeg||t>=e.toExpPos)};var nI=function(){function t(t,e){var r,n=0,o=t.length;for(t=t.slice();o--;)r=t[o]*e+n,t[o]=r%1e7|0,n=r/1e7|0;return n&&t.unshift(n),t}function e(t,e,r,n){var o,i;if(r!=n)i=r>n?1:-1;else for(o=i=0;o<r;o++)if(t[o]!=e[o]){i=t[o]>e[o]?1:-1;break}return i}function r(t,e,r){for(var n=0;r--;)t[r]-=n,n=t[r]<e[r]?1:0,t[r]=1e7*n+t[r]-e[r];for(;!t[0]&&t.length>1;)t.shift()}return function(n,o,i,a){var c,u,l,s,f,p,h,d,y,v,m,b,g,x,O,w,j,A,S=n.constructor,P=n.s==o.s?1:-1,E=n.d,k=o.d;if(!n.s)return new S(n);if(!o.s)throw Error(nw+"Division by zero");for(l=0,u=n.e-o.e,j=k.length,O=E.length,d=(h=new S(P)).d=[];k[l]==(E[l]||0);)++l;if(k[l]>(E[l]||0)&&--u,(b=null==i?i=S.precision:a?i+(nN(n)-nN(o))+1:i)<0)return new S(0);if(b=b/7+2|0,l=0,1==j)for(s=0,k=k[0],b++;(l<O||s)&&b--;l++)g=1e7*s+(E[l]||0),d[l]=g/k|0,s=g%k|0;else{for((s=1e7/(k[0]+1)|0)>1&&(k=t(k,s),E=t(E,s),j=k.length,O=E.length),x=j,v=(y=E.slice(0,j)).length;v<j;)y[v++]=0;(A=k.slice()).unshift(0),w=k[0],k[1]>=1e7/2&&++w;do s=0,(c=e(k,y,j,v))<0?(m=y[0],j!=v&&(m=1e7*m+(y[1]||0)),(s=m/w|0)>1?(s>=1e7&&(s=1e7-1),p=(f=t(k,s)).length,v=y.length,1==(c=e(f,y,p,v))&&(s--,r(f,j<p?A:k,p))):(0==s&&(c=s=1),f=k.slice()),(p=f.length)<v&&f.unshift(0),r(y,f,v),-1==c&&(v=y.length,(c=e(k,y,j,v))<1&&(s++,r(y,j<v?A:k,v))),v=y.length):0===c&&(s++,y=[0]),d[l++]=s,c&&y[0]?y[v++]=E[x]||0:(y=[E[x]],v=1);while((x++<O||void 0!==y[0])&&b--)}return d[0]||d.shift(),h.e=u,nz(h,a?i+nN(h)+1:i)}}();function nD(t,e){var r,n,o,i,a,c=0,u=0,l=t.constructor,s=l.precision;if(nN(t)>16)throw Error(nA+nN(t));if(!t.s)return new l(r9);for(null==e?(nO=!1,a=s):a=e,i=new l(.03125);t.abs().gte(.1);)t=t.times(i),u+=5;for(a+=Math.log(nP(2,u))/Math.LN10*2+5|0,r=n=o=new l(r9),l.precision=a;;){if(n=nz(n.times(t),a),r=r.times(++c),nC((i=o.plus(nI(n,r,a))).d).slice(0,a)===nC(o.d).slice(0,a)){for(;u--;)o=nz(o.times(o),a);return l.precision=s,null==e?(nO=!0,nz(o,s)):o}o=i}}function nN(t){for(var e=7*t.e,r=t.d[0];r>=10;r/=10)e++;return e}function nR(t,e,r){if(e>t.LN10.sd())throw nO=!0,r&&(t.precision=r),Error(nw+"LN10 precision limit exceeded");return nz(new t(t.LN10),e)}function nB(t){for(var e="";t--;)e+="0";return e}function nL(t,e){var r,n,o,i,a,c,u,l,s,f=1,p=t,h=p.d,d=p.constructor,y=d.precision;if(p.s<1)throw Error(nw+(p.s?"NaN":"-Infinity"));if(p.eq(r9))return new d(0);if(null==e?(nO=!1,l=y):l=e,p.eq(10))return null==e&&(nO=!0),nR(d,l);if(l+=10,d.precision=l,n=(r=nC(h)).charAt(0),!(15e14>Math.abs(i=nN(p))))return u=nR(d,l+2,y).times(i+""),p=nL(new d(n+"."+r.slice(1)),l-10).plus(u),d.precision=y,null==e?(nO=!0,nz(p,y)):p;for(;n<7&&1!=n||1==n&&r.charAt(1)>3;)n=(r=nC((p=p.times(t)).d)).charAt(0),f++;for(i=nN(p),n>1?(p=new d("0."+r),i++):p=new d(n+"."+r.slice(1)),c=a=p=nI(p.minus(r9),p.plus(r9),l),s=nz(p.times(p),l),o=3;;){if(a=nz(a.times(s),l),nC((u=c.plus(nI(a,new d(o),l))).d).slice(0,l)===nC(c.d).slice(0,l))return c=c.times(2),0!==i&&(c=c.plus(nR(d,l+2,y).times(i+""))),c=nI(c,new d(f),l),d.precision=y,null==e?(nO=!0,nz(c,y)):c;c=u,o+=2}}function nU(t,e){var r,n,o;for((r=e.indexOf("."))>-1&&(e=e.replace(".","")),(n=e.search(/e/i))>0?(r<0&&(r=n),r+=+e.slice(n+1),e=e.substring(0,n)):r<0&&(r=e.length),n=0;48===e.charCodeAt(n);)++n;for(o=e.length;48===e.charCodeAt(o-1);)--o;if(e=e.slice(n,o)){if(o-=n,r=r-n-1,t.e=nS(r/7),t.d=[],n=(r+1)%7,r<0&&(n+=7),n<o){for(n&&t.d.push(+e.slice(0,n)),o-=7;n<o;)t.d.push(+e.slice(n,n+=7));n=7-(e=e.slice(n)).length}else n-=o;for(;n--;)e+="0";if(t.d.push(+e),nO&&(t.e>nk||t.e<-nk))throw Error(nA+r)}else t.s=0,t.e=0,t.d=[0];return t}function nz(t,e,r){var n,o,i,a,c,u,l,s,f=t.d;for(a=1,i=f[0];i>=10;i/=10)a++;if((n=e-a)<0)n+=7,o=e,l=f[s=0];else{if((s=Math.ceil((n+1)/7))>=(i=f.length))return t;for(a=1,l=i=f[s];i>=10;i/=10)a++;n%=7,o=n-7+a}if(void 0!==r&&(c=l/(i=nP(10,a-o-1))%10|0,u=e<0||void 0!==f[s+1]||l%i,u=r<4?(c||u)&&(0==r||r==(t.s<0?3:2)):c>5||5==c&&(4==r||u||6==r&&(n>0?o>0?l/nP(10,a-o):0:f[s-1])%10&1||r==(t.s<0?8:7))),e<1||!f[0])return u?(i=nN(t),f.length=1,e=e-i-1,f[0]=nP(10,(7-e%7)%7),t.e=nS(-e/7)||0):(f.length=1,f[0]=t.e=t.s=0),t;if(0==n?(f.length=s,i=1,s--):(f.length=s+1,i=nP(10,7-n),f[s]=o>0?(l/nP(10,a-o)%nP(10,o)|0)*i:0),u)for(;;){if(0==s){1e7==(f[0]+=i)&&(f[0]=1,++t.e);break}if(f[s]+=i,1e7!=f[s])break;f[s--]=0,i=1}for(n=f.length;0===f[--n];)f.pop();if(nO&&(t.e>nk||t.e<-nk))throw Error(nA+nN(t));return t}function nF(t,e){var r,n,o,i,a,c,u,l,s,f,p=t.constructor,h=p.precision;if(!t.s||!e.s)return e.s?e.s=-e.s:e=new p(t),nO?nz(e,h):e;if(u=t.d,f=e.d,n=e.e,l=t.e,u=u.slice(),a=l-n){for((s=a<0)?(r=u,a=-a,c=f.length):(r=f,n=l,c=u.length),a>(o=Math.max(Math.ceil(h/7),c)+2)&&(a=o,r.length=1),r.reverse(),o=a;o--;)r.push(0);r.reverse()}else{for((s=(o=u.length)<(c=f.length))&&(c=o),o=0;o<c;o++)if(u[o]!=f[o]){s=u[o]<f[o];break}a=0}for(s&&(r=u,u=f,f=r,e.s=-e.s),c=u.length,o=f.length-c;o>0;--o)u[c++]=0;for(o=f.length;o>a;){if(u[--o]<f[o]){for(i=o;i&&0===u[--i];)u[i]=1e7-1;--u[i],u[o]+=1e7}u[o]-=f[o]}for(;0===u[--c];)u.pop();for(;0===u[0];u.shift())--n;return u[0]?(e.d=u,e.e=n,nO?nz(e,h):e):new p(0)}function n$(t,e,r){var n,o=nN(t),i=nC(t.d),a=i.length;return e?(r&&(n=r-a)>0?i=i.charAt(0)+"."+i.slice(1)+nB(n):a>1&&(i=i.charAt(0)+"."+i.slice(1)),i=i+(o<0?"e":"e+")+o):o<0?(i="0."+nB(-o-1)+i,r&&(n=r-a)>0&&(i+=nB(n))):o>=a?(i+=nB(o+1-a),r&&(n=r-o-1)>0&&(i=i+"."+nB(n))):((n=o+1)<a&&(i=i.slice(0,n)+"."+i.slice(n)),r&&(n=r-a)>0&&(o+1===a&&(i+="."),i+=nB(n))),t.s<0?"-"+i:i}function nW(t,e){if(t.length>e)return t.length=e,!0}function nq(t){if(!t||"object"!=typeof t)throw Error(nw+"Object expected");var e,r,n,o=["precision",1,1e9,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(e=0;e<o.length;e+=3)if(void 0!==(n=t[r=o[e]])){if(nS(n)===n&&n>=o[e+1]&&n<=o[e+2])this[r]=n;else throw Error(nj+r+": "+n)}if(void 0!==(n=t[r="LN10"])){if(n==Math.LN10)this[r]=new this(n);else throw Error(nj+r+": "+n)}return this}var r7=function t(e){var r,n,o;function i(t){if(!(this instanceof i))return new i(t);if(this.constructor=i,t instanceof i){this.s=t.s,this.e=t.e,this.d=(t=t.d)?t.slice():t;return}if("number"==typeof t){if(0*t!=0)throw Error(nj+t);if(t>0)this.s=1;else if(t<0)t=-t,this.s=-1;else{this.s=0,this.e=0,this.d=[0];return}if(t===~~t&&t<1e7){this.e=0,this.d=[t];return}return nU(this,t.toString())}if("string"!=typeof t)throw Error(nj+t);if(45===t.charCodeAt(0)?(t=t.slice(1),this.s=-1):this.s=1,nE.test(t))nU(this,t);else throw Error(nj+t)}if(i.prototype=n_,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.clone=t,i.config=i.set=nq,void 0===e&&(e={}),e)for(r=0,o=["precision","rounding","toExpNeg","toExpPos","LN10"];r<o.length;)e.hasOwnProperty(n=o[r++])||(e[n]=this[n]);return i.config(e),i}({precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"});r9=new r7(1);let nX=r7;function nH(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var nK=function(t){return t},nV={},nG=function(t){return t===nV},nY=function(t){return function e(){return 0==arguments.length||1==arguments.length&&nG(arguments.length<=0?void 0:arguments[0])?e:t.apply(void 0,arguments)}},nJ=function(t){return function t(e,r){return 1===e?r:nY(function(){for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];var a=o.filter(function(t){return t!==nV}).length;return a>=e?r.apply(void 0,o):t(e-a,nY(function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=o.map(function(t){return nG(t)?e.shift():t});return r.apply(void 0,((function(t){if(Array.isArray(t))return nH(t)})(i)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(i)||function(t,e){if(t){if("string"==typeof t)return nH(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return nH(t,void 0)}}(i)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).concat(e))}))})}(t.length,t)},nZ=function(t,e){for(var r=[],n=t;n<e;++n)r[n-t]=n;return r},nQ=nJ(function(t,e){return Array.isArray(e)?e.map(t):Object.keys(e).map(function(t){return e[t]}).map(t)}),n0=function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];if(!e.length)return nK;var n=e.reverse(),o=n[0],i=n.slice(1);return function(){return i.reduce(function(t,e){return e(t)},o.apply(void 0,arguments))}},n1=function(t){return Array.isArray(t)?t.reverse():t.split("").reverse.join("")},n2=function(t){var e=null,r=null;return function(){for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];return e&&o.every(function(t,r){return t===e[r]})?r:(e=o,r=t.apply(void 0,o))}};nJ(function(t,e,r){var n=+t;return n+r*(+e-n)}),nJ(function(t,e,r){var n=e-+t;return(r-t)/(n=n||1/0)}),nJ(function(t,e,r){var n=e-+t;return Math.max(0,Math.min(1,(r-t)/(n=n||1/0)))});let n3={rangeStep:function(t,e,r){for(var n=new nX(t),o=0,i=[];n.lt(e)&&o<1e5;)i.push(n.toNumber()),n=n.add(r),o++;return i},getDigitCount:function(t){return 0===t?1:Math.floor(new nX(t).abs().log(10).toNumber())+1}};function n5(t){return function(t){if(Array.isArray(t))return n7(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||n6(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n8(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],n=!0,o=!1,i=void 0;try{for(var a,c=t[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}}(t,e)||n6(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n6(t,e){if(t){if("string"==typeof t)return n7(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n7(t,e)}}function n7(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function n9(t){var e=n8(t,2),r=e[0],n=e[1],o=r,i=n;return r>n&&(o=n,i=r),[o,i]}function n4(t,e,r){if(t.lte(0))return new nX(0);var n=n3.getDigitCount(t.toNumber()),o=new nX(10).pow(n),i=t.div(o),a=1!==n?.05:.1,c=new nX(Math.ceil(i.div(a).toNumber())).add(r).mul(a).mul(o);return e?c:new nX(Math.ceil(c))}function ot(t,e,r){var n=1,o=new nX(t);if(!o.isint()&&r){var i=Math.abs(t);i<1?(n=new nX(10).pow(n3.getDigitCount(t)-1),o=new nX(Math.floor(o.div(n).toNumber())).mul(n)):i>1&&(o=new nX(Math.floor(t)))}else 0===t?o=new nX(Math.floor((e-1)/2)):r||(o=new nX(Math.floor(t)));var a=Math.floor((e-1)/2);return n0(nQ(function(t){return o.add(new nX(t-a).mul(n)).toNumber()}),nZ)(0,e)}var oe=n2(function(t){var e=n8(t,2),r=e[0],n=e[1],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,i=!(arguments.length>2)||void 0===arguments[2]||arguments[2],a=Math.max(o,2),c=n8(n9([r,n]),2),u=c[0],l=c[1];if(u===-1/0||l===1/0){var s=l===1/0?[u].concat(n5(nZ(0,o-1).map(function(){return 1/0}))):[].concat(n5(nZ(0,o-1).map(function(){return-1/0})),[l]);return r>n?n1(s):s}if(u===l)return ot(u,o,i);var f=function t(e,r,n,o){var i,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;if(!Number.isFinite((r-e)/(n-1)))return{step:new nX(0),tickMin:new nX(0),tickMax:new nX(0)};var c=n4(new nX(r).sub(e).div(n-1),o,a),u=Math.ceil((i=e<=0&&r>=0?new nX(0):(i=new nX(e).add(r).div(2)).sub(new nX(i).mod(c))).sub(e).div(c).toNumber()),l=Math.ceil(new nX(r).sub(i).div(c).toNumber()),s=u+l+1;return s>n?t(e,r,n,o,a+1):(s<n&&(l=r>0?l+(n-s):l,u=r>0?u:u+(n-s)),{step:c,tickMin:i.sub(new nX(u).mul(c)),tickMax:i.add(new nX(l).mul(c))})}(u,l,a,i),p=f.step,h=f.tickMin,d=f.tickMax,y=n3.rangeStep(h,d.add(new nX(.1).mul(p)),p);return r>n?n1(y):y});n2(function(t){var e=n8(t,2),r=e[0],n=e[1],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,i=!(arguments.length>2)||void 0===arguments[2]||arguments[2],a=Math.max(o,2),c=n8(n9([r,n]),2),u=c[0],l=c[1];if(u===-1/0||l===1/0)return[r,n];if(u===l)return ot(u,o,i);var s=n4(new nX(l).sub(u).div(a-1),i,0),f=n0(nQ(function(t){return new nX(u).add(new nX(t).mul(s)).toNumber()}),nZ)(0,a).filter(function(t){return t>=u&&t<=l});return r>n?n1(f):f});var or=n2(function(t,e){var r=n8(t,2),n=r[0],o=r[1],i=!(arguments.length>2)||void 0===arguments[2]||arguments[2],a=n8(n9([n,o]),2),c=a[0],u=a[1];if(c===-1/0||u===1/0)return[n,o];if(c===u)return[c];var l=Math.max(e,2),s=n4(new nX(u).sub(c).div(l-1),i,0),f=[].concat(n5(n3.rangeStep(new nX(c),new nX(u).sub(new nX(.99).mul(s)),s)),[u]);return n>o?n1(f):f}),on=r(34035),oo=r(8217),oi=r(83742),oa=r(6991);function oc(t){return(oc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ou(t){return function(t){if(Array.isArray(t))return ol(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return ol(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ol(t,void 0)}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ol(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function os(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function of(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?os(Object(r),!0).forEach(function(e){op(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):os(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function op(t,e,r){var n;return(n=function(t,e){if("object"!=oc(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=oc(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==oc(n)?n:n+"")in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function oh(t,e,r){return no()(t)||no()(e)?r:(0,oo.vh)(e)?ns()(t,e,r):na()(e)?e(t):r}function od(t,e,r,n){var o=np()(t,function(t){return oh(t,e)});if("number"===r){var i=o.filter(function(t){return(0,oo.Et)(t)||parseFloat(t)});return i.length?[nr()(i),nt()(i)]:[1/0,-1/0]}return(n?o.filter(function(t){return!no()(t)}):o).map(function(t){return(0,oo.vh)(t)||t instanceof Date?t:""})}var oy=function(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,i=-1,a=null!==(e=null==r?void 0:r.length)&&void 0!==e?e:0;if(a<=1)return 0;if(o&&"angleAxis"===o.axisType&&1e-6>=Math.abs(Math.abs(o.range[1]-o.range[0])-360))for(var c=o.range,u=0;u<a;u++){var l=u>0?n[u-1].coordinate:n[a-1].coordinate,s=n[u].coordinate,f=u>=a-1?n[0].coordinate:n[u+1].coordinate,p=void 0;if((0,oo.sA)(s-l)!==(0,oo.sA)(f-s)){var h=[];if((0,oo.sA)(f-s)===(0,oo.sA)(c[1]-c[0])){p=f;var d=s+c[1]-c[0];h[0]=Math.min(d,(d+l)/2),h[1]=Math.max(d,(d+l)/2)}else{p=l;var y=f+c[1]-c[0];h[0]=Math.min(s,(y+s)/2),h[1]=Math.max(s,(y+s)/2)}var v=[Math.min(s,(p+s)/2),Math.max(s,(p+s)/2)];if(t>v[0]&&t<=v[1]||t>=h[0]&&t<=h[1]){i=n[u].index;break}}else{var m=Math.min(l,f),b=Math.max(l,f);if(t>(m+s)/2&&t<=(b+s)/2){i=n[u].index;break}}}else for(var g=0;g<a;g++)if(0===g&&t<=(r[g].coordinate+r[g+1].coordinate)/2||g>0&&g<a-1&&t>(r[g].coordinate+r[g-1].coordinate)/2&&t<=(r[g].coordinate+r[g+1].coordinate)/2||g===a-1&&t>(r[g].coordinate+r[g-1].coordinate)/2){i=r[g].index;break}return i},ov=function(t){var e,r,n=t.type.displayName,o=null!==(e=t.type)&&void 0!==e&&e.defaultProps?of(of({},t.type.defaultProps),t.props):t.props,i=o.stroke,a=o.fill;switch(n){case"Line":r=i;break;case"Area":case"Radar":r=i&&"none"!==i?i:a;break;default:r=a}return r},om=function(t){var e=t.barSize,r=t.totalSize,n=t.stackGroups,o=void 0===n?{}:n;if(!o)return{};for(var i={},a=Object.keys(o),c=0,u=a.length;c<u;c++)for(var l=o[a[c]].stackGroups,s=Object.keys(l),f=0,p=s.length;f<p;f++){var h=l[s[f]],d=h.items,y=h.cateAxisId,v=d.filter(function(t){return(0,oi.Mn)(t.type).indexOf("Bar")>=0});if(v&&v.length){var m=v[0].type.defaultProps,b=void 0!==m?of(of({},m),v[0].props):v[0].props,g=b.barSize,x=b[y];i[x]||(i[x]=[]);var O=no()(g)?e:g;i[x].push({item:v[0],stackList:v.slice(1),barSize:no()(O)?void 0:(0,oo.F4)(O,r,0)})}}return i},ob=function(t){var e,r=t.barGap,n=t.barCategoryGap,o=t.bandSize,i=t.sizeList,a=void 0===i?[]:i,c=t.maxBarSize,u=a.length;if(u<1)return null;var l=(0,oo.F4)(r,o,0,!0),s=[];if(a[0].barSize===+a[0].barSize){var f=!1,p=o/u,h=a.reduce(function(t,e){return t+e.barSize||0},0);(h+=(u-1)*l)>=o&&(h-=(u-1)*l,l=0),h>=o&&p>0&&(f=!0,p*=.9,h=u*p);var d={offset:((o-h)/2>>0)-l,size:0};e=a.reduce(function(t,e){var r={item:e.item,position:{offset:d.offset+d.size+l,size:f?p:e.barSize}},n=[].concat(ou(t),[r]);return d=n[n.length-1].position,e.stackList&&e.stackList.length&&e.stackList.forEach(function(t){n.push({item:t,position:d})}),n},s)}else{var y=(0,oo.F4)(n,o,0,!0);o-2*y-(u-1)*l<=0&&(l=0);var v=(o-2*y-(u-1)*l)/u;v>1&&(v>>=0);var m=c===+c?Math.min(v,c):v;e=a.reduce(function(t,e,r){var n=[].concat(ou(t),[{item:e.item,position:{offset:y+(v+l)*r+(v-m)/2,size:m}}]);return e.stackList&&e.stackList.length&&e.stackList.forEach(function(t){n.push({item:t,position:n[n.length-1].position})}),n},s)}return e},og=function(t,e,r,n){var o=r.children,i=r.width,a=r.margin,c=i-(a.left||0)-(a.right||0),u=(0,oa.g)({children:o,legendWidth:c});if(u){var l=n||{},s=l.width,f=l.height,p=u.align,h=u.verticalAlign,d=u.layout;if(("vertical"===d||"horizontal"===d&&"middle"===h)&&"center"!==p&&(0,oo.Et)(t[p]))return of(of({},t),{},op({},p,t[p]+(s||0)));if(("horizontal"===d||"vertical"===d&&"center"===p)&&"middle"!==h&&(0,oo.Et)(t[h]))return of(of({},t),{},op({},h,t[h]+(f||0)))}return t},ox=function(t,e,r,n,o){var i=e.props.children,a=(0,oi.aS)(i,on.u).filter(function(t){var e;return e=t.props.direction,!!no()(o)||("horizontal"===n?"yAxis"===o:"vertical"===n||"x"===e?"xAxis"===o:"y"!==e||"yAxis"===o)});if(a&&a.length){var c=a.map(function(t){return t.props.dataKey});return t.reduce(function(t,e){var n=oh(e,r);if(no()(n))return t;var o=Array.isArray(n)?[nr()(n),nt()(n)]:[n,n],i=c.reduce(function(t,r){var n=oh(e,r,0),i=o[0]-Math.abs(Array.isArray(n)?n[0]:n),a=o[1]+Math.abs(Array.isArray(n)?n[1]:n);return[Math.min(i,t[0]),Math.max(a,t[1])]},[1/0,-1/0]);return[Math.min(i[0],t[0]),Math.max(i[1],t[1])]},[1/0,-1/0])}return null},oO=function(t,e,r,n,o){var i=e.map(function(e){return ox(t,e,r,o,n)}).filter(function(t){return!no()(t)});return i&&i.length?i.reduce(function(t,e){return[Math.min(t[0],e[0]),Math.max(t[1],e[1])]},[1/0,-1/0]):null},ow=function(t,e,r,n,o){var i=e.map(function(e){var i=e.props.dataKey;return"number"===r&&i&&ox(t,e,i,n)||od(t,i,r,o)});if("number"===r)return i.reduce(function(t,e){return[Math.min(t[0],e[0]),Math.max(t[1],e[1])]},[1/0,-1/0]);var a={};return i.reduce(function(t,e){for(var r=0,n=e.length;r<n;r++)a[e[r]]||(a[e[r]]=!0,t.push(e[r]));return t},[])},oj=function(t,e){return"horizontal"===t&&"xAxis"===e||"vertical"===t&&"yAxis"===e||"centric"===t&&"angleAxis"===e||"radial"===t&&"radiusAxis"===e},oA=function(t,e,r,n){if(n)return t.map(function(t){return t.coordinate});var o,i,a=t.map(function(t){return t.coordinate===e&&(o=!0),t.coordinate===r&&(i=!0),t.coordinate});return o||a.push(e),i||a.push(r),a},oS=function(t,e,r){if(!t)return null;var n=t.scale,o=t.duplicateDomain,i=t.type,a=t.range,c="scaleBand"===t.realScaleType?n.bandwidth()/2:2,u=(e||r)&&"category"===i&&n.bandwidth?n.bandwidth()/c:0;return(u="angleAxis"===t.axisType&&(null==a?void 0:a.length)>=2?2*(0,oo.sA)(a[0]-a[1])*u:u,e&&(t.ticks||t.niceTicks))?(t.ticks||t.niceTicks).map(function(t){return{coordinate:n(o?o.indexOf(t):t)+u,value:t,offset:u}}).filter(function(t){return!nd()(t.coordinate)}):t.isCategorical&&t.categoricalDomain?t.categoricalDomain.map(function(t,e){return{coordinate:n(t)+u,value:t,index:e,offset:u}}):n.ticks&&!r?n.ticks(t.tickCount).map(function(t){return{coordinate:n(t)+u,value:t,offset:u}}):n.domain().map(function(t,e){return{coordinate:n(t)+u,value:o?o[t]:t,index:e,offset:u}})},oP=new WeakMap,oE=function(t,e){if("function"!=typeof e)return t;oP.has(t)||oP.set(t,new WeakMap);var r=oP.get(t);if(r.has(e))return r.get(e);var n=function(){t.apply(void 0,arguments),e.apply(void 0,arguments)};return r.set(e,n),n},ok=function(t,e,r){var i=t.scale,a=t.type,c=t.layout,u=t.axisType;if("auto"===i)return"radial"===c&&"radiusAxis"===u?{scale:o.A(),realScaleType:"band"}:"radial"===c&&"angleAxis"===u?{scale:t_(),realScaleType:"linear"}:"category"===a&&e&&(e.indexOf("LineChart")>=0||e.indexOf("AreaChart")>=0||e.indexOf("ComposedChart")>=0&&!r)?{scale:o.z(),realScaleType:"point"}:"category"===a?{scale:o.A(),realScaleType:"band"}:{scale:t_(),realScaleType:"linear"};if(nu()(i)){var l="scale".concat(nv()(i));return{scale:(n[l]||o.z)(),realScaleType:n[l]?l:"point"}}return na()(i)?{scale:i}:{scale:o.z(),realScaleType:"point"}},o_=function(t){var e=t.domain();if(e&&!(e.length<=2)){var r=e.length,n=t.range(),o=Math.min(n[0],n[1])-1e-4,i=Math.max(n[0],n[1])+1e-4,a=t(e[0]),c=t(e[r-1]);(a<o||a>i||c<o||c>i)&&t.domain([e[0],e[r-1]])}},oT=function(t,e){if(!t)return null;for(var r=0,n=t.length;r<n;r++)if(t[r].item===e)return t[r].position;return null},oM=function(t,e){if(!e||2!==e.length||!(0,oo.Et)(e[0])||!(0,oo.Et)(e[1]))return t;var r=Math.min(e[0],e[1]),n=Math.max(e[0],e[1]),o=[t[0],t[1]];return(!(0,oo.Et)(t[0])||t[0]<r)&&(o[0]=r),(!(0,oo.Et)(t[1])||t[1]>n)&&(o[1]=n),o[0]>n&&(o[0]=n),o[1]<r&&(o[1]=r),o},oC={sign:function(t){var e=t.length;if(!(e<=0))for(var r=0,n=t[0].length;r<n;++r)for(var o=0,i=0,a=0;a<e;++a){var c=nd()(t[a][r][1])?t[a][r][0]:t[a][r][1];c>=0?(t[a][r][0]=o,t[a][r][1]=o+c,o=t[a][r][1]):(t[a][r][0]=i,t[a][r][1]=i+c,i=t[a][r][1])}},expand:function(t,e){if((n=t.length)>0){for(var r,n,o,i=0,a=t[0].length;i<a;++i){for(o=r=0;r<n;++r)o+=t[r][i][1]||0;if(o)for(r=0;r<n;++r)t[r][i][1]/=o}rV(t,e)}},none:rV,silhouette:function(t,e){if((r=t.length)>0){for(var r,n=0,o=t[e[0]],i=o.length;n<i;++n){for(var a=0,c=0;a<r;++a)c+=t[a][n][1]||0;o[n][1]+=o[n][0]=-c/2}rV(t,e)}},wiggle:function(t,e){if((o=t.length)>0&&(n=(r=t[e[0]]).length)>0){for(var r,n,o,i=0,a=1;a<n;++a){for(var c=0,u=0,l=0;c<o;++c){for(var s=t[e[c]],f=s[a][1]||0,p=(f-(s[a-1][1]||0))/2,h=0;h<c;++h){var d=t[e[h]];p+=(d[a][1]||0)-(d[a-1][1]||0)}u+=f,l+=p*f}r[a-1][1]+=r[a-1][0]=i,u&&(i-=l/u)}r[a-1][1]+=r[a-1][0]=i,rV(t,e)}},positive:function(t){var e=t.length;if(!(e<=0))for(var r=0,n=t[0].length;r<n;++r)for(var o=0,i=0;i<e;++i){var a=nd()(t[i][r][1])?t[i][r][0]:t[i][r][1];a>=0?(t[i][r][0]=o,t[i][r][1]=o+a,o=t[i][r][1]):(t[i][r][0]=0,t[i][r][1]=0)}}},oI=function(t,e,r){var n=e.map(function(t){return t.props.dataKey}),o=oC[r];return(function(){var t=(0,rY.A)([]),e=rJ,r=rV,n=rZ;function o(o){var i,a,c=Array.from(t.apply(this,arguments),rQ),u=c.length,l=-1;for(let t of o)for(i=0,++l;i<u;++i)(c[i][l]=[0,+n(t,c[i].key,l,o)]).data=t;for(i=0,a=(0,rG.A)(e(c));i<u;++i)c[a[i]].index=i;return r(c,a),c}return o.keys=function(e){return arguments.length?(t="function"==typeof e?e:(0,rY.A)(Array.from(e)),o):t},o.value=function(t){return arguments.length?(n="function"==typeof t?t:(0,rY.A)(+t),o):n},o.order=function(t){return arguments.length?(e=null==t?rJ:"function"==typeof t?t:(0,rY.A)(Array.from(t)),o):e},o.offset=function(t){return arguments.length?(r=null==t?rV:t,o):r},o})().keys(n).value(function(t,e){return+oh(t,e,0)}).order(rJ).offset(o)(t)},oD=function(t,e,r,n,o,i){if(!t)return null;var a=(i?e.reverse():e).reduce(function(t,e){var o,i=null!==(o=e.type)&&void 0!==o&&o.defaultProps?of(of({},e.type.defaultProps),e.props):e.props,a=i.stackId;if(i.hide)return t;var c=i[r],u=t[c]||{hasStack:!1,stackGroups:{}};if((0,oo.vh)(a)){var l=u.stackGroups[a]||{numericAxisId:r,cateAxisId:n,items:[]};l.items.push(e),u.hasStack=!0,u.stackGroups[a]=l}else u.stackGroups[(0,oo.NF)("_stackId_")]={numericAxisId:r,cateAxisId:n,items:[e]};return of(of({},t),{},op({},c,u))},{});return Object.keys(a).reduce(function(e,i){var c=a[i];return c.hasStack&&(c.stackGroups=Object.keys(c.stackGroups).reduce(function(e,i){var a=c.stackGroups[i];return of(of({},e),{},op({},i,{numericAxisId:r,cateAxisId:n,items:a.items,stackedData:oI(t,a.items,o)}))},{})),of(of({},e),{},op({},i,c))},{})},oN=function(t,e){var r=e.realScaleType,n=e.type,o=e.tickCount,i=e.originalDomain,a=e.allowDecimals,c=r||e.scale;if("auto"!==c&&"linear"!==c)return null;if(o&&"number"===n&&i&&("auto"===i[0]||"auto"===i[1])){var u=t.domain();if(!u.length)return null;var l=oe(u,o,a);return t.domain([nr()(l),nt()(l)]),{niceTicks:l}}return o&&"number"===n?{niceTicks:or(t.domain(),o,a)}:null};function oR(t){var e=t.axis,r=t.ticks,n=t.bandSize,o=t.entry,i=t.index,a=t.dataKey;if("category"===e.type){if(!e.allowDuplicatedCategory&&e.dataKey&&!no()(o[e.dataKey])){var c=(0,oo.eP)(r,"value",o[e.dataKey]);if(c)return c.coordinate+n/2}return r[i]?r[i].coordinate+n/2:null}var u=oh(o,no()(a)?e.dataKey:a);return no()(u)?null:e.scale(u)}var oB=function(t){var e=t.axis,r=t.ticks,n=t.offset,o=t.bandSize,i=t.entry,a=t.index;if("category"===e.type)return r[a]?r[a].coordinate+n:null;var c=oh(i,e.dataKey,e.domain[a]);return no()(c)?null:e.scale(c)-o/2+n},oL=function(t){var e=t.numericAxis,r=e.scale.domain();if("number"===e.type){var n=Math.min(r[0],r[1]),o=Math.max(r[0],r[1]);return n<=0&&o>=0?0:o<0?o:n}return r[0]},oU=function(t,e){var r,n=(null!==(r=t.type)&&void 0!==r&&r.defaultProps?of(of({},t.type.defaultProps),t.props):t.props).stackId;if((0,oo.vh)(n)){var o=e[n];if(o){var i=o.items.indexOf(t);return i>=0?o.stackedData[i]:null}}return null},oz=function(t,e,r){return Object.keys(t).reduce(function(n,o){var i=t[o].stackedData.reduce(function(t,n){var o=n.slice(e,r+1).reduce(function(t,e){return[nr()(e.concat([t[0]]).filter(oo.Et)),nt()(e.concat([t[1]]).filter(oo.Et))]},[1/0,-1/0]);return[Math.min(t[0],o[0]),Math.max(t[1],o[1])]},[1/0,-1/0]);return[Math.min(i[0],n[0]),Math.max(i[1],n[1])]},[1/0,-1/0]).map(function(t){return t===1/0||t===-1/0?0:t})},oF=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,o$=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,oW=function(t,e,r){if(na()(t))return t(e,r);if(!Array.isArray(t))return e;var n=[];if((0,oo.Et)(t[0]))n[0]=r?t[0]:Math.min(t[0],e[0]);else if(oF.test(t[0])){var o=+oF.exec(t[0])[1];n[0]=e[0]-o}else na()(t[0])?n[0]=t[0](e[0]):n[0]=e[0];if((0,oo.Et)(t[1]))n[1]=r?t[1]:Math.max(t[1],e[1]);else if(o$.test(t[1])){var i=+o$.exec(t[1])[1];n[1]=e[1]+i}else na()(t[1])?n[1]=t[1](e[1]):n[1]=e[1];return n},oq=function(t,e,r){if(t&&t.scale&&t.scale.bandwidth){var n=t.scale.bandwidth();if(!r||n>0)return n}if(t&&e&&e.length>=2){for(var o=nx()(e,function(t){return t.coordinate}),i=1/0,a=1,c=o.length;a<c;a++){var u=o[a],l=o[a-1];i=Math.min((u.coordinate||0)-(l.coordinate||0),i)}return i===1/0?0:i}return r?void 0:0},oX=function(t,e,r){return!t||!t.length||nb()(t,ns()(r,"type.defaultProps.domain"))?e:t},oH=function(t,e){var r=t.type.defaultProps?of(of({},t.type.defaultProps),t.props):t.props,n=r.dataKey,o=r.name,i=r.unit,a=r.formatter,c=r.tooltipType,u=r.chartType,l=r.hide;return of(of({},(0,oi.J9)(t,!1)),{},{dataKey:n,unit:i,formatter:a,name:o||n,color:ov(t),value:oh(e,n),type:c,payload:e,chartType:u,hide:l})}},69703:(t,e,r)=>{"use strict";r.d(e,{A3:()=>f,Pu:()=>s});var n=r(42505);function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function a(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?i(Object(r),!0).forEach(function(e){var n,i;n=e,i=r[e],(n=function(t){var e=function(t,e){if("object"!=o(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=o(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==o(e)?e:e+""}(n))in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var c={widthCache:{},cacheCount:0},u={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},l="recharts_measurement_span",s=function(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==t||n.m.isSsr)return{width:0,height:0};var o=(Object.keys(e=a({},r)).forEach(function(t){e[t]||delete e[t]}),e),i=JSON.stringify({text:t,copyStyle:o});if(c.widthCache[i])return c.widthCache[i];try{var s=document.getElementById(l);s||((s=document.createElement("span")).setAttribute("id",l),s.setAttribute("aria-hidden","true"),document.body.appendChild(s));var f=a(a({},u),o);Object.assign(s.style,f),s.textContent="".concat(t);var p=s.getBoundingClientRect(),h={width:p.width,height:p.height};return c.widthCache[i]=h,++c.cacheCount>2e3&&(c.cacheCount=0,c.widthCache={}),h}catch(t){return{width:0,height:0}}},f=function(t){return{top:t.top+window.scrollY-document.documentElement.clientTop,left:t.left+window.scrollX-document.documentElement.clientLeft}}},8217:(t,e,r)=>{"use strict";r.d(e,{CG:()=>g,Dj:()=>x,Et:()=>h,F4:()=>m,NF:()=>v,_3:()=>p,eP:()=>O,lX:()=>b,sA:()=>f,vh:()=>d});var n=r(52202),o=r.n(n),i=r(12590),a=r.n(i),c=r(90171),u=r.n(c),l=r(2978),s=r.n(l),f=function(t){return 0===t?0:t>0?1:-1},p=function(t){return o()(t)&&t.indexOf("%")===t.length-1},h=function(t){return s()(t)&&!a()(t)},d=function(t){return h(t)||o()(t)},y=0,v=function(t){var e=++y;return"".concat(t||"").concat(e)},m=function(t,e){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!h(t)&&!o()(t))return n;if(p(t)){var c=t.indexOf("%");r=e*parseFloat(t.slice(0,c))/100}else r=+t;return a()(r)&&(r=n),i&&r>e&&(r=e),r},b=function(t){if(!t)return null;var e=Object.keys(t);return e&&e.length?t[e[0]]:null},g=function(t){if(!Array.isArray(t))return!1;for(var e=t.length,r={},n=0;n<e;n++){if(r[t[n]])return!0;r[t[n]]=!0}return!1},x=function(t,e){return h(t)&&h(e)?function(r){return t+r*(e-t)}:function(){return e}};function O(t,e,r){return t&&t.length?t.find(function(t){return t&&("function"==typeof e?e(t):u()(t,e))===r}):null}},42505:(t,e,r)=>{"use strict";r.d(e,{m:()=>n});var n={isSsr:!0,get:function(t){return n[t]},set:function(t,e){if("string"==typeof t)n[t]=e;else{var r=Object.keys(t);r&&r.length&&r.forEach(function(e){n[e]=t[e]})}}}},9957:(t,e,r)=>{"use strict";r.d(e,{R:()=>n});var n=function(t,e){for(var r=arguments.length,n=Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o]}},38475:(t,e,r)=>{"use strict";r.d(e,{IZ:()=>v,Kg:()=>y,Zk:()=>j,lY:()=>m,pr:()=>b,yy:()=>w});var n=r(76256),o=r.n(n),i=r(73706),a=r(38207),c=r.n(a),u=r(8217),l=r(76876);function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function p(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?f(Object(r),!0).forEach(function(e){h(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function h(t,e,r){var n;return(n=function(t,e){if("object"!=s(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=s(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==s(n)?n:n+"")in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function d(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var y=Math.PI/180,v=function(t,e,r,n){return{x:t+Math.cos(-y*n)*r,y:e+Math.sin(-y*n)*r}},m=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{top:0,right:0,bottom:0,left:0};return Math.min(Math.abs(t-(r.left||0)-(r.right||0)),Math.abs(e-(r.top||0)-(r.bottom||0)))/2},b=function(t,e,r,n,i){var a=t.width,c=t.height,s=t.startAngle,f=t.endAngle,y=(0,u.F4)(t.cx,a,a/2),v=(0,u.F4)(t.cy,c,c/2),b=m(a,c,r),g=(0,u.F4)(t.innerRadius,b,0),x=(0,u.F4)(t.outerRadius,b,.8*b);return Object.keys(e).reduce(function(t,r){var a,c=e[r],u=c.domain,m=c.reversed;if(o()(c.range))"angleAxis"===n?a=[s,f]:"radiusAxis"===n&&(a=[g,x]),m&&(a=[a[1],a[0]]);else{var b,O=function(t){if(Array.isArray(t))return t}(b=a=c.range)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{for(i=(r=r.call(t)).next;!(u=(n=i.call(r)).done)&&(c.push(n.value),2!==c.length);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(b,2)||function(t,e){if(t){if("string"==typeof t)return d(t,2);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return d(t,2)}}(b,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();s=O[0],f=O[1]}var w=(0,l.W7)(c,i),j=w.realScaleType,A=w.scale;A.domain(u).range(a),(0,l.YB)(A);var S=(0,l.w7)(A,p(p({},c),{},{realScaleType:j})),P=p(p(p({},c),S),{},{range:a,radius:x,realScaleType:j,scale:A,cx:y,cy:v,innerRadius:g,outerRadius:x,startAngle:s,endAngle:f});return p(p({},t),{},h({},r,P))},{})},g=function(t,e){var r=t.x,n=t.y;return Math.sqrt(Math.pow(r-e.x,2)+Math.pow(n-e.y,2))},x=function(t,e){var r=t.x,n=t.y,o=e.cx,i=e.cy,a=g({x:r,y:n},{x:o,y:i});if(a<=0)return{radius:a};var c=Math.acos((r-o)/a);return n>i&&(c=2*Math.PI-c),{radius:a,angle:180*c/Math.PI,angleInRadian:c}},O=function(t){var e=t.startAngle,r=t.endAngle,n=Math.min(Math.floor(e/360),Math.floor(r/360));return{startAngle:e-360*n,endAngle:r-360*n}},w=function(t,e){var r,n=x({x:t.x,y:t.y},e),o=n.radius,i=n.angle,a=e.innerRadius,c=e.outerRadius;if(o<a||o>c)return!1;if(0===o)return!0;var u=O(e),l=u.startAngle,s=u.endAngle,f=i;if(l<=s){for(;f>s;)f-=360;for(;f<l;)f+=360;r=f>=l&&f<=s}else{for(;f>l;)f-=360;for(;f<s;)f+=360;r=f>=s&&f<=l}return r?p(p({},e),{},{radius:o,angle:f+360*Math.min(Math.floor(e.startAngle/360),Math.floor(e.endAngle/360))}):null},j=function(t){return(0,i.isValidElement)(t)||c()(t)||"boolean"==typeof t?"":t.className}},83742:(t,e,r)=>{"use strict";r.d(e,{AW:()=>L,BU:()=>k,J9:()=>I,Me:()=>_,Mn:()=>j,OV:()=>D,X_:()=>B,aS:()=>E,ee:()=>R,sT:()=>M});var n=r(90171),o=r.n(n),i=r(76256),a=r.n(i),c=r(52202),u=r.n(c),l=r(38207),s=r.n(l),f=r(50136),p=r.n(f),h=r(73706),d=r(35161),y=r(8217),v=r(12286),m=r(10637),b=["children"],g=["children"];function x(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function O(t){return(O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var w={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart",contextmenu:"onContextMenu",dblclick:"onDoubleClick"},j=function(t){return"string"==typeof t?t:t?t.displayName||t.name||"Component":""},A=null,S=null,P=function t(e){if(e===A&&Array.isArray(S))return S;var r=[];return h.Children.forEach(e,function(e){a()(e)||((0,d.isFragment)(e)?r=r.concat(t(e.props.children)):r.push(e))}),S=r,A=e,r};function E(t,e){var r=[],n=[];return n=Array.isArray(e)?e.map(function(t){return j(t)}):[j(e)],P(t).forEach(function(t){var e=o()(t,"type.displayName")||o()(t,"type.name");-1!==n.indexOf(e)&&r.push(t)}),r}function k(t,e){var r=E(t,e);return r&&r[0]}var _=function(t){if(!t||!t.props)return!1;var e=t.props,r=e.width,n=e.height;return!!(0,y.Et)(r)&&!(r<=0)&&!!(0,y.Et)(n)&&!(n<=0)},T=["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColormatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-url","foreignObject","g","glyph","glyphRef","hkern","image","line","lineGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"],M=function(t){return t&&"object"===O(t)&&"clipDot"in t},C=function(t,e,r,n){var o,i=null!==(o=null===m.VU||void 0===m.VU?void 0:m.VU[n])&&void 0!==o?o:[];return!s()(t)&&(n&&i.includes(e)||m.QQ.includes(e))||r&&m.j2.includes(e)},I=function(t,e,r){if(!t||"function"==typeof t||"boolean"==typeof t)return null;var n=t;if((0,h.isValidElement)(t)&&(n=t.props),!p()(n))return null;var o={};return Object.keys(n).forEach(function(t){var i;C(null===(i=n)||void 0===i?void 0:i[t],t,e,r)&&(o[t]=n[t])}),o},D=function t(e,r){if(e===r)return!0;var n=h.Children.count(e);if(n!==h.Children.count(r))return!1;if(0===n)return!0;if(1===n)return N(Array.isArray(e)?e[0]:e,Array.isArray(r)?r[0]:r);for(var o=0;o<n;o++){var i=e[o],a=r[o];if(Array.isArray(i)||Array.isArray(a)){if(!t(i,a))return!1}else if(!N(i,a))return!1}return!0},N=function(t,e){if(a()(t)&&a()(e))return!0;if(!a()(t)&&!a()(e)){var r=t.props||{},n=r.children,o=x(r,b),i=e.props||{},c=i.children,u=x(i,g);if(n&&c)return(0,v.b)(o,u)&&D(n,c);if(!n&&!c)return(0,v.b)(o,u)}return!1},R=function(t,e){var r=[],n={};return P(t).forEach(function(t,o){if(t&&t.type&&u()(t.type)&&T.indexOf(t.type)>=0)r.push(t);else if(t){var i=j(t.type),a=e[i]||{},c=a.handler,l=a.once;if(c&&(!l||!n[i])){var s=c(t,i,o);r.push(s),n[i]=!0}}}),r},B=function(t){var e=t&&t.type;return e&&w[e]?w[e]:null},L=function(t,e){return P(e).indexOf(t)}},12286:(t,e,r)=>{"use strict";function n(t,e){for(var r in t)if(({}).hasOwnProperty.call(t,r)&&(!({}).hasOwnProperty.call(e,r)||t[r]!==e[r]))return!1;for(var n in e)if(({}).hasOwnProperty.call(e,n)&&!({}).hasOwnProperty.call(t,n))return!1;return!0}r.d(e,{b:()=>n})},6991:(t,e,r)=>{"use strict";r.d(e,{g:()=>l});var n=r(53898),o=r(76876),i=r(83742);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function u(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?c(Object(r),!0).forEach(function(e){var n,o;n=e,o=r[e],(n=function(t){var e=function(t,e){if("object"!=a(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=a(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==a(e)?e:e+""}(n))in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var l=function(t){var e,r=t.children,a=t.formattedGraphicalItems,c=t.legendWidth,l=t.legendContent,s=(0,i.BU)(r,n.s);if(!s)return null;var f=n.s.defaultProps,p=void 0!==f?u(u({},f),s.props):{};return e=s.props&&s.props.payload?s.props&&s.props.payload:"children"===l?(a||[]).reduce(function(t,e){var r=e.item,n=e.props,o=n.sectors||n.data||[];return t.concat(o.map(function(t){return{type:s.props.iconType||r.props.legendType,value:t.name,color:t.fill,payload:t}}))},[]):(a||[]).map(function(t){var e=t.item,r=e.type.defaultProps,n=void 0!==r?u(u({},r),e.props):{},i=n.dataKey,a=n.name,c=n.legendType;return{inactive:n.hide,dataKey:i,type:p.iconType||c||"square",color:(0,o.Ps)(e),value:a||i,payload:n}}),u(u(u({},p),n.s.getWithHeight(s,c)),{},{payload:e,item:s})}},68896:(t,e,r)=>{"use strict";r.d(e,{s:()=>c});var n=r(55819),o=r.n(n),i=r(38207),a=r.n(i);function c(t,e,r){return!0===e?o()(t,r):a()(e)?o()(t,e):t}},10637:(t,e,r)=>{"use strict";r.d(e,{QQ:()=>c,VU:()=>l,XC:()=>p,_U:()=>f,j2:()=>s});var n=r(73706),o=r(50136),i=r.n(o);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var c=["aria-activedescendant","aria-atomic","aria-autocomplete","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colspan","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-modal","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","className","color","height","id","lang","max","media","method","min","name","style","target","width","role","tabIndex","accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baselineShift","baseProfile","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","href","ideographic","imageRendering","in2","in","intercept","k1","k2","k3","k4","k","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","vHanging","vIdeographic","viewTarget","visibility","vMathematical","widths","wordSpacing","writingMode","x1","x2","x","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlns","xmlnsXlink","xmlSpace","y1","y2","y","yChannelSelector","z","zoomAndPan","ref","key","angle"],u=["points","pathLength"],l={svg:["viewBox","children"],polygon:u,polyline:u},s=["dangerouslySetInnerHTML","onCopy","onCopyCapture","onCut","onCutCapture","onPaste","onPasteCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onChangeCapture","onBeforeInput","onBeforeInputCapture","onInput","onInputCapture","onReset","onResetCapture","onSubmit","onSubmitCapture","onInvalid","onInvalidCapture","onLoad","onLoadCapture","onError","onErrorCapture","onKeyDown","onKeyDownCapture","onKeyPress","onKeyPressCapture","onKeyUp","onKeyUpCapture","onAbort","onAbortCapture","onCanPlay","onCanPlayCapture","onCanPlayThrough","onCanPlayThroughCapture","onDurationChange","onDurationChangeCapture","onEmptied","onEmptiedCapture","onEncrypted","onEncryptedCapture","onEnded","onEndedCapture","onLoadedData","onLoadedDataCapture","onLoadedMetadata","onLoadedMetadataCapture","onLoadStart","onLoadStartCapture","onPause","onPauseCapture","onPlay","onPlayCapture","onPlaying","onPlayingCapture","onProgress","onProgressCapture","onRateChange","onRateChangeCapture","onSeeked","onSeekedCapture","onSeeking","onSeekingCapture","onStalled","onStalledCapture","onSuspend","onSuspendCapture","onTimeUpdate","onTimeUpdateCapture","onVolumeChange","onVolumeChangeCapture","onWaiting","onWaitingCapture","onAuxClick","onAuxClickCapture","onClick","onClickCapture","onContextMenu","onContextMenuCapture","onDoubleClick","onDoubleClickCapture","onDrag","onDragCapture","onDragEnd","onDragEndCapture","onDragEnter","onDragEnterCapture","onDragExit","onDragExitCapture","onDragLeave","onDragLeaveCapture","onDragOver","onDragOverCapture","onDragStart","onDragStartCapture","onDrop","onDropCapture","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseMoveCapture","onMouseOut","onMouseOutCapture","onMouseOver","onMouseOverCapture","onMouseUp","onMouseUpCapture","onSelect","onSelectCapture","onTouchCancel","onTouchCancelCapture","onTouchEnd","onTouchEndCapture","onTouchMove","onTouchMoveCapture","onTouchStart","onTouchStartCapture","onPointerDown","onPointerDownCapture","onPointerMove","onPointerMoveCapture","onPointerUp","onPointerUpCapture","onPointerCancel","onPointerCancelCapture","onPointerEnter","onPointerEnterCapture","onPointerLeave","onPointerLeaveCapture","onPointerOver","onPointerOverCapture","onPointerOut","onPointerOutCapture","onGotPointerCapture","onGotPointerCaptureCapture","onLostPointerCapture","onLostPointerCaptureCapture","onScroll","onScrollCapture","onWheel","onWheelCapture","onAnimationStart","onAnimationStartCapture","onAnimationEnd","onAnimationEndCapture","onAnimationIteration","onAnimationIterationCapture","onTransitionEnd","onTransitionEndCapture"],f=function(t,e){if(!t||"function"==typeof t||"boolean"==typeof t)return null;var r=t;if((0,n.isValidElement)(t)&&(r=t.props),!i()(r))return null;var o={};return Object.keys(r).forEach(function(t){s.includes(t)&&(o[t]=e||function(e){return r[t](r,e)})}),o},p=function(t,e,r){if(!i()(t)||"object"!==a(t))return null;var n=null;return Object.keys(t).forEach(function(o){var i=t[o];s.includes(o)&&"function"==typeof i&&(n||(n={}),n[o]=function(t){return i(e,r,t),null})}),n}},82377:t=>{(()=>{"use strict";"undefined"!=typeof __nccwpck_require__&&(__nccwpck_require__.ab=__dirname+"/");var e={};(()=>{e.parse=function(e,r){if("string"!=typeof e)throw TypeError("argument str must be a string");for(var o={},i=e.split(n),a=(r||{}).decode||t,c=0;c<i.length;c++){var u=i[c],l=u.indexOf("=");if(!(l<0)){var s=u.substr(0,l).trim(),f=u.substr(++l,u.length).trim();'"'==f[0]&&(f=f.slice(1,-1)),void 0==o[s]&&(o[s]=function(t,e){try{return e(t)}catch(e){return t}}(f,a))}}return o},e.serialize=function(t,e,n){var i=n||{},a=i.encode||r;if("function"!=typeof a)throw TypeError("option encode is invalid");if(!o.test(t))throw TypeError("argument name is invalid");var c=a(e);if(c&&!o.test(c))throw TypeError("argument val is invalid");var u=t+"="+c;if(null!=i.maxAge){var l=i.maxAge-0;if(isNaN(l)||!isFinite(l))throw TypeError("option maxAge is invalid");u+="; Max-Age="+Math.floor(l)}if(i.domain){if(!o.test(i.domain))throw TypeError("option domain is invalid");u+="; Domain="+i.domain}if(i.path){if(!o.test(i.path))throw TypeError("option path is invalid");u+="; Path="+i.path}if(i.expires){if("function"!=typeof i.expires.toUTCString)throw TypeError("option expires is invalid");u+="; Expires="+i.expires.toUTCString()}if(i.httpOnly&&(u+="; HttpOnly"),i.secure&&(u+="; Secure"),i.sameSite)switch("string"==typeof i.sameSite?i.sameSite.toLowerCase():i.sameSite){case!0:case"strict":u+="; SameSite=Strict";break;case"lax":u+="; SameSite=Lax";break;case"none":u+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return u};var t=decodeURIComponent,r=encodeURIComponent,n=/; */,o=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/})(),t.exports=e})()},92576:t=>{(()=>{"use strict";"undefined"!=typeof __nccwpck_require__&&(__nccwpck_require__.ab=__dirname+"/");var e={};(()=>{function t(t,e){void 0===e&&(e={});for(var r=function(t){for(var e=[],r=0;r<t.length;){var n=t[r];if("*"===n||"+"===n||"?"===n){e.push({type:"MODIFIER",index:r,value:t[r++]});continue}if("\\"===n){e.push({type:"ESCAPED_CHAR",index:r++,value:t[r++]});continue}if("{"===n){e.push({type:"OPEN",index:r,value:t[r++]});continue}if("}"===n){e.push({type:"CLOSE",index:r,value:t[r++]});continue}if(":"===n){for(var o="",i=r+1;i<t.length;){var a=t.charCodeAt(i);if(a>=48&&a<=57||a>=65&&a<=90||a>=97&&a<=122||95===a){o+=t[i++];continue}break}if(!o)throw TypeError("Missing parameter name at "+r);e.push({type:"NAME",index:r,value:o}),r=i;continue}if("("===n){var c=1,u="",i=r+1;if("?"===t[i])throw TypeError('Pattern cannot start with "?" at '+i);for(;i<t.length;){if("\\"===t[i]){u+=t[i++]+t[i++];continue}if(")"===t[i]){if(0==--c){i++;break}}else if("("===t[i]&&(c++,"?"!==t[i+1]))throw TypeError("Capturing groups are not allowed at "+i);u+=t[i++]}if(c)throw TypeError("Unbalanced pattern at "+r);if(!u)throw TypeError("Missing pattern at "+r);e.push({type:"PATTERN",index:r,value:u}),r=i;continue}e.push({type:"CHAR",index:r,value:t[r++]})}return e.push({type:"END",index:r,value:""}),e}(t),n=e.prefixes,i=void 0===n?"./":n,a="[^"+o(e.delimiter||"/#?")+"]+?",c=[],u=0,l=0,s="",f=function(t){if(l<r.length&&r[l].type===t)return r[l++].value},p=function(t){var e=f(t);if(void 0!==e)return e;var n=r[l];throw TypeError("Unexpected "+n.type+" at "+n.index+", expected "+t)},h=function(){for(var t,e="";t=f("CHAR")||f("ESCAPED_CHAR");)e+=t;return e};l<r.length;){var d=f("CHAR"),y=f("NAME"),v=f("PATTERN");if(y||v){var m=d||"";-1===i.indexOf(m)&&(s+=m,m=""),s&&(c.push(s),s=""),c.push({name:y||u++,prefix:m,suffix:"",pattern:v||a,modifier:f("MODIFIER")||""});continue}var b=d||f("ESCAPED_CHAR");if(b){s+=b;continue}if(s&&(c.push(s),s=""),f("OPEN")){var m=h(),g=f("NAME")||"",x=f("PATTERN")||"",O=h();p("CLOSE"),c.push({name:g||(x?u++:""),pattern:g&&!x?a:x,prefix:m,suffix:O,modifier:f("MODIFIER")||""});continue}p("END")}return c}function r(t,e){void 0===e&&(e={});var r=i(e),n=e.encode,o=void 0===n?function(t){return t}:n,a=e.validate,c=void 0===a||a,u=t.map(function(t){if("object"==typeof t)return RegExp("^(?:"+t.pattern+")$",r)});return function(e){for(var r="",n=0;n<t.length;n++){var i=t[n];if("string"==typeof i){r+=i;continue}var a=e?e[i.name]:void 0,l="?"===i.modifier||"*"===i.modifier,s="*"===i.modifier||"+"===i.modifier;if(Array.isArray(a)){if(!s)throw TypeError('Expected "'+i.name+'" to not repeat, but got an array');if(0===a.length){if(l)continue;throw TypeError('Expected "'+i.name+'" to not be empty')}for(var f=0;f<a.length;f++){var p=o(a[f],i);if(c&&!u[n].test(p))throw TypeError('Expected all "'+i.name+'" to match "'+i.pattern+'", but got "'+p+'"');r+=i.prefix+p+i.suffix}continue}if("string"==typeof a||"number"==typeof a){var p=o(String(a),i);if(c&&!u[n].test(p))throw TypeError('Expected "'+i.name+'" to match "'+i.pattern+'", but got "'+p+'"');r+=i.prefix+p+i.suffix;continue}if(!l){var h=s?"an array":"a string";throw TypeError('Expected "'+i.name+'" to be '+h)}}return r}}function n(t,e,r){void 0===r&&(r={});var n=r.decode,o=void 0===n?function(t){return t}:n;return function(r){var n=t.exec(r);if(!n)return!1;for(var i=n[0],a=n.index,c=Object.create(null),u=1;u<n.length;u++)!function(t){if(void 0!==n[t]){var r=e[t-1];"*"===r.modifier||"+"===r.modifier?c[r.name]=n[t].split(r.prefix+r.suffix).map(function(t){return o(t,r)}):c[r.name]=o(n[t],r)}}(u);return{path:i,index:a,params:c}}}function o(t){return t.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function i(t){return t&&t.sensitive?"":"i"}function a(t,e,r){void 0===r&&(r={});for(var n=r.strict,a=void 0!==n&&n,c=r.start,u=r.end,l=r.encode,s=void 0===l?function(t){return t}:l,f="["+o(r.endsWith||"")+"]|$",p="["+o(r.delimiter||"/#?")+"]",h=void 0===c||c?"^":"",d=0;d<t.length;d++){var y=t[d];if("string"==typeof y)h+=o(s(y));else{var v=o(s(y.prefix)),m=o(s(y.suffix));if(y.pattern){if(e&&e.push(y),v||m){if("+"===y.modifier||"*"===y.modifier){var b="*"===y.modifier?"?":"";h+="(?:"+v+"((?:"+y.pattern+")(?:"+m+v+"(?:"+y.pattern+"))*)"+m+")"+b}else h+="(?:"+v+"("+y.pattern+")"+m+")"+y.modifier}else h+="("+y.pattern+")"+y.modifier}else h+="(?:"+v+m+")"+y.modifier}}if(void 0===u||u)a||(h+=p+"?"),h+=r.endsWith?"(?="+f+")":"$";else{var g=t[t.length-1],x="string"==typeof g?p.indexOf(g[g.length-1])>-1:void 0===g;a||(h+="(?:"+p+"(?="+f+"))?"),x||(h+="(?="+p+"|"+f+")")}return new RegExp(h,i(r))}function c(e,r,n){return e instanceof RegExp?function(t,e){if(!e)return t;var r=t.source.match(/\((?!\?)/g);if(r)for(var n=0;n<r.length;n++)e.push({name:n,prefix:"",suffix:"",modifier:"",pattern:""});return t}(e,r):Array.isArray(e)?RegExp("(?:"+e.map(function(t){return c(t,r,n).source}).join("|")+")",i(n)):a(t(e,n),r,n)}Object.defineProperty(e,"__esModule",{value:!0}),e.parse=t,e.compile=function(e,n){return r(t(e,n),n)},e.tokensToFunction=r,e.match=function(t,e){var r=[];return n(c(t,r,e),r,e)},e.regexpToFunction=n,e.tokensToRegexp=a,e.pathToRegexp=c})(),t.exports=e})()},66328:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:e[r]})}(e,{fillMetadataSegment:function(){return p},normalizeMetadataPageToRoute:function(){return d},normalizeMetadataRoute:function(){return h}});let n=r(23162),o=function(t){return t&&t.__esModule?t:{default:t}}(r(35325)),i=r(29803),a=r(54825),c=r(93210),u=r(32464),l=r(75020),s=r(4629);function f(t){let e=o.default.dirname(t);if(t.endsWith("/sitemap"))return"";let r="";return e.split("/").some(t=>(0,s.isGroupSegment)(t)||(0,s.isParallelRouteSegment)(t))&&(r=(0,c.djb2Hash)(e).toString(36).slice(0,6)),r}function p(t,e,r){let n=(0,u.normalizeAppPath)(t),c=(0,a.getNamedRouteRegex)(n,!1),s=(0,i.interpolateDynamicPath)(n,e,c),{name:p,ext:h}=o.default.parse(r),d=f(o.default.posix.join(t,p)),y=d?`-${d}`:"";return(0,l.normalizePathSep)(o.default.join(s,`${p}${y}${h}`))}function h(t){if(!(0,n.isMetadataRoute)(t))return t;let e=t,r="";if("/robots"===t?e+=".txt":"/manifest"===t?e+=".webmanifest":r=f(t),!e.endsWith("/route")){let{dir:t,name:n,ext:i}=o.default.parse(e);e=o.default.posix.join(t,`${n}${r?`-${r}`:""}${i}`,"route")}return e}function d(t,e){let r=t.endsWith("/route"),n=r?t.slice(0,-6):t,o=n.endsWith("/sitemap")?".xml":"";return(e?`${n}/[__metadata_id__]`:`${n}${o}`)+(r?"/route":"")}},23162:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:e[r]})}(e,{STATIC_METADATA_IMAGES:function(){return o},getExtensionRegexString:function(){return a},isMetadataRoute:function(){return s},isMetadataRouteFile:function(){return c},isStaticMetadataRoute:function(){return l},isStaticMetadataRouteFile:function(){return u}});let n=r(75020),o={icon:{filename:"icon",extensions:["ico","jpg","jpeg","png","svg"]},apple:{filename:"apple-icon",extensions:["jpg","jpeg","png"]},favicon:{filename:"favicon",extensions:["ico"]},openGraph:{filename:"opengraph-image",extensions:["jpg","jpeg","png","gif"]},twitter:{filename:"twitter-image",extensions:["jpg","jpeg","png","gif"]}},i=["js","jsx","ts","tsx"],a=(t,e)=>e?`(?:\\.(${t.join("|")})|((\\[\\])?\\.(${e.join("|")})))`:`\\.(?:${t.join("|")})`;function c(t,e,r){let i=[RegExp(`^[\\\\/]robots${r?`${a(e.concat("txt"),null)}$`:""}`),RegExp(`^[\\\\/]manifest${r?`${a(e.concat("webmanifest","json"),null)}$`:""}`),RegExp("^[\\\\/]favicon\\.ico$"),RegExp(`[\\\\/]sitemap${r?`${a(["xml"],e)}$`:""}`),RegExp(`[\\\\/]${o.icon.filename}\\d?${r?`${a(o.icon.extensions,e)}$`:""}`),RegExp(`[\\\\/]${o.apple.filename}\\d?${r?`${a(o.apple.extensions,e)}$`:""}`),RegExp(`[\\\\/]${o.openGraph.filename}\\d?${r?`${a(o.openGraph.extensions,e)}$`:""}`),RegExp(`[\\\\/]${o.twitter.filename}\\d?${r?`${a(o.twitter.extensions,e)}$`:""}`)],c=(0,n.normalizePathSep)(t);return i.some(t=>t.test(c))}function u(t){return c(t,[],!0)}function l(t){return"/robots"===t||"/manifest"===t||u(t)}function s(t){let e=t.replace(/^\/?app\//,"").replace(/\/route$/,"");return"/"!==e[0]&&(e="/"+e),!e.endsWith("/page")&&c(e,i,!1)}},4498:(t,e,r)=>{"use strict";function n(t){return function(){let{cookie:e}=t;if(!e)return{};let{parse:n}=r(82377);return n(Array.isArray(e)?e.join("; "):e)}}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getCookieParser",{enumerable:!0,get:function(){return n}})},971:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:e[r]})}(e,{INTERCEPTION_ROUTE_MARKERS:function(){return o},extractInterceptionRouteInformation:function(){return a},isInterceptionRouteAppPath:function(){return i}});let n=r(32464),o=["(..)(..)","(.)","(..)","(...)"];function i(t){return void 0!==t.split("/").find(t=>o.find(e=>t.startsWith(e)))}function a(t){let e,r,i;for(let n of t.split("/"))if(r=o.find(t=>n.startsWith(t))){[e,i]=t.split(r,2);break}if(!e||!r||!i)throw Error(`Invalid interception route: ${t}. Must be in the format /<intercepting route>/(..|...|..)(..)/<intercepted route>`);switch(e=(0,n.normalizeAppPath)(e),r){case"(.)":i="/"===e?`/${i}`:e+"/"+i;break;case"(..)":if("/"===e)throw Error(`Invalid interception route: ${t}. Cannot use (..) marker at the root level, use (.) instead.`);i=e.split("/").slice(0,-1).concat(i).join("/");break;case"(...)":i="/"+i;break;case"(..)(..)":let a=e.split("/");if(a.length<=2)throw Error(`Invalid interception route: ${t}. Cannot use (..)(..) marker at the root level or one level up.`);i=a.slice(0,-2).concat(i).join("/");break;default:throw Error("Invariant: unexpected marker")}return{interceptingRoute:e,interceptedRoute:i}}},29803:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:e[r]})}(e,{getUtils:function(){return y},interpolateDynamicPath:function(){return h},normalizeDynamicRouteParams:function(){return d},normalizeVercelUrl:function(){return p}});let n=r(79551),o=r(22657),i=r(69159),a=r(54825),c=r(31868),u=r(69472),l=r(35009),s=r(32464),f=r(51749);function p(t,e,r,o,i){if(o&&e&&i){let e=(0,n.parse)(t.url,!0);for(let t of(delete e.search,Object.keys(e.query))){let n=t!==f.NEXT_QUERY_PARAM_PREFIX&&t.startsWith(f.NEXT_QUERY_PARAM_PREFIX),o=t!==f.NEXT_INTERCEPTION_MARKER_PREFIX&&t.startsWith(f.NEXT_INTERCEPTION_MARKER_PREFIX);(n||o||(r||Object.keys(i.groups)).includes(t))&&delete e.query[t]}t.url=(0,n.format)(e)}}function h(t,e,r){if(!r)return t;for(let n of Object.keys(r.groups)){let o;let{optional:i,repeat:a}=r.groups[n],c=`[${a?"...":""}${n}]`;i&&(c=`[${c}]`);let u=e[n];o=Array.isArray(u)?u.map(t=>t&&encodeURIComponent(t)).join("/"):u?encodeURIComponent(u):"",t=t.replaceAll(c,o)}return t}function d(t,e,r,n){let o=!0;return r?{params:t=Object.keys(r.groups).reduce((i,a)=>{let c=t[a];"string"==typeof c&&(c=(0,s.normalizeRscURL)(c)),Array.isArray(c)&&(c=c.map(t=>("string"==typeof t&&(t=(0,s.normalizeRscURL)(t)),t)));let u=n[a],l=r.groups[a].optional;return((Array.isArray(u)?u.some(t=>Array.isArray(c)?c.some(e=>e.includes(t)):null==c?void 0:c.includes(t)):null==c?void 0:c.includes(u))||void 0===c&&!(l&&e))&&(o=!1),l&&(!c||Array.isArray(c)&&1===c.length&&("index"===c[0]||c[0]===`[[...${a}]]`))&&(c=void 0,delete t[a]),c&&"string"==typeof c&&r.groups[a].repeat&&(c=c.split("/")),c&&(i[a]=c),i},{}),hasValidParams:o}:{params:t,hasValidParams:!1}}function y({page:t,i18n:e,basePath:r,rewrites:n,pageIsDynamic:s,trailingSlash:y,caseSensitive:v}){let m,b,g;return s&&(m=(0,a.getNamedRouteRegex)(t,!1),g=(b=(0,c.getRouteMatcher)(m))(t)),{handleRewrites:function(a,c){let f={},p=c.pathname,h=n=>{let l=(0,i.getPathMatch)(n.source+(y?"(/)?":""),{removeUnnamedParams:!0,strict:!0,sensitive:!!v})(c.pathname);if((n.has||n.missing)&&l){let t=(0,u.matchHas)(a,c.query,n.has,n.missing);t?Object.assign(l,t):l=!1}if(l){let{parsedDestination:i,destQuery:a}=(0,u.prepareDestination)({appendParamsToQuery:!0,destination:n.destination,params:l,query:c.query});if(i.protocol)return!0;if(Object.assign(f,a,l),Object.assign(c.query,i.query),delete i.query,Object.assign(c,i),p=c.pathname,r&&(p=p.replace(RegExp(`^${r}`),"")||"/"),e){let t=(0,o.normalizeLocalePath)(p,e.locales);p=t.pathname,c.query.nextInternalLocale=t.detectedLocale||l.nextInternalLocale}if(p===t)return!0;if(s&&b){let t=b(p);if(t)return c.query={...c.query,...t},!0}}return!1};for(let t of n.beforeFiles||[])h(t);if(p!==t){let e=!1;for(let t of n.afterFiles||[])if(e=h(t))break;if(!e&&!(()=>{let e=(0,l.removeTrailingSlash)(p||"");return e===(0,l.removeTrailingSlash)(t)||(null==b?void 0:b(e))})()){for(let t of n.fallback||[])if(e=h(t))break}}return f},defaultRouteRegex:m,dynamicRouteMatcher:b,defaultRouteMatches:g,getParamsFromRouteMatches:function(t,r,n){return(0,c.getRouteMatcher)(function(){let{groups:t,routeKeys:o}=m;return{re:{exec:i=>{let a=Object.fromEntries(new URLSearchParams(i)),c=e&&n&&a["1"]===n;for(let t of Object.keys(a)){let e=a[t];t!==f.NEXT_QUERY_PARAM_PREFIX&&t.startsWith(f.NEXT_QUERY_PARAM_PREFIX)&&(a[t.substring(f.NEXT_QUERY_PARAM_PREFIX.length)]=e,delete a[t])}let u=Object.keys(o||{}),l=t=>{if(e){let o=Array.isArray(t),i=o?t[0]:t;if("string"==typeof i&&e.locales.some(t=>t.toLowerCase()===i.toLowerCase()&&(n=t,r.locale=n,!0)))return o&&t.splice(0,1),!o||0===t.length}return!1};return u.every(t=>a[t])?u.reduce((e,r)=>{let n=null==o?void 0:o[r];return n&&!l(a[r])&&(e[t[n].pos]=a[r]),e},{}):Object.keys(a).reduce((t,e)=>{if(!l(a[e])){let r=e;return c&&(r=parseInt(e,10)-1+""),Object.assign(t,{[r]:a[e]})}return t},{})}},groups:t}}())(t.headers["x-now-route-matches"])},normalizeDynamicRouteParams:(t,e)=>d(t,e,m,g),normalizeVercelUrl:(t,e,r)=>p(t,e,r,s,m),interpolateDynamicPath:(t,e)=>h(t,e,m)}}},731:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"escapeStringRegexp",{enumerable:!0,get:function(){return o}});let r=/[|\\{}()[\]^$+*?.-]/,n=/[|\\{}()[\]^$+*?.-]/g;function o(t){return r.test(t)?t.replace(n,"\\$&"):t}},93210:(t,e)=>{"use strict";function r(t){let e=5381;for(let r=0;r<t.length;r++)e=(e<<5)+e+t.charCodeAt(r)&0xffffffff;return e>>>0}function n(t){return r(t).toString(36).slice(0,5)}Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:e[r]})}(e,{djb2Hash:function(){return r},hexHash:function(){return n}})},91809:(t,e)=>{"use strict";function r(t){return t.startsWith("/")?t:"/"+t}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ensureLeadingSlash",{enumerable:!0,get:function(){return r}})},75020:(t,e)=>{"use strict";function r(t){return t.replace(/\\/g,"/")}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"normalizePathSep",{enumerable:!0,get:function(){return r}})},32464:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:e[r]})}(e,{normalizeAppPath:function(){return i},normalizeRscURL:function(){return a}});let n=r(91809),o=r(4629);function i(t){return(0,n.ensureLeadingSlash)(t.split("/").reduce((t,e,r,n)=>!e||(0,o.isGroupSegment)(e)||"@"===e[0]||("page"===e||"route"===e)&&r===n.length-1?t:t+"/"+e,""))}function a(t){return t.replace(/\.rsc($|\?)/,"$1")}},52242:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"parseRelativeUrl",{enumerable:!0,get:function(){return o}}),r(82797);let n=r(10919);function o(t,e,r){void 0===r&&(r=!0);let o=new URL("http://n"),i=e?new URL(e,o):t.startsWith(".")?new URL("http://n"):o,{pathname:a,searchParams:c,search:u,hash:l,href:s,origin:f}=new URL(t,i);if(f!==o.origin)throw Error("invariant: invalid relative URL, router received "+t);return{pathname:a,query:r?(0,n.searchParamsToUrlQuery)(c):void 0,search:u,hash:l,href:s.slice(f.length)}}},90261:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"parseUrl",{enumerable:!0,get:function(){return i}});let n=r(10919),o=r(52242);function i(t){if(t.startsWith("/"))return(0,o.parseRelativeUrl)(t);let e=new URL(t);return{hash:e.hash,hostname:e.hostname,href:e.href,pathname:e.pathname,port:e.port,protocol:e.protocol,query:(0,n.searchParamsToUrlQuery)(e.searchParams),search:e.search}}},69159:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getPathMatch",{enumerable:!0,get:function(){return o}});let n=r(92576);function o(t,e){let r=[],o=(0,n.pathToRegexp)(t,r,{delimiter:"/",sensitive:"boolean"==typeof(null==e?void 0:e.sensitive)&&e.sensitive,strict:null==e?void 0:e.strict}),i=(0,n.regexpToFunction)((null==e?void 0:e.regexModifier)?new RegExp(e.regexModifier(o.source),o.flags):o,r);return(t,n)=>{if("string"!=typeof t)return!1;let o=i(t);if(!o)return!1;if(null==e?void 0:e.removeUnnamedParams)for(let t of r)"number"==typeof t.name&&delete o.params[t.name];return{...n,...o.params}}}},69472:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:e[r]})}(e,{compileNonPath:function(){return f},matchHas:function(){return s},prepareDestination:function(){return p}});let n=r(92576),o=r(731),i=r(90261),a=r(971),c=r(78871),u=r(4498);function l(t){return t.replace(/__ESC_COLON_/gi,":")}function s(t,e,r,n){void 0===r&&(r=[]),void 0===n&&(n=[]);let o={},i=r=>{let n;let i=r.key;switch(r.type){case"header":i=i.toLowerCase(),n=t.headers[i];break;case"cookie":n="cookies"in t?t.cookies[r.key]:(0,u.getCookieParser)(t.headers)()[r.key];break;case"query":n=e[i];break;case"host":{let{host:e}=(null==t?void 0:t.headers)||{};n=null==e?void 0:e.split(":",1)[0].toLowerCase()}}if(!r.value&&n)return o[function(t){let e="";for(let r=0;r<t.length;r++){let n=t.charCodeAt(r);(n>64&&n<91||n>96&&n<123)&&(e+=t[r])}return e}(i)]=n,!0;if(n){let t=RegExp("^"+r.value+"$"),e=Array.isArray(n)?n.slice(-1)[0].match(t):n.match(t);if(e)return Array.isArray(e)&&(e.groups?Object.keys(e.groups).forEach(t=>{o[t]=e.groups[t]}):"host"===r.type&&e[0]&&(o.host=e[0])),!0}return!1};return!!r.every(t=>i(t))&&!n.some(t=>i(t))&&o}function f(t,e){if(!t.includes(":"))return t;for(let r of Object.keys(e))t.includes(":"+r)&&(t=t.replace(RegExp(":"+r+"\\*","g"),":"+r+"--ESCAPED_PARAM_ASTERISKS").replace(RegExp(":"+r+"\\?","g"),":"+r+"--ESCAPED_PARAM_QUESTION").replace(RegExp(":"+r+"\\+","g"),":"+r+"--ESCAPED_PARAM_PLUS").replace(RegExp(":"+r+"(?!\\w)","g"),"--ESCAPED_PARAM_COLON"+r));return t=t.replace(/(:|\*|\?|\+|\(|\)|\{|\})/g,"\\$1").replace(/--ESCAPED_PARAM_PLUS/g,"+").replace(/--ESCAPED_PARAM_COLON/g,":").replace(/--ESCAPED_PARAM_QUESTION/g,"?").replace(/--ESCAPED_PARAM_ASTERISKS/g,"*"),(0,n.compile)("/"+t,{validate:!1})(e).slice(1)}function p(t){let e;let r=Object.assign({},t.query);delete r.__nextLocale,delete r.__nextDefaultLocale,delete r.__nextDataReq,delete r.__nextInferredLocaleFromDefault,delete r[c.NEXT_RSC_UNION_QUERY];let u=t.destination;for(let e of Object.keys({...t.params,...r}))u=e?u.replace(RegExp(":"+(0,o.escapeStringRegexp)(e),"g"),"__ESC_COLON_"+e):u;let s=(0,i.parseUrl)(u),p=s.query,h=l(""+s.pathname+(s.hash||"")),d=l(s.hostname||""),y=[],v=[];(0,n.pathToRegexp)(h,y),(0,n.pathToRegexp)(d,v);let m=[];y.forEach(t=>m.push(t.name)),v.forEach(t=>m.push(t.name));let b=(0,n.compile)(h,{validate:!1}),g=(0,n.compile)(d,{validate:!1});for(let[e,r]of Object.entries(p))Array.isArray(r)?p[e]=r.map(e=>f(l(e),t.params)):"string"==typeof r&&(p[e]=f(l(r),t.params));let x=Object.keys(t.params).filter(t=>"nextInternalLocale"!==t);if(t.appendParamsToQuery&&!x.some(t=>m.includes(t)))for(let e of x)e in p||(p[e]=t.params[e]);if((0,a.isInterceptionRouteAppPath)(h))for(let e of h.split("/")){let r=a.INTERCEPTION_ROUTE_MARKERS.find(t=>e.startsWith(t));if(r){"(..)(..)"===r?(t.params["0"]="(..)",t.params["1"]="(..)"):t.params["0"]=r;break}}try{let[r,n]=(e=b(t.params)).split("#",2);s.hostname=g(t.params),s.pathname=r,s.hash=(n?"#":"")+(n||""),delete s.search}catch(t){if(t.message.match(/Expected .*? to not repeat, but got an array/))throw Error("To use a multi-match in the destination you must add `*` at the end of the param name to signify it should repeat. https://nextjs.org/docs/messages/invalid-multi-match");throw t}return s.query={...r,...s.query},{newUrl:e,destQuery:p,parsedDestination:s}}},10919:(t,e)=>{"use strict";function r(t){let e={};return t.forEach((t,r)=>{void 0===e[r]?e[r]=t:Array.isArray(e[r])?e[r].push(t):e[r]=[e[r],t]}),e}function n(t){return"string"!=typeof t&&("number"!=typeof t||isNaN(t))&&"boolean"!=typeof t?"":String(t)}function o(t){let e=new URLSearchParams;return Object.entries(t).forEach(t=>{let[r,o]=t;Array.isArray(o)?o.forEach(t=>e.append(r,n(t))):e.set(r,n(o))}),e}function i(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return r.forEach(e=>{Array.from(e.keys()).forEach(e=>t.delete(e)),e.forEach((e,r)=>t.append(r,e))}),t}Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:e[r]})}(e,{assign:function(){return i},searchParamsToUrlQuery:function(){return r},urlQueryToSearchParams:function(){return o}})},31868:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getRouteMatcher",{enumerable:!0,get:function(){return o}});let n=r(82797);function o(t){let{re:e,groups:r}=t;return t=>{let o=e.exec(t);if(!o)return!1;let i=t=>{try{return decodeURIComponent(t)}catch(t){throw new n.DecodeError("failed to decode param")}},a={};return Object.keys(r).forEach(t=>{let e=r[t],n=o[e.pos];void 0!==n&&(a[t]=~n.indexOf("/")?n.split("/").map(t=>i(t)):e.repeat?[i(n)]:i(n))}),a}}},54825:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:e[r]})}(e,{getNamedMiddlewareRegex:function(){return y},getNamedRouteRegex:function(){return d},getRouteRegex:function(){return f},parseParameter:function(){return u}});let n=r(51749),o=r(971),i=r(731),a=r(35009),c=/\[((?:\[.*\])|.+)\]/;function u(t){let e=t.match(c);return e?l(e[1]):l(t)}function l(t){let e=t.startsWith("[")&&t.endsWith("]");e&&(t=t.slice(1,-1));let r=t.startsWith("...");return r&&(t=t.slice(3)),{key:t,repeat:r,optional:e}}function s(t){let e=(0,a.removeTrailingSlash)(t).slice(1).split("/"),r={},n=1;return{parameterizedRoute:e.map(t=>{let e=o.INTERCEPTION_ROUTE_MARKERS.find(e=>t.startsWith(e)),a=t.match(c);if(e&&a){let{key:t,optional:o,repeat:c}=l(a[1]);return r[t]={pos:n++,repeat:c,optional:o},"/"+(0,i.escapeStringRegexp)(e)+"([^/]+?)"}if(!a)return"/"+(0,i.escapeStringRegexp)(t);{let{key:t,repeat:e,optional:o}=l(a[1]);return r[t]={pos:n++,repeat:e,optional:o},e?o?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)"}}).join(""),groups:r}}function f(t){let{parameterizedRoute:e,groups:r}=s(t);return{re:RegExp("^"+e+"(?:/)?$"),groups:r}}function p(t){let{interceptionMarker:e,getSafeRouteKey:r,segment:n,routeKeys:o,keyPrefix:a}=t,{key:c,optional:u,repeat:s}=l(n),f=c.replace(/\W/g,"");a&&(f=""+a+f);let p=!1;(0===f.length||f.length>30)&&(p=!0),isNaN(parseInt(f.slice(0,1)))||(p=!0),p&&(f=r()),a?o[f]=""+a+c:o[f]=c;let h=e?(0,i.escapeStringRegexp)(e):"";return s?u?"(?:/"+h+"(?<"+f+">.+?))?":"/"+h+"(?<"+f+">.+?)":"/"+h+"(?<"+f+">[^/]+?)"}function h(t,e){let r;let c=(0,a.removeTrailingSlash)(t).slice(1).split("/"),u=(r=0,()=>{let t="",e=++r;for(;e>0;)t+=String.fromCharCode(97+(e-1)%26),e=Math.floor((e-1)/26);return t}),l={};return{namedParameterizedRoute:c.map(t=>{let r=o.INTERCEPTION_ROUTE_MARKERS.some(e=>t.startsWith(e)),a=t.match(/\[((?:\[.*\])|.+)\]/);if(r&&a){let[r]=t.split(a[0]);return p({getSafeRouteKey:u,interceptionMarker:r,segment:a[1],routeKeys:l,keyPrefix:e?n.NEXT_INTERCEPTION_MARKER_PREFIX:void 0})}return a?p({getSafeRouteKey:u,segment:a[1],routeKeys:l,keyPrefix:e?n.NEXT_QUERY_PARAM_PREFIX:void 0}):"/"+(0,i.escapeStringRegexp)(t)}).join(""),routeKeys:l}}function d(t,e){let r=h(t,e);return{...f(t),namedRegex:"^"+r.namedParameterizedRoute+"(?:/)?$",routeKeys:r.routeKeys}}function y(t,e){let{parameterizedRoute:r}=s(t),{catchAll:n=!0}=e;if("/"===r)return{namedRegex:"^/"+(n?".*":"")+"$"};let{namedParameterizedRoute:o}=h(t,!1);return{namedRegex:"^"+o+(n?"(?:(/.*)?)":"")+"$"}}},82797:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:e[r]})}(e,{DecodeError:function(){return d},MiddlewareNotFoundError:function(){return b},MissingStaticPage:function(){return m},NormalizeError:function(){return y},PageNotFoundError:function(){return v},SP:function(){return p},ST:function(){return h},WEB_VITALS:function(){return r},execOnce:function(){return n},getDisplayName:function(){return u},getLocationOrigin:function(){return a},getURL:function(){return c},isAbsoluteUrl:function(){return i},isResSent:function(){return l},loadGetInitialProps:function(){return f},normalizeRepeatedSlashes:function(){return s},stringifyError:function(){return g}});let r=["CLS","FCP","FID","INP","LCP","TTFB"];function n(t){let e,r=!1;return function(){for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];return r||(r=!0,e=t(...o)),e}}let o=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,i=t=>o.test(t);function a(){let{protocol:t,hostname:e,port:r}=window.location;return t+"//"+e+(r?":"+r:"")}function c(){let{href:t}=window.location,e=a();return t.substring(e.length)}function u(t){return"string"==typeof t?t:t.displayName||t.name||"Unknown"}function l(t){return t.finished||t.headersSent}function s(t){let e=t.split("?");return e[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(e[1]?"?"+e.slice(1).join("?"):"")}async function f(t,e){let r=e.res||e.ctx&&e.ctx.res;if(!t.getInitialProps)return e.ctx&&e.Component?{pageProps:await f(e.Component,e.ctx)}:{};let n=await t.getInitialProps(e);if(r&&l(r))return n;if(!n)throw Error('"'+u(t)+'.getInitialProps()" should resolve to an object. But found "'+n+'" instead.');return n}let p="undefined"!=typeof performance,h=p&&["mark","measure","getEntriesByName"].every(t=>"function"==typeof performance[t]);class d extends Error{}class y extends Error{}class v extends Error{constructor(t){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+t}}class m extends Error{constructor(t,e){super(),this.message="Failed to load static file for page: "+t+" "+e}}class b extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function g(t){return JSON.stringify({message:t.message,stack:t.stack})}},67989:(t,e,r)=>{"use strict";r.d(e,{A:()=>i,z:()=>a});var n=r(37181),o=r(14589);function i(){var t,e,r=(0,o.A)().unknown(void 0),a=r.domain,c=r.range,u=0,l=1,s=!1,f=0,p=0,h=.5;function d(){var r=a().length,n=l<u,o=n?l:u,i=n?u:l;t=(i-o)/Math.max(1,r-f+2*p),s&&(t=Math.floor(t)),o+=(i-o-t*(r-f))*h,e=t*(1-f),s&&(o=Math.round(o),e=Math.round(e));var d=(function(t,e,r){t=+t,e=+e,r=(o=arguments.length)<2?(e=t,t=0,1):o<3?1:+r;for(var n=-1,o=0|Math.max(0,Math.ceil((e-t)/r)),i=Array(o);++n<o;)i[n]=t+n*r;return i})(r).map(function(e){return o+t*e});return c(n?d.reverse():d)}return delete r.unknown,r.domain=function(t){return arguments.length?(a(t),d()):a()},r.range=function(t){return arguments.length?([u,l]=t,u=+u,l=+l,d()):[u,l]},r.rangeRound=function(t){return[u,l]=t,u=+u,l=+l,s=!0,d()},r.bandwidth=function(){return e},r.step=function(){return t},r.round=function(t){return arguments.length?(s=!!t,d()):s},r.padding=function(t){return arguments.length?(f=Math.min(1,p=+t),d()):f},r.paddingInner=function(t){return arguments.length?(f=Math.min(1,t),d()):f},r.paddingOuter=function(t){return arguments.length?(p=+t,d()):p},r.align=function(t){return arguments.length?(h=Math.max(0,Math.min(1,t)),d()):h},r.copy=function(){return i(a(),[u,l]).round(s).paddingInner(f).paddingOuter(p).align(h)},n.C.apply(d(),arguments)}function a(){return function t(e){var r=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return t(r())},e}(i.apply(null,arguments).paddingInner(1))}},37181:(t,e,r)=>{"use strict";function n(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}function o(t,e){switch(arguments.length){case 0:break;case 1:"function"==typeof t?this.interpolator(t):this.range(t);break;default:this.domain(t),"function"==typeof e?this.interpolator(e):this.range(e)}return this}r.d(e,{C:()=>n,K:()=>o})},14589:(t,e,r)=>{"use strict";r.d(e,{A:()=>function t(){var e=new n,r=[],o=[],i=c;function u(t){let n=e.get(t);if(void 0===n){if(i!==c)return i;e.set(t,n=r.push(t)-1)}return o[n%o.length]}return u.domain=function(t){if(!arguments.length)return r.slice();for(let o of(r=[],e=new n,t))e.has(o)||e.set(o,r.push(o)-1);return u},u.range=function(t){return arguments.length?(o=Array.from(t),u):o.slice()},u.unknown=function(t){return arguments.length?(i=t,u):i},u.copy=function(){return t(r,o).unknown(i)},a.C.apply(u,arguments),u},h:()=>c});class n extends Map{constructor(t,e=i){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:e}}),null!=t)for(let[e,r]of t)this.set(e,r)}get(t){return super.get(o(this,t))}has(t){return super.has(o(this,t))}set(t,e){return super.set(function({_intern:t,_key:e},r){let n=e(r);return t.has(n)?t.get(n):(t.set(n,r),r)}(this,t),e)}delete(t){return super.delete(function({_intern:t,_key:e},r){let n=e(r);return t.has(n)&&(r=t.get(n),t.delete(n)),r}(this,t))}}function o({_intern:t,_key:e},r){let n=e(r);return t.has(n)?t.get(n):r}function i(t){return null!==t&&"object"==typeof t?t.valueOf():t}var a=r(37181);let c=Symbol("implicit")},59411:(t,e,r)=>{"use strict";function n(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}r.d(e,{A:()=>n}),Array.prototype.slice},10044:(t,e,r)=>{"use strict";function n(t){return function(){return t}}r.d(e,{A:()=>n})},42359:(t,e,r)=>{"use strict";r.d(e,{i:()=>u});let n=Math.PI,o=2*n,i=o-1e-6;function a(t){this._+=t[0];for(let e=1,r=t.length;e<r;++e)this._+=arguments[e]+t[e]}class c{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==t?a:function(t){let e=Math.floor(t);if(!(e>=0))throw Error(`invalid digits: ${t}`);if(e>15)return a;let r=10**e;return function(t){this._+=t[0];for(let e=1,n=t.length;e<n;++e)this._+=Math.round(arguments[e]*r)/r+t[e]}}(t)}moveTo(t,e){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,e){this._append`L${this._x1=+t},${this._y1=+e}`}quadraticCurveTo(t,e,r,n){this._append`Q${+t},${+e},${this._x1=+r},${this._y1=+n}`}bezierCurveTo(t,e,r,n,o,i){this._append`C${+t},${+e},${+r},${+n},${this._x1=+o},${this._y1=+i}`}arcTo(t,e,r,o,i){if(t=+t,e=+e,r=+r,o=+o,(i=+i)<0)throw Error(`negative radius: ${i}`);let a=this._x1,c=this._y1,u=r-t,l=o-e,s=a-t,f=c-e,p=s*s+f*f;if(null===this._x1)this._append`M${this._x1=t},${this._y1=e}`;else if(p>1e-6){if(Math.abs(f*u-l*s)>1e-6&&i){let h=r-a,d=o-c,y=u*u+l*l,v=Math.sqrt(y),m=Math.sqrt(p),b=i*Math.tan((n-Math.acos((y+p-(h*h+d*d))/(2*v*m)))/2),g=b/m,x=b/v;Math.abs(g-1)>1e-6&&this._append`L${t+g*s},${e+g*f}`,this._append`A${i},${i},0,0,${+(f*h>s*d)},${this._x1=t+x*u},${this._y1=e+x*l}`}else this._append`L${this._x1=t},${this._y1=e}`}}arc(t,e,r,a,c,u){if(t=+t,e=+e,u=!!u,(r=+r)<0)throw Error(`negative radius: ${r}`);let l=r*Math.cos(a),s=r*Math.sin(a),f=t+l,p=e+s,h=1^u,d=u?a-c:c-a;null===this._x1?this._append`M${f},${p}`:(Math.abs(this._x1-f)>1e-6||Math.abs(this._y1-p)>1e-6)&&this._append`L${f},${p}`,r&&(d<0&&(d=d%o+o),d>i?this._append`A${r},${r},0,1,${h},${t-l},${e-s}A${r},${r},0,1,${h},${this._x1=f},${this._y1=p}`:d>1e-6&&this._append`A${r},${r},0,${+(d>=n)},${h},${this._x1=t+r*Math.cos(c)},${this._y1=e+r*Math.sin(c)}`)}rect(t,e,r,n){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}h${r=+r}v${+n}h${-r}Z`}toString(){return this._}}function u(t){let e=3;return t.digits=function(r){if(!arguments.length)return e;if(null==r)e=null;else{let t=Math.floor(r);if(!(t>=0))throw RangeError(`invalid digits: ${r}`);e=t}return t},()=>new c(e)}c.prototype},36555:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(2026).A)("Ellipsis",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]])},15217:(t,e,r)=>{"use strict";function n(t,e){if(!t)throw Error("Invariant failed")}r.d(e,{A:()=>n})}};