/**
 * Highstock JS v11.3.0 (2024-01-10)
 *
 * Slow Stochastic series type for Highcharts Stock
 *
 * (c) 2010-2024 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(e){return t(e),t.Highcharts=e,t}):t("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(t){"use strict";var e=t?t._modules:{};function o(t,e,o,a){t.hasOwnProperty(e)||(t[e]=a.apply(null,o),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}o(e,"Stock/Indicators/SlowStochastic/SlowStochasticIndicator.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e){var o,a=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])})(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 a(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(a.prototype=e.prototype,new a)}),n=t.seriesTypes,s=n.sma,r=n.stochastic,i=e.extend,c=e.merge,u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.getValues=function(e,o){var a=o.periods,n=t.prototype.getValues.call(this,e,o),r={values:[],xData:[],yData:[]};if(n){r.xData=n.xData.slice(a[1]-1);var i=n.yData.slice(a[1]-1),c=s.prototype.getValues.call(this,{xData:r.xData,yData:i},{index:1,period:a[2]});if(c){for(var u=0,l=r.xData.length;u<l;u++)r.yData[u]=[i[u][1],c.yData[u-a[2]+1]||null],r.values[u]=[r.xData[u],i[u][1],c.yData[u-a[2]+1]||null];return r}}},e.defaultOptions=c(r.defaultOptions,{params:{periods:[14,3,3]}}),e}(r);return i(u.prototype,{nameBase:"Slow Stochastic"}),t.registerSeriesType("slowstochastic",u),u}),o(e,"masters/indicators/slow-stochastic.src.js",[],function(){})});