!/**
 * Highcharts JS v12.6.0 (2026-04-13)
 * @module highcharts/modules/bullet
 * @requires highcharts
 *
 * Bullet graph series type for Highcharts
 *
 * (c) 2010-2026 Highsoft AS
 * Author: Kacper Madej
 *
 * A commercial license may be required depending on use.
 * See www.highcharts.com/license
 */function(t,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(t._Highcharts,t._Highcharts.Series.types.column,t._Highcharts.SeriesRegistry):"function"==typeof define&&define.amd?define("highcharts/modules/bullet",["highcharts/highcharts"],function(t){return r(t,t.Series,["types"],["column"],t.SeriesRegistry)}):"object"==typeof exports?exports["highcharts/modules/bullet"]=r(t._Highcharts,t._Highcharts.Series.types.column,t._Highcharts.SeriesRegistry):t.Highcharts=r(t.Highcharts,t.Highcharts.Series.types.column,t.Highcharts.SeriesRegistry)}("u"<typeof window?this:window,function(t,r,o){return function(){"use strict";var e,n,i={448:function(t){t.exports=r},512:function(t){t.exports=o},944:function(r){r.exports=t}},a={};function s(t){var r=a[t];if(void 0!==r)return r.exports;var o=a[t]={exports:{}};return i[t](o,o.exports,s),o.exports}s.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return s.d(r,{a:r}),r},s.d=function(t,r){for(var o in r)s.o(r,o)&&!s.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:r[o]})},s.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)};var p={};s.d(p,{default:function(){return A}});var c=s(944),l=s.n(c),u=s(448),h=s.n(u),f=(e=function(t,r){return(e=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var o in r)r.hasOwnProperty(o)&&(t[o]=r[o])})(t,r)},function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}),d=function(t){function r(){return null!==t&&t.apply(this,arguments)||this}return f(r,t),r.prototype.destroy=function(){this.targetGraphic&&(this.targetGraphic=this.targetGraphic.destroy()),t.prototype.destroy.apply(this,arguments)},r}(h().prototype.pointClass),y={targetOptions:{width:"140%",height:3,borderWidth:0,borderRadius:0},tooltip:{pointFormat:'<span style="color:{series.color}">●</span> {series.name}: <b>{point.y}</b>. Target: <b>{point.target}</b><br/>'}},g=s(512),b=s.n(g),v=function(t,r,o){if(o||2==arguments.length)for(var e,n=0,i=r.length;n<i;n++)!e&&n in r||(e||(e=Array.prototype.slice.call(r,0,n)),e[n]=r[n]);return t.concat(e||Array.prototype.slice.call(r))};function m(t){return x(t)&&"number"==typeof t.nodeType}function _(t){return"number"==typeof t&&!isNaN(t)&&t<1/0&&t>-1/0}function x(t,r){var o;return!!t&&"object"==typeof t&&(!r||"[object Array]"!==(o=Object.prototype.toString.call(t))&&"[object Array Iterator]"!==o)}function O(t){for(var r=[],o=1;o<arguments.length;o++)r[o-1]=arguments[o];var e,n=v([t],r,!0),i={},a=function(t,r){return"object"!=typeof t&&(t={}),function(t,r,o){for(var e in t)Object.hasOwnProperty.call(t,e)&&r.call((0,t[e]),t[e],e,t)}(r,function(o,e){if("__proto__"!==e&&"constructor"!==e){var n;!x(o,!0)||(n=null==o?void 0:o.constructor,x(o,!0)&&!m(o)&&(null==n?void 0:n.name)&&"Object"!==n.name)||m(o)?t[e]=r[e]:t[e]=a(t[e]||{},o)}}),t};!0===t&&(i=n[1],n=Array.prototype.slice.call(n,2));var s=n.length;for(e=0;e<s;e++)i=a(i,n[e]);return i}function w(){for(var t=arguments,r=t.length,o=0;o<r;o++){var e=t[o];if(null!=e)return e}}l().doc,l().win,Array.prototype.find;var j=(n=function(t,r){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])})(t,r)},function(t,r){if("function"!=typeof r&&null!==r)throw TypeError("Class extends value "+String(r)+" is not a constructor or null");function o(){this.constructor=t}n(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}),M=function(t){function r(){return null!==t&&t.apply(this,arguments)||this}return j(r,t),r.prototype.drawPoints=function(){var r=this.chart,o=this.options,e=o.animationLimit||250;t.prototype.drawPoints.apply(this,arguments);for(var n=0,i=this.points;n<i.length;n++){var a=i[n],s=a.options,p=a.target,c=a.y,l=void 0,u=a.targetGraphic,h=void 0,f=void 0,d=void 0,y=void 0;if(_(p)&&null!==p){f=(d=O(o.targetOptions,s.targetOptions)).height;var g,b,v=a.shapeArgs;a.dlBox&&v&&!_(v.width)&&(v=a.dlBox),g=d.width,b=v.width,h=/%$/.test(g)?b*parseFloat(g)/100+0:parseFloat(g),y=this.yAxis.translate(p,!1,!0,!1,!0)-d.height/2-.5,l=this.crispCol.apply({chart:r,borderWidth:d.borderWidth,options:{crisp:o.crisp}},[v.x+v.width/2-h/2,y,h,f]),u?(u[r.pointCount<e?"animate":"attr"](l),_(c)&&null!==c?u.element.point=a:u.element.point=void 0):a.targetGraphic=u=r.renderer.rect().attr(l).add(this.group),r.styledMode||u.attr({fill:w(d.color,s.color,this.zones.length&&(a.getZone.call({series:this,x:a.x,y:p,options:{}}).color||this.color)||void 0,a.color,this.color),stroke:w(d.borderColor,a.borderColor,this.options.borderColor),"stroke-width":d.borderWidth,r:d.borderRadius}),_(c)&&null!==c&&(u.element.point=a),u.addClass(a.getClassName()+" highcharts-bullet-target",!0)}else u&&(a.targetGraphic=u.destroy())}},r.prototype.getExtremes=function(r){var o=t.prototype.getExtremes.call(this,r),e=this.targetData;if(e&&e.length){var n=t.prototype.getExtremes.call(this,e);_(n.dataMin)&&(o.dataMin=Math.min(w(o.dataMin,1/0),n.dataMin)),_(n.dataMax)&&(o.dataMax=Math.max(w(o.dataMax,-1/0),n.dataMax))}return o},r.defaultOptions=O(h().defaultOptions,y),r}(h());!function(t,r){var o;for(o in t||(t={}),r)t[o]=r[o]}(M.prototype,{parallelArrays:["x","y","target"],pointArrayMap:["y","target"]}),M.prototype.pointClass=d,b().registerSeriesType("bullet",M);var A=l();return p.default}()});