1import{au as w}from"./5YXSnQcP.js";function F(y,f){for(var s=0;s<f.length;s++){const d=f[s];if(typeof d!="string"&&!Array.isArray(d)){for(const o in d)if(o!=="default"&&!(o in y)){const l=Object.getOwnPropertyDescriptor(d,o);l&&Object.defineProperty(y,o,l.get?l:{enumerable:!0,get:()=>d[o]})}}}return Object.freeze(Object.defineProperty(y,Symbol.toStringTag,{value:"Module"}))}var N={exports:{}},q;function I(){return q||(q=1,function(y){(function(f){y.exports?(f.default=f,y.exports=f):f(typeof Highcharts<"u"?Highcharts:void 0)})(function(f){var s=f?f._modules:{};function d(o,l,m,g){o.hasOwnProperty(l)||(o[l]=g.apply(null,m),typeof CustomEvent=="function"&&f.win.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:l,module:o[l]}})))}d(s,"Series/DerivedComposition.js",[s["Core/Globals.js"],s["Core/Series/Series.js"],s["Core/Utilities.js"]],function(o,l,m){var g;let{noop:b}=o,{addEvent:S,defined:B}=m;return function(r){function u(){l.prototype.init.apply(this,arguments),this.initialised=!1,this.baseSeries=null,this.eventRemovers=[],this.addEvents()}function C(){let t=this.chart,e=this.options.baseSeries,p=B(e)&&(t.series[e]||t.get(e));this.baseSeries=p||null}function n(){this.eventRemovers.push(S(this.chart,"afterLinkSeries",()=>{this.setBaseSeries(),this.baseSeries&&!this.initialised&&(this.setDerivedData(),this.addBaseSeriesEvents(),this.initialised=!0)}))}function i(){this.eventRemovers.push(S(this.baseSeries,"updatedData",()=>{this.setDerivedData()}),S(this.baseSeries,"destroy",()=>{this.baseSeries=null,this.initialised=!1}))}function a(){this.eventRemovers.forEach(t=>{t()}),l.prototype.destroy.apply(this,arguments)}r.hasDerivedData=!0,r.setDerivedData=b,r.compose=function(t){let e=t.prototype;return e.addBaseSeriesEvents=i,e.addEvents=n,e.destroy=a,e.init=u,e.setBaseSeries=C,t},r.init=u,r.setBaseSeries=C,r.addEvents=n,r.addBaseSeriesEvents=i,r.destroy=a}(g||(g={})),g}),d(s,"Series/Histogram/HistogramSeriesDefaults.js",[],function(){return{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/>'}}}),d(s,"Series/Histogram/HistogramSeries.js",[s["Series/DerivedComposition.js"],s["Series/Histogram/HistogramSeriesDefaults.js"],s["Core/Series/SeriesRegistry.js"],s["Core/Utilities.js"]],function(o,l,m,g){let{column:b}=m.seriesTypes,{arrayMax:S,arrayMin:B,correctFloat:r,extend:u,isNumber:C,merge:n}=g,i={"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))}};class a extends b{binsNumber(){let e=this.options.binsNumber,p=i[e]||t
1ypeof e=="function"&&e;return Math.ceil(p&&p(this.baseSeries)||(C(e)?e:i["square-root"](this.baseSeries)))}derivedData(e,p,h){var j;let c,D=r(S(e)),x=r(B(e)),H=[],M={},E=[];for(h=this.binWidth=r(C(h)?h||1:(D-x)/p),this.options.pointRange=Math.max(h,0),c=x;c<D&&(this.userOptions.binWidth||r(D-c)>=h||0>=r(r(x+H.length*h)-c));c=r(c+h))H.push(c),M[c]=0;M[x]!==0&&(H.push(x),M[x]=0);let R=(j=H.map(v=>parseFloat(v)),function(v){let O=1;for(;j[O]<=v;)O++;return j[--O]});for(let v of e)M[r(R(v))]++;for(let v of Object.keys(M))E.push({x:Number(v),y:M[v],x2:r(Number(v)+h)});return E.sort((v,O)=>v.x-O.x),E[E.length-1].x2=D,E}setDerivedData(){let e=this.baseSeries.yData;if(!e.length){this.setData([]);return}let p=this.derivedData(e,this.binsNumber(),this.options.binWidth);this.setData(p,!1)}}return a.defaultOptions=n(b.defaultOptions,l),u(a.prototype,{hasDerivedData:o.hasDerivedData}),o.compose(a),m.registerSeriesType("histogram",a),a}),d(s,"Series/Bellcurve/BellcurveSeriesDefaults.js",[],function(){return{intervals:3,pointsInInterval:3,marker:{enabled:!1}}}),d(s,"Series/Bellcurve/BellcurveSeries.js",[s["Series/Bellcurve/BellcurveSeriesDefaults.js"],s["Series/DerivedComposition.js"],s["Core/Series/SeriesRegistry.js"],s["Core/Utilities.js"]],function(o,l,m,g){let{areaspline:b}=m.seriesTypes,{correctFloat:S,isNumber:B,merge:r}=g;class u extends b{static mean(n){let i=n.length,a=n.reduce(function(t,e){return t+e},0);return i>0&&a/i}static standardDeviation(n,i){let a=n.length;i=B(i)?i:u.mean(n);let t=n.reduce((e,p)=>{let h=p-i;return e+h*h},0);return a>1&&Math.sqrt(t/(a-1))}static normalDensity(n,i,a){let t=n-i;return Math.exp(-(t*t)/(2*a*a))/(a*Math.sqrt(2*Math.PI))}derivedData(n,i){let a=this.options,t=a.intervals,e=a.pointsInInterval,p=t*e*2+1,h=i/e,j=[],c=n-t*i;for(let D=0;D<p;D++)j.push([c,u.normalDensity(c,n,i)]),c+=h;return j}setDerivedData(){var n,i;(i=(n=this.baseSeries)==null?void 0:n.yData)!=null&&i.length&&(this.setMean(),this.setStandardDeviation(),this.setData(this.derivedData(this.mean||0,this.standardDeviation||0),!1,void 0,!1))}setMean(){this.mean=S(u.mean(this.baseSeries.yData))}setStandardDeviation(){this.standardDeviation=S(u.standardDeviation(this.baseSeries.yData,this.mean))}}return u.defaultOptions=r(b.defaultOptions,o),l.compose(u),m.registerSeriesType("bellcurve",u),u}),d(s,"masters/modules/histogram-bellcurve.src.js",[s["Core/Globals.js"]],function(o){return o})})}(N)),N.exports}var P=I();const T=w(P),W=F({__proto__:null,default:T},[P]);export{W as h};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.