!/**
 * Highstock JS v12.6.0 (2026-04-13)
 * @module highcharts/modules/price-indicator
 * @requires highcharts
 * @requires highcharts/modules/stock
 *
 * Advanced Highcharts Stock tools
 *
 * (c) 2010-2026 Highsoft AS
 * Author: Torstein Hønsi
 *
 * A commercial license may be required depending on use.
 * See www.highcharts.com/license
 */function(r,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(r._Highcharts):"function"==typeof define&&define.amd?define("highcharts/modules/price-indicator",["highcharts/highcharts"],function(r){return t(r)}):"object"==typeof exports?exports["highcharts/modules/price-indicator"]=t(r._Highcharts):r.Highcharts=t(r.Highcharts)}("u"<typeof window?this:window,function(r){return function(){"use strict";var t={944:function(t){t.exports=r}},e={};function s(r){var i=e[r];if(void 0!==i)return i.exports;var o=e[r]={exports:{}};return t[r](o,o.exports,s),o.exports}s.n=function(r){var t=r&&r.__esModule?function(){return r.default}:function(){return r};return s.d(t,{a:t}),t},s.d=function(r,t){for(var e in t)s.o(t,e)&&!s.o(r,e)&&Object.defineProperty(r,e,{enumerable:!0,get:t[e]})},s.o=function(r,t){return Object.prototype.hasOwnProperty.call(r,t)};var i={};s.d(i,{default:function(){return v}});var o=s(944),n=s.n(o),c=function(r,t,e){if(e||2==arguments.length)for(var s,i=0,o=t.length;i<o;i++)!s&&i in t||(s||(s=Array.prototype.slice.call(t,0,i)),s[i]=t[i]);return r.concat(s||Array.prototype.slice.call(t))};function a(r,t,e,s){void 0===s&&(s={});var i="function"==typeof r&&r.prototype||r;Object.hasOwnProperty.call(i,"hcEvents")||(i.hcEvents={});var o=i.hcEvents;n().Point&&r instanceof n().Point&&r.series&&r.series.chart&&(r.series.chart.runTrackerClick=!0);var c=r.addEventListener;c&&c.call(r,t,e,!!n().supportsPassiveEvents&&{passive:void 0===s.passive?-1!==t.indexOf("touch"):s.passive,capture:!1}),o[t]||(o[t]=[]);var a={fn:e,order:"number"==typeof s.order?s.order:1/0};return o[t].push(a),o[t].sort(function(r,t){return r.order-t.order}),function(){!function(r,t,e){function s(t,e){var s=r.removeEventListener;s&&s.call(r,t,e,!1)}function i(e){var i,o;r.nodeName&&(t?(i={})[t]=!0:i=e,u(i,function(r,t){if(e[t])for(o=e[t].length;o--;)s(t,e[t][o].fn)}))}var o="function"==typeof r&&r.prototype||r;if(Object.hasOwnProperty.call(o,"hcEvents")){var n=o.hcEvents;if(t){var c=n[t]||[];e?(n[t]=c.filter(function(r){return e!==r.fn}),s(t,e)):(i(n),n[t]=[])}else i(n),delete o.hcEvents}}(r,t,e)}}function l(r){return h(r)&&"number"==typeof r.nodeType}function h(r,t){var e;return!!r&&"object"==typeof r&&(!t||"[object Array]"!==(e=Object.prototype.toString.call(r))&&"[object Array Iterator]"!==e)}function u(r,t,e){for(var s in r)Object.hasOwnProperty.call(r,s)&&t.call(e||r[s],r[s],s,r)}n().doc,n().win,Array.prototype.find;var f=n().composed;function p(){var r=this;["lastPrice","lastPriceLabel","lastVisiblePrice","lastVisiblePriceLabel"].forEach(function(t){var e;null==(e=r[t])||e.hide()})}function d(){var r,t=this.options,e=t.lastVisiblePrice,s=t.lastPrice;if((e||s)&&"highcharts-navigator-series"!==t.id&&this.visible){var i=this.xAxis,o=this.yAxis,n=o.crosshair,a=o.cross,f=o.crossLabel,p=this.points,d=p.length,v=this.dataTable.rowCount,b=this.getColumn("x")[v-1],y=null!=(r=this.getColumn("y")[v-1])?r:this.getColumn("close")[v-1],P=void 0;if(s&&s.enabled&&(o.crosshair=o.options.crosshair=t.lastPrice,!this.chart.styledMode&&o.crosshair&&o.options.crosshair&&t.lastPrice&&(o.crosshair.color=o.options.crosshair.color=t.lastPrice.color||this.color),o.cross=this.lastPrice,P=y,this.lastPriceLabel&&this.lastPriceLabel.destroy(),delete o.crossLabel,o.drawCrosshair(null,{x:b,y:P,plotX:i.toPixels(b,!0),plotY:o.toPixels(P,!0)}),this.yAxis.cross&&(this.lastPrice=this.yAxis.cross,this.lastPrice.addClass("highcharts-color-"+this.colorIndex),this.lastPrice.y=P),this.lastPriceLabel=o.crossLabel),e&&e.enabled&&d>0){o.crosshair=o.options.crosshair=function(r){for(var t=[],e=1;e<arguments.length;e++)t[e-1]=arguments[e];var s,i=c([r],t,!0),o={},n=function(r,t){return"object"!=typeof r&&(r={}),u(t,function(e,s){if("__proto__"!==s&&"constructor"!==s){var i;!h(e,!0)||(i=null==e?void 0:e.constructor,h(e,!0)&&!l(e)&&(null==i?void 0:i.name)&&"Object"!==i.name)||l(e)?r[s]=t[s]:r[s]=n(r[s]||{},e)}}),r};!0===r&&(o=i[1],i=Array.prototype.slice.call(i,2));var a=i.length;for(s=0;s<a;s++)o=n(o,i[s]);return o}({color:"transparent"},t.lastVisiblePrice),o.cross=this.lastVisiblePrice;var g=p[d-1].isInside?p[d-1]:p[d-2];this.lastVisiblePriceLabel&&this.lastVisiblePriceLabel.destroy(),delete o.crossLabel,o.drawCrosshair(null,g),o.cross&&(this.lastVisiblePrice=o.cross,g&&"number"==typeof g.y&&(this.lastVisiblePrice.y=g.y)),this.lastVisiblePriceLabel=o.crossLabel}o.crosshair=o.options.crosshair=n,o.cross=a,o.crossLabel=f}}({compose:function(r){var t;t="PriceIndication",0>f.indexOf(t)&&f.push(t)&&(a(r,"afterRender",d),a(r,"hide",p))}}).compose(n().Series);var v=n();return i.default}()});