From d3d4345a7ab82e9715b1cbf398d43206d43737f6 Mon Sep 17 00:00:00 2001 From: Determinant Date: Mon, 4 Feb 2019 02:06:59 -0500 Subject: add settings page --- build/static/js/1.067b2186.chunk.js | 2 ++ build/static/js/1.067b2186.chunk.js.map | 1 + build/static/js/1.b6d8b306.chunk.js | 2 -- build/static/js/1.b6d8b306.chunk.js.map | 1 - build/static/js/main.ba5f493c.chunk.js | 2 ++ build/static/js/main.ba5f493c.chunk.js.map | 1 + build/static/js/main.f88964ab.chunk.js | 2 -- build/static/js/main.f88964ab.chunk.js.map | 1 - 8 files changed, 6 insertions(+), 6 deletions(-) create mode 100644 build/static/js/1.067b2186.chunk.js create mode 100644 build/static/js/1.067b2186.chunk.js.map delete mode 100644 build/static/js/1.b6d8b306.chunk.js delete mode 100644 build/static/js/1.b6d8b306.chunk.js.map create mode 100644 build/static/js/main.ba5f493c.chunk.js create mode 100644 build/static/js/main.ba5f493c.chunk.js.map delete mode 100644 build/static/js/main.f88964ab.chunk.js delete mode 100644 build/static/js/main.f88964ab.chunk.js.map (limited to 'build/static/js') diff --git a/build/static/js/1.067b2186.chunk.js b/build/static/js/1.067b2186.chunk.js new file mode 100644 index 0000000..050d0d5 --- /dev/null +++ b/build/static/js/1.067b2186.chunk.js @@ -0,0 +1,2 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[1],[function(e,t,n){e.exports=n(376)()},function(e,t,n){"use strict";e.exports=n(319)},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 w}),n.d(t,"e",function(){return O}),n.d(t,"a",function(){return x});var r=n(82),o=n.n(r),a=n(14),i=n.n(a),u=n(102),l=n.n(u),s=n(83),c=n.n(s),f=n(55),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},w=function(e){if(!i()(e))return!1;for(var t=e.length,n={},r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var w={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])},O={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},T=function(e,t){var n=M(e,t);return n&&n[0]},D=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)&&w[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)&&O[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)&&O[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=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},W=function(e){var t=e&&e.type;return t&&x[t]?x[t]:null},z=function(e,t){var n=-1;return p.Children.forEach(t,function(t,r){t===e&&(n=r)}),n}},function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t1&&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 z()(e,function(e,n){return t[n].isInRange(e)})}}]),e}(),J=n(53);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=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function ze(e,t){for(var n=0;n1){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;u0?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(T.i)(s-l)!==Object(T.i)(c-s)){var d=[];if(Object(T.i)(c-s)===Object(T.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;b0&&b(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=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(T.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(T.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(T.g)(e[p])&&(f=qe({},e,Xe({},p,f[p]+(d.width||0)))),("horizontal"===y||"vertical"===y&&"center"===p)&&Object(T.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=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]);(ia||ua)&&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=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(T.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(T.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(T.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(T.g)(t.props[d])&&Object(T.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(T.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(T.f)(n)){var r=t[n];if(r&&r.items.length){for(var o=-1,a=0,i=r.items.length;a=0?r.stackedData[o]:null}}return null},wt=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(T.g)),Math.max.apply(null,t.concat([e[1]]).filter(T.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})},Ot=/^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(T.g)(e[0]))r[0]=n?e[0]:Math.min(e[0],t[0]);else if(Ot.test(e[0])){var o=+Ot.exec(e[0])[1];r[0]=t[0]-o}else _()(e[0])?r[0]=e[0](t[0]):r[0]=t[0];if(Object(T.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=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(193),o=n.n(r);n.d(t,"componentPropType",function(){return o.a});var a=n(195),i=n.n(a);n.d(t,"chainPropTypes",function(){return i.a});var u=n(196),l=n.n(u);n.d(t,"exactProp",function(){return l.a});var s=n(197),c=n.n(s);n.d(t,"getDisplayName",function(){return c.a});var f=n(198),d=n.n(f);n.d(t,"ponyfillGlobal",function(){return d.a})},function(e,t,n){"use strict";var r=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.sheetsManager=void 0;var o=r(n(16)),a=r(n(7)),i=r(n(22)),u=r(n(23)),l=r(n(24)),s=r(n(25)),c=r(n(26)),f=r(n(10)),d=r(n(1)),p=r(n(0)),h=(r(n(20)),r(n(157))),y=n(12),v=n(201),m=r(n(380)),b=r(n(200)),g=r(n(207)),_=r(n(381)),w=r(n(152)),O=r(n(156)),x=r(n(191)),k=r(n(382)),S=r(n(383)),P=(0,v.create)((0,b.default)()),M=(0,x.default)(),T=-1e11,D=new Map;t.sheetsManager=D;var C={},E=(0,w.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,w=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;T+=1,A.options.index=T;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=D,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?O.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=O.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&&O.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 w?w:"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?O.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){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(8),o=n.n(r),a=n(2),i=n(9);function u(e){for(var t=1;t2&&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 w=Object(i.x)(f,c),O=w.realScaleType,x=w.scale;x.domain(d).range(a),Object(i.c)(x);var k=Object(i.r)(x,u({},f,{realScaleType:O})),S=u({},f,k,{range:a,radius:_,realScaleType:O,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(as)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<=p}else{for(;h>d;)h-=360;for(;h=p&&h<=d}return c?u({},t,{radius:a,angle:v(h,t)}):null}},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},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,w=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+w*l)+","+(this._y1=t+w*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;--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 w=Array.prototype.slice;var O={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(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.closePath()}},k=Math.sqrt(1/3),S=2*k,P={draw:function(e,t){var n=Math.sqrt(t/S),r=n*k;e.moveTo(0,-n),e.lineTo(r,0),e.lineTo(0,n),e.lineTo(-r,0),e.closePath()}},M=Math.sin(f/10)/Math.sin(7*f/10),T=Math.sin(d/10)*M,D=-Math.cos(d/10)*M,C={draw:function(e,t){var n=Math.sqrt(.8908130915292852*t),r=T*n,o=D*n;e.moveTo(0,-n),e.lineTo(r,o);for(var a=1;a<5;++a){var i=d*a/5,u=Math.cos(i),l=Math.sin(i);e.lineTo(l*n,-u*n),e.lineTo(u*r-l*o,l*r+u*o)}e.closePath()}},E={draw:function(e,t){var n=Math.sqrt(t),r=-n/2;e.rect(r,r,n,n)}},j=Math.sqrt(3),A={draw:function(e,t){var n=-Math.sqrt(t/(3*j));e.moveTo(0,2*n),e.lineTo(-j*n,-n),e.lineTo(j*n,-n),e.closePath()}},I=Math.sqrt(3)/2,N=1/Math.sqrt(12),R=3*(N/2+1),F={draw:function(e,t){var n=Math.sqrt(t/R),r=n/2,o=n*N,a=r,i=n*N+n,u=-a,l=i;e.moveTo(r,o),e.lineTo(a,i),e.lineTo(u,l),e.lineTo(-.5*r-I*o,I*r+-.5*o),e.lineTo(-.5*a-I*i,I*a+-.5*i),e.lineTo(-.5*u-I*l,I*u+-.5*l),e.lineTo(-.5*r+I*o,-.5*o-I*r),e.lineTo(-.5*a+I*i,-.5*i-I*a),e.lineTo(-.5*u+I*l,-.5*l-I*u),e.closePath()}},L=function(){var e=s(O),t=s(64),n=null;function r(){var r;if(n||(n=r=l()),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),r)return n=null,r+""||null}return r.type=function(t){return arguments.length?(e="function"===typeof t?t:s(t),r):e},r.size=function(e){return arguments.length?(t="function"===typeof e?e:s(+e),r):t},r.context=function(e){return arguments.length?(n=null==e?null:e,r):n},r},B=function(){};function W(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function z(e){this._context=e}z.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:W(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(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;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:W(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};var U=function(e){return new z(e)};function H(e){this._context=e}H.prototype={areaStart:B,areaEnd:B,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:W(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};var V=function(e){return new H(e)};function Y(e){this._context=e}Y.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:W(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};var K=function(e){return new Y(e)};function G(e,t){this._basis=new z(e),this._beta=t}G.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r,o=e[0],a=t[0],i=e[n]-o,u=t[n]-a,l=-1;++l<=n;)r=l/n,this._basis.point(this._beta*e[l]+(1-this._beta)*(o+r*i),this._beta*t[l]+(1-this._beta)*(a+r*u));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};(function e(t){function n(e){return 1===t?new z(e):new G(e,t)}return n.beta=function(t){return e(+t)},n})(.85);function $(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function q(e,t){this._context=e,this._k=(1-t)/6}q.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:$(this,this._x1,this._y1)}(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,this._x1=e,this._y1=t;break;case 2:this._point=3;default:$(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};(function e(t){function n(e){return new q(e,t)}return n.tension=function(t){return e(+t)},n})(0);function X(e,t){this._context=e,this._k=(1-t)/6}X.prototype={areaStart:B,areaEnd:B,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:$(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};(function e(t){function n(e){return new X(e,t)}return n.tension=function(t){return e(+t)},n})(0);function Z(e,t){this._context=e,this._k=(1-t)/6}Z.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===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;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:$(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};(function e(t){function n(e){return new Z(e,t)}return n.tension=function(t){return e(+t)},n})(0);function Q(e,t,n){var r=e._x1,o=e._y1,a=e._x2,i=e._y2;if(e._l01_a>c){var u=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,l=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*u-e._x0*e._l12_2a+e._x2*e._l01_2a)/l,o=(o*u-e._y0*e._l12_2a+e._y2*e._l01_2a)/l}if(e._l23_a>c){var s=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,f=3*e._l23_a*(e._l23_a+e._l12_a);a=(a*s+e._x1*e._l23_2a-t*e._l12_2a)/f,i=(i*s+e._y1*e._l23_2a-n*e._l12_2a)/f}e._context.bezierCurveTo(r,o,a,i,e._x2,e._y2)}function J(e,t){this._context=e,this._alpha=t}J.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=thi