aboutsummaryrefslogtreecommitdiff
path: root/build/static/js/1.b5cbbf9b.chunk.js
diff options
context:
space:
mode:
Diffstat (limited to 'build/static/js/1.b5cbbf9b.chunk.js')
-rw-r--r--build/static/js/1.b5cbbf9b.chunk.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/build/static/js/1.b5cbbf9b.chunk.js b/build/static/js/1.b5cbbf9b.chunk.js
new file mode 100644
index 0000000..94024e7
--- /dev/null
+++ b/build/static/js/1.b5cbbf9b.chunk.js
@@ -0,0 +1,2 @@
+(window.webpackJsonp=window.webpackJsonp||[]).push([[1],[function(e,t,n){e.exports=n(344)()},function(e,t,n){"use strict";e.exports=n(309)},function(e,t,n){"use strict";n.d(t,"i",function(){return p}),n.d(t,"h",function(){return h}),n.d(t,"g",function(){return y}),n.d(t,"f",function(){return v}),n.d(t,"j",function(){return b}),n.d(t,"c",function(){return g}),n.d(t,"b",function(){return _}),n.d(t,"d",function(){return O}),n.d(t,"e",function(){return w}),n.d(t,"a",function(){return x});var r=n(75),o=n.n(r),a=n(13),i=n.n(a),u=n(94),l=n.n(u),s=n(76),c=n.n(s),f=n(49),d=n.n(f),p=function(e){return 0===e?0:e>0?1:-1},h=function(e){return d()(e)&&e.indexOf("%")===e.length-1},y=function(e){return c()(e)&&!l()(e)},v=function(e){return y(e)||d()(e)},m=0,b=function(e){var t=++m;return"".concat(e||"").concat(t)},g=function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!y(e)&&!d()(e))return r;if(h(e)){var a=e.indexOf("%");n=t*parseFloat(e.slice(0,a))/100}else n=+e;return l()(n)&&(n=r),o&&n>t&&(n=t),n},_=function(e){if(!e)return null;var t=Object.keys(e);return t&&t.length?e[t[0]]:null},O=function(e){if(!i()(e))return!1;for(var t=e.length,n={},r=0;r<t;r++){if(n[e[r]])return!0;n[e[r]]=!0}return!1},w=function(e,t){return y(e)&&y(t)?function(n){return e+n*(t-e)}:function(){return t}},x=function(e,t,n){return e&&e.length?e.find(function(e){return e&&o()(e,t)===n}):null}},function(e,t,n){"use strict";n.d(t,"c",function(){return O}),n.d(t,"a",function(){return w}),n.d(t,"d",function(){return k}),n.d(t,"b",function(){return S}),n.d(t,"i",function(){return P}),n.d(t,"g",function(){return M}),n.d(t,"h",function(){return D}),n.d(t,"j",function(){return T}),n.d(t,"e",function(){return E}),n.d(t,"f",function(){return A}),n.d(t,"p",function(){return I}),n.d(t,"m",function(){return N}),n.d(t,"l",function(){return L}),n.d(t,"o",function(){return B}),n.d(t,"k",function(){return z}),n.d(t,"n",function(){return W});var r=n(7),o=n.n(r),a=n(49),i=n.n(a),u=n(30),l=n.n(u),s=n(6),c=n.n(s),f=n(13),d=n.n(f),p=n(1),h=n.n(p),y=n(0),v=n.n(y),m=n(2),b=n(11);function g(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function _(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var O={alignmentBaseline:v.a.string,angle:v.a.number,baselineShift:v.a.string,clip:v.a.string,clipPath:v.a.string,clipRule:v.a.string,color:v.a.string,colorInterpolation:v.a.string,colorInterpolationFilters:v.a.string,colorProfile:v.a.string,colorRendering:v.a.string,cursor:v.a.string,direction:v.a.oneOf(["ltr","rtl","inherit"]),display:v.a.string,dominantBaseline:v.a.string,enableBackground:v.a.string,fill:v.a.string,fillOpacity:v.a.oneOfType([v.a.string,v.a.number]),fillRule:v.a.oneOf(["nonzero","evenodd","inherit"]),filter:v.a.string,floodColor:v.a.string,floodOpacity:v.a.oneOfType([v.a.string,v.a.number]),font:v.a.string,fontFamily:v.a.string,fontSize:v.a.oneOfType([v.a.number,v.a.string]),fontSizeAdjust:v.a.oneOfType([v.a.number,v.a.string]),fontStretch:v.a.oneOf(["normal","wider","narrower","ultra-condensed","extra-condensed","condensed","semi-condensed","semi-expanded","expanded","extra-expanded","ultra-expanded","inherit"]),fontStyle:v.a.oneOf(["normal","italic","oblique","inherit"]),fontVariant:v.a.oneOf(["normal","small-caps","inherit"]),fontWeight:v.a.oneOf(["normal","bold","bolder","lighter",100,200,300,400,500,600,700,800,900,"inherit"]),glyphOrientationHorizontal:v.a.string,glyphOrientationVertical:v.a.string,imageRendering:v.a.oneOf(["auto","optimizeSpeed","optimizeQuality","inherit"]),kerning:v.a.oneOfType([v.a.number,v.a.string]),letterSpacing:v.a.oneOfType([v.a.number,v.a.string]),lightingColor:v.a.string,lineHeight:v.a.oneOfType([v.a.number,v.a.string]),markerEnd:v.a.string,markerMid:v.a.string,markerStart:v.a.string,mask:v.a.string,opacity:v.a.oneOfType([v.a.number,v.a.string]),overflow:v.a.oneOf(["visible","hidden","scroll","auto","inherit"]),pointerEvents:v.a.oneOf(["visiblePainted","visibleFill","visibleStroke","visible","painted","fill","stroke","all","none","inherit"]),shapeRendering:v.a.oneOf(["auto","optimizeSpeed","crispEdges","geometricPrecision","inherit"]),stopColor:v.a.string,stopOpacity:v.a.oneOfType([v.a.number,v.a.string]),stroke:v.a.oneOfType([v.a.number,v.a.string]),strokeDasharray:v.a.string,strokeDashoffset:v.a.oneOfType([v.a.number,v.a.string]),strokeLinecap:v.a.oneOf(["butt","round","square","inherit"]),strokeLinejoin:v.a.oneOf(["miter","round","bevel","inherit"]),strokeMiterlimit:v.a.oneOfType([v.a.number,v.a.string]),strokeOpacity:v.a.oneOfType([v.a.number,v.a.string]),strokeWidth:v.a.oneOfType([v.a.number,v.a.string]),textAnchor:v.a.oneOf(["start","middle","end","inherit"]),textDecoration:v.a.oneOf(["none","underline","overline","line-through","blink","inherit"]),textRendering:v.a.oneOf(["auto","optimizeSpeed","optimizeLegibility","geometricPrecision","inherit"]),unicodeBidi:v.a.oneOf(["normal","embed","bidi-override","inherit"]),visibility:v.a.oneOf(["visible","hidden","collapse","inherit"]),wordSpacing:v.a.oneOfType([v.a.number,v.a.string]),writingMode:v.a.oneOf(["lr-tb","rl-tb","tb-rl","lr","rl","tb","inherit"]),transform:v.a.string,style:v.a.object,width:v.a.number,height:v.a.number,dx:v.a.number,dy:v.a.number,x:v.a.number,y:v.a.number,r:v.a.number,radius:v.a.oneOfType([v.a.number,v.a.array])},w={onClick:v.a.func,onMouseDown:v.a.func,onMouseUp:v.a.func,onMouseOver:v.a.func,onMouseMove:v.a.func,onMouseOut:v.a.func,onMouseEnter:v.a.func,onMouseLeave:v.a.func,onTouchEnd:v.a.func,onTouchMove:v.a.func,onTouchStart:v.a.func,onTouchCancel:v.a.func},x={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart"},k=["auto","linear","pow","sqrt","log","identity","time","band","point","ordinal","quantile","quantize","utc","sequential","threshold"],S=["plainline","line","square","rect","circle","cross","diamond","star","triangle","wye","none"],P=function(e){return"string"===typeof e?e:e?e.displayName||e.name||"Component":""},M=function(e,t){var n=[],r=[];return r=d()(t)?t.map(function(e){return P(e)}):[P(t)],h.a.Children.forEach(e,function(e){var t=e&&e.type&&(e.type.displayName||e.type.name);-1!==r.indexOf(t)&&n.push(e)}),n},D=function(e,t){var n=M(e,t);return n&&n[0]},T=function(e){if(!e||c()(e))return null;var t=h.a.isValidElement(e)?e.props:e;if(!l()(t))return null;var n=null;for(var r in t)({}).hasOwnProperty.call(t,r)&&O[r]&&(n||(n={}),n[r]=t[r]);return n},C=function(e,t){return function(n){return e(t,n),null}},E=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!e||c()(e))return null;var r=h.a.isValidElement(e)?e.props:e;if(!l()(r))return null;var o=null;for(var a in r)({}).hasOwnProperty.call(r,a)&&w[a]&&(o||(o={}),o[a]=t||(n?C(r[a],r):r[a]));return o},j=function(e,t,n){return function(r){return e(t,n,r),null}},A=function(e,t,n){if(!l()(e))return null;var r=null;for(var o in e)({}).hasOwnProperty.call(e,o)&&w[o]&&c()(e[o])&&(r||(r={}),r[o]=j(e[o],t,n));return r},I=function(e){if(!e||!e.props)return!1;var t=e.props,n=t.width,r=t.height;return!(!Object(m.g)(n)||n<=0||!Object(m.g)(r)||r<=0)},N=function(){return!("undefined"!==typeof window&&window.document&&window.document.createElement&&window.setTimeout)},R=["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"],F=function(e,t){if(o()(e)&&o()(t))return!0;if(!o()(e)&&!o()(t)){var n=e.props||{},r=n.children,a=_(n,["children"]),i=t.props||{},u=i.children,l=_(i,["children"]);return r&&u?Object(b.b)(a,l)&&L(r,u):!r&&!u&&Object(b.b)(a,l)}return!1},L=function e(t,n){if(t===n)return!0;if(p.Children.count(t)!==p.Children.count(n))return!1;var r=p.Children.count(t);if(0===r)return!0;if(1===r)return F(d()(t)?t[0]:t,d()(n)?n[0]:n);for(var o=0;o<r;o++){var a=t[o],i=n[o];if(d()(a)||d()(i)){if(!e(a,i))return!1}else if(!F(a,i))return!1}return!0},B=function(e,t){var n=[],r={};return p.Children.forEach(e,function(e,o){if(e&&function(e){return e&&e.type&&i()(e.type)&&R.indexOf(e.type)>=0}(e))n.push(e);else if(e&&t[P(e.type)]){var a=P(e.type),u=t[a],l=u.handler,s=u.once;if(s&&!r[a]||!s){var c=l(e,a,o);d()(c)?n=[n].concat(g(c)):n.push(c),r[a]=!0}}}),n},z=function(e){var t=e&&e.type;return t&&x[t]?x[t]:null},W=function(e,t){var n=-1;return p.Children.forEach(t,function(t,r){t===e&&(n=r)}),n}},function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var a=typeof r;if("string"===a||"number"===a)e.push(r);else if(Array.isArray(r)&&r.length){var i=o.apply(null,r);i&&e.push(i)}else if("object"===a)for(var u in r)n.call(r,u)&&r[u]&&e.push(u)}}return e.join(" ")}"undefined"!==typeof e&&e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){var r=n(52),o=n(30),a="[object AsyncFunction]",i="[object Function]",u="[object GeneratorFunction]",l="[object Proxy]";e.exports=function(e){if(!o(e))return!1;var t=r(e);return t==i||t==u||t==a||t==l}},function(e,t){e.exports=function(e){return null==e}},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t,n){"use strict";var r=n(46),o=n.n(r),a=n(133),i=n.n(a),u=n(94),l=n.n(u),s=n(49),c=n.n(s),f=n(289),d=n.n(f),p=n(290),h=n.n(p),y=n(13),v=n.n(y),m=n(291),b=n.n(m),g=n(6),_=n.n(g),O=n(75),w=n.n(O),x=n(7),k=n.n(x),S=n(175),P=n(38),M=n(16),D=n(2),T=n(1),C=n.n(T),E=n(0),j=n.n(E),A=n(5),I=n.n(A),N=n(11),R=n(18),F=n(77),L=n(3),B=n(33),z=n(132),W=n.n(z),U=n(176),H=n.n(U);function V(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function K(e,t,n){return t&&Y(e.prototype,t),n&&Y(e,n),e}var G=function(e,t){var n=e.x,r=e.y,o=t.x,a=t.y;return{x:Math.min(n,o),y:Math.min(r,a),width:Math.abs(o-n),height:Math.abs(a-r)}},$=function(){function e(t){V(this,e),this.scale=t}return K(e,null,[{key:"create",value:function(t){return new e(t)}}]),K(e,[{key:"apply",value:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).bandAware;if(void 0!==e){if(t){var n=this.bandwidth?this.bandwidth()/2:0;return this.scale(e)+n}return this.scale(e)}}},{key:"isInRange",value:function(e){var t=this.range(),n=t[0],r=t[t.length-1];return n<=r?e>=n&&e<=r:e>=r&&e<=n}},{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}}]),e}();$.EPS=1e-4;var q,X,Z,Q=function(){function e(t){V(this,e),this.scales=H()(t,$.create),Object.assign(this,this.scales)}return K(e,null,[{key:"create",value:function(e){return new this(e)}}]),K(e,[{key:"apply",value:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).bandAware,n=this.scales;return H()(e,function(e,r){return n[r].apply(e,{bandAware:t})})}},{key:"isInRange",value:function(e){var t=this.scales;return W()(e,function(e,n){return t[n].isInRange(e)})}}]),e}(),J=n(48);function ee(e){return(ee="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 te(){return(te=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function ne(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){re(e,t,n[t])})}return e}function re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function oe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ae(e,t){return!t||"object"!==ee(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ie(e){return(ie=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ue(e,t){return(ue=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var le,se,ce,fe=Object(N.a)((Z=X=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),ae(this,ie(t).apply(this,arguments))}var n,r,o;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ue(e,t)}(t,T["Component"]),n=t,o=[{key:"renderDot",value:function(e,t){return C.a.isValidElement(e)?C.a.cloneElement(e,t):_()(e)?e(t):C.a.createElement(F.a,te({},t,{cx:t.cx,cy:t.cy,className:"recharts-reference-dot-dot"}))}}],(r=[{key:"getCoordinate",value:function(){var e=this.props,t=e.x,n=e.y,r=e.xAxis,o=e.yAxis,a=Q.create({x:r.scale,y:o.scale}),i=a.apply({x:t,y:n},{bandAware:!0});return bt(this.props,"discard")&&!a.isInRange(i)?null:i}},{key:"render",value:function(){var e=this.props,t=e.x,n=e.y,r=e.r,o=e.alwaysShow,a=e.clipPathId,i=Object(D.f)(t),u=Object(D.f)(n);if(Object(J.a)(void 0===o,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!i||!u)return null;var l=this.getCoordinate();if(!l)return null;var s=l.x,c=l.y,f=this.props,d=f.shape,p=f.className,h=ne({clipPath:bt(this.props,"hidden")?"url(#".concat(a,")"):void 0},Object(L.j)(this.props),Object(L.e)(this.props),{cx:s,cy:c});return C.a.createElement(R.a,{className:I()("recharts-reference-dot",p)},this.constructor.renderDot(d,h),B.a.renderCallByParent(this.props,{x:s-r,y:c-r,width:2*r,height:2*r}))}}])&&oe(n.prototype,r),o&&oe(n,o),t}(),X.displayName="ReferenceDot",X.propTypes=ne({},L.c,L.a,{r:j.a.number,xAxis:j.a.shape({scale:j.a.func}),yAxis:j.a.shape({scale:j.a.func}),isFront:j.a.bool,alwaysShow:j.a.bool,ifOverflow:j.a.oneOf(["hidden","visible","discard","extendDomain"]),x:j.a.oneOfType([j.a.number,j.a.string]),y:j.a.oneOfType([j.a.number,j.a.string]),className:j.a.oneOfType([j.a.number,j.a.string]),yAxisId:j.a.oneOfType([j.a.string,j.a.number]),xAxisId:j.a.oneOfType([j.a.string,j.a.number]),shape:j.a.oneOfType([j.a.func,j.a.element]),clipPathId:j.a.string}),X.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1},q=Z))||q,de=n(292),pe=n.n(de);function he(e){return(he="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 ye(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){ve(e,t,n[t])})}return e}function ve(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function me(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,u=e[Symbol.iterator]();!(r=(i=u.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(l){o=!0,a=l}finally{try{r||null==u.return||u.return()}finally{if(o)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function be(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ge(e,t){return!t||"object"!==he(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function _e(e){return(_e=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Oe(e,t){return(Oe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function we(){return(we=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var xe,ke,Se,Pe=Object(N.a)((ce=se=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),ge(this,_e(t).apply(this,arguments))}var n,r,o;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Oe(e,t)}(t,T["Component"]),n=t,(r=[{key:"getEndPoints",value:function(e,t,n,r){var o=this.props.viewBox,a=o.x,i=o.y,u=o.width,l=o.height;if(n){var s=this.props,c=s.y,f=s.yAxis.orientation,d=e.y.apply(c);if(bt(this.props,"discard")&&!e.y.isInRange(d))return null;var p=[{x:a+u,y:d},{x:a,y:d}];return"left"===f?p.reverse():p}if(t){var h=this.props,y=h.x,v=h.xAxis.orientation,m=e.x.apply(y);if(bt(this.props,"discard")&&!e.x.isInRange(m))return null;var b=[{x:m,y:i+l},{x:m,y:i}];return"top"===v?b.reverse():b}if(r){var g=this.props.segment.map(function(t){return e.apply(t)});return bt(this.props,"discard")&&pe()(g,function(t){return!e.isInRange(t)})?null:g}return null}},{key:"render",value:function(){var e=this.props,t=e.x,n=e.y,r=e.segment,o=e.xAxis,a=e.yAxis,i=e.shape,u=e.className,l=e.alwaysShow,s=e.clipPathId;Object(J.a)(void 0===l,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var c=Q.create({x:o.scale,y:a.scale}),f=Object(D.f)(t),d=Object(D.f)(n),p=r&&2===r.length,h=this.getEndPoints(c,f,d,p);if(!h)return null;var y=me(h,2),v=y[0],m=v.x,b=v.y,g=y[1],O=g.x,w=g.y,x=ye({clipPath:bt(this.props,"hidden")?"url(#".concat(s,")"):void 0},Object(L.j)(this.props),Object(L.e)(this.props),{x1:m,y1:b,x2:O,y2:w});return C.a.createElement(R.a,{className:I()("recharts-reference-line",u)},function(e,t){return C.a.isValidElement(e)?C.a.cloneElement(e,t):_()(e)?e(t):C.a.createElement("line",we({},t,{className:"recharts-reference-line-line"}))}(i,x),B.a.renderCallByParent(this.props,function(e){var t=e.x1,n=e.y1,r=e.x2,o=e.y2;return G({x:t,y:n},{x:r,y:o})}({x1:m,y1:b,x2:O,y2:w})))}}])&&be(n.prototype,r),o&&be(n,o),t}(),se.displayName="ReferenceLine",se.propTypes=ye({},L.c,{viewBox:j.a.shape({x:j.a.number,y:j.a.number,width:j.a.number,height:j.a.number}),xAxis:j.a.object,yAxis:j.a.object,isFront:j.a.bool,alwaysShow:j.a.bool,ifOverflow:j.a.oneOf(["hidden","visible","discard","extendDomain"]),x:j.a.oneOfType([j.a.number,j.a.string]),y:j.a.oneOfType([j.a.number,j.a.string]),segment:j.a.arrayOf(j.a.shape({x:j.a.oneOfType([j.a.number,j.a.string]),y:j.a.oneOfType([j.a.number,j.a.string])})),className:j.a.oneOfType([j.a.number,j.a.string]),yAxisId:j.a.oneOfType([j.a.string,j.a.number]),xAxisId:j.a.oneOfType([j.a.string,j.a.number]),shape:j.a.func}),se.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1},le=ce))||le,Me=n(134);function De(e){return(De="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 Te(){return(Te=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Ce(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){Ee(e,t,n[t])})}return e}function Ee(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function je(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ae(e,t){return!t||"object"!==De(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Ie(e){return(Ie=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ne(e,t){return(Ne=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Re=Object(N.a)((Se=ke=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Ae(this,Ie(t).apply(this,arguments))}var n,r,o;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ne(e,t)}(t,T["Component"]),n=t,o=[{key:"renderRect",value:function(e,t){return C.a.isValidElement(e)?C.a.cloneElement(e,t):_()(e)?e(t):C.a.createElement(Me.a,Te({},t,{className:"recharts-reference-area-rect"}))}}],(r=[{key:"getRect",value:function(e,t,n,r){var o=this.props,a=o.x1,i=o.x2,u=o.y1,l=o.y2,s=o.xAxis,c=o.yAxis,f=Q.create({x:s.scale,y:c.scale}),d={x:e?f.x.apply(a):f.x.rangeMin,y:n?f.y.apply(u):f.y.rangeMin},p={x:t?f.x.apply(i):f.x.rangeMax,y:r?f.y.apply(l):f.y.rangeMax};return!bt(this.props,"discard")||f.isInRange(d)&&f.isInRange(p)?G(d,p):null}},{key:"render",value:function(){var e=this.props,t=e.x1,n=e.x2,r=e.y1,o=e.y2,a=e.className,i=e.alwaysShow,u=e.clipPathId;Object(J.a)(void 0===i,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var l=Object(D.f)(t),s=Object(D.f)(n),c=Object(D.f)(r),f=Object(D.f)(o);if(!l&&!s&&!c&&!f)return null;var d=this.getRect(l,s,c,f);if(!d)return null;var p=this.props.shape,h=bt(this.props,"hidden")?"url(#".concat(u,")"):void 0;return C.a.createElement(R.a,{className:I()("recharts-reference-area",a)},this.constructor.renderRect(p,Ce({clipPath:h},this.props,d)),B.a.renderCallByParent(this.props,d))}}])&&je(n.prototype,r),o&&je(n,o),t}(),ke.displayName="ReferenceArea",ke.propTypes=Ce({},L.c,{viewBox:j.a.shape({x:j.a.number,y:j.a.number,width:j.a.number,height:j.a.number}),xAxis:j.a.object,yAxis:j.a.object,isFront:j.a.bool,alwaysShow:j.a.bool,ifOverflow:j.a.oneOf(["hidden","visible","discard","extendDomain"]),x1:j.a.oneOfType([j.a.number,j.a.string]),x2:j.a.oneOfType([j.a.number,j.a.string]),y1:j.a.oneOfType([j.a.number,j.a.string]),y2:j.a.oneOfType([j.a.number,j.a.string]),className:j.a.oneOfType([j.a.number,j.a.string]),yAxisId:j.a.oneOfType([j.a.string,j.a.number]),xAxisId:j.a.oneOfType([j.a.string,j.a.number]),shape:j.a.oneOfType([j.a.func,j.a.element])}),ke.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1},xe=Se))||xe;function Fe(e){return(Fe="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 Le(){return(Le=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Be(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,u=e[Symbol.iterator]();!(r=(i=u.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(l){o=!0,a=l}finally{try{r||null==u.return||u.return()}finally{if(o)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function ze(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function We(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ue(e,t){return!t||"object"!==Fe(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function He(e){return(He=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ve(e,t){return(Ve=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Ye=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Ue(this,He(t).apply(this,arguments))}var n,r,o;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ve(e,t)}(t,T["Component"]),n=t,(r=[{key:"renderErrorBars",value:function(){var e=this.props,t=e.offset,n=e.layout,r=e.width,o=e.dataKey,a=e.data,i=e.dataPointFormatter,u=e.xAxis,l=e.yAxis,s=ze(e,["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"]),c=Object(L.j)(s);return a.map(function(e,a){var s,f,d,p,h,y,v,m,b,g,_,O,w=i(e,o),x=w.x,k=w.y,S=w.value,P=w.errorVal;if(!P)return null;if(Array.isArray(P)){var M=Be(P,2);_=M[0],O=M[1]}else _=O=P;return"vertical"===n?(v=u.scale,f=k+t,d=v((s=S)-_),p=f+r,m={x1:h=v(s+O),y1:p,x2:h,y2:y=f-r},b={x1:d,y1:f,x2:h,y2:f},g={x1:d,y1:p,x2:d,y2:y}):"horizontal"===n&&(v=l.scale,d=(s=x+t)-r,h=s+r,p=v((f=S)-_),m={x1:d,y1:y=v(f+O),x2:h,y2:y},b={x1:s,y1:p,x2:s,y2:y},g={x1:d,y1:p,x2:h,y2:p}),C.a.createElement(R.a,Le({className:"recharts-errorBar",key:"bar-".concat(a)},c),C.a.createElement("line",m),C.a.createElement("line",b),C.a.createElement("line",g))})}},{key:"render",value:function(){return C.a.createElement(R.a,{className:"recharts-errorBars"},this.renderErrorBars())}}])&&We(n.prototype,r),o&&We(n,o),t}();Ye.propTypes={dataKey:j.a.oneOfType([j.a.string,j.a.number,j.a.func]).isRequired,data:j.a.array,xAxis:j.a.object,yAxis:j.a.object,layout:j.a.string,dataPointFormatter:j.a.func,stroke:j.a.string,strokeWidth:j.a.number,width:j.a.number,offset:j.a.number},Ye.defaultProps={stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"};var Ke=Ye,Ge=n(102);function $e(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function qe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){Xe(e,t,n[t])})}return e}function Xe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"s",function(){return Ze}),n.d(t,"j",function(){return Qe}),n.d(t,"b",function(){return Je}),n.d(t,"n",function(){return et}),n.d(t,"m",function(){return tt}),n.d(t,"h",function(){return nt}),n.d(t,"g",function(){return rt}),n.d(t,"a",function(){return ot}),n.d(t,"w",function(){return it}),n.d(t,"k",function(){return ut}),n.d(t,"u",function(){return lt}),n.d(t,"i",function(){return st}),n.d(t,"q",function(){return ct}),n.d(t,"d",function(){return ft}),n.d(t,"x",function(){return dt}),n.d(t,"c",function(){return pt}),n.d(t,"o",function(){return vt}),n.d(t,"r",function(){return mt}),n.d(t,"t",function(){return bt}),n.d(t,"e",function(){return gt}),n.d(t,"p",function(){return _t}),n.d(t,"l",function(){return Ot}),n.d(t,"y",function(){return kt}),n.d(t,"f",function(){return St}),n.d(t,"v",function(){return Pt});var Ze=function(e,t,n){return k()(e)||k()(t)?n:Object(D.f)(t)?w()(e,t,n):_()(t)?t(e):n},Qe=function(e,t,n,r){var o=b()(e,function(e){return Ze(e,t)});if("number"===n){var a=o.filter(function(e){return Object(D.g)(e)||parseFloat(e,10)});return[Math.min.apply(null,a),Math.max.apply(null,a)]}return(r?o.filter(function(e){return!k()(e)}):o).map(function(e){return Object(D.f)(e)?e:""})},Je=function(e,t,n,r){var o=-1,a=t.length;if(a>1){if(r&&"angleAxis"===r.axisType&&Math.abs(Math.abs(r.range[1]-r.range[0])-360)<=1e-6)for(var i=r.range,u=0;u<a;u++){var l=u>0?n[u-1].coordinate:n[a-1].coordinate,s=n[u].coordinate,c=u>=a-1?n[0].coordinate:n[u+1].coordinate,f=void 0;if(Object(D.i)(s-l)!==Object(D.i)(c-s)){var d=[];if(Object(D.i)(c-s)===Object(D.i)(i[1]-i[0])){f=c;var p=s+i[1]-i[0];d[0]=Math.min(p,(p+l)/2),d[1]=Math.max(p,(p+l)/2)}else{f=l;var h=c+i[1]-i[0];d[0]=Math.min(s,(h+s)/2),d[1]=Math.max(s,(h+s)/2)}var y=[Math.min(s,(f+s)/2),Math.max(s,(f+s)/2)];if(e>y[0]&&e<=y[1]||e>=d[0]&&e<=d[1]){o=n[u].index;break}}else{var v=Math.min(l,c),m=Math.max(l,c);if(e>(v+s)/2&&e<=(m+s)/2){o=n[u].index;break}}}else for(var b=0;b<a;b++)if(0===b&&e<=(t[b].coordinate+t[b+1].coordinate)/2||b>0&&b<a-1&&e>(t[b].coordinate+t[b-1].coordinate)/2&&e<=(t[b].coordinate+t[b+1].coordinate)/2||b===a-1&&e>(t[b].coordinate+t[b-1].coordinate)/2){o=t[b].index;break}}else o=0;return o},et=function(e){var t;switch(e.type.displayName){case"Line":case"Area":case"Radar":t=e.props.stroke;break;default:t=e.props.fill}return t},tt=function(e){var t,n=e.children,r=e.formatedGraphicalItems,o=e.legendWidth,a=e.legendContent,i=Object(L.h)(n,Ge.a);return i?(t=i.props&&i.props.payload?i.props&&i.props.payload:"children"===a?(r||[]).reduce(function(e,t){var n=t.item,r=t.props,o=r.sectors||r.data||[];return e.concat(o.map(function(e){return{type:i.props.iconType||n.props.legendType,value:e.name,color:e.fill,payload:e}}))},[]):(r||[]).map(function(e){var t=e.item,n=t.props,r=n.dataKey,o=n.name,a=n.legendType;return{inactive:n.hide,dataKey:r,type:i.props.iconType||a||"square",color:et(t),value:o||r,payload:t.props}}),qe({},i.props,Ge.a.getWithHeight(i,o),{payload:t,item:i})):null},nt=function(e){var t=e.barSize,n=e.stackGroups,r=void 0===n?{}:n;if(!r)return{};for(var o={},a=Object.keys(r),i=0,u=a.length;i<u;i++)for(var l=r[a[i]].stackGroups,s=Object.keys(l),c=0,f=s.length;c<f;c++){var d=l[s[c]],p=d.items,h=d.cateAxisId,y=p.filter(function(e){return Object(L.i)(e.type).indexOf("Bar")>=0});if(y&&y.length){var v=y[0].props.barSize,m=y[0].props[h];o[m]||(o[m]=[]),o[m].push({item:y[0],stackList:y.slice(1),barSize:k()(v)?t:v})}}return o},rt=function(e){var t=e.barGap,n=e.barCategoryGap,r=e.bandSize,o=e.sizeList,a=void 0===o?[]:o,i=e.maxBarSize,u=a.length;if(u<1)return null;var l,s=Object(D.c)(t,r,0,!0);if(a[0].barSize===+a[0].barSize){var c=!1,f=r/u,d=a.reduce(function(e,t){return e+t.barSize||0},0);(d+=(u-1)*s)>=r&&(d-=(u-1)*s,s=0),d>=r&&f>0&&(c=!0,d=u*(f*=.9));var p={offset:((r-d)/2>>0)-s,size:0};l=a.reduce(function(e,t){var n=$e(e).concat([{item:t.item,position:{offset:p.offset+p.size+s,size:c?f:t.barSize}}]);return p=n[n.length-1].position,t.stackList&&t.stackList.length&&t.stackList.forEach(function(e){n.push({item:e,position:p})}),n},[])}else{var h=Object(D.c)(n,r,0,!0);r-2*h-(u-1)*s<=0&&(s=0);var y=(r-2*h-(u-1)*s)/u;y>1&&(y>>=0);var v=i===+i?Math.min(y,i):y;l=a.reduce(function(e,t,n){var r=$e(e).concat([{item:t.item,position:{offset:h+(y+s)*n+(y-v)/2,size:v}}]);return t.stackList&&t.stackList.length&&t.stackList.forEach(function(e){r.push({item:e,position:r[r.length-1].position})}),r},[])}return l},ot=function(e,t,n,r){var o=n.children,a=n.width,i=n.height,u=n.margin,l=a-(u.left||0)-(u.right||0),s=i-(u.top||0)-(u.bottom||0),c=tt({children:o,items:t,legendWidth:l,legendHeight:s}),f=e;if(c){var d=r||{},p=c.align,h=c.verticalAlign,y=c.layout;("vertical"===y||"horizontal"===y&&"center"===h)&&Object(D.g)(e[p])&&(f=qe({},e,Xe({},p,f[p]+(d.width||0)))),("horizontal"===y||"vertical"===y&&"center"===p)&&Object(D.g)(e[h])&&(f=qe({},e,Xe({},h,f[h]+(d.height||0))))}return f},at=function(e,t,n,r){var o=t.props.children,a=Object(L.g)(o,Ke).filter(function(e){var t=e.props.direction;return!(!k()(t)&&!k()(r))||r.indexOf(t)>=0});if(a&&a.length){var i=a.map(function(e){return e.props.dataKey});return e.reduce(function(e,t){var r=Ze(t,n,0),o=v()(r)?[h()(r),d()(r)]:[r,r],a=i.reduce(function(e,n){var r=Ze(t,n,0),a=o[0]-Math.abs(v()(r)?r[0]:r),i=o[1]+Math.abs(v()(r)?r[1]:r);return[Math.min(a,e[0]),Math.max(i,e[1])]},[1/0,-1/0]);return[Math.min(a[0],e[0]),Math.max(a[1],e[1])]},[1/0,-1/0])}return null},it=function(e,t,n,r){var o=t.map(function(t){return at(e,t,n,r)}).filter(function(e){return!k()(e)});return o&&o.length?o.reduce(function(e,t){return[Math.min(e[0],t[0]),Math.max(e[1],t[1])]},[1/0,-1/0]):null},ut=function(e,t,n,r){var o=t.map(function(t){var o=t.props.dataKey;return"number"===n&&o&&at(e,t,o)||Qe(e,o,n,r)});if("number"===n)return o.reduce(function(e,t){return[Math.min(e[0],t[0]),Math.max(e[1],t[1])]},[1/0,-1/0]);var a={};return o.reduce(function(e,t){for(var n=0,r=t.length;n<r;n++)a[t[n]]||(a[t[n]]=!0,e.push(t[n]));return e},[])},lt=function(e,t){return"horizontal"===e&&"xAxis"===t||"vertical"===e&&"yAxis"===t||"centric"===e&&"angleAxis"===t||"radial"===e&&"radiusAxis"===t},st=function(e,t,n){var r,o,a=e.map(function(e){return e.coordinate===t&&(r=!0),e.coordinate===n&&(o=!0),e.coordinate});return r||a.push(t),o||a.push(n),a},ct=function(e,t,n){if(!e)return null;var r=e.scale,o=e.duplicateDomain,a=e.type,i=e.range,u=(t||n)&&"category"===a&&r.bandwidth?r.bandwidth()/2:0;return u="angleAxis"===e.axisType?2*Object(D.i)(i[0]-i[1])*u:u,t&&(e.ticks||e.niceTicks)?(e.ticks||e.niceTicks).map(function(e){var t=o?o.indexOf(e):e;return{coordinate:r(t)+u,value:e,offset:u}}):e.isCategorial&&e.categoricalDomain?e.categoricalDomain.map(function(e,t){return{coordinate:r(e),value:e,index:t,offset:u}}):r.ticks&&!n?r.ticks(e.tickCount).map(function(e){return{coordinate:r(e)+u,value:e,offset:u}}):r.domain().map(function(e,t){return{coordinate:r(e)+u,value:o?o[e]:e,index:t,offset:u}})},ft=function(e,t,n){var r;return _()(n)?r=n:_()(t)&&(r=t),_()(e)||r?function(t,n,o,a){_()(e)&&e(t,n,o,a),_()(r)&&r(t,n,o,a)}:null},dt=function(e,t){var n=e.scale,r=e.type,o=e.layout,a=e.axisType;if("auto"===n)return"radial"===o&&"radiusAxis"===a?{scale:P.scaleBand(),realScaleType:"band"}:"radial"===o&&"angleAxis"===a?{scale:P.scaleLinear(),realScaleType:"linear"}:"category"===r&&t&&(t.indexOf("LineChart")>=0||t.indexOf("AreaChart")>=0)?{scale:P.scalePoint(),realScaleType:"point"}:"category"===r?{scale:P.scaleBand(),realScaleType:"band"}:{scale:P.scaleLinear(),realScaleType:"linear"};if(c()(n)){var i="scale".concat(n.slice(0,1).toUpperCase()).concat(n.slice(1));return{scale:(P[i]||P.scalePoint)(),realScaleType:P[i]?i:"point"}}return _()(n)?{scale:n}:{scale:P.scalePoint(),realScaleType:"point"}},pt=function(e){var t=e.domain();if(t&&!(t.length<=2)){var n=t.length,r=e.range(),o=Math.min(r[0],r[1])-1e-4,a=Math.max(r[0],r[1])+1e-4,i=e(t[0]),u=e(t[n-1]);(i<o||i>a||u<o||u>a)&&e.domain([t[0],t[n-1]])}},ht={sign:function(e){var t=e.length;if(!(t<=0))for(var n=0,r=e[0].length;n<r;++n)for(var o=0,a=0,i=0;i<t;++i){var u=l()(e[i][n][1])?e[i][n][0]:e[i][n][1];u>=0?(e[i][n][0]=o,e[i][n][1]=o+u,o=e[i][n][1]):(e[i][n][0]=a,e[i][n][1]=a+u,a=e[i][n][1])}},expand:M.o,none:M.p,silhouette:M.q,wiggle:M.r},yt=function(e,t,n){var r=t.map(function(e){return e.props.dataKey});return Object(M.n)().keys(r).value(function(e,t){return+Ze(e,t,0)}).order(M.s).offset(ht[n])(e)},vt=function(e,t,n,r,o,a){if(!e)return null;var i=(a?t.reverse():t).reduce(function(e,t){var o=t.props,a=o.stackId;if(o.hide)return e;var i=t.props[n],u=e[i]||{hasStack:!1,stackGroups:{}};if(Object(D.f)(a)){var l=u.stackGroups[a]||{numericAxisId:n,cateAxisId:r,items:[]};l.items.push(t),u.hasStack=!0,u.stackGroups[a]=l}else u.stackGroups[Object(D.j)("_stackId_")]={numericAxisId:n,cateAxisId:r,items:[t]};return qe({},e,Xe({},i,u))},{});return Object.keys(i).reduce(function(t,a){var u=i[a];return u.hasStack&&(u.stackGroups=Object.keys(u.stackGroups).reduce(function(t,a){var i=u.stackGroups[a];return qe({},t,Xe({},a,{numericAxisId:n,cateAxisId:r,items:i.items,stackedData:yt(e,i.items,o)}))},{})),qe({},t,Xe({},a,u))},{})},mt=function(e,t){var n=t.realScaleType,r=t.type,o=t.tickCount,a=t.originalDomain,i=t.allowDecimals,u=n||t.scale;if("auto"!==u&&"linear"!==u)return null;if(o&&"number"===r&&a&&("auto"===a[0]||"auto"===a[1])){var l=e.domain(),s=Object(S.getNiceTickValues)(l,o,i);return e.domain(function(e,t){return"number"===t?[Math.min.apply(null,e),Math.max.apply(null,e)]:e}(s,r)),{niceTicks:s}}if(o&&"number"===r){var c=e.domain();return{niceTicks:Object(S.getTickValuesFixedDomain)(c,o,i)}}return null},bt=function(e,t){var n=e.alwaysShow,r=e.ifOverflow;return n&&(r="extendDomain"),r===t},gt=function(e,t,n,r,o){var a=Object(L.g)(e,Pe),i=Object(L.g)(e,fe),u=a.concat(i),l=Object(L.g)(e,Re),s="".concat(r,"Id"),c=r[0],f=t;if(u.length&&(f=u.reduce(function(e,t){if(t.props[s]===n&&bt(t.props,"extendDomain")&&Object(D.g)(t.props[c])){var r=t.props[c];return[Math.min(e[0],r),Math.max(e[1],r)]}return e},f)),l.length){var d="".concat(c,"1"),p="".concat(c,"2");f=l.reduce(function(e,t){if(t.props[s]===n&&bt(t.props,"extendDomain")&&Object(D.g)(t.props[d])&&Object(D.g)(t.props[p])){var r=t.props[d],o=t.props[p];return[Math.min(e[0],r,o),Math.max(e[1],r,o)]}return e},f)}return o&&o.length&&(f=o.reduce(function(e,t){return Object(D.g)(t)?[Math.min(e[0],t),Math.max(e[1],t)]:e},f)),f},_t=function(e,t){var n=e.props.stackId;if(Object(D.f)(n)){var r=t[n];if(r&&r.items.length){for(var o=-1,a=0,i=r.items.length;a<i;a++)if(r.items[a]===e){o=a;break}return o>=0?r.stackedData[o]:null}}return null},Ot=function(e,t,n){return Object.keys(e).reduce(function(r,o){var a=e[o].stackedData.reduce(function(e,r){var o=r.slice(t,n+1).reduce(function(e,t){return[Math.min.apply(null,t.concat([e[0]]).filter(D.g)),Math.max.apply(null,t.concat([e[1]]).filter(D.g))]},[1/0,-1/0]);return[Math.min(e[0],o[0]),Math.max(e[1],o[1])]},[1/0,-1/0]);return[Math.min(a[0],r[0]),Math.max(a[1],r[1])]},[1/0,-1/0]).map(function(e){return e===1/0||e===-1/0?0:e})},wt=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,xt=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,kt=function(e,t,n){if(!v()(e))return t;var r=[];if(Object(D.g)(e[0]))r[0]=n?e[0]:Math.min(e[0],t[0]);else if(wt.test(e[0])){var o=+wt.exec(e[0])[1];r[0]=t[0]-o}else _()(e[0])?r[0]=e[0](t[0]):r[0]=t[0];if(Object(D.g)(e[1]))r[1]=n?e[1]:Math.max(e[1],t[1]);else if(xt.test(e[1])){var a=+xt.exec(e[1])[1];r[1]=t[1]+a}else _()(e[1])?r[1]=e[1](t[1]):r[1]=t[1];return r},St=function(e,t){if(e&&e.scale&&e.scale.bandwidth)return e.scale.bandwidth();if(e&&t&&t.length>=2){for(var n=i()(t,function(e){return e.coordinate}),r=1/0,o=1,a=n.length;o<a;o++){var u=n[o],l=n[o-1];r=Math.min((u.coordinate||0)-(l.coordinate||0),r)}return r===1/0?0:r}return 0},Pt=function(e,t,n){return e&&e.length?o()(e,w()(n,"type.defaultProps.domain"))?t:e:t}},function(e,t,n){var r=n(381);e.exports=function(e,t){if(null==e)return{};var n,o,a=r(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}},function(e,t,n){"use strict";function r(e,t){for(var n in e)if({}.hasOwnProperty.call(e,n)&&(!{}.hasOwnProperty.call(t,n)||e[n]!==t[n]))return!1;for(var r in t)if({}.hasOwnProperty.call(t,r)&&!{}.hasOwnProperty.call(e,r))return!1;return!0}function o(e,t){return!r(e,this.props)||!r(t,this.state)}function a(e){e.prototype.shouldComponentUpdate=o}n.d(t,"b",function(){return r}),n.d(t,"a",function(){return a})},function(e,t,n){"use strict";n.r(t);var r=n(222),o=n.n(r);n.d(t,"componentPropType",function(){return o.a});var a=n(224),i=n.n(a);n.d(t,"chainPropTypes",function(){return i.a});var u=n(225),l=n.n(u);n.d(t,"exactProp",function(){return l.a});var s=n(226),c=n.n(s);n.d(t,"getDisplayName",function(){return c.a});var f=n(227),d=n.n(f);n.d(t,"ponyfillGlobal",function(){return d.a})},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){"use strict";n.d(t,"a",function(){return c}),n.d(t,"e",function(){return d}),n.d(t,"c",function(){return p}),n.d(t,"b",function(){return h}),n.d(t,"d",function(){return m});var r=n(7),o=n.n(r),a=n(2),i=n(9);function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){l(e,t,n[t])})}return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,u=e[Symbol.iterator]();!(r=(i=u.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(l){o=!0,a=l}finally{try{r||null==u.return||u.return()}finally{if(o)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var c=Math.PI/180,f=function(e){return 180*e/Math.PI},d=function(e,t,n,r){return{x:e+Math.cos(-c*r)*n,y:t+Math.sin(-c*r)*n}},p=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{top:0,right:0,bottom:0,left:0};return Math.min(Math.abs(e-(n.left||0)-(n.right||0)),Math.abs(t-(n.top||0)-(n.bottom||0)))/2},h=function(e,t,n,r,c){var f=e.width,d=e.height,h=e.startAngle,y=e.endAngle,v=Object(a.c)(e.cx,f,f/2),m=Object(a.c)(e.cy,d,d/2),b=p(f,d,n),g=Object(a.c)(e.innerRadius,b,0),_=Object(a.c)(e.outerRadius,b,.8*b);return Object.keys(t).reduce(function(e,n){var a,f=t[n],d=f.domain,p=f.reversed;if(o()(f.range))"angleAxis"===r?a=[h,y]:"radiusAxis"===r&&(a=[g,_]),p&&(a=[a[1],a[0]]);else{var b=s(a=f.range,2);h=b[0],y=b[1]}var O=Object(i.x)(f,c),w=O.realScaleType,x=O.scale;x.domain(d).range(a),Object(i.c)(x);var k=Object(i.r)(x,u({},f,{realScaleType:w})),S=u({},f,k,{range:a,radius:_,realScaleType:w,scale:x,cx:v,cy:m,innerRadius:g,outerRadius:_,startAngle:h,endAngle:y});return u({},e,l({},n,S))},{})},y=function(e,t){var n=e.x,r=e.y,o=t.cx,a=t.cy,i=function(e,t){var n=e.x,r=e.y,o=t.x,a=t.y;return Math.sqrt(Math.pow(n-o,2)+Math.pow(r-a,2))}({x:n,y:r},{x:o,y:a});if(i<=0)return{radius:i};var u=(n-o)/i,l=Math.acos(u);return r>a&&(l=2*Math.PI-l),{radius:i,angle:f(l),angleInRadian:l}},v=function(e,t){var n=t.startAngle,r=t.endAngle,o=Math.floor(n/360),a=Math.floor(r/360);return e+360*Math.min(o,a)},m=function(e,t){var n=e.x,r=e.y,o=y({x:n,y:r},t),a=o.radius,i=o.angle,l=t.innerRadius,s=t.outerRadius;if(a<l||a>s)return!1;if(0===a)return!0;var c,f=function(e){var t=e.startAngle,n=e.endAngle,r=Math.floor(t/360),o=Math.floor(n/360),a=Math.min(r,o);return{startAngle:t-360*a,endAngle:n-360*a}}(t),d=f.startAngle,p=f.endAngle,h=i;if(d<=p){for(;h>p;)h-=360;for(;h<d;)h+=360;c=h>=d&&h<=p}else{for(;h>d;)h-=360;for(;h<p;)h+=360;c=h>=p&&h<=d}return c?u({},t,{radius:a,angle:v(h,t)}):null}},function(e,t,n){"use strict";var r=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.sheetsManager=void 0;var o=r(n(17)),a=r(n(8)),i=r(n(21)),u=r(n(22)),l=r(n(23)),s=r(n(24)),c=r(n(25)),f=r(n(10)),d=r(n(1)),p=r(n(0)),h=(r(n(27)),r(n(151))),y=n(12),v=n(228),m=r(n(403)),b=r(n(234)),g=r(n(235)),_=r(n(417)),O=r(n(155)),w=r(n(156)),x=r(n(238)),k=r(n(432)),S=r(n(433)),P=(0,v.create)((0,b.default)()),M=(0,x.default)(),D=-1e11,T=new Map;t.sheetsManager=T;var C={},E=(0,O.default)({typography:{suppressWarning:!0}});y.ponyfillGlobal.__MUI_STYLES__||(y.ponyfillGlobal.__MUI_STYLES__={}),y.ponyfillGlobal.__MUI_STYLES__.withStyles||(y.ponyfillGlobal.__MUI_STYLES__.withStyles=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var r,y=t.withTheme,v=void 0!==y&&y,b=t.flip,O=void 0===b?null:b,x=t.name,j=(0,f.default)(t,["withTheme","flip","name"]),A=(0,k.default)(e),I=A.themingEnabled||"string"===typeof x||v;D+=1,A.options.index=D;var N=function(e){function t(e,n){var r;(0,i.default)(this,t),(r=(0,l.default)(this,(0,s.default)(t).call(this,e,n))).jss=n[m.default.jss]||P,r.sheetsManager=T,r.unsubscribeId=null;var o=n.muiThemeProviderOptions;return o&&(o.sheetsManager&&(r.sheetsManager=o.sheetsManager),r.sheetsCache=o.sheetsCache,r.disableStylesGeneration=o.disableStylesGeneration),r.stylesCreatorSaved=A,r.sheetOptions=(0,a.default)({generateClassName:M},n[m.default.sheetOptions]),r.theme=I?w.default.initial(n)||E:C,r.attach(r.theme),r.cacheClasses={value:null,lastProp:null,lastJSS:{}},r}return(0,c.default)(t,e),(0,u.default)(t,[{key:"componentDidMount",value:function(){var e=this;I&&(this.unsubscribeId=w.default.subscribe(this.context,function(t){var n=e.theme;e.theme=t,e.attach(e.theme),e.setState({},function(){e.detach(n)})}))}},{key:"componentDidUpdate",value:function(){this.stylesCreatorSaved}},{key:"componentWillUnmount",value:function(){this.detach(this.theme),null!==this.unsubscribeId&&w.default.unsubscribe(this.context,this.unsubscribeId)}},{key:"getClasses",value:function(){if(this.disableStylesGeneration)return this.props.classes||{};var e=!1,t=_.default.get(this.sheetsManager,this.stylesCreatorSaved,this.theme);return t.sheet.classes!==this.cacheClasses.lastJSS&&(this.cacheClasses.lastJSS=t.sheet.classes,e=!0),this.props.classes!==this.cacheClasses.lastProp&&(this.cacheClasses.lastProp=this.props.classes,e=!0),e&&(this.cacheClasses.value=(0,g.default)({baseClasses:this.cacheClasses.lastJSS,newClasses:this.props.classes,Component:n})),this.cacheClasses.value}},{key:"attach",value:function(e){if(!this.disableStylesGeneration){var t=this.stylesCreatorSaved,n=_.default.get(this.sheetsManager,t,e);if(n||(n={refs:0,sheet:null},_.default.set(this.sheetsManager,t,e,n)),0===n.refs){var r;this.sheetsCache&&(r=_.default.get(this.sheetsCache,t,e)),r||((r=this.createSheet(e)).attach(),this.sheetsCache&&_.default.set(this.sheetsCache,t,e,r)),n.sheet=r;var o=this.context[m.default.sheetsRegistry];o&&o.add(r)}n.refs+=1}}},{key:"createSheet",value:function(e){var t=this.stylesCreatorSaved.create(e,x),r=x;return this.jss.createStyleSheet(t,(0,a.default)({meta:r,classNamePrefix:r,flip:"boolean"===typeof O?O:"rtl"===e.direction,link:!1},this.sheetOptions,this.stylesCreatorSaved.options,{name:x||n.displayName},j))}},{key:"detach",value:function(e){if(!this.disableStylesGeneration){var t=_.default.get(this.sheetsManager,this.stylesCreatorSaved,e);if(t.refs-=1,0===t.refs){_.default.delete(this.sheetsManager,this.stylesCreatorSaved,e),this.jss.removeStyleSheet(t.sheet);var n=this.context[m.default.sheetsRegistry];n&&n.remove(t.sheet)}}}},{key:"render",value:function(){var e=this.props,t=(e.classes,e.innerRef),r=(0,f.default)(e,["classes","innerRef"]),o=(0,S.default)({theme:this.theme,name:x,props:r});return v&&!o.theme&&(o.theme=this.theme),d.default.createElement(n,(0,a.default)({},o,{classes:this.getClasses(),ref:t}))}}]),t}(d.default.Component);return N.contextTypes=(0,a.default)((r={muiThemeProviderOptions:p.default.object},(0,o.default)(r,m.default.jss,p.default.object),(0,o.default)(r,m.default.sheetOptions,p.default.object),(0,o.default)(r,m.default.sheetsRegistry,p.default.object),r),I?w.default.contextTypes:{}),(0,h.default)(N,n),N}});t.default=function(e,t){return y.ponyfillGlobal.__MUI_STYLES__.withStyles(e,(0,a.default)({defaultTheme:E},t))}},function(e,t,n){"use strict";var r=Math.PI,o=2*r,a=o-1e-6;function i(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function u(){return new i}i.prototype=u.prototype={constructor:i,moveTo:function(e,t){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(e,t){this._+="L"+(this._x1=+e)+","+(this._y1=+t)},quadraticCurveTo:function(e,t,n,r){this._+="Q"+ +e+","+ +t+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(e,t,n,r,o,a){this._+="C"+ +e+","+ +t+","+ +n+","+ +r+","+(this._x1=+o)+","+(this._y1=+a)},arcTo:function(e,t,n,o,a){e=+e,t=+t,n=+n,o=+o,a=+a;var i=this._x1,u=this._y1,l=n-e,s=o-t,c=i-e,f=u-t,d=c*c+f*f;if(a<0)throw new Error("negative radius: "+a);if(null===this._x1)this._+="M"+(this._x1=e)+","+(this._y1=t);else if(d>1e-6)if(Math.abs(f*l-s*c)>1e-6&&a){var p=n-i,h=o-u,y=l*l+s*s,v=p*p+h*h,m=Math.sqrt(y),b=Math.sqrt(d),g=a*Math.tan((r-Math.acos((y+d-v)/(2*m*b)))/2),_=g/b,O=g/m;Math.abs(_-1)>1e-6&&(this._+="L"+(e+_*c)+","+(t+_*f)),this._+="A"+a+","+a+",0,0,"+ +(f*p>c*h)+","+(this._x1=e+O*l)+","+(this._y1=t+O*s)}else this._+="L"+(this._x1=e)+","+(this._y1=t);else;},arc:function(e,t,n,i,u,l){e=+e,t=+t;var s=(n=+n)*Math.cos(i),c=n*Math.sin(i),f=e+s,d=t+c,p=1^l,h=l?i-u:u-i;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+f+","+d:(Math.abs(this._x1-f)>1e-6||Math.abs(this._y1-d)>1e-6)&&(this._+="L"+f+","+d),n&&(h<0&&(h=h%o+o),h>a?this._+="A"+n+","+n+",0,1,"+p+","+(e-s)+","+(t-c)+"A"+n+","+n+",0,1,"+p+","+(this._x1=f)+","+(this._y1=d):h>1e-6&&(this._+="A"+n+","+n+",0,"+ +(h>=r)+","+p+","+(this._x1=e+n*Math.cos(u))+","+(this._y1=t+n*Math.sin(u))))},rect:function(e,t,n,r){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}};var l=u,s=function(e){return function(){return e}},c=(Math.abs,Math.atan2,Math.cos,Math.max,Math.min,Math.sin,Math.sqrt,1e-12),f=Math.PI,d=2*f;function p(e){this._context=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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}};var h=function(e){return new p(e)};function y(e){return e[0]}function v(e){return e[1]}var m=function(){var e=y,t=v,n=s(!0),r=null,o=h,a=null;function i(i){var u,s,c,f=i.length,d=!1;for(null==r&&(a=o(c=l())),u=0;u<=f;++u)!(u<f&&n(s=i[u],u,i))===d&&((d=!d)?a.lineStart():a.lineEnd()),d&&a.point(+e(s,u,i),+t(s,u,i));if(c)return a=null,c+""||null}return i.x=function(t){return arguments.length?(e="function"===typeof t?t:s(+t),i):e},i.y=function(e){return arguments.length?(t="function"===typeof e?e:s(+e),i):t},i.defined=function(e){return arguments.length?(n="function"===typeof e?e:s(!!e),i):n},i.curve=function(e){return arguments.length?(o=e,null!=r&&(a=o(r)),i):o},i.context=function(e){return arguments.length?(null==e?r=a=null:a=o(r=e),i):r},i},b=function(){var e=y,t=null,n=s(0),r=v,o=s(!0),a=null,i=h,u=null;function c(s){var c,f,d,p,h,y=s.length,v=!1,m=new Array(y),b=new Array(y);for(null==a&&(u=i(h=l())),c=0;c<=y;++c){if(!(c<y&&o(p=s[c],c,s))===v)if(v=!v)f=c,u.areaStart(),u.lineStart();else{for(u.lineEnd(),u.lineStart(),d=c-1;d>=f;--d)u.point(m[d],b[d]);u.lineEnd(),u.areaEnd()}v&&(m[c]=+e(p,c,s),b[c]=+n(p,c,s),u.point(t?+t(p,c,s):m[c],r?+r(p,c,s):b[c]))}if(h)return u=null,h+""||null}function f(){return m().defined(o).curve(i).context(a)}return c.x=function(n){return arguments.length?(e="function"===typeof n?n:s(+n),t=null,c):e},c.x0=function(t){return arguments.length?(e="function"===typeof t?t:s(+t),c):e},c.x1=function(e){return arguments.length?(t=null==e?null:"function"===typeof e?e:s(+e),c):t},c.y=function(e){return arguments.length?(n="function"===typeof e?e:s(+e),r=null,c):n},c.y0=function(e){return arguments.length?(n="function"===typeof e?e:s(+e),c):n},c.y1=function(e){return arguments.length?(r=null==e?null:"function"===typeof e?e:s(+e),c):r},c.lineX0=c.lineY0=function(){return f().x(e).y(n)},c.lineY1=function(){return f().x(e).y(r)},c.lineX1=function(){return f().x(t).y(n)},c.defined=function(e){return arguments.length?(o="function"===typeof e?e:s(!!e),c):o},c.curve=function(e){return arguments.length?(i=e,null!=a&&(u=i(a)),c):i},c.context=function(e){return arguments.length?(null==e?a=u=null:u=i(a=e),c):a},c};_(h);function g(e){this._curve=e}function _(e){function t(t){return new g(e(t))}return t._curve=e,t}g.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(e,t){this._curve.point(t*Math.sin(e),t*-Math.cos(e))}};var O=Array.prototype.slice;var w={draw:function(e,t){var n=Math.sqrt(t/f);e.moveTo(n,0),e.arc(0,0,n,0,d)}},x={draw:function(e,t){var n=Math.sqrt(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo