1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5894],{23263:function(t,e,n){n.d(e,{u:function(){return _}});var r=n(2265),i=n(61994),a=n(84735),o=n(86757),l=n.n(o),c=n(95645),s=n.n(c),u=n(77571),p=n.n(u),f=n(82559),y=n.n(f),h=n(21652),d=n.n(h),m=n(57165),v=n(81889),b=n(9841),g=n(58772),A=n(34067),O=n(16630),x=n(13422),P=n(82944),k=["layout","type","stroke","connectNulls","isRange","ref"],j=["key"];function E(t){return(E="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 n,r,i=function(t,e){if(null==t)return{};var n={};for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){if(e.indexOf(r)>=0)continue;n[r]=t[r]}return n}(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(r=0;r<a.length;r++)n=a[r],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function w(){return(w=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function D(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function L(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?D(Object(n),!0).forEach(function(e){B(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):D(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function N(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,T(r.key),r)}}function I(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(I=function(){return!!t})()}function C(t){return(C=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,n){return(e=T(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function T(t){var e=function(t,e){if("object"!=E(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=E(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==E(e)?e:e+""}var _=function(t){var e,n;function o(){!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,o);for(var t,e,n,r=arguments.length,i=Array(r),a=0;a<r;a++)i[a]=arguments[a];return e=o,n=[].concat(i),e=C(e),B(t=function(t,e){if(e&&("object"===E(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,I()?Reflect.construct(e,n||[],C(this).constructor):e.apply(this,n)),"state",{isAnimationFinished:!0}),B(t,"id",(0,O.EL)("recharts-area-")),B(t,"handleAnimationEnd",function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),l()(e)&&e()}),B(t,"handleAnimationStart",function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),l()(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&&M(t,e)}(o,t),e=[{key:"renderDots",value:function(t,e,n){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,p=(0,P.L6)(this.props,!1),f=(0,P.L6)(c,!0),y=s.map(function(t,e){var n=L(L(L({key:"dot-".concat(e),r:3},p),f),{},{index:e,cx:t.x,cy:t.y,dataKey:u,value:t.value,payload:t.payload,points:s});return o.renderDotItem(c,n)}),h={clipPath:t?"url(#clipPath-".concat(e?"":"dots-").concat(n,")"):null};return r.createElement(b.m,w({className:"recharts-area-dots"},h),y)}},{key:"renderHorizontalRect",value:function(t){var e=this.props,n=e.base
1Line,i=e.points,a=e.strokeWidth,o=i[0].x,l=i[i.length-1].x,c=t*Math.abs(o-l),u=s()(i.map(function(t){return t.y||0}));return((0,O.hj)(n)&&"number"==typeof n?u=Math.max(n,u):n&&Array.isArray(n)&&n.length&&(u=Math.max(s()(n.map(function(t){return t.y||0})),u)),(0,O.hj)(u))?r.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(t){var e=this.props,n=e.baseLine,i=e.points,a=e.strokeWidth,o=i[0].y,l=i[i.length-1].y,c=t*Math.abs(o-l),u=s()(i.map(function(t){return t.x||0}));return((0,O.hj)(n)&&"number"==typeof n?u=Math.max(n,u):n&&Array.isArray(n)&&n.length&&(u=Math.max(s()(n.map(function(t){return t.x||0})),u)),(0,O.hj)(u))?r.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(t){return"vertical"===this.props.layout?this.renderVerticalRect(t):this.renderHorizontalRect(t)}},{key:"renderAreaStatically",value:function(t,e,n,i){var a=this.props,o=a.layout,l=a.type,c=a.stroke,s=a.connectNulls,u=a.isRange,p=(a.ref,S(a,k));return r.createElement(b.m,{clipPath:n?"url(#clipPath-".concat(i,")"):null},r.createElement(m.H,w({},(0,P.L6)(p,!0),{points:t,connectNulls:s,type:l,baseLine:e,layout:o,stroke:"none",className:"recharts-area-area"})),"none"!==c&&r.createElement(m.H,w({},(0,P.L6)(this.props,!1),{className:"recharts-area-curve",layout:o,type:l,connectNulls:s,fill:"none",points:t})),"none"!==c&&u&&r.createElement(m.H,w({},(0,P.L6)(this.props,!1),{className:"recharts-area-curve",layout:o,type:l,connectNulls:s,fill:"none",points:e})))}},{key:"renderAreaWithAnimation",value:function(t,e){var n=this,i=this.props,o=i.points,l=i.baseLine,c=i.isAnimationActive,s=i.animationBegin,u=i.animationDuration,f=i.animationEasing,h=i.animationId,d=this.state,m=d.prevPoints,v=d.prevBaseLine;return r.createElement(a.ZP,{begin:s,duration:u,isActive:c,easing:f,from:{t:0},to:{t:1},key:"area-".concat(h),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(t,e){var n=Math.floor(e*s);if(m[n]){var r=m[n],i=(0,O.k4)(r.x,t.x),o=(0,O.k4)(r.y,t.y);return L(L({},t),{},{x:i(a),y:o(a)})}return t});return c=(0,O.hj)(l)&&"number"==typeof l?(0,O.k4)(v,l)(a):p()(l)||y()(l)?(0,O.k4)(v,0)(a):l.map(function(t,e){var n=Math.floor(e*s);if(v[n]){var r=v[n],i=(0,O.k4)(r.x,t.x),o=(0,O.k4)(r.y,t.y);return L(L({},t),{},{x:i(a),y:o(a)})}return t}),n.renderAreaStatically(u,c,t,e)}return r.createElement(b.m,null,r.createElement("defs",null,r.createElement("clipPath",{id:"animationClipPath-".concat(e)},n.renderClipRect(a))),r.createElement(b.m,{clipPath:"url(#animationClipPath-".concat(e,")")},n.renderAreaStatically(o,l,t,e)))})}},{key:"renderArea",value:function(t,e){var n=this.props,r=n.points,i=n.baseLine,a=n.isAnimationActive,o=this.state,l=o.prevPoints,c=o.prevBaseLine,s=o.totalLength;return a&&r&&r.length&&(!l&&s>0||!d()(l,r)||!d()(c,i))?this.renderAreaWithAnimation(t,e):this.renderAreaStatically(r,i,t,e)}},{key:"render",value:function(){var t,e=this.props,n=e.hide,a=e.dot,o=e.points,l=e.className,c=e.top,s=e.left,u=e.xAxis,f=e.yAxis,y=e.width,h=e.height,d=e.isAnimationActive,m=e.id;if(n||!o||!o.length)return null;var v=this.state.isAnimationFinished,A=1===o.length,O=(0,i.Z)("recharts-area",l),x=u&&u.allowDataOverflow,k=f&&f.allowDataOverflow,j=x||k,E=p()(m)?this.id:m,S=null!==(t=(0,P.L6)(a,!1))&&void 0!==t?t:{r:3,strokeWidth:2},w=S.r,D=S.strokeWidth,L=((0,P.jf)(a)?a:{}).clipDot,N=void 0===L||L,I=2*(void 0===w?3:w)+(void 0===D?2:D);return r.createElement(b.m,{className:O},x||k?r.createElement("defs",null,r.createElement("clipPath",{id:"clipPath-".concat(E)},r.createElement("rect",{x:x?s:s-y/2,y:k?c:c-h/2,width:x?y:2*y,height:k?h:2*h})),!N&&r.createElement("clipPath",{id:"clipPath-dots-".concat(E)},r.createElement("rect",{x:s-I/2,y:c-I/2,width:y+I,height:h+I}))):null,A?null:this.renderArea(j,E),(a||A)&&this.renderDots(j,N,E),(!d||v)&&g.e.renderCallByParent(this.props,o))}}],n=[{key:"getDerivedStateFromProps",value:function(t,e){return t.animationId!==e.prevAnimationId?{prevAnimationId:t.animationId,curPoints:t.points,curBaseLine:t.baseLine,prevPoints:e.curPoints,prevBaseLine:e.curBaseLine}:t.points!==e.curPoints||t.baseLine!==e.curBaseLine?{curPoints:t.points,curBaseLine:t.baseLine}:null}}],e&&N(o.prototype,e),n&&N(o,n),Object.defineProperty(o,"prototype",{writable:!1}),o}(r.PureComponent);B(_,"displayName","Area"),B(_,"defaultProps",{stroke:"#3182bd",fill:"#3182bd",fillOpacity:.6,xAxisId:0,yAxisId:0,legendT
1ype:"line",connectNulls:!1,points:[],dot:!1,activeDot:!0,hide:!1,isAnimationActive:!A.x.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease"}),B(_,"getBaseValue",function(t,e,n,r){var i=t.layout,a=t.baseValue,o=e.props.baseValue,l=null!=o?o:a;if((0,O.hj)(l)&&"number"==typeof l)return l;var c="horizontal"===i?r:n,s=c.scale.domain();if("number"===c.type){var u=Math.max(s[0],s[1]),p=Math.min(s[0],s[1]);return"dataMin"===l?p:"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]}),B(_,"getComposedData",function(t){var e,n=t.props,r=t.item,i=t.xAxis,a=t.yAxis,o=t.xAxisTicks,l=t.yAxisTicks,c=t.bandSize,s=t.dataKey,u=t.stackedData,p=t.dataStartIndex,f=t.displayedData,y=t.offset,h=n.layout,d=u&&u.length,m=_.getBaseValue(n,r,i,a),v="horizontal"===h,b=!1,g=f.map(function(t,e){d?n=u[p+e]:Array.isArray(n=(0,x.F$)(t,s))?b=!0:n=[m,n];var n,r=null==n[1]||d&&null==(0,x.F$)(t,s);return v?{x:(0,x.Hv)({axis:i,ticks:o,bandSize:c,entry:t,index:e}),y:r?null:a.scale(n[1]),value:n,payload:t}:{x:r?null:i.scale(n[1]),y:(0,x.Hv)({axis:a,ticks:l,bandSize:c,entry:t,index:e}),value:n,payload:t}});return e=d||b?g.map(function(t){var e=Array.isArray(t.value)?t.value[0]:null;return v?{x:t.x,y:null!=e&&null!=t.y?a.scale(e):null}:{x:null!=e?i.scale(e):null,y:t.y}}):v?a.scale(m):i.scale(m),L({points:g,baseLine:e,layout:h,isRange:b},y)}),B(_,"renderDotItem",function(t,e){var n;if(r.isValidElement(t))n=r.cloneElement(t,e);else if(l()(t))n=t(e);else{var a=(0,i.Z)("recharts-area-dot","boolean"!=typeof t?t.className:""),o=e.key,c=S(e,j);n=r.createElement(v.o,w({},c,{key:o,className:a}))}return n})},54061:function(t,e,n){n.d(e,{x:function(){return T}});var r=n(2265),i=n(84735),a=n(86757),o=n.n(a),l=n(77571),c=n.n(l),s=n(21652),u=n.n(s),p=n(61994),f=n(57165),y=n(81889),h=n(9841),d=n(58772),m=n(13137),v=n(16630),b=n(82944),g=n(34067),A=n(13422),O=["type","layout","connectNulls","ref"],x=["key"];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 k(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n={};for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){if(e.indexOf(r)>=0)continue;n[r]=t[r]}return n}(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(r=0;r<a.length;r++)n=a[r],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function j(){return(j=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function E(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function S(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?E(Object(n),!0).forEach(function(e){M(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function w(t){return function(t){if(Array.isArray(t))return D(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 D(t,void 0);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return D(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 D(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function L(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,B(r.key),r)}}function N(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(N=function(){return!!t})()}
1function I(t){return(I=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function C(t,e){return(C=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function M(t,e,n){return(e=B(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function B(t){var e=function(t,e){if("object"!=P(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=P(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==P(e)?e:e+""}var T=function(t){var e,n;function a(){!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,a);for(var t,e,n,r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];return e=a,n=[].concat(i),e=I(e),M(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,N()?Reflect.construct(e,n||[],I(this).constructor):e.apply(this,n)),"state",{isAnimationFinished:!0,totalLength:0}),M(t,"generateSimpleStrokeDasharray",function(t,e){return"".concat(e,"px ").concat(t-e,"px")}),M(t,"getStrokeDasharray",function(e,n,r){var i=r.reduce(function(t,e){return t+e});if(!i)return t.generateSimpleStrokeDasharray(n,e);for(var o=e%i,l=n-e,c=[],s=0,u=0;s<r.length;u+=r[s],++s)if(u+r[s]>o){c=[].concat(w(r.slice(0,s)),[o-u]);break}var p=c.length%2==0?[0,l]:[l];return[].concat(w(a.repeat(r,Math.floor(e/i))),w(c),p).map(function(t){return"".concat(t,"px")}).join(", ")}),M(t,"id",(0,v.EL)("recharts-line-")),M(t,"pathRef",function(e){t.mainCurve=e}),M(t,"handleAnimationEnd",function(){t.setState({isAnimationFinished:!0}),t.props.onAnimationEnd&&t.props.onAnimationEnd()}),M(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&&C(t,e)}(a,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 n=this.props,i=n.points,a=n.xAxis,o=n.yAxis,l=n.layout,c=n.children,s=(0,b.NN)(c,m.W);if(!s)return null;var u=function(t,e){return{x:t.x,y:t.y,value:t.value,errorVal:(0,A.F$)(t.payload,e)}};return r.createElement(h.m,{clipPath:t?"url(#clipPath-".concat(e,")"):null},s.map(function(t){return r.cloneElement(t,{key:"bar-".concat(t.props.dataKey),data:i,xAxis:a,yAxis:o,layout:l,dataPointFormatter:u})}))}},{key:"renderDots",value:function(t,e,n){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var i=this.props,o=i.dot,l=i.points,c=i.dataKey,s=(0,b.L6)(this.props,!1),u=(0,b.L6)(o,!0),p=l.map(function(t,e){var n=S(S(S({key:"dot-".concat(e),r:3},s),u),{},{index:e,cx:t.x,cy:t.y,value:t.value,dataKey:c,payload:t.payload,points:l});return a.renderDotItem(o,n)}),f={clipPath:t?"url(#clipPath-".concat(e?"":"dots-").concat(n,")"):null};return r.createElement(h.m,j({className:"recharts-line-dots",key:"dots"},f),p)}},{key:"renderCurveStatically",value:function(t,e,n,i){var a=this.props,o=a.type,l=a.layout,c=a.connectNulls,s=(a.ref,k(a,O)),u=S(S(S({},(0,b.L6)(s,!0)),{},{fill:"none",className:"recharts-line-curve",clipPath:e?"url(#clipPath-".concat(n,")"):null,points:t},i),{},{type:o,layout:l,connectNulls:c});return r.createElement(f.H,j({},u,{pathRef:this.pathRef}))}},{key:"renderCurveWithAnimation",value:function(t,e){var n=this,a=this.props,o=a.points,l=a.strokeDasharray,c=a.isAnimationActive,s=a.animationBegin,u=a.animationDuration,p=a.animationEasing,f=a.animationId,y=a.animateNewValues,h=a.width,d=a.height,m=this.state,b=m.prevPoints,g=m.totalLength;return r.createElement(i.ZP,{begin:s,duration:u,isActive:c,easing:p,from:{t:0},to:{t:1},key:"line-".concat(f),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(r){var i,a=r.t;if(b){var c=b.length/o.length,s=o.map(function(t,e){var n=Math.floor(e*c);if(b[n]){var r=b[n],i=(0,v.k4)(r.x,t.x),o=(0,v.k4)(r.y,t.y);return S(S({},t),{},{x:i(a),y:o(a)})}if(y){var l=(0,v.k4)(2*h,t.x),s=(0,v.k4)(d/2,t.y);return S(S({},t),{}
1,{x:l(a),y:s(a)})}return S(S({},t),{},{x:t.x,y:t.y})});return n.renderCurveStatically(s,t,e)}var u=(0,v.k4)(0,g)(a);if(l){var p="".concat(l).split(/[,\s]+/gim).map(function(t){return parseFloat(t)});i=n.getStrokeDasharray(u,g,p)}else i=n.generateSimpleStrokeDasharray(g,u);return n.renderCurveStatically(o,t,e,{strokeDasharray:i})})}},{key:"renderCurve",value:function(t,e){var n=this.props,r=n.points,i=n.isAnimationActive,a=this.state,o=a.prevPoints,l=a.totalLength;return i&&r&&r.length&&(!o&&l>0||!u()(o,r))?this.renderCurveWithAnimation(t,e):this.renderCurveStatically(r,t,e)}},{key:"render",value:function(){var t,e=this.props,n=e.hide,i=e.dot,a=e.points,o=e.className,l=e.xAxis,s=e.yAxis,u=e.top,f=e.left,y=e.width,m=e.height,v=e.isAnimationActive,g=e.id;if(n||!a||!a.length)return null;var A=this.state.isAnimationFinished,O=1===a.length,x=(0,p.Z)("recharts-line",o),P=l&&l.allowDataOverflow,k=s&&s.allowDataOverflow,j=P||k,E=c()(g)?this.id:g,S=null!==(t=(0,b.L6)(i,!1))&&void 0!==t?t:{r:3,strokeWidth:2},w=S.r,D=S.strokeWidth,L=((0,b.jf)(i)?i:{}).clipDot,N=void 0===L||L,I=2*(void 0===w?3:w)+(void 0===D?2:D);return r.createElement(h.m,{className:x},P||k?r.createElement("defs",null,r.createElement("clipPath",{id:"clipPath-".concat(E)},r.createElement("rect",{x:P?f:f-y/2,y:k?u:u-m/2,width:P?y:2*y,height:k?m:2*m})),!N&&r.createElement("clipPath",{id:"clipPath-dots-".concat(E)},r.createElement("rect",{x:f-I/2,y:u-I/2,width:y+I,height:m+I}))):null,!O&&this.renderCurve(j,E),this.renderErrorBar(j,E),(O||i)&&this.renderDots(j,N,E),(!v||A)&&d.e.renderCallByParent(this.props,a))}}],n=[{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 n=t.length%2!=0?[].concat(w(t),[0]):t,r=[],i=0;i<e;++i)r=[].concat(w(r),w(n));return r}},{key:"renderDotItem",value:function(t,e){var n;if(r.isValidElement(t))n=r.cloneElement(t,e);else if(o()(t))n=t(e);else{var i=e.key,a=k(e,x),l=(0,p.Z)("recharts-line-dot","boolean"!=typeof t?t.className:"");n=r.createElement(y.o,j({key:i},a,{className:l}))}return n}}],e&&L(a.prototype,e),n&&L(a,n),Object.defineProperty(a,"prototype",{writable:!1}),a}(r.PureComponent);M(T,"displayName","Line"),M(T,"defaultProps",{xAxisId:0,yAxisId:0,connectNulls:!1,activeDot:!0,dot:!0,legendType:"line",stroke:"#3182bd",strokeWidth:1,fill:"#fff",points:[],isAnimationActive:!g.x.isSsr,animateNewValues:!0,animationBegin:0,animationDuration:1500,animationEasing:"ease",hide:!1,label:!1}),M(T,"getComposedData",function(t){var e=t.props,n=t.xAxis,r=t.yAxis,i=t.xAxisTicks,a=t.yAxisTicks,o=t.dataKey,l=t.bandSize,s=t.displayedData,u=t.offset,p=e.layout;return S({points:s.map(function(t,e){var s=(0,A.F$)(t,o);return"horizontal"===p?{x:(0,A.Hv)({axis:n,ticks:i,bandSize:l,entry:t,index:e}),y:c()(s)?null:r.scale(s),value:s,payload:t}:{x:c()(s)?null:n.scale(s),y:(0,A.Hv)({axis:r,ticks:a,bandSize:l,entry:t,index:e}),value:s,payload:t}}),layout:p},u)})}}]);
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.