@clickview/lite 0.69.1-dev.0 → 0.69.1-dev.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (99) hide show
  1. package/dist/bundles.json +1 -1
  2. package/dist/css/{9985-lite-3c49d1b796.chunk.css → 3902-lite-5eaa7e7ae0.chunk.css} +1 -2
  3. package/dist/css/{555-lite-1b5aa9652d.chunk.css → 4356-lite-b05b606d3d.chunk.css} +1 -2
  4. package/dist/css/{2636-lite-f995954232.chunk.css → 4527-lite-4d1b877b3f.chunk.css} +4 -0
  5. package/dist/css/{1239-lite-8152f713c8.chunk.css → 7210-lite-a568e8ec1e.chunk.css} +1 -0
  6. package/dist/languages/en.json +1 -1
  7. package/dist/scripts/1210-7afb28caac-lite.chunk.js +2 -0
  8. package/dist/scripts/1210-7afb28caac-lite.chunk.js.map +1 -0
  9. package/dist/scripts/1386-332e63f68c-lite.chunk.js +2 -0
  10. package/dist/scripts/1386-332e63f68c-lite.chunk.js.map +1 -0
  11. package/dist/scripts/232-1522c00252-lite.chunk.js +3 -0
  12. package/dist/scripts/232-1522c00252-lite.chunk.js.map +1 -0
  13. package/dist/scripts/2392-19e4bb187b-lite.chunk.js +3 -0
  14. package/dist/scripts/2392-19e4bb187b-lite.chunk.js.map +1 -0
  15. package/dist/scripts/{2640-536c550749-lite.chunk.js → 2640-052f4606f6-lite.chunk.js} +2 -2
  16. package/dist/scripts/2640-052f4606f6-lite.chunk.js.map +1 -0
  17. package/dist/scripts/300-3d9f3cd4e3-lite.chunk.js +2 -0
  18. package/dist/scripts/300-3d9f3cd4e3-lite.chunk.js.map +1 -0
  19. package/dist/scripts/3079-0a333d6805-lite.chunk.js +2 -0
  20. package/dist/scripts/3079-0a333d6805-lite.chunk.js.map +1 -0
  21. package/dist/scripts/3110-eee18143c6-lite.chunk.js +2 -0
  22. package/dist/scripts/3110-eee18143c6-lite.chunk.js.map +1 -0
  23. package/dist/scripts/312-693aa30814-lite.chunk.js +2 -0
  24. package/dist/scripts/312-693aa30814-lite.chunk.js.map +1 -0
  25. package/dist/scripts/3902-39aaff7ce9-lite.chunk.js +2 -0
  26. package/dist/scripts/3902-39aaff7ce9-lite.chunk.js.map +1 -0
  27. package/dist/scripts/4229-477b1858dc-lite.chunk.js +2 -0
  28. package/dist/scripts/4229-477b1858dc-lite.chunk.js.map +1 -0
  29. package/dist/scripts/4356-36ce3ceec1-lite.chunk.js +2 -0
  30. package/dist/scripts/4356-36ce3ceec1-lite.chunk.js.map +1 -0
  31. package/dist/scripts/4527-42075d96f4-lite.chunk.js +2 -0
  32. package/dist/scripts/4527-42075d96f4-lite.chunk.js.map +1 -0
  33. package/dist/scripts/{4845-f3646fb657-lite.chunk.js → 4845-9b4657e696-lite.chunk.js} +2 -2
  34. package/dist/scripts/4845-9b4657e696-lite.chunk.js.map +1 -0
  35. package/dist/scripts/5679-444d9a7f76-lite.chunk.js +2 -0
  36. package/dist/scripts/5679-444d9a7f76-lite.chunk.js.map +1 -0
  37. package/dist/scripts/6046-104677f08c-lite.chunk.js +2 -0
  38. package/dist/scripts/6046-104677f08c-lite.chunk.js.map +1 -0
  39. package/dist/scripts/{6188-e108abca25-lite.chunk.js → 6188-77fc2f3ec5-lite.chunk.js} +2 -2
  40. package/dist/scripts/6188-77fc2f3ec5-lite.chunk.js.map +1 -0
  41. package/dist/scripts/6351-dff9edbb16-lite.chunk.js +3 -0
  42. package/dist/scripts/6351-dff9edbb16-lite.chunk.js.map +1 -0
  43. package/dist/scripts/6973-c4cb114bd7-lite.chunk.js +2 -0
  44. package/dist/scripts/6973-c4cb114bd7-lite.chunk.js.map +1 -0
  45. package/dist/scripts/7210-2e4563178c-lite.chunk.js +3 -0
  46. package/dist/scripts/7210-2e4563178c-lite.chunk.js.map +1 -0
  47. package/dist/scripts/7480-3564c0c2da-lite.chunk.js +2 -0
  48. package/dist/scripts/7480-3564c0c2da-lite.chunk.js.map +1 -0
  49. package/dist/scripts/7482-13e6f78c32-lite.chunk.js +2 -0
  50. package/dist/scripts/7482-13e6f78c32-lite.chunk.js.map +1 -0
  51. package/dist/scripts/9040-be65e4eb1e-lite.chunk.js +2 -0
  52. package/dist/scripts/9040-be65e4eb1e-lite.chunk.js.map +1 -0
  53. package/dist/scripts/{bundle-90d3c7fd15.min.js → bundle-32e967af87.min.js} +3 -3
  54. package/dist/scripts/{bundle-90d3c7fd15.min.js.map → bundle-32e967af87.min.js.map} +1 -1
  55. package/package.json +1 -1
  56. package/dist/scripts/1210-3cbdc62b0a-lite.chunk.js +0 -2
  57. package/dist/scripts/1210-3cbdc62b0a-lite.chunk.js.map +0 -1
  58. package/dist/scripts/1239-ed9b8aadb4-lite.chunk.js +0 -3
  59. package/dist/scripts/1239-ed9b8aadb4-lite.chunk.js.map +0 -1
  60. package/dist/scripts/1386-d93ee75e0c-lite.chunk.js +0 -2
  61. package/dist/scripts/1386-d93ee75e0c-lite.chunk.js.map +0 -1
  62. package/dist/scripts/2392-acfd69dfa3-lite.chunk.js +0 -3
  63. package/dist/scripts/2392-acfd69dfa3-lite.chunk.js.map +0 -1
  64. package/dist/scripts/2636-63e5f2c9e6-lite.chunk.js +0 -2
  65. package/dist/scripts/2636-63e5f2c9e6-lite.chunk.js.map +0 -1
  66. package/dist/scripts/2640-536c550749-lite.chunk.js.map +0 -1
  67. package/dist/scripts/3036-d18c598435-lite.chunk.js +0 -2
  68. package/dist/scripts/3036-d18c598435-lite.chunk.js.map +0 -1
  69. package/dist/scripts/4229-75ba28a266-lite.chunk.js +0 -2
  70. package/dist/scripts/4229-75ba28a266-lite.chunk.js.map +0 -1
  71. package/dist/scripts/4266-e856b96643-lite.chunk.js +0 -3
  72. package/dist/scripts/4266-e856b96643-lite.chunk.js.map +0 -1
  73. package/dist/scripts/4598-f326dc1aec-lite.chunk.js +0 -2
  74. package/dist/scripts/4598-f326dc1aec-lite.chunk.js.map +0 -1
  75. package/dist/scripts/4845-f3646fb657-lite.chunk.js.map +0 -1
  76. package/dist/scripts/555-d811b49435-lite.chunk.js +0 -2
  77. package/dist/scripts/555-d811b49435-lite.chunk.js.map +0 -1
  78. package/dist/scripts/6046-44c115a89c-lite.chunk.js +0 -2
  79. package/dist/scripts/6046-44c115a89c-lite.chunk.js.map +0 -1
  80. package/dist/scripts/6188-e108abca25-lite.chunk.js.map +0 -1
  81. package/dist/scripts/6317-49be898c73-lite.chunk.js +0 -2
  82. package/dist/scripts/6317-49be898c73-lite.chunk.js.map +0 -1
  83. package/dist/scripts/6973-ede6601614-lite.chunk.js +0 -2
  84. package/dist/scripts/6973-ede6601614-lite.chunk.js.map +0 -1
  85. package/dist/scripts/7075-9a76ce47c9-lite.chunk.js +0 -3
  86. package/dist/scripts/7075-9a76ce47c9-lite.chunk.js.map +0 -1
  87. package/dist/scripts/7480-02bc4e08a3-lite.chunk.js +0 -2
  88. package/dist/scripts/7480-02bc4e08a3-lite.chunk.js.map +0 -1
  89. package/dist/scripts/9040-9393c59004-lite.chunk.js +0 -2
  90. package/dist/scripts/9040-9393c59004-lite.chunk.js.map +0 -1
  91. package/dist/scripts/9985-c488ab5f65-lite.chunk.js +0 -2
  92. package/dist/scripts/9985-c488ab5f65-lite.chunk.js.map +0 -1
  93. /package/dist/css/{3036-lite-1b3e9aa905.chunk.css → 3079-lite-1b3e9aa905.chunk.css} +0 -0
  94. /package/dist/css/{7075-lite-a377febbb0.chunk.css → 6351-lite-a377febbb0.chunk.css} +0 -0
  95. /package/dist/scripts/{4266-e856b96643-lite.chunk.js.LICENSE.txt → 232-1522c00252-lite.chunk.js.LICENSE.txt} +0 -0
  96. /package/dist/scripts/{1239-ed9b8aadb4-lite.chunk.js.LICENSE.txt → 2392-19e4bb187b-lite.chunk.js.LICENSE.txt} +0 -0
  97. /package/dist/scripts/{2392-acfd69dfa3-lite.chunk.js.LICENSE.txt → 6351-dff9edbb16-lite.chunk.js.LICENSE.txt} +0 -0
  98. /package/dist/scripts/{7075-9a76ce47c9-lite.chunk.js.LICENSE.txt → 7210-2e4563178c-lite.chunk.js.LICENSE.txt} +0 -0
  99. /package/dist/scripts/{bundle-90d3c7fd15.min.js.LICENSE.txt → bundle-32e967af87.min.js.LICENSE.txt} +0 -0
@@ -1,3 +0,0 @@
1
- /*! For license information please see 4266-e856b96643-lite.chunk.js.LICENSE.txt */
2
- (self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[4266],{232:function(t){t.exports=function(){"use strict";for(var t=function(t,e,i){return void 0===e&&(e=0),void 0===i&&(i=1),t<e?e:t>i?i:t},e={},i=0,r=["Boolean","Number","String","Function","Array","Date","RegExp","Undefined","Null"];i<r.length;i+=1){var o=r[i];e["[object "+o+"]"]=o.toLowerCase()}var n=function(t){return e[Object.prototype.toString.call(t)]||"object"},s=Math.PI,a={clip_rgb:function(e){e._clipped=!1,e._unclipped=e.slice(0);for(var i=0;i<=3;i++)i<3?((e[i]<0||e[i]>255)&&(e._clipped=!0),e[i]=t(e[i],0,255)):3===i&&(e[i]=t(e[i],0,1));return e},limit:t,type:n,unpack:function(t,e){return void 0===e&&(e=null),t.length>=3?Array.prototype.slice.call(t):"object"==n(t[0])&&e?e.split("").filter((function(e){return void 0!==t[0][e]})).map((function(e){return t[0][e]})):t[0]},last:function(t){if(t.length<2)return null;var e=t.length-1;return"string"==n(t[e])?t[e].toLowerCase():null},PI:s,TWOPI:2*s,PITHIRD:s/3,DEG2RAD:s/180,RAD2DEG:180/s},h={format:{},autodetect:[]},l=a.last,c=a.clip_rgb,d=a.type,p=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var i=this;if("object"===d(t[0])&&t[0].constructor&&t[0].constructor===this.constructor)return t[0];var r=l(t),o=!1;if(!r){o=!0,h.sorted||(h.autodetect=h.autodetect.sort((function(t,e){return e.p-t.p})),h.sorted=!0);for(var n=0,s=h.autodetect;n<s.length;n+=1){var a=s[n];if(r=a.test.apply(a,t))break}}if(!h.format[r])throw new Error("unknown format: "+t);var p=h.format[r].apply(null,o?t:t.slice(0,-1));i._rgb=c(p),3===i._rgb.length&&i._rgb.push(1)};p.prototype.toString=function(){return"function"==d(this.hex)?this.hex():"["+this._rgb.join(",")+"]"};var u=p,f=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(f.Color,[null].concat(t)))};f.Color=u,f.version="2.1.2";var g=f,m=a.unpack,y=Math.max,v=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var i=m(t,"rgb"),r=i[0],o=i[1],n=i[2],s=1-y(r/=255,y(o/=255,n/=255)),a=s<1?1/(1-s):0;return[(1-r-s)*a,(1-o-s)*a,(1-n-s)*a,s]},x=a.unpack,b=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var i=(t=x(t,"cmyk"))[0],r=t[1],o=t[2],n=t[3],s=t.length>4?t[4]:1;return 1===n?[0,0,0,s]:[i>=1?0:255*(1-i)*(1-n),r>=1?0:255*(1-r)*(1-n),o>=1?0:255*(1-o)*(1-n),s]},k=a.unpack,w=a.type;u.prototype.cmyk=function(){return v(this._rgb)},g.cmyk=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(u,[null].concat(t,["cmyk"])))},h.format.cmyk=b,h.autodetect.push({p:2,test:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];if(t=k(t,"cmyk"),"array"===w(t)&&4===t.length)return"cmyk"}});var C=a.unpack,M=a.last,S=function(t){return Math.round(100*t)/100},A=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var i=C(t,"hsla"),r=M(t)||"lsa";return i[0]=S(i[0]||0),i[1]=S(100*i[1])+"%",i[2]=S(100*i[2])+"%","hsla"===r||i.length>3&&i[3]<1?(i[3]=i.length>3?i[3]:1,r="hsla"):i.length=3,r+"("+i.join(",")+")"},T=a.unpack,P=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var i=(t=T(t,"rgba"))[0],r=t[1],o=t[2];i/=255,r/=255,o/=255;var n,s,a=Math.min(i,r,o),h=Math.max(i,r,o),l=(h+a)/2;return h===a?(n=0,s=Number.NaN):n=l<.5?(h-a)/(h+a):(h-a)/(2-h-a),i==h?s=(r-o)/(h-a):r==h?s=2+(o-i)/(h-a):o==h&&(s=4+(i-r)/(h-a)),(s*=60)<0&&(s+=360),t.length>3&&void 0!==t[3]?[s,n,l,t[3]]:[s,n,l]},O=a.unpack,L=a.last,E=Math.round,D=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var i=O(t,"rgba"),r=L(t)||"rgb";return"hsl"==r.substr(0,3)?A(P(i),r):(i[0]=E(i[0]),i[1]=E(i[1]),i[2]=E(i[2]),("rgba"===r||i.length>3&&i[3]<1)&&(i[3]=i.length>3?i[3]:1,r="rgba"),r+"("+i.slice(0,"rgb"===r?3:4).join(",")+")")},j=a.unpack,I=Math.round,N=function(){for(var t,e=[],i=arguments.length;i--;)e[i]=arguments[i];var r,o,n,s=(e=j(e,"hsl"))[0],a=e[1],h=e[2];if(0===a)r=o=n=255*h;else{var l=[0,0,0],c=[0,0,0],d=h<.5?h*(1+a):h+a-h*a,p=2*h-d,u=s/360;l[0]=u+1/3,l[1]=u,l[2]=u-1/3;for(var f=0;f<3;f++)l[f]<0&&(l[f]+=1),l[f]>1&&(l[f]-=1),6*l[f]<1?c[f]=p+6*(d-p)*l[f]:2*l[f]<1?c[f]=d:3*l[f]<2?c[f]=p+(d-p)*(2/3-l[f])*6:c[f]=p;r=(t=[I(255*c[0]),I(255*c[1]),I(255*c[2])])[0],o=t[1],n=t[2]}return e.length>3?[r,o,n,e[3]]:[r,o,n,1]},B=/^rgb\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*\)$/,z=/^rgba\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*,\s*([01]|[01]?\.\d+)\)$/,R=/^rgb\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,W=/^rgba\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,G=/^hsl\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,H=/^hsla\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,X=Math.round,_=function(t){var e;if(t=t.toLowerCase().trim(),h.format.named)try{return h.format.named(t)}catch(t){}if(e=t.match(B)){for(var i=e.slice(1,4),r=0;r<3;r++)i[r]=+i[r];return i[3]=1,i}if(e=t.match(z)){for(var o=e.slice(1,5),n=0;n<4;n++)o[n]=+o[n];return o}if(e=t.match(R)){for(var s=e.slice(1,4),a=0;a<3;a++)s[a]=X(2.55*s[a]);return s[3]=1,s}if(e=t.match(W)){for(var l=e.slice(1,5),c=0;c<3;c++)l[c]=X(2.55*l[c]);return l[3]=+l[3],l}if(e=t.match(G)){var d=e.slice(1,4);d[1]*=.01,d[2]*=.01;var p=N(d);return p[3]=1,p}if(e=t.match(H)){var u=e.slice(1,4);u[1]*=.01,u[2]*=.01;var f=N(u);return f[3]=+e[4],f}};_.test=function(t){return B.test(t)||z.test(t)||R.test(t)||W.test(t)||G.test(t)||H.test(t)};var F=_,Y=a.type;u.prototype.css=function(t){return D(this._rgb,t)},g.css=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(u,[null].concat(t,["css"])))},h.format.css=F,h.autodetect.push({p:5,test:function(t){for(var e=[],i=arguments.length-1;i-- >0;)e[i]=arguments[i+1];if(!e.length&&"string"===Y(t)&&F.test(t))return"css"}});var U=a.unpack;h.format.gl=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var i=U(t,"rgba");return i[0]*=255,i[1]*=255,i[2]*=255,i},g.gl=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(u,[null].concat(t,["gl"])))},u.prototype.gl=function(){var t=this._rgb;return[t[0]/255,t[1]/255,t[2]/255,t[3]]};var V=a.unpack,q=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var i,r=V(t,"rgb"),o=r[0],n=r[1],s=r[2],a=Math.min(o,n,s),h=Math.max(o,n,s),l=h-a,c=100*l/255,d=a/(255-l)*100;return 0===l?i=Number.NaN:(o===h&&(i=(n-s)/l),n===h&&(i=2+(s-o)/l),s===h&&(i=4+(o-n)/l),(i*=60)<0&&(i+=360)),[i,c,d]},K=a.unpack,Z=Math.floor,$=function(){for(var t,e,i,r,o,n,s=[],a=arguments.length;a--;)s[a]=arguments[a];var h,l,c,d=(s=K(s,"hcg"))[0],p=s[1],u=s[2];u*=255;var f=255*p;if(0===p)h=l=c=u;else{360===d&&(d=0),d>360&&(d-=360),d<0&&(d+=360);var g=Z(d/=60),m=d-g,y=u*(1-p),v=y+f*(1-m),x=y+f*m,b=y+f;switch(g){case 0:h=(t=[b,x,y])[0],l=t[1],c=t[2];break;case 1:h=(e=[v,b,y])[0],l=e[1],c=e[2];break;case 2:h=(i=[y,b,x])[0],l=i[1],c=i[2];break;case 3:h=(r=[y,v,b])[0],l=r[1],c=r[2];break;case 4:h=(o=[x,y,b])[0],l=o[1],c=o[2];break;case 5:h=(n=[b,y,v])[0],l=n[1],c=n[2]}}return[h,l,c,s.length>3?s[3]:1]},J=a.unpack,Q=a.type;u.prototype.hcg=function(){return q(this._rgb)},g.hcg=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(u,[null].concat(t,["hcg"])))},h.format.hcg=$,h.autodetect.push({p:1,test:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];if(t=J(t,"hcg"),"array"===Q(t)&&3===t.length)return"hcg"}});var tt=a.unpack,et=a.last,it=Math.round,rt=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var i=tt(t,"rgba"),r=i[0],o=i[1],n=i[2],s=i[3],a=et(t)||"auto";void 0===s&&(s=1),"auto"===a&&(a=s<1?"rgba":"rgb");var h="000000"+((r=it(r))<<16|(o=it(o))<<8|(n=it(n))).toString(16);h=h.substr(h.length-6);var l="0"+it(255*s).toString(16);switch(l=l.substr(l.length-2),a.toLowerCase()){case"rgba":return"#"+h+l;case"argb":return"#"+l+h;default:return"#"+h}},ot=/^#?([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/,nt=/^#?([A-Fa-f0-9]{8}|[A-Fa-f0-9]{4})$/,st=function(t){if(t.match(ot)){4!==t.length&&7!==t.length||(t=t.substr(1)),3===t.length&&(t=(t=t.split(""))[0]+t[0]+t[1]+t[1]+t[2]+t[2]);var e=parseInt(t,16);return[e>>16,e>>8&255,255&e,1]}if(t.match(nt)){5!==t.length&&9!==t.length||(t=t.substr(1)),4===t.length&&(t=(t=t.split(""))[0]+t[0]+t[1]+t[1]+t[2]+t[2]+t[3]+t[3]);var i=parseInt(t,16);return[i>>24&255,i>>16&255,i>>8&255,Math.round((255&i)/255*100)/100]}throw new Error("unknown hex color: "+t)},at=a.type;u.prototype.hex=function(t){return rt(this._rgb,t)},g.hex=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(u,[null].concat(t,["hex"])))},h.format.hex=st,h.autodetect.push({p:4,test:function(t){for(var e=[],i=arguments.length-1;i-- >0;)e[i]=arguments[i+1];if(!e.length&&"string"===at(t)&&[3,4,5,6,7,8,9].indexOf(t.length)>=0)return"hex"}});var ht=a.unpack,lt=a.TWOPI,ct=Math.min,dt=Math.sqrt,pt=Math.acos,ut=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var i,r=ht(t,"rgb"),o=r[0],n=r[1],s=r[2],a=ct(o/=255,n/=255,s/=255),h=(o+n+s)/3,l=h>0?1-a/h:0;return 0===l?i=NaN:(i=(o-n+(o-s))/2,i/=dt((o-n)*(o-n)+(o-s)*(n-s)),i=pt(i),s>n&&(i=lt-i),i/=lt),[360*i,l,h]},ft=a.unpack,gt=a.limit,mt=a.TWOPI,yt=a.PITHIRD,vt=Math.cos,xt=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var i,r,o,n=(t=ft(t,"hsi"))[0],s=t[1],a=t[2];return isNaN(n)&&(n=0),isNaN(s)&&(s=0),n>360&&(n-=360),n<0&&(n+=360),(n/=360)<1/3?r=1-((o=(1-s)/3)+(i=(1+s*vt(mt*n)/vt(yt-mt*n))/3)):n<2/3?o=1-((i=(1-s)/3)+(r=(1+s*vt(mt*(n-=1/3))/vt(yt-mt*n))/3)):i=1-((r=(1-s)/3)+(o=(1+s*vt(mt*(n-=2/3))/vt(yt-mt*n))/3)),[255*(i=gt(a*i*3)),255*(r=gt(a*r*3)),255*(o=gt(a*o*3)),t.length>3?t[3]:1]},bt=a.unpack,kt=a.type;u.prototype.hsi=function(){return ut(this._rgb)},g.hsi=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(u,[null].concat(t,["hsi"])))},h.format.hsi=xt,h.autodetect.push({p:2,test:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];if(t=bt(t,"hsi"),"array"===kt(t)&&3===t.length)return"hsi"}});var wt=a.unpack,Ct=a.type;u.prototype.hsl=function(){return P(this._rgb)},g.hsl=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(u,[null].concat(t,["hsl"])))},h.format.hsl=N,h.autodetect.push({p:2,test:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];if(t=wt(t,"hsl"),"array"===Ct(t)&&3===t.length)return"hsl"}});var Mt=a.unpack,St=Math.min,At=Math.max,Tt=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var i,r,o,n=(t=Mt(t,"rgb"))[0],s=t[1],a=t[2],h=St(n,s,a),l=At(n,s,a),c=l-h;return o=l/255,0===l?(i=Number.NaN,r=0):(r=c/l,n===l&&(i=(s-a)/c),s===l&&(i=2+(a-n)/c),a===l&&(i=4+(n-s)/c),(i*=60)<0&&(i+=360)),[i,r,o]},Pt=a.unpack,Ot=Math.floor,Lt=function(){for(var t,e,i,r,o,n,s=[],a=arguments.length;a--;)s[a]=arguments[a];var h,l,c,d=(s=Pt(s,"hsv"))[0],p=s[1],u=s[2];if(u*=255,0===p)h=l=c=u;else{360===d&&(d=0),d>360&&(d-=360),d<0&&(d+=360);var f=Ot(d/=60),g=d-f,m=u*(1-p),y=u*(1-p*g),v=u*(1-p*(1-g));switch(f){case 0:h=(t=[u,v,m])[0],l=t[1],c=t[2];break;case 1:h=(e=[y,u,m])[0],l=e[1],c=e[2];break;case 2:h=(i=[m,u,v])[0],l=i[1],c=i[2];break;case 3:h=(r=[m,y,u])[0],l=r[1],c=r[2];break;case 4:h=(o=[v,m,u])[0],l=o[1],c=o[2];break;case 5:h=(n=[u,m,y])[0],l=n[1],c=n[2]}}return[h,l,c,s.length>3?s[3]:1]},Et=a.unpack,Dt=a.type;u.prototype.hsv=function(){return Tt(this._rgb)},g.hsv=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(u,[null].concat(t,["hsv"])))},h.format.hsv=Lt,h.autodetect.push({p:2,test:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];if(t=Et(t,"hsv"),"array"===Dt(t)&&3===t.length)return"hsv"}});var jt=18,It=.95047,Nt=1,Bt=1.08883,zt=.137931034,Rt=.206896552,Wt=.12841855,Gt=.008856452,Ht=a.unpack,Xt=Math.pow,_t=function(t){return(t/=255)<=.04045?t/12.92:Xt((t+.055)/1.055,2.4)},Ft=function(t){return t>Gt?Xt(t,1/3):t/Wt+zt},Yt=function(t,e,i){return t=_t(t),e=_t(e),i=_t(i),[Ft((.4124564*t+.3575761*e+.1804375*i)/It),Ft((.2126729*t+.7151522*e+.072175*i)/Nt),Ft((.0193339*t+.119192*e+.9503041*i)/Bt)]},Ut=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var i=Ht(t,"rgb"),r=i[0],o=i[1],n=i[2],s=Yt(r,o,n),a=s[0],h=s[1],l=116*h-16;return[l<0?0:l,500*(a-h),200*(h-s[2])]},Vt=a.unpack,qt=Math.pow,Kt=function(t){return 255*(t<=.00304?12.92*t:1.055*qt(t,1/2.4)-.055)},Zt=function(t){return t>Rt?t*t*t:Wt*(t-zt)},$t=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var i,r,o,n=(t=Vt(t,"lab"))[0],s=t[1],a=t[2];return r=(n+16)/116,i=isNaN(s)?r:r+s/500,o=isNaN(a)?r:r-a/200,r=Nt*Zt(r),i=It*Zt(i),o=Bt*Zt(o),[Kt(3.2404542*i-1.5371385*r-.4985314*o),Kt(-.969266*i+1.8760108*r+.041556*o),Kt(.0556434*i-.2040259*r+1.0572252*o),t.length>3?t[3]:1]},Jt=a.unpack,Qt=a.type;u.prototype.lab=function(){return Ut(this._rgb)},g.lab=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(u,[null].concat(t,["lab"])))},h.format.lab=$t,h.autodetect.push({p:2,test:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];if(t=Jt(t,"lab"),"array"===Qt(t)&&3===t.length)return"lab"}});var te=a.unpack,ee=a.RAD2DEG,ie=Math.sqrt,re=Math.atan2,oe=Math.round,ne=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var i=te(t,"lab"),r=i[0],o=i[1],n=i[2],s=ie(o*o+n*n),a=(re(n,o)*ee+360)%360;return 0===oe(1e4*s)&&(a=Number.NaN),[r,s,a]},se=a.unpack,ae=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var i=se(t,"rgb"),r=i[0],o=i[1],n=i[2],s=Ut(r,o,n),a=s[0],h=s[1],l=s[2];return ne(a,h,l)},he=a.unpack,le=a.DEG2RAD,ce=Math.sin,de=Math.cos,pe=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var i=he(t,"lch"),r=i[0],o=i[1],n=i[2];return isNaN(n)&&(n=0),[r,de(n*=le)*o,ce(n)*o]},ue=a.unpack,fe=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var i=(t=ue(t,"lch"))[0],r=t[1],o=t[2],n=pe(i,r,o),s=n[0],a=n[1],h=n[2],l=$t(s,a,h);return[l[0],l[1],l[2],t.length>3?t[3]:1]},ge=a.unpack,me=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var i=ge(t,"hcl").reverse();return fe.apply(void 0,i)},ye=a.unpack,ve=a.type;u.prototype.lch=function(){return ae(this._rgb)},u.prototype.hcl=function(){return ae(this._rgb).reverse()},g.lch=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(u,[null].concat(t,["lch"])))},g.hcl=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(u,[null].concat(t,["hcl"])))},h.format.lch=fe,h.format.hcl=me,["lch","hcl"].forEach((function(t){return h.autodetect.push({p:2,test:function(){for(var e=[],i=arguments.length;i--;)e[i]=arguments[i];if(e=ye(e,t),"array"===ve(e)&&3===e.length)return t}})}));var xe={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflower:"#6495ed",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",laserlemon:"#ffff54",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrod:"#fafad2",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",maroon2:"#7f0000",maroon3:"#b03060",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",purple2:"#7f007f",purple3:"#a020f0",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},be=a.type;u.prototype.name=function(){for(var t=rt(this._rgb,"rgb"),e=0,i=Object.keys(xe);e<i.length;e+=1){var r=i[e];if(xe[r]===t)return r.toLowerCase()}return t},h.format.named=function(t){if(t=t.toLowerCase(),xe[t])return st(xe[t]);throw new Error("unknown color name: "+t)},h.autodetect.push({p:5,test:function(t){for(var e=[],i=arguments.length-1;i-- >0;)e[i]=arguments[i+1];if(!e.length&&"string"===be(t)&&xe[t.toLowerCase()])return"named"}});var ke=a.unpack,we=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var i=ke(t,"rgb");return(i[0]<<16)+(i[1]<<8)+i[2]},Ce=a.type,Me=a.type;u.prototype.num=function(){return we(this._rgb)},g.num=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(u,[null].concat(t,["num"])))},h.format.num=function(t){if("number"==Ce(t)&&t>=0&&t<=16777215)return[t>>16,t>>8&255,255&t,1];throw new Error("unknown num color: "+t)},h.autodetect.push({p:5,test:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];if(1===t.length&&"number"===Me(t[0])&&t[0]>=0&&t[0]<=16777215)return"num"}});var Se=a.unpack,Ae=a.type,Te=Math.round;u.prototype.rgb=function(t){return void 0===t&&(t=!0),!1===t?this._rgb.slice(0,3):this._rgb.slice(0,3).map(Te)},u.prototype.rgba=function(t){return void 0===t&&(t=!0),this._rgb.slice(0,4).map((function(e,i){return i<3?!1===t?e:Te(e):e}))},g.rgb=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(u,[null].concat(t,["rgb"])))},h.format.rgb=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var i=Se(t,"rgba");return void 0===i[3]&&(i[3]=1),i},h.autodetect.push({p:3,test:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];if(t=Se(t,"rgba"),"array"===Ae(t)&&(3===t.length||4===t.length&&"number"==Ae(t[3])&&t[3]>=0&&t[3]<=1))return"rgb"}});var Pe=Math.log,Oe=function(t){var e,i,r,o=t/100;return o<66?(e=255,i=-155.25485562709179-.44596950469579133*(i=o-2)+104.49216199393888*Pe(i),r=o<20?0:.8274096064007395*(r=o-10)-254.76935184120902+115.67994401066147*Pe(r)):(e=351.97690566805693+.114206453784165*(e=o-55)-40.25366309332127*Pe(e),i=325.4494125711974+.07943456536662342*(i=o-50)-28.0852963507957*Pe(i),r=255),[e,i,r,1]},Le=a.unpack,Ee=Math.round,De=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];for(var i,r=Le(t,"rgb"),o=r[0],n=r[2],s=1e3,a=4e4;a-s>.4;){var h=Oe(i=.5*(a+s));h[2]/h[0]>=n/o?a=i:s=i}return Ee(i)};u.prototype.temp=u.prototype.kelvin=u.prototype.temperature=function(){return De(this._rgb)},g.temp=g.kelvin=g.temperature=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(u,[null].concat(t,["temp"])))},h.format.temp=h.format.kelvin=h.format.temperature=Oe;var je=a.type;u.prototype.alpha=function(t,e){return void 0===e&&(e=!1),void 0!==t&&"number"===je(t)?e?(this._rgb[3]=t,this):new u([this._rgb[0],this._rgb[1],this._rgb[2],t],"rgb"):this._rgb[3]},u.prototype.clipped=function(){return this._rgb._clipped||!1},u.prototype.darken=function(t){void 0===t&&(t=1);var e=this.lab();return e[0]-=jt*t,new u(e,"lab").alpha(this.alpha(),!0)},u.prototype.brighten=function(t){return void 0===t&&(t=1),this.darken(-t)},u.prototype.darker=u.prototype.darken,u.prototype.brighter=u.prototype.brighten,u.prototype.get=function(t){var e=t.split("."),i=e[0],r=e[1],o=this[i]();if(r){var n=i.indexOf(r);if(n>-1)return o[n];throw new Error("unknown channel "+r+" in mode "+i)}return o};var Ie=a.type,Ne=Math.pow;u.prototype.luminance=function(t){if(void 0!==t&&"number"===Ie(t)){if(0===t)return new u([0,0,0,this._rgb[3]],"rgb");if(1===t)return new u([255,255,255,this._rgb[3]],"rgb");var e=this.luminance(),i=20,r=function(e,o){var n=e.interpolate(o,.5,"rgb"),s=n.luminance();return Math.abs(t-s)<1e-7||!i--?n:s>t?r(e,n):r(n,o)},o=(e>t?r(new u([0,0,0]),this):r(this,new u([255,255,255]))).rgb();return new u(o.concat([this._rgb[3]]))}return Be.apply(void 0,this._rgb.slice(0,3))};var Be=function(t,e,i){return.2126*(t=ze(t))+.7152*(e=ze(e))+.0722*ze(i)},ze=function(t){return(t/=255)<=.03928?t/12.92:Ne((t+.055)/1.055,2.4)},Re={},We=a.type,Ge=function(t,e,i){void 0===i&&(i=.5);for(var r=[],o=arguments.length-3;o-- >0;)r[o]=arguments[o+3];var n=r[0]||"lrgb";if(Re[n]||r.length||(n=Object.keys(Re)[0]),!Re[n])throw new Error("interpolation mode "+n+" is not defined");return"object"!==We(t)&&(t=new u(t)),"object"!==We(e)&&(e=new u(e)),Re[n](t,e,i).alpha(t.alpha()+i*(e.alpha()-t.alpha()))};u.prototype.mix=u.prototype.interpolate=function(t,e){void 0===e&&(e=.5);for(var i=[],r=arguments.length-2;r-- >0;)i[r]=arguments[r+2];return Ge.apply(void 0,[this,t,e].concat(i))},u.prototype.premultiply=function(t){void 0===t&&(t=!1);var e=this._rgb,i=e[3];return t?(this._rgb=[e[0]*i,e[1]*i,e[2]*i,i],this):new u([e[0]*i,e[1]*i,e[2]*i,i],"rgb")},u.prototype.saturate=function(t){void 0===t&&(t=1);var e=this.lch();return e[1]+=jt*t,e[1]<0&&(e[1]=0),new u(e,"lch").alpha(this.alpha(),!0)},u.prototype.desaturate=function(t){return void 0===t&&(t=1),this.saturate(-t)};var He=a.type;u.prototype.set=function(t,e,i){void 0===i&&(i=!1);var r=t.split("."),o=r[0],n=r[1],s=this[o]();if(n){var a=o.indexOf(n);if(a>-1){if("string"==He(e))switch(e.charAt(0)){case"+":case"-":s[a]+=+e;break;case"*":s[a]*=+e.substr(1);break;case"/":s[a]/=+e.substr(1);break;default:s[a]=+e}else{if("number"!==He(e))throw new Error("unsupported value for Color.set");s[a]=e}var h=new u(s,o);return i?(this._rgb=h._rgb,this):h}throw new Error("unknown channel "+n+" in mode "+o)}return s};Re.rgb=function(t,e,i){var r=t._rgb,o=e._rgb;return new u(r[0]+i*(o[0]-r[0]),r[1]+i*(o[1]-r[1]),r[2]+i*(o[2]-r[2]),"rgb")};var Xe=Math.sqrt,_e=Math.pow;Re.lrgb=function(t,e,i){var r=t._rgb,o=r[0],n=r[1],s=r[2],a=e._rgb,h=a[0],l=a[1],c=a[2];return new u(Xe(_e(o,2)*(1-i)+_e(h,2)*i),Xe(_e(n,2)*(1-i)+_e(l,2)*i),Xe(_e(s,2)*(1-i)+_e(c,2)*i),"rgb")};Re.lab=function(t,e,i){var r=t.lab(),o=e.lab();return new u(r[0]+i*(o[0]-r[0]),r[1]+i*(o[1]-r[1]),r[2]+i*(o[2]-r[2]),"lab")};var Fe=function(t,e,i,r){var o,n,s,a,h,l,c,d,p,f,g,m;return"hsl"===r?(s=t.hsl(),a=e.hsl()):"hsv"===r?(s=t.hsv(),a=e.hsv()):"hcg"===r?(s=t.hcg(),a=e.hcg()):"hsi"===r?(s=t.hsi(),a=e.hsi()):"lch"!==r&&"hcl"!==r||(r="hcl",s=t.hcl(),a=e.hcl()),"h"===r.substr(0,1)&&(h=(o=s)[0],c=o[1],p=o[2],l=(n=a)[0],d=n[1],f=n[2]),isNaN(h)||isNaN(l)?isNaN(h)?isNaN(l)?m=Number.NaN:(m=l,1!=p&&0!=p||"hsv"==r||(g=d)):(m=h,1!=f&&0!=f||"hsv"==r||(g=c)):m=h+i*(l>h&&l-h>180?l-(h+360):l<h&&h-l>180?l+360-h:l-h),void 0===g&&(g=c+i*(d-c)),new u([m,g,p+i*(f-p)],r)},Ye=function(t,e,i){return Fe(t,e,i,"lch")};Re.lch=Ye,Re.hcl=Ye;Re.num=function(t,e,i){var r=t.num(),o=e.num();return new u(r+i*(o-r),"num")};Re.hcg=function(t,e,i){return Fe(t,e,i,"hcg")};Re.hsi=function(t,e,i){return Fe(t,e,i,"hsi")};Re.hsl=function(t,e,i){return Fe(t,e,i,"hsl")};Re.hsv=function(t,e,i){return Fe(t,e,i,"hsv")};var Ue=a.clip_rgb,Ve=Math.pow,qe=Math.sqrt,Ke=Math.PI,Ze=Math.cos,$e=Math.sin,Je=Math.atan2,Qe=function(t,e){for(var i=t.length,r=[0,0,0,0],o=0;o<t.length;o++){var n=t[o],s=e[o]/i,a=n._rgb;r[0]+=Ve(a[0],2)*s,r[1]+=Ve(a[1],2)*s,r[2]+=Ve(a[2],2)*s,r[3]+=a[3]*s}return r[0]=qe(r[0]),r[1]=qe(r[1]),r[2]=qe(r[2]),r[3]>.9999999&&(r[3]=1),new u(Ue(r))},ti=a.type,ei=Math.pow,ii=function(t){var e="rgb",i=g("#ccc"),r=0,o=[0,1],n=[],s=[0,0],a=!1,h=[],l=!1,c=0,d=1,p=!1,u={},f=!0,m=1,y=function(t){if((t=t||["#fff","#000"])&&"string"===ti(t)&&g.brewer&&g.brewer[t.toLowerCase()]&&(t=g.brewer[t.toLowerCase()]),"array"===ti(t)){1===t.length&&(t=[t[0],t[0]]),t=t.slice(0);for(var e=0;e<t.length;e++)t[e]=g(t[e]);n.length=0;for(var i=0;i<t.length;i++)n.push(i/(t.length-1))}return k(),h=t},v=function(t){return t},x=function(t){return t},b=function(t,r){var o,l;if(null==r&&(r=!1),isNaN(t)||null===t)return i;l=r?t:a&&a.length>2?function(t){if(null!=a){for(var e=a.length-1,i=0;i<e&&t>=a[i];)i++;return i-1}return 0}(t)/(a.length-2):d!==c?(t-c)/(d-c):1,l=x(l),r||(l=v(l)),1!==m&&(l=ei(l,m)),l=s[0]+l*(1-s[0]-s[1]),l=Math.min(1,Math.max(0,l));var p=Math.floor(1e4*l);if(f&&u[p])o=u[p];else{if("array"===ti(h))for(var y=0;y<n.length;y++){var b=n[y];if(l<=b){o=h[y];break}if(l>=b&&y===n.length-1){o=h[y];break}if(l>b&&l<n[y+1]){l=(l-b)/(n[y+1]-b),o=g.interpolate(h[y],h[y+1],l,e);break}}else"function"===ti(h)&&(o=h(l));f&&(u[p]=o)}return o},k=function(){return u={}};y(t);var w=function(t){var e=g(b(t));return l&&e[l]?e[l]():e};return w.classes=function(t){if(null!=t){if("array"===ti(t))a=t,o=[t[0],t[t.length-1]];else{var e=g.analyze(o);a=0===t?[e.min,e.max]:g.limits(e,"e",t)}return w}return a},w.domain=function(t){if(!arguments.length)return o;c=t[0],d=t[t.length-1],n=[];var e=h.length;if(t.length===e&&c!==d)for(var i=0,r=Array.from(t);i<r.length;i+=1){var s=r[i];n.push((s-c)/(d-c))}else{for(var a=0;a<e;a++)n.push(a/(e-1));if(t.length>2){var l=t.map((function(e,i){return i/(t.length-1)})),p=t.map((function(t){return(t-c)/(d-c)}));p.every((function(t,e){return l[e]===t}))||(x=function(t){if(t<=0||t>=1)return t;for(var e=0;t>=p[e+1];)e++;var i=(t-p[e])/(p[e+1]-p[e]);return l[e]+i*(l[e+1]-l[e])})}}return o=[c,d],w},w.mode=function(t){return arguments.length?(e=t,k(),w):e},w.range=function(t,e){return y(t),w},w.out=function(t){return l=t,w},w.spread=function(t){return arguments.length?(r=t,w):r},w.correctLightness=function(t){return null==t&&(t=!0),p=t,k(),v=p?function(t){for(var e=b(0,!0).lab()[0],i=b(1,!0).lab()[0],r=e>i,o=b(t,!0).lab()[0],n=e+(i-e)*t,s=o-n,a=0,h=1,l=20;Math.abs(s)>.01&&l-- >0;)r&&(s*=-1),s<0?(a=t,t+=.5*(h-t)):(h=t,t+=.5*(a-t)),s=(o=b(t,!0).lab()[0])-n;return t}:function(t){return t},w},w.padding=function(t){return null!=t?("number"===ti(t)&&(t=[t,t]),s=t,w):s},w.colors=function(e,i){arguments.length<2&&(i="hex");var r=[];if(0===arguments.length)r=h.slice(0);else if(1===e)r=[w(.5)];else if(e>1){var n=o[0],s=o[1]-n;r=function(t,e,i){for(var r=[],o=t<e,n=i?o?e+1:e-1:e,s=t;o?s<n:s>n;o?s++:s--)r.push(s);return r}(0,e,!1).map((function(t){return w(n+t/(e-1)*s)}))}else{t=[];var l=[];if(a&&a.length>2)for(var c=1,d=a.length,p=1<=d;p?c<d:c>d;p?c++:c--)l.push(.5*(a[c-1]+a[c]));else l=o;r=l.map((function(t){return w(t)}))}return g[i]&&(r=r.map((function(t){return t[i]()}))),r},w.cache=function(t){return null!=t?(f=t,w):f},w.gamma=function(t){return null!=t?(m=t,w):m},w.nodata=function(t){return null!=t?(i=g(t),w):i},w};var ri=function(t){var e,i,r,o,n,s,a;if(2===(t=t.map((function(t){return new u(t)}))).length)e=t.map((function(t){return t.lab()})),n=e[0],s=e[1],o=function(t){var e=[0,1,2].map((function(e){return n[e]+t*(s[e]-n[e])}));return new u(e,"lab")};else if(3===t.length)i=t.map((function(t){return t.lab()})),n=i[0],s=i[1],a=i[2],o=function(t){var e=[0,1,2].map((function(e){return(1-t)*(1-t)*n[e]+2*(1-t)*t*s[e]+t*t*a[e]}));return new u(e,"lab")};else if(4===t.length){var h;r=t.map((function(t){return t.lab()})),n=r[0],s=r[1],a=r[2],h=r[3],o=function(t){var e=[0,1,2].map((function(e){return(1-t)*(1-t)*(1-t)*n[e]+3*(1-t)*(1-t)*t*s[e]+3*(1-t)*t*t*a[e]+t*t*t*h[e]}));return new u(e,"lab")}}else if(5===t.length){var l=ri(t.slice(0,3)),c=ri(t.slice(2,5));o=function(t){return t<.5?l(2*t):c(2*(t-.5))}}return o},oi=function(t,e,i){if(!oi[i])throw new Error("unknown blend mode "+i);return oi[i](t,e)},ni=function(t){return function(e,i){var r=g(i).rgb(),o=g(e).rgb();return g.rgb(t(r,o))}},si=function(t){return function(e,i){var r=[];return r[0]=t(e[0],i[0]),r[1]=t(e[1],i[1]),r[2]=t(e[2],i[2]),r}};oi.normal=ni(si((function(t){return t}))),oi.multiply=ni(si((function(t,e){return t*e/255}))),oi.screen=ni(si((function(t,e){return 255*(1-(1-t/255)*(1-e/255))}))),oi.overlay=ni(si((function(t,e){return e<128?2*t*e/255:255*(1-2*(1-t/255)*(1-e/255))}))),oi.darken=ni(si((function(t,e){return t>e?e:t}))),oi.lighten=ni(si((function(t,e){return t>e?t:e}))),oi.dodge=ni(si((function(t,e){return 255===t||(t=e/255*255/(1-t/255))>255?255:t}))),oi.burn=ni(si((function(t,e){return 255*(1-(1-e/255)/(t/255))})));for(var ai=oi,hi=a.type,li=a.clip_rgb,ci=a.TWOPI,di=Math.pow,pi=Math.sin,ui=Math.cos,fi=Math.floor,gi=Math.random,mi=Math.log,yi=Math.pow,vi=Math.floor,xi=Math.abs,bi=function(t,e){void 0===e&&(e=null);var i={min:Number.MAX_VALUE,max:-1*Number.MAX_VALUE,sum:0,values:[],count:0};return"object"===n(t)&&(t=Object.values(t)),t.forEach((function(t){e&&"object"===n(t)&&(t=t[e]),null==t||isNaN(t)||(i.values.push(t),i.sum+=t,t<i.min&&(i.min=t),t>i.max&&(i.max=t),i.count+=1)})),i.domain=[i.min,i.max],i.limits=function(t,e){return ki(i,t,e)},i},ki=function(t,e,i){void 0===e&&(e="equal"),void 0===i&&(i=7),"array"==n(t)&&(t=bi(t));var r=t.min,o=t.max,s=t.values.sort((function(t,e){return t-e}));if(1===i)return[r,o];var a=[];if("c"===e.substr(0,1)&&(a.push(r),a.push(o)),"e"===e.substr(0,1)){a.push(r);for(var h=1;h<i;h++)a.push(r+h/i*(o-r));a.push(o)}else if("l"===e.substr(0,1)){if(r<=0)throw new Error("Logarithmic scales are only possible for values > 0");var l=Math.LOG10E*mi(r),c=Math.LOG10E*mi(o);a.push(r);for(var d=1;d<i;d++)a.push(yi(10,l+d/i*(c-l)));a.push(o)}else if("q"===e.substr(0,1)){a.push(r);for(var p=1;p<i;p++){var u=(s.length-1)*p/i,f=vi(u);if(f===u)a.push(s[f]);else{var g=u-f;a.push(s[f]*(1-g)+s[f+1]*g)}}a.push(o)}else if("k"===e.substr(0,1)){var m,y=s.length,v=new Array(y),x=new Array(i),b=!0,k=0,w=null;(w=[]).push(r);for(var C=1;C<i;C++)w.push(r+C/i*(o-r));for(w.push(o);b;){for(var M=0;M<i;M++)x[M]=0;for(var S=0;S<y;S++)for(var A=s[S],T=Number.MAX_VALUE,P=void 0,O=0;O<i;O++){var L=xi(w[O]-A);L<T&&(T=L,P=O),x[P]++,v[S]=P}for(var E=new Array(i),D=0;D<i;D++)E[D]=null;for(var j=0;j<y;j++)null===E[m=v[j]]?E[m]=s[j]:E[m]+=s[j];for(var I=0;I<i;I++)E[I]*=1/x[I];b=!1;for(var N=0;N<i;N++)if(E[N]!==w[N]){b=!0;break}w=E,++k>200&&(b=!1)}for(var B={},z=0;z<i;z++)B[z]=[];for(var R=0;R<y;R++)B[m=v[R]].push(s[R]);for(var W=[],G=0;G<i;G++)W.push(B[G][0]),W.push(B[G][B[G].length-1]);W=W.sort((function(t,e){return t-e})),a.push(W[0]);for(var H=1;H<W.length;H+=2){var X=W[H];isNaN(X)||-1!==a.indexOf(X)||a.push(X)}}return a},wi={analyze:bi,limits:ki},Ci=Math.sqrt,Mi=Math.atan2,Si=Math.abs,Ai=Math.cos,Ti=Math.PI,Pi={cool:function(){return ii([g.hsl(180,1,.9),g.hsl(250,.7,.4)])},hot:function(){return ii(["#000","#f00","#ff0","#fff"]).mode("rgb")}},Oi={OrRd:["#fff7ec","#fee8c8","#fdd49e","#fdbb84","#fc8d59","#ef6548","#d7301f","#b30000","#7f0000"],PuBu:["#fff7fb","#ece7f2","#d0d1e6","#a6bddb","#74a9cf","#3690c0","#0570b0","#045a8d","#023858"],BuPu:["#f7fcfd","#e0ecf4","#bfd3e6","#9ebcda","#8c96c6","#8c6bb1","#88419d","#810f7c","#4d004b"],Oranges:["#fff5eb","#fee6ce","#fdd0a2","#fdae6b","#fd8d3c","#f16913","#d94801","#a63603","#7f2704"],BuGn:["#f7fcfd","#e5f5f9","#ccece6","#99d8c9","#66c2a4","#41ae76","#238b45","#006d2c","#00441b"],YlOrBr:["#ffffe5","#fff7bc","#fee391","#fec44f","#fe9929","#ec7014","#cc4c02","#993404","#662506"],YlGn:["#ffffe5","#f7fcb9","#d9f0a3","#addd8e","#78c679","#41ab5d","#238443","#006837","#004529"],Reds:["#fff5f0","#fee0d2","#fcbba1","#fc9272","#fb6a4a","#ef3b2c","#cb181d","#a50f15","#67000d"],RdPu:["#fff7f3","#fde0dd","#fcc5c0","#fa9fb5","#f768a1","#dd3497","#ae017e","#7a0177","#49006a"],Greens:["#f7fcf5","#e5f5e0","#c7e9c0","#a1d99b","#74c476","#41ab5d","#238b45","#006d2c","#00441b"],YlGnBu:["#ffffd9","#edf8b1","#c7e9b4","#7fcdbb","#41b6c4","#1d91c0","#225ea8","#253494","#081d58"],Purples:["#fcfbfd","#efedf5","#dadaeb","#bcbddc","#9e9ac8","#807dba","#6a51a3","#54278f","#3f007d"],GnBu:["#f7fcf0","#e0f3db","#ccebc5","#a8ddb5","#7bccc4","#4eb3d3","#2b8cbe","#0868ac","#084081"],Greys:["#ffffff","#f0f0f0","#d9d9d9","#bdbdbd","#969696","#737373","#525252","#252525","#000000"],YlOrRd:["#ffffcc","#ffeda0","#fed976","#feb24c","#fd8d3c","#fc4e2a","#e31a1c","#bd0026","#800026"],PuRd:["#f7f4f9","#e7e1ef","#d4b9da","#c994c7","#df65b0","#e7298a","#ce1256","#980043","#67001f"],Blues:["#f7fbff","#deebf7","#c6dbef","#9ecae1","#6baed6","#4292c6","#2171b5","#08519c","#08306b"],PuBuGn:["#fff7fb","#ece2f0","#d0d1e6","#a6bddb","#67a9cf","#3690c0","#02818a","#016c59","#014636"],Viridis:["#440154","#482777","#3f4a8a","#31678e","#26838f","#1f9d8a","#6cce5a","#b6de2b","#fee825"],Spectral:["#9e0142","#d53e4f","#f46d43","#fdae61","#fee08b","#ffffbf","#e6f598","#abdda4","#66c2a5","#3288bd","#5e4fa2"],RdYlGn:["#a50026","#d73027","#f46d43","#fdae61","#fee08b","#ffffbf","#d9ef8b","#a6d96a","#66bd63","#1a9850","#006837"],RdBu:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#f7f7f7","#d1e5f0","#92c5de","#4393c3","#2166ac","#053061"],PiYG:["#8e0152","#c51b7d","#de77ae","#f1b6da","#fde0ef","#f7f7f7","#e6f5d0","#b8e186","#7fbc41","#4d9221","#276419"],PRGn:["#40004b","#762a83","#9970ab","#c2a5cf","#e7d4e8","#f7f7f7","#d9f0d3","#a6dba0","#5aae61","#1b7837","#00441b"],RdYlBu:["#a50026","#d73027","#f46d43","#fdae61","#fee090","#ffffbf","#e0f3f8","#abd9e9","#74add1","#4575b4","#313695"],BrBG:["#543005","#8c510a","#bf812d","#dfc27d","#f6e8c3","#f5f5f5","#c7eae5","#80cdc1","#35978f","#01665e","#003c30"],RdGy:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#ffffff","#e0e0e0","#bababa","#878787","#4d4d4d","#1a1a1a"],PuOr:["#7f3b08","#b35806","#e08214","#fdb863","#fee0b6","#f7f7f7","#d8daeb","#b2abd2","#8073ac","#542788","#2d004b"],Set2:["#66c2a5","#fc8d62","#8da0cb","#e78ac3","#a6d854","#ffd92f","#e5c494","#b3b3b3"],Accent:["#7fc97f","#beaed4","#fdc086","#ffff99","#386cb0","#f0027f","#bf5b17","#666666"],Set1:["#e41a1c","#377eb8","#4daf4a","#984ea3","#ff7f00","#ffff33","#a65628","#f781bf","#999999"],Set3:["#8dd3c7","#ffffb3","#bebada","#fb8072","#80b1d3","#fdb462","#b3de69","#fccde5","#d9d9d9","#bc80bd","#ccebc5","#ffed6f"],Dark2:["#1b9e77","#d95f02","#7570b3","#e7298a","#66a61e","#e6ab02","#a6761d","#666666"],Paired:["#a6cee3","#1f78b4","#b2df8a","#33a02c","#fb9a99","#e31a1c","#fdbf6f","#ff7f00","#cab2d6","#6a3d9a","#ffff99","#b15928"],Pastel2:["#b3e2cd","#fdcdac","#cbd5e8","#f4cae4","#e6f5c9","#fff2ae","#f1e2cc","#cccccc"],Pastel1:["#fbb4ae","#b3cde3","#ccebc5","#decbe4","#fed9a6","#ffffcc","#e5d8bd","#fddaec","#f2f2f2"]},Li=0,Ei=Object.keys(Oi);Li<Ei.length;Li+=1){var Di=Ei[Li];Oi[Di.toLowerCase()]=Oi[Di]}var ji=Oi;return g.average=function(t,e,i){void 0===e&&(e="lrgb"),void 0===i&&(i=null);var r=t.length;i||(i=Array.from(new Array(r)).map((function(){return 1})));var o=r/i.reduce((function(t,e){return t+e}));if(i.forEach((function(t,e){i[e]*=o})),t=t.map((function(t){return new u(t)})),"lrgb"===e)return Qe(t,i);for(var n=t.shift(),s=n.get(e),a=[],h=0,l=0,c=0;c<s.length;c++)if(s[c]=(s[c]||0)*i[0],a.push(isNaN(s[c])?0:i[0]),"h"===e.charAt(c)&&!isNaN(s[c])){var d=s[c]/180*Ke;h+=Ze(d)*i[0],l+=$e(d)*i[0]}var p=n.alpha()*i[0];t.forEach((function(t,r){var o=t.get(e);p+=t.alpha()*i[r+1];for(var n=0;n<s.length;n++)if(!isNaN(o[n]))if(a[n]+=i[r+1],"h"===e.charAt(n)){var c=o[n]/180*Ke;h+=Ze(c)*i[r+1],l+=$e(c)*i[r+1]}else s[n]+=o[n]*i[r+1]}));for(var f=0;f<s.length;f++)if("h"===e.charAt(f)){for(var g=Je(l/a[f],h/a[f])/Ke*180;g<0;)g+=360;for(;g>=360;)g-=360;s[f]=g}else s[f]=s[f]/a[f];return p/=r,new u(s,e).alpha(p>.99999?1:p,!0)},g.bezier=function(t){var e=ri(t);return e.scale=function(){return ii(e)},e},g.blend=ai,g.cubehelix=function(t,e,i,r,o){void 0===t&&(t=300),void 0===e&&(e=-1.5),void 0===i&&(i=1),void 0===r&&(r=1),void 0===o&&(o=[0,1]);var n,s=0;"array"===hi(o)?n=o[1]-o[0]:(n=0,o=[o,o]);var a=function(a){var h=ci*((t+120)/360+e*a),l=di(o[0]+n*a,r),c=(0!==s?i[0]+a*s:i)*l*(1-l)/2,d=ui(h),p=pi(h);return g(li([255*(l+c*(-.14861*d+1.78277*p)),255*(l+c*(-.29227*d-.90649*p)),255*(l+c*(1.97294*d)),1]))};return a.start=function(e){return null==e?t:(t=e,a)},a.rotations=function(t){return null==t?e:(e=t,a)},a.gamma=function(t){return null==t?r:(r=t,a)},a.hue=function(t){return null==t?i:("array"===hi(i=t)?0==(s=i[1]-i[0])&&(i=i[1]):s=0,a)},a.lightness=function(t){return null==t?o:("array"===hi(t)?(o=t,n=t[1]-t[0]):(o=[t,t],n=0),a)},a.scale=function(){return g.scale(a)},a.hue(i),a},g.mix=g.interpolate=Ge,g.random=function(){for(var t="#",e=0;e<6;e++)t+="0123456789abcdef".charAt(fi(16*gi()));return new u(t,"hex")},g.scale=ii,g.analyze=wi.analyze,g.contrast=function(t,e){t=new u(t),e=new u(e);var i=t.luminance(),r=e.luminance();return i>r?(i+.05)/(r+.05):(r+.05)/(i+.05)},g.deltaE=function(t,e,i,r){void 0===i&&(i=1),void 0===r&&(r=1),t=new u(t),e=new u(e);for(var o=Array.from(t.lab()),n=o[0],s=o[1],a=o[2],h=Array.from(e.lab()),l=h[0],c=h[1],d=h[2],p=Ci(s*s+a*a),f=Ci(c*c+d*d),g=n<16?.511:.040975*n/(1+.01765*n),m=.0638*p/(1+.0131*p)+.638,y=p<1e-6?0:180*Mi(a,s)/Ti;y<0;)y+=360;for(;y>=360;)y-=360;var v=y>=164&&y<=345?.56+Si(.2*Ai(Ti*(y+168)/180)):.36+Si(.4*Ai(Ti*(y+35)/180)),x=p*p*p*p,b=Ci(x/(x+1900)),k=m*(b*v+1-b),w=p-f,C=s-c,M=a-d,S=(n-l)/(i*g),A=w/(r*m);return Ci(S*S+A*A+(C*C+M*M-w*w)/(k*k))},g.distance=function(t,e,i){void 0===i&&(i="lab"),t=new u(t),e=new u(e);var r=t.get(i),o=e.get(i),n=0;for(var s in r){var a=(r[s]||0)-(o[s]||0);n+=a*a}return Math.sqrt(n)},g.limits=wi.limits,g.valid=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];try{return new(Function.prototype.bind.apply(u,[null].concat(t))),!0}catch(t){return!1}},g.scales=Pi,g.colors=xe,g.brewer=ji,g}()},70312:function(t,e,i){var r,o;"undefined"!=typeof self&&self,t.exports=(r=i(32735),o=i(72306),function(t){function e(r){if(i[r])return i[r].exports;var o=i[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var i={};return e.m=t,e.c=i,e.d=function(t,i,r){e.o(t,i)||Object.defineProperty(t,i,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(i,"a",i),i},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=0)}([function(t,e,i){"use strict";function r(){return r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},r.apply(this,arguments)}function o(t){return function(t){if(Array.isArray(t)){for(var e=0,i=new Array(t.length);e<t.length;e++)i[e]=t[e];return i}}(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")}()}Object.defineProperty(e,"__esModule",{value:!0});var n=i(1),s=i.n(n),a=i(2),h=i.n(a),l="undefined"!=typeof window?n.useLayoutEffect:n.useEffect,c=Object(n.forwardRef)((function(t,e){var i=Object(n.useRef)(),a=Object(n.useRef)();return l((function(){function e(){var e=t.highcharts||h.a,r=t.constructorType||"chart";e?e[r]?t.options?a.current=e[r](i.current,t.options,t.callback?t.callback:void 0):console.warn('The "options" property was not passed.'):console.warn('The "constructorType" property is incorrect or some required module is not imported.'):console.warn('The "highcharts" property was not passed.')}if(a.current){if(!1!==t.allowChartUpdate)if(!t.immutable&&a.current){var r;(r=a.current).update.apply(r,[t.options].concat(o(t.updateArgs||[!0,!0])))}else e()}else e()})),l((function(){return function(){a.current&&(a.current.destroy(),a.current=null)}}),[]),Object(n.useImperativeHandle)(e,(function(){return{get chart(){return a.current},container:i}}),[]),s.a.createElement("div",r({},t.containerProps,{ref:i}))}));e.default=Object(n.memo)(c)},function(t,e){t.exports=r},function(t,e){t.exports=o}]))},72306:function(t,e,i){var r,o,n;o="undefined"!=typeof window?window:this,n=function(t){function e(t,e,i,r){t.hasOwnProperty(e)||(t[e]=r.apply(null,i))}var i={};return e(i,"Core/Globals.js",[],(function(){var e,i=void 0!==t?t:"undefined"!=typeof window?window:{};return function(t){t.SVG_NS="http://www.w3.org/2000/svg",t.product="Highcharts",t.version="9.1.0",t.win=i,t.doc=t.win.document,t.svg=t.doc&&t.doc.createElementNS&&!!t.doc.createElementNS(t.SVG_NS,"svg").createSVGRect,t.userAgent=t.win.navigator&&t.win.navigator.userAgent||"",t.isChrome=-1!==t.userAgent.indexOf("Chrome"),t.isFirefox=-1!==t.userAgent.indexOf("Firefox"),t.isMS=/(edge|msie|trident)/i.test(t.userAgent)&&!t.win.opera,t.isSafari=!t.isChrome&&-1!==t.userAgent.indexOf("Safari"),t.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(t.userAgent),t.isWebKit=-1!==t.userAgent.indexOf("AppleWebKit"),t.deg2rad=2*Math.PI/360,t.hasBidiBug=t.isFirefox&&4>parseInt(t.userAgent.split("Firefox/")[1],10),t.hasTouch=!!t.win.TouchEvent,t.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],t.noop=function(){},t.supportsPassiveEvents=function(){var e=!1;if(!t.isMS){var i=Object.defineProperty({},"passive",{get:function(){e=!0}});t.win.addEventListener&&t.win.removeEventListener&&(t.win.addEventListener("testPassive",t.noop,i),t.win.removeEventListener("testPassive",t.noop,i))}return e}(),t.charts=[],t.dateFormats={},t.seriesTypes={},t.symbolSizes={}}(e||(e={})),e})),e(i,"Core/Utilities.js",[i["Core/Globals.js"]],(function(t){function e(t,i,r,o){var n=i?"Highcharts error":"Highcharts warning";32===t&&(t=n+": Deprecated member");var s=h(t),a=s?n+" #"+t+": www.highcharts.com/errors/"+t+"/":t.toString();if(void 0!==o){var l="";s&&(a+="?"),m(o,(function(t,e){l+="\n - "+e+": "+t,s&&(a+=encodeURI(e)+"="+encodeURI(t))})),a+=l}v(Highcharts,"displayError",{chart:r,code:t,message:a,params:o},(function(){if(i)throw Error(a);w.console&&-1===e.messages.indexOf(a)&&console.warn(a)})),e.messages.push(a)}function i(t,e){return parseInt(t,e||10)}function r(t){return"string"==typeof t}function o(t){return"[object Array]"===(t=Object.prototype.toString.call(t))||"[object Array Iterator]"===t}function n(t,e){return!(!t||"object"!=typeof t||e&&o(t))}function s(t){return n(t)&&"number"==typeof t.nodeType}function a(t){var e=t&&t.constructor;return!(!n(t,!0)||s(t)||!e||!e.name||"Object"===e.name)}function h(t){return"number"==typeof t&&!isNaN(t)&&1/0>t&&-1/0<t}function l(t){return null!=t}function c(t,e,i){var o;return r(e)?l(i)?t.setAttribute(e,i):t&&t.getAttribute&&((o=t.getAttribute(e))||"class"!==e||(o=t.getAttribute(e+"Name"))):m(e,(function(e,i){t.setAttribute(i,e)})),o}function d(t,e){var i;for(i in t||(t={}),e)t[i]=e[i];return t}function p(){for(var t=arguments,e=t.length,i=0;i<e;i++){var r=t[i];if(null!=r)return r}}function u(e,i){t.isMS&&!t.svg&&i&&void 0!==i.opacity&&(i.filter="alpha(opacity="+100*i.opacity+")"),d(e.style,i)}function f(t,e,i,r,o){return t=k.createElement(t),e&&d(t,e),o&&u(t,{padding:"0",border:"none",margin:"0"}),i&&u(t,i),r&&r.appendChild(t),t}function g(t,e){return parseFloat(t.toPrecision(e||14))}function m(t,e,i){for(var r in t)Object.hasOwnProperty.call(t,r)&&e.call(i||t[r],t[r],r,t)}function y(e,i,r){function o(i,r){var o=e.removeEventListener||t.removeEventListenerPolyfill;o&&o.call(e,i,r,!1)}function n(t){var r;if(e.nodeName){if(i){var n={};n[i]=!0}else n=t;m(n,(function(e,i){if(t[i])for(r=t[i].length;r--;)o(i,t[i][r].fn)}))}}var s="function"==typeof e&&e.prototype||e;if(Object.hasOwnProperty.call(s,"hcEvents")){var a=s.hcEvents;i?(s=a[i]||[],r?(a[i]=s.filter((function(t){return r!==t.fn})),o(i,r)):(n(a),a[i]=[])):(n(a),delete s.hcEvents)}}function v(e,i,r,o){if(r=r||{},k.createEvent&&(e.dispatchEvent||e.fireEvent&&e!==t)){var n=k.createEvent("Events");n.initEvent(i,!0,!0),r=d(n,r),e.dispatchEvent?e.dispatchEvent(r):e.fireEvent(i,r)}else if(e.hcEvents){r.target||d(r,{preventDefault:function(){r.defaultPrevented=!0},target:e,type:i}),n=[];for(var s=e,a=!1;s.hcEvents;)Object.hasOwnProperty.call(s,"hcEvents")&&s.hcEvents[i]&&(n.length&&(a=!0),n.unshift.apply(n,s.hcEvents[i])),s=Object.getPrototypeOf(s);a&&n.sort((function(t,e){return t.order-e.order})),n.forEach((function(t){!1===t.fn.call(e,r)&&r.preventDefault()}))}o&&!r.defaultPrevented&&o.call(e,r)}var x,b=t.charts,k=t.doc,w=t.win;(e||(e={})).messages=[],Math.easeInOutSine=function(t){return-.5*(Math.cos(Math.PI*t)-1)};var C=Array.prototype.find?function(t,e){return t.find(e)}:function(t,e){var i,r=t.length;for(i=0;i<r;i++)if(e(t[i],i))return t[i]};m({map:"map",each:"forEach",grep:"filter",reduce:"reduce",some:"some"},(function(i,r){t[r]=function(t){var o;return e(32,!1,void 0,((o={})["Highcharts."+r]="use Array."+i,o)),Array.prototype[i].apply(t,[].slice.call(arguments,1))}}));var M,S=function(){var t=Math.random().toString(36).substring(2,9)+"-",e=0;return function(){return"highcharts-"+(M?"":t)+e++}}();return w.jQuery&&(w.jQuery.fn.highcharts=function(){var e=[].slice.call(arguments);if(this[0])return e[0]?(new(t[r(e[0])?e.shift():"Chart"])(this[0],e[0],e[1]),this):b[c(this[0],"data-highcharts-chart")]}),{addEvent:function(e,i,r,o){void 0===o&&(o={});var n="function"==typeof e&&e.prototype||e;Object.hasOwnProperty.call(n,"hcEvents")||(n.hcEvents={}),n=n.hcEvents,t.Point&&e instanceof t.Point&&e.series&&e.series.chart&&(e.series.chart.runTrackerClick=!0);var s=e.addEventListener||t.addEventListenerPolyfill;return s&&s.call(e,i,r,!!t.supportsPassiveEvents&&{passive:void 0===o.passive?-1!==i.indexOf("touch"):o.passive,capture:!1}),n[i]||(n[i]=[]),n[i].push({fn:r,order:"number"==typeof o.order?o.order:1/0}),n[i].sort((function(t,e){return t.order-e.order})),function(){y(e,i,r)}},arrayMax:function(t){for(var e=t.length,i=t[0];e--;)t[e]>i&&(i=t[e]);return i},arrayMin:function(t){for(var e=t.length,i=t[0];e--;)t[e]<i&&(i=t[e]);return i},attr:c,clamp:function(t,e,i){return t>e?t<i?t:i:e},cleanRecursively:function t(e,i){var r={};return m(e,(function(o,s){n(e[s],!0)&&!e.nodeType&&i[s]?(o=t(e[s],i[s]),Object.keys(o).length&&(r[s]=o)):(n(e[s])||e[s]!==i[s])&&(r[s]=e[s])})),r},clearTimeout:function(t){l(t)&&clearTimeout(t)},correctFloat:g,createElement:f,css:u,defined:l,destroyObjectProperties:function(t,e){m(t,(function(i,r){i&&i!==e&&i.destroy&&i.destroy(),delete t[r]}))},discardElement:function(t){x||(x=f("div")),t&&x.appendChild(t),x.innerHTML=""},erase:function(t,e){for(var i=t.length;i--;)if(t[i]===e){t.splice(i,1);break}},error:e,extend:d,extendClass:function(t,e){var i=function(){};return d(i.prototype=new t,e),i},find:C,fireEvent:v,getMagnitude:function(t){return Math.pow(10,Math.floor(Math.log(t)/Math.LN10))},getNestedProperty:function(t,e){for(t=t.split(".");t.length&&l(e);){var i=t.shift();if(void 0===i||"__proto__"===i)return;if(!l(e=e[i])||"function"==typeof e||"number"==typeof e.nodeType||e===w)return}return e},getStyle:function r(o,n,s){var a=t.getStyle||r;if("width"===n)return n=Math.min(o.offsetWidth,o.scrollWidth),(s=o.getBoundingClientRect&&o.getBoundingClientRect().width)<n&&s>=n-1&&(n=Math.floor(s)),Math.max(0,n-(a(o,"padding-left",!0)||0)-(a(o,"padding-right",!0)||0));if("height"===n)return Math.max(0,Math.min(o.offsetHeight,o.scrollHeight)-(a(o,"padding-top",!0)||0)-(a(o,"padding-bottom",!0)||0));if(w.getComputedStyle||e(27,!0),o=w.getComputedStyle(o,void 0)){var h=o.getPropertyValue(n);p(s,"opacity"!==n)&&(h=i(h))}return h},inArray:function(t,i,r){return e(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"}),i.indexOf(t,r)},isArray:o,isClass:a,isDOMElement:s,isFunction:function(t){return"function"==typeof t},isNumber:h,isObject:n,isString:r,keys:function(t){return e(32,!1,void 0,{"Highcharts.keys":"use Object.keys"}),Object.keys(t)},merge:function(){var t,e=arguments,i={},r=function(t,e){return"object"!=typeof t&&(t={}),m(e,(function(i,o){"__proto__"!==o&&"constructor"!==o&&(!n(i,!0)||a(i)||s(i)?t[o]=e[o]:t[o]=r(t[o]||{},i))})),t};!0===e[0]&&(i=e[1],e=Array.prototype.slice.call(e,2));var o=e.length;for(t=0;t<o;t++)i=r(i,e[t]);return i},normalizeTickInterval:function(t,e,i,r,o){var n=t,s=t/(i=p(i,1));for(e||(e=o?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],!1===r&&(1===i?e=e.filter((function(t){return 0==t%1})):.1>=i&&(e=[1/i]))),r=0;r<e.length&&(n=e[r],!(o&&n*i>=t||!o&&s<=(e[r]+(e[r+1]||e[r]))/2));r++);return g(n*i,-Math.round(Math.log(.001)/Math.LN10))},objectEach:m,offset:function(t){var e=k.documentElement;return{top:(t=t.parentElement||t.parentNode?t.getBoundingClientRect():{top:0,left:0,width:0,height:0}).top+(w.pageYOffset||e.scrollTop)-(e.clientTop||0),left:t.left+(w.pageXOffset||e.scrollLeft)-(e.clientLeft||0),width:t.width,height:t.height}},pad:function(t,e,i){return Array((e||2)+1-String(t).replace("-","").length).join(i||"0")+t},pick:p,pInt:i,relativeLength:function(t,e,i){return/%$/.test(t)?e*parseFloat(t)/100+(i||0):parseFloat(t)},removeEvent:y,splat:function(t){return o(t)?t:[t]},stableSort:function(t,e){var i,r,o=t.length;for(r=0;r<o;r++)t[r].safeI=r;for(t.sort((function(t,r){return 0===(i=e(t,r))?t.safeI-r.safeI:i})),r=0;r<o;r++)delete t[r].safeI},syncTimeout:function(t,e,i){return 0<e?setTimeout(t,e,i):(t.call(0,i),-1)},timeUnits:{millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},uniqueKey:S,useSerialIds:function(t){return M=p(t,M)},wrap:function(t,e,i){var r=t[e];t[e]=function(){var t=Array.prototype.slice.call(arguments),e=arguments,o=this;return o.proceed=function(){r.apply(o,arguments.length?arguments:e)},t.unshift(r),t=i.apply(this,t),o.proceed=null,t}}}})),e(i,"Core/Color/Color.js",[i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e){var i=e.isNumber,r=e.merge,o=e.pInt;return e=function(){function e(i){return this.parsers=[{regex:/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]?(?:\.[0-9]+)?)\s*\)/,parse:function(t){return[o(t[1]),o(t[2]),o(t[3]),parseFloat(t[4],10)]}},{regex:/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/,parse:function(t){return[o(t[1]),o(t[2]),o(t[3]),1]}}],this.rgba=[],t.Color!==e?new t.Color(i):this instanceof e?void this.init(i):new e(i)}return e.parse=function(t){return new e(t)},e.prototype.init=function(t){var i,r;if((this.input=t=e.names[t&&t.toLowerCase?t.toLowerCase():""]||t)&&t.stops)this.stops=t.stops.map((function(t){return new e(t[1])}));else{if(t&&t.charAt&&"#"===t.charAt()){var o=t.length;t=parseInt(t.substr(1),16),7===o?i=[(16711680&t)>>16,(65280&t)>>8,255&t,1]:4===o&&(i=[(3840&t)>>4|(3840&t)>>8,(240&t)>>4|240&t,(15&t)<<4|15&t,1])}if(!i)for(r=this.parsers.length;r--&&!i;){var n=this.parsers[r];(o=n.regex.exec(t))&&(i=n.parse(o))}}this.rgba=i||[]},e.prototype.get=function(t){var e=this.input,o=this.rgba;if(void 0!==this.stops){var n=r(e);n.stops=[].concat(n.stops),this.stops.forEach((function(e,i){n.stops[i]=[n.stops[i][0],e.get(t)]}))}else n=o&&i(o[0])?"rgb"===t||!t&&1===o[3]?"rgb("+o[0]+","+o[1]+","+o[2]+")":"a"===t?o[3]:"rgba("+o.join(",")+")":e;return n},e.prototype.brighten=function(t){var e,r=this.rgba;if(this.stops)this.stops.forEach((function(e){e.brighten(t)}));else if(i(t)&&0!==t)for(e=0;3>e;e++)r[e]+=o(255*t),0>r[e]&&(r[e]=0),255<r[e]&&(r[e]=255);return this},e.prototype.setOpacity=function(t){return this.rgba[3]=t,this},e.prototype.tweenTo=function(t,e){var i=this.rgba,r=t.rgba;return r.length&&i&&i.length?((t=1!==r[3]||1!==i[3])?"rgba(":"rgb(")+Math.round(r[0]+(i[0]-r[0])*(1-e))+","+Math.round(r[1]+(i[1]-r[1])*(1-e))+","+Math.round(r[2]+(i[2]-r[2])*(1-e))+(t?","+(r[3]+(i[3]-r[3])*(1-e)):"")+")":t.input||"none"},e.names={white:"#ffffff",black:"#000000"},e}(),t.Color=e,t.color=e.parse,e})),e(i,"Core/Color/Palette.js",[],(function(){return{colors:"#7cb5ec #434348 #90ed7d #f7a35c #8085e9 #f15c80 #e4d354 #2b908f #f45b5b #91e8e1".split(" "),backgroundColor:"#ffffff",neutralColor100:"#000000",neutralColor80:"#333333",neutralColor60:"#666666",neutralColor40:"#999999",neutralColor20:"#cccccc",neutralColor10:"#e6e6e6",neutralColor5:"#f2f2f2",neutralColor3:"#f7f7f7",highlightColor100:"#003399",highlightColor80:"#335cad",highlightColor60:"#6685c2",highlightColor20:"#ccd6eb",highlightColor10:"#e6ebf5",positiveColor:"#06b535",negativeColor:"#f21313"}})),e(i,"Core/Time.js",[i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e){var i=t.win,r=e.defined,o=e.error,n=e.extend,s=e.isObject,a=e.merge,h=e.objectEach,l=e.pad,c=e.pick,d=e.splat,p=e.timeUnits;return e=function(){function e(t){this.options={},this.variableTimezone=this.useUTC=!1,this.Date=i.Date,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.update(t)}return e.prototype.get=function(t,e){if(this.variableTimezone||this.timezoneOffset){var i=e.getTime(),r=i-this.getTimezoneOffset(e);return e.setTime(r),t=e["getUTC"+t](),e.setTime(i),t}return this.useUTC?e["getUTC"+t]():e["get"+t]()},e.prototype.set=function(t,e,i){if(this.variableTimezone||this.timezoneOffset){if("Milliseconds"===t||"Seconds"===t||"Minutes"===t&&0==this.getTimezoneOffset(e)%36e5)return e["setUTC"+t](i);var r=this.getTimezoneOffset(e);return r=e.getTime()-r,e.setTime(r),e["setUTC"+t](i),t=this.getTimezoneOffset(e),r=e.getTime()+t,e.setTime(r)}return this.useUTC?e["setUTC"+t](i):e["set"+t](i)},e.prototype.update=function(t){var e=c(t&&t.useUTC,!0);this.options=t=a(!0,this.options||{},t),this.Date=t.Date||i.Date||Date,this.timezoneOffset=(this.useUTC=e)&&t.timezoneOffset,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.variableTimezone=e&&!(!t.getTimezoneOffset&&!t.timezone)},e.prototype.makeTime=function(e,i,r,o,n,s){if(this.useUTC){var a=this.Date.UTC.apply(0,arguments),h=this.getTimezoneOffset(a);a+=h;var l=this.getTimezoneOffset(a);h!==l?a+=l-h:h-36e5!==this.getTimezoneOffset(a-36e5)||t.isSafari||(a-=36e5)}else a=new this.Date(e,i,c(r,1),c(o,0),c(n,0),c(s,0)).getTime();return a},e.prototype.timezoneOffsetFunction=function(){var t=this,e=this.options,r=e.moment||i.moment;if(!this.useUTC)return function(t){return 6e4*new Date(t.toString()).getTimezoneOffset()};if(e.timezone){if(r)return function(t){return 6e4*-r.tz(t,e.timezone).utcOffset()};o(25)}return this.useUTC&&e.getTimezoneOffset?function(t){return 6e4*e.getTimezoneOffset(t.valueOf())}:function(){return 6e4*(t.timezoneOffset||0)}},e.prototype.dateFormat=function(e,i,o){if(!r(i)||isNaN(i))return t.defaultOptions.lang&&t.defaultOptions.lang.invalidDate||"";e=c(e,"%Y-%m-%d %H:%M:%S");var s=this,a=new this.Date(i),d=this.get("Hours",a),p=this.get("Day",a),u=this.get("Date",a),f=this.get("Month",a),g=this.get("FullYear",a),m=t.defaultOptions.lang,y=m&&m.weekdays,v=m&&m.shortWeekdays;return a=n({a:v?v[p]:y[p].substr(0,3),A:y[p],d:l(u),e:l(u,2," "),w:p,b:m.shortMonths[f],B:m.months[f],m:l(f+1),o:f+1,y:g.toString().substr(2,2),Y:g,H:l(d),k:d,I:l(d%12||12),l:d%12||12,M:l(this.get("Minutes",a)),p:12>d?"AM":"PM",P:12>d?"am":"pm",S:l(a.getSeconds()),L:l(Math.floor(i%1e3),3)},t.dateFormats),h(a,(function(t,r){for(;-1!==e.indexOf("%"+r);)e=e.replace("%"+r,"function"==typeof t?t.call(s,i):t)})),o?e.substr(0,1).toUpperCase()+e.substr(1):e},e.prototype.resolveDTLFormat=function(t){return s(t,!0)?t:{main:(t=d(t))[0],from:t[1],to:t[2]}},e.prototype.getTimeTicks=function(t,e,i,o){var s,a=this,h=[],l={},d=new a.Date(e),u=t.unitRange,f=t.count||1;if(o=c(o,1),r(e)){if(a.set("Milliseconds",d,u>=p.second?0:f*Math.floor(a.get("Milliseconds",d)/f)),u>=p.second&&a.set("Seconds",d,u>=p.minute?0:f*Math.floor(a.get("Seconds",d)/f)),u>=p.minute&&a.set("Minutes",d,u>=p.hour?0:f*Math.floor(a.get("Minutes",d)/f)),u>=p.hour&&a.set("Hours",d,u>=p.day?0:f*Math.floor(a.get("Hours",d)/f)),u>=p.day&&a.set("Date",d,u>=p.month?1:Math.max(1,f*Math.floor(a.get("Date",d)/f))),u>=p.month){a.set("Month",d,u>=p.year?0:f*Math.floor(a.get("Month",d)/f));var g=a.get("FullYear",d)}u>=p.year&&a.set("FullYear",d,g-g%f),u===p.week&&(g=a.get("Day",d),a.set("Date",d,a.get("Date",d)-g+o+(g<o?-7:0))),g=a.get("FullYear",d),o=a.get("Month",d);var m=a.get("Date",d),y=a.get("Hours",d);for(e=d.getTime(),!a.variableTimezone&&a.useUTC||!r(i)||(s=i-e>4*p.month||a.getTimezoneOffset(e)!==a.getTimezoneOffset(i)),e=d.getTime(),d=1;e<i;)h.push(e),e=u===p.year?a.makeTime(g+d*f,0):u===p.month?a.makeTime(g,o+d*f):!s||u!==p.day&&u!==p.week?s&&u===p.hour&&1<f?a.makeTime(g,o,m,y+d*f):e+u*f:a.makeTime(g,o,m+d*f*(u===p.day?1:7)),d++;h.push(e),u<=p.hour&&1e4>h.length&&h.forEach((function(t){0==t%18e5&&"000000000"===a.dateFormat("%H%M%S%L",t)&&(l[t]="day")}))}return h.info=n(t,{higherRanks:l,totalRange:u*f}),h},e}(),t.Time=e,t.Time})),e(i,"Core/Options.js",[i["Core/Globals.js"],i["Core/Color/Color.js"],i["Core/Color/Palette.js"],i["Core/Time.js"],i["Core/Utilities.js"]],(function(t,e,i,r,o){var n=t.isTouchDevice,s=t.svg;e=e.parse;var a=o.merge,h={colors:i.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:"January February March April May June July August September October November December".split(" "),shortMonths:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),decimalPoint:".",numericSymbols:"kMGTPE".split(""),resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:{panning:{enabled:!1,type:"x"},styledMode:!1,borderRadius:0,colorCount:10,defaultSeriesType:"line",ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}},zoomBySingleTouch:!1,width:null,height:null,borderColor:i.highlightColor80,backgroundColor:i.backgroundColor,plotBorderColor:i.neutralColor20},title:{text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{text:"",align:"center",widthAdjust:-44},caption:{margin:15,text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},labels:{style:{position:"absolute",color:i.neutralColor80}},legend:{enabled:!0,align:"center",alignColumns:!0,layout:"horizontal",labelFormatter:function(){return this.name},borderColor:i.neutralColor40,borderRadius:0,navigation:{activeColor:i.highlightColor100,inactiveColor:i.neutralColor20},itemStyle:{color:i.neutralColor80,cursor:"pointer",fontSize:"12px",fontWeight:"bold",textOverflow:"ellipsis"},itemHoverStyle:{color:i.neutralColor100},itemHiddenStyle:{color:i.neutralColor20},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:i.backgroundColor,opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:s,borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %b %e, %H:%M:%S.%L",second:"%A, %b %e, %H:%M:%S",minute:"%A, %b %e, %H:%M",hour:"%A, %b %e, %H:%M",day:"%A, %b %e, %Y",week:"Week from %A, %b %e, %Y",month:"%B %Y",year:"%Y"},footerFormat:"",padding:8,snap:n?25:10,headerFormat:'<span style="font-size: 10px">{point.key}</span><br/>',pointFormat:'<span style="color:{point.color}">●</span> {series.name}: <b>{point.y}</b><br/>',backgroundColor:e(i.neutralColor3).setOpacity(.85).get(),borderWidth:1,shadow:!0,style:{color:i.neutralColor80,cursor:"default",fontSize:"12px",whiteSpace:"nowrap"}},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:i.neutralColor40,fontSize:"9px"},text:"Highcharts.com"}};h.chart.styledMode=!1;var l=new r(a(h.global,h.time));return{defaultOptions:h,defaultTime:l,getOptions:function(){return h},setOptions:function(e){return a(!0,h,e),(e.time||e.global)&&(t.time?t.time.update(a(h.global,h.time,e.global,e.time)):t.time=l),h}}})),e(i,"Core/Animation/Fx.js",[i["Core/Color/Color.js"],i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e,i){var r=t.parse,o=e.win,n=i.isNumber,s=i.objectEach;return function(){function t(t,e,i){this.pos=NaN,this.options=e,this.elem=t,this.prop=i}return t.prototype.dSetter=function(){var t=this.paths,e=t&&t[0];t=t&&t[1];var i=this.now||0,r=[];if(1!==i&&e&&t)if(e.length===t.length&&1>i)for(var o=0;o<t.length;o++){for(var s=e[o],a=t[o],h=[],l=0;l<a.length;l++){var c=s[l],d=a[l];n(c)&&n(d)&&("A"!==a[0]||4!==l&&5!==l)?h[l]=c+i*(d-c):h[l]=d}r.push(h)}else r=t;else r=this.toD||[];this.elem.attr("d",r,void 0,!0)},t.prototype.update=function(){var t=this.elem,e=this.prop,i=this.now,r=this.options.step;this[e+"Setter"]?this[e+"Setter"]():t.attr?t.element&&t.attr(e,i,null,!0):t.style[e]=i+this.unit,r&&r.call(t,i,this)},t.prototype.run=function(e,i,r){var n=this,s=n.options,a=function(t){return!a.stopped&&n.step(t)},h=o.requestAnimationFrame||function(t){setTimeout(t,13)},l=function(){for(var e=0;e<t.timers.length;e++)t.timers[e]()||t.timers.splice(e--,1);t.timers.length&&h(l)};e!==i||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=e,this.end=i,this.unit=r,this.now=this.start,this.pos=0,a.elem=this.elem,a.prop=this.prop,a()&&1===t.timers.push(a)&&h(l)):(delete s.curAnim[this.prop],s.complete&&0===Object.keys(s.curAnim).length&&s.complete.call(this.elem))},t.prototype.step=function(t){var e=+new Date,i=this.options,r=this.elem,o=i.complete,n=i.duration,a=i.curAnim;if(r.attr&&!r.element)t=!1;else if(t||e>=n+this.startTime){this.now=this.end,this.pos=1,this.update();var h=a[this.prop]=!0;s(a,(function(t){!0!==t&&(h=!1)})),h&&o&&o.call(r),t=!1}else this.pos=i.easing((e-this.startTime)/n),this.now=this.start+(this.end-this.start)*this.pos,this.update(),t=!0;return t},t.prototype.initPath=function(t,e,i){function r(t,e){for(;t.length<p;){var i=t[0],r=e[p-t.length];r&&"M"===i[0]&&(t[0]="C"===r[0]?["C",i[1],i[2],i[1],i[2],i[1],i[2]]:["L",i[1],i[2]]),t.unshift(i),h&&(i=t.pop(),t.push(t[t.length-1],i))}}function o(t,e){for(;t.length<p;)if("C"===(e=t[Math.floor(t.length/l)-1].slice())[0]&&(e[1]=e[5],e[2]=e[6]),h){var i=t[Math.floor(t.length/l)].slice();t.splice(t.length/2,0,e,i)}else t.push(e)}var s=t.startX,a=t.endX;i=i.slice();var h=t.isArea,l=h?2:1;if(!(e=e&&e.slice()))return[i,i];if(s&&a&&a.length){for(t=0;t<s.length;t++){if(s[t]===a[0]){var c=t;break}if(s[0]===a[a.length-s.length+t]){c=t;var d=!0;break}if(s[s.length-1]===a[a.length-s.length+t]){c=s.length-t;break}}void 0===c&&(e=[])}if(e.length&&n(c)){var p=i.length+c*l;d?(r(e,i),o(i,e)):(r(i,e),o(e,i))}return[e,i]},t.prototype.fillSetter=function(){t.prototype.strokeSetter.apply(this,arguments)},t.prototype.strokeSetter=function(){this.elem.attr(this.prop,r(this.start).tweenTo(r(this.end),this.pos),null,!0)},t.timers=[],t}()})),e(i,"Core/Animation/AnimationUtilities.js",[i["Core/Animation/Fx.js"],i["Core/Utilities.js"]],(function(t,e){function i(t){return h(t)?l({duration:500,defer:0},t):{duration:t?500:0,defer:0}}function r(e,i){for(var r=t.timers.length;r--;)t.timers[r].elem!==e||i&&i!==t.timers[r].prop||(t.timers[r].stopped=!0)}var o=e.defined,n=e.getStyle,s=e.isArray,a=e.isNumber,h=e.isObject,l=e.merge,c=e.objectEach,d=e.pick;return{animate:function(e,i,o){var d,p,u,f="";if(!h(o)){var g=arguments;o={duration:g[2],easing:g[3],complete:g[4]}}a(o.duration)||(o.duration=400),o.easing="function"==typeof o.easing?o.easing:Math[o.easing]||Math.easeInOutSine,o.curAnim=l(i),c(i,(function(a,h){r(e,h),u=new t(e,o,h),p=void 0,"d"===h&&s(i.d)?(u.paths=u.initPath(e,e.pathArray,i.d),u.toD=i.d,d=0,p=1):e.attr?d=e.attr(h):(d=parseFloat(n(e,h))||0,"opacity"!==h&&(f="px")),p||(p=a),"string"==typeof p&&p.match("px")&&(p=p.replace(/px/g,"")),u.run(d,p,f)}))},animObject:i,getDeferredAnimation:function(t,e,r){var n=i(e),s=0,a=0;return(r?[r]:t.series).forEach((function(t){t=i(t.options.animation),s=e&&o(e.defer)?n.defer:Math.max(s,t.duration+t.defer),a=Math.min(n.duration,t.duration)})),t.renderer.forExport&&(s=0),{defer:Math.max(0,s-a),duration:Math.min(s,a)}},setAnimation:function(t,e){e.renderer.globalAnimation=d(t,e.options.chart.animation,!0)},stop:r}})),e(i,"Core/Renderer/HTML/AST.js",[i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e){var i=t.SVG_NS,r=e.attr,o=e.createElement,n=e.discardElement,s=e.error,a=e.isString,h=e.objectEach,l=e.splat,c=!1;try{c=!!(new DOMParser).parseFromString("","text/html")}catch(t){}return function(){function e(t){this.nodes="string"==typeof t?this.parseMarkup(t):t}return e.filterUserAttributes=function(t){return h(t,(function(i,r){var o=!0;-1===e.allowedAttributes.indexOf(r)&&(o=!1),-1!==["background","dynsrc","href","lowsrc","src"].indexOf(r)&&(o=a(i)&&e.allowedReferences.some((function(t){return 0===i.indexOf(t)}))),o||(s("Highcharts warning: Invalid attribute '"+r+"' in config"),delete t[r])})),t},e.setElementHTML=function(t,i){t.innerHTML="",i&&new e(i).addToDOM(t)},e.prototype.addToDOM=function(o){return function o(n,a){var c;return l(n).forEach((function(n){var l=n.tagName,d=n.textContent?t.doc.createTextNode(n.textContent):void 0;if(l)if("#text"===l)var p=d;else if(-1!==e.allowedTags.indexOf(l)){l=t.doc.createElementNS("svg"===l?i:a.namespaceURI||i,l);var u=n.attributes||{};h(n,(function(t,e){"tagName"!==e&&"attributes"!==e&&"children"!==e&&"textContent"!==e&&(u[e]=t)})),r(l,e.filterUserAttributes(u)),d&&l.appendChild(d),o(n.children||[],l),p=l}else s("Highcharts warning: Invalid tagName '"+l+"' in config");p&&a.appendChild(p),c=p})),c}(this.nodes,o)},e.prototype.parseMarkup=function(t){var e=[];if(c)t=(new DOMParser).parseFromString(t,"text/html");else{var i=o("div");i.innerHTML=t,t={body:i}}var r=function(t,e){var i=t.nodeName.toLowerCase(),o={tagName:i};if("#text"===i){if(i=t.textContent||"",/^[\s]*$/.test(i))return;o.textContent=i}if(i=t.attributes){var n={};[].forEach.call(i,(function(t){n[t.name]=t.value})),o.attributes=n}if(t.childNodes.length){var s=[];[].forEach.call(t.childNodes,(function(t){r(t,s)})),s.length&&(o.children=s)}e.push(o)};return[].forEach.call(t.body.childNodes,(function(t){return r(t,e)})),i&&n(i),e},e.allowedTags="a b br button caption circle clipPath code dd defs div dl dt em feComponentTransfer feFuncA feFuncB feFuncG feFuncR feGaussianBlur feOffset feMerge feMergeNode filter h1 h2 h3 h4 h5 h6 hr i img li linearGradient marker ol p path pattern pre rect small span stop strong style sub sup svg table text thead tbody tspan td th tr u ul #text".split(" "),e.allowedAttributes="aria-controls aria-describedby aria-expanded aria-haspopup aria-hidden aria-label aria-labelledby aria-live aria-pressed aria-readonly aria-roledescription aria-selected class clip-path color colspan cx cy d dx dy disabled fill height href id in markerHeight markerWidth offset opacity orient padding paddingLeft patternUnits r refX refY role scope slope src startOffset stdDeviation stroke stroke-linecap stroke-width style result rowspan summary target tabindex text-align textAnchor textLength type valign width x x1 x2 y y1 y2 zIndex".split(" "),e.allowedReferences="https:// http:// mailto: / ../ ./ #".split(" "),e}()})),e(i,"Core/FormatUtilities.js",[i["Core/Options.js"],i["Core/Utilities.js"]],(function(t,e){function i(t,e,i,o){t=+t||0,e=+e;var n=r.lang,l=(t.toString().split(".")[1]||"").split("e")[0].length,c=t.toString().split("e"),d=e;if(-1===e)e=Math.min(l,20);else if(s(e)){if(e&&c[1]&&0>c[1]){var p=e+ +c[1];0<=p?(c[0]=(+c[0]).toExponential(p).split("e")[0],e=p):(c[0]=c[0].split(".")[0]||0,t=20>e?(c[0]*Math.pow(10,c[1])).toFixed(e):0,c[1]=0)}}else e=2;p=(Math.abs(c[1]?c[0]:t)+Math.pow(10,-Math.max(e,l)-1)).toFixed(e);var u=3<(l=String(h(p))).length?l.length%3:0;return i=a(i,n.decimalPoint),o=a(o,n.thousandsSep),t=(0>t?"-":"")+(u?l.substr(0,u)+o:""),t=0>+c[1]&&!d?"0":t+l.substr(u).replace(/(\d{3})(?=\d)/g,"$1"+o),e&&(t+=i+p.slice(-e)),c[1]&&0!=+t&&(t+="e"+c[1]),t}var r=t.defaultOptions,o=t.defaultTime,n=e.getNestedProperty,s=e.isNumber,a=e.pick,h=e.pInt;return{dateFormat:function(t,e,i){return o.dateFormat(t,e,i)},format:function(t,e,s){var a="{",h=!1,l=/f$/,c=/\.([0-9])/,d=r.lang,p=s&&s.time||o;s=s&&s.numberFormatter||i;for(var u=[];t;){var f=t.indexOf(a);if(-1===f)break;var g=t.slice(0,f);if(h){if(g=g.split(":"),a=n(g.shift()||"",e),g.length&&"number"==typeof a)if(g=g.join(":"),l.test(g)){var m=parseInt((g.match(c)||["","-1"])[1],10);null!==a&&(a=s(a,m,d.decimalPoint,-1<g.indexOf(",")?d.thousandsSep:""))}else a=p.dateFormat(g,a);u.push(a)}else u.push(g);t=t.slice(f+1),a=(h=!h)?"}":"{"}return u.push(t),u.join("")},numberFormat:i}})),e(i,"Core/Renderer/SVG/SVGElement.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Renderer/HTML/AST.js"],i["Core/Color/Color.js"],i["Core/Globals.js"],i["Core/Color/Palette.js"],i["Core/Utilities.js"]],(function(t,e,i,r,o,n){var s=t.animate,a=t.animObject,h=t.stop,l=r.deg2rad,c=r.doc,d=r.noop,p=r.svg,u=r.SVG_NS,f=r.win,g=n.addEvent,m=n.attr,y=n.createElement,v=n.css,x=n.defined,b=n.erase,k=n.extend,w=n.fireEvent,C=n.isArray,M=n.isFunction,S=n.isNumber,A=n.isString,T=n.merge,P=n.objectEach,O=n.pick,L=n.pInt,E=n.syncTimeout,D=n.uniqueKey;return t=function(){function t(){this.element=void 0,this.onEvents={},this.opacity=1,this.renderer=void 0,this.SVG_NS=u,this.symbolCustomAttribs="x y width height r start end innerR anchorX anchorY rounded".split(" ")}return t.prototype._defaultGetter=function(t){return t=O(this[t+"Value"],this[t],this.element?this.element.getAttribute(t):null,0),/^[\-0-9\.]+$/.test(t)&&(t=parseFloat(t)),t},t.prototype._defaultSetter=function(t,e,i){i.setAttribute(e,t)},t.prototype.add=function(t){var e=this.renderer,i=this.element;if(t&&(this.parentGroup=t),this.parentInverted=t&&t.inverted,void 0!==this.textStr&&"text"===this.element.nodeName&&e.buildText(this),this.added=!0,!t||t.handleZ||this.zIndex)var r=this.zIndexSetter();return r||(t?t.element:e.box).appendChild(i),this.onAdd&&this.onAdd(),this},t.prototype.addClass=function(t,e){var i=e?"":this.attr("class")||"";return t=(t||"").split(/ /g).reduce((function(t,e){return-1===i.indexOf(e)&&t.push(e),t}),i?[i]:[]).join(" "),t!==i&&this.attr("class",t),this},t.prototype.afterSetters=function(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)},t.prototype.align=function(t,e,i){var r,o,n,s={},a=this.renderer,h=a.alignedObjects;t?(this.alignOptions=t,this.alignByTranslate=e,(!i||A(i))&&(this.alignTo=r=i||"renderer",b(h,this),h.push(this),i=void 0)):(t=this.alignOptions,e=this.alignByTranslate,r=this.alignTo),i=O(i,a[r],"scrollablePlotBox"===r?a.plotBox:void 0,a),r=t.align;var l=t.verticalAlign;return a=(i.x||0)+(t.x||0),h=(i.y||0)+(t.y||0),"right"===r?o=1:"center"===r&&(o=2),o&&(a+=(i.width-(t.width||0))/o),s[e?"translateX":"x"]=Math.round(a),"bottom"===l?n=1:"middle"===l&&(n=2),n&&(h+=(i.height-(t.height||0))/n),s[e?"translateY":"y"]=Math.round(h),this[this.placed?"animate":"attr"](s),this.placed=!0,this.alignAttr=s,this},t.prototype.alignSetter=function(t){var e={left:"start",center:"middle",right:"end"};e[t]&&(this.alignValue=t,this.element.setAttribute("text-anchor",e[t]))},t.prototype.animate=function(t,e,i){var r=this,o=a(O(e,this.renderer.globalAnimation,!0));return e=o.defer,O(c.hidden,c.msHidden,c.webkitHidden,!1)&&(o.duration=0),0!==o.duration?(i&&(o.complete=i),E((function(){r.element&&s(r,t,o)}),e)):(this.attr(t,void 0,i),P(t,(function(t,e){o.step&&o.step.call(this,t,{prop:e,pos:1,elem:this})}),this)),this},t.prototype.applyTextOutline=function(t){var e=this.element;-1!==t.indexOf("contrast")&&(t=t.replace(/contrast/g,this.renderer.getContrast(e.style.fill)));var i=t.split(" ");if(t=i[i.length-1],(i=i[0])&&"none"!==i&&r.svg){this.fakeTS=!0,this.ySetter=this.xSetter,i=i.replace(/(^[\d\.]+)(.*?)$/g,(function(t,e,i){return 2*Number(e)+i})),this.removeTextOutline();var o=c.createElementNS(u,"tspan");m(o,{class:"highcharts-text-outline",fill:t,stroke:t,"stroke-width":i,"stroke-linejoin":"round"}),[].forEach.call(e.childNodes,(function(t){var e=t.cloneNode(!0);e.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach((function(t){return e.removeAttribute(t)})),o.appendChild(e)}));var n=c.createElementNS(u,"tspan");n.textContent="​",["x","y"].forEach((function(t){var i=e.getAttribute(t);i&&n.setAttribute(t,i)})),o.appendChild(n),e.insertBefore(o,e.firstChild)}},t.prototype.attr=function(t,e,i,r){var o,n,s,a=this.element,l=this.symbolCustomAttribs,c=this;if("string"==typeof t&&void 0!==e){var d=t;(t={})[d]=e}return"string"==typeof t?c=(this[t+"Getter"]||this._defaultGetter).call(this,t,a):(P(t,(function(e,i){n=!1,r||h(this,i),this.symbolName&&-1!==l.indexOf(i)&&(o||(this.symbolAttr(t),o=!0),n=!0),!this.rotation||"x"!==i&&"y"!==i||(this.doTransform=!0),n||((s=this[i+"Setter"]||this._defaultSetter).call(this,e,i,a),!this.styledMode&&this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(i)&&this.updateShadows(i,e,s))}),this),this.afterSetters()),i&&i.call(this),c},t.prototype.clip=function(t){return this.attr("clip-path",t?"url("+this.renderer.url+"#"+t.id+")":"none")},t.prototype.crisp=function(t,e){e=e||t.strokeWidth||0;var i=Math.round(e)%2/2;return t.x=Math.floor(t.x||this.x||0)+i,t.y=Math.floor(t.y||this.y||0)+i,t.width=Math.floor((t.width||this.width||0)-2*i),t.height=Math.floor((t.height||this.height||0)-2*i),x(t.strokeWidth)&&(t.strokeWidth=e),t},t.prototype.complexColor=function(t,e,r){var o,n,s,a,h,l,c,d,p,u,f,g=this.renderer,m=[];w(this.renderer,"complexColor",{args:arguments},(function(){if(t.radialGradient?n="radialGradient":t.linearGradient&&(n="linearGradient"),n){if(s=t[n],h=g.gradients,l=t.stops,p=r.radialReference,C(s)&&(t[n]=s={x1:s[0],y1:s[1],x2:s[2],y2:s[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===n&&p&&!x(s.gradientUnits)&&(a=s,s=T(s,g.getRadialAttr(p,a),{gradientUnits:"userSpaceOnUse"})),P(s,(function(t,e){"id"!==e&&m.push(e,t)})),P(l,(function(t){m.push(t)})),m=m.join(","),h[m])u=h[m].attr("id");else{s.id=u=D();var y=h[m]=g.createElement(n).attr(s).add(g.defs);y.radAttr=a,y.stops=[],l.forEach((function(t){0===t[1].indexOf("rgba")?(o=i.parse(t[1]),c=o.get("rgb"),d=o.get("a")):(c=t[1],d=1),t=g.createElement("stop").attr({offset:t[0],"stop-color":c,"stop-opacity":d}).add(y),y.stops.push(t)}))}f="url("+g.url+"#"+u+")",r.setAttribute(e,f),r.gradient=m,t.toString=function(){return f}}}))},t.prototype.css=function(t){var e=this.styles,i={},r=this.element,o=["textOutline","textOverflow","width"],n="",s=!e;if(t&&t.color&&(t.fill=t.color),e&&P(t,(function(t,r){e&&e[r]!==t&&(i[r]=t,s=!0)})),s){if(e&&(t=k(e,i)),t)if(null===t.width||"auto"===t.width)delete this.textWidth;else if("text"===r.nodeName.toLowerCase()&&t.width)var a=this.textWidth=L(t.width);if(this.styles=t,a&&!p&&this.renderer.forExport&&delete t.width,r.namespaceURI===this.SVG_NS){var h=function(t,e){return"-"+e.toLowerCase()};P(t,(function(t,e){-1===o.indexOf(e)&&(n+=e.replace(/([A-Z])/g,h)+":"+t+";")})),n&&m(r,"style",n)}else v(r,t);this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),t&&t.textOutline&&this.applyTextOutline(t.textOutline))}return this},t.prototype.dashstyleSetter=function(t){var e=this["stroke-width"];if("inherit"===e&&(e=1),t=t&&t.toLowerCase()){var i=t.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(t=i.length;t--;)i[t]=""+L(i[t])*O(e,NaN);t=i.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",t)}},t.prototype.destroy=function(){var t=this,e=t.element||{},i=t.renderer,r=e.ownerSVGElement,o=i.isSVG&&"SPAN"===e.nodeName&&t.parentGroup||void 0;if(e.onclick=e.onmouseout=e.onmouseover=e.onmousemove=e.point=null,h(t),t.clipPath&&r){var n=t.clipPath;[].forEach.call(r.querySelectorAll("[clip-path],[CLIP-PATH]"),(function(t){-1<t.getAttribute("clip-path").indexOf(n.element.id)&&t.removeAttribute("clip-path")})),t.clipPath=n.destroy()}if(t.stops){for(r=0;r<t.stops.length;r++)t.stops[r].destroy();t.stops.length=0,t.stops=void 0}for(t.safeRemoveChild(e),i.styledMode||t.destroyShadows();o&&o.div&&0===o.div.childNodes.length;)e=o.parentGroup,t.safeRemoveChild(o.div),delete o.div,o=e;t.alignTo&&b(i.alignedObjects,t),P(t,(function(e,i){t[i]&&t[i].parentGroup===t&&t[i].destroy&&t[i].destroy(),delete t[i]}))},t.prototype.destroyShadows=function(){(this.shadows||[]).forEach((function(t){this.safeRemoveChild(t)}),this),this.shadows=void 0},t.prototype.destroyTextPath=function(t,e){var i=t.getElementsByTagName("text")[0];if(i){if(i.removeAttribute("dx"),i.removeAttribute("dy"),e.element.setAttribute("id",""),this.textPathWrapper&&i.getElementsByTagName("textPath").length){for(t=this.textPathWrapper.element.childNodes;t.length;)i.appendChild(t[0]);i.removeChild(this.textPathWrapper.element)}}else(t.getAttribute("dx")||t.getAttribute("dy"))&&(t.removeAttribute("dx"),t.removeAttribute("dy"));this.textPathWrapper&&(this.textPathWrapper=this.textPathWrapper.destroy())},t.prototype.dSetter=function(t,e,i){C(t)&&("string"==typeof t[0]&&(t=this.renderer.pathToSegments(t)),this.pathArray=t,t=t.reduce((function(t,e,i){return e&&e.join?(i?t+" ":"")+e.join(" "):(e||"").toString()}),"")),/(NaN| {2}|^$)/.test(t)&&(t="M 0 0"),this[e]!==t&&(i.setAttribute(e,t),this[e]=t)},t.prototype.fadeOut=function(t){var e=this;e.animate({opacity:0},{duration:O(t,150),complete:function(){e.attr({y:-9999}).hide()}})},t.prototype.fillSetter=function(t,e,i){"string"==typeof t?i.setAttribute(e,t):t&&this.complexColor(t,e,i)},t.prototype.getBBox=function(e,i){var r=this.renderer,o=this.element,n=this.styles,s=this.textStr,a=r.cache,h=r.cacheKeys,c=o.namespaceURI===this.SVG_NS;i=O(i,this.rotation,0);var d,p=r.styledMode?o&&t.prototype.getStyle.call(o,"font-size"):n&&n.fontSize;if(x(s)){var u=s.toString();-1===u.indexOf("<")&&(u=u.replace(/[0-9]/g,"0")),u+=["",i,p,this.textWidth,n&&n.textOverflow,n&&n.fontWeight].join()}if(u&&!e&&(d=a[u]),!d){if(c||r.forExport){try{var f=this.fakeTS&&function(t){var e=o.querySelector(".highcharts-text-outline");e&&v(e,{display:t})};M(f)&&f("none"),d=o.getBBox?k({},o.getBBox()):{width:o.offsetWidth,height:o.offsetHeight},M(f)&&f("")}catch(t){}(!d||0>d.width)&&(d={width:0,height:0})}else d=this.htmlGetBBox();if(r.isSVG&&(e=d.width,r=d.height,c&&(d.height=r={"11px,17":14,"13px,20":16}[n&&n.fontSize+","+Math.round(r)]||r),i&&(n=i*l,d.width=Math.abs(r*Math.sin(n))+Math.abs(e*Math.cos(n)),d.height=Math.abs(r*Math.cos(n))+Math.abs(e*Math.sin(n)))),u&&0<d.height){for(;250<h.length;)delete a[h.shift()];a[u]||h.push(u),a[u]=d}}return d},t.prototype.getStyle=function(t){return f.getComputedStyle(this.element||this,"").getPropertyValue(t)},t.prototype.hasClass=function(t){return-1!==(""+this.attr("class")).split(" ").indexOf(t)},t.prototype.hide=function(t){return t?this.attr({y:-9999}):this.attr({visibility:"hidden"}),this},t.prototype.htmlGetBBox=function(){return{height:0,width:0,x:0,y:0}},t.prototype.init=function(t,e){this.element="span"===e?y(e):c.createElementNS(this.SVG_NS,e),this.renderer=t,w(this,"afterInit")},t.prototype.invert=function(t){return this.inverted=t,this.updateTransform(),this},t.prototype.on=function(t,e){var i=this.onEvents;return i[t]&&i[t](),i[t]=g(this.element,t,e),this},t.prototype.opacitySetter=function(t,e,i){this.opacity=t=Number(Number(t).toFixed(3)),i.setAttribute(e,t)},t.prototype.removeClass=function(t){return this.attr("class",(""+this.attr("class")).replace(A(t)?new RegExp("(^| )"+t+"( |$)"):t," ").replace(/ +/g," ").trim())},t.prototype.removeTextOutline=function(){var t=this.element.querySelector("tspan.highcharts-text-outline");t&&this.safeRemoveChild(t)},t.prototype.safeRemoveChild=function(t){var e=t.parentNode;e&&e.removeChild(t)},t.prototype.setRadialReference=function(t){var e=this.element.gradient&&this.renderer.gradients[this.element.gradient];return this.element.radialReference=t,e&&e.radAttr&&e.animate(this.renderer.getRadialAttr(t,e.radAttr)),this},t.prototype.setTextPath=function(t,i){var r=this.element,o=this.text?this.text.element:r,n={textAnchor:"text-anchor"},s=!1,a=this.textPathWrapper,h=!a;i=T(!0,{enabled:!0,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},i);var l=e.filterUserAttributes(i.attributes);if(t&&i&&i.enabled){a&&null===a.element.parentNode?(h=!0,a=a.destroy()):a&&this.removeTextOutline.call(a.parentGroup),this.options&&this.options.padding&&(l.dx=-this.options.padding),a||(this.textPathWrapper=a=this.renderer.createElement("textPath"),s=!0);var c=a.element;if((i=t.element.getAttribute("id"))||t.element.setAttribute("id",i=D()),h)for(o.setAttribute("y",0),S(l.dx)&&o.setAttribute("x",-l.dx),t=[].slice.call(o.childNodes),h=0;h<t.length;h++){var p=t[h];p.nodeType!==Node.TEXT_NODE&&"tspan"!==p.nodeName||c.appendChild(p)}s&&a&&a.add({element:o}),c.setAttributeNS("http://www.w3.org/1999/xlink","href",this.renderer.url+"#"+i),x(l.dy)&&(c.parentNode.setAttribute("dy",l.dy),delete l.dy),x(l.dx)&&(c.parentNode.setAttribute("dx",l.dx),delete l.dx),P(l,(function(t,e){c.setAttribute(n[e]||e,t)})),r.removeAttribute("transform"),this.removeTextOutline.call(a),this.text&&!this.renderer.styledMode&&this.attr({fill:"none","stroke-width":0}),this.applyTextOutline=this.updateTransform=d}else a&&(delete this.updateTransform,delete this.applyTextOutline,this.destroyTextPath(r,t),this.updateTransform(),this.options&&this.options.rotation&&this.applyTextOutline(this.options.style.textOutline));return this},t.prototype.shadow=function(t,e,i){var r,n=[],s=this.element,a=this.oldShadowOptions,h={color:o.neutralColor100,offsetX:1,offsetY:1,opacity:.15,width:3},l=!1;if(!0===t?r=h:"object"==typeof t&&(r=k(h,t)),r&&(r&&a&&P(r,(function(t,e){t!==a[e]&&(l=!0)})),l&&this.destroyShadows(),this.oldShadowOptions=r),r){if(!this.shadows){var c=r.opacity/r.width,d=this.parentInverted?"translate(-1,-1)":"translate("+r.offsetX+", "+r.offsetY+")";for(h=1;h<=r.width;h++){var p=s.cloneNode(!1),u=2*r.width+1-2*h;m(p,{stroke:t.color||o.neutralColor100,"stroke-opacity":c*h,"stroke-width":u,transform:d,fill:"none"}),p.setAttribute("class",(p.getAttribute("class")||"")+" highcharts-shadow"),i&&(m(p,"height",Math.max(m(p,"height")-u,0)),p.cutHeight=u),e?e.element.appendChild(p):s.parentNode&&s.parentNode.insertBefore(p,s),n.push(p)}this.shadows=n}}else this.destroyShadows();return this},t.prototype.show=function(t){return this.attr({visibility:t?"inherit":"visible"})},t.prototype.strokeSetter=function(e,i,r){this[i]=e,this.stroke&&this["stroke-width"]?(t.prototype.fillSetter.call(this,this.stroke,"stroke",r),r.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0):"stroke-width"===i&&0===e&&this.hasStroke?(r.removeAttribute("stroke"),this.hasStroke=!1):this.renderer.styledMode&&this["stroke-width"]&&(r.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0)},t.prototype.strokeWidth=function(){if(!this.renderer.styledMode)return this["stroke-width"]||0;var t=this.getStyle("stroke-width"),e=0;if(t.indexOf("px")===t.length-2)e=L(t);else if(""!==t){var i=c.createElementNS(u,"rect");m(i,{width:t,"stroke-width":0}),this.element.parentNode.appendChild(i),e=i.getBBox().width,i.parentNode.removeChild(i)}return e},t.prototype.symbolAttr=function(t){var e=this;"x y r start end width height innerR anchorX anchorY clockwise".split(" ").forEach((function(i){e[i]=O(t[i],e[i])})),e.attr({d:e.renderer.symbols[e.symbolName](e.x,e.y,e.width,e.height,e)})},t.prototype.textSetter=function(t){t!==this.textStr&&(delete this.textPxLength,this.textStr=t,this.added&&this.renderer.buildText(this))},t.prototype.titleSetter=function(t){var e=this.element,i=e.getElementsByTagName("title")[0]||c.createElementNS(this.SVG_NS,"title");e.insertBefore?e.insertBefore(i,e.firstChild):e.appendChild(i),i.textContent=String(O(t,"")).replace(/<[^>]*>/g,"").replace(/&lt;/g,"<").replace(/&gt;/g,">")},t.prototype.toFront=function(){var t=this.element;return t.parentNode.appendChild(t),this},t.prototype.translate=function(t,e){return this.attr({translateX:t,translateY:e})},t.prototype.updateShadows=function(t,e,i){var r=this.shadows;if(r)for(var o=r.length;o--;)i.call(r[o],"height"===t?Math.max(e-(r[o].cutHeight||0),0):"d"===t?this.d:e,t,r[o])},t.prototype.updateTransform=function(){var t=this.scaleX,e=this.scaleY,i=this.inverted,r=this.rotation,o=this.matrix,n=this.element,s=this.translateX||0,a=this.translateY||0;i&&(s+=this.width,a+=this.height),s=["translate("+s+","+a+")"],x(o)&&s.push("matrix("+o.join(",")+")"),i?s.push("rotate(90) scale(-1,1)"):r&&s.push("rotate("+r+" "+O(this.rotationOriginX,n.getAttribute("x"),0)+" "+O(this.rotationOriginY,n.getAttribute("y")||0)+")"),(x(t)||x(e))&&s.push("scale("+O(t,1)+" "+O(e,1)+")"),s.length&&n.setAttribute("transform",s.join(" "))},t.prototype.visibilitySetter=function(t,e,i){"inherit"===t?i.removeAttribute(e):this[e]!==t&&i.setAttribute(e,t),this[e]=t},t.prototype.xGetter=function(t){return"circle"===this.element.nodeName&&("x"===t?t="cx":"y"===t&&(t="cy")),this._defaultGetter(t)},t.prototype.zIndexSetter=function(t,e){var i=this.renderer,r=this.parentGroup,o=(r||i).element||i.box,n=this.element;i=o===i.box;var s,a=!1,h=this.added;if(x(t)?(n.setAttribute("data-z-index",t),t=+t,this[e]===t&&(h=!1)):x(this[e])&&n.removeAttribute("data-z-index"),this[e]=t,h){for((t=this.zIndex)&&r&&(r.handleZ=!0),s=(e=o.childNodes).length-1;0<=s&&!a;s--){h=(r=e[s]).getAttribute("data-z-index");var l=!x(h);r!==n&&(0>t&&l&&!i&&!s?(o.insertBefore(n,e[s]),a=!0):(L(h)<=t||l&&(!x(t)||0<=t))&&(o.insertBefore(n,e[s+1]||null),a=!0))}a||(o.insertBefore(n,e[i?3:0]||null),a=!0)}return a},t}(),t.prototype["stroke-widthSetter"]=t.prototype.strokeSetter,t.prototype.yGetter=t.prototype.xGetter,t.prototype.matrixSetter=t.prototype.rotationOriginXSetter=t.prototype.rotationOriginYSetter=t.prototype.rotationSetter=t.prototype.scaleXSetter=t.prototype.scaleYSetter=t.prototype.translateXSetter=t.prototype.translateYSetter=t.prototype.verticalAlignSetter=function(t,e){this[e]=t,this.doTransform=!0},t})),e(i,"Core/Renderer/SVG/SVGLabel.js",[i["Core/Renderer/SVG/SVGElement.js"],i["Core/Utilities.js"]],(function(t,e){function i(t,e){s(t)?t!==this[e]&&(this[e]=t,this.updateTextPadding()):this[e]=void 0}var r=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function r(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}(),o=e.defined,n=e.extend,s=e.isNumber,a=e.merge,h=e.pick,l=e.removeEvent;return function(e){function c(t,r,o,n,s,a,h,l,d,p){var u=e.call(this)||this;if(u.paddingSetter=i,u.paddingLeftSetter=i,u.paddingRightSetter=i,u.init(t,"g"),u.textStr=r,u.x=o,u.y=n,u.anchorX=a,u.anchorY=h,u.baseline=d,u.className=p,"button"!==p&&u.addClass("highcharts-label"),p&&u.addClass("highcharts-"+p),u.text=t.text("",0,0,l).attr({zIndex:1}),"string"==typeof s){var f=/^url\((.*?)\)$/.test(s);(u.renderer.symbols[s]||f)&&(u.symbolKey=s)}return u.bBox=c.emptyBBox,u.padding=3,u.baselineOffset=0,u.needsBox=t.styledMode||f,u.deferredAttr={},u.alignFactor=0,u}return r(c,e),c.prototype.alignSetter=function(t){(t={left:0,center:.5,right:1}[t])!==this.alignFactor&&(this.alignFactor=t,this.bBox&&s(this.xSetting)&&this.attr({x:this.xSetting}))},c.prototype.anchorXSetter=function(t,e){this.anchorX=t,this.boxAttr(e,Math.round(t)-this.getCrispAdjust()-this.xSetting)},c.prototype.anchorYSetter=function(t,e){this.anchorY=t,this.boxAttr(e,t-this.ySetting)},c.prototype.boxAttr=function(t,e){this.box?this.box.attr(t,e):this.deferredAttr[t]=e},c.prototype.css=function(e){if(e){var i,r={};e=a(e),c.textProps.forEach((function(t){void 0!==e[t]&&(r[t]=e[t],delete e[t])})),this.text.css(r),i="width"in r,"fontSize"in r||"fontWeight"in r?this.updateTextPadding():i&&this.updateBoxSize()}return t.prototype.css.call(this,e)},c.prototype.destroy=function(){l(this.element,"mouseenter"),l(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),t.prototype.destroy.call(this)},c.prototype.fillSetter=function(t,e){t&&(this.needsBox=!0),this.fill=t,this.boxAttr(e,t)},c.prototype.getBBox=function(){this.textStr&&0===this.bBox.width&&0===this.bBox.height&&this.updateBoxSize();var t=this.padding,e=h(this.paddingLeft,t);return{width:this.width,height:this.height,x:this.bBox.x-e,y:this.bBox.y-t}},c.prototype.getCrispAdjust=function(){return this.renderer.styledMode&&this.box?this.box.strokeWidth()%2/2:(this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2},c.prototype.heightSetter=function(t){this.heightSetting=t},c.prototype.on=function(e,i){var r=this,o=r.text,n=o&&"SPAN"===o.element.tagName?o:void 0;if(n){var s=function(t){("mouseenter"===e||"mouseleave"===e)&&t.relatedTarget instanceof Element&&(r.element.compareDocumentPosition(t.relatedTarget)&Node.DOCUMENT_POSITION_CONTAINED_BY||n.element.compareDocumentPosition(t.relatedTarget)&Node.DOCUMENT_POSITION_CONTAINED_BY)||i.call(r.element,t)};n.on(e,s)}return t.prototype.on.call(r,e,s||i),r},c.prototype.onAdd=function(){var t=this.textStr;this.text.add(this),this.attr({text:o(t)?t:"",x:this.x,y:this.y}),this.box&&o(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})},c.prototype.rSetter=function(t,e){this.boxAttr(e,t)},c.prototype.shadow=function(t){return t&&!this.renderer.styledMode&&(this.updateBoxSize(),this.box&&this.box.shadow(t)),this},c.prototype.strokeSetter=function(t,e){this.stroke=t,this.boxAttr(e,t)},c.prototype["stroke-widthSetter"]=function(t,e){t&&(this.needsBox=!0),this["stroke-width"]=t,this.boxAttr(e,t)},c.prototype["text-alignSetter"]=function(t){this.textAlign=t},c.prototype.textSetter=function(t){void 0!==t&&this.text.attr({text:t}),this.updateTextPadding()},c.prototype.updateBoxSize=function(){var t=this.text.element.style,e={},i=this.padding,r=this.bBox=s(this.widthSetting)&&s(this.heightSetting)&&!this.textAlign||!o(this.text.textStr)?c.emptyBBox:this.text.getBBox();this.width=this.getPaddedWidth(),this.height=(this.heightSetting||r.height||0)+2*i,this.baselineOffset=i+Math.min(this.renderer.fontMetrics(t&&t.fontSize,this.text).b,r.height||1/0),this.needsBox&&(this.box||((t=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect()).addClass(("button"===this.className?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),t.add(this)),t=this.getCrispAdjust(),e.x=t,e.y=(this.baseline?-this.baselineOffset:0)+t,e.width=Math.round(this.width),e.height=Math.round(this.height),this.box.attr(n(e,this.deferredAttr)),this.deferredAttr={})},c.prototype.updateTextPadding=function(){var t=this.text;this.updateBoxSize();var e=this.baseline?0:this.baselineOffset,i=h(this.paddingLeft,this.padding);o(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(i+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),i===t.x&&e===t.y||(t.attr("x",i),t.hasBoxWidthChanged&&(this.bBox=t.getBBox(!0)),void 0!==e&&t.attr("y",e)),t.x=i,t.y=e},c.prototype.widthSetter=function(t){this.widthSetting=s(t)?t:void 0},c.prototype.getPaddedWidth=function(){var t=this.padding,e=h(this.paddingLeft,t);return t=h(this.paddingRight,t),(this.widthSetting||this.bBox.width||0)+e+t},c.prototype.xSetter=function(t){this.x=t,this.alignFactor&&(t-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(t),this.attr("translateX",this.xSetting)},c.prototype.ySetter=function(t){this.ySetting=this.y=Math.round(t),this.attr("translateY",this.ySetting)},c.emptyBBox={width:0,height:0,x:0,y:0},c.textProps="color direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" "),c}(t)})),e(i,"Core/Renderer/SVG/TextBuilder.js",[i["Core/Globals.js"],i["Core/Utilities.js"],i["Core/Renderer/HTML/AST.js"]],(function(t,e,i){var r=t.doc,o=t.SVG_NS,n=e.attr,s=e.isString,a=e.objectEach,h=e.pick;return function(){function t(t){var e=t.styles;this.renderer=t.renderer,this.svgElement=t,this.width=t.textWidth,this.textLineHeight=e&&e.lineHeight,this.textOutline=e&&e.textOutline,this.ellipsis=!(!e||"ellipsis"!==e.textOverflow),this.noWrap=!(!e||"nowrap"!==e.whiteSpace),this.fontSize=e&&e.fontSize}return t.prototype.buildSVG=function(){var t=this.svgElement,e=t.element,o=t.renderer,n=h(t.textStr,"").toString(),a=-1!==n.indexOf("<"),l=e.childNodes,c=l.length;o=this.width&&!t.added&&o.box;var d=[n,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,this.fontSize,this.width].join();if(d!==t.textCache){for(t.textCache=d,delete t.actualWidth;c--;)e.removeChild(l[c]);a||this.ellipsis||this.width||-1!==n.indexOf(" ")&&(!this.noWrap||/<br.*?>/g.test(n))?""!==n&&(o&&o.appendChild(e),n=new i(n),this.modifyTree(n.nodes),n.addToDOM(t.element),this.modifyDOM(),this.ellipsis&&-1!==(e.textContent||"").indexOf("…")&&t.attr("title",this.unescapeEntities(t.textStr||"",["&lt;","&gt;"])),o&&o.removeChild(e)):e.appendChild(r.createTextNode(this.unescapeEntities(n))),s(this.textOutline)&&t.applyTextOutline&&t.applyTextOutline(this.textOutline)}},t.prototype.modifyDOM=function(){var t=this,e=this.svgElement,i=n(e.element,"x");[].forEach.call(e.element.querySelectorAll("tspan.highcharts-br"),(function(e){e.nextSibling&&e.previousSibling&&n(e,{dy:t.getLineHeight(e.nextSibling),x:i})}));var s=this.width||0;if(s){var a=function(a,h){var l=a.textContent||"",c=l.replace(/([^\^])-/g,"$1- ").split(" "),d=!t.noWrap&&(1<c.length||1<e.element.childNodes.length),p=t.getLineHeight(h),u=0,f=e.actualWidth;if(t.ellipsis)l&&t.truncate(a,l,void 0,0,Math.max(0,s-parseInt(t.fontSize||12,10)),(function(t,e){return t.substring(0,e)+"…"}));else if(d){for(l=[],d=[];h.firstChild&&h.firstChild!==a;)d.push(h.firstChild),h.removeChild(h.firstChild);for(;c.length;)c.length&&!t.noWrap&&0<u&&(l.push(a.textContent||""),a.textContent=c.join(" ").replace(/- /g,"-")),t.truncate(a,void 0,c,0===u&&f||0,s,(function(t,e){return c.slice(0,e).join(" ").replace(/- /g,"-")})),f=e.actualWidth,u++;d.forEach((function(t){h.insertBefore(t,a)})),l.forEach((function(t){h.insertBefore(r.createTextNode(t),a),(t=r.createElementNS(o,"tspan")).textContent="​",n(t,{dy:p,x:i}),h.insertBefore(t,a)}))}},h=function(t){[].slice.call(t.childNodes).forEach((function(i){i.nodeType===Node.TEXT_NODE?a(i,t):(-1!==i.className.baseVal.indexOf("highcharts-br")&&(e.actualWidth=0),h(i))}))};h(e.element)}},t.prototype.getLineHeight=function(t){var e;return t=t.nodeType===Node.TEXT_NODE?t.parentElement:t,this.renderer.styledMode||(e=t&&/(px|em)$/.test(t.style.fontSize)?t.style.fontSize:this.fontSize||this.renderer.style.fontSize||12),this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(e,t||this.svgElement.element).h},t.prototype.modifyTree=function(t){var e=this,i=function(r,o){var n=r.tagName,a=e.renderer.styledMode,h=r.attributes||{};"b"===n||"strong"===n?a?h.class="highcharts-strong":h.style="font-weight:bold;"+(h.style||""):"i"!==n&&"em"!==n||(a?h.class="highcharts-emphasized":h.style="font-style:italic;"+(h.style||"")),s(h.style)&&(h.style=h.style.replace(/(;| |^)color([ :])/,"$1fill$2")),"br"===n&&(h.class="highcharts-br",r.textContent="​",(o=t[o+1])&&o.textContent&&(o.textContent=o.textContent.replace(/^ +/gm,""))),"#text"!==n&&"a"!==n&&(r.tagName="tspan"),r.attributes=h,r.children&&r.children.filter((function(t){return"#text"!==t.tagName})).forEach(i)};for(t.forEach(i);t[0]&&"tspan"===t[0].tagName&&!t[0].children;)t.splice(0,1)},t.prototype.truncate=function(t,e,i,r,o,n){var s,a=this.svgElement,h=a.renderer,l=a.rotation,c=[],d=i?1:0,p=(e||i||"").length,u=p,f=function(o,s){s=s||o;var l=t.parentNode;if(l&&void 0===c[s])if(l.getSubStringLength)try{c[s]=r+l.getSubStringLength(0,i?s+1:s)}catch(t){}else h.getSpanWidth&&(t.textContent=n(e||i,o),c[s]=r+h.getSpanWidth(a,t));return c[s]};a.rotation=0;var g=f(t.textContent.length);if(r+g>o){for(;d<=p;)u=Math.ceil((d+p)/2),i&&(s=n(i,u)),g=f(u,s&&s.length-1),d===p?d=p+1:g>o?p=u-1:d=u;0===p?t.textContent="":e&&p===e.length-1||(t.textContent=s||n(e||i,u))}i&&i.splice(0,u),a.actualWidth=g,a.rotation=l},t.prototype.unescapeEntities=function(t,e){return a(this.renderer.escapes,(function(i,r){e&&-1!==e.indexOf(i)||(t=t.toString().replace(new RegExp(i,"g"),r))})),t},t}()})),e(i,"Core/Renderer/SVG/SVGRenderer.js",[i["Core/Color/Color.js"],i["Core/Globals.js"],i["Core/Color/Palette.js"],i["Core/Renderer/SVG/SVGElement.js"],i["Core/Renderer/SVG/SVGLabel.js"],i["Core/Renderer/HTML/AST.js"],i["Core/Renderer/SVG/TextBuilder.js"],i["Core/Utilities.js"]],(function(t,e,i,r,o,n,s,a){var h,l=a.addEvent,c=a.attr,d=a.createElement,p=a.css,u=a.defined,f=a.destroyObjectProperties,g=a.extend,m=a.isArray,y=a.isNumber,v=a.isObject,x=a.isString,b=a.merge,k=a.pick,w=a.pInt,C=a.uniqueKey,M=e.charts,S=e.deg2rad,A=e.doc,T=e.isFirefox,P=e.isMS,O=e.isWebKit,L=e.noop,E=e.SVG_NS,D=e.symbolSizes,j=e.win;a=function(){function e(t,e,i,r,o,n,s){this.width=this.url=this.style=this.isSVG=this.imgCount=this.height=this.gradients=this.globalAnimation=this.defs=this.chartIndex=this.cacheKeys=this.cache=this.boxWrapper=this.box=this.alignedObjects=void 0,this.init(t,e,i,r,o,n,s)}return e.prototype.init=function(t,e,i,r,o,n,s){var a,h=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"});s||h.css(this.getStyle(r)),r=h.element,t.appendChild(r),c(t,"dir","ltr"),-1===t.innerHTML.indexOf("xmlns")&&c(r,"xmlns",this.SVG_NS),this.isSVG=!0,this.box=r,this.boxWrapper=h,this.alignedObjects=[],this.url=this.getReferenceURL(),this.createElement("desc").add().element.appendChild(A.createTextNode("Created with Highcharts 9.1.0")),this.defs=this.createElement("defs").add(),this.allowHTML=n,this.forExport=o,this.styledMode=s,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.setSize(e,i,!1),T&&t.getBoundingClientRect&&((e=function(){p(t,{left:0,top:0}),a=t.getBoundingClientRect(),p(t,{left:Math.ceil(a.left)-a.left+"px",top:Math.ceil(a.top)-a.top+"px"})})(),this.unSubPixelFix=l(j,"resize",e))},e.prototype.definition=function(t){return new n([t]).addToDOM(this.defs.element)},e.prototype.getReferenceURL=function(){if((T||O)&&A.getElementsByTagName("base").length){if(!u(h)){var t=C();t=new n([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:t},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":"url(#"+t+")",fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(A.body),p(t,{position:"fixed",top:0,left:0,zIndex:9e5});var e=A.elementFromPoint(6,6);h="hitme"===(e&&e.id),A.body.removeChild(t)}if(h)return j.location.href.split("#")[0].replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20")}return""},e.prototype.getStyle=function(t){return this.style=g({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},t)},e.prototype.setStyle=function(t){this.boxWrapper.css(this.getStyle(t))},e.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width},e.prototype.destroy=function(){var t=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),f(this.gradients||{}),this.gradients=null,t&&(this.defs=t.destroy()),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null},e.prototype.createElement=function(t){var e=new this.Element;return e.init(this,t),e},e.prototype.getRadialAttr=function(t,e){return{cx:t[0]-t[2]/2+(e.cx||0)*t[2],cy:t[1]-t[2]/2+(e.cy||0)*t[2],r:(e.r||0)*t[2]}},e.prototype.buildText=function(t){new s(t).buildSVG()},e.prototype.getContrast=function(e){return(e=t.parse(e).rgba)[0]*=1,e[1]*=1.2,e[2]*=.5,459<e[0]+e[1]+e[2]?"#000000":"#FFFFFF"},e.prototype.button=function(t,e,r,o,s,a,h,c,d,p){var u=this.label(t,e,r,d,void 0,void 0,p,void 0,"button"),f=0,m=this.styledMode,y=s?b(s):{};if(t=y&&y.style||{},y=n.filterUserAttributes(y),u.attr(b({padding:8,r:2},y)),!m){var v=(y=b({fill:i.neutralColor3,stroke:i.neutralColor20,"stroke-width":1,style:{color:i.neutralColor80,cursor:"pointer",fontWeight:"normal"}},{style:t},y)).style;delete y.style;var x=(a=b(y,{fill:i.neutralColor10},n.filterUserAttributes(a||{}))).style;delete a.style;var k=(h=b(y,{fill:i.highlightColor10,style:{color:i.neutralColor100,fontWeight:"bold"}},n.filterUserAttributes(h||{}))).style;delete h.style;var w=(c=b(y,{style:{color:i.neutralColor20}},n.filterUserAttributes(c||{}))).style;delete c.style}return l(u.element,P?"mouseover":"mouseenter",(function(){3!==f&&u.setState(1)})),l(u.element,P?"mouseout":"mouseleave",(function(){3!==f&&u.setState(f)})),u.setState=function(t){1!==t&&(u.state=f=t),u.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][t||0]),m||u.attr([y,a,h,c][t||0]).css([v,x,k,w][t||0])},m||u.attr(y).css(g({cursor:"default"},v)),u.on("touchstart",(function(t){return t.stopPropagation()})).on("click",(function(t){3!==f&&o.call(u,t)}))},e.prototype.crispLine=function(t,e,i){void 0===i&&(i="round");var r=t[0],o=t[1];return r[1]===o[1]&&(r[1]=o[1]=Math[i](r[1])-e%2/2),r[2]===o[2]&&(r[2]=o[2]=Math[i](r[2])+e%2/2),t},e.prototype.path=function(t){var e=this.styledMode?{}:{fill:"none"};return m(t)?e.d=t:v(t)&&g(e,t),this.createElement("path").attr(e)},e.prototype.circle=function(t,e,i){return t=v(t)?t:void 0===t?{}:{x:t,y:e,r:i},(e=this.createElement("circle")).xSetter=e.ySetter=function(t,e,i){i.setAttribute("c"+e,t)},e.attr(t)},e.prototype.arc=function(t,e,i,r,o,n){return v(t)?(e=(r=t).y,i=r.r,t=r.x):r={innerR:r,start:o,end:n},(t=this.symbol("arc",t,e,i,i,r)).r=i,t},e.prototype.rect=function(t,e,i,r,o,n){o=v(t)?t.r:o;var s=this.createElement("rect");return t=v(t)?t:void 0===t?{}:{x:t,y:e,width:Math.max(i,0),height:Math.max(r,0)},this.styledMode||(void 0!==n&&(t["stroke-width"]=n,t=s.crisp(t)),t.fill="none"),o&&(t.r=o),s.rSetter=function(t,e,i){s.r=t,c(i,{rx:t,ry:t})},s.rGetter=function(){return s.r||0},s.attr(t)},e.prototype.setSize=function(t,e,i){this.width=t,this.height=e,this.boxWrapper.animate({width:t,height:e},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:k(i,!0)?void 0:0}),this.alignElements()},e.prototype.g=function(t){var e=this.createElement("g");return t?e.attr({class:"highcharts-"+t}):e},e.prototype.image=function(t,e,i,r,o,n){var s={preserveAspectRatio:"none"},a=function(t,e){t.setAttributeNS?t.setAttributeNS("http://www.w3.org/1999/xlink","href",e):t.setAttribute("hc-svg-href",e)},h=function(e){a(c.element,t),n.call(c,e)};1<arguments.length&&g(s,{x:e,y:i,width:r,height:o});var c=this.createElement("image").attr(s);return n?(a(c.element,"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),s=new j.Image,l(s,"load",h),s.src=t,s.complete&&h({})):a(c.element,t),c},e.prototype.symbol=function(t,e,i,r,o,n){var s,a=this,h=/^url\((.*?)\)$/,l=h.test(t),c=!l&&(this.symbols[t]?t:"circle"),f=c&&this.symbols[c];if(f){"number"==typeof e&&(s=f.call(this.symbols,Math.round(e||0),Math.round(i||0),r||0,o||0,n));var m=this.path(s);a.styledMode||m.attr("fill","none"),g(m,{symbolName:c,x:e,y:i,width:r,height:o}),n&&g(m,n)}else if(l){var y=t.match(h)[1];(m=this.image(y)).imgwidth=k(D[y]&&D[y].width,n&&n.width),m.imgheight=k(D[y]&&D[y].height,n&&n.height);var v=function(){m.attr({width:m.width,height:m.height})};["width","height"].forEach((function(t){m[t+"Setter"]=function(t,e){var i=this["img"+e];this[e]=t,u(i)&&(n&&"within"===n.backgroundSize&&this.width&&this.height&&(i=Math.round(i*Math.min(this.width/this.imgwidth,this.height/this.imgheight))),this.element&&this.element.setAttribute(e,i),this.alignByTranslate||(t=((this[e]||0)-i)/2,this.attr("width"===e?{translateX:t}:{translateY:t})))}})),u(e)&&m.attr({x:e,y:i}),m.isImg=!0,u(m.imgwidth)&&u(m.imgheight)?v():(m.attr({width:0,height:0}),d("img",{onload:function(){var t=M[a.chartIndex];0===this.width&&(p(this,{position:"absolute",top:"-999em"}),A.body.appendChild(this)),D[y]={width:this.width,height:this.height},m.imgwidth=this.width,m.imgheight=this.height,m.element&&v(),this.parentNode&&this.parentNode.removeChild(this),a.imgCount--,a.imgCount||!t||t.hasLoaded||t.onload()},src:y}),this.imgCount++)}return m},e.prototype.clipRect=function(t,e,i,r){var o=C()+"-",n=this.createElement("clipPath").attr({id:o}).add(this.defs);return(t=this.rect(t,e,i,r,0).add(n)).id=o,t.clipPath=n,t.count=0,t},e.prototype.text=function(t,e,i,r){var o={};return!r||!this.allowHTML&&this.forExport?(o.x=Math.round(e||0),i&&(o.y=Math.round(i)),u(t)&&(o.text=t),t=this.createElement("text").attr(o),r||(t.xSetter=function(t,e,i){var r,o=i.getElementsByTagName("tspan"),n=i.getAttribute(e);for(r=0;r<o.length;r++){var s=o[r];s.getAttribute(e)===n&&s.setAttribute(e,t)}i.setAttribute(e,t)}),t):this.html(t,e,i)},e.prototype.fontMetrics=function(t,e){return t=!this.styledMode&&/px/.test(t)||!j.getComputedStyle?t||e&&e.style&&e.style.fontSize||this.style&&this.style.fontSize:e&&r.prototype.getStyle.call(e,"font-size"),{h:e=24>(t=/px/.test(t)?w(t):12)?t+3:Math.round(1.2*t),b:Math.round(.8*e),f:t}},e.prototype.rotCorr=function(t,e,i){var r=t;return e&&i&&(r=Math.max(r*Math.cos(e*S),4)),{x:-t/3*Math.sin(e*S),y:r}},e.prototype.pathToSegments=function(t){for(var e=[],i=[],r={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2},o=0;o<t.length;o++)x(i[0])&&y(t[o])&&i.length===r[i[0].toUpperCase()]&&t.splice(o,0,i[0].replace("M","L").replace("m","l")),"string"==typeof t[o]&&(i.length&&e.push(i.slice(0)),i.length=0),i.push(t[o]);return e.push(i.slice(0)),e},e.prototype.label=function(t,e,i,r,n,s,a,h,l){return new o(this,t,e,i,r,n,s,a,h,l)},e.prototype.alignElements=function(){this.alignedObjects.forEach((function(t){return t.align()}))},e}(),a.prototype.Element=r,a.prototype.SVG_NS=E,a.prototype.draw=L,a.prototype.escapes={"&":"&amp;","<":"&lt;",">":"&gt;","'":"&#39;",'"':"&quot;"};var I=function(t,e,i,r,o){return[["M",t+(o=o&&o.r||0),e],["L",t+i-o,e],["C",t+i,e,t+i,e,t+i,e+o],["L",t+i,e+r-o],["C",t+i,e+r,t+i,e+r,t+i-o,e+r],["L",t+o,e+r],["C",t,e+r,t,e+r,t,e+r-o],["L",t,e+o],["C",t,e,t,e,t+o,e]]};return L=function(t,e,i,r,o){return o&&o.r?I(t,e,i,r,o):[["M",t,e],["L",t+i,e],["L",t+i,e+r],["L",t,e+r],["Z"]]},a.prototype.symbols={circle:function(t,e,i,r){return this.arc(t+i/2,e+r/2,i/2,r/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},rect:L,square:L,triangle:function(t,e,i,r){return[["M",t+i/2,e],["L",t+i,e+r],["L",t,e+r],["Z"]]},"triangle-down":function(t,e,i,r){return[["M",t,e],["L",t+i,e],["L",t+i/2,e+r],["Z"]]},diamond:function(t,e,i,r){return[["M",t+i/2,e],["L",t+i,e+r/2],["L",t+i/2,e+r],["L",t,e+r/2],["Z"]]},arc:function(t,e,i,r,o){var n=[];if(o){var s=o.start||0,a=k(o.r,i);i=k(o.r,r||i);var h=(o.end||0)-.001;r=o.innerR;var l=k(o.open,.001>Math.abs((o.end||0)-s-2*Math.PI)),c=Math.cos(s),d=Math.sin(s),p=Math.cos(h),f=Math.sin(h);s=k(o.longArc,.001>h-s-Math.PI?0:1),n.push(["M",t+a*c,e+i*d],["A",a,i,0,s,k(o.clockwise,1),t+a*p,e+i*f]),u(r)&&n.push(l?["M",t+r*p,e+r*f]:["L",t+r*p,e+r*f],["A",r,r,0,s,u(o.clockwise)?1-o.clockwise:0,t+r*c,e+r*d]),l||n.push(["Z"])}return n},callout:function(t,e,i,r,o){var n=Math.min(o&&o.r||0,i,r),s=n+6,a=o&&o.anchorX;o=o&&o.anchorY||0;var h=I(t,e,i,r,{r:n});return y(a)?(t+a>=i?o>e+s&&o<e+r-s?h.splice(3,1,["L",t+i,o-6],["L",t+i+6,o],["L",t+i,o+6],["L",t+i,e+r-n]):h.splice(3,1,["L",t+i,r/2],["L",a,o],["L",t+i,r/2],["L",t+i,e+r-n]):0>=t+a?o>e+s&&o<e+r-s?h.splice(7,1,["L",t,o+6],["L",t-6,o],["L",t,o-6],["L",t,e+n]):h.splice(7,1,["L",t,r/2],["L",a,o],["L",t,r/2],["L",t,e+n]):o&&o>r&&a>t+s&&a<t+i-s?h.splice(5,1,["L",a+6,e+r],["L",a,e+r+6],["L",a-6,e+r],["L",t+n,e+r]):o&&0>o&&a>t+s&&a<t+i-s&&h.splice(1,1,["L",a-6,e],["L",a,e-6],["L",a+6,e],["L",i-n,e]),h):h}},e.SVGRenderer=a,e.Renderer=e.SVGRenderer,e.Renderer})),e(i,"Core/Renderer/HTML/HTMLElement.js",[i["Core/Globals.js"],i["Core/Renderer/SVG/SVGElement.js"],i["Core/Utilities.js"]],(function(t,e,i){var r=t.isFirefox,o=t.isMS,n=t.isWebKit,s=t.win,a=i.css,h=i.defined,l=i.extend,c=i.pick,d=i.pInt;return l(e.prototype,{htmlCss:function(t){var e="SPAN"===this.element.tagName&&t&&"width"in t,i=c(e&&t.width,void 0);if(e){delete t.width,this.textWidth=i;var r=!0}return t&&"ellipsis"===t.textOverflow&&(t.whiteSpace="nowrap",t.overflow="hidden"),this.styles=l(this.styles,t),a(this.element,t),r&&this.htmlUpdateTransform(),this},htmlGetBBox:function(){var t=this.element;return{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}},htmlUpdateTransform:function(){if(this.added){var t=this.renderer,e=this.element,i=this.translateX||0,r=this.translateY||0,o=this.x||0,n=this.y||0,s=this.textAlign||"left",l={left:0,center:.5,right:1}[s],c=this.styles;if(c=c&&c.whiteSpace,a(e,{marginLeft:i,marginTop:r}),!t.styledMode&&this.shadows&&this.shadows.forEach((function(t){a(t,{marginLeft:i+1,marginTop:r+1})})),this.inverted&&[].forEach.call(e.childNodes,(function(i){t.invertChild(i,e)})),"SPAN"===e.tagName){var p=this.rotation,u=void 0;u=this.textWidth&&d(this.textWidth);var f,g=[p,s,e.innerHTML,this.textWidth,this.textAlign].join();(f=u!==this.oldTextWidth)&&!(f=u>this.oldTextWidth)&&((f=this.textPxLength)||(a(e,{width:"",whiteSpace:c||"nowrap"}),f=e.offsetWidth),f=f>u),f&&(/[ \-]/.test(e.textContent||e.innerText)||"ellipsis"===e.style.textOverflow)?(a(e,{width:u+"px",display:"block",whiteSpace:c||"normal"}),this.oldTextWidth=u,this.hasBoxWidthChanged=!0):this.hasBoxWidthChanged=!1,g!==this.cTT&&(u=t.fontMetrics(e.style.fontSize,e).b,!h(p)||p===(this.oldRotation||0)&&s===this.oldAlign||this.setSpanRotation(p,l,u),this.getSpanCorrection(!h(p)&&this.textPxLength||e.offsetWidth,u,l,p,s)),a(e,{left:o+(this.xCorr||0)+"px",top:n+(this.yCorr||0)+"px"}),this.cTT=g,this.oldRotation=p,this.oldAlign=s}}else this.alignOnAdd=!0},setSpanRotation:function(t,e,i){var h={},l=o&&!/Edge/.test(s.navigator.userAgent)?"-ms-transform":n?"-webkit-transform":r?"MozTransform":s.opera?"-o-transform":void 0;l&&(h[l]=h.transform="rotate("+t+"deg)",h[l+(r?"Origin":"-origin")]=h.transformOrigin=100*e+"% "+i+"px",a(this.element,h))},getSpanCorrection:function(t,e,i){this.xCorr=-t*i,this.yCorr=-e}}),e})),e(i,"Core/Renderer/HTML/HTMLRenderer.js",[i["Core/Renderer/HTML/AST.js"],i["Core/Renderer/SVG/SVGElement.js"],i["Core/Renderer/SVG/SVGRenderer.js"],i["Core/Utilities.js"]],(function(t,e,i,r){var o=r.attr,n=r.createElement,s=r.extend,a=r.pick;return s(i.prototype,{html:function(i,r,h){var l=this.createElement("span"),c=l.element,d=l.renderer,p=d.isSVG,u=function(t,i){["opacity","visibility"].forEach((function(r){t[r+"Setter"]=function(o,n,s){var a=t.div?t.div.style:i;e.prototype[r+"Setter"].call(this,o,n,s),a&&(a[n]=o)}})),t.addedSetters=!0};return l.textSetter=function(e){e!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,t.setElementHTML(this.element,a(e,"")),this.textStr=e,l.doTransform=!0)},p&&u(l,l.element.style),l.xSetter=l.ySetter=l.alignSetter=l.rotationSetter=function(t,e){"align"===e?l.alignValue=l.textAlign=t:l[e]=t,l.doTransform=!0},l.afterSetters=function(){this.doTransform&&(this.htmlUpdateTransform(),this.doTransform=!1)},l.attr({text:i,x:Math.round(r),y:Math.round(h)}).css({position:"absolute"}),d.styledMode||l.css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize}),c.style.whiteSpace="nowrap",l.css=l.htmlCss,p&&(l.add=function(t){var e=d.box.parentNode,i=[];if(this.parentGroup=t){var r=t.div;if(!r){for(;t;)i.push(t),t=t.parentGroup;i.reverse().forEach((function(t){function a(e,i){t[i]=e,"translateX"===i?d.left=e+"px":d.top=e+"px",t.doTransform=!0}var h=o(t.element,"class"),c=t.styles||{},d=(r=t.div=t.div||n("div",h?{className:h}:void 0,{position:"absolute",left:(t.translateX||0)+"px",top:(t.translateY||0)+"px",display:t.display,opacity:t.opacity,cursor:c.cursor,pointerEvents:c.pointerEvents},r||e)).style;s(t,{classSetter:function(t){return function(e){this.element.setAttribute("class",e),t.className=e}}(r),on:function(){return i[0].div&&l.on.apply({element:i[0].div,onEvents:l.onEvents},arguments),t},translateXSetter:a,translateYSetter:a}),t.addedSetters||u(t)}))}}else r=e;return r.appendChild(c),l.added=!0,l.alignOnAdd&&l.htmlUpdateTransform(),l}),l}}),i})),e(i,"Core/Axis/Tick.js",[i["Core/FormatUtilities.js"],i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e,i){var r=e.deg2rad,o=i.clamp,n=i.correctFloat,s=i.defined,a=i.destroyObjectProperties,h=i.extend,l=i.fireEvent,c=i.isNumber,d=i.merge,p=i.objectEach,u=i.pick;return i=function(){function e(t,e,i,r,o){this.isNewLabel=this.isNew=!0,this.axis=t,this.pos=e,this.type=i||"",this.parameters=o||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,l(this,"init"),i||r||this.addLabel()}return e.prototype.addLabel=function(){var e,i,r=this,o=r.axis,a=o.options,d=o.chart,p=o.categories,f=o.logarithmic,g=o.names,m=r.pos,y=u(r.options&&r.options.labels,a.labels),v=o.tickPositions,x=m===v[0],b=m===v[v.length-1],k=r.label,w=(!y.step||1===y.step)&&1===o.tickInterval;if(v=v.info,p=this.parameters.category||(p?u(p[m],g[m],m):m),f&&c(p)&&(p=n(f.lin2log(p))),o.dateTime&&v)var C=d.time.resolveDTLFormat(a.dateTimeLabelFormats[!a.grid&&v.higherRanks[m]||v.unitName]),M=C.main;r.isFirst=x,r.isLast=b;var S={axis:o,chart:d,dateTimeLabelFormat:M,isFirst:x,isLast:b,pos:m,tick:r,tickPositionInfo:v,value:p};l(this,"labelFormat",S);var A=function(e){return y.formatter?y.formatter.call(e,e):y.format?(e.text=o.defaultLabelFormatter.call(e),t.format(y.format,e,d)):o.defaultLabelFormatter.call(e,e)};a=A.call(S,S),(i=C&&C.list)&&(r.shortenLabel=function(){for(e=0;e<i.length;e++)if(h(S,{dateTimeLabelFormat:i[e]}),k.attr({text:A.call(S,S)}),k.getBBox().width<o.getSlotWidth(r)-2*y.padding)return;k.attr({text:""})}),w&&o._addedPlotLB&&r.moveLabel(a,y),s(k)||r.movedLabel?k&&k.textStr!==a&&!w&&(!k.textWidth||y.style.width||k.styles.width||k.css({width:null}),k.attr({text:a}),k.textPxLength=k.getBBox().width):(r.label=k=r.createLabel({x:0,y:0},a,y),r.rotation=0)},e.prototype.createLabel=function(t,e,i){var r=this.axis,o=r.chart;return(t=s(e)&&i.enabled?o.renderer.text(e,t.x,t.y,i.useHTML).add(r.labelGroup):null)&&(o.styledMode||t.css(d(i.style)),t.textPxLength=t.getBBox().width),t},e.prototype.destroy=function(){a(this,this.axis)},e.prototype.getPosition=function(t,e,i,r){var s=this.axis,a=s.chart,h=r&&a.oldChartHeight||a.chartHeight;return(t={x:t?n(s.translate(e+i,null,null,r)+s.transB):s.left+s.offset+(s.opposite?(r&&a.oldChartWidth||a.chartWidth)-s.right-s.left:0),y:t?h-s.bottom+s.offset-(s.opposite?s.height:0):n(h-s.translate(e+i,null,null,r)-s.transB)}).y=o(t.y,-1e5,1e5),l(this,"afterGetPosition",{pos:t}),t},e.prototype.getLabelPosition=function(t,e,i,o,n,a,h,c){var d=this.axis,p=d.transA,u=d.isLinked&&d.linkedParent?d.linkedParent.reversed:d.reversed,f=d.staggerLines,g=d.tickRotCorr||{x:0,y:0},m=n.y,y=o||d.reserveSpaceDefault?0:-d.labelOffset*("center"===d.labelAlign?.5:1),v={};return s(m)||(m=0===d.side?i.rotation?-8:-i.getBBox().height:2===d.side?g.y+8:Math.cos(i.rotation*r)*(g.y-i.getBBox(!1,0).height/2)),t=t+n.x+y+g.x-(a&&o?a*p*(u?-1:1):0),e=e+m-(a&&!o?a*p*(u?1:-1):0),f&&(i=h/(c||1)%f,d.opposite&&(i=f-i-1),e+=d.labelOffset/f*i),v.x=t,v.y=Math.round(e),l(this,"afterGetLabelPosition",{pos:v,tickmarkOffset:a,index:h}),v},e.prototype.getLabelSize=function(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0},e.prototype.getMarkPath=function(t,e,i,r,o,n){return n.crispLine([["M",t,e],["L",t+(o?0:-i),e+(o?i:0)]],r)},e.prototype.handleOverflow=function(t){var e=this.axis,i=e.options.labels,o=t.x,n=e.chart.chartWidth,s=e.chart.spacing,a=u(e.labelLeft,Math.min(e.pos,s[3]));s=u(e.labelRight,Math.max(e.isRadial?0:e.pos+e.len,n-s[1]));var h,l=this.label,c=this.rotation,d={left:0,center:.5,right:1}[e.labelAlign||l.attr("align")],p=l.getBBox().width,f=e.getSlotWidth(this),g=f,m=1,y={};c||"justify"!==i.overflow?0>c&&o-d*p<a?h=Math.round(o/Math.cos(c*r)-a):0<c&&o+d*p>s&&(h=Math.round((n-o)/Math.cos(c*r))):(n=o+(1-d)*p,o-d*p<a?g=t.x+g*(1-d)-a:n>s&&(g=s-t.x+g*d,m=-1),(g=Math.min(f,g))<f&&"center"===e.labelAlign&&(t.x+=m*(f-g-d*(f-Math.min(p,g)))),(p>g||e.autoRotation&&(l.styles||{}).width)&&(h=g)),h&&(this.shortenLabel?this.shortenLabel():(y.width=Math.floor(h)+"px",(i.style||{}).textOverflow||(y.textOverflow="ellipsis"),l.css(y)))},e.prototype.moveLabel=function(t,e){var i=this,r=i.label,o=!1,n=i.axis,s=n.reversed;if(r&&r.textStr===t?(i.movedLabel=r,o=!0,delete i.label):p(n.ticks,(function(e){o||e.isNew||e===i||!e.label||e.label.textStr!==t||(i.movedLabel=e.label,o=!0,e.labelPos=i.movedLabel.xy,delete e.label)})),!o&&(i.labelPos||r)){var a=i.labelPos||r.xy;r=n.horiz?s?0:n.width+n.left:a.x,n=n.horiz?a.y:s?n.width+n.left:0,i.movedLabel=i.createLabel({x:r,y:n},t,e),i.movedLabel&&i.movedLabel.attr({opacity:0})}},e.prototype.render=function(t,e,i){var r=this.axis,o=r.horiz,n=this.pos,s=u(this.tickmarkOffset,r.tickmarkOffset);s=(n=this.getPosition(o,n,s,e)).x;var a=n.y;r=o&&s===r.pos+r.len||!o&&a===r.pos?-1:1,o=u(i,this.label&&this.label.newOpacity,1),i=u(i,1),this.isActive=!0,this.renderGridLine(e,i,r),this.renderMark(n,i,r),this.renderLabel(n,e,o,t),this.isNew=!1,l(this,"afterRender")},e.prototype.renderGridLine=function(t,e,i){var r=this.axis,o=r.options,n=this.gridLine,s={},a=this.pos,h=this.type,l=u(this.tickmarkOffset,r.tickmarkOffset),c=r.chart.renderer,d=o.gridLineWidth,p=o.gridLineColor,f=o.gridLineDashStyle;"minor"===this.type&&(d=o.minorGridLineWidth,p=o.minorGridLineColor,f=o.minorGridLineDashStyle),n||(r.chart.styledMode||(s.stroke=p,s["stroke-width"]=d||0,s.dashstyle=f),h||(s.zIndex=1),t&&(e=0),this.gridLine=n=c.path().attr(s).addClass("highcharts-"+(h?h+"-":"")+"grid-line").add(r.gridGroup)),n&&(i=r.getPlotLinePath({value:a+l,lineWidth:n.strokeWidth()*i,force:"pass",old:t}))&&n[t||this.isNew?"attr":"animate"]({d:i,opacity:e})},e.prototype.renderMark=function(t,e,i){var r=this.axis,o=r.options,n=r.chart.renderer,s=this.type,a=r.tickSize(s?s+"Tick":"tick"),h=this.mark,l=!h,c=t.x;t=t.y;var d=u(o["minor"!==s?"tickWidth":"minorTickWidth"],!s&&r.isXAxis?1:0);o=o["minor"!==s?"tickColor":"minorTickColor"],a&&(r.opposite&&(a[0]=-a[0]),l&&(this.mark=h=n.path().addClass("highcharts-"+(s?s+"-":"")+"tick").add(r.axisGroup),r.chart.styledMode||h.attr({stroke:o,"stroke-width":d})),h[l?"attr":"animate"]({d:this.getMarkPath(c,t,a[0],h.strokeWidth()*i,r.horiz,n),opacity:e}))},e.prototype.renderLabel=function(t,e,i,r){var o=this.axis,n=o.horiz,s=o.options,a=this.label,h=s.labels,l=h.step;o=u(this.tickmarkOffset,o.tickmarkOffset);var d=!0,p=t.x;t=t.y,a&&c(p)&&(a.xy=t=this.getLabelPosition(p,t,a,n,h,o,r,l),this.isFirst&&!this.isLast&&!s.showFirstLabel||this.isLast&&!this.isFirst&&!s.showLastLabel?d=!1:!n||h.step||h.rotation||e||0===i||this.handleOverflow(t),l&&r%l&&(d=!1),d&&c(t.y)?(t.opacity=i,a[this.isNewLabel?"attr":"animate"](t),this.isNewLabel=!1):(a.attr("y",-9999),this.isNewLabel=!0))},e.prototype.replaceMovedLabel=function(){var t=this.label,e=this.axis,i=e.reversed;if(t&&!this.isNew){var r=e.horiz?i?e.left:e.width+e.left:t.xy.x;i=e.horiz?t.xy.y:i?e.width+e.top:e.top,t.animate({x:r,y:i,opacity:0},void 0,t.destroy),delete this.label}e.isDirty=!0,this.label=this.movedLabel,delete this.movedLabel},e}(),e.Tick=i,e.Tick})),e(i,"Core/Axis/Axis.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Color/Color.js"],i["Core/Globals.js"],i["Core/Color/Palette.js"],i["Core/Options.js"],i["Core/Axis/Tick.js"],i["Core/Utilities.js"]],(function(t,e,i,r,o,n,s){var a=t.animObject,h=o.defaultOptions,l=s.addEvent,c=s.arrayMax,d=s.arrayMin,p=s.clamp,u=s.correctFloat,f=s.defined,g=s.destroyObjectProperties,m=s.erase,y=s.error,v=s.extend,x=s.fireEvent,b=s.getMagnitude,k=s.isArray,w=s.isFunction,C=s.isNumber,M=s.isString,S=s.merge,A=s.normalizeTickInterval,T=s.objectEach,P=s.pick,O=s.relativeLength,L=s.removeEvent,E=s.splat,D=s.syncTimeout,j=i.deg2rad;return t=function(){function t(t,e){this.zoomEnabled=this.width=this.visible=this.userOptions=this.translationSlope=this.transB=this.transA=this.top=this.ticks=this.tickRotCorr=this.tickPositions=this.tickmarkOffset=this.tickInterval=this.tickAmount=this.side=this.series=this.right=this.positiveValuesOnly=this.pos=this.pointRangePadding=this.pointRange=this.plotLinesAndBandsGroups=this.plotLinesAndBands=this.paddedTicks=this.overlap=this.options=this.offset=this.names=this.minPixelPadding=this.minorTicks=this.minorTickInterval=this.min=this.maxLabelLength=this.max=this.len=this.left=this.labelFormatter=this.labelEdge=this.isLinked=this.height=this.hasVisibleSeries=this.hasNames=this.coll=this.closestPointRange=this.chart=this.categories=this.bottom=this.alternateBands=void 0,this.init(t,e)}return t.prototype.init=function(t,e){var i=e.isX,r=this;r.chart=t,r.horiz=t.inverted&&!r.isZAxis?!i:i,r.isXAxis=i,r.coll=r.coll||(i?"xAxis":"yAxis"),x(this,"init",{userOptions:e}),r.opposite=P(e.opposite,r.opposite),r.side=P(e.side,r.side,r.horiz?r.opposite?0:2:r.opposite?1:3),r.setOptions(e);var o=this.options,n=o.labels,s=o.type;r.userOptions=e,r.minPixelPadding=0,r.reversed=P(o.reversed,r.reversed),r.visible=o.visible,r.zoomEnabled=o.zoomEnabled,r.hasNames="category"===s||!0===o.categories,r.categories=o.categories||r.hasNames,r.names||(r.names=[],r.names.keys={}),r.plotLinesAndBandsGroups={},r.positiveValuesOnly=!!r.logarithmic,r.isLinked=f(o.linkedTo),r.ticks={},r.labelEdge=[],r.minorTicks={},r.plotLinesAndBands=[],r.alternateBands={},r.len=0,r.minRange=r.userMinRange=o.minRange||o.maxZoom,r.range=o.range,r.offset=o.offset||0,r.max=null,r.min=null,e=P(o.crosshair,E(t.options.tooltip.crosshairs)[i?0:1]),r.crosshair=!0===e?{}:e,e=r.options.events,-1===t.axes.indexOf(r)&&(i?t.axes.splice(t.xAxis.length,0,r):t.axes.push(r),t[r.coll].push(r)),r.series=r.series||[],t.inverted&&!r.isZAxis&&i&&void 0===r.reversed&&(r.reversed=!0),r.labelRotation=C(n.rotation)?n.rotation:void 0,T(e,(function(t,e){w(t)&&l(r,e,t)})),x(this,"afterInit")},t.prototype.setOptions=function(e){this.options=S(t.defaultOptions,"yAxis"===this.coll&&t.defaultYAxisOptions,[t.defaultTopAxisOptions,t.defaultRightAxisOptions,t.defaultBottomAxisOptions,t.defaultLeftAxisOptions][this.side],S(h[this.coll],e)),x(this,"afterSetOptions",{userOptions:e})},t.prototype.defaultLabelFormatter=function(){var t=this.axis,e=C(this.value)?this.value:NaN,i=t.chart.time,r=this.dateTimeLabelFormat,o=h.lang,n=o.numericSymbols;o=o.numericSymbolMagnitude||1e3;var s=n&&n.length,a=t.logarithmic?Math.abs(e):t.tickInterval,l=this.chart.numberFormatter;if(t.categories)var c=""+this.value;else if(r)c=i.dateFormat(r,e);else if(s&&1e3<=a)for(;s--&&void 0===c;)a>=(t=Math.pow(o,s+1))&&0==10*e%t&&null!==n[s]&&0!==e&&(c=l(e/t,-1)+n[s]);return void 0===c&&(c=1e4<=Math.abs(e)?l(e,-1):l(e,-1,void 0,"")),c},t.prototype.getSeriesExtremes=function(){var t,e=this,i=e.chart;x(this,"getSeriesExtremes",null,(function(){e.hasVisibleSeries=!1,e.dataMin=e.dataMax=e.threshold=null,e.softThreshold=!e.isXAxis,e.stacking&&e.stacking.buildStacks(),e.series.forEach((function(r){if(r.visible||!i.options.chart.ignoreHiddenSeries){var o=r.options,n=o.threshold;if(e.hasVisibleSeries=!0,e.positiveValuesOnly&&0>=n&&(n=null),e.isXAxis){if((o=r.xData).length){o=e.logarithmic?o.filter(e.validatePositiveValue):o;var s=(t=r.getXExtremes(o)).min,a=t.max;C(s)||s instanceof Date||(o=o.filter(C),s=(t=r.getXExtremes(o)).min,a=t.max),o.length&&(e.dataMin=Math.min(P(e.dataMin,s),s),e.dataMax=Math.max(P(e.dataMax,a),a))}}else r=r.applyExtremes(),C(r.dataMin)&&(s=r.dataMin,e.dataMin=Math.min(P(e.dataMin,s),s)),C(r.dataMax)&&(a=r.dataMax,e.dataMax=Math.max(P(e.dataMax,a),a)),f(n)&&(e.threshold=n),(!o.softThreshold||e.positiveValuesOnly)&&(e.softThreshold=!1)}}))})),x(this,"afterGetSeriesExtremes")},t.prototype.translate=function(t,e,i,r,o,n){var s=this.linkedParent||this,a=1,h=0,l=r&&s.old?s.old.transA:s.transA;r=r&&s.old?s.old.min:s.min;var c=s.minPixelPadding;return o=(s.isOrdinal||s.brokenAxis&&s.brokenAxis.hasBreaks||s.logarithmic&&o)&&s.lin2val,l||(l=s.transA),i&&(a*=-1,h=s.len),s.reversed&&(h-=(a*=-1)*(s.sector||s.len)),e?(t=(t*a+h-c)/l+r,o&&(t=s.lin2val(t))):(o&&(t=s.val2lin(t)),t=C(r)?a*(t-r)*l+h+a*c+(C(n)?l*n:0):void 0),t},t.prototype.toPixels=function(t,e){return this.translate(t,!1,!this.horiz,null,!0)+(e?0:this.pos)},t.prototype.toValue=function(t,e){return this.translate(t-(e?0:this.pos),!0,!this.horiz,null,!0)},t.prototype.getPlotLinePath=function(t){function e(t,e,i){return("pass"!==m&&t<e||t>i)&&(m?t=p(t,e,i):s=!0),t}var i,r,o,n,s,a=this,h=a.chart,l=a.left,c=a.top,d=t.old,u=t.value,f=t.translatedValue,g=t.lineWidth,m=t.force,y=d&&h.oldChartHeight||h.chartHeight,v=d&&h.oldChartWidth||h.chartWidth,b=a.transB;return t={value:u,lineWidth:g,old:d,force:m,acrossPanes:t.acrossPanes,translatedValue:f},x(this,"getPlotLinePath",t,(function(t){f=P(f,a.translate(u,null,null,d)),f=p(f,-1e5,1e5),i=o=Math.round(f+b),r=n=Math.round(y-f-b),C(f)?a.horiz?(r=c,n=y-a.bottom,i=o=e(i,l,l+a.width)):(i=l,o=v-a.right,r=n=e(r,c,c+a.height)):(s=!0,m=!1),t.path=s&&!m?null:h.renderer.crispLine([["M",i,r],["L",o,n]],g||1)})),t.path},t.prototype.getLinearTickPositions=function(t,e,i){var r=u(Math.floor(e/t)*t);i=u(Math.ceil(i/t)*t);var o,n=[];if(u(r+t)===r&&(o=20),this.single)return[e];for(e=r;e<=i&&(n.push(e),(e=u(e+t,o))!==s);)var s=e;return n},t.prototype.getMinorTickInterval=function(){var t=this.options;return!0===t.minorTicks?P(t.minorTickInterval,"auto"):!1===t.minorTicks?null:t.minorTickInterval},t.prototype.getMinorTickPositions=function(){var t=this.options,e=this.tickPositions,i=this.minorTickInterval,r=[],o=this.pointRangePadding||0,n=this.min-o,s=(o=this.max+o)-n;if(s&&s/i<this.len/3){var a=this.logarithmic;if(a)this.paddedTicks.forEach((function(t,e,o){e&&r.push.apply(r,a.getLogTickPositions(i,o[e-1],o[e],!0))}));else if(this.dateTime&&"auto"===this.getMinorTickInterval())r=r.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(i),n,o,t.startOfWeek));else for(t=n+(e[0]-n)%i;t<=o&&t!==r[0];t+=i)r.push(t)}return 0!==r.length&&this.trimTicks(r),r},t.prototype.adjustForMinRange=function(){var t,e,i,r,o=this.options,n=this.min,s=this.max,a=this.logarithmic,h=0;if(this.isXAxis&&void 0===this.minRange&&!a&&(f(o.min)||f(o.max)?this.minRange=null:(this.series.forEach((function(o){if(i=o.xData,r=o.xIncrement?1:i.length-1,1<i.length)for(t=r;0<t;t--)e=i[t]-i[t-1],(!h||e<h)&&(h=e)})),this.minRange=Math.min(5*h,this.dataMax-this.dataMin))),s-n<this.minRange){var l=this.dataMax-this.dataMin>=this.minRange,p=this.minRange,u=(p-s+n)/2;u=[n-u,P(o.min,n-u)],l&&(u[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin),s=[(n=c(u))+p,P(o.max,n+p)],l&&(s[2]=a?a.log2lin(this.dataMax):this.dataMax),(s=d(s))-n<p&&(u[0]=s-p,u[1]=P(o.min,s-p),n=c(u))}this.min=n,this.max=s},t.prototype.getClosest=function(){var t;return this.categories?t=1:this.series.forEach((function(e){var i=e.closestPointRange,r=e.visible||!e.chart.options.chart.ignoreHiddenSeries;!e.noSharedTooltip&&f(i)&&r&&(t=f(t)?Math.min(t,i):i)})),t},t.prototype.nameToX=function(t){var e=k(this.categories),i=e?this.categories:this.names,r=t.options.x;if(t.series.requireSorting=!1,f(r)||(r=this.options.uniqueNames?e?i.indexOf(t.name):P(i.keys[t.name],-1):t.series.autoIncrement()),-1===r){if(!e)var o=i.length}else o=r;return void 0!==o&&(this.names[o]=t.name,this.names.keys[t.name]=o),o},t.prototype.updateNames=function(){var t=this,e=this.names;0<e.length&&(Object.keys(e.keys).forEach((function(t){delete e.keys[t]})),e.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach((function(e){e.xIncrement=null,e.points&&!e.isDirtyData||(t.max=Math.max(t.max,e.xData.length-1),e.processData(),e.generatePoints()),e.data.forEach((function(i,r){if(i&&i.options&&void 0!==i.name){var o=t.nameToX(i);void 0!==o&&o!==i.x&&(i.x=o,e.xData[r]=o)}}))})))},t.prototype.setAxisTranslation=function(){var t=this,e=t.max-t.min,i=t.axisPointRange||0,r=0,o=0,n=t.linkedParent,s=!!t.categories,a=t.transA,h=t.isXAxis;if(h||s||i){var l=t.getClosest();n?(r=n.minPointOffset,o=n.pointRangePadding):t.series.forEach((function(e){var n=s?1:h?P(e.options.pointRange,l,0):t.axisPointRange||0,a=e.options.pointPlacement;i=Math.max(i,n),t.single&&!s||(e=e.is("xrange")?!h:h,r=Math.max(r,e&&M(a)?0:n/2),o=Math.max(o,e&&"on"===a?0:n))})),n=t.ordinal&&t.ordinal.slope&&l?t.ordinal.slope/l:1,t.minPointOffset=r*=n,t.pointRangePadding=o*=n,t.pointRange=Math.min(i,t.single&&s?1:e),h&&(t.closestPointRange=l)}t.translationSlope=t.transA=a=t.staticScale||t.len/(e+o||1),t.transB=t.horiz?t.left:t.bottom,t.minPixelPadding=a*r,x(this,"afterSetAxisTranslation")},t.prototype.minFromRange=function(){return this.max-this.range},t.prototype.setTickInterval=function(t){var e=this,i=e.chart,r=e.logarithmic,o=e.options,n=e.isXAxis,s=e.isLinked,a=o.maxPadding,h=o.minPadding,l=o.tickInterval,c=o.tickPixelInterval,d=e.categories,p=C(e.threshold)?e.threshold:null,g=e.softThreshold;e.dateTime||d||s||this.getTickAmount();var m=P(e.userMin,o.min),v=P(e.userMax,o.max);if(s){e.linkedParent=i[e.coll][o.linkedTo];var k=e.linkedParent.getExtremes();e.min=P(k.min,k.dataMin),e.max=P(k.max,k.dataMax),o.type!==e.linkedParent.options.type&&y(11,1,i)}else{if(g&&f(p))if(e.dataMin>=p)k=p,h=0;else if(e.dataMax<=p){var w=p;a=0}e.min=P(m,k,e.dataMin),e.max=P(v,w,e.dataMax)}r&&(e.positiveValuesOnly&&!t&&0>=Math.min(e.min,P(e.dataMin,e.min))&&y(10,1,i),e.min=u(r.log2lin(e.min),16),e.max=u(r.log2lin(e.max),16)),e.range&&f(e.max)&&(e.userMin=e.min=m=Math.max(e.dataMin,e.minFromRange()),e.userMax=v=e.max,e.range=null),x(e,"foundExtremes"),e.beforePadding&&e.beforePadding(),e.adjustForMinRange(),!(d||e.axisPointRange||e.stacking&&e.stacking.usePercentage||s)&&f(e.min)&&f(e.max)&&(i=e.max-e.min)&&(!f(m)&&h&&(e.min-=i*h),!f(v)&&a&&(e.max+=i*a)),C(e.userMin)||(C(o.softMin)&&o.softMin<e.min&&(e.min=m=o.softMin),C(o.floor)&&(e.min=Math.max(e.min,o.floor))),C(e.userMax)||(C(o.softMax)&&o.softMax>e.max&&(e.max=v=o.softMax),C(o.ceiling)&&(e.max=Math.min(e.max,o.ceiling))),g&&f(e.dataMin)&&(p=p||0,!f(m)&&e.min<p&&e.dataMin>=p?e.min=e.options.minRange?Math.min(p,e.max-e.minRange):p:!f(v)&&e.max>p&&e.dataMax<=p&&(e.max=e.options.minRange?Math.max(p,e.min+e.minRange):p)),C(e.min)&&C(e.max)&&!this.chart.polar&&e.min>e.max&&(f(e.options.min)?e.max=e.min:f(e.options.max)&&(e.min=e.max)),e.tickInterval=e.min===e.max||void 0===e.min||void 0===e.max?1:s&&e.linkedParent&&!l&&c===e.linkedParent.options.tickPixelInterval?l=e.linkedParent.tickInterval:P(l,this.tickAmount?(e.max-e.min)/Math.max(this.tickAmount-1,1):void 0,d?1:(e.max-e.min)*c/Math.max(e.len,c)),n&&!t&&e.series.forEach((function(t){t.processData(e.min!==(e.old&&e.old.min)||e.max!==(e.old&&e.old.max))})),e.setAxisTranslation(),x(this,"initialAxisTranslation"),e.pointRange&&!l&&(e.tickInterval=Math.max(e.pointRange,e.tickInterval)),t=P(o.minTickInterval,e.dateTime&&!e.series.some((function(t){return t.noSharedTooltip}))?e.closestPointRange:0),!l&&e.tickInterval<t&&(e.tickInterval=t),e.dateTime||e.logarithmic||l||(e.tickInterval=A(e.tickInterval,void 0,b(e.tickInterval),P(o.allowDecimals,.5>e.tickInterval||void 0!==this.tickAmount),!!this.tickAmount)),this.tickAmount||(e.tickInterval=e.unsquish()),this.setTickPositions()},t.prototype.setTickPositions=function(){var t=this.options,e=t.tickPositions,i=this.getMinorTickInterval(),r=t.tickPositioner,o=this.hasVerticalPanning(),n="colorAxis"===this.coll,s=(n||!o)&&t.startOnTick;o=(n||!o)&&t.endOnTick,this.tickmarkOffset=this.categories&&"between"===t.tickmarkPlacement&&1===this.tickInterval?.5:0,this.minorTickInterval="auto"===i&&this.tickInterval?this.tickInterval/5:i,this.single=this.min===this.max&&f(this.min)&&!this.tickAmount&&(parseInt(this.min,10)===this.min||!1!==t.allowDecimals),this.tickPositions=i=e&&e.slice(),!i&&(this.ordinal&&this.ordinal.positions||!((this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))?i=this.dateTime?this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,t.units),this.min,this.max,t.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,!0):this.logarithmic?this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max):this.getLinearTickPositions(this.tickInterval,this.min,this.max):(i=[this.min,this.max],y(19,!1,this.chart)),i.length>this.len&&(i=[i[0],i.pop()])[0]===i[1]&&(i.length=1),this.tickPositions=i,r&&(r=r.apply(this,[this.min,this.max])))&&(this.tickPositions=i=r),this.paddedTicks=i.slice(0),this.trimTicks(i,s,o),this.isLinked||(this.single&&2>i.length&&!this.categories&&!this.series.some((function(t){return t.is("heatmap")&&"between"===t.options.pointPlacement}))&&(this.min-=.5,this.max+=.5),e||r||this.adjustTickAmount()),x(this,"afterSetTickPositions")},t.prototype.trimTicks=function(t,e,i){var r=t[0],o=t[t.length-1],n=!this.isOrdinal&&this.minPointOffset||0;if(x(this,"trimTicks"),!this.isLinked){if(e&&-1/0!==r)this.min=r;else for(;this.min-n>t[0];)t.shift();if(i)this.max=o;else for(;this.max+n<t[t.length-1];)t.pop();0===t.length&&f(r)&&!this.options.tickPositions&&t.push((o+r)/2)}},t.prototype.alignToOthers=function(){var t,e={},i=this.options;return!1!==this.chart.options.chart.alignTicks&&i.alignTicks&&!1!==i.startOnTick&&!1!==i.endOnTick&&!this.logarithmic&&this.chart[this.coll].forEach((function(i){var r=i.options;r=[i.horiz?r.left:r.top,r.width,r.height,r.pane].join(),i.series.length&&(e[r]?t=!0:e[r]=1)})),t},t.prototype.getTickAmount=function(){var t=this.options,e=t.tickAmount,i=t.tickPixelInterval;!f(t.tickInterval)&&!e&&this.len<i&&!this.isRadial&&!this.logarithmic&&t.startOnTick&&t.endOnTick&&(e=2),!e&&this.alignToOthers()&&(e=Math.ceil(this.len/i)+1),4>e&&(this.finalTickAmt=e,e=5),this.tickAmount=e},t.prototype.adjustTickAmount=function(){var t=this.options,e=this.tickInterval,i=this.tickPositions,r=this.tickAmount,o=this.finalTickAmt,n=i&&i.length,s=P(this.threshold,this.softThreshold?0:null);if(this.hasData()&&C(this.min)&&C(this.max)){if(n<r){for(;i.length<r;)i.length%2||this.min===s?i.push(u(i[i.length-1]+e)):i.unshift(u(i[0]-e));this.transA*=(n-1)/(r-1),this.min=t.startOnTick?i[0]:Math.min(this.min,i[0]),this.max=t.endOnTick?i[i.length-1]:Math.max(this.max,i[i.length-1])}else n>r&&(this.tickInterval*=2,this.setTickPositions());if(f(o)){for(e=t=i.length;e--;)(3===o&&1==e%2||2>=o&&0<e&&e<t-1)&&i.splice(e,1);this.finalTickAmt=void 0}}},t.prototype.setScale=function(){var t,e=!1,i=!1;this.series.forEach((function(t){e=e||t.isDirtyData||t.isDirty,i=i||t.xAxis&&t.xAxis.isDirty||!1})),this.setAxisSize(),(t=this.len!==(this.old&&this.old.len))||e||i||this.isLinked||this.forceRedraw||this.userMin!==(this.old&&this.old.userMin)||this.userMax!==(this.old&&this.old.userMax)||this.alignToOthers()?(this.stacking&&this.stacking.resetStacks(),this.forceRedraw=!1,this.getSeriesExtremes(),this.setTickInterval(),this.isDirty||(this.isDirty=t||this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max))):this.stacking&&this.stacking.cleanStacks(),e&&this.panningState&&(this.panningState.isDirty=!0),x(this,"afterSetScale")},t.prototype.setExtremes=function(t,e,i,r,o){var n=this,s=n.chart;i=P(i,!0),n.series.forEach((function(t){delete t.kdTree})),o=v(o,{min:t,max:e}),x(n,"setExtremes",o,(function(){n.userMin=t,n.userMax=e,n.eventArgs=o,i&&s.redraw(r)}))},t.prototype.zoom=function(t,e){var i=this,r=this.dataMin,o=this.dataMax,n=this.options,s=Math.min(r,P(n.min,r)),a=Math.max(o,P(n.max,o));return x(this,"zoom",t={newMin:t,newMax:e},(function(t){var e=t.newMin,n=t.newMax;e===i.min&&n===i.max||(i.allowZoomOutside||(f(r)&&(e<s&&(e=s),e>a&&(e=a)),f(o)&&(n<s&&(n=s),n>a&&(n=a))),i.displayBtn=void 0!==e||void 0!==n,i.setExtremes(e,n,!1,void 0,{trigger:"zoom"})),t.zoomed=!0})),t.zoomed},t.prototype.setAxisSize=function(){var t=this.chart,e=this.options,i=e.offsets||[0,0,0,0],r=this.horiz,o=this.width=Math.round(O(P(e.width,t.plotWidth-i[3]+i[1]),t.plotWidth)),n=this.height=Math.round(O(P(e.height,t.plotHeight-i[0]+i[2]),t.plotHeight)),s=this.top=Math.round(O(P(e.top,t.plotTop+i[0]),t.plotHeight,t.plotTop));e=this.left=Math.round(O(P(e.left,t.plotLeft+i[3]),t.plotWidth,t.plotLeft)),this.bottom=t.chartHeight-n-s,this.right=t.chartWidth-o-e,this.len=Math.max(r?o:n,0),this.pos=r?e:s},t.prototype.getExtremes=function(){var t=this.logarithmic;return{min:t?u(t.lin2log(this.min)):this.min,max:t?u(t.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}},t.prototype.getThreshold=function(t){var e=this.logarithmic,i=e?e.lin2log(this.min):this.min;return e=e?e.lin2log(this.max):this.max,null===t||-1/0===t?t=i:1/0===t?t=e:i>t?t=i:e<t&&(t=e),this.translate(t,0,1,0,1)},t.prototype.autoLabelAlign=function(t){var e=(P(t,0)-90*this.side+720)%360;return x(this,"autoLabelAlign",t={align:"center"},(function(t){15<e&&165>e?t.align="right":195<e&&345>e&&(t.align="left")})),t.align},t.prototype.tickSize=function(t){var e=this.options,i=e["tick"===t?"tickLength":"minorTickLength"],r=P(e["tick"===t?"tickWidth":"minorTickWidth"],"tick"===t&&this.isXAxis&&!this.categories?1:0);if(r&&i){"inside"===e[t+"Position"]&&(i=-i);var o=[i,r]}return x(this,"afterTickSize",t={tickSize:o}),t.tickSize},t.prototype.labelMetrics=function(){var t=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style.fontSize,this.ticks[t]&&this.ticks[t].label)},t.prototype.unsquish=function(){var t,e,i=this.options.labels,r=this.horiz,o=this.tickInterval,n=o,s=this.len/(((this.categories?1:0)+this.max-this.min)/o),a=i.rotation,h=this.labelMetrics(),l=Number.MAX_VALUE,c=Math.max(this.max-this.min,0),d=function(t){var e=t/(s||1);return(e=1<e?Math.ceil(e):1)*o>c&&1/0!==t&&1/0!==s&&c&&(e=Math.ceil(c/o)),u(e*o)};if(r){if(!i.staggerLines&&!i.step)if(C(a))var p=[a];else s<i.autoRotationLimit&&(p=i.autoRotation);p&&p.forEach((function(i){if(i===a||i&&-90<=i&&90>=i){var r=(e=d(Math.abs(h.h/Math.sin(j*i))))+Math.abs(i/360);r<l&&(l=r,t=i,n=e)}}))}else i.step||(n=d(h.h));return this.autoRotation=p,this.labelRotation=P(t,C(a)?a:0),n},t.prototype.getSlotWidth=function(t){var e=this.chart,i=this.horiz,r=this.options.labels,o=Math.max(this.tickPositions.length-(this.categories?0:1),1),n=e.margin[3];if(t&&C(t.slotWidth))return t.slotWidth;if(i&&2>r.step)return r.rotation?0:(this.staggerLines||1)*this.len/o;if(!i){if(void 0!==(t=r.style.width))return parseInt(String(t),10);if(n)return n-e.spacing[3]}return.33*e.chartWidth},t.prototype.renderUnsquish=function(){var t=this.chart,e=t.renderer,i=this.tickPositions,r=this.ticks,o=this.options.labels,n=o.style,s=this.horiz,a=this.getSlotWidth(),h=Math.max(1,Math.round(a-2*o.padding)),l={},c=this.labelMetrics(),d=n.textOverflow,p=0;if(M(o.rotation)||(l.rotation=o.rotation||0),i.forEach((function(t){(t=r[t]).movedLabel&&t.replaceMovedLabel(),t&&t.label&&t.label.textPxLength>p&&(p=t.label.textPxLength)})),this.maxLabelLength=p,this.autoRotation)p>h&&p>c.h?l.rotation=this.labelRotation:this.labelRotation=0;else if(a){var u=h;if(!d){var f="clip";for(h=i.length;!s&&h--;){var g=i[h];(g=r[g].label)&&(g.styles&&"ellipsis"===g.styles.textOverflow?g.css({textOverflow:"clip"}):g.textPxLength>a&&g.css({width:a+"px"}),g.getBBox().height>this.len/i.length-(c.h-c.f)&&(g.specificTextOverflow="ellipsis"))}}}l.rotation&&(u=p>.5*t.chartHeight?.33*t.chartHeight:p,d||(f="ellipsis")),(this.labelAlign=o.align||this.autoLabelAlign(this.labelRotation))&&(l.align=this.labelAlign),i.forEach((function(t){var e=(t=r[t])&&t.label,i=n.width,o={};e&&(e.attr(l),t.shortenLabel?t.shortenLabel():u&&!i&&"nowrap"!==n.whiteSpace&&(u<e.textPxLength||"SPAN"===e.element.tagName)?(o.width=u+"px",d||(o.textOverflow=e.specificTextOverflow||f),e.css(o)):e.styles&&e.styles.width&&!o.width&&!i&&e.css({width:null}),delete e.specificTextOverflow,t.rotation=l.rotation)}),this),this.tickRotCorr=e.rotCorr(c.b,this.labelRotation||0,0!==this.side)},t.prototype.hasData=function(){return this.series.some((function(t){return t.hasData()}))||this.options.showEmpty&&f(this.min)&&f(this.max)},t.prototype.addTitle=function(t){var e,i=this.chart.renderer,r=this.horiz,o=this.opposite,n=this.options.title,s=this.chart.styledMode;this.axisTitle||((e=n.textAlign)||(e=(r?{low:"left",middle:"center",high:"right"}:{low:o?"right":"left",middle:"center",high:o?"left":"right"})[n.align]),this.axisTitle=i.text(n.text||"",0,0,n.useHTML).attr({zIndex:7,rotation:n.rotation,align:e}).addClass("highcharts-axis-title"),s||this.axisTitle.css(S(n.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=!0),s||n.style.width||this.isRadial||this.axisTitle.css({width:this.len+"px"}),this.axisTitle[t?"show":"hide"](t)},t.prototype.generateTick=function(t){var e=this.ticks;e[t]?e[t].addLabel():e[t]=new n(this,t)},t.prototype.getOffset=function(){var t,e=this,i=this,r=i.chart,o=r.renderer,n=i.options,s=i.tickPositions,a=i.ticks,h=i.horiz,l=i.side,c=r.inverted&&!i.isZAxis?[1,0,3,2][l]:l,d=0,p=0,u=n.title,g=n.labels,m=0,y=r.axisOffset;r=r.clipOffset;var v=[-1,1,1,-1][l],b=n.className,k=i.axisParent,w=i.hasData();if(i.showAxis=t=w||n.showEmpty,i.staggerLines=i.horiz&&g.staggerLines||void 0,!i.axisGroup){var C=function(t,i,r){return o.g(t).attr({zIndex:r}).addClass("highcharts-"+e.coll.toLowerCase()+i+" "+(e.isRadial?"highcharts-radial-axis"+i+" ":"")+(b||"")).add(k)};i.gridGroup=C("grid","-grid",n.gridZIndex),i.axisGroup=C("axis","",n.zIndex),i.labelGroup=C("axis-labels","-labels",g.zIndex)}if(w||i.isLinked?(s.forEach((function(t,e){i.generateTick(t,e)})),i.renderUnsquish(),i.reserveSpaceDefault=0===l||2===l||{1:"left",3:"right"}[l]===i.labelAlign,P(g.reserveSpace,"center"===i.labelAlign||null,i.reserveSpaceDefault)&&s.forEach((function(t){m=Math.max(a[t].getLabelSize(),m)})),i.staggerLines&&(m*=i.staggerLines),i.labelOffset=m*(i.opposite?-1:1)):T(a,(function(t,e){t.destroy(),delete a[e]})),u&&u.text&&!1!==u.enabled&&(i.addTitle(t),t&&!1!==u.reserveSpace)){i.titleOffset=d=i.axisTitle.getBBox()[h?"height":"width"];var M=u.offset;p=f(M)?0:P(u.margin,h?5:10)}i.renderLine(),i.offset=v*P(n.offset,y[l]?y[l]+(n.margin||0):0),i.tickRotCorr=i.tickRotCorr||{x:0,y:0},u=0===l?-i.labelMetrics().h:2===l?i.tickRotCorr.y:0,p=Math.abs(m)+p,m&&(p=p-u+v*(h?P(g.y,i.tickRotCorr.y+8*v):g.x)),i.axisTitleMargin=P(M,p),i.getMaxLabelDimensions&&(i.maxLabelDimensions=i.getMaxLabelDimensions(a,s)),h=this.tickSize("tick"),y[l]=Math.max(y[l],(i.axisTitleMargin||0)+d+v*i.offset,p,s&&s.length&&h?h[0]+v*i.offset:0),n=n.offset?0:2*Math.floor(i.axisLine.strokeWidth()/2),r[c]=Math.max(r[c],n),x(this,"afterGetOffset")},t.prototype.getLinePath=function(t){var e=this.chart,i=this.opposite,r=this.offset,o=this.horiz,n=this.left+(i?this.width:0)+r;return r=e.chartHeight-this.bottom-(i?this.height:0)+r,i&&(t*=-1),e.renderer.crispLine([["M",o?this.left:n,o?r:this.top],["L",o?e.chartWidth-this.right:n,o?r:e.chartHeight-this.bottom]],t)},t.prototype.renderLine=function(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.chart.styledMode||this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,zIndex:7}))},t.prototype.getTitlePosition=function(){var t=this.horiz,e=this.left,i=this.top,r=this.len,o=this.options.title,n=t?e:i,s=this.opposite,a=this.offset,h=o.x,l=o.y,c=this.axisTitle,d=this.chart.renderer.fontMetrics(o.style.fontSize,c);return c=Math.max(c.getBBox(null,0).height-d.h-1,0),r={low:n+(t?0:r),middle:n+r/2,high:n+(t?r:0)}[o.align],e=(t?i+this.height:e)+(t?1:-1)*(s?-1:1)*this.axisTitleMargin+[-c,c,d.f,-c][this.side],t={x:t?r+h:e+(s?this.width:0)+a+h,y:t?e+l-(s?this.height:0)+a:r+l},x(this,"afterGetTitlePosition",{titlePosition:t}),t},t.prototype.renderMinorTick=function(t){var e=this.chart.hasRendered&&this.old,i=this.minorTicks;i[t]||(i[t]=new n(this,t,"minor")),e&&i[t].isNew&&i[t].render(null,!0),i[t].render(null,!1,1)},t.prototype.renderTick=function(t,e){var i=this.ticks,r=this.chart.hasRendered&&this.old;(!this.isLinked||t>=this.min&&t<=this.max||this.grid&&this.grid.isColumn)&&(i[t]||(i[t]=new n(this,t)),r&&i[t].isNew&&i[t].render(e,!0,-1),i[t].render(e))},t.prototype.render=function(){var t,e,r=this,o=r.chart,s=r.logarithmic,h=r.options,l=r.isLinked,c=r.tickPositions,d=r.axisTitle,p=r.ticks,u=r.minorTicks,f=r.alternateBands,g=h.stackLabels,m=h.alternateGridColor,y=r.tickmarkOffset,v=r.axisLine,b=r.showAxis,k=a(o.renderer.globalAnimation);r.labelEdge.length=0,r.overlap=!1,[p,u,f].forEach((function(t){T(t,(function(t){t.isActive=!1}))})),(r.hasData()||l)&&(r.minorTickInterval&&!r.categories&&r.getMinorTickPositions().forEach((function(t){r.renderMinorTick(t)})),c.length&&(c.forEach((function(t,e){r.renderTick(t,e)})),y&&(0===r.min||r.single)&&(p[-1]||(p[-1]=new n(r,-1,null,!0)),p[-1].render(-1))),m&&c.forEach((function(n,a){e=void 0!==c[a+1]?c[a+1]+y:r.max-y,0==a%2&&n<r.max&&e<=r.max+(o.polar?-y:y)&&(f[n]||(f[n]=new i.PlotLineOrBand(r)),t=n+y,f[n].options={from:s?s.lin2log(t):t,to:s?s.lin2log(e):e,color:m,className:"highcharts-alternate-grid"},f[n].render(),f[n].isActive=!0)})),r._addedPlotLB||(r._addedPlotLB=!0,(h.plotLines||[]).concat(h.plotBands||[]).forEach((function(t){r.addPlotBandOrLine(t)})))),[p,u,f].forEach((function(t){var e,i=[],r=k.duration;T(t,(function(t,e){t.isActive||(t.render(e,!1,0),t.isActive=!1,i.push(e))})),D((function(){for(e=i.length;e--;)t[i[e]]&&!t[i[e]].isActive&&(t[i[e]].destroy(),delete t[i[e]])}),t!==f&&o.hasRendered&&r?r:0)})),v&&(v[v.isPlaced?"animate":"attr"]({d:this.getLinePath(v.strokeWidth())}),v.isPlaced=!0,v[b?"show":"hide"](b)),d&&b&&(h=r.getTitlePosition(),C(h.y)?(d[d.isNew?"attr":"animate"](h),d.isNew=!1):(d.attr("y",-9999),d.isNew=!0)),g&&g.enabled&&r.stacking&&r.stacking.renderStackTotals(),r.old={len:r.len,max:r.max,min:r.min,transA:r.transA,userMax:r.userMax,userMin:r.userMin},r.isDirty=!1,x(this,"afterRender")},t.prototype.redraw=function(){this.visible&&(this.render(),this.plotLinesAndBands.forEach((function(t){t.render()}))),this.series.forEach((function(t){t.isDirty=!0}))},t.prototype.getKeepProps=function(){return this.keepProps||t.keepProps},t.prototype.destroy=function(t){var e,i=this,r=i.plotLinesAndBands;if(x(this,"destroy",{keepEvents:t}),t||L(i),[i.ticks,i.minorTicks,i.alternateBands].forEach((function(t){g(t)})),r)for(t=r.length;t--;)r[t].destroy();for(e in"axisLine axisTitle axisGroup gridGroup labelGroup cross scrollbar".split(" ").forEach((function(t){i[t]&&(i[t]=i[t].destroy())})),i.plotLinesAndBandsGroups)i.plotLinesAndBandsGroups[e]=i.plotLinesAndBandsGroups[e].destroy();T(i,(function(t,e){-1===i.getKeepProps().indexOf(e)&&delete i[e]}))},t.prototype.drawCrosshair=function(t,i){var o,n=this.crosshair,s=P(n&&n.snap,!0),a=this.cross,h=this.chart;if(x(this,"drawCrosshair",{e:t,point:i}),t||(t=this.cross&&this.cross.e),n&&!1!==(f(i)||!s)){if(s?f(i)&&(o=P("colorAxis"!==this.coll?i.crosshairPos:null,this.isXAxis?i.plotX:this.len-i.plotY)):o=t&&(this.horiz?t.chartX-this.pos:this.len-t.chartY+this.pos),f(o)){var l={value:i&&(this.isXAxis?i.x:P(i.stackY,i.y)),translatedValue:o};h.polar&&v(l,{isCrosshair:!0,chartX:t&&t.chartX,chartY:t&&t.chartY,point:i}),l=this.getPlotLinePath(l)||null}if(!f(l))return void this.hideCrosshair();s=this.categories&&!this.isRadial,a||(this.cross=a=h.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(s?"category ":"thin ")+(n.className||"")).attr({zIndex:P(n.zIndex,2)}).add(),h.styledMode||(a.attr({stroke:n.color||(s?e.parse(r.highlightColor20).setOpacity(.25).get():r.neutralColor20),"stroke-width":P(n.width,1)}).css({"pointer-events":"none"}),n.dashStyle&&a.attr({dashstyle:n.dashStyle}))),a.show().attr({d:l}),s&&!n.width&&a.attr({"stroke-width":this.transA}),this.cross.e=t}else this.hideCrosshair();x(this,"afterDrawCrosshair",{e:t,point:i})},t.prototype.hideCrosshair=function(){this.cross&&this.cross.hide(),x(this,"afterHideCrosshair")},t.prototype.hasVerticalPanning=function(){var t=this.chart.options.chart.panning;return!!(t&&t.enabled&&/y/.test(t.type))},t.prototype.validatePositiveValue=function(t){return C(t)&&0<t},t.prototype.update=function(t,e){var i=this.chart,r=t&&t.events||{};t=S(this.userOptions,t),T(i.options[this.coll].events,(function(t,e){void 0===r[e]&&(r[e]=void 0)})),this.destroy(!0),this.init(i,v(t,{events:r})),i.isDirtyBox=!0,P(e,!0)&&i.redraw()},t.prototype.remove=function(t){for(var e=this.chart,i=this.coll,r=this.series,o=r.length;o--;)r[o]&&r[o].remove(!1);m(e.axes,this),m(e[i],this),e[i].forEach((function(t,e){t.options.index=t.userOptions.index=e})),this.destroy(),e.isDirtyBox=!0,P(t,!0)&&e.redraw()},t.prototype.setTitle=function(t,e){this.update({title:t},e)},t.prototype.setCategories=function(t,e){this.update({categories:t},e)},t.defaultOptions={alignTicks:!0,allowDecimals:void 0,zIndex:2,zoomEnabled:!0,dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",range:!1},second:{main:"%H:%M:%S",range:!1},minute:{main:"%H:%M",range:!1},hour:{main:"%H:%M",range:!1},day:{main:"%e. %b"},week:{main:"%e. %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:!1,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotation:void 0,autoRotationLimit:80,distance:void 0,enabled:!0,indentation:10,overflow:"justify",padding:5,reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:!1,x:0,zIndex:7,style:{color:r.neutralColor60,cursor:"default",fontSize:"11px"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minPadding:.01,offset:void 0,opposite:!1,reversed:void 0,reversedStacks:!1,showEmpty:!0,showFirstLabel:!0,showLastLabel:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",rotation:0,useHTML:!1,x:0,y:0,style:{color:r.neutralColor60}},type:"linear",uniqueNames:!0,visible:!0,minorGridLineColor:r.neutralColor5,minorGridLineWidth:1,minorTickColor:r.neutralColor40,lineColor:r.highlightColor20,lineWidth:1,gridLineColor:r.neutralColor10,gridLineWidth:void 0,tickColor:r.highlightColor20},t.defaultYAxisOptions={reversedStacks:!0,endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8},startOnTick:!0,title:{rotation:270,text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){return(0,this.axis.chart.numberFormatter)(this.total,-1)},style:{color:r.neutralColor100,fontSize:"11px",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},t.defaultLeftAxisOptions={labels:{x:-15},title:{rotation:270}},t.defaultRightAxisOptions={labels:{x:15},title:{rotation:90}},t.defaultBottomAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}},t.defaultTopAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}},t.keepProps="extKey hcEvents names series userMax userMin".split(" "),t}(),i.Axis=t,i.Axis})),e(i,"Core/Axis/DateTimeAxis.js",[i["Core/Axis/Axis.js"],i["Core/Utilities.js"]],(function(t,e){var i=e.addEvent,r=e.getMagnitude,o=e.normalizeTickInterval,n=e.timeUnits,s=function(){function t(t){this.axis=t}return t.prototype.normalizeTimeTickInterval=function(t,e){var i=e||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]];e=i[i.length-1];var s,a=n[e[0]],h=e[1];for(s=0;s<i.length&&(e=i[s],a=n[e[0]],h=e[1],!(i[s+1]&&t<=(a*h[h.length-1]+n[i[s+1][0]])/2));s++);return a===n.year&&t<5*a&&(h=[1,2,5]),{unitRange:a,count:t=o(t/a,h,"year"===e[0]?Math.max(r(t/a),1):1),unitName:e[0]}},t}();return e=function(){function t(){}return t.compose=function(t){t.keepProps.push("dateTime"),t.prototype.getTimeTicks=function(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)},i(t,"init",(function(t){"datetime"!==t.userOptions.type?this.dateTime=void 0:this.dateTime||(this.dateTime=new s(this))}))},t.AdditionsClass=s,t}(),e.compose(t),e})),e(i,"Core/Axis/LogarithmicAxis.js",[i["Core/Axis/Axis.js"],i["Core/Utilities.js"]],(function(t,e){var i=e.addEvent,r=e.getMagnitude,o=e.normalizeTickInterval,n=e.pick,s=function(){function t(t){this.axis=t}return t.prototype.getLogTickPositions=function(t,e,i,s){var a=this.axis,h=a.len,l=a.options,c=[];if(s||(this.minorAutoInterval=void 0),.5<=t)t=Math.round(t),c=a.getLinearTickPositions(t,e,i);else if(.08<=t){var d,p=Math.floor(e),u=l=void 0;for(h=.3<t?[1,2,4]:.15<t?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9];p<i+1&&!u;p++){var f=h.length;for(d=0;d<f&&!u;d++){var g=this.log2lin(this.lin2log(p)*h[d]);g>e&&(!s||l<=i)&&void 0!==l&&c.push(l),l>i&&(u=!0),l=g}}}else e=this.lin2log(e),i=this.lin2log(i),t=s?a.getMinorTickInterval():l.tickInterval,t=n("auto"===t?null:t,this.minorAutoInterval,l.tickPixelInterval/(s?5:1)*(i-e)/((s?h/a.tickPositions.length:h)||1)),t=o(t,void 0,r(t)),c=a.getLinearTickPositions(t,e,i).map(this.log2lin),s||(this.minorAutoInterval=t/5);return s||(a.tickInterval=t),c},t.prototype.lin2log=function(t){return Math.pow(10,t)},t.prototype.log2lin=function(t){return Math.log(t)/Math.LN10},t}();return e=function(){function t(){}return t.compose=function(t){t.keepProps.push("logarithmic"),i(t,"init",(function(t){var e=this.logarithmic;"logarithmic"!==t.userOptions.type?this.logarithmic=void 0:e||(this.logarithmic=new s(this))})),i(t,"afterInit",(function(){var t=this.logarithmic;t&&(this.lin2val=function(e){return t.lin2log(e)},this.val2lin=function(e){return t.log2lin(e)})}))},t}(),e.compose(t),e})),e(i,"Core/Axis/PlotLineOrBand.js",[i["Core/Axis/Axis.js"],i["Core/Globals.js"],i["Core/Color/Palette.js"],i["Core/Utilities.js"]],(function(t,e,i,r){var o=r.arrayMax,n=r.arrayMin,s=r.defined,a=r.destroyObjectProperties,h=r.erase,l=r.extend,c=r.fireEvent,d=r.isNumber,p=r.merge,u=r.objectEach,f=r.pick;return r=function(){function t(t,e){this.axis=t,e&&(this.options=e,this.id=e.id)}return t.prototype.render=function(){c(this,"render");var t=this,e=t.axis,r=e.horiz,o=e.logarithmic,n=t.options,a=n.label,h=t.label,l=n.to,d=n.from,g=n.value,m=s(d)&&s(l),y=s(g),v=t.svgElem,x=!v,b=[],k=n.color,w=f(n.zIndex,0),C=n.events;b={class:"highcharts-plot-"+(m?"band ":"line ")+(n.className||"")};var M={},S=e.chart.renderer,A=m?"bands":"lines";if(o&&(d=o.log2lin(d),l=o.log2lin(l),g=o.log2lin(g)),e.chart.styledMode||(y?(b.stroke=k||i.neutralColor40,b["stroke-width"]=f(n.width,1),n.dashStyle&&(b.dashstyle=n.dashStyle)):m&&(b.fill=k||i.highlightColor10,n.borderWidth&&(b.stroke=n.borderColor,b["stroke-width"]=n.borderWidth))),M.zIndex=w,A+="-"+w,(o=e.plotLinesAndBandsGroups[A])||(e.plotLinesAndBandsGroups[A]=o=S.g("plot-"+A).attr(M).add()),x&&(t.svgElem=v=S.path().attr(b).add(o)),y)b=e.getPlotLinePath({value:g,lineWidth:v.strokeWidth(),acrossPanes:n.acrossPanes});else{if(!m)return;b=e.getPlotBandPath(d,l,n)}return!t.eventsAdded&&C&&(u(C,(function(e,i){v.on(i,(function(e){C[i].apply(t,[e])}))})),t.eventsAdded=!0),(x||!v.d)&&b&&b.length?v.attr({d:b}):v&&(b?(v.show(!0),v.animate({d:b})):v.d&&(v.hide(),h&&(t.label=h=h.destroy()))),a&&(s(a.text)||s(a.formatter))&&b&&b.length&&0<e.width&&0<e.height&&!b.isFlat?(a=p({align:r&&m&&"center",x:r?!m&&4:10,verticalAlign:!r&&m&&"middle",y:r?m?16:10:m?6:-4,rotation:r&&!m&&90},a),this.renderLabel(a,b,m,w)):h&&h.hide(),t},t.prototype.renderLabel=function(t,e,i,r){var s=this.label,a=this.axis.chart.renderer;s||((s={align:t.textAlign||t.align,rotation:t.rotation,class:"highcharts-plot-"+(i?"band":"line")+"-label "+(t.className||"")}).zIndex=r,r=this.getLabelText(t),this.label=s=a.text(r,0,0,t.useHTML).attr(s).add(),this.axis.chart.styledMode||s.css(t.style)),a=e.xBounds||[e[0][1],e[1][1],i?e[2][1]:e[0][1]],e=e.yBounds||[e[0][2],e[1][2],i?e[2][2]:e[0][2]],i=n(a),r=n(e),s.align(t,!1,{x:i,y:r,width:o(a)-i,height:o(e)-r}),s.show(!0)},t.prototype.getLabelText=function(t){return s(t.formatter)?t.formatter.call(this):t.text},t.prototype.destroy=function(){h(this.axis.plotLinesAndBands,this),delete this.axis,a(this)},t}(),l(t.prototype,{getPlotBandPath:function(t,e,i){void 0===i&&(i=this.options);var r=this.getPlotLinePath({value:e,force:!0,acrossPanes:i.acrossPanes});i=this.getPlotLinePath({value:t,force:!0,acrossPanes:i.acrossPanes});var o=[],n=this.horiz,s=1;if(t=!d(this.min)||!d(this.max)||t<this.min&&e<this.min||t>this.max&&e>this.max,i&&r){if(t){var a=i.toString()===r.toString();s=0}for(t=0;t<i.length;t+=2){e=i[t];var h=i[t+1],l=r[t],c=r[t+1];"M"!==e[0]&&"L"!==e[0]||"M"!==h[0]&&"L"!==h[0]||"M"!==l[0]&&"L"!==l[0]||"M"!==c[0]&&"L"!==c[0]||(n&&l[1]===e[1]?(l[1]+=s,c[1]+=s):n||l[2]!==e[2]||(l[2]+=s,c[2]+=s),o.push(["M",e[1],e[2]],["L",h[1],h[2]],["L",c[1],c[2]],["L",l[1],l[2]],["Z"])),o.isFlat=a}}return o},addPlotBand:function(t){return this.addPlotBandOrLine(t,"plotBands")},addPlotLine:function(t){return this.addPlotBandOrLine(t,"plotLines")},addPlotBandOrLine:function(t,i){var r=this,o=new e.PlotLineOrBand(this,t),n=this.userOptions;if(this.visible&&(o=o.render()),o){if(this._addedPlotLB||(this._addedPlotLB=!0,(n.plotLines||[]).concat(n.plotBands||[]).forEach((function(t){r.addPlotBandOrLine(t)}))),i){var s=n[i]||[];s.push(t),n[i]=s}this.plotLinesAndBands.push(o)}return o},removePlotBandOrLine:function(t){for(var e=this.plotLinesAndBands,i=this.options,r=this.userOptions,o=e.length;o--;)e[o].id===t&&e[o].destroy();[i.plotLines||[],r.plotLines||[],i.plotBands||[],r.plotBands||[]].forEach((function(e){for(o=e.length;o--;)(e[o]||{}).id===t&&h(e,e[o])}))},removePlotBand:function(t){this.removePlotBandOrLine(t)},removePlotLine:function(t){this.removePlotBandOrLine(t)}}),e.PlotLineOrBand=r,e.PlotLineOrBand})),e(i,"Core/Tooltip.js",[i["Core/FormatUtilities.js"],i["Core/Globals.js"],i["Core/Color/Palette.js"],i["Core/Utilities.js"]],(function(t,e,i,r){var o=t.format,n=e.doc,s=r.clamp,a=r.css,h=r.defined,l=r.discardElement,c=r.extend,d=r.fireEvent,p=r.isArray,u=r.isNumber,f=r.isString,g=r.merge,m=r.pick,y=r.splat,v=r.syncTimeout,x=r.timeUnits;return t=function(){function t(t,e){this.container=void 0,this.crosshairs=[],this.distance=0,this.isHidden=!0,this.isSticky=!1,this.now={},this.options={},this.outside=!1,this.chart=t,this.init(t,e)}return t.prototype.applyFilter=function(){var t=this.chart;t.renderer.definition({tagName:"filter",attributes:{id:"drop-shadow-"+t.index,opacity:.5},children:[{tagName:"feGaussianBlur",attributes:{in:"SourceAlpha",stdDeviation:1}},{tagName:"feOffset",attributes:{dx:1,dy:1}},{tagName:"feComponentTransfer",children:[{tagName:"feFuncA",attributes:{type:"linear",slope:.3}}]},{tagName:"feMerge",children:[{tagName:"feMergeNode"},{tagName:"feMergeNode",attributes:{in:"SourceGraphic"}}]}]}),t.renderer.definition({tagName:"style",textContent:".highcharts-tooltip-"+t.index+"{filter:url(#drop-shadow-"+t.index+")}"})},t.prototype.bodyFormatter=function(t){return t.map((function(t){var e=t.series.tooltipOptions;return(e[(t.point.formatPrefix||"point")+"Formatter"]||t.point.tooltipFormatter).call(t.point,e[(t.point.formatPrefix||"point")+"Format"]||"")}))},t.prototype.cleanSplit=function(t){this.chart.series.forEach((function(e){var i=e&&e.tt;i&&(!i.isActive||t?e.tt=i.destroy():i.isActive=!1)}))},t.prototype.defaultFormatter=function(t){var e=this.points||y(this),i=[t.tooltipFooterHeaderFormatter(e[0])];return(i=i.concat(t.bodyFormatter(e))).push(t.tooltipFooterHeaderFormatter(e[0],!0)),i},t.prototype.destroy=function(){this.label&&(this.label=this.label.destroy()),this.split&&this.tt&&(this.cleanSplit(this.chart,!0),this.tt=this.tt.destroy()),this.renderer&&(this.renderer=this.renderer.destroy(),l(this.container)),r.clearTimeout(this.hideTimer),r.clearTimeout(this.tooltipTimeout)},t.prototype.getAnchor=function(t,e){var i,r,o=this.chart,n=o.pointer,s=o.inverted,a=o.plotTop,h=o.plotLeft,l=0,c=0;return t=y(t),this.followPointer&&e?(void 0===e.chartX&&(e=n.normalize(e)),n=[e.chartX-h,e.chartY-a]):t[0].tooltipPos?n=t[0].tooltipPos:(t.forEach((function(t){i=t.series.yAxis,r=t.series.xAxis,l+=t.plotX||0,c+=t.plotLow?(t.plotLow+(t.plotHigh||0))/2:t.plotY||0,r&&i&&(s?(l+=a+o.plotHeight-r.len-r.pos,c+=h+o.plotWidth-i.len-i.pos):(l+=r.pos-h,c+=i.pos-a))})),l/=t.length,c/=t.length,n=[s?o.plotWidth-c:l,s?o.plotHeight-l:c],this.shared&&1<t.length&&e&&(s?n[0]=e.chartX-h:n[1]=e.chartY-a)),n.map(Math.round)},t.prototype.getDateFormat=function(t,e,i,r){var o=this.chart.time,n=o.dateFormat("%m-%d %H:%M:%S.%L",e),s={millisecond:15,second:12,minute:9,hour:6,day:3},a="millisecond";for(h in x){if(t===x.week&&+o.dateFormat("%w",e)===i&&"00:00:00.000"===n.substr(6)){var h="week";break}if(x[h]>t){h=a;break}if(s[h]&&n.substr(s[h])!=="01-01 00:00:00.000".substr(s[h]))break;"week"!==h&&(a=h)}if(h)var l=o.resolveDTLFormat(r[h]).main;return l},t.prototype.getLabel=function(){var t,i=this,r=this.chart.renderer,o=this.chart.styledMode,n=this.options,s="tooltip"+(h(n.className)?" "+n.className:""),l=n.style&&n.style.pointerEvents||(!this.followPointer&&n.stickOnContact?"auto":"none");if(!this.label){if(this.outside){var c=this.chart.options.chart.style;this.container=t=e.doc.createElement("div"),t.className="highcharts-tooltip-container",a(t,{position:"absolute",top:"1px",pointerEvents:l,zIndex:Math.max(this.options.style&&this.options.style.zIndex||0,(c&&c.zIndex||0)+3)}),e.doc.body.appendChild(t),this.renderer=r=new e.Renderer(t,0,0,c,void 0,void 0,r.styledMode)}if(this.split?this.label=r.g(s):(this.label=r.label("",0,0,n.shape||"callout",null,null,n.useHTML,null,s).attr({padding:n.padding,r:n.borderRadius}),o||this.label.attr({fill:n.backgroundColor,"stroke-width":n.borderWidth}).css(n.style).css({pointerEvents:l}).shadow(n.shadow)),o&&(this.applyFilter(),this.label.addClass("highcharts-tooltip-"+this.chart.index)),i.outside&&!i.split){var d=this.label,p=d.xSetter,u=d.ySetter;d.xSetter=function(e){p.call(d,i.distance),t.style.left=e+"px"},d.ySetter=function(e){u.call(d,i.distance),t.style.top=e+"px"}}this.label.on("mouseenter",(function(){i.inContact=!0})).on("mouseleave",(function(){var t=i.chart.hoverSeries;i.inContact=!1,t&&t.onMouseOut&&t.onMouseOut()})).attr({zIndex:8}).add()}return this.label},t.prototype.getPosition=function(t,e,i){var r,o=this.chart,s=this.distance,a={},h=o.inverted&&i.h||0,l=this.outside,c=l?n.documentElement.clientWidth-2*s:o.chartWidth,d=l?Math.max(n.body.scrollHeight,n.documentElement.scrollHeight,n.body.offsetHeight,n.documentElement.offsetHeight,n.documentElement.clientHeight):o.chartHeight,p=o.pointer.getChartPosition(),u=function(r){var n="x"===r;return[r,n?c:d,n?t:e].concat(l?[n?t*p.scaleX:e*p.scaleY,n?p.left-s+(i.plotX+o.plotLeft)*p.scaleX:p.top-s+(i.plotY+o.plotTop)*p.scaleY,0,n?c:d]:[n?t:e,n?i.plotX+o.plotLeft:i.plotY+o.plotTop,n?o.plotLeft:o.plotTop,n?o.plotLeft+o.plotWidth:o.plotTop+o.plotHeight])},f=u("y"),g=u("x"),y=!this.followPointer&&m(i.ttBelow,!o.inverted==!!i.negative),v=function(t,e,i,r,o,n,c){var d=l?"y"===t?s*p.scaleY:s*p.scaleX:s,u=(i-r)/2,f=r<o-s,g=o+s+r<e,m=o-d-i+u;if(o=o+d-u,y&&g)a[t]=o;else if(!y&&f)a[t]=m;else if(f)a[t]=Math.min(c-r,0>m-h?m:m-h);else{if(!g)return!1;a[t]=Math.max(n,o+h+i>e?o:o+h)}},x=function(t,e,i,r,o){var n;return o<s||o>e-s?n=!1:a[t]=o<i/2?1:o>e-r/2?e-r-2:o-i/2,n},b=function(t){var e=f;f=g,g=e,r=t},k=function(){!1!==v.apply(0,f)?!1!==x.apply(0,g)||r||(b(!0),k()):r?a.x=a.y=0:(b(!0),k())};return(o.inverted||1<this.len)&&b(),k(),a},t.prototype.getXDateFormat=function(t,e,i){e=e.dateTimeLabelFormats;var r=i&&i.closestPointRange;return(r?this.getDateFormat(r,t.x,i.options.startOfWeek,e):e.day)||e.year},t.prototype.hide=function(t){var e=this;r.clearTimeout(this.hideTimer),t=m(t,this.options.hideDelay,500),this.isHidden||(this.hideTimer=v((function(){e.getLabel().fadeOut(t?void 0:t),e.isHidden=!0}),t))},t.prototype.init=function(t,e){this.chart=t,this.options=e,this.crosshairs=[],this.now={x:0,y:0},this.isHidden=!0,this.split=e.split&&!t.inverted&&!t.polar,this.shared=e.shared||this.split,this.outside=m(e.outside,!(!t.scrollablePixelsX&&!t.scrollablePixelsY))},t.prototype.isStickyOnContact=function(){return!(this.followPointer||!this.options.stickOnContact||!this.inContact)},t.prototype.move=function(t,e,i,o){var n=this,s=n.now,a=!1!==n.options.animation&&!n.isHidden&&(1<Math.abs(t-s.x)||1<Math.abs(e-s.y)),h=n.followPointer||1<n.len;c(s,{x:a?(2*s.x+t)/3:t,y:a?(s.y+e)/2:e,anchorX:h?void 0:a?(2*s.anchorX+i)/3:i,anchorY:h?void 0:a?(s.anchorY+o)/2:o}),n.getLabel().attr(s),n.drawTracker(),a&&(r.clearTimeout(this.tooltipTimeout),this.tooltipTimeout=setTimeout((function(){n&&n.move(t,e,i,o)}),32))},t.prototype.refresh=function(t,e){var o=this.chart,n=this.options,s=y(t),a=s[0],h={},l=[],c=n.formatter||this.defaultFormatter;h=this.shared;var u=o.styledMode;if(n.enabled){r.clearTimeout(this.hideTimer),this.followPointer=!this.split&&a.series.tooltipOptions.followPointer;var f=this.getAnchor(t,e),g=f[0],v=f[1];if(!h||!p(t)&&t.series&&t.series.noSharedTooltip?h=a.getLabelConfig():(o.pointer.applyInactiveState(s),s.forEach((function(t){t.setState("hover"),l.push(t.getLabelConfig())})),(h={x:a.category,y:a.y}).points=l),this.len=l.length,t=c.call(h,this),c=a.series,this.distance=m(c.tooltipOptions.distance,16),!1===t)this.hide();else{if(this.split)this.renderSplit(t,s);else{if(s=g,h=v,e&&o.pointer.isDirectTouch&&(s=e.chartX-o.plotLeft,h=e.chartY-o.plotTop),!o.polar&&!1!==c.options.clip&&!c.shouldShowTooltip(s,h))return void this.hide();e=this.getLabel(),n.style.width&&!u||e.css({width:this.chart.spacingBox.width+"px"}),e.attr({text:t&&t.join?t.join(""):t}),e.removeClass(/highcharts-color-[\d]+/g).addClass("highcharts-color-"+m(a.colorIndex,c.colorIndex)),u||e.attr({stroke:n.borderColor||a.color||c.color||i.neutralColor60}),this.updatePosition({plotX:g,plotY:v,negative:a.negative,ttBelow:a.ttBelow,h:f[2]||0})}this.isHidden&&this.label&&this.label.attr({opacity:1}).show(),this.isHidden=!1}d(this,"refresh")}},t.prototype.renderSplit=function(t,r){function o(t,e,i,r,o){return void 0===o&&(o=!0),i?(e=L?0:I,t=s(t-r/2,T.left,T.right-r-(a.outside?E:0))):(e-=D,t=s(t=o?t-r-M:t+M,o?t:T.left,T.right)),{x:t,y:e}}var a=this,h=a.chart,l=a.chart,d=l.chartWidth,p=l.chartHeight,u=l.plotHeight,g=l.plotLeft,y=l.plotTop,v=l.pointer,x=l.scrollablePixelsY;x=void 0===x?0:x;var b=l.scrollablePixelsX,k=l.scrollingContainer,w=(k=void 0===k?{scrollLeft:0,scrollTop:0}:k).scrollLeft;k=k.scrollTop;var C=l.styledMode,M=a.distance,S=a.options,A=a.options.positioner,T=a.outside&&"number"!=typeof b?n.documentElement.getBoundingClientRect():{left:w,right:w+d,top:k,bottom:k+p},P=a.getLabel(),O=this.renderer||h.renderer,L=!(!h.xAxis[0]||!h.xAxis[0].opposite),E=(h=v.getChartPosition()).left;h=h.top;var D=y+k,j=0,I=u-x;f(t)&&(t=[!1,t]),t=t.slice(0,r.length+1).reduce((function(t,e,n){if(!1!==e&&""!==e){var h=(n=r[n-1]||{isHeader:!0,plotX:r[0].plotX,plotY:u,series:{}}).isHeader,l=h?a:n.series;e=e.toString();var c=l.tt,d=n.isHeader,p=n.series,f="highcharts-color-"+m(n.colorIndex,p.colorIndex,"none");if(c||(c={padding:S.padding,r:S.borderRadius},C||(c.fill=S.backgroundColor,c["stroke-width"]=S.borderWidth),c=O.label("",0,0,S[d?"headerShape":"shape"]||"callout",void 0,void 0,S.useHTML).addClass((d?"highcharts-tooltip-header ":"")+"highcharts-tooltip-box "+f).attr(c).add(P)),c.isActive=!0,c.attr({text:e}),C||c.css(S.style).shadow(S.shadow).attr({stroke:S.borderColor||n.color||p.color||i.neutralColor80}),e=(d=(l=l.tt=c).getBBox()).width+l.strokeWidth(),h&&(j=d.height,I+=j,L&&(D-=j)),p=void 0===(p=n.plotX)?0:p,f=void 0===(f=n.plotY)?0:f,c=n.series,n.isHeader){p=g+p;var v=y+u/2}else{var x=c.xAxis,b=c.yAxis;p=x.pos+s(p,-M,x.len+M),c.shouldShowTooltip(0,b.pos-y+f,{ignoreX:!0})&&(v=b.pos+f)}p=s(p,T.left-M,T.right+M),"number"==typeof v?(d=d.height+1,f=A?A.call(a,e,d,n):o(p,v,h,e),t.push({align:A?0:void 0,anchorX:p,anchorY:v,boxWidth:e,point:n,rank:m(f.rank,h?1:0),size:d,target:f.y,tt:l,x:f.x})):l.isActive=!1}return t}),[]),!A&&t.some((function(t){var e=(a.outside?E:0)+t.anchorX;return e<T.left&&e+t.boxWidth<T.right||e<E-T.left+t.boxWidth&&T.right-e>e}))&&(t=t.map((function(t){var e=o(t.anchorX,t.anchorY,t.point.isHeader,t.boxWidth,!1);return c(t,{target:e.y,x:e.x})}))),a.cleanSplit(),e.distribute(t,I);var N=E,B=E;t.forEach((function(t){var e=t.x,i=t.boxWidth;(t=t.isHeader)||(a.outside&&E+e<N&&(N=E+e),!t&&a.outside&&N+i>B&&(B=E+e))})),t.forEach((function(t){var e=t.x,i=t.anchorX,r=t.pos,o=t.point.isHeader;if(r={visibility:void 0===r?"hidden":"inherit",x:e,y:r+D,anchorX:i,anchorY:t.anchorY},a.outside&&e<i){var n=E-N;0<n&&(o||(r.x=e+n,r.anchorX=i+n),o&&(r.x=(B-N)/2,r.anchorX=i+n))}t.tt.attr(r)})),t=a.container,x=a.renderer,a.outside&&t&&x&&(l=P.getBBox(),x.setSize(l.width+l.x,l.height+l.y,!1),t.style.left=N+"px",t.style.top=h+"px")},t.prototype.drawTracker=function(){if(this.followPointer||!this.options.stickOnContact)this.tracker&&this.tracker.destroy();else{var t=this.chart,e=this.label,i=t.hoverPoint;if(e&&i){var r={x:0,y:0,width:0,height:0};i=this.getAnchor(i);var o=e.getBBox();i[0]+=t.plotLeft-e.translateX,i[1]+=t.plotTop-e.translateY,r.x=Math.min(0,i[0]),r.y=Math.min(0,i[1]),r.width=0>i[0]?Math.max(Math.abs(i[0]),o.width-i[0]):Math.max(Math.abs(i[0]),o.width),r.height=0>i[1]?Math.max(Math.abs(i[1]),o.height-Math.abs(i[1])):Math.max(Math.abs(i[1]),o.height),this.tracker?this.tracker.attr(r):(this.tracker=e.renderer.rect(r).addClass("highcharts-tracker").add(e),t.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}}},t.prototype.styledModeFormat=function(t){return t.replace('style="font-size: 10px"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex}"')},t.prototype.tooltipFooterHeaderFormatter=function(t,e){var i=e?"footer":"header",r=t.series,n=r.tooltipOptions,s=n.xDateFormat,a=r.xAxis,h=a&&"datetime"===a.options.type&&u(t.key),l=n[i+"Format"];return d(this,"headerFormatter",e={isFooter:e,labelConfig:t},(function(e){h&&!s&&(s=this.getXDateFormat(t,n,a)),h&&s&&(t.point&&t.point.tooltipDateKeys||["key"]).forEach((function(t){l=l.replace("{point."+t+"}","{point."+t+":"+s+"}")})),r.chart.styledMode&&(l=this.styledModeFormat(l)),e.text=o(l,{point:t,series:r},this.chart)})),e.text},t.prototype.update=function(t){this.destroy(),g(!0,this.chart.options.tooltip.userOptions,t),this.init(this.chart,g(!0,this.options,t))},t.prototype.updatePosition=function(t){var e=this.chart,i=e.pointer,r=this.getLabel(),o=t.plotX+e.plotLeft;if(e=t.plotY+e.plotTop,i=i.getChartPosition(),t=(this.options.positioner||this.getPosition).call(this,r.width,r.height,t),this.outside){var n=(this.options.borderWidth||0)+2*this.distance;this.renderer.setSize(r.width+n,r.height+n,!1),1===i.scaleX&&1===i.scaleY||(a(this.container,{transform:"scale("+i.scaleX+", "+i.scaleY+")"}),o*=i.scaleX,e*=i.scaleY),o+=i.left-t.x,e+=i.top-t.y}this.move(Math.round(t.x),Math.round(t.y||0),o,e)},t}(),e.Tooltip=t,e.Tooltip})),e(i,"Core/Pointer.js",[i["Core/Color/Color.js"],i["Core/Globals.js"],i["Core/Color/Palette.js"],i["Core/Tooltip.js"],i["Core/Utilities.js"]],(function(t,e,i,r,o){var n=t.parse,s=e.charts,a=e.noop,h=o.addEvent,l=o.attr,c=o.css,d=o.defined,p=o.extend,u=o.find,f=o.fireEvent,g=o.isNumber,m=o.isObject,y=o.objectEach,v=o.offset,x=o.pick,b=o.splat;return t=function(){function t(t,e){this.lastValidTouch={},this.pinchDown=[],this.runChartClick=!1,this.eventsToUnbind=[],this.chart=t,this.hasDragged=!1,this.options=e,this.init(t,e)}return t.prototype.applyInactiveState=function(t){var e,i=[];(t||[]).forEach((function(t){e=t.series,i.push(e),e.linkedParent&&i.push(e.linkedParent),e.linkedSeries&&(i=i.concat(e.linkedSeries)),e.navigatorSeries&&i.push(e.navigatorSeries)})),this.chart.series.forEach((function(t){-1===i.indexOf(t)?t.setState("inactive",!0):t.options.inactiveOtherPoints&&t.setAllPointsToState("inactive")}))},t.prototype.destroy=function(){var t=this;this.eventsToUnbind.forEach((function(t){return t()})),this.eventsToUnbind=[],e.chartCount||(e.unbindDocumentMouseUp&&(e.unbindDocumentMouseUp=e.unbindDocumentMouseUp()),e.unbindDocumentTouchEnd&&(e.unbindDocumentTouchEnd=e.unbindDocumentTouchEnd())),clearInterval(t.tooltipTimeout),y(t,(function(e,i){t[i]=void 0}))},t.prototype.drag=function(t){var e=this.chart,r=e.options.chart,o=t.chartX,s=t.chartY,a=this.zoomHor,h=this.zoomVert,l=e.plotLeft,c=e.plotTop,d=e.plotWidth,p=e.plotHeight,u=this.selectionMarker,f=this.mouseDownX||0,g=this.mouseDownY||0,y=m(r.panning)?r.panning&&r.panning.enabled:r.panning,v=r.panKey&&t[r.panKey+"Key"];if((!u||!u.touch)&&(o<l?o=l:o>l+d&&(o=l+d),s<c?s=c:s>c+p&&(s=c+p),this.hasDragged=Math.sqrt(Math.pow(f-o,2)+Math.pow(g-s,2)),10<this.hasDragged)){var x=e.isInsidePlot(f-l,g-c,{visiblePlotOnly:!0});e.hasCartesianSeries&&(this.zoomX||this.zoomY)&&x&&!v&&!u&&(this.selectionMarker=u=e.renderer.rect(l,c,a?1:d,h?1:p,0).attr({class:"highcharts-selection-marker",zIndex:7}).add(),e.styledMode||u.attr({fill:r.selectionMarkerFill||n(i.highlightColor80).setOpacity(.25).get()})),u&&a&&(o-=f,u.attr({width:Math.abs(o),x:(0<o?0:o)+f})),u&&h&&(o=s-g,u.attr({height:Math.abs(o),y:(0<o?0:o)+g})),x&&!u&&y&&e.pan(t,r.panning)}},t.prototype.dragStart=function(t){var e=this.chart;e.mouseIsDown=t.type,e.cancelClick=!1,e.mouseDownX=this.mouseDownX=t.chartX,e.mouseDownY=this.mouseDownY=t.chartY},t.prototype.drop=function(t){var e=this,i=this.chart,r=this.hasPinched;if(this.selectionMarker){var o,n={originalEvent:t,xAxis:[],yAxis:[]},s=this.selectionMarker,a=s.attr?s.attr("x"):s.x,h=s.attr?s.attr("y"):s.y,l=s.attr?s.attr("width"):s.width,u=s.attr?s.attr("height"):s.height;(this.hasDragged||r)&&(i.axes.forEach((function(i){if(i.zoomEnabled&&d(i.min)&&(r||e[{xAxis:"zoomX",yAxis:"zoomY"}[i.coll]])&&g(a)&&g(h)){var s=i.horiz,c="touchend"===t.type?i.minPixelPadding:0,p=i.toValue((s?a:h)+c);s=i.toValue((s?a+l:h+u)-c),n[i.coll].push({axis:i,min:Math.min(p,s),max:Math.max(p,s)}),o=!0}})),o&&f(i,"selection",n,(function(t){i.zoom(p(t,r?{animation:!1}:null))}))),g(i.index)&&(this.selectionMarker=this.selectionMarker.destroy()),r&&this.scaleGroups()}i&&g(i.index)&&(c(i.container,{cursor:i._cursor}),i.cancelClick=10<this.hasDragged,i.mouseIsDown=this.hasDragged=this.hasPinched=!1,this.pinchDown=[])},t.prototype.findNearestKDPoint=function(t,e,i){var r,o=this.chart,n=o.hoverPoint;return o=o.tooltip,n&&o&&o.isStickyOnContact()?n:(t.forEach((function(t){var o=!(t.noSharedTooltip&&e)&&0>t.options.findNearestPointBy.indexOf("y");if(t=t.searchPoint(i,o),(o=m(t,!0)&&t.series)&&!(o=!m(r,!0))){o=r.distX-t.distX;var n=r.dist-t.dist,s=(t.series.group&&t.series.group.zIndex)-(r.series.group&&r.series.group.zIndex);o=0<(0!==o&&e?o:0!==n?n:0!==s?s:r.series.index>t.series.index?-1:1)}o&&(r=t)})),r)},t.prototype.getChartCoordinatesFromPoint=function(t,e){var i=t.series,r=i.xAxis;i=i.yAxis;var o=t.shapeArgs;if(r&&i){var n=x(t.clientX,t.plotX),s=t.plotY||0;return t.isNode&&o&&g(o.x)&&g(o.y)&&(n=o.x,s=o.y),e?{chartX:i.len+i.pos-s,chartY:r.len+r.pos-n}:{chartX:n+r.pos,chartY:s+i.pos}}if(o&&o.x&&o.y)return{chartX:o.x,chartY:o.y}},t.prototype.getChartPosition=function(){if(this.chartPosition)return this.chartPosition;var t=this.chart.container,e=v(t);this.chartPosition={left:e.left,top:e.top,scaleX:1,scaleY:1};var i=t.offsetWidth;return t=t.offsetHeight,2<i&&2<t&&(this.chartPosition.scaleX=e.width/i,this.chartPosition.scaleY=e.height/t),this.chartPosition},t.prototype.getCoordinates=function(t){var e={xAxis:[],yAxis:[]};return this.chart.axes.forEach((function(i){e[i.isXAxis?"xAxis":"yAxis"].push({axis:i,value:i.toValue(t[i.horiz?"chartX":"chartY"])})})),e},t.prototype.getHoverData=function(t,e,i,r,o,n){var s,a=[];r=!(!r||!t);var h=e&&!e.stickyTracking,l={chartX:n?n.chartX:void 0,chartY:n?n.chartY:void 0,shared:o};return f(this,"beforeGetHoverData",l),h=h?[e]:i.filter((function(t){return l.filter?l.filter(t):t.visible&&!(!o&&t.directTouch)&&x(t.options.enableMouseTracking,!0)&&t.stickyTracking})),e=(s=r||!n?t:this.findNearestKDPoint(h,o,n))&&s.series,s&&(o&&!e.noSharedTooltip?(h=i.filter((function(t){return l.filter?l.filter(t):t.visible&&!(!o&&t.directTouch)&&x(t.options.enableMouseTracking,!0)&&!t.noSharedTooltip}))).forEach((function(t){var e=u(t.points,(function(t){return t.x===s.x&&!t.isNull}));m(e)&&(t.chart.isBoosting&&(e=t.getPoint(e)),a.push(e))})):a.push(s)),f(this,"afterGetHoverData",l={hoverPoint:s}),{hoverPoint:l.hoverPoint,hoverSeries:e,hoverPoints:a}},t.prototype.getPointFromEvent=function(t){t=t.target;for(var e;t&&!e;)e=t.point,t=t.parentNode;return e},t.prototype.onTrackerMouseOut=function(t){t=t.relatedTarget||t.toElement;var e=this.chart.hoverSeries;this.isDirectTouch=!1,!e||!t||e.stickyTracking||this.inClass(t,"highcharts-tooltip")||this.inClass(t,"highcharts-series-"+e.index)&&this.inClass(t,"highcharts-tracker")||e.onMouseOut()},t.prototype.inClass=function(t,e){for(var i;t;){if(i=l(t,"class")){if(-1!==i.indexOf(e))return!0;if(-1!==i.indexOf("highcharts-container"))return!1}t=t.parentNode}},t.prototype.init=function(t,e){this.options=e,this.chart=t,this.runChartClick=!(!e.chart.events||!e.chart.events.click),this.pinchDown=[],this.lastValidTouch={},r&&(t.tooltip=new r(t,e.tooltip),this.followTouchMove=x(e.tooltip.followTouchMove,!0)),this.setDOMEvents()},t.prototype.normalize=function(t,e){var i=t.touches,r=i?i.length?i.item(0):x(i.changedTouches,t.changedTouches)[0]:t;return e||(e=this.getChartPosition()),i=r.pageX-e.left,r=r.pageY-e.top,i/=e.scaleX,r/=e.scaleY,p(t,{chartX:Math.round(i),chartY:Math.round(r)})},t.prototype.onContainerClick=function(t){var e=this.chart,i=e.hoverPoint;t=this.normalize(t);var r=e.plotLeft,o=e.plotTop;e.cancelClick||(i&&this.inClass(t.target,"highcharts-tracker")?(f(i.series,"click",p(t,{point:i})),e.hoverPoint&&i.firePointEvent("click",t)):(p(t,this.getCoordinates(t)),e.isInsidePlot(t.chartX-r,t.chartY-o,{visiblePlotOnly:!0})&&f(e,"click",t)))},t.prototype.onContainerMouseDown=function(t){var i=!(1&~(t.buttons||t.button));t=this.normalize(t),e.isFirefox&&0!==t.button&&this.onContainerMouseMove(t),(void 0===t.button||i)&&(this.zoomOption(t),i&&t.preventDefault&&t.preventDefault(),this.dragStart(t))},t.prototype.onContainerMouseLeave=function(t){var i=s[x(e.hoverChartIndex,-1)],r=this.chart.tooltip;t=this.normalize(t),i&&(t.relatedTarget||t.toElement)&&(i.pointer.reset(),i.pointer.chartPosition=void 0),r&&!r.isHidden&&this.reset()},t.prototype.onContainerMouseEnter=function(t){delete this.chartPosition},t.prototype.onContainerMouseMove=function(t){var e=this.chart;t=this.normalize(t),this.setHoverChartIndex(),t.preventDefault||(t.returnValue=!1),("mousedown"===e.mouseIsDown||this.touchSelect(t))&&this.drag(t),e.openMenu||!this.inClass(t.target,"highcharts-tracker")&&!e.isInsidePlot(t.chartX-e.plotLeft,t.chartY-e.plotTop,{visiblePlotOnly:!0})||this.runPointActions(t)},t.prototype.onDocumentTouchEnd=function(t){s[e.hoverChartIndex]&&s[e.hoverChartIndex].pointer.drop(t)},t.prototype.onContainerTouchMove=function(t){this.touchSelect(t)?this.onContainerMouseMove(t):this.touch(t)},t.prototype.onContainerTouchStart=function(t){this.touchSelect(t)?this.onContainerMouseDown(t):(this.zoomOption(t),this.touch(t,!0))},t.prototype.onDocumentMouseMove=function(t){var e=this.chart,i=this.chartPosition;t=this.normalize(t,i);var r=e.tooltip;!i||r&&r.isStickyOnContact()||e.isInsidePlot(t.chartX-e.plotLeft,t.chartY-e.plotTop,{visiblePlotOnly:!0})||this.inClass(t.target,"highcharts-tracker")||this.reset()},t.prototype.onDocumentMouseUp=function(t){var i=s[x(e.hoverChartIndex,-1)];i&&i.pointer.drop(t)},t.prototype.pinch=function(t){var e=this,i=e.chart,r=e.pinchDown,o=t.touches||[],n=o.length,s=e.lastValidTouch,h=e.hasZoom,l=e.selectionMarker,c={},d=1===n&&(e.inClass(t.target,"highcharts-tracker")&&i.runTrackerClick||e.runChartClick),u={};1<n&&(e.initiated=!0),h&&e.initiated&&!d&&!1!==t.cancelable&&t.preventDefault(),[].map.call(o,(function(t){return e.normalize(t)})),"touchstart"===t.type?([].forEach.call(o,(function(t,e){r[e]={chartX:t.chartX,chartY:t.chartY}})),s.x=[r[0].chartX,r[1]&&r[1].chartX],s.y=[r[0].chartY,r[1]&&r[1].chartY],i.axes.forEach((function(t){if(t.zoomEnabled){var e=i.bounds[t.horiz?"h":"v"],r=t.minPixelPadding,o=t.toPixels(Math.min(x(t.options.min,t.dataMin),t.dataMin)),n=t.toPixels(Math.max(x(t.options.max,t.dataMax),t.dataMax)),s=Math.max(o,n);e.min=Math.min(t.pos,Math.min(o,n)-r),e.max=Math.max(t.pos+t.len,s+r)}})),e.res=!0):e.followTouchMove&&1===n?this.runPointActions(e.normalize(t)):r.length&&(l||(e.selectionMarker=l=p({destroy:a,touch:!0},i.plotBox)),e.pinchTranslate(r,o,c,l,u,s),e.hasPinched=h,e.scaleGroups(c,u),e.res&&(e.res=!1,this.reset(!1,0)))},t.prototype.pinchTranslate=function(t,e,i,r,o,n){this.zoomHor&&this.pinchTranslateDirection(!0,t,e,i,r,o,n),this.zoomVert&&this.pinchTranslateDirection(!1,t,e,i,r,o,n)},t.prototype.pinchTranslateDirection=function(t,e,i,r,o,n,s,a){var h,l,c=this.chart,d=t?"x":"y",p=t?"X":"Y",u="chart"+p,f=t?"width":"height",g=c["plot"+(t?"Left":"Top")],m=a||1,y=c.inverted,v=c.bounds[t?"h":"v"],x=1===e.length,b=e[0][u],k=i[0][u],w=!x&&e[1][u],C=!x&&i[1][u];if((i=function(){"number"==typeof C&&20<Math.abs(b-w)&&(m=a||Math.abs(k-C)/Math.abs(b-w)),l=(g-k)/m+b,h=c["plot"+(t?"Width":"Height")]/m})(),(e=l)<v.min){e=v.min;var M=!0}else e+h>v.max&&(e=v.max-h,M=!0);M?(k-=.8*(k-s[d][0]),"number"==typeof C&&(C-=.8*(C-s[d][1])),i()):s[d]=[k,C],y||(n[d]=l-g,n[f]=h),n=y?1/m:m,o[f]=h,o[d]=e,r[y?t?"scaleY":"scaleX":"scale"+p]=m,r["translate"+p]=n*g+(k-n*b)},t.prototype.reset=function(t,e){var i=this.chart,r=i.hoverSeries,o=i.hoverPoint,n=i.hoverPoints,s=i.tooltip,a=s&&s.shared?n:o;t&&a&&b(a).forEach((function(e){e.series.isCartesian&&void 0===e.plotX&&(t=!1)})),t?s&&a&&b(a).length&&(s.refresh(a),s.shared&&n?n.forEach((function(t){t.setState(t.state,!0),t.series.isCartesian&&(t.series.xAxis.crosshair&&t.series.xAxis.drawCrosshair(null,t),t.series.yAxis.crosshair&&t.series.yAxis.drawCrosshair(null,t))})):o&&(o.setState(o.state,!0),i.axes.forEach((function(t){t.crosshair&&o.series[t.coll]===t&&t.drawCrosshair(null,o)})))):(o&&o.onMouseOut(),n&&n.forEach((function(t){t.setState()})),r&&r.onMouseOut(),s&&s.hide(e),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),i.axes.forEach((function(t){t.hideCrosshair()})),this.hoverX=i.hoverPoints=i.hoverPoint=null)},t.prototype.runPointActions=function(t,i){var r=this.chart,o=r.tooltip&&r.tooltip.options.enabled?r.tooltip:void 0,n=!!o&&o.shared,a=i||r.hoverPoint,l=a&&a.series||r.hoverSeries;a=(l=this.getHoverData(a,l,r.series,(!t||"touchmove"!==t.type)&&(!!i||l&&l.directTouch&&this.isDirectTouch),n,t)).hoverPoint;var c=l.hoverPoints;if(i=(l=l.hoverSeries)&&l.tooltipOptions.followPointer&&!l.tooltipOptions.split,n=n&&l&&!l.noSharedTooltip,a&&(a!==r.hoverPoint||o&&o.isHidden)){if((r.hoverPoints||[]).forEach((function(t){-1===c.indexOf(t)&&t.setState()})),r.hoverSeries!==l&&l.onMouseOver(),this.applyInactiveState(c),(c||[]).forEach((function(t){t.setState("hover")})),r.hoverPoint&&r.hoverPoint.firePointEvent("mouseOut"),!a.series)return;r.hoverPoints=c,r.hoverPoint=a,a.firePointEvent("mouseOver"),o&&o.refresh(n?c:a,t)}else i&&o&&!o.isHidden&&(a=o.getAnchor([{}],t),r.isInsidePlot(a[0],a[1],{visiblePlotOnly:!0})&&o.updatePosition({plotX:a[0],plotY:a[1]}));this.unDocMouseMove||(this.unDocMouseMove=h(r.container.ownerDocument,"mousemove",(function(t){var i=s[e.hoverChartIndex];i&&i.pointer.onDocumentMouseMove(t)})),this.eventsToUnbind.push(this.unDocMouseMove)),r.axes.forEach((function(e){var i,o=x((e.crosshair||{}).snap,!0);o&&((i=r.hoverPoint)&&i.series[e.coll]===e||(i=u(c,(function(t){return t.series[e.coll]===e})))),i||!o?e.drawCrosshair(t,i):e.hideCrosshair()}))},t.prototype.scaleGroups=function(t,e){var i,r=this.chart;r.series.forEach((function(o){i=t||o.getPlotBox(),o.xAxis&&o.xAxis.zoomEnabled&&o.group&&(o.group.attr(i),o.markerGroup&&(o.markerGroup.attr(i),o.markerGroup.clip(e?r.clipRect:null)),o.dataLabelsGroup&&o.dataLabelsGroup.attr(i))})),r.clipRect.attr(e||r.clipBox)},t.prototype.setDOMEvents=function(){var t=this,i=this.chart.container,r=i.ownerDocument;i.onmousedown=this.onContainerMouseDown.bind(this),i.onmousemove=this.onContainerMouseMove.bind(this),i.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(h(i,"mouseenter",this.onContainerMouseEnter.bind(this))),this.eventsToUnbind.push(h(i,"mouseleave",this.onContainerMouseLeave.bind(this))),e.unbindDocumentMouseUp||(e.unbindDocumentMouseUp=h(r,"mouseup",this.onDocumentMouseUp.bind(this)));for(var o=this.chart.renderTo.parentElement;o&&"BODY"!==o.tagName;)this.eventsToUnbind.push(h(o,"scroll",(function(){delete t.chartPosition}))),o=o.parentElement;e.hasTouch&&(this.eventsToUnbind.push(h(i,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1})),this.eventsToUnbind.push(h(i,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),e.unbindDocumentTouchEnd||(e.unbindDocumentTouchEnd=h(r,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})))},t.prototype.setHoverChartIndex=function(){var t=this.chart,i=e.charts[x(e.hoverChartIndex,-1)];i&&i!==t&&i.pointer.onContainerMouseLeave({relatedTarget:!0}),i&&i.mouseIsDown||(e.hoverChartIndex=t.index)},t.prototype.touch=function(t,e){var i=this.chart;if(this.setHoverChartIndex(),1===t.touches.length)if(t=this.normalize(t),i.isInsidePlot(t.chartX-i.plotLeft,t.chartY-i.plotTop,{visiblePlotOnly:!0})&&!i.openMenu){if(e&&this.runPointActions(t),"touchmove"===t.type)var r=!!(e=this.pinchDown)[0]&&4<=Math.sqrt(Math.pow(e[0].chartX-t.chartX,2)+Math.pow(e[0].chartY-t.chartY,2));x(r,!0)&&this.pinch(t)}else e&&this.reset();else 2===t.touches.length&&this.pinch(t)},t.prototype.touchSelect=function(t){return!(!this.chart.options.chart.zoomBySingleTouch||!t.touches||1!==t.touches.length)},t.prototype.zoomOption=function(t){var e=this.chart,i=e.options.chart,r=i.zoomType||"";e=e.inverted,/touch/.test(t.type)&&(r=x(i.pinchType,r)),this.zoomX=t=/x/.test(r),this.zoomY=r=/y/.test(r),this.zoomHor=t&&!e||r&&e,this.zoomVert=r&&!e||t&&e,this.hasZoom=t||r},t}(),e.Pointer=t})),e(i,"Core/MSPointer.js",[i["Core/Globals.js"],i["Core/Pointer.js"],i["Core/Utilities.js"]],(function(t,e,i){function r(){var t=[];return t.item=function(t){return this[t]},d(u,(function(e){t.push({pageX:e.pageX,pageY:e.pageY,target:e.target})})),t}function o(e,i,o,n){"touch"!==e.pointerType&&e.pointerType!==e.MSPOINTER_TYPE_TOUCH||!s[t.hoverChartIndex]||(n(e),(n=s[t.hoverChartIndex].pointer)[i]({type:o,target:e.currentTarget,preventDefault:h,touches:r()}))}var n=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function r(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}(),s=t.charts,a=t.doc,h=t.noop,l=i.addEvent,c=i.css,d=i.objectEach,p=i.removeEvent,u={},f=!!t.win.PointerEvent;return function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.batchMSEvents=function(t){t(this.chart.container,f?"pointerdown":"MSPointerDown",this.onContainerPointerDown),t(this.chart.container,f?"pointermove":"MSPointerMove",this.onContainerPointerMove),t(a,f?"pointerup":"MSPointerUp",this.onDocumentPointerUp)},e.prototype.destroy=function(){this.batchMSEvents(p),t.prototype.destroy.call(this)},e.prototype.init=function(e,i){t.prototype.init.call(this,e,i),this.hasZoom&&c(e.container,{"-ms-touch-action":"none","touch-action":"none"})},e.prototype.onContainerPointerDown=function(t){o(t,"onContainerTouchStart","touchstart",(function(t){u[t.pointerId]={pageX:t.pageX,pageY:t.pageY,target:t.currentTarget}}))},e.prototype.onContainerPointerMove=function(t){o(t,"onContainerTouchMove","touchmove",(function(t){u[t.pointerId]={pageX:t.pageX,pageY:t.pageY},u[t.pointerId].target||(u[t.pointerId].target=t.currentTarget)}))},e.prototype.onDocumentPointerUp=function(t){o(t,"onDocumentTouchEnd","touchend",(function(t){delete u[t.pointerId]}))},e.prototype.setDOMEvents=function(){t.prototype.setDOMEvents.call(this),(this.hasZoom||this.followTouchMove)&&this.batchMSEvents(l)},e}(e)})),e(i,"Core/Series/Point.js",[i["Core/Renderer/HTML/AST.js"],i["Core/Animation/AnimationUtilities.js"],i["Core/FormatUtilities.js"],i["Core/Globals.js"],i["Core/Options.js"],i["Core/Utilities.js"]],(function(t,e,i,r,o,n){var s=e.animObject,a=i.format,h=o.defaultOptions,l=n.addEvent,c=n.defined,d=n.erase,p=n.extend,u=n.fireEvent,f=n.getNestedProperty,g=n.isArray,m=n.isFunction,y=n.isNumber,v=n.isObject,x=n.merge,b=n.objectEach,k=n.pick,w=n.syncTimeout,C=n.removeEvent,M=n.uniqueKey;return e=function(){function e(){this.colorIndex=this.category=void 0,this.formatPrefix="point",this.id=void 0,this.isNull=!1,this.percentage=this.options=this.name=void 0,this.selected=!1,this.total=this.series=void 0,this.visible=!0,this.x=void 0}return e.prototype.animateBeforeDestroy=function(){var t,e=this,i={x:e.startXPos,opacity:0},r=e.getGraphicalProps();r.singular.forEach((function(r){t="dataLabel"===r,e[r]=e[r].animate(t?{x:e[r].startXPos,y:e[r].startYPos,opacity:0}:i)})),r.plural.forEach((function(t){e[t].forEach((function(t){t.element&&t.animate(p({x:e.startXPos},t.startYPos?{x:t.startXPos,y:t.startYPos}:{}))}))}))},e.prototype.applyOptions=function(t,i){var r=this.series,o=r.options.pointValKey||r.pointValKey;return t=e.prototype.optionsToObject.call(this,t),p(this,t),this.options=this.options?p(this.options,t):t,t.group&&delete this.group,t.dataLabels&&delete this.dataLabels,o&&(this.y=e.prototype.getNestedProperty.call(this,o)),this.formatPrefix=(this.isNull=k(this.isValid&&!this.isValid(),null===this.x||!y(this.y)))?"null":"point",this.selected&&(this.state="select"),"name"in this&&void 0===i&&r.xAxis&&r.xAxis.hasNames&&(this.x=r.xAxis.nameToX(this)),void 0===this.x&&r&&(this.x=void 0===i?r.autoIncrement(this):i),this},e.prototype.destroy=function(){function t(){for(o in(e.graphic||e.dataLabel||e.dataLabels)&&(C(e),e.destroyElements()),e)e[o]=null}var e=this,i=e.series,r=i.chart;i=i.options.dataSorting;var o,n=r.hoverPoints,a=s(e.series.chart.renderer.globalAnimation);e.legendItem&&r.legend.destroyItem(e),n&&(e.setState(),d(n,e),n.length||(r.hoverPoints=null)),e===r.hoverPoint&&e.onMouseOut(),i&&i.enabled?(this.animateBeforeDestroy(),w(t,a.duration)):t(),r.pointCount--},e.prototype.destroyElements=function(t){var e=this;(t=e.getGraphicalProps(t)).singular.forEach((function(t){e[t]=e[t].destroy()})),t.plural.forEach((function(t){e[t].forEach((function(t){t.element&&t.destroy()})),delete e[t]}))},e.prototype.firePointEvent=function(t,e,i){var r=this,o=this.series.options;(o.point.events[t]||r.options&&r.options.events&&r.options.events[t])&&r.importEvents(),"click"===t&&o.allowPointSelect&&(i=function(t){r.select&&r.select(null,t.ctrlKey||t.metaKey||t.shiftKey)}),u(r,t,e,i)},e.prototype.getClassName=function(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+(void 0!==this.colorIndex?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")},e.prototype.getGraphicalProps=function(t){var e,i=this,r=[],o={singular:[],plural:[]};for((t=t||{graphic:1,dataLabel:1}).graphic&&r.push("graphic","upperGraphic","shadowGroup"),t.dataLabel&&r.push("dataLabel","dataLabelUpper","connector"),e=r.length;e--;){var n=r[e];i[n]&&o.singular.push(n)}return["dataLabel","connector"].forEach((function(e){var r=e+"s";t[e]&&i[r]&&o.plural.push(r)})),o},e.prototype.getLabelConfig=function(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}},e.prototype.getNestedProperty=function(t){if(t)return 0===t.indexOf("custom.")?f(t,this.options):this[t]},e.prototype.getZone=function(){var t=this.series,e=t.zones;t=t.zoneAxis||"y";var i,r=0;for(i=e[r];this[t]>=i.value;)i=e[++r];return this.nonZonedColor||(this.nonZonedColor=this.color),this.color=i&&i.color&&!this.options.color?i.color:this.nonZonedColor,i},e.prototype.hasNewShapeType=function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType},e.prototype.init=function(t,e,i){return this.series=t,this.applyOptions(e,i),this.id=c(this.id)?this.id:M(),this.resolveColor(),t.chart.pointCount++,u(this,"afterInit"),this},e.prototype.optionsToObject=function(t){var i={},r=this.series,o=r.options.keys,n=o||r.pointArrayMap||["y"],s=n.length,a=0,h=0;if(y(t)||null===t)i[n[0]]=t;else if(g(t))for(!o&&t.length>s&&("string"==(r=typeof t[0])?i.name=t[0]:"number"===r&&(i.x=t[0]),a++);h<s;)o&&void 0===t[a]||(0<n[h].indexOf(".")?e.prototype.setNestedProperty(i,t[a],n[h]):i[n[h]]=t[a]),a++,h++;else"object"==typeof t&&(i=t,t.dataLabels&&(r._hasPointLabels=!0),t.marker&&(r._hasPointMarkers=!0));return i},e.prototype.resolveColor=function(){var t=this.series,e=t.chart.options.chart.colorCount,i=t.chart.styledMode;if(delete this.nonZonedColor,t.options.colorByPoint){if(!i){var r=(e=t.options.colors||t.chart.options.colors)[t.colorCounter];e=e.length}i=t.colorCounter,t.colorCounter++,t.colorCounter===e&&(t.colorCounter=0)}else i||(r=t.color),i=t.colorIndex;this.colorIndex=k(this.options.colorIndex,i),this.color=k(this.options.color,r)},e.prototype.setNestedProperty=function(t,e,i){return i.split(".").reduce((function(t,i,r,o){return t[i]=o.length-1===r?e:v(t[i],!0)?t[i]:{},t[i]}),t),t},e.prototype.tooltipFormatter=function(t){var e=this.series,i=e.tooltipOptions,r=k(i.valueDecimals,""),o=i.valuePrefix||"",n=i.valueSuffix||"";return e.chart.styledMode&&(t=e.chart.tooltip.styledModeFormat(t)),(e.pointArrayMap||["y"]).forEach((function(e){e="{point."+e,(o||n)&&(t=t.replace(RegExp(e+"}","g"),o+e+"}"+n)),t=t.replace(RegExp(e+"}","g"),e+":,."+r+"f}")})),a(t,{point:this,series:this.series},e.chart)},e.prototype.update=function(t,e,i,r){function o(){s.applyOptions(t);var r=h&&s.hasDummyGraphic;r=null===s.y?!r:r,h&&r&&(s.graphic=h.destroy(),delete s.hasDummyGraphic),v(t,!0)&&(h&&h.element&&t&&t.marker&&void 0!==t.marker.symbol&&(s.graphic=h.destroy()),t&&t.dataLabels&&s.dataLabel&&(s.dataLabel=s.dataLabel.destroy()),s.connector&&(s.connector=s.connector.destroy())),n=s.index,a.updateParallelArrays(s,n),c.data[n]=v(c.data[n],!0)||v(t,!0)?s.options:k(t,c.data[n]),a.isDirty=a.isDirtyData=!0,!a.fixedBox&&a.hasCartesianSeries&&(l.isDirtyBox=!0),"point"===c.legendType&&(l.isDirtyLegend=!0),e&&l.redraw(i)}var n,s=this,a=s.series,h=s.graphic,l=a.chart,c=a.options;e=k(e,!0),!1===r?o():s.firePointEvent("update",{options:t},o)},e.prototype.remove=function(t,e){this.series.removePoint(this.series.data.indexOf(this),t,e)},e.prototype.select=function(t,e){var i=this,r=i.series,o=r.chart;this.selectedStaging=t=k(t,!i.selected),i.firePointEvent(t?"select":"unselect",{accumulate:e},(function(){i.selected=i.options.selected=t,r.options.data[r.data.indexOf(i)]=i.options,i.setState(t&&"select"),e||o.getSelectedPoints().forEach((function(t){var e=t.series;t.selected&&t!==i&&(t.selected=t.options.selected=!1,e.options.data[e.data.indexOf(t)]=t.options,t.setState(o.hoverPoints&&e.options.inactiveOtherPoints?"inactive":""),t.firePointEvent("unselect"))}))})),delete this.selectedStaging},e.prototype.onMouseOver=function(t){var e=this.series.chart,i=e.pointer;t=t?i.normalize(t):i.getChartCoordinatesFromPoint(this,e.inverted),i.runPointActions(t,this)},e.prototype.onMouseOut=function(){var t=this.series.chart;this.firePointEvent("mouseOut"),this.series.options.inactiveOtherPoints||(t.hoverPoints||[]).forEach((function(t){t.setState()})),t.hoverPoints=t.hoverPoint=null},e.prototype.importEvents=function(){if(!this.hasImportedEvents){var t=this,e=x(t.series.options.point,t.options).events;t.events=e,b(e,(function(e,i){m(e)&&l(t,i,e)})),this.hasImportedEvents=!0}},e.prototype.setState=function(e,i){var r,o=this.series,n=this.state,s=o.options.states[e||"normal"]||{},a=h.plotOptions[o.type].marker&&o.options.marker,l=a&&!1===a.enabled,c=a&&a.states&&a.states[e||"normal"]||{},d=!1===c.enabled,f=o.stateMarkerGraphic,g=this.marker||{},m=o.chart,v=o.halo,x=a&&o.markerAttribs;if(!((e=e||"")===this.state&&!i||this.selected&&"select"!==e||!1===s.enabled||e&&(d||l&&!1===c.enabled)||e&&g.states&&g.states[e]&&!1===g.states[e].enabled)){if(this.state=e,x&&(r=o.markerAttribs(this,e)),this.graphic&&!this.hasDummyGraphic){if(n&&this.graphic.removeClass("highcharts-point-"+n),e&&this.graphic.addClass("highcharts-point-"+e),!m.styledMode){var b=o.pointAttribs(this,e),w=k(m.options.chart.animation,s.animation);o.options.inactiveOtherPoints&&y(b.opacity)&&((this.dataLabels||[]).forEach((function(t){t&&t.animate({opacity:b.opacity},w)})),this.connector&&this.connector.animate({opacity:b.opacity},w)),this.graphic.animate(b,w)}r&&this.graphic.animate(r,k(m.options.chart.animation,c.animation,a.animation)),f&&f.hide()}else e&&c&&(n=g.symbol||o.symbol,f&&f.currentSymbol!==n&&(f=f.destroy()),r&&(f?f[i?"animate":"attr"]({x:r.x,y:r.y}):n&&(o.stateMarkerGraphic=f=m.renderer.symbol(n,r.x,r.y,r.width,r.height).add(o.markerGroup),f.currentSymbol=n)),!m.styledMode&&f&&f.attr(o.pointAttribs(this,e))),f&&(f[e&&this.isInside?"show":"hide"](),f.element.point=this);s=s.halo,r=(f=this.graphic||f)&&f.visibility||"inherit",s&&s.size&&f&&"hidden"!==r&&!this.isCluster?(v||(o.halo=v=m.renderer.path().add(f.parentGroup)),v.show()[i?"animate":"attr"]({d:this.haloPath(s.size)}),v.attr({class:"highcharts-halo highcharts-color-"+k(this.colorIndex,o.colorIndex)+(this.className?" "+this.className:""),visibility:r,zIndex:-1}),v.point=this,m.styledMode||v.attr(p({fill:this.color||o.color,"fill-opacity":s.opacity},t.filterUserAttributes(s.attributes||{})))):v&&v.point&&v.point.haloPath&&v.animate({d:v.point.haloPath(0)},null,v.hide),u(this,"afterSetState",{state:e})}},e.prototype.haloPath=function(t){return this.series.chart.renderer.symbols.circle(Math.floor(this.plotX)-t,this.plotY-t,2*t,2*t)},e}(),r.Point=e})),e(i,"Core/Legend.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/FormatUtilities.js"],i["Core/Globals.js"],i["Core/Series/Point.js"],i["Core/Utilities.js"]],(function(t,e,i,r,o){var n=t.animObject,s=t.setAnimation,a=e.format;t=i.isFirefox;var h=i.marginNames;e=i.win;var l=o.addEvent,c=o.createElement,d=o.css,p=o.defined,u=o.discardElement,f=o.find,g=o.fireEvent,m=o.isNumber,y=o.merge,v=o.pick,x=o.relativeLength,b=o.stableSort,k=o.syncTimeout;o=o.wrap;var w=function(){function t(t,e){this.allItems=[],this.contentGroup=this.box=void 0,this.display=!1,this.group=void 0,this.offsetWidth=this.maxLegendWidth=this.maxItemWidth=this.legendWidth=this.legendHeight=this.lastLineHeight=this.lastItemY=this.itemY=this.itemX=this.itemMarginTop=this.itemMarginBottom=this.itemHeight=this.initialItemY=0,this.options={},this.padding=0,this.pages=[],this.proximate=!1,this.scrollGroup=void 0,this.widthOption=this.totalItemWidth=this.titleHeight=this.symbolWidth=this.symbolHeight=0,this.chart=t,this.init(t,e)}return t.prototype.init=function(t,e){this.chart=t,this.setOptions(e),e.enabled&&(this.render(),l(this.chart,"endResize",(function(){this.legend.positionCheckboxes()})),this.proximate?this.unchartrender=l(this.chart,"render",(function(){this.legend.proximatePositions(),this.legend.positionItems()})):this.unchartrender&&this.unchartrender())},t.prototype.setOptions=function(t){var e=v(t.padding,8);this.options=t,this.chart.styledMode||(this.itemStyle=t.itemStyle,this.itemHiddenStyle=y(this.itemStyle,t.itemHiddenStyle)),this.itemMarginTop=t.itemMarginTop||0,this.itemMarginBottom=t.itemMarginBottom||0,this.padding=e,this.initialItemY=e-5,this.symbolWidth=v(t.symbolWidth,16),this.pages=[],this.proximate="proximate"===t.layout&&!this.chart.inverted,this.baseline=void 0},t.prototype.update=function(t,e){var i=this.chart;this.setOptions(y(!0,this.options,t)),this.destroy(),i.isDirtyLegend=i.isDirtyBox=!0,v(e,!0)&&i.redraw(),g(this,"afterUpdate")},t.prototype.colorizeItem=function(t,e){if(t.legendGroup[e?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){var i=this.options,r=t.legendItem,o=t.legendLine,n=t.legendSymbol,s=this.itemHiddenStyle.color;i=e?i.itemStyle.color:s;var a=e&&t.color||s,h=t.options&&t.options.marker,l={fill:a};r&&r.css({fill:i,color:i}),o&&o.attr({stroke:a}),n&&(h&&n.isMarker&&(l=t.pointAttribs(),e||(l.stroke=l.fill=s)),n.attr(l))}g(this,"afterColorizeItem",{item:t,visible:e})},t.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()},t.prototype.positionItem=function(t){var e=this,i=this.options,r=i.symbolPadding,o=!i.rtl,n=t._legendItemPos;i=n[0],n=n[1];var s=t.checkbox,a=t.legendGroup;a&&a.element&&(r={translateX:o?i:this.legendWidth-i-2*r-4,translateY:n},o=function(){g(e,"afterPositionItem",{item:t})},p(a.translateY)?a.animate(r,void 0,o):(a.attr(r),o())),s&&(s.x=i,s.y=n)},t.prototype.destroyItem=function(t){var e=t.checkbox;["legendItem","legendLine","legendSymbol","legendGroup"].forEach((function(e){t[e]&&(t[e]=t[e].destroy())})),e&&u(t.checkbox)},t.prototype.destroy=function(){function t(t){this[t]&&(this[t]=this[t].destroy())}this.getAllItems().forEach((function(e){["legendItem","legendGroup"].forEach(t,e)})),"clipRect up down pager nav box title group".split(" ").forEach(t,this),this.display=null},t.prototype.positionCheckboxes=function(){var t=this.group&&this.group.alignAttr,e=this.clipHeight||this.legendHeight,i=this.titleHeight;if(t){var r=t.translateY;this.allItems.forEach((function(o){var n=o.checkbox;if(n){var s=r+i+n.y+(this.scrollOffset||0)+3;d(n,{left:t.translateX+o.checkboxOffset+n.x-20+"px",top:s+"px",display:this.proximate||s>r-6&&s<r+e-6?"":"none"})}}),this)}},t.prototype.renderTitle=function(){var t=this.options,e=this.padding,i=t.title,r=0;i.text&&(this.title||(this.title=this.chart.renderer.label(i.text,e-3,e-4,null,null,null,t.useHTML,null,"legend-title").attr({zIndex:1}),this.chart.styledMode||this.title.css(i.style),this.title.add(this.group)),i.width||this.title.css({width:this.maxLegendWidth+"px"}),r=(t=this.title.getBBox()).height,this.offsetWidth=t.width,this.contentGroup.attr({translateY:r})),this.titleHeight=r},t.prototype.setText=function(t){var e=this.options;t.legendItem.attr({text:e.labelFormat?a(e.labelFormat,t,this.chart):e.labelFormatter.call(t)})},t.prototype.renderItem=function(t){var e=this.chart,i=e.renderer,r=this.options,o=this.symbolWidth,n=r.symbolPadding||0,s=this.itemStyle,a=this.itemHiddenStyle,h="horizontal"===r.layout?v(r.itemDistance,20):0,l=!r.rtl,c=t.legendItem,d=!t.series,p=!d&&t.series.drawLegendSymbol?t.series:t,u=p.options,f=this.createCheckboxForItem&&u&&u.showCheckbox;u=o+n+h+(f?20:0);var g=r.useHTML,m=t.options.className;c||(t.legendGroup=i.g("legend-item").addClass("highcharts-"+p.type+"-series highcharts-color-"+t.colorIndex+(m?" "+m:"")+(d?" highcharts-series-"+t.index:"")).attr({zIndex:1}).add(this.scrollGroup),t.legendItem=c=i.text("",l?o+n:-n,this.baseline||0,g),e.styledMode||c.css(y(t.visible?s:a)),c.attr({align:l?"left":"right",zIndex:2}).add(t.legendGroup),this.baseline||(this.fontMetrics=i.fontMetrics(e.styledMode?12:s.fontSize,c),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,c.attr("y",this.baseline),this.symbolHeight=r.symbolHeight||this.fontMetrics.f,r.squareSymbol&&(this.symbolWidth=v(r.symbolWidth,Math.max(this.symbolHeight,16)),u=this.symbolWidth+n+h+(f?20:0),l&&c.attr("x",this.symbolWidth+n))),p.drawLegendSymbol(this,t),this.setItemEvents&&this.setItemEvents(t,c,g)),f&&!t.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(t),this.colorizeItem(t,t.visible),!e.styledMode&&s.width||c.css({width:(r.itemWidth||this.widthOption||e.spacingBox.width)-u+"px"}),this.setText(t),e=c.getBBox(),t.itemWidth=t.checkboxOffset=r.itemWidth||t.legendItemWidth||e.width+u,this.maxItemWidth=Math.max(this.maxItemWidth,t.itemWidth),this.totalItemWidth+=t.itemWidth,this.itemHeight=t.itemHeight=Math.round(t.legendItemHeight||e.height||this.symbolHeight)},t.prototype.layoutItem=function(t){var e=this.options,i=this.padding,r="horizontal"===e.layout,o=t.itemHeight,n=this.itemMarginBottom,s=this.itemMarginTop,a=r?v(e.itemDistance,20):0,h=this.maxLegendWidth;e=e.alignColumns&&this.totalItemWidth>h?this.maxItemWidth:t.itemWidth,r&&this.itemX-i+e>h&&(this.itemX=i,this.lastLineHeight&&(this.itemY+=s+this.lastLineHeight+n),this.lastLineHeight=0),this.lastItemY=s+this.itemY+n,this.lastLineHeight=Math.max(o,this.lastLineHeight),t._legendItemPos=[this.itemX,this.itemY],r?this.itemX+=e:(this.itemY+=s+o+n,this.lastLineHeight=o),this.offsetWidth=this.widthOption||Math.max((r?this.itemX-i-(t.checkbox?0:a):e)+i,this.offsetWidth)},t.prototype.getAllItems=function(){var t=[];return this.chart.series.forEach((function(e){var i=e&&e.options;e&&v(i.showInLegend,!p(i.linkedTo)&&void 0,!0)&&(t=t.concat(e.legendItems||("point"===i.legendType?e.data:e)))})),g(this,"afterGetAllItems",{allItems:t}),t},t.prototype.getAlignment=function(){var t=this.options;return this.proximate?t.align.charAt(0)+"tv":t.floating?"":t.align.charAt(0)+t.verticalAlign.charAt(0)+t.layout.charAt(0)},t.prototype.adjustMargins=function(t,e){var i=this.chart,r=this.options,o=this.getAlignment();o&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach((function(n,s){n.test(o)&&!p(t[s])&&(i[h[s]]=Math.max(i[h[s]],i.legend[(s+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][s]*r[s%2?"x":"y"]+v(r.margin,12)+e[s]+(i.titleOffset[s]||0)))}))},t.prototype.proximatePositions=function(){var t=this.chart,e=[],r="left"===this.options.align;this.allItems.forEach((function(i){var o,n=r;if(i.yAxis){i.xAxis.options.reversed&&(n=!n),i.points&&(o=f(n?i.points:i.points.slice(0).reverse(),(function(t){return m(t.plotY)}))),n=this.itemMarginTop+i.legendItem.getBBox().height+this.itemMarginBottom;var s=i.yAxis.top-t.plotTop;i.visible?(o=o?o.plotY:i.yAxis.height,o+=s-.3*n):o=s+i.yAxis.height,e.push({target:o,size:n,item:i})}}),this),i.distribute(e,t.plotHeight),e.forEach((function(e){e.item._legendItemPos[1]=t.plotTop-t.spacing[0]+e.pos}))},t.prototype.render=function(){var t=this.chart,e=t.renderer,i=this.group,r=this.box,o=this.options,n=this.padding;this.itemX=n,this.itemY=this.initialItemY,this.lastItemY=this.offsetWidth=0,this.widthOption=x(o.width,t.spacingBox.width-n);var s=t.spacingBox.width-2*n-o.x;-1<["rm","lm"].indexOf(this.getAlignment().substring(0,2))&&(s/=2),this.maxLegendWidth=this.widthOption||s,i||(this.group=i=e.g("legend").attr({zIndex:7}).add(),this.contentGroup=e.g().attr({zIndex:1}).add(i),this.scrollGroup=e.g().add(this.contentGroup)),this.renderTitle();var a=this.getAllItems();b(a,(function(t,e){return(t.options&&t.options.legendIndex||0)-(e.options&&e.options.legendIndex||0)})),o.reversed&&a.reverse(),this.allItems=a,this.display=s=!!a.length,this.itemHeight=this.totalItemWidth=this.maxItemWidth=this.lastLineHeight=0,a.forEach(this.renderItem,this),a.forEach(this.layoutItem,this),a=(this.widthOption||this.offsetWidth)+n;var h=this.lastItemY+this.lastLineHeight+this.titleHeight;h=this.handleOverflow(h),h+=n,r||(this.box=r=e.rect().addClass("highcharts-legend-box").attr({r:o.borderRadius}).add(i),r.isNew=!0),t.styledMode||r.attr({stroke:o.borderColor,"stroke-width":o.borderWidth||0,fill:o.backgroundColor||"none"}).shadow(o.shadow),0<a&&0<h&&(r[r.isNew?"attr":"animate"](r.crisp.call({},{x:0,y:0,width:a,height:h},r.strokeWidth())),r.isNew=!1),r[s?"show":"hide"](),t.styledMode&&"none"===i.getStyle("display")&&(a=h=0),this.legendWidth=a,this.legendHeight=h,s&&this.align(),this.proximate||this.positionItems(),g(this,"afterRender")},t.prototype.align=function(t){void 0===t&&(t=this.chart.spacingBox);var e=this.chart,i=this.options,r=t.y;/(lth|ct|rth)/.test(this.getAlignment())&&0<e.titleOffset[0]?r+=e.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&0<e.titleOffset[2]&&(r-=e.titleOffset[2]),r!==t.y&&(t=y(t,{y:r})),this.group.align(y(i,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":i.verticalAlign}),!0,t)},t.prototype.handleOverflow=function(t){var e=this,i=this.chart,r=i.renderer,o=this.options,n=o.y,s=this.padding;n=i.spacingBox.height+("top"===o.verticalAlign?-n:n)-s;var a,h,l=o.maxHeight,c=this.clipRect,d=o.navigation,p=v(d.animation,!0),u=d.arrowSize||12,f=this.nav,g=this.pages,m=this.allItems,y=function(t){"number"==typeof t?c.attr({height:t}):c&&(e.clipRect=c.destroy(),e.contentGroup.clip()),e.contentGroup.div&&(e.contentGroup.div.style.clip=t?"rect("+s+"px,9999px,"+(s+t)+"px,0)":"auto")},x=function(t){return e[t]=r.circle(0,0,1.3*u).translate(u/2,u/2).add(f),i.styledMode||e[t].attr("fill","rgba(0,0,0,0.0001)"),e[t]};return"horizontal"!==o.layout||"middle"===o.verticalAlign||o.floating||(n/=2),l&&(n=Math.min(n,l)),g.length=0,t&&0<n&&t>n&&!1!==d.enabled?(this.clipHeight=a=Math.max(n-20-this.titleHeight-s,0),this.currentPage=v(this.currentPage,1),this.fullHeight=t,m.forEach((function(t,e){var i=t._legendItemPos[1],r=Math.round(t.legendItem.getBBox().height),o=g.length;(!o||i-g[o-1]>a&&(h||i)!==g[o-1])&&(g.push(h||i),o++),t.pageIx=o-1,h&&(m[e-1].pageIx=o-1),e===m.length-1&&i+r-g[o-1]>a&&i!==h&&(g.push(i),t.pageIx=o),i!==h&&(h=i)})),c||(c=e.clipRect=r.clipRect(0,s,9999,0),e.contentGroup.clip(c)),y(a),f||(this.nav=f=r.g().attr({zIndex:1}).add(this.group),this.up=r.symbol("triangle",0,0,u,u).add(f),x("upTracker").on("click",(function(){e.scroll(-1,p)})),this.pager=r.text("",15,10).addClass("highcharts-legend-navigation"),i.styledMode||this.pager.css(d.style),this.pager.add(f),this.down=r.symbol("triangle-down",0,0,u,u).add(f),x("downTracker").on("click",(function(){e.scroll(1,p)}))),e.scroll(0),t=n):f&&(y(),this.nav=f.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),t},t.prototype.scroll=function(t,e){var i=this,r=this.chart,o=this.pages,a=o.length,h=this.currentPage+t;t=this.clipHeight;var l=this.options.navigation,c=this.pager,d=this.padding;h>a&&(h=a),0<h&&(void 0!==e&&s(e,r),this.nav.attr({translateX:d,translateY:t+this.padding+7+this.titleHeight,visibility:"visible"}),[this.up,this.upTracker].forEach((function(t){t.attr({class:1===h?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})})),c.attr({text:h+"/"+a}),[this.down,this.downTracker].forEach((function(t){t.attr({x:18+this.pager.getBBox().width,class:h===a?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),this),r.styledMode||(this.up.attr({fill:1===h?l.inactiveColor:l.activeColor}),this.upTracker.css({cursor:1===h?"default":"pointer"}),this.down.attr({fill:h===a?l.inactiveColor:l.activeColor}),this.downTracker.css({cursor:h===a?"default":"pointer"})),this.scrollOffset=-o[h-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=h,this.positionCheckboxes(),e=n(v(e,r.renderer.globalAnimation,!0)),k((function(){g(i,"afterScroll",{currentPage:h})}),e.duration))},t.prototype.setItemEvents=function(t,e,i){var o=this,n=o.chart.renderer.boxWrapper,s=t instanceof r,a="highcharts-legend-"+(s?"point":"series")+"-active",h=o.chart.styledMode;(i?[e,t.legendSymbol]:[t.legendGroup]).forEach((function(i){i&&i.on("mouseover",(function(){t.visible&&o.allItems.forEach((function(e){t!==e&&e.setState("inactive",!s)})),t.setState("hover"),t.visible&&n.addClass(a),h||e.css(o.options.itemHoverStyle)})).on("mouseout",(function(){o.chart.styledMode||e.css(y(t.visible?o.itemStyle:o.itemHiddenStyle)),o.allItems.forEach((function(e){t!==e&&e.setState("",!s)})),n.removeClass(a),t.setState()})).on("click",(function(e){var i=function(){t.setVisible&&t.setVisible(),o.allItems.forEach((function(e){t!==e&&e.setState(t.visible?"inactive":"",!s)}))};n.removeClass(a),e={browserEvent:e},t.firePointEvent?t.firePointEvent("legendItemClick",e,i):g(t,"legendItemClick",e,i)}))}))},t.prototype.createCheckboxForItem=function(t){t.checkbox=c("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:t.selected,defaultChecked:t.selected},this.options.itemCheckboxStyle,this.chart.container),l(t.checkbox,"click",(function(e){g(t.series||t,"checkboxClick",{checked:e.target.checked,item:t},(function(){t.select()}))}))},t}();return(/Trident\/7\.0/.test(e.navigator&&e.navigator.userAgent)||t)&&o(w.prototype,"positionItem",(function(t,e){var i=this,r=function(){e._legendItemPos&&t.call(i,e)};r(),i.bubbleLegend||setTimeout(r)})),i.Legend=w,i.Legend})),e(i,"Core/Series/SeriesRegistry.js",[i["Core/Globals.js"],i["Core/Options.js"],i["Core/Series/Point.js"],i["Core/Utilities.js"]],(function(t,e,i,r){var o,n=e.defaultOptions,s=r.error,a=r.extendClass,h=r.merge;return function(e){function r(t,r){var o=n.plotOptions||{},s=r.defaultOptions;r.prototype.pointClass||(r.prototype.pointClass=i),r.prototype.type=t,s&&(o[t]=s),e.seriesTypes[t]=r}e.seriesTypes=t.seriesTypes,e.getSeries=function(t,i){void 0===i&&(i={});var r=t.options.chart;r=i.type||r.type||r.defaultSeriesType||"";var o=e.seriesTypes[r];return e||s(17,!0,t,{missingModuleFor:r}),"function"==typeof(r=new o).init&&r.init(t,i),r},e.registerSeriesType=r,e.seriesType=function(t,o,s,l,c){var d=n.plotOptions||{};return o=o||"",d[t]=h(d[o],s),r(t,a(e.seriesTypes[o]||function(){},l)),e.seriesTypes[t].prototype.type=t,c&&(e.seriesTypes[t].prototype.pointClass=a(i,c)),e.seriesTypes[t]}}(o||(o={})),t.seriesType=o.seriesType,o})),e(i,"Core/Chart/Chart.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Axis/Axis.js"],i["Core/FormatUtilities.js"],i["Core/Globals.js"],i["Core/Legend.js"],i["Core/MSPointer.js"],i["Core/Options.js"],i["Core/Color/Palette.js"],i["Core/Pointer.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Time.js"],i["Core/Utilities.js"],i["Core/Renderer/HTML/AST.js"]],(function(t,e,i,r,o,n,s,a,h,l,c,d,p){var u=t.animate,f=t.animObject,g=t.setAnimation,m=i.numberFormat,y=r.charts,v=r.doc,x=r.win,b=s.defaultOptions,k=s.defaultTime,w=l.seriesTypes,C=d.addEvent,M=d.attr,S=d.cleanRecursively,A=d.createElement,T=d.css,P=d.defined,O=d.discardElement,L=d.erase,E=d.error,D=d.extend,j=d.find,I=d.fireEvent,N=d.getStyle,B=d.isArray,z=d.isFunction,R=d.isNumber,W=d.isObject,G=d.isString,H=d.merge,X=d.objectEach,_=d.pick,F=d.pInt,Y=d.relativeLength,U=d.removeEvent,V=d.splat,q=d.syncTimeout,K=d.uniqueKey,Z=r.marginNames,$=function(){function t(t,e,i){this.series=this.renderTo=this.renderer=this.pointer=this.pointCount=this.plotWidth=this.plotTop=this.plotLeft=this.plotHeight=this.plotBox=this.options=this.numberFormatter=this.margin=this.legend=this.labelCollectors=this.isResizing=this.index=this.container=this.colorCounter=this.clipBox=this.chartWidth=this.chartHeight=this.bounds=this.axisOffset=this.axes=void 0,this.sharedClips={},this.yAxis=this.xAxis=this.userOptions=this.titleOffset=this.time=this.symbolCounter=this.spacingBox=this.spacing=void 0,this.getArgs(t,e,i)}return t.prototype.getArgs=function(t,e,i){G(t)||t.nodeName?(this.renderTo=t,this.init(e,i)):this.init(t,e)},t.prototype.init=function(t,e){var i=t.plotOptions||{};I(this,"init",{args:arguments},(function(){var o=H(b,t),n=o.chart;X(o.plotOptions,(function(t,e){W(t)&&(t.tooltip=i[e]&&H(i[e].tooltip)||void 0)})),o.tooltip.userOptions=t.chart&&t.chart.forExport&&t.tooltip.userOptions||t.tooltip,this.userOptions=t;var s=n.events;this.margin=[],this.spacing=[],this.bounds={h:{},v:{}},this.labelCollectors=[],this.callback=e,this.isResizing=0,this.options=o,this.axes=[],this.series=[],this.time=t.time&&Object.keys(t.time).length?new c(t.time):r.time,this.numberFormatter=n.numberFormatter||m,this.styledMode=n.styledMode,this.hasCartesianSeries=n.showAxes;var a=this;a.index=y.length,y.push(a),r.chartCount++,s&&X(s,(function(t,e){z(t)&&C(a,e,t)})),a.xAxis=[],a.yAxis=[],a.pointCount=a.colorCounter=a.symbolCounter=0,I(a,"afterInit"),a.firstRender()}))},t.prototype.initSeries=function(t){var e=this.options.chart;e=t.type||e.type||e.defaultSeriesType;var i=w[e];return i||E(17,!0,this,{missingModuleFor:e}),"function"==typeof(e=new i).init&&e.init(this,t),e},t.prototype.setSeriesData=function(){this.getSeriesOrderByLinks().forEach((function(t){t.points||t.data||!t.enabledDataSorting||t.setData(t.options.data,!1)}))},t.prototype.getSeriesOrderByLinks=function(){return this.series.concat().sort((function(t,e){return t.linkedSeries.length||e.linkedSeries.length?e.linkedSeries.length-t.linkedSeries.length:0}))},t.prototype.orderSeries=function(t){var e=this.series;for(t=t||0;t<e.length;t++)e[t]&&(e[t].index=t,e[t].name=e[t].getName())},t.prototype.isInsidePlot=function(t,e,i){void 0===i&&(i={});var r=this.inverted,o=this.plotBox,n=this.plotLeft,s=this.plotTop,a=this.scrollablePlotBox,h=this.scrollingContainer,l=(h=void 0===h?{scrollLeft:0,scrollTop:0}:h).scrollLeft;h=h.scrollTop;var c=i.series;if(o=i.visiblePlotOnly&&a||o,t={x:a=i.inverted?e:t,y:e=i.inverted?t:e,isInsidePlot:!0},!i.ignoreX){var d=c&&(r?c.yAxis:c.xAxis)||{pos:n,len:1/0};(a=i.paneCoordinates?d.pos+a:n+a)>=Math.max(l+n,d.pos)&&a<=Math.min(l+n+o.width,d.pos+d.len)||(t.isInsidePlot=!1)}return!i.ignoreY&&t.isInsidePlot&&(r=c&&(r?c.xAxis:c.yAxis)||{pos:s,len:1/0},(i=i.paneCoordinates?r.pos+e:s+e)>=Math.max(h+s,r.pos)&&i<=Math.min(h+s+o.height,r.pos+r.len)||(t.isInsidePlot=!1)),I(this,"afterIsInsidePlot",t),t.isInsidePlot},t.prototype.redraw=function(t){I(this,"beforeRedraw");var e=this.hasCartesianSeries?this.axes:this.colorAxis||[],i=this.series,r=this.pointer,o=this.legend,n=this.userOptions.legend,s=this.isDirtyLegend,a=this.isDirtyBox,h=this.renderer,l=h.isHidden(),c=[];for(this.setResponsive&&this.setResponsive(!1),g(!!this.hasRendered&&t,this),l&&this.temporaryDisplay(),this.layOutTitles(),t=i.length;t--;){var d=i[t];if(d.options.stacking||d.options.centerInCategory){var p=!0;if(d.isDirty){var u=!0;break}}}if(u)for(t=i.length;t--;)(d=i[t]).options.stacking&&(d.isDirty=!0);i.forEach((function(t){t.isDirty&&("point"===t.options.legendType?("function"==typeof t.updateTotals&&t.updateTotals(),s=!0):n&&(n.labelFormatter||n.labelFormat)&&(s=!0)),t.isDirtyData&&I(t,"updatedData")})),s&&o&&o.options.enabled&&(o.render(),this.isDirtyLegend=!1),p&&this.getStacks(),e.forEach((function(t){t.updateNames(),t.setScale()})),this.getMargins(),e.forEach((function(t){t.isDirty&&(a=!0)})),e.forEach((function(t){var e=t.min+","+t.max;t.extKey!==e&&(t.extKey=e,c.push((function(){I(t,"afterSetExtremes",D(t.eventArgs,t.getExtremes())),delete t.eventArgs}))),(a||p)&&t.redraw()})),a&&this.drawChartBox(),I(this,"predraw"),i.forEach((function(t){(a||t.isDirty)&&t.visible&&t.redraw(),t.isDirtyData=!1})),r&&r.reset(!0),h.draw(),I(this,"redraw"),I(this,"render"),l&&this.temporaryDisplay(!0),c.forEach((function(t){t.call()}))},t.prototype.get=function(t){function e(e){return e.id===t||e.options&&e.options.id===t}var i,r=this.series,o=j(this.axes,e)||j(this.series,e);for(i=0;!o&&i<r.length;i++)o=j(r[i].points||[],e);return o},t.prototype.getAxes=function(){var t=this,i=this.options,r=i.xAxis=V(i.xAxis||{});i=i.yAxis=V(i.yAxis||{}),I(this,"getAxes"),r.forEach((function(t,e){t.index=e,t.isX=!0})),i.forEach((function(t,e){t.index=e})),r.concat(i).forEach((function(i){new e(t,i)})),I(this,"afterGetAxes")},t.prototype.getSelectedPoints=function(){var t=[];return this.series.forEach((function(e){t=t.concat(e.getPointsCollection().filter((function(t){return _(t.selectedStaging,t.selected)})))})),t},t.prototype.getSelectedSeries=function(){return this.series.filter((function(t){return t.selected}))},t.prototype.setTitle=function(t,e,i){this.applyDescription("title",t),this.applyDescription("subtitle",e),this.applyDescription("caption",void 0),this.layOutTitles(i)},t.prototype.applyDescription=function(t,e){var i=this,r="title"===t?{color:a.neutralColor80,fontSize:this.options.isStock?"16px":"18px"}:{color:a.neutralColor60};r=this.options[t]=H(!this.styledMode&&{style:r},this.options[t],e);var o=this[t];o&&e&&(this[t]=o=o.destroy()),r&&!o&&((o=this.renderer.text(r.text,0,0,r.useHTML).attr({align:r.align,class:"highcharts-"+t,zIndex:r.zIndex||4}).add()).update=function(e){i[{title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"}[t]](e)},this.styledMode||o.css(r.style),this[t]=o)},t.prototype.layOutTitles=function(t){var e=[0,0,0],i=this.renderer,r=this.spacingBox;["title","subtitle","caption"].forEach((function(t){var o=this[t],n=this.options[t],s=n.verticalAlign||"top";if(t="title"===t?-3:"top"===s?e[0]+2:0,o){if(!this.styledMode)var a=n.style.fontSize;a=i.fontMetrics(a,o).b,o.css({width:(n.width||r.width+(n.widthAdjust||0))+"px"});var h=Math.round(o.getBBox(n.useHTML).height);o.align(D({y:"bottom"===s?a:t+a,height:h},n),!1,"spacingBox"),n.floating||("top"===s?e[0]=Math.ceil(e[0]+h):"bottom"===s&&(e[2]=Math.ceil(e[2]+h)))}}),this),e[0]&&"top"===(this.options.title.verticalAlign||"top")&&(e[0]+=this.options.title.margin),e[2]&&"bottom"===this.options.caption.verticalAlign&&(e[2]+=this.options.caption.margin);var o=!this.titleOffset||this.titleOffset.join(",")!==e.join(",");this.titleOffset=e,I(this,"afterLayOutTitles"),!this.isDirtyBox&&o&&(this.isDirtyBox=this.isDirtyLegend=o,this.hasRendered&&_(t,!0)&&this.isDirtyBox&&this.redraw())},t.prototype.getChartSize=function(){var t=this.options.chart,e=t.width;t=t.height;var i=this.renderTo;P(e)||(this.containerWidth=N(i,"width")),P(t)||(this.containerHeight=N(i,"height")),this.chartWidth=Math.max(0,e||this.containerWidth||600),this.chartHeight=Math.max(0,Y(t,this.chartWidth)||(1<this.containerHeight?this.containerHeight:400))},t.prototype.temporaryDisplay=function(t){var e=this.renderTo;if(t)for(;e&&e.style;)e.hcOrigStyle&&(T(e,e.hcOrigStyle),delete e.hcOrigStyle),e.hcOrigDetached&&(v.body.removeChild(e),e.hcOrigDetached=!1),e=e.parentNode;else for(;e&&e.style&&(v.body.contains(e)||e.parentNode||(e.hcOrigDetached=!0,v.body.appendChild(e)),("none"===N(e,"display",!1)||e.hcOricDetached)&&(e.hcOrigStyle={display:e.style.display,height:e.style.height,overflow:e.style.overflow},t={display:"block",overflow:"hidden"},e!==this.renderTo&&(t.height=0),T(e,t),e.offsetWidth||e.style.setProperty("display","block","important")),(e=e.parentNode)!==v.body););},t.prototype.setClassName=function(t){this.container.className="highcharts-container "+(t||"")},t.prototype.getContainer=function(){var t,e,i=this.options,o=i.chart,n=this.renderTo,s=K();n||(this.renderTo=n=o.renderTo),G(n)&&(this.renderTo=n=v.getElementById(n)),n||E(13,!0,this);var a=F(M(n,"data-highcharts-chart"));R(a)&&y[a]&&y[a].hasRendered&&y[a].destroy(),M(n,"data-highcharts-chart",this.index),n.innerHTML="",o.skipClone||n.offsetWidth||this.temporaryDisplay(),this.getChartSize(),a=this.chartWidth;var h=this.chartHeight;if(T(n,{overflow:"hidden"}),this.styledMode||(t=D({position:"relative",overflow:"hidden",width:a+"px",height:h+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)",userSelect:"none","touch-action":"manipulation",outline:"none"},o.style||{})),this.container=n=A("div",{id:s},t,n),this._cursor=n.style.cursor,this.renderer=new(r[o.renderer]||r.Renderer)(n,a,h,null,o.forExport,i.exporting&&i.exporting.allowHTML,this.styledMode),g(void 0,this),this.setClassName(o.className),this.styledMode)for(e in i.defs)this.renderer.definition(i.defs[e]);else this.renderer.setStyle(o.style);this.renderer.chartIndex=this.index,I(this,"afterGetContainer")},t.prototype.getMargins=function(t){var e=this.spacing,i=this.margin,r=this.titleOffset;this.resetMargins(),r[0]&&!P(i[0])&&(this.plotTop=Math.max(this.plotTop,r[0]+e[0])),r[2]&&!P(i[2])&&(this.marginBottom=Math.max(this.marginBottom,r[2]+e[2])),this.legend&&this.legend.display&&this.legend.adjustMargins(i,e),I(this,"getMargins"),t||this.getAxisMargins()},t.prototype.getAxisMargins=function(){var t=this,e=t.axisOffset=[0,0,0,0],i=t.colorAxis,r=t.margin,o=function(t){t.forEach((function(t){t.visible&&t.getOffset()}))};t.hasCartesianSeries?o(t.axes):i&&i.length&&o(i),Z.forEach((function(i,o){P(r[o])||(t[i]+=e[o])})),t.setChartSize()},t.prototype.reflow=function(t){var e=this,i=e.options.chart,r=e.renderTo,o=P(i.width)&&P(i.height),n=i.width||N(r,"width");i=i.height||N(r,"height"),r=t?t.target:x,delete e.pointer.chartPosition,o||e.isPrinting||!n||!i||r!==x&&r!==v||(n===e.containerWidth&&i===e.containerHeight||(d.clearTimeout(e.reflowTimeout),e.reflowTimeout=q((function(){e.container&&e.setSize(void 0,void 0,!1)}),t?100:0)),e.containerWidth=n,e.containerHeight=i)},t.prototype.setReflow=function(t){var e=this;!1===t||this.unbindReflow?!1===t&&this.unbindReflow&&(this.unbindReflow=this.unbindReflow()):(this.unbindReflow=C(x,"resize",(function(t){e.options&&e.reflow(t)})),C(this,"destroy",this.unbindReflow))},t.prototype.setSize=function(t,e,i){var r=this,o=r.renderer;r.isResizing+=1,g(i,r),i=o.globalAnimation,r.oldChartHeight=r.chartHeight,r.oldChartWidth=r.chartWidth,void 0!==t&&(r.options.chart.width=t),void 0!==e&&(r.options.chart.height=e),r.getChartSize(),r.styledMode||(i?u:T)(r.container,{width:r.chartWidth+"px",height:r.chartHeight+"px"},i),r.setChartSize(!0),o.setSize(r.chartWidth,r.chartHeight,i),r.axes.forEach((function(t){t.isDirty=!0,t.setScale()})),r.isDirtyLegend=!0,r.isDirtyBox=!0,r.layOutTitles(),r.getMargins(),r.redraw(i),r.oldChartHeight=null,I(r,"resize"),q((function(){r&&I(r,"endResize",null,(function(){--r.isResizing}))}),f(i).duration)},t.prototype.setChartSize=function(t){var e,i,r,o,n=this.inverted,s=this.renderer,a=this.chartWidth,h=this.chartHeight,l=this.options.chart,c=this.spacing,d=this.clipOffset;this.plotLeft=e=Math.round(this.plotLeft),this.plotTop=i=Math.round(this.plotTop),this.plotWidth=r=Math.max(0,Math.round(a-e-this.marginRight)),this.plotHeight=o=Math.max(0,Math.round(h-i-this.marginBottom)),this.plotSizeX=n?o:r,this.plotSizeY=n?r:o,this.plotBorderWidth=l.plotBorderWidth||0,this.spacingBox=s.spacingBox={x:c[3],y:c[0],width:a-c[3]-c[1],height:h-c[0]-c[2]},this.plotBox=s.plotBox={x:e,y:i,width:r,height:o},h=2*Math.floor(this.plotBorderWidth/2),n=Math.ceil(Math.max(h,d[3])/2),a=Math.ceil(Math.max(h,d[0])/2),this.clipBox={x:n,y:a,width:Math.floor(this.plotSizeX-Math.max(h,d[1])/2-n),height:Math.max(0,Math.floor(this.plotSizeY-Math.max(h,d[2])/2-a))},t||(this.axes.forEach((function(t){t.setAxisSize(),t.setAxisTranslation()})),s.alignElements()),I(this,"afterSetChartSize",{skipAxes:t})},t.prototype.resetMargins=function(){I(this,"resetMargins");var t=this,e=t.options.chart;["margin","spacing"].forEach((function(i){var r=e[i],o=W(r)?r:[r,r,r,r];["Top","Right","Bottom","Left"].forEach((function(r,n){t[i][n]=_(e[i+r],o[n])}))})),Z.forEach((function(e,i){t[e]=_(t.margin[i],t.spacing[i])})),t.axisOffset=[0,0,0,0],t.clipOffset=[0,0,0,0]},t.prototype.drawChartBox=function(){var t,e=this.options.chart,i=this.renderer,r=this.chartWidth,o=this.chartHeight,n=this.chartBackground,s=this.plotBackground,a=this.plotBorder,h=this.styledMode,l=this.plotBGImage,c=e.backgroundColor,d=e.plotBackgroundColor,p=e.plotBackgroundImage,u=this.plotLeft,f=this.plotTop,g=this.plotWidth,m=this.plotHeight,y=this.plotBox,v=this.clipRect,x=this.clipBox,b="animate";if(n||(this.chartBackground=n=i.rect().addClass("highcharts-background").add(),b="attr"),h)var k=t=n.strokeWidth();else t=(k=e.borderWidth||0)+(e.shadow?8:0),c={fill:c||"none"},(k||n["stroke-width"])&&(c.stroke=e.borderColor,c["stroke-width"]=k),n.attr(c).shadow(e.shadow);n[b]({x:t/2,y:t/2,width:r-t-k%2,height:o-t-k%2,r:e.borderRadius}),b="animate",s||(b="attr",this.plotBackground=s=i.rect().addClass("highcharts-plot-background").add()),s[b](y),h||(s.attr({fill:d||"none"}).shadow(e.plotShadow),p&&(l?(p!==l.attr("href")&&l.attr("href",p),l.animate(y)):this.plotBGImage=i.image(p,u,f,g,m).add())),v?v.animate({width:x.width,height:x.height}):this.clipRect=i.clipRect(x),b="animate",a||(b="attr",this.plotBorder=a=i.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add()),h||a.attr({stroke:e.plotBorderColor,"stroke-width":e.plotBorderWidth||0,fill:"none"}),a[b](a.crisp({x:u,y:f,width:g,height:m},-a.strokeWidth())),this.isDirtyBox=!1,I(this,"afterDrawChartBox")},t.prototype.propFromSeries=function(){var t,e,i,r=this,o=r.options.chart,n=r.options.series;["inverted","angular","polar"].forEach((function(s){for(t=w[o.type||o.defaultSeriesType],i=o[s]||t&&t.prototype[s],e=n&&n.length;!i&&e--;)(t=w[n[e].type])&&t.prototype[s]&&(i=!0);r[s]=i}))},t.prototype.linkSeries=function(){var t=this,e=t.series;e.forEach((function(t){t.linkedSeries.length=0})),e.forEach((function(e){var i=e.options.linkedTo;G(i)&&(i=":previous"===i?t.series[e.index-1]:t.get(i))&&i.linkedParent!==e&&(i.linkedSeries.push(e),e.linkedParent=i,i.enabledDataSorting&&e.setDataSortingOptions(),e.visible=_(e.options.visible,i.options.visible,e.visible))})),I(this,"afterLinkSeries")},t.prototype.renderSeries=function(){this.series.forEach((function(t){t.translate(),t.render()}))},t.prototype.renderLabels=function(){var t=this,e=t.options.labels;e.items&&e.items.forEach((function(i){var r=D(e.style,i.style),o=F(r.left)+t.plotLeft,n=F(r.top)+t.plotTop+12;delete r.left,delete r.top,t.renderer.text(i.html,o,n).attr({zIndex:2}).css(r).add()}))},t.prototype.render=function(){var t=this.axes,e=this.colorAxis,i=this.renderer,r=this.options,n=0,s=function(t){t.forEach((function(t){t.visible&&t.render()}))};this.setTitle(),this.legend=new o(this,r.legend),this.getStacks&&this.getStacks(),this.getMargins(!0),this.setChartSize(),r=this.plotWidth,t.some((function(t){if(t.horiz&&t.visible&&t.options.labels.enabled&&t.series.length)return n=21,!0}));var a=this.plotHeight=Math.max(this.plotHeight-n,0);t.forEach((function(t){t.setScale()})),this.getAxisMargins();var h=1.1<r/this.plotWidth,l=1.05<a/this.plotHeight;(h||l)&&(t.forEach((function(t){(t.horiz&&h||!t.horiz&&l)&&t.setTickInterval(!0)})),this.getMargins()),this.drawChartBox(),this.hasCartesianSeries?s(t):e&&e.length&&s(e),this.seriesGroup||(this.seriesGroup=i.g("series-group").attr({zIndex:3}).add()),this.renderSeries(),this.renderLabels(),this.addCredits(),this.setResponsive&&this.setResponsive(),this.hasRendered=!0},t.prototype.addCredits=function(t){var e=this,i=H(!0,this.options.credits,t);i.enabled&&!this.credits&&(this.credits=this.renderer.text(i.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",(function(){i.href&&(x.location.href=i.href)})).attr({align:i.position.align,zIndex:8}),e.styledMode||this.credits.css(i.style),this.credits.add().align(i.position),this.credits.update=function(t){e.credits=e.credits.destroy(),e.addCredits(t)})},t.prototype.destroy=function(){var t,e=this,i=e.axes,o=e.series,n=e.container,s=n&&n.parentNode;for(I(e,"destroy"),e.renderer.forExport?L(y,e):y[e.index]=void 0,r.chartCount--,e.renderTo.removeAttribute("data-highcharts-chart"),U(e),t=i.length;t--;)i[t]=i[t].destroy();for(this.scroller&&this.scroller.destroy&&this.scroller.destroy(),t=o.length;t--;)o[t]=o[t].destroy();"title subtitle chartBackground plotBackground plotBGImage plotBorder seriesGroup clipRect credits pointer rangeSelector legend resetZoomButton tooltip renderer".split(" ").forEach((function(t){var i=e[t];i&&i.destroy&&(e[t]=i.destroy())})),n&&(n.innerHTML="",U(n),s&&O(n)),X(e,(function(t,i){delete e[i]}))},t.prototype.firstRender=function(){var t=this,e=t.options;t.isReadyToRender&&!t.isReadyToRender()||(t.getContainer(),t.resetMargins(),t.setChartSize(),t.propFromSeries(),t.getAxes(),(B(e.series)?e.series:[]).forEach((function(e){t.initSeries(e)})),t.linkSeries(),t.setSeriesData(),I(t,"beforeRender"),h&&(t.pointer=r.hasTouch||!x.PointerEvent&&!x.MSPointerEvent?new h(t,e):new n(t,e)),t.render(),t.pointer.getChartPosition(),t.renderer.imgCount||t.hasLoaded||t.onload(),t.temporaryDisplay(!0))},t.prototype.onload=function(){this.callbacks.concat([this.callback]).forEach((function(t){t&&void 0!==this.index&&t.apply(this,[this])}),this),I(this,"load"),I(this,"render"),P(this.index)&&this.setReflow(this.options.chart.reflow),this.hasLoaded=!0},t.prototype.addSeries=function(t,e,i){var r,o=this;return t&&(e=_(e,!0),I(o,"addSeries",{options:t},(function(){r=o.initSeries(t),o.isDirtyLegend=!0,o.linkSeries(),r.enabledDataSorting&&r.setData(t.data,!1),I(o,"afterAddSeries",{series:r}),e&&o.redraw(i)}))),r},t.prototype.addAxis=function(t,e,i,r){return this.createAxis(e?"xAxis":"yAxis",{axis:t,redraw:i,animation:r})},t.prototype.addColorAxis=function(t,e,i){return this.createAxis("colorAxis",{axis:t,redraw:e,animation:i})},t.prototype.createAxis=function(t,i){var o="colorAxis"===t,n=i.redraw,s=i.animation;return t=H(i.axis,{index:this[t].length,isX:"xAxis"===t}),t=o?new r.ColorAxis(this,t):new e(this,t),o&&(this.isDirtyLegend=!0,this.axes.forEach((function(t){t.series=[]})),this.series.forEach((function(t){t.bindAxes(),t.isDirtyData=!0}))),_(n,!0)&&this.redraw(s),t},t.prototype.showLoading=function(t){var e=this,i=e.options,r=e.loadingDiv,o=e.loadingSpan,n=i.loading,s=function(){r&&T(r,{left:e.plotLeft+"px",top:e.plotTop+"px",width:e.plotWidth+"px",height:e.plotHeight+"px"})};r||(e.loadingDiv=r=A("div",{className:"highcharts-loading highcharts-loading-hidden"},null,e.container)),o||(e.loadingSpan=o=A("span",{className:"highcharts-loading-inner"},null,r),C(e,"redraw",s)),r.className="highcharts-loading",p.setElementHTML(o,_(t,i.lang.loading,"")),e.styledMode||(T(r,D(n.style,{zIndex:10})),T(o,n.labelStyle),e.loadingShown||(T(r,{opacity:0,display:""}),u(r,{opacity:n.style.opacity||.5},{duration:n.showDuration||0}))),e.loadingShown=!0,s()},t.prototype.hideLoading=function(){var t=this.options,e=this.loadingDiv;e&&(e.className="highcharts-loading highcharts-loading-hidden",this.styledMode||u(e,{opacity:0},{duration:t.loading.hideDuration||100,complete:function(){T(e,{display:"none"})}})),this.loadingShown=!1},t.prototype.update=function(t,e,i,r){var o,n,s,a=this,h={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},l=t.isResponsiveOptions,d=[];if(I(a,"update",{options:t}),l||a.setResponsive(!1,!0),t=S(t,a.options),a.userOptions=H(a.userOptions,t),o=t.chart){if(H(!0,a.options.chart,o),"className"in o&&a.setClassName(o.className),"reflow"in o&&a.setReflow(o.reflow),"inverted"in o||"polar"in o||"type"in o){a.propFromSeries();var p=!0}"alignTicks"in o&&(p=!0),X(o,(function(t,e){-1!==a.propsRequireUpdateSeries.indexOf("chart."+e)&&(n=!0),-1!==a.propsRequireDirtyBox.indexOf(e)&&(a.isDirtyBox=!0),-1!==a.propsRequireReflow.indexOf(e)&&(l?a.isDirtyBox=!0:s=!0)})),!a.styledMode&&"style"in o&&a.renderer.setStyle(o.style)}!a.styledMode&&t.colors&&(this.options.colors=t.colors),t.time&&(this.time===k&&(this.time=new c(t.time)),H(!0,a.options.time,t.time)),X(t,(function(e,i){a[i]&&"function"==typeof a[i].update?a[i].update(e,!1):"function"==typeof a[h[i]]?a[h[i]](e):"colors"!==i&&-1===a.collectionsWithUpdate.indexOf(i)&&H(!0,a.options[i],t[i]),"chart"!==i&&-1!==a.propsRequireUpdateSeries.indexOf(i)&&(n=!0)})),this.collectionsWithUpdate.forEach((function(e){if(t[e]){var r=[];a[e].forEach((function(t,e){t.options.isInternal||r.push(_(t.options.index,e))})),V(t[e]).forEach((function(t,o){var n,s=P(t.id);s&&(n=a.get(t.id)),!n&&a[e]&&(n=a[e][r?r[o]:o])&&s&&P(n.options.id)&&(n=void 0),n&&n.coll===e&&(n.update(t,!1),i&&(n.touched=!0)),!n&&i&&a.collectionsWithInit[e]&&(a.collectionsWithInit[e][0].apply(a,[t].concat(a.collectionsWithInit[e][1]||[]).concat([!1])).touched=!0)})),i&&a[e].forEach((function(t){t.touched||t.options.isInternal?delete t.touched:d.push(t)}))}})),d.forEach((function(t){t.chart&&t.remove(!1)})),p&&a.axes.forEach((function(t){t.update({},!1)})),n&&a.getSeriesOrderByLinks().forEach((function(t){t.chart&&t.update({},!1)}),this),p=o&&o.width,o=o&&o.height,G(o)&&(o=Y(o,p||a.chartWidth)),s||R(p)&&p!==a.chartWidth||R(o)&&o!==a.chartHeight?a.setSize(p,o,r):_(e,!0)&&a.redraw(r),I(a,"afterUpdate",{options:t,redraw:e,animation:r})},t.prototype.setSubtitle=function(t,e){this.applyDescription("subtitle",t),this.layOutTitles(e)},t.prototype.setCaption=function(t,e){this.applyDescription("caption",t),this.layOutTitles(e)},t.prototype.showResetZoom=function(){function t(){e.zoomOut()}var e=this,i=b.lang,r=e.options.chart.resetZoomButton,o=r.theme,n=o.states,s="chart"===r.relativeTo||"spacingBox"===r.relativeTo?null:"scrollablePlotBox";I(this,"beforeShowResetZoom",null,(function(){e.resetZoomButton=e.renderer.button(i.resetZoom,null,null,t,o,n&&n.hover).attr({align:r.position.align,title:i.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(r.position,!1,s)})),I(this,"afterShowResetZoom")},t.prototype.zoomOut=function(){I(this,"selection",{resetSelection:!0},this.zoom)},t.prototype.zoom=function(t){var e,i=this,r=i.pointer,o=!1,n=i.inverted?r.mouseDownX:r.mouseDownY;!t||t.resetSelection?(i.axes.forEach((function(t){e=t.zoom()})),r.initiated=!1):t.xAxis.concat(t.yAxis).forEach((function(t){var s=t.axis,a=i.inverted?s.left:s.top,h=i.inverted?a+s.width:a+s.height,l=s.isXAxis,c=!1;(!l&&n>=a&&n<=h||l||!P(n))&&(c=!0),r[l?"zoomX":"zoomY"]&&c&&(e=s.zoom(t.min,t.max),s.displayBtn&&(o=!0))}));var s=i.resetZoomButton;o&&!s?i.showResetZoom():!o&&W(s)&&(i.resetZoomButton=s.destroy()),e&&i.redraw(_(i.options.chart.animation,t&&t.animation,100>i.pointCount))},t.prototype.pan=function(t,e){var i,r=this,o=r.hoverPoints,n=r.options.chart,s=r.options.mapNavigation&&r.options.mapNavigation.enabled;e="object"==typeof e?e:{enabled:e,type:"x"},n&&n.panning&&(n.panning=e);var a=e.type;I(this,"pan",{originalEvent:t},(function(){o&&o.forEach((function(t){t.setState()}));var e=[1];"xy"===a?e=[1,0]:"y"===a&&(e=[0]),e.forEach((function(e){var o=r[e?"xAxis":"yAxis"][0],n=o.horiz,h=t[n?"chartX":"chartY"],l=r[n=n?"mouseDownX":"mouseDownY"],c=(o.pointRange||0)/2,d=o.reversed&&!r.inverted||!o.reversed&&r.inverted?-1:1,p=o.getExtremes(),u=o.toValue(l-h,!0)+c*d,f=(d=o.toValue(l+o.len-h,!0)-c*d)<u;l=f?d:u,u=f?u:d,d=o.hasVerticalPanning();var g=o.panningState;!d||e||g&&!g.isDirty||o.series.forEach((function(t){var e=t.getProcessedData(!0);e=t.getExtremes(e.yData,!0),g||(g={startMin:Number.MAX_VALUE,startMax:-Number.MAX_VALUE}),R(e.dataMin)&&R(e.dataMax)&&(g.startMin=Math.min(_(t.options.threshold,1/0),e.dataMin,g.startMin),g.startMax=Math.max(_(t.options.threshold,-1/0),e.dataMax,g.startMax))})),e=Math.min(_(g&&g.startMin,p.dataMin),c?p.min:o.toValue(o.toPixels(p.min)-o.minPixelPadding)),c=Math.max(_(g&&g.startMax,p.dataMax),c?p.max:o.toValue(o.toPixels(p.max)+o.minPixelPadding)),o.panningState=g,o.isOrdinal||(0<(d=e-l)&&(u+=d,l=e),0<(d=u-c)&&(u=c,l-=d),o.series.length&&l!==p.min&&u!==p.max&&l>=e&&u<=c&&(o.setExtremes(l,u,!1,!1,{trigger:"pan"}),r.resetZoomButton||s||l===e||u===c||!a.match("y")||(r.showResetZoom(),o.displayBtn=!1),i=!0),r[n]=h)})),i&&r.redraw(!1),T(r.container,{cursor:"move"})}))},t}();return D($.prototype,{callbacks:[],collectionsWithInit:{xAxis:[$.prototype.addAxis,[!0]],yAxis:[$.prototype.addAxis,[!1]],series:[$.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","zAxis","series"],propsRequireDirtyBox:"backgroundColor borderColor borderWidth borderRadius plotBackgroundColor plotBackgroundImage plotBorderColor plotBorderWidth plotShadow shadow".split(" "),propsRequireReflow:"margin marginTop marginRight marginBottom marginLeft spacing spacingTop spacingRight spacingBottom spacingLeft".split(" "),propsRequireUpdateSeries:"chart.inverted chart.polar chart.ignoreHiddenSeries chart.type colors plotOptions time tooltip".split(" ")}),r.chart=function(t,e,i){return new $(t,e,i)},r.Chart=$,$})),e(i,"Mixins/LegendSymbol.js",[i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e){var i=e.merge,r=e.pick;return t.LegendSymbolMixin={drawRectangle:function(t,e){var i=t.symbolHeight,o=t.options.squareSymbol;e.legendSymbol=this.chart.renderer.rect(o?(t.symbolWidth-i)/2:0,t.baseline-i+1,o?i:t.symbolWidth,i,r(t.options.symbolRadius,i/2)).addClass("highcharts-point").attr({zIndex:3}).add(e.legendGroup)},drawLineMarker:function(t){var e=this.options,o=e.marker,n=t.symbolWidth,s=t.symbolHeight,a=s/2,h=this.chart.renderer,l=this.legendGroup;t=t.baseline-Math.round(.3*t.fontMetrics.b);var c={};this.chart.styledMode||(c={"stroke-width":e.lineWidth||0},e.dashStyle&&(c.dashstyle=e.dashStyle)),this.legendLine=h.path([["M",0,t],["L",n,t]]).addClass("highcharts-graph").attr(c).add(l),o&&!1!==o.enabled&&n&&(e=Math.min(r(o.radius,a),a),0===this.symbol.indexOf("url")&&(o=i(o,{width:s,height:s}),e=0),this.legendSymbol=o=h.symbol(this.symbol,n/2-e,t-e,2*e,2*e,o).addClass("highcharts-point").add(l),o.isMarker=!0)}}})),e(i,"Core/Series/Series.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Globals.js"],i["Mixins/LegendSymbol.js"],i["Core/Options.js"],i["Core/Color/Palette.js"],i["Core/Series/Point.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Renderer/SVG/SVGElement.js"],i["Core/Utilities.js"]],(function(t,e,i,r,o,n,s,a,h){var l=t.animObject,c=t.setAnimation,d=e.hasTouch,p=e.svg,u=e.win,f=r.defaultOptions,g=s.seriesTypes,m=h.addEvent,y=h.arrayMax,v=h.arrayMin,x=h.clamp,b=h.cleanRecursively,k=h.correctFloat,w=h.defined,C=h.erase,M=h.error,S=h.extend,A=h.find,T=h.fireEvent,P=h.getNestedProperty,O=h.isArray,L=h.isFunction,E=h.isNumber,D=h.isString,j=h.merge,I=h.objectEach,N=h.pick,B=h.removeEvent,z=h.splat,R=h.syncTimeout;return t=function(){function t(){this.zones=this.yAxis=this.xAxis=this.userOptions=this.tooltipOptions=this.processedYData=this.processedXData=this.points=this.options=this.linkedSeries=this.index=this.eventsToUnbind=this.eventOptions=this.data=this.chart=this._i=void 0}return t.prototype.init=function(t,e){T(this,"init",{options:e});var i,r=this,o=t.series;this.eventOptions=this.eventOptions||{},this.eventsToUnbind=[],r.chart=t,r.options=r.setOptions(e);var n=r.options;r.linkedSeries=[],r.bindAxes(),S(r,{name:n.name,state:"",visible:!1!==n.visible,selected:!0===n.selected}),e=n.events,I(e,(function(t,e){L(t)&&r.eventOptions[e]!==t&&(L(r.eventOptions[e])&&B(r,e,r.eventOptions[e]),r.eventOptions[e]=t,m(r,e,t))})),(e&&e.click||n.point&&n.point.events&&n.point.events.click||n.allowPointSelect)&&(t.runTrackerClick=!0),r.getColor(),r.getSymbol(),r.parallelArrays.forEach((function(t){r[t+"Data"]||(r[t+"Data"]=[])})),r.isCartesian&&(t.hasCartesianSeries=!0),o.length&&(i=o[o.length-1]),r._i=N(i&&i._i,-1)+1,r.opacity=r.options.opacity,t.orderSeries(this.insert(o)),n.dataSorting&&n.dataSorting.enabled?r.setDataSortingOptions():r.points||r.data||r.setData(n.data,!1),T(this,"afterInit")},t.prototype.is=function(t){return g[t]&&this instanceof g[t]},t.prototype.insert=function(t){var e,i=this.options.index;if(E(i)){for(e=t.length;e--;)if(i>=N(t[e].options.index,t[e]._i)){t.splice(e+1,0,this);break}-1===e&&t.unshift(this),e+=1}else t.push(this);return N(e,t.length-1)},t.prototype.bindAxes=function(){var t,e=this,i=e.options,r=e.chart;T(this,"bindAxes",null,(function(){(e.axisTypes||[]).forEach((function(o){var n=0;r[o].forEach((function(r){t=r.options,(i[o]===n&&!t.isInternal||void 0!==i[o]&&i[o]===t.id||void 0===i[o]&&0===t.index)&&(e.insert(r.series),e[o]=r,r.isDirty=!0),t.isInternal||n++})),e[o]||e.optionalAxis===o||M(18,!0,r)}))})),T(this,"afterBindAxes")},t.prototype.updateParallelArrays=function(t,e){var i=t.series,r=arguments,o=E(e)?function(r){var o="y"===r&&i.toYData?i.toYData(t):t[r];i[r+"Data"][e]=o}:function(t){Array.prototype[e].apply(i[t+"Data"],Array.prototype.slice.call(r,2))};i.parallelArrays.forEach(o)},t.prototype.hasData=function(){return this.visible&&void 0!==this.dataMax&&void 0!==this.dataMin||this.visible&&this.yData&&0<this.yData.length},t.prototype.autoIncrement=function(){var t,e=this.options,i=this.xIncrement,r=e.pointIntervalUnit,o=this.chart.time;return i=N(i,e.pointStart,0),this.pointInterval=t=N(this.pointInterval,e.pointInterval,1),r&&(e=new o.Date(i),"day"===r?o.set("Date",e,o.get("Date",e)+t):"month"===r?o.set("Month",e,o.get("Month",e)+t):"year"===r&&o.set("FullYear",e,o.get("FullYear",e)+t),t=e.getTime()-i),this.xIncrement=i+t,i},t.prototype.setDataSortingOptions=function(){var t=this.options;S(this,{requireSorting:!1,sorted:!1,enabledDataSorting:!0,allowDG:!1}),w(t.pointRange)||(t.pointRange=1)},t.prototype.setOptions=function(t){var e=this.chart,i=e.options,r=i.plotOptions,o=e.userOptions||{};t=j(t),e=e.styledMode;var n={plotOptions:r,userOptions:t};T(this,"setOptions",n);var s=n.plotOptions[this.type],a=o.plotOptions||{};return this.userOptions=n.userOptions,o=j(s,r.series,o.plotOptions&&o.plotOptions[this.type],t),this.tooltipOptions=j(f.tooltip,f.plotOptions.series&&f.plotOptions.series.tooltip,f.plotOptions[this.type].tooltip,i.tooltip.userOptions,r.series&&r.series.tooltip,r[this.type].tooltip,t.tooltip),this.stickyTracking=N(t.stickyTracking,a[this.type]&&a[this.type].stickyTracking,a.series&&a.series.stickyTracking,!(!this.tooltipOptions.shared||this.noSharedTooltip)||o.stickyTracking),null===s.marker&&delete o.marker,this.zoneAxis=o.zoneAxis,i=this.zones=(o.zones||[]).slice(),!o.negativeColor&&!o.negativeFillColor||o.zones||(r={value:o[this.zoneAxis+"Threshold"]||o.threshold||0,className:"highcharts-negative"},e||(r.color=o.negativeColor,r.fillColor=o.negativeFillColor),i.push(r)),i.length&&w(i[i.length-1].value)&&i.push(e?{}:{color:this.color,fillColor:this.fillColor}),T(this,"afterSetOptions",{options:o}),o},t.prototype.getName=function(){return N(this.options.name,"Series "+(this.index+1))},t.prototype.getCyclic=function(t,e,i){var r=this.chart,o=this.userOptions,n=t+"Index",s=t+"Counter",a=i?i.length:N(r.options.chart[t+"Count"],r[t+"Count"]);if(!e){var h=N(o[n],o["_"+n]);w(h)||(r.series.length||(r[s]=0),o["_"+n]=h=r[s]%a,r[s]+=1),i&&(e=i[h])}void 0!==h&&(this[n]=h),this[t]=e},t.prototype.getColor=function(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.color=o.neutralColor20:this.getCyclic("color",this.options.color||f.plotOptions[this.type].color,this.chart.options.colors)},t.prototype.getPointsCollection=function(){return(this.hasGroupedData?this.points:this.data)||[]},t.prototype.getSymbol=function(){this.getCyclic("symbol",this.options.marker.symbol,this.chart.options.symbols)},t.prototype.findPointIndex=function(t,e){var i,r=t.id,o=t.x,n=this.points,s=this.options.dataSorting;if(r)var a=this.chart.get(r);else if(this.linkedParent||this.enabledDataSorting){var h=s&&s.matchByName?"name":"index";if(a=A(n,(function(e){return!e.touched&&e[h]===t[h]})),!a)return}if(a){var l=a&&a.index;void 0!==l&&(i=!0)}return void 0===l&&E(o)&&(l=this.xData.indexOf(o,e)),-1!==l&&void 0!==l&&this.cropped&&(l=l>=this.cropStart?l-this.cropStart:l),!i&&n[l]&&n[l].touched&&(l=void 0),l},t.prototype.updateData=function(t,e){var i,r,o,n=this.options,s=n.dataSorting,a=this.points,h=[],l=this.requireSorting,c=t.length===a.length,d=!0;if(this.xIncrement=null,t.forEach((function(t,e){var r=w(t)&&this.pointClass.prototype.optionsToObject.call({series:this},t)||{},d=r.x;r.id||E(d)?(-1===(d=this.findPointIndex(r,o))||void 0===d?h.push(t):a[d]&&t!==n.data[d]?(a[d].update(t,!1,null,!1),a[d].touched=!0,l&&(o=d+1)):a[d]&&(a[d].touched=!0),(!c||e!==d||s&&s.enabled||this.hasDerivedData)&&(i=!0)):h.push(t)}),this),i)for(t=a.length;t--;)(r=a[t])&&!r.touched&&r.remove&&r.remove(!1,e);else!c||s&&s.enabled?d=!1:(t.forEach((function(t,e){a[e].update&&t!==a[e].y&&a[e].update(t,!1,null,!1)})),h.length=0);return a.forEach((function(t){t&&(t.touched=!1)})),!!d&&(h.forEach((function(t){this.addPoint(t,!1,null,null,!1)}),this),null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=y(this.xData),this.autoIncrement()),!0)},t.prototype.setData=function(t,e,i,r){var o,n=this,s=n.points,a=s&&s.length||0,h=n.options,l=n.chart,c=h.dataSorting,d=null,p=n.xAxis;d=h.turboThreshold;var u,f=this.xData,g=this.yData,m=(o=n.pointArrayMap)&&o.length,y=h.keys,v=0,x=1;if(o=(t=t||[]).length,e=N(e,!0),c&&c.enabled&&(t=this.sortData(t)),!1!==r&&o&&a&&!n.cropped&&!n.hasGroupedData&&n.visible&&!n.isSeriesBoosting&&(u=this.updateData(t,i)),!u){if(n.xIncrement=null,n.colorCounter=0,this.parallelArrays.forEach((function(t){n[t+"Data"].length=0})),d&&o>d)if(d=n.getFirstValidPoint(t),E(d))for(i=0;i<o;i++)f[i]=this.autoIncrement(),g[i]=t[i];else if(O(d))if(m)for(i=0;i<o;i++)r=t[i],f[i]=r[0],g[i]=r.slice(1,m+1);else for(y&&(v=0<=(v=y.indexOf("x"))?v:0,x=0<=(x=y.indexOf("y"))?x:1),i=0;i<o;i++)r=t[i],f[i]=r[v],g[i]=r[x];else M(12,!1,l);else for(i=0;i<o;i++)void 0!==t[i]&&(r={series:n},n.pointClass.prototype.applyOptions.apply(r,[t[i]]),n.updateParallelArrays(r,i));for(g&&D(g[0])&&M(14,!0,l),n.data=[],n.options.data=n.userOptions.data=t,i=a;i--;)s[i]&&s[i].destroy&&s[i].destroy();p&&(p.minRange=p.userMinRange),n.isDirty=l.isDirtyBox=!0,n.isDirtyData=!!s,i=!1}"point"===h.legendType&&(this.processData(),this.generatePoints()),e&&l.redraw(i)},t.prototype.sortData=function(t){var e=this,i=e.options.dataSorting.sortKey||"y",r=function(t,e){return w(e)&&t.pointClass.prototype.optionsToObject.call({series:t},e)||{}};return t.forEach((function(i,o){t[o]=r(e,i),t[o].index=o}),this),t.concat().sort((function(t,e){return t=P(i,t),(e=P(i,e))<t?-1:e>t?1:0})).forEach((function(t,e){t.x=e}),this),e.linkedSeries&&e.linkedSeries.forEach((function(e){var i=e.options,o=i.data;i.dataSorting&&i.dataSorting.enabled||!o||(o.forEach((function(i,n){o[n]=r(e,i),t[n]&&(o[n].x=t[n].x,o[n].index=n)})),e.setData(o,!1))})),t},t.prototype.getProcessedData=function(t){var e=this.xData,i=this.yData,r=e.length,o=0,n=this.xAxis,s=this.options,a=s.cropThreshold,h=t||this.getExtremesFromAll||s.getExtremesFromAll,l=this.isCartesian;t=n&&n.val2lin,s=!(!n||!n.logarithmic);var c=this.requireSorting;if(n)var d=(n=n.getExtremes()).min,p=n.max;if(l&&this.sorted&&!h&&(!a||r>a||this.forceCrop))if(e[r-1]<d||e[0]>p)e=[],i=[];else if(this.yData&&(e[0]<d||e[r-1]>p)){e=(o=this.cropData(this.xData,this.yData,d,p)).xData,i=o.yData,o=o.start;var u=!0}for(a=e.length||1;--a;)if(0<(r=s?t(e[a])-t(e[a-1]):e[a]-e[a-1])&&(void 0===f||r<f))var f=r;else 0>r&&c&&(M(15,!1,this.chart),c=!1);return{xData:e,yData:i,cropped:u,cropStart:o,closestPointRange:f}},t.prototype.processData=function(t){var e=this.xAxis;if(this.isCartesian&&!this.isDirty&&!e.isDirty&&!this.yAxis.isDirty&&!t)return!1;t=this.getProcessedData(),this.cropped=t.cropped,this.cropStart=t.cropStart,this.processedXData=t.xData,this.processedYData=t.yData,this.closestPointRange=this.basePointRange=t.closestPointRange},t.prototype.cropData=function(t,e,i,r,o){var n,s=t.length,a=0,h=s;for(o=N(o,this.cropShoulder),n=0;n<s;n++)if(t[n]>=i){a=Math.max(0,n-o);break}for(i=n;i<s;i++)if(t[i]>r){h=i+o;break}return{xData:t.slice(a,h),yData:e.slice(a,h),start:a,end:h}},t.prototype.generatePoints=function(){var t,e,i=this.options,r=i.data,o=this.data,n=this.processedXData,s=this.processedYData,a=this.pointClass,h=n.length,l=this.cropStart||0,c=this.hasGroupedData,d=i.keys,p=[];for(i=i.dataGrouping&&i.dataGrouping.groupAll?l:0,o||c||((o=[]).length=r.length,o=this.data=o),d&&c&&(this.options.keys=!1),e=0;e<h;e++){var u=l+e;if(c){var f=(new a).init(this,[n[e]].concat(z(s[e])));f.dataGroup=this.groupMap[i+e],f.dataGroup.options&&(f.options=f.dataGroup.options,S(f,f.dataGroup.options),delete f.dataLabels)}else(f=o[u])||void 0===r[u]||(o[u]=f=(new a).init(this,r[u],n[e]));f&&(f.index=c?i+e:u,p[e]=f)}if(this.options.keys=d,o&&(h!==(t=o.length)||c))for(e=0;e<t;e++)e!==l||c||(e+=h),o[e]&&(o[e].destroyElements(),o[e].plotX=void 0);this.data=o,this.points=p,T(this,"afterGeneratePoints")},t.prototype.getXExtremes=function(t){return{min:v(t),max:y(t)}},t.prototype.getExtremes=function(t,e){var i,r=this.xAxis,o=this.yAxis,n=this.processedXData||this.xData,s=[],a=0,h=0,l=0,c=this.requireSorting?this.cropShoulder:0,d=!!o&&o.positiveValuesOnly;for(o=(t=t||this.stackedYData||this.processedYData||[]).length,r&&(h=(l=r.getExtremes()).min,l=l.max),i=0;i<o;i++){var p=n[i],u=t[i],f=(E(u)||O(u))&&(u.length||0<u||!d);if(p=e||this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||!r||(n[i+c]||p)>=h&&(n[i-c]||p)<=l,f&&p)if(f=u.length)for(;f--;)E(u[f])&&(s[a++]=u[f]);else s[a++]=u}return t={dataMin:v(s),dataMax:y(s)},T(this,"afterGetExtremes",{dataExtremes:t}),t},t.prototype.applyExtremes=function(){var t=this.getExtremes();return this.dataMin=t.dataMin,this.dataMax=t.dataMax,t},t.prototype.getFirstValidPoint=function(t){for(var e=null,i=t.length,r=0;null===e&&r<i;)e=t[r],r++;return e},t.prototype.translate=function(){this.processedXData||this.processData(),this.generatePoints();var t,e,i=this.options,r=i.stacking,o=this.xAxis,n=o.categories,s=this.enabledDataSorting,a=this.yAxis,h=this.points,l=h.length,c=!!this.modifyValue,d=this.pointPlacementToXValue(),p=!!d,u=i.threshold,f=i.startFromThreshold?u:0,g=this.zoneAxis||"y",m=Number.MAX_VALUE;for(t=0;t<l;t++){var y=h[t],v=y.x,b=y.y,C=y.low,M=r&&a.stacking&&a.stacking.stacks[(this.negStacks&&b<(f?0:u)?"-":"")+this.stackKey],S=void 0,A=void 0;if((a.positiveValuesOnly&&!a.validatePositiveValue(b)||o.positiveValuesOnly&&!o.validatePositiveValue(v))&&(y.isNull=!0),y.plotX=e=k(x(o.translate(v,0,0,0,1,d,"flags"===this.type),-1e5,1e5)),r&&this.visible&&M&&M[v]){var P=this.getStackIndicator(P,v,this.index);y.isNull||(A=(S=M[v]).points[P.key])}if(O(A)&&(C=A[0],b=A[1],C===f&&P.key===M[v].base&&(C=N(E(u)&&u,a.min)),a.positiveValuesOnly&&0>=C&&(C=null),y.total=y.stackTotal=S.total,y.percentage=S.total&&y.y/S.total*100,y.stackY=b,this.irregularWidths||S.setOffset(this.pointXOffset||0,this.barW||0)),y.yBottom=w(C)?x(a.translate(C,0,1,0,1),-1e5,1e5):null,c&&(b=this.modifyValue(b,y)),y.plotY=void 0,E(b)&&void 0!==(b=a.translate(b,!1,!0,!1,!0))&&(y.plotY=x(b,-1e5,1e5)),y.isInside=this.isPointInside(y),y.clientX=p?k(o.translate(v,0,0,0,1,d)):e,y.negative=y[g]<(i[g+"Threshold"]||u||0),y.category=n&&void 0!==n[y.x]?n[y.x]:y.x,!y.isNull&&!1!==y.visible){void 0!==L&&(m=Math.min(m,Math.abs(e-L)));var L=e}y.zone=this.zones.length&&y.getZone(),!y.graphic&&this.group&&s&&(y.isNew=!0)}this.closestPointRangePx=m,T(this,"afterTranslate")},t.prototype.getValidPoints=function(t,e,i){var r=this.chart;return(t||this.points||[]).filter((function(t){return!(e&&!r.isInsidePlot(t.plotX,t.plotY,{inverted:r.inverted}))&&!1!==t.visible&&(i||!t.isNull)}))},t.prototype.getClipBox=function(t,e){var i=this.options,r=this.chart,o=r.inverted,n=this.xAxis,s=n&&this.yAxis,a=r.options.chart.scrollablePlotArea||{};return t&&!1===i.clip&&s?t=o?{y:-r.chartWidth+s.len+s.pos,height:r.chartWidth,width:r.chartHeight,x:-r.chartHeight+n.len+n.pos}:{y:-s.pos,height:r.chartHeight,width:r.chartWidth,x:-n.pos}:(t=this.clipBox||r.clipBox,e&&(t.width=r.plotSizeX,t.x=(r.scrollablePixelsX||0)*(a.scrollPositionX||0))),e?{width:t.width,x:t.x}:t},t.prototype.getSharedClipKey=function(t){if(this.sharedClipKey)return this.sharedClipKey;var e=[t&&t.duration,t&&t.easing,t&&t.defer,this.getClipBox(t).height,this.options.xAxis,this.options.yAxis].join();return(!1!==this.options.clip||t)&&(this.sharedClipKey=e),e},t.prototype.setClip=function(t){var e=this.chart,i=this.options,r=e.renderer,o=e.inverted,n=this.clipBox,s=this.getClipBox(t),a=this.getSharedClipKey(t),h=e.sharedClips[a],l=e.sharedClips[a+"m"];t&&(s.width=0,o&&(s.x=e.plotHeight+(!1!==i.clip?0:e.plotTop))),h?e.hasLoaded||h.attr(s):(t&&(e.sharedClips[a+"m"]=l=r.clipRect(o?(e.plotSizeX||0)+99:-99,o?-e.plotLeft:-e.plotTop,99,o?e.chartWidth:e.chartHeight)),e.sharedClips[a]=h=r.clipRect(s),h.count={length:0}),t&&!h.count[this.index]&&(h.count[this.index]=!0,h.count.length+=1),(!1!==i.clip||t)&&(this.group.clip(t||n?h:e.clipRect),this.markerGroup.clip(l)),t||(h.count[this.index]&&(delete h.count[this.index],--h.count.length),0===h.count.length&&(n||(e.sharedClips[a]=h.destroy()),l&&(e.sharedClips[a+"m"]=l.destroy())))},t.prototype.animate=function(t){var e=this.chart,i=l(this.options.animation),r=this.sharedClipKey;if(t)this.setClip(i);else if(r){t=e.sharedClips[r],r=e.sharedClips[r+"m"];var o=this.getClipBox(i,!0);t&&t.animate(o,i),r&&r.animate({width:o.width+99,x:o.x-(e.inverted?0:99)},i)}},t.prototype.afterAnimate=function(){this.setClip(),T(this,"afterAnimate"),this.finishedAnimating=!0},t.prototype.drawPoints=function(){var t,e,i=this.points,r=this.chart,o=this.options.marker,n=this[this.specialGroup]||this.markerGroup,s=this.xAxis,a=N(o.enabled,!(s&&!s.isRadial)||null,this.closestPointRangePx>=o.enabledThreshold*o.radius);if(!1!==o.enabled||this._hasPointMarkers)for(t=0;t<i.length;t++){var h=i[t],l=(e=h.graphic)?"animate":"attr",c=h.marker||{},d=!!h.marker;if((a&&void 0===c.enabled||c.enabled)&&!h.isNull&&!1!==h.visible){var p=N(c.symbol,this.symbol),u=this.markerAttribs(h,h.selected&&"select");this.enabledDataSorting&&(h.startXPos=s.reversed?-(u.width||0):s.width);var f=!1!==h.isInside;e?e[f?"show":"hide"](f).animate(u):f&&(0<(u.width||0)||h.hasImage)&&(h.graphic=e=r.renderer.symbol(p,u.x,u.y,u.width,u.height,d?c:o).add(n),this.enabledDataSorting&&r.hasRendered&&(e.attr({x:h.startXPos}),l="animate")),e&&"animate"===l&&e[f?"show":"hide"](f).animate(u),e&&!r.styledMode&&e[l](this.pointAttribs(h,h.selected&&"select")),e&&e.addClass(h.getClassName(),!0)}else e&&(h.graphic=e.destroy())}},t.prototype.markerAttribs=function(t,e){var i=this.options,r=i.marker,o=t.marker||{},n=o.symbol||r.symbol,s=N(o.radius,r.radius);return e&&(r=r.states[e],e=o.states&&o.states[e],s=N(e&&e.radius,r&&r.radius,s+(r&&r.radiusPlus||0))),t.hasImage=n&&0===n.indexOf("url"),t.hasImage&&(s=0),t={x:i.crisp?Math.floor(t.plotX-s):t.plotX-s,y:t.plotY-s},s&&(t.width=t.height=2*s),t},t.prototype.pointAttribs=function(t,e){var i=this.options.marker,r=t&&t.options,o=r&&r.marker||{},n=this.color,s=r&&r.color,a=t&&t.color;r=N(o.lineWidth,i.lineWidth);var h=t&&t.zone&&t.zone.color;return t=1,n=s||h||a||n,s=o.fillColor||i.fillColor||n,n=o.lineColor||i.lineColor||n,e=e||"normal",i=i.states[e],e=o.states&&o.states[e]||{},r=N(e.lineWidth,i.lineWidth,r+N(e.lineWidthPlus,i.lineWidthPlus,0)),s=e.fillColor||i.fillColor||s,{stroke:n=e.lineColor||i.lineColor||n,"stroke-width":r,fill:s,opacity:t=N(e.opacity,i.opacity,t)}},t.prototype.destroy=function(t){var e,i,r,o=this,n=o.chart,s=/AppleWebKit\/533/.test(u.navigator.userAgent),l=o.data||[];for(T(o,"destroy"),this.removeEvents(t),(o.axisTypes||[]).forEach((function(t){(r=o[t])&&r.series&&(C(r.series,o),r.isDirty=r.forceRedraw=!0)})),o.legendItem&&o.chart.legend.destroyItem(o),e=l.length;e--;)(i=l[e])&&i.destroy&&i.destroy();o.clips&&o.clips.forEach((function(t){return t.destroy()})),h.clearTimeout(o.animationTimeout),I(o,(function(t,e){t instanceof a&&!t.survive&&t[s&&"group"===e?"hide":"destroy"]()})),n.hoverSeries===o&&(n.hoverSeries=void 0),C(n.series,o),n.orderSeries(),I(o,(function(e,i){t&&"hcEvents"===i||delete o[i]}))},t.prototype.applyZones=function(){var t,e,i,r,o,n,s,a,h=this,l=this.chart,c=l.renderer,d=this.zones,p=this.clips||[],u=this.graph,f=this.area,g=Math.max(l.chartWidth,l.chartHeight),m=this[(this.zoneAxis||"y")+"Axis"],y=l.inverted,v=!1;if(d.length&&(u||f)&&m&&void 0!==m.min){var b=m.reversed,k=m.horiz;u&&!this.showLine&&u.hide(),f&&f.hide();var w=m.getExtremes();d.forEach((function(d,C){t=b?k?l.plotWidth:0:k?0:m.toPixels(w.min)||0,t=x(N(e,t),0,g),e=x(Math.round(m.toPixels(N(d.value,w.max),!0)||0),0,g),v&&(t=e=m.toPixels(w.max)),r=Math.abs(t-e),o=Math.min(t,e),n=Math.max(t,e),m.isXAxis?(i={x:y?n:o,y:0,width:r,height:g},k||(i.x=l.plotHeight-i.x)):(i={x:0,y:y?n:o,width:g,height:r},k&&(i.y=l.plotWidth-i.y)),y&&c.isVML&&(i=m.isXAxis?{x:0,y:b?o:n,height:i.width,width:l.chartWidth}:{x:i.y-l.plotLeft-l.spacingBox.x,y:0,width:i.height,height:l.chartHeight}),p[C]?p[C].animate(i):p[C]=c.clipRect(i),s=h["zone-area-"+C],a=h["zone-graph-"+C],u&&a&&a.clip(p[C]),f&&s&&s.clip(p[C]),v=d.value>w.max,h.resetZones&&0===e&&(e=void 0)})),this.clips=p}else h.visible&&(u&&u.show(!0),f&&f.show(!0))},t.prototype.invertGroups=function(t){function e(){["group","markerGroup"].forEach((function(e){i[e]&&(r.renderer.isVML&&i[e].attr({width:i.yAxis.len,height:i.xAxis.len}),i[e].width=i.yAxis.len,i[e].height=i.xAxis.len,i[e].invert(!i.isRadialSeries&&t))}))}var i=this,r=i.chart;i.xAxis&&(i.eventsToUnbind.push(m(r,"resize",e)),e(),i.invertGroups=e)},t.prototype.plotGroup=function(t,e,i,r,o){var n=this[t],s=!n;return i={visibility:i,zIndex:r||.1},void 0===this.opacity||this.chart.styledMode||"inactive"===this.state||(i.opacity=this.opacity),s&&(this[t]=n=this.chart.renderer.g().add(o)),n.addClass("highcharts-"+e+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(w(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(n.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),n.attr(i)[s?"attr":"animate"](this.getPlotBox()),n},t.prototype.getPlotBox=function(){var t=this.chart,e=this.xAxis,i=this.yAxis;return t.inverted&&(e=i,i=this.xAxis),{translateX:e?e.left:t.plotLeft,translateY:i?i.top:t.plotTop,scaleX:1,scaleY:1}},t.prototype.removeEvents=function(t){t||B(this),this.eventsToUnbind.length&&(this.eventsToUnbind.forEach((function(t){t()})),this.eventsToUnbind.length=0)},t.prototype.render=function(){var t=this,e=t.chart,i=t.options,r=l(i.animation),o=!t.finishedAnimating&&e.renderer.isSVG&&r.duration,n=t.visible?"inherit":"hidden",s=i.zIndex,a=t.hasRendered,h=e.seriesGroup,c=e.inverted;T(this,"render");var d=t.plotGroup("group","series",n,s,h);t.markerGroup=t.plotGroup("markerGroup","markers",n,s,h),o&&t.animate&&t.animate(!0),d.inverted=!!N(t.invertible,t.isCartesian)&&c,t.drawGraph&&(t.drawGraph(),t.applyZones()),t.visible&&t.drawPoints(),t.drawDataLabels&&t.drawDataLabels(),t.redrawPoints&&t.redrawPoints(),t.drawTracker&&!1!==t.options.enableMouseTracking&&t.drawTracker(),t.invertGroups(c),!1===i.clip||t.sharedClipKey||a||d.clip(e.clipRect),o&&t.animate&&t.animate(),a||(o&&r.defer&&(o+=r.defer),t.animationTimeout=R((function(){t.afterAnimate()}),o||0)),t.isDirty=!1,t.hasRendered=!0,T(t,"afterRender")},t.prototype.redraw=function(){var t=this.chart,e=this.isDirty||this.isDirtyData,i=this.group,r=this.xAxis,o=this.yAxis;i&&(t.inverted&&i.attr({width:t.plotWidth,height:t.plotHeight}),i.animate({translateX:N(r&&r.left,t.plotLeft),translateY:N(o&&o.top,t.plotTop)})),this.translate(),this.render(),e&&delete this.kdTree},t.prototype.searchPoint=function(t,e){var i=this.xAxis,r=this.yAxis,o=this.chart.inverted;return this.searchKDTree({clientX:o?i.len-t.chartY+i.pos:t.chartX-i.pos,plotY:o?r.len-t.chartX+r.pos:t.chartY-r.pos},e,t)},t.prototype.buildKDTree=function(t){function e(t,r,o){var n;if(n=t&&t.length){var s=i.kdAxisArray[r%o];return t.sort((function(t,e){return t[s]-e[s]})),{point:t[n=Math.floor(n/2)],left:e(t.slice(0,n),r+1,o),right:e(t.slice(n+1),r+1,o)}}}this.buildingKdTree=!0;var i=this,r=-1<i.options.findNearestPointBy.indexOf("y")?2:1;delete i.kdTree,R((function(){i.kdTree=e(i.getValidPoints(null,!i.directTouch),r,r),i.buildingKdTree=!1}),i.options.kdNow||t&&"touchstart"===t.type?0:1)},t.prototype.searchKDTree=function(t,e,i){var r=this,o=this.kdAxisArray[0],n=this.kdAxisArray[1],s=e?"distX":"dist";if(e=-1<r.options.findNearestPointBy.indexOf("y")?2:1,this.kdTree||this.buildingKdTree||this.buildKDTree(i),this.kdTree)return function t(e,i,a,h){var l=i.point,c=r.kdAxisArray[a%h],d=l,p=w(e[o])&&w(l[o])?Math.pow(e[o]-l[o],2):null,u=w(e[n])&&w(l[n])?Math.pow(e[n]-l[n],2):null;return u=(p||0)+(u||0),l.dist=w(u)?Math.sqrt(u):Number.MAX_VALUE,l.distX=w(p)?Math.sqrt(p):Number.MAX_VALUE,p=0>(c=e[c]-l[c])?"right":"left",i[u=0>c?"left":"right"]&&(d=(u=t(e,i[u],a+1,h))[s]<d[s]?u:l),i[p]&&Math.sqrt(c*c)<d[s]&&(d=(e=t(e,i[p],a+1,h))[s]<d[s]?e:d),d}(t,this.kdTree,e,e)},t.prototype.pointPlacementToXValue=function(){var t=this.options,e=t.pointRange,i=this.xAxis;return"between"===(t=t.pointPlacement)&&(t=i.reversed?-.5:.5),E(t)?t*(e||i.pointRange):0},t.prototype.isPointInside=function(t){return void 0!==t.plotY&&void 0!==t.plotX&&0<=t.plotY&&t.plotY<=this.yAxis.len&&0<=t.plotX&&t.plotX<=this.xAxis.len},t.prototype.drawTracker=function(){var t=this,e=t.options,i=e.trackByArea,r=[].concat(i?t.areaPath:t.graphPath),o=t.chart,n=o.pointer,s=o.renderer,a=o.options.tooltip.snap,h=t.tracker,l=function(e){o.hoverSeries!==t&&t.onMouseOver()},c="rgba(192,192,192,"+(p?1e-4:.002)+")";h?h.attr({d:r}):t.graph&&(t.tracker=s.path(r).attr({visibility:t.visible?"visible":"hidden",zIndex:2}).addClass(i?"highcharts-tracker-area":"highcharts-tracker-line").add(t.group),o.styledMode||t.tracker.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:c,fill:i?c:"none","stroke-width":t.graph.strokeWidth()+(i?0:2*a)}),[t.tracker,t.markerGroup,t.dataLabelsGroup].forEach((function(t){t&&(t.addClass("highcharts-tracker").on("mouseover",l).on("mouseout",(function(t){n.onTrackerMouseOut(t)})),e.cursor&&!o.styledMode&&t.css({cursor:e.cursor}),d)&&t.on("touchstart",l)}))),T(this,"afterDrawTracker")},t.prototype.addPoint=function(t,e,i,r,o){var n=this.options,s=this.data,a=this.chart,h=this.xAxis;h=h&&h.hasNames&&h.names;var l,c=n.data,d=this.xData;e=N(e,!0);var p={series:this};this.pointClass.prototype.applyOptions.apply(p,[t]);var u=p.x,f=d.length;if(this.requireSorting&&u<d[f-1])for(l=!0;f&&d[f-1]>u;)f--;this.updateParallelArrays(p,"splice",f,0,0),this.updateParallelArrays(p,f),h&&p.name&&(h[u]=p.name),c.splice(f,0,t),l&&(this.data.splice(f,0,null),this.processData()),"point"===n.legendType&&this.generatePoints(),i&&(s[0]&&s[0].remove?s[0].remove(!1):(s.shift(),this.updateParallelArrays(p,"shift"),c.shift())),!1!==o&&T(this,"addPoint",{point:p}),this.isDirtyData=this.isDirty=!0,e&&a.redraw(r)},t.prototype.removePoint=function(t,e,i){var r=this,o=r.data,n=o[t],s=r.points,a=r.chart,h=function(){s&&s.length===o.length&&s.splice(t,1),o.splice(t,1),r.options.data.splice(t,1),r.updateParallelArrays(n||{series:r},"splice",t,1),n&&n.destroy(),r.isDirty=!0,r.isDirtyData=!0,e&&a.redraw()};c(i,a),e=N(e,!0),n?n.firePointEvent("remove",null,h):h()},t.prototype.remove=function(t,e,i,r){function o(){n.destroy(r),s.isDirtyLegend=s.isDirtyBox=!0,s.linkSeries(),N(t,!0)&&s.redraw(e)}var n=this,s=n.chart;!1!==i?T(n,"remove",null,o):o()},t.prototype.update=function(t,e){t=b(t,this.userOptions),T(this,"update",{options:t});var i,r=this,o=r.chart,n=r.userOptions,s=r.initialType||r.type,a=o.options.plotOptions,h=t.type||n.type||o.options.chart.type,l=!(this.hasDerivedData||h&&h!==this.type||void 0!==t.pointStart||void 0!==t.pointInterval||r.hasOptionChanged("dataGrouping")||r.hasOptionChanged("pointStart")||r.hasOptionChanged("pointInterval")||r.hasOptionChanged("pointIntervalUnit")||r.hasOptionChanged("keys")),c=g[s].prototype,d=["eventOptions","navigatorSeries","baseSeries"],p=r.finishedAnimating&&{animation:!1},u={};if(h=h||s,l&&(d.push("data","isDirtyData","points","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","clips","nodes","layout","mapMap","mapData","minY","maxY","minX","maxX"),!1!==t.visible&&d.push("area","graph"),r.parallelArrays.forEach((function(t){d.push(t+"Data")})),t.data&&(t.dataSorting&&S(r.options.dataSorting,t.dataSorting),this.setData(t.data,!1))),t=j(n,p,{index:void 0===n.index?r.index:n.index,pointStart:N(a&&a.series&&a.series.pointStart,n.pointStart,r.xData[0])},!l&&{data:r.options.data},t),l&&t.data&&(t.data=r.options.data),(d=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(d)).forEach((function(t){d[t]=r[t],delete r[t]})),n=!1,g[h]){if(n=h!==r.type,r.remove(!1,!1,!1,!0),n)if(Object.setPrototypeOf)Object.setPrototypeOf(r,g[h].prototype);else{for(i in a=Object.hasOwnProperty.call(r,"hcEvents")&&r.hcEvents,c)r[i]=void 0;S(r,g[h].prototype),a?r.hcEvents=a:delete r.hcEvents}}else M(17,!0,o,{missingModuleFor:h});if(d.forEach((function(t){r[t]=d[t]})),r.init(o,t),l&&this.points){var f=r.options;!1===f.visible?(u.graphic=1,u.dataLabel=1):r._hasPointLabels||(t=f.marker,h=f.dataLabels,t&&(!1===t.enabled||"symbol"in t)&&(u.graphic=1),h&&!1===h.enabled&&(u.dataLabel=1)),this.points.forEach((function(t){t&&t.series&&(t.resolveColor(),Object.keys(u).length&&t.destroyElements(u),!1===f.showInLegend&&t.legendItem&&o.legend.destroyItem(t))}),this)}r.initialType=s,o.linkSeries(),n&&r.linkedSeries.length&&(r.isDirtyData=!0),T(this,"afterUpdate"),N(e,!0)&&o.redraw(!!l&&void 0)},t.prototype.setName=function(t){this.name=this.options.name=this.userOptions.name=t,this.chart.isDirtyLegend=!0},t.prototype.hasOptionChanged=function(t){var e=this.options[t],i=this.chart.options.plotOptions,r=this.userOptions[t];return r?e!==r:e!==N(i&&i[this.type]&&i[this.type][t],i&&i.series&&i.series[t],e)},t.prototype.onMouseOver=function(){var t=this.chart,e=t.hoverSeries;t.pointer.setHoverChartIndex(),e&&e!==this&&e.onMouseOut(),this.options.events.mouseOver&&T(this,"mouseOver"),this.setState("hover"),t.hoverSeries=this},t.prototype.onMouseOut=function(){var t=this.options,e=this.chart,i=e.tooltip,r=e.hoverPoint;e.hoverSeries=null,r&&r.onMouseOut(),this&&t.events.mouseOut&&T(this,"mouseOut"),!i||this.stickyTracking||i.shared&&!this.noSharedTooltip||i.hide(),e.series.forEach((function(t){t.setState("",!0)}))},t.prototype.setState=function(t,e){var i=this,r=i.options,o=i.graph,n=r.inactiveOtherPoints,s=r.states,a=r.lineWidth,h=r.opacity,l=N(s[t||"normal"]&&s[t||"normal"].animation,i.chart.options.chart.animation);if(r=0,t=t||"",i.state!==t&&([i.group,i.markerGroup,i.dataLabelsGroup].forEach((function(e){e&&(i.state&&e.removeClass("highcharts-series-"+i.state),t&&e.addClass("highcharts-series-"+t))})),i.state=t,!i.chart.styledMode)){if(s[t]&&!1===s[t].enabled)return;if(t&&(a=s[t].lineWidth||a+(s[t].lineWidthPlus||0),h=N(s[t].opacity,h)),o&&!o.dashstyle)for(s={"stroke-width":a},o.animate(s,l);i["zone-graph-"+r];)i["zone-graph-"+r].animate(s,l),r+=1;n||[i.group,i.markerGroup,i.dataLabelsGroup,i.labelBySeries].forEach((function(t){t&&t.animate({opacity:h},l)}))}e&&n&&i.points&&i.setAllPointsToState(t||void 0)},t.prototype.setAllPointsToState=function(t){this.points.forEach((function(e){e.setState&&e.setState(t)}))},t.prototype.setVisible=function(t,e){var i=this,r=i.chart,o=i.legendItem,n=r.options.chart.ignoreHiddenSeries,s=i.visible,a=(i.visible=t=i.options.visible=i.userOptions.visible=void 0===t?!s:t)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach((function(t){i[t]&&i[t][a]()})),r.hoverSeries!==i&&(r.hoverPoint&&r.hoverPoint.series)!==i||i.onMouseOut(),o&&r.legend.colorizeItem(i,t),i.isDirty=!0,i.options.stacking&&r.series.forEach((function(t){t.options.stacking&&t.visible&&(t.isDirty=!0)})),i.linkedSeries.forEach((function(e){e.setVisible(t,!1)})),n&&(r.isDirtyBox=!0),T(i,a),!1!==e&&r.redraw()},t.prototype.show=function(){this.setVisible(!0)},t.prototype.hide=function(){this.setVisible(!1)},t.prototype.select=function(t){this.selected=t=this.options.selected=void 0===t?!this.selected:t,this.checkbox&&(this.checkbox.checked=t),T(this,t?"select":"unselect")},t.prototype.shouldShowTooltip=function(t,e,i){return void 0===i&&(i={}),i.series=this,i.visiblePlotOnly=!0,this.chart.isInsidePlot(t,e,i)},t.defaultOptions={lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1e3},events:{},marker:{enabledThreshold:2,lineColor:o.backgroundColor,lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:50},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:o.neutralColor20,lineColor:o.neutralColor100,lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",defer:!0,formatter:function(){var t=this.series.chart.numberFormatter;return"number"!=typeof this.y?"":t(this.y,-1)},padding:5,style:{fontSize:"11px",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:50},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:50},opacity:.2}},stickyTracking:!0,turboThreshold:1e3,findNearestPointBy:"x"},t}(),S(t.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:!1,drawLegendSymbol:i.drawLineMarker,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:n,requireSorting:!0,sorted:!0}),s.series=t,t})),e(i,"Extensions/ScrollablePlotArea.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Axis/Axis.js"],i["Core/Chart/Chart.js"],i["Core/Series/Series.js"],i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e,i,r,o,n){var s=t.stop,a=n.addEvent,h=n.createElement,l=n.merge,c=n.pick;a(i,"afterSetChartSize",(function(t){var e=this.options.chart.scrollablePlotArea,i=e&&e.minWidth;if(e=e&&e.minHeight,!this.renderer.forExport){if(i){if(this.scrollablePixelsX=i=Math.max(0,i-this.chartWidth)){this.scrollablePlotBox=this.renderer.scrollablePlotBox=l(this.plotBox),this.plotBox.width=this.plotWidth+=i,this.inverted?this.clipBox.height+=i:this.clipBox.width+=i;var r={1:{name:"right",value:i}}}}else e&&(this.scrollablePixelsY=i=Math.max(0,e-this.chartHeight))&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=l(this.plotBox),this.plotBox.height=this.plotHeight+=i,this.inverted?this.clipBox.width+=i:this.clipBox.height+=i,r={2:{name:"bottom",value:i}});r&&!t.skipAxes&&this.axes.forEach((function(t){r[t.side]?t.getPlotLinePath=function(){var e=r[t.side].name,i=this[e];this[e]=i-r[t.side].value;var n=o.Axis.prototype.getPlotLinePath.apply(this,arguments);return this[e]=i,n}:(t.setAxisSize(),t.setAxisTranslation())}))}})),a(i,"render",(function(){this.scrollablePixelsX||this.scrollablePixelsY?(this.setUpScrolling&&this.setUpScrolling(),this.applyFixed()):this.fixedDiv&&this.applyFixed()})),i.prototype.setUpScrolling=function(){var t=this,e={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};this.scrollablePixelsX&&(e.overflowX="auto"),this.scrollablePixelsY&&(e.overflowY="auto"),this.scrollingParent=h("div",{className:"highcharts-scrolling-parent"},{position:"relative"},this.renderTo),this.scrollingContainer=h("div",{className:"highcharts-scrolling"},e,this.scrollingParent),a(this.scrollingContainer,"scroll",(function(){t.pointer&&delete t.pointer.chartPosition})),this.innerContainer=h("div",{className:"highcharts-inner-container"},null,this.scrollingContainer),this.innerContainer.appendChild(this.container),this.setUpScrolling=null},i.prototype.moveFixedElements=function(){var t,e=this.container,i=this.fixedRenderer,r=".highcharts-contextbutton .highcharts-credits .highcharts-legend .highcharts-legend-checkbox .highcharts-navigator-series .highcharts-navigator-xaxis .highcharts-navigator-yaxis .highcharts-navigator .highcharts-reset-zoom .highcharts-drillup-button .highcharts-scrollbar .highcharts-subtitle .highcharts-title".split(" ");this.scrollablePixelsX&&!this.inverted?t=".highcharts-yaxis":this.scrollablePixelsX&&this.inverted||this.scrollablePixelsY&&!this.inverted?t=".highcharts-xaxis":this.scrollablePixelsY&&this.inverted&&(t=".highcharts-yaxis"),t&&r.push(t+":not(.highcharts-radial-axis)",t+"-labels:not(.highcharts-radial-axis-labels)"),r.forEach((function(t){[].forEach.call(e.querySelectorAll(t),(function(t){(t.namespaceURI===i.SVG_NS?i.box:i.box.parentNode).appendChild(t),t.style.pointerEvents="auto"}))}))},i.prototype.applyFixed=function(){var t=!this.fixedDiv,e=this.options.chart,i=e.scrollablePlotArea;t?(this.fixedDiv=h("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(e.style&&e.style.zIndex||0)+2,top:0},null,!0),this.scrollingContainer&&this.scrollingContainer.parentNode.insertBefore(this.fixedDiv,this.scrollingContainer),this.renderTo.style.overflow="visible",this.fixedRenderer=e=new o.Renderer(this.fixedDiv,this.chartWidth,this.chartHeight,this.options.chart.style),this.scrollableMask=e.path().attr({fill:this.options.chart.backgroundColor||"#fff","fill-opacity":c(i.opacity,.85),zIndex:-1}).addClass("highcharts-scrollable-mask").add(),a(this,"afterShowResetZoom",this.moveFixedElements),a(this,"afterDrilldown",this.moveFixedElements),a(this,"afterLayOutTitles",this.moveFixedElements)):this.fixedRenderer.setSize(this.chartWidth,this.chartHeight),(this.scrollableDirty||t)&&(this.scrollableDirty=!1,this.moveFixedElements()),e=this.chartWidth+(this.scrollablePixelsX||0);var r=this.chartHeight+(this.scrollablePixelsY||0);s(this.container),this.container.style.width=e+"px",this.container.style.height=r+"px",this.renderer.boxWrapper.attr({width:e,height:r,viewBox:[0,0,e,r].join(" ")}),this.chartBackground.attr({width:e,height:r}),this.scrollingContainer.style.height=this.chartHeight+"px",t&&(i.scrollPositionX&&(this.scrollingContainer.scrollLeft=this.scrollablePixelsX*i.scrollPositionX),i.scrollPositionY&&(this.scrollingContainer.scrollTop=this.scrollablePixelsY*i.scrollPositionY)),r=this.axisOffset,t=this.plotTop-r[0]-1,i=this.plotLeft-r[3]-1,e=this.plotTop+this.plotHeight+r[2]+1,r=this.plotLeft+this.plotWidth+r[1]+1;var n=this.plotLeft+this.plotWidth-(this.scrollablePixelsX||0),l=this.plotTop+this.plotHeight-(this.scrollablePixelsY||0);t=this.scrollablePixelsX?[["M",0,t],["L",this.plotLeft-1,t],["L",this.plotLeft-1,e],["L",0,e],["Z"],["M",n,t],["L",this.chartWidth,t],["L",this.chartWidth,e],["L",n,e],["Z"]]:this.scrollablePixelsY?[["M",i,0],["L",i,this.plotTop-1],["L",r,this.plotTop-1],["L",r,0],["Z"],["M",i,l],["L",i,this.chartHeight],["L",r,this.chartHeight],["L",r,l],["Z"]]:[["M",0,0]],"adjustHeight"!==this.redrawTrigger&&this.scrollableMask.attr({d:t})},a(e,"afterInit",(function(){this.chart.scrollableDirty=!0})),a(r,"show",(function(){this.chart.scrollableDirty=!0}))})),e(i,"Core/Axis/StackingAxis.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Utilities.js"]],(function(t,e){var i=t.getDeferredAnimation,r=e.addEvent,o=e.destroyObjectProperties,n=e.fireEvent,s=e.isNumber,a=e.objectEach,h=function(){function t(t){this.oldStacks={},this.stacks={},this.stacksTouched=0,this.axis=t}return t.prototype.buildStacks=function(){var t,e=this.axis,i=e.series,r=e.options.reversedStacks,o=i.length;if(!e.isXAxis){for(this.usePercentage=!1,t=o;t--;){var s=i[r?t:o-t-1];s.setStackedPoints(),s.setGroupedPoints()}for(t=0;t<o;t++)i[t].modifyStacks();n(e,"afterBuildStacks")}},t.prototype.cleanStacks=function(){if(!this.axis.isXAxis){if(this.oldStacks)var t=this.stacks=this.oldStacks;a(t,(function(t){a(t,(function(t){t.cumulative=t.total}))}))}},t.prototype.resetStacks=function(){var t=this,e=this.stacks;this.axis.isXAxis||a(e,(function(e){a(e,(function(i,r){s(i.touched)&&i.touched<t.stacksTouched?(i.destroy(),delete e[r]):(i.total=null,i.cumulative=null)}))}))},t.prototype.renderStackTotals=function(){var t=this.axis,e=t.chart,r=e.renderer,o=this.stacks;t=i(e,t.options.stackLabels&&t.options.stackLabels.animation||!1);var n=this.stackTotalGroup=this.stackTotalGroup||r.g("stack-labels").attr({visibility:"visible",zIndex:6,opacity:0}).add();n.translate(e.plotLeft,e.plotTop),a(o,(function(t){a(t,(function(t){t.render(n)}))})),n.animate({opacity:1},t)},t}();return function(){function t(){}return t.compose=function(e){r(e,"init",t.onInit),r(e,"destroy",t.onDestroy)},t.onDestroy=function(){var t=this.stacking;if(t){var e=t.stacks;a(e,(function(t,i){o(t),e[i]=null})),t&&t.stackTotalGroup&&t.stackTotalGroup.destroy()}},t.onInit=function(){this.stacking||(this.stacking=new h(this))},t}()})),e(i,"Extensions/Stacking.js",[i["Core/Axis/Axis.js"],i["Core/Chart/Chart.js"],i["Core/FormatUtilities.js"],i["Core/Globals.js"],i["Core/Series/Series.js"],i["Core/Axis/StackingAxis.js"],i["Core/Utilities.js"]],(function(t,e,i,r,o,n,s){var a=i.format,h=s.correctFloat,l=s.defined,c=s.destroyObjectProperties,d=s.isArray,p=s.isNumber,u=s.objectEach,f=s.pick,g=function(){function t(t,e,i,r,o){var n=t.chart.inverted;this.axis=t,this.isNegative=i,this.options=e=e||{},this.x=r,this.total=null,this.points={},this.hasValidPoints=!1,this.stack=o,this.rightCliff=this.leftCliff=0,this.alignOptions={align:e.align||(n?i?"left":"right":"center"),verticalAlign:e.verticalAlign||(n?"middle":i?"bottom":"top"),y:e.y,x:e.x},this.textAlign=e.textAlign||(n?i?"right":"left":"center")}return t.prototype.destroy=function(){c(this,this.axis)},t.prototype.render=function(t){var e=this.axis.chart,i=this.options,r=i.format;r=r?a(r,this,e):i.formatter.call(this),this.label?this.label.attr({text:r,visibility:"hidden"}):(this.label=e.renderer.label(r,null,null,i.shape,null,null,i.useHTML,!1,"stack-labels"),r={r:i.borderRadius||0,text:r,rotation:i.rotation,padding:f(i.padding,5),visibility:"hidden"},e.styledMode||(r.fill=i.backgroundColor,r.stroke=i.borderColor,r["stroke-width"]=i.borderWidth,this.label.css(i.style)),this.label.attr(r),this.label.added||this.label.add(t)),this.label.labelrank=e.plotSizeY},t.prototype.setOffset=function(t,e,i,r,n){var s=this.axis,a=s.chart;r=s.translate(s.stacking.usePercentage?100:r||this.total,0,0,0,1),i=s.translate(i||0),i=l(r)&&Math.abs(r-i),t=f(n,a.xAxis[0].translate(this.x))+t,s=l(r)&&this.getStackBox(a,this,t,r,e,i,s),e=this.label,i=this.isNegative,t="justify"===f(this.options.overflow,"justify");var h=this.textAlign;e&&s&&(n=e.getBBox(),r=e.padding,h="left"===h?a.inverted?-r:r:"right"===h?n.width:a.inverted&&"center"===h?n.width/2:a.inverted?i?n.width+r:-r:n.width/2,i=a.inverted?n.height/2:i?-r:n.height,this.alignOptions.x=f(this.options.x,0),this.alignOptions.y=f(this.options.y,0),s.x-=h,s.y-=i,e.align(this.alignOptions,null,s),a.isInsidePlot(e.alignAttr.x+h-this.alignOptions.x,e.alignAttr.y+i-this.alignOptions.y)?e.show():(e.alignAttr.y=-9999,t=!1),t&&o.prototype.justifyDataLabel.call(this.axis,e,this.alignOptions,e.alignAttr,n,s),e.attr({x:e.alignAttr.x,y:e.alignAttr.y}),f(!t&&this.options.crop,!0)&&((a=p(e.x)&&p(e.y)&&a.isInsidePlot(e.x-r+e.width,e.y)&&a.isInsidePlot(e.x+r,e.y))||e.hide()))},t.prototype.getStackBox=function(t,e,i,r,o,n,s){var a=e.axis.reversed,h=t.inverted,l=s.height+s.pos-(h?t.plotLeft:t.plotTop);return e=e.isNegative&&!a||!e.isNegative&&a,{x:h?e?r-s.right:r-n+s.pos-t.plotLeft:i+t.xAxis[0].transB-t.plotLeft,y:h?s.height-i-o:e?l-r-n:l-r,width:h?n:o,height:h?o:n}},t}();return e.prototype.getStacks=function(){var t=this,e=t.inverted;t.yAxis.forEach((function(t){t.stacking&&t.stacking.stacks&&t.hasVisibleSeries&&(t.stacking.oldStacks=t.stacking.stacks)})),t.series.forEach((function(i){var r=i.xAxis&&i.xAxis.options||{};!i.options.stacking||!0!==i.visible&&!1!==t.options.chart.ignoreHiddenSeries||(i.stackKey=[i.type,f(i.options.stack,""),e?r.top:r.left,e?r.height:r.width].join())}))},n.compose(t),o.prototype.setGroupedPoints=function(){var t=this.yAxis.stacking;this.options.centerInCategory&&(this.is("column")||this.is("columnrange"))&&!this.options.stacking&&1<this.chart.series.length?o.prototype.setStackedPoints.call(this,"group"):t&&u(t.stacks,(function(e,i){"group"===i.slice(-5)&&(u(e,(function(t){return t.destroy()})),delete t.stacks[i])}))},o.prototype.setStackedPoints=function(t){var e=t||this.options.stacking;if(e&&(!0===this.visible||!1===this.chart.options.chart.ignoreHiddenSeries)){var i=this.processedXData,r=this.processedYData,o=[],n=r.length,s=this.options,a=s.threshold,c=f(s.startFromThreshold&&a,0);s=s.stack;var p,u,m="-"+(t=t?this.type+","+e:this.stackKey),y=this.negStacks,v=this.yAxis,x=v.stacking.stacks,b=v.stacking.oldStacks;for(v.stacking.stacksTouched+=1,u=0;u<n;u++){var k=i[u],w=r[u],C=this.getStackIndicator(C,k,this.index),M=C.key,S=(p=y&&w<(c?0:a))?m:t;x[S]||(x[S]={}),x[S][k]||(b[S]&&b[S][k]?(x[S][k]=b[S][k],x[S][k].total=null):x[S][k]=new g(v,v.options.stackLabels,p,k,s)),S=x[S][k],null!==w?(S.points[M]=S.points[this.index]=[f(S.cumulative,c)],l(S.cumulative)||(S.base=M),S.touched=v.stacking.stacksTouched,0<C.index&&!1===this.singleStacks&&(S.points[M][0]=S.points[this.index+","+k+",0"][0])):S.points[M]=S.points[this.index]=null,"percent"===e?(p=p?t:m,y&&x[p]&&x[p][k]?(p=x[p][k],S.total=p.total=Math.max(p.total,S.total)+Math.abs(w)||0):S.total=h(S.total+(Math.abs(w)||0))):"group"===e?(d(w)&&(w=w[0]),null!==w&&(S.total=(S.total||0)+1)):S.total=h(S.total+(w||0)),S.cumulative="group"===e?(S.total||1)-1:f(S.cumulative,c)+(w||0),null!==w&&(S.points[M].push(S.cumulative),o[u]=S.cumulative,S.hasValidPoints=!0)}"percent"===e&&(v.stacking.usePercentage=!0),"group"!==e&&(this.stackedYData=o),v.stacking.oldStacks={}}},o.prototype.modifyStacks=function(){var t,e=this,i=e.stackKey,r=e.yAxis.stacking.stacks,o=e.processedXData,n=e.options.stacking;e[n+"Stacker"]&&[i,"-"+i].forEach((function(i){for(var s,a,h=o.length;h--;)s=o[h],t=e.getStackIndicator(t,s,e.index,i),(a=(s=r[i]&&r[i][s])&&s.points[t.key])&&e[n+"Stacker"](a,s,h)}))},o.prototype.percentStacker=function(t,e,i){e=e.total?100/e.total:0,t[0]=h(t[0]*e),t[1]=h(t[1]*e),this.stackedYData[i]=t[1]},o.prototype.getStackIndicator=function(t,e,i,r){return!l(t)||t.x!==e||r&&t.key!==r?t={x:e,index:0,key:r}:t.index++,t.key=[i,e,t.index].join(),t},r.StackItem=g,r.StackItem})),e(i,"Series/Line/LineSeries.js",[i["Core/Color/Palette.js"],i["Core/Series/Series.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],(function(t,e,i,r){var o=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function r(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}(),n=r.defined,s=r.merge;return r=function(i){function r(){var t=null!==i&&i.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return o(r,i),r.prototype.drawGraph=function(){var e=this,i=this.options,r=(this.gappedPath||this.getGraphPath).call(this),o=this.chart.styledMode,n=[["graph","highcharts-graph"]];o||n[0].push(i.lineColor||this.color||t.neutralColor20,i.dashStyle),(n=e.getZonesGraphs(n)).forEach((function(t,n){var s=t[0],a=e[s],h=a?"animate":"attr";a?(a.endX=e.preventGraphAnimation?null:r.xMap,a.animate({d:r})):r.length&&(e[s]=a=e.chart.renderer.path(r).addClass(t[1]).attr({zIndex:1}).add(e.group)),a&&!o&&(s={stroke:t[2],"stroke-width":i.lineWidth,fill:e.fillGraph&&e.color||"none"},t[3]?s.dashstyle=t[3]:"square"!==i.linecap&&(s["stroke-linecap"]=s["stroke-linejoin"]="round"),a[h](s).shadow(2>n&&i.shadow)),a&&(a.startX=r.xMap,a.isArea=r.isArea)}))},r.prototype.getGraphPath=function(t,e,i){var r,o,s=this,a=s.options,h=a.step,l=[],c=[];return(r=(t=t||s.points).reversed)&&t.reverse(),(h={right:1,center:2}[h]||h&&3)&&r&&(h=4-h),(t=this.getValidPoints(t,!1,!(a.connectNulls&&!e&&!i))).forEach((function(r,d){var p=r.plotX,u=r.plotY,f=t[d-1];(r.leftCliff||f&&f.rightCliff)&&!i&&(o=!0),r.isNull&&!n(e)&&0<d?o=!a.connectNulls:r.isNull&&!e?o=!0:(0===d||o?d=[["M",r.plotX,r.plotY]]:s.getPointSpline?d=[s.getPointSpline(t,r,d)]:h?(d=1===h?[["L",f.plotX,u]]:2===h?[["L",(f.plotX+p)/2,f.plotY],["L",(f.plotX+p)/2,u]]:[["L",p,f.plotY]]).push(["L",p,u]):d=[["L",p,u]],c.push(r.x),h&&(c.push(r.x),2===h&&c.push(r.x)),l.push.apply(l,d),o=!1)})),l.xMap=c,s.graphPath=l},r.prototype.getZonesGraphs=function(t){return this.zones.forEach((function(e,i){i=["zone-graph-"+i,"highcharts-graph highcharts-zone-graph-"+i+" "+(e.className||"")],this.chart.styledMode||i.push(e.color||this.color,e.dashStyle||this.options.dashStyle),t.push(i)}),this),t},r.defaultOptions=s(e.defaultOptions,{}),r}(e),i.registerSeriesType("line",r),r})),e(i,"Series/Area/AreaSeries.js",[i["Core/Color/Color.js"],i["Mixins/LegendSymbol.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],(function(t,e,i,r){var o=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function r(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}(),n=t.parse,s=i.seriesTypes.line;t=r.extend;var a=r.merge,h=r.objectEach,l=r.pick;return r=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return o(e,t),e.prototype.drawGraph=function(){this.areaPath=[],t.prototype.drawGraph.apply(this);var e=this,i=this.areaPath,r=this.options,o=[["area","highcharts-area",this.color,r.fillColor]];this.zones.forEach((function(t,i){o.push(["zone-area-"+i,"highcharts-area highcharts-zone-area-"+i+" "+t.className,t.color||e.color,t.fillColor||r.fillColor])})),o.forEach((function(t){var o=t[0],s=e[o],a=s?"animate":"attr",h={};s?(s.endX=e.preventGraphAnimation?null:i.xMap,s.animate({d:i})):(h.zIndex=0,(s=e[o]=e.chart.renderer.path(i).addClass(t[1]).add(e.group)).isArea=!0),e.chart.styledMode||(h.fill=l(t[3],n(t[2]).setOpacity(l(r.fillOpacity,.75)).get())),s[a](h),s.startX=i.xMap,s.shiftUnit=r.step?2:1}))},e.prototype.getGraphPath=function(t){var e,i=s.prototype.getGraphPath,r=this.options,o=r.stacking,n=this.yAxis,a=[],h=[],c=this.index,d=n.stacking.stacks[this.stackKey],p=r.threshold,u=Math.round(n.getThreshold(r.threshold));r=l(r.connectNulls,"percent"===o);var f=function(e,i,r){var s=t[e];e=o&&d[s.x].points[c];var l=s[r+"Null"]||0;if(r=s[r+"Cliff"]||0,s=!0,r||l){var f=(l?e[0]:e[1])+r,g=e[0]+r;s=!!l}else!o&&t[i]&&t[i].isNull&&(f=g=p);void 0!==f&&(h.push({plotX:m,plotY:null===f?u:n.getThreshold(f),isNull:s,isCliff:!0}),a.push({plotX:m,plotY:null===g?u:n.getThreshold(g),doCurve:!1}))};for(t=t||this.points,o&&(t=this.getStackPoints(t)),e=0;e<t.length;e++){o||(t[e].leftCliff=t[e].rightCliff=t[e].leftNull=t[e].rightNull=void 0);var g=t[e].isNull,m=l(t[e].rectPlotX,t[e].plotX),y=o?l(t[e].yBottom,u):u;g&&!r||(r||f(e,e-1,"left"),g&&!o&&r||(h.push(t[e]),a.push({x:e,plotX:m,plotY:y})),r||f(e,e+1,"right"))}return e=i.call(this,h,!0,!0),a.reversed=!0,(y=(g=i.call(this,a,!0,!0))[0])&&"M"===y[0]&&(g[0]=["L",y[1],y[2]]),(g=e.concat(g)).length&&g.push(["Z"]),i=i.call(this,h,!1,r),g.xMap=e.xMap,this.areaPath=g,i},e.prototype.getStackPoints=function(t){var e=this,i=[],r=[],o=this.xAxis,n=this.yAxis,s=n.stacking.stacks[this.stackKey],a={},c=n.series,d=c.length,p=n.options.reversedStacks?1:-1,u=c.indexOf(e);if(t=t||this.points,this.options.stacking){for(var f=0;f<t.length;f++)t[f].leftNull=t[f].rightNull=void 0,a[t[f].x]=t[f];h(s,(function(t,e){null!==t.total&&r.push(e)})),r.sort((function(t,e){return t-e}));var g=c.map((function(t){return t.visible}));r.forEach((function(t,h){var f,m,y=0;if(a[t]&&!a[t].isNull)i.push(a[t]),[-1,1].forEach((function(i){var o=1===i?"rightNull":"leftNull",n=0,l=s[r[h+i]];if(l)for(var y=u;0<=y&&y<d;){var v=c[y].index;(f=l.points[v])||(v===e.index?a[t][o]=!0:g[y]&&(m=s[t].points[v])&&(n-=m[1]-m[0])),y+=p}a[t][1===i?"rightCliff":"leftCliff"]=n}));else{for(var v=u;0<=v&&v<d;){if(f=s[t].points[c[v].index]){y=f[1];break}v+=p}y=l(y,0),y=n.translate(y,0,1,0,1),i.push({isNull:!0,plotX:o.translate(t,0,0,0,1),x:t,plotY:y,yBottom:y})}}))}return i},e.defaultOptions=a(s.defaultOptions,{threshold:0}),e}(s),t(r.prototype,{singleStacks:!1,drawLegendSymbol:e.drawRectangle}),i.registerSeriesType("area",r),r})),e(i,"Series/Spline/SplineSeries.js",[i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],(function(t,e){var i=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function r(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}(),r=t.seriesTypes.line,o=e.merge,n=e.pick;return e=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return i(e,t),e.prototype.getPointSpline=function(t,e,i){var r=e.plotX||0,o=e.plotY||0,s=t[i-1];if(i=t[i+1],s&&!s.isNull&&!1!==s.doCurve&&!e.isCliff&&i&&!i.isNull&&!1!==i.doCurve&&!e.isCliff){t=s.plotY||0;var a=i.plotX||0;i=i.plotY||0;var h=0,l=(1.5*r+(s.plotX||0))/2.5,c=(1.5*o+t)/2.5,d=(1.5*o+i)/2.5;(a=(1.5*r+a)/2.5)!==l&&(h=(d-c)*(a-r)/(a-l)+o-d),d+=h,(c+=h)>t&&c>o?d=2*o-(c=Math.max(t,o)):c<t&&c<o&&(d=2*o-(c=Math.min(t,o))),d>i&&d>o?c=2*o-(d=Math.max(i,o)):d<i&&d<o&&(c=2*o-(d=Math.min(i,o))),e.rightContX=a,e.rightContY=d}return e=["C",n(s.rightContX,s.plotX,0),n(s.rightContY,s.plotY,0),n(l,r,0),n(c,o,0),r,o],s.rightContX=s.rightContY=void 0,e},e.defaultOptions=o(r.defaultOptions),e}(r),t.registerSeriesType("spline",e),e})),e(i,"Series/AreaSpline/AreaSplineSeries.js",[i["Series/Area/AreaSeries.js"],i["Series/Spline/SplineSeries.js"],i["Mixins/LegendSymbol.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],(function(t,e,i,r,o){var n=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function r(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}(),s=t.prototype,a=o.extend,h=o.merge;return o=function(i){function r(){var t=null!==i&&i.apply(this,arguments)||this;return t.data=void 0,t.points=void 0,t.options=void 0,t}return n(r,i),r.defaultOptions=h(e.defaultOptions,t.defaultOptions),r}(e),a(o.prototype,{getGraphPath:s.getGraphPath,getStackPoints:s.getStackPoints,drawGraph:s.drawGraph,drawLegendSymbol:i.drawRectangle}),r.registerSeriesType("areaspline",o),o})),e(i,"Series/Column/ColumnSeries.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Color/Color.js"],i["Core/Globals.js"],i["Mixins/LegendSymbol.js"],i["Core/Color/Palette.js"],i["Core/Series/Series.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],(function(t,e,i,r,o,n,s,a){var h,l=this&&this.__extends||(h=function(t,e){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},h(t,e)},function(t,e){function i(){this.constructor=t}h(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),c=t.animObject,d=e.parse,p=i.hasTouch;t=i.noop;var u=a.clamp,f=a.css,g=a.defined,m=a.extend,y=a.fireEvent,v=a.isArray,x=a.isNumber,b=a.merge,k=a.pick,w=a.objectEach;return a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.borderWidth=void 0,e.data=void 0,e.group=void 0,e.options=void 0,e.points=void 0,e}return l(e,t),e.prototype.animate=function(t){var e=this,i=this.yAxis,r=e.options,o=this.chart.inverted,n={},s=o?"translateX":"translateY";if(t)n.scaleY=.001,t=u(i.toPixels(r.threshold),i.pos,i.pos+i.len),o?n.translateX=t-i.len:n.translateY=t,e.clipBox&&e.setClip(),e.group.attr(n);else{var a=Number(e.group.attr(s));e.group.animate({scaleY:1},m(c(e.options.animation),{step:function(t,r){e.group&&(n[s]=a+r.pos*(i.pos-a),e.group.attr(n))}}))}},e.prototype.init=function(e,i){t.prototype.init.apply(this,arguments);var r=this;(e=r.chart).hasRendered&&e.series.forEach((function(t){t.type===r.type&&(t.isDirty=!0)}))},e.prototype.getColumnMetrics=function(){var t=this,e=t.options,i=t.xAxis,r=t.yAxis,o=i.options.reversedStacks;o=i.reversed&&!o||!i.reversed&&o;var n,s={},a=0;!1===e.grouping?a=1:t.chart.series.forEach((function(e){var i=e.yAxis,o=e.options;if(e.type===t.type&&(e.visible||!t.chart.options.chart.ignoreHiddenSeries)&&r.len===i.len&&r.pos===i.pos){if(o.stacking&&"group"!==o.stacking){n=e.stackKey,void 0===s[n]&&(s[n]=a++);var h=s[n]}else!1!==o.grouping&&(h=a++);e.columnIndex=h}}));var h=Math.min(Math.abs(i.transA)*(i.ordinal&&i.ordinal.slope||e.pointRange||i.closestPointRange||i.tickInterval||1),i.len),l=h*e.groupPadding,c=(h-2*l)/(a||1);return e=Math.min(e.maxPointWidth||i.len,k(e.pointWidth,c*(1-2*e.pointPadding))),t.columnMetrics={width:e,offset:(c-e)/2+(l+((t.columnIndex||0)+(o?1:0))*c-h/2)*(o?-1:1),paddedWidth:c,columnCount:a},t.columnMetrics},e.prototype.crispCol=function(t,e,i,r){var o=this.chart,n=this.borderWidth,s=-(n%2?.5:0);return n=n%2?.5:1,o.inverted&&o.renderer.isVML&&(n+=1),this.options.crisp&&(i=Math.round(t+i)+s,i-=t=Math.round(t)+s),r=Math.round(e+r)+n,s=.5>=Math.abs(e)&&.5<r,r-=e=Math.round(e)+n,s&&r&&(--e,r+=1),{x:t,y:e,width:i,height:r}},e.prototype.adjustForMissingColumns=function(t,e,i,r){var o=this,n=this.options.stacking;if(!i.isNull&&1<r.columnCount){var s=0,a=0;w(this.yAxis.stacking&&this.yAxis.stacking.stacks,(function(t){if("number"==typeof i.x&&(t=t[i.x.toString()])){var e=t.points[o.index],r=t.total;n?(e&&(s=a),t.hasValidPoints&&a++):v(e)&&(s=e[1],a=r||0)}})),t=(i.plotX||0)+((a-1)*r.paddedWidth+e)/2-e-s*r.paddedWidth}return t},e.prototype.translate=function(){var t=this,e=t.chart,i=t.options,r=t.dense=2>t.closestPointRange*t.xAxis.transA;r=t.borderWidth=k(i.borderWidth,r?0:1);var o=t.xAxis,s=t.yAxis,a=i.threshold,h=t.translatedThreshold=s.getThreshold(a),l=k(i.minPointLength,5),c=t.getColumnMetrics(),d=c.width,p=t.barW=Math.max(d,1+2*r),f=t.pointXOffset=c.offset,m=t.dataMin,y=t.dataMax;e.inverted&&(h-=.5),i.pointPadding&&(p=Math.ceil(p)),n.prototype.translate.apply(t),t.points.forEach((function(r){var n=k(r.yBottom,h),v=999+Math.abs(n),b=d,w=r.plotX||0;v=u(r.plotY,-v,s.len+v),w+=f;var C=p,M=Math.min(v,n),S=Math.max(v,n)-M;if(l&&Math.abs(S)<l){S=l;var A=!s.reversed&&!r.negative||s.reversed&&r.negative;x(a)&&x(y)&&r.y===a&&y<=a&&(s.min||0)<a&&(m!==y||(s.max||0)<=a)&&(A=!A),M=Math.abs(M-h)>l?n-l:h-(A?l:0)}g(r.options.pointWidth)&&(b=C=Math.ceil(r.options.pointWidth),w-=Math.round((b-d)/2)),i.centerInCategory&&(w=t.adjustForMissingColumns(w,b,r,c)),r.barX=w,r.pointWidth=b,r.tooltipPos=e.inverted?[u(s.len+s.pos-e.plotLeft-v,s.pos-e.plotLeft,s.len+s.pos-e.plotLeft),o.len+o.pos-e.plotTop-w-C/2,S]:[o.left-e.plotLeft+w+C/2,u(v+s.pos-e.plotTop,s.pos-e.plotTop,s.len+s.pos-e.plotTop),S],r.shapeType=t.pointClass.prototype.shapeType||"rect",r.shapeArgs=t.crispCol.apply(t,r.isNull?[w,h,C,0]:[w,M,C,S])}))},e.prototype.drawGraph=function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")},e.prototype.pointAttribs=function(t,e){var i=this.options,r=this.pointAttrToOptions||{},o=r.stroke||"borderColor",n=r["stroke-width"]||"borderWidth",s=t&&t.color||this.color,a=t&&t[o]||i[o]||s,h=t&&t[n]||i[n]||this[n]||0;r=t&&t.options.dashStyle||i.dashStyle;var l=k(t&&t.opacity,i.opacity,1);if(t&&this.zones.length){var c=t.getZone();s=t.options.color||c&&(c.color||t.nonZonedColor)||this.color,c&&(a=c.borderColor||a,r=c.dashStyle||r,h=c.borderWidth||h)}return e&&t&&(e=(t=b(i.states[e],t.options.states&&t.options.states[e]||{})).brightness,s=t.color||void 0!==e&&d(s).brighten(t.brightness).get()||s,a=t[o]||a,h=t[n]||h,r=t.dashStyle||r,l=k(t.opacity,l)),o={fill:s,stroke:a,"stroke-width":h,opacity:l},r&&(o.dashstyle=r),o},e.prototype.drawPoints=function(){var t,e=this,i=this.chart,r=e.options,o=i.renderer,n=r.animationLimit||250;e.points.forEach((function(s){var a=s.graphic,h=!!a,l=a&&i.pointCount<n?"animate":"attr";x(s.plotY)&&null!==s.y?(t=s.shapeArgs,a&&s.hasNewShapeType()&&(a=a.destroy()),e.enabledDataSorting&&(s.startXPos=e.xAxis.reversed?-(t&&t.width||0):e.xAxis.width),a||(s.graphic=a=o[s.shapeType](t).add(s.group||e.group))&&e.enabledDataSorting&&i.hasRendered&&i.pointCount<n&&(a.attr({x:s.startXPos}),h=!0,l="animate"),a&&h&&a[l](b(t)),r.borderRadius&&a[l]({r:r.borderRadius}),i.styledMode||a[l](e.pointAttribs(s,s.selected&&"select")).shadow(!1!==s.allowShadow&&r.shadow,null,r.stacking&&!r.borderRadius),a&&(a.addClass(s.getClassName(),!0),a.attr({visibility:s.visible?"inherit":"hidden"}))):a&&(s.graphic=a.destroy())}))},e.prototype.drawTracker=function(){var t,e=this,i=e.chart,r=i.pointer,o=function(t){var e=r.getPointFromEvent(t);void 0!==e&&(r.isDirectTouch=!0,e.onMouseOver(t))};e.points.forEach((function(e){t=v(e.dataLabels)?e.dataLabels:e.dataLabel?[e.dataLabel]:[],e.graphic&&(e.graphic.element.point=e),t.forEach((function(t){t.div?t.div.point=e:t.element.point=e}))})),e._hasTracking||(e.trackerGroups.forEach((function(t){e[t]&&(e[t].addClass("highcharts-tracker").on("mouseover",o).on("mouseout",(function(t){r.onTrackerMouseOut(t)})),p&&e[t].on("touchstart",o),!i.styledMode&&e.options.cursor&&e[t].css(f).css({cursor:e.options.cursor}))})),e._hasTracking=!0),y(this,"afterDrawTracker")},e.prototype.remove=function(){var t=this,e=t.chart;e.hasRendered&&e.series.forEach((function(e){e.type===t.type&&(e.isDirty=!0)})),n.prototype.remove.apply(t,arguments)},e.defaultOptions=b(n.defaultOptions,{borderRadius:0,centerInCategory:!1,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:!1,brightness:.1},select:{color:o.neutralColor20,borderColor:o.neutralColor100}},dataLabels:{align:void 0,verticalAlign:void 0,y:void 0},startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0,borderColor:o.backgroundColor}),e}(n),m(a.prototype,{cropShoulder:0,directTouch:!0,drawLegendSymbol:r.drawRectangle,getSymbol:t,negStacks:!0,trackerGroups:["group","dataLabelsGroup"]}),s.registerSeriesType("column",a),a})),e(i,"Series/Bar/BarSeries.js",[i["Series/Column/ColumnSeries.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],(function(t,e,i){var r=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function r(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}(),o=i.extend,n=i.merge;return i=function(e){function i(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return r(i,e),i.defaultOptions=n(t.defaultOptions,{}),i}(t),o(i.prototype,{inverted:!0}),e.registerSeriesType("bar",i),i})),e(i,"Series/Scatter/ScatterSeries.js",[i["Series/Column/ColumnSeries.js"],i["Series/Line/LineSeries.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],(function(t,e,i,r){var o=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function r(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}(),n=r.addEvent,s=r.extend,a=r.merge;return r=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return o(i,t),i.prototype.applyJitter=function(){var t=this,e=this.options.jitter,i=this.points.length;e&&this.points.forEach((function(r,o){["x","y"].forEach((function(n,s){var a="plot"+n.toUpperCase();if(e[n]&&!r.isNull){var h=t[n+"Axis"],l=e[n]*h.transA;if(h&&!h.isLog){var c=Math.max(0,r[a]-l);h=Math.min(h.len,r[a]+l),s=1e4*Math.sin(o+s*i),r[a]=c+(h-c)*(s-Math.floor(s)),"x"===n&&(r.clientX=r.plotX)}}}))}))},i.prototype.drawGraph=function(){(this.options.lineWidth||0===this.options.lineWidth&&this.graph&&this.graph.strokeWidth())&&t.prototype.drawGraph.call(this)},i.defaultOptions=a(e.defaultOptions,{lineWidth:0,findNearestPointBy:"xy",jitter:{x:0,y:0},marker:{enabled:!0},tooltip:{headerFormat:'<span style="color:{point.color}">●</span> <span style="font-size: 10px"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}}),i}(e),s(r.prototype,{drawTracker:t.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1}),n(r,"afterTranslate",(function(){this.applyJitter()})),i.registerSeriesType("scatter",r),r})),e(i,"Mixins/CenteredSeries.js",[i["Core/Globals.js"],i["Core/Series/Series.js"],i["Core/Utilities.js"]],(function(t,e,i){var r=i.isNumber,o=i.pick,n=i.relativeLength,s=t.deg2rad;return t.CenteredSeriesMixin={getCenter:function(){var t=this.options,i=this.chart,r=2*(t.slicedOffset||0),s=i.plotWidth-2*r,a=i.plotHeight-2*r,h=t.center,l=Math.min(s,a),c=t.size,d=t.innerSize||0;for("string"==typeof c&&(c=parseFloat(c)),"string"==typeof d&&(d=parseFloat(d)),t=[o(h[0],"50%"),o(h[1],"50%"),o(c&&0>c?void 0:t.size,"100%"),o(d&&0>d?void 0:t.innerSize||0,"0%")],!i.angular||this instanceof e||(t[3]=0),h=0;4>h;++h)c=t[h],i=2>h||2===h&&/%$/.test(c),t[h]=n(c,[s,a,l,t[2]][h])+(i?r:0);return t[3]>t[2]&&(t[3]=t[2]),t},getStartAndEndRadians:function(t,e){return t=r(t)?t:0,e=r(e)&&e>t&&360>e-t?e:t+360,{start:s*(t+-90),end:s*(e+-90)}}}})),e(i,"Series/Pie/PiePoint.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Series/Point.js"],i["Core/Utilities.js"]],(function(t,e,i){var r=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function r(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}(),o=t.setAnimation,n=i.addEvent,s=i.defined;t=i.extend;var a=i.isNumber,h=i.pick,l=i.relativeLength;return i=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.labelDistance=void 0,e.options=void 0,e.series=void 0,e}return r(i,t),i.prototype.getConnectorPath=function(){var t=this.labelPosition,e=this.series.options.dataLabels,i=e.connectorShape,r=this.connectorShapes;return r[i]&&(i=r[i]),i.call(this,{x:t.final.x,y:t.final.y,alignment:t.alignment},t.connectorPosition,e)},i.prototype.getTranslate=function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}},i.prototype.haloPath=function(t){var e=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(e.x,e.y,e.r+t,e.r+t,{innerR:e.r-1,start:e.start,end:e.end})},i.prototype.init=function(){e.prototype.init.apply(this,arguments);var t=this;t.name=h(t.name,"Slice");var i=function(e){t.slice("select"===e.type)};return n(t,"select",i),n(t,"unselect",i),t},i.prototype.isValid=function(){return a(this.y)&&0<=this.y},i.prototype.setVisible=function(t,e){var i=this,r=i.series,o=r.chart,n=r.options.ignoreHiddenPoint;e=h(e,n),t!==i.visible&&(i.visible=i.options.visible=t=void 0===t?!i.visible:t,r.options.data[r.data.indexOf(i)]=i.options,["graphic","dataLabel","connector","shadowGroup"].forEach((function(e){i[e]&&i[e][t?"show":"hide"](t)})),i.legendItem&&o.legend.colorizeItem(i,t),t||"hover"!==i.state||i.setState(""),n&&(r.isDirty=!0),e&&o.redraw())},i.prototype.slice=function(t,e,i){var r=this.series;o(i,r.chart),h(e,!0),this.sliced=this.options.sliced=s(t)?t:!this.sliced,r.options.data[r.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate()),this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())},i}(e),t(i.prototype,{connectorShapes:{fixedOffset:function(t,e,i){var r=e.breakAt;return e=e.touchingSliceAt,[["M",t.x,t.y],i.softConnector?["C",t.x+("left"===t.alignment?-5:5),t.y,2*r.x-e.x,2*r.y-e.y,r.x,r.y]:["L",r.x,r.y],["L",e.x,e.y]]},straight:function(t,e){return e=e.touchingSliceAt,[["M",t.x,t.y],["L",e.x,e.y]]},crookedLine:function(t,e,i){e=e.touchingSliceAt;var r=this.series,o=r.center[0],n=r.chart.plotWidth,s=r.chart.plotLeft;r=t.alignment;var a=this.shapeArgs.r;return i=l(i.crookDistance,1),i=["L",n="left"===r?o+a+(n+s-o-a)*(1-i):s+(o-a)*i,t.y],o=!0,("left"===r?n>t.x||n<e.x:n<t.x||n>e.x)&&(o=!1),t=[["M",t.x,t.y]],o&&t.push(i),t.push(["L",e.x,e.y]),t}}}),i})),e(i,"Series/Pie/PieSeries.js",[i["Mixins/CenteredSeries.js"],i["Series/Column/ColumnSeries.js"],i["Core/Globals.js"],i["Mixins/LegendSymbol.js"],i["Core/Color/Palette.js"],i["Series/Pie/PiePoint.js"],i["Core/Series/Series.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Renderer/SVG/SVGRenderer.js"],i["Core/Utilities.js"]],(function(t,e,i,r,o,n,s,a,h,l){var c=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function r(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}(),d=t.getStartAndEndRadians;i=i.noop;var p=l.clamp,u=l.extend,f=l.fireEvent,g=l.merge,m=l.pick,y=l.relativeLength;return l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.center=void 0,e.data=void 0,e.maxLabelDistance=void 0,e.options=void 0,e.points=void 0,e}return c(e,t),e.prototype.animate=function(t){var e=this,i=e.points,r=e.startAngleRad;t||i.forEach((function(t){var i=t.graphic,o=t.shapeArgs;i&&o&&(i.attr({r:m(t.startR,e.center&&e.center[3]/2),start:r,end:r}),i.animate({r:o.r,start:o.start,end:o.end},e.options.animation))}))},e.prototype.drawEmpty=function(){var t=this.startAngleRad,e=this.endAngleRad,i=this.options;if(0===this.total&&this.center){var r=this.center[0],n=this.center[1];this.graph||(this.graph=this.chart.renderer.arc(r,n,this.center[1]/2,0,t,e).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:h.prototype.symbols.arc(r,n,this.center[2]/2,0,{start:t,end:e,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":i.borderWidth,fill:i.fillColor||"none",stroke:i.color||o.neutralColor20})}else this.graph&&(this.graph=this.graph.destroy())},e.prototype.drawPoints=function(){var t=this.chart.renderer;this.points.forEach((function(e){e.graphic&&e.hasNewShapeType()&&(e.graphic=e.graphic.destroy()),e.graphic||(e.graphic=t[e.shapeType](e.shapeArgs).add(e.series.group),e.delayedRendering=!0)}))},e.prototype.generatePoints=function(){t.prototype.generatePoints.call(this),this.updateTotals()},e.prototype.getX=function(t,e,i){var r=this.center,o=this.radii?this.radii[i.index]||0:r[2]/2;return t=Math.asin(p((t-r[1])/(o+i.labelDistance),-1,1)),r[0]+(e?-1:1)*Math.cos(t)*(o+i.labelDistance)+(0<i.labelDistance?(e?-1:1)*this.options.dataLabels.padding:0)},e.prototype.hasData=function(){return!!this.processedXData.length},e.prototype.redrawPoints=function(){var t,e,i,r,o=this,n=o.chart,s=n.renderer,a=o.options.shadow;this.drawEmpty(),!a||o.shadowGroup||n.styledMode||(o.shadowGroup=s.g("shadow").attr({zIndex:-1}).add(o.group)),o.points.forEach((function(h){var l={};if(e=h.graphic,!h.isNull&&e){var c=void 0;r=h.shapeArgs,t=h.getTranslate(),n.styledMode||(c=h.shadowGroup,a&&!c&&(c=h.shadowGroup=s.g("shadow").add(o.shadowGroup)),c&&c.attr(t),i=o.pointAttribs(h,h.selected&&"select")),h.delayedRendering?(e.setRadialReference(o.center).attr(r).attr(t),n.styledMode||e.attr(i).attr({"stroke-linejoin":"round"}).shadow(a,c),h.delayedRendering=!1):(e.setRadialReference(o.center),n.styledMode||g(!0,l,i),g(!0,l,r,t),e.animate(l)),e.attr({visibility:h.visible?"inherit":"hidden"}),e.addClass(h.getClassName(),!0)}else e&&(h.graphic=e.destroy())}))},e.prototype.sortByAngle=function(t,e){t.sort((function(t,i){return void 0!==t.angle&&(i.angle-t.angle)*e}))},e.prototype.translate=function(t){this.generatePoints();var e=0,i=this.options,r=i.slicedOffset,o=r+(i.borderWidth||0),n=d(i.startAngle,i.endAngle),s=this.startAngleRad=n.start;n=(this.endAngleRad=n.end)-s;var a=this.points,h=i.dataLabels.distance;i=i.ignoreHiddenPoint;var l,c=a.length;for(t||(this.center=t=this.getCenter()),l=0;l<c;l++){var p=a[l],u=s+e*n;!p.isValid()||i&&!p.visible||(e+=p.percentage/100);var g=s+e*n,v={x:t[0],y:t[1],r:t[2]/2,innerR:t[3]/2,start:Math.round(1e3*u)/1e3,end:Math.round(1e3*g)/1e3};p.shapeType="arc",p.shapeArgs=v,p.labelDistance=m(p.options.dataLabels&&p.options.dataLabels.distance,h),p.labelDistance=y(p.labelDistance,v.r),this.maxLabelDistance=Math.max(this.maxLabelDistance||0,p.labelDistance),(g=(g+u)/2)>1.5*Math.PI?g-=2*Math.PI:g<-Math.PI/2&&(g+=2*Math.PI),p.slicedTranslation={translateX:Math.round(Math.cos(g)*r),translateY:Math.round(Math.sin(g)*r)},v=Math.cos(g)*t[2]/2;var x=Math.sin(g)*t[2]/2;p.tooltipPos=[t[0]+.7*v,t[1]+.7*x],p.half=g<-Math.PI/2||g>Math.PI/2?1:0,p.angle=g,u=Math.min(o,p.labelDistance/5),p.labelPosition={natural:{x:t[0]+v+Math.cos(g)*p.labelDistance,y:t[1]+x+Math.sin(g)*p.labelDistance},final:{},alignment:0>p.labelDistance?"center":p.half?"right":"left",connectorPosition:{breakAt:{x:t[0]+v+Math.cos(g)*u,y:t[1]+x+Math.sin(g)*u},touchingSliceAt:{x:t[0]+v,y:t[1]+x}}}}f(this,"afterTranslate")},e.prototype.updateTotals=function(){var t,e=0,i=this.points,r=i.length,o=this.options.ignoreHiddenPoint;for(t=0;t<r;t++){var n=i[t];!n.isValid()||o&&!n.visible||(e+=n.y)}for(this.total=e,t=0;t<r;t++)(n=i[t]).percentage=0<e&&(n.visible||!o)?n.y/e*100:0,n.total=e},e.defaultOptions=g(s.defaultOptions,{center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{allowOverlap:!0,connectorPadding:5,connectorShape:"fixedOffset",crookDistance:"70%",distance:30,enabled:!0,formatter:function(){return this.point.isNull?void 0:this.point.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:o.backgroundColor,borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}}),e}(s),u(l.prototype,{axisTypes:[],directTouch:!0,drawGraph:void 0,drawLegendSymbol:r.drawRectangle,drawTracker:e.prototype.drawTracker,getCenter:t.getCenter,getSymbol:i,isCartesian:!1,noSharedTooltip:!0,pointAttribs:e.prototype.pointAttribs,pointClass:n,requireSorting:!1,searchPoint:i,trackerGroups:["group","dataLabelsGroup"]}),a.registerSeriesType("pie",l),l})),e(i,"Core/Series/DataLabels.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/FormatUtilities.js"],i["Core/Globals.js"],i["Core/Color/Palette.js"],i["Core/Series/Series.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],(function(t,e,i,r,o,n,s){var a=t.getDeferredAnimation,h=e.format;t=i.noop,n=n.seriesTypes;var l=s.arrayMax,c=s.clamp,d=s.defined,p=s.extend,u=s.fireEvent,f=s.isArray,g=s.merge,m=s.objectEach,y=s.pick,v=s.relativeLength,x=s.splat,b=s.stableSort;i.distribute=function(t,e,r){function o(t,e){return t.target-e.target}var n,s=!0,a=t,h=[],l=0,d=a.reducedLen||e;for(n=t.length;n--;)l+=t[n].size;if(l>d){for(b(t,(function(t,e){return(e.rank||0)-(t.rank||0)})),l=n=0;l<=d;)l+=t[n].size,n++;h=t.splice(n-1,t.length)}for(b(t,o),t=t.map((function(t){return{size:t.size,targets:[t.target],align:y(t.align,.5)}}));s;){for(n=t.length;n--;)s=t[n],l=(Math.min.apply(0,s.targets)+Math.max.apply(0,s.targets))/2,s.pos=c(l-s.size*s.align,0,e-s.size);for(n=t.length,s=!1;n--;)0<n&&t[n-1].pos+t[n-1].size>t[n].pos&&(t[n-1].size+=t[n].size,t[n-1].targets=t[n-1].targets.concat(t[n].targets),t[n-1].align=.5,t[n-1].pos+t[n-1].size>e&&(t[n-1].pos=e-t[n-1].size),t.splice(n,1),s=!0)}a.push.apply(a,h),n=0,t.some((function(t){var o=0;if(t.targets.some((function(){if(a[n].pos=t.pos+o,void 0!==r&&Math.abs(a[n].pos-a[n].target)>r)return a.slice(0,n+1).forEach((function(t){delete t.pos})),a.reducedLen=(a.reducedLen||e)-.1*e,a.reducedLen>.1*e&&i.distribute(a,e,r),!0;o+=a[n].size,n++})))return!0})),b(a,o)},o.prototype.drawDataLabels=function(){function t(t,e){var i,r=[];if(f(t)&&!f(e))r=t.map((function(t){return g(t,e)}));else if(f(e)&&!f(t))r=e.map((function(e){return g(t,e)}));else if(f(t)||f(e))for(i=Math.max(t.length,e.length);i--;)r[i]=g(t[i],e[i]);else r=g(t,e);return r}var e=this,i=e.chart,o=e.options,n=o.dataLabels,s=e.points,l=e.hasRendered||0,c=n.animation;c=n.defer?a(i,c,e):{defer:0,duration:0};var p=i.renderer;if(n=t(t(i.options.plotOptions&&i.options.plotOptions.series&&i.options.plotOptions.series.dataLabels,i.options.plotOptions&&i.options.plotOptions[e.type]&&i.options.plotOptions[e.type].dataLabels),n),u(this,"drawDataLabels"),f(n)||n.enabled||e._hasPointLabels){var v=e.plotGroup("dataLabelsGroup","data-labels",l?"inherit":"hidden",n.zIndex||6);v.attr({opacity:+l}),!l&&(l=e.dataLabelsGroup)&&(e.visible&&v.show(!0),l[o.animation?"animate":"attr"]({opacity:1},c)),s.forEach((function(s){x(t(n,s.dlOptions||s.options&&s.options.dataLabels)).forEach((function(t,n){var a=t.enabled&&(!s.isNull||s.dataLabelOnNull)&&function(t,e){var i=e.filter;return!i||(e=i.operator,t=t[i.property],i=i.value,">"===e&&t>i||"<"===e&&t<i||">="===e&&t>=i||"<="===e&&t<=i||"=="===e&&t==i||"==="===e&&t===i)}(s,t),l=s.dataLabels?s.dataLabels[n]:s.dataLabel,c=s.connectors?s.connectors[n]:s.connector,u=y(t.distance,s.labelDistance),f=!l;if(a){var g=s.getLabelConfig(),x=y(t[s.formatPrefix+"Format"],t.format);g=d(x)?h(x,g,i):(t[s.formatPrefix+"Formatter"]||t.formatter).call(g,t),x=t.style;var b=t.rotation;i.styledMode||(x.color=y(t.color,x.color,e.color,r.neutralColor100),"contrast"===x.color?(s.contrastColor=p.getContrast(s.color||e.color),x.color=!d(u)&&t.inside||0>u||o.stacking?s.contrastColor:r.neutralColor100):delete s.contrastColor,o.cursor&&(x.cursor=o.cursor));var k={r:t.borderRadius||0,rotation:b,padding:t.padding,zIndex:1};i.styledMode||(k.fill=t.backgroundColor,k.stroke=t.borderColor,k["stroke-width"]=t.borderWidth),m(k,(function(t,e){void 0===t&&delete k[e]}))}!l||a&&d(g)?a&&d(g)&&(l?k.text=g:(s.dataLabels=s.dataLabels||[],l=s.dataLabels[n]=b?p.text(g,0,-9999,t.useHTML).addClass("highcharts-data-label"):p.label(g,0,-9999,t.shape,null,null,t.useHTML,null,"data-label"),n||(s.dataLabel=l),l.addClass(" highcharts-data-label-color-"+s.colorIndex+" "+(t.className||"")+(t.useHTML?" highcharts-tracker":""))),l.options=t,l.attr(k),i.styledMode||l.css(x).shadow(t.shadow),l.added||l.add(v),t.textPath&&!t.useHTML&&(l.setTextPath(s.getDataLabelPath&&s.getDataLabelPath(l)||s.graphic,t.textPath),s.dataLabelPath&&!t.textPath.enabled&&(s.dataLabelPath=s.dataLabelPath.destroy())),e.alignDataLabel(s,l,t,null,f)):(s.dataLabel=s.dataLabel&&s.dataLabel.destroy(),s.dataLabels&&(1===s.dataLabels.length?delete s.dataLabels:delete s.dataLabels[n]),n||delete s.dataLabel,c&&(s.connector=s.connector.destroy(),s.connectors&&(1===s.connectors.length?delete s.connectors:delete s.connectors[n])))}))}))}u(this,"afterDrawDataLabels")},o.prototype.alignDataLabel=function(t,e,i,r,o){var n=this,s=this.chart,a=this.isCartesian&&s.inverted,h=this.enabledDataSorting,l=y(t.dlBox&&t.dlBox.centerX,t.plotX,-9999),c=y(t.plotY,-9999),d=e.getBBox(),u=i.rotation,f=i.align,g=s.isInsidePlot(l,Math.round(c),{inverted:a,paneCoordinates:!0,series:n}),m="justify"===y(i.overflow,h?"none":"justify"),v=this.visible&&!1!==t.visible&&(t.series.forceDL||h&&!m||g||y(i.inside,!!this.options.stacking)&&r&&s.isInsidePlot(l,a?r.x+1:r.y+r.height-1,{inverted:a,paneCoordinates:!0,series:n})),x=function(i){h&&n.xAxis&&!m&&n.setDataLabelStartPos(t,e,o,g,i)};if(v){var b=s.renderer.fontMetrics(s.styledMode?void 0:i.style.fontSize,e).b;r=p({x:a?this.yAxis.len-c:l,y:Math.round(a?this.xAxis.len-l:c),width:0,height:0},r),p(i,{width:d.width,height:d.height}),u?(m=!1,l=s.renderer.rotCorr(b,u),x(l={x:r.x+(i.x||0)+r.width/2+l.x,y:r.y+(i.y||0)+{top:0,middle:.5,bottom:1}[i.verticalAlign]*r.height}),e[o?"attr":"animate"](l).attr({align:f}),x=180<(x=(u+720)%360)&&360>x,"left"===f?l.y-=x?d.height:0:"center"===f?(l.x-=d.width/2,l.y-=d.height/2):"right"===f&&(l.x-=d.width,l.y-=x?0:d.height),e.placed=!0,e.alignAttr=l):(x(r),e.align(i,void 0,r),l=e.alignAttr),m&&0<=r.height?this.justifyDataLabel(e,i,l,d,r,o):y(i.crop,!0)&&(v=s.isInsidePlot(l.x,l.y,{paneCoordinates:!0,series:n})&&s.isInsidePlot(l.x+d.width,l.y+d.height,{paneCoordinates:!0,series:n})),i.shape&&!u&&e[o?"attr":"animate"]({anchorX:a?s.plotWidth-t.plotY:t.plotX,anchorY:a?s.plotHeight-t.plotX:t.plotY})}o&&h&&(e.placed=!1),v||h&&!m||(e.hide(!0),e.placed=!1)},o.prototype.setDataLabelStartPos=function(t,e,i,r,o){var n=this.chart,s=n.inverted,a=this.xAxis,h=a.reversed,l=s?e.height/2:e.width/2;t=(t=t.pointWidth)?t/2:0,a=s?o.x:h?-l-t:a.width-l+t,o=s?h?this.yAxis.height-l+t:-l-t:o.y,e.startXPos=a,e.startYPos=o,r?"hidden"===e.visibility&&(e.show(),e.attr({opacity:0}).animate({opacity:1})):e.attr({opacity:1}).animate({opacity:0},void 0,e.hide),n.hasRendered&&(i&&e.attr({x:e.startXPos,y:e.startYPos}),e.placed=!0)},o.prototype.justifyDataLabel=function(t,e,i,r,o,n){var s=this.chart,a=e.align,h=e.verticalAlign,l=t.box?0:t.padding||0,c=e.x;c=void 0===c?0:c;var d=e.y,p=void 0===d?0:d;if(0>(d=(i.x||0)+l)){"right"===a&&0<=c?(e.align="left",e.inside=!0):c-=d;var u=!0}return(d=(i.x||0)+r.width-l)>s.plotWidth&&("left"===a&&0>=c?(e.align="right",e.inside=!0):c+=s.plotWidth-d,u=!0),0>(d=i.y+l)&&("bottom"===h&&0<=p?(e.verticalAlign="top",e.inside=!0):p-=d,u=!0),(d=(i.y||0)+r.height-l)>s.plotHeight&&("top"===h&&0>=p?(e.verticalAlign="bottom",e.inside=!0):p+=s.plotHeight-d,u=!0),u&&(e.x=c,e.y=p,t.placed=!n,t.align(e,void 0,o)),u},n.pie&&(n.pie.prototype.dataLabelPositioners={radialDistributionY:function(t){return t.top+t.distributeBox.pos},radialDistributionX:function(t,e,i,r){return t.getX(i<e.top+2||i>e.bottom-2?r:i,e.half,e)},justify:function(t,e,i){return i[0]+(t.half?-1:1)*(e+t.labelDistance)},alignToPlotEdges:function(t,e,i,r){return t=t.getBBox().width,e?t+r:i-t-r},alignToConnectors:function(t,e,i,r){var o,n=0;return t.forEach((function(t){(o=t.dataLabel.getBBox().width)>n&&(n=o)})),e?n+r:i-n-r}},n.pie.prototype.drawDataLabels=function(){var t,e,n,s,a,h,c,p,u,f,m,v,x=this,b=x.data,k=x.chart,w=x.options.dataLabels||{},C=w.connectorPadding,M=k.plotWidth,S=k.plotHeight,A=k.plotLeft,T=Math.round(k.chartWidth/3),P=x.center,O=P[2]/2,L=P[1],E=[[],[]],D=[0,0,0,0],j=x.dataLabelPositioners;x.visible&&(w.enabled||x._hasPointLabels)&&(b.forEach((function(t){t.dataLabel&&t.visible&&t.dataLabel.shortened&&(t.dataLabel.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),t.dataLabel.shortened=!1)})),o.prototype.drawDataLabels.apply(x),b.forEach((function(t){t.dataLabel&&(t.visible?(E[t.half].push(t),t.dataLabel._pos=null,!d(w.style.width)&&!d(t.options.dataLabels&&t.options.dataLabels.style&&t.options.dataLabels.style.width)&&t.dataLabel.getBBox().width>T&&(t.dataLabel.css({width:Math.round(.7*T)+"px"}),t.dataLabel.shortened=!0)):(t.dataLabel=t.dataLabel.destroy(),t.dataLabels&&1===t.dataLabels.length&&delete t.dataLabels))})),E.forEach((function(e,r){var o,n=e.length,l=[];if(n){if(x.sortByAngle(e,r-.5),0<x.maxLabelDistance){var g=Math.max(0,L-O-x.maxLabelDistance),b=Math.min(L+O+x.maxLabelDistance,k.plotHeight);e.forEach((function(t){0<t.labelDistance&&t.dataLabel&&(t.top=Math.max(0,L-O-t.labelDistance),t.bottom=Math.min(L+O+t.labelDistance,k.plotHeight),o=t.dataLabel.getBBox().height||21,t.distributeBox={target:t.labelPosition.natural.y-t.top+o/2,size:o,rank:t.y},l.push(t.distributeBox))})),g=b+o-g,i.distribute(l,g,g/5)}for(m=0;m<n;m++){if(t=e[m],h=t.labelPosition,s=t.dataLabel,f=!1===t.visible?"hidden":"inherit",u=g=h.natural.y,l&&d(t.distributeBox)&&(void 0===t.distributeBox.pos?f="hidden":(c=t.distributeBox.size,u=j.radialDistributionY(t))),delete t.positionIndex,w.justify)p=j.justify(t,O,P);else switch(w.alignTo){case"connectors":p=j.alignToConnectors(e,r,M,A);break;case"plotEdges":p=j.alignToPlotEdges(s,r,M,A);break;default:p=j.radialDistributionX(x,t,u,g)}s._attr={visibility:f,align:h.alignment},v=t.options.dataLabels||{},s._pos={x:p+y(v.x,w.x)+({left:C,right:-C}[h.alignment]||0),y:u+y(v.y,w.y)-10},h.final.x=p,h.final.y=u,y(w.crop,!0)&&(a=s.getBBox().width,g=null,p-a<C&&1===r?(g=Math.round(a-p+C),D[3]=Math.max(g,D[3])):p+a>M-C&&0===r&&(g=Math.round(p+a-M+C),D[1]=Math.max(g,D[1])),0>u-c/2?D[0]=Math.max(Math.round(c/2-u),D[0]):u+c/2>S&&(D[2]=Math.max(Math.round(u+c/2-S),D[2])),s.sideOverflow=g)}}})),0===l(D)||this.verifyDataLabelOverflow(D))&&(this.placeDataLabels(),this.points.forEach((function(t){var i;v=g(w,t.options.dataLabels),(e=y(v.connectorWidth,1))&&(n=t.connector,(s=t.dataLabel)&&s._pos&&t.visible&&0<t.labelDistance?(f=s._attr.visibility,(i=!n)&&(t.connector=n=k.renderer.path().addClass("highcharts-data-label-connector highcharts-color-"+t.colorIndex+(t.className?" "+t.className:"")).add(x.dataLabelsGroup),k.styledMode||n.attr({"stroke-width":e,stroke:v.connectorColor||t.color||r.neutralColor60})),n[i?"attr":"animate"]({d:t.getConnectorPath()}),n.attr("visibility",f)):n&&(t.connector=n.destroy()))})))},n.pie.prototype.placeDataLabels=function(){this.points.forEach((function(t){var e,i=t.dataLabel;i&&t.visible&&((e=i._pos)?(i.sideOverflow&&(i._attr.width=Math.max(i.getBBox().width-i.sideOverflow,0),i.css({width:i._attr.width+"px",textOverflow:(this.options.dataLabels.style||{}).textOverflow||"ellipsis"}),i.shortened=!0),i.attr(i._attr),i[i.moved?"animate":"attr"](e),i.moved=!0):i&&i.attr({y:-9999})),delete t.distributeBox}),this)},n.pie.prototype.alignDataLabel=t,n.pie.prototype.verifyDataLabelOverflow=function(t){var e=this.center,i=this.options,r=i.center,o=i.minSize||80,n=null!==i.size;if(!n){if(null!==r[0])var s=Math.max(e[2]-Math.max(t[1],t[3]),o);else s=Math.max(e[2]-t[1]-t[3],o),e[0]+=(t[3]-t[1])/2;null!==r[1]?s=c(s,o,e[2]-Math.max(t[0],t[2])):(s=c(s,o,e[2]-t[0]-t[2]),e[1]+=(t[0]-t[2])/2),s<e[2]?(e[2]=s,e[3]=Math.min(v(i.innerSize||0,s),s),this.translate(e),this.drawDataLabels&&this.drawDataLabels()):n=!0}return n}),n.column&&(n.column.prototype.alignDataLabel=function(t,e,i,r,n){var s=this.chart.inverted,a=t.series,h=t.dlBox||t.shapeArgs,l=y(t.below,t.plotY>y(this.translatedThreshold,a.yAxis.len)),c=y(i.inside,!!this.options.stacking);h&&(0>(r=g(h)).y&&(r.height+=r.y,r.y=0),0<(h=r.y+r.height-a.yAxis.len)&&h<r.height&&(r.height-=h),s&&(r={x:a.yAxis.len-r.y-r.height,y:a.xAxis.len-r.x-r.width,width:r.height,height:r.width}),c||(s?(r.x+=l?0:r.width,r.width=0):(r.y+=l?r.height:0,r.height=0))),i.align=y(i.align,!s||c?"center":l?"right":"left"),i.verticalAlign=y(i.verticalAlign,s||c?"middle":l?"top":"bottom"),o.prototype.alignDataLabel.call(this,t,e,i,r,n),i.inside&&t.contrastColor&&e.css({color:t.contrastColor})})})),e(i,"Extensions/OverlappingDataLabels.js",[i["Core/Chart/Chart.js"],i["Core/Utilities.js"]],(function(t,e){function i(t,e){var i=!1;if(t){var r=t.newOpacity;t.oldOpacity!==r&&(t.alignAttr&&t.placed?(t[r?"removeClass":"addClass"]("highcharts-data-label-hidden"),i=!0,t.alignAttr.opacity=r,t[t.isOld?"animate":"attr"](t.alignAttr,null,(function(){e.styledMode||t.css({pointerEvents:r?"auto":"none"}),t.visibility=r?"inherit":"hidden"})),o(e,"afterHideOverlappingLabel")):t.attr({opacity:r})),t.isOld=!0}return i}var r=e.addEvent,o=e.fireEvent,n=e.isArray,s=e.isNumber,a=e.objectEach,h=e.pick;r(t,"render",(function(){var t=this,e=[];(this.labelCollectors||[]).forEach((function(t){e=e.concat(t())})),(this.yAxis||[]).forEach((function(t){t.stacking&&t.options.stackLabels&&!t.options.stackLabels.allowOverlap&&a(t.stacking.stacks,(function(t){a(t,(function(t){e.push(t.label)}))}))})),(this.series||[]).forEach((function(r){var o=r.options.dataLabels;r.visible&&(!1!==o.enabled||r._hasPointLabels)&&(o=function(r){return r.forEach((function(r){r.visible&&(n(r.dataLabels)?r.dataLabels:r.dataLabel?[r.dataLabel]:[]).forEach((function(o){var n=o.options;o.labelrank=h(n.labelrank,r.labelrank,r.shapeArgs&&r.shapeArgs.height),n.allowOverlap?(o.oldOpacity=o.opacity,o.newOpacity=1,i(o,t)):e.push(o)}))}))},o(r.nodes||[]),o(r.points))})),this.hideOverlappingLabels(e)})),t.prototype.hideOverlappingLabels=function(t){var e,r,n,a=this,h=t.length,l=a.renderer,c=!1,d=function(t){var e,i,r=t.box?0:t.padding||0,o=e=0;if(t&&(!t.alignAttr||t.placed)){var n=t.alignAttr||{x:t.attr("x"),y:t.attr("y")},a=t.parentGroup;t.width||(e=t.getBBox(),t.width=e.width,t.height=e.height,e=l.fontMetrics(null,t.element).h);var h=t.width-2*r;return(i={left:"0",center:"0.5",right:"1"}[t.alignValue])?o=+i*h:s(t.x)&&Math.round(t.x)!==t.translateX&&(o=t.x-t.translateX),{x:n.x+(a.translateX||0)+r-(o||0),y:n.y+(a.translateY||0)+r-e,width:t.width-2*r,height:t.height-2*r}}};for(r=0;r<h;r++)(e=t[r])&&(e.oldOpacity=e.opacity,e.newOpacity=1,e.absoluteBox=d(e));for(t.sort((function(t,e){return(e.labelrank||0)-(t.labelrank||0)})),r=0;r<h;r++){var p=(d=t[r])&&d.absoluteBox;for(e=r+1;e<h;++e){var u=(n=t[e])&&n.absoluteBox;!p||!u||d===n||0===d.newOpacity||0===n.newOpacity||u.x>=p.x+p.width||u.x+u.width<=p.x||u.y>=p.y+p.height||u.y+u.height<=p.y||((d.labelrank<n.labelrank?d:n).newOpacity=0)}}t.forEach((function(t){i(t,a)&&(c=!0)})),c&&o(a,"afterHideAllOverlappingLabels")}})),e(i,"Core/Responsive.js",[i["Core/Chart/Chart.js"],i["Core/Utilities.js"]],(function(t,e){var i=e.find,r=e.isArray,o=e.isObject,n=e.merge,s=e.objectEach,a=e.pick,h=e.splat,l=e.uniqueKey;t.prototype.setResponsive=function(t,e){var r=this.options.responsive,o=[],s=this.currentResponsive;!e&&r&&r.rules&&r.rules.forEach((function(t){void 0===t._id&&(t._id=l()),this.matchResponsiveRule(t,o)}),this),e=n.apply(0,o.map((function(t){return i(r.rules,(function(e){return e._id===t})).chartOptions}))),e.isResponsiveOptions=!0,(o=o.toString()||void 0)!==(s&&s.ruleIds)&&(s&&this.update(s.undoOptions,t,!0),o?((s=this.currentOptions(e)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:o,mergedOptions:e,undoOptions:s},this.update(e,t,!0)):this.currentResponsive=void 0)},t.prototype.matchResponsiveRule=function(t,e){var i=t.condition;(i.callback||function(){return this.chartWidth<=a(i.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=a(i.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=a(i.minWidth,0)&&this.chartHeight>=a(i.minHeight,0)}).call(this)&&e.push(t._id)},t.prototype.currentOptions=function(t){var e=this,i={};return function t(i,n,a,l){var c;s(i,(function(i,s){if(!l&&-1<e.collectionsWithUpdate.indexOf(s)&&n[s])for(i=h(i),a[s]=[],c=0;c<Math.max(i.length,n[s].length);c++)n[s][c]&&(void 0===i[c]?a[s][c]=n[s][c]:(a[s][c]={},t(i[c],n[s][c],a[s][c],l+1)));else o(i)?(a[s]=r(i)?[]:{},t(i,n[s]||{},a[s],l+1)):a[s]=void 0===n[s]?null:n[s]}))}(t,this.options,i,0),i}})),e(i,"masters/highcharts.src.js",[i["Core/Globals.js"],i["Core/Utilities.js"],i["Core/Options.js"],i["Core/Animation/Fx.js"],i["Core/Animation/AnimationUtilities.js"],i["Core/Renderer/HTML/AST.js"],i["Core/FormatUtilities.js"],i["Core/Renderer/SVG/SVGElement.js"],i["Core/Series/Series.js"]],(function(t,e,i,r,o,n,s,a,h){return t.animate=o.animate,t.animObject=o.animObject,t.getDeferredAnimation=o.getDeferredAnimation,t.setAnimation=o.setAnimation,t.stop=o.stop,t.timers=r.timers,t.AST=n,t.Fx=r,t.Series=h,t.SVGElement=a,t.dateFormat=s.dateFormat,t.format=s.format,t.numberFormat=s.numberFormat,t.defaultOptions=i.defaultOptions,t.getOptions=i.getOptions,t.time=i.defaultTime,t.setOptions=i.setOptions,t.addEvent=e.addEvent,t.arrayMax=e.arrayMax,t.arrayMin=e.arrayMin,t.attr=e.attr,t.clearTimeout=e.clearTimeout,t.correctFloat=e.correctFloat,t.createElement=e.createElement,t.css=e.css,t.defined=e.defined,t.destroyObjectProperties=e.destroyObjectProperties,t.discardElement=e.discardElement,t.erase=e.erase,t.error=e.error,t.extend=e.extend,t.extendClass=e.extendClass,t.find=e.find,t.fireEvent=e.fireEvent,t.getMagnitude=e.getMagnitude,t.getStyle=e.getStyle,t.inArray=e.inArray,t.isArray=e.isArray,t.isClass=e.isClass,t.isDOMElement=e.isDOMElement,t.isFunction=e.isFunction,t.isNumber=e.isNumber,t.isObject=e.isObject,t.isString=e.isString,t.keys=e.keys,t.merge=e.merge,t.normalizeTickInterval=e.normalizeTickInterval,t.objectEach=e.objectEach,t.offset=e.offset,t.pad=e.pad,t.pick=e.pick,t.pInt=e.pInt,t.relativeLength=e.relativeLength,t.removeEvent=e.removeEvent,t.splat=e.splat,t.stableSort=e.stableSort,t.syncTimeout=e.syncTimeout,t.timeUnits=e.timeUnits,t.uniqueKey=e.uniqueKey,t.useSerialIds=e.useSerialIds,t.wrap=e.wrap,t})),i["masters/highcharts.src.js"]._modules=i,i["masters/highcharts.src.js"]},t.exports?(n.default=n,t.exports=o.document?n(o):n):void 0===(r=function(){return n(o)}.call(e,i,e,t))||(t.exports=r)}}]);
3
- //# sourceMappingURL=4266-e856b96643-lite.chunk.js.map