!/**
 * 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,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(t._Highcharts,t._Highcharts.SeriesRegistry):"function"==typeof define&&define.amd?define("highcharts/indicators/ao",["highcharts/highcharts"],function(t){return e(t,t.SeriesRegistry)}):"object"==typeof exports?exports["highcharts/indicators/ao"]=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 n(t){var e=o[t];if(void 0!==e)return e.exports;var i=o[t]={exports:{}};return r[t](i,i.exports,n),i.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var i={};n.d(i,{default:()=>v});var a=n(944),s=n.n(a),c=n(512),l=n.n(c);let{doc:p,win:u}=s();function h(t,e){return t>1e14?t:parseFloat(t.toPrecision(e||14))}function f(t){return y(t)&&"number"==typeof t.nodeType}function d(t){let e=Object.prototype.toString.call(t);return"[object Array]"===e||"[object Array Iterator]"===e}function y(t,e){return!!t&&"object"==typeof t&&(!e||!d(t))}Array.prototype.find;let{noop:g}=s(),{column:{prototype:b},sma:m}=l().seriesTypes;class x extends m{drawGraph(){let t,e=this.options,r=this.points,o=this.userOptions.color,n=e.greaterBarColor,i=e.lowerBarColor,a=r[0];if(!o&&a)for(t=1,a.color=n;t<r.length;t++)r[t].y>r[t-1].y?r[t].color=n:r[t].y<r[t-1].y?r[t].color=i:r[t].color=r[t-1].color}getValues(t){let e=t.xData||[],r=t.yData||[],o=r.length,n=[],i=[],a=[],s,c,l,p,u,f,y=0,g=0;if(!(e.length<=34)&&d(r[0])&&4===r[0].length){for(u=0;u<33;u++)p=(r[u][1]+r[u][2])/2,u>=29&&(g=h(g+p)),y=h(y+p);for(f=33;f<o;f++)g=h(g+(p=(r[f][1]+r[f][2])/2)),y=h(y+p),s=h(g/5-y/34),n.push([e[f],s]),i.push(e[f]),a.push(s),c=f+1-5,l=f+1-34,g=h(g-(r[c][1]+r[c][2])/2),y=h(y-(r[l][1]+r[l][2])/2);return{values:n,xData:i,yData:a}}}}x.defaultOptions=function(t,...e){let r,o=[t,...e],n={},i=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 n;!y(r,!0)||(n=r?.constructor,y(r,!0)&&!f(r)&&n?.name&&"Object"!==n.name)||f(r)?t[o]=e[o]:t[o]=i(t[o]||{},r)}}),t};!0===t&&(n=o[1],o=Array.prototype.slice.call(o,2));let a=o.length;for(r=0;r<a;r++)n=i(n,o[r]);return n}(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}}}}),function(t,e){let r;for(r in t||(t={}),e)t[r]=e[r]}(x.prototype,{nameBase:"AO",nameComponents:void 0,markerAttribs:g,getColumnMetrics:b.getColumnMetrics,crispCol:b.crispCol,translate:b.translate,drawPoints:b.drawPoints}),l().registerSeriesType("ao",x);let v=s();return i.default})());