!/**
 * Highcharts JS v12.6.0 (2026-04-13)
 * @module highcharts/modules/item-series
 * @requires highcharts
 *
 * Item series type for Highcharts
 *
 * (c) 2019-2026 Highsoft AS
 * Author: Torstein Hønsi
 *
 * A commercial license may be required depending on use.
 * See www.highcharts.com/license
 */function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(t._Highcharts,t._Highcharts.SeriesRegistry):"function"==typeof define&&define.amd?define("highcharts/modules/item-series",["highcharts/highcharts"],function(t){return e(t,t.SeriesRegistry)}):"object"==typeof exports?exports["highcharts/modules/item-series"]=e(t._Highcharts,t._Highcharts.SeriesRegistry):t.Highcharts=e(t.Highcharts,t.Highcharts.SeriesRegistry)}("u"<typeof window?this:window,function(t,e){return function(){"use strict";var r,o,n={512:function(t){t.exports=e},944:function(e){e.exports=t}},i={};function a(t){var e=i[t];if(void 0!==e)return e.exports;var r=i[t]={exports:{}};return n[t](r,r.exports,a),r.exports}a.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return a.d(e,{a:e}),e},a.d=function(t,e){for(var r in e)a.o(e,r)&&!a.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},a.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)};var s={};a.d(s,{default:function(){return j}});var l=a(944),c=a.n(l),h=a(512),u=a.n(h),p=function(t,e,r){if(r||2==arguments.length)for(var o,n=0,i=e.length;n<i;n++)!o&&n in e||(o||(o=Array.prototype.slice.call(e,0,n)),o[n]=e[n]);return t.concat(o||Array.prototype.slice.call(e))},f=c().doc;function d(t,e){var r;for(r in t||(t={}),e)t[r]=e[r];return t}function y(t){return g(t)&&"number"==typeof t.nodeType}function v(t){return"number"==typeof t&&!isNaN(t)&&t<1/0&&t>-1/0}function g(t,e){var r;return!!t&&"object"==typeof t&&(!e||"[object Array]"!==(r=Object.prototype.toString.call(t))&&"[object Array Iterator]"!==r)}function m(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];var o,n=p([t],e,!0),i={},a=function(t,e){return"object"!=typeof t&&(t={}),function(t,e,r){for(var o in t)Object.hasOwnProperty.call(t,o)&&e.call((0,t[o]),t[o],o,t)}(e,function(r,o){if("__proto__"!==o&&"constructor"!==o){var n;!g(r,!0)||(n=null==r?void 0:r.constructor,g(r,!0)&&!y(r)&&(null==n?void 0:n.name)&&"Object"!==n.name)||y(r)?t[o]=e[o]:t[o]=a(t[o]||{},r)}}),t};!0===t&&(i=n[1],n=Array.prototype.slice.call(n,2));var s=n.length;for(o=0;o<s;o++)i=a(i,n[o]);return i}c().win,Array.prototype.find;var b=(r=function(t,e){return(r=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 o(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),w=u().series.prototype.pointClass,_=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return b(e,t),e}(u().seriesTypes.pie.prototype.pointClass);d(_.prototype,{haloPath:w.prototype.haloPath});var A={endAngle:void 0,innerSize:"40%",itemPadding:.1,layout:"vertical",marker:m({lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1e3},enableMouseTracking:!0,events:{},marker:{enabledThreshold:2,lineColor:"#ffffff",lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:150},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",borderWidth:0,defer:!0,formatter:function(){var t=this.series.chart.numberFormatter;return"number"!=typeof this.y?"":t(this.y,-1)},padding:5,style:{fontSize:"0.7em",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:150},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:150},opacity:.2}},stickyTracking:!0,turboThreshold:1e3,findNearestPointBy:"x"}.marker,{radius:null}),rows:void 0,crisp:!1,showInLegend:!0,startAngle:void 0},O=(o=function(t,e){return(o=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}o(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),P=u().seriesTypes.pie,M=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return O(e,t),e.prototype.animate=function(t){var e=this.group;e&&(t?e.attr({opacity:0}):e.animate({opacity:1},this.options.animation))},e.prototype.drawDataLabels=function(){if(this.center&&this.slots)t.prototype.drawDataLabels.call(this);else for(var e=0,r=this.points;e<r.length;e++)r[e].destroyElements({dataLabel:1})},e.prototype.drawPoints=function(){for(var t=this.options,e=this.chart.renderer,r=t.marker,o=this.borderWidth%2?.5:1,n=this.getRows(),i=Math.ceil(this.total/n),a=this.chart.plotWidth/i,s=this.chart.plotHeight/n,l=this.itemSize||Math.min(a,s),c=0,h=0,u=this.points;h<u.length;h++){var p=u[h],f=p.marker||{},y=f.symbol||r.symbol,v=function(){for(var t=arguments,e=t.length,r=0;r<e;r++){var o=t[r];if(null!=o)return o}}(f.radius,r.radius),g=null!=v?2*v:l,m=g*t.itemPadding,b=void 0,w=void 0,_=void 0,A=void 0,O=void 0,P=void 0,M=void 0;if(p.graphics=w=p.graphics||[],this.chart.styledMode||(_=this.pointAttribs(p,p.selected&&"select")),!p.isNull&&p.visible){p.graphic||(p.graphic=e.g("point").add(this.group));for(var j=0;j<(p.y||0);++j){if(this.center&&this.slots){var x=this.slots.shift();A=x.x-l/2,O=x.y-l/2}else"horizontal"===t.layout?(A=c%i*a,O=s*Math.floor(c/i)):(A=a*Math.floor(c/n),O=c%n*s);A+=m,O+=m,M=P=Math.round(g-2*m),this.options.crisp&&(A=Math.round(A)-o,O=Math.round(O)+o),b={x:A,y:O,width:P,height:M},void 0!==v&&(b.r=v),_&&d(b,_);var E=w[j];E?E.animate(b):E=e.symbol(y,void 0,void 0,void 0,void 0,{backgroundSize:"within"}).attr(b).add(p.graphic),E.isActive=!0,w[j]=E,++c}}for(var S=0;S<w.length;S++){var E=w[S];if(!E)return;E.isActive?E.isActive=!1:(E.destroy(),w.splice(S,1),S--)}}},e.prototype.getRows=function(){var t,e=this.chart,r=this.total||0,o=this.options.rows;if(!o)if(t=e.plotWidth/e.plotHeight,o=Math.sqrt(r),t>1)for(o=Math.ceil(o);o>1&&!(r/o/o>t);)o--;else for(o=Math.floor(o);o<r&&!(r/o/o<t);)o++;return o},e.prototype.getSlots=function(){for(var t,e,r,o,n,i,a,s,l,c,h,u,p=this.center,f=p[2],d=this.slots=this.slots||[],y=this.endAngleRad-this.startAngleRad,v=this.options.rows,g=y%(2*Math.PI)==0,m=this.total||0,b=p[3],w=0,_=Number.MAX_VALUE,A=(f-b)/f;_>m+(h&&g?h.length:0);){c=_,d.length=0,_=0,h=u,u=[],l=f/++w/2,v?(b=(l-v)/l*f)>=0?l=v:(b=0,A=1):l=Math.floor(l*A);for(var O=l;O>0;O--)n=Math.ceil((o=y*(r=(b+O/l*(f-b-w))/2))/w),u.push({rowRadius:r,rowLength:o,colCount:n}),_+=n+1}if(h){for(var P=c-this.total-(g?h.length:0),M=function(t){P>0&&(t.row.colCount--,P--)};P>0;)h.map(function(t){return{angle:t.colCount/t.rowLength,row:t}}).sort(function(t,e){return e.angle-t.angle}).slice(0,Math.min(P,Math.ceil(h.length/2))).forEach(M);for(var j=0,x=h;j<x.length;j++){var O=x[j],E=O.rowRadius,S=O.colCount;for(s=0,i=S?y/S:0;s<=S;s+=1)a=this.startAngleRad+s*i,t=p[0]+Math.cos(a)*E,e=p[1]+Math.sin(a)*E,d.push({x:t,y:e,angle:a})}return d.sort(function(t,e){return t.angle-e.angle}),this.itemSize=w,d}},e.prototype.translate=function(e){0===this.total&&v(this.options.startAngle)&&v(this.options.endAngle)&&(this.center=this.getCenter()),this.slots||(this.slots=[]),v(this.options.startAngle)&&v(this.options.endAngle)?(t.prototype.translate.call(this,e),this.slots=this.getSlots()):(this.generatePoints(),function(t,e,r,o){if(r=r||{},(null==f?void 0:f.createEvent)&&(t.dispatchEvent||t.fireEvent&&t!==c())){var n=f.createEvent("Events");n.initEvent(e,!0,!0),r=d(n,r),t.dispatchEvent?t.dispatchEvent(r):t.fireEvent(e,r)}else if(t.hcEvents){r.target||d(r,{preventDefault:function(){r.defaultPrevented=!0},target:t,type:e});for(var i=[],a=t,s=!1;a.hcEvents;)Object.hasOwnProperty.call(a,"hcEvents")&&a.hcEvents[e]&&(i.length&&(s=!0),i.unshift.apply(i,a.hcEvents[e])),a=Object.getPrototypeOf(a);s&&i.sort(function(t,e){return t.order-e.order}),i.forEach(function(e){!1===e.fn.call(t,r,t)&&r.preventDefault()})}}(this,"afterTranslate"))},e.defaultOptions=m(P.defaultOptions,A),e}(P);d(M.prototype,{markerAttribs:void 0,pointClass:_}),u().registerSeriesType("item",M);var j=c();return s.default}()});