/** * Highstock JS v11.2.0 (2023-10-30) * * Slow Stochastic series type for Highcharts Stock * * (c) 2010-2021 Pawel Fus * * 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/indicators/indicators",["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,a){t.hasOwnProperty(o)||(t[o]=a.apply(null,e),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:o,module:t[o]}})))}e(o,"Stock/Indicators/SlowStochastic/SlowStochasticIndicator.js",[o["Core/Series/SeriesRegistry.js"],o["Core/Utilities.js"]],function(t,o){var e,a=this&&this.__extends||(e=function(t,o){return(e=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 a(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(a.prototype=o.prototype,new a)}),i=t.seriesTypes,n=i.sma,s=i.stochastic,r=o.extend,c=o.merge,u=function(t){function o(){var o=null!==t&&t.apply(this,arguments)||this;return o.data=void 0,o.options=void 0,o.points=void 0,o}return a(o,t),o.prototype.getValues=function(o,e){var a=e.periods,i=t.prototype.getValues.call(this,o,e),s={values:[],xData:[],yData:[]};if(i){s.xData=i.xData.slice(a[1]-1);var r=i.yData.slice(a[1]-1),c=n.prototype.getValues.call(this,{xData:s.xData,yData:r},{index:1,period:a[2]});if(c){for(var u=0,l=s.xData.length;u