/* Highstock JS v11.1.0 (2023-06-05) Hollow Candlestick series type for Highcharts Stock (c) 2010-2021 Karol Kolodziej License: www.highcharts.com/license */ 'use strict';(function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/modules/hollowcandlestick",["highcharts","highcharts/modules/stock"],function(d){a(d);a.Highcharts=d;return a}):a("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(a){function d(a,b,d,g){a.hasOwnProperty(b)||(a[b]=g.apply(null,d),"function"===typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:b, module:a[b]}})))}a=a?a._modules:{};d(a,"Series/HollowCandlestick/HollowCandlestickPoint.js",[a["Core/Series/SeriesRegistry.js"]],function(a){({seriesTypes:{candlestick:a}}=a);class b extends a.prototype.pointClass{constructor(){super(...arguments);this.series=void 0}getClassName(){let a=super.getClassName.apply(this);const b=this.series.hollowCandlestickData[this.index];b.isBullish||"up"!==b.trendDirection||(a+="-bearish-up");return a}}return b});d(a,"Series/HollowCandlestick/HollowCandlestickSeries.js", [a["Series/HollowCandlestick/HollowCandlestickPoint.js"],a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"],a["Core/Axis/Axis.js"]],function(a,b,d,g){const {seriesTypes:{candlestick:h}}=b,{addEvent:k,merge:l}=d;class e extends h{constructor(){super(...arguments);this.data=void 0;this.hollowCandlestickData=[];this.points=this.options=void 0}getPriceMovement(){const a=this.allGroupedData||this.yData,c=this.hollowCandlestickData;if(!c.length&&a&&a.length){c.push({isBullish:!0,trendDirection:"up"}); for(let f=1;f