!/**
 * Highstock JS v13.0.0 (2026-06-11)
 * @module highcharts/modules/price-indicator
 * @requires highcharts
 * @requires highcharts/modules/stock
 *
 * (c) 2018-2026 Highsoft AS
 * Author: Sebastian Bochan
 *
 * Price indicator for Highcharts Stock
 *
 * A commercial license may be required depending on use,
 * see www.highcharts.com/license
 */function(s,i){"object"==typeof exports&&"object"==typeof module?module.exports=i(s._Highcharts):"function"==typeof define&&define.amd?define("highcharts/modules/price-indicator",["highcharts/highcharts"],function(s){return i(s)}):"object"==typeof exports?exports["highcharts/modules/price-indicator"]=i(s._Highcharts):s.Highcharts=i(s.Highcharts)}("u"<typeof window?this:window,function(s){return function(){"use strict";var i,r={944:function(i){i.exports=s}},t={};function e(s){var i=t[s];if(void 0!==i)return i.exports;var o=t[s]={exports:{}};return r[s](o,o.exports,e),o.exports}e.n=function(s){var i=s&&s.__esModule?function(){return s.default}:function(){return s};return e.d(i,{a:i}),i},e.d=function(s,i){for(var r in i)e.o(i,r)&&!e.o(s,r)&&Object.defineProperty(s,r,{enumerable:!0,get:i[r]})},e.o=function(s,i){return Object.prototype.hasOwnProperty.call(s,i)};var o={};e.d(o,{default:function(){return n}});var a=e(944),c=e.n(a),l=c().composed;i=c().Series,(0,a.pushUnique)(l,"PriceIndication")&&((0,a.addEvent)(i,"afterRender",function(){var s,i,r=this.options,t=r.lastVisiblePrice,e=r.lastPrice;if((t||e)&&"highcharts-navigator-series"!==r.id&&this.visible){var o=this.points,c=this.xAxis,l=this.yAxis,n=l.cross,h=l.crosshair,d=l.crossLabel,u=o.length,f=this.dataTable.rowCount,b=this.getColumn("x")[f-1],p=null!=(s=this.getColumn("y")[f-1])?s:this.getColumn("close")[f-1];if((null==e?void 0:e.enabled)&&(l.crosshair=l.options.crosshair=r.lastPrice,!this.chart.styledMode&&l.crosshair&&l.options.crosshair&&r.lastPrice&&(l.crosshair.color=l.options.crosshair.color=r.lastPrice.color||this.color),l.cross=this.lastPrice,this.lastPriceLabel&&this.lastPriceLabel.destroy(),delete l.crossLabel,l.drawCrosshair(void 0,{x:b,y:p,plotX:c.toPixels(b,!0),plotY:l.toPixels(p,!0)}),this.yAxis.cross&&(this.lastPrice=this.yAxis.cross,this.lastPrice.addClass("highcharts-color-"+this.colorIndex),this.lastPrice.y=p),this.lastPriceLabel=l.crossLabel),(null==t?void 0:t.enabled)&&u>0){l.crosshair=l.options.crosshair=(0,a.merge)({color:"transparent"},r.lastVisiblePrice),l.cross=this.lastVisiblePrice;var P=o[u-1].isInside?o[u-1]:o[u-2];null==(i=this.lastVisiblePriceLabel)||i.destroy(),delete l.crossLabel,l.drawCrosshair(void 0,P),l.cross&&(this.lastVisiblePrice=l.cross,P&&"number"==typeof P.y&&(this.lastVisiblePrice.y=P.y)),this.lastVisiblePriceLabel=l.crossLabel}l.crosshair=l.options.crosshair=h,l.cross=n,l.crossLabel=d}}),(0,a.addEvent)(i,"hide",function(){var s=this;["lastPrice","lastPriceLabel","lastVisiblePrice","lastVisiblePriceLabel"].forEach(function(i){var r;null==(r=s[i])||r.hide()})}));var n=c();return o.default}()});