Hacked By AnonymousFox
!/**
* Highcharts JS v12.1.2 (2025-01-09)
* @module highcharts/modules/histogram-bellcurve
* @requires highcharts
*
* (c) 2010-2024 Highsoft AS
* Author: Sebastian Domas
*
* License: www.highcharts.com/license
*/function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("highcharts"),require("highcharts").Series,require("highcharts").SeriesRegistry):"function"==typeof define&&define.amd?define("highcharts/modules/histogram-bellcurve",[["highcharts/highcharts"],["highcharts/highcharts","Series"],["highcharts/highcharts","SeriesRegistry"]],e):"object"==typeof exports?exports["highcharts/modules/histogram-bellcurve"]=e(require("highcharts"),require("highcharts").Series,require("highcharts").SeriesRegistry):t.Highcharts=e(t.Highcharts,t.Highcharts.Series,t.Highcharts.SeriesRegistry)}(this,function(t,e,r){return function(){"use strict";var n,i,o,s={820:function(t){t.exports=e},512:function(t){t.exports=r},944:function(e){e.exports=t}},a={};function u(t){var e=a[t];if(void 0!==e)return e.exports;var r=a[t]={exports:{}};return s[t](r,r.exports,u),r.exports}u.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return u.d(e,{a:e}),e},u.d=function(t,e){for(var r in e)u.o(e,r)&&!u.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},u.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)};var h={};u.d(h,{default:function(){return H}});var c=u(944),p=u.n(c),d=u(820),l=u.n(d),f=p().noop,v=p().addEvent,y=p().defined;!function(t){function e(){l().prototype.init.apply(this,arguments),this.initialised=!1,this.baseSeries=null,this.eventRemovers=[],this.addEvents()}function r(){var t=this.chart,e=this.options.baseSeries,r=y(e)&&(t.series[e]||t.get(e));this.baseSeries=r||null}function n(){var t=this;this.eventRemovers.push(v(this.chart,"afterLinkSeries",function(){t.setBaseSeries(),t.baseSeries&&!t.initialised&&(t.setDerivedData(),t.addBaseSeriesEvents(),t.initialised=!0)}))}function i(){var t=this;this.eventRemovers.push(v(this.baseSeries,"updatedData",function(){t.setDerivedData()}),v(this.baseSeries,"destroy",function(){t.baseSeries=null,t.initialised=!1}))}function o(){this.eventRemovers.forEach(function(t){t()}),l().prototype.destroy.apply(this,arguments)}t.hasDerivedData=!0,t.setDerivedData=f,t.compose=function(t){var s=t.prototype;return s.addBaseSeriesEvents=i,s.addEvents=n,s.destroy=o,s.init=e,s.setBaseSeries=r,t},t.init=e,t.setBaseSeries=r,t.addEvents=n,t.addBaseSeriesEvents=i,t.destroy=o}(o||(o={}));var g=o,b={binsNumber:"square-root",binWidth:void 0,pointPadding:0,groupPadding:0,grouping:!1,pointPlacement:"between",tooltip:{headerFormat:"",pointFormat:'<span style="font-size: 0.8em">{point.x} - {point.x2}</span><br/><span style="color:{point.color}">●</span> {series.name} <b>{point.y}</b><br/>'}},m=u(512),S=u.n(m),D=(n=function(t,e){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),x=S().seriesTypes.column,O=p().arrayMax,M=p().arrayMin,_=p().correctFloat,q=p().extend,j=p().isNumber,E=p().merge,P={"square-root":function(t){return Math.ceil(Math.sqrt(t.options.data.length))},sturges:function(t){return Math.ceil(Math.log(t.options.data.length)*Math.LOG2E)},rice:function(t){return Math.ceil(2*Math.pow(t.options.data.length,1/3))}},R=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return D(e,t),e.prototype.binsNumber=function(){var t=this.options.binsNumber,e=P[t]||"function"==typeof t&&t;return Math.ceil(e&&e(this.baseSeries)||(j(t)?t:P["square-root"](this.baseSeries)))},e.prototype.derivedData=function(t,e,r){var n,i,o=_(O(t)),s=_(M(t)),a=[],u={},h=[];for(r=this.binWidth=_(j(r)?r||1:(o-s)/e),this.options.pointRange=Math.max(r,0),i=s;i<o&&(this.userOptions.binWidth||_(o-i)>=r||0>=_(_(s+a.length*r)-i));i=_(i+r))a.push(i),u[i]=0;0!==u[s]&&(a.push(s),u[s]=0);for(var c=(n=a.map(function(t){return parseFloat(t)}),function(t){for(var e=1;n[e]<=t;)e++;return n[--e]}),p=0;p<t.length;p++){var d=t[p];u[_(c(d))]++}for(var l=0,f=Object.keys(u);l<f.length;l++){var v=f[l];h.push({x:Number(v),y:u[v],x2:_(Number(v)+r)})}return h.sort(function(t,e){return t.x-e.x}),h[h.length-1].x2=o,h},e.prototype.setDerivedData=function(){var t,e=null===(t=this.baseSeries)||void 0===t?void 0:t.getColumn("y");if(!(null==e?void 0:e.length)){this.setData([]);return}var r=this.derivedData(e,this.binsNumber(),this.options.binWidth);this.setData(r,!1)},e.defaultOptions=E(x.defaultOptions,b),e}(x);q(R.prototype,{hasDerivedData:g.hasDerivedData}),g.compose(R),S().registerSeriesType("histogram",R);var w={intervals:3,pointsInInterval:3,marker:{enabled:!1}},N=(i=function(t,e){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),B=S().seriesTypes.areaspline,C=p().correctFloat,F=p().isNumber,I=p().merge,T=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return N(e,t),e.mean=function(t){var e=t.length,r=t.reduce(function(t,e){return t+e},0);return e>0&&r/e},e.standardDeviation=function(t,r){var n=t.length;r=F(r)?r:e.mean(t);var i=t.reduce(function(t,e){var n=e-r;return t+n*n},0);return n>1&&Math.sqrt(i/(n-1))},e.normalDensity=function(t,e,r){var n=t-e;return Math.exp(-(n*n)/(2*r*r))/(r*Math.sqrt(2*Math.PI))},e.prototype.derivedData=function(t,r){for(var n=this.options,i=n.intervals,o=n.pointsInInterval,s=i*o*2+1,a=r/o,u=[],h=t-i*r,c=0;c<s;c++)u.push([h,e.normalDensity(h,t,r)]),h+=a;return u},e.prototype.setDerivedData=function(){var t;(null===(t=this.baseSeries)||void 0===t?void 0:t.getColumn("y").length)&&(this.setMean(),this.setStandardDeviation(),this.setData(this.derivedData(this.mean||0,this.standardDeviation||0),!1,void 0,!1))},e.prototype.setMean=function(){var t;this.mean=C(e.mean((null===(t=this.baseSeries)||void 0===t?void 0:t.getColumn("y"))||[]))},e.prototype.setStandardDeviation=function(){var t;this.standardDeviation=C(e.standardDeviation((null===(t=this.baseSeries)||void 0===t?void 0:t.getColumn("y"))||[],this.mean))},e.defaultOptions=I(B.defaultOptions,w),e}(B);g.compose(T),S().registerSeriesType("bellcurve",T);var H=p();return h.default}()});
Hacked By AnonymousFox1.0, Coded By AnonymousFox