!/**
 * Highstock JS v12.6.0 (2026-04-13)
 * @module highcharts/indicators/indicators
 * @requires highcharts
 * @requires highcharts/modules/stock
 *
 * Slow Stochastic series type for Highcharts Stock
 *
 * (c) 2010-2026 Highsoft AS
 * Author: Paweł Fus
 *
 * A commercial license may be required depending on use.
 * See www.highcharts.com/license
 */function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(t._Highcharts,t._Highcharts.SeriesRegistry):"function"==typeof define&&define.amd?define("highcharts/indicators/slow-stochastic",["highcharts/highcharts"],function(t){return e(t,t.SeriesRegistry)}):"object"==typeof exports?exports["highcharts/indicators/slow-stochastic"]=e(t._Highcharts,t._Highcharts.SeriesRegistry):t.Highcharts=e(t.Highcharts,t.Highcharts.SeriesRegistry)}("u"<typeof window?this:window,(t,e)=>(()=>{"use strict";var r={512:t=>{t.exports=e},944:e=>{e.exports=t}},o={};function a(t){var e=o[t];if(void 0!==e)return e.exports;var s=o[t]={exports:{}};return r[t](s,s.exports,a),s.exports}a.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return a.d(e,{a:e}),e},a.d=(t,e)=>{for(var r in e)a.o(e,r)&&!a.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},a.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var s={};a.d(s,{default:()=>x});var i=a(944),n=a.n(i),c=a(512),l=a.n(c);let{doc:p,win:u}=n();function f(t){return h(t)&&"number"==typeof t.nodeType}function h(t,e){let r;return!!t&&"object"==typeof t&&(!e||"[object Array]"!==(r=Object.prototype.toString.call(t))&&"[object Array Iterator]"!==r)}Array.prototype.find;let{sma:y,stochastic:d}=l().seriesTypes;class g extends d{getValues(t,e){let r=e.periods,o=super.getValues.call(this,t,e),a={values:[],xData:[],yData:[]};if(!o)return;a.xData=o.xData.slice(r[1]-1);let s=o.yData.slice(r[1]-1),i=y.prototype.getValues.call(this,{xData:a.xData,yData:s},{index:1,period:r[2]});if(i){for(let t=0,e=a.xData.length;t<e;t++)a.yData[t]=[s[t][1],i.yData[t-r[2]+1]||null],a.values[t]=[a.xData[t],s[t][1],i.yData[t-r[2]+1]||null];return a}}}g.defaultOptions=function(t,...e){let r,o=[t,...e],a={},s=function(t,e){return"object"!=typeof t&&(t={}),function(t,e,r){for(let r in t)Object.hasOwnProperty.call(t,r)&&e.call((0,t[r]),t[r],r,t)}(e,function(r,o){if("__proto__"!==o&&"constructor"!==o){let a;!h(r,!0)||(a=r?.constructor,h(r,!0)&&!f(r)&&a?.name&&"Object"!==a.name)||f(r)?t[o]=e[o]:t[o]=s(t[o]||{},r)}}),t};!0===t&&(a=o[1],o=Array.prototype.slice.call(o,2));let i=o.length;for(r=0;r<i;r++)a=s(a,o[r]);return a}(d.defaultOptions,{params:{periods:[14,3,3]}}),function(t,e){let r;for(r in t||(t={}),e)t[r]=e[r]}(g.prototype,{nameBase:"Slow Stochastic"}),l().registerSeriesType("slowstochastic",g);let x=n();return s.default})());