/** * Highstock JS v11.2.0 (2023-10-30) * * Hollow Candlestick series type for Highcharts Stock * * (c) 2010-2021 Karol Kolodziej * * License: www.highcharts.com/license */!function(t){"object"==typeof module&&module.exports?(t.default=t,module.exports=t):"function"==typeof define&&define.amd?define("highcharts/modules/hollowcandlestick",["highcharts","highcharts/modules/stock"],function(o){return t(o),t.Highcharts=o,t}):t("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(t){"use strict";var o=t?t._modules:{};function e(t,o,e,i){t.hasOwnProperty(o)||(t[o]=i.apply(null,e),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:o,module:t[o]}})))}e(o,"Series/HollowCandlestick/HollowCandlestickPoint.js",[o["Core/Series/SeriesRegistry.js"]],function(t){var o,e=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var e in o)Object.prototype.hasOwnProperty.call(o,e)&&(t[e]=o[e])})(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 i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)});return function(t){function o(){var o=null!==t&&t.apply(this,arguments)||this;return o.series=void 0,o}return e(o,t),o.prototype.getClassName=function(){var o=t.prototype.getClassName.apply(this),e=this.index,i=this.series.hollowCandlestickData[e];return i.isBullish||"up"!==i.trendDirection||(o+="-bearish-up"),o},o}(t.seriesTypes.candlestick.prototype.pointClass)}),e(o,"Series/HollowCandlestick/HollowCandlestickSeries.js",[o["Series/HollowCandlestick/HollowCandlestickPoint.js"],o["Core/Series/SeriesRegistry.js"],o["Core/Utilities.js"],o["Core/Axis/Axis.js"]],function(t,o,e,i){var n,r=this&&this.__extends||(n=function(t,o){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var e in o)Object.prototype.hasOwnProperty.call(o,e)&&(t[e]=o[e])})(t,o)},function(t,o){if("function"!=typeof o&&null!==o)throw TypeError("Class extends value "+String(o)+" is not a constructor or null");function e(){this.constructor=t}n(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),s=o.seriesTypes.candlestick,l=e.addEvent,a=e.merge,c=function(t){function o(){var o=null!==t&&t.apply(this,arguments)||this;return o.data=void 0,o.hollowCandlestickData=[],o.options=void 0,o.points=void 0,o}return r(o,t),o.prototype.getPriceMovement=function(){var t=this.allGroupedData||this.yData,o=this.hollowCandlestickData;if(!o.length&&t&&t.length){o.push({isBullish:!0,trendDirection:"up"});for(var e=1;e