!/**
 * Highstock JS v12.6.0 (2026-04-13)
 * @module highcharts/indicators/roc
 * @requires highcharts
 * @requires highcharts/modules/stock
 *
 * Indicator series type for Highcharts Stock
 *
 * (c) 2010-2026 Highsoft AS
 * Author: Kacper Madej
 *
 * A commercial license may be required depending on use.
 * See www.highcharts.com/license
 */function(t,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(t._Highcharts,t._Highcharts.SeriesRegistry):"function"==typeof define&&define.amd?define("highcharts/indicators/roc",["highcharts/highcharts"],function(t){return r(t,t.SeriesRegistry)}):"object"==typeof exports?exports["highcharts/indicators/roc"]=r(t._Highcharts,t._Highcharts.SeriesRegistry):t.Highcharts=r(t.Highcharts,t.Highcharts.SeriesRegistry)}("u"<typeof window?this:window,function(t,r){return function(){"use strict";var e,n={512:function(t){t.exports=r},944:function(r){r.exports=t}},o={};function i(t){var r=o[t];if(void 0!==r)return r.exports;var e=o[t]={exports:{}};return n[t](e,e.exports,i),e.exports}i.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(r,{a:r}),r},i.d=function(t,r){for(var e in r)i.o(r,e)&&!i.o(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:r[e]})},i.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)};var c={};i.d(c,{default:function(){return _}});var a=i(944),u=i.n(a),f=i(512),s=i.n(f),p=function(t,r,e){if(e||2==arguments.length)for(var n,o=0,i=r.length;o<i;o++)!n&&o in r||(n||(n=Array.prototype.slice.call(r,0,o)),n[o]=r[o]);return t.concat(n||Array.prototype.slice.call(r))};function l(t){return y(t)&&"number"==typeof t.nodeType}function h(t){var r=Object.prototype.toString.call(t);return"[object Array]"===r||"[object Array Iterator]"===r}function y(t,r){return!!t&&"object"==typeof t&&(!r||!h(t))}u().doc,u().win,Array.prototype.find;var d=(e=function(t,r){return(e=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var e in r)r.hasOwnProperty(e)&&(t[e]=r[e])})(t,r)},function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}),g=s().seriesTypes.sma,v=function(t){function r(){return null!==t&&t.apply(this,arguments)||this}return d(r,t),r.prototype.getValues=function(t,r){var e,n,o=r.period,i=t.xData,c=t.yData,a=c?c.length:0,u=[],f=[],s=[],p=-1;if(!(i.length<=o)){for(h(c[0])&&(p=r.index),e=o;e<a;e++)n=function(t,r,e,n,o){var i,c;return c=o<0?(i=r[e-n])?(r[e]-i)/i*100:null:(i=r[e-n][o])?(r[e][o]-i)/i*100:null,[t[e],c]}(i,c,e,o,p),u.push(n),f.push(n[0]),s.push(n[1]);return{values:u,xData:f,yData:s}}},r.defaultOptions=function(t){for(var r=[],e=1;e<arguments.length;e++)r[e-1]=arguments[e];var n,o=p([t],r,!0),i={},c=function(t,r){return"object"!=typeof t&&(t={}),function(t,r,e){for(var n in t)Object.hasOwnProperty.call(t,n)&&r.call((0,t[n]),t[n],n,t)}(r,function(e,n){if("__proto__"!==n&&"constructor"!==n){var o;!y(e,!0)||(o=null==e?void 0:e.constructor,y(e,!0)&&!l(e)&&(null==o?void 0:o.name)&&"Object"!==o.name)||l(e)?t[n]=r[n]:t[n]=c(t[n]||{},e)}}),t};!0===t&&(i=o[1],o=Array.prototype.slice.call(o,2));var a=o.length;for(n=0;n<a;n++)i=c(i,o[n]);return i}(g.defaultOptions,{params:{index:3,period:9}}),r}(g);!function(t,r){var e;for(e in t||(t={}),r)t[e]=r[e]}(v.prototype,{nameBase:"Rate of Change"}),s().registerSeriesType("roc",v);var _=u();return c.default}()});