1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[560],{9144:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(73943).A)("Bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]])},37537:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(73943).A)("Facebook",[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]])},9869:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(73943).A)("PenTool",[["path",{d:"M15.707 21.293a1 1 0 0 1-1.414 0l-1.586-1.586a1 1 0 0 1 0-1.414l5.586-5.586a1 1 0 0 1 1.414 0l1.586 1.586a1 1 0 0 1 0 1.414z",key:"nt11vn"}],["path",{d:"m18 13-1.375-6.874a1 1 0 0 0-.746-.776L3.235 2.028a1 1 0 0 0-1.207 1.207L5.35 15.879a1 1 0 0 0 .776.746L13 18",key:"15qc1e"}],["path",{d:"m2.3 2.3 7.286 7.286",key:"1wuzzi"}],["circle",{cx:"11",cy:"11",r:"2",key:"xmgehs"}]])},69893:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(73943).A)("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]])},78196:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(73943).A)("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]])},40690:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(73943).A)("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]])},43252:(e,t,r)=>{r.d(t,{G:()=>M});var n=r(96540),i=r(34164),a=r(28805),o=r(1882),l=r.n(o),c=r(94506),s=r.n(c),u=r(69843),f=r.n(u),p=r(11741),y=r.n(p),d=r(2404),h=r.n(d),m=r(16321),v=r(53213),b=r(3709),g=r(43686),x=r(8538),A=r(77848),O=r(23406),w=r(83309),j=["layout","type","stroke","connectNulls","isRange","ref"],P=["key"];function E(e){return(E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function k(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function S(){return(S=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function D(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function T(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?D(Object(r),!0).forEach(function(t){F(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):D(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function z(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,R(n.key),n)}}function C(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(C=function(){return!!e})()}function I(e){return(I=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function N(e,t){return(N=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function F(e,t,r){return(t=R(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function R(e){var t=function(e,t){if("object"!=E(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=E(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==E(t)?t:t+""}var M=function(e){var t,r;function o(){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,o);for(var e,t,r,n=arguments.length,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];
1return t=o,r=[].concat(i),t=I(t),F(e=function(e,t){if(t&&("object"===E(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,C()?Reflect.construct(t,r||[],I(this).constructor):t.apply(this,r)),"state",{isAnimationFinished:!0}),F(e,"id",(0,A.NF)("recharts-area-")),F(e,"handleAnimationEnd",function(){var t=e.props.onAnimationEnd;e.setState({isAnimationFinished:!0}),l()(t)&&t()}),F(e,"handleAnimationStart",function(){var t=e.props.onAnimationStart;e.setState({isAnimationFinished:!1}),l()(t)&&t()}),e}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&N(e,t)}(o,e),t=[{key:"renderDots",value:function(e,t,r){var i=this.props.isAnimationActive,a=this.state.isAnimationFinished;if(i&&!a)return null;var l=this.props,c=l.dot,s=l.points,u=l.dataKey,f=(0,w.J9)(this.props,!1),p=(0,w.J9)(c,!0),y=s.map(function(e,t){var r=T(T(T({key:"dot-".concat(t),r:3},f),p),{},{index:t,cx:e.x,cy:e.y,dataKey:u,value:e.value,payload:e.payload,points:s});return o.renderDotItem(c,r)}),d={clipPath:e?"url(#clipPath-".concat(t?"":"dots-").concat(r,")"):null};return n.createElement(b.W,S({className:"recharts-area-dots"},d),y)}},{key:"renderHorizontalRect",value:function(e){var t=this.props,r=t.baseLine,i=t.points,a=t.strokeWidth,o=i[0].x,l=i[i.length-1].x,c=e*Math.abs(o-l),u=s()(i.map(function(e){return e.y||0}));return((0,A.Et)(r)&&"number"==typeof r?u=Math.max(r,u):r&&Array.isArray(r)&&r.length&&(u=Math.max(s()(r.map(function(e){return e.y||0})),u)),(0,A.Et)(u))?n.createElement("rect",{x:o<l?o:o-c,y:0,width:c,height:Math.floor(u+(a?parseInt("".concat(a),10):1))}):null}},{key:"renderVerticalRect",value:function(e){var t=this.props,r=t.baseLine,i=t.points,a=t.strokeWidth,o=i[0].y,l=i[i.length-1].y,c=e*Math.abs(o-l),u=s()(i.map(function(e){return e.x||0}));return((0,A.Et)(r)&&"number"==typeof r?u=Math.max(r,u):r&&Array.isArray(r)&&r.length&&(u=Math.max(s()(r.map(function(e){return e.x||0})),u)),(0,A.Et)(u))?n.createElement("rect",{x:0,y:o<l?o:o-c,width:u+(a?parseInt("".concat(a),10):1),height:Math.floor(c)}):null}},{key:"renderClipRect",value:function(e){return"vertical"===this.props.layout?this.renderVerticalRect(e):this.renderHorizontalRect(e)}},{key:"renderAreaStatically",value:function(e,t,r,i){var a=this.props,o=a.layout,l=a.type,c=a.stroke,s=a.connectNulls,u=a.isRange,f=(a.ref,k(a,j));return n.createElement(b.W,{clipPath:r?"url(#clipPath-".concat(i,")"):null},n.createElement(m.I,S({},(0,w.J9)(f,!0),{points:e,connectNulls:s,type:l,baseLine:t,layout:o,stroke:"none",className:"recharts-area-area"})),"none"!==c&&n.createElement(m.I,S({},(0,w.J9)(this.props,!1),{className:"recharts-area-curve",layout:o,type:l,connectNulls:s,fill:"none",points:e})),"none"!==c&&u&&n.createElement(m.I,S({},(0,w.J9)(this.props,!1),{className:"recharts-area-curve",layout:o,type:l,connectNulls:s,fill:"none",points:t})))}},{key:"renderAreaWithAnimation",value:function(e,t){var r=this,i=this.props,o=i.points,l=i.baseLine,c=i.isAnimationActive,s=i.animationBegin,u=i.animationDuration,p=i.animationEasing,d=i.animationId,h=this.state,m=h.prevPoints,v=h.prevBaseLine;return n.createElement(a.Ay,{begin:s,duration:u,isActive:c,easing:p,from:{t:0},to:{t:1},key:"area-".concat(d),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(i){var a=i.t;if(m){var c,s=m.length/o.length,u=o.map(function(e,t){var r=Math.floor(t*s);if(m[r]){var n=m[r],i=(0,A.Dj)(n.x,e.x),o=(0,A.Dj)(n.y,e.y);return T(T({},e),{},{x:i(a),y:o(a)})}return e});return c=(0,A.Et)(l)&&"number"==typeof l?(0,A.Dj)(v,l)(a):f()(l)||y()(l)?(0,A.Dj)(v,0)(a):l.map(function(e,t){var r=Math.floor(t*s);if(v[r]){var n=v[r],i=(0,A.Dj)(n.x,e.x),o=(0,A.Dj)(n.y,e.y);return T(T({},e),{},{x:i(a),y:o(a)})}return e}),r.renderAreaStatically(u,c,e,t)}return n.createElement(b.W,null,n.createElement("defs",null,n.createElement("clipPath",{id:"animationClipPath-".concat(t)},r.renderClipRect(a))),n.createElement(b.W,{clipPath:"url(#animationClipPath-".concat(t,")")},r.renderAreaStatically(o,l,e,t)))})}},{key:"renderArea",value:function(e,t){var r=this.props,n=r.points,i=r.baseLine,a=r.isAnimationActive,o=this.state,l=o.prevPoints,c=o.prevBaseLine,s=o.totalLength;return a&&n&&n.length&&(!l&&s>0||!h()(l,n)||!h()(c,i))?this.renderAreaWithAnimation(e,t):this.renderAreaStatically(n,i,e,t)}},{key:"render",value:function(){var e,t=this.props,r=t.hide,a=t.dot,o=t.points,l=t.className,c=t.top,s=t.left,u=t.xAxis,p=t.yAxis,y=t.
1width,d=t.height,h=t.isAnimationActive,m=t.id;if(r||!o||!o.length)return null;var v=this.state.isAnimationFinished,x=1===o.length,A=(0,i.A)("recharts-area",l),O=u&&u.allowDataOverflow,j=p&&p.allowDataOverflow,P=O||j,E=f()(m)?this.id:m,k=null!==(e=(0,w.J9)(a,!1))&&void 0!==e?e:{r:3,strokeWidth:2},S=k.r,D=k.strokeWidth,T=((0,w.sT)(a)?a:{}).clipDot,z=void 0===T||T,C=2*(void 0===S?3:S)+(void 0===D?2:D);return n.createElement(b.W,{className:A},O||j?n.createElement("defs",null,n.createElement("clipPath",{id:"clipPath-".concat(E)},n.createElement("rect",{x:O?s:s-y/2,y:j?c:c-d/2,width:O?y:2*y,height:j?d:2*d})),!z&&n.createElement("clipPath",{id:"clipPath-dots-".concat(E)},n.createElement("rect",{x:s-C/2,y:c-C/2,width:y+C,height:d+C}))):null,x?null:this.renderArea(P,E),(a||x)&&this.renderDots(P,z,E),(!h||v)&&g.Z.renderCallByParent(this.props,o))}}],r=[{key:"getDerivedStateFromProps",value:function(e,t){return e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curPoints:e.points,curBaseLine:e.baseLine,prevPoints:t.curPoints,prevBaseLine:t.curBaseLine}:e.points!==t.curPoints||e.baseLine!==t.curBaseLine?{curPoints:e.points,curBaseLine:e.baseLine}:null}}],t&&z(o.prototype,t),r&&z(o,r),Object.defineProperty(o,"prototype",{writable:!1}),o}(n.PureComponent);F(M,"displayName","Area"),F(M,"defaultProps",{stroke:"#3182bd",fill:"#3182bd",fillOpacity:.6,xAxisId:0,yAxisId:0,legendType:"line",connectNulls:!1,points:[],dot:!1,activeDot:!0,hide:!1,isAnimationActive:!x.m.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease"}),F(M,"getBaseValue",function(e,t,r,n){var i=e.layout,a=e.baseValue,o=t.props.baseValue,l=null!=o?o:a;if((0,A.Et)(l)&&"number"==typeof l)return l;var c="horizontal"===i?n:r,s=c.scale.domain();if("number"===c.type){var u=Math.max(s[0],s[1]),f=Math.min(s[0],s[1]);return"dataMin"===l?f:"dataMax"===l?u:u<0?u:Math.max(Math.min(s[0],s[1]),0)}return"dataMin"===l?s[0]:"dataMax"===l?s[1]:s[0]}),F(M,"getComposedData",function(e){var t,r=e.props,n=e.item,i=e.xAxis,a=e.yAxis,o=e.xAxisTicks,l=e.yAxisTicks,c=e.bandSize,s=e.dataKey,u=e.stackedData,f=e.dataStartIndex,p=e.displayedData,y=e.offset,d=r.layout,h=u&&u.length,m=M.getBaseValue(r,n,i,a),v="horizontal"===d,b=!1,g=p.map(function(e,t){h?r=u[f+t]:Array.isArray(r=(0,O.kr)(e,s))?b=!0:r=[m,r];var r,n=null==r[1]||h&&null==(0,O.kr)(e,s);return v?{x:(0,O.nb)({axis:i,ticks:o,bandSize:c,entry:e,index:t}),y:n?null:a.scale(r[1]),value:r,payload:e}:{x:n?null:i.scale(r[1]),y:(0,O.nb)({axis:a,ticks:l,bandSize:c,entry:e,index:t}),value:r,payload:e}});return t=h||b?g.map(function(e){var t=Array.isArray(e.value)?e.value[0]:null;return v?{x:e.x,y:null!=t&&null!=e.y?a.scale(t):null}:{x:null!=t?i.scale(t):null,y:e.y}}):v?a.scale(m):i.scale(m),T({points:g,baseLine:t,layout:d,isRange:b},y)}),F(M,"renderDotItem",function(e,t){var r;if(n.isValidElement(e))r=n.cloneElement(e,t);else if(l()(e))r=e(t);else{var a=(0,i.A)("recharts-area-dot","boolean"!=typeof e?e.className:""),o=t.key,c=k(t,P);r=n.createElement(v.c,S({},c,{key:o,className:a}))}return r})},37323:(e,t,r)=>{r.d(t,{d:()=>D});var n=r(96540),i=r(1882),a=r.n(i),o=r(78770),l=r(77848),c=r(83309),s=r(23406),u=r(98005),f=r(28422),p=r(29854),y=["x1","y1","x2","y2","key"],d=["offset"];function h(e){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?m(Object(r),!0).forEach(function(t){var n,i;n=t,i=r[t],(n=function(e){var t=function(e,t){if("object"!=h(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=h(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==h(t)?t:t+""}(n))in e?Object.defineProperty(e,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[n]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEac
1h(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function b(){return(b=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function g(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var x=function(e){var t=e.fill;if(!t||"none"===t)return null;var r=e.fillOpacity,i=e.x,a=e.y,o=e.width,l=e.height,c=e.ry;return n.createElement("rect",{x:i,y:a,ry:c,width:o,height:l,stroke:"none",fill:t,fillOpacity:r,className:"recharts-cartesian-grid-bg"})};function A(e,t){var r;if(n.isValidElement(e))r=n.cloneElement(e,t);else if(a()(e))r=e(t);else{var i=t.x1,o=t.y1,l=t.x2,s=t.y2,u=t.key,f=g(t,y),p=(0,c.J9)(f,!1),h=(p.offset,g(p,d));r=n.createElement("line",b({},h,{x1:i,y1:o,x2:l,y2:s,fill:"none",key:u}))}return r}function O(e){var t=e.x,r=e.width,i=e.horizontal,a=void 0===i||i,o=e.horizontalPoints;if(!a||!o||!o.length)return null;var l=o.map(function(n,i){return A(a,v(v({},e),{},{x1:t,y1:n,x2:t+r,y2:n,key:"line-".concat(i),index:i}))});return n.createElement("g",{className:"recharts-cartesian-grid-horizontal"},l)}function w(e){var t=e.y,r=e.height,i=e.vertical,a=void 0===i||i,o=e.verticalPoints;if(!a||!o||!o.length)return null;var l=o.map(function(n,i){return A(a,v(v({},e),{},{x1:n,y1:t,x2:n,y2:t+r,key:"line-".concat(i),index:i}))});return n.createElement("g",{className:"recharts-cartesian-grid-vertical"},l)}function j(e){var t=e.horizontalFill,r=e.fillOpacity,i=e.x,a=e.y,o=e.width,l=e.height,c=e.horizontalPoints,s=e.horizontal;if(!(void 0===s||s)||!t||!t.length)return null;var u=c.map(function(e){return Math.round(e+a-a)}).sort(function(e,t){return e-t});a!==u[0]&&u.unshift(0);var f=u.map(function(e,c){var s=u[c+1]?u[c+1]-e:a+l-e;if(s<=0)return null;var f=c%t.length;return n.createElement("rect",{key:"react-".concat(c),y:e,x:i,height:s,width:o,stroke:"none",fill:t[f],fillOpacity:r,className:"recharts-cartesian-grid-bg"})});return n.createElement("g",{className:"recharts-cartesian-gridstripes-horizontal"},f)}function P(e){var t=e.vertical,r=e.verticalFill,i=e.fillOpacity,a=e.x,o=e.y,l=e.width,c=e.height,s=e.verticalPoints;if(!(void 0===t||t)||!r||!r.length)return null;var u=s.map(function(e){return Math.round(e+a-a)}).sort(function(e,t){return e-t});a!==u[0]&&u.unshift(0);var f=u.map(function(e,t){var s=u[t+1]?u[t+1]-e:a+l-e;if(s<=0)return null;var f=t%r.length;return n.createElement("rect",{key:"react-".concat(t),x:e,y:o,width:s,height:c,stroke:"none",fill:r[f],fillOpacity:i,className:"recharts-cartesian-grid-bg"})});return n.createElement("g",{className:"recharts-cartesian-gridstripes-vertical"},f)}var E=function(e,t){var r=e.xAxis,n=e.width,i=e.height,a=e.offset;return(0,s.PW)((0,u.f)(v(v(v({},f.u.defaultProps),r),{},{ticks:(0,s.Rh)(r,!0),viewBox:{x:0,y:0,width:n,height:i}})),a.left,a.left+a.width,t)},k=function(e,t){var r=e.yAxis,n=e.width,i=e.height,a=e.offset;return(0,s.PW)((0,u.f)(v(v(v({},f.u.defaultProps),r),{},{ticks:(0,s.Rh)(r,!0),viewBox:{x:0,y:0,width:n,height:i}})),a.top,a.top+a.height,t)},S={horizontal:!0,vertical:!0,stroke:"#ccc",fill:"none",verticalFill:[],horizontalFill:[]};function D(e){var t,r,i,c,s,u,f=(0,p.yi)(),y=(0,p.rY)(),d=(0,p.hj)(),m=v(v({},e),{},{stroke:null!==(t=e.stroke)&&void 0!==t?t:S.stroke,fill:null!==(r=e.fill)&&void 0!==r?r:S.fill,horizontal:null!==(i=e.horizontal)&&void 0!==i?i:S.horizontal,horizontalFill:null!==(c=e.horizontalFill)&&void 0!==c?c:S.horizontalFill,vertical:null!==(s=e.vertical)&&void 0!==s?s:S.vertical,verticalFill:null!==(u=e.verticalFill)&&void 0!==u?u:S.verticalFill,x:(0,l.Et)(e.x)?e.x:d.left,y:(0,l.Et)(e.y)?e.y:d.top,width:(0,l.Et)(e.width)?e.width:d.width,height:(0,l.Et)(e.height)?e.height:d.height}),g=m.x,A=m.y,D=m.width,T=m.height,z=m.syncWithTicks,C=m.horizontalValues,I=m.verticalValues,N=(0,p.pj)(),F=(0,p.$G)();if(!(0,l.Et)(D)||D<=0||!(0,l.Et)(T)||T<=0||!(0,l.Et)(g)||g!==+g||!(0,l.
1Et)(A)||A!==+A)return null;var R=m.verticalCoordinatesGenerator||E,M=m.horizontalCoordinatesGenerator||k,K=m.horizontalPoints,L=m.verticalPoints;if((!K||!K.length)&&a()(M)){var _=C&&C.length,B=M({yAxis:F?v(v({},F),{},{ticks:_?C:F.ticks}):void 0,width:f,height:y,offset:d},!!_||z);(0,o.R)(Array.isArray(B),"horizontalCoordinatesGenerator should return Array but instead it returned [".concat(h(B),"]")),Array.isArray(B)&&(K=B)}if((!L||!L.length)&&a()(R)){var G=I&&I.length,W=R({xAxis:N?v(v({},N),{},{ticks:G?I:N.ticks}):void 0,width:f,height:y,offset:d},!!G||z);(0,o.R)(Array.isArray(W),"verticalCoordinatesGenerator should return Array but instead it returned [".concat(h(W),"]")),Array.isArray(W)&&(L=W)}return n.createElement("g",{className:"recharts-cartesian-grid"},n.createElement(x,{fill:m.fill,fillOpacity:m.fillOpacity,x:m.x,y:m.y,width:m.width,height:m.height,ry:m.ry}),n.createElement(O,b({},m,{offset:d,horizontalPoints:K,xAxis:N,yAxis:F})),n.createElement(w,b({},m,{offset:d,verticalPoints:L,xAxis:N,yAxis:F})),n.createElement(j,b({},m,{horizontalPoints:K})),n.createElement(P,b({},m,{verticalPoints:L})))}D.displayName="CartesianGrid"},18450:(e,t,r)=>{r.d(t,{X:()=>K});var n=r(96540),i=r(28805),a=r(69843),o=r.n(a),l=r(2404),c=r.n(l),s=r(1882),u=r.n(s),f=r(34164),p=r(3709),y=r(43686),d=r(83309),h=r(8538),m=r(39970),v=r(16321),b=r(75458),g=r(54170),x=r(77848),A=r(23406),O=r(73604),w=r(83421),j=r(62325),P=["option","isActive"];function E(){return(E=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function k(e){var t=e.option,r=e.isActive,i=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,P);return"string"==typeof t?n.createElement(j.yp,E({option:n.createElement(w.i,E({type:t},i)),isActive:r,shapeType:"symbols"},i)):n.createElement(j.yp,E({option:t,isActive:r,shapeType:"symbols"},i))}function S(e){return(S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function D(){return(D=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function T(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function z(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?T(Object(r),!0).forEach(function(t){R(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):T(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function C(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,M(n.key),n)}}function I(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(I=function(){return!!e})()}function N(e){return(N=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function F(e,t){return(F=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function R(e,t,r){return(t=M(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function M(e){var t=function(e,t){if("object"!=S(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=S(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==S(t)?t:t+""}var K=function(e){var t,r;function a(){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,a);for(var e,t,r,n=arguments.length,i=Array(n),o=0;o<n;o++)i[o]=arguments[o];
1return t=a,r=[].concat(i),t=N(t),R(e=function(e,t){if(t&&("object"===S(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,I()?Reflect.construct(t,r||[],N(this).constructor):t.apply(this,r)),"state",{isAnimationFinished:!1}),R(e,"handleAnimationEnd",function(){e.setState({isAnimationFinished:!0})}),R(e,"handleAnimationStart",function(){e.setState({isAnimationFinished:!1})}),R(e,"id",(0,x.NF)("recharts-scatter-")),e}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&F(e,t)}(a,e),t=[{key:"renderSymbolsStatically",value:function(e){var t=this,r=this.props,i=r.shape,a=r.activeShape,o=r.activeIndex,l=(0,d.J9)(this.props,!1);return e.map(function(e,r){var c=o===r,s=z(z({},l),e);return n.createElement(p.W,D({className:"recharts-scatter-symbol",key:"symbol-".concat(null==e?void 0:e.cx,"-").concat(null==e?void 0:e.cy,"-").concat(null==e?void 0:e.size,"-").concat(r)},(0,O.XC)(t.props,e,r),{role:"img"}),n.createElement(k,D({option:c?a:i,isActive:c,key:"symbol-".concat(r)},s)))})}},{key:"renderSymbolsWithAnimation",value:function(){var e=this,t=this.props,r=t.points,a=t.isAnimationActive,o=t.animationBegin,l=t.animationDuration,c=t.animationEasing,s=t.animationId,u=this.state.prevPoints;return n.createElement(i.Ay,{begin:o,duration:l,isActive:a,easing:c,from:{t:0},to:{t:1},key:"pie-".concat(s),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(t){var i=t.t,a=r.map(function(e,t){var r=u&&u[t];if(r){var n=(0,x.Dj)(r.cx,e.cx),a=(0,x.Dj)(r.cy,e.cy),o=(0,x.Dj)(r.size,e.size);return z(z({},e),{},{cx:n(i),cy:a(i),size:o(i)})}var l=(0,x.Dj)(0,e.size);return z(z({},e),{},{size:l(i)})});return n.createElement(p.W,null,e.renderSymbolsStatically(a))})}},{key:"renderSymbols",value:function(){var e=this.props,t=e.points,r=e.isAnimationActive,n=this.state.prevPoints;return r&&t&&t.length&&(!n||!c()(n,t))?this.renderSymbolsWithAnimation():this.renderSymbolsStatically(t)}},{key:"renderErrorBar",value:function(){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var e=this.props,t=e.points,r=e.xAxis,i=e.yAxis,a=e.children,o=(0,d.aS)(a,b.u);return o?o.map(function(e,a){var o=e.props,l=o.direction,c=o.dataKey;return n.cloneElement(e,{key:"".concat(l,"-").concat(c,"-").concat(t[a]),data:t,xAxis:r,yAxis:i,layout:"x"===l?"vertical":"horizontal",dataPointFormatter:function(e,t){return{x:e.cx,y:e.cy,value:"x"===l?+e.node.x:+e.node.y,errorVal:(0,A.kr)(e,t)}}})}):null}},{key:"renderLine",value:function(){var e,t,r=this.props,i=r.points,a=r.line,o=r.lineType,l=r.lineJointType,c=(0,d.J9)(this.props,!1),s=(0,d.J9)(a,!1);if("joint"===o)e=i.map(function(e){return{x:e.cx,y:e.cy}});else if("fitting"===o){var f=(0,x.jG)(i),y=f.xmin,h=f.xmax,m=f.a,b=f.b,g=function(e){return m*e+b};e=[{x:y,y:g(y)},{x:h,y:g(h)}]}var A=z(z(z({},c),{},{fill:"none",stroke:c&&c.fill},s),{},{points:e});return t=n.isValidElement(a)?n.cloneElement(a,A):u()(a)?a(A):n.createElement(v.I,D({},A,{type:l})),n.createElement(p.W,{className:"recharts-scatter-line",key:"recharts-scatter-line"},t)}},{key:"render",value:function(){var e=this.props,t=e.hide,r=e.points,i=e.line,a=e.className,l=e.xAxis,c=e.yAxis,s=e.left,u=e.top,d=e.width,h=e.height,m=e.id,v=e.isAnimationActive;if(t||!r||!r.length)return null;var b=this.state.isAnimationFinished,g=(0,f.A)("recharts-scatter",a),x=l&&l.allowDataOverflow,A=c&&c.allowDataOverflow,O=o()(m)?this.id:m;return n.createElement(p.W,{className:g,clipPath:x||A?"url(#clipPath-".concat(O,")"):null},x||A?n.createElement("defs",null,n.createElement("clipPath",{id:"clipPath-".concat(O)},n.createElement("rect",{x:x?s:s-d/2,y:A?u:u-h/2,width:x?d:2*d,height:A?h:2*h}))):null,i&&this.renderLine(),this.renderErrorBar(),n.createElement(p.W,{key:"recharts-scatter-symbols"},this.renderSymbols()),(!v||b)&&y.Z.renderCallByParent(this.props,r))}}],r=[{key:"getDerivedStateFromProps",value:function(e,t){return e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curPoints:e.points,prevPoints:t.curPoints}:e.points!==t.curPoints?{curPoints:e.points}:null}}],t&&C(a.prototype,t),r&&C(a,r),Object.defineProperty(a,"prototype",{writable:!1}),a}(n.PureComponent);R(K,"displayName","Scatter"),R(K,"defaultProps",{xAxisId:0,yAxisId:0,zAxisId:0,legendT
1ype:"circle",lineType:"joint",lineJointType:"linear",data:[],shape:"circle",hide:!1,isAnimationActive:!h.m.isSsr,animationBegin:0,animationDuration:400,animationEasing:"linear"}),R(K,"getComposedData",function(e){var t=e.xAxis,r=e.yAxis,n=e.zAxis,i=e.item,a=e.displayedData,l=e.xAxisTicks,c=e.yAxisTicks,s=e.offset,u=i.props.tooltipType,f=(0,d.aS)(i.props.children,g.f),p=o()(t.dataKey)?i.props.dataKey:t.dataKey,y=o()(r.dataKey)?i.props.dataKey:r.dataKey,h=n&&n.dataKey,v=n?n.range:m.K.defaultProps.range,b=v&&v[0],x=t.scale.bandwidth?t.scale.bandwidth():0,O=r.scale.bandwidth?r.scale.bandwidth():0,w=a.map(function(e,a){var s=(0,A.kr)(e,p),d=(0,A.kr)(e,y),m=!o()(h)&&(0,A.kr)(e,h)||"-",v=[{name:o()(t.dataKey)?i.props.name:t.name||t.dataKey,unit:t.unit||"",value:s,payload:e,dataKey:p,type:u},{name:o()(r.dataKey)?i.props.name:r.name||r.dataKey,unit:r.unit||"",value:d,payload:e,dataKey:y,type:u}];"-"!==m&&v.push({name:n.name||n.dataKey,unit:n.unit||"",value:m,payload:e,dataKey:h,type:u});var g=(0,A.nb)({axis:t,ticks:l,bandSize:x,entry:e,index:a,dataKey:p}),w=(0,A.nb)({axis:r,ticks:c,bandSize:O,entry:e,index:a,dataKey:y}),j="-"!==m?n.scale(m):b,P=Math.sqrt(Math.max(j,0)/Math.PI);return z(z({},e),{},{cx:g,cy:w,x:g-P,y:w-P,xAxis:t,yAxis:r,zAxis:n,width:2*P,height:2*P,size:j,node:{x:s,y:d,z:m},tooltipPayload:v,tooltipPosition:{x:g,y:w},payload:e},f&&f[a]&&f[a].props)});return z({points:w},s)})},39970:(e,t,r)=>{function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(i=function(){return!!e})()}function a(e){return(a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function o(e,t){return(o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function l(e,t,r){return(t=c(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){var t=function(e,t){if("object"!=n(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!=n(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==n(t)?t:t+""}r.d(t,{K:()=>s});var s=function(e){var t;function r(){var e,t;return!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,r),e=r,t=arguments,e=a(e),function(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,i()?Reflect.construct(e,t||[],a(this).constructor):e.apply(this,t))}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&o(e,t)}(r,e),t=[{key:"render",value:function(){return null}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,c(n.key),n)}}(r.prototype,t),Object.defineProperty(r,"prototype",{writable:!1}),r}(r(96540).Component);l(s,"displayName","ZAxis"),l(s,"defaultProps",{zAxisId:0,range:[64,64],scale:"auto",type:"number"})},93540:(e,t,r)=>{r.d(t,{Q:()=>c});var n=r(36154),i=r(43252),a=r(91672),o=r(33087),l=r(44542),c=(0,n.gu)({chartName:"AreaChart",GraphicalChild:i.G,axisComponents:[{axisType:"xAxis",AxisComp:a.W},{axisType:"yAxis",AxisComp:o.h}],formatAxisMap:l.pr})},30213:(e,t,r)=>{r.d(t,{t:()=>s});var n=r(36154),i=r(18450),a=r(91672),o=r(33087),l=r(39970),c=r(44542),s=(0,n.gu)({chartName:"ScatterChart",GraphicalChild:i.X,defaultTooltipEventType:"item",validateTooltipEventTypes:["item"],axisComponents:[{axisType:"xAxis",AxisComp:a.W},{axisType:"yAxis",AxisComp:o.h},{axisType:"zAxis",AxisComp:l.K}],formatAxisMap:c.pr})},35847:(e,t,r)=>{r.d(t,{H4:()=>A,_V:()=>x,bL:()=>g});
1var n=r(96540),i=r(62133),a=r(10263),o=r(88200),l=r(12579),c=r(74848),s="Avatar",[u,f]=(0,i.A)(s),[p,y]=u(s),d=n.forwardRef((e,t)=>{let{__scopeAvatar:r,...i}=e,[a,o]=n.useState("idle");return(0,c.jsx)(p,{scope:r,imageLoadingStatus:a,onImageLoadingStatusChange:o,children:(0,c.jsx)(l.sG.span,{...i,ref:t})})});d.displayName=s;var h="AvatarImage",m=n.forwardRef((e,t)=>{let{__scopeAvatar:r,src:i,onLoadingStatusChange:s=()=>{},...u}=e,f=y(h,r),p=function(e,t){let[r,i]=n.useState("idle");return(0,o.N)(()=>{if(!e){i("error");return}let r=!0,n=new window.Image,a=e=>()=>{r&&i(e)};return i("loading"),n.onload=a("loaded"),n.onerror=a("error"),n.src=e,t&&(n.referrerPolicy=t),()=>{r=!1}},[e,t]),r}(i,u.referrerPolicy),d=(0,a.c)(e=>{s(e),f.onImageLoadingStatusChange(e)});return(0,o.N)(()=>{"idle"!==p&&d(p)},[p,d]),"loaded"===p?(0,c.jsx)(l.sG.img,{...u,ref:t,src:i}):null});m.displayName=h;var v="AvatarFallback",b=n.forwardRef((e,t)=>{let{__scopeAvatar:r,delayMs:i,...a}=e,o=y(v,r),[s,u]=n.useState(void 0===i);return n.useEffect(()=>{if(void 0!==i){let e=window.setTimeout(()=>u(!0),i);return()=>window.clearTimeout(e)}},[i]),s&&"loaded"!==o.imageLoadingStatus?(0,c.jsx)(l.sG.span,{...a,ref:t}):null});b.displayName=v;var g=d,x=m,A=b},62534:(e,t,r)=>{r.d(t,{UC:()=>U,B8:()=>q,bL:()=>H,l9:()=>$});var n=r(96540),i=r(9957),a=r(62133),o=r(16214),l=r(91071),c=r(18723),s=r(12579),u=r(10263),f=r(81351),p=r(71427),y=r(74848),d="rovingFocusGroup.onEntryFocus",h={bubbles:!1,cancelable:!0},m="RovingFocusGroup",[v,b,g]=(0,o.N)(m),[x,A]=(0,a.A)(m,[g]),[O,w]=x(m),j=n.forwardRef((e,t)=>(0,y.jsx)(v.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,y.jsx)(v.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,y.jsx)(P,{...e,ref:t})})}));j.displayName=m;var P=n.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,orientation:a,loop:o=!1,dir:c,currentTabStopId:m,defaultCurrentTabStopId:v,onCurrentTabStopIdChange:g,onEntryFocus:x,preventScrollOnEntryFocus:A=!1,...w}=e,j=n.useRef(null),P=(0,l.s)(t,j),E=(0,p.jH)(c),[k=null,S]=(0,f.i)({prop:m,defaultProp:v,onChange:g}),[T,z]=n.useState(!1),C=(0,u.c)(x),I=b(r),N=n.useRef(!1),[F,R]=n.useState(0);return n.useEffect(()=>{let e=j.current;if(e)return e.addEventListener(d,C),()=>e.removeEventListener(d,C)},[C]),(0,y.jsx)(O,{scope:r,orientation:a,dir:E,loop:o,currentTabStopId:k,onItemFocus:n.useCallback(e=>S(e),[S]),onItemShiftTab:n.useCallback(()=>z(!0),[]),onFocusableItemAdd:n.useCallback(()=>R(e=>e+1),[]),onFocusableItemRemove:n.useCallback(()=>R(e=>e-1),[]),children:(0,y.jsx)(s.sG.div,{tabIndex:T||0===F?-1:0,"data-orientation":a,...w,ref:P,style:{outline:"none",...e.style},onMouseDown:(0,i.m)(e.onMouseDown,()=>{N.current=!0}),onFocus:(0,i.m)(e.onFocus,e=>{let t=!N.current;if(e.target===e.currentTarget&&t&&!T){let t=new CustomEvent(d,h);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=I().filter(e=>e.focusable);D([e.find(e=>e.active),e.find(e=>e.id===k),...e].filter(Boolean).map(e=>e.ref.current),A)}}N.current=!1}),onBlur:(0,i.m)(e.onBlur,()=>z(!1))})})}),E="RovingFocusGroupItem",k=n.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,focusable:a=!0,active:o=!1,tabStopId:l,...u}=e,f=(0,c.B)(),p=l||f,d=w(E,r),h=d.currentTabStopId===p,m=b(r),{onFocusableItemAdd:g,onFocusableItemRemove:x}=d;return n.useEffect(()=>{if(a)return g(),()=>x()},[a,g,x]),(0,y.jsx)(v.ItemSlot,{scope:r,id:p,focusable:a,active:o,children:(0,y.jsx)(s.sG.span,{tabIndex:h?0:-1,"data-orientation":d.orientation,...u,ref:t,onMouseDown:(0,i.m)(e.onMouseDown,e=>{a?d.onItemFocus(p):e.preventDefault()}),onFocus:(0,i.m)(e.onFocus,()=>d.onItemFocus(p)),onKeyDown:(0,i.m)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey){d.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=function(e,t,r){var n;let i=(n=e.key,"rtl"!==r?n:"ArrowLeft"===n?"ArrowRight":"ArrowRight"===n?"ArrowLeft":n);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(i))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(i)))return S[i]}(e,d.orientation,d.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let r=m().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)r.reverse();else if("prev"===t||"next"===t){"prev"===t&&r.reverse();let n=r.indexOf(e.currentTarget);r=d.loop?function(e,t){return e.map((r,n)=>e[(t+n)%e.length])}(r,n+1):r.slice(n+1)}setTimeout(()=>D(r))}})})})});k.displayName=E;var S={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function D(e,t=!1){let r=document.activeElement;for(let n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}var T=r(7971),z="Tabs",[C,I]=(0,a.A)(z,[A]),N=A(),[F,R]=C(z),M=n.forwardRef((e,t)=>
1{let{__scopeTabs:r,value:n,onValueChange:i,defaultValue:a,orientation:o="horizontal",dir:l,activationMode:u="automatic",...d}=e,h=(0,p.jH)(l),[m,v]=(0,f.i)({prop:n,onChange:i,defaultProp:a});return(0,y.jsx)(F,{scope:r,baseId:(0,c.B)(),value:m,onValueChange:v,orientation:o,dir:h,activationMode:u,children:(0,y.jsx)(s.sG.div,{dir:h,"data-orientation":o,...d,ref:t})})});M.displayName=z;var K="TabsList",L=n.forwardRef((e,t)=>{let{__scopeTabs:r,loop:n=!0,...i}=e,a=R(K,r),o=N(r);return(0,y.jsx)(j,{asChild:!0,...o,orientation:a.orientation,dir:a.dir,loop:n,children:(0,y.jsx)(s.sG.div,{role:"tablist","aria-orientation":a.orientation,...i,ref:t})})});L.displayName=K;var _="TabsTrigger",B=n.forwardRef((e,t)=>{let{__scopeTabs:r,value:n,disabled:a=!1,...o}=e,l=R(_,r),c=N(r),u=V(l.baseId,n),f=J(l.baseId,n),p=n===l.value;return(0,y.jsx)(k,{asChild:!0,...c,focusable:!a,active:p,children:(0,y.jsx)(s.sG.button,{type:"button",role:"tab","aria-selected":p,"aria-controls":f,"data-state":p?"active":"inactive","data-disabled":a?"":void 0,disabled:a,id:u,...o,ref:t,onMouseDown:(0,i.m)(e.onMouseDown,e=>{a||0!==e.button||!1!==e.ctrlKey?e.preventDefault():l.onValueChange(n)}),onKeyDown:(0,i.m)(e.onKeyDown,e=>{[" ","Enter"].includes(e.key)&&l.onValueChange(n)}),onFocus:(0,i.m)(e.onFocus,()=>{let e="manual"!==l.activationMode;p||a||!e||l.onValueChange(n)})})})});B.displayName=_;var G="TabsContent",W=n.forwardRef((e,t)=>{let{__scopeTabs:r,value:i,forceMount:a,children:o,...l}=e,c=R(G,r),u=V(c.baseId,i),f=J(c.baseId,i),p=i===c.value,d=n.useRef(p);return n.useEffect(()=>{let e=requestAnimationFrame(()=>d.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,y.jsx)(T.C,{present:a||p,children:({present:r})=>(0,y.jsx)(s.sG.div,{"data-state":p?"active":"inactive","data-orientation":c.orientation,role:"tabpanel","aria-labelledby":u,hidden:!r,id:f,tabIndex:0,...l,ref:t,style:{...e.style,animationDuration:d.current?"0s":void 0},children:r&&o})})});function V(e,t){return`${e}-trigger-${t}`}function J(e,t){return`${e}-content-${t}`}W.displayName=G;var H=M,q=L,$=B,U=W}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.