Hacked By AnonymousFox

Current Path : C:/AppServ/www/financial/stacked/code/es5/modules/
Upload File :
Current File : C:/AppServ/www/financial/stacked/code/es5/modules/boost.js

!/**
 * Highcharts JS v12.1.2 (2025-01-09)
 * @module highcharts/modules/boost
 * @requires highcharts
 *
 * Boost module
 *
 * (c) 2010-2024 Highsoft AS
 * Author: Torstein Honsi
 *
 * License: www.highcharts.com/license
 *
 * */function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("highcharts"),require("highcharts").Color):"function"==typeof define&&define.amd?define("highcharts/modules/boost",[["highcharts/highcharts"],["highcharts/highcharts","Color"]],t):"object"==typeof exports?exports["highcharts/modules/boost"]=t(require("highcharts"),require("highcharts").Color):e.Highcharts=t(e.Highcharts,e.Highcharts.Color)}(this,function(e,t){return function(){"use strict";var i,r,o,n,s,a,l,h,d={620:function(e){e.exports=t},944:function(t){t.exports=e}},u={};function f(e){var t=u[e];if(void 0!==t)return t.exports;var i=u[e]={exports:{}};return d[e](i,i.exports,f),i.exports}f.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(t,{a:t}),t},f.d=function(e,t){for(var i in t)f.o(t,i)&&!f.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},f.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)};var c={};f.d(c,{default:function(){return ew}});var g=f(944),p=f.n(g),m=["area","areaspline","arearange","column","columnrange","bar","line","scatter","heatmap","bubble","treemap"],b={};m.forEach(function(e){b[e]=!0});var x=p().composed,v=p().addEvent,A=p().pick,y=p().pushUnique;function P(e){var t=e.series,i=e.boost=e.boost||{},r=e.options.boost||{},o=A(r.seriesThreshold,50);if(t.length>=o)return!0;if(1===t.length)return!1;var n=r.allowForce;if(void 0===n){n=!0;for(var s=0,a=e.xAxis;s<a.length;s++){var l=a[s];if(A(l.min,-1/0)>A(l.dataMin,-1/0)||A(l.max,1/0)<A(l.dataMax,1/0)){n=!1;break}}}if(void 0!==i.forceChartBoost){if(n)return i.forceChartBoost;i.forceChartBoost=void 0}for(var h,d=0,u=0,f=0;f<t.length;f++){var c=t[f];0!==(h=c.options).boostThreshold&&!1!==c.visible&&"heatmap"!==c.type&&(b[c.type]&&++d,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var i=-Number.MAX_VALUE;return e.forEach(function(e){if(null!=e&&void 0!==e.length&&e.length>0)return i=e.length,!0}),i}(c.getColumn("x",!0),h.data,c.points)>=(h.boostThreshold||Number.MAX_VALUE)&&++u)}return i.forceChartBoost=n&&(d===t.length&&u===d||u>5),i.forceChartBoost}var T=function(e,t){var i=e.navigator,r={x:e.plotLeft,y:e.plotTop,width:e.plotWidth,height:e.plotHeight};if(i&&e.inverted?(r.width+=i.top+i.height,i.opposite||(r.x=i.left)):i&&!e.inverted&&(r.height=i.top+i.height-e.plotTop),t.getClipBox){var o=t.xAxis,n=t.yAxis;if(r=t.getClipBox(),e.inverted){var s=r.width;r.width=r.height,r.height=s,r.x=n.pos,r.y=o.pos}else r.x=o.pos,r.y=n.pos}if(t===e){var a=e.inverted?e.xAxis:e.yAxis;a.length<=1&&(r.y=Math.min(a[0].pos,r.y),r.height=a[0].pos-e.plotTop+a[0].len)}return r},k=f(620),C=f.n(k),E={area:"LINES",arearange:"LINES",areaspline:"LINES",column:"LINES",columnrange:"LINES",bar:"LINES",line:"LINE_STRIP",scatter:"POINTS",heatmap:"TRIANGLES",treemap:"TRIANGLES",bubble:"POINTS"},M=p().clamp,S=p().error,w=p().pick,U=function(){function e(e){if(this.errors=[],this.uLocations={},this.gl=e,e&&!this.createShader())return}return e.prototype.bind=function(){this.gl&&this.shaderProgram&&this.gl.useProgram(this.shaderProgram)},e.prototype.createShader=function(){var e=this,t=this.stringToProgram("#version 100\n#define LN10 2.302585092994046\nprecision highp float;\nattribute vec4 aVertexPosition;\nattribute vec4 aColor;\nvarying highp vec2 position;\nvarying highp vec4 vColor;\nuniform mat4 uPMatrix;\nuniform float pSize;\nuniform float translatedThreshold;\nuniform bool hasThreshold;\nuniform bool skipTranslation;\nuniform float xAxisTrans;\nuniform float xAxisMin;\nuniform float xAxisMinPad;\nuniform float xAxisPointRange;\nuniform float xAxisLen;\nuniform bool  xAxisPostTranslate;\nuniform float xAxisOrdinalSlope;\nuniform float xAxisOrdinalOffset;\nuniform float xAxisPos;\nuniform bool  xAxisCVSCoord;\nuniform bool  xAxisIsLog;\nuniform bool  xAxisReversed;\nuniform float yAxisTrans;\nuniform float yAxisMin;\nuniform float yAxisMinPad;\nuniform float yAxisPointRange;\nuniform float yAxisLen;\nuniform bool  yAxisPostTranslate;\nuniform float yAxisOrdinalSlope;\nuniform float yAxisOrdinalOffset;\nuniform float yAxisPos;\nuniform bool  yAxisCVSCoord;\nuniform bool  yAxisIsLog;\nuniform bool  yAxisReversed;\nuniform bool  isBubble;\nuniform bool  bubbleSizeByArea;\nuniform float bubbleZMin;\nuniform float bubbleZMax;\nuniform float bubbleZThreshold;\nuniform float bubbleMinSize;\nuniform float bubbleMaxSize;\nuniform bool  bubbleSizeAbs;\nuniform bool  isInverted;\nfloat bubbleRadius(){\nfloat value = aVertexPosition.w;\nfloat zMax = bubbleZMax;\nfloat zMin = bubbleZMin;\nfloat radius = 0.0;\nfloat pos = 0.0;\nfloat zRange = zMax - zMin;\nif (bubbleSizeAbs){\nvalue = value - bubbleZThreshold;\nzMax = max(zMax - bubbleZThreshold, zMin - bubbleZThreshold);\nzMin = 0.0;\n}\nif (value < zMin){\nradius = bubbleZMin / 2.0 - 1.0;\n} else {\npos = zRange > 0.0 ? (value - zMin) / zRange : 0.5;\nif (bubbleSizeByArea && pos > 0.0){\npos = sqrt(pos);\n}\nradius = ceil(bubbleMinSize + pos * (bubbleMaxSize - bubbleMinSize)) / 2.0;\n}\nreturn radius * 2.0;\n}\nfloat translate(float val,\nfloat pointPlacement,\nfloat localA,\nfloat localMin,\nfloat minPixelPadding,\nfloat pointRange,\nfloat len,\nbool  cvsCoord,\nbool  isLog,\nbool  reversed\n){\nfloat sign = 1.0;\nfloat cvsOffset = 0.0;\nif (cvsCoord) {\nsign *= -1.0;\ncvsOffset = len;\n}\nif (isLog) {\nval = log(val) / LN10;\n}\nif (reversed) {\nsign *= -1.0;\ncvsOffset -= sign * len;\n}\nreturn sign * (val - localMin) * localA + cvsOffset + \n(sign * minPixelPadding);\n}\nfloat xToPixels(float value) {\nif (skipTranslation){\nreturn value;// + xAxisPos;\n}\nreturn translate(value, 0.0, xAxisTrans, xAxisMin, xAxisMinPad, xAxisPointRange, xAxisLen, xAxisCVSCoord, xAxisIsLog, xAxisReversed);// + xAxisPos;\n}\nfloat yToPixels(float value, float checkTreshold) {\nfloat v;\nif (skipTranslation){\nv = value;// + yAxisPos;\n} else {\nv = translate(value, 0.0, yAxisTrans, yAxisMin, yAxisMinPad, yAxisPointRange, yAxisLen, yAxisCVSCoord, yAxisIsLog, yAxisReversed);// + yAxisPos;\nif (v > yAxisLen) {\nv = yAxisLen;\n}\n}\nif (checkTreshold > 0.0 && hasThreshold) {\nv = min(v, translatedThreshold);\n}\nreturn v;\n}\nvoid main(void) {\nif (isBubble){\ngl_PointSize = bubbleRadius();\n} else {\ngl_PointSize = pSize;\n}\nvColor = aColor;\nif (skipTranslation && isInverted) {\ngl_Position = uPMatrix * vec4(aVertexPosition.y + yAxisPos, aVertexPosition.x + xAxisPos, 0.0, 1.0);\n} else if (isInverted) {\ngl_Position = uPMatrix * vec4(yToPixels(aVertexPosition.y, aVertexPosition.z) + yAxisPos, xToPixels(aVertexPosition.x) + xAxisPos, 0.0, 1.0);\n} else {\ngl_Position = uPMatrix * vec4(xToPixels(aVertexPosition.x) + xAxisPos, yToPixels(aVertexPosition.y, aVertexPosition.z) + yAxisPos, 0.0, 1.0);\n}\n}","vertex"),i=this.stringToProgram("precision highp float;\nuniform vec4 fillColor;\nvarying highp vec2 position;\nvarying highp vec4 vColor;\nuniform sampler2D uSampler;\nuniform bool isCircle;\nuniform bool hasColor;\nvoid main(void) {\nvec4 col = fillColor;\nvec4 tcol = texture2D(uSampler, gl_PointCoord.st);\nif (hasColor) {\ncol = vColor;\n}\nif (isCircle) {\ncol *= tcol;\nif (tcol.r < 0.0) {\ndiscard;\n} else {\ngl_FragColor = col;\n}\n} else {\ngl_FragColor = col;\n}\n}","fragment"),r=function(t){return e.gl.getUniformLocation(e.shaderProgram,t)};return t&&i?(this.shaderProgram=this.gl.createProgram(),this.gl.attachShader(this.shaderProgram,t),this.gl.attachShader(this.shaderProgram,i),this.gl.linkProgram(this.shaderProgram),this.gl.getProgramParameter(this.shaderProgram,this.gl.LINK_STATUS))?(this.gl.useProgram(this.shaderProgram),this.gl.bindAttribLocation(this.shaderProgram,0,"aVertexPosition"),this.pUniform=r("uPMatrix"),this.psUniform=r("pSize"),this.fcUniform=r("fillColor"),this.isBubbleUniform=r("isBubble"),this.bubbleSizeAbsUniform=r("bubbleSizeAbs"),this.bubbleSizeAreaUniform=r("bubbleSizeByArea"),this.uSamplerUniform=r("uSampler"),this.skipTranslationUniform=r("skipTranslation"),this.isCircleUniform=r("isCircle"),this.isInverted=r("isInverted"),!0):(this.errors.push(this.gl.getProgramInfoLog(this.shaderProgram)),this.handleErrors(),this.shaderProgram=!1,!1):(this.shaderProgram=!1,this.handleErrors(),!1)},e.prototype.handleErrors=function(){this.errors.length&&S("[highcharts boost] shader error - "+this.errors.join("\n"))},e.prototype.stringToProgram=function(e,t){var i=this.gl.createShader("vertex"===t?this.gl.VERTEX_SHADER:this.gl.FRAGMENT_SHADER);return(this.gl.shaderSource(i,e),this.gl.compileShader(i),this.gl.getShaderParameter(i,this.gl.COMPILE_STATUS))?i:(this.errors.push("when compiling "+t+" shader:\n"+this.gl.getShaderInfoLog(i)),!1)},e.prototype.destroy=function(){this.gl&&this.shaderProgram&&(this.gl.deleteProgram(this.shaderProgram),this.shaderProgram=!1)},e.prototype.fillColorUniform=function(){return this.fcUniform},e.prototype.getProgram=function(){return this.shaderProgram},e.prototype.pointSizeUniform=function(){return this.psUniform},e.prototype.perspectiveUniform=function(){return this.pUniform},e.prototype.reset=function(){this.gl&&this.shaderProgram&&(this.gl.uniform1i(this.isBubbleUniform,0),this.gl.uniform1i(this.isCircleUniform,0))},e.prototype.setBubbleUniforms=function(e,t,i,r){void 0===r&&(r=1);var o=e.options,n=Number.MAX_VALUE,s=-Number.MAX_VALUE;if(this.gl&&this.shaderProgram&&e.is("bubble")){var a=e.getPxExtremes();n=w(o.zMin,M(t,!1===o.displayNegative?o.zThreshold:-Number.MAX_VALUE,n)),s=w(o.zMax,Math.max(s,i)),this.gl.uniform1i(this.isBubbleUniform,1),this.gl.uniform1i(this.isCircleUniform,1),this.gl.uniform1i(this.bubbleSizeAreaUniform,"width"!==e.options.sizeBy),this.gl.uniform1i(this.bubbleSizeAbsUniform,e.options.sizeByAbsoluteValue),this.setUniform("bubbleMinSize",a.minPxSize*r),this.setUniform("bubbleMaxSize",a.maxPxSize*r),this.setUniform("bubbleZMin",n),this.setUniform("bubbleZMax",s),this.setUniform("bubbleZThreshold",e.options.zThreshold)}},e.prototype.setColor=function(e){this.gl&&this.shaderProgram&&this.gl.uniform4f(this.fcUniform,e[0]/255,e[1]/255,e[2]/255,e[3])},e.prototype.setDrawAsCircle=function(e){this.gl&&this.shaderProgram&&this.gl.uniform1i(this.isCircleUniform,e?1:0)},e.prototype.setInverted=function(e){this.gl&&this.shaderProgram&&this.gl.uniform1i(this.isInverted,e)},e.prototype.setPMatrix=function(e){this.gl&&this.shaderProgram&&this.gl.uniformMatrix4fv(this.pUniform,!1,e)},e.prototype.setPointSize=function(e){this.gl&&this.shaderProgram&&this.gl.uniform1f(this.psUniform,e)},e.prototype.setSkipTranslation=function(e){this.gl&&this.shaderProgram&&this.gl.uniform1i(this.skipTranslationUniform,!0===e?1:0)},e.prototype.setTexture=function(e){this.gl&&this.shaderProgram&&this.gl.uniform1i(this.uSamplerUniform,e)},e.prototype.setUniform=function(e,t){if(this.gl&&this.shaderProgram){var i=this.uLocations[e]=this.uLocations[e]||this.gl.getUniformLocation(this.shaderProgram,e);this.gl.uniform1f(i,t)}},e}(),R=function(){function e(e,t,i){this.buffer=!1,this.iterator=0,this.preAllocated=!1,this.vertAttribute=!1,this.components=i||2,this.dataComponents=i,this.gl=e,this.shader=t}return e.prototype.allocate=function(e){this.iterator=-1,this.preAllocated=new Float32Array(4*e)},e.prototype.bind=function(){if(!this.buffer)return!1;this.gl.vertexAttribPointer(this.vertAttribute,this.components,this.gl.FLOAT,!1,0,0)},e.prototype.build=function(e,t,i){var r;return(this.data=e||[],this.data&&0!==this.data.length||this.preAllocated)?(this.components=i||this.components,this.buffer&&this.gl.deleteBuffer(this.buffer),this.preAllocated||(r=new Float32Array(this.data)),this.buffer=this.gl.createBuffer(),this.gl.bindBuffer(this.gl.ARRAY_BUFFER,this.buffer),this.gl.bufferData(this.gl.ARRAY_BUFFER,this.preAllocated||r,this.gl.STATIC_DRAW),this.vertAttribute=this.gl.getAttribLocation(this.shader.getProgram(),t),this.gl.enableVertexAttribArray(this.vertAttribute),r=!1,!0):(this.destroy(),!1)},e.prototype.destroy=function(){this.buffer&&(this.gl.deleteBuffer(this.buffer),this.buffer=!1,this.vertAttribute=!1),this.iterator=0,this.components=this.dataComponents||2,this.data=[]},e.prototype.push=function(e,t,i,r){this.preAllocated&&(this.preAllocated[++this.iterator]=e,this.preAllocated[++this.iterator]=t,this.preAllocated[++this.iterator]=i,this.preAllocated[++this.iterator]=r)},e.prototype.render=function(e,t,i){var r=this.preAllocated?this.preAllocated.length:this.data.length;return!!this.buffer&&!!r&&((!e||e>r||e<0)&&(e=0),(!t||t>r)&&(t=r),!(e>=t)&&(i=i||"POINTS",this.gl.drawArrays(this.gl[i],e/this.components,(t-e)/this.components),!0))},e}(),L=C().parse,z=p().doc,_=p().win,N=p().isNumber,D=p().isObject,I=p().merge,G=p().objectEach,O=p().pick,B={column:!0,columnrange:!0,bar:!0,area:!0,areaspline:!0,arearange:!0},V={scatter:!0,bubble:!0},X=["webgl","experimental-webgl","moz-webgl","webkit-3d"],F=function(){function e(e){this.data=[],this.height=0,this.isInited=!1,this.markerData=[],this.series=[],this.textureHandles={},this.width=0,this.postRenderCallback=e,this.settings={pointSize:1,lineWidth:1,fillColor:"#AA00AA",useAlpha:!0,usePreallocated:!1,useGPUTranslations:!1,debug:{timeRendering:!1,timeSeriesProcessing:!1,timeSetup:!1,timeBufferCopy:!1,timeKDTree:!1,showSkipSummary:!1}}}return e.orthoMatrix=function(e,t){return[2/e,0,0,0,0,-(2/t),0,0,0,0,-2,0,-1,1,-1,1]},e.seriesPointCount=function(e){var t,i,r;return e.boosted?(t=!!e.options.stacking,i=(e.getColumn("x").length?e.getColumn("x"):void 0)||e.options.xData||e.getColumn("x",!0),r=(t?e.data:i||e.options.data).length,"treemap"===e.type?r*=12:"heatmap"===e.type?r*=6:B[e.type]&&(r*=2),r):0},e.prototype.getPixelRatio=function(){return this.settings.pixelRatio||_.devicePixelRatio||1},e.prototype.setOptions=function(e){"pixelRatio"in e||(e.pixelRatio=1),I(!0,this.settings,e)},e.prototype.allocateBuffer=function(t){var i=this.vbuffer,r=0;this.settings.usePreallocated&&(t.series.forEach(function(t){t.boosted&&(r+=e.seriesPointCount(t))}),i&&i.allocate(r))},e.prototype.allocateBufferForSingleSeries=function(t){var i=this.vbuffer,r=0;this.settings.usePreallocated&&(t.boosted&&(r=e.seriesPointCount(t)),i&&i.allocate(r))},e.prototype.clear=function(){var e=this.gl;e&&e.clear(e.COLOR_BUFFER_BIT|e.DEPTH_BUFFER_BIT)},e.prototype.pushSeriesData=function(e,t){var i,r,o,n,s,a,l,h,d,u,f=this,c=this.data,g=this.settings,p=this.vbuffer,m=e.pointArrayMap&&"low,high"===e.pointArrayMap.join(","),b=e.chart,x=e.options,v=e.sorted,A=e.xAxis,y=e.yAxis,P=!!x.stacking,T=x.data,k=e.xAxis.getExtremes(),C=k.min-(e.xAxis.minPointOffset||0),E=k.max+(e.xAxis.minPointOffset||0),M=e.yAxis.getExtremes(),S=M.min-(e.yAxis.minPointOffset||0),w=M.max+(e.yAxis.minPointOffset||0),U=(e.getColumn("x").length?e.getColumn("x"):void 0)||x.xData||e.getColumn("x",!0),R=(e.getColumn("y").length?e.getColumn("y"):void 0)||x.yData||e.getColumn("y",!0),z=(e.getColumn("z").length?e.getColumn("z"):void 0)||x.zData||e.getColumn("z",!0),_=!U||0===U.length,N=x.connectNulls,I=e.points||!1,G=P?e.data:U||T,O={x:Number.MAX_VALUE,y:0},V={x:-Number.MAX_VALUE,y:0},X=void 0===b.index,F=B[e.type],H=x.zoneAxis||"y",q=x.zones||!1,W=x.threshold,j=this.getPixelRatio(),Y=e.chart.plotWidth,Z=!1,K=!1,Q=0,J=!1,$=-1,ee=!1,et=!1,ei=!1,er=!1,eo=!1,en=!1,es=!0,ea=!0,el=!1,eh=!1,ed=0;if(!x.boostData||!(x.boostData.length>0)){x.gapSize&&(eh="value"!==x.gapUnit?x.gapSize*e.closestPointRange:x.gapSize),q&&(u=[],q.forEach(function(e,t){if(e.color){var i=L(e.color).rgba;i[0]/=255,i[1]/=255,i[2]/=255,u[t]=i,el||void 0!==e.value||(el=i)}}),el||(el=L(e.pointAttribs&&e.pointAttribs().fill||e.color).rgba,el[0]/=255,el[1]/=255,el[2]/=255)),b.inverted&&(Y=e.chart.plotHeight),e.closestPointRangePx=Number.MAX_VALUE;var eu=function(e){e&&(t.colorData.push(e[0]),t.colorData.push(e[1]),t.colorData.push(e[2]),t.colorData.push(e[3]))},ef=function(e,i,r,o,n){void 0===o&&(o=1),eu(n),1!==j&&(!g.useGPUTranslations||t.skipTranslation)&&(e*=j,i*=j,o*=j),g.usePreallocated&&p?(p.push(e,i,r?1:0,o),ed+=4):(c.push(e),c.push(i),c.push(r?j:0),c.push(o))},ec=function(){t.segments.length&&(t.segments[t.segments.length-1].to=c.length||ed)},eg=function(){t.segments.length&&t.segments[t.segments.length-1].from===(c.length||ed)||(ec(),t.segments.push({from:c.length||ed}))},ep=function(e,t,i,r,o){eu(o),ef(e+i,t),eu(o),ef(e,t),eu(o),ef(e,t+r),eu(o),ef(e,t+r),eu(o),ef(e+i,t+r),eu(o),ef(e+i,t)};if(eg(),I&&I.length>0){t.skipTranslation=!0,t.drawMode="TRIANGLES",I[0].node&&I[0].node.levelDynamic&&I.sort(function(e,t){if(e.node){if(e.node.levelDynamic>t.node.levelDynamic)return 1;if(e.node.levelDynamic<t.node.levelDynamic)return -1}return 0}),I.forEach(function(t){var i,r,o=t.plotY;if(void 0!==o&&!isNaN(o)&&null!==t.y&&t.shapeArgs){var s=t.shapeArgs,a=s.x,l=void 0===a?0:a,h=s.y,d=void 0===h?0:h,u=s.width,f=void 0===u?0:u,c=s.height,g=void 0===c?0:c;i=(r=b.styledMode?t.series.colorAttribs(t):r=t.series.pointAttribs(t))["stroke-width"]||0,eo=L(r.fill).rgba,eo[0]/=255,eo[1]/=255,eo[2]/=255,e.is("treemap")&&(i=i||1,n=L(r.stroke).rgba,n[0]/=255,n[1]/=255,n[2]/=255,ep(l,d,f,g,n),i/=2),e.is("heatmap")&&b.inverted&&(l=A.len-l,d=y.len-d,f=-f,g=-g),ep(l+i,d+i,f-2*i,g-2*i,eo)}}),ec();return}for(;$<G.length-1&&"break"!==function(){if(void 0===(l=G[++$]))return"continue";if(X)return"break";var n,f=T&&T[$];return(!_&&D(f,!0)&&f.color&&(eo=L(f.color).rgba,eo[0]/=255,eo[1]/=255,eo[2]/=255),_?(s=l[0],a=l[1],G[$+1]&&(et=G[$+1][0]),G[$-1]&&(ee=G[$-1][0]),l.length>=3&&(h=l[2],l[2]>t.zMax&&(t.zMax=l[2]),l[2]<t.zMin&&(t.zMin=l[2]))):(s=l,a=null==R?void 0:R[$],G[$+1]&&(et=G[$+1]),G[$-1]&&(ee=G[$-1]),z&&z.length&&(h=z[$],z[$]>t.zMax&&(t.zMax=z[$]),z[$]<t.zMin&&(t.zMin=z[$]))),N||null!==s&&null!==a)?(et&&et>=C&&et<=E&&(ei=!0),ee&&ee>=C&&ee<=E&&(er=!0),m?(_&&(a=l.slice(1,3)),d=null===(i=e.getColumn("low",!0))||void 0===i?void 0:i[$],a=(null===(r=e.getColumn("high",!0))||void 0===r?void 0:r[$])||0):P&&(s=l.x,d=(a=l.stackY)-l.y),null!=S&&null!=w&&(es=a>=S&&a<=w),v||es)?(s>E&&V.x<E&&(V.x=s,V.y=a),s<C&&O.x>C&&(O.x=s,O.y=a),null===a&&N)?"continue":null!==a&&(es||ei||er)?((v&&(et>=C||s>=C)&&(ee<=E||s<=E)||!v&&s>=C&&s<=E)&&(en=!0),en||ei||er)?(eh&&s-ee>eh&&eg(),q&&(q.some(function(e,t){var i=q[t-1];return"x"===H?void 0!==e.value&&s<=e.value&&(u[t]&&(!i||s>=i.value)&&(n=u[t]),!0):void 0!==e.value&&a<=e.value&&(u[t]&&(!i||a>=i.value)&&(n=u[t]),!0)}),eo=n||el||eo),!g.useGPUTranslations&&(t.skipTranslation=!0,s=A.toPixels(s,!0),a=y.toPixels(a,!0),s>Y&&"POINTS"===t.drawMode))?"continue":(t.hasMarkers&&en&&!1!==Z&&(e.closestPointRangePx=Math.min(e.closestPointRangePx,Math.abs(s-Z))),!g.useGPUTranslations&&!g.usePreallocated&&Z&&1>Math.abs(s-Z)&&K&&1>Math.abs(a-K))?(g.debug.showSkipSummary&&++Q,"continue"):void(F&&(o=d||0,(!1===d||void 0===d)&&(o=a<0?a:0),(m||P)&&!y.logarithmic||(o=Math.max(null===W?S:W,S)),g.useGPUTranslations||(o=y.toPixels(o,!0)),ef(s,o,0,0,eo)),x.step&&!ea&&ef(s,K,0,2,eo),ef(s,a,0,"bubble"===e.type?h||1:2,eo),Z=s,K=a,J=!0,ea=!1):"continue":(eg(),"continue"):"continue":(eg(),"continue")}(););g.debug.showSkipSummary&&console.log("skipped points:",Q);var em=function(e,i){if(g.useGPUTranslations||(t.skipTranslation=!0,e.x=A.toPixels(e.x,!0),e.y=y.toPixels(e.y,!0)),i){f.data=[e.x,e.y,0,2].concat(f.data);return}ef(e.x,e.y,0,2)};!J&&!1!==N&&"line_strip"===e.drawMode&&(O.x<Number.MAX_VALUE&&em(O,!0),V.x>-Number.MAX_VALUE&&em(V)),ec()}},e.prototype.pushSeries=function(e){var t=this.markerData,i=this.series,r=this.settings;i.length>0&&i[i.length-1].hasMarkers&&(i[i.length-1].markerTo=t.length),r.debug.timeSeriesProcessing&&console.time("building "+e.type+" series");var o={segments:[],markerFrom:t.length,colorData:[],series:e,zMin:Number.MAX_VALUE,zMax:-Number.MAX_VALUE,hasMarkers:!!e.options.marker&&!1!==e.options.marker.enabled,showMarkers:!0,drawMode:E[e.type]||"LINE_STRIP"};e.index>=i.length?i.push(o):i[e.index]=o,this.pushSeriesData(e,o),r.debug.timeSeriesProcessing&&console.timeEnd("building "+e.type+" series")},e.prototype.flush=function(){var e=this.vbuffer;this.data=[],this.markerData=[],this.series=[],e&&e.destroy()},e.prototype.setXAxis=function(e){var t=this.shader;if(t){var i=this.getPixelRatio();t.setUniform("xAxisTrans",e.transA*i),t.setUniform("xAxisMin",e.min),t.setUniform("xAxisMinPad",e.minPixelPadding*i),t.setUniform("xAxisPointRange",e.pointRange),t.setUniform("xAxisLen",e.len*i),t.setUniform("xAxisPos",e.pos*i),t.setUniform("xAxisCVSCoord",!e.horiz),t.setUniform("xAxisIsLog",!!e.logarithmic),t.setUniform("xAxisReversed",!!e.reversed)}},e.prototype.setYAxis=function(e){var t=this.shader;if(t){var i=this.getPixelRatio();t.setUniform("yAxisTrans",e.transA*i),t.setUniform("yAxisMin",e.min),t.setUniform("yAxisMinPad",e.minPixelPadding*i),t.setUniform("yAxisPointRange",e.pointRange),t.setUniform("yAxisLen",e.len*i),t.setUniform("yAxisPos",e.pos*i),t.setUniform("yAxisCVSCoord",!e.horiz),t.setUniform("yAxisIsLog",!!e.logarithmic),t.setUniform("yAxisReversed",!!e.reversed)}},e.prototype.setThreshold=function(e,t){var i=this.shader;i&&(i.setUniform("hasThreshold",e),i.setUniform("translatedThreshold",t))},e.prototype.renderChart=function(t){var i=this,r=this.gl,o=this.settings,n=this.shader,s=this.vbuffer,a=this.getPixelRatio();if(!t)return!1;this.width=t.chartWidth*a,this.height=t.chartHeight*a;var l=this.height,h=this.width;if(!r||!n||!h||!l)return!1;o.debug.timeRendering&&console.time("gl rendering"),r.canvas.width=h,r.canvas.height=l,n.bind(),r.viewport(0,0,h,l),n.setPMatrix(e.orthoMatrix(h,l)),o.lineWidth>1&&!p().isMS&&r.lineWidth(o.lineWidth),s&&(s.build(this.data,"aVertexPosition",4),s.bind()),n.setInverted(t.inverted),this.series.forEach(function(e,l){var h,d,u,f,c,g,p=e.series.options,m=p.marker,b=void 0!==p.lineWidth?p.lineWidth:1,x=p.threshold,v=N(x),A=e.series.yAxis.getThreshold(x),y=O(p.marker?p.marker.enabled:null,!!e.series.xAxis.isRadial||null,e.series.closestPointRangePx>2*((p.marker?p.marker.radius:10)||10)),P=i.textureHandles[m&&m.symbol||e.series.symbol]||i.textureHandles.circle,T=[];if(0!==e.segments.length&&e.segments[0].from!==e.segments[0].to&&(P.isReady&&(r.bindTexture(r.TEXTURE_2D,P.handle),n.setTexture(P.handle)),t.styledMode?e.series.markerGroup===(null===(h=e.series.chart.boost)||void 0===h?void 0:h.markerGroup)?(delete e.series.markerGroup,e.series.markerGroup=e.series.plotGroup("markerGroup","markers","visible",1,t.seriesGroup).addClass("highcharts-tracker"),g=e.series.markerGroup.getStyle("fill"),e.series.markerGroup.destroy(),e.series.markerGroup=null===(d=e.series.chart.boost)||void 0===d?void 0:d.markerGroup):g=null===(u=e.series.markerGroup)||void 0===u?void 0:u.getStyle("fill"):(g="POINTS"===e.drawMode&&e.series.pointAttribs&&e.series.pointAttribs().fill||e.series.color,p.colorByPoint&&(g=e.series.chart.options.colors[l])),e.series.fillOpacity&&p.fillOpacity&&(g=new(C())(g).setOpacity(O(p.fillOpacity,1)).get()),T=L(g).rgba,o.useAlpha||(T[3]=1),"add"===p.boostBlending?(r.blendFunc(r.SRC_ALPHA,r.ONE),r.blendEquation(r.FUNC_ADD)):"mult"===p.boostBlending||"multiply"===p.boostBlending?r.blendFunc(r.DST_COLOR,r.ZERO):"darken"===p.boostBlending?(r.blendFunc(r.ONE,r.ONE),r.blendEquation(r.FUNC_MIN)):r.blendFuncSeparate(r.SRC_ALPHA,r.ONE_MINUS_SRC_ALPHA,r.ONE,r.ONE_MINUS_SRC_ALPHA),n.reset(),e.colorData.length>0?(n.setUniform("hasColor",1),(c=new R(r,n)).build(Array(e.segments[0].from).concat(e.colorData),"aColor",4),c.bind()):(n.setUniform("hasColor",0),r.disableVertexAttribArray(r.getAttribLocation(n.getProgram(),"aColor"))),n.setColor(T),i.setXAxis(e.series.xAxis),i.setYAxis(e.series.yAxis),i.setThreshold(v,A),"POINTS"===e.drawMode&&n.setPointSize(2*O(p.marker&&p.marker.radius,.5)*a),n.setSkipTranslation(e.skipTranslation),"bubble"===e.series.type&&n.setBubbleUniforms(e.series,e.zMin,e.zMax,a),n.setDrawAsCircle(V[e.series.type]||!1),s)){if(b>0||"LINE_STRIP"!==e.drawMode)for(f=0;f<e.segments.length;f++)s.render(e.segments[f].from,e.segments[f].to,e.drawMode);if(e.hasMarkers&&y)for(n.setPointSize(2*O(p.marker&&p.marker.radius,5)*a),n.setDrawAsCircle(!0),f=0;f<e.segments.length;f++)s.render(e.segments[f].from,e.segments[f].to,"POINTS")}}),o.debug.timeRendering&&console.timeEnd("gl rendering"),this.postRenderCallback&&this.postRenderCallback(this),this.flush()},e.prototype.render=function(e){var t=this;if(this.clear(),e.renderer.forExport)return this.renderChart(e);this.isInited?this.renderChart(e):setTimeout(function(){t.render(e)},1)},e.prototype.setSize=function(t,i){var r=this.shader;r&&(this.width!==t||this.height!==i)&&(this.width=t,this.height=i,r.bind(),r.setPMatrix(e.orthoMatrix(t,i)))},e.prototype.init=function(e,t){var i=this,r=this.settings;if(this.isInited=!1,!e)return!1;r.debug.timeSetup&&console.time("gl setup");for(var o=0;o<X.length&&(this.gl=e.getContext(X[o],{}),!this.gl);++o);var n=this.gl;if(!n)return!1;t||this.flush(),n.enable(n.BLEND),n.blendFunc(n.SRC_ALPHA,n.ONE_MINUS_SRC_ALPHA),n.disable(n.DEPTH_TEST),n.depthFunc(n.LESS);var s=this.shader=new U(n);if(!s)return!1;this.vbuffer=new R(n,s);var a=function(e,t){var r={isReady:!1,texture:z.createElement("canvas"),handle:n.createTexture()},o=r.texture.getContext("2d");i.textureHandles[e]=r,r.texture.width=512,r.texture.height=512,o.mozImageSmoothingEnabled=!1,o.webkitImageSmoothingEnabled=!1,o.msImageSmoothingEnabled=!1,o.imageSmoothingEnabled=!1,o.strokeStyle="rgba(255, 255, 255, 0)",o.fillStyle="#FFF",t(o);try{n.activeTexture(n.TEXTURE0),n.bindTexture(n.TEXTURE_2D,r.handle),n.texImage2D(n.TEXTURE_2D,0,n.RGBA,n.RGBA,n.UNSIGNED_BYTE,r.texture),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_S,n.CLAMP_TO_EDGE),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_T,n.CLAMP_TO_EDGE),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MAG_FILTER,n.LINEAR),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MIN_FILTER,n.LINEAR),n.bindTexture(n.TEXTURE_2D,null),r.isReady=!0}catch(e){}};return a("circle",function(e){e.beginPath(),e.arc(256,256,256,0,2*Math.PI),e.stroke(),e.fill()}),a("square",function(e){e.fillRect(0,0,512,512)}),a("diamond",function(e){e.beginPath(),e.moveTo(256,0),e.lineTo(512,256),e.lineTo(256,512),e.lineTo(0,256),e.lineTo(256,0),e.fill()}),a("triangle",function(e){e.beginPath(),e.moveTo(0,512),e.lineTo(256,0),e.lineTo(512,512),e.lineTo(0,512),e.fill()}),a("triangle-down",function(e){e.beginPath(),e.moveTo(0,0),e.lineTo(256,512),e.lineTo(512,0),e.lineTo(0,0),e.fill()}),this.isInited=!0,r.debug.timeSetup&&console.timeEnd("gl setup"),!0},e.prototype.destroy=function(){var e=this.gl,t=this.shader,i=this.vbuffer;this.flush(),i&&i.destroy(),t&&t.destroy(),e&&(G(this.textureHandles,function(t){t.handle&&e.deleteTexture(t.handle)}),e.canvas.width=1,e.canvas.height=1)},e}(),H=p().getOptions,q=p().composed,W=p().doc,j=p().noop,Y=p().win,Z=p().addEvent,K=p().destroyObjectProperties,Q=p().error,J=p().extend,$=p().fireEvent,ee=p().isArray,et=p().isNumber,ei=p().pick,er=p().pushUnique,eo=p().wrap,en=p().defined;function es(e,t){var i=t.boost;e&&i&&i.target&&i.canvas&&!P(t.chart)&&e.allocateBufferForSingleSeries(t)}function ea(e){return ei(e&&e.options&&e.options.boost&&e.options.boost.enabled,!0)}function el(e,t){var i,r,o,n=e.constructor,s=e.seriesGroup||t.group,a=e.chartWidth,l=e.chartHeight,d=e,u="undefined"!=typeof SVGForeignObjectElement,f=!1;P(e)?d=e:(d=t,f=!!((null===(i=t.options.events)||void 0===i?void 0:i.click)||(null===(o=null===(r=t.options.point)||void 0===r?void 0:r.events)||void 0===o?void 0:o.click)));var c=d.boost=d.boost||{};if(u=!1,h||(h=W.createElement("canvas")),!c.target&&(c.canvas=h,e.renderer.forExport||!u?(d.renderTarget=c.target=e.renderer.image("",0,0,a,l).addClass("highcharts-boost-canvas").add(s),c.clear=function(){c.target.attr({href:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="})},c.copy=function(){c.resize(),c.target.attr({href:c.canvas.toDataURL("image/png")})}):(c.targetFo=e.renderer.createElement("foreignObject").add(s),d.renderTarget=c.target=W.createElement("canvas"),c.targetCtx=c.target.getContext("2d"),c.targetFo.element.appendChild(c.target),c.clear=function(){c.target.width=c.canvas.width,c.target.height=c.canvas.height},c.copy=function(){c.target.width=c.canvas.width,c.target.height=c.canvas.height,c.targetCtx.drawImage(c.canvas,0,0)}),c.resize=function(){var t,i;a=e.chartWidth,l=e.chartHeight,(c.targetFo||c.target).attr({x:0,y:0,width:a,height:l}).css({pointerEvents:f?void 0:"none",mixedBlendMode:"normal",opacity:1}).addClass(f?"highcharts-tracker":""),d instanceof n&&(null===(i=null===(t=d.boost)||void 0===t?void 0:t.markerGroup)||void 0===i||i.translate(e.plotLeft,e.plotTop))},c.clipRect=e.renderer.clipRect(),(c.targetFo||c.target).attr({zIndex:t.options.zIndex}),d instanceof n&&(d.boost.markerGroup=d.renderer.g().add(s).translate(t.xAxis.pos,t.yAxis.pos))),c.canvas.width=a,c.canvas.height=l,c.clipRect){var g=T(e,d),p=g.width===e.clipBox.width&&g.height===e.clipBox.height?s:c.targetFo||c.target;c.clipRect.attr(g),null==p||p.clip(c.clipRect)}return c.resize(),c.clear(),!c.wgl&&(c.wgl=new F(function(e){e.settings.debug.timeBufferCopy&&console.time("buffer copy"),c.copy(),e.settings.debug.timeBufferCopy&&console.timeEnd("buffer copy")}),c.wgl.init(c.canvas)||Q("[highcharts boost] - unable to init WebGL renderer"),c.wgl.setOptions(e.options.boost||{}),d instanceof n&&c.wgl.allocateBuffer(e)),c.wgl.setSize(a,l),c.wgl}function eh(e,t){var i=e.options,r=e.dataTable.modified.rowCount,o=e.xAxis&&e.xAxis.options,n=e.yAxis&&e.yAxis.options,s=e.colorAxis&&e.colorAxis.options;return r>(i.boostThreshold||Number.MAX_VALUE)&&et(n.min)&&et(n.max)&&(!t||et(o.min)&&et(o.max))&&(!s||et(s.min)&&et(s.max))}var ed=function(e,t){return!e.forceCrop&&(P(e.chart)||(t?t.length:0)>=(e.options.boostThreshold||Number.MAX_VALUE))};function eu(){var e=this,t=e.chart;t.boost&&t.boost.markerGroup===e.markerGroup&&(e.markerGroup=null),t.hoverPoints&&(t.hoverPoints=t.hoverPoints.filter(function(t){return t.series===e})),t.hoverPoint&&t.hoverPoint.series===e&&(t.hoverPoint=null)}function ef(){var e=this.boost;e&&e.canvas&&e.target&&(e.wgl&&e.wgl.clear(),e.clear&&e.clear())}function ec(e){var t=e.boost;t&&t.canvas&&t.target&&t.wgl&&!P(e.chart)&&t.wgl.render(e.chart)}function eg(e){var t=this.options,i=this.xAxis,r=this.yAxis;if(!this.isDirty&&!i.isDirty&&!r.isDirty&&!e)return!1;this.yAxis.setTickInterval();var o=t.boostThreshold||0,n=t.cropThreshold,s=this.getColumn("x"),a=i.getExtremes(),l=null!==(p=a.max)&&void 0!==p?p:Number.MAX_VALUE,h=null!==(m=a.min)&&void 0!==m?m:-Number.MAX_VALUE,d=this.getColumn("y"),u=r.getExtremes(),f=null!==(b=u.max)&&void 0!==b?b:Number.MAX_VALUE,c=null!==(x=u.min)&&void 0!==x?x:-Number.MAX_VALUE;if(!this.boosted&&i.old&&r.old&&h>=(null!==(v=i.old.min)&&void 0!==v?v:-Number.MAX_VALUE)&&l<=(null!==(A=i.old.max)&&void 0!==A?A:Number.MAX_VALUE)&&c>=(null!==(y=r.old.min)&&void 0!==y?y:-Number.MAX_VALUE)&&f<=(null!==(P=r.old.max)&&void 0!==P?P:Number.MAX_VALUE))return this.dataTable.modified.setColumns({x:s,y:d}),!0;var g=this.dataTable.rowCount;if(!o||g<o||n&&!this.forceCrop&&!this.getExtremesFromAll&&!t.getExtremesFromAll&&g<n)return this.dataTable.modified.setColumns({x:s,y:d}),!0;for(var p,m,b,x,v,A,y,P,T,k,C=[],E=[],M=[],S=!(et(a.max)||et(a.min)),w=!(et(u.max)||et(u.min)),U=!1,R=s[0],L=s[0],z=null==d?void 0:d[0],_=null==d?void 0:d[0],N=0,D=s.length;N<D;++N)T=s[N],k=null==d?void 0:d[N],T>=h&&T<=l&&k>=c&&k<=f?(C.push({x:T,y:k}),E.push(T),M.push(k),S&&(R=Math.max(R,T),L=Math.min(L,T)),w&&(z=Math.max(z,k),_=Math.min(_,k))):U=!0;return S&&(i.dataMax=Math.max(R,i.dataMax||0),i.dataMin=Math.min(L,i.dataMin||0)),w&&(r.dataMax=Math.max(z,r.dataMax||0),r.dataMin=Math.min(_,r.dataMin||0)),this.cropped=U,this.cropStart=0,this.dataTable.modified.setColumns({x:E,y:M}),ed(this,E)||(this.processedData=C),!0}function ep(){var e,t,i,r,o,n=this,s=this.options||{},a=this.chart,h=a.boost,d=this.boost,u=this.xAxis,f=this.yAxis,c=s.xData||this.getColumn("x",!0),g=s.yData||this.getColumn("y",!0),p=this.getColumn("low",!0),m=this.getColumn("high",!0),b=this.processedData||s.data,x=u.getExtremes(),v=x.min-(u.minPointOffset||0),A=x.max+(u.minPointOffset||0),y=f.getExtremes(),T=y.min-(f.minPointOffset||0),k=y.max+(f.minPointOffset||0),C={},E=!!this.sampling,M=s.enableMouseTracking,S=s.threshold,w=this.pointArrayMap&&"low,high"===this.pointArrayMap.join(","),U=!!s.stacking,R=this.cropStart||0,L=this.requireSorting,z=!c,_="x"===s.findNearestPointBy,N=(this.getColumn("x",!0).length?this.getColumn("x",!0):void 0)||this.options.xData||this.getColumn("x",!0),D=ei(s.lineWidth,1),I=!1,G=f.getThreshold(S);if(!u.isPanning&&!f.isPanning&&(I=el(a,this),a.boosted=!0,this.visible)){(this.points||this.graph)&&function(e){var t=e.points;if(t){var i=void 0,r=void 0;for(r=0;r<t.length;r+=1)(i=t[r])&&i.destroyElements&&i.destroyElements()}["graph","area","tracker"].forEach(function(t){var i=e[t];i&&(e[t]=i.destroy())});for(var o=0,n=e.zones;o<n.length;o++)K(n[o],void 0,!0)}(this),P(a)?(this.markerGroup&&this.markerGroup!==(null==h?void 0:h.markerGroup)&&this.markerGroup.destroy(),this.markerGroup=null==h?void 0:h.markerGroup,d&&d.target&&(this.renderTarget=d.target=d.target.destroy())):(this.markerGroup===(null==h?void 0:h.markerGroup)&&(this.markerGroup=void 0),this.markerGroup=this.plotGroup("markerGroup","markers","visible",1,a.seriesGroup).addClass("highcharts-tracker"));var O=this.points=[],B=function(e,t,i,r){var o=!!N&&N[R+i],n=function(e){a.inverted&&(e=u.len-e,t=f.len-t),O.push({destroy:j,x:o,clientX:e,plotX:e,plotY:t,i:R+i,percentage:r})};e=Math.ceil(e),l=_?e:e+","+t,M&&(C[l]?o===N[N.length-1]&&(O.length--,n(e)):(C[l]=!0,n(e)))};this.buildKDTree=j,$(this,"renderCanvas"),this.is("line")&&D>1&&(null==d?void 0:d.target)&&h&&!h.lineWidthFilter&&(h.lineWidthFilter=a.renderer.definition({tagName:"filter",children:[{tagName:"feMorphology",attributes:{operator:"dilate",radius:.25*D}}],attributes:{id:"linewidth"}}),d.target.attr({filter:"url(#linewidth)"})),I&&(es(I,this),I.pushSeries(this),ec(this));var V=I.settings;a.renderer.forExport||(V.debug.timeKDTree&&console.time("kd tree building"),function e(t,i,r,o,n,s){for(var a=(n=n||0)+(o=o||3e3),l=!0;l&&n<a&&n<t.length;)l=i(t[n],n),++n;l&&(n<t.length?s?e(t,i,r,o,n,s):Y.requestAnimationFrame?Y.requestAnimationFrame(function(){e(t,i,r,o,n)}):setTimeout(e,0,t,i,r,o,n):r&&r())}(U?this.data.slice(R):c||b,function(n,s){var l,h,d,c,b,x=void 0===a.index,y=!1,P=!0;return!en(n)||(!x&&(z?(l=n[0],h=n[1]):(l=n,h=null==g?void 0:g[s]),w?(z&&(h=n.slice(1,3)),y=p[s],h=m[s]):U&&(l=n.x,y=(h=n.stackY)-n.y,b=n.percentage),L||(P=(h||0)>=T&&h<=k),null!==h&&l>=v&&l<=A&&P&&(d=u.toPixels(l,!0),E?((void 0===r||d===e)&&(w||(y=h),(void 0===o||h>i)&&(i=h,o=s),(void 0===r||y<t)&&(t=y,r=s)),_&&d===e||(void 0!==r&&(c=f.toPixels(i,!0),G=f.toPixels(t,!0),B(d,c,o,b),G!==c&&B(d,G,r,b)),r=o=void 0,e=d)):B(d,c=Math.ceil(f.toPixels(h,!0)),s,b))),!x)},function(){$(n,"renderedCanvas"),delete n.buildKDTree,n.options&&n.buildKDTree(),V.debug.timeKDTree&&console.timeEnd("kd tree building")}))}}function em(e){var t=!0;if(this.chart.options&&this.chart.options.boost&&(t=void 0===this.chart.options.boost.enabled||this.chart.options.boost.enabled),!t||!this.boosted)return e.call(this);this.chart.boosted=!0;var i=el(this.chart,this);i&&(es(i,this),i.pushSeries(this)),ec(this)}function eb(e){if(this.boosted){if(eh(this))return{};if(this.xAxis.isPanning||this.yAxis.isPanning)return this}return e.apply(this,[].slice.call(arguments,1))}function ex(e){var t,i,r,o=this.options.data;if(ea(this.chart)&&b[this.type]){var n=this.is("scatter")&&!this.is("bubble")&&!this.is("treemap")&&!this.is("heatmap");if(!ed(this,o)||n||this.is("treemap")||this.options.stacking||!eh(this,!0)){if(this.boosted&&((null===(t=this.xAxis)||void 0===t?void 0:t.isPanning)||(null===(i=this.yAxis)||void 0===i?void 0:i.isPanning)))return;n&&!this.yAxis.treeGrid?eg.call(this,arguments[1]):e.apply(this,[].slice.call(arguments,1)),o=this.getColumn("x",!0)}if(this.boosted=ed(this,o),this.boosted){var s=void 0;null===(r=this.options.data)||void 0===r||!r.length||et(s=this.getFirstValidPoint(this.options.data))||ee(s)||this.is("treemap")||Q(12,!1,this.chart),function(e){e.boost=e.boost||{getPoint:function(t){return function(e,t){var i,r=e.options,o=e.xAxis,n=e.pointClass;if(t instanceof n)return t;var s=e.is("scatter"),a=(s&&e.getColumn("x",!0).length?e.getColumn("x",!0):void 0)||(e.getColumn("x").length?e.getColumn("x"):void 0)||r.xData||e.getColumn("x",!0)||!1,l=e.getColumn("y",!0)||r.yData||!1,h=new n(e,s&&a&&l?[a[t.i],l[t.i]]:(ee(e.options.data)?e.options.data:[])[t.i],a?a[t.i]:void 0);return h.category=ei(o.categories?o.categories[h.x]:h.x,h.x),h.key=null!==(i=h.name)&&void 0!==i?i:h.category,h.dist=t.dist,h.distX=t.distX,h.plotX=t.plotX,h.plotY=t.plotY,h.index=t.i,h.percentage=t.percentage,h.isInside=e.isPointInside(h),h}(e,t)}};var t,i=e.boost.altered=[];if(["allowDG","directTouch","stickyTracking"].forEach(function(t){i.push({prop:t,val:e[t],own:Object.hasOwnProperty.call(e,t)})}),e.allowDG=!1,e.directTouch=!1,e.stickyTracking=!0,e.finishedAnimating=!0,e.labelBySeries&&(e.labelBySeries=e.labelBySeries.destroy()),e.is("scatter")&&!e.is("treemap")&&e.data.length){for(var r=0,o=e.data;r<o.length;r++){var n=o[r];null===(t=null==n?void 0:n.destroy)||void 0===t||t.call(n)}e.data.length=0,e.points.length=0,delete e.processedData}}(this)}else!function(e){var t,i=e.boost,r=e.chart,o=r.boost;if(null==o?void 0:o.markerGroup){o.markerGroup.destroy(),o.markerGroup=void 0;for(var n=0,s=r.series;n<s.length;n++){var a=s[n];a.markerGroup=void 0,a.markerGroup=a.plotGroup("markerGroup","markers","visible",1,r.seriesGroup).addClass("highcharts-tracker")}}i&&((i.altered||[]).forEach(function(t){t.own?e[t.prop]=t.val:delete e[t.prop]}),i.clear&&i.clear()),null===(t=r.seriesGroup||e.group)||void 0===t||t.clip()}(this)}else e.apply(this,[].slice.call(arguments,1))}function ev(e){var t=e.apply(this,[].slice.call(arguments,1));return this.boost&&t?this.boost.getPoint(t):t}var eA=function(){return(eA=Object.assign||function(e){for(var t,i=1,r=arguments.length;i<r;i++)for(var o in t=arguments[i])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},ey=function(e,t,i){if(i||2==arguments.length)for(var r,o=0,n=t.length;o<n;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},eP=p().doc,eT=p().win,ek=p().addEvent,eC=p().error,eE=["webgl","experimental-webgl","moz-webgl","webkit-3d"];function eM(){var e;if(void 0!==eT.WebGLRenderingContext){e=eP.createElement("canvas");for(var t=0;t<eE.length;++t)try{if(null!=e.getContext(eE[t]))return!0}catch(e){}}return!1}var eS=p();eS.hasWebGLSupport=eM,i=eS.Chart,r=eS.Axis,o=eS.Series,n=eS.seriesTypes,s=eS.Color,(a=eM())||(void 0!==p().initCanvasBoost?p().initCanvasBoost():eC(26)),s&&!s.names.lightgoldenrodyellow&&(s.names=eA(eA({},s.names),{aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dodgerblue:"#1e90ff",feldspar:"#d19275",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslateblue:"#8470ff",lightslategray:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",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:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",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",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",violetred:"#d02090",wheat:"#f5deb3",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"})),a&&y(x,"Boost.Chart")&&i.prototype.callbacks.push(function(e){function t(){e.boost&&e.boost.wgl&&P(e)&&e.boost.wgl.render(e)}v(e,"predraw",function(){var t,i;e.boost=e.boost||{},e.boost.forceChartBoost=void 0,e.boosted=!1,e.axes.some(function(e){return e.isPanning})||null===(i=(t=e.boost).clear)||void 0===i||i.call(t),e.boost.canvas&&e.boost.wgl&&P(e)&&e.boost.wgl.allocateBuffer(e),e.boost.markerGroup&&e.xAxis&&e.xAxis.length>0&&e.yAxis&&e.yAxis.length>0&&e.boost.markerGroup.translate(e.xAxis[0].pos,e.yAxis[0].pos)}),v(e,"load",t,{order:-1}),v(e,"redraw",t);var i=-1,r=-1;v(e.pointer,"afterGetHoverData",function(t){var o,n=null===(o=t.hoverPoint)||void 0===o?void 0:o.series;if(e.boost=e.boost||{},e.boost.markerGroup&&n){var s=e.inverted?n.yAxis:n.xAxis,a=e.inverted?n.xAxis:n.yAxis;(s&&s.pos!==i||a&&a.pos!==r)&&(e.series.forEach(function(e){var t;null===(t=e.halo)||void 0===t||t.hide()}),e.boost.markerGroup.translate(s.pos,a.pos),i=s.pos,r=a.pos)}})}),function(e,t,i){if(er(q,"Boost.Series")){var r=H().plotOptions,o=e.prototype;if(Z(e,"destroy",eu),Z(e,"hide",ef),i&&(o.renderCanvas=ep),eo(o,"getExtremes",eb),eo(o,"processData",ex),eo(o,"searchPoint",ev),["translate","generatePoints","drawTracker","drawPoints","render"].forEach(function(e){return function(e,t,i){function r(e){var t=this.options.stacking&&("translate"===i||"generatePoints"===i);this.boosted&&!t&&ea(this.chart)&&"heatmap"!==this.type&&"treemap"!==this.type&&b[this.type]&&0!==this.options.boostThreshold?"render"===i&&this.renderCanvas&&this.renderCanvas():e.call(this)}if(eo(e,i,r),"translate"===i)for(var o=0,n=["column","arearange","columnrange","heatmap","treemap"];o<n.length;o++){var s=n[o];t[s]&&eo(t[s].prototype,i,r)}}(o,t,e)}),m.forEach(function(e){var i=r[e];i&&(i.boostThreshold=5e3,i.boostData=[],t[e].prototype.fillOpacity=!0)}),i){var n=t.area,s=t.areaspline,a=t.bubble,l=t.column,h=t.heatmap,d=t.scatter,u=t.treemap;if(n&&J(n.prototype,{fill:!0,fillOpacity:!0,sampling:!0}),s&&J(s.prototype,{fill:!0,fillOpacity:!0,sampling:!0}),a){var f=a.prototype;delete f.buildKDTree,eo(f,"markerAttribs",function(e){return!this.boosted&&e.apply(this,[].slice.call(arguments,1))})}l&&J(l.prototype,{fill:!0,sampling:!0}),d&&(d.prototype.fill=!0),[h,u].forEach(function(e){e&&eo(e.prototype,"drawPoints",em)})}}}(o,n,a),ek(r,"setExtremes",function(e){for(var t,i,r,o=ey([this.chart],this.series,!0).map(function(e){return e.renderTarget}).filter(Boolean),n=0;n<o.length;n++){var s=o[n],a=this.horiz,l=this.pos,h=a?"scaleX":"scaleY",d=a?"translateX":"translateY",u=null!==(i=null==s?void 0:s[h])&&void 0!==i?i:1,f=1,c=0,g=1,p="none";this.isPanning&&(f=(null!==(r=e.scale)&&void 0!==r?r:1)*u,c=((null==s?void 0:s[d])||0)-f*(e.move||0)+u*l-f*l,g=.7,p="blur(3px)"),null==s||s.attr(((t={})[h]=f,t[d]=c,t)).css({transition:"250ms filter, 250ms opacity",filter:p,opacity:g})}});var ew=p();return c.default}()});

Hacked By AnonymousFox1.0, Coded By AnonymousFox