react-jsx-highstock
Advanced tools
Comparing version 3.4.0-alpha.1 to 3.4.0-alpha.2
@@ -1,1 +0,1 @@ | ||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react")):"function"==typeof define&&define.amd?define(["react"],e):"object"==typeof exports?exports.ReactHighcharts=e(require("react")):t.ReactHighcharts=e(t.React)}("undefined"!=typeof self?self:this,function(t){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=20)}([function(e,n){e.exports=t},,function(t,e,n){t.exports=n(12)()},function(t,e,n){var r=n(18),i=n(19);t.exports=function(t,e,n){var o=e&&n||0;"string"==typeof t&&(e="binary"===t?new Array(16):null,t=null);var a=(t=t||{}).random||(t.rng||r)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,e)for(var u=0;u<16;++u)e[o+u]=a[u];return e||i(a)}},function(t,e,n){"use strict";e.__esModule=!0;var r=o(n(0)),i=o(n(15));function o(t){return t&&t.__esModule?t:{default:t}}e.default=r.default.createContext||i.default,t.exports=e.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return!(!t||!t[r]&&!t[i]||t.__ownerID)};var r="@@__IMMUTABLE_ITERABLE__@@",i="@@__IMMUTABLE_RECORD__@@"},,function(t,e,n){"use strict";function r(t){return function(){return t}}var i=function(){};i.thatReturns=r,i.thatReturnsFalse=r(!1),i.thatReturnsTrue=r(!0),i.thatReturnsNull=r(null),i.thatReturnsThis=function(){return this},i.thatReturnsArgument=function(t){return t},t.exports=i},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.a=n}).call(this,n(8))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if(t===e||t!=t&&e!=e)return!0;if(!t||!e)return!1;if("function"==typeof t.valueOf&&"function"==typeof e.valueOf){if(t=t.valueOf(),e=e.valueOf(),t===e||t!=t&&e!=e)return!0;if(!t||!e)return!1}if("function"==typeof t.equals&&"function"==typeof e.equals&&t.equals(e))return!0;return!1},t.exports=e.default},,function(t,e,n){"use strict";var r=n(7),i=n(13),o=n(14);t.exports=function(){function t(t,e,n,r,a,u){u!==o&&i(!1,"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")}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e};return n.checkPropTypes=r,n.PropTypes=n,n}},function(t,e,n){"use strict";var r=function(t){};t.exports=function(t,e,n,i,o,a,u,c){if(r(e),!t){var l;if(void 0===e)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,i,o,a,u,c],d=0;(l=new Error(e.replace(/%s/g,function(){return s[d++]}))).name="Invariant Violation"}throw l.framesToPop=1,l}}},function(t,e,n){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e,n){"use strict";e.__esModule=!0;var r=n(0),i=(a(r),a(n(2))),o=a(n(16));a(n(17));function a(t){return t&&t.__esModule?t:{default:t}}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var s=1073741823;e.default=function(t,e){var n,a,d="__create-react-context-"+(0,o.default)()+"__",p=function(t){function n(){var e,r;u(this,n);for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return e=r=c(this,t.call.apply(t,[this].concat(o))),r.emitter=function(t){var e=[];return{on:function(t){e.push(t)},off:function(t){e=e.filter(function(e){return e!==t})},get:function(){return t},set:function(n,r){t=n,e.forEach(function(e){return e(t,r)})}}}(r.props.value),c(r,e)}return l(n,t),n.prototype.getChildContext=function(){var t;return(t={})[d]=this.emitter,t},n.prototype.componentWillReceiveProps=function(t){if(this.props.value!==t.value){var n=this.props.value,r=t.value,i=void 0;!function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}(n,r)?(i="function"==typeof e?e(n,r):s,0!=(i|=0)&&this.emitter.set(t.value,i)):i=0}},n.prototype.render=function(){return this.props.children},n}(r.Component);p.childContextTypes=((n={})[d]=i.default.object.isRequired,n);var f=function(e){function n(){var t,r;u(this,n);for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return t=r=c(this,e.call.apply(e,[this].concat(o))),r.state={value:r.getValue()},r.onUpdate=function(t,e){0!=((0|r.observedBits)&e)&&r.setState({value:r.getValue()})},c(r,t)}return l(n,e),n.prototype.componentWillReceiveProps=function(t){var e=t.observedBits;this.observedBits=void 0===e||null===e?s:e},n.prototype.componentDidMount=function(){this.context[d]&&this.context[d].on(this.onUpdate);var t=this.props.observedBits;this.observedBits=void 0===t||null===t?s:t},n.prototype.componentWillUnmount=function(){this.context[d]&&this.context[d].off(this.onUpdate)},n.prototype.getValue=function(){return this.context[d]?this.context[d].get():t},n.prototype.render=function(){return function(t){return Array.isArray(t)?t[0]:t}(this.props.children)(this.state.value)},n}(r.Component);return f.contextTypes=((a={})[d]=i.default.object,a),{Provider:p,Consumer:f}},t.exports=e.default},function(t,e,n){"use strict";(function(e){var n="__global_unique_id__";t.exports=function(){return e[n]=(e[n]||0)+1}}).call(this,n(8))},function(t,e,n){"use strict";var r=n(7);t.exports=r},function(t,e){var n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(n){var r=new Uint8Array(16);t.exports=function(){return n(r),r}}else{var i=new Array(16);t.exports=function(){for(var t,e=0;e<16;e++)0==(3&e)&&(t=4294967296*Math.random()),i[e]=t>>>((3&e)<<3)&255;return i}}},function(t,e){for(var n=[],r=0;r<256;++r)n[r]=(r+256).toString(16).substr(1);t.exports=function(t,e){var r=e||0,i=n;return[i[t[r++]],i[t[r++]],i[t[r++]],i[t[r++]],"-",i[t[r++]],i[t[r++]],"-",i[t[r++]],i[t[r++]],"-",i[t[r++]],i[t[r++]],"-",i[t[r++]],i[t[r++]],i[t[r++]],i[t[r++]],i[t[r++]],i[t[r++]]].join("")}},function(t,e,n){"use strict";function r(){return(r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}n.r(e);var i=n(0),o=n.n(i),a=n(2),u=n.n(a);function c(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function l(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){c(t,e,n[e])})}return t}function s(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function d(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function f(t,e,n){return e&&p(t.prototype,e),n&&p(t,n),t}function h(t){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function v(t){return(v="function"==typeof Symbol&&"symbol"===h(Symbol.iterator)?function(t){return h(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":h(t)})(t)}function y(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function g(t,e){return!e||"object"!==v(e)&&"function"!=typeof e?y(t):e}function m(t){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function b(t,e){return(b=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function x(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&b(t,e)}var C=n(3),S=n.n(C);var k=function(){this.__data__=[],this.size=0};var w=function(t,e){return t===e||t!=t&&e!=e};var P=function(t,e){for(var n=t.length;n--;)if(w(t[n][0],e))return n;return-1},A=Array.prototype.splice;var O=function(t){var e=this.__data__,n=P(e,t);return!(n<0||(n==e.length-1?e.pop():A.call(e,n,1),--this.size,0))};var j=function(t){var e=this.__data__,n=P(e,t);return n<0?void 0:e[n][1]};var E=function(t){return P(this.__data__,t)>-1};var T=function(t,e){var n=this.__data__,r=P(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this};function _(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}_.prototype.clear=k,_.prototype.delete=O,_.prototype.get=j,_.prototype.has=E,_.prototype.set=T;var L=_,R=Array.isArray;var D=function(){if(!arguments.length)return[];var t=arguments[0];return R(t)?t:[t]};var M=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1};var U=function(t,e,n){for(var r=n-1,i=t.length;++r<i;)if(t[r]===e)return r;return-1};var B=function(t,e){return!(null==t||!t.length)&&U(t,e,0)>-1},W=1,H=2;var N=function(t,e,n,r,i,o){var a=n&W,u=t.length,c=e.length;if(u!=c&&!(a&&c>u))return!1;var l=o.get(t);if(l&&o.get(e))return l==e;var s=-1,d=!0,p=n&H?new D:void 0;for(o.set(t,e),o.set(e,t);++s<u;){var f=t[s],h=e[s];if(r)var v=a?r(h,f,s,e,t,o):r(f,h,s,t,e,o);if(void 0!==v){if(v)continue;d=!1;break}if(p){if(!M(e,function(t,e){if(!B(p,e)&&(f===t||i(f,t,n,r,o)))return p.push(e)})){d=!1;break}}else if(f!==h&&!i(f,h,n,r,o)){d=!1;break}}return o.delete(t),o.delete(e),d};var I=function(t,e){return t===e||t!=t&&e!=e};var V=function(t,e){return function(n){return t(e(n))}},F=V(Object.keys,Object),q=1,G=Object.prototype.hasOwnProperty;var X=function(t,e,n,r,i,o){var a=n&q,u=F(t),c=u.length;if(c!=F(e).length&&!a)return!1;for(var l=c;l--;){var s=u[l];if(!(a?s in e:G.call(e,s)))return!1}var d=o.get(t);if(d&&o.get(e))return d==e;var p=!0;o.set(t,e),o.set(e,t);for(var f=a;++l<c;){var h=t[s=u[l]],v=e[s];if(r)var y=a?r(v,h,s,e,t,o):r(h,v,s,t,e,o);if(!(void 0===y?h===v||i(h,v,n,r,o):y)){p=!1;break}f||(f="constructor"==s)}if(p&&!f){var g=t.constructor,m=e.constructor;g!=m&&"constructor"in t&&"constructor"in e&&!("function"==typeof g&&g instanceof g&&"function"==typeof m&&m instanceof m)&&(p=!1)}return o.delete(t),o.delete(e),p},z=Object.prototype.toString;var Y=function(t){return z.call(t)};var J=function(){return!1};var Z=function(){return!1},$=1,K="[object Arguments]",Q="[object Array]",tt="[object Object]",et=Object.prototype.hasOwnProperty;var nt=function(t,e,n,r,i,o){var a=R(t),u=R(e),c=a?Q:Y(t),l=u?Q:Y(e),s=(c=c==K?tt:c)==tt,d=(l=l==K?tt:l)==tt,p=c==l;if(p&&J(t)){if(!J(e))return!1;a=!0,s=!1}if(p&&!s)return o||(o=new L),a||Z(t)?N(t,e,n,r,i,o):I(t,e,c,n,r,i,o);if(!(n&$)){var f=s&&et.call(t,"__wrapped__"),h=d&&et.call(e,"__wrapped__");if(f||h){var v=f?t.value():t,y=h?e.value():e;return o||(o=new L),i(v,y,n,r,o)}}return!!p&&(o||(o=new L),X(t,e,n,r,i,o))};var rt=function(t){return null!=t&&"object"==typeof t};var it=function t(e,n,r,i,o){return e===n||(null==e||null==n||!rt(e)&&!rt(n)?e!=e&&n!=n:nt(e,n,r,i,t,o))};var ot=function(t,e){return it(t,e)};var at=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)};var ut=function(t){return t},ct=Math.max;var lt=function(t,e,n){return e=ct(void 0===e?t.length-1:e,0),function(){for(var r=arguments,i=-1,o=ct(r.length-e,0),a=Array(o);++i<o;)a[i]=r[e+i];i=-1;for(var u=Array(e+1);++i<e;)u[i]=r[i];return u[e]=n(a),at(t,this,u)}};var st=function(t){return t};var dt=function(t,e){return st(lt(t,e,ut),t+"")},pt=Object.prototype.toString;var ft=function(t){return pt.call(t)},ht=V(Object.getPrototypeOf,Object),vt="[object Object]",yt=Function.prototype,gt=Object.prototype,mt=yt.toString,bt=gt.hasOwnProperty,xt=mt.call(Object);var Ct=function(t){if(!rt(t)||ft(t)!=vt)return!1;var e=ht(t);if(null===e)return!0;var n=bt.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&mt.call(n)==xt},St="[object DOMException]",kt="[object Error]";var wt=function(t){if(!rt(t))return!1;var e=ft(t);return e==kt||e==St||"string"==typeof t.message&&"string"==typeof t.name&&!Ct(t)},Pt=dt(function(t,e){try{return at(t,void 0,e)}catch(t){return wt(t)?t:new Error(t)}}),At=n(5),Ot=n.n(At),jt=n(10),Et=n.n(jt),Tt=n(4),_t=n.n(Tt),Lt=_t()(),Rt=Lt.Consumer,Dt=Lt.Provider;var Mt=function(t,e,n){var r=-1,i=t.length;e<0&&(e=-e>i?0:i+e),(n=n>i?i:n)<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var o=Array(i);++r<i;)o[r]=t[r+e];return o};var Ut=function(t,e,n){var r=t.length;return n=void 0===n?r:n,!e&&n>=r?t:Mt(t,e,n)};var Bt=function(){return!1};var Wt=function(t){return t.split("")};var Ht=function(t){return t.split("")};var Nt=function(t){return Bt(t)?Ht(t):Wt(t)};var It=function(t){return t};var Vt=function(t){return function(e){e=It(e);var n=Bt(e)?Nt(e):void 0,r=n?n[0]:e.charAt(0),i=n?Ut(n,1).join(""):e.slice(1);return r[t]()+i}},Ft=Vt("toLowerCase");var qt=function(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i};var Gt=function(t){return t};var Xt=function(t,e){return null==t?void 0:t[e]};var zt=function(t,e){return null==t?void 0:t[e]},Yt=function(){try{var t=zt(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();var Jt=function(t,e,n){"__proto__"==e&&Yt?Yt(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n},Zt=Object.prototype.hasOwnProperty;var $t=function(t,e,n){var r=t[e];Zt.call(t,e)&&w(r,n)&&(void 0!==n||e in t)||Jt(t,e,n)};var Kt=function(){if(!arguments.length)return[];var t=arguments[0];return R(t)?t:[t]},Qt=9007199254740991,te=/^(?:0|[1-9]\d*)$/;var ee=function(t,e){var n=typeof t;return!!(e=null==e?Qt:e)&&("number"==n||"symbol"!=n&&te.test(t))&&t>-1&&t%1==0&&t<e};var ne=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};var re=function(t){return t};var ie=function(t,e,n,r){if(!ne(t))return t;for(var i=-1,o=(e=Kt(e,t)).length,a=o-1,u=t;null!=u&&++i<o;){var c=re(e[i]),l=n;if(i!=a){var s=u[c];void 0===(l=r?r(s,c,u):void 0)&&(l=ne(s)?s:ee(e[i+1])?[]:{})}$t(u,c,l),u=u[c]}return t};var oe=function(t,e,n){for(var r=-1,i=e.length,o={};++r<i;){var a=e[r],u=Xt(t,a);n(u,a)&&ie(o,Kt(a,t),u)}return o};var ae=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e};var ue=function(t,e){if(null==t)return{};var n=qt(ae(t),function(t){return[t]});return e=Gt(e),oe(t,n,function(t,n){return e(t,n[0])})},ce="Expected a function";var le=function(t){if("function"!=typeof t)throw new TypeError(ce);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}};var se=function(t,e){return ue(t,le(Gt(e)))};var de=function(t){return function(e,n,r){for(var i=-1,o=Object(e),a=r(e),u=a.length;u--;){var c=a[t?u:++i];if(!1===n(o[c],c,o))break}return e}}(),pe=V(Object.keys,Object);var fe=function(t,e){return t&&de(t,e,pe)};var he=function(t,e){var n={};return e=Gt(e,3),fe(t,function(t,r,i){Jt(n,e(t,r,i),t)}),n},ve=function(t){return se(t,ge)},ye=function(t){var e=function(t){return ue(t,ge)}(t);return he(e,function(t,e){return Ft(e.replace(/^on/,""))})},ge=function(t,e){return 0===e.indexOf("on")&&"function"==typeof t};var me=function(t,e){var n={};return e=Gt(e,3),fe(t,function(t,r,i){Jt(n,r,e(t,r,i))}),n},be=["getHighcharts","getChart","getAxis","getSeries","needsRedraw"];function xe(t){var e=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(t).filter(function(t){return be.indexOf(t)<0}).reduce(function(e,n){return e[n]=t[n],e},{})}(t);return me(e,function(t){return!1===Ct(t)?t:xe(t)})}function Ce(t){return function(e){for(var n=xe(e),r=arguments.length,i=new Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return t.apply(void 0,[n].concat(i))}}function Se(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=e.children,i=s(e,["children"]),o=ue(i,function(e,n){return!(be.indexOf(n)>-1)&&!1===ot(e,t[n])});return n&&!1===ot(t.children,r)&&(o.text=r),Object.keys(o).length>0&&o}var ke=function(t){function e(t){var n;return d(this,e),c(y(y(n=g(this,m(e).call(this,t)))),"getSeriesConfig",function(){var t=n.props,e=t.id,r=t.data,i=t.requiresAxis,o=t.getAxis,a=(t.children,s(t,["id","data","requiresAxis","getAxis","children"])),u="function"==typeof e?e():e,c=Ot()(r)?r.toJS():r,d=ve(a),p=l({id:u,data:c,events:ye(a)},d);if(i){var f=o();p[f.type]=f.id}return p}),c(y(y(n)),"createSeries",function(){var t=n.props.getChart(),e=n.getSeriesConfig();n.series=t.addSeries(e,!1)}),n}return x(e,i["Component"]),f(e,[{key:"componentDidUpdate",value:function(t){var e=this.props,n=e.visible,r=e.data,i=s(e,["visible","data"]),o=!1;Ot()(r)&&!1===Et()(r,t.data)?(this.series.setData(r.toJS(),!1),o=!0):!1===ot(r,t.data)&&(this.series.setData(r,!1),o=!0),n!==t.visible&&(this.series.setVisible(n,!1),o=!0);var a=Se(t,i);!1!==a&&(this.series.update(a,!1),o=!0),o&&this.props.needsRedraw()}},{key:"componentDidMount",value:function(){this.props.needsRedraw()}},{key:"componentWillUnmount",value:function(){this.series&&this.series.remove&&(Pt(this.series.remove.bind(this.series),!1),this.props.needsRedraw())}},{key:"render",value:function(){return this.series||this.createSeries(),o.a.createElement(Dt,{value:this.series},this.props.children)}}]),e}();c(ke,"defaultProps",{type:"line",id:S.a,children:null,data:[],requiresAxis:!0,visible:!0});var we=ke;var Pe=function(t,e){return null==t||t!=t?e:t},Ae=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i))))),"state",{render:!1}),c(y(y(n)),"renderTimeout",null),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this;this.renderTimeout=window.setTimeout(function(){t.setState({render:!0}),t.renderTimeout=null},1)}},{key:"componentWillUnmount",value:function(){null!==this.renderTimeout&&window.clearTimeout(this.renderTimeout)}},{key:"render",value:function(){return this.state.render?this.props.children:null}}]),e}(),Oe=_t()(),je=Oe.Consumer,Ee=Oe.Provider,Te=_t()(),_e=Te.Consumer,Le=Te.Provider;function Re(t){return t.displayName||t.name||"Component"}function De(t){var e=function(e){return o.a.createElement(_e,null,function(n){return o.a.createElement(t,r({},e,{getHighcharts:function(){return n}}))})};return e.displayName="Highcharts.Provider(".concat(Re(t),")"),e}function Me(t){var e=function(e){return o.a.createElement(je,null,function(n){var i=n.chart,a=n.chartType,u=n.needsRedraw;if(!i)return null;return o.a.createElement(t,r({},e,{getChart:function(){return{object:i,type:a,get:i.get.bind(i),update:Ce(i.update.bind(i)),addAxis:Ce(i.addAxis.bind(i)),addSeries:Ce(i.addSeries.bind(i)),setTitle:Ce(i.setTitle.bind(i)),showLoading:i.showLoading.bind(i),hideLoading:i.hideLoading.bind(i),addCredits:Ce(i.addCredits.bind(i)),addAnnotation:i.addAnnotation?Ce(i.addAnnotation.bind(i)):null,removeAnnotation:i.removeAnnotation?i.removeAnnotation.bind(i):null}},needsRedraw:u}))})};return e.displayName="Chart.Provider(".concat(Re(t),")"),De(e)}var Ue=_t()(),Be=Ue.Consumer,We=Ue.Provider;function He(t){var e=function(e){var n=Pe(e.requiresAxis,!0);return o.a.createElement(Ae,null,o.a.createElement(Be,null,function(i){if(!i&&e.axisId){var a=e.getChart();i=a.get(e.axisId)}if(!i&&n)return null;return o.a.createElement(t,r({},e,{getAxis:function(){return{object:i,id:i.userOptions&&i.userOptions.id,type:i.coll,update:Ce(i.update.bind(i)),remove:i.remove.bind(i),addPlotBand:Ce(i.addPlotBand.bind(i)),removePlotBand:i.removePlotBand.bind(i),addPlotLine:Ce(i.addPlotLine.bind(i)),removePlotLine:i.removePlotLine.bind(i),getExtremes:i.getExtremes.bind(i),setExtremes:i.setExtremes.bind(i),setTitle:Ce(i.setTitle.bind(i))}}}))}))};return e.displayName="Axis.Provider(".concat(Re(t),")"),Me(e)}var Ne=He(we);function Ie(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(arguments.length>2&&void 0!==arguments[2]&&arguments[2],function(n){return o.a.createElement(Ne,r({},n,e,{type:t.toLowerCase()}))});return n.displayName="".concat(t,"Series"),n}var Ve=n(9),Fe="object"==typeof self&&self&&self.Object===Object&&self,qe=Ve.a||Fe||Function("return this")(),Ge=function(){return qe.Date.now()};var Xe=function(t){return t},ze="Expected a function",Ye=Math.max,Je=Math.min;var Ze=function(t,e,n){var r,i,o,a,u,c,l=0,s=!1,d=!1,p=!0;if("function"!=typeof t)throw new TypeError(ze);function f(e){var n=r,o=i;return r=i=void 0,l=e,a=t.apply(o,n)}function h(t){var n=t-c;return void 0===c||n>=e||n<0||d&&t-l>=o}function v(){var t=Ge();if(h(t))return y(t);u=setTimeout(v,function(t){var n=e-(t-c);return d?Je(n,o-(t-l)):n}(t))}function y(t){return u=void 0,p&&r?f(t):(r=i=void 0,a)}function g(){var t=Ge(),n=h(t);if(r=arguments,i=this,c=t,n){if(void 0===u)return function(t){return l=t,u=setTimeout(v,e),s?f(t):a}(c);if(d)return u=setTimeout(v,e),f(c)}return void 0===u&&(u=setTimeout(v,e)),a}return e=Xe(e)||0,ne(n)&&(s=!!n.leading,o=(d="maxWait"in n)?Ye(Xe(n.maxWait)||0,e):o,p="trailing"in n?!!n.trailing:p),g.cancel=function(){void 0!==u&&clearTimeout(u),l=0,r=c=i=u=void 0},g.flush=function(){return void 0===u?a:y(Ge())},g},$e=function(t){function e(t){var n;return d(this,e),c(y(y(n=g(this,m(e).call(this,t)))),"initHighcharts",function(){if(n.domNode){var t=n.props,e=t.chartCreationFunc,r=t.callback,i=t.polar,o=t.gauge,a=(t.children,l({chart:{},title:{text:null},subtitle:{text:null},legend:{enabled:!1},rangeSelector:{enabled:!1},navigator:{enabled:!1},scrollbar:{enabled:!1},tooltip:{enabled:!1},credits:{enabled:!1},series:[],xAxis:[],yAxis:[]},s(t,["chartCreationFunc","callback","polar","gauge","children"])));n.chart=e(n.domNode,a),n.chart.polar=i,n.chart.angular=o,r(n.chart),n.setState({rendered:!0})}}),c(y(y(n)),"setDomNode",function(t){n.domNode=t}),c(y(y(n)),"needsRedraw",Ze(function(){n.chart.__destroyed||Pt(n.chart.redraw.bind(n.chart))},0)),n.state={rendered:!1},n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){window.setTimeout(this.initHighcharts,0)}},{key:"componentDidUpdate",value:function(t){var e=this.props.plotOptions;!1===ot(t.plotOptions,e)&&this.chart&&(this.chart.update({plotOptions:e},!1),this.needsRedraw())}},{key:"componentWillUnmount",value:function(){this.chart&&(window.setTimeout(this.chart.destroy.bind(this.chart),1),this.chart.__destroyed=!0)}},{key:"render",value:function(){var t=this.props,e=t.chartType,n=t.children;return o.a.createElement("div",{className:"chart ".concat(this.props.className),ref:this.setDomNode},this.state.rendered&&o.a.createElement(Ee,{value:{chart:this.chart,chartType:e,needsRedraw:this.needsRedraw}},n))}}]),e}();c($e,"defaultProps",{children:null,className:"",callback:function(){}});var Ke=$e,Qe=De(function(t){function e(){return d(this,e),g(this,m(e).apply(this,arguments))}return x(e,i["Component"]),f(e,[{key:"render",value:function(){return o.a.createElement(Ke,r({},this.props,{chartCreationFunc:this.props.getHighcharts().chart,chartType:"chart"}))}}]),e}()),tn=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i))))),"updateChart",function(t){n.props.getChart().update({chart:t},!1),n.props.needsRedraw()}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=t.getHighcharts,n=t.getChart,r=(t.needsRedraw,t.children,s(t,["getHighcharts","getChart","needsRedraw","children"])),i=ve(r),o=n();this.updateChart(l({},i)),function(t,e,n){var r=ye(n);Object.keys(r).forEach(function(n){t.addEvent(e,n,r[n])})}(e(),o.object,r)}},{key:"componentDidUpdate",value:function(t){var e=Se(t,this.props);!1!==e&&this.updateChart(e)}},{key:"render",value:function(){return null}}]),e}();c(tn,"defaultProps",{type:"line",onAddSeries:function(){},onAfterPrint:function(){},onBeforePrint:function(){},onClick:function(){},onLoad:function(){},onRedraw:function(){},onRender:function(){},onSelection:function(){}});var en=Me(tn),nn=function(t){function e(t){var n;return d(this,e),c(y(y(n=g(this,m(e).call(this,t)))),"getAxisConfig",function(){var t=n.props,e=t.id,r=(t.children,s(t,["id","children"])),i="function"==typeof e?e():e,o=ve(r);return l({id:i,title:{text:null},events:ye(r)},o)}),c(y(y(n)),"createAxis",function(){var t=n.props,e=t.id,r=t.dynamicAxis,i=t.isX,o=(0,t.getChart)(),a=n.getAxisConfig();if(r)n.axis=o.addAxis(a,i,!1);else{var u="function"==typeof e?e():e;n.axis=o.get(u),n.axis.update.call(n.axis,a,!1)}}),n}return x(e,i["Component"]),f(e,[{key:"componentDidUpdate",value:function(t){var e=Se(t,this.props);!1!==e&&(this.axis.update(e,!1),this.props.needsRedraw())}},{key:"componentDidMount",value:function(){this.props.needsRedraw()}},{key:"componentWillUnmount",value:function(){this.axis.remove&&(Pt(this.axis.remove.bind(this.axis),!1),this.props.needsRedraw())}},{key:"render",value:function(){return this.axis||this.createAxis(),o.a.createElement(We,{value:this.axis},this.props.children)}}]),e}();c(nn,"defaultProps",{id:S.a,children:null,dynamicAxis:!0});var rn=nn,on=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i))))),"updateAxisTitle",function(t){n.props.getAxis().setTitle(t,!0)}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=t.children,n=s(t,["children"]);this.updateAxisTitle(l({},n,{text:e}))}},{key:"componentDidUpdate",value:function(t){var e=Se(t,this.props,!0);!1!==e&&this.updateAxisTitle(e)}},{key:"componentWillUnmount",value:function(){Pt(this.updateAxisTitle,{text:null})}},{key:"render",value:function(){return null}}]),e}(),an=Me(rn);an.Title=He(on);var un=an,cn=Me(function(t){function e(){return d(this,e),g(this,m(e).apply(this,arguments))}return x(e,i["Component"]),f(e,[{key:"render",value:function(){var t=this.props,e=t.getChart,n=t.id,i=s(t,["getChart","id"]),a="stockChart"===e().type,u=a?"datetime":"linear",c=a?"xAxis":n;return o.a.createElement(un,r({type:u},i,{id:c,isX:!0}))}}]),e}());cn.Title=un.Title;var ln=cn,sn=function(t){function e(){return d(this,e),g(this,m(e).apply(this,arguments))}return x(e,i["Component"]),f(e,[{key:"render",value:function(){return o.a.createElement(un,r({},this.props,{isX:!1}))}}]),e}();c(sn,"defaultProps",{type:"linear"}),sn.Title=un.Title;var dn=sn,pn=function(t){function e(){return d(this,e),g(this,m(e).apply(this,arguments))}return x(e,i["Component"]),f(e,[{key:"render",value:function(){var t=this.props.children;return t?[t]:null}}]),e}(),fn=function(t){function e(){return d(this,e),g(this,m(e).apply(this,arguments))}return x(e,i["Component"]),f(e,[{key:"render",value:function(){var t=this.props,e=t.height,n=t.width,r=t.margin,i=t.style,a=t.series,u=t.children,c=s(t,["height","width","margin","style","series","children"]),d=!!a,p=l({overflow:"visible"},i),f=d?a:u;return o.a.createElement(Qe,c,o.a.createElement(en,{height:e,width:n,animation:!1,backgroundColor:null,borderWidth:0,margin:r,style:p,skipClone:!0}),o.a.createElement(ln,{labels:{enabled:!1},startOnTick:!1,endOnTick:!1,tickPositions:[]}),o.a.createElement(dn,{id:"sparkline",labels:{enabled:!1},startOnTick:!1,endOnTick:!1,tickPositions:[0]},f),d&&o.a.createElement(pn,null,u))}}]),e}();c(fn,"defaultProps",{height:20,width:120,margin:[2,0,2,0],style:{},plotOptions:{series:{animation:!1,lineWidth:1,shadow:!1,states:{hover:{lineWidth:1}},marker:{radius:1,states:{hover:{radius:2}}},fillOpacity:.25}}});var hn=fn,vn=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i))))),"update3dOptions",function(){var t=n.props,e={chart:{options3d:{enabled:!0,alpha:t.alpha,axisLabelPosition:t.axisLabelPosition,beta:t.beta,depth:t.depth,fitToPlot:t.fitToPlot,frame:t.frame,viewDistance:t.viewDistance}}};(0,t.getChart)().update(e,!0)}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){this.update3dOptions()}},{key:"componentDidUpdate",value:function(){this.update3dOptions()}},{key:"render",value:function(){return null}}]),e}();c(vn,"defaultProps",{enabled:!1,alpha:0,beta:0,depth:100,fitToPlot:!0,viewDistance:25,axisLabelPosition:"default",frame:{visible:"default",size:1,bottom:{},top:{},left:{},right:{},back:{},front:{}}});var yn=Me(vn),gn=function(t){function e(){return d(this,e),g(this,m(e).apply(this,arguments))}return x(e,i["Component"]),f(e,[{key:"render",value:function(){var t=this.props,e=t.children,n=t.alpha,i=t.axisLabelPosition,a=t.beta,u=t.depth,c=t.fitToPlot,l=t.frame,d=t.viewDistance,p=s(t,["children","alpha","axisLabelPosition","beta","depth","fitToPlot","frame","viewDistance"]);return o.a.createElement(Qe,r({chart:{options3d:{enabled:!0}},zAxis:{id:"zAxis"}},p),o.a.createElement(yn,{alpha:n,axisLabelPosition:i,beta:a,depth:u,fitToPlot:c,frame:l,viewDistance:d}),e)}}]),e}(),mn=function(t){function e(t){var n;return d(this,e),c(y(y(n=g(this,m(e).call(this,t)))),"getAnnotationConfig",function(){var t=n.props,e=t.id,r=(t.children,s(t,["id","children"]));return n.id||(n.id="function"==typeof e?e():e),l({id:n.id},r)}),n.state={rendered:!1},n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props.getChart(),e=this.getAnnotationConfig();t.addAnnotation(e),this.setState({rendered:!0})}},{key:"componentDidUpdate",value:function(t){if(!1!==Se(t,this.props)){var e=this.props.getChart(),n=this.getAnnotationConfig();e.removeAnnotation(n.id),e.addAnnotation(n)}}},{key:"componentWillUnmount",value:function(){var t=this.props.getChart();Pt(t.removeAnnotation,this.id)}},{key:"render",value:function(){var t=this,e=this.props.children;if(!e||!this.state.rendered)return null;var n=i.Children.map(e,function(e){return!1===Object(i.isValidElement)(e)?e:Object(i.cloneElement)(e,{id:t.id})});return o.a.createElement(pn,null,n)}}]),e}();c(mn,"defaultProps",{id:S.a});var bn=Me(mn),xn=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i))))),"updateCredits",function(t){var e=n.props.getChart();"text"in t&&!t.text&&delete t.text,e.addCredits(t,!0)}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=t.children,n=s(t,["children"]);this.updateCredits(l({},n,{text:e}))}},{key:"componentDidUpdate",value:function(t){var e=Se(t,this.props,!0);!1!==e&&this.updateCredits(e)}},{key:"componentWillUnmount",value:function(){Pt(this.updateCredits,{enabled:!1})}},{key:"render",value:function(){return null}}]),e}();c(xn,"defaultProps",{enabled:!0});var Cn=Me(xn),Sn=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i))))),"updateLoading",function(t){n.props.getChart().update({loading:t},!0)}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=t.children,n=t.isLoading,r=t.getChart,i=s(t,["children","isLoading","getChart"]);(this.updateLoading(i),n)&&r().showLoading(e)}},{key:"componentDidUpdate",value:function(t){var e=this.props,n=e.children,r=e.isLoading,i=e.getChart,o=Se(t,s(e,["children","isLoading","getChart"]));if(!1!==o&&this.updateLoading(o),r!==t.isLoading){var a=i();r&&a.showLoading(n),r||a.hideLoading()}}},{key:"componentWillUnmount",value:function(){var t=this.props.getChart();Pt(t.hideLoading)}},{key:"render",value:function(){return null}}]),e}();c(Sn,"defaultProps",{isLoading:!0});var kn=Me(Sn),wn=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i))))),"updateLegend",function(t){n.props.getChart().update({legend:t},!1),n.props.needsRedraw()}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=(t.children,s(t,["children"]));this.updateLegend(l({},e))}},{key:"componentDidUpdate",value:function(t){var e=Se(t,this.props);!1!==e&&this.updateLegend(e)}},{key:"componentWillUnmount",value:function(){Pt(this.updateLegend,{enabled:!1})}},{key:"render",value:function(){return this.props.children}}]),e}();c(wn,"defaultProps",{children:null,enabled:!0});var Pn=wn,An=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i))))),"updateLegendTitle",function(t){n.props.getChart().update({legend:{title:t}},!1),n.props.needsRedraw()}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=t.children,n=s(t,["children"]);this.updateLegendTitle(l({},n,{text:e}))}},{key:"componentDidUpdate",value:function(t){var e=Se(t,this.props,!0);!1!==e&&this.updateLegendTitle(e)}},{key:"componentWillUnmount",value:function(){Pt(this.updateLegendTitle,{text:null})}},{key:"render",value:function(){return null}}]),e}(),On=Me(Pn);On.Title=Me(An);var jn=On,En=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i))))),"updatePane",function(t){n.props.getChart().update({pane:t},!1),n.props.needsRedraw()}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=(t.children,s(t,["children"]));this.updatePane(l({},e))}},{key:"componentDidUpdate",value:function(t){var e=Se(t,this.props);!1!==e&&this.updatePane(e)}},{key:"componentWillUnmount",value:function(){Pt(this.updatePane,{})}},{key:"render",value:function(){return null}}]),e}();c(En,"defaultProps",{children:null});var Tn=Me(En),_n=function(t){function e(t){var n;return d(this,e),c(y(y(n=g(this,m(e).call(this,t)))),"getPlotBandConfig",function(){var t=n.props,e=t.id,r=(t.children,s(t,["id","children"]));return n.id||(n.id="function"==typeof e?e():e),l({id:n.id},r)}),n.state={rendered:!1},n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props.getAxis(),e=this.getPlotBandConfig();t.addPlotBand(e),this.setState({rendered:!0})}},{key:"componentDidUpdate",value:function(t){if(!1!==Se(t,this.props)){var e=this.props.getAxis(),n=this.getPlotBandConfig();e.removePlotBand(n.id),e.addPlotBand(n)}}},{key:"componentWillUnmount",value:function(){var t=this.props.getAxis();Pt(t.removePlotBand,this.id)}},{key:"render",value:function(){var t=this,e=this.props.children;if(!e||!this.state.rendered)return null;var n=i.Children.map(e,function(e){return!1===Object(i.isValidElement)(e)?e:Object(i.cloneElement)(e,{id:t.id})});return o.a.createElement(pn,null,n)}}]),e}();c(_n,"defaultProps",{id:S.a});var Ln=_n,Rn="[object AsyncFunction]",Dn="[object Function]",Mn="[object GeneratorFunction]",Un="[object Proxy]";var Bn=function(t){if(!ne(t))return!1;var e=ft(t);return e==Dn||e==Mn||e==Rn||e==Un},Wn=9007199254740991;var Hn=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=Wn};var Nn=function(t){return null!=t&&Hn(t.length)&&!Bn(t)};var In=function(t){return function(e,n,r){var i=Object(e);if(!Nn(e)){var o=Gt(n,3);e=pe(e),n=function(t){return o(i[t],t,i)}}var a=t(e,n,r);return a>-1?i[o?e[a]:a]:void 0}};var Vn=function(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return-1};var Fn=function(t){return t},qn=Math.max;var Gn=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:Fn(n);return i<0&&(i=qn(r+i,0)),Vn(t,Gt(e,3),i)},Xn=In(Gn),zn=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i))))),"getLabelProps",function(t){return ue(t,function(t,n){return e.labelProps.indexOf(n)>-1})}),c(y(y(n)),"updatePlotBandLabel",function(t){var e=n.props,r=e.id,i=(0,e.getAxis)();window.setTimeout(function(){var e=i.object&&Xn(i.object.plotLinesAndBands,function(t){return t.id===r});e&&(e.options.label=n.getLabelProps(t),e.render())},1)}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=t.children,n=s(t,["children"]);this.updatePlotBandLabel(l({text:e},n))}},{key:"componentDidUpdate",value:function(t){if(!1!==Se(t,this.props,!0)){var e=this.props,n=e.children,r=s(e,["children"]);this.updatePlotBandLabel(l({text:n},r))}}},{key:"componentWillUnmount",value:function(){var t=this.props,e=(t.children,s(t,["children"]));Pt(this.updatePlotBandLabel,l({text:null},e))}},{key:"render",value:function(){return null}}]),e}();c(zn,"labelProps",["text","align","rotation","style","textAlign","useHTML","verticalAlign","x","y"]);var Yn=zn,Jn=He(Ln);Jn.Label=He(Yn);var Zn=Jn,$n=function(t){function e(t){var n;return d(this,e),c(y(y(n=g(this,m(e).call(this,t)))),"getPlotLineConfig",function(){var t=n.props,e=t.id,r=(t.children,s(t,["id","children"]));return n.id||(n.id="function"==typeof e?e():e),l({id:n.id},r)}),n.state={rendered:!1},n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props.getAxis(),e=this.getPlotLineConfig();t.addPlotLine(e),this.setState({rendered:!0})}},{key:"componentDidUpdate",value:function(t){if(!1!==Se(t,this.props)){var e=this.props.getAxis(),n=this.getPlotLineConfig();e.removePlotLine(n.id),e.addPlotLine(n)}}},{key:"componentWillUnmount",value:function(){var t=this.props.getAxis();Pt(t.removePlotLine,this.id)}},{key:"render",value:function(){var t=this,e=this.props.children;if(!e||!this.state.rendered)return null;var n=i.Children.map(e,function(e){return!1===Object(i.isValidElement)(e)?e:Object(i.cloneElement)(e,{id:t.id})});return o.a.createElement(pn,null,n)}}]),e}();c($n,"defaultProps",{id:S.a});var Kn=$n,Qn=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i))))),"getLabelProps",function(t){return ue(t,function(t,n){return e.labelProps.indexOf(n)>-1})}),c(y(y(n)),"updatePlotLineLabel",function(t){var e=n.props,r=e.id,i=(0,e.getAxis)();window.setTimeout(function(){var e=i.object&&Xn(i.object.plotLinesAndBands,function(t){return t.id===r});e&&(e.options.label=n.getLabelProps(t),e.render())},1)}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=t.children,n=s(t,["children"]);this.updatePlotLineLabel(l({text:e},n))}},{key:"componentDidUpdate",value:function(t){if(!1!==Se(t,this.props,!0)){var e=this.props,n=e.children,r=s(e,["children"]);this.updatePlotLineLabel(l({text:n},r))}}},{key:"componentWillUnmount",value:function(){var t=this.props,e=(t.children,s(t,["children"]));Pt(this.updatePlotLineLabel,l({text:null},e))}},{key:"render",value:function(){return null}}]),e}();c(Qn,"labelProps",["text","align","rotation","style","textAlign","useHTML","verticalAlign","x","y"]);var tr=Qn,er=He(Kn);er.Label=He(tr);var nr=er,rr=Me(function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i))))),"updateSubtitle",function(t){n.props.getChart().setTitle(void 0,t,!1),n.props.needsRedraw()}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=t.children,n=s(t,["children"]);this.updateSubtitle(l({},n,{text:e}))}},{key:"componentDidUpdate",value:function(t){var e=Se(t,this.props,!0);!1!==e&&this.updateSubtitle(e)}},{key:"componentWillUnmount",value:function(){Pt(this.updateSubtitle,{text:null})}},{key:"render",value:function(){return null}}]),e}()),ir=Me(function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i))))),"updateTitle",function(t){n.props.getChart().setTitle(t,null,!1),n.props.needsRedraw()}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=t.children,n=s(t,["children"]);this.updateTitle(l({},n,{text:e}))}},{key:"componentDidUpdate",value:function(t){var e=Se(t,this.props,!0);!1!==e&&this.updateTitle(e)}},{key:"componentWillUnmount",value:function(){Pt(this.updateTitle,{text:null})}},{key:"render",value:function(){return null}}]),e}()),or=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i))))),"updateTooltip",function(t){n.props.getChart().update({tooltip:t},!1),n.props.needsRedraw()}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=(t.children,t.getHighcharts),n=t.getChart,r=(t.needsRedraw,s(t,["children","getHighcharts","getChart","needsRedraw"])),i=e(),o=n().object;o.tooltip=new i.Tooltip(o,l({},i.defaultOptions&&i.defaultOptions.tooltip,r)),this.updateTooltip(r)}},{key:"componentDidUpdate",value:function(t){var e=Se(t,this.props);!1!==e&&this.updateTooltip(e)}},{key:"componentWillUnmount",value:function(){Pt(this.updateTooltip,{enabled:!1})}},{key:"render",value:function(){return null}}]),e}();c(or,"defaultProps",{children:null,enabled:!0});var ar=Me(or),ur=function(t){function e(){return d(this,e),g(this,m(e).apply(this,arguments))}return x(e,i["Component"]),f(e,[{key:"render",value:function(){return o.a.createElement(un,r({},this.props,{id:"zAxis",isX:!1,dynamicAxis:!1}))}}]),e}();c(ur,"defaultProps",{type:"linear"}),ur.Title=un.Title;var cr=ur,lr=Me(function(t){function e(){return d(this,e),g(this,m(e).apply(this,arguments))}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){this.props.getChart().update({chart:{inverted:!0}})}},{key:"render",value:function(){return o.a.createElement(Ne,r({},this.props,{type:"bar"}))}}]),e}());function sr(t){var e=function(e){return o.a.createElement(Ae,null,o.a.createElement(Rt,null,function(n){if(!n&&e.seriesId){var i=e.getChart();n=i.get(e.seriesId)}if(!n)return null;return o.a.createElement(t,r({},e,{getSeries:function(){return{object:n,id:n.userOptions&&n.userOptions.id,type:n.type,update:Ce(n.update.bind(n)),remove:n.remove.bind(n),setData:n.setData.bind(n),setVisible:n.setVisible.bind(n)}}}))}))};return e.displayName="Series.Provider(".concat(Re(t),")"),He(e)}function dr(t,e){return function(n){return o.a.createElement(Le,{value:e},o.a.createElement(t,n))}}var pr=function(t){function e(){return d(this,e),g(this,m(e).apply(this,arguments))}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=t.varName,n=(0,t.getChart)();window[e]=n.object,console.log("Chart instance available as global variable as window.".concat(e))}},{key:"componentWillUnmount",value:function(){window[this.props.varName]=void 0}},{key:"render",value:function(){return o.a.createElement(pn,null)}}]),e}();c(pr,"defaultProps",{varName:"chart"});var fr=Me(pr),hr={requiresAxis:!1},vr={baseSeries:u.a.string.isRequired},yr=Ie("AreaRange"),gr=Ie("Area"),mr=Ie("AreaSplineRange"),br=Ie("AreaSpline"),xr=Ie("BellCurve",{},vr),Cr=Ie("BoxPlot"),Sr=Ie("Bubble"),kr=Ie("Bullet"),wr=Ie("ColumnRange"),Pr=Ie("Column"),Ar=Ie("ErrorBar"),Or=Ie("Funnel",hr),jr=Ie("Gauge"),Er=Ie("Heatmap"),Tr=Ie("Histogram",{},vr),_r=Ie("Line"),Lr=Ie("Pareto",{},vr),Rr=Ie("Pie",hr),Dr=Ie("Polygon"),Mr=Ie("Pyramid",hr),Ur=Ie("Sankey"),Br=Ie("Scatter"),Wr=Ie("Scatter3d"),Hr=Ie("SolidGauge"),Nr=Ie("Spline"),Ir=Ie("StreamGraph"),Vr=Ie("Sunburst"),Fr=Ie("Tilemap"),qr=Ie("Treemap"),Gr=Ie("VariablePie",hr),Xr=Ie("Variwide"),zr=Ie("Vector"),Yr=Ie("Waterfall"),Jr=Ie("WindBarb"),Zr=Ie("XRange"),$r=De(function(t){function e(){return d(this,e),g(this,m(e).apply(this,arguments))}return x(e,i["Component"]),f(e,[{key:"render",value:function(){return o.a.createElement(Ke,r({},this.props,{chartCreationFunc:this.props.getHighcharts().stockChart,chartType:"stockChart"}))}}]),e}()),Kr=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i))))),"updateNavigatorAxis",function(t){n.props.getAxis().update(t)}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=(t.children,s(t,["children"]));this.updateNavigatorAxis(ve(e))}},{key:"componentDidUpdate",value:function(t){var e=Se(t,this.props);!1!==e&&this.updateNavigatorAxis(e)}},{key:"render",value:function(){var t=this.props,e=t.axisId,n=t.children;if(!n)return null;var r=i.Children.map(n,function(t){return!1===Object(i.isValidElement)(t)?t:Object(i.cloneElement)(t,{axisId:e})});return o.a.createElement(pn,null,r)}}]),e}(),Qr=He(Kr),ti=function(t){function e(){return d(this,e),g(this,m(e).apply(this,arguments))}return x(e,i["Component"]),f(e,[{key:"render",value:function(){return o.a.createElement(Qr,r({},this.props,{axisId:"navigator-x-axis"}))}}]),e}(),ei=function(t){function e(t){var n;return d(this,e),c(y(y(n=g(this,m(e).call(this,t)))),"updateNavigator",function(t){n.props.getChart().update({navigator:t},!0)}),n.state={rendered:!1},n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=(t.children,t.getHighcharts),n=t.getChart,r=s(t,["children","getHighcharts","getChart"]),i=e(),o=n().object;o.options.navigator.enabled=!0,i.fireEvent(o,"beforeRender"),this.updateNavigator(r),this.setState({rendered:!0})}},{key:"componentDidUpdate",value:function(t){var e=Se(t,this.props);!1!==e&&this.updateNavigator(e)}},{key:"componentWillUnmount",value:function(){Pt(this.updateNavigator,{enabled:!1})}},{key:"render",value:function(){var t=this,e=this.props.children;if(!e||!this.state.rendered)return null;var n=i.Children.map(e,function(e){return!1===Object(i.isValidElement)(e)?e:Object(i.cloneElement)(e,t.state)});return o.a.createElement(ti,null,n)}}]),e}();c(ei,"defaultProps",{enabled:!0});var ni=ei,ri=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i))))),"updateNavigatorSeries",function(t){n.props.getSeries().update(t)}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){this.updateNavigatorSeries({showInNavigator:!0})}},{key:"componentWillUnmount",value:function(){Pt(this.updateNavigatorSeries,{showInNavigator:!1})}},{key:"render",value:function(){return null}}]),e}(),ii=function(t){function e(){return d(this,e),g(this,m(e).apply(this,arguments))}return x(e,i["Component"]),f(e,[{key:"render",value:function(){return o.a.createElement(Qr,r({},this.props,{axisId:"navigator-y-axis"}))}}]),e}(),oi=Me(ni);oi.Series=sr(ri),oi.XAxis=ti,oi.YAxis=ii;var ai=oi,ui=function(t){function e(t){var n;return d(this,e),c(y(y(n=g(this,m(e).call(this,t)))),"getRangeSelectorConfig",function(){var t=n.props,e=t.getHighcharts,r=(t.children,s(t,["getHighcharts","children"])),i=e();return l({},i.defaultOptions&&i.defaultOptions.rangeSelector,r,{inputEnabled:!1,buttons:[]})}),c(y(y(n)),"updateRangeSelector",function(t){n.props.getChart().update({rangeSelector:t},!0)}),c(y(y(n)),"renderRangeSelector",function(){var t=n.props,e=t.getChart,r=t.getAxis,i=e().object,o=r().getExtremes();i.rangeSelector.render.call(i.rangeSelector,o.min,o.max)}),n.state={rendered:!1},n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=t.getHighcharts,n=t.getChart,r=t.getAxis,i=e(),o=n().object;o.options.rangeSelector.enabled=!0,i.fireEvent(o,"init"),i.fireEvent(o,"afterGetContainer");var a=this.getRangeSelectorConfig();this.updateRangeSelector(a);var u=r().object;i.addEvent(u,"afterSetExtremes",this.renderRangeSelector),this.setState({rendered:!0})}},{key:"componentDidUpdate",value:function(t){var e=Se(t,this.props);!1!==e&&this.updateRangeSelector(e)}},{key:"componentWillUnmount",value:function(){var t=this.props,e=t.getHighcharts,n=(0,t.getAxis)().object;e().removeEvent(n,"afterSetExtremes",this.renderRangeSelector),Pt(this.updateRangeSelector,{enabled:!1})}},{key:"render",value:function(){var t=this.props.children;return t&&this.state.rendered?o.a.createElement(pn,null,t):null}}]),e}();c(ui,"defaultProps",{enabled:!0});var ci=He(ui),li=function(t){return o.a.createElement(ci,r({},t,{axisId:"xAxis"}))};function si(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var di=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i))))),"getButtons",function(){var t=n.props.getChart().object;if(t&&t.options){var e=t.options.rangeSelector.buttons;return void 0===e?[]:e}return[]}),c(y(y(n)),"getButtonIndex",function(){var t=n.props,e=t.count,r=t.type;return Gn(n.getButtons(),function(t){return t.count===e&&t.type===r})}),c(y(y(n)),"addButton",function(t){var e=si(n.getButtons()).concat([t]);n.updateRangeSelectorButtons(e)}),c(y(y(n)),"removeButton",function(){var t=n.getButtonIndex();if(-1!==t){var e=si(n.getButtons());e.splice(t,1),n.updateRangeSelectorButtons(e)}}),c(y(y(n)),"updateRangeSelectorButtons",function(t){n.props.getChart().update({rangeSelector:{buttons:t}})}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){if(!(this.getButtonIndex()>-1)){var t=this.props,e=t.count,n=t.type,r=t.offsetMin,i=t.offsetMax,o=t.dataGrouping,a=t.children,u=s(t,["count","type","offsetMin","offsetMax","dataGrouping","children"]),c={count:e,type:n,offsetMin:r,offsetMax:i,dataGrouping:o,text:a,events:ye(u)};this.addButton(c)}}},{key:"componentWillUnmount",value:function(){Pt(this.removeButton)}},{key:"render",value:function(){return null}}]),e}();c(di,"defaultProps",{count:1,offsetMin:0,offsetMax:0});var pi=di,fi=Vt("toUpperCase"),hi=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i))))),"prefixPropsWithInput",function(t){return he(t,function(t,e){return 0===e.indexOf("input")?e:"input".concat(fi(e))})}),c(y(y(n)),"updateRangeSelectorInputs",function(t){var e=n.props.getChart(),r=n.prefixPropsWithInput(t);e.update({rangeSelector:l({},r)})}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=(t.children,s(t,["children"]));this.updateRangeSelectorInputs(e)}},{key:"componentDidUpdate",value:function(t){var e=Se(t,this.props);!1!==e&&this.updateRangeSelectorInputs(e)}},{key:"componentWillUnmount",value:function(){Pt(this.updateRangeSelectorInputs,{enabled:!1})}},{key:"render",value:function(){return null}}]),e}();c(hi,"defaultProps",{enabled:!0});var vi=hi,yi=Me(li);yi.Button=Me(pi),yi.Input=Me(vi);var gi=yi,mi=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i))))),"updateScrollbar",function(t){n.props.getChart().update({scrollbar:t},!0)}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=(t.children,s(t,["children"]));this.updateScrollbar(e)}},{key:"componentDidUpdate",value:function(t){var e=Se(t,this.props);!1!==e&&this.updateScrollbar(e)}},{key:"componentWillUnmount",value:function(){Pt(this.updateScrollbar,{enabled:!1})}},{key:"render",value:function(){var t=this.props.children;return t?o.a.createElement(pn,null,t):null}}]),e}();c(mi,"defaultProps",{enabled:!0});var bi=Me(mi);n.d(e,"CandlestickSeries",function(){return xi}),n.d(e,"FlagsSeries",function(){return Ci}),n.d(e,"OHLCSeries",function(){return Si}),n.d(e,"FlagSeries",function(){return ki}),n.d(e,"HighchartsChart",function(){return Qe}),n.d(e,"HighchartsSparkline",function(){return hn}),n.d(e,"Highcharts3dChart",function(){return gn}),n.d(e,"Annotation",function(){return bn}),n.d(e,"Chart",function(){return en}),n.d(e,"Credits",function(){return Cn}),n.d(e,"Loading",function(){return kn}),n.d(e,"Legend",function(){return jn}),n.d(e,"Pane",function(){return Tn}),n.d(e,"PlotBand",function(){return Zn}),n.d(e,"PlotLine",function(){return nr}),n.d(e,"Subtitle",function(){return rr}),n.d(e,"Title",function(){return ir}),n.d(e,"Tooltip",function(){return ar}),n.d(e,"XAxis",function(){return ln}),n.d(e,"YAxis",function(){return dn}),n.d(e,"ZAxis",function(){return cr}),n.d(e,"AreaRangeSeries",function(){return yr}),n.d(e,"AreaSeries",function(){return gr}),n.d(e,"AreaSplineRangeSeries",function(){return mr}),n.d(e,"AreaSplineSeries",function(){return br}),n.d(e,"BarSeries",function(){return lr}),n.d(e,"BellCurveSeries",function(){return xr}),n.d(e,"BoxPlotSeries",function(){return Cr}),n.d(e,"BubbleSeries",function(){return Sr}),n.d(e,"BulletSeries",function(){return kr}),n.d(e,"ColumnRangeSeries",function(){return wr}),n.d(e,"ColumnSeries",function(){return Pr}),n.d(e,"ErrorBarSeries",function(){return Ar}),n.d(e,"FunnelSeries",function(){return Or}),n.d(e,"GaugeSeries",function(){return jr}),n.d(e,"HeatmapSeries",function(){return Er}),n.d(e,"HistogramSeries",function(){return Tr}),n.d(e,"LineSeries",function(){return _r}),n.d(e,"ParetoSeries",function(){return Lr}),n.d(e,"PieSeries",function(){return Rr}),n.d(e,"PolygonSeries",function(){return Dr}),n.d(e,"PyramidSeries",function(){return Mr}),n.d(e,"SankeySeries",function(){return Ur}),n.d(e,"ScatterSeries",function(){return Br}),n.d(e,"Scatter3dSeries",function(){return Wr}),n.d(e,"SolidGaugeSeries",function(){return Hr}),n.d(e,"SplineSeries",function(){return Nr}),n.d(e,"StreamGraphSeries",function(){return Ir}),n.d(e,"SunburstSeries",function(){return Vr}),n.d(e,"TilemapSeries",function(){return Fr}),n.d(e,"TreemapSeries",function(){return qr}),n.d(e,"VariablePieSeries",function(){return Gr}),n.d(e,"VariwideSeries",function(){return Xr}),n.d(e,"VectorSeries",function(){return zr}),n.d(e,"WaterfallSeries",function(){return Yr}),n.d(e,"WindBarbSeries",function(){return Jr}),n.d(e,"XRangeSeries",function(){return Zr}),n.d(e,"provideHighcharts",function(){return De}),n.d(e,"provideChart",function(){return Me}),n.d(e,"provideAxis",function(){return He}),n.d(e,"provideSeries",function(){return sr}),n.d(e,"withHighcharts",function(){return dr}),n.d(e,"Axis",function(){return un}),n.d(e,"BaseChart",function(){return Ke}),n.d(e,"Debug",function(){return fr}),n.d(e,"Hidden",function(){return pn}),n.d(e,"Series",function(){return Ne}),n.d(e,"getModifiedProps",function(){return Se}),n.d(e,"getNonEventHandlerProps",function(){return ve}),n.d(e,"getEventsConfig",function(){return ye}),n.d(e,"withSeriesType",function(){return Ie}),n.d(e,"HighchartsStockChart",function(){return $r}),n.d(e,"Navigator",function(){return ai}),n.d(e,"RangeSelector",function(){return gi}),n.d(e,"Scrollbar",function(){return bi});var xi=Ie("Candlestick"),Ci=Ie("Flags"),Si=Ie("OHLC"),ki=Ie("Flags")}])}); | ||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react")):"function"==typeof define&&define.amd?define(["react"],e):"object"==typeof exports?exports.ReactHighcharts=e(require("react")):t.ReactHighcharts=e(t.React)}("undefined"!=typeof self?self:this,function(t){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=20)}([function(e,n){e.exports=t},,function(t,e,n){t.exports=n(12)()},function(t,e,n){var r=n(18),i=n(19);t.exports=function(t,e,n){var o=e&&n||0;"string"==typeof t&&(e="binary"===t?new Array(16):null,t=null);var a=(t=t||{}).random||(t.rng||r)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,e)for(var u=0;u<16;++u)e[o+u]=a[u];return e||i(a)}},function(t,e,n){"use strict";e.__esModule=!0;var r=o(n(0)),i=o(n(15));function o(t){return t&&t.__esModule?t:{default:t}}e.default=r.default.createContext||i.default,t.exports=e.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return!(!t||!t[r]&&!t[i]||t.__ownerID)};var r="@@__IMMUTABLE_ITERABLE__@@",i="@@__IMMUTABLE_RECORD__@@"},,function(t,e,n){"use strict";function r(t){return function(){return t}}var i=function(){};i.thatReturns=r,i.thatReturnsFalse=r(!1),i.thatReturnsTrue=r(!0),i.thatReturnsNull=r(null),i.thatReturnsThis=function(){return this},i.thatReturnsArgument=function(t){return t},t.exports=i},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.a=n}).call(this,n(8))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if(t===e||t!=t&&e!=e)return!0;if(!t||!e)return!1;if("function"==typeof t.valueOf&&"function"==typeof e.valueOf){if(t=t.valueOf(),e=e.valueOf(),t===e||t!=t&&e!=e)return!0;if(!t||!e)return!1}if("function"==typeof t.equals&&"function"==typeof e.equals&&t.equals(e))return!0;return!1},t.exports=e.default},,function(t,e,n){"use strict";var r=n(7),i=n(13),o=n(14);t.exports=function(){function t(t,e,n,r,a,u){u!==o&&i(!1,"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")}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e};return n.checkPropTypes=r,n.PropTypes=n,n}},function(t,e,n){"use strict";var r=function(t){};t.exports=function(t,e,n,i,o,a,u,c){if(r(e),!t){var l;if(void 0===e)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,i,o,a,u,c],d=0;(l=new Error(e.replace(/%s/g,function(){return s[d++]}))).name="Invariant Violation"}throw l.framesToPop=1,l}}},function(t,e,n){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e,n){"use strict";e.__esModule=!0;var r=n(0),i=(a(r),a(n(2))),o=a(n(16));a(n(17));function a(t){return t&&t.__esModule?t:{default:t}}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var s=1073741823;e.default=function(t,e){var n,a,d="__create-react-context-"+(0,o.default)()+"__",p=function(t){function n(){var e,r,i,o;u(this,n);for(var a=arguments.length,l=Array(a),s=0;s<a;s++)l[s]=arguments[s];return e=r=c(this,t.call.apply(t,[this].concat(l))),r.emitter=(i=r.props.value,o=[],{on:function(t){o.push(t)},off:function(t){o=o.filter(function(e){return e!==t})},get:function(){return i},set:function(t,e){i=t,o.forEach(function(t){return t(i,e)})}}),c(r,e)}return l(n,t),n.prototype.getChildContext=function(){var t;return(t={})[d]=this.emitter,t},n.prototype.componentWillReceiveProps=function(t){if(this.props.value!==t.value){var n=this.props.value,r=t.value,i=void 0;((o=n)===(a=r)?0!==o||1/o==1/a:o!=o&&a!=a)?i=0:(i="function"==typeof e?e(n,r):s,0!=(i|=0)&&this.emitter.set(t.value,i))}var o,a},n.prototype.render=function(){return this.props.children},n}(r.Component);p.childContextTypes=((n={})[d]=i.default.object.isRequired,n);var f=function(e){function n(){var t,r;u(this,n);for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return t=r=c(this,e.call.apply(e,[this].concat(o))),r.state={value:r.getValue()},r.onUpdate=function(t,e){0!=((0|r.observedBits)&e)&&r.setState({value:r.getValue()})},c(r,t)}return l(n,e),n.prototype.componentWillReceiveProps=function(t){var e=t.observedBits;this.observedBits=null==e?s:e},n.prototype.componentDidMount=function(){this.context[d]&&this.context[d].on(this.onUpdate);var t=this.props.observedBits;this.observedBits=null==t?s:t},n.prototype.componentWillUnmount=function(){this.context[d]&&this.context[d].off(this.onUpdate)},n.prototype.getValue=function(){return this.context[d]?this.context[d].get():t},n.prototype.render=function(){return(t=this.props.children,Array.isArray(t)?t[0]:t)(this.state.value);var t},n}(r.Component);return f.contextTypes=((a={})[d]=i.default.object,a),{Provider:p,Consumer:f}},t.exports=e.default},function(t,e,n){"use strict";(function(e){var n="__global_unique_id__";t.exports=function(){return e[n]=(e[n]||0)+1}}).call(this,n(8))},function(t,e,n){"use strict";var r=n(7);t.exports=r},function(t,e){var n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(n){var r=new Uint8Array(16);t.exports=function(){return n(r),r}}else{var i=new Array(16);t.exports=function(){for(var t,e=0;e<16;e++)0==(3&e)&&(t=4294967296*Math.random()),i[e]=t>>>((3&e)<<3)&255;return i}}},function(t,e){for(var n=[],r=0;r<256;++r)n[r]=(r+256).toString(16).substr(1);t.exports=function(t,e){var r=e||0,i=n;return[i[t[r++]],i[t[r++]],i[t[r++]],i[t[r++]],"-",i[t[r++]],i[t[r++]],"-",i[t[r++]],i[t[r++]],"-",i[t[r++]],i[t[r++]],"-",i[t[r++]],i[t[r++]],i[t[r++]],i[t[r++]],i[t[r++]],i[t[r++]]].join("")}},function(t,e,n){"use strict";function r(){return(r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}n.r(e);var i=n(0),o=n.n(i),a=n(2),u=n.n(a);function c(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function l(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){c(t,e,n[e])})}return t}function s(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function d(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function f(t,e,n){return e&&p(t.prototype,e),n&&p(t,n),t}function h(t){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function v(t){return(v="function"==typeof Symbol&&"symbol"===h(Symbol.iterator)?function(t){return h(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":h(t)})(t)}function y(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function g(t,e){return!e||"object"!==v(e)&&"function"!=typeof e?y(t):e}function m(t){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function b(t,e){return(b=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function x(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&b(t,e)}var C=n(3),S=n.n(C);var k=function(){this.__data__=[],this.size=0};var w=function(t,e){return t===e||t!=t&&e!=e};var P=function(t,e){for(var n=t.length;n--;)if(w(t[n][0],e))return n;return-1},A=Array.prototype.splice;var O=function(t){var e=this.__data__,n=P(e,t);return!(n<0||(n==e.length-1?e.pop():A.call(e,n,1),--this.size,0))};var j=function(t){var e=this.__data__,n=P(e,t);return n<0?void 0:e[n][1]};var E=function(t){return P(this.__data__,t)>-1};var T=function(t,e){var n=this.__data__,r=P(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this};function _(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}_.prototype.clear=k,_.prototype.delete=O,_.prototype.get=j,_.prototype.has=E,_.prototype.set=T;var L=_,R=Array.isArray;var D=function(){if(!arguments.length)return[];var t=arguments[0];return R(t)?t:[t]};var M=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1};var B=function(t,e,n){for(var r=n-1,i=t.length;++r<i;)if(t[r]===e)return r;return-1};var U=function(t,e){return!(null==t||!t.length)&&B(t,e,0)>-1},W=1,H=2;var N=function(t,e,n,r,i,o){var a=n&W,u=t.length,c=e.length;if(u!=c&&!(a&&c>u))return!1;var l=o.get(t);if(l&&o.get(e))return l==e;var s=-1,d=!0,p=n&H?new D:void 0;for(o.set(t,e),o.set(e,t);++s<u;){var f=t[s],h=e[s];if(r)var v=a?r(h,f,s,e,t,o):r(f,h,s,t,e,o);if(void 0!==v){if(v)continue;d=!1;break}if(p){if(!M(e,function(t,e){if(!U(p,e)&&(f===t||i(f,t,n,r,o)))return p.push(e)})){d=!1;break}}else if(f!==h&&!i(f,h,n,r,o)){d=!1;break}}return o.delete(t),o.delete(e),d};var I=function(t,e){return t===e||t!=t&&e!=e};var V=function(t,e){return function(n){return t(e(n))}},F=V(Object.keys,Object),q=1,G=Object.prototype.hasOwnProperty;var X=function(t,e,n,r,i,o){var a=n&q,u=F(t),c=u.length;if(c!=F(e).length&&!a)return!1;for(var l=c;l--;){var s=u[l];if(!(a?s in e:G.call(e,s)))return!1}var d=o.get(t);if(d&&o.get(e))return d==e;var p=!0;o.set(t,e),o.set(e,t);for(var f=a;++l<c;){var h=t[s=u[l]],v=e[s];if(r)var y=a?r(v,h,s,e,t,o):r(h,v,s,t,e,o);if(!(void 0===y?h===v||i(h,v,n,r,o):y)){p=!1;break}f||(f="constructor"==s)}if(p&&!f){var g=t.constructor,m=e.constructor;g!=m&&"constructor"in t&&"constructor"in e&&!("function"==typeof g&&g instanceof g&&"function"==typeof m&&m instanceof m)&&(p=!1)}return o.delete(t),o.delete(e),p},z=Object.prototype.toString;var Y=function(t){return z.call(t)};var J=function(){return!1};var Z=function(){return!1},$=1,K="[object Arguments]",Q="[object Array]",tt="[object Object]",et=Object.prototype.hasOwnProperty;var nt=function(t,e,n,r,i,o){var a=R(t),u=R(e),c=a?Q:Y(t),l=u?Q:Y(e),s=(c=c==K?tt:c)==tt,d=(l=l==K?tt:l)==tt,p=c==l;if(p&&J(t)){if(!J(e))return!1;a=!0,s=!1}if(p&&!s)return o||(o=new L),a||Z(t)?N(t,e,n,r,i,o):I(t,e,c,n,r,i,o);if(!(n&$)){var f=s&&et.call(t,"__wrapped__"),h=d&&et.call(e,"__wrapped__");if(f||h){var v=f?t.value():t,y=h?e.value():e;return o||(o=new L),i(v,y,n,r,o)}}return!!p&&(o||(o=new L),X(t,e,n,r,i,o))};var rt=function(t){return null!=t&&"object"==typeof t};var it=function t(e,n,r,i,o){return e===n||(null==e||null==n||!rt(e)&&!rt(n)?e!=e&&n!=n:nt(e,n,r,i,t,o))};var ot=function(t,e){return it(t,e)};var at=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)};var ut=function(t){return t},ct=Math.max;var lt=function(t,e,n){return e=ct(void 0===e?t.length-1:e,0),function(){for(var r=arguments,i=-1,o=ct(r.length-e,0),a=Array(o);++i<o;)a[i]=r[e+i];i=-1;for(var u=Array(e+1);++i<e;)u[i]=r[i];return u[e]=n(a),at(t,this,u)}};var st=function(t){return t};var dt=function(t,e){return st(lt(t,e,ut),t+"")},pt=Object.prototype.toString;var ft=function(t){return pt.call(t)},ht=V(Object.getPrototypeOf,Object),vt="[object Object]",yt=Function.prototype,gt=Object.prototype,mt=yt.toString,bt=gt.hasOwnProperty,xt=mt.call(Object);var Ct=function(t){if(!rt(t)||ft(t)!=vt)return!1;var e=ht(t);if(null===e)return!0;var n=bt.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&mt.call(n)==xt},St="[object DOMException]",kt="[object Error]";var wt=function(t){if(!rt(t))return!1;var e=ft(t);return e==kt||e==St||"string"==typeof t.message&&"string"==typeof t.name&&!Ct(t)},Pt=dt(function(t,e){try{return at(t,void 0,e)}catch(t){return wt(t)?t:new Error(t)}}),At=n(5),Ot=n.n(At),jt=n(10),Et=n.n(jt),Tt=n(4),_t=n.n(Tt),Lt=_t()(),Rt=Lt.Consumer,Dt=Lt.Provider;var Mt=function(t,e,n){var r=-1,i=t.length;e<0&&(e=-e>i?0:i+e),(n=n>i?i:n)<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var o=Array(i);++r<i;)o[r]=t[r+e];return o};var Bt=function(t,e,n){var r=t.length;return n=void 0===n?r:n,!e&&n>=r?t:Mt(t,e,n)};var Ut=function(){return!1};var Wt=function(t){return t.split("")};var Ht=function(t){return t.split("")};var Nt=function(t){return Ut(t)?Ht(t):Wt(t)};var It=function(t){return t};var Vt=function(t){return function(e){e=It(e);var n=Ut(e)?Nt(e):void 0,r=n?n[0]:e.charAt(0),i=n?Bt(n,1).join(""):e.slice(1);return r[t]()+i}},Ft=Vt("toLowerCase");var qt=function(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i};var Gt=function(t){return t};var Xt=function(t,e){return null==t?void 0:t[e]};var zt=function(t,e){return null==t?void 0:t[e]},Yt=function(){try{var t=zt(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();var Jt=function(t,e,n){"__proto__"==e&&Yt?Yt(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n},Zt=Object.prototype.hasOwnProperty;var $t=function(t,e,n){var r=t[e];Zt.call(t,e)&&w(r,n)&&(void 0!==n||e in t)||Jt(t,e,n)};var Kt=function(){if(!arguments.length)return[];var t=arguments[0];return R(t)?t:[t]},Qt=9007199254740991,te=/^(?:0|[1-9]\d*)$/;var ee=function(t,e){var n=typeof t;return!!(e=null==e?Qt:e)&&("number"==n||"symbol"!=n&&te.test(t))&&t>-1&&t%1==0&&t<e};var ne=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};var re=function(t){return t};var ie=function(t,e,n,r){if(!ne(t))return t;for(var i=-1,o=(e=Kt(e,t)).length,a=o-1,u=t;null!=u&&++i<o;){var c=re(e[i]),l=n;if(i!=a){var s=u[c];void 0===(l=r?r(s,c,u):void 0)&&(l=ne(s)?s:ee(e[i+1])?[]:{})}$t(u,c,l),u=u[c]}return t};var oe=function(t,e,n){for(var r=-1,i=e.length,o={};++r<i;){var a=e[r],u=Xt(t,a);n(u,a)&&ie(o,Kt(a,t),u)}return o};var ae=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e};var ue=function(t,e){if(null==t)return{};var n=qt(ae(t),function(t){return[t]});return e=Gt(e),oe(t,n,function(t,n){return e(t,n[0])})},ce="Expected a function";var le=function(t){if("function"!=typeof t)throw new TypeError(ce);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}};var se=function(t,e){return ue(t,le(Gt(e)))};var de=function(t){return function(e,n,r){for(var i=-1,o=Object(e),a=r(e),u=a.length;u--;){var c=a[t?u:++i];if(!1===n(o[c],c,o))break}return e}}(),pe=V(Object.keys,Object);var fe=function(t,e){return t&&de(t,e,pe)};var he=function(t,e){var n={};return e=Gt(e,3),fe(t,function(t,r,i){Jt(n,e(t,r,i),t)}),n},ve=function(t){return se(t,ge)},ye=function(t){var e=function(t){return ue(t,ge)}(t);return he(e,function(t,e){return Ft(e.replace(/^on/,""))})},ge=function(t,e){return 0===e.indexOf("on")&&"function"==typeof t};var me=function(t,e){var n={};return e=Gt(e,3),fe(t,function(t,r,i){Jt(n,r,e(t,r,i))}),n},be=["getHighcharts","getChart","getAxis","getSeries","needsRedraw"];function xe(t){var e=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(t).filter(function(t){return be.indexOf(t)<0}).reduce(function(e,n){return e[n]=t[n],e},{})}(t);return me(e,function(t){return!1===Ct(t)?t:xe(t)})}function Ce(t){return function(e){for(var n=xe(e),r=arguments.length,i=new Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return t.apply(void 0,[n].concat(i))}}function Se(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=e.children,i=s(e,["children"]),o=ue(i,function(e,n){return!(be.indexOf(n)>-1)&&!1===ot(e,t[n])});return n&&!1===ot(t.children,r)&&(o.text=r),Object.keys(o).length>0&&o}var ke=function(t){function e(t){var n;return d(this,e),c(y(y(n=g(this,m(e).call(this,t)))),"getSeriesConfig",function(){var t=n.props,e=t.id,r=t.data,i=t.requiresAxis,o=t.getAxis,a=(t.children,s(t,["id","data","requiresAxis","getAxis","children"])),u="function"==typeof e?e():e,c=Ot()(r)?r.toJS():r,d=ve(a),p=l({id:u,data:c,events:ye(a)},d);if(i){var f=o();p[f.type]=f.id}return p}),c(y(y(n)),"createSeries",function(){var t=n.props.getChart(),e=n.getSeriesConfig();n.series=t.addSeries(e,!1)}),n}return x(e,i["Component"]),f(e,[{key:"componentDidUpdate",value:function(t){var e=this.props,n=e.visible,r=e.data,i=s(e,["visible","data"]),o=!1;Ot()(r)&&!1===Et()(r,t.data)?(this.series.setData(r.toJS(),!1),o=!0):!1===ot(r,t.data)&&(this.series.setData(r,!1),o=!0),n!==t.visible&&(this.series.setVisible(n,!1),o=!0);var a=Se(t,i);!1!==a&&(this.series.update(a,!1),o=!0),o&&this.props.needsRedraw()}},{key:"componentDidMount",value:function(){this.props.needsRedraw()}},{key:"componentWillUnmount",value:function(){this.series&&this.series.remove&&(Pt(this.series.remove.bind(this.series),!1),this.props.needsRedraw())}},{key:"render",value:function(){return this.series||this.createSeries(),o.a.createElement(Dt,{value:this.series},this.props.children)}}]),e}();c(ke,"defaultProps",{type:"line",id:S.a,children:null,data:[],requiresAxis:!0,visible:!0});var we=ke;var Pe=function(t,e){return null==t||t!=t?e:t},Ae=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i))))),"state",{render:!1}),c(y(y(n)),"renderTimeout",null),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this;this.renderTimeout=window.setTimeout(function(){t.setState({render:!0}),t.renderTimeout=null},1)}},{key:"componentWillUnmount",value:function(){null!==this.renderTimeout&&window.clearTimeout(this.renderTimeout)}},{key:"render",value:function(){return this.state.render?this.props.children:null}}]),e}(),Oe=_t()(),je=Oe.Consumer,Ee=Oe.Provider,Te=_t()(),_e=Te.Consumer,Le=Te.Provider;function Re(t){return t.displayName||t.name||"Component"}function De(t){var e=function(e){return o.a.createElement(_e,null,function(n){return o.a.createElement(t,r({},e,{getHighcharts:function(){return n}}))})};return e.displayName="Highcharts.Provider(".concat(Re(t),")"),e}function Me(t){var e=function(e){return o.a.createElement(je,null,function(n){var i=n.chart,a=n.chartType,u=n.needsRedraw;if(!i)return null;return o.a.createElement(t,r({},e,{getChart:function(){return{object:i,type:a,get:i.get.bind(i),update:Ce(i.update.bind(i)),addAxis:Ce(i.addAxis.bind(i)),addSeries:Ce(i.addSeries.bind(i)),setTitle:Ce(i.setTitle.bind(i)),showLoading:i.showLoading.bind(i),hideLoading:i.hideLoading.bind(i),addCredits:Ce(i.addCredits.bind(i)),addAnnotation:i.addAnnotation?Ce(i.addAnnotation.bind(i)):null,removeAnnotation:i.removeAnnotation?i.removeAnnotation.bind(i):null}},needsRedraw:u}))})};return e.displayName="Chart.Provider(".concat(Re(t),")"),De(e)}var Be=_t()(),Ue=Be.Consumer,We=Be.Provider;function He(t){var e=function(e){var n=Pe(e.requiresAxis,!0);return o.a.createElement(Ae,null,o.a.createElement(Ue,null,function(i){if(!i&&e.axisId){var a=e.getChart();i=a.get(e.axisId)}if(!i&&n)return null;return o.a.createElement(t,r({},e,{getAxis:function(){return{object:i,id:i.userOptions&&i.userOptions.id,type:i.coll,update:Ce(i.update.bind(i)),remove:i.remove.bind(i),addPlotBand:Ce(i.addPlotBand.bind(i)),removePlotBand:i.removePlotBand.bind(i),addPlotLine:Ce(i.addPlotLine.bind(i)),removePlotLine:i.removePlotLine.bind(i),getExtremes:i.getExtremes.bind(i),setExtremes:i.setExtremes.bind(i),setTitle:Ce(i.setTitle.bind(i))}}}))}))};return e.displayName="Axis.Provider(".concat(Re(t),")"),Me(e)}var Ne=He(we);function Ie(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(arguments.length>2&&void 0!==arguments[2]&&arguments[2],function(n){return o.a.createElement(Ne,r({},n,e,{type:t.toLowerCase()}))});return n.displayName="".concat(t,"Series"),n}var Ve=n(9),Fe="object"==typeof self&&self&&self.Object===Object&&self,qe=Ve.a||Fe||Function("return this")(),Ge=function(){return qe.Date.now()};var Xe=function(t){return t},ze="Expected a function",Ye=Math.max,Je=Math.min;var Ze=function(t,e,n){var r,i,o,a,u,c,l=0,s=!1,d=!1,p=!0;if("function"!=typeof t)throw new TypeError(ze);function f(e){var n=r,o=i;return r=i=void 0,l=e,a=t.apply(o,n)}function h(t){var n=t-c;return void 0===c||n>=e||n<0||d&&t-l>=o}function v(){var t=Ge();if(h(t))return y(t);u=setTimeout(v,function(t){var n=e-(t-c);return d?Je(n,o-(t-l)):n}(t))}function y(t){return u=void 0,p&&r?f(t):(r=i=void 0,a)}function g(){var t=Ge(),n=h(t);if(r=arguments,i=this,c=t,n){if(void 0===u)return function(t){return l=t,u=setTimeout(v,e),s?f(t):a}(c);if(d)return u=setTimeout(v,e),f(c)}return void 0===u&&(u=setTimeout(v,e)),a}return e=Xe(e)||0,ne(n)&&(s=!!n.leading,o=(d="maxWait"in n)?Ye(Xe(n.maxWait)||0,e):o,p="trailing"in n?!!n.trailing:p),g.cancel=function(){void 0!==u&&clearTimeout(u),l=0,r=c=i=u=void 0},g.flush=function(){return void 0===u?a:y(Ge())},g},$e=function(t){function e(t){var n;return d(this,e),c(y(y(n=g(this,m(e).call(this,t)))),"initHighcharts",function(){if(n.domNode){var t=n.props,e=t.chartCreationFunc,r=t.callback,i=t.chart,o=t.polar,a=t.gauge,u=t.styledMode,c=(t.children,s(t,["chartCreationFunc","callback","chart","polar","gauge","styledMode","children"])),d=l({chart:l({styledMode:u},i),title:{text:null},subtitle:{text:null},legend:{enabled:!1},rangeSelector:{enabled:!1},navigator:{enabled:!1},scrollbar:{enabled:!1},tooltip:{enabled:!1},credits:{enabled:!1},series:[],xAxis:[],yAxis:[]},c);n.chart=e(n.domNode,d),n.chart.polar=o,n.chart.angular=a,r(n.chart),n.setState({rendered:!0})}}),c(y(y(n)),"setDomNode",function(t){n.domNode=t}),c(y(y(n)),"needsRedraw",Ze(function(){n.chart.__destroyed||Pt(n.chart.redraw.bind(n.chart))},0)),n.state={rendered:!1},n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){window.setTimeout(this.initHighcharts,0)}},{key:"componentDidUpdate",value:function(t){var e=this.props.plotOptions;!1===ot(t.plotOptions,e)&&this.chart&&(this.chart.update({plotOptions:e},!1),this.needsRedraw())}},{key:"componentWillUnmount",value:function(){this.chart&&(window.setTimeout(this.chart.destroy.bind(this.chart),1),this.chart.__destroyed=!0)}},{key:"render",value:function(){var t=this.props,e=t.chartType,n=t.children;return o.a.createElement("div",{className:"chart ".concat(this.props.className),ref:this.setDomNode},this.state.rendered&&o.a.createElement(Ee,{value:{chart:this.chart,chartType:e,needsRedraw:this.needsRedraw}},n))}}]),e}();c($e,"defaultProps",{children:null,className:"",styledMode:!1,callback:function(){}});var Ke=$e,Qe=De(function(t){function e(){return d(this,e),g(this,m(e).apply(this,arguments))}return x(e,i["Component"]),f(e,[{key:"render",value:function(){return o.a.createElement(Ke,r({},this.props,{chartCreationFunc:this.props.getHighcharts().chart,chartType:"chart"}))}}]),e}()),tn=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i))))),"updateChart",function(t){n.props.getChart().update({chart:t},!1),n.props.needsRedraw()}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t,e,n,r=this.props,i=r.getHighcharts,o=r.getChart,a=(r.needsRedraw,r.children,s(r,["getHighcharts","getChart","needsRedraw","children"])),u=ve(a),c=o();this.updateChart(l({},u)),t=i(),e=c.object,n=ye(a),Object.keys(n).forEach(function(r){t.addEvent(e,r,n[r])})}},{key:"componentDidUpdate",value:function(t){var e=Se(t,this.props);!1!==e&&this.updateChart(e)}},{key:"render",value:function(){return null}}]),e}();c(tn,"defaultProps",{type:"line",onAddSeries:function(){},onAfterPrint:function(){},onBeforePrint:function(){},onClick:function(){},onLoad:function(){},onRedraw:function(){},onRender:function(){},onSelection:function(){}});var en=Me(tn),nn=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i))))),"getAxisConfig",function(){var t=n.props,e=t.id,r=(t.children,s(t,["id","children"])),i="function"==typeof e?e():e,o=ve(r);return l({id:i,title:{text:null},events:ye(r)},o)}),c(y(y(n)),"createAxis",function(){var t=n.props,e=t.id,r=t.dynamicAxis,i=t.isX,o=(0,t.getChart)(),a=n.getAxisConfig();if(r)n.axis=o.addAxis(a,i,!1);else{var u="function"==typeof e?e():e;n.axis=o.get(u),n.axis.update.call(n.axis,a,!1)}}),n}return x(e,i["Component"]),f(e,[{key:"componentDidUpdate",value:function(t){var e=Se(t,this.props);!1!==e&&(this.axis.update(e,!1),this.props.needsRedraw())}},{key:"componentDidMount",value:function(){this.props.needsRedraw()}},{key:"componentWillUnmount",value:function(){this.axis.remove&&(Pt(this.axis.remove.bind(this.axis),!1),this.props.needsRedraw())}},{key:"render",value:function(){return this.axis||this.createAxis(),o.a.createElement(We,{value:this.axis},this.props.children)}}]),e}();c(nn,"defaultProps",{id:S.a,children:null,dynamicAxis:!0});var rn=nn,on=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i))))),"updateAxisTitle",function(t){n.props.getAxis().setTitle(t,!0)}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=t.children,n=s(t,["children"]);this.updateAxisTitle(l({},n,{text:e}))}},{key:"componentDidUpdate",value:function(t){var e=Se(t,this.props,!0);!1!==e&&this.updateAxisTitle(e)}},{key:"componentWillUnmount",value:function(){Pt(this.updateAxisTitle,{text:null})}},{key:"render",value:function(){return null}}]),e}(),an=Me(rn);an.Title=He(on);var un=an,cn=Me(function(t){function e(){return d(this,e),g(this,m(e).apply(this,arguments))}return x(e,i["Component"]),f(e,[{key:"render",value:function(){var t=this.props,e=t.getChart,n=t.id,i=s(t,["getChart","id"]),a="stockChart"===e().type,u=a?"datetime":"linear",c=a?"xAxis":n;return o.a.createElement(un,r({type:u},i,{id:c,isX:!0}))}}]),e}());cn.Title=un.Title;var ln=cn,sn=function(t){function e(){return d(this,e),g(this,m(e).apply(this,arguments))}return x(e,i["Component"]),f(e,[{key:"render",value:function(){return o.a.createElement(un,r({},this.props,{isX:!1}))}}]),e}();c(sn,"defaultProps",{type:"linear"}),sn.Title=un.Title;var dn=sn,pn=function(t){function e(){return d(this,e),g(this,m(e).apply(this,arguments))}return x(e,i["Component"]),f(e,[{key:"render",value:function(){var t=this.props.children;return t?[t]:null}}]),e}(),fn=function(t){function e(){return d(this,e),g(this,m(e).apply(this,arguments))}return x(e,i["Component"]),f(e,[{key:"render",value:function(){var t=this.props,e=t.height,n=t.width,r=t.margin,i=t.style,a=t.series,u=t.children,c=s(t,["height","width","margin","style","series","children"]),d=!!a,p=l({overflow:"visible"},i),f=d?a:u;return o.a.createElement(Qe,c,o.a.createElement(en,{height:e,width:n,animation:!1,backgroundColor:null,borderWidth:0,margin:r,style:p,skipClone:!0}),o.a.createElement(ln,{labels:{enabled:!1},startOnTick:!1,endOnTick:!1,tickPositions:[]}),o.a.createElement(dn,{id:"sparkline",labels:{enabled:!1},startOnTick:!1,endOnTick:!1,tickPositions:[0]},f),d&&o.a.createElement(pn,null,u))}}]),e}();c(fn,"defaultProps",{height:20,width:120,margin:[2,0,2,0],style:{},plotOptions:{series:{animation:!1,lineWidth:1,shadow:!1,states:{hover:{lineWidth:1}},marker:{radius:1,states:{hover:{radius:2}}},fillOpacity:.25}}});var hn=fn,vn=function(t){function e(t){var n;return d(this,e),c(y(y(n=g(this,m(e).call(this,t)))),"update3dOptions",function(){var t=n.props,e={chart:{options3d:{enabled:!0,alpha:t.alpha,axisLabelPosition:t.axisLabelPosition,beta:t.beta,depth:t.depth,fitToPlot:t.fitToPlot,frame:t.frame,viewDistance:t.viewDistance}}};(0,t.getChart)().update(e,!0)}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){this.update3dOptions()}},{key:"componentDidUpdate",value:function(){this.update3dOptions()}},{key:"render",value:function(){return null}}]),e}();c(vn,"defaultProps",{enabled:!1,alpha:0,beta:0,depth:100,fitToPlot:!0,viewDistance:25,axisLabelPosition:"default",frame:{visible:"default",size:1,bottom:{},top:{},left:{},right:{},back:{},front:{}}});var yn=Me(vn),gn=function(t){function e(){return d(this,e),g(this,m(e).apply(this,arguments))}return x(e,i["Component"]),f(e,[{key:"render",value:function(){var t=this.props,e=t.children,n=t.alpha,i=t.axisLabelPosition,a=t.beta,u=t.depth,c=t.fitToPlot,l=t.frame,d=t.viewDistance,p=s(t,["children","alpha","axisLabelPosition","beta","depth","fitToPlot","frame","viewDistance"]);return o.a.createElement(Qe,r({chart:{options3d:{enabled:!0}},zAxis:{id:"zAxis"}},p),o.a.createElement(yn,{alpha:n,axisLabelPosition:i,beta:a,depth:u,fitToPlot:c,frame:l,viewDistance:d}),e)}}]),e}(),mn=function(t){function e(t){var n;return d(this,e),c(y(y(n=g(this,m(e).call(this,t)))),"getAnnotationConfig",function(){var t=n.props,e=t.id,r=(t.children,s(t,["id","children"]));return n.id||(n.id="function"==typeof e?e():e),l({id:n.id},r)}),n.state={rendered:!1},n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props.getChart(),e=this.getAnnotationConfig();t.addAnnotation(e),this.setState({rendered:!0})}},{key:"componentDidUpdate",value:function(t){if(!1!==Se(t,this.props)){var e=this.props.getChart(),n=this.getAnnotationConfig();e.removeAnnotation(n.id),e.addAnnotation(n)}}},{key:"componentWillUnmount",value:function(){var t=this.props.getChart();Pt(t.removeAnnotation,this.id)}},{key:"render",value:function(){var t=this,e=this.props.children;if(!e||!this.state.rendered)return null;var n=i.Children.map(e,function(e){return!1===Object(i.isValidElement)(e)?e:Object(i.cloneElement)(e,{id:t.id})});return o.a.createElement(pn,null,n)}}]),e}();c(mn,"defaultProps",{id:S.a});var bn=Me(mn),xn=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i))))),"updateCredits",function(t){var e=n.props.getChart();"text"in t&&!t.text&&delete t.text,e.addCredits(t,!0)}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=t.children,n=s(t,["children"]);this.updateCredits(l({},n,{text:e}))}},{key:"componentDidUpdate",value:function(t){var e=Se(t,this.props,!0);!1!==e&&this.updateCredits(e)}},{key:"componentWillUnmount",value:function(){Pt(this.updateCredits,{enabled:!1})}},{key:"render",value:function(){return null}}]),e}();c(xn,"defaultProps",{enabled:!0});var Cn=Me(xn),Sn=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i))))),"updateLoading",function(t){n.props.getChart().update({loading:t},!0)}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=t.children,n=t.isLoading,r=t.getChart,i=s(t,["children","isLoading","getChart"]);(this.updateLoading(i),n)&&r().showLoading(e)}},{key:"componentDidUpdate",value:function(t){var e=this.props,n=e.children,r=e.isLoading,i=e.getChart,o=Se(t,s(e,["children","isLoading","getChart"]));if(!1!==o&&this.updateLoading(o),r!==t.isLoading){var a=i();r&&a.showLoading(n),r||a.hideLoading()}}},{key:"componentWillUnmount",value:function(){var t=this.props.getChart();Pt(t.hideLoading)}},{key:"render",value:function(){return null}}]),e}();c(Sn,"defaultProps",{isLoading:!0});var kn=Me(Sn),wn=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i))))),"updateLegend",function(t){n.props.getChart().update({legend:t},!1),n.props.needsRedraw()}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=(t.children,s(t,["children"]));this.updateLegend(l({},e))}},{key:"componentDidUpdate",value:function(t){var e=Se(t,this.props);!1!==e&&this.updateLegend(e)}},{key:"componentWillUnmount",value:function(){Pt(this.updateLegend,{enabled:!1})}},{key:"render",value:function(){return this.props.children}}]),e}();c(wn,"defaultProps",{children:null,enabled:!0});var Pn=wn,An=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i))))),"updateLegendTitle",function(t){n.props.getChart().update({legend:{title:t}},!1),n.props.needsRedraw()}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=t.children,n=s(t,["children"]);this.updateLegendTitle(l({},n,{text:e}))}},{key:"componentDidUpdate",value:function(t){var e=Se(t,this.props,!0);!1!==e&&this.updateLegendTitle(e)}},{key:"componentWillUnmount",value:function(){Pt(this.updateLegendTitle,{text:null})}},{key:"render",value:function(){return null}}]),e}(),On=Me(Pn);On.Title=Me(An);var jn=On,En=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i))))),"updatePane",function(t){n.props.getChart().update({pane:t},!1),n.props.needsRedraw()}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=(t.children,s(t,["children"]));this.updatePane(l({},e))}},{key:"componentDidUpdate",value:function(t){var e=Se(t,this.props);!1!==e&&this.updatePane(e)}},{key:"componentWillUnmount",value:function(){Pt(this.updatePane,{})}},{key:"render",value:function(){return null}}]),e}();c(En,"defaultProps",{children:null});var Tn=Me(En),_n=function(t){function e(t){var n;return d(this,e),c(y(y(n=g(this,m(e).call(this,t)))),"getPlotBandConfig",function(){var t=n.props,e=t.id,r=(t.children,s(t,["id","children"]));return n.id||(n.id="function"==typeof e?e():e),l({id:n.id},r)}),n.state={rendered:!1},n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props.getAxis(),e=this.getPlotBandConfig();t.addPlotBand(e),this.setState({rendered:!0})}},{key:"componentDidUpdate",value:function(t){if(!1!==Se(t,this.props)){var e=this.props.getAxis(),n=this.getPlotBandConfig();e.removePlotBand(n.id),e.addPlotBand(n)}}},{key:"componentWillUnmount",value:function(){var t=this.props.getAxis();Pt(t.removePlotBand,this.id)}},{key:"render",value:function(){var t=this,e=this.props.children;if(!e||!this.state.rendered)return null;var n=i.Children.map(e,function(e){return!1===Object(i.isValidElement)(e)?e:Object(i.cloneElement)(e,{id:t.id})});return o.a.createElement(pn,null,n)}}]),e}();c(_n,"defaultProps",{id:S.a});var Ln=_n,Rn="[object AsyncFunction]",Dn="[object Function]",Mn="[object GeneratorFunction]",Bn="[object Proxy]";var Un=function(t){if(!ne(t))return!1;var e=ft(t);return e==Dn||e==Mn||e==Rn||e==Bn},Wn=9007199254740991;var Hn=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=Wn};var Nn=function(t){return null!=t&&Hn(t.length)&&!Un(t)};var In=function(t){return function(e,n,r){var i=Object(e);if(!Nn(e)){var o=Gt(n,3);e=pe(e),n=function(t){return o(i[t],t,i)}}var a=t(e,n,r);return a>-1?i[o?e[a]:a]:void 0}};var Vn=function(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return-1};var Fn=function(t){return t},qn=Math.max;var Gn=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:Fn(n);return i<0&&(i=qn(r+i,0)),Vn(t,Gt(e,3),i)},Xn=In(Gn),zn=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i))))),"getLabelProps",function(t){return ue(t,function(t,n){return e.labelProps.indexOf(n)>-1})}),c(y(y(n)),"updatePlotBandLabel",function(t){var e=n.props,r=e.id,i=(0,e.getAxis)();window.setTimeout(function(){var e=i.object&&Xn(i.object.plotLinesAndBands,function(t){return t.id===r});e&&(e.options.label=n.getLabelProps(t),e.render())},1)}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=t.children,n=s(t,["children"]);this.updatePlotBandLabel(l({text:e},n))}},{key:"componentDidUpdate",value:function(t){if(!1!==Se(t,this.props,!0)){var e=this.props,n=e.children,r=s(e,["children"]);this.updatePlotBandLabel(l({text:n},r))}}},{key:"componentWillUnmount",value:function(){var t=this.props,e=(t.children,s(t,["children"]));Pt(this.updatePlotBandLabel,l({text:null},e))}},{key:"render",value:function(){return null}}]),e}();c(zn,"labelProps",["text","align","rotation","style","textAlign","useHTML","verticalAlign","x","y"]);var Yn=zn,Jn=He(Ln);Jn.Label=He(Yn);var Zn=Jn,$n=function(t){function e(t){var n;return d(this,e),c(y(y(n=g(this,m(e).call(this,t)))),"getPlotLineConfig",function(){var t=n.props,e=t.id,r=(t.children,s(t,["id","children"]));return n.id||(n.id="function"==typeof e?e():e),l({id:n.id},r)}),n.state={rendered:!1},n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props.getAxis(),e=this.getPlotLineConfig();t.addPlotLine(e),this.setState({rendered:!0})}},{key:"componentDidUpdate",value:function(t){if(!1!==Se(t,this.props)){var e=this.props.getAxis(),n=this.getPlotLineConfig();e.removePlotLine(n.id),e.addPlotLine(n)}}},{key:"componentWillUnmount",value:function(){var t=this.props.getAxis();Pt(t.removePlotLine,this.id)}},{key:"render",value:function(){var t=this,e=this.props.children;if(!e||!this.state.rendered)return null;var n=i.Children.map(e,function(e){return!1===Object(i.isValidElement)(e)?e:Object(i.cloneElement)(e,{id:t.id})});return o.a.createElement(pn,null,n)}}]),e}();c($n,"defaultProps",{id:S.a});var Kn=$n,Qn=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i))))),"getLabelProps",function(t){return ue(t,function(t,n){return e.labelProps.indexOf(n)>-1})}),c(y(y(n)),"updatePlotLineLabel",function(t){var e=n.props,r=e.id,i=(0,e.getAxis)();window.setTimeout(function(){var e=i.object&&Xn(i.object.plotLinesAndBands,function(t){return t.id===r});e&&(e.options.label=n.getLabelProps(t),e.render())},1)}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=t.children,n=s(t,["children"]);this.updatePlotLineLabel(l({text:e},n))}},{key:"componentDidUpdate",value:function(t){if(!1!==Se(t,this.props,!0)){var e=this.props,n=e.children,r=s(e,["children"]);this.updatePlotLineLabel(l({text:n},r))}}},{key:"componentWillUnmount",value:function(){var t=this.props,e=(t.children,s(t,["children"]));Pt(this.updatePlotLineLabel,l({text:null},e))}},{key:"render",value:function(){return null}}]),e}();c(Qn,"labelProps",["text","align","rotation","style","textAlign","useHTML","verticalAlign","x","y"]);var tr=Qn,er=He(Kn);er.Label=He(tr);var nr=er,rr=Me(function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i))))),"updateSubtitle",function(t){n.props.getChart().setTitle(void 0,t,!1),n.props.needsRedraw()}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=t.children,n=s(t,["children"]);this.updateSubtitle(l({},n,{text:e}))}},{key:"componentDidUpdate",value:function(t){var e=Se(t,this.props,!0);!1!==e&&this.updateSubtitle(e)}},{key:"componentWillUnmount",value:function(){Pt(this.updateSubtitle,{text:null})}},{key:"render",value:function(){return null}}]),e}()),ir=Me(function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i))))),"updateTitle",function(t){n.props.getChart().setTitle(t,null,!1),n.props.needsRedraw()}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=t.children,n=s(t,["children"]);this.updateTitle(l({},n,{text:e}))}},{key:"componentDidUpdate",value:function(t){var e=Se(t,this.props,!0);!1!==e&&this.updateTitle(e)}},{key:"componentWillUnmount",value:function(){Pt(this.updateTitle,{text:null})}},{key:"render",value:function(){return null}}]),e}()),or=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i))))),"updateTooltip",function(t){n.props.getChart().update({tooltip:t},!1),n.props.needsRedraw()}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=(t.children,t.getHighcharts),n=t.getChart,r=(t.needsRedraw,s(t,["children","getHighcharts","getChart","needsRedraw"])),i=e(),o=n().object;o.tooltip=new i.Tooltip(o,l({},i.defaultOptions&&i.defaultOptions.tooltip,r)),this.updateTooltip(r)}},{key:"componentDidUpdate",value:function(t){var e=Se(t,this.props);!1!==e&&this.updateTooltip(e)}},{key:"componentWillUnmount",value:function(){Pt(this.updateTooltip,{enabled:!1})}},{key:"render",value:function(){return null}}]),e}();c(or,"defaultProps",{children:null,enabled:!0});var ar=Me(or),ur=function(t){function e(){return d(this,e),g(this,m(e).apply(this,arguments))}return x(e,i["Component"]),f(e,[{key:"render",value:function(){return o.a.createElement(un,r({},this.props,{id:"zAxis",isX:!1,dynamicAxis:!1}))}}]),e}();c(ur,"defaultProps",{type:"linear"}),ur.Title=un.Title;var cr=ur,lr=Me(function(t){function e(){return d(this,e),g(this,m(e).apply(this,arguments))}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){this.props.getChart().update({chart:{inverted:!0}})}},{key:"render",value:function(){return o.a.createElement(Ne,r({},this.props,{type:"bar"}))}}]),e}());function sr(t){var e=function(e){return o.a.createElement(Ae,null,o.a.createElement(Rt,null,function(n){if(!n&&e.seriesId){var i=e.getChart();n=i.get(e.seriesId)}if(!n)return null;return o.a.createElement(t,r({},e,{getSeries:function(){return{object:n,id:n.userOptions&&n.userOptions.id,type:n.type,update:Ce(n.update.bind(n)),remove:n.remove.bind(n),setData:n.setData.bind(n),setVisible:n.setVisible.bind(n)}}}))}))};return e.displayName="Series.Provider(".concat(Re(t),")"),He(e)}function dr(t,e){return function(n){return o.a.createElement(Le,{value:e},o.a.createElement(t,n))}}var pr=function(t){function e(){return d(this,e),g(this,m(e).apply(this,arguments))}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=t.varName,n=(0,t.getChart)();window[e]=n.object,console.log("Chart instance available as global variable as window.".concat(e))}},{key:"componentWillUnmount",value:function(){window[this.props.varName]=void 0}},{key:"render",value:function(){return o.a.createElement(pn,null)}}]),e}();c(pr,"defaultProps",{varName:"chart"});var fr=Me(pr),hr={requiresAxis:!1},vr={baseSeries:u.a.string.isRequired},yr=Ie("AreaRange"),gr=Ie("Area"),mr=Ie("AreaSplineRange"),br=Ie("AreaSpline"),xr=Ie("BellCurve",{},vr),Cr=Ie("BoxPlot"),Sr=Ie("Bubble"),kr=Ie("Bullet"),wr=Ie("ColumnPyramid"),Pr=Ie("ColumnRange"),Ar=Ie("Column"),Or=Ie("Cylinder"),jr=Ie("ErrorBar"),Er=Ie("Funnel",hr),Tr=Ie("Gauge"),_r=Ie("Heatmap"),Lr=Ie("Histogram",{},vr),Rr=Ie("Line"),Dr=Ie("NetworkGraph"),Mr=Ie("PackedBubble"),Br=Ie("Pareto",{},vr),Ur=Ie("Pie",hr),Wr=Ie("Polygon"),Hr=Ie("Pyramid",hr),Nr=Ie("Sankey"),Ir=Ie("Scatter"),Vr=Ie("Scatter3d"),Fr=Ie("SolidGauge"),qr=Ie("Spline"),Gr=Ie("StreamGraph"),Xr=Ie("Sunburst"),zr=Ie("Tilemap"),Yr=Ie("Treemap"),Jr=Ie("VariablePie",hr),Zr=Ie("Variwide"),$r=Ie("Venn",hr),Kr=Ie("Vector"),Qr=Ie("Waterfall"),ti=Ie("WindBarb"),ei=Ie("XRange"),ni=De(function(t){function e(){return d(this,e),g(this,m(e).apply(this,arguments))}return x(e,i["Component"]),f(e,[{key:"render",value:function(){return o.a.createElement(Ke,r({},this.props,{chartCreationFunc:this.props.getHighcharts().stockChart,chartType:"stockChart"}))}}]),e}()),ri=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i))))),"updateNavigatorAxis",function(t){n.props.getAxis().update(t)}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=(t.children,s(t,["children"]));this.updateNavigatorAxis(ve(e))}},{key:"componentDidUpdate",value:function(t){var e=Se(t,this.props);!1!==e&&this.updateNavigatorAxis(e)}},{key:"render",value:function(){var t=this.props,e=t.axisId,n=t.children;if(!n)return null;var r=i.Children.map(n,function(t){return!1===Object(i.isValidElement)(t)?t:Object(i.cloneElement)(t,{axisId:e})});return o.a.createElement(pn,null,r)}}]),e}(),ii=He(ri),oi=function(t){function e(){return d(this,e),g(this,m(e).apply(this,arguments))}return x(e,i["Component"]),f(e,[{key:"render",value:function(){return o.a.createElement(ii,r({},this.props,{axisId:"navigator-x-axis"}))}}]),e}(),ai=function(t){function e(t){var n;return d(this,e),c(y(y(n=g(this,m(e).call(this,t)))),"updateNavigator",function(t){n.props.getChart().update({navigator:t},!0)}),n.state={rendered:!1},n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=(t.children,t.getHighcharts),n=t.getChart,r=s(t,["children","getHighcharts","getChart"]),i=e(),o=n().object;o.options.navigator.enabled=!0,i.fireEvent(o,"beforeRender"),this.updateNavigator(r),this.setState({rendered:!0})}},{key:"componentDidUpdate",value:function(t){var e=Se(t,this.props);!1!==e&&this.updateNavigator(e)}},{key:"componentWillUnmount",value:function(){Pt(this.updateNavigator,{enabled:!1})}},{key:"render",value:function(){var t=this,e=this.props.children;if(!e||!this.state.rendered)return null;var n=i.Children.map(e,function(e){return!1===Object(i.isValidElement)(e)?e:Object(i.cloneElement)(e,t.state)});return o.a.createElement(oi,null,n)}}]),e}();c(ai,"defaultProps",{enabled:!0});var ui=ai,ci=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i))))),"updateNavigatorSeries",function(t){n.props.getSeries().update(t)}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){this.updateNavigatorSeries({showInNavigator:!0})}},{key:"componentWillUnmount",value:function(){Pt(this.updateNavigatorSeries,{showInNavigator:!1})}},{key:"render",value:function(){return null}}]),e}(),li=function(t){function e(){return d(this,e),g(this,m(e).apply(this,arguments))}return x(e,i["Component"]),f(e,[{key:"render",value:function(){return o.a.createElement(ii,r({},this.props,{axisId:"navigator-y-axis"}))}}]),e}(),si=Me(ui);si.Series=sr(ci),si.XAxis=oi,si.YAxis=li;var di=si,pi=function(t){function e(t){var n;return d(this,e),c(y(y(n=g(this,m(e).call(this,t)))),"getRangeSelectorConfig",function(){var t=n.props,e=t.getHighcharts,r=(t.children,s(t,["getHighcharts","children"])),i=e();return l({},i.defaultOptions&&i.defaultOptions.rangeSelector,r,{inputEnabled:!1,buttons:[]})}),c(y(y(n)),"updateRangeSelector",function(t){n.props.getChart().update({rangeSelector:t},!0)}),c(y(y(n)),"renderRangeSelector",function(){var t=n.props,e=t.getChart,r=t.getAxis,i=e().object,o=r().getExtremes();i.rangeSelector.render.call(i.rangeSelector,o.min,o.max)}),n.state={rendered:!1},n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=t.getHighcharts,n=t.getChart,r=t.getAxis,i=e(),o=n().object;o.options.rangeSelector.enabled=!0,i.fireEvent(o,"init"),i.fireEvent(o,"afterGetContainer");var a=this.getRangeSelectorConfig();this.updateRangeSelector(a);var u=r().object;i.addEvent(u,"afterSetExtremes",this.renderRangeSelector),this.setState({rendered:!0})}},{key:"componentDidUpdate",value:function(t){var e=Se(t,this.props);!1!==e&&this.updateRangeSelector(e)}},{key:"componentWillUnmount",value:function(){var t=this.props,e=t.getHighcharts,n=(0,t.getAxis)().object;e().removeEvent(n,"afterSetExtremes",this.renderRangeSelector),Pt(this.updateRangeSelector,{enabled:!1})}},{key:"render",value:function(){var t=this.props.children;return t&&this.state.rendered?o.a.createElement(pn,null,t):null}}]),e}();c(pi,"defaultProps",{enabled:!0});var fi=He(pi),hi=function(t){return o.a.createElement(fi,r({},t,{axisId:"xAxis"}))};function vi(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var yi=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i))))),"getButtons",function(){var t=n.props.getChart().object;if(t&&t.options){var e=t.options.rangeSelector.buttons;return void 0===e?[]:e}return[]}),c(y(y(n)),"getButtonIndex",function(){var t=n.props,e=t.count,r=t.type;return Gn(n.getButtons(),function(t){return t.count===e&&t.type===r})}),c(y(y(n)),"addButton",function(t){var e=vi(n.getButtons()).concat([t]);n.updateRangeSelectorButtons(e)}),c(y(y(n)),"removeButton",function(){var t=n.getButtonIndex();if(-1!==t){var e=vi(n.getButtons());e.splice(t,1),n.updateRangeSelectorButtons(e)}}),c(y(y(n)),"updateRangeSelectorButtons",function(t){n.props.getChart().update({rangeSelector:{buttons:t}})}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){if(!(this.getButtonIndex()>-1)){var t=this.props,e=t.count,n=t.type,r=t.offsetMin,i=t.offsetMax,o=t.dataGrouping,a=t.children,u=s(t,["count","type","offsetMin","offsetMax","dataGrouping","children"]),c={count:e,type:n,offsetMin:r,offsetMax:i,dataGrouping:o,text:a,events:ye(u)};this.addButton(c)}}},{key:"componentWillUnmount",value:function(){Pt(this.removeButton)}},{key:"render",value:function(){return null}}]),e}();c(yi,"defaultProps",{count:1,offsetMin:0,offsetMax:0});var gi=yi,mi=Vt("toUpperCase"),bi=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i))))),"prefixPropsWithInput",function(t){return he(t,function(t,e){return 0===e.indexOf("input")?e:"input".concat(mi(e))})}),c(y(y(n)),"updateRangeSelectorInputs",function(t){var e=n.props.getChart(),r=n.prefixPropsWithInput(t);e.update({rangeSelector:l({},r)})}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=(t.children,s(t,["children"]));this.updateRangeSelectorInputs(e)}},{key:"componentDidUpdate",value:function(t){var e=Se(t,this.props);!1!==e&&this.updateRangeSelectorInputs(e)}},{key:"componentWillUnmount",value:function(){Pt(this.updateRangeSelectorInputs,{enabled:!1})}},{key:"render",value:function(){return null}}]),e}();c(bi,"defaultProps",{enabled:!0});var xi=bi,Ci=Me(hi);Ci.Button=Me(gi),Ci.Input=Me(xi);var Si=Ci,ki=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i))))),"updateScrollbar",function(t){n.props.getChart().update({scrollbar:t},!0)}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=(t.children,s(t,["children"]));this.updateScrollbar(e)}},{key:"componentDidUpdate",value:function(t){var e=Se(t,this.props);!1!==e&&this.updateScrollbar(e)}},{key:"componentWillUnmount",value:function(){Pt(this.updateScrollbar,{enabled:!1})}},{key:"render",value:function(){var t=this.props.children;return t?o.a.createElement(pn,null,t):null}}]),e}();c(ki,"defaultProps",{enabled:!0});var wi=Me(ki);n.d(e,"CandlestickSeries",function(){return Pi}),n.d(e,"FlagsSeries",function(){return Ai}),n.d(e,"OHLCSeries",function(){return Oi}),n.d(e,"FlagSeries",function(){return ji}),n.d(e,"HighchartsChart",function(){return Qe}),n.d(e,"HighchartsSparkline",function(){return hn}),n.d(e,"Highcharts3dChart",function(){return gn}),n.d(e,"Annotation",function(){return bn}),n.d(e,"Chart",function(){return en}),n.d(e,"Credits",function(){return Cn}),n.d(e,"Loading",function(){return kn}),n.d(e,"Legend",function(){return jn}),n.d(e,"Pane",function(){return Tn}),n.d(e,"PlotBand",function(){return Zn}),n.d(e,"PlotLine",function(){return nr}),n.d(e,"Subtitle",function(){return rr}),n.d(e,"Title",function(){return ir}),n.d(e,"Tooltip",function(){return ar}),n.d(e,"XAxis",function(){return ln}),n.d(e,"YAxis",function(){return dn}),n.d(e,"ZAxis",function(){return cr}),n.d(e,"AreaRangeSeries",function(){return yr}),n.d(e,"AreaSeries",function(){return gr}),n.d(e,"AreaSplineRangeSeries",function(){return mr}),n.d(e,"AreaSplineSeries",function(){return br}),n.d(e,"BarSeries",function(){return lr}),n.d(e,"BellCurveSeries",function(){return xr}),n.d(e,"BoxPlotSeries",function(){return Cr}),n.d(e,"BubbleSeries",function(){return Sr}),n.d(e,"BulletSeries",function(){return kr}),n.d(e,"ColumnPyramidSeries",function(){return wr}),n.d(e,"ColumnRangeSeries",function(){return Pr}),n.d(e,"ColumnSeries",function(){return Ar}),n.d(e,"CylinderSeries",function(){return Or}),n.d(e,"ErrorBarSeries",function(){return jr}),n.d(e,"FunnelSeries",function(){return Er}),n.d(e,"GaugeSeries",function(){return Tr}),n.d(e,"HeatmapSeries",function(){return _r}),n.d(e,"HistogramSeries",function(){return Lr}),n.d(e,"LineSeries",function(){return Rr}),n.d(e,"NetworkGraphSeries",function(){return Dr}),n.d(e,"PackedBubbleSeries",function(){return Mr}),n.d(e,"ParetoSeries",function(){return Br}),n.d(e,"PieSeries",function(){return Ur}),n.d(e,"PolygonSeries",function(){return Wr}),n.d(e,"PyramidSeries",function(){return Hr}),n.d(e,"SankeySeries",function(){return Nr}),n.d(e,"ScatterSeries",function(){return Ir}),n.d(e,"Scatter3dSeries",function(){return Vr}),n.d(e,"SolidGaugeSeries",function(){return Fr}),n.d(e,"SplineSeries",function(){return qr}),n.d(e,"StreamGraphSeries",function(){return Gr}),n.d(e,"SunburstSeries",function(){return Xr}),n.d(e,"TilemapSeries",function(){return zr}),n.d(e,"TreemapSeries",function(){return Yr}),n.d(e,"VariablePieSeries",function(){return Jr}),n.d(e,"VariwideSeries",function(){return Zr}),n.d(e,"VennSeries",function(){return $r}),n.d(e,"VectorSeries",function(){return Kr}),n.d(e,"WaterfallSeries",function(){return Qr}),n.d(e,"WindBarbSeries",function(){return ti}),n.d(e,"XRangeSeries",function(){return ei}),n.d(e,"provideHighcharts",function(){return De}),n.d(e,"provideChart",function(){return Me}),n.d(e,"provideAxis",function(){return He}),n.d(e,"provideSeries",function(){return sr}),n.d(e,"withHighcharts",function(){return dr}),n.d(e,"Axis",function(){return un}),n.d(e,"BaseChart",function(){return Ke}),n.d(e,"Debug",function(){return fr}),n.d(e,"Hidden",function(){return pn}),n.d(e,"Series",function(){return Ne}),n.d(e,"getModifiedProps",function(){return Se}),n.d(e,"getNonEventHandlerProps",function(){return ve}),n.d(e,"getEventsConfig",function(){return ye}),n.d(e,"withSeriesType",function(){return Ie}),n.d(e,"HighchartsStockChart",function(){return ni}),n.d(e,"Navigator",function(){return di}),n.d(e,"RangeSelector",function(){return Si}),n.d(e,"Scrollbar",function(){return wi});var Pi=Ie("Candlestick"),Ai=Ie("Flags"),Oi=Ie("OHLC"),ji=Ie("Flags")}])}); |
{ | ||
"name": "react-jsx-highstock", | ||
"version": "3.4.0-alpha.1", | ||
"version": "3.4.0-alpha.2", | ||
"description": "Highcharts (including Highstock) charts built using React components", | ||
@@ -63,3 +63,3 @@ "main": "dist/react-jsx-highstock.min.js", | ||
"lodash-es": "^4.17.5", | ||
"react-jsx-highcharts": "3.4.0-alpha.1" | ||
"react-jsx-highcharts": "3.4.0-alpha.2" | ||
}, | ||
@@ -85,3 +85,3 @@ "devDependencies": { | ||
"eslint-plugin-react": "^7.11.1", | ||
"highcharts": "^6.0.0", | ||
"highcharts": "^7.0.0", | ||
"jest": "^23.6.0", | ||
@@ -95,7 +95,7 @@ "jest-enzyme": "^7.0.0", | ||
"rimraf": "^2.6.1", | ||
"webpack": "^4.20.2", | ||
"webpack": "^4.26.0", | ||
"webpack-cli": "^3.1.2" | ||
}, | ||
"peerDependencies": { | ||
"highcharts": "^5.0.0 || ^6.0.0", | ||
"highcharts": "^5.0.0 || ^6.0.0 || ^7.0.0", | ||
"prop-types": "^15.0.0", | ||
@@ -102,0 +102,0 @@ "react": "^16.0.0", |
@@ -31,3 +31,3 @@ ![React JSX Highstock](https://user-images.githubusercontent.com/2003804/40682476-c1ea6be4-6383-11e8-826c-a617db5ef726.png) | ||
`npm install --save react react-dom prop-types highcharts@^6.0.0` | ||
`npm install --save react react-dom prop-types highcharts@^7.0.0` | ||
@@ -143,3 +143,3 @@ ## Getting started | ||
</HighchartsStockChart> | ||
); | ||
); | ||
} | ||
@@ -146,0 +146,0 @@ |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
1869860
12493
2
+ Addedhighcharts@7.2.2(transitive)
+ Addedreact-jsx-highcharts@3.4.0-alpha.2(transitive)
- Removedhighcharts@6.2.0(transitive)
- Removedreact-jsx-highcharts@3.4.0-alpha.1(transitive)