!/**
 * Highstock JS v12.6.0 (2026-04-13)
 * @module highcharts/indicators/ao
 * @requires highcharts
 * @requires highcharts/modules/stock
 *
 * Indicator series type for Highcharts Stock
 *
 * (c) 2010-2026 Highsoft AS
 * Author: Wojciech Chmiel
 *
 * 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/ao",["highcharts/highcharts"],function(t){return r(t,t.SeriesRegistry)}):"object"==typeof exports?exports["highcharts/indicators/ao"]=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 o,e={512:function(t){t.exports=r},944:function(r){r.exports=t}},n={};function i(t){var r=n[t];if(void 0!==r)return r.exports;var o=n[t]={exports:{}};return e[t](o,o.exports,i),o.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 o in r)i.o(r,o)&&!i.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:r[o]})},i.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)};var a={};i.d(a,{default:function(){return j}});var c=i(944),s=i.n(c),u=i(512),p=i.n(u),f=function(t,r,o){if(o||2==arguments.length)for(var e,n=0,i=r.length;n<i;n++)!e&&n in r||(e||(e=Array.prototype.slice.call(r,0,n)),e[n]=r[n]);return t.concat(e||Array.prototype.slice.call(r))};function l(t,r){return t>1e14?t:parseFloat(t.toPrecision(r||14))}function h(t){return d(t)&&"number"==typeof t.nodeType}function y(t){var r=Object.prototype.toString.call(t);return"[object Array]"===r||"[object Array Iterator]"===r}function d(t,r){return!!t&&"object"==typeof t&&(!r||!y(t))}s().doc,s().win,Array.prototype.find;var g=(o=function(t,r){return(o=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var o in r)r.hasOwnProperty(o)&&(t[o]=r[o])})(t,r)},function(t,r){function e(){this.constructor=t}o(t,r),t.prototype=null===r?Object.create(r):(e.prototype=r.prototype,new e)}),v=s().noop,b=p().seriesTypes,_=b.column.prototype,m=b.sma,O=function(t){function r(){return null!==t&&t.apply(this,arguments)||this}return g(r,t),r.prototype.drawGraph=function(){var t,r=this.options,o=this.points,e=this.userOptions.color,n=r.greaterBarColor,i=r.lowerBarColor,a=o[0];if(!e&&a)for(t=1,a.color=n;t<o.length;t++)o[t].y>o[t-1].y?o[t].color=n:o[t].y<o[t-1].y?o[t].color=i:o[t].color=o[t-1].color},r.prototype.getValues=function(t){var r,o,e,n,i,a,c=t.xData||[],s=t.yData||[],u=s.length,p=[],f=[],h=[],d=0,g=0;if(!(c.length<=34)&&y(s[0])&&4===s[0].length){for(i=0;i<33;i++)n=(s[i][1]+s[i][2])/2,i>=29&&(g=l(g+n)),d=l(d+n);for(a=33;a<u;a++)g=l(g+(n=(s[a][1]+s[a][2])/2)),d=l(d+n),r=l(g/5-d/34),p.push([c[a],r]),f.push(c[a]),h.push(r),o=a+1-5,e=a+1-34,g=l(g-(s[o][1]+s[o][2])/2),d=l(d-(s[e][1]+s[e][2])/2);return{values:p,xData:f,yData:h}}},r.defaultOptions=function(t){for(var r=[],o=1;o<arguments.length;o++)r[o-1]=arguments[o];var e,n=f([t],r,!0),i={},a=function(t,r){return"object"!=typeof t&&(t={}),function(t,r,o){for(var e in t)Object.hasOwnProperty.call(t,e)&&r.call((0,t[e]),t[e],e,t)}(r,function(o,e){if("__proto__"!==e&&"constructor"!==e){var n;!d(o,!0)||(n=null==o?void 0:o.constructor,d(o,!0)&&!h(o)&&(null==n?void 0:n.name)&&"Object"!==n.name)||h(o)?t[e]=r[e]:t[e]=a(t[e]||{},o)}}),t};!0===t&&(i=n[1],n=Array.prototype.slice.call(n,2));var c=n.length;for(e=0;e<c;e++)i=a(i,n[e]);return i}(m.defaultOptions,{params:{index:void 0,period:void 0},greaterBarColor:"#06b535",lowerBarColor:"#f21313",threshold:0,groupPadding:.2,pointPadding:.2,crisp:!1,states:{hover:{halo:{size:0}}}}),r}(m);!function(t,r){var o;for(o in t||(t={}),r)t[o]=r[o]}(O.prototype,{nameBase:"AO",nameComponents:void 0,markerAttribs:v,getColumnMetrics:_.getColumnMetrics,crispCol:_.crispCol,translate:_.translate,drawPoints:_.drawPoints}),p().registerSeriesType("ao",O);var j=s();return a.default}()});