/* Highstock JS v9.1.1 (2021-06-03) Indicator series type for Highcharts Stock (c) 2010-2021 Pawe Fus 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/indicators/rsi",["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,f,d,k){a.hasOwnProperty(f)||(a[f]=k.apply(null,d))}a=a?a._modules:{};d(a,"Stock/Indicators/RSI/RSIIndicator.js",[a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]], function(a,f){var d=this&&this.__extends||function(){var a=function(e,b){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return a(e,b)};return function(e,b){function c(){this.constructor=e}a(e,b);e.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)}}(),k=a.seriesTypes.sma,t=f.isNumber,u=f.merge;f=function(a){function e(){var b=null!==a&&a.apply(this,arguments)||this;b.data=void 0; b.points=void 0;b.options=void 0;return b}d(e,a);e.prototype.getValues=function(a,c){var b=c.period,e=a.xData,g=a.yData;a=g?g.length:0;var d=c.decimals,h=1,f=[],k=[],r=[],q=c.index,m=c=0,n;if(!(e.length