!function(e){var t={};function n(a){if(t[a])return t[a].exports;var r=t[a]={i:a,l:!1,exports:{}};return e[a].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,a){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(a,r,function(t){return e[t]}.bind(null,r));return a},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=11)}([function(e,t,n){e.exports=n(12)()},function(e,t){e.exports=React},function(e,t,n){var a;
/*!
  Copyright (c) 2017 Jed Watson.
  Licensed under the MIT License (MIT), see
  http://jedwatson.github.io/classnames
*/
/*!
  Copyright (c) 2017 Jed Watson.
  Licensed under the MIT License (MIT), see
  http://jedwatson.github.io/classnames
*/
!function(){"use strict";var n={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var a=arguments[t];if(a){var g=typeof a;if("string"===g||"number"===g)e.push(a);else if(Array.isArray(a)&&a.length){var i=r.apply(null,a);i&&e.push(i)}else if("object"===g)for(var o in a)n.call(a,o)&&a[o]&&e.push(o)}}return e.join(" ")}void 0!==e&&e.exports?(r.default=r,e.exports=r):void 0===(a=function(){return r}.apply(t,[]))||(e.exports=a)}()},function(e,t,n){var a,r=n(14),g=n(15),i=n(17),o=100,A=/(\+|\-|\*|\\|[^a-z]|)(\s*)(\()/g;e.exports=function(e,t){function n(e,g,C){if(a++>o)throw a=0,new Error("Call stack overflow for "+C);if(""===e)throw new Error(g+"(): '"+C+"' must contain a non-whitespace string");var I=function(e){var t=[],n=[],a=/[\.0-9]([%a-z]+)/gi,r=a.exec(e);for(;r;)r&&r[1]&&(-1===n.indexOf(r[1].toLowerCase())&&(t.push(r[1]),n.push(r[1].toLowerCase())),r=a.exec(e));return t}(e=function(e,t){var a,g="",i=e=e.replace(/((?:\-[a-z]+\-)?calc)/g,"");for(;a=A.exec(i);){a[0].index>0&&(g+=i.substring(0,a[0].index));var o=r("(",")",i.substring([0].index));if(""===o.body)throw new Error("'"+e+"' must contain a non-whitespace string");var C=n(o.body,"",t);g+=o.pre+C,i=o.post}return g+i}(e,C));if(I.length>1||e.indexOf("var(")>-1)return g+"("+e+")";var s=I[0]||"";"%"===s&&(e=e.replace(/\b[0-9\.]+%/g,function(e){return.01*parseFloat(e.slice(0,-1))}));var c,u=e.replace(new RegExp(s,"gi"),"");try{c=i.eval(u)}catch(t){return g+"("+e+")"}return"%"===s&&(c*=100),(g.length||"%"===s)&&(c=Math.round(c*t)/t),c+=s}return a=0,t=Math.pow(10,void 0===t?5:t),e=e.replace(/\n+/g," "),g(e,/((?:\-[a-z]+\-)?calc)\(/,n)}},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n=function(e,t){var n=e[1]||"",a=e[3];if(!a)return n;if(t&&"function"==typeof btoa){var r=function(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}(a),g=a.sources.map(function(e){return"/*# sourceURL="+a.sourceRoot+e+" */"});return[n].concat(g).concat([r]).join("\n")}return[n].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n}).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var a={},r=0;r<this.length;r++){var g=this[r][0];"number"==typeof g&&(a[g]=!0)}for(r=0;r<e.length;r++){var i=e[r];"number"==typeof i[0]&&a[i[0]]||(n&&!i[2]?i[2]=n:n&&(i[2]="("+i[2]+") and ("+n+")"),t.push(i))}},t}},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return Re});var a=n(0),r=n.n(a),g=n(1),i=n.n(g),o=n(3),A=n.n(o);function C(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function I(){return(I=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},g=Object.keys(e);for(a=0;a<g.length;a++)n=g[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var g=Object.getOwnPropertySymbols(e);for(a=0;a<g.length;a++)n=g[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function l(e,t){return!t||"object"!=typeof 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}var f="undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{},h="object"==typeof f&&f&&f.Object===Object&&f,p="object"==typeof self&&self&&self.Object===Object&&self,d=h||p||Function("return this")(),m=d.Symbol,y=Object.prototype,b=y.hasOwnProperty,v=y.toString,x=m?m.toStringTag:void 0;var _=function(e){var t=b.call(e,x),n=e[x];try{e[x]=void 0}catch(e){}var a=v.call(e);return t?e[x]=n:delete e[x],a},w=Object.prototype.toString;var T=function(e){return w.call(e)},k="[object Null]",O="[object Undefined]",N=m?m.toStringTag:void 0;var M=function(e){return null==e?void 0===e?O:k:N&&N in Object(e)?_(e):T(e)};var P=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},E="[object AsyncFunction]",R="[object Function]",S="[object GeneratorFunction]",j="[object Proxy]";var D=function(e){if(!P(e))return!1;var t=M(e);return t==R||t==S||t==E||t==j},L=d["__core-js_shared__"],z=function(){var e=/[^.]+$/.exec(L&&L.keys&&L.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();var F=function(e){return!!z&&z in e},W=Function.prototype.toString;var Z=function(e){if(null!=e){try{return W.call(e)}catch(e){}try{return e+""}catch(e){}}return""},q=/^\[object .+?Constructor\]$/,G=Function.prototype,U=Object.prototype,V=G.toString,Y=U.hasOwnProperty,B=RegExp("^"+V.call(Y).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var K=function(e){return!(!P(e)||F(e))&&(D(e)?B:q).test(Z(e))};var H=function(e,t){return null==e?void 0:e[t]};var Q=function(e,t){var n=H(e,t);return K(n)?n:void 0},X=Q(Object,"create");var J=function(){this.__data__=X?X(null):{},this.size=0};var $=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},ee="__lodash_hash_undefined__",te=Object.prototype.hasOwnProperty;var ne=function(e){var t=this.__data__;if(X){var n=t[e];return n===ee?void 0:n}return te.call(t,e)?t[e]:void 0},ae=Object.prototype.hasOwnProperty;var re=function(e){var t=this.__data__;return X?void 0!==t[e]:ae.call(t,e)},ge="__lodash_hash_undefined__";var ie=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=X&&void 0===t?ge:t,this};function oe(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var a=e[t];this.set(a[0],a[1])}}oe.prototype.clear=J,oe.prototype.delete=$,oe.prototype.get=ne,oe.prototype.has=re,oe.prototype.set=ie;var Ae=oe;var Ce=function(){this.__data__=[],this.size=0};var Ie=function(e,t){return e===t||e!=e&&t!=t};var se=function(e,t){for(var n=e.length;n--;)if(Ie(e[n][0],t))return n;return-1},ce=Array.prototype.splice;var ue=function(e){var t=this.__data__,n=se(t,e);return!(n<0||(n==t.length-1?t.pop():ce.call(t,n,1),--this.size,0))};var le=function(e){var t=this.__data__,n=se(t,e);return n<0?void 0:t[n][1]};var fe=function(e){return se(this.__data__,e)>-1};var he=function(e,t){var n=this.__data__,a=se(n,e);return a<0?(++this.size,n.push([e,t])):n[a][1]=t,this};function pe(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var a=e[t];this.set(a[0],a[1])}}pe.prototype.clear=Ce,pe.prototype.delete=ue,pe.prototype.get=le,pe.prototype.has=fe,pe.prototype.set=he;var de=pe,me=Q(d,"Map");var ye=function(){this.size=0,this.__data__={hash:new Ae,map:new(me||de),string:new Ae}};var be=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var ve=function(e,t){var n=e.__data__;return be(t)?n["string"==typeof t?"string":"hash"]:n.map};var xe=function(e){var t=ve(this,e).delete(e);return this.size-=t?1:0,t};var _e=function(e){return ve(this,e).get(e)};var we=function(e){return ve(this,e).has(e)};var Te=function(e,t){var n=ve(this,e),a=n.size;return n.set(e,t),this.size+=n.size==a?0:1,this};function ke(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var a=e[t];this.set(a[0],a[1])}}ke.prototype.clear=ye,ke.prototype.delete=xe,ke.prototype.get=_e,ke.prototype.has=we,ke.prototype.set=Te;var Oe=ke,Ne="Expected a function";function Me(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(Ne);var n=function(){var a=arguments,r=t?t.apply(this,a):a[0],g=n.cache;if(g.has(r))return g.get(r);var i=e.apply(this,a);return n.cache=g.set(r,i)||g,i};return n.cache=new(Me.Cache||Oe),n}Me.Cache=Oe;var Pe="__react_svg_text_measurement_id";var Ee=Me(function(e,t){try{var n=document.getElementById(Pe);if(!n){var a=document.createElementNS("http://www.w3.org/2000/svg","svg");a.style.width=0,a.style.height=0,a.style.position="absolute",a.style.top="-100%",a.style.left="-100%",(n=document.createElementNS("http://www.w3.org/2000/svg","text")).setAttribute("id",Pe),a.appendChild(n),document.body.appendChild(a)}return Object.assign(n.style,t),n.textContent=e,n.getComputedTextLength()}catch(e){return null}},function(e,t){return"".concat(e,"_").concat(JSON.stringify(t))}),Re=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=l(this,s(t).call(this,e))).state={wordsByLines:[]},n}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&&c(e,t)}(t,g["Component"]),function(e,t,n){t&&C(e.prototype,t),n&&C(e,n)}(t,[{key:"componentWillMount",value:function(){this.updateWordsByLines(this.props,!0)}},{key:"componentWillReceiveProps",value:function(e){var t=this.props.children!==e.children||this.props.style!==e.style;this.updateWordsByLines(e,t)}},{key:"updateWordsByLines",value:function(e,t){if(e.width||e.scaleToFit){if(t){var n=e.children?e.children.toString().split(/\s+/):[];this.wordsWithComputedWidth=n.map(function(t){return{word:t,width:Ee(t,e.style)}}),this.spaceWidth=Ee(" ",e.style)}var a=this.calculateWordsByLines(this.wordsWithComputedWidth,this.spaceWidth,e.width);this.setState({wordsByLines:a})}else this.updateWordsWithoutCalculate(e)}},{key:"updateWordsWithoutCalculate",value:function(e){var t=e.children?e.children.toString().split(/\s+/):[];this.setState({wordsByLines:[{words:t}]})}},{key:"calculateWordsByLines",value:function(e,t,n){var a=this.props.scaleToFit;return e.reduce(function(e,r){var g=r.word,i=r.width,o=e[e.length-1];if(o&&(null==n||a||o.width+i+t<n))o.words.push(g),o.width+=i+t;else{var A={words:[g],width:i};e.push(A)}return e},[])}},{key:"render",value:function(){var e,t=this.props,n=t.dx,a=t.dy,r=t.textAnchor,g=t.verticalAnchor,o=t.scaleToFit,C=t.angle,s=t.lineHeight,c=t.capHeight,l=t.innerRef,f=u(t,["dx","dy","textAnchor","verticalAnchor","scaleToFit","angle","lineHeight","capHeight","innerRef"]),h=this.state.wordsByLines,p=f.x,d=f.y;switch(g){case"start":e=A()("calc(".concat(c,")"));break;case"middle":e=A()("calc(".concat((h.length-1)/2," * -").concat(s," + (").concat(c," / 2))"));break;default:e=A()("calc(".concat(h.length-1," * -").concat(s,")"))}var m=[];if(o&&h.length){var y=h[0].width,b=this.props.width/y,v=b,x=p-b*p,_=d-v*d;m.push("matrix(".concat(b,", 0, 0, ").concat(v,", ").concat(x,", ").concat(_,")"))}return C&&m.push("rotate(".concat(C,", ").concat(p,", ").concat(d,")")),m.length&&(f.transform=m.join(" ")),i.a.createElement("svg",{ref:l,x:n,y:a,fontSize:f.fontSize,style:{overflow:"visible"}},i.a.createElement("text",I({},f,{textAnchor:r}),h.map(function(t,n){return i.a.createElement("tspan",{x:p,dy:0===n?e:s,key:n},t.words.join(" "))})))}}]),t}();Re.defaultProps={x:0,y:0,dx:0,dy:0,lineHeight:"1em",capHeight:"0.71em",scaleToFit:!1,textAnchor:"start",verticalAnchor:"end"},Re.propTypes={scaleToFit:r.a.bool,angle:r.a.number,textAnchor:r.a.oneOf(["start","middle","end","inherit"]),verticalAnchor:r.a.oneOf(["start","middle","end"]),style:r.a.object,innerRef:r.a.func,x:r.a.oneOfType([r.a.number,r.a.string]),y:r.a.oneOfType([r.a.number,r.a.string]),dx:r.a.oneOfType([r.a.number,r.a.string]),dy:r.a.oneOfType([r.a.number,r.a.string]),lineHeight:r.a.oneOfType([r.a.number,r.a.string]),capHeight:r.a.oneOfType([r.a.number,r.a.string])}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var n=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some(function(e,a){return e[0]===t&&(n=a,!0)}),n}return function(){function t(){this.__entries__=[]}var n={size:{configurable:!0}};return n.size.get=function(){return this.__entries__.length},t.prototype.get=function(t){var n=e(this.__entries__,t),a=this.__entries__[n];return a&&a[1]},t.prototype.set=function(t,n){var a=e(this.__entries__,t);~a?this.__entries__[a][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,a=e(n,t);~a&&n.splice(a,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,a=this.__entries__;n<a.length;n+=1){var r=a[n];e.call(t,r[1],r[0])}},Object.defineProperties(t.prototype,n),t}()}(),a="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,r=void 0!==e&&e.Math===Math?e:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),g="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(r):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)},i=2,o=["top","right","bottom","left","width","height","size","weight"],A="undefined"!=typeof MutationObserver,C=function(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,a=!1,r=0;function o(){n&&(n=!1,e()),a&&C()}function A(){g(o)}function C(){var e=Date.now();if(n){if(e-r<i)return;a=!0}else n=!0,a=!1,setTimeout(A,t);r=e}return C}(this.refresh.bind(this),20)};C.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},C.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},C.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},C.prototype.updateObservers_=function(){var e=this.observers_.filter(function(e){return e.gatherActive(),e.hasActive()});return e.forEach(function(e){return e.broadcastActive()}),e.length>0},C.prototype.connect_=function(){a&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),A?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},C.prototype.disconnect_=function(){a&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},C.prototype.onTransitionEnd_=function(e){var t=e.propertyName;void 0===t&&(t=""),o.some(function(e){return!!~t.indexOf(e)})&&this.refresh()},C.getInstance=function(){return this.instance_||(this.instance_=new C),this.instance_},C.instance_=null;var I=function(e,t){for(var n=0,a=Object.keys(t);n<a.length;n+=1){var r=a[n];Object.defineProperty(e,r,{value:t[r],enumerable:!1,writable:!1,configurable:!0})}return e},s=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||r},c=d(0,0,0,0);function u(e){return parseFloat(e)||0}function l(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return t.reduce(function(t,n){return t+u(e["border-"+n+"-width"])},0)}function f(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return c;var a=s(e).getComputedStyle(e),r=function(e){for(var t={},n=0,a=["top","right","bottom","left"];n<a.length;n+=1){var r=a[n],g=e["padding-"+r];t[r]=u(g)}return t}(a),g=r.left+r.right,i=r.top+r.bottom,o=u(a.width),A=u(a.height);if("border-box"===a.boxSizing&&(Math.round(o+g)!==t&&(o-=l(a,"left","right")+g),Math.round(A+i)!==n&&(A-=l(a,"top","bottom")+i)),!function(e){return e===s(e).document.documentElement}(e)){var C=Math.round(o+g)-t,I=Math.round(A+i)-n;1!==Math.abs(C)&&(o-=C),1!==Math.abs(I)&&(A-=I)}return d(r.left,r.top,o,A)}var h="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof s(e).SVGGraphicsElement}:function(e){return e instanceof s(e).SVGElement&&"function"==typeof e.getBBox};function p(e){return a?h(e)?function(e){var t=e.getBBox();return d(0,0,t.width,t.height)}(e):f(e):c}function d(e,t,n,a){return{x:e,y:t,width:n,height:a}}var m=function(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=d(0,0,0,0),this.target=e};m.prototype.isActive=function(){var e=p(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},m.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e};var y=function(e,t){var n=function(e){var t=e.x,n=e.y,a=e.width,r=e.height,g="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,i=Object.create(g.prototype);return I(i,{x:t,y:n,width:a,height:r,top:n,right:t+a,bottom:r+n,left:t}),i}(t);I(this,{target:e,contentRect:n})},b=function(e,t,a){if(this.activeObservations_=[],this.observations_=new n,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=a};b.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof s(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new m(e)),this.controller_.addObserver(this),this.controller_.refresh())}},b.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof s(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},b.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},b.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(t){t.isActive()&&e.activeObservations_.push(t)})},b.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map(function(e){return new y(e.target,e.broadcastRect())});this.callback_.call(e,t,e),this.clearActive()}},b.prototype.clearActive=function(){this.activeObservations_.splice(0)},b.prototype.hasActive=function(){return this.activeObservations_.length>0};var v="undefined"!=typeof WeakMap?new WeakMap:new n,x=function(e){if(!(this instanceof x))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var t=C.getInstance(),n=new b(e,t,this);v.set(this,n)};["observe","unobserve","disconnect"].forEach(function(e){x.prototype[e]=function(){return(t=v.get(this))[e].apply(t,arguments);var t}});var _=void 0!==r.ResizeObserver?r.ResizeObserver:x;t.a=_}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return Re});var a=n(0),r=n.n(a),g=n(1),i=n.n(g),o=n(3),A=n.n(o);function C(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function I(){return(I=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},g=Object.keys(e);for(a=0;a<g.length;a++)n=g[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var g=Object.getOwnPropertySymbols(e);for(a=0;a<g.length;a++)n=g[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function l(e,t){return!t||"object"!=typeof 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}var f="undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{},h="object"==typeof f&&f&&f.Object===Object&&f,p="object"==typeof self&&self&&self.Object===Object&&self,d=h||p||Function("return this")(),m=d.Symbol,y=Object.prototype,b=y.hasOwnProperty,v=y.toString,x=m?m.toStringTag:void 0;var _=function(e){var t=b.call(e,x),n=e[x];try{e[x]=void 0}catch(e){}var a=v.call(e);return t?e[x]=n:delete e[x],a},w=Object.prototype.toString;var T=function(e){return w.call(e)},k="[object Null]",O="[object Undefined]",N=m?m.toStringTag:void 0;var M=function(e){return null==e?void 0===e?O:k:N&&N in Object(e)?_(e):T(e)};var P=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},E="[object AsyncFunction]",R="[object Function]",S="[object GeneratorFunction]",j="[object Proxy]";var D=function(e){if(!P(e))return!1;var t=M(e);return t==R||t==S||t==E||t==j},L=d["__core-js_shared__"],z=function(){var e=/[^.]+$/.exec(L&&L.keys&&L.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();var F=function(e){return!!z&&z in e},W=Function.prototype.toString;var Z=function(e){if(null!=e){try{return W.call(e)}catch(e){}try{return e+""}catch(e){}}return""},q=/^\[object .+?Constructor\]$/,G=Function.prototype,U=Object.prototype,V=G.toString,Y=U.hasOwnProperty,B=RegExp("^"+V.call(Y).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var K=function(e){return!(!P(e)||F(e))&&(D(e)?B:q).test(Z(e))};var H=function(e,t){return null==e?void 0:e[t]};var Q=function(e,t){var n=H(e,t);return K(n)?n:void 0},X=Q(Object,"create");var J=function(){this.__data__=X?X(null):{},this.size=0};var $=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},ee="__lodash_hash_undefined__",te=Object.prototype.hasOwnProperty;var ne=function(e){var t=this.__data__;if(X){var n=t[e];return n===ee?void 0:n}return te.call(t,e)?t[e]:void 0},ae=Object.prototype.hasOwnProperty;var re=function(e){var t=this.__data__;return X?void 0!==t[e]:ae.call(t,e)},ge="__lodash_hash_undefined__";var ie=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=X&&void 0===t?ge:t,this};function oe(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var a=e[t];this.set(a[0],a[1])}}oe.prototype.clear=J,oe.prototype.delete=$,oe.prototype.get=ne,oe.prototype.has=re,oe.prototype.set=ie;var Ae=oe;var Ce=function(){this.__data__=[],this.size=0};var Ie=function(e,t){return e===t||e!=e&&t!=t};var se=function(e,t){for(var n=e.length;n--;)if(Ie(e[n][0],t))return n;return-1},ce=Array.prototype.splice;var ue=function(e){var t=this.__data__,n=se(t,e);return!(n<0||(n==t.length-1?t.pop():ce.call(t,n,1),--this.size,0))};var le=function(e){var t=this.__data__,n=se(t,e);return n<0?void 0:t[n][1]};var fe=function(e){return se(this.__data__,e)>-1};var he=function(e,t){var n=this.__data__,a=se(n,e);return a<0?(++this.size,n.push([e,t])):n[a][1]=t,this};function pe(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var a=e[t];this.set(a[0],a[1])}}pe.prototype.clear=Ce,pe.prototype.delete=ue,pe.prototype.get=le,pe.prototype.has=fe,pe.prototype.set=he;var de=pe,me=Q(d,"Map");var ye=function(){this.size=0,this.__data__={hash:new Ae,map:new(me||de),string:new Ae}};var be=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var ve=function(e,t){var n=e.__data__;return be(t)?n["string"==typeof t?"string":"hash"]:n.map};var xe=function(e){var t=ve(this,e).delete(e);return this.size-=t?1:0,t};var _e=function(e){return ve(this,e).get(e)};var we=function(e){return ve(this,e).has(e)};var Te=function(e,t){var n=ve(this,e),a=n.size;return n.set(e,t),this.size+=n.size==a?0:1,this};function ke(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var a=e[t];this.set(a[0],a[1])}}ke.prototype.clear=ye,ke.prototype.delete=xe,ke.prototype.get=_e,ke.prototype.has=we,ke.prototype.set=Te;var Oe=ke,Ne="Expected a function";function Me(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(Ne);var n=function(){var a=arguments,r=t?t.apply(this,a):a[0],g=n.cache;if(g.has(r))return g.get(r);var i=e.apply(this,a);return n.cache=g.set(r,i)||g,i};return n.cache=new(Me.Cache||Oe),n}Me.Cache=Oe;var Pe="__react_svg_text_measurement_id";var Ee=Me(function(e,t){try{var n=document.getElementById(Pe);if(!n){var a=document.createElementNS("http://www.w3.org/2000/svg","svg");a.style.width=0,a.style.height=0,a.style.position="absolute",a.style.top="-100%",a.style.left="-100%",(n=document.createElementNS("http://www.w3.org/2000/svg","text")).setAttribute("id",Pe),a.appendChild(n),document.body.appendChild(a)}return Object.assign(n.style,t),n.textContent=e,n.getComputedTextLength()}catch(e){return null}},function(e,t){return"".concat(e,"_").concat(JSON.stringify(t))}),Re=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=l(this,s(t).call(this,e))).state={wordsByLines:[]},n}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&&c(e,t)}(t,g["Component"]),function(e,t,n){t&&C(e.prototype,t),n&&C(e,n)}(t,[{key:"componentWillMount",value:function(){this.updateWordsByLines(this.props,!0)}},{key:"componentWillReceiveProps",value:function(e){var t=this.props.children!==e.children||this.props.style!==e.style;this.updateWordsByLines(e,t)}},{key:"updateWordsByLines",value:function(e,t){if(e.width||e.scaleToFit){if(t){var n=e.children?e.children.toString().split(/\s+/):[];this.wordsWithComputedWidth=n.map(function(t){return{word:t,width:Ee(t,e.style)}}),this.spaceWidth=Ee(" ",e.style)}var a=this.calculateWordsByLines(this.wordsWithComputedWidth,this.spaceWidth,e.width);this.setState({wordsByLines:a})}else this.updateWordsWithoutCalculate(e)}},{key:"updateWordsWithoutCalculate",value:function(e){var t=e.children?e.children.toString().split(/\s+/):[];this.setState({wordsByLines:[{words:t}]})}},{key:"calculateWordsByLines",value:function(e,t,n){var a=this.props.scaleToFit;return e.reduce(function(e,r){var g=r.word,i=r.width,o=e[e.length-1];if(o&&(null==n||a||o.width+i+t<n))o.words.push(g),o.width+=i+t;else{var A={words:[g],width:i};e.push(A)}return e},[])}},{key:"render",value:function(){var e,t=this.props,n=t.dx,a=t.dy,r=t.textAnchor,g=t.verticalAnchor,o=t.scaleToFit,C=t.angle,s=t.lineHeight,c=t.capHeight,l=t.innerRef,f=u(t,["dx","dy","textAnchor","verticalAnchor","scaleToFit","angle","lineHeight","capHeight","innerRef"]),h=this.state.wordsByLines,p=f.x,d=f.y;switch(g){case"start":e=A()("calc(".concat(c,")"));break;case"middle":e=A()("calc(".concat((h.length-1)/2," * -").concat(s," + (").concat(c," / 2))"));break;default:e=A()("calc(".concat(h.length-1," * -").concat(s,")"))}var m=[];if(o&&h.length){var y=h[0].width,b=this.props.width/y,v=b,x=p-b*p,_=d-v*d;m.push("matrix(".concat(b,", 0, 0, ").concat(v,", ").concat(x,", ").concat(_,")"))}return C&&m.push("rotate(".concat(C,", ").concat(p,", ").concat(d,")")),m.length&&(f.transform=m.join(" ")),i.a.createElement("svg",{ref:l,x:n,y:a,fontSize:f.fontSize,style:{overflow:"visible"}},i.a.createElement("text",I({},f,{textAnchor:r}),h.map(function(t,n){return i.a.createElement("tspan",{x:p,dy:0===n?e:s,key:n},t.words.join(" "))})))}}]),t}();Re.defaultProps={x:0,y:0,dx:0,dy:0,lineHeight:"1em",capHeight:"0.71em",scaleToFit:!1,textAnchor:"start",verticalAnchor:"end"},Re.propTypes={scaleToFit:r.a.bool,angle:r.a.number,textAnchor:r.a.oneOf(["start","middle","end","inherit"]),verticalAnchor:r.a.oneOf(["start","middle","end"]),style:r.a.object,innerRef:r.a.func,x:r.a.oneOfType([r.a.number,r.a.string]),y:r.a.oneOfType([r.a.number,r.a.string]),dx:r.a.oneOfType([r.a.number,r.a.string]),dy:r.a.oneOfType([r.a.number,r.a.string]),lineHeight:r.a.oneOfType([r.a.number,r.a.string]),capHeight:r.a.oneOfType([r.a.number,r.a.string])}}).call(this,n(4))},function(e,t){e.exports=ReactDOM},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return X});var a=n(0),r=n.n(a),g=n(7),i=n(1),o=n.n(i);function A(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function I(e,t,n){return t&&C(e.prototype,t),n&&C(e,n),e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function u(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&&f(e,t)}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},g=Object.keys(e);for(a=0;a<g.length;a++)n=g[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var g=Object.getOwnPropertySymbols(e);for(a=0;a<g.length;a++)n=g[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?p(e):t}r.a.func,r.a.oneOfType([r.a.number,r.a.string]),r.a.oneOfType([r.a.number,r.a.string]),r.a.oneOfType([r.a.number,r.a.string]),r.a.oneOfType([r.a.number,r.a.string]),r.a.string;var m=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},y="undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{},b="object"==typeof y&&y&&y.Object===Object&&y,v="object"==typeof self&&self&&self.Object===Object&&self,x=b||v||Function("return this")(),_=function(){return x.Date.now()},w=x.Symbol,T=Object.prototype,k=T.hasOwnProperty,O=T.toString,N=w?w.toStringTag:void 0;var M=function(e){var t=k.call(e,N),n=e[N];try{e[N]=void 0}catch(e){}var a=O.call(e);return t?e[N]=n:delete e[N],a},P=Object.prototype.toString;var E=function(e){return P.call(e)},R="[object Null]",S="[object Undefined]",j=w?w.toStringTag:void 0;var D=function(e){return null==e?void 0===e?S:R:j&&j in Object(e)?M(e):E(e)};var L=function(e){return null!=e&&"object"==typeof e},z="[object Symbol]";var F=function(e){return"symbol"==typeof e||L(e)&&D(e)==z},W=NaN,Z=/^\s+|\s+$/g,q=/^[-+]0x[0-9a-f]+$/i,G=/^0b[01]+$/i,U=/^0o[0-7]+$/i,V=parseInt;var Y=function(e){if("number"==typeof e)return e;if(F(e))return W;if(m(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=m(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(Z,"");var n=G.test(e);return n||U.test(e)?V(e.slice(2),n?2:8):q.test(e)?W:+e},B="Expected a function",K=Math.max,H=Math.min;var Q=function(e,t,n){var a,r,g,i,o,A,C=0,I=!1,s=!1,c=!0;if("function"!=typeof e)throw new TypeError(B);function u(t){var n=a,g=r;return a=r=void 0,C=t,i=e.apply(g,n)}function l(e){var n=e-A;return void 0===A||n>=t||n<0||s&&e-C>=g}function f(){var e=_();if(l(e))return h(e);o=setTimeout(f,function(e){var n=t-(e-A);return s?H(n,g-(e-C)):n}(e))}function h(e){return o=void 0,c&&a?u(e):(a=r=void 0,i)}function p(){var e=_(),n=l(e);if(a=arguments,r=this,A=e,n){if(void 0===o)return function(e){return C=e,o=setTimeout(f,t),I?u(e):i}(A);if(s)return o=setTimeout(f,t),u(A)}return void 0===o&&(o=setTimeout(f,t)),i}return t=Y(t)||0,m(n)&&(I=!!n.leading,g=(s="maxWait"in n)?K(Y(n.maxWait)||0,t):g,c="trailing"in n?!!n.trailing:c),p.cancel=function(){void 0!==o&&clearTimeout(o),C=0,a=A=r=o=void 0},p.flush=function(){return void 0===o?i:h(_())},p},X=function(e){function t(e){var n;return A(this,t),(n=d(this,l(t).call(this,e))).state={width:0,height:0,top:0,left:0},n.resize=Q(n.resize.bind(p(p(n))),e.debounceTime),n.setTarget=n.setTarget.bind(p(p(n))),n.animationFrameID=null,n}return u(t,o.a.Component),I(t,[{key:"componentDidMount",value:function(){var e=this;this.ro=new g.a(function(t,n){var a=!0,r=!1,g=void 0;try{for(var i,o=function(){var t=i.value.contentRect,n=t.left,a=t.top,r=t.width,g=t.height;e.animationFrameID=window.requestAnimationFrame(function(){e.resize({width:r,height:g,top:a,left:n})})},A=t[Symbol.iterator]();!(a=(i=A.next()).done);a=!0)o()}catch(e){r=!0,g=e}finally{try{a||null==A.return||A.return()}finally{if(r)throw g}}}),this.ro.observe(this.target)}},{key:"componentWillUnmount",value:function(){window.cancelAnimationFrame(this.animationFrameID),this.ro.disconnect()}},{key:"resize",value:function(e){var t=e.width,n=e.height,a=e.top,r=e.left;this.setState(function(){return{width:t,height:n,top:a,left:r}})}},{key:"setTarget",value:function(e){this.target=e}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.children,a=(e.debounceTime,h(e,["className","children","debounceTime"]));return o.a.createElement("div",c({style:{width:"100%",height:"100%"},ref:this.setTarget,className:t},a),n(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){s(e,t,n[t])})}return e}({},this.state,{ref:this.target,resize:this.resize})))}}]),t}();X.defaultProps={debounceTime:300},X.propTypes={className:r.a.string,children:r.a.func.isRequired,debounceTime:r.a.number}}).call(this,n(4))},function(e,t,n){e.exports=n(29)},function(e,t,n){"use strict";var a=n(13);function r(){}function g(){}g.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,g,i){if(i!==a){var o=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:g,resetWarningCache:r};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t){function n(e,t,n){e instanceof RegExp&&(e=a(e,n)),t instanceof RegExp&&(t=a(t,n));var g=r(e,t,n);return g&&{start:g[0],end:g[1],pre:n.slice(0,g[0]),body:n.slice(g[0]+e.length,g[1]),post:n.slice(g[1]+t.length)}}function a(e,t){var n=t.match(e);return n?n[0]:null}function r(e,t,n){var a,r,g,i,o,A=n.indexOf(e),C=n.indexOf(t,A+1),I=A;if(A>=0&&C>0){for(a=[],g=n.length;I>=0&&!o;)I==A?(a.push(I),A=n.indexOf(e,I+1)):1==a.length?o=[a.pop(),C]:((r=a.pop())<g&&(g=r,i=C),C=n.indexOf(t,I+1)),I=A<C&&A>=0?A:C;a.length&&(o=[g,i])}return o}e.exports=n,n.range=r},function(e,t,n){var a=n(16);function r(e,t,n){var g=e;return function(e,t){var n=[],r="string"==typeof t?new RegExp("\\b("+t+")\\("):t;do{var g=r.exec(e);if(!g)return n;if(void 0===g[1])throw new Error("Missing the first couple of parenthesis to get the function identifier in "+t);var i=g[1],o=g.index,A=a("(",")",e.substring(o));if(!A||A.start!==g[0].length-1)throw new SyntaxError(i+"(): missing closing ')' in the value '"+e+"'");n.push({matches:A,functionIdentifier:i}),e=A.post}while(r.test(e));return n}(e,t).reduce(function(e,a){return e.replace(a.functionIdentifier+"("+a.matches.body+")",function(e,t,n,a,g){return n(r(e,g,n),t,a)}(a.matches.body,a.functionIdentifier,n,g,t))},e)}e.exports=r},function(e,t){function n(e,t,n){e instanceof RegExp&&(e=a(e,n)),t instanceof RegExp&&(t=a(t,n));var g=r(e,t,n);return g&&{start:g[0],end:g[1],pre:n.slice(0,g[0]),body:n.slice(g[0]+e.length,g[1]),post:n.slice(g[1]+t.length)}}function a(e,t){var n=t.match(e);return n?n[0]:null}function r(e,t,n){var a,r,g,i,o,A=n.indexOf(e),C=n.indexOf(t,A+1),I=A;if(A>=0&&C>0){for(a=[],g=n.length;I>=0&&!o;)I==A?(a.push(I),A=n.indexOf(e,I+1)):1==a.length?o=[a.pop(),C]:((r=a.pop())<g&&(g=r,i=C),C=n.indexOf(t,I+1)),I=A<C&&A>=0?A:C;a.length&&(o=[g,i])}return o}e.exports=n,n.range=r},function(e,t,n){var a=n(18);a.prototype.formulaEval=function(){"use strict";for(var e,t,n,a=[],r=this.value,g=0;g<r.length;g++)1===r[g].type||3===r[g].type?a.push({value:3===r[g].type?r[g].show:r[g].value,type:1}):13===r[g].type?a.push({value:r[g].show,type:1}):0===r[g].type?a[a.length-1]={value:r[g].show+("-"!=r[g].show?"(":"")+a[a.length-1].value+("-"!=r[g].show?")":""),type:0}:7===r[g].type?a[a.length-1]={value:(1!=a[a.length-1].type?"(":"")+a[a.length-1].value+(1!=a[a.length-1].type?")":"")+r[g].show,type:7}:10===r[g].type?(e=a.pop(),t=a.pop(),"P"===r[g].show||"C"===r[g].show?a.push({value:"<sup>"+t.value+"</sup>"+r[g].show+"<sub>"+e.value+"</sub>",type:10}):a.push({value:(1!=t.type?"(":"")+t.value+(1!=t.type?")":"")+"<sup>"+e.value+"</sup>",type:1})):2===r[g].type||9===r[g].type?(e=a.pop(),t=a.pop(),a.push({value:(1!=t.type?"(":"")+t.value+(1!=t.type?")":"")+r[g].show+(1!=e.type?"(":"")+e.value+(1!=e.type?")":""),type:r[g].type})):12===r[g].type&&(e=a.pop(),t=a.pop(),n=a.pop(),a.push({value:r[g].show+"("+n.value+","+t.value+","+e.value+")",type:12}));return a[0].value},e.exports=a},function(e,t,n){var a=n(19);a.prototype.postfixEval=function(e){"use strict";(e=e||{}).PI=Math.PI,e.E=Math.E;for(var t,n,r,g=[],i=this.value,o=void 0!==e.n,A=0;A<i.length;A++)1===i[A].type?g.push({value:i[A].value,type:1}):3===i[A].type?g.push({value:e[i[A].value],type:1}):0===i[A].type?void 0===g[g.length-1].type?g[g.length-1].value.push(i[A]):g[g.length-1].value=i[A].value(g[g.length-1].value):7===i[A].type?void 0===g[g.length-1].type?g[g.length-1].value.push(i[A]):g[g.length-1].value=i[A].value(g[g.length-1].value):8===i[A].type?(t=g.pop(),n=g.pop(),g.push({type:1,value:i[A].value(n.value,t.value)})):10===i[A].type?(t=g.pop(),void 0===(n=g.pop()).type?(n.value=n.concat(t),n.value.push(i[A]),g.push(n)):void 0===t.type?(t.unshift(n),t.push(i[A]),g.push(t)):g.push({type:1,value:i[A].value(n.value,t.value)})):2===i[A].type||9===i[A].type?(t=g.pop(),void 0===(n=g.pop()).type?(console.log(n),(n=n.concat(t)).push(i[A]),g.push(n)):void 0===t.type?(t.unshift(n),t.push(i[A]),g.push(t)):g.push({type:1,value:i[A].value(n.value,t.value)})):12===i[A].type?(void 0!==(t=g.pop()).type&&(t=[t]),n=g.pop(),r=g.pop(),g.push({type:1,value:i[A].value(r.value,n.value,new a(t))})):13===i[A].type&&(o?g.push({value:e[i[A].value],type:3}):g.push([i[A]]));if(g.length>1)throw new a.exception("Uncaught Syntax error");return g[0].value>1e15?"Infinity":parseFloat(g[0].value.toFixed(15))},a.eval=function(e,t,n){return void 0===t?this.lex(e).toPostfix().postfixEval():void 0===n?void 0!==t.length?this.lex(e,t).toPostfix().postfixEval():this.lex(e).toPostfix().postfixEval(t):this.lex(e,t).toPostfix().postfixEval(n)},e.exports=a},function(e,t,n){var a=n(20);a.prototype.toPostfix=function(){"use strict";for(var e,t,n,r,g,i=[],o=[{value:"(",type:4,pre:0}],A=this.value,C=1;C<A.length;C++)if(1===A[C].type||3===A[C].type||13===A[C].type)1===A[C].type&&(A[C].value=Number(A[C].value)),i.push(A[C]);else if(4===A[C].type)o.push(A[C]);else if(5===A[C].type)for(;4!==(t=o.pop()).type;)i.push(t);else if(11===A[C].type){for(;4!==(t=o.pop()).type;)i.push(t);o.push(t)}else{r=(e=A[C]).pre,n=(g=o[o.length-1]).pre;var I="Math.pow"==g.value&&"Math.pow"==e.value;if(r>n)o.push(e);else{for(;n>=r&&!I||I&&r<n;)t=o.pop(),g=o[o.length-1],i.push(t),n=g.pre,I="Math.pow"==e.value&&"Math.pow"==g.value;o.push(e)}}return new a(i)},e.exports=a},function(e,t,n){var a=n(21);function r(e,t){for(var n=0;n<e.length;n++)e[n]+=t;return e}var g=["sin","cos","tan","pi","(",")","P","C","asin","acos","atan","7","8","9","int","cosh","acosh","ln","^","root","4","5","6","/","!","tanh","atanh","Mod","1","2","3","*","sinh","asinh","e","log","0",".","+","-",",","Sigma","n","Pi","pow"],o=["sin","cos","tan","&pi;","(",")","P","C","asin","acos","atan","7","8","9","Int","cosh","acosh"," ln","^","root","4","5","6","&divide;","!","tanh","atanh"," Mod ","1","2","3","&times;","sinh","asinh","e"," log","0",".","+","-",",","&Sigma;","n","&Pi;","pow"],A=[a.math.sin,a.math.cos,a.math.tan,"PI","(",")",a.math.P,a.math.C,a.math.asin,a.math.acos,a.math.atan,"7","8","9",Math.floor,a.math.cosh,a.math.acosh,Math.log,Math.pow,Math.sqrt,"4","5","6",a.math.div,a.math.fact,a.math.tanh,a.math.atanh,a.math.mod,"1","2","3",a.math.mul,a.math.sinh,a.math.asinh,"E",a.math.log,"0",".",a.math.add,a.math.sub,",",a.math.sigma,"n",a.math.Pi,Math.pow],C={0:11,1:0,2:3,3:0,4:0,5:0,6:0,7:11,8:11,9:1,10:10,11:0,12:11,13:0},I=[0,0,0,3,4,5,10,10,0,0,0,1,1,1,0,0,0,0,10,0,1,1,1,2,7,0,0,2,1,1,1,2,0,0,3,0,1,6,9,9,11,12,13,12,8],s={0:!0,1:!0,3:!0,4:!0,6:!0,8:!0,9:!0,12:!0,13:!0},c={0:!0,1:!0,2:!0,3:!0,4:!0,5:!0,6:!0,7:!0,8:!0,9:!0,10:!0,11:!0,12:!0,13:!0},u={0:!0,3:!0,4:!0,8:!0,12:!0,13:!0},l={},f={0:!0,1:!0,3:!0,4:!0,6:!0,8:!0,12:!0,13:!0},h={1:!0},p=[[],["1","2","3","7","8","9","4","5","6","+","-","*","/","(",")","^","!","P","C","e","0",".",",","n"],["pi","ln","Pi"],["sin","cos","tan","Del","int","Mod","log","pow"],["asin","acos","atan","cosh","root","tanh","sinh"],["acosh","atanh","asinh","Sigma"]];function d(e,t,n,a){for(var r=0;r<a;r++)if(e[n+r]!==t[r])return!1;return!0}a.addToken=function(e){for(i=0;i<e.length;i++){x=e[i].token.length;var t=-1;if(x<p.length)for(y=0;y<p[x].length;y++)if(e[i].token===p[x][y]){t=g.indexOf(p[x][y]);break}-1===t?(g.push(e[i].token),I.push(e[i].type),p.length<=e[i].token.length&&(p[e[i].token.length]=[]),p[e[i].token.length].push(e[i].token),A.push(e[i].value),o.push(e[i].show)):(g[t]=e[i].token,I[t]=e[i].type,A[t]=e[i].value,o[t]=e[i].show)}},a.lex=function(e,t){"use strict";var n,i,m,y,b=[{type:4,value:"(",show:"(",pre:0}],v=[],x=e,_=0,w=s,T=0,k=l,O="";void 0!==t&&a.addToken(t);var N={};for(i=0;i<x.length;i++)if(" "!=x[i]){n="";e:for(m=x.length-i>p.length-2?p.length-1:x.length-i;m>0;m--)for(y=0;y<p[m].length;y++)if(d(x,p[m][y],i,m)){n=p[m][y];break e}if(i+=n.length-1,""===n)throw new a.exception("Can't understand after "+x.slice(i));var M=g.indexOf(n),P=n,E=I[M],R=A[M],S=C[E],j=o[M],D=b[b.length-1];for(L=v.length;L--;)if(0===v[L]&&-1!==[0,2,3,5,9,11,12,13].indexOf(E)){if(!0!==w[E])throw new a.exception(n+" is not allowed after "+O);b.push({value:")",type:5,pre:0,show:")"}),w=c,k=f,r(v,-1).pop()}if(!0!==w[E])throw new a.exception(n+" is not allowed after "+O);if(!0===k[E]&&(E=2,R=a.math.mul,j="&times;",S=3,i-=n.length),N={value:R,type:E,pre:S,show:j},0===E)w=s,k=l,r(v,2).push(2),b.push(N),b.push({value:"(",type:4,pre:0,show:"("});else if(1===E)1===D.type?(D.value+=R,r(v,1)):b.push(N),w=c,k=u;else if(2===E)w=s,k=l,r(v,2),b.push(N);else if(3===E)b.push(N),w=c,k=f;else if(4===E)_+=v.length,v=[],T++,w=s,k=l,b.push(N);else if(5===E){if(!T)throw new a.exception("Closing parenthesis are more than opening one, wait What!!!");for(;_--;)b.push({value:")",type:5,pre:0,show:")"});_=0,T--,w=c,k=f,b.push(N)}else if(6===E){if(D.hasDec)throw new a.exception("Two decimals are not allowed in one number");1!==D.type&&(D={value:0,type:1,pre:0},b.push(D),r(v,-1)),w=h,r(v,1),k=l,D.value+=R,D.hasDec=!0}else 7===E&&(w=c,k=f,r(v,1),b.push(N));8===E?(w=s,k=l,r(v,4).push(4),b.push(N),b.push({value:"(",type:4,pre:0,show:"("})):9===E?(9===D.type?D.value===a.math.add?(D.value=R,D.show=j,r(v,1)):D.value===a.math.sub&&"-"===j&&(D.value=a.math.add,D.show="+",r(v,1)):5!==D.type&&7!==D.type&&1!==D.type&&3!==D.type&&13!==D.type?"-"===P&&(w=s,k=l,r(v,2).push(2),b.push({value:a.math.changeSign,type:0,pre:21,show:"-"}),b.push({value:"(",type:4,pre:0,show:"("})):(b.push(N),r(v,2)),w=s,k=l):10===E?(w=s,k=l,r(v,2),b.push(N)):11===E?(w=s,k=l,b.push(N)):12===E?(w=s,k=l,r(v,6).push(6),b.push(N),b.push({value:"(",type:4,pre:0})):13===E&&(w=c,k=f,b.push(N)),r(v,-1),O=n}for(var L=v.length;L--;)0===v[L]&&(b.push({value:")",show:")",type:5,pre:3}),r(v,-1).pop());if(!0!==w[5])throw new a.exception("complete the expression");for(;T--;)b.push({value:")",show:")",type:5,pre:3});return b.push({type:5,value:")",show:")",pre:0}),new a(b)},e.exports=a},function(e,t){var n=function(e){this.value=e};n.math={isDegree:!0,acos:function(e){return n.math.isDegree?180/Math.PI*Math.acos(e):Math.acos(e)},add:function(e,t){return e+t},asin:function(e){return n.math.isDegree?180/Math.PI*Math.asin(e):Math.asin(e)},atan:function(e){return n.math.isDegree?180/Math.PI*Math.atan(e):Math.atan(e)},acosh:function(e){return Math.log(e+Math.sqrt(e*e-1))},asinh:function(e){return Math.log(e+Math.sqrt(e*e+1))},atanh:function(e){return Math.log((1+e)/(1-e))},C:function(e,t){var a=1,r=e-t,g=t;g<r&&(g=r,r=t);for(var i=g+1;i<=e;i++)a*=i;return a/n.math.fact(r)},changeSign:function(e){return-e},cos:function(e){return n.math.isDegree&&(e=n.math.toRadian(e)),Math.cos(e)},cosh:function(e){return(Math.pow(Math.E,e)+Math.pow(Math.E,-1*e))/2},div:function(e,t){return e/t},fact:function(e){if(e%1!=0)return"NAN";for(var t=1,n=2;n<=e;n++)t*=n;return t},inverse:function(e){return 1/e},log:function(e){return Math.log(e)/Math.log(10)},mod:function(e,t){return e%t},mul:function(e,t){return e*t},P:function(e,t){for(var n=1,a=Math.floor(e)-Math.floor(t)+1;a<=Math.floor(e);a++)n*=a;return n},Pi:function(e,t,n){for(var a=1,r=e;r<=t;r++)a*=Number(n.postfixEval({n:r}));return a},pow10x:function(e){for(var t=1;e--;)t*=10;return t},sigma:function(e,t,n){for(var a=0,r=e;r<=t;r++)a+=Number(n.postfixEval({n:r}));return a},sin:function(e){return n.math.isDegree&&(e=n.math.toRadian(e)),Math.sin(e)},sinh:function(e){return(Math.pow(Math.E,e)-Math.pow(Math.E,-1*e))/2},sub:function(e,t){return e-t},tan:function(e){return n.math.isDegree&&(e=n.math.toRadian(e)),Math.tan(e)},tanh:function(e){return n.sinha(e)/n.cosha(e)},toRadian:function(e){return e*Math.PI/180}},n.exception=function(e){this.message=e},e.exports=n},function(e,t,n){var a=n(23);"string"==typeof a&&(a=[[e.i,a,""]]);var r={transform:void 0};n(27)(a,r);a.locals&&(e.exports=a.locals)},function(e,t,n){(t=e.exports=n(5)(!1)).i(n(24),""),t.i(n(25),""),t.i(n(26),""),t.push([e.i,".ReactTable .rt-td{display:flex;align-items:center}@media (min-width:640px){.ReactTable .rt-td:first-child{position:-webkit-sticky!important;position:sticky!important;top:0;left:0;z-index:1;background-color:#fff}}@media (min-width:640px){.ReactTable .rt-tr.-odd .rt-td:first-child{background-color:#f5f5f5}}@media (min-width:640px){.ReactTable .rt-th:first-child{position:-webkit-sticky!important;position:sticky!important;top:0;left:0;z-index:1;background-color:#fff}}.dv-key{margin-bottom:1rem;padding:1rem;width:32rem;border:1px solid #d4d4d4;background-color:#fff}.dv-key__item{display:flex;align-items:center;padding-bottom:.5rem}.dv-key__item svg{flex-shrink:0;margin-right:.5rem}",""])},function(e,t,n){(e.exports=n(5)(!1)).push([e.i,".dv-btn{font-size:14px;text-transform:none;font-weight:400;letter-spacing:normal;padding:1rem 2rem;background-color:#fff;border:none;border-top:1px solid #333;border-bottom:1px solid #333;border-right:1px solid #333}.dv-btn:first-child{border-left:1px solid #333}.dv-btn:hover{cursor:pointer}.dv-btn.dv-btn-active{background-color:#333;color:#fff}.dv-btn-group,.dv-checkbox-container{display:flex}.dv-checkbox-container__title{font-size:.875rem;font-weight:700;padding-bottom:.5rem}.dv-checkbox-container-vertical{flex-direction:column}.dv-checkbox-container-horizontal{flex-direction:row}.dv-checkbox-container-horizontal div{padding-right:1rem}.dv-checkbox{cursor:pointer}.dv-checkbox input{-webkit-appearance:checkbox;position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0;visibility:visible;white-space:nowrap}.dv-checkbox input:checked+.dv-checkbox-label:before{background-color:#333;border-color:#333}.dv-checkbox input:checked+.dv-checkbox-label:after{opacity:1;-webkit-transform:scale(1) rotate(-45deg);transform:scale(1) rotate(-45deg)}.dv-checkbox-label{font-size:.875rem;display:flex;align-items:center;cursor:pointer;position:relative;margin:0;padding:.5rem 0 .5rem 1.5rem;min-height:1rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.dv-checkbox-label:before{box-sizing:border-box;content:\"\";position:absolute;left:0;top:calc(50% - 8px);height:18px;width:18px;border:2px solid #333;background-color:transparent}.dv-checkbox-label:after{box-sizing:border-box;content:\"\";width:9px;height:5px;background:none;border-left:2px solid #fff;border-bottom:2px solid #fff;color:#fff;-webkit-transform:scale(0) rotate(-45deg);transform:scale(0) rotate(-45deg);position:absolute;left:5px;top:calc(50% - 2px)}.dv-search{width:16rem;padding:.5rem .5rem .5rem 2rem;margin:1rem 0;font-size:1rem;color:#111;background-color:#fff;background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjxzdmcgaGVpZ2h0PSIzMnB4IiB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCAzMiAzMiIgd2lkdGg9IjMycHgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj48dGl0bGUvPjxkZXNjLz48ZGVmcy8+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSI+PGcgZmlsbD0iIzkyOTI5MiIgaWQ9Imljb24tMTExLXNlYXJjaCI+PHBhdGggZD0iTTE5LjQyNzExNjQsMjEuNDI3MTE2NCBDMTguMDM3MjQ5NSwyMi40MTc0ODAzIDE2LjMzNjY1MjIsMjMgMTQuNSwyMyBDOS44MDU1NzkzOSwyMyA2LDE5LjE5NDQyMDYgNiwxNC41IEM2LDkuODA1NTc5MzkgOS44MDU1NzkzOSw2IDE0LjUsNiBDMTkuMTk0NDIwNiw2IDIzLDkuODA1NTc5MzkgMjMsMTQuNSBDMjMsMTYuMzM2NjUyMiAyMi40MTc0ODAzLDE4LjAzNzI0OTUgMjEuNDI3MTE2NCwxOS40MjcxMTY0IEwyNy4wMTE5MTc2LDI1LjAxMTkxNzYgQzI3LjU2MjExODYsMjUuNTYyMTE4NiAyNy41NTc1MzEzLDI2LjQ0MjQ2ODcgMjcuMDExNzE4NSwyNi45ODgyODE1IEwyNi45ODgyODE1LDI3LjAxMTcxODUgQzI2LjQ0Mzg2NDgsMjcuNTU2MTM1MiAyNS41NTc2MjA0LDI3LjU1NzYyMDQgMjUuMDExOTE3NiwyNy4wMTE5MTc2IEwxOS40MjcxMTY0LDIxLjQyNzExNjQgTDE5LjQyNzExNjQsMjEuNDI3MTE2NCBaIE0xNC41LDIxIEMxOC4wODk4NTExLDIxIDIxLDE4LjA4OTg1MTEgMjEsMTQuNSBDMjEsMTAuOTEwMTQ4OSAxOC4wODk4NTExLDggMTQuNSw4IEMxMC45MTAxNDg5LDggOCwxMC45MTAxNDg5IDgsMTQuNSBDOCwxOC4wODk4NTExIDEwLjkxMDE0ODksMjEgMTQuNSwyMSBMMTQuNSwyMSBaIiBpZD0ic2VhcmNoIi8+PC9nPjwvZz48L3N2Zz4=);background-size:1.5rem;background-repeat:no-repeat;background-position-y:center;background-position-x:.25rem;outline:0;border:1px solid #d4d4d4}.dv-select{background-color:#fff;border:1px solid #ddd;border-radius:0;padding:.5rem;margin:.5rem 0;padding-right:2rem;font-size:14px;-webkit-appearance:none;-moz-appearance:none;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' width='20' fill='%23CCC' viewBox='0 0 20 20'%3E%3Cpath d='M4.516 7.548c.436-.446 1.043-.481 1.576 0L10 11.295l3.908-3.747c.533-.481 1.141-.446 1.574 0 .436.445.408 1.197 0 1.615-.406.418-4.695 4.502-4.695 4.502a1.095 1.095 0 0 1-1.576 0S4.924 9.581 4.516 9.163s-.436-1.17 0-1.615z'/%3E%3C/svg%3E\");background-position:top 50% right .5rem;background-origin:padding-box;background-repeat:no-repeat}.dv-range-slider{width:100%;padding-bottom:1rem;margin-bottom:1rem}.dv-range-slider__range{-webkit-appearance:none;box-sizing:border-box;width:100%;height:5px;border-radius:10px;background:#e3e3e3;outline:none;padding:0;margin:0}.dv-range-slider__range::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:inset 0 0 0 6px #2dd1ac;cursor:pointer}.dv-range-slider__range::-moz-range-thumb{width:16px;height:16px;border:0;border-radius:50%;background:#fff;box-shadow:inset 0 0 0 6px #2dd1ac;cursor:pointer}.dv-range-slider__range::-moz-range-progress{background-color:#2dd1ac}.dv-range-slider__range::-ms-fill-lower{background-color:#2dd1ac}::-moz-range-track{background:#e3e3e3;border:0}input::-moz-focus-inner,input::-moz-focus-outer{border:0}.dv-range-slider__label-container{display:flex;justify-content:space-between;align-items:center;padding-bottom:.5rem}.dv-range-slider__label{font-size:14px;color:#333}.dv-range-slider__value{font-size:14px;color:#888}.dv-toggle-container{display:flex;align-items:center}.dv-toggle{padding-right:1rem}.dv-toggle__input{display:none}.dv-toggle__input+.dv-toggle__button{display:block;position:relative;width:4rem;height:2rem;padding:3px;background:#d5d5d5;outline:0;border-radius:1rem;transition:all .4s ease;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.dv-toggle__input+.dv-toggle__button:after,.dv-toggle__input+.dv-toggle__button:before{position:relative;display:block;content:\"\";width:50%;height:100%}.dv-toggle__input+.dv-toggle__button:after{left:0;border-radius:100%;background:#fff;transition:all .2s ease}.dv-toggle__input+.dv-toggle__button:before{display:none}.dv-toggle__input:checked+.dv-toggle__button{background:#d5d5d5}.dv-toggle__input:checked+.dv-toggle__button:after{left:50%}.dv-toggle__label{font-size:14px}\n.ReactTable{position:relative;display:flex;flex-direction:column;border:1px solid rgba(0,0,0,.1)}.ReactTable *{box-sizing:border-box}.ReactTable .rt-table{flex:auto 1;display:flex;flex-direction:column;align-items:stretch;width:100%;border-collapse:collapse;overflow:auto}.ReactTable .rt-thead{flex:1 0 auto;display:flex;flex-direction:column;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ReactTable .rt-thead.-headerGroups{background:rgba(0,0,0,.03)}.ReactTable .rt-thead.-filters,.ReactTable .rt-thead.-headerGroups{border-bottom:1px solid rgba(0,0,0,.05)}.ReactTable .rt-thead.-filters input,.ReactTable .rt-thead.-filters select{border:1px solid rgba(0,0,0,.1);background:#fff;padding:5px 7px;font-size:inherit;border-radius:3px;font-weight:400;outline:none}.ReactTable .rt-thead.-filters .rt-th{border-right:1px solid rgba(0,0,0,.02)}.ReactTable .rt-thead.-header{box-shadow:0 2px 15px 0 rgba(0,0,0,.15)}.ReactTable .rt-thead .rt-tr{text-align:center}.ReactTable .rt-thead .rt-td,.ReactTable .rt-thead .rt-th{padding:5px;line-height:normal;position:relative;border-right:1px solid rgba(0,0,0,.05);transition:box-shadow .3s cubic-bezier(.175,.885,.32,1.275);box-shadow:inset 0 0 0 0 transparent}.ReactTable .rt-thead .rt-td.-sort-asc,.ReactTable .rt-thead .rt-th.-sort-asc{box-shadow:inset 0 3px 0 0 rgba(0,0,0,.6)}.ReactTable .rt-thead .rt-td.-sort-desc,.ReactTable .rt-thead .rt-th.-sort-desc{box-shadow:inset 0 -3px 0 0 rgba(0,0,0,.6)}.ReactTable .rt-thead .rt-td.-cursor-pointer,.ReactTable .rt-thead .rt-th.-cursor-pointer{cursor:pointer}.ReactTable .rt-thead .rt-td:last-child,.ReactTable .rt-thead .rt-th:last-child{border-right:0}.ReactTable .rt-thead .rt-th:focus{outline:none}.ReactTable .rt-thead .rt-resizable-header{overflow:visible}.ReactTable .rt-thead .rt-resizable-header:last-child{overflow:hidden}.ReactTable .rt-thead .rt-resizable-header-content{overflow:hidden;text-overflow:ellipsis}.ReactTable .rt-thead .rt-header-pivot{border-right-color:#f7f7f7}.ReactTable .rt-thead .rt-header-pivot:after,.ReactTable .rt-thead .rt-header-pivot:before{left:100%;top:50%;border:solid transparent;content:\" \";height:0;width:0;position:absolute;pointer-events:none}.ReactTable .rt-thead .rt-header-pivot:after{border-color:hsla(0,0%,100%,0);border-left-color:#fff;border-width:8px;margin-top:-8px}.ReactTable .rt-thead .rt-header-pivot:before{border-color:hsla(0,0%,40%,0);border-left-color:#f7f7f7;border-width:10px;margin-top:-10px}.ReactTable .rt-tbody{flex:99999 1 auto;display:flex;flex-direction:column;overflow:auto}.ReactTable .rt-tbody .rt-tr-group{border-bottom:1px solid rgba(0,0,0,.05)}.ReactTable .rt-tbody .rt-tr-group:last-child{border-bottom:0}.ReactTable .rt-tbody .rt-td{border-right:1px solid rgba(0,0,0,.02)}.ReactTable .rt-tbody .rt-td:last-child{border-right:0}.ReactTable .rt-tbody .rt-expandable{cursor:pointer;text-overflow:clip}.ReactTable .rt-tr-group{flex:1 0 auto;display:flex;flex-direction:column;align-items:stretch}.ReactTable .rt-tr{flex:1 0 auto;display:inline-flex}.ReactTable .rt-td,.ReactTable .rt-th{flex:1 0 0;white-space:nowrap;text-overflow:ellipsis;padding:7px 5px;overflow:hidden;transition:.3s ease;transition-property:width,min-width,padding,opacity}.ReactTable .rt-td.-hidden,.ReactTable .rt-th.-hidden{width:0!important;min-width:0!important;padding:0!important;border:0!important;opacity:0!important}.ReactTable .rt-expander{display:inline-block;position:relative;margin:0;color:transparent;margin:0 10px}.ReactTable .rt-expander:after{content:\"\";position:absolute;width:0;height:0;top:50%;left:50%;-webkit-transform:translate(-50%,-50%) rotate(-90deg);transform:translate(-50%,-50%) rotate(-90deg);border-left:5.04px solid transparent;border-right:5.04px solid transparent;border-top:7px solid rgba(0,0,0,.8);transition:all .3s cubic-bezier(.175,.885,.32,1.275);cursor:pointer}.ReactTable .rt-expander.-open:after{-webkit-transform:translate(-50%,-50%) rotate(0);transform:translate(-50%,-50%) rotate(0)}.ReactTable .rt-resizer{display:inline-block;position:absolute;width:36px;top:0;bottom:0;right:-18px;cursor:col-resize;z-index:10}.ReactTable .rt-tfoot{flex:1 0 auto;display:flex;flex-direction:column;box-shadow:0 0 15px 0 rgba(0,0,0,.15)}.ReactTable .rt-tfoot .rt-td{border-right:1px solid rgba(0,0,0,.05)}.ReactTable .rt-tfoot .rt-td:last-child{border-right:0}.ReactTable.-striped .rt-tr.-odd{background:rgba(0,0,0,.03)}.ReactTable.-highlight .rt-tbody .rt-tr:not(.-padRow):hover{background:rgba(0,0,0,.05)}.ReactTable .-pagination{z-index:1;display:flex;justify-content:space-between;align-items:stretch;flex-wrap:wrap;padding:3px;box-shadow:0 0 15px 0 rgba(0,0,0,.1);border-top:2px solid rgba(0,0,0,.1)}.ReactTable .-pagination input,.ReactTable .-pagination select{border:1px solid rgba(0,0,0,.1);background:#fff;padding:5px 7px;font-size:inherit;border-radius:3px;font-weight:400;outline:none}.ReactTable .-pagination .-btn{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:block;width:100%;height:100%;border:0;border-radius:3px;padding:6px;font-size:1em;color:rgba(0,0,0,.6);background:rgba(0,0,0,.1);transition:all .1s ease;cursor:pointer;outline:none}.ReactTable .-pagination .-btn[disabled]{opacity:.5;cursor:default}.ReactTable .-pagination .-btn:not([disabled]):hover{background:rgba(0,0,0,.3);color:#fff}.ReactTable .-pagination .-next,.ReactTable .-pagination .-previous{flex:1;text-align:center}.ReactTable .-pagination .-center{flex:1.5;text-align:center;margin-bottom:0;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-around}.ReactTable .-pagination .-pageInfo{display:inline-block;margin:3px 10px;white-space:nowrap}.ReactTable .-pagination .-pageJump{display:inline-block}.ReactTable .-pagination .-pageJump input{width:70px;text-align:center}.ReactTable .-pagination .-pageSizeOptions{margin:3px 10px}.ReactTable .rt-noData{left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);z-index:1;padding:20px;color:rgba(0,0,0,.5)}.ReactTable .-loading,.ReactTable .rt-noData{display:block;position:absolute;background:hsla(0,0%,100%,.8);transition:all .3s ease;pointer-events:none}.ReactTable .-loading{left:0;right:0;top:0;bottom:0;z-index:-1;opacity:0}.ReactTable .-loading>div{position:absolute;display:block;text-align:center;width:100%;top:50%;left:0;font-size:15px;color:rgba(0,0,0,.6);-webkit-transform:translateY(-52%);transform:translateY(-52%);transition:all .3s cubic-bezier(.25,.46,.45,.94)}.ReactTable .-loading.-active{opacity:1;z-index:2;pointer-events:all}.ReactTable .-loading.-active>div{-webkit-transform:translateY(50%);transform:translateY(50%)}.ReactTable .rt-resizing .rt-td,.ReactTable .rt-resizing .rt-th{transition:none!important;cursor:col-resize;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}\n.ReactTable{border:none}.ReactTable .rt-table{border:1px solid rgba(0,0,0,.1)}.ReactTable .rt-thead.-header{box-shadow:none}.ReactTable .rt-thead{text-align:center;background-color:#fff;color:palette-get(na-black);padding:.5rem 0;font-weight:700}.ReactTable .rt-td,.ReactTable .rt-th{white-space:normal;padding:10px;font-size:14px}.rt-tr.-even{background-color:#fff!important}.ReactTable .rt-resizable-header{padding:6px 24px!important;box-shadow:none!important;background-position:100%;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAAkElEQVQoz7XQMQ5AQBCF4dWQSJxC5wwax1Cq1e7BAdxD5SL+Tq/QCM1oNiJidwox0355mXnG/DrEtIQ6azioNZQxI0ykPhTQIwhCR+BmBYtlK7kLJYwWCcJA9M4qdrZrd8pPjZWPtOqdRQy320YSV17OatFC4euts6z39GYMKRPCTKY9UnPQ6P+GtMRfGtPnBCiqhAeJPmkqAAAAAElFTkSuQmCC);background-repeat:no-repeat}.ReactTable .rt-thead .rt-th{display:flex;justify-content:center;align-items:center}.-odd{background-color:#f5f5f5!important}.rt-tbody{overflow:visible!important}.-centered{justify-content:start;text-align:left}.-centered,.pagination{display:flex;align-items:center}.pagination{justify-content:space-between}.pagination__number-of-entries{font-size:14px;font-style:italic}.pagination__controls{display:flex;justify-content:flex-end;align-items:center;padding:1rem 0}.pagination__page-info{display:flex;align-items:center;padding:0 .5rem;font-size:14px}.pagination__page-jump input{width:4rem;height:2rem;padding:0 .25rem;margin:0 .5rem}.pagination__total-pages{padding-left:.25rem}.pagination__btn{padding:0 .5rem;font-size:14px;text-transform:capitalize;font-weight:700;letter-spacing:normal;color:palette-get(na-black);outline:none;border:none;background-color:transparent;cursor:pointer}.pagination__next .pagination__btn{padding-right:0}.pagination__btn:hover{color:palette-get(na-turquoise)}.pagination__btn:disabled:hover{color:palette-get(na-black)}.pagination__btn:disabled{cursor:not-allowed}.Table__pageButton--active{color:palette-get(na-black);font-weight:700}.rt-th.rt-resizable-header.-sort-asc{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAACXBIWXMAAAsTAAALEwEAmpwYAAA58mlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxMTEgNzkuMTU4MzI1LCAyMDE1LzA5LzEwLTAxOjEwOjIwICAgICAgICAiPgogICA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPgogICAgICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgICAgICAgICB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iCiAgICAgICAgICAgIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIKICAgICAgICAgICAgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIgogICAgICAgICAgICB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIKICAgICAgICAgICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgICAgICAgICAgeG1sbnM6dGlmZj0iaHR0cDovL25zLmFkb2JlLmNvbS90aWZmLzEuMC8iCiAgICAgICAgICAgIHhtbG5zOmV4aWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20vZXhpZi8xLjAvIj4KICAgICAgICAgPHhtcDpDcmVhdG9yVG9vbD5BZG9iZSBQaG90b3Nob3AgQ0MgMjAxNSAoTWFjaW50b3NoKTwveG1wOkNyZWF0b3JUb29sPgogICAgICAgICA8eG1wOkNyZWF0ZURhdGU+MjAxNi0wOS0yN1QxNDo0MToxNi0wNDowMDwveG1wOkNyZWF0ZURhdGU+CiAgICAgICAgIDx4bXA6TW9kaWZ5RGF0ZT4yMDE2LTA5LTI3VDE0OjQzOjAyLTA0OjAwPC94bXA6TW9kaWZ5RGF0ZT4KICAgICAgICAgPHhtcDpNZXRhZGF0YURhdGU+MjAxNi0wOS0yN1QxNDo0MzowMi0wNDowMDwveG1wOk1ldGFkYXRhRGF0ZT4KICAgICAgICAgPGRjOmZvcm1hdD5pbWFnZS9wbmc8L2RjOmZvcm1hdD4KICAgICAgICAgPHBob3Rvc2hvcDpDb2xvck1vZGU+MzwvcGhvdG9zaG9wOkNvbG9yTW9kZT4KICAgICAgICAgPHhtcE1NOkluc3RhbmNlSUQ+eG1wLmlpZDpkMTAxZTcyZS03YmM5LTQyNDQtYTkxYi0zZjhjN2U5YTExYjE8L3htcE1NOkluc3RhbmNlSUQ+CiAgICAgICAgIDx4bXBNTTpEb2N1bWVudElEPmFkb2JlOmRvY2lkOnBob3Rvc2hvcDphMWZkYjAwNC1jNTcwLTExNzktOGMyMy1iNzkyNjY4ZTkwYjk8L3htcE1NOkRvY3VtZW50SUQ+CiAgICAgICAgIDx4bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ+eG1wLmRpZDo3ZmUwODc5ZC1hNzhhLTQzYTQtODFmNy1mZTk4NjM0ZjcwN2I8L3htcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD4KICAgICAgICAgPHhtcE1NOkhpc3Rvcnk+CiAgICAgICAgICAgIDxyZGY6U2VxPgogICAgICAgICAgICAgICA8cmRmOmxpIHJkZjpwYXJzZVR5cGU9IlJlc291cmNlIj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmFjdGlvbj5jcmVhdGVkPC9zdEV2dDphY3Rpb24+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDppbnN0YW5jZUlEPnhtcC5paWQ6N2ZlMDg3OWQtYTc4YS00M2E0LTgxZjctZmU5ODYzNGY3MDdiPC9zdEV2dDppbnN0YW5jZUlEPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6d2hlbj4yMDE2LTA5LTI3VDE0OjQxOjE2LTA0OjAwPC9zdEV2dDp3aGVuPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6c29mdHdhcmVBZ2VudD5BZG9iZSBQaG90b3Nob3AgQ0MgMjAxNSAoTWFjaW50b3NoKTwvc3RFdnQ6c29mdHdhcmVBZ2VudD4KICAgICAgICAgICAgICAgPC9yZGY6bGk+CiAgICAgICAgICAgICAgIDxyZGY6bGkgcmRmOnBhcnNlVHlwZT0iUmVzb3VyY2UiPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6YWN0aW9uPnNhdmVkPC9zdEV2dDphY3Rpb24+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDppbnN0YW5jZUlEPnhtcC5paWQ6ZDEwMWU3MmUtN2JjOS00MjQ0LWE5MWItM2Y4YzdlOWExMWIxPC9zdEV2dDppbnN0YW5jZUlEPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6d2hlbj4yMDE2LTA5LTI3VDE0OjQzOjAyLTA0OjAwPC9zdEV2dDp3aGVuPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6c29mdHdhcmVBZ2VudD5BZG9iZSBQaG90b3Nob3AgQ0MgMjAxNSAoTWFjaW50b3NoKTwvc3RFdnQ6c29mdHdhcmVBZ2VudD4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmNoYW5nZWQ+Lzwvc3RFdnQ6Y2hhbmdlZD4KICAgICAgICAgICAgICAgPC9yZGY6bGk+CiAgICAgICAgICAgIDwvcmRmOlNlcT4KICAgICAgICAgPC94bXBNTTpIaXN0b3J5PgogICAgICAgICA8dGlmZjpPcmllbnRhdGlvbj4xPC90aWZmOk9yaWVudGF0aW9uPgogICAgICAgICA8dGlmZjpYUmVzb2x1dGlvbj43MjAwMDAvMTAwMDA8L3RpZmY6WFJlc29sdXRpb24+CiAgICAgICAgIDx0aWZmOllSZXNvbHV0aW9uPjcyMDAwMC8xMDAwMDwvdGlmZjpZUmVzb2x1dGlvbj4KICAgICAgICAgPHRpZmY6UmVzb2x1dGlvblVuaXQ+MjwvdGlmZjpSZXNvbHV0aW9uVW5pdD4KICAgICAgICAgPGV4aWY6Q29sb3JTcGFjZT42NTUzNTwvZXhpZjpDb2xvclNwYWNlPgogICAgICAgICA8ZXhpZjpQaXhlbFhEaW1lbnNpb24+MTk8L2V4aWY6UGl4ZWxYRGltZW5zaW9uPgogICAgICAgICA8ZXhpZjpQaXhlbFlEaW1lbnNpb24+MTk8L2V4aWY6UGl4ZWxZRGltZW5zaW9uPgogICAgICA8L3JkZjpEZXNjcmlwdGlvbj4KICAgPC9yZGY6UkRGPgo8L3g6eG1wbWV0YT4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAKPD94cGFja2V0IGVuZD0idyI/Ps/9p2gAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAAAIlJREFUeNrs0q0NwlAAReFXUxKSTlFHbnLVcZiOgUSj2YMOwB4oFkHiETVNax6GmgbTnxRExbGfOiHGGOYqLIrJbGUuMukc2FmmlTlNwmR2Mk+ZKPOQyUdhMonM9QN1lTLJGKyQefWwSmY/CJPJZO49qOsmsxmCHWUamfpLjczh95+t2Ir9G/YeAPwn67OWPCHxAAAAAElFTkSuQmCC)}.rt-th.rt-resizable-header.-sort-desc{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAACXBIWXMAAAsTAAALEwEAmpwYAAA58mlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxMTEgNzkuMTU4MzI1LCAyMDE1LzA5LzEwLTAxOjEwOjIwICAgICAgICAiPgogICA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPgogICAgICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgICAgICAgICB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iCiAgICAgICAgICAgIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIKICAgICAgICAgICAgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIgogICAgICAgICAgICB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIKICAgICAgICAgICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgICAgICAgICAgeG1sbnM6dGlmZj0iaHR0cDovL25zLmFkb2JlLmNvbS90aWZmLzEuMC8iCiAgICAgICAgICAgIHhtbG5zOmV4aWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20vZXhpZi8xLjAvIj4KICAgICAgICAgPHhtcDpDcmVhdG9yVG9vbD5BZG9iZSBQaG90b3Nob3AgQ0MgMjAxNSAoTWFjaW50b3NoKTwveG1wOkNyZWF0b3JUb29sPgogICAgICAgICA8eG1wOkNyZWF0ZURhdGU+MjAxNi0wOS0yN1QxNDo0MToxNC0wNDowMDwveG1wOkNyZWF0ZURhdGU+CiAgICAgICAgIDx4bXA6TW9kaWZ5RGF0ZT4yMDE2LTA5LTI3VDE0OjQyOjQ2LTA0OjAwPC94bXA6TW9kaWZ5RGF0ZT4KICAgICAgICAgPHhtcDpNZXRhZGF0YURhdGU+MjAxNi0wOS0yN1QxNDo0Mjo0Ni0wNDowMDwveG1wOk1ldGFkYXRhRGF0ZT4KICAgICAgICAgPGRjOmZvcm1hdD5pbWFnZS9wbmc8L2RjOmZvcm1hdD4KICAgICAgICAgPHBob3Rvc2hvcDpDb2xvck1vZGU+MzwvcGhvdG9zaG9wOkNvbG9yTW9kZT4KICAgICAgICAgPHhtcE1NOkluc3RhbmNlSUQ+eG1wLmlpZDpmMzQzMzEwNS0xZDQxLTQxZjktYjc5ZS1kZDk5NTRhZmUyNTQ8L3htcE1NOkluc3RhbmNlSUQ+CiAgICAgICAgIDx4bXBNTTpEb2N1bWVudElEPmFkb2JlOmRvY2lkOnBob3Rvc2hvcDo5NGQxYTg3MS1jNTcwLTExNzktOGMyMy1iNzkyNjY4ZTkwYjk8L3htcE1NOkRvY3VtZW50SUQ+CiAgICAgICAgIDx4bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ+eG1wLmRpZDplNzA0OTcwNy02NDhjLTRkNTEtOGExNi0wZDFlOTdkNTlmZjY8L3htcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD4KICAgICAgICAgPHhtcE1NOkhpc3Rvcnk+CiAgICAgICAgICAgIDxyZGY6U2VxPgogICAgICAgICAgICAgICA8cmRmOmxpIHJkZjpwYXJzZVR5cGU9IlJlc291cmNlIj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmFjdGlvbj5jcmVhdGVkPC9zdEV2dDphY3Rpb24+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDppbnN0YW5jZUlEPnhtcC5paWQ6ZTcwNDk3MDctNjQ4Yy00ZDUxLThhMTYtMGQxZTk3ZDU5ZmY2PC9zdEV2dDppbnN0YW5jZUlEPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6d2hlbj4yMDE2LTA5LTI3VDE0OjQxOjE0LTA0OjAwPC9zdEV2dDp3aGVuPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6c29mdHdhcmVBZ2VudD5BZG9iZSBQaG90b3Nob3AgQ0MgMjAxNSAoTWFjaW50b3NoKTwvc3RFdnQ6c29mdHdhcmVBZ2VudD4KICAgICAgICAgICAgICAgPC9yZGY6bGk+CiAgICAgICAgICAgICAgIDxyZGY6bGkgcmRmOnBhcnNlVHlwZT0iUmVzb3VyY2UiPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6YWN0aW9uPnNhdmVkPC9zdEV2dDphY3Rpb24+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDppbnN0YW5jZUlEPnhtcC5paWQ6ZjM0MzMxMDUtMWQ0MS00MWY5LWI3OWUtZGQ5OTU0YWZlMjU0PC9zdEV2dDppbnN0YW5jZUlEPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6d2hlbj4yMDE2LTA5LTI3VDE0OjQyOjQ2LTA0OjAwPC9zdEV2dDp3aGVuPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6c29mdHdhcmVBZ2VudD5BZG9iZSBQaG90b3Nob3AgQ0MgMjAxNSAoTWFjaW50b3NoKTwvc3RFdnQ6c29mdHdhcmVBZ2VudD4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmNoYW5nZWQ+Lzwvc3RFdnQ6Y2hhbmdlZD4KICAgICAgICAgICAgICAgPC9yZGY6bGk+CiAgICAgICAgICAgIDwvcmRmOlNlcT4KICAgICAgICAgPC94bXBNTTpIaXN0b3J5PgogICAgICAgICA8dGlmZjpPcmllbnRhdGlvbj4xPC90aWZmOk9yaWVudGF0aW9uPgogICAgICAgICA8dGlmZjpYUmVzb2x1dGlvbj43MjAwMDAvMTAwMDA8L3RpZmY6WFJlc29sdXRpb24+CiAgICAgICAgIDx0aWZmOllSZXNvbHV0aW9uPjcyMDAwMC8xMDAwMDwvdGlmZjpZUmVzb2x1dGlvbj4KICAgICAgICAgPHRpZmY6UmVzb2x1dGlvblVuaXQ+MjwvdGlmZjpSZXNvbHV0aW9uVW5pdD4KICAgICAgICAgPGV4aWY6Q29sb3JTcGFjZT42NTUzNTwvZXhpZjpDb2xvclNwYWNlPgogICAgICAgICA8ZXhpZjpQaXhlbFhEaW1lbnNpb24+MTk8L2V4aWY6UGl4ZWxYRGltZW5zaW9uPgogICAgICAgICA8ZXhpZjpQaXhlbFlEaW1lbnNpb24+MTk8L2V4aWY6UGl4ZWxZRGltZW5zaW9uPgogICAgICA8L3JkZjpEZXNjcmlwdGlvbj4KICAgPC9yZGY6UkRGPgo8L3g6eG1wbWV0YT4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAKPD94cGFja2V0IGVuZD0idyI/Pha0btIAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAAAIpJREFUeNrs0iEOwlAURNHWQELCKnBkkquuw7AMJBrNPmAB7APFRpB4BIYU8zGoBlOKgVSMPcl7M1UppfpWqgEbsL/AgqtgE7y/SRNcd8HGwWOwvMkpOO10ZnARvLWga3DZ+WfBOrhvYYdg/VEBwVnw/IIuwXmvNoOb4CO47T2N4Ci4C05+d7TPAQDI0+uzXmmUKgAAAABJRU5ErkJggg==)}",""])},function(e,t,n){(e.exports=n(5)(!1)).push([e.i,".dv-Chart{width:100%;margin-left:auto;margin-right:auto}.dv-legend-container{position:absolute;width:100%;display:flex;justify-content:center}.vx-legend-item:last-child .vx-legend-label{margin-right:0!important}.vx-legend-label{font-size:12px}.vx-axis-label{font-size:10px;text-transform:uppercase;font-weight:700;letter-spacing:.05em;fill:#333}.vx-axis-line{stroke:rgba(0,0,0,.2)}.vx-axis-tick{font-size:11px;fill:#333;font-weight:400;font-family:Circular}.vx-axis-tick .vx-line{stroke:rgba(0,0,0,.2)}.vx-columns .vx-line,.vx-rows .vx-line{stroke:#ddd}.annotation-note-label{font-size:12px;font-family:Circular;fill:#333}",""])},function(e,t,n){(e.exports=n(5)(!1)).push([e.i,".dv-chart__title{font-size:1.125rem;line-height:1.35rem;margin:0;padding-bottom:1rem}\n.dv-chart__description{display:block;font-size:14px;padding-bottom:1rem}\n.dv-ChartContainer{width:100%;position:relative;padding:1rem;background-color:#f5f5f5}.dv-ChartContainer-nobg{padding:0;background-color:transparent}.dv-ChartContainer__child{max-width:1200px;margin-left:auto;margin-right:auto}\n.dv-chart__source{display:block;padding-top:1rem;font-size:.75rem}",""])},function(e,t,n){var a={},r=function(e){var t;return function(){return void 0===t&&(t=e.apply(this,arguments)),t}}(function(){return window&&document&&document.all&&!window.atob}),g=function(e){var t={};return function(e){return void 0===t[e]&&(t[e]=function(e){return document.querySelector(e)}.call(this,e)),t[e]}}(),i=null,o=0,A=[],C=n(28);function I(e,t){for(var n=0;n<e.length;n++){var r=e[n],g=a[r.id];if(g){g.refs++;for(var i=0;i<g.parts.length;i++)g.parts[i](r.parts[i]);for(;i<r.parts.length;i++)g.parts.push(h(r.parts[i],t))}else{var o=[];for(i=0;i<r.parts.length;i++)o.push(h(r.parts[i],t));a[r.id]={id:r.id,refs:1,parts:o}}}}function s(e,t){for(var n=[],a={},r=0;r<e.length;r++){var g=e[r],i=t.base?g[0]+t.base:g[0],o={css:g[1],media:g[2],sourceMap:g[3]};a[i]?a[i].parts.push(o):n.push(a[i]={id:i,parts:[o]})}return n}function c(e,t){var n=g(e.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var a=A[A.length-1];if("top"===e.insertAt)a?a.nextSibling?n.insertBefore(t,a.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),A.push(t);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");n.appendChild(t)}}function u(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=A.indexOf(e);t>=0&&A.splice(t,1)}function l(e){var t=document.createElement("style");return e.attrs.type="text/css",f(t,e.attrs),c(e,t),t}function f(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}function h(e,t){var n,a,r,g;if(t.transform&&e.css){if(!(g=t.transform(e.css)))return function(){};e.css=g}if(t.singleton){var A=o++;n=i||(i=l(t)),a=d.bind(null,n,A,!1),r=d.bind(null,n,A,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(e){var t=document.createElement("link");return e.attrs.type="text/css",e.attrs.rel="stylesheet",f(t,e.attrs),c(e,t),t}(t),a=function(e,t,n){var a=n.css,r=n.sourceMap,g=void 0===t.convertToAbsoluteUrls&&r;(t.convertToAbsoluteUrls||g)&&(a=C(a));r&&(a+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var i=new Blob([a],{type:"text/css"}),o=e.href;e.href=URL.createObjectURL(i),o&&URL.revokeObjectURL(o)}.bind(null,n,t),r=function(){u(n),n.href&&URL.revokeObjectURL(n.href)}):(n=l(t),a=function(e,t){var n=t.css,a=t.media;a&&e.setAttribute("media",a);if(e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,n),r=function(){u(n)});return a(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;a(e=t)}else r()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||(t.singleton=r()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=s(e,t);return I(n,t),function(e){for(var r=[],g=0;g<n.length;g++){var i=n[g];(o=a[i.id]).refs--,r.push(o)}e&&I(s(e,t),t);for(g=0;g<r.length;g++){var o;if(0===(o=r[g]).refs){for(var A=0;A<o.parts.length;A++)o.parts[A]();delete a[o.id]}}}};var p=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}();function d(e,t,n,a){var r=n?"":a.css;if(e.styleSheet)e.styleSheet.cssText=p(t,r);else{var g=document.createTextNode(r),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(g,i[t]):e.appendChild(g)}}},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,a=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(e,t){var r,g=t.trim().replace(/^"(.*)"$/,function(e,t){return t}).replace(/^'(.*)'$/,function(e,t){return t});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/)/i.test(g)?e:(r=0===g.indexOf("//")?g:0===g.indexOf("/")?n+g:a+g.replace(/^\.\//,""),"url("+JSON.stringify(r)+")")})}},function(e,t,n){"use strict";n.r(t);var a=n(1),r=n.n(a),g=n(0),i=n.n(g),o=n(2),A=n.n(o),C=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e};function I(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}var s={get:function(e,t,n){if(!t)return e;var a=u(t),r=void 0;try{r=a.reduce(function(e,t){return e[t]},e)}catch(e){}return void 0!==r?r:n},set:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1],n=arguments[2],a=u(t),r=void 0,g=e;for(;(r=a.shift())&&a.length;)g[r]||(g[r]={}),g=g[r];return g[r]=n,e},takeRight:function(e,t){var n=t>e.length?0:e.length-t;return e.slice(n)},last:function(e){return e[e.length-1]},orderBy:function(e,t,n,a){return e.sort(function(e,r){for(var g=0;g<t.length;g+=1){var i=t[g],o=!1===n[g]||"desc"===n[g],A=i(e,r);if(A)return o?-A:A}return n[0]?e[a]-r[a]:r[a]-e[a]})},range:function(e){for(var t=[],n=0;n<e;n+=1)t.push(e);return t},remove:function(e,t){return e.filter(function(n,a){var r=t(n);return!!r&&(e.splice(a,1),!0)})},clone:function(e){try{return JSON.parse(JSON.stringify(e,function(e,t){return"function"==typeof t?t.toString():t}))}catch(t){return e}},getFirstDefined:function(){for(var e=0;e<arguments.length;e+=1)if(void 0!==(arguments.length<=e?void 0:arguments[e]))return arguments.length<=e?void 0:arguments[e]},sum:function(e){return e.reduce(function(e,t){return e+t},0)},makeTemplateComponent:function(e,t){if(!t)throw new Error("No displayName found for template component:",e);var n=function(t){var n=t.children,a=t.className,g=I(t,["children","className"]);return r.a.createElement("div",C({className:A()(e,a)},g),n)};return n.displayName=t,n},groupBy:function(e,t){return e.reduce(function(e,n,a){var r="function"==typeof t?t(n,a):n[t];return e[r]=c(e[r])?e[r]:[],e[r].push(n),e},{})},isArray:c,splitProps:function(e){var t=e.className,n=e.style,a=I(e,["className","style"]);return{className:t,style:n,rest:a||{}}},compactObject:function(e){var t={};e&&Object.keys(e).map(function(n){return Object.prototype.hasOwnProperty.call(e,n)&&void 0!==e[n]&&void 0!==e[n]&&(t[n]=e[n]),!0});return t},isSortingDesc:function(e){return!("desc"!==e.sort&&!0!==e.desc&&!1!==e.asc)},normalizeComponent:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e;return"function"==typeof e?Object.getPrototypeOf(e).isReactComponent?r.a.createElement(e,t):e(t):n},asPx:function(e){return e=Number(e),Number.isNaN(e)?null:e+"px"}};function c(e){return Array.isArray(e)}function u(e){return function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(c(t))for(var a=0;a<t.length;a+=1)e(t[a],n);else n.push(t);return n}(e).join(".").replace(/\[/g,".").replace(/\]/g,"").split(".")}var l=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}();var f=function(e){return function(t){function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,e),l(n,[{key:"componentWillMount",value:function(){this.setStateWithData(this.getDataModel(this.getResolvedState(),!0))}},{key:"componentDidMount",value:function(){this.fireFetchData()}},{key:"componentWillReceiveProps",value:function(e,t){var n=this.getResolvedState(),a=this.getResolvedState(e,t);["sorted","filtered","resized","expanded"].forEach(function(e){var t="default"+(e.charAt(0).toUpperCase()+e.slice(1));JSON.stringify(n[t])!==JSON.stringify(a[t])&&(a[e]=a[t])});["sortable","filterable","resizable"].forEach(function(e){if(n[e]!==a[e]){var t=e.replace("able","")+"ed",r="default"+(t.charAt(0).toUpperCase()+t.slice(1));a[t]=a[r]}}),n.data===a.data&&n.columns===a.columns&&n.pivotBy===a.pivotBy&&n.sorted===a.sorted&&n.filtered===a.filtered||this.setStateWithData(this.getDataModel(a,n.data!==a.data))}},{key:"setStateWithData",value:function(e,t){var n=this,a=this.getResolvedState(),r=this.getResolvedState({},e),g=r.freezeWhenExpanded;if(r.frozen=!1,g)for(var i=Object.keys(r.expanded),o=0;o<i.length;o+=1)if(r.expanded[i[o]]){r.frozen=!0;break}return(a.frozen&&!r.frozen||a.sorted!==r.sorted||a.filtered!==r.filtered||a.showFilters!==r.showFilters||!r.frozen&&a.resolvedData!==r.resolvedData)&&((a.sorted!==r.sorted&&this.props.collapseOnSortingChange||a.filtered!==r.filtered||a.showFilters!==r.showFilters||a.sortedData&&!r.frozen&&a.resolvedData!==r.resolvedData&&this.props.collapseOnDataChange)&&(r.expanded={}),Object.assign(r,this.getSortedData(r))),a.filtered!==r.filtered&&(r.page=0),r.sortedData&&(r.pages=r.manual?r.pages:Math.ceil(r.sortedData.length/r.pageSize),r.page=Math.max(r.page>=r.pages?r.pages-1:r.page,0)),this.setState(r,function(){t&&t(),a.page===r.page&&a.pageSize===r.pageSize&&a.sorted===r.sorted&&a.filtered===r.filtered||n.fireFetchData()})}}]),n}()},h=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,r=!1,g=void 0;try{for(var i,o=e[Symbol.iterator]();!(a=(i=o.next()).done)&&(n.push(i.value),!t||n.length!==t);a=!0);}catch(e){r=!0,g=e}finally{try{!a&&o.return&&o.return()}finally{if(r)throw g}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},d=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}();function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var b=function(e){return function(t){function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,e),d(n,[{key:"getResolvedState",value:function(e,t){return p({},s.compactObject(this.state),s.compactObject(this.props),s.compactObject(t),s.compactObject(e))}},{key:"getDataModel",value:function(e,t){var n=this,a=e.columns,g=e.pivotBy,i=void 0===g?[]:g,o=e.data,A=e.resolveData,C=e.pivotIDKey,I=e.pivotValKey,c=e.subRowsKey,u=e.aggregatedKey,l=e.nestingLevelKey,f=e.originalKey,d=e.indexKey,b=e.groupedByPivotKey,v=e.SubComponent,x=!1;a.forEach(function(e){e.columns&&(x=!0)});var _=[].concat(y(a)),w=a.find(function(e){return e.expander||e.columns&&e.columns.some(function(e){return e.expander})});w&&!w.expander&&(w=w.columns.find(function(e){return e.expander})),v&&!w&&(_=[w={expander:!0}].concat(y(_)));var T=[],k=function(e,t){var a=function(e,t){var a=void 0;if((a=e.expander?p({},n.props.column,n.props.expanderDefaults,e):p({},n.props.column,e)).maxWidth<a.minWidth&&(a.minWidth=a.maxWidth),t&&(a.parentColumn=t),"string"==typeof a.accessor){a.id=a.id||a.accessor;var r=a.accessor;return a.accessor=function(e){return s.get(e,r)},a}if(a.accessor&&!a.id)throw console.warn(a),new Error("A column id is required if using a non-string accessor for column above.");return a.accessor||(a.accessor=function(){}),a}(e,t);return T.push(a),a},O=_.map(function(e){return e.columns?p({},e,{columns:e.columns.map(function(t){return k(t,e)})}):k(e)}).slice(),N=[],M=(O=(O=O.map(function(e){if(e.columns){var t=e.columns.filter(function(e){return!(i.indexOf(e.id)>-1)&&s.getFirstDefined(e.show,!0)});return p({},e,{columns:t})}return e})).filter(function(e){return e.columns?e.columns.length:!(i.indexOf(e.id)>-1)&&s.getFirstDefined(e.show,!0)})).findIndex(function(e){return e.pivot});if(i.length){var P=[];i.forEach(function(e){var t=T.find(function(t){return t.id===e});t&&P.push(t)});var E=P.reduce(function(e,t){return e&&e===t.parentColumn&&t.parentColumn},P[0].parentColumn),R=x&&E.Header,S={Header:R=R||function(){return r.a.createElement("strong",null,"Pivoted")},columns:P.map(function(e){return p({},n.props.pivotDefaults,e,{pivoted:!0})})};M>=0?(S=p({},O[M],S),O.splice(M,1,S)):O.unshift(S)}var j=[],D=[],L=function(e,t){j.push(p({},n.props.column,t,{columns:e})),D=[]};O.forEach(function(e){if(e.columns)return N=N.concat(e.columns),D.length>0&&L(D),void L(e.columns,e);N.push(e),D.push(e)}),x&&D.length>0&&L(D);var z=this.resolvedData;this.resolvedData&&!t||(z=A(o),this.resolvedData=z),z=z.map(function(e,t){return function e(t,n){var a,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,g=(m(a={},f,t),m(a,d,n),m(a,c,t[c]),m(a,l,r),a);return T.forEach(function(e){e.expander||(g[e.id]=e.accessor(t))}),g[c]&&(g[c]=g[c].map(function(t,n){return e(t,n,r+1)})),g}(e,t)});var F=N.filter(function(e){return!e.expander&&e.aggregate});if(i.length){z=function e(t,n){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(a===n.length)return t;var r=Object.entries(s.groupBy(t,n[a])).map(function(e){var t,r=h(e,2),g=r[0],i=r[1];return m(t={},C,n[a]),m(t,I,g),m(t,n[a],g),m(t,c,i),m(t,l,a),m(t,b,!0),t});return r=r.map(function(t){var r,g=e(t[c],n,a+1);return p({},t,(m(r={},c,g),m(r,u,!0),r),function(e){var t={};return F.forEach(function(n){var a=e.map(function(e){return e[n.id]});t[n.id]=n.aggregate(a,e)}),t}(g))})}(z,i)}return p({},e,{resolvedData:z,allVisibleColumns:N,headerGroups:j,allDecoratedColumns:T,hasHeaderGroups:x})}},{key:"getSortedData",value:function(e){var t=e.manual,n=e.sorted,a=e.filtered,r=e.defaultFilterMethod,g=e.resolvedData,i=e.allVisibleColumns,o={};return e.allDecoratedColumns.filter(function(e){return e.sortMethod}).forEach(function(e){o[e.id]=e.sortMethod}),{sortedData:t?g:this.sortData(this.filterData(g,a,r,i),n,o)}}},{key:"fireFetchData",value:function(){this.props.onFetchData(this.getResolvedState(),this)}},{key:"getPropOrState",value:function(e){return s.getFirstDefined(this.props[e],this.state[e])}},{key:"getStateOrProp",value:function(e){return s.getFirstDefined(this.state[e],this.props[e])}},{key:"filterData",value:function(e,t,n,a){var r=this,g=e;return t.length&&(g=(g=t.reduce(function(e,t){var r=a.find(function(e){return e.id===t.id});if(!r||!1===r.filterable)return e;var g=r.filterMethod||n;return r.filterAll?g(t,e,r):e.filter(function(e){return g(t,e,r)})},g)).map(function(e){return e[r.props.subRowsKey]?p({},e,m({},r.props.subRowsKey,r.filterData(e[r.props.subRowsKey],t,n,a))):e}).filter(function(e){return!e[r.props.subRowsKey]||e[r.props.subRowsKey].length>0})),g}},{key:"sortData",value:function(e,t){var n=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t.length)return e;var r=(this.props.orderByMethod||s.orderBy)(e,t.map(function(e){return a[e.id]?function(t,n){return a[e.id](t[e.id],n[e.id],e.desc)}:function(t,a){return n.props.defaultSortMethod(t[e.id],a[e.id],e.desc)}}),t.map(function(e){return!e.desc}),this.props.indexKey);return r.forEach(function(e){e[n.props.subRowsKey]&&(e[n.props.subRowsKey]=n.sortData(e[n.props.subRowsKey],t,a))}),r}},{key:"getMinRows",value:function(){return s.getFirstDefined(this.props.minRows,this.getStateOrProp("pageSize"))}},{key:"onPageChange",value:function(e){var t=this.props,n=t.onPageChange,a=t.collapseOnPageChange,r={page:e};a&&(r.expanded={}),this.setStateWithData(r,function(){return n&&n(e)})}},{key:"onPageSizeChange",value:function(e){var t=this.props.onPageSizeChange,n=this.getResolvedState(),a=n.pageSize*n.page,r=Math.floor(a/e);this.setStateWithData({pageSize:e,page:r},function(){return t&&t(e,r)})}},{key:"sortColumn",value:function(e,t){var n=this.getResolvedState(),a=n.sorted,r=n.skipNextSort,g=n.defaultSortDesc,i=Object.prototype.hasOwnProperty.call(e,"defaultSortDesc")?e.defaultSortDesc:g,o=!i;if(r)this.setStateWithData({skipNextSort:!1});else{var A=this.props.onSortedChange,C=s.clone(a||[]).map(function(e){return e.desc=s.isSortingDesc(e),e});if(s.isArray(e)){var I=C.findIndex(function(t){return t.id===e[0].id});if(I>-1)C[I].desc===o?t?C.splice(I,e.length):e.forEach(function(e,t){C[I+t].desc=i}):e.forEach(function(e,t){C[I+t].desc=o}),t||(C=C.slice(I,e.length));else C=t?C.concat(e.map(function(e){return{id:e.id,desc:i}})):e.map(function(e){return{id:e.id,desc:i}})}else{var c=C.findIndex(function(t){return t.id===e.id});if(c>-1){var u=C[c];u.desc===o?t?C.splice(c,1):(u.desc=i,C=[u]):(u.desc=o,t||(C=[u]))}else t?C.push({id:e.id,desc:i}):C=[{id:e.id,desc:i}]}this.setStateWithData({page:!a.length&&C.length||!t?0:this.state.page,sorted:C},function(){return A&&A(C,e,t)})}}},{key:"filterColumn",value:function(e,t){var n=this.getResolvedState().filtered,a=this.props.onFilteredChange,r=(n||[]).filter(function(t){return t.id!==e.id});""!==t&&r.push({id:e.id,value:t}),this.setStateWithData({filtered:r},function(){return a&&a(r,e,t)})}},{key:"resizeColumnStart",value:function(e,t,n){var a=this;e.stopPropagation();var r=e.target.parentElement.getBoundingClientRect().width,g=void 0;g=n?e.changedTouches[0].pageX:e.pageX,this.trapEvents=!0,this.setStateWithData({currentlyResizing:{id:t.id,startX:g,parentWidth:r}},function(){n?(document.addEventListener("touchmove",a.resizeColumnMoving),document.addEventListener("touchcancel",a.resizeColumnEnd),document.addEventListener("touchend",a.resizeColumnEnd)):(document.addEventListener("mousemove",a.resizeColumnMoving),document.addEventListener("mouseup",a.resizeColumnEnd),document.addEventListener("mouseleave",a.resizeColumnEnd))})}},{key:"resizeColumnMoving",value:function(e){e.stopPropagation();var t=this.props.onResizedChange,n=this.getResolvedState(),a=n.resized,r=n.currentlyResizing,g=a.filter(function(e){return e.id!==r.id}),i=void 0;"touchmove"===e.type?i=e.changedTouches[0].pageX:"mousemove"===e.type&&(i=e.pageX);var o=Math.max(r.parentWidth+i-r.startX,11);g.push({id:r.id,value:o}),this.setStateWithData({resized:g},function(){return t&&t(g,e)})}},{key:"resizeColumnEnd",value:function(e){e.stopPropagation();var t="touchend"===e.type||"touchcancel"===e.type;t&&(document.removeEventListener("touchmove",this.resizeColumnMoving),document.removeEventListener("touchcancel",this.resizeColumnEnd),document.removeEventListener("touchend",this.resizeColumnEnd)),document.removeEventListener("mousemove",this.resizeColumnMoving),document.removeEventListener("mouseup",this.resizeColumnEnd),document.removeEventListener("mouseleave",this.resizeColumnEnd),t||this.setStateWithData({skipNextSort:!0,currentlyResizing:!1})}}]),n}()},v=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e};var _=function(e){return r.a.createElement("button",x({type:"button"},e,{className:"-btn"}),e.children)},w=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n.getSafePage=n.getSafePage.bind(n),n.changePage=n.changePage.bind(n),n.applyPage=n.applyPage.bind(n),n.state={page:e.page},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a["Component"]),v(t,[{key:"componentWillReceiveProps",value:function(e){this.setState({page:e.page})}},{key:"getSafePage",value:function(e){return Number.isNaN(e)&&(e=this.props.page),Math.min(Math.max(e,0),this.props.pages-1)}},{key:"changePage",value:function(e){e=this.getSafePage(e),this.setState({page:e}),this.props.page!==e&&this.props.onPageChange(e)}},{key:"applyPage",value:function(e){e&&e.preventDefault();var t=this.state.page;this.changePage(""===t?this.props.page:t)}},{key:"render",value:function(){var e=this,t=this.props,n=t.pages,a=t.page,g=t.showPageSizeOptions,i=t.pageSizeOptions,o=t.pageSize,C=t.showPageJump,I=t.canPrevious,s=t.canNext,c=t.onPageSizeChange,u=t.className,l=t.PreviousComponent,f=void 0===l?_:l,h=t.NextComponent,p=void 0===h?_:h;return r.a.createElement("div",{className:A()(u,"-pagination"),style:this.props.style},r.a.createElement("div",{className:"-previous"},r.a.createElement(f,{onClick:function(){I&&e.changePage(a-1)},disabled:!I},this.props.previousText)),r.a.createElement("div",{className:"-center"},r.a.createElement("span",{className:"-pageInfo"},this.props.pageText," ",C?r.a.createElement("div",{className:"-pageJump"},r.a.createElement("input",{type:""===this.state.page?"text":"number",onChange:function(t){var n=t.target.value,a=n-1;if(""===n)return e.setState({page:n});e.setState({page:e.getSafePage(a)})},value:""===this.state.page?"":this.state.page+1,onBlur:this.applyPage,onKeyPress:function(t){13!==t.which&&13!==t.keyCode||e.applyPage()}})):r.a.createElement("span",{className:"-currentPage"},a+1)," ",this.props.ofText," ",r.a.createElement("span",{className:"-totalPages"},n||1)),g&&r.a.createElement("span",{className:"select-wrap -pageSizeOptions"},r.a.createElement("select",{onChange:function(e){return c(Number(e.target.value))},value:o},i.map(function(t,n){return r.a.createElement("option",{key:n,value:t},t," ",e.props.rowsText)})))),r.a.createElement("div",{className:"-next"},r.a.createElement(p,{onClick:function(){s&&e.changePage(a+1)},disabled:!s},this.props.nextText)))}}]),t}(),T=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e};function k(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}var O=function(){return{}},N={data:[],resolveData:function(e){return e},loading:!1,showPagination:!0,showPaginationTop:!1,showPaginationBottom:!0,showPageSizeOptions:!0,pageSizeOptions:[5,10,20,25,50,100],defaultPageSize:20,showPageJump:!0,collapseOnSortingChange:!0,collapseOnPageChange:!0,collapseOnDataChange:!0,freezeWhenExpanded:!1,sortable:!0,multiSort:!0,resizable:!0,filterable:!1,defaultSortDesc:!1,defaultSorted:[],defaultFiltered:[],defaultResized:[],defaultExpanded:{},defaultFilterMethod:function(e,t,n){var a=e.pivotId||e.id;return void 0===t[a]||String(t[a]).startsWith(e.value)},defaultSortMethod:function(e,t,n){return e=null===e||void 0===e?"":e,t=null===t||void 0===t?"":t,(e="string"==typeof e?e.toLowerCase():e)>(t="string"==typeof t?t.toLowerCase():t)?1:e<t?-1:0},onPageChange:void 0,onPageSizeChange:void 0,onSortedChange:void 0,onFilteredChange:void 0,onResizedChange:void 0,onExpandedChange:void 0,pivotBy:void 0,pivotValKey:"_pivotVal",pivotIDKey:"_pivotID",subRowsKey:"_subRows",aggregatedKey:"_aggregated",nestingLevelKey:"_nestingLevel",originalKey:"_original",indexKey:"_index",groupedByPivotKey:"_groupedByPivot",onFetchData:function(){return null},className:"",style:{},getProps:O,getTableProps:O,getTheadGroupProps:O,getTheadGroupTrProps:O,getTheadGroupThProps:O,getTheadProps:O,getTheadTrProps:O,getTheadThProps:O,getTheadFilterProps:O,getTheadFilterTrProps:O,getTheadFilterThProps:O,getTbodyProps:O,getTrGroupProps:O,getTrProps:O,getTdProps:O,getTfootProps:O,getTfootTrProps:O,getTfootTdProps:O,getPaginationProps:O,getLoadingProps:O,getNoDataProps:O,getResizerProps:O,column:{Cell:void 0,Header:void 0,Footer:void 0,Aggregated:void 0,Pivot:void 0,PivotValue:void 0,Expander:void 0,Filter:void 0,sortable:void 0,resizable:void 0,filterable:void 0,show:!0,minWidth:100,className:"",style:{},getProps:O,aggregate:void 0,headerClassName:"",headerStyle:{},getHeaderProps:O,footerClassName:"",footerStyle:{},getFooterProps:O,filterMethod:void 0,filterAll:!1,sortMethod:void 0},expanderDefaults:{sortable:!1,resizable:!1,filterable:!1,width:35},pivotDefaults:{},previousText:"Previous",nextText:"Next",loadingText:"Loading...",noDataText:"No rows found",pageText:"Page",ofText:"of",rowsText:"rows",TableComponent:function(e){var t=e.children,n=e.className,a=k(e,["children","className"]);return r.a.createElement("div",T({className:A()("rt-table",n),role:"grid"},a),t)},TheadComponent:s.makeTemplateComponent("rt-thead","Thead"),TbodyComponent:s.makeTemplateComponent("rt-tbody","Tbody"),TrGroupComponent:function(e){var t=e.children,n=e.className,a=k(e,["children","className"]);return r.a.createElement("div",T({className:A()("rt-tr-group",n),role:"rowgroup"},a),t)},TrComponent:function(e){var t=e.children,n=e.className,a=k(e,["children","className"]);return r.a.createElement("div",T({className:A()("rt-tr",n),role:"row"},a),t)},ThComponent:function(e){var t=e.toggleSort,n=e.className,a=e.children,g=k(e,["toggleSort","className","children"]);return r.a.createElement("div",T({className:A()("rt-th",n),onClick:function(e){return t&&t(e)},role:"columnheader",tabIndex:"-1"},g),a)},TdComponent:function(e){e.toggleSort;var t=e.className,n=e.children,a=k(e,["toggleSort","className","children"]);return r.a.createElement("div",T({className:A()("rt-td",t),role:"gridcell"},a),n)},TfootComponent:s.makeTemplateComponent("rt-tfoot","Tfoot"),FilterComponent:function(e){var t=e.filter,n=e.onChange;return r.a.createElement("input",{type:"text",style:{width:"100%"},value:t?t.value:"",onChange:function(e){return n(e.target.value)}})},ExpanderComponent:function(e){var t=e.isExpanded;return r.a.createElement("div",{className:A()("rt-expander",t&&"-open")},"•")},PivotValueComponent:function(e){var t=e.subRows,n=e.value;return r.a.createElement("span",null,n," ",t&&"("+t.length+")")},AggregatedComponent:function(e){var t=e.subRows,n=e.column,a=t.filter(function(e){return void 0!==e[n.id]}).map(function(e,a){return r.a.createElement("span",{key:a},e[n.id],a<t.length-1?", ":"")});return r.a.createElement("span",null,a)},PivotComponent:void 0,PaginationComponent:w,PreviousComponent:void 0,NextComponent:void 0,LoadingComponent:function(e){var t=e.className,n=e.loading,a=e.loadingText,g=k(e,["className","loading","loadingText"]);return r.a.createElement("div",T({className:A()("-loading",{"-active":n},t)},g),r.a.createElement("div",{className:"-loading-inner"},a))},NoDataComponent:s.makeTemplateComponent("rt-noData","NoData"),ResizerComponent:s.makeTemplateComponent("rt-resizer","Resizer"),PadRowComponent:function(){return r.a.createElement("span",null," ")}},M={data:i.a.any,loading:i.a.bool,showPagination:i.a.bool,showPaginationTop:i.a.bool,showPaginationBottom:i.a.bool,showPageSizeOptions:i.a.bool,pageSizeOptions:i.a.array,defaultPageSize:i.a.number,showPageJump:i.a.bool,collapseOnSortingChange:i.a.bool,collapseOnPageChange:i.a.bool,collapseOnDataChange:i.a.bool,freezeWhenExpanded:i.a.bool,sortable:i.a.bool,resizable:i.a.bool,filterable:i.a.bool,defaultSortDesc:i.a.bool,defaultSorted:i.a.array,defaultFiltered:i.a.array,defaultResized:i.a.array,defaultExpanded:i.a.object,defaultFilterMethod:i.a.func,defaultSortMethod:i.a.func,onPageChange:i.a.func,onPageSizeChange:i.a.func,onSortedChange:i.a.func,onFilteredChange:i.a.func,onResizedChange:i.a.func,onExpandedChange:i.a.func,pivotBy:i.a.array,pivotValKey:i.a.string,pivotIDKey:i.a.string,subRowsKey:i.a.string,aggregatedKey:i.a.string,nestingLevelKey:i.a.string,originalKey:i.a.string,indexKey:i.a.string,groupedByPivotKey:i.a.string,onFetchData:i.a.func,className:i.a.string,style:i.a.object,getProps:i.a.func,getTableProps:i.a.func,getTheadGroupProps:i.a.func,getTheadGroupTrProps:i.a.func,getTheadGroupThProps:i.a.func,getTheadProps:i.a.func,getTheadTrProps:i.a.func,getTheadThProps:i.a.func,getTheadFilterProps:i.a.func,getTheadFilterTrProps:i.a.func,getTheadFilterThProps:i.a.func,getTbodyProps:i.a.func,getTrGroupProps:i.a.func,getTrProps:i.a.func,getTdProps:i.a.func,getTfootProps:i.a.func,getTfootTrProps:i.a.func,getTfootTdProps:i.a.func,getPaginationProps:i.a.func,getLoadingProps:i.a.func,getNoDataProps:i.a.func,getResizerProps:i.a.func,columns:i.a.arrayOf(i.a.shape({Cell:i.a.oneOfType([i.a.element,i.a.string,i.a.func]),Header:i.a.oneOfType([i.a.element,i.a.string,i.a.func]),Footer:i.a.oneOfType([i.a.element,i.a.string,i.a.func]),Aggregated:i.a.oneOfType([i.a.element,i.a.string,i.a.func]),Pivot:i.a.oneOfType([i.a.element,i.a.string,i.a.func]),PivotValue:i.a.oneOfType([i.a.element,i.a.string,i.a.func]),Expander:i.a.oneOfType([i.a.element,i.a.string,i.a.func]),Filter:i.a.oneOfType([i.a.element,i.a.func]),sortable:i.a.bool,resizable:i.a.bool,filterable:i.a.bool,show:i.a.bool,minWidth:i.a.number,className:i.a.string,style:i.a.object,getProps:i.a.func,aggregate:i.a.func,headerClassName:i.a.string,headerStyle:i.a.object,getHeaderProps:i.a.func,footerClassName:i.a.string,footerStyle:i.a.object,getFooterProps:i.a.object,filterMethod:i.a.func,filterAll:i.a.bool,sortMethod:i.a.func})),expanderDefaults:i.a.shape({sortable:i.a.bool,resizable:i.a.bool,filterable:i.a.bool,width:i.a.number}),pivotDefaults:i.a.object,previousText:i.a.node,nextText:i.a.node,loadingText:i.a.node,noDataText:i.a.node,pageText:i.a.node,ofText:i.a.node,rowsText:i.a.node,TableComponent:i.a.oneOfType([i.a.func,i.a.element]),TheadComponent:i.a.oneOfType([i.a.func,i.a.element]),TbodyComponent:i.a.oneOfType([i.a.func,i.a.element]),TrGroupComponent:i.a.oneOfType([i.a.func,i.a.element]),TrComponent:i.a.oneOfType([i.a.func,i.a.element]),ThComponent:i.a.oneOfType([i.a.func,i.a.element]),TdComponent:i.a.oneOfType([i.a.func,i.a.element]),TfootComponent:i.a.oneOfType([i.a.func,i.a.element]),FilterComponent:i.a.oneOfType([i.a.func,i.a.element]),ExpanderComponent:i.a.oneOfType([i.a.func,i.a.element]),PivotValueComponent:i.a.oneOfType([i.a.func,i.a.element]),AggregatedComponent:i.a.oneOfType([i.a.func,i.a.element]),PivotComponent:i.a.oneOfType([i.a.func,i.a.element]),PaginationComponent:i.a.oneOfType([i.a.func,i.a.element]),PreviousComponent:i.a.oneOfType([i.a.func,i.a.element]),NextComponent:i.a.oneOfType([i.a.func,i.a.element]),LoadingComponent:i.a.oneOfType([i.a.func,i.a.element]),NoDataComponent:i.a.oneOfType([i.a.func,i.a.element]),ResizerComponent:i.a.oneOfType([i.a.func,i.a.element]),PadRowComponent:i.a.oneOfType([i.a.func,i.a.element])},P=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,r=!1,g=void 0;try{for(var i,o=e[Symbol.iterator]();!(a=(i=o.next()).done)&&(n.push(i.value),!t||n.length!==t);a=!0);}catch(e){r=!0,g=e}finally{try{!a&&o.return&&o.return()}finally{if(r)throw g}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),E=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},R=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}();var S=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n.getResolvedState=n.getResolvedState.bind(n),n.getDataModel=n.getDataModel.bind(n),n.getSortedData=n.getSortedData.bind(n),n.fireFetchData=n.fireFetchData.bind(n),n.getPropOrState=n.getPropOrState.bind(n),n.getStateOrProp=n.getStateOrProp.bind(n),n.filterData=n.filterData.bind(n),n.sortData=n.sortData.bind(n),n.getMinRows=n.getMinRows.bind(n),n.onPageChange=n.onPageChange.bind(n),n.onPageSizeChange=n.onPageSizeChange.bind(n),n.sortColumn=n.sortColumn.bind(n),n.filterColumn=n.filterColumn.bind(n),n.resizeColumnStart=n.resizeColumnStart.bind(n),n.resizeColumnEnd=n.resizeColumnEnd.bind(n),n.resizeColumnMoving=n.resizeColumnMoving.bind(n),n.state={page:0,pageSize:e.defaultPageSize,sorted:e.defaultSorted,expanded:e.defaultExpanded,filtered:e.defaultFiltered,resized:e.defaultResized,currentlyResizing:!1,skipNextSort:!1},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,b(f(a["Component"]))),R(t,[{key:"render",value:function(){var e=this,t=this.getResolvedState(),n=t.children,a=t.className,g=t.style,i=t.getProps,o=t.getTableProps,C=t.getTheadGroupProps,I=t.getTheadGroupTrProps,c=t.getTheadGroupThProps,u=t.getTheadProps,l=t.getTheadTrProps,f=t.getTheadThProps,h=t.getTheadFilterProps,p=t.getTheadFilterTrProps,d=t.getTheadFilterThProps,m=t.getTbodyProps,y=t.getTrGroupProps,b=t.getTrProps,v=t.getTdProps,x=t.getTfootProps,_=t.getTfootTrProps,w=t.getTfootTdProps,T=t.getPaginationProps,k=t.getLoadingProps,O=t.getNoDataProps,M=t.getResizerProps,R=t.showPagination,S=t.showPaginationTop,j=t.showPaginationBottom,D=t.manual,L=t.loadingText,z=t.noDataText,F=t.sortable,W=t.multiSort,Z=t.resizable,q=t.filterable,G=t.pivotIDKey,U=t.pivotValKey,V=t.pivotBy,Y=t.subRowsKey,B=t.aggregatedKey,K=t.originalKey,H=t.indexKey,Q=t.groupedByPivotKey,X=t.loading,J=t.pageSize,$=t.page,ee=t.sorted,te=t.filtered,ne=t.resized,ae=t.expanded,re=t.pages,ge=t.onExpandedChange,ie=t.TableComponent,oe=t.TheadComponent,Ae=t.TbodyComponent,Ce=t.TrGroupComponent,Ie=t.TrComponent,se=t.ThComponent,ce=t.TdComponent,ue=t.TfootComponent,le=t.PaginationComponent,fe=t.LoadingComponent,he=t.SubComponent,pe=t.NoDataComponent,de=t.ResizerComponent,me=t.ExpanderComponent,ye=t.PivotValueComponent,be=t.PivotComponent,ve=t.AggregatedComponent,xe=t.FilterComponent,_e=t.PadRowComponent,we=t.resolvedData,Te=t.allVisibleColumns,ke=t.headerGroups,Oe=t.hasHeaderGroups,Ne=t.sortedData,Me=t.currentlyResizing,Pe=J*$,Ee=Pe+J,Re=D?we:Ne.slice(Pe,Ee),Se=this.getMinRows(),je=s.range(Math.max(Se-Re.length,0)),De=Te.some(function(e){return e.Footer}),Le=q||Te.some(function(e){return e.filterable}),ze=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1;return[t.map(function(t,r){var g=E({},t,{_viewIndex:a+=1}),i=n.concat([r]);if(g[Y]&&s.get(ae,i)){var o=e(g[Y],i,a),A=P(o,2);g[Y]=A[0],a=A[1]}return g}),a]}(Re),Fe=P(ze,1);Re=Fe[0];var We=$>0,Ze=$+1<re,qe=s.sum(Te.map(function(e){var t=ne.find(function(t){return t.id===e.id})||{};return s.getFirstDefined(t.value,e.width,e.minWidth)})),Ge=-1,Ue=E({},t,{startRow:Pe,endRow:Ee,pageRows:Re,minRows:Se,padRows:je,hasColumnFooter:De,canPrevious:We,canNext:Ze,rowMinWidth:qe}),Ve=s.splitProps(i(Ue,void 0,void 0,this)),Ye=s.splitProps(o(Ue,void 0,void 0,this)),Be=s.splitProps(m(Ue,void 0,void 0,this)),Ke=k(Ue,void 0,void 0,this),He=O(Ue,void 0,void 0,this),Qe=function(t,n){var a=function(e){return(ne.find(function(t){return t.id===e.id})||{}).value},g=s.sum(t.columns.map(function(e){return e.width||a(e)?0:e.minWidth})),i=s.sum(t.columns.map(function(e){return s.getFirstDefined(a(e),e.width,e.minWidth)})),o=s.sum(t.columns.map(function(e){return s.getFirstDefined(a(e),e.width,e.maxWidth)})),C=s.splitProps(c(Ue,void 0,t,e)),I=s.splitProps(t.getHeaderProps(Ue,void 0,t,e)),u=[t.headerClassName,C.className,I.className],l=E({},t.headerStyle,C.style,I.style),f=E({},C.rest,I.rest),h={flex:g+" 0 auto",width:s.asPx(i),maxWidth:s.asPx(o)};return r.a.createElement(se,E({key:n+"-"+t.id,className:A()(u),style:E({},l,h)},f),s.normalizeComponent(t.Header,{data:Ne,column:t}))},Xe=function(t,n){var a=ne.find(function(e){return e.id===t.id})||{},g=ee.find(function(e){return e.id===t.id}),i="function"==typeof t.show?t.show():t.show,o=s.getFirstDefined(a.value,t.width,t.minWidth),C=s.getFirstDefined(a.value,t.width,t.maxWidth),I=s.splitProps(f(Ue,void 0,t,e)),c=s.splitProps(t.getHeaderProps(Ue,void 0,t,e)),u=[t.headerClassName,I.className,c.className],l=E({},t.headerStyle,I.style,c.style),h=E({},I.rest,c.rest),p=s.getFirstDefined(t.resizable,Z,!1),d=p?r.a.createElement(de,E({onMouseDown:function(n){return e.resizeColumnStart(n,t,!1)},onTouchStart:function(n){return e.resizeColumnStart(n,t,!0)}},M("finalState",void 0,t,e))):null,m=s.getFirstDefined(t.sortable,F,!1);return r.a.createElement(se,E({key:n+"-"+t.id,className:A()(u,p&&"rt-resizable-header",g?g.desc?"-sort-desc":"-sort-asc":"",m&&"-cursor-pointer",!i&&"-hidden",V&&V.slice(0,-1).includes(t.id)&&"rt-header-pivot"),style:E({},l,{flex:o+" 0 auto",width:s.asPx(o),maxWidth:s.asPx(C)}),toggleSort:function(n){m&&e.sortColumn(t,!!W&&n.shiftKey)}},h),r.a.createElement("div",{className:A()(p&&"rt-resizable-header-content")},s.normalizeComponent(t.Header,{data:Ne,column:t})),d)},Je=function(t,n){var a=ne.find(function(e){return e.id===t.id})||{},g=s.getFirstDefined(a.value,t.width,t.minWidth),i=s.getFirstDefined(a.value,t.width,t.maxWidth),o=s.splitProps(d(Ue,void 0,t,e)),C=s.splitProps(t.getHeaderProps(Ue,void 0,t,e)),I=[t.headerClassName,o.className,C.className],c=E({},t.headerStyle,o.style,C.style),u=E({},o.rest,C.rest),l=te.find(function(e){return e.id===t.id}),f=t.Filter||xe,h=s.getFirstDefined(t.filterable,q,!1);return r.a.createElement(se,E({key:n+"-"+t.id,className:A()(I),style:E({},c,{flex:g+" 0 auto",width:s.asPx(g),maxWidth:s.asPx(i)})},u),h?s.normalizeComponent(f,{column:t,filter:l,onChange:function(n){return e.filterColumn(t,n)}},N.column.Filter):null)},$e=function(t,n){var a=ne.find(function(e){return e.id===t.id})||{},g="function"==typeof t.show?t.show():t.show,i=s.getFirstDefined(a.value,t.width,t.minWidth),o=i,C=s.getFirstDefined(a.value,t.width,t.maxWidth),I=s.splitProps(v(Ue,void 0,t,e)),c=s.splitProps(t.getProps(Ue,void 0,t,e)),u=[I.className,t.className,c.className],l=E({},I.style,t.style,c.style);return r.a.createElement(ce,E({key:n+"-"+t.id,className:A()(u,!g&&"hidden"),style:E({},l,{flex:o+" 0 auto",width:s.asPx(i),maxWidth:s.asPx(C)})},I.rest),s.normalizeComponent(_e))},et=function(t,n){var a=y(Ue,void 0,void 0,e),g=s.splitProps(b(Ue,void 0,void 0,e));return r.a.createElement(Ce,E({key:n},a),r.a.createElement(Ie,{className:A()("-padRow",(Re.length+n)%2?"-even":"-odd",g.className),style:g.style||{}},Te.map($e)))},tt=function(t,n){var a=ne.find(function(e){return e.id===t.id})||{},g="function"==typeof t.show?t.show():t.show,i=s.getFirstDefined(a.value,t.width,t.minWidth),o=s.getFirstDefined(a.value,t.width,t.maxWidth),C=s.splitProps(w(Ue,void 0,void 0,e)),I=s.splitProps(t.getProps(Ue,void 0,t,e)),c=s.splitProps(t.getFooterProps(Ue,void 0,t,e)),u=[C.className,t.className,I.className,c.className],l=E({},C.style,t.style,I.style,c.style);return r.a.createElement(ce,E({key:n+"-"+t.id,className:A()(u,!g&&"hidden"),style:E({},l,{flex:i+" 0 auto",width:s.asPx(i),maxWidth:s.asPx(o)})},I.rest,C.rest,c.rest),s.normalizeComponent(t.Footer,{data:Ne,column:t}))},nt=function(){var n=function(){var n=s.splitProps(T(Ue,void 0,void 0,e));return r.a.createElement(le,E({},t,{pages:re,canPrevious:We,canNext:Ze,onPageChange:e.onPageChange,onPageSizeChange:e.onPageSizeChange,className:n.className,style:n.style},n.rest))}();return r.a.createElement("div",E({className:A()("ReactTable",a,Ve.className),style:E({},g,Ve.style)},Ve.rest),R&&S?r.a.createElement("div",{className:"pagination-top"},n):null,r.a.createElement(ie,E({className:A()(Ye.className,Me?"rt-resizing":""),style:Ye.style},Ye.rest),Oe?function(){var t=s.splitProps(C(Ue,void 0,void 0,e)),n=s.splitProps(I(Ue,void 0,void 0,e));return r.a.createElement(oe,E({className:A()("-headerGroups",t.className),style:E({},t.style,{minWidth:qe+"px"})},t.rest),r.a.createElement(Ie,E({className:n.className,style:n.style},n.rest),ke.map(Qe)))}():null,function(){var t=s.splitProps(u(Ue,void 0,void 0,e)),n=s.splitProps(l(Ue,void 0,void 0,e));return r.a.createElement(oe,E({className:A()("-header",t.className),style:E({},t.style,{minWidth:qe+"px"})},t.rest),r.a.createElement(Ie,E({className:n.className,style:n.style},n.rest),Te.map(Xe)))}(),Le?function(){var t=s.splitProps(h(Ue,void 0,void 0,e)),n=s.splitProps(p(Ue,void 0,void 0,e));return r.a.createElement(oe,E({className:A()("-filters",t.className),style:E({},t.style,{minWidth:qe+"px"})},t.rest),r.a.createElement(Ie,E({className:n.className,style:n.style},n.rest),Te.map(Je)))}():null,r.a.createElement(Ae,E({className:A()(Be.className),style:E({},Be.style,{minWidth:qe+"px"})},Be.rest),Re.map(function(t,n){return function t(n,a){var g=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i={original:n[K],row:n,index:n[H],viewIndex:Ge+=1,pageSize:J,page:$,level:g.length,nestingPath:g.concat([a]),aggregated:n[B],groupedByPivot:n[Q],subRows:n[Y]},o=s.get(ae,i.nestingPath),C=y(Ue,i,void 0,e),I=s.splitProps(b(Ue,i,void 0,e));return r.a.createElement(Ce,E({key:i.nestingPath.join("_")},C),r.a.createElement(Ie,E({className:A()(I.className,n._viewIndex%2?"-even":"-odd"),style:I.style},I.rest),Te.map(function(t,a){var g=ne.find(function(e){return e.id===t.id})||{},C="function"==typeof t.show?t.show():t.show,I=s.getFirstDefined(g.value,t.width,t.minWidth),c=s.getFirstDefined(g.value,t.width,t.maxWidth),u=s.splitProps(v(Ue,i,t,e)),l=s.splitProps(t.getProps(Ue,i,t,e)),f=[u.className,t.className,l.className],h=E({},u.style,t.style,l.style),p=E({},i,{isExpanded:o,column:E({},t),value:i.row[t.id],pivoted:t.pivoted,expander:t.expander,resized:ne,show:C,width:I,maxWidth:c,tdProps:u,columnProps:l,classes:f,styles:h}),d=p.value,m=void 0,y=void 0,b=void 0,x=s.normalizeComponent(t.Cell,p,d),_=t.Aggregated||(t.aggregate?t.Cell:ve),w=t.Expander||me,T=t.PivotValue||ye,k=be||function(e){return r.a.createElement("div",null,r.a.createElement(w,e),r.a.createElement(T,e))},O=t.Pivot||k;(p.pivoted||p.expander)&&(p.expandable=!0,m=!0,!p.pivoted||p.subRows||he||(p.expandable=!1)),p.pivoted?(y=i.row[G]===t.id&&p.subRows,b=V.indexOf(t.id)>V.indexOf(i.row[G])&&p.subRows,x=y?s.normalizeComponent(O,E({},p,{value:n[U]}),n[U]):b?s.normalizeComponent(_,p,d):null):p.aggregated&&(x=s.normalizeComponent(_,p,d)),p.expander&&(x=s.normalizeComponent(w,p,n[U]),V&&(p.groupedByPivot&&(x=null),p.subRows||he||(x=null)));var N=m?function(t){var n=s.clone(ae);return n=o?s.set(n,p.nestingPath,!1):s.set(n,p.nestingPath,{}),e.setStateWithData({expanded:n},function(){return ge&&ge(n,p.nestingPath,t)})}:function(){},M={onClick:N};return u.rest.onClick&&(M.onClick=function(e){u.rest.onClick(e,function(){return N(e)})}),l.rest.onClick&&(M.onClick=function(e){l.rest.onClick(e,function(){return N(e)})}),r.a.createElement(ce,E({key:a+"-"+t.id,className:A()(f,!C&&"hidden",p.expandable&&"rt-expandable",(y||b)&&"rt-pivot"),style:E({},h,{flex:I+" 0 auto",width:s.asPx(I),maxWidth:s.asPx(c)})},u.rest,l.rest,M),x)})),i.subRows&&o&&i.subRows.map(function(e,n){return t(e,n,i.nestingPath)}),he&&!i.subRows&&o&&he(i))}(t,n)}),je.map(et)),De?function(){var t=x(Ue,void 0,void 0,e),n=s.splitProps(_(Ue,void 0,void 0,e));return r.a.createElement(ue,E({className:t.className,style:E({},t.style,{minWidth:qe+"px"})},t.rest),r.a.createElement(Ie,E({className:A()(n.className),style:n.style},n.rest),Te.map(tt)))}():null),R&&j?r.a.createElement("div",{className:"pagination-bottom"},n):null,!Re.length&&r.a.createElement(pe,He,s.normalizeComponent(z)),r.a.createElement(fe,E({loading:X,loadingText:L},Ke)))};return n?n(Ue,nt,this):nt()}}]),t}();S.propTypes=M,S.defaultProps=N;var j=S;function D(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function L(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function z(e,t,n){return t&&L(e.prototype,t),n&&L(e,n),e}function F(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function W(){return(W=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Z(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&&function(e,t){(Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}(e,t)}function q(e){return(q=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function G(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?G(e):t}((function(e){function t(e){var n;return D(this,t),(n=U(this,q(t).call(this,e))).state={active:n.props.active},n.handleClick=n.handleClick.bind(G(G(n))),n}return Z(t,r.a.Component),z(t,[{key:"handleClick",value:function(e){var t=this;e.preventDefault(),this.setState({active:e.target.id},function(){return t.props.onChange(t.state.active)})}},{key:"render",value:function(){var e=this,t=this.props.options,n=this.state.active;return r.a.createElement("div",{className:"dv-btn-group",role:"group"},t.map(function(t){return r.a.createElement("button",{type:"button",className:"dv-btn ".concat(n===t.id?"dv-btn-active":""),onClick:e.handleClick,id:t.id},t.text)}))}}]),t})()).propTypes={options:i.a.arrayOf(i.a.shape({text:i.a.string,id:i.a.oneOfType([i.a.string,i.a.number])})).isRequired,onChange:i.a.func.isRequired,active:i.a.oneOfType([i.a.string,i.a.number])};var V=function(e){function t(e){var n;return D(this,t),(n=U(this,q(t).call(this,e))).state={},n.props.options.forEach(function(e){n.state[e.id]=!!e.checked}),n.handleChange=n.handleChange.bind(G(G(n))),n}return Z(t,r.a.Component),z(t,[{key:"handleChange",value:function(e){var t=this;this.setState(F({},e.target.id,e.target.checked),function(){return t.props.onChange(t.state)})}},{key:"render",value:function(){var e=this,t=this.props,n=t.orientation,a=t.options,g=t.style,i=t.title;return r.a.createElement("div",{className:"dv-checkbox-container ".concat("vertical"===n?"dv-checkbox-container-vertical":"horizontal"===n?"dv-checkbox-container-horizontal":""),style:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){F(e,t,n[t])})}return e}({},g)},i?r.a.createElement("span",{className:"dv-checkbox-container__title"},i):null,a.map(function(t,n){return r.a.createElement("div",{className:"dv-checkbox",key:n},r.a.createElement("input",{id:t.id,type:"checkbox",checked:e.state[t.id],onChange:e.handleChange}),r.a.createElement("label",{htmlFor:t.id,className:"dv-checkbox-label"},t.label))}))}}]),t}();V.propTypes={options:i.a.arrayOf(i.a.shape({label:i.a.string,id:i.a.oneOfType([i.a.string,i.a.number]),checked:i.a.bool})).isRequired,onChange:i.a.func.isRequired,orientation:i.a.oneOf(["vertical","horizontal"]),style:i.a.object,title:i.a.string},V.defaultProps={orientation:"vertical"};var Y=function(e){function t(e){var n;return D(this,t),(n=U(this,q(t).call(this,e))).state={search:""},n}return Z(t,r.a.Component),z(t,[{key:"updateSearch",value:function(e){var t=this;this.setState({search:e.target.value},function(){return t.props.onChange(t.state.search)})}},{key:"render",value:function(){var e=this.props,t=e.placeholder,n=e.className,a=e.style;return r.a.createElement("input",{type:"search",placeholder:t||"Search...",onChange:this.updateSearch.bind(this),value:this.state.search,className:"dv-search ".concat(n||""),style:a})}}]),t}();Y.propTypes={onChange:i.a.func.isRequired,placeholder:i.a.string,className:i.a.string,style:i.a.object},(function(e){function t(e){var n;return D(this,t),(n=U(this,q(t).call(this,e))).onSelectChange=n.onSelectChange.bind(G(G(n))),n.state={value:n.props.selected||""},n}return Z(t,r.a.Component),z(t,[{key:"onSelectChange",value:function(e){var t=this;this.setState({value:e.target.value},function(){return t.props.onChange(t.state.value)})}},{key:"render",value:function(){var e=this.props,t=e.options,n=(e.selected,e.onChange,e.className),a=function(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},g=Object.keys(e);for(a=0;a<g.length;a++)n=g[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var g=Object.getOwnPropertySymbols(e);for(a=0;a<g.length;a++)n=g[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["options","selected","onChange","className"]);return r.a.createElement("select",W({onChange:this.onSelectChange,value:this.state.value,className:"dv-select ".concat(n||"")},a),t.map(function(e,t){return r.a.createElement("option",{value:e,key:e},e)}))}}]),t}()).propTypes={onChange:i.a.func.isRequired,options:i.a.arrayOf(i.a.string).isRequired,selected:i.a.string,className:i.a.string},(function(e){function t(e){var n;return D(this,t),(n=U(this,q(t).call(this,e))).state={value:n.props.value},n.handleChange=n.handleChange.bind(G(G(n))),n}return Z(t,r.a.Component),z(t,[{key:"handleChange",value:function(e){var t=this;this.setState({value:e.target.value},function(){return t.props.onChange(t.state.value)})}},{key:"render",value:function(){var e=this.props,t=e.label,n=e.min,a=e.max,g=e.step,i=e.id,o=this.state.value,A=Math.round(+o/+a*1*100);return r.a.createElement("div",{className:"dv-range-slider"},r.a.createElement("div",{className:"dv-range-slider__label-container"},r.a.createElement("span",{className:"dv-range-slider__label"},t),r.a.createElement("span",{className:"dv-range-slider__value"},o," out of ",a)),r.a.createElement("input",{id:i,className:"dv-range-slider__range",type:"range",value:o,min:n,max:a,step:g||1,onChange:this.handleChange,onTouchMove:this.handleChange,style:{background:"linear-gradient(90deg,#2dd1ac ".concat(A,"%,#e3e3e3 ").concat(A,"%)")}}))}}]),t}()).propTypes={onChange:i.a.func.isRequired,label:i.a.string.isRequired,min:i.a.number.isRequired,max:i.a.number.isRequired,step:i.a.number,id:i.a.string};var B=function(e){function t(e){var n;return D(this,t),(n=U(this,q(t).call(this,e))).state={checked:n.props.checked},n.handleChange=n.handleChange.bind(G(G(n))),n}return Z(t,r.a.Component),z(t,[{key:"handleChange",value:function(e){var t=this;this.setState({checked:e.target.checked},function(){return t.props.onChange(t.state.checked)})}},{key:"render",value:function(){var e=this.props,t=e.onLabel,n=e.offLabel,a=e.id,g=this.state.checked;return r.a.createElement("div",{className:"dv-toggle-container"},r.a.createElement("div",{className:"dv-toggle"},r.a.createElement("input",{type:"checkbox",className:"dv-toggle__input",onChange:this.handleChange,checked:!!g,id:a}),r.a.createElement("label",{htmlFor:a,className:"dv-toggle__button"})),r.a.createElement("span",{className:"dv-toggle__label"},g?t:n))}}]),t}();function K(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function H(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Q(e,t,n){return t&&H(e.prototype,t),n&&H(e,n),e}function X(){return(X=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function J(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&&function(e,t){(Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}(e,t)}function $(e){return($=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ee(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},g=Object.keys(e);for(a=0;a<g.length;a++)n=g[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var g=Object.getOwnPropertySymbols(e);for(a=0;a<g.length;a++)n=g[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function te(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ne(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?te(e):t}B.propTypes={onChange:i.a.func.isRequired,checked:i.a.bool,onLabel:i.a.string.isRequired,offLabel:i.a.string.isRequired,id:i.a.string},B.defaultProps={checked:!1};var ae=function(e){return r.a.createElement("button",X({type:"button"},e,{className:"pagination__btn"}),e.children)},re=function(e){function t(e){var n;return K(this,t),(n=ne(this,$(t).call(this))).getSafePage=n.getSafePage.bind(te(te(n))),n.changePage=n.changePage.bind(te(te(n))),n.applyPage=n.applyPage.bind(te(te(n))),n.state={page:e.page},n}return J(t,r.a.Component),Q(t,[{key:"componentWillReceiveProps",value:function(e){this.setState({page:e.page})}},{key:"getSafePage",value:function(e){return Number.isNaN(e)&&(e=this.props.page),Math.min(Math.max(e,0),this.props.pages-1)}},{key:"changePage",value:function(e){e=this.getSafePage(e),this.setState({page:e}),this.props.page!==e&&this.props.onPageChange(e)}},{key:"applyPage",value:function(e){e&&e.preventDefault();var t=this.state.page;this.changePage(""===t?this.props.page:t)}},{key:"render",value:function(){var e=this,t=this.props,n=t.pages,a=t.page,g=t.sortedData,i=(t.showPageSizeOptions,t.pageSizeOptions,t.pageSize),o=t.showPageJump,A=t.canPrevious,C=t.canNext,I=(t.onPageSizeChange,t.className,t.PreviousComponent),s=void 0===I?ae:I,c=t.NextComponent,u=void 0===c?ae:c;return r.a.createElement("div",{className:"pagination",style:this.props.style},r.a.createElement("span",{className:"pagination__number-of-entries"},"Showing ",a*i+1," to"," ",a===n-1?g.length:a*i+i," ","of ",g.length," entries"),r.a.createElement("div",{className:"pagination__controls"},r.a.createElement("div",{className:"pagination__previous"},r.a.createElement(s,{onClick:function(){A&&e.changePage(a-1)},disabled:!A},this.props.previousText)),r.a.createElement("div",{className:"pagination__center"},r.a.createElement("span",{className:"pagination__page-info"},this.props.pageText," ",o?r.a.createElement("div",{className:"pagination__page-jump"},r.a.createElement("input",{type:""===this.state.page?"text":"number",onChange:function(t){var n=t.target.value,a=n-1;if(""===n)return e.setState({page:n});e.setState({page:e.getSafePage(a)})},value:""===this.state.page?"":this.state.page+1,onBlur:this.applyPage,onKeyPress:function(t){13!==t.which&&13!==t.keyCode||e.applyPage()}})):r.a.createElement("span",{className:"pagination__current-page"},a+1)," ",this.props.ofText,r.a.createElement("span",{className:"pagination__total-pages"},n||1))),r.a.createElement("div",{className:"pagination__next"},r.a.createElement(u,{onClick:function(){C&&e.changePage(a+1)},disabled:!C},this.props.nextText))))}}]),t}(),ge=function(e){var t=e.data,n=e.columns,a=e.showPagination,g=e.children,i=ee(e,["data","columns","showPagination","children"]);return r.a.createElement("div",{className:"dv-DataTable"},g,r.a.createElement(j,X({data:t,columns:n,className:"-striped",showPagination:a,showPageSizeOptions:!1,PaginationComponent:re},i)))};ge.propTypes={data:i.a.array.isRequired,columns:i.a.arrayOf(i.a.object).isRequired,showPagination:i.a.bool,children:i.a.element},ge.defaultProps={showPagination:!0};ie=ge,function(e){function t(e){var n;return K(this,t),(n=ne(this,$(t).call(this,e))).state={search:""},n}J(t,r.a.Component),Q(t,[{key:"handleChange",value:function(e){this.setState({search:e})}},{key:"render",value:function(){var e=this.state.search,t=this.props,n=t.data,a=ee(t,["data"]),g=n;return e.length>0&&(g=n.filter(function(t){return Object.keys(t).some(function(n){return"string"==typeof t[n]&&t[n].toLowerCase().includes(e.toLowerCase())})})),r.a.createElement(ie,X({data:g},a),r.a.createElement(Y,{onChange:this.handleChange.bind(this)}))}}])}();var ie,oe=function(e){var t=e.children,n=e.style,a=e.className,g=e.full,i=e.noBackground;return r.a.createElement("div",{className:"dv-ChartContainer ".concat(i?"dv-ChartContainer-nobg":""," ").concat(a||""),style:n},g?r.a.createElement("div",{className:"dv-ChartContainer__child"},t):t)};oe.propTypes={children:i.a.any,style:i.a.object,className:i.a.string,full:i.a.bool,noBackground:i.a.bool},oe.defaultProps={full:!1,noBackground:!1};var Ae=function(e){var t=e.children,n=e.className,a=e.style;return r.a.createElement("h3",{className:"dv-chart__title ".concat(n||""),style:a},t)};Ae.propTypes={children:i.a.any,className:i.a.string,style:i.a.object};i.a.any,i.a.string,i.a.object;var Ce=function(e){var t=e.children,n=e.className,a=e.style;return r.a.createElement("span",{className:"dv-chart__source ".concat(n||""),style:a},t)};Ce.propTypes={children:i.a.any,className:i.a.string,style:i.a.object};var Ie={turquoise:{very_light:"#97DED9",very_light_2:"#62CDC6",light:"#2EBCB3",medium:"#1A8A84",dark:"#005753"},blue:{very_light:"#ADD2ED",very_light_2:"#84BBE4",light:"#5BA4DA",medium:"#4378A0",dark:"#234A67",very_dark:"#1B384E"},red:{light:"#E75C64",medium:"#A64046",dark:"#692025"},purple:{very_light:"#bd9fc6",light:"#A076AC",medium:"#74557E",dark:"#48304F"},grey:{light:"#EAEAEB",medium_light:"#CBCBCD",medium:"#ABACAE",dark:"#2C2F35"},orange:{light:"#f19348",medium:"#ac6a31",dark:"#6d3f13"},yellow:{light:"#f4dc70",medium:"#ae9f51",dark:"#6c642f"},brown:{light:"#bf9963",medium:"#8d7248",dark:"#574527"},white:"#FFFFFF",black:"#2c2f35"};var se=function(){return r.a.createElement("svg",{viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg",style:{width:"1rem",height:"auto"}},r.a.createElement("circle",{cx:"25",cy:"25",r:"24",stroke:"#2ebcb3",strokeWidth:"2",fill:"none",fillRule:"evenodd"}))},ce=function(){return r.a.createElement("svg",{viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",style:{width:"1rem",height:"auto"}},r.a.createElement("defs",null,r.a.createElement("circle",{id:"a",cx:"24",cy:"24",r:"24"})),r.a.createElement("g",{transform:"translate(1 1)",fill:"none",fillRule:"evenodd"},r.a.createElement("mask",{id:"b",fill:"#fff"},r.a.createElement("use",{xlinkHref:"#a"})),r.a.createElement("use",{fill:"#2ebcb3",xlinkHref:"#a"}),r.a.createElement("path",{fill:"#FFF",mask:"url(#b)",d:"M-1-1h25v50H-1z"}),r.a.createElement("circle",{stroke:"#2ebcb3",strokeWidth:"2",cx:"24",cy:"24",r:"24"})))},ue=function(){return r.a.createElement("svg",{viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg",style:{width:"1rem",height:"auto"}},r.a.createElement("circle",{cx:"25",cy:"25",r:"25",fill:"#2ebcb3",fillRule:"evenodd"}))},le=n(10),fe=n(9),he=n.n(fe);function pe(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function de(){return(de=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function me(e){return(me=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ye(e,t){return(ye=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function be(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var ve={top:0,right:0,bottom:0,left:0,width:0,height:0};i.a.shape({top:i.a.number.isRequired,right:i.a.number.isRequired,bottom:i.a.number.isRequired,left:i.a.number.isRequired,width:i.a.number.isRequired,height:i.a.number.isRequired}),i.a.func;function xe(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function _e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function we(){return(we=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Te(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){_e(e,t,n[t])})}return e}function ke(e){return(ke=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 Ne(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},g=Object.keys(e);for(a=0;a<g.length;a++)n=g[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var g=Object.getOwnPropertySymbols(e);for(a=0;a<g.length;a++)n=g[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Me(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}i.a.bool,i.a.number,i.a.number,i.a.object,i.a.func,i.a.func,i.a.func;function Pe(e){var t=e.className,n=e.top,a=e.left,g=e.style,i=e.children,o=Ne(e,["className","top","left","style","children"]);return r.a.createElement("div",we({className:A()("vx-tooltip-portal",t),style:Te({position:"absolute",backgroundColor:"white",color:"#666666",padding:".3rem .5rem",borderRadius:"3px",fontSize:"14px",boxShadow:"0 1px 2px rgba(33,33,33,0.2)",lineHeight:"1em",pointerEvents:"none",top:n,left:a},g)},o),i)}Pe.propTypes={left:i.a.oneOfType([i.a.number,i.a.string]),top:i.a.oneOfType([i.a.number,i.a.string]),className:i.a.string,style:i.a.object,children:i.a.any};var Ee=i.a.shape({top:i.a.number.isRequired,right:i.a.number.isRequired,bottom:i.a.number.isRequired,left:i.a.number.isRequired,width:i.a.number.isRequired,height:i.a.number.isRequired}),Re=Te({},{getRects:i.a.func,rect:Ee,parentRect:Ee},{left:i.a.oneOfType([i.a.number,i.a.string]),top:i.a.oneOfType([i.a.number,i.a.string]),className:i.a.string,style:i.a.object,children:i.a.any},{offsetLeft:i.a.number,offsetTop:i.a.number});function Se(e){var t=e.left,n=e.top,a=e.offsetLeft,g=void 0===a?10:a,i=e.offsetTop,o=void 0===i?10:i,A=e.rect,C=e.parentRect,I=(e.getRects,e.children),s=e.style,c=Ne(e,["left","top","offsetLeft","offsetTop","rect","parentRect","getRects","children","style"]),u=t,l=n;return A&&C&&(u=g+A.right>C.right||g+A.right>window.innerWidth?u-A.width-g:u+g,l=o+A.bottom>C.bottom||o+A.bottom>window.innerHeight?l-A.height-o:l+o),u=Math.round(u),l=Math.round(l),r.a.createElement(Pe,we({style:Te({top:0,transform:"translate(".concat(u,"px, ").concat(l,"px)")},s)},c),I)}Se.propTypes=Re,Se.defaultProps={};var je=function(e){var t=function(t){function n(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),(t=function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?be(e):t}(this,me(n).call(this,e))).state={rect:void 0,parentRect:void 0},t.getRects=t.getRects.bind(be(be(t))),t}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&&ye(e,t)}(n,r.a.PureComponent),function(e,t,n){t&&pe(e.prototype,t),n&&pe(e,n)}(n,[{key:"componentDidMount",value:function(){var e=this;this.node=he.a.findDOMNode(this),this.setState(function(){return e.getRects()})}},{key:"getRects",value:function(){if(!this.node)return this.state;var e=this.node,t=this.node.parentNode;return{rect:e.getBoundingClientRect?e.getBoundingClientRect():ve,parentRect:t&&t.getBoundingClientRect?t.getBoundingClientRect():ve}}},{key:"render",value:function(){return r.a.createElement(e,de({getRects:this.getRects},this.state,this.props))}}]),n}();return t.propTypes=e.propTypes,t.defaultProps=e.defaultProps,t.displayName="withBoundingRects(".concat(e.displayName||"",")"),t}(Se);function De(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}var Le=function(){function e(t){var n=t.x,a=void 0===n?0:n,r=t.y,g=void 0===r?0:r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.x=a,this.y=g}return function(e,t,n){t&&De(e.prototype,t),n&&De(e,n)}(e,[{key:"value",value:function(){return{x:this.x,y:this.y}}},{key:"toArray",value:function(){return[this.x,this.y]}}]),e}();function ze(e,t){if(e){if(e.target)for(e=(t=e).target.ownerSVGElement;e.ownerSVGElement;)e=e.ownerSVGElement;var n=t,a=n.clientX,r=n.clientY;if(t.changedTouches&&(a=t.changedTouches[0].clientX,r=t.changedTouches[0].clientY),e.createSVGPoint){var g=e.createSVGPoint();return g.x=a,g.y=r,g=g.matrixTransform(e.getScreenCTM().inverse()),new Le({x:g.x,y:g.y})}var i=e.getBoundingClientRect();return new Le({x:a-i.left-e.clientLeft,y:r-i.top-e.clientTop})}}function Fe(){return(Fe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function We(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},g=Object.keys(e);for(a=0;a<g.length;a++)n=g[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var g=Object.getOwnPropertySymbols(e);for(a=0;a<g.length;a++)n=g[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Ze(e){var t=e.top,n=void 0===t?0:t,a=e.left,g=void 0===a?0:a,i=e.transform,o=e.className,C=e.children,I=We(e,["top","left","transform","className","children"]);return r.a.createElement("g",Fe({className:A()("vx-group",o),transform:i||"translate(".concat(g,", ").concat(n,")")},I),C)}function qe(){return(qe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Ge(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},g=Object.keys(e);for(a=0;a<g.length;a++)n=g[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var g=Object.getOwnPropertySymbols(e);for(a=0;a<g.length;a++)n=g[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Ue(e){var t=e.top,n=void 0===t?0:t,a=e.left,g=void 0===a?0:a,i=e.transform,o=e.className,C=e.children,I=Ge(e,["top","left","transform","className","children"]);return r.a.createElement("g",qe({className:A()("vx-group",o),transform:i||"translate(".concat(g,", ").concat(n,")")},I),C)}Ze.propTypes={top:i.a.number,left:i.a.number,transform:i.a.string,className:i.a.string,children:i.a.any};var Ve=Math.PI,Ye=2*Ve,Be=Ye-1e-6;function Ke(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function He(){return new Ke}Ke.prototype=He.prototype={constructor:Ke,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,a){this._+="Q"+ +e+","+ +t+","+(this._x1=+n)+","+(this._y1=+a)},bezierCurveTo:function(e,t,n,a,r,g){this._+="C"+ +e+","+ +t+","+ +n+","+ +a+","+(this._x1=+r)+","+(this._y1=+g)},arcTo:function(e,t,n,a,r){e=+e,t=+t,n=+n,a=+a,r=+r;var g=this._x1,i=this._y1,o=n-e,A=a-t,C=g-e,I=i-t,s=C*C+I*I;if(r<0)throw new Error("negative radius: "+r);if(null===this._x1)this._+="M"+(this._x1=e)+","+(this._y1=t);else if(s>1e-6)if(Math.abs(I*o-A*C)>1e-6&&r){var c=n-g,u=a-i,l=o*o+A*A,f=c*c+u*u,h=Math.sqrt(l),p=Math.sqrt(s),d=r*Math.tan((Ve-Math.acos((l+s-f)/(2*h*p)))/2),m=d/p,y=d/h;Math.abs(m-1)>1e-6&&(this._+="L"+(e+m*C)+","+(t+m*I)),this._+="A"+r+","+r+",0,0,"+ +(I*c>C*u)+","+(this._x1=e+y*o)+","+(this._y1=t+y*A)}else this._+="L"+(this._x1=e)+","+(this._y1=t);else;},arc:function(e,t,n,a,r,g){e=+e,t=+t;var i=(n=+n)*Math.cos(a),o=n*Math.sin(a),A=e+i,C=t+o,I=1^g,s=g?a-r:r-a;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+A+","+C:(Math.abs(this._x1-A)>1e-6||Math.abs(this._y1-C)>1e-6)&&(this._+="L"+A+","+C),n&&(s<0&&(s=s%Ye+Ye),s>Be?this._+="A"+n+","+n+",0,1,"+I+","+(e-i)+","+(t-o)+"A"+n+","+n+",0,1,"+I+","+(this._x1=A)+","+(this._y1=C):s>1e-6&&(this._+="A"+n+","+n+",0,"+ +(s>=Ve)+","+I+","+(this._x1=e+n*Math.cos(r))+","+(this._y1=t+n*Math.sin(r))))},rect:function(e,t,n,a){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +n+"v"+ +a+"h"+-n+"Z"},toString:function(){return this._}};var Qe=He,Xe=function(e){return function(){return e}},Je=(Math.abs,Math.atan2,Math.cos,Math.max,Math.min,Math.sin,Math.sqrt,1e-12),$e=Math.PI,et=2*$e;function tt(e){this._context=e}tt.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 nt=function(e){return new tt(e)};function at(e){return e[0]}function rt(e){return e[1]}var gt=function(){var e=at,t=rt,n=Xe(!0),a=null,r=nt,g=null;function i(i){var o,A,C,I=i.length,s=!1;for(null==a&&(g=r(C=Qe())),o=0;o<=I;++o)!(o<I&&n(A=i[o],o,i))===s&&((s=!s)?g.lineStart():g.lineEnd()),s&&g.point(+e(A,o,i),+t(A,o,i));if(C)return g=null,C+""||null}return i.x=function(t){return arguments.length?(e="function"==typeof t?t:Xe(+t),i):e},i.y=function(e){return arguments.length?(t="function"==typeof e?e:Xe(+e),i):t},i.defined=function(e){return arguments.length?(n="function"==typeof e?e:Xe(!!e),i):n},i.curve=function(e){return arguments.length?(r=e,null!=a&&(g=r(a)),i):r},i.context=function(e){return arguments.length?(null==e?a=g=null:g=r(a=e),i):a},i},it=function(){var e=at,t=null,n=Xe(0),a=rt,r=Xe(!0),g=null,i=nt,o=null;function A(A){var C,I,s,c,u,l=A.length,f=!1,h=new Array(l),p=new Array(l);for(null==g&&(o=i(u=Qe())),C=0;C<=l;++C){if(!(C<l&&r(c=A[C],C,A))===f)if(f=!f)I=C,o.areaStart(),o.lineStart();else{for(o.lineEnd(),o.lineStart(),s=C-1;s>=I;--s)o.point(h[s],p[s]);o.lineEnd(),o.areaEnd()}f&&(h[C]=+e(c,C,A),p[C]=+n(c,C,A),o.point(t?+t(c,C,A):h[C],a?+a(c,C,A):p[C]))}if(u)return o=null,u+""||null}function C(){return gt().defined(r).curve(i).context(g)}return A.x=function(n){return arguments.length?(e="function"==typeof n?n:Xe(+n),t=null,A):e},A.x0=function(t){return arguments.length?(e="function"==typeof t?t:Xe(+t),A):e},A.x1=function(e){return arguments.length?(t=null==e?null:"function"==typeof e?e:Xe(+e),A):t},A.y=function(e){return arguments.length?(n="function"==typeof e?e:Xe(+e),a=null,A):n},A.y0=function(e){return arguments.length?(n="function"==typeof e?e:Xe(+e),A):n},A.y1=function(e){return arguments.length?(a=null==e?null:"function"==typeof e?e:Xe(+e),A):a},A.lineX0=A.lineY0=function(){return C().x(e).y(n)},A.lineY1=function(){return C().x(e).y(a)},A.lineX1=function(){return C().x(t).y(n)},A.defined=function(e){return arguments.length?(r="function"==typeof e?e:Xe(!!e),A):r},A.curve=function(e){return arguments.length?(i=e,null!=g&&(o=i(g)),A):i},A.context=function(e){return arguments.length?(null==e?g=o=null:o=i(g=e),A):g},A};At(nt);function ot(e){this._curve=e}function At(e){function t(t){return new ot(e(t))}return t._curve=e,t}ot.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 Ct=Array.prototype.slice;Math.sqrt(1/3);var It=Math.sin($e/10)/Math.sin(7*$e/10),st=(Math.sin(et/10),Math.cos(et/10),Math.sqrt(3),Math.sqrt(3),Math.sqrt(12),function(){});function ct(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 ut(e){this._context=e}ut.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:ct(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:ct(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function lt(e){this._context=e}lt.prototype={areaStart:st,areaEnd:st,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:ct(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function ft(e){this._context=e}ft.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,a=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,a):this._context.moveTo(n,a);break;case 3:this._point=4;default:ct(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function ht(e,t){this._basis=new ut(e),this._beta=t}ht.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 a,r=e[0],g=t[0],i=e[n]-r,o=t[n]-g,A=-1;++A<=n;)a=A/n,this._basis.point(this._beta*e[A]+(1-this._beta)*(r+a*i),this._beta*t[A]+(1-this._beta)*(g+a*o));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 ut(e):new ht(e,t)}return n.beta=function(t){return e(+t)},n})(.85);function pt(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 dt(e,t){this._context=e,this._k=(1-t)/6}dt.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:pt(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:pt(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 dt(e,t)}return n.tension=function(t){return e(+t)},n})(0);function mt(e,t){this._context=e,this._k=(1-t)/6}mt.prototype={areaStart:st,areaEnd:st,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:pt(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 mt(e,t)}return n.tension=function(t){return e(+t)},n})(0);function yt(e,t){this._context=e,this._k=(1-t)/6}yt.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:pt(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 yt(e,t)}return n.tension=function(t){return e(+t)},n})(0);function bt(e,t,n){var a=e._x1,r=e._y1,g=e._x2,i=e._y2;if(e._l01_a>Je){var o=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,A=3*e._l01_a*(e._l01_a+e._l12_a);a=(a*o-e._x0*e._l12_2a+e._x2*e._l01_2a)/A,r=(r*o-e._y0*e._l12_2a+e._y2*e._l01_2a)/A}if(e._l23_a>Je){var C=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,I=3*e._l23_a*(e._l23_a+e._l12_a);g=(g*C+e._x1*e._l23_2a-t*e._l12_2a)/I,i=(i*C+e._y1*e._l23_2a-n*e._l12_2a)/I}e._context.bezierCurveTo(a,r,g,i,e._x2,e._y2)}function vt(e,t){this._context=e,this._alpha=t}vt.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=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,a=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+a*a,this._alpha))}switch(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;default:bt(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,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 t?new vt(e,t):new dt(e,0)}return n.alpha=function(t){return e(+t)},n})(.5);function xt(e,t){this._context=e,this._alpha=t}xt.prototype={areaStart:st,areaEnd:st,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._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=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){if(e=+e,t=+t,this._point){var n=this._x2-e,a=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+a*a,this._alpha))}switch(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:bt(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,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 t?new xt(e,t):new mt(e,0)}return n.alpha=function(t){return e(+t)},n})(.5);function _t(e,t){this._context=e,this._alpha=t}_t.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=this._l01_2a=this._l12_2a=this._l23_2a=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){if(e=+e,t=+t,this._point){var n=this._x2-e,a=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+a*a,this._alpha))}switch(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:bt(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,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 t?new _t(e,t):new yt(e,0)}return n.alpha=function(t){return e(+t)},n})(.5);function wt(e){this._context=e}wt.prototype={areaStart:st,areaEnd:st,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};function Tt(e){return e<0?-1:1}function kt(e,t,n){var a=e._x1-e._x0,r=t-e._x1,g=(e._y1-e._y0)/(a||r<0&&-0),i=(n-e._y1)/(r||a<0&&-0),o=(g*r+i*a)/(a+r);return(Tt(g)+Tt(i))*Math.min(Math.abs(g),Math.abs(i),.5*Math.abs(o))||0}function Ot(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function Nt(e,t,n){var a=e._x0,r=e._y0,g=e._x1,i=e._y1,o=(g-a)/3;e._context.bezierCurveTo(a+o,r+o*t,g-o,i-o*n,g,i)}function Mt(e){this._context=e}function Pt(e){this._context=new Et(e)}function Et(e){this._context=e}function Rt(e){this._context=e}function St(e){var t,n,a=e.length-1,r=new Array(a),g=new Array(a),i=new Array(a);for(r[0]=0,g[0]=2,i[0]=e[0]+2*e[1],t=1;t<a-1;++t)r[t]=1,g[t]=4,i[t]=4*e[t]+2*e[t+1];for(r[a-1]=2,g[a-1]=7,i[a-1]=8*e[a-1]+e[a],t=1;t<a;++t)n=r[t]/g[t-1],g[t]-=n,i[t]-=n*i[t-1];for(r[a-1]=i[a-1]/g[a-1],t=a-2;t>=0;--t)r[t]=(i[t]-r[t+1])/g[t];for(g[a-1]=(e[a]+r[a-1])/2,t=0;t<a-1;++t)g[t]=2*e[t+1]-r[t+1];return[r,g]}Mt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Nt(this,this._t0,Ot(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(t=+t,(e=+e)!==this._x1||t!==this._y1){switch(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,Nt(this,Ot(this,n=kt(this,e,t)),n);break;default:Nt(this,this._t0,n=kt(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}},(Pt.prototype=Object.create(Mt.prototype)).point=function(e,t){Mt.prototype.point.call(this,t,e)},Et.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,a,r,g){this._context.bezierCurveTo(t,e,a,n,g,r)}},Rt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),2===n)this._context.lineTo(e[1],t[1]);else for(var a=St(e),r=St(t),g=0,i=1;i<n;++g,++i)this._context.bezierCurveTo(a[0][g],r[0][g],a[1][g],r[1][g],e[i],t[i]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}};function jt(e,t){this._context=e,this._t=t}jt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(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:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};var Dt=function(e,t){if((r=e.length)>1)for(var n,a,r,g=1,i=e[t[0]],o=i.length;g<r;++g)for(a=i,i=e[t[g]],n=0;n<o;++n)i[n][1]+=i[n][0]=isNaN(a[n][1])?a[n][0]:a[n][1]},Lt=function(e){for(var t=e.length,n=new Array(t);--t>=0;)n[t]=t;return n};function zt(e,t){return e[t]}var Ft=function(){var e=Xe([]),t=Lt,n=Dt,a=zt;function r(r){var g,i,o=e.apply(this,arguments),A=r.length,C=o.length,I=new Array(C);for(g=0;g<C;++g){for(var s,c=o[g],u=I[g]=new Array(A),l=0;l<A;++l)u[l]=s=[0,+a(r[l],c,l,r)],s.data=r[l];u.key=c}for(g=0,i=t(I);g<C;++g)I[i[g]].index=g;return n(I,i),I}return r.keys=function(t){return arguments.length?(e="function"==typeof t?t:Xe(Ct.call(t)),r):e},r.value=function(e){return arguments.length?(a="function"==typeof e?e:Xe(+e),r):a},r.order=function(e){return arguments.length?(t=null==e?Lt:"function"==typeof e?e:Xe(Ct.call(e)),r):t},r.offset=function(e){return arguments.length?(n=null==e?Dt:e,r):n},r},Wt=function(e,t){if((a=e.length)>0){for(var n,a,r,g=0,i=e[0].length;g<i;++g){for(r=n=0;n<a;++n)r+=e[n][g][1]||0;if(r)for(n=0;n<a;++n)e[n][g][1]/=r}Dt(e,t)}},Zt=function(e,t){if((o=e.length)>1)for(var n,a,r,g,i,o,A=0,C=e[t[0]].length;A<C;++A)for(g=i=0,n=0;n<o;++n)(r=(a=e[t[n]][A])[1]-a[0])>=0?(a[0]=g,a[1]=g+=r):r<0?(a[1]=i,a[0]=i+=r):a[0]=g},qt=function(e,t){if((n=e.length)>0){for(var n,a=0,r=e[t[0]],g=r.length;a<g;++a){for(var i=0,o=0;i<n;++i)o+=e[i][a][1]||0;r[a][1]+=r[a][0]=-o/2}Dt(e,t)}},Gt=function(e,t){if((r=e.length)>0&&(a=(n=e[t[0]]).length)>0){for(var n,a,r,g=0,i=1;i<a;++i){for(var o=0,A=0,C=0;o<r;++o){for(var I=e[t[o]],s=I[i][1]||0,c=(s-(I[i-1][1]||0))/2,u=0;u<o;++u){var l=e[t[u]];c+=(l[i][1]||0)-(l[i-1][1]||0)}A+=s,C+=c*s}n[i-1][1]+=n[i-1][0]=g,A&&(g-=C/A)}n[i-1][1]+=n[i-1][0]=g,Dt(e,t)}};function Ut(e){for(var t,n=-1,a=0,r=e.length,g=-1/0;++n<r;)(t=+e[n][1])>g&&(g=t,a=n);return a}var Vt=function(e){var t=e.map(Yt);return Lt(e).sort(function(e,n){return t[e]-t[n]})};function Yt(e){for(var t,n=0,a=-1,r=e.length;++a<r;)(t=+e[a][1])&&(n+=t);return n}var Bt=function(e){return Vt(e).reverse()},Kt=function(e){var t,n,a=e.length,r=e.map(Yt),g=function(e){var t=e.map(Ut);return Lt(e).sort(function(e,n){return t[e]-t[n]})}(e),i=0,o=0,A=[],C=[];for(t=0;t<a;++t)n=g[t],i<o?(i+=r[n],A.push(n)):(o+=r[n],C.push(n));return C.reverse().concat(A)},Ht=function(e){return Lt(e).reverse()};function Qt(){return(Qt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Xt(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},g=Object.keys(e);for(a=0;a<g.length;a++)n=g[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var g=Object.getOwnPropertySymbols(e);for(a=0;a<g.length;a++)n=g[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Jt(e){var t=e.from,n=void 0===t?new Le({x:0,y:0}):t,a=e.to,g=void 0===a?new Le({x:1,y:1}):a,i=e.fill,o=void 0===i?"transparent":i,C=e.className,I=void 0===C?"":C,s=e.innerRef,c=Xt(e,["from","to","fill","className","innerRef"]);return r.a.createElement("line",Qt({ref:s,className:A()("vx-line",I),x1:n.x,y1:n.y,x2:g.x,y2:g.y,fill:o},c))}i.a.string,i.a.any,i.a.func,i.a.func,i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.string,i.a.number,i.a.number,i.a.array,i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.func,i.a.func,i.a.func,Jt.propTypes={className:i.a.string,innerRef:i.a.func,from:i.a.shape({x:i.a.number,y:i.a.number}),to:i.a.shape({x:i.a.number,y:i.a.number})},i.a.func,i.a.array,i.a.func,i.a.oneOf([i.a.func,i.a.bool]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.func,i.a.string,i.a.any,i.a.func,i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.func,i.a.string,i.a.any,i.a.func,i.a.func,i.a.func,i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.func,i.a.string,i.a.any,i.a.func,i.a.func,i.a.func,i.a.func,i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]);var $t={ascending:Vt,descending:Bt,insideout:Kt,none:Lt,reverse:Ht};Object.keys($t);function en(e){return $t[e]||$t.none}var tn={expand:Wt,diverging:Zt,none:Dt,silhouette:qt,wiggle:Gt};Object.keys(tn);function nn(e){return tn[e]||tn.none}function an(e){var t=e.className,n=e.top,a=e.left,g=e.keys,i=e.data,o=e.curve,C=e.defined,I=e.x,s=e.x0,c=e.x1,u=e.y0,l=e.y1,f=e.value,h=e.order,p=e.offset,d=e.color,m=e.children,y=Xt(e,["className","top","left","keys","data","curve","defined","x","x0","x1","y0","y1","value","order","offset","color","children"]),b=Ft();g&&b.keys(g),f&&b.value(f),h&&b.order(en(h)),p&&b.offset(nn(p));var v=it();I&&v.x(I),s&&v.x0(s),c&&v.x1(c),u&&v.y0(u),l&&v.y1(l),o&&v.curve(o),C&&v.defined(C);var x=b(i);return m?m({stacks:x,path:v,stack:b}):r.a.createElement(Ue,{top:n,left:a},x.map(function(e,n){return r.a.createElement("path",Qt({className:A()("vx-stack",t),key:"stack-".concat(n,"-").concat(e.key||""),d:v(e),fill:d(e.key,n)},y))}))}function rn(e){var t=e.className,n=e.innerRef,a=Xt(e,["className","innerRef"]);return r.a.createElement("rect",Qt({ref:n,className:A()("vx-bar",t)},a))}an.propTypes={data:i.a.array.isRequired,className:i.a.string,top:i.a.number,left:i.a.number,curve:i.a.func,color:i.a.func,keys:i.a.array,children:i.a.func,x:i.a.oneOfType([i.a.func,i.a.number]),x0:i.a.oneOfType([i.a.func,i.a.number]),x1:i.a.oneOfType([i.a.func,i.a.number]),y:i.a.oneOfType([i.a.func,i.a.number]),y0:i.a.oneOfType([i.a.func,i.a.number]),y1:i.a.oneOfType([i.a.func,i.a.number]),value:i.a.oneOfType([i.a.func,i.a.number]),defined:i.a.oneOfType([i.a.func,i.a.bool]),order:i.a.oneOfType([i.a.func,i.a.array,i.a.string]),offset:i.a.oneOfType([i.a.func,i.a.array,i.a.string])},i.a.string,i.a.number,i.a.number,i.a.array,i.a.array,i.a.func,i.a.func,i.a.func,i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.bool]),i.a.oneOfType([i.a.func,i.a.array,i.a.string]),i.a.oneOfType([i.a.func,i.a.array,i.a.string]),rn.propTypes={innerRef:i.a.func,className:i.a.string},i.a.array.isRequired,i.a.func.isRequired,i.a.func.isRequired,i.a.func.isRequired,i.a.func.isRequired,i.a.func.isRequired,i.a.array.isRequired,i.a.number.isRequired,i.a.string,i.a.number,i.a.number,i.a.func,i.a.array.isRequired,i.a.func.isRequired,i.a.func.isRequired,i.a.func.isRequired,i.a.func.isRequired,i.a.func.isRequired,i.a.array.isRequired,i.a.number.isRequired,i.a.string,i.a.func,i.a.number,i.a.number,i.a.func,i.a.array.isRequired,i.a.func.isRequired,i.a.func.isRequired,i.a.func.isRequired,i.a.func.isRequired,i.a.array.isRequired,i.a.string,i.a.number,i.a.number,i.a.func,i.a.func,i.a.func,i.a.oneOfType([i.a.func,i.a.array,i.a.string]),i.a.oneOfType([i.a.func,i.a.array,i.a.string]),i.a.oneOfType([i.a.func,i.a.number]),i.a.array.isRequired,i.a.func.isRequired,i.a.func,i.a.func,i.a.func.isRequired,i.a.func.isRequired,i.a.func.isRequired,i.a.array.isRequired,i.a.string,i.a.number,i.a.number,i.a.oneOfType([i.a.func,i.a.array,i.a.string]),i.a.oneOfType([i.a.func,i.a.array,i.a.string]),i.a.oneOfType([i.a.func,i.a.number]),i.a.func;i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.number,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.number,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.number,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.number,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.number,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.number.isRequired,i.a.number.isRequired,i.a.string,i.a.number,i.a.func,i.a.func,i.a.shape({x:i.a.number,y:i.a.number});i.a.func,i.a.string;var gn=n(8);function on(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function An(){return(An=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Cn(e){return e}var In={top:"top",left:"left",right:"right",bottom:"bottom"};var sn={axisClassName:i.a.string,axisLineClassName:i.a.string,hideAxisLine:i.a.bool,hideTicks:i.a.bool,hideZero:i.a.bool,label:i.a.string,labelClassName:i.a.string,labelOffset:i.a.number,labelProps:i.a.object,left:i.a.number,numTicks:i.a.number,orientation:i.a.oneOf([In.top,In.right,In.bottom,In.left]),rangePadding:i.a.number,scale:i.a.func.isRequired,stroke:i.a.string,strokeWidth:i.a.number,strokeDasharray:i.a.string,tickClassName:i.a.string,tickFormat:i.a.func,tickLabelProps:i.a.func,tickLength:i.a.number,tickStroke:i.a.string,tickTransform:i.a.string,tickValues:i.a.array,tickComponent:i.a.func,top:i.a.number,children:i.a.func};function cn(e){var t=e.children,n=e.axisClassName,a=e.axisLineClassName,g=e.hideAxisLine,i=void 0!==g&&g,o=e.hideTicks,C=void 0!==o&&o,I=e.hideZero,s=void 0!==I&&I,c=e.label,u=void 0===c?"":c,l=e.labelClassName,f=e.labelOffset,h=void 0===f?14:f,p=e.labelProps,d=void 0===p?{textAnchor:"middle",fontFamily:"Arial",fontSize:10,fill:"black"}:p,m=e.left,y=void 0===m?0:m,b=e.numTicks,v=void 0===b?10:b,x=e.orientation,_=void 0===x?In.bottom:x,w=e.rangePadding,T=void 0===w?0:w,k=e.scale,O=e.stroke,N=void 0===O?"black":O,M=e.strokeWidth,P=void 0===M?1:M,E=e.strokeDasharray,R=e.tickClassName,S=e.tickFormat,j=e.tickLabelProps,D=void 0===j?function(e,t){return{textAnchor:"middle",fontFamily:"Arial",fontSize:10,fill:"black"}}:j,L=e.tickLength,z=void 0===L?8:L,F=e.tickStroke,W=void 0===F?"black":F,Z=e.tickTransform,q=e.tickValues,G=e.tickComponent,U=e.top,V=void 0===U?0:U,Y=k.ticks?k.ticks(v):k.domain();q&&(Y=q);var B=k.tickFormat?k.tickFormat():Cn;S&&(B=S);var K=k.range(),H=K[0]+.5-T,Q=K[K.length-1]+.5+T,X=_!==In.left&&_!==In.right,J=_===In.left,$=_===In.top,ee=J||$?-1:1,te=(k.bandwidth?function(e){var t=e.bandwidth()/2;return e.round()&&(t=Math.round(t)),function(n){return e(n)+t}}:Cn)(k.copy()),ne=new Le({x:X?H:0,y:X?0:H}),ae=new Le({x:X?Q:0,y:X?0:Q}),re=10;return t?r.a.createElement(Ue,{className:A()("vx-axis",n),top:V,left:y},t({axisFromPoint:ne,axisToPoint:ae,horizontal:X,tickSign:ee,numTicks:v,label:u,rangePadding:T,tickLength:z,tickFormat:B,tickPosition:te,ticks:Y.map(function(e,t){return{value:e,index:t,from:new Le({x:X?te(e):0,y:X?0:te(e)}),to:new Le({x:X?te(e):ee*z,y:X?z*ee:te(e)}),formattedValue:B(e,t)}})})):r.a.createElement(Ue,{className:A()("vx-axis",n),top:V,left:y},Y.map(function(e,t){if(s&&0===e)return null;var n=new Le({x:X?te(e):0,y:X?0:te(e)}),a=new Le({x:X?te(e):ee*z,y:X?z*ee:te(e)}),g=D(e,t);return re=Math.max(re,g.fontSize||0),r.a.createElement(Ue,{key:"vx-tick-".concat(e,"-").concat(t),className:A()("vx-axis-tick",R),transform:Z},!C&&r.a.createElement(Jt,{from:n,to:a,stroke:W}),G?G(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){on(e,t,n[t])})}return e}({x:a.x,y:a.y+(X&&!$?re:0),formattedValue:B(e,t)},g)):r.a.createElement(gn.a,An({x:a.x,y:a.y+(X&&!$?re:0)},g),B(e,t)))}),!i&&r.a.createElement(Jt,{className:A()("vx-axis-line",a),from:ne,to:ae,stroke:N,strokeWidth:P,strokeDasharray:E}),u&&r.a.createElement(gn.a,An({className:A()("vx-axis-label",l)},function(e){var t,n,a=e.labelOffset,r=e.labelProps,g=e.orientation,i=e.range,o=e.tickLabelFontSize,A=e.tickLength,C=g===In.left||g===In.top?-1:1,I=null;return g===In.top||g===In.bottom?(t=(i[0]+i[i.length-1])/2,n=C*(A+a+o+(g===In.bottom?r.fontSize:0))):(t=C*((i[0]+i[i.length-1])/2),n=-(A+a),I="rotate(".concat(90*C,")")),{x:t,y:n,transform:I}}({labelOffset:h,labelProps:d,orientation:_,range:K,tickLabelFontSize:re,tickLength:z}),d),u))}cn.propTypes=sn;var un={axisClassName:i.a.string,axisLineClassName:i.a.string,hideAxisLine:i.a.bool,hideTicks:i.a.bool,hideZero:i.a.bool,label:i.a.string,labelClassName:i.a.string,labelOffset:i.a.number,labelProps:i.a.object,left:i.a.number,numTicks:i.a.number,rangePadding:i.a.number,scale:i.a.func.isRequired,stroke:i.a.string,strokeWidth:i.a.number,strokeDasharray:i.a.string,tickClassName:i.a.string,tickFormat:i.a.func,tickLabelProps:i.a.func,tickLength:i.a.number,tickStroke:i.a.string,tickTransform:i.a.string,tickValues:i.a.array,tickComponent:i.a.func,top:i.a.number,children:i.a.func};function ln(e){var t=e.children,n=e.axisClassName,a=e.axisLineClassName,g=e.hideAxisLine,i=e.hideTicks,o=e.hideZero,C=e.label,I=e.labelClassName,s=e.labelOffset,c=void 0===s?36:s,u=e.labelProps,l=e.left,f=e.numTicks,h=e.rangePadding,p=e.scale,d=e.stroke,m=e.strokeWidth,y=e.strokeDasharray,b=e.tickClassName,v=e.tickFormat,x=e.tickLabelProps,_=void 0===x?function(e){e.tick,e.index;return{dx:"-0.25em",dy:"0.25em",fill:"black",fontFamily:"Arial",fontSize:10,textAnchor:"end"}}:x,w=e.tickLength,T=void 0===w?8:w,k=e.tickStroke,O=e.tickTransform,N=e.tickValues,M=e.tickComponent,P=e.top;return r.a.createElement(cn,{axisClassName:A()("vx-axis-left",n),axisLineClassName:a,hideAxisLine:g,hideTicks:i,hideZero:o,label:C,labelClassName:I,labelOffset:c,labelProps:u,left:l,numTicks:f,orientation:In.left,rangePadding:h,scale:p,stroke:d,strokeWidth:m,strokeDasharray:y,tickClassName:b,tickFormat:v,tickLabelProps:_,tickLength:T,tickStroke:k,tickTransform:O,tickValues:N,tickComponent:M,top:P,children:t})}ln.propTypes=un;i.a.string,i.a.string,i.a.bool,i.a.bool,i.a.bool,i.a.string,i.a.string,i.a.number,i.a.object,i.a.number,i.a.number,i.a.number,i.a.func.isRequired,i.a.string,i.a.number,i.a.string,i.a.string,i.a.func,i.a.func,i.a.number,i.a.string,i.a.string,i.a.array,i.a.func,i.a.number,i.a.func;i.a.string,i.a.string,i.a.bool,i.a.bool,i.a.bool,i.a.string,i.a.string,i.a.number,i.a.object,i.a.number,i.a.number,i.a.number,i.a.func.isRequired,i.a.string,i.a.number,i.a.string,i.a.string,i.a.func,i.a.func,i.a.number,i.a.string,i.a.string,i.a.array,i.a.func,i.a.number,i.a.func;var fn={axisClassName:i.a.string,axisLineClassName:i.a.string,hideAxisLine:i.a.bool,hideTicks:i.a.bool,hideZero:i.a.bool,label:i.a.string,labelClassName:i.a.string,labelOffset:i.a.number,labelProps:i.a.object,left:i.a.number,numTicks:i.a.number,rangePadding:i.a.number,scale:i.a.func.isRequired,stroke:i.a.string,strokeWidth:i.a.number,strokeDasharray:i.a.string,tickClassName:i.a.string,tickFormat:i.a.func,tickLabelProps:i.a.func,tickLength:i.a.number,tickStroke:i.a.string,tickTransform:i.a.string,tickValues:i.a.array,tickComponent:i.a.func,top:i.a.number,children:i.a.func};function hn(e){var t=e.children,n=e.axisClassName,a=e.axisLineClassName,g=e.hideAxisLine,i=e.hideTicks,o=e.hideZero,C=e.label,I=e.labelClassName,s=e.labelOffset,c=void 0===s?8:s,u=e.labelProps,l=e.left,f=e.numTicks,h=e.rangePadding,p=e.scale,d=e.stroke,m=e.strokeWidth,y=e.strokeDasharray,b=e.tickClassName,v=e.tickFormat,x=e.tickLabelProps,_=void 0===x?function(e){e.tick,e.index;return{dy:"0.25em",fill:"black",fontFamily:"Arial",fontSize:10,textAnchor:"middle"}}:x,w=e.tickLength,T=void 0===w?8:w,k=e.tickStroke,O=e.tickTransform,N=e.tickValues,M=e.tickComponent,P=e.top;return r.a.createElement(cn,{axisClassName:A()("vx-axis-bottom",n),axisLineClassName:a,hideAxisLine:g,hideTicks:i,hideZero:o,label:C,labelClassName:I,labelOffset:c,labelProps:u,left:l,numTicks:f,orientation:In.bottom,rangePadding:h,scale:p,stroke:d,strokeWidth:m,strokeDasharray:y,tickClassName:b,tickFormat:v,tickLabelProps:_,tickLength:T,tickStroke:k,tickTransform:O,tickValues:N,tickComponent:M,top:P,children:t})}hn.propTypes=fn;var pn=function(e,t){return e<t?-1:e>t?1:e>=t?0:NaN},dn=function(e){return 1===e.length&&(e=function(e){return function(t,n){return pn(e(t),n)}}(e)),{left:function(t,n,a,r){for(null==a&&(a=0),null==r&&(r=t.length);a<r;){var g=a+r>>>1;e(t[g],n)<0?a=g+1:r=g}return a},right:function(t,n,a,r){for(null==a&&(a=0),null==r&&(r=t.length);a<r;){var g=a+r>>>1;e(t[g],n)>0?r=g:a=g+1}return a}}};var mn=dn(pn),yn=mn.right,bn=(mn.left,yn);var vn=Array.prototype,xn=(vn.slice,vn.map,function(e,t,n){e=+e,t=+t,n=(r=arguments.length)<2?(t=e,e=0,1):r<3?1:+n;for(var a=-1,r=0|Math.max(0,Math.ceil((t-e)/n)),g=new Array(r);++a<r;)g[a]=e+a*n;return g}),_n=Math.sqrt(50),wn=Math.sqrt(10),Tn=Math.sqrt(2),kn=function(e,t,n){var a,r,g,i,o=-1;if(n=+n,(e=+e)===(t=+t)&&n>0)return[e];if((a=t<e)&&(r=e,e=t,t=r),0===(i=On(e,t,n))||!isFinite(i))return[];if(i>0)for(e=Math.ceil(e/i),t=Math.floor(t/i),g=new Array(r=Math.ceil(t-e+1));++o<r;)g[o]=(e+o)*i;else for(e=Math.floor(e*i),t=Math.ceil(t*i),g=new Array(r=Math.ceil(e-t+1));++o<r;)g[o]=(e-o)/i;return a&&g.reverse(),g};function On(e,t,n){var a=(t-e)/Math.max(0,n),r=Math.floor(Math.log(a)/Math.LN10),g=a/Math.pow(10,r);return r>=0?(g>=_n?10:g>=wn?5:g>=Tn?2:1)*Math.pow(10,r):-Math.pow(10,-r)/(g>=_n?10:g>=wn?5:g>=Tn?2:1)}function Nn(e,t,n){var a=Math.abs(t-e)/Math.max(0,n),r=Math.pow(10,Math.floor(Math.log(a)/Math.LN10)),g=a/r;return g>=_n?r*=10:g>=wn?r*=5:g>=Tn&&(r*=2),t<e?-r:r}function Mn(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}function Pn(){}function En(e,t){var n=new Pn;if(e instanceof Pn)e.each(function(e,t){n.set(t,e)});else if(Array.isArray(e)){var a,r=-1,g=e.length;if(null==t)for(;++r<g;)n.set(r,e[r]);else for(;++r<g;)n.set(t(a=e[r],r,e),a)}else if(e)for(var i in e)n.set(i,e[i]);return n}Pn.prototype=En.prototype={constructor:Pn,has:function(e){return"$"+e in this},get:function(e){return this["$"+e]},set:function(e,t){return this["$"+e]=t,this},remove:function(e){var t="$"+e;return t in this&&delete this[t]},clear:function(){for(var e in this)"$"===e[0]&&delete this[e]},keys:function(){var e=[];for(var t in this)"$"===t[0]&&e.push(t.slice(1));return e},values:function(){var e=[];for(var t in this)"$"===t[0]&&e.push(this[t]);return e},entries:function(){var e=[];for(var t in this)"$"===t[0]&&e.push({key:t.slice(1),value:this[t]});return e},size:function(){var e=0;for(var t in this)"$"===t[0]&&++e;return e},empty:function(){for(var e in this)if("$"===e[0])return!1;return!0},each:function(e){for(var t in this)"$"===t[0]&&e(this[t],t.slice(1),this)}};var Rn=En;function Sn(){}var jn=Rn.prototype;function Dn(e,t){var n=new Sn;if(e instanceof Sn)e.each(function(e){n.add(e)});else if(e){var a=-1,r=e.length;if(null==t)for(;++a<r;)n.add(e[a]);else for(;++a<r;)n.add(t(e[a],a,e))}return n}Sn.prototype=Dn.prototype={constructor:Sn,has:jn.has,add:function(e){return this["$"+(e+="")]=e,this},remove:jn.remove,clear:jn.clear,values:jn.keys,size:jn.size,empty:jn.empty,each:jn.each};var Ln=Array.prototype,zn=Ln.map,Fn=Ln.slice,Wn={name:"implicit"};function Zn(){var e=Rn(),t=[],n=[],a=Wn;function r(r){var g=r+"",i=e.get(g);if(!i){if(a!==Wn)return a;e.set(g,i=t.push(r))}return n[(i-1)%n.length]}return r.domain=function(n){if(!arguments.length)return t.slice();t=[],e=Rn();for(var a,g,i=-1,o=n.length;++i<o;)e.has(g=(a=n[i])+"")||e.set(g,t.push(a));return r},r.range=function(e){return arguments.length?(n=Fn.call(e),r):n.slice()},r.unknown=function(e){return arguments.length?(a=e,r):a},r.copy=function(){return Zn(t,n).unknown(a)},Mn.apply(r,arguments),r}function qn(){var e,t,n=Zn().unknown(void 0),a=n.domain,r=n.range,g=[0,1],i=!1,o=0,A=0,C=.5;function I(){var n=a().length,I=g[1]<g[0],s=g[I-0],c=g[1-I];e=(c-s)/Math.max(1,n-o+2*A),i&&(e=Math.floor(e)),s+=(c-s-e*(n-o))*C,t=e*(1-o),i&&(s=Math.round(s),t=Math.round(t));var u=xn(n).map(function(t){return s+e*t});return r(I?u.reverse():u)}return delete n.unknown,n.domain=function(e){return arguments.length?(a(e),I()):a()},n.range=function(e){return arguments.length?(g=[+e[0],+e[1]],I()):g.slice()},n.rangeRound=function(e){return g=[+e[0],+e[1]],i=!0,I()},n.bandwidth=function(){return t},n.step=function(){return e},n.round=function(e){return arguments.length?(i=!!e,I()):i},n.padding=function(e){return arguments.length?(o=Math.min(1,A=+e),I()):o},n.paddingInner=function(e){return arguments.length?(o=Math.min(1,e),I()):o},n.paddingOuter=function(e){return arguments.length?(A=+e,I()):A},n.align=function(e){return arguments.length?(C=Math.max(0,Math.min(1,e)),I()):C},n.copy=function(){return qn(a(),g).round(i).paddingInner(o).paddingOuter(A).align(C)},Mn.apply(I(),arguments)}var Gn=function(e,t,n){e.prototype=t.prototype=n,n.constructor=e};function Un(e,t){var n=Object.create(e.prototype);for(var a in t)n[a]=t[a];return n}function Vn(){}var Yn="\\s*([+-]?\\d+)\\s*",Bn="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",Kn="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Hn=/^#([0-9a-f]{3})$/,Qn=/^#([0-9a-f]{6})$/,Xn=new RegExp("^rgb\\("+[Yn,Yn,Yn]+"\\)$"),Jn=new RegExp("^rgb\\("+[Kn,Kn,Kn]+"\\)$"),$n=new RegExp("^rgba\\("+[Yn,Yn,Yn,Bn]+"\\)$"),ea=new RegExp("^rgba\\("+[Kn,Kn,Kn,Bn]+"\\)$"),ta=new RegExp("^hsl\\("+[Bn,Kn,Kn]+"\\)$"),na=new RegExp("^hsla\\("+[Bn,Kn,Kn,Bn]+"\\)$"),aa={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function ra(e){var t;return e=(e+"").trim().toLowerCase(),(t=Hn.exec(e))?new Ca((t=parseInt(t[1],16))>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):(t=Qn.exec(e))?ga(parseInt(t[1],16)):(t=Xn.exec(e))?new Ca(t[1],t[2],t[3],1):(t=Jn.exec(e))?new Ca(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=$n.exec(e))?ia(t[1],t[2],t[3],t[4]):(t=ea.exec(e))?ia(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=ta.exec(e))?sa(t[1],t[2]/100,t[3]/100,1):(t=na.exec(e))?sa(t[1],t[2]/100,t[3]/100,t[4]):aa.hasOwnProperty(e)?ga(aa[e]):"transparent"===e?new Ca(NaN,NaN,NaN,0):null}function ga(e){return new Ca(e>>16&255,e>>8&255,255&e,1)}function ia(e,t,n,a){return a<=0&&(e=t=n=NaN),new Ca(e,t,n,a)}function oa(e){return e instanceof Vn||(e=ra(e)),e?new Ca((e=e.rgb()).r,e.g,e.b,e.opacity):new Ca}function Aa(e,t,n,a){return 1===arguments.length?oa(e):new Ca(e,t,n,null==a?1:a)}function Ca(e,t,n,a){this.r=+e,this.g=+t,this.b=+n,this.opacity=+a}function Ia(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function sa(e,t,n,a){return a<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new ua(e,t,n,a)}function ca(e,t,n,a){return 1===arguments.length?function(e){if(e instanceof ua)return new ua(e.h,e.s,e.l,e.opacity);if(e instanceof Vn||(e=ra(e)),!e)return new ua;if(e instanceof ua)return e;var t=(e=e.rgb()).r/255,n=e.g/255,a=e.b/255,r=Math.min(t,n,a),g=Math.max(t,n,a),i=NaN,o=g-r,A=(g+r)/2;return o?(i=t===g?(n-a)/o+6*(n<a):n===g?(a-t)/o+2:(t-n)/o+4,o/=A<.5?g+r:2-g-r,i*=60):o=A>0&&A<1?0:i,new ua(i,o,A,e.opacity)}(e):new ua(e,t,n,null==a?1:a)}function ua(e,t,n,a){this.h=+e,this.s=+t,this.l=+n,this.opacity=+a}function la(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}Gn(Vn,ra,{displayable:function(){return this.rgb().displayable()},hex:function(){return this.rgb().hex()},toString:function(){return this.rgb()+""}}),Gn(Ca,Aa,Un(Vn,{brighter:function(e){return e=null==e?1/.7:Math.pow(1/.7,e),new Ca(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new Ca(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},hex:function(){return"#"+Ia(this.r)+Ia(this.g)+Ia(this.b)},toString:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}})),Gn(ua,ca,Un(Vn,{brighter:function(e){return e=null==e?1/.7:Math.pow(1/.7,e),new ua(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new ua(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,a=n+(n<.5?n:1-n)*t,r=2*n-a;return new Ca(la(e>=240?e-240:e+120,r,a),la(e,r,a),la(e<120?e+240:e-120,r,a),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}));var fa=Math.PI/180,ha=180/Math.PI,pa=.96422,da=1,ma=.82521,ya=4/29,ba=6/29,va=3*ba*ba,xa=ba*ba*ba;function _a(e){if(e instanceof Ta)return new Ta(e.l,e.a,e.b,e.opacity);if(e instanceof Ra){if(isNaN(e.h))return new Ta(e.l,0,0,e.opacity);var t=e.h*fa;return new Ta(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}e instanceof Ca||(e=oa(e));var n,a,r=Ma(e.r),g=Ma(e.g),i=Ma(e.b),o=ka((.2225045*r+.7168786*g+.0606169*i)/da);return r===g&&g===i?n=a=o:(n=ka((.4360747*r+.3850649*g+.1430804*i)/pa),a=ka((.0139322*r+.0971045*g+.7141733*i)/ma)),new Ta(116*o-16,500*(n-o),200*(o-a),e.opacity)}function wa(e,t,n,a){return 1===arguments.length?_a(e):new Ta(e,t,n,null==a?1:a)}function Ta(e,t,n,a){this.l=+e,this.a=+t,this.b=+n,this.opacity=+a}function ka(e){return e>xa?Math.pow(e,1/3):e/va+ya}function Oa(e){return e>ba?e*e*e:va*(e-ya)}function Na(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function Ma(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function Pa(e){if(e instanceof Ra)return new Ra(e.h,e.c,e.l,e.opacity);if(e instanceof Ta||(e=_a(e)),0===e.a&&0===e.b)return new Ra(NaN,0,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*ha;return new Ra(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}function Ea(e,t,n,a){return 1===arguments.length?Pa(e):new Ra(e,t,n,null==a?1:a)}function Ra(e,t,n,a){this.h=+e,this.c=+t,this.l=+n,this.opacity=+a}Gn(Ta,wa,Un(Vn,{brighter:function(e){return new Ta(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker:function(e){return new Ta(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb:function(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return new Ca(Na(3.1338561*(t=pa*Oa(t))-1.6168667*(e=da*Oa(e))-.4906146*(n=ma*Oa(n))),Na(-.9787684*t+1.9161415*e+.033454*n),Na(.0719453*t-.2289914*e+1.4052427*n),this.opacity)}})),Gn(Ra,Ea,Un(Vn,{brighter:function(e){return new Ra(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker:function(e){return new Ra(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb:function(){return _a(this).rgb()}}));var Sa=1.78277,ja=-.29227,Da=-.90649,La=1.97294,za=La*Da,Fa=La*Sa,Wa=Sa*ja- -.14861*Da;function Za(e,t,n,a){return 1===arguments.length?function(e){if(e instanceof qa)return new qa(e.h,e.s,e.l,e.opacity);e instanceof Ca||(e=oa(e));var t=e.r/255,n=e.g/255,a=e.b/255,r=(Wa*a+za*t-Fa*n)/(Wa+za-Fa),g=a-r,i=(La*(n-r)-ja*g)/Da,o=Math.sqrt(i*i+g*g)/(La*r*(1-r)),A=o?Math.atan2(i,g)*ha-120:NaN;return new qa(A<0?A+360:A,o,r,e.opacity)}(e):new qa(e,t,n,null==a?1:a)}function qa(e,t,n,a){this.h=+e,this.s=+t,this.l=+n,this.opacity=+a}function Ga(e,t,n,a,r){var g=e*e,i=g*e;return((1-3*e+3*g-i)*t+(4-6*g+3*i)*n+(1+3*e+3*g-3*i)*a+i*r)/6}Gn(qa,Za,Un(Vn,{brighter:function(e){return e=null==e?1/.7:Math.pow(1/.7,e),new qa(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new qa(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*fa,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),a=Math.cos(e),r=Math.sin(e);return new Ca(255*(t+n*(-.14861*a+Sa*r)),255*(t+n*(ja*a+Da*r)),255*(t+n*(La*a)),this.opacity)}}));var Ua=function(e){return function(){return e}};function Va(e,t){return function(n){return e+n*t}}function Ya(e,t){var n=t-e;return n?Va(e,n>180||n<-180?n-360*Math.round(n/360):n):Ua(isNaN(e)?t:e)}function Ba(e){return 1==(e=+e)?Ka:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(a){return Math.pow(e+a*t,n)}}(t,n,e):Ua(isNaN(t)?n:t)}}function Ka(e,t){var n=t-e;return n?Va(e,n):Ua(isNaN(e)?t:e)}var Ha=function e(t){var n=Ba(t);function a(e,t){var a=n((e=Aa(e)).r,(t=Aa(t)).r),r=n(e.g,t.g),g=n(e.b,t.b),i=Ka(e.opacity,t.opacity);return function(t){return e.r=a(t),e.g=r(t),e.b=g(t),e.opacity=i(t),e+""}}return a.gamma=e,a}(1);function Qa(e){return function(t){var n,a,r=t.length,g=new Array(r),i=new Array(r),o=new Array(r);for(n=0;n<r;++n)a=Aa(t[n]),g[n]=a.r||0,i[n]=a.g||0,o[n]=a.b||0;return g=e(g),i=e(i),o=e(o),a.opacity=1,function(e){return a.r=g(e),a.g=i(e),a.b=o(e),a+""}}}Qa(function(e){var t=e.length-1;return function(n){var a=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),r=e[a],g=e[a+1],i=a>0?e[a-1]:2*r-g,o=a<t-1?e[a+2]:2*g-r;return Ga((n-a/t)*t,i,r,g,o)}}),Qa(function(e){var t=e.length;return function(n){var a=Math.floor(((n%=1)<0?++n:n)*t),r=e[(a+t-1)%t],g=e[a%t],i=e[(a+1)%t],o=e[(a+2)%t];return Ga((n-a/t)*t,r,g,i,o)}});var Xa=function(e,t){return t-=e=+e,function(n){return e+t*n}},Ja=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,$a=new RegExp(Ja.source,"g");var er,tr,nr,ar,rr=function(e,t){var n,a=typeof t;return null==t||"boolean"===a?Ua(t):("number"===a?Xa:"string"===a?(n=ra(t))?(t=n,Ha):function(e,t){var n,a,r,g=Ja.lastIndex=$a.lastIndex=0,i=-1,o=[],A=[];for(e+="",t+="";(n=Ja.exec(e))&&(a=$a.exec(t));)(r=a.index)>g&&(r=t.slice(g,r),o[i]?o[i]+=r:o[++i]=r),(n=n[0])===(a=a[0])?o[i]?o[i]+=a:o[++i]=a:(o[++i]=null,A.push({i:i,x:Xa(n,a)})),g=$a.lastIndex;return g<t.length&&(r=t.slice(g),o[i]?o[i]+=r:o[++i]=r),o.length<2?A[0]?function(e){return function(t){return e(t)+""}}(A[0].x):function(e){return function(){return e}}(t):(t=A.length,function(e){for(var n,a=0;a<t;++a)o[(n=A[a]).i]=n.x(e);return o.join("")})}:t instanceof ra?Ha:t instanceof Date?function(e,t){var n=new Date;return t-=e=+e,function(a){return n.setTime(e+t*a),n}}:Array.isArray(t)?function(e,t){var n,a=t?t.length:0,r=e?Math.min(a,e.length):0,g=new Array(r),i=new Array(a);for(n=0;n<r;++n)g[n]=rr(e[n],t[n]);for(;n<a;++n)i[n]=t[n];return function(e){for(n=0;n<r;++n)i[n]=g[n](e);return i}}:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?function(e,t){var n,a={},r={};for(n in null!==e&&"object"==typeof e||(e={}),null!==t&&"object"==typeof t||(t={}),t)n in e?a[n]=rr(e[n],t[n]):r[n]=t[n];return function(e){for(n in a)r[n]=a[n](e);return r}}:Xa)(e,t)},gr=function(e,t){return t-=e=+e,function(n){return Math.round(e+t*n)}},ir=180/Math.PI,or={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},Ar=function(e,t,n,a,r,g){var i,o,A;return(i=Math.sqrt(e*e+t*t))&&(e/=i,t/=i),(A=e*n+t*a)&&(n-=e*A,a-=t*A),(o=Math.sqrt(n*n+a*a))&&(n/=o,a/=o,A/=o),e*a<t*n&&(e=-e,t=-t,A=-A,i=-i),{translateX:r,translateY:g,rotate:Math.atan2(t,e)*ir,skewX:Math.atan(A)*ir,scaleX:i,scaleY:o}};function Cr(e,t,n,a){function r(e){return e.length?e.pop()+" ":""}return function(g,i){var o=[],A=[];return g=e(g),i=e(i),function(e,a,r,g,i,o){if(e!==r||a!==g){var A=i.push("translate(",null,t,null,n);o.push({i:A-4,x:Xa(e,r)},{i:A-2,x:Xa(a,g)})}else(r||g)&&i.push("translate("+r+t+g+n)}(g.translateX,g.translateY,i.translateX,i.translateY,o,A),function(e,t,n,g){e!==t?(e-t>180?t+=360:t-e>180&&(e+=360),g.push({i:n.push(r(n)+"rotate(",null,a)-2,x:Xa(e,t)})):t&&n.push(r(n)+"rotate("+t+a)}(g.rotate,i.rotate,o,A),function(e,t,n,g){e!==t?g.push({i:n.push(r(n)+"skewX(",null,a)-2,x:Xa(e,t)}):t&&n.push(r(n)+"skewX("+t+a)}(g.skewX,i.skewX,o,A),function(e,t,n,a,g,i){if(e!==n||t!==a){var o=g.push(r(g)+"scale(",null,",",null,")");i.push({i:o-4,x:Xa(e,n)},{i:o-2,x:Xa(t,a)})}else 1===n&&1===a||g.push(r(g)+"scale("+n+","+a+")")}(g.scaleX,g.scaleY,i.scaleX,i.scaleY,o,A),g=i=null,function(e){for(var t,n=-1,a=A.length;++n<a;)o[(t=A[n]).i]=t.x(e);return o.join("")}}}Cr(function(e){return"none"===e?or:(er||(er=document.createElement("DIV"),tr=document.documentElement,nr=document.defaultView),er.style.transform=e,e=nr.getComputedStyle(tr.appendChild(er),null).getPropertyValue("transform"),tr.removeChild(er),e=e.slice(7,-1).split(","),Ar(+e[0],+e[1],+e[2],+e[3],+e[4],+e[5]))},"px, ","px)","deg)"),Cr(function(e){return null==e?or:(ar||(ar=document.createElementNS("http://www.w3.org/2000/svg","g")),ar.setAttribute("transform",e),(e=ar.transform.baseVal.consolidate())?(e=e.matrix,Ar(e.a,e.b,e.c,e.d,e.e,e.f)):or)},", ",")",")"),Math.SQRT2;function Ir(e){return function(t,n){var a=e((t=ca(t)).h,(n=ca(n)).h),r=Ka(t.s,n.s),g=Ka(t.l,n.l),i=Ka(t.opacity,n.opacity);return function(e){return t.h=a(e),t.s=r(e),t.l=g(e),t.opacity=i(e),t+""}}}Ir(Ya),Ir(Ka);function sr(e){return function(t,n){var a=e((t=Ea(t)).h,(n=Ea(n)).h),r=Ka(t.c,n.c),g=Ka(t.l,n.l),i=Ka(t.opacity,n.opacity);return function(e){return t.h=a(e),t.c=r(e),t.l=g(e),t.opacity=i(e),t+""}}}sr(Ya),sr(Ka);function cr(e){return function t(n){function a(t,a){var r=e((t=Za(t)).h,(a=Za(a)).h),g=Ka(t.s,a.s),i=Ka(t.l,a.l),o=Ka(t.opacity,a.opacity);return function(e){return t.h=r(e),t.s=g(e),t.l=i(Math.pow(e,n)),t.opacity=o(e),t+""}}return n=+n,a.gamma=t,a}(1)}cr(Ya),cr(Ka);var ur=function(e){return function(){return e}},lr=function(e){return+e},fr=[0,1];function hr(e){return e}function pr(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:ur(isNaN(t)?NaN:.5)}function dr(e){var t,n=e[0],a=e[e.length-1];return n>a&&(t=n,n=a,a=t),function(e){return Math.max(n,Math.min(a,e))}}function mr(e,t,n){var a=e[0],r=e[1],g=t[0],i=t[1];return r<a?(a=pr(r,a),g=n(i,g)):(a=pr(a,r),g=n(g,i)),function(e){return g(a(e))}}function yr(e,t,n){var a=Math.min(e.length,t.length)-1,r=new Array(a),g=new Array(a),i=-1;for(e[a]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++i<a;)r[i]=pr(e[i],e[i+1]),g[i]=n(t[i],t[i+1]);return function(t){var n=bn(e,t,1,a)-1;return g[n](r[n](t))}}function br(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function vr(){var e,t,n,a,r,g,i=fr,o=fr,A=rr,C=hr;function I(){return a=Math.min(i.length,o.length)>2?yr:mr,r=g=null,s}function s(t){return isNaN(t=+t)?n:(r||(r=a(i.map(e),o,A)))(e(C(t)))}return s.invert=function(n){return C(t((g||(g=a(o,i.map(e),Xa)))(n)))},s.domain=function(e){return arguments.length?(i=zn.call(e,lr),C===hr||(C=dr(i)),I()):i.slice()},s.range=function(e){return arguments.length?(o=Fn.call(e),I()):o.slice()},s.rangeRound=function(e){return o=Fn.call(e),A=gr,I()},s.clamp=function(e){return arguments.length?(C=e?dr(i):hr,s):C!==hr},s.interpolate=function(e){return arguments.length?(A=e,I()):A},s.unknown=function(e){return arguments.length?(n=e,s):n},function(n,a){return e=n,t=a,I()}}function xr(e,t){return vr()(e,t)}var _r=function(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,a=e.slice(0,n);return[a.length>1?a[0]+a.slice(2):a,+e.slice(n+1)]},wr=function(e){return(e=_r(Math.abs(e)))?e[1]:NaN},Tr=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function kr(e){return new Or(e)}function Or(e){if(!(t=Tr.exec(e)))throw new Error("invalid format: "+e);var t;this.fill=t[1]||" ",this.align=t[2]||">",this.sign=t[3]||"-",this.symbol=t[4]||"",this.zero=!!t[5],this.width=t[6]&&+t[6],this.comma=!!t[7],this.precision=t[8]&&+t[8].slice(1),this.trim=!!t[9],this.type=t[10]||""}kr.prototype=Or.prototype,Or.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(null==this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(null==this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var Nr,Mr,Pr,Er,Rr=function(e){e:for(var t,n=e.length,a=1,r=-1;a<n;++a)switch(e[a]){case".":r=t=a;break;case"0":0===r&&(r=a),t=a;break;default:if(r>0){if(!+e[a])break e;r=0}}return r>0?e.slice(0,r)+e.slice(t+1):e},Sr=function(e,t){var n=_r(e,t);if(!n)return e+"";var a=n[0],r=n[1];return r<0?"0."+new Array(-r).join("0")+a:a.length>r+1?a.slice(0,r+1)+"."+a.slice(r+1):a+new Array(r-a.length+2).join("0")},jr={"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.round(e).toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return Sr(100*e,t)},r:Sr,s:function(e,t){var n=_r(e,t);if(!n)return e+"";var a=n[0],r=n[1],g=r-(Nr=3*Math.max(-8,Math.min(8,Math.floor(r/3))))+1,i=a.length;return g===i?a:g>i?a+new Array(g-i+1).join("0"):g>0?a.slice(0,g)+"."+a.slice(g):"0."+new Array(1-g).join("0")+_r(e,Math.max(0,t+g-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}},Dr=function(e){return e},Lr=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"],zr=function(e){var t=e.grouping&&e.thousands?function(e,t){return function(n,a){for(var r=n.length,g=[],i=0,o=e[0],A=0;r>0&&o>0&&(A+o+1>a&&(o=Math.max(1,a-A)),g.push(n.substring(r-=o,r+o)),!((A+=o+1)>a));)o=e[i=(i+1)%e.length];return g.reverse().join(t)}}(e.grouping,e.thousands):Dr,n=e.currency,a=e.decimal,r=e.numerals?function(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}(e.numerals):Dr,g=e.percent||"%";function i(e){var i=(e=kr(e)).fill,o=e.align,A=e.sign,C=e.symbol,I=e.zero,s=e.width,c=e.comma,u=e.precision,l=e.trim,f=e.type;"n"===f?(c=!0,f="g"):jr[f]||(null==u&&(u=12),l=!0,f="g"),(I||"0"===i&&"="===o)&&(I=!0,i="0",o="=");var h="$"===C?n[0]:"#"===C&&/[boxX]/.test(f)?"0"+f.toLowerCase():"",p="$"===C?n[1]:/[%p]/.test(f)?g:"",d=jr[f],m=/[defgprs%]/.test(f);function y(e){var n,g,C,y=h,b=p;if("c"===f)b=d(e)+b,e="";else{var v=(e=+e)<0;if(e=d(Math.abs(e),u),l&&(e=Rr(e)),v&&0==+e&&(v=!1),y=(v?"("===A?A:"-":"-"===A||"("===A?"":A)+y,b=("s"===f?Lr[8+Nr/3]:"")+b+(v&&"("===A?")":""),m)for(n=-1,g=e.length;++n<g;)if(48>(C=e.charCodeAt(n))||C>57){b=(46===C?a+e.slice(n+1):e.slice(n))+b,e=e.slice(0,n);break}}c&&!I&&(e=t(e,1/0));var x=y.length+e.length+b.length,_=x<s?new Array(s-x+1).join(i):"";switch(c&&I&&(e=t(_+e,_.length?s-b.length:1/0),_=""),o){case"<":e=y+e+b+_;break;case"=":e=y+_+e+b;break;case"^":e=_.slice(0,x=_.length>>1)+y+e+b+_.slice(x);break;default:e=_+y+e+b}return r(e)}return u=null==u?6:/[gprs]/.test(f)?Math.max(1,Math.min(21,u)):Math.max(0,Math.min(20,u)),y.toString=function(){return e+""},y}return{format:i,formatPrefix:function(e,t){var n=i(((e=kr(e)).type="f",e)),a=3*Math.max(-8,Math.min(8,Math.floor(wr(t)/3))),r=Math.pow(10,-a),g=Lr[8+a/3];return function(e){return n(r*e)+g}}}};!function(e){Mr=zr(e),Pr=Mr.format,Er=Mr.formatPrefix}({decimal:".",thousands:",",grouping:[3],currency:["$",""]});var Fr=function(e,t,n,a){var r,g=Nn(e,t,n);switch((a=kr(null==a?",f":a)).type){case"s":var i=Math.max(Math.abs(e),Math.abs(t));return null!=a.precision||isNaN(r=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(wr(t)/3)))-wr(Math.abs(e)))}(g,i))||(a.precision=r),Er(a,i);case"":case"e":case"g":case"p":case"r":null!=a.precision||isNaN(r=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,wr(t)-wr(e))+1}(g,Math.max(Math.abs(e),Math.abs(t))))||(a.precision=r-("e"===a.type));break;case"f":case"%":null!=a.precision||isNaN(r=function(e){return Math.max(0,-wr(Math.abs(e)))}(g))||(a.precision=r-2*("%"===a.type))}return Pr(a)};function Wr(e){var t=e.domain;return e.ticks=function(e){var n=t();return kn(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){var a=t();return Fr(a[0],a[a.length-1],null==e?10:e,n)},e.nice=function(n){null==n&&(n=10);var a,r=t(),g=0,i=r.length-1,o=r[g],A=r[i];return A<o&&(a=o,o=A,A=a,a=g,g=i,i=a),(a=On(o,A,n))>0?a=On(o=Math.floor(o/a)*a,A=Math.ceil(A/a)*a,n):a<0&&(a=On(o=Math.ceil(o*a)/a,A=Math.floor(A*a)/a,n)),a>0?(r[g]=Math.floor(o/a)*a,r[i]=Math.ceil(A/a)*a,t(r)):a<0&&(r[g]=Math.ceil(o*a)/a,r[i]=Math.floor(A*a)/a,t(r)),e},e}var Zr=new Date,qr=new Date;function Gr(e,t,n,a){function r(t){return e(t=new Date(+t)),t}return r.floor=r,r.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},r.round=function(e){var t=r(e),n=r.ceil(e);return e-t<n-e?t:n},r.offset=function(e,n){return t(e=new Date(+e),null==n?1:Math.floor(n)),e},r.range=function(n,a,g){var i,o=[];if(n=r.ceil(n),g=null==g?1:Math.floor(g),!(n<a&&g>0))return o;do{o.push(i=new Date(+n)),t(n,g),e(n)}while(i<n&&n<a);return o},r.filter=function(n){return Gr(function(t){if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)},function(e,a){if(e>=e)if(a<0)for(;++a<=0;)for(;t(e,-1),!n(e););else for(;--a>=0;)for(;t(e,1),!n(e););})},n&&(r.count=function(t,a){return Zr.setTime(+t),qr.setTime(+a),e(Zr),e(qr),Math.floor(n(Zr,qr))},r.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?r.filter(a?function(t){return a(t)%e==0}:function(t){return r.count(0,t)%e==0}):r:null}),r}var Ur=Gr(function(){},function(e,t){e.setTime(+e+t)},function(e,t){return t-e});Ur.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?Gr(function(t){t.setTime(Math.floor(t/e)*e)},function(t,n){t.setTime(+t+n*e)},function(t,n){return(n-t)/e}):Ur:null};Ur.range;var Vr=6e4,Yr=6048e5,Br=Gr(function(e){e.setTime(e-e.getMilliseconds())},function(e,t){e.setTime(+e+1e3*t)},function(e,t){return(t-e)/1e3},function(e){return e.getUTCSeconds()}),Kr=(Br.range,Gr(function(e){e.setTime(e-e.getMilliseconds()-1e3*e.getSeconds())},function(e,t){e.setTime(+e+t*Vr)},function(e,t){return(t-e)/Vr},function(e){return e.getMinutes()})),Hr=(Kr.range,Gr(function(e){e.setTime(e-e.getMilliseconds()-1e3*e.getSeconds()-e.getMinutes()*Vr)},function(e,t){e.setTime(+e+36e5*t)},function(e,t){return(t-e)/36e5},function(e){return e.getHours()})),Qr=(Hr.range,Gr(function(e){e.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Vr)/864e5},function(e){return e.getDate()-1})),Xr=Qr;Qr.range;function Jr(e){return Gr(function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+7*t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Vr)/Yr})}var $r=Jr(0),eg=Jr(1),tg=Jr(2),ng=Jr(3),ag=Jr(4),rg=Jr(5),gg=Jr(6),ig=($r.range,eg.range,tg.range,ng.range,ag.range,rg.range,gg.range,Gr(function(e){e.setDate(1),e.setHours(0,0,0,0)},function(e,t){e.setMonth(e.getMonth()+t)},function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())},function(e){return e.getMonth()})),og=(ig.range,Gr(function(e){e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,t){e.setFullYear(e.getFullYear()+t)},function(e,t){return t.getFullYear()-e.getFullYear()},function(e){return e.getFullYear()}));og.every=function(e){return isFinite(e=Math.floor(e))&&e>0?Gr(function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,n){t.setFullYear(t.getFullYear()+n*e)}):null};var Ag=og,Cg=(og.range,Gr(function(e){e.setUTCSeconds(0,0)},function(e,t){e.setTime(+e+t*Vr)},function(e,t){return(t-e)/Vr},function(e){return e.getUTCMinutes()})),Ig=(Cg.range,Gr(function(e){e.setUTCMinutes(0,0,0)},function(e,t){e.setTime(+e+36e5*t)},function(e,t){return(t-e)/36e5},function(e){return e.getUTCHours()})),sg=(Ig.range,Gr(function(e){e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+t)},function(e,t){return(t-e)/864e5},function(e){return e.getUTCDate()-1})),cg=sg;sg.range;function ug(e){return Gr(function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+7*t)},function(e,t){return(t-e)/Yr})}var lg=ug(0),fg=ug(1),hg=ug(2),pg=ug(3),dg=ug(4),mg=ug(5),yg=ug(6),bg=(lg.range,fg.range,hg.range,pg.range,dg.range,mg.range,yg.range,Gr(function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCMonth(e.getUTCMonth()+t)},function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())},function(e){return e.getUTCMonth()})),vg=(bg.range,Gr(function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)},function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()},function(e){return e.getUTCFullYear()}));vg.every=function(e){return isFinite(e=Math.floor(e))&&e>0?Gr(function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)}):null};var xg=vg;vg.range;function _g(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function wg(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function Tg(e){return{y:e,m:0,d:1,H:0,M:0,S:0,L:0}}var kg,Og,Ng,Mg={"-":"",_:" ",0:"0"},Pg=/^\s*\d+/,Eg=/^%/,Rg=/[\\^$*+?|[\]().{}]/g;function Sg(e,t,n){var a=e<0?"-":"",r=(a?-e:e)+"",g=r.length;return a+(g<n?new Array(n-g+1).join(t)+r:r)}function jg(e){return e.replace(Rg,"\\$&")}function Dg(e){return new RegExp("^(?:"+e.map(jg).join("|")+")","i")}function Lg(e){for(var t={},n=-1,a=e.length;++n<a;)t[e[n].toLowerCase()]=n;return t}function zg(e,t,n){var a=Pg.exec(t.slice(n,n+1));return a?(e.w=+a[0],n+a[0].length):-1}function Fg(e,t,n){var a=Pg.exec(t.slice(n,n+1));return a?(e.u=+a[0],n+a[0].length):-1}function Wg(e,t,n){var a=Pg.exec(t.slice(n,n+2));return a?(e.U=+a[0],n+a[0].length):-1}function Zg(e,t,n){var a=Pg.exec(t.slice(n,n+2));return a?(e.V=+a[0],n+a[0].length):-1}function qg(e,t,n){var a=Pg.exec(t.slice(n,n+2));return a?(e.W=+a[0],n+a[0].length):-1}function Gg(e,t,n){var a=Pg.exec(t.slice(n,n+4));return a?(e.y=+a[0],n+a[0].length):-1}function Ug(e,t,n){var a=Pg.exec(t.slice(n,n+2));return a?(e.y=+a[0]+(+a[0]>68?1900:2e3),n+a[0].length):-1}function Vg(e,t,n){var a=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return a?(e.Z=a[1]?0:-(a[2]+(a[3]||"00")),n+a[0].length):-1}function Yg(e,t,n){var a=Pg.exec(t.slice(n,n+2));return a?(e.m=a[0]-1,n+a[0].length):-1}function Bg(e,t,n){var a=Pg.exec(t.slice(n,n+2));return a?(e.d=+a[0],n+a[0].length):-1}function Kg(e,t,n){var a=Pg.exec(t.slice(n,n+3));return a?(e.m=0,e.d=+a[0],n+a[0].length):-1}function Hg(e,t,n){var a=Pg.exec(t.slice(n,n+2));return a?(e.H=+a[0],n+a[0].length):-1}function Qg(e,t,n){var a=Pg.exec(t.slice(n,n+2));return a?(e.M=+a[0],n+a[0].length):-1}function Xg(e,t,n){var a=Pg.exec(t.slice(n,n+2));return a?(e.S=+a[0],n+a[0].length):-1}function Jg(e,t,n){var a=Pg.exec(t.slice(n,n+3));return a?(e.L=+a[0],n+a[0].length):-1}function $g(e,t,n){var a=Pg.exec(t.slice(n,n+6));return a?(e.L=Math.floor(a[0]/1e3),n+a[0].length):-1}function ei(e,t,n){var a=Eg.exec(t.slice(n,n+1));return a?n+a[0].length:-1}function ti(e,t,n){var a=Pg.exec(t.slice(n));return a?(e.Q=+a[0],n+a[0].length):-1}function ni(e,t,n){var a=Pg.exec(t.slice(n));return a?(e.Q=1e3*+a[0],n+a[0].length):-1}function ai(e,t){return Sg(e.getDate(),t,2)}function ri(e,t){return Sg(e.getHours(),t,2)}function gi(e,t){return Sg(e.getHours()%12||12,t,2)}function ii(e,t){return Sg(1+Xr.count(Ag(e),e),t,3)}function oi(e,t){return Sg(e.getMilliseconds(),t,3)}function Ai(e,t){return oi(e,t)+"000"}function Ci(e,t){return Sg(e.getMonth()+1,t,2)}function Ii(e,t){return Sg(e.getMinutes(),t,2)}function si(e,t){return Sg(e.getSeconds(),t,2)}function ci(e){var t=e.getDay();return 0===t?7:t}function ui(e,t){return Sg($r.count(Ag(e),e),t,2)}function li(e,t){var n=e.getDay();return e=n>=4||0===n?ag(e):ag.ceil(e),Sg(ag.count(Ag(e),e)+(4===Ag(e).getDay()),t,2)}function fi(e){return e.getDay()}function hi(e,t){return Sg(eg.count(Ag(e),e),t,2)}function pi(e,t){return Sg(e.getFullYear()%100,t,2)}function di(e,t){return Sg(e.getFullYear()%1e4,t,4)}function mi(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+Sg(t/60|0,"0",2)+Sg(t%60,"0",2)}function yi(e,t){return Sg(e.getUTCDate(),t,2)}function bi(e,t){return Sg(e.getUTCHours(),t,2)}function vi(e,t){return Sg(e.getUTCHours()%12||12,t,2)}function xi(e,t){return Sg(1+cg.count(xg(e),e),t,3)}function _i(e,t){return Sg(e.getUTCMilliseconds(),t,3)}function wi(e,t){return _i(e,t)+"000"}function Ti(e,t){return Sg(e.getUTCMonth()+1,t,2)}function ki(e,t){return Sg(e.getUTCMinutes(),t,2)}function Oi(e,t){return Sg(e.getUTCSeconds(),t,2)}function Ni(e){var t=e.getUTCDay();return 0===t?7:t}function Mi(e,t){return Sg(lg.count(xg(e),e),t,2)}function Pi(e,t){var n=e.getUTCDay();return e=n>=4||0===n?dg(e):dg.ceil(e),Sg(dg.count(xg(e),e)+(4===xg(e).getUTCDay()),t,2)}function Ei(e){return e.getUTCDay()}function Ri(e,t){return Sg(fg.count(xg(e),e),t,2)}function Si(e,t){return Sg(e.getUTCFullYear()%100,t,2)}function ji(e,t){return Sg(e.getUTCFullYear()%1e4,t,4)}function Di(){return"+0000"}function Li(){return"%"}function zi(e){return+e}function Fi(e){return Math.floor(+e/1e3)}!function(e){kg=function(e){var t=e.dateTime,n=e.date,a=e.time,r=e.periods,g=e.days,i=e.shortDays,o=e.months,A=e.shortMonths,C=Dg(r),I=Lg(r),s=Dg(g),c=Lg(g),u=Dg(i),l=Lg(i),f=Dg(o),h=Lg(o),p=Dg(A),d=Lg(A),m={a:function(e){return i[e.getDay()]},A:function(e){return g[e.getDay()]},b:function(e){return A[e.getMonth()]},B:function(e){return o[e.getMonth()]},c:null,d:ai,e:ai,f:Ai,H:ri,I:gi,j:ii,L:oi,m:Ci,M:Ii,p:function(e){return r[+(e.getHours()>=12)]},Q:zi,s:Fi,S:si,u:ci,U:ui,V:li,w:fi,W:hi,x:null,X:null,y:pi,Y:di,Z:mi,"%":Li},y={a:function(e){return i[e.getUTCDay()]},A:function(e){return g[e.getUTCDay()]},b:function(e){return A[e.getUTCMonth()]},B:function(e){return o[e.getUTCMonth()]},c:null,d:yi,e:yi,f:wi,H:bi,I:vi,j:xi,L:_i,m:Ti,M:ki,p:function(e){return r[+(e.getUTCHours()>=12)]},Q:zi,s:Fi,S:Oi,u:Ni,U:Mi,V:Pi,w:Ei,W:Ri,x:null,X:null,y:Si,Y:ji,Z:Di,"%":Li},b={a:function(e,t,n){var a=u.exec(t.slice(n));return a?(e.w=l[a[0].toLowerCase()],n+a[0].length):-1},A:function(e,t,n){var a=s.exec(t.slice(n));return a?(e.w=c[a[0].toLowerCase()],n+a[0].length):-1},b:function(e,t,n){var a=p.exec(t.slice(n));return a?(e.m=d[a[0].toLowerCase()],n+a[0].length):-1},B:function(e,t,n){var a=f.exec(t.slice(n));return a?(e.m=h[a[0].toLowerCase()],n+a[0].length):-1},c:function(e,n,a){return _(e,t,n,a)},d:Bg,e:Bg,f:$g,H:Hg,I:Hg,j:Kg,L:Jg,m:Yg,M:Qg,p:function(e,t,n){var a=C.exec(t.slice(n));return a?(e.p=I[a[0].toLowerCase()],n+a[0].length):-1},Q:ti,s:ni,S:Xg,u:Fg,U:Wg,V:Zg,w:zg,W:qg,x:function(e,t,a){return _(e,n,t,a)},X:function(e,t,n){return _(e,a,t,n)},y:Ug,Y:Gg,Z:Vg,"%":ei};function v(e,t){return function(n){var a,r,g,i=[],o=-1,A=0,C=e.length;for(n instanceof Date||(n=new Date(+n));++o<C;)37===e.charCodeAt(o)&&(i.push(e.slice(A,o)),null!=(r=Mg[a=e.charAt(++o)])?a=e.charAt(++o):r="e"===a?" ":"0",(g=t[a])&&(a=g(n,r)),i.push(a),A=o+1);return i.push(e.slice(A,o)),i.join("")}}function x(e,t){return function(n){var a,r,g=Tg(1900);if(_(g,e,n+="",0)!=n.length)return null;if("Q"in g)return new Date(g.Q);if("p"in g&&(g.H=g.H%12+12*g.p),"V"in g){if(g.V<1||g.V>53)return null;"w"in g||(g.w=1),"Z"in g?(a=(r=(a=wg(Tg(g.y))).getUTCDay())>4||0===r?fg.ceil(a):fg(a),a=cg.offset(a,7*(g.V-1)),g.y=a.getUTCFullYear(),g.m=a.getUTCMonth(),g.d=a.getUTCDate()+(g.w+6)%7):(a=(r=(a=t(Tg(g.y))).getDay())>4||0===r?eg.ceil(a):eg(a),a=Xr.offset(a,7*(g.V-1)),g.y=a.getFullYear(),g.m=a.getMonth(),g.d=a.getDate()+(g.w+6)%7)}else("W"in g||"U"in g)&&("w"in g||(g.w="u"in g?g.u%7:"W"in g?1:0),r="Z"in g?wg(Tg(g.y)).getUTCDay():t(Tg(g.y)).getDay(),g.m=0,g.d="W"in g?(g.w+6)%7+7*g.W-(r+5)%7:g.w+7*g.U-(r+6)%7);return"Z"in g?(g.H+=g.Z/100|0,g.M+=g.Z%100,wg(g)):t(g)}}function _(e,t,n,a){for(var r,g,i=0,o=t.length,A=n.length;i<o;){if(a>=A)return-1;if(37===(r=t.charCodeAt(i++))){if(r=t.charAt(i++),!(g=b[r in Mg?t.charAt(i++):r])||(a=g(e,n,a))<0)return-1}else if(r!=n.charCodeAt(a++))return-1}return a}return m.x=v(n,m),m.X=v(a,m),m.c=v(t,m),y.x=v(n,y),y.X=v(a,y),y.c=v(t,y),{format:function(e){var t=v(e+="",m);return t.toString=function(){return e},t},parse:function(e){var t=x(e+="",_g);return t.toString=function(){return e},t},utcFormat:function(e){var t=v(e+="",y);return t.toString=function(){return e},t},utcParse:function(e){var t=x(e,wg);return t.toString=function(){return e},t}}}(e),kg.format,kg.parse,Og=kg.utcFormat,Ng=kg.utcParse}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});Date.prototype.toISOString||Og("%Y-%m-%dT%H:%M:%S.%LZ");+new Date("2000-01-01T00:00:00.000Z")||Ng("%Y-%m-%dT%H:%M:%S.%LZ");var Wi=function(e){var t=e.range,n=e.rangeRound,a=e.domain,r=e.padding,g=e.paddingInner,i=e.paddingOuter,o=e.align,A=e.tickFormat,C=qn();return C.type="band",t&&C.range(t),n&&C.rangeRound(n),a&&C.domain(a),r&&C.padding(r),g&&C.paddingInner(g),i&&C.paddingOuter(i),o&&C.align(o),A&&(C.tickFormat=A),C},Zi=function(e){var t=e.range,n=e.rangeRound,a=e.domain,r=e.nice,g=void 0!==r&&r,i=e.clamp,o=void 0!==i&&i,A=function e(){var t=xr(hr,hr);return t.copy=function(){return br(t,e())},Mn.apply(t,arguments),Wr(t)}();return A.type="linear",t&&A.range(t),n&&A.rangeRound(n),a&&A.domain(a),g&&A.nice(),o&&A.clamp(!0),A},qi=function(e){var t=e.range,n=e.domain,a=e.unknown,r=Zn();return r.type="ordinal",t&&r.range(t),n&&r.domain(n),a&&r.unknown(a),r};Object.prototype.hasOwnProperty;function Gi(){return(Gi=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Ui(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},g=Object.keys(e);for(a=0;a<g.length;a++)n=g[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var g=Object.getOwnPropertySymbols(e);for(a=0;a<g.length;a++)n=g[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Vi(e){var t=e.from,n=void 0===t?new Le({x:0,y:0}):t,a=e.to,g=void 0===a?new Le({x:1,y:1}):a,i=e.fill,o=void 0===i?"transparent":i,C=e.className,I=void 0===C?"":C,s=e.innerRef,c=Ui(e,["from","to","fill","className","innerRef"]);return r.a.createElement("line",Gi({ref:s,className:A()("vx-line",I),x1:n.x,y1:n.y,x2:g.x,y2:g.y,fill:o},c))}function Yi(e){var t=e.children,n=e.data,a=e.x,g=e.y,i=e.fill,o=void 0===i?"transparent":i,C=e.className,I=e.curve,s=e.innerRef,c=e.defined,u=void 0===c?function(){return!0}:c,l=Ui(e,["children","data","x","y","fill","className","curve","innerRef","defined"]),f=gt();return a&&f.x(a),g&&f.y(g),u&&f.defined(u),I&&f.curve(I),t?t({path:f}):r.a.createElement("path",Gi({ref:s,className:A()("vx-linepath",C),d:f(n),fill:o},l))}i.a.string,i.a.any,i.a.func,i.a.func,i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.string,i.a.number,i.a.number,i.a.array,i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.func,i.a.func,i.a.func,Vi.propTypes={className:i.a.string,innerRef:i.a.func,from:i.a.shape({x:i.a.number,y:i.a.number}),to:i.a.shape({x:i.a.number,y:i.a.number})},Yi.propTypes={innerRef:i.a.func,data:i.a.array,curve:i.a.func,defined:i.a.oneOf([i.a.func,i.a.bool]),x:i.a.oneOfType([i.a.func,i.a.number]),y:i.a.oneOfType([i.a.func,i.a.number])},i.a.func,i.a.string,i.a.any,i.a.func,i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.func,i.a.string,i.a.any,i.a.func,i.a.func,i.a.func,i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.func,i.a.string,i.a.any,i.a.func,i.a.func,i.a.func,i.a.func,i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]);var Bi={ascending:Vt,descending:Bt,insideout:Kt,none:Lt,reverse:Ht};Object.keys(Bi);function Ki(e){return Bi[e]||Bi.none}var Hi={expand:Wt,diverging:Zt,none:Dt,silhouette:qt,wiggle:Gt};Object.keys(Hi);function Qi(e){return Hi[e]||Hi.none}function Xi(e){var t=e.className,n=e.top,a=e.left,g=e.keys,i=e.data,o=e.curve,C=e.defined,I=e.x,s=e.x0,c=e.x1,u=e.y0,l=e.y1,f=e.value,h=e.order,p=e.offset,d=e.color,m=e.children,y=Ui(e,["className","top","left","keys","data","curve","defined","x","x0","x1","y0","y1","value","order","offset","color","children"]),b=Ft();g&&b.keys(g),f&&b.value(f),h&&b.order(Ki(h)),p&&b.offset(Qi(p));var v=it();I&&v.x(I),s&&v.x0(s),c&&v.x1(c),u&&v.y0(u),l&&v.y1(l),o&&v.curve(o),C&&v.defined(C);var x=b(i);return m?m({stacks:x,path:v,stack:b}):r.a.createElement(Ze,{top:n,left:a},x.map(function(e,n){return r.a.createElement("path",Gi({className:A()("vx-stack",t),key:"stack-".concat(n,"-").concat(e.key||""),d:v(e),fill:d(e.key,n)},y))}))}function Ji(e){var t=e.className,n=e.innerRef,a=Ui(e,["className","innerRef"]);return r.a.createElement("rect",Gi({ref:n,className:A()("vx-bar",t)},a))}function $i(e,t){return!!e[t]&&"function"==typeof e[t]}function eo(e){var t=e.data,n=e.className,a=e.top,g=e.left,i=e.x0,o=e.x0Scale,C=e.x1Scale,I=e.yScale,s=e.color,c=e.keys,u=e.height,l=e.children,f=Ui(e,["data","className","top","left","x0","x0Scale","x1Scale","yScale","color","keys","height","children"]),h=C.range(),p=C.domain(),d=$i(C,"bandwidth")?C.bandwidth():Math.abs(h[h.length-1]-h[0])/p.length,m=t.map(function(e,t){return{index:t,x0:o(i(e)),bars:c.map(function(t,n){var a=e[t];return{index:n,key:t,value:a,width:d,x:C(t),y:I(a),color:s(t,n),height:u-I(a)}})}});return l?l(m):r.a.createElement(Ze,{className:A()("vx-bar-group",n),top:a,left:g},m.map(function(e){return r.a.createElement(Ze,{key:"bar-group-".concat(e.index,"-").concat(e.x0),left:e.x0},e.bars.map(function(t){return r.a.createElement(Ji,Gi({key:"bar-group-bar-".concat(e.index,"-").concat(t.index,"-").concat(t.value,"-").concat(t.key),x:t.x,y:t.y,width:t.width,height:t.height,fill:t.color},f))}))}))}function to(e){var t=e.data,n=e.className,a=e.top,g=e.left,i=e.y,o=e.x0,C=void 0===o?function(e){return e[0]}:o,I=e.x1,s=void 0===I?function(e){return e[1]}:I,c=e.xScale,u=e.yScale,l=e.color,f=e.keys,h=e.value,p=e.order,d=e.offset,m=e.children,y=Ui(e,["data","className","top","left","y","x0","x1","xScale","yScale","color","keys","value","order","offset","children"]),b=Ft();f&&b.keys(f),h&&b.value(h),p&&b.order(Ki(p)),d&&b.offset(Qi(d));var v=b(t),x=u.range(),_=u.domain(),w=$i(u,"bandwidth")?u.bandwidth():Math.abs(x[x.length-1]-x[0])/_.length,T=v.map(function(e,t){var n=e.key;return{index:t,key:n,bars:e.map(function(t,a){var r=c(s(t))-c(C(t)),g=c(C(t)),o=$i(u,"bandwidth")?u(i(t.data)):Math.max(u(i(t.data))-r/2);return{bar:t,key:n,index:a,height:w,width:r,x:g,y:o,color:l(e.key,a)}})}});return m?m(T):r.a.createElement(Ze,{className:A()("vx-bar-stack-horizontal",n),top:a,left:g},T.map(function(e){return e.bars.map(function(t){return r.a.createElement(Ji,Gi({key:"bar-stack-".concat(e.index,"-").concat(t.index),x:t.x,y:t.y,height:t.height,width:t.width,fill:t.color},y))})}))}Xi.propTypes={data:i.a.array.isRequired,className:i.a.string,top:i.a.number,left:i.a.number,curve:i.a.func,color:i.a.func,keys:i.a.array,children:i.a.func,x:i.a.oneOfType([i.a.func,i.a.number]),x0:i.a.oneOfType([i.a.func,i.a.number]),x1:i.a.oneOfType([i.a.func,i.a.number]),y:i.a.oneOfType([i.a.func,i.a.number]),y0:i.a.oneOfType([i.a.func,i.a.number]),y1:i.a.oneOfType([i.a.func,i.a.number]),value:i.a.oneOfType([i.a.func,i.a.number]),defined:i.a.oneOfType([i.a.func,i.a.bool]),order:i.a.oneOfType([i.a.func,i.a.array,i.a.string]),offset:i.a.oneOfType([i.a.func,i.a.array,i.a.string])},i.a.string,i.a.number,i.a.number,i.a.array,i.a.array,i.a.func,i.a.func,i.a.func,i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.bool]),i.a.oneOfType([i.a.func,i.a.array,i.a.string]),i.a.oneOfType([i.a.func,i.a.array,i.a.string]),Ji.propTypes={innerRef:i.a.func,className:i.a.string},eo.propTypes={data:i.a.array.isRequired,x0:i.a.func.isRequired,x0Scale:i.a.func.isRequired,x1Scale:i.a.func.isRequired,yScale:i.a.func.isRequired,color:i.a.func.isRequired,keys:i.a.array.isRequired,height:i.a.number.isRequired,className:i.a.string,top:i.a.number,left:i.a.number,children:i.a.func},i.a.array.isRequired,i.a.func.isRequired,i.a.func.isRequired,i.a.func.isRequired,i.a.func.isRequired,i.a.func.isRequired,i.a.array.isRequired,i.a.number.isRequired,i.a.string,i.a.func,i.a.number,i.a.number,i.a.func,i.a.array.isRequired,i.a.func.isRequired,i.a.func.isRequired,i.a.func.isRequired,i.a.func.isRequired,i.a.array.isRequired,i.a.string,i.a.number,i.a.number,i.a.func,i.a.func,i.a.func,i.a.oneOfType([i.a.func,i.a.array,i.a.string]),i.a.oneOfType([i.a.func,i.a.array,i.a.string]),i.a.oneOfType([i.a.func,i.a.number]),to.propTypes={data:i.a.array.isRequired,y:i.a.func.isRequired,x0:i.a.func,x1:i.a.func,xScale:i.a.func.isRequired,yScale:i.a.func.isRequired,color:i.a.func.isRequired,keys:i.a.array.isRequired,className:i.a.string,top:i.a.number,left:i.a.number,order:i.a.oneOfType([i.a.func,i.a.array,i.a.string]),offset:i.a.oneOfType([i.a.func,i.a.array,i.a.string]),value:i.a.oneOfType([i.a.func,i.a.number]),children:i.a.func};i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.number,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.number,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.number,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.number,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.number,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.number.isRequired,i.a.number.isRequired,i.a.string,i.a.number,i.a.func,i.a.func,i.a.shape({x:i.a.number,y:i.a.number});function no(){return(no=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function ao(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},g=Object.keys(e);for(a=0;a<g.length;a++)n=g[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var g=Object.getOwnPropertySymbols(e);for(a=0;a<g.length;a++)n=g[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function ro(e){var t=e.top,n=void 0===t?0:t,a=e.left,g=void 0===a?0:a,i=e.scale,o=e.width,C=e.stroke,I=void 0===C?"#eaf0f6":C,s=e.strokeWidth,c=void 0===s?1:s,u=e.strokeDasharray,l=e.className,f=e.numTicks,h=void 0===f?10:f,p=e.lineStyle,d=e.offset,m=e.tickValues,y=ao(e,["top","left","scale","width","stroke","strokeWidth","strokeDasharray","className","numTicks","lineStyle","offset","tickValues"]),b=i.ticks?i.ticks(h):i.domain();return m&&(b=m),r.a.createElement(Ze,{className:A()("vx-rows",l),top:n,left:g},b.map(function(e,t){var n=d?i(e)+d:i(e),a=new Le({x:0,y:n}),g=new Le({x:o,y:n});return r.a.createElement(Vi,no({key:"row-line-".concat(e,"-").concat(t),from:a,to:g,stroke:I,strokeWidth:c,strokeDasharray:u,style:p},y))}))}function go(e){var t=e.top,n=void 0===t?0:t,a=e.left,g=void 0===a?0:a,i=e.scale,o=e.height,C=e.stroke,I=void 0===C?"#eaf0f6":C,s=e.strokeWidth,c=void 0===s?1:s,u=e.strokeDasharray,l=e.className,f=e.numTicks,h=void 0===f?10:f,p=e.lineStyle,d=e.offset,m=e.tickValues,y=ao(e,["top","left","scale","height","stroke","strokeWidth","strokeDasharray","className","numTicks","lineStyle","offset","tickValues"]),b=i.ticks?i.ticks(h):i.domain();return m&&(b=m),r.a.createElement(Ze,{className:A()("vx-columns",l),top:n,left:g},b.map(function(e,t){var n=d?i(e)+d:i(e),a=new Le({x:n,y:0}),g=new Le({x:n,y:o});return r.a.createElement(Vi,no({key:"column-line-".concat(e,"-").concat(t),from:a,to:g,stroke:I,strokeWidth:c,strokeDasharray:u,style:p},y))}))}function io(e){var t=e.top,n=e.left,a=e.xScale,g=e.yScale,i=e.width,o=e.height,C=e.className,I=e.stroke,s=e.strokeWidth,c=e.strokeDasharray,u=e.numTicksRows,l=e.numTicksColumns,f=e.rowLineStyle,h=e.columnLineStyle,p=e.xOffset,d=e.yOffset,m=e.rowTickValues,y=e.columnTickValues,b=ao(e,["top","left","xScale","yScale","width","height","className","stroke","strokeWidth","strokeDasharray","numTicksRows","numTicksColumns","rowLineStyle","columnLineStyle","xOffset","yOffset","rowTickValues","columnTickValues"]);return r.a.createElement(Ze,{className:A()("vx-grid",C),top:t,left:n},r.a.createElement(ro,no({className:C,scale:g,width:i,stroke:I,strokeWidth:s,strokeDasharray:c,numTicks:u,style:f,offset:d,tickValues:m},b)),r.a.createElement(go,no({className:C,scale:a,height:o,stroke:I,strokeWidth:s,strokeDasharray:c,numTicks:l,style:h,offset:p,tickValues:y},b)))}i.a.func,i.a.string,ro.propTypes={top:i.a.number,left:i.a.number,className:i.a.string,stroke:i.a.string,strokeWidth:i.a.oneOfType([i.a.string,i.a.number]),strokeDasharray:i.a.string,numTicks:i.a.number,lineStyle:i.a.object,offset:i.a.number,scale:i.a.func.isRequired,width:i.a.number.isRequired,tickValues:i.a.array},go.propTypes={top:i.a.number,left:i.a.number,className:i.a.string,stroke:i.a.string,strokeWidth:i.a.oneOfType([i.a.string,i.a.number]),strokeDasharray:i.a.string,numTicks:i.a.number,lineStyle:i.a.object,offset:i.a.number,scale:i.a.func.isRequired,height:i.a.number.isRequired,tickValues:i.a.array},io.propTypes={top:i.a.number,left:i.a.number,className:i.a.string,stroke:i.a.string,strokeWidth:i.a.oneOfType([i.a.string,i.a.number]),strokeDasharray:i.a.string,numTicksRows:i.a.number,numTicksColumns:i.a.number,rowLineStyle:i.a.object,columnLineStyle:i.a.object,xOffset:i.a.number,yOffset:i.a.number,xScale:i.a.func.isRequired,yScale:i.a.func.isRequired,height:i.a.number.isRequired,width:i.a.number.isRequired,rowTickValues:i.a.array,columnTickValues:i.a.array};var oo=function(e,t){return e<t?-1:e>t?1:e>=t?0:NaN},Ao=function(e){return 1===e.length&&(e=function(e){return function(t,n){return oo(e(t),n)}}(e)),{left:function(t,n,a,r){for(null==a&&(a=0),null==r&&(r=t.length);a<r;){var g=a+r>>>1;e(t[g],n)<0?a=g+1:r=g}return a},right:function(t,n,a,r){for(null==a&&(a=0),null==r&&(r=t.length);a<r;){var g=a+r>>>1;e(t[g],n)>0?r=g:a=g+1}return a}}};var Co=Ao(oo);Co.right,Co.left;var Io=function(e,t){var n,a,r,g=e.length,i=-1;if(null==t){for(;++i<g;)if(null!=(n=e[i])&&n>=n)for(a=r=n;++i<g;)null!=(n=e[i])&&(a>n&&(a=n),r<n&&(r=n))}else for(;++i<g;)if(null!=(n=t(e[i],i,e))&&n>=n)for(a=r=n;++i<g;)null!=(n=t(e[i],i,e))&&(a>n&&(a=n),r<n&&(r=n));return[a,r]},so=Array.prototype;so.slice,so.map,Math.sqrt(50),Math.sqrt(10),Math.sqrt(2);var co=function(e,t){var n,a,r=e.length,g=-1;if(null==t){for(;++g<r;)if(null!=(n=e[g])&&n>=n)for(a=n;++g<r;)null!=(n=e[g])&&n>a&&(a=n)}else for(;++g<r;)if(null!=(n=t(e[g],g,e))&&n>=n)for(a=n;++g<r;)null!=(n=t(e[g],g,e))&&n>a&&(a=n);return a};function uo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lo(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function fo(e,t,n){return t&&lo(e.prototype,t),n&&lo(e,n),e}function ho(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function po(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){ho(e,t,n[t])})}return e}function mo(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&&function(e,t){(Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}(e,t)}function yo(e){return(yo=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function bo(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},g=Object.keys(e);for(a=0;a<g.length;a++)n=g[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var g=Object.getOwnPropertySymbols(e);for(a=0;a<g.length;a++)n=g[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function vo(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xo(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?vo(e):t}var _o=function(e){function t(e){var n;return uo(this,t),(n=xo(this,yo(t).call(this,e))).handleMouseMove=n.handleMouseMove.bind(vo(vo(n))),n.handleMouseLeave=n.handleMouseLeave.bind(vo(vo(n))),n.tooltipTimeout=null,n}return mo(t,r.a.Component),fo(t,[{key:"componentWillUnmount",value:function(){this.tooltipTimeout&&clearTimeout(this.tooltipTimeout)}},{key:"handleMouseMove",value:function(e){var t=e.event,n=e.datum,a=e.coords,r=bo(e,["event","datum","coords"]),g=this.props.showTooltip;this.tooltipTimeout&&clearTimeout(this.tooltipTimeout);var i={x:0,y:0};t&&t.target&&t.target.ownerSVGElement&&(i=ze(t.target.ownerSVGElement,t)),g({tooltipLeft:(i=po({},i,a)).x,tooltipTop:i.y,tooltipData:po({event:t,datum:n},r)})}},{key:"handleMouseLeave",value:function(){var e=this.props.hideTooltip;this.tooltipTimeout=setTimeout(function(){e()},200)}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.tooltipData,a=e.tooltipOpen,g=e.tooltipLeft,i=e.tooltipTop,o=e.renderTooltip,A=this.handleMouseMove,C=this.handleMouseLeave,I=a&&o(n);return r.a.createElement(r.a.Fragment,null,t({handleMouseMove:A,handleMouseLeave:C,tooltipOpen:a}),a&&r.a.createElement(je,{top:i,left:g,style:{borderRadius:0,boxShadow:"0 2px 5px 0 rgba(0, 0, 0, 0.15), 0 2px 10px 0 rgba(0, 0, 0, 0.1)"}},I))}}]),t}();_o.propTypes={children:i.a.func,tooltipData:i.a.object,tooltipOpen:i.a.bool,tooltipLeft:i.a.number,tooltipTop:i.a.number,renderTooltip:i.a.func.isRequired};var wo=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{style:{position:"relative",width:"inherit",height:"inherit"}};return function(n){function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?Me(e):t}(this,ke(a).call(this,e))).state={tooltipOpen:!1,tooltipLeft:void 0,tooltipTop:void 0,tooltipData:void 0},t.updateTooltip=t.updateTooltip.bind(Me(Me(t))),t.showTooltip=t.showTooltip.bind(Me(Me(t))),t.hideTooltip=t.hideTooltip.bind(Me(Me(t))),t}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)}(a,r.a.PureComponent),function(e,t,n){t&&xe(e.prototype,t),n&&xe(e,n)}(a,[{key:"updateTooltip",value:function(e){var t=e.tooltipOpen,n=e.tooltipLeft,a=e.tooltipTop,r=e.tooltipData;this.setState(function(e){return Te({},e,{tooltipOpen:t,tooltipLeft:n,tooltipTop:a,tooltipData:r})})}},{key:"showTooltip",value:function(e){var t=e.tooltipLeft,n=e.tooltipTop,a=e.tooltipData;this.updateTooltip({tooltipOpen:!0,tooltipLeft:t,tooltipTop:n,tooltipData:a})}},{key:"hideTooltip",value:function(){this.updateTooltip({tooltipOpen:!1,tooltipLeft:void 0,tooltipTop:void 0,tooltipData:void 0})}},{key:"render",value:function(){return r.a.createElement("div",t,r.a.createElement(e,we({updateTooltip:this.updateTooltip,showTooltip:this.showTooltip,hideTooltip:this.hideTooltip},this.state,this.props)))}}]),a}()}(_o),To=function(e){var t=e.maxWidth,n=e.height,a=e.aspectRatio,g=e.renderTooltip,i=e.children,o=bo(e,["maxWidth","height","aspectRatio","renderTooltip","children"]);return r.a.createElement("div",{style:{maxWidth:t,height:n},className:"dv-Chart"},r.a.createElement(le.a,null,function(e){var t=e.width,A=e.height;if(t<10)return null;var C=n?A:t*a;return g?r.a.createElement(wo,{renderTooltip:g},function(e){var n=e.handleMouseMove,a=e.handleMouseLeave,g=e.tooltipOpen;return r.a.createElement("svg",{width:t,height:C},i(po({width:t,height:C,handleMouseMove:n,handleMouseLeave:a,tooltipOpen:g},o)))}):r.a.createElement("svg",{width:t,height:C},i(po({width:t,height:C},o)))}))};To.propTypes={maxWidth:i.a.oneOfType([i.a.string,i.a.number]),height:function(e,t,n){return e.height||e.aspectRatio?e.aspectRatio||"string"==typeof e.height||"number"==typeof e.height?void 0:new Error("'".concat(t,"' prop in '").concat(n,"' must be a number or a string.")):new Error("One of props 'height' or 'aspectRatio' was not specified in '".concat(n,"'."))},aspectRatio:function(e,t,n){return e.height||e.aspectRatio?e.height||"number"==typeof e.aspectRatio?void 0:new Error("'".concat(t,"' prop in '").concat(n,"' must be a number.")):new Error("One of props 'height' or 'aspectRatio' was not specified in '".concat(n,"'."))},renderTooltip:i.a.func,renderLegend:i.a.func,renderAnnotation:i.a.func,children:i.a.func.isRequired},To.defaultProps={maxWidth:"100%"};var ko=function(e){var t=e.width,n=e.height,a=e.handleMouseMove,g=e.handleMouseLeave,i=e.data,o=e.x,A=e.y,C=e.xFormat,I=e.yFormat,s=e.xAxisLabel,c=e.yAxisLabel,u=e.numTicksY,l=e.color,f=e.margin,h=t-f.left-f.right,p=n-f.top-f.bottom,d=Wi({rangeRound:[0,h],domain:i.map(function(e){return o(e)}),padding:.2}),m=Zi({rangeRound:[p,0],domain:[0,co(i,A)]});return r.a.createElement(Ze,{top:f.top,left:f.left},r.a.createElement(ro,{scale:m,width:h,numTicks:"function"==typeof u?u(n):u}),r.a.createElement(Ze,null,i.map(function(e,t){return r.a.createElement("rect",{key:"bar-".concat(t),x:d(o(e)),y:m(A(e)),width:d.bandwidth(),height:p-m(A(e)),fill:l,onMouseMove:function(t){return a?a({event:t,data:i,datum:e}):null},onMouseLeave:g||null})})),r.a.createElement(ln,{scale:m,hideTicks:!0,hideAxisLine:!0,numTicks:"function"==typeof u?u(n):u,tickFormat:I,tickLabelProps:function(){return{textAnchor:"end",verticalAnchor:"middle"}},label:c,labelProps:{textAnchor:"middle",verticalAnchor:"end"}}),r.a.createElement(hn,{top:p,scale:d,label:s,hideAxisLine:!1,hideTicks:!1,tickFormat:C,tickLabelProps:function(){return{textAnchor:"middle",width:d.bandwidth(),verticalAnchor:"middle"}},labelProps:{dy:"3em",textAnchor:"middle",y:0}}))};ko.propTypes={width:i.a.number.isRequired,height:i.a.number.isRequired,handleMouseMove:i.a.func,handleMouseLeave:i.a.func,data:i.a.array.isRequired,x:i.a.func.isRequired,y:i.a.func.isRequired,xFormat:i.a.func,yFormat:i.a.func,xAxisLabel:i.a.string,yAxisLabel:i.a.string,numTicksY:i.a.oneOfType([i.a.number,i.a.func]),color:i.a.string,margin:i.a.shape({top:i.a.number,right:i.a.number,bottom:i.a.number,left:i.a.number})},ko.defaultProps={numTicksY:5,color:"#22C8A3",margin:{top:10,left:55,right:10,bottom:30}};var Oo=function(e){var t=e.width,n=e.height,a=e.handleMouseMove,g=e.handleMouseLeave,i=e.data,o=e.x,A=e.y,C=e.xFormat,I=e.yFormat,s=e.xAxisLabel,c=e.yAxisLabel,u=e.yLabelOffset,l=e.numTicksX,f=e.color,h=e.margin,p=t-h.left-h.right,d=n-h.top-h.bottom,m=Wi({rangeRound:[0,d],domain:i.map(A),padding:.2}),y=Zi({rangeRound:[0,p],domain:[0,co(i,o)]});return r.a.createElement(Ze,{top:h.top,left:h.left},r.a.createElement(go,{scale:y,height:d,numTicks:"function"==typeof l?l(t):l}),r.a.createElement(Ze,null,i.map(function(e,t){return r.a.createElement(Ji,{key:"bar-".concat(t),x:0,y:m(A(e)),width:y(o(e)),height:m.bandwidth(),fill:f,onMouseMove:function(t){return a?a({event:t,data:i,datum:e}):null},onMouseLeave:g||null})})),r.a.createElement(ln,{scale:m,hideTicks:!1,hideAxisLine:!1,tickFormat:I,tickLabelProps:function(){return{width:h.left,textAnchor:"end",verticalAnchor:"middle",dx:"-0.3em"}},label:c,labelProps:{dx:u,textAnchor:"middle",verticalAnchor:"end"}}),r.a.createElement(hn,{top:d,scale:y,label:s,hideAxisLine:!0,hideTicks:!0,numTicks:"function"==typeof l?l(t):l,tickFormat:C,tickLabelProps:function(){return{textAnchor:"middle",verticalAnchor:"end"}},labelProps:{dy:"2.5em",textAnchor:"middle",verticalAnchor:"start"}}))};Oo.propTypes={width:i.a.number.isRequired,height:i.a.number.isRequired,handleMouseMove:i.a.func,handleMouseLeave:i.a.func,data:i.a.array.isRequired,x:i.a.func.isRequired,y:i.a.func.isRequired,xFormat:i.a.func,yFormat:i.a.func,xAxisLabel:i.a.string,yAxisLabel:i.a.string,yLabelOffset:i.a.string,numTicksX:i.a.oneOfType([i.a.number,i.a.func]),color:i.a.string,margin:i.a.shape({top:i.a.number,right:i.a.number,bottom:i.a.number,left:i.a.number})},Oo.defaultProps={margin:{top:10,left:50,right:10,bottom:20},color:"#22C8A3",numTicksX:6,yLabelOffset:"-0.5em"};var No=function(e){var t=e.width,n=e.height,a=e.handleMouseMove,g=e.handleMouseLeave,i=e.data,o=e.y,A=e.yFormat,C=e.xFormat,I=e.yAxisLabel,s=e.xAxisLabel,c=e.numTicksX,u=e.keys,l=e.colors,f=e.margin,h=i.reduce(function(e,t){var n=u.reduce(function(e,n){return e+ +t[n]},0);return e.push(n),e},[]),p=t-f.left-f.right,d=n-f.top-f.bottom,m=qi({domain:u,range:l}),y=Zi({rangeRound:[0,p],domain:[0,co(h)],nice:!0}),b=Wi({rangeRound:[d,0],domain:i.map(o),padding:.2});return r.a.createElement(Ze,{top:f.top,left:f.left},r.a.createElement(go,{scale:y,height:d,numTicks:"function"==typeof c?c(t):c}),r.a.createElement(to,{data:i,keys:u,height:d,y:o,xScale:y,yScale:b,color:m},function(e){return e.map(function(e){return e.bars.map(function(t){return r.a.createElement("rect",{key:"barstack-horizontal-".concat(e.index,"-").concat(t.index),x:t.x,y:t.y,width:t.width,height:t.height,fill:t.color,onMouseLeave:g||null,onMouseMove:function(e){return a?a({event:e,data:i,datum:t}):null}})})})}),r.a.createElement(ln,{scale:b,hideAxisLine:!1,hideTicks:!1,tickFormat:A,label:I,tickLabelProps:function(){return{width:f.left,textAnchor:"end",verticalAnchor:"middle",dx:"-0.3em"}}}),r.a.createElement(hn,{scale:y,top:d,hideAxisLine:!0,hideTicks:!0,numTicks:"function"==typeof c?c(t):c,tickFormat:C,tickLabelProps:function(){return{textAnchor:"middle",verticalAnchor:"end"}},label:s,labelProps:{dy:"2.5em",textAnchor:"middle",verticalAnchor:"start"}}))};No.propTypes={width:i.a.number.isRequired,height:i.a.number.isRequired,handleMouseMove:i.a.func,handleMouseLeave:i.a.func,data:i.a.array.isRequired,y:i.a.func.isRequired,keys:i.a.array.isRequired,colors:i.a.array.isRequired,xFormat:i.a.func,yFormat:i.a.func,xAxisLabel:i.a.string,yAxisLabel:i.a.string,numTicksX:i.a.oneOfType([i.a.number,i.a.func]),margin:i.a.shape({top:i.a.number,right:i.a.number,bottom:i.a.number,left:i.a.number})},No.defaultProps={margin:{top:10,left:60,right:40,bottom:40}};var Mo=function(e){var t=e.width,n=e.height,a=e.handleMouseMove,g=e.handleMouseLeave,i=e.data,o=e.x,A=e.keys,C=e.xFormat,I=e.yFormat,s=e.xAxisLabel,c=e.yAxisLabel,u=e.numTicksY,l=e.colors,f=e.margin,h=t-f.left-f.right,p=n-f.top-f.bottom,d=qi({domain:A,range:l}),m=Wi({rangeRound:[0,h],domain:i.map(o),padding:.2}),y=Wi({rangeRound:[0,m.bandwidth()],domain:A,padding:.1}),b=Zi({rangeRound:[p,0],domain:[0,co(i,function(e){return co(A,function(t){return e[t]})})]});return r.a.createElement(Ze,{top:f.top,left:f.left},r.a.createElement(ro,{scale:b,width:h,numTicks:u}),r.a.createElement(eo,{data:i,keys:A,height:p,x0:o,x0Scale:m,x1Scale:y,yScale:b,color:d},function(e){return e.map(function(e){return r.a.createElement(Ze,{key:"bar-group-".concat(e.index,"-").concat(e.x0),left:e.x0},e.bars.map(function(t){return r.a.createElement("rect",{key:"bar-group-bar-".concat(e.index,"-").concat(t.index,"-").concat(t.value,"-").concat(t.key),x:t.x,y:t.y,width:t.width,height:t.height,fill:t.color,onMouseMove:function(e){return a?a({event:e,data:i,datum:t}):null},onMouseLeave:g||null})}))})}),r.a.createElement(ln,{scale:b,hideTicks:!0,hideAxisLine:!0,numTicks:u,tickFormat:I,tickLabelProps:function(e,t){return{textAnchor:"end",verticalAnchor:"middle"}},label:c,labelProps:{textAnchor:"middle",verticalAnchor:"end"}}),r.a.createElement(hn,{top:p,scale:m,label:s,hideAxisLine:!1,hideTicks:!1,tickFormat:C,tickLabelProps:function(){return{textAnchor:"middle",width:m.bandwidth(),verticalAnchor:"middle"}},labelProps:{dy:"3em",textAnchor:"middle",y:0}}))};function Po(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 Eo(e){this._context=e}function Ro(e){return new Eo(e)}function So(e){return e<0?-1:1}function jo(e,t,n){var a=e._x1-e._x0,r=t-e._x1,g=(e._y1-e._y0)/(a||r<0&&-0),i=(n-e._y1)/(r||a<0&&-0),o=(g*r+i*a)/(a+r);return(So(g)+So(i))*Math.min(Math.abs(g),Math.abs(i),.5*Math.abs(o))||0}function Do(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function Lo(e,t,n){var a=e._x0,r=e._y0,g=e._x1,i=e._y1,o=(g-a)/3;e._context.bezierCurveTo(a+o,r+o*t,g-o,i-o*n,g,i)}function zo(e){this._context=e}function Fo(e){this._context=e}Mo.propTypes={width:i.a.number.isRequired,height:i.a.number.isRequired,handleMouseMove:i.a.func,handleMouseLeave:i.a.func,tooltipOpen:i.a.bool,data:i.a.array.isRequired,x:i.a.func.isRequired,keys:i.a.array.isRequired,xFormat:i.a.func,yFormat:i.a.func,xAxisLabel:i.a.string,yAxisLabel:i.a.string,numTicksY:i.a.oneOfType([i.a.number,i.a.func]),colors:i.a.array.isRequired,margin:i.a.shape({top:i.a.number,right:i.a.number,bottom:i.a.number,left:i.a.number})},Mo.defaultProps={numTicksY:5,margin:{top:40,left:40,right:40,bottom:40}},Math.PI,Math.PI,Eo.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:Po(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:Po(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},zo.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Lo(this,this._t0,Do(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(t=+t,(e=+e)!==this._x1||t!==this._y1){switch(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,Lo(this,Do(this,n=jo(this,e,t)),n);break;default:Lo(this,this._t0,n=jo(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}},(function(e){this._context=new Fo(e)}.prototype=Object.create(zo.prototype)).point=function(e,t){zo.prototype.point.call(this,t,e)},Fo.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,a,r,g){this._context.bezierCurveTo(t,e,a,n,g,r)}};var Wo=function(e){var t=e.top,n=e.bottom,a=e.tooltipLeft,g=e.tooltipTop;return r.a.createElement("g",null,r.a.createElement(Vi,{from:{x:a,y:t},to:{x:a,y:n},stroke:"#ababab",strokeWidth:1,style:{pointerEvents:"none"},strokeDasharray:"2,2"}),r.a.createElement("circle",{cx:a,cy:g,r:8,fill:"#22C8A3",fillOpacity:.2,style:{pointerEvents:"none"}}),r.a.createElement("circle",{cx:a,cy:g,r:4,fill:"#22C8A3",style:{pointerEvents:"none"}}))},Zo=function(e){function t(e){var n;return uo(this,t),ho(vo(vo(n=xo(this,yo(t).call(this,e)))),"handleMouseEvent",function(e){var t=e.data,a=e.event,r=e.tooltipParentFunc,g=e.xAccessor,i=e.yAccessor,o=e.xScale,A=e.yScale,C=e.margin,I=Ao(g).left,s=ze(a.target.ownerSVGElement,a).x;s-=C.left;var c=o.invert(s),u=I(t,c);if(!(u>t.length-1||u<1)){var l=t[u-1],f=t[u],h=c-o(g(l))>o(g(f))-c?f:l,p=o(g(h)),d=A(i(h));r({datum:h,coords:{x:p+C.left,y:d+C.top}}),n.setState({x:p,y:d})}}),n.state={x:0,y:0},n.handleMouseEvent=n.handleMouseEvent.bind(vo(vo(n))),n}return mo(t,r.a.Component),fo(t,[{key:"render",value:function(){var e,t=this,n=this.props,a=n.width,g=n.height,i=n.handleMouseMove,o=n.handleMouseLeave,A=n.tooltipOpen,C=n.data,I=n.x,s=n.y,c=n.xAxisLabel,u=n.yAxisLabel,l=n.yFormat,f=n.xFormat,h=n.numTicksX,p=n.numTicksY,d=n.margin,m=n.stroke,y=n.strokeWidth,b=a-d.left-d.right,v=g-d.top-d.bottom,x=Zi({domain:Io(C,I),range:[0,b]}),_=Zi({domain:[0,co(C,s)],range:[v,0]});return r.a.createElement(Ze,{top:d.top,left:d.left},r.a.createElement(ro,{scale:_,width:b,numTicks:p}),r.a.createElement(Yi,{data:C,x:function(e){return x(I(e))},y:function(e){return _(s(e))},stroke:m,strokeWidth:y,curve:Ro}),r.a.createElement("rect",{x:0,y:0,width:b,height:v,fill:"transparent",onMouseMove:function(e){i&&t.handleMouseEvent({event:e,data:C,xScale:x,yScale:_,margin:d,xAccessor:I,yAccessor:s,tooltipParentFunc:i})},onMouseLeave:o||null}),A&&r.a.createElement(Wo,{top:0,bottom:v,tooltipLeft:this.state.x,tooltipTop:this.state.y}),r.a.createElement(ln,{scale:_,hideTicks:!0,hideAxisLine:!0,tickFormat:l,numTicks:p,tickLabelProps:function(){return{textAnchor:"end",verticalAnchor:"middle"}},label:u,labelProps:{textAnchor:"middle",verticalAnchor:"end"}}),r.a.createElement(hn,(ho(e={scale:x,top:v,tickFormat:f,numTicks:"function"==typeof h?h(a):h,tickLabelProps:function(){return{textAnchor:"middle",verticalAnchor:"middle"}}},"tickFormat",function(e){return e}),ho(e,"label",c),ho(e,"labelProps",{dy:"2.5em",textAnchor:"middle",verticalAnchor:"start"}),e)))}}]),t}();Zo.propTypes={width:i.a.number.isRequired,height:i.a.number.isRequired,handleMouseMove:i.a.func,handleMouseLeave:i.a.func,tooltipOpen:i.a.bool,data:i.a.array.isRequired,x:i.a.func.isRequired,y:i.a.func.isRequired,xFormat:i.a.func,yFormat:i.a.func,xAxisLabel:i.a.string,yAxisLabel:i.a.string,numTicksY:i.a.oneOfType([i.a.number,i.a.func]),numTicksX:i.a.oneOfType([i.a.number,i.a.func]),stroke:i.a.string,strokeWidth:i.a.number,margin:i.a.shape({top:i.a.number,right:i.a.number,bottom:i.a.number,left:i.a.number})},Zo.defaultProps={numTicksX:10,numTicksY:5,stroke:"#22C8A3",strokeWidth:2,margin:{top:10,left:55,bottom:30,right:10}};var qo=function(e){var t=e.width,n=e.height,a=e.data,g=e.handleMouseMove,i=e.handleMouseLeave,o=e.x,A=e.y,C=e.xAxisLabel,I=e.yAxisLabel,s=e.yFormat,c=e.xFormat,u=e.circleRadius,l=e.numTicksX,f=e.numTicksY,h=e.circleStroke,p=e.circleFill,d=e.margin;if(!(t<100)){var m=t-d.left-d.right,y=n-d.top-d.bottom,b=co(a,A),v=co(a,o),x=Zi({domain:[0,v],range:[0,m],clamp:!0}),_=Zi({domain:[0,b],range:[y,0],clamp:!0});return r.a.createElement(Ze,{top:d.top,left:d.left},r.a.createElement(io,{xScale:x,yScale:_,height:y,width:m,numTicksRows:f,numTicksColumns:"function"==typeof l?l(t):l}),r.a.createElement(Ze,null,a.map(function(e,t){return r.a.createElement("circle",{className:"dv-scatterplot-point",key:"point-".concat(t),stroke:"function"==typeof h?h(e):h,fill:"function"==typeof p?p(e):p,fillOpacity:.2,cx:x(o(e)),cy:_(A(e)),r:"function"==typeof u?u(e):u,onMouseMove:function(t){return g?g({event:t,data:a,datum:e}):null},onMouseLeave:i||null})})),r.a.createElement(ln,{scale:_,hideAxisLine:!1,hideTicks:!0,hideZero:!0,numTicks:"function"==typeof f?f(t):f,tickFormat:s,tickLabelProps:function(){return{textAnchor:"end",verticalAnchor:"middle"}},label:I,labelProps:{textAnchor:"middle",verticalAnchor:"end"}}),r.a.createElement(hn,{scale:x,top:n-d.top-d.bottom,hideAxisLine:!1,hideTicks:!0,tickFormat:c,numTicks:"function"==typeof l?l(t):l,tickLabelProps:function(){return{textAnchor:"middle",verticalAnchor:"end"}},label:C,labelProps:{dy:"2.5em",textAnchor:"middle",verticalAnchor:"start",y:0}}))}};function Go(){return(Go=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Uo(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},g=Object.keys(e);for(a=0;a<g.length;a++)n=g[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var g=Object.getOwnPropertySymbols(e);for(a=0;a<g.length;a++)n=g[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Vo(e){var t=e.from,n=void 0===t?new Le({x:0,y:0}):t,a=e.to,g=void 0===a?new Le({x:1,y:1}):a,i=e.fill,o=void 0===i?"transparent":i,C=e.className,I=void 0===C?"":C,s=e.innerRef,c=Uo(e,["from","to","fill","className","innerRef"]);return r.a.createElement("line",Go({ref:s,className:A()("vx-line",I),x1:n.x,y1:n.y,x2:g.x,y2:g.y,fill:o},c))}qo.propTypes={width:i.a.number.isRequired,height:i.a.number.isRequired,handleMouseMove:i.a.func,handleMouseLeave:i.a.func,data:i.a.array.isRequired,x:i.a.func.isRequired,y:i.a.func.isRequired,xFormat:i.a.func,yFormat:i.a.func,xAxisLabel:i.a.string,yAxisLabel:i.a.string,numTicksX:i.a.oneOfType([i.a.number,i.a.func]),numTicksY:i.a.oneOfType([i.a.number,i.a.func]),circleRadius:i.a.oneOfType([i.a.number,i.a.func]),circleStroke:i.a.oneOfType([i.a.string,i.a.func]),circleFill:i.a.oneOfType([i.a.string,i.a.func]),margin:i.a.shape({top:i.a.number,right:i.a.number,bottom:i.a.number,left:i.a.number})},qo.defaultProps={circleRadius:5,numTicksX:5,numTicksY:5,margin:{top:10,bottom:50,left:55,right:10},circleStroke:"#4C81DB",circleFill:"rgba(76,129,219, 0.4)"},i.a.string,i.a.any,i.a.func,i.a.func,i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.string,i.a.number,i.a.number,i.a.array,i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.func,i.a.func,i.a.func,Vo.propTypes={className:i.a.string,innerRef:i.a.func,from:i.a.shape({x:i.a.number,y:i.a.number}),to:i.a.shape({x:i.a.number,y:i.a.number})},i.a.func,i.a.array,i.a.func,i.a.oneOfType([i.a.func,i.a.bool]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.func,i.a.string,i.a.any,i.a.func,i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.func,i.a.string,i.a.any,i.a.func,i.a.func,i.a.func,i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.func,i.a.string,i.a.any,i.a.func,i.a.func,i.a.func,i.a.func,i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]);var Yo={ascending:Vt,descending:Bt,insideout:Kt,none:Lt,reverse:Ht};Object.keys(Yo);function Bo(e){return Yo[e]||Yo.none}var Ko={expand:Wt,diverging:Zt,none:Dt,silhouette:qt,wiggle:Gt};Object.keys(Ko);function Ho(e){return Ko[e]||Ko.none}function Qo(e){var t=e.className,n=e.top,a=e.left,g=e.keys,i=e.data,o=e.curve,C=e.defined,I=e.x,s=e.x0,c=e.x1,u=e.y0,l=e.y1,f=e.value,h=e.order,p=e.offset,d=e.color,m=e.children,y=Uo(e,["className","top","left","keys","data","curve","defined","x","x0","x1","y0","y1","value","order","offset","color","children"]),b=Ft();g&&b.keys(g),f&&b.value(f),h&&b.order(Bo(h)),p&&b.offset(Ho(p));var v=it();I&&v.x(I),s&&v.x0(s),c&&v.x1(c),u&&v.y0(u),l&&v.y1(l),o&&v.curve(o),C&&v.defined(C);var x=b(i);return m?m({stacks:x,path:v,stack:b}):r.a.createElement(Ze,{top:n,left:a},x.map(function(e,n){return r.a.createElement("path",Go({className:A()("vx-stack",t),key:"stack-".concat(n,"-").concat(e.key||""),d:v(e),fill:d(e.key,n)},y))}))}function Xo(e){var t=e.className,n=e.innerRef,a=Uo(e,["className","innerRef"]);return r.a.createElement("rect",Go({ref:n,className:A()("vx-bar",t)},a))}function Jo(e,t){return!!e[t]&&"function"==typeof e[t]}function $o(e){var t=e.data,n=e.className,a=e.top,g=e.left,i=e.x,o=e.y0,C=void 0===o?function(e){return e[0]}:o,I=e.y1,s=void 0===I?function(e){return e[1]}:I,c=e.xScale,u=e.yScale,l=e.color,f=e.keys,h=e.value,p=e.order,d=e.offset,m=e.children,y=Uo(e,["data","className","top","left","x","y0","y1","xScale","yScale","color","keys","value","order","offset","children"]),b=Ft();f&&b.keys(f),h&&b.value(h),p&&b.order(Bo(p)),d&&b.offset(Ho(d));var v=b(t),x=c.range(),_=c.domain(),w=Jo(c,"bandwidth")?c.bandwidth():Math.abs(x[x.length-1]-x[0])/_.length,T=v.map(function(e,t){var n=e.key;return{index:t,key:n,bars:e.map(function(t,a){var r=u(C(t))-u(s(t)),g=u(s(t)),o=Jo(c,"bandwidth")?c(i(t.data)):Math.max(c(i(t.data))-w/2);return{bar:t,key:n,index:a,height:r,width:w,x:o,y:g,color:l(e.key,a)}})}});return m?m(T):r.a.createElement(Ze,{className:A()("vx-bar-stack",n),top:a,left:g},T.map(function(e){return e.bars.map(function(t){return r.a.createElement(Xo,Go({key:"bar-stack-".concat(e.index,"-").concat(t.index),x:t.x,y:t.y,height:t.height,width:t.width,fill:t.color},y))})}))}Qo.propTypes={data:i.a.array.isRequired,className:i.a.string,top:i.a.number,left:i.a.number,curve:i.a.func,color:i.a.func,keys:i.a.array,children:i.a.func,x:i.a.oneOfType([i.a.func,i.a.number]),x0:i.a.oneOfType([i.a.func,i.a.number]),x1:i.a.oneOfType([i.a.func,i.a.number]),y:i.a.oneOfType([i.a.func,i.a.number]),y0:i.a.oneOfType([i.a.func,i.a.number]),y1:i.a.oneOfType([i.a.func,i.a.number]),value:i.a.oneOfType([i.a.func,i.a.number]),defined:i.a.oneOfType([i.a.func,i.a.bool]),order:i.a.oneOfType([i.a.func,i.a.array,i.a.string]),offset:i.a.oneOfType([i.a.func,i.a.array,i.a.string])},i.a.string,i.a.number,i.a.number,i.a.array,i.a.array,i.a.func,i.a.func,i.a.func,i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.number]),i.a.oneOfType([i.a.func,i.a.bool]),i.a.oneOfType([i.a.func,i.a.array,i.a.string]),i.a.oneOfType([i.a.func,i.a.array,i.a.string]),Xo.propTypes={innerRef:i.a.func,className:i.a.string},i.a.array.isRequired,i.a.func.isRequired,i.a.func.isRequired,i.a.func.isRequired,i.a.func.isRequired,i.a.func.isRequired,i.a.array.isRequired,i.a.number.isRequired,i.a.string,i.a.number,i.a.number,i.a.func,i.a.array.isRequired,i.a.func.isRequired,i.a.func.isRequired,i.a.func.isRequired,i.a.func.isRequired,i.a.func.isRequired,i.a.array.isRequired,i.a.number.isRequired,i.a.string,i.a.func,i.a.number,i.a.number,i.a.func,$o.propTypes={data:i.a.array.isRequired,x:i.a.func.isRequired,xScale:i.a.func.isRequired,yScale:i.a.func.isRequired,color:i.a.func.isRequired,keys:i.a.array.isRequired,className:i.a.string,top:i.a.number,left:i.a.number,children:i.a.func,y0:i.a.func,y1:i.a.func,order:i.a.oneOfType([i.a.func,i.a.array,i.a.string]),offset:i.a.oneOfType([i.a.func,i.a.array,i.a.string]),value:i.a.oneOfType([i.a.func,i.a.number])},i.a.array.isRequired,i.a.func.isRequired,i.a.func,i.a.func,i.a.func.isRequired,i.a.func.isRequired,i.a.func.isRequired,i.a.array.isRequired,i.a.string,i.a.number,i.a.number,i.a.oneOfType([i.a.func,i.a.array,i.a.string]),i.a.oneOfType([i.a.func,i.a.array,i.a.string]),i.a.oneOfType([i.a.func,i.a.number]),i.a.func;i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.number,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.number,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.number,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.number,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.number,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.func,i.a.number.isRequired,i.a.number.isRequired,i.a.string,i.a.number,i.a.func,i.a.func,i.a.shape({x:i.a.number,y:i.a.number});i.a.func,i.a.string;var eA=n(6);function tA(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nA(){return(nA=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function aA(e){return e}var rA={top:"top",left:"left",right:"right",bottom:"bottom"};var gA={axisClassName:i.a.string,axisLineClassName:i.a.string,hideAxisLine:i.a.bool,hideTicks:i.a.bool,hideZero:i.a.bool,label:i.a.string,labelClassName:i.a.string,labelOffset:i.a.number,labelProps:i.a.object,left:i.a.number,numTicks:i.a.number,orientation:i.a.oneOf([rA.top,rA.right,rA.bottom,rA.left]),rangePadding:i.a.number,scale:i.a.func.isRequired,stroke:i.a.string,strokeWidth:i.a.number,strokeDasharray:i.a.string,tickClassName:i.a.string,tickFormat:i.a.func,tickLabelProps:i.a.func,tickLength:i.a.number,tickStroke:i.a.string,tickTransform:i.a.string,tickValues:i.a.array,tickComponent:i.a.func,top:i.a.number,children:i.a.func};function iA(e){var t=e.children,n=e.axisClassName,a=e.axisLineClassName,g=e.hideAxisLine,i=void 0!==g&&g,o=e.hideTicks,C=void 0!==o&&o,I=e.hideZero,s=void 0!==I&&I,c=e.label,u=void 0===c?"":c,l=e.labelClassName,f=e.labelOffset,h=void 0===f?14:f,p=e.labelProps,d=void 0===p?{textAnchor:"middle",fontFamily:"Arial",fontSize:10,fill:"black"}:p,m=e.left,y=void 0===m?0:m,b=e.numTicks,v=void 0===b?10:b,x=e.orientation,_=void 0===x?rA.bottom:x,w=e.rangePadding,T=void 0===w?0:w,k=e.scale,O=e.stroke,N=void 0===O?"black":O,M=e.strokeWidth,P=void 0===M?1:M,E=e.strokeDasharray,R=e.tickClassName,S=e.tickFormat,j=e.tickLabelProps,D=void 0===j?function(e,t){return{textAnchor:"middle",fontFamily:"Arial",fontSize:10,fill:"black"}}:j,L=e.tickLength,z=void 0===L?8:L,F=e.tickStroke,W=void 0===F?"black":F,Z=e.tickTransform,q=e.tickValues,G=e.tickComponent,U=e.top,V=void 0===U?0:U,Y=k.ticks?k.ticks(v):k.domain();q&&(Y=q);var B=k.tickFormat?k.tickFormat():aA;S&&(B=S);var K=k.range(),H=K[0]+.5-T,Q=K[K.length-1]+.5+T,X=_!==rA.left&&_!==rA.right,J=_===rA.left,$=_===rA.top,ee=J||$?-1:1,te=(k.bandwidth?function(e){var t=e.bandwidth()/2;return e.round()&&(t=Math.round(t)),function(n){return e(n)+t}}:aA)(k.copy()),ne=new Le({x:X?H:0,y:X?0:H}),ae=new Le({x:X?Q:0,y:X?0:Q}),re=10;return t?r.a.createElement(Ze,{className:A()("vx-axis",n),top:V,left:y},t({axisFromPoint:ne,axisToPoint:ae,horizontal:X,tickSign:ee,numTicks:v,label:u,rangePadding:T,tickLength:z,tickFormat:B,tickPosition:te,ticks:Y.map(function(e,t){return{value:e,index:t,from:new Le({x:X?te(e):0,y:X?0:te(e)}),to:new Le({x:X?te(e):ee*z,y:X?z*ee:te(e)}),formattedValue:B(e,t)}})})):r.a.createElement(Ze,{className:A()("vx-axis",n),top:V,left:y},Y.map(function(e,t){if(s&&0===e)return null;var n=new Le({x:X?te(e):0,y:X?0:te(e)}),a=new Le({x:X?te(e):ee*z,y:X?z*ee:te(e)}),g=D(e,t);return re=Math.max(re,g.fontSize||0),r.a.createElement(Ze,{key:"vx-tick-".concat(e,"-").concat(t),className:A()("vx-axis-tick",R),transform:Z},!C&&r.a.createElement(Vo,{from:n,to:a,stroke:W}),G?G(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){tA(e,t,n[t])})}return e}({x:a.x,y:a.y+(X&&!$?re:0),formattedValue:B(e,t)},g)):r.a.createElement(eA.a,nA({x:a.x,y:a.y+(X&&!$?re:0)},g),B(e,t)))}),!i&&r.a.createElement(Vo,{className:A()("vx-axis-line",a),from:ne,to:ae,stroke:N,strokeWidth:P,strokeDasharray:E}),u&&r.a.createElement(eA.a,nA({className:A()("vx-axis-label",l)},function(e){var t,n,a=e.labelOffset,r=e.labelProps,g=e.orientation,i=e.range,o=e.tickLabelFontSize,A=e.tickLength,C=g===rA.left||g===rA.top?-1:1,I=null;return g===rA.top||g===rA.bottom?(t=(i[0]+i[i.length-1])/2,n=C*(A+a+o+(g===rA.bottom?r.fontSize:0))):(t=C*((i[0]+i[i.length-1])/2),n=-(A+a),I="rotate(".concat(90*C,")")),{x:t,y:n,transform:I}}({labelOffset:h,labelProps:d,orientation:_,range:K,tickLabelFontSize:re,tickLength:z}),d),u))}iA.propTypes=gA;var oA={axisClassName:i.a.string,axisLineClassName:i.a.string,hideAxisLine:i.a.bool,hideTicks:i.a.bool,hideZero:i.a.bool,label:i.a.string,labelClassName:i.a.string,labelOffset:i.a.number,labelProps:i.a.object,left:i.a.number,numTicks:i.a.number,rangePadding:i.a.number,scale:i.a.func.isRequired,stroke:i.a.string,strokeWidth:i.a.number,strokeDasharray:i.a.string,tickClassName:i.a.string,tickFormat:i.a.func,tickLabelProps:i.a.func,tickLength:i.a.number,tickStroke:i.a.string,tickTransform:i.a.string,tickValues:i.a.array,tickComponent:i.a.func,top:i.a.number,children:i.a.func};function AA(e){var t=e.children,n=e.axisClassName,a=e.axisLineClassName,g=e.hideAxisLine,i=e.hideTicks,o=e.hideZero,C=e.label,I=e.labelClassName,s=e.labelOffset,c=void 0===s?36:s,u=e.labelProps,l=e.left,f=e.numTicks,h=e.rangePadding,p=e.scale,d=e.stroke,m=e.strokeWidth,y=e.strokeDasharray,b=e.tickClassName,v=e.tickFormat,x=e.tickLabelProps,_=void 0===x?function(e){e.tick,e.index;return{dx:"-0.25em",dy:"0.25em",fill:"black",fontFamily:"Arial",fontSize:10,textAnchor:"end"}}:x,w=e.tickLength,T=void 0===w?8:w,k=e.tickStroke,O=e.tickTransform,N=e.tickValues,M=e.tickComponent,P=e.top;return r.a.createElement(iA,{axisClassName:A()("vx-axis-left",n),axisLineClassName:a,hideAxisLine:g,hideTicks:i,hideZero:o,label:C,labelClassName:I,labelOffset:c,labelProps:u,left:l,numTicks:f,orientation:rA.left,rangePadding:h,scale:p,stroke:d,strokeWidth:m,strokeDasharray:y,tickClassName:b,tickFormat:v,tickLabelProps:_,tickLength:T,tickStroke:k,tickTransform:O,tickValues:N,tickComponent:M,top:P,children:t})}AA.propTypes=oA;i.a.string,i.a.string,i.a.bool,i.a.bool,i.a.bool,i.a.string,i.a.string,i.a.number,i.a.object,i.a.number,i.a.number,i.a.number,i.a.func.isRequired,i.a.string,i.a.number,i.a.string,i.a.string,i.a.func,i.a.func,i.a.number,i.a.string,i.a.string,i.a.array,i.a.func,i.a.number,i.a.func;i.a.string,i.a.string,i.a.bool,i.a.bool,i.a.bool,i.a.string,i.a.string,i.a.number,i.a.object,i.a.number,i.a.number,i.a.number,i.a.func.isRequired,i.a.string,i.a.number,i.a.string,i.a.string,i.a.func,i.a.func,i.a.number,i.a.string,i.a.string,i.a.array,i.a.func,i.a.number,i.a.func;var CA={axisClassName:i.a.string,axisLineClassName:i.a.string,hideAxisLine:i.a.bool,hideTicks:i.a.bool,hideZero:i.a.bool,label:i.a.string,labelClassName:i.a.string,labelOffset:i.a.number,labelProps:i.a.object,left:i.a.number,numTicks:i.a.number,rangePadding:i.a.number,scale:i.a.func.isRequired,stroke:i.a.string,strokeWidth:i.a.number,strokeDasharray:i.a.string,tickClassName:i.a.string,tickFormat:i.a.func,tickLabelProps:i.a.func,tickLength:i.a.number,tickStroke:i.a.string,tickTransform:i.a.string,tickValues:i.a.array,tickComponent:i.a.func,top:i.a.number,children:i.a.func};function IA(e){var t=e.children,n=e.axisClassName,a=e.axisLineClassName,g=e.hideAxisLine,i=e.hideTicks,o=e.hideZero,C=e.label,I=e.labelClassName,s=e.labelOffset,c=void 0===s?8:s,u=e.labelProps,l=e.left,f=e.numTicks,h=e.rangePadding,p=e.scale,d=e.stroke,m=e.strokeWidth,y=e.strokeDasharray,b=e.tickClassName,v=e.tickFormat,x=e.tickLabelProps,_=void 0===x?function(e){e.tick,e.index;return{dy:"0.25em",fill:"black",fontFamily:"Arial",fontSize:10,textAnchor:"middle"}}:x,w=e.tickLength,T=void 0===w?8:w,k=e.tickStroke,O=e.tickTransform,N=e.tickValues,M=e.tickComponent,P=e.top;return r.a.createElement(iA,{axisClassName:A()("vx-axis-bottom",n),axisLineClassName:a,hideAxisLine:g,hideTicks:i,hideZero:o,label:C,labelClassName:I,labelOffset:c,labelProps:u,left:l,numTicks:f,orientation:rA.bottom,rangePadding:h,scale:p,stroke:d,strokeWidth:m,strokeDasharray:y,tickClassName:b,tickFormat:v,tickLabelProps:_,tickLength:T,tickStroke:k,tickTransform:O,tickValues:N,tickComponent:M,top:P,children:t})}function sA(){return(sA=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function cA(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},g=Object.keys(e);for(a=0;a<g.length;a++)n=g[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var g=Object.getOwnPropertySymbols(e);for(a=0;a<g.length;a++)n=g[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function uA(e){var t=e.top,n=void 0===t?0:t,a=e.left,g=void 0===a?0:a,i=e.scale,o=e.width,C=e.stroke,I=void 0===C?"#eaf0f6":C,s=e.strokeWidth,c=void 0===s?1:s,u=e.strokeDasharray,l=e.className,f=e.numTicks,h=void 0===f?10:f,p=e.lineStyle,d=e.offset,m=e.tickValues,y=cA(e,["top","left","scale","width","stroke","strokeWidth","strokeDasharray","className","numTicks","lineStyle","offset","tickValues"]),b=i.ticks?i.ticks(h):i.domain();return m&&(b=m),r.a.createElement(Ze,{className:A()("vx-rows",l),top:n,left:g},b.map(function(e,t){var n=d?i(e)+d:i(e),a=new Le({x:0,y:n}),g=new Le({x:o,y:n});return r.a.createElement(Vo,sA({key:"row-line-".concat(e,"-").concat(t),from:a,to:g,stroke:I,strokeWidth:c,strokeDasharray:u,style:p},y))}))}function lA(e){var t=e.top,n=void 0===t?0:t,a=e.left,g=void 0===a?0:a,i=e.scale,o=e.height,C=e.stroke,I=void 0===C?"#eaf0f6":C,s=e.strokeWidth,c=void 0===s?1:s,u=e.strokeDasharray,l=e.className,f=e.numTicks,h=void 0===f?10:f,p=e.lineStyle,d=e.offset,m=e.tickValues,y=cA(e,["top","left","scale","height","stroke","strokeWidth","strokeDasharray","className","numTicks","lineStyle","offset","tickValues"]),b=i.ticks?i.ticks(h):i.domain();return m&&(b=m),r.a.createElement(Ze,{className:A()("vx-columns",l),top:n,left:g},b.map(function(e,t){var n=d?i(e)+d:i(e),a=new Le({x:n,y:0}),g=new Le({x:n,y:o});return r.a.createElement(Vo,sA({key:"column-line-".concat(e,"-").concat(t),from:a,to:g,stroke:I,strokeWidth:c,strokeDasharray:u,style:p},y))}))}IA.propTypes=CA,uA.propTypes={top:i.a.number,left:i.a.number,className:i.a.string,stroke:i.a.string,strokeWidth:i.a.oneOfType([i.a.string,i.a.number]),strokeDasharray:i.a.string,numTicks:i.a.number,lineStyle:i.a.object,offset:i.a.number,scale:i.a.func.isRequired,width:i.a.number.isRequired,tickValues:i.a.array},lA.propTypes={top:i.a.number,left:i.a.number,className:i.a.string,stroke:i.a.string,strokeWidth:i.a.oneOfType([i.a.string,i.a.number]),strokeDasharray:i.a.string,numTicks:i.a.number,lineStyle:i.a.object,offset:i.a.number,scale:i.a.func.isRequired,height:i.a.number.isRequired,tickValues:i.a.array},i.a.number,i.a.number,i.a.string,i.a.string,i.a.oneOfType([i.a.string,i.a.number]),i.a.string,i.a.number,i.a.number,i.a.object,i.a.object,i.a.number,i.a.number,i.a.func.isRequired,i.a.func.isRequired,i.a.number.isRequired,i.a.number.isRequired,i.a.array,i.a.array;var fA=function(e,t){return e<t?-1:e>t?1:e>=t?0:NaN};var hA=function(e){return 1===e.length&&(e=function(e){return function(t,n){return fA(e(t),n)}}(e)),{left:function(t,n,a,r){for(null==a&&(a=0),null==r&&(r=t.length);a<r;){var g=a+r>>>1;e(t[g],n)<0?a=g+1:r=g}return a},right:function(t,n,a,r){for(null==a&&(a=0),null==r&&(r=t.length);a<r;){var g=a+r>>>1;e(t[g],n)>0?r=g:a=g+1}return a}}}(fA);hA.right,hA.left;var pA=Array.prototype;pA.slice,pA.map,Math.sqrt(50),Math.sqrt(10),Math.sqrt(2);var dA=function(e){var t=e.width,n=e.height,a=e.handleMouseMove,g=e.handleMouseLeave,i=e.data,o=e.x,A=e.yFormat,C=e.xFormat,I=e.yAxisLabel,s=e.xAxisLabel,c=e.numTicksY,u=e.keys,l=e.colors,f=e.margin,h=i.reduce(function(e,t){var n=u.reduce(function(e,n){return e+=+t[n]},0);return e.push(n),e},[]),p=t-f.left-f.right,d=n-f.top-f.bottom,m=qi({domain:u,range:l}),y=Wi({rangeRound:[0,p],domain:i.map(o),padding:.2}),b=Zi({rangeRound:[d,0],domain:[0,function(e,t){let n;if(void 0===t)for(let t of e)null!=t&&t>=t&&(void 0===n||n<t)&&(n=t);else{let a=-1;for(let r of e)null!=(r=t(r,++a,e))&&r>=r&&(void 0===n||n<r)&&(n=r)}return n}(h)],nice:!0});return r.a.createElement(Ze,{top:f.top,left:f.left},r.a.createElement(uA,{scale:b,width:p,numTicks:"function"==typeof c?c(t):c}),r.a.createElement($o,{data:i,keys:u,x:o,xScale:y,yScale:b,color:m},function(e){return e.map(function(e){return e.bars.map(function(t){return r.a.createElement("rect",{key:"barstack-".concat(e.index,"-").concat(t.index),x:t.x,y:t.y,width:t.width,height:t.height,fill:t.color,onMouseLeave:g||null,onMouseMove:function(e){return a?a({event:e,data:i,datum:t}):null}})})})}),r.a.createElement(AA,{scale:b,hideAxisLine:!0,hideTicks:!0,tickFormat:A,label:I,tickLabelProps:function(){return{width:f.left,textAnchor:"end",verticalAnchor:"middle",dx:"-0.3em"}},numTicks:"function"==typeof c?c(t):c}),r.a.createElement(IA,{scale:y,top:d,hideAxisLine:!1,hideTicks:!1,tickFormat:C,tickLabelProps:function(){return{dy:"-0.5em",width:y.bandwidth(),textAnchor:"middle",verticalAnchor:"start"}},label:s,labelProps:{dy:"2.5em",textAnchor:"middle",verticalAnchor:"start"}}))};dA.propTypes={width:i.a.number.isRequired,height:i.a.number.isRequired,handleMouseMove:i.a.func,handleMouseLeave:i.a.func,data:i.a.array.isRequired,x:i.a.func.isRequired,keys:i.a.array.isRequired,colors:i.a.array.isRequired,xFormat:i.a.func,yFormat:i.a.func,xAxisLabel:i.a.string,yAxisLabel:i.a.string,numTicksY:i.a.oneOfType([i.a.number,i.a.func]),margin:i.a.shape({top:i.a.number,right:i.a.number,bottom:i.a.number,left:i.a.number})},dA.defaultProps={margin:{top:10,left:60,right:40,bottom:40}};var mA=dA;function yA(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bA(){return(bA=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function vA(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){yA(e,t,n[t])})}return e}function xA(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},g=Object.keys(e);for(a=0;a<g.length;a++)n=g[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var g=Object.getOwnPropertySymbols(e);for(a=0;a<g.length;a++)n=g[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function _A(e){var t=e.flexDirection,n=void 0===t?"row":t,a=e.alignItems,g=void 0===a?"center":a,i=e.margin,o=void 0===i?"0":i,A=e.display,C=void 0===A?"flex":A,I=e.children,s=xA(e,["flexDirection","alignItems","margin","display","children"]);return r.a.createElement("div",bA({className:"vx-legend-item",style:{display:C,alignItems:g,flexDirection:n,margin:o}},s),I)}function wA(e){var t=e.flex,n=void 0===t?"1":t,a=e.label,g=e.margin,i=void 0===g?"5px 0":g,o=e.align,A=void 0===o?"left":o,C=e.children;return r.a.createElement("div",{className:"vx-legend-label",style:{justifyContent:A,display:"flex",flex:n,margin:i}},C||a)}function TA(e){var t=e.fill,n=e.width,a=e.height,g=e.style;return r.a.createElement("div",{style:vA({width:n,height:a,background:t},g)})}function kA(e){var t=e.fill,n=e.width,a=e.height,g=e.style;"string"==typeof n&&(n=0),"string"==typeof a&&(a=0);var i=Math.max(n,a),o=i/2;return r.a.createElement("svg",{width:i,height:i},r.a.createElement(Ze,{top:o,left:o},r.a.createElement("circle",{r:o,fill:t,style:g})))}function OA(e){return e&&e.value?e.value:e}function NA(e){var t=e.shape,n=void 0===t?TA:t,a=e.width,g=e.height,i=e.margin,o=e.label,A=e.fill,C=e.size,I=e.shapeStyle;return r.a.createElement("div",{className:"vx-legend-shape",style:{display:"flex",width:C?C(vA({},o)):a,height:C?C(vA({},o)):g,margin:i}},function(e){var t=e.shape,n=void 0===t?"rect":t,a=e.fill,g=void 0===a?OA:a,i=e.size,o=void 0===i?OA:i,A=e.width,C=e.height,I=e.label,s=e.shapeStyle,c=void 0===s?function(e){}:s,u={width:A,height:C,label:I,fill:g(vA({},I)),size:o(vA({},I)),style:c(vA({},I))};return"string"==typeof n?"rect"===n?r.a.createElement(TA,u):r.a.createElement(kA,u):r.a.isValidElement(n)?r.a.cloneElement(n,u):r.a.createElement(n,u)}({shape:n,label:o,width:a,height:g,fill:A,shapeStyle:I}))}_A.propTypes={flexDirection:i.a.string,alignItems:i.a.string,margin:i.a.oneOfType([i.a.string,i.a.number]),children:i.a.any},wA.propTypes={align:i.a.string,label:i.a.any,flex:i.a.oneOfType([i.a.string,i.a.number]),margin:i.a.oneOfType([i.a.string,i.a.number]),children:i.a.any},TA.propTypes={fill:i.a.any,width:i.a.oneOfType([i.a.number,i.a.string]),height:i.a.oneOfType([i.a.number,i.a.string]),style:i.a.object},kA.propTypes={fill:i.a.any,width:i.a.oneOfType([i.a.number,i.a.string]),height:i.a.oneOfType([i.a.number,i.a.string]),style:i.a.object},NA.propTypes={shape:i.a.any,width:i.a.any,height:i.a.any,margin:i.a.any,label:i.a.any,fill:i.a.any,size:i.a.any,shapeStyle:i.a.any},PA.propTypes={className:i.a.string,style:i.a.any,domain:i.a.array,scale:i.a.oneOfType([i.a.func,i.a.object]).isRequired,shapeWidth:i.a.oneOfType([i.a.number,i.a.string]),shapeHeight:i.a.oneOfType([i.a.number,i.a.string]),shapeMargin:i.a.any,labelAlign:i.a.string,labelFlex:i.a.string,labelMargin:i.a.string,itemMargin:i.a.string,direction:i.a.string,itemDirection:i.a.string,fill:i.a.any,size:i.a.any,shape:i.a.any,shapeStyle:i.a.any,labelFormat:i.a.func,labelTransform:i.a.func,children:i.a.func};var MA={display:"flex"};function PA(e){var t=e.className,n=e.style,a=void 0===n?MA:n,g=e.shapeStyle,i=e.scale,o=e.shape,C=e.domain,I=e.fill,s=void 0===I?OA:I,c=e.size,u=void 0===c?OA:c,l=e.labelFormat,f=void 0===l?OA:l,h=e.labelTransform,p=void 0===h?EA:h,d=e.shapeWidth,m=void 0===d?15:d,y=e.shapeHeight,b=void 0===y?15:y,v=e.shapeMargin,x=void 0===v?"2px 4px 2px 0":v,_=e.labelAlign,w=void 0===_?"left":_,T=e.labelFlex,k=void 0===T?"1":T,O=e.labelMargin,N=void 0===O?"0 4px":O,M=e.itemMargin,P=void 0===M?"0":M,E=e.direction,R=void 0===E?"column":E,S=e.itemDirection,j=void 0===S?"row":S,D=e.children,L=xA(e,["className","style","shapeStyle","scale","shape","domain","fill","size","labelFormat","labelTransform","shapeWidth","shapeHeight","shapeMargin","labelAlign","labelFlex","labelMargin","itemMargin","direction","itemDirection","children"]),z=(C=C||i.domain()).map(p({scale:i,labelFormat:f}));return D?D(z):r.a.createElement("div",{className:A()("vx-legend",t),style:vA({},a,{flexDirection:R})},z.map(function(e,t){var n=e.text;return r.a.createElement(_A,bA({key:"legend-".concat(e,"-").concat(t),margin:P,flexDirection:j,label:e},L),r.a.createElement(NA,{shape:o,height:b,width:m,margin:x,label:e,fill:s,size:u,shapeStyle:g}),r.a.createElement(wA,{label:n,flex:k,margin:N,align:w}))}))}function EA(e){var t=e.scale,n=e.labelFormat;return function(e,a){return{datum:e,index:a,text:"".concat(n(e,a)),value:t(e)}}}function RA(e){var t=e.scale,n=e.domain,a=e.labelTransform,g=void 0===a?SA:a,i=e.labelFormat,o=void 0===i?OA:i,A=xA(e,["scale","domain","labelTransform","labelFormat"]);return r.a.createElement(PA,bA({scale:t,domain:n,labelFormat:o,labelTransform:g},A))}function SA(e){var t=e.scale,n=e.labelFormat;return function(e,a){return{datum:e,index:a,text:"".concat(n(e,a)),value:t(e)}}}function jA(){return(jA=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}i.a.func.isRequired,i.a.array,i.a.func,i.a.func,i.a.string,i.a.func.isRequired,i.a.array,i.a.number,i.a.func,i.a.func,RA.propTypes={scale:i.a.func.isRequired,domain:i.a.array,labelTransform:i.a.func,labelFormat:i.a.func},i.a.func.isRequired,i.a.array,i.a.func,i.a.func,i.a.string,i.a.string,i.a.string;var DA=function(e){switch(e){case"Does not address":return"tooltip_1";case"Addresses competency, but does not differentiates standards by teacher career level or performance level":return"tooltip_2";case"Addresses competency and differentiates standards by teacher career level or performance level":return"tooltip_3"}};var LA=function(e){var t=e.data,n=["Does not address","Addresses competency, but does not differentiates standards by teacher career level or performance level","Addresses competency and differentiates standards by teacher career level or performance level"],a=[Ie.grey.medium,Ie.turquoise.light,Ie.turquoise.dark],g=qi({domain:n,range:a});return r.a.createElement(oe,{style:{maxWidth:800,margin:"auto"}},r.a.createElement(Ae,null,"Figure 2 | What Culturally Responsive Competencies do State Teaching Standards Address?"),r.a.createElement(RA,{scale:g}),r.a.createElement(To,{maxWidth:800,height:500,renderTooltip:function(e){var t=e.datum;return e.data,r.a.createElement("div",{style:{display:"flex",maxWidth:250,lineHeight:"1.3",padding:"0.25rem"}},r.a.createElement("span",null,r.a.createElement("b",null,"States:")," ",t.bar.data[DA(t.key)]," ",r.a.createElement("b",null,"(",t.bar.data[t.key],")")))}},function(e){return r.a.createElement(mA,jA({x:function(e){return e["Competency "]},keys:n,colors:a,margin:{top:0,left:25,right:40,bottom:65},data:t,numTicksY:5},e))}),r.a.createElement(Ce,null,"Source: New America’s analysis based on standard documents reviewed. See Appendix A for the Methodology and Appendix B for the full list of standards documents reviewed.",r.a.createElement("br",null),r.a.createElement("br",null),"Note: Washington and Alaska each had two standards documents that were reviewed for this chart; see Appendix B for the full list of standards documents reviewed."))};n(22);function zA(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")}()}var FA=[],WA=null,ZA={data_table:function(e){var t=WA.table,n=[{Header:"State",accessor:"State",minWidth:120}].concat(zA(Object.keys(t[0]).filter(function(e){return"State"!==e}).map(function(e){return{Header:e,accessor:e,minWidth:210,Cell:function(e){return function(e){switch(e){case"0":return React.createElement(se,null);case"1":return React.createElement(ce,null);case"2":return React.createElement(ue,null)}}(e.value)}}})));ReactDOM.render(React.createElement(oe,{full:!0},React.createElement(Ae,null,"Figure 3 | State by State Comparison: What Culturally Responsive Competencies Does Your State’s Teaching Standards Address?"),React.createElement("div",{className:"dv-key"},React.createElement("div",{className:"dv-key__item"},React.createElement(se,null),React.createElement("span",null,"Does not address")),React.createElement("div",{className:"dv-key__item"},React.createElement(ce,null),React.createElement("span",null,"Addresses competency, but does not differentiates standards by teacher career level or performance level")),React.createElement("div",{className:"dv-key__item"},React.createElement(ue,null),React.createElement("span",null,"Addresses competency and differentiates standards by teacher career level or performance level"))),React.createElement(ge,{columns:n,data:t}),React.createElement(Ce,null," ","Source: New America’s analysis based on standard documents reviewed. See Appendix A for the Methodology and Appendix B for the full list of standards documents reviewed.")),e)},column_chart:function(e){ReactDOM.render(React.createElement(LA,{data:WA.chart}),e)}};fetch("https://na-data-projects.s3.amazonaws.com/data/epp/multi_state_scan.json").then(function(e){return e.json()}).then(function(e){WA=e;for(var t=0;t<FA.length;t++)FA[t]()}),window.renderDataViz=function(e){var t=e.getAttribute("id"),n=ZA[t];n&&(WA?n(e):FA.push(function(){return n(e)}))}}]);